[Mod]"OOXX"Theme Unlock Screen - Xperia Arc Themes and Apps

It looks like the playstation's push button
How to change:
extract the apk(framework-res.apk) file in the zip and place the file in /system/ change the permission of the apk to "rw-r--r--",and then replace the file in /system/framework/
ps:backup before you're going to replace the file

Thats a perfect ting for a PS3 fanboy like me

is it posible to combine this with some of the other frameworks.apk hacks ??

Yes,you can add to this.Presumably you have installed this lockscreen,yes?Then copy framework-res.apk and SystemUI.apk(out of /system/app) and then use the UOT kichen and cook something nice.I think i'll try that myself.Check "amend scripting" when uploading those two files,you probably know all that anyway.Download your .zip and unzip,then replace the files.Have .img file ready to repair bootloops or use adb to push original files back,should something go wrong.Yes,works.Shame that this very much a forgotten phone.

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] Modifying framework-res.apk in GB Stock ROM

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.

[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.

[Q] Re-compile framework-res.apk

I am trying to make some minor changes to framework-res.apk in /res/values/bools.xml
I used apktool to decompile and make my changes but I am not sure how to properly re-compile.
Just "apktool b framework-res" errors out with invalid resource names.
Finally got it to re-compile by pasting the resource.arsc. from original apk(Dunno if this is correct way)
Then, after re-compile I paste the META-INF from the original apk.
I am hesitant to push this onto my phone now because to file sizes of the modified and original .apk differ by like 2mb. And theres 100 more files in /res of the modified .apk. (Now shows file I was trying to access by decompiling before)
Can I safely push the .apk? or am I doing it completly wrong?
Thanks!
( I did search forums and web before, but did not find anyone having to copy resource.arsc before re-compiling)
trailblazerz11 said:
I am trying to make some minor changes to framework-res.apk in /res/values/bools.xml
I used apktool to decompile and make my changes but I am not sure how to properly re-compile.
Just "apktool b framework-res" errors out with invalid resource names.
Finally got it to re-compile by pasting the resource.arsc. from original apk(Dunno if this is correct way)
Then, after re-compile I paste the META-INF from the original apk.
I am hesitant to push this onto my phone now because to file sizes of the modified and original .apk differ by like 2mb. And theres 100 more files in /res of the modified .apk. (Now shows file I was trying to access by decompiling before)
Can I safely push the .apk? or am I doing it completly wrong?
Thanks!
( I did search forums and web before, but did not find anyone having to copy resource.arsc before re-compiling)
Click to expand...
Click to collapse
FOr me, APKtool works as ****...
What you can do: pull /system/framework/framework-res.apk ~/backup
and then you can push. If it doesn't work, then boot into recovery, select mount system and push back the old one.
OT: I don't get why you should use original resources.arsc...
offtopic: when I decompile framework-res using apktool, I get other file structure then normal extract. example: my framework-res doenst have a raw-folder, but apktool decompiled has...
mDroidd said:
FOr me, APKtool works as ****...
What you can do: pull /system/framework/framework-res.apk ~/backup
and then you can push. If it doesn't work, then boot into recovery, select mount system and push back the old one.
OT: I don't get why you should use original resources.arsc...
offtopic: when I decompile framework-res using apktool, I get other file structure then normal extract. example: my framework-res doenst have a raw-folder, but apktool decompiled has...
Click to expand...
Click to collapse
This is due to the raw folder being combined into the resources file. Search for apkmultitool it is a far easier tool to use and will do everything you need. That goes for both posts
Before doing that, create a flashable zip containing the framework-res.apk file which you can use in case you get a black screen or something.
So that you don't have to restore.
You do realize that resources.arsc, aka resources directory is the collection of xml and other data. You take it from another ROM, how on earth will your xml edits be preserved?
Sent from my HTC Desire using Tapatalk
I need to edit the bools.xml file in framework-res.apk and an a bit stuck on the apktool. I used the APK Multitool to decompile the framework-res.apk file. I then used notepad++ to edit the bools.xml file. I then recompiled it using the APK Multitool and pushed it to /system/framework overwriting the original (after first making a copy of the original). On reboot the phone is stuck in a boot loop.
I managed to use ADB shell to restore the original file and it now boots (I lost all the synchronise stuff but not a big deal). So I have been searching and have found various posts about the later versions of apktool not working very well.
I have a fairly clean Windows 7 x86 installation with Java 1.6 and am using this to do the work on. Can someone point me in the right direction as to how to edit/recompile the framework-res.apk file?
Andy
I actually also trying to edit bools.xml located in framework-res.apk
I'm using Apk Changer it may be easier.
after some tries (and bootloops) I've managed to do some changes in framework-res : replacing pictures -> It works
after decompiling the apk, when I edit values within bools.xml , & then choose to compile, it creates a folder called "keep" and i have to delete edited files in that folder so as to replace them by my customized files.
BUT I don't find the folder "values" that contains bools.xml . Therefore, the generated apk will not make changes done in bools.xml .
Does anyone has any idea about Editing that xml ?
More details & Tuto :
http://forum.xda-developers.com/showthread.php?t=916814
http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
@ADB100
Advanced Decompiling
Sometimes, you have that pesky app that just won't decompile correctly. Usually, it's an app related to others, like a proprietary system app based off framework-res.apks.
When this happens, you need to ensure that the frameworks are there to have the app's recourse tables properly compile.
For either apktool or apk manager, find a folder on your computer called "apktool."
The should be a folder in here called "framework," and inside that, a 1.apk.
For an app that is dependent on the framework-res.apk in a specific phone/rom, take the framework-res.apk for that rom and rename it 1.apk.
Replace the default one in the folder with yours.
If there's a second one, like the twframework-res.apk for Samsung phones, rename it 2.apk and place it in the "framework" folder.
Now, decompile like normal, and everything should be good
//By theimpaler747
Click to expand...
Click to collapse
-Yasser-
-yasser- said:
I actually also trying to edit bools.xml located in framework-res.apk
I'm using Apk Changer it may be easier.
after some tries (and bootloops) I've managed to do some changes in framework-res : replacing pictures -> It works
after decompiling the apk, when I edit values within bools.xml , & then choose to compile, it creates a folder called "keep" and i have to delete edited files in that folder so as to replace them by my customized files.
BUT I don't find the folder "values" that contains bools.xml . Therefore, the generated apk will not make changes done in bools.xml .
Does anyone has any idea about Editing that xml ?
More details & Tuto :
http://forum.xda-developers.com/showthread.php?t=916814
http://forum.xda-developers.com/showpost.php?p=9066440&postcount=1
http://forum.xda-developers.com/showpost.php?p=9978779&postcount=62
@ADB100
-Yasser-
Click to expand...
Click to collapse
The values folders get compressed into the resources.arsc file so in the keep folder delete this file and your changes will stick
not sure if you got this figured out yet but if not heres how the whole process should go.
Code:
apktool if framework-res.apk
if on a sense based rom do this too
Code:
apktool if com.htc.resources.apk
change to the directory where your framework-res.apk is
Code:
apktool d -f framework-res.apk out
or something like this if apktool is not in your path
Code:
apktool d -f ~/Desktop/framework-res.apk ~/Desktop/out
easy way to build is to cd to out folder
Code:
cd ~/Desktop/out
to build apk
Code:
apktool b
then just sign apk if needed
if you are on linux you can try this:
http://forum.xda-developers.com/showthread.php?t=1446233
wes342 said:
not sure if you got this figured out yet but if not heres how the whole process should go.
Code:
apktool if framework-res.apk
if on a sense based rom do this too
Code:
apktool if com.htc.resources.apk
change to the directory where your framework-res.apk is
Code:
apktool d -f framework-res.apk out
or something like this if apktool is not in your path
Code:
apktool d -f ~/Desktop/framework-res.apk ~/Desktop/out
easy way to build is to cd to out folder
Code:
cd ~/Desktop/out
to build apk
Code:
apktool b
then just sign apk if needed
if you are on linux you can try this:
http://forum.xda-developers.com/showthread.php?t=1446233
Click to expand...
Click to collapse
Thanks for this. This is what I have done but it hasn't worked for me so far. I am not sure whether I need to sign the file or not - I suspect I do?
Apart from the boot-loop another thing that worries me is the file sizes - the original framework-res.apk is 6,135,120-bytes whilst the new one is 3,319,608-bytes.
My ROM is based on the stock rooted 3.12.405.1 by nitro. The framework-res.apk already had a modification (the default wallpaper was changed) and I changed this back by just replacing the image in the .apk from WinRar and this worked fine. I want to edit the bools.xml file and get it back into the resources.arsc file.
Andy
ADB100 said:
Thanks for this. This is what I have done but it hasn't worked for me so far. I am not sure whether I need to sign the file or not - I suspect I do?
Apart from the boot-loop another thing that worries me is the file sizes - the original framework-res.apk is 6,135,120-bytes whilst the new one is 3,319,608-bytes.
My ROM is based on the stock rooted 3.12.405.1 by nitro. The framework-res.apk already had a modification (the default wallpaper was changed) and I changed this back by just replacing the image in the .apk from WinRar and this worked fine. I want to edit the bools.xml file and get it back into the resources.arsc file.
Andy
Click to expand...
Click to collapse
No you don't have to sign the framework API. System apks are signed. What edits are you trying to do?
zelendel said:
No you don't have to sign the framework API. System apks are signed. What edits are you trying to do?
Click to expand...
Click to collapse
All I want to edit is the bools.xml file so I can enable the SIP client to work over 3G: i.e. change this line in the file and re-cook it
Code:
<bool name="config_sip_wifi_only">true</bool>
This is potentially the 1st step though. If I can sucessfully edit this then I will probably try other things.
Andy
ADB100 said:
All I want to edit is the bools.xml file so I can enable the SIP client to work over 3G: i.e. change this line in the file and re-cook it
Code:
<bool name="config_sip_wifi_only">true</bool>
This is potentially the 1st step though. If I can sucessfully edit this then I will probably try other things.
Andy
Click to expand...
Click to collapse
Ok so here is a step by step that I have used to make just this edit.
Apkmultitool is the one I use.
1. Decompile the apk
2. Change the false to true
3. Compile with option 11
4. In the keep folder delete the resource.asc file and then finish compiling.
5. Put New apk in zip removing the unsigned so it is named properly
6. Flash
zelendel said:
Ok so here is a step by step that I have used to make just this edit.
Apkmultitool is the one I use.
1. Decompile the apk
2. Change the false to true
3. Compile with option 11
4. In the keep folder delete the resource.asc file and then finish compiling.
5. Put New apk in zip removing the unsigned so it is named properly
6. Flash
Click to expand...
Click to collapse
OK - just removed and reinstalled APK Multitool, verified the path environment variable and followed these steps - Step 3 where it asks whether this is a system apk I said yes and when it asks about copying files I said yes. The resulting file is now 5,653KB compared to the original that is 5,992KB. I assume the difference is the lack of signing?
Does this sound right?
Andy
ADB100 said:
OK - just removed and reinstalled APK Multitool, verified the path environment variable and followed these steps - Step 3 where it asks whether this is a system apk I said yes and when it asks about copying files I said yes. The resulting file is now 5,653KB compared to the original that is 5,992KB. I assume the difference is the lack of signing?
Does this sound right?
Andy
Click to expand...
Click to collapse
That and the compression level that is used. It will also change if you optimize the pngs. Nothing to really worry about
I am obviously doing something fundamentally wrong
I followed the instructions to the letter, created the unsignedframework-res.apk, renamed it, pushed it to to my device (adb remount, adb push framework-res.apk system/framework/framework-res.apk) and rebooted - boot loop. Tried signing it with APK Multitool and then pushing this file. This time it booted but I had forced close on all sorts of things. Restored the original file and it is working again but all the sync stuff has screwed up meaning I need to re-flash as my ROM has stuff in /data that will get wiped if I do a factory reset.
Any other pointers or do you want to try editing the file for me and I'll see if yours works? I have attached the original file.
Andy
ADB100 said:
I am obviously doing something fundamentally wrong
I followed the instructions to the letter, created the unsignedframework-res.apk, renamed it, pushed it to to my device (adb remount, adb push framework-res.apk system/framework/framework-res.apk) and rebooted - boot loop. Tried signing it with APK Multitool and then pushing this file. This time it booted but I had forced close on all sorts of things. Restored the original file and it is working again but all the sync stuff has screwed up meaning I need to re-flash as my ROM has stuff in /data that will get wiped if I do a factory reset.
Any other pointers or do you want to try editing the file for me and I'll see if yours works? I have attached the original file.
Andy
Click to expand...
Click to collapse
I've tried to change it for you,
Code:
<bool name="config_sip_wifi_only">false</bool>
The file size is reduced to 3.23 Mb maybe it's bcz of optimizing effect..
check if it works .
-Yasser-
-yasser- said:
I've tried to change it for you,
Code:
<bool name="config_sip_wifi_only">false</bool>
The file size is reduced to 3.23 Mb maybe it's bcz of optimizing effect..
check if it works .
-Yasser-
Click to expand...
Click to collapse
Hi
Thanks for this. Just renamed this and pushed it to my DHD, rebooted and yep it works. I haven't built a ROM with it yet but this tells me something is wrong at my end....
I have a fairly vanilla Dell PC with Windows 7 Ultimate x86 OEM. I have installed the DSIXDA kitchen and have been building ROMs for my DHD for a while. I have some of the Android SDK installed but maybe not all or updated (not sure if this is a problem?) but enough for adb.exe to work? I have installed the APK Multitool (obviously) and some other utilities (Ultimate Multi Tool, HTC Sync)
Other than that its a pretty clean machine - Microsoft Security Essentials and WinRar is all that's installed. This is a spare PC that I wiped recently and installed Windows 7 on and all I am really using it for is making android ROMs.
EDIT: Just built a ROM with this framework-res.apk as swapping this after I have configured account sync seems to screw the accounts up (they sync but aren't displayed in Settings, Accounts & Sync). Anyway the ROM built OK and its all working. I'd really like to know what I am doing wrong with editing the APK?
Andy
OK.
I don't really know what's wrong with your PC, or procedure ..
I'll tell you what I am doing, that may helps.
I'm using apk changer . download it from here
I think It's nearly the same as other tools, although you can try it.
For editing framework-res.apk,
first open cmd : cd <..>\apk_changer\other (folder containing apktool.jar)
then type : java -jar apktool.jar if <PATH To>\framework-res.apk
It should tell you that "framework installed to ..."
Now put your framework-res.apk in "place-files-here-for-modding"
and run apkchanger.bat choose 1 (decompile) and 3 (for sources & resources)
Do your modifications.
then return to bat, type 3 (compile). yes for system apk & yes for replacing original files.
a 'keep' folder will be created, delete resources.asc inside it.
type enter within cmd & you're done . check the new file in "place-files-here-for-modding" (unsignedframework-res.apk)
Yasser
-yasser- said:
OK.
I don't really know what's wrong with your PC, or procedure ..
I'll tell you what I am doing, that may helps.
I'm using apk changer . download it from here
I think It's nearly the same as other tools, although you can try it.
For editing framework-res.apk,
first open cmd : cd <..>\apk_changer\other (folder containing apktool.jar)
then type : java -jar apktool.jar if <PATH To>\framework-res.apk
It should tell you that "framework installed to ..."
Now put your framework-res.apk in "place-files-here-for-modding"
and run apkchanger.bat choose 1 (decompile) and 3 (for sources & resources)
Do your modifications.
then return to bat, type 3 (compile). yes for system apk & yes for replacing original files.
a 'keep' folder will be created, delete resources.asc inside it.
type enter within cmd & you're done . check the new file in "place-files-here-for-modding" (unsignedframework-res.apk)
Yasser
Click to expand...
Click to collapse
Hi
Thanks for replying. I am going to wipe and reinstall Windows 7. I know it seems a bit drastic but its the only way I can eliminate it - plus its just a PC in the corner that has no important stuff (apart from the android stuff) on it.
Andy

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.

Categories

Resources