First-and-foremost, I believe it is appropriate to ask this question here in this forum, if not, I apologize.
Now to my inquiry. I've kinda hit a brick wall trying to remove an item from the Settings.apk. To be more specific, I'm trying to remove the "CyanogenMod version" item from the "About Phone" menu in the Settings.apk. Here's a picture for reference: http://www.blogcdn.com/www.engadget....1/cm10.1n4.jpg.
So I tried to accomplish this by decompiling the System.apk with apk-multi-tool, going into the strings.xml in the res/values/ directory and removing the following two lines:
Then I went into the res/xml/ directory, opened up the device_info_settings.xml and removed the following line:
After that I went and recompiled it using the "Compile System APK files" option in apk-multi-tool and everything appeared to go perfectly fine. I then took the "unsignedSettings.apk", put it in the system/app/ directory, renamed it to "Settings.apk", and set appropriate permissions. Rebooted my phone, opened the Settings menu, went to "About Phone", and BAM! Big ol' error message: "Unfortunately, Settings has stopped". With one manly tear running down my face, and the feeling of utter defeat, I hit "OK"... Lol, okay, maybe there weren't any tears (:p), but to see the error message was definitely a major disappointment.
Anyhow, if anyone with more experience is willing to give a semi-novice a helping hand, it'd be very greatly appreciated. Thanks! :good:
-----------------------------------------------------------
PS: I'm not sure if this issue correlates to the fact that the "CyanogenMod version" refers to the build.prop code:
Considering I had no issue removing "CyanogenMod Statistics" from the Settings.apk prior to this (using a similar method to the one described above), I'm rather confused as to why removing the "CyanogenMod version" is such a pain. Unless there's a reference or something somewhere in the code I'm missing... I dunno... :confused:
Now to my inquiry. I've kinda hit a brick wall trying to remove an item from the Settings.apk. To be more specific, I'm trying to remove the "CyanogenMod version" item from the "About Phone" menu in the Settings.apk. Here's a picture for reference: http://www.blogcdn.com/www.engadget....1/cm10.1n4.jpg.
So I tried to accomplish this by decompiling the System.apk with apk-multi-tool, going into the strings.xml in the res/values/ directory and removing the following two lines:
Code:
<string name="mod_version">CyanogenMod version</string>
<string name="mod_version_default">Unknown</string>Code:
<Preference android:title="@string/mod_version" android:key="mod_version" android:summary="@string/mod_version_default" style="?android:preferenceInformationStyle" />Anyhow, if anyone with more experience is willing to give a semi-novice a helping hand, it'd be very greatly appreciated. Thanks! :good:
-----------------------------------------------------------
PS: I'm not sure if this issue correlates to the fact that the "CyanogenMod version" refers to the build.prop code:
Code:
ro.modversion=EXAMPLE