[Q] Modifying framework-res.apk in GB Stock ROM - XPERIA X10 Q&A, Help & Troubleshooting

Just achieved root using azuzu's method and the fist thing I attempted was to get rid of the dull-dark backgrounds on the Stock ROM and use the bright blue backgrounds from the Xperia 1.6 days, which was also ported to 2.1
I modified the framework-res.apk on PC and used RootExplorer to overwrite the existing framework-res.apk but still I dont see any changes in the backgrounds. Any idea what's amiss? Here is a strp-by-step writ of what i did:
1. Use root explorer to copy the existing framework-res.zpk to /SDCARD/
2. Transferred the apk to PC, replaced the existing semc_bg.png and semc_general_bg in the archive.
3. Transferred the modified apk to sdcard.
4. Using root Explorer on the phone, copied the modified apk to /system/
5. Changed the permissions to match the original apk
6. Copied the modified apk from /system/ to /system/framework/ and overwritten the original apk
7. The file gets overwritten successfully - but there is no change in the system background images
Whare am i going wrong? AFAIK there is nothing wrong with the apk (I have learnt that an incorrect framework-res.apk can brick the phone!)

You also need to edit system/framework/SemcGeneralUxpRes.apk

Locate SemcGenericUxpRes.apk (system/framework) and SystemUI.apk (system/app).
They will also need to be modded for a full theme on GB.
*Edit- Lol, M_I ya beat me to it

Thanks @My_Immortal and AyDee.
I had checked the SystemUI.apk and there was nothing to edit in the package. Checking the SemcGenericUxpRes.apk now, will let y'all know soon!

It worked!!! Thanks guys...my UI looks much lore alive now! http://media.xda-developers.com/images/smilies/biggrin.gif

Also don't forget to replace the image for landscape mode too
here is something I wrote earlier:
http://forum.xda-developers.com/showpost.php?p=16201956&postcount=12

riginal said:
Also don't forget to replace the image for landscape mode too
here is something I wrote earlier:
http://forum.xda-developers.com/showpost.php?p=16201956&postcount=12
Click to expand...
Click to collapse
@riginal : I worked out that bit myself, but thanks all the same.

Related

[TUT] How to mod your own framework-res.apk to include the CRT screen off animation

First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..
Also thanks to the devs who created the util's needed to do this mod.
Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..
Adding the CRT animation to your phone.
You'll need root access
You'll need this APK MANAGER 4.9 - http://forum.xda-developers.com/showthread.php?t=695701 install it somewhere on your PC
You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.
1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. Go into projects\framework-res\res\values\bools.xml [EDIT]
4. Make config_animateScreenLights to false [SAVE and EXIT]
5. Go back to script and select compile option 11.
6. Say y [System app]
7. Say n [don't need to retain anything else]
8. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
9. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
.......... open the apk files using 7 zip or similar. Do not extract them..
.......... Copy and paste from inside the original apk to inside the new one.
10. You'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
10a. RENAME IT to framework-res.apk
11. Copy the new framework-res.apk onto your phone in the SYSTEM folder
12. Change the permissions to RW-R--R--
13. Move the file into the FRAMEWORK folder.
Reboot...
Done..
Tested and works on my arc. (Finally!)
Video of the animation...
[EDIT - Added the apktool here as the original link is now dead.]
Hi mate, can you upload the jar file again?
Done! 10chrs
hey ice....sent you a pm!
here's my framework....thanks a lot in advance
im_iceman said:
First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..
Also thanks to the devs who created the util's needed to do this mod.
Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..
Adding the CRT animation to your phone.
You'll need root access
You'll need this APK MANAGER 4.9 - http://forum.xda-developers.com/showthread.php?t=695701 install it somewhere on your PC
You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.
1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. [NOT REQUIRED?] Drag twframework-res.apk into the script.
4. Go into projects\framework-res\res\values\bool.xml [EDIT]
5. Make config_animateScreenLights to false [SAVE and EXIT]
6. Go back to script and select compile option 11.
7. Say y [System app]
8. Say n [don't need to retain anything else]
9. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
10. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
11. U'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
12. Copy the unsignedframework-res.apk onto your phone in the SYSTEM folder
13. Change the permissions to RW-R--R--
14. Move the file into the FRAMEWORK folder.
Reboot...
Done..
Tested and works on my arc. (Finally!)
Video of the animation...
[EDIT - Added the apktool here as the original link is now dead.]
Click to expand...
Click to collapse
noobish question here mate, hope you can help me.
First: After compiling the framework-res.apk, how do you edit and overwrite meta.inf and androidmanifest.xml? and when you use the apk manager, their is no meta.inf folder when decompiling framework-res.apk
2nd: Do you need to rename your unsignedframework-res.apk to framework-res.apk?
just copy and paste the androidmanifest and meta.inf files from your original framework-res.apk into the new one..
and yes - rename it to framework-res.apk
im_iceman said:
just copy and paste the androidmanifest and meta.inf files from your original framework-res.apk into the new one..
and yes - rename it to framework-res.apk
Click to expand...
Click to collapse
do you mean to extract the apk again then after copying the files, zip the apk again still using the apk manager?
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Sent from The arc using XDA premium..
im_iceman said:
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Sent from The arc using XDA premium..
Click to expand...
Click to collapse
ok thanks..going to try using winrar.
i've tried this but i got a bootloop
I've done a few of these now and it works perfectly.. perhaps worth trying again.. follow the instructions very carefully.
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
i followed your steps to the letter and im getting bootloop but ill try it again and see if i get a different result
"4. Go into projects\framework-res\res\values\bool.xml [EDIT]" should be bools, am I right ?
works like a charm thanks mate, its not that hard when you know what to do thanks again
well spotted!.. yes.. it should!
kondejm said:
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
Click to expand...
Click to collapse
Looks like your trying to mod your phonebook.apk...
Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/signedPhonebook.apk.
Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedPhonebook.apk.
Click to expand...
Click to collapse
I've just amended the first post...
you need to rename the unsignedframework-res.apk to framework-res.apk (ie the name of the original file)..
I thought that would have been obvious.. but perhaps not.
post deleted
Just followed the guide, no issues.
Loving the animation
One small thing, can't help feeling that the first post should be edited to include this to make it clearer:
im_iceman said:
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Click to expand...
Click to collapse
Done!.....

[Q] SystemUI.apk (apktool) Windows/Mac

i have been trying to change some strings in the SystemUI.apk file in synergy, just to see what i can make them say... but i keep getting the same issues.
WTF am i doing wrong? :l
alright, so i put a (framework) folder in the usr/local/bin folder and added synergy frameworks.
(com.htc.resources.apk) <--- labeled this 1.apk
(framework-res.apk) <--- labeled this 2.apk
i decompiled SystemUI.apk using [apktool d /Users/Rolando-Ramiro/Desktop/SystemUI.apk /Users/Rolando-Ramiro/Desktop/SystemUI]
and used textmate (application for mac to edit xml files) to edit the strings i wanted and then i built the file again using..
apktool b /Users/Rolando-Ramiro/Desktop/SystemUI /Users/Rolando-Ramiro/Desktop/SystemUI.apk
no errors on either part.
now i tried 2 things after this.
i unzipped the synergy rom and added the SystemUI.apk to system/app folder on my computer.
i compressed it once more and tried to flash it. Nothing happened.
so i got the SystemUI.apk (the one with the modified strings.xml) and just moved it from my sdcard to the system/app folder in my phone.
Right after that, i got FC.
so i went back to what i originally had.
any idea what im doing wrong?
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
apktool d SystemUI.apk
Click to expand...
Click to collapse
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
apktool b SystemUI SystemUI_NEW.apk
Click to expand...
Click to collapse
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Rolando.Ramiro said:
i keep getting
install /sd card ...
finding update package
opening update package
Installing update...
then it goes back to TWRP
--> choose zip to flash
[ ] reboot after successful flash
[ ] zip signature verification
--> reboot to system
<-- back to main menu
anyone with input please let me know.
i have mac/windows
Click to expand...
Click to collapse
i would imagine there is an error in your edify script somewhere. and did you resign the apk as a system apk after you recompiled?
i've done everything you said, I PROMISE!
but it still messes up...
how do i resign it?
i decompile SystemUI.apk
it makes a folder called SystemUI
i remove the original SystemUI.apk
then i edit the string, then compile it again.
(i am using the frameworks from the rom that i got the SystemUI.apk from)
once i compile it, i extract the original rom, and go into (system/app) folder and add the .apk
then i compress it back to .zip
i try and flash and i get same error.
i really did the same steps.
i havent tried it on PC though, but i do have it.
gonna do that today.
edit; ok so im reading over the steps that you gave me.
im half asleep right now so i didnt get to fully read them.
my bad! ill do that right now and let you know what i came up with.
edit 2; (15 mins later) i have zip signer 2 on my phone, im pretty sure that will work the same as ppcgeeks apk signer. right?
alright, so instead of creating an update script, i just wanted to push the application from my phone straight into it.
i followed the steps;
1. decompile
2. modify files
3. build with NEW name
4. use 7zip for both NEW and original .apks
5. move over any files from NEW that were modified into original.
6. compress (im not sure if i should of compressed or built again..)
7. move to /system/ and change to what all the apps in /system/app/ are (permissions)
8. move from system/ into system/app.
i still get FC.
sorry if i sound REALLY retarded. im just really unsure what im doing wrong so i have to write it all out.
j4n87 said:
omg ^^..
I already said it many times to you:
1. Pull the SystemUI.apk from your rom.
(put the apk in the same folder with the apktool, the you just have to type teh name of the the apk,with out a complete path. just like in step two)
2. Decompile it:
3. make the changes in the SystemUI folder
4. Recompile it WITH AN OTHER NAME:
DON'T overwrite the original SystemUI.apk! (In your 1st post you did this!)
5. open both apks with 7zip
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
7. You dont need do do anything more now!
- just zipping the apk and flash via cwm won't work, read here how to make one:
http://forum.xda-developers.com/showthread.php?t=732957
- to try installing this apk won't work either.
8. The right way: copy the SystemUI.apk with ne new ressources file in it
and paste in on your sdcard. move it to /system and change the permission with root explorer to 644 or similar (just like all other apks in system/app) and then finally move it in system/app
- or just push it via adb to system/app
9. reboot
Edit: if u still don't understand how to do it, open teamviewer and give me id and pw =P
Click to expand...
Click to collapse
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Rolando.Ramiro said:
DUDE I ****ING GOT IT. :O
thank you so much.
posting screenshots right meow.
Click to expand...
Click to collapse
no need to resign/compress after drag/drop file...thats the way im doing it
Congrats that u finally made it..was a hard way =P
j4n87, that guide. it's beautiful.
You saved my day, Sir!
@j4n87:
Thanks a lot for your nice step by step guide - it really helped me a lot!
As a beginning, I tried to change the color of the statusbar's clock. My main mistake was violating your rule 6b:
6. when u made changes in the res folder drag&drop the ressources file from SystemUI_NEW to SystemUI
- when you see other folder in the 7zip, with xml/pictures you also edited drag&drop them also
So you have to copy the file status_bar.xml from SystemUI_NEW.apk/res to SystemUI.apk/res, too.
Thanks again!
Wolfgang
EDIT:
Here is a little timesaver for you when you have installed Android Development Kit (with adb command within your PATH) and you have a WLAN connection to your development PC:
- Install the app adbWireless from the market.
- To get SystemUI.apk installed, start adbWireless and type in your PC's terminal:
1. adb connect 192.168.1.100:5555
2. adb remount
3. adb push SystemUI.apk /system/app
4. adb shell killall system_server
ad 1) Take the values the app tells you.
ad 2) Makes /system partition writeable.
ad 3) You may have to add the correct path to the SystemUI.apk on your PC.
ad 4) That's the command for soft rebooting your smartphone which is faster than a normal reboot.

Original apk for statusbar

i installed the transparent statusbar mod in my xperia mini st15i.. i just want the original one back. i don't have a nand backup. can someone post the related apks here and tell me how to install them if a specific procedure is to be followed.
gandhar said:
i installed the transparent statusbar mod in my xperia mini st15i.. i just want the original one back. i don't have a nand backup. can someone post the related apks here and tell me how to install them if a specific procedure is to be followed.
Click to expand...
Click to collapse
Someone with mini have to help you. But since no one replying, and to save your time from searching all over the web;
To know which apk that has been modified, open the mod that you have applied using archive apps (winrar should do if you are in windows) and see what apk is inside (generally it should be framework-res.apk and/or SystemUI.apk)
To revert back, one of the way is to extract that apk from stock fw file, copy to your /system/ then change permission rw-r--r-- (if you dont know what it means, just refer to any apk inside /system/app/ permission's, they are all the same generally for /system/app/ and /system/framework/ ). Then, move it to appropiate folder replacing the current file (SystemUI.apk into /system/app/ for example. Better to replace systemui.apk first before framework-res.apk to avoid unexpected fc in the process)
Once done, reboot.
Other ways, ask anyone to make cwm compatible zip file for you to revert back to original or wait for someone to post the apk's here for you.
Thats a very good lessons actually, do a backup first before doing/modifying anything. Dont just simply flash any zip file, see first whats inside, backup whatever files that is affected by that zip to your sdcard is the fastest way (but not 100% reliable compare to make a backup in cwm.
Anyhow, good luck. cheers fren.
Sent from my SK17i using XDA App
feed3 said:
Someone with mini have to help you. But since no one replying, and to save your time from searching all over the web;
To know which apk that has been modified, open the mod that you have applied using archive apps (winrar should do if you are in windows) and see what apk is inside (generally it should be framework-res.apk and/or SystemUI.apk)
To revert back, one of the way is to extract that apk from stock fw file, copy to your /system/ then change permission rw-r--r-- (if you dont know what it means, just refer to any apk inside /system/app/ permission's, they are all the same generally for /system/app/ and /system/framework/ ). Then, move it to appropiate folder replacing the current file (SystemUI.apk into /system/app/ for example. Better to replace systemui.apk first before framework-res.apk to avoid unexpected fc in the process)
Once done, reboot.
Other ways, ask anyone to make cwm compatible zip file for you to revert back to original or wait for someone to post the apk's here for you.
Thats a very good lessons actually, do a backup first before doing/modifying anything. Dont just simply flash any zip file, see first whats inside, backup whatever files that is affected by that zip to your sdcard is the fastest way (but not 100% reliable compare to make a backup in cwm.
Anyhow, good luck. cheers fren.
Sent from my SK17i using XDA App
Click to expand...
Click to collapse
i got it from a friend, thanks anyway.

[Q] How to create theme for custom rom ?

After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
nikctsh said:
After reading from articles , now more or less I got some idea on how to create a theme for a custom rom , but still there's something I don't know .
1) First , I extract files from a rom using 7zip . Then , I extract out the content of framework-res.apk and make some modifies / changes to those .png files . So , after completed those modifies , I just open archieve on the original framework-res.apk , drag and drop the one I modified to replace the original one ? After that , how do I pack it in .zip file that can be updated in open recovery ? .xml file shouldn't be modified right ?
2) What if I do this , I get a theme.zip made for the rom , and then I extract the contents of the theme.zip using 7zip , then again I modify the .png files and after completed , I packed it again by open archieve on the original theme.zip , drag and drop the one I modified to replace the original one ? Does this works ?
3) What if I modify other system apps such as calender.apk ? Using the same method , extract , modify , drag and drop , replace , then again how do I pack it in .zip file that can be updated in open recovery ? Is there any "bond" between those system apps and framework-res.apk ? Can I just modify anyone of both ? Or I have to modify both system apps and framework-res.apk to get it works ?
Thanks
Click to expand...
Click to collapse
Here's what I know so far. I'm still trying to learn as much as I can:
1) If you are making a theme by trying to replace pngs in an existing framework-res.apk file, you can do this: open the apk file within your zip program, and edit the apk there (so you'll have two zip windows open. Once the apk is updated, close the most recent zip window. The first zip window should recognize that you've updated the apk file, and ask you to update the first zip window.
I've been playing around with this: http://forum.xda-developers.com/showthread.php?t=1432152
What it allows you to do is modify the files in Windows Explorer (or whatever file explorer you're using), and then let the script do the rest of the work for you. The actions it can do are: decompile apk, recompile apk, sign apk, created update.zip.
The xml files need to be edited if you want to achieve certain effects. For example, in the Gingerbread theme there are some edits that have to be made to a few xml files in order to achieve white text on black backgrounds on the popup menus. The nice thing about the framework flasher link from above is that it 'compiles' the files (meaning it will check if the .9.pngs are correct, and if your xml files point to correct assets), so you can go about doing xml edits and stuff without fear of bootlooping.
2) Yes, this should work.
3) If the updater script is a generic script (that is, it moves everything from the /system folder to /system, and /data to /data), then you can create directories in the update.zip that refer to whatever apk you want to replace, with the same structure as in Android. The cool thing about Metamorph, from what I gather, is that you can create folder structures with just the assets you want to replace, rather than the entire apk. This means that if you want to replace just a few images in Phone.apk, for example, you create a directory in the Metamorph script under /system/app/Phone/res/drawable-hdpi and add the images you want to replace in there. I think that's the way I want to create my themes from now on, I just need to figure out how to do it correctly
I tried the framework flasher , after located the framework-res.apk and run RunMe , it shows echo is off , the log process shows 'java' is not recognized as an internal or external command,
operable program or batch file.
Do you have Java installed?
Mioze7Ae said:
Do you have Java installed?
Click to expand...
Click to collapse
No , I have no Java installed . Tried to install before but couldn't get the right version .
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
3rdstring said:
Java
I've yet to find one all inclusive theming reference. Just a lot of searching & reading & trial & error. This might be a good place to get started.
Edit: You'll also want to get the Android SDK
Click to expand...
Click to collapse
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
nikctsh said:
BTW , since I'm still too new to theming , I'm thinking of making my first step by changing the colour of a completed theme . This is what I'm currently doing : I extracted the files content of your DarkFroyo.zip and then extracted it's framework-res.apk . ( IT'S YOUR THEME , CAN YOU GIVE ME THE PERMISSION TO DO THIS ? ) I'm changing the original orange colour of all those icon to light pink using photoshop , then replace the original one . The files type are .png . Also , I changed the battery status icon and status bar background . However , I haven't touch those .xml files , I just leave it there . So after I complete , do I just flash it right away in my phone or I need to doing something like "sign" ? As for now , I don't have any idea about "sign" .
Click to expand...
Click to collapse
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
3rdstring said:
Changing the color in Photoshop is fine for normal ".png"s but ".9.png"s are special, they have a 1 pixel border with guides that define how they are stretched to fill a space (& are only visible is a decompiled state). Just editing a .9.png in Photoshop might break the .9 patch. Since you are trying to modify my theme it might also be wise to grab the "undo.zip" so if (when) something you try bootloops the phone you can flash the undo to get back to stock. I know had numerous bootloops when I was first starting out (still do occasionally).
Click to expand...
Click to collapse
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
molohov said:
Hey 3rdstring. I noticed you release a new version of your theme for the ODEXED version of CM6. For APKs that have ODEX files (such as Phone), are you deodexing them using apktool, then reodexing them? A brief pointer would be nice!
Click to expand...
Click to collapse
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
3rdstring said:
No the only thing I'm changing in any of the odexed apks are images. I use a Metamorph file with ZipThemer to build the update.zip (& undo) after I've decompiled / recomfiled framework-res for the white menu text & 10% battery increments.
Click to expand...
Click to collapse
The reason I ask is b/c I tried pushing a modified Phone.apk to CM6, but it didn't pick up any of the changes I added (images only). It made me think that the assets were already prebuilt in the odex file, so changing the apk wouldn't do anything unless the odex file was changed too.
I also tried applying a metamorph script on top of the odex ROM, but it caused a lot of fcs. I think it's b/c of the ODEXing too.
EDIT: My bad. Phone.apk is the calling screen, Contacts.apk is the dialer + contacts. DOH!!!
My edits are pushed correctly

[Q] Changing settings/contacts/alarm/clock/etc. background?

Hi guys
as the title says, how can I change the background (often blue one) when you view the settings, contacts, etc?
I know it's something about the framework-res.apk, res/drawable-hdpi/semc_bg.png. But I think there's more to edit.
I've got the image to change, my problem right now is what respective files to change in the framework-res. and also how to install it to the phone
Can someone help me? a nice step-by-step process will help me alot, especially for a big noob like me
Thanks a lot, in advance
Replace the semcbg.png file in the semcgenericUxpres.apk
Sent from my X10i using xda premium
Thanks dude ^^ You sure it's this one? none at framework-res? how to edit it , and bring it back to the phone?
there has 2 option to do this..
1-use PC/laptop (winrar/7zip,,,and the new image)
2-use your phone (root explorer,,and the image)
with pc/laptop edit the ***.zip (rom) file
just replace all of semcbg.png every where I mean on framework-res.apk
and other framework (i'm not sure which rom and/or sometime other rom has extra framework-res.apk) (that why u i told u to replace all of this thing)
and for the update also
(maybe u use it...like 'screenshoot.zip' it containing it own framework)
goodluck buddy!
semc_bg.png is located in two files, framework-res.apk and SemcGenericUxpRes.apk. Location for that two files is system/framework. In each of that two files u have two semc_bg.png backgrounds, for normal and for landscape mode. Location of that backgrounds in each of previous .apk files is res/drawable-hdpi and res/drawable-land-hdpi. U can edit apk files with 7zip on ur PC.
Enjoy!
Thanks guys!
for example, I finished all the editing stuffs
How will I put it back to the phone? since it is an .apk, will I install that thru package installer? or what? just put the new edited framework-res.apk/semcgenericuxpres.apk in the phone, and reboot and the effects will take place?
You will need to use Root Explorer. Follow these steps:
Make a backup of the original APKs frst!
Copy the edited APKs from your SDCARD to your /system folder. (Yes, the "/System" folder)
Use Root Explorer to set the permissions to RW-R--R--
Once the permissions are set, CUT the files and paste in "/system/framework"
It will ask if you want to overwrite, go ahead and overwrite the files.
Reboot.
Or find empty flashable zip file,put framework files in it and flash via xrecovery.
Sent from my xperia "z10i"
neoxx3m said:
Sent from my xperia "z10i"
Click to expand...
Click to collapse
Which ROM is that? Did u get a port of the Walkman Z onto the X10?

Categories

Resources