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.db TABLE: tbl_contentinfo COLUMN: AppInfoJson