[MOD][HELP] Modding framework-res on CM 10.0 - removing emergency call & carrier info
Hello everyone,
As per title, I'm trying to edit the xml in framework-res apk. Why? Because I'm turning my old Cappy into a music player, so I'm removing lots of stuff using Titanium Backup. I removed all phone-related functionality, therefore I don't need emergency call buttons, carrier info, and things like those
.
I used apktool to unpack the framework.
Then I edited the relevant files(
), setting 0.0dip in width and height to the buttons and the textview.
Then I recompiled, and installed the new framework from recovery with a custom zip file.
NB. I edited the password lockscreen because I need to use it for an app!
Installation and reboot work fine, but.. that damn button and carrier info won't go away.
There must be something wrong in what I do, ie maybe I'm editing the wrong xml, or something like that.
I've put the original and modded framework as attachments, so if anyone is willing to give a look into them and maybe help, there they are
Hello everyone,
As per title, I'm trying to edit the xml in framework-res apk. Why? Because I'm turning my old Cappy into a music player, so I'm removing lots of stuff using Titanium Backup. I removed all phone-related functionality, therefore I don't need emergency call buttons, carrier info, and things like those
I used apktool to unpack the framework.
Then I edited the relevant files(
Code:
res\layout\keyguard_screen_password_portrait
Then I recompiled, and installed the new framework from recovery with a custom zip file.
NB. I edited the password lockscreen because I need to use it for an app!
Installation and reboot work fine, but.. that damn button and carrier info won't go away.
There must be something wrong in what I do, ie maybe I'm editing the wrong xml, or something like that.
I've put the original and modded framework as attachments, so if anyone is willing to give a look into them and maybe help, there they are
Attachments
-
6.2 MB Views: 5
-
5.2 MB Views: 5
Last edited: