Simply modifing appinfo.db will not block YouTube from being updated. As soon as you connect to the internet without setting a DNS it will automatically refresh itself to the correct clean state, the icon also switches back to original. This can result in a softlock where you have to set up everyhting again.
In order to properly block YouTube from being updated, you also need to fully update YouTube's parameters after a new installation.
The param.json file of the YouTube app is actually located at 3 positions when installed :
- At
/system_data/priv/appmeta/PPSA01650/param.json - At
/user/appmeta/PPSA01650/param.json - And also inside
/system_data/priv/mms/app.dbTABLE:tbl_contentinfoCOLUMN:AppInfoJson- The values aren't exactly the same ones as in param.json but the
CONTENT_VERSIONandVERSION_FILE_URIis also located in there
- The values aren't exactly the same ones as in param.json but the
To fully block YouTube from being updated:
- Get
/system_data/priv/mms/appinfo.dband apply following patch :
UPDATE tbl_appinfo SET val = 'http://127.0.0.2' WHERE titleId = 'PPSA01650' AND key = 'VERSION_FILE_URI';
UPDATE tbl_appinfo SET val = '99.999.999' WHERE titleId = 'PPSA01650' AND key = 'CONTENT_VERSION';- Get 1 param.json from
/system_data/priv/appmeta/PPSA01650/param.jsonOR/user/appmeta/PPSA01650/param.json - Modify
contentVersionto99.999.999andversionFileUritohttp://127.0.0.2 - Get
/system_data/priv/mms/app.dband apply following patch :
UPDATE tbl_contentinfo
SET AppInfoJson = json_set(
AppInfoJson,
'$.CONTENT_VERSION', '99.999.999',
'$.VERSION_FILE_URI', 'http://127.0.0.2'
)
WHERE titleId = 'PPSA01650';- Navigate to the Settings on your PS5
- Upload all files back using FTP :
param.jsonto/system_data/priv/appmeta/PPSA01650/param.jsonAND/user/appmeta/PPSA01650/param.jsonappinfo.dbto/system_data/priv/mms/appinfo.dbapp.dbto/system_data/priv/mms/app.db
- Press PS button on the controller and restart the console
Hm... it says on sqlite cli "no such column: VERSION_FILE_URI" when applied to appinfo.db. I had to use this:
UPDATE tbl_appinfo
SET val = 'http://127.0.0.2'
WHERE titleId = 'PPSA01650'
AND key = 'VERSION_FILE_URI';
and
UPDATE tbl_appinfo
SET val = '99.999.999'
WHERE titleId = 'PPSA01650'
AND key = 'CONTENT_VERSION';
The colum is not defined as "key". Didn't check the other app.db