- Jun 11, 2012
Looks to me like your /data/system/theme/ folder doesn't exist or has insufficient permissions. See that's not the issue I'm experiencing because I run the following init.d script to check the folder exists at bootup.
The issue I see in regards to Themes is related to the new DrmService, I've bypassed the online DrmService force close by deodexing the apk and making some modifications but they have some more checks in the way. I've bypassed some further background tasks which also fails but I need to force an integer to class any theme as valid.
#!/system/bin/sh SYSTEM_FOLDER=/data/system rm -r -f $SYSTEM_FOLDER/theme1 echo "dealing with default theme"; if [ ! -d $SYSTEM_FOLDER ]; then mkdir -p $SYSTEM_FOLDER; chmod -R 777 $SYSTEM_FOLDER; chown system.system $SYSTEM_FOLDER; fi THEME_FOLDER=$SYSTEM_FOLDER/theme THEME_BEGIN_FLAG=$SYSTEM_FOLDER/.theme_begin THEME_END_FLAG=$SYSTEM_FOLDER/.theme_end if [ ! -d $THEME_FOLDER ] || ( [ -f $THEME_BEGIN_FLAG ] && [ ! -f $THEME_END_FLAG ] ); then rm -r $THEME_FOLDER; rm -r $SYSTEM_FOLDER/customized_icons_1; touch $THEME_BEGIN_FLAG; mkdir -p $THEME_FOLDER; chmod -R 777 $THEME_FOLDER; chown 1001.1001 $THEME_FOLDER; touch $THEME_END_FLAG; fi exit;