I made some mods in my framework-res.apk using apk-manager.
now I have the framework-res.apk file on my PC, and I'd like to know how can I turn it into a .zip file which I could flash using CWM.
Thanks in advance!
L1VE said:
I made some mods in my framework-res.apk using apk-manager.
now I have the framework-res.apk file on my PC, and I'd like to know how can I turn it into a .zip file which I could flash using CWM.
Thanks in advance!
Click to expand...
Click to collapse
Ummmm....you don't have to.
Just make a backup of your phone with CWM and then use something like Root Explorer and then go to the system folder, scroll down to the framework folder and paste your new framework-res there and wait for your phone to auto reboot. Then your done.
Related
Hi everyone,
I'm having a few questions regarding the theming of framework-res.apk on Android Revolution (No-Sense/Sense)..
After I pull the .apk, and decompile it, I edit the images so that the .9.png files stay intact. Then after that I compile the entire .apk and use WinRar to only push the images to the origional framework-res.apk..
But everytime I flash it I get bootloops and it won't boot into Android, any idea what I do wrong in the proces?
Thanks in advance!
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
leith51 said:
if your using apk manager when you recompile the framework-res.apk it will ask you if its system app click yes then it will ask if you want to keep signature also click yes then you will have to delete the icons you changed in the keep folder then press enter in cmd window
it will compile and be called unsignedframework-res.apk rename to framework-.apk then open the rom using winrar (DO NOT EXTRACT) then just drag and drop the new framework-res.apk into the framework folder click ok let it do its thing then close winrar drop it on sd card and flash
Click to expand...
Click to collapse
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
deanr1977 said:
Or do what i do, make a copy of the zip file then extract the files you want to view, put them in a folder, then the icons you wanna swap put straight into the orig zip folder in there place, this method works for me fine & without any bootloops
Click to expand...
Click to collapse
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
apaquette420 said:
I too do all my mods this way.. I find apk manager way to complicated to use lol when its so much easier to just swap the icons back into the original apk using 7zip...
Click to expand...
Click to collapse
I find it much easyer this way. Can i ask you a question if you know abit about framework modding can you see were i have gone wrong here - http://forum.xda-developers.com/showthread.php?t=1195549
I can live with it but i would rather change it to a light gray or a different color? Any help would be very nice & not had a reply about this yet? Can you help?
i had the same issue and i found it easier to update the old framework and overwrite existing files. once you have completed compiling your new framework APK extract the contents and copy into the old framework... and that seems to work fine
Hey guys !
I made a quick NoIncRing MOD, I figured while i was at it i would explain how to create the MOD.
I would like to Thank criskelo for his ZIP :
http://forum.xda-developers.com/showthread.php?t=1700174
I don't own an S3 but i did have the mod checked by an owner (works), i don't know what rom's it will work on so make a backup (as i said in the instructions).
How to Flash :
1. make sure you phone has a CWM recovery
2. backup SecPhone.apk and Secphone.odex (for odex rom's)
3. download the zip and place it in your internal SD
4. flash using, install zip from sd - choose zip from sd card
Download :
http://www.mediafire.com/?l8hox702d2t3m9y - Fixed
*the fix replaces SecPhone.apk with SecPhone_ATT.apk and erases the correct odex file.
I'll be happy to make Mod's for Any ROM you want. Simply attach the SecPhone.apk application from System/app
HOW TO ?
1. extract Secphone.apk from your phone/rom - system/app
2. download baksmali.jar and smali.jar from : http://code.google.com/p/smali/
3. extract classes.dex from SecPhone.apk
4. Put the classes.dex in to a folder alon with smali.jar and backsmali.jar then open a COMMAND window and navigate to the folder.
5. enter the following command :
java -Xmx512m -jar baksmali.jar -a 15 classes.dex
Click to expand...
Click to collapse
6. You will now have an OUT folder, inside find : Ringer$1.smali
7. Look for 2 lines containing :
setstreamvolume
Click to expand...
Click to collapse
8. Erase them (one is at the middle and one at the end)
9. now go back to your folder with classes.dex, OUT folder and smali.jar and erase classes.dex (VERY IMPORTANT !!)
10. In the command window enter :
java -Xmx512m -jar smali.jar out -a 15 -o classes.dex
Click to expand...
Click to collapse
11. Now you will have a new classes.dex , drag it back in to your SecPhone.apk and in to my ZIP.
12. Flash and enjoy
Finally able to get rid of the increasing ringtone. Great mod!
3. extract classes.dex from SecPhone.apk
I don't see "classes.dex" when extracting SecPhone.apk. Something i'm missing?
I also attached my apk in case you can help me shortcut this a bit
Thanks
Or...do I just flash the zip via CWM and the rest of the instructions are just how to create the mod?
schwiing said:
3. extract classes.dex from SecPhone.apk
I don't see "classes.dex" when extracting SecPhone.apk. Something i'm missing?
I also attached my apk in case you can help me shortcut this a bit
Thanks
Or...do I just flash the zip via CWM and the rest of the instructions are just how to create the mod?
Click to expand...
Click to collapse
I just flashed the zip via CWM. The rest of the OP lets you know how the apk was edited.
I cant get it to work, Copied to phone, booted to recovery and installed, ringer still starts low. any ideas?
nitroman30 said:
I cant get it to work, Copied to phone, booted to recovery and installed, ringer still starts low. any ideas?
Click to expand...
Click to collapse
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
EugeneR said:
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
Click to expand...
Click to collapse
Thanks got it working, I never found an odex file the first time I did it, after your post I went back to the dir and all i had was Secphone_ATT.apk and Secphone.apk so i renamed the Secphone_ATT.apk to .save and it works.
EugeneR said:
There is a little difference in ATT, I think this should be mentioned in OP. In AT&T ROM, phone application
is in /system/app, but the name is a little different: SecPhone_ATT.apk.
So both files SecPhone_ATT.apk and SecPhone_ATT.odex should be backed up before replacing from the zip file.
After zip file is written from CWM, just go in /system/app, mount it in RW mode, using Root explorer, and do the following:
rename SecPhone_ATT.apk to SecPhone_ATT.save
rename SecPhone_ATT.odex to SecPhone_ATT.odex.save
rename new file (created by the zip you just wrote) SecPhone.apk to SecPhone_ATT.apk
Reboot
I just did - it works, thanks for non-increasing ringtone that was driving me crazy. I want my neighbours in the office to start enjoying my mostly annoying ringtone immediately when somebody calls me
Click to expand...
Click to collapse
Not sure if it's a weird coincidence or what, but I did exactly this ^ and upon reboot, AudioGuru stopped allowing me to change my audio profiles (Normal, Work, Sleep, etc.) As soon as I restored the original SecPhone_ATT.apk and .odex then rebooted, AudioGuru started working again.
You guys are right !
I didn't know its SecPhone_ATT.apk
Ill change the main download !
yoelsd said:
You guys are right !
I didn't know its SecPhone_ATT.apk
Ill change the main download !
Click to expand...
Click to collapse
will this work for Rogers?
Hey yoelsd I'd really appreciate if you modded this apk for me.
http://www.mediafire.com/?2tdwaymqf0yn9td
Greatly appreciated
mod for Bell S3 please. Tried to do it myself and could not.
http://www8.zippyshare.com/v/25511314/file.html
Sweet
Do we just flash and thats it or is there more to it?
I just flashed it after making a nandroid backup in CWM. Worked like a charm :thumbup: :beer:
Sent from my SAMSUNG-SGH-I747 using xda premium
Mod for U.S. Cellular SecPhone.apk
Hey yoelsd,
Thank you for offering this! Can you please mod my SecPhone.apk? This is for the S3 stock rom on U.S. Cellular. Many thanks!!!
since mines is a Bell S3 and OP is MIA i just extracted SecPhone_ATT.apk from OP zip file and renamed to SecPhone.apk then used root explorer deleted SecPhone.odex and overwrite and restarted and its working perfectly.
I have hated the increase ringing since the SGS (i9000), Sammy should make that an option.
Hope this helps all my non AT&T S3 buddies.
edit, nm, got my versions mixed up
yoelsd said:
Hey guys !
I made a quick NoIncRing MOD, I figured while i was at it i would explain how to create the MOD.
I would like to Thank criskelo for his ZIP :
http://forum.xda-developers.com/showthread.php?t=1700174
I don't own an S3 but i did have the mod checked by an owner (works), i don't know what rom's it will work on so make a backup (as i said in the instructions).
Click to expand...
Click to collapse
Any idea if this will work on the new AT&T JellyBean that was just released? Or would we have to rebuild it using the files on our phone? Would your steps still work on JB?
I've been using the following app to disable increasing ringtones and it seems to work ok:
https://play.google.com/store/apps/details?id=com.shumoapp.disableincreasingring
My laptop broke,i usually mod my roms using 7zip,i remove or add apk files and more.
Is there any way to do this on the phone?I dont know of any compression apps in the market that will let me add or delete files while leaving the rom intact.
If i just unzip the rom,mod it and rezip it,will it work?Or it needs to be a certain zip format?
Use any file explorer that allows you to unzip/rezip
As long as you navigate back to the original file structure (usually /system, META-INF folders and boot.img) and zip up those three you'll be fine and be able to flash your modified zip in a custom recovery
I'm not familiar with any program able to properly decompile an apk or jar by using JUST the phone but if your just adding/deleting apk's you'll be good with just about any file explorer
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
Use any file explorer that allows you to unzip/rezip
As long as you navigate back to the original file structure (usually /system, META-INF folders and boot.img) and zip up those three you'll be fine and be able to flash your modified zip in a custom recovery
I'm not familiar with any program able to properly decompile an apk or jar by using JUST the phone but if your just adding/deleting apk's you'll be good with just about any file explorer
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
What about the compression method?Should i choose High,Low or Medium?
And are you sure it doesnt have to have some special zip method?Dont want to brick,lol.
Thats what i was thinking just to use ES File Explore because it has built in zipl.
lviv73 said:
What about the compression method?Should i choose High,Low or Medium?
And are you sure it doesnt have to have some special zip method?Dont want to brick,lol.
Thats what i was thinking just to use ES File Explore because it has built in zipl.
Click to expand...
Click to collapse
I use this
https://play.google.com/store/apps/details?id=nextapp.fx
Download the added root apk from the developers website. Extract the ROM you wanna modify, navigate to the extracted ROM and do whatever, then navigate to the original file structure and zip up those contents to flash in recovery
If there are different options for zip just use the defaults
Sent from my SPH-L710 using Tapatalk 2
fergie716 said:
I use this
https://play.google.com/store/apps/details?id=nextapp.fx
Download the added root apk from the developers website. Extract the ROM you wanna modify, navigate to the extracted ROM and do whatever, then navigate to the original file structure and zip up those contents to flash in recovery
If there are different options for zip just use the defaults
Sent from my SPH-L710 using Tapatalk 2
Click to expand...
Click to collapse
Thanx a lot man,it worked!ES Explorer can only compress folders but FX Explorer can compress saperate files.I used higest compression.
Now i feel like i dont need windows or osx anymore,i can do just about everything on android.Oh and FX Explorer is definetly nice,i might use it instead of ES now,to bad they make you pay for it.
Can someone post stock, odex versions of the FF18 systemui.apk and systemui.odex files? I seem to have lost mine. Or if there's a way to grab these from one of the stock, odex ROMs through Odin, please let me know.
Thanks for any help you guys can give.
holic87 said:
Can someone post stock, odex versions of the FF18 systemui.apk and systemui.odex files? I seem to have lost mine. Or if there's a way to grab these from one of the stock, odex ROMs through Odin, please let me know.
Thanks for any help you guys can give.
Click to expand...
Click to collapse
Oh that's easy, just download the stock ff18 rom and take the zip file off your sd card and put it on your pc desktop. Put it in a folder and UN zip the file. Open the system folder and find the app folder. The system ui will be inside. Put that on your sd card and and push back to system/app on your phone with root explorer or ES file explorer. Reboot and you have the stock ui.
timmetal6669 said:
Oh that's easy, just download the stock ff18 rom and take the zip file off your sd card and put it on your pc desktop. Put it in a folder and UN zip the file. Open the system folder and find the app folder. The system ui will be inside. Put that on your sd card and and push back to system/app on your phone with root explorer or ES file explorer. Reboot and you have the stock ui.
Click to expand...
Click to collapse
Doesn't sound too hard.
Sent from my SPH-D710 using XDA
I'm trying to compile a flashable zip file with the file manager inside this app. It does not do it correctly it creates a zip folder with the flashable folder inside which does not work I need a direct folder that opens to become flashable... Am I doing something wrong can anyone knows try to create a flashable zip file with this utility. I have root explorer and that works great but I would really like to use this app instead
justin860 said:
I'm trying to compile a flashable zip file with the file manager inside this app. It does not do it correctly it creates a zip folder with the flashable folder inside which does not work I need a direct folder that opens to become flashable... Am I doing something wrong can anyone knows try to create a flashable zip file with this utility. I have root explorer and that works great but I would really like to use this app instead
Click to expand...
Click to collapse
I've zipped and flashed whole roms with this app? What is it doing wrong? What type of zip are you using? 7zip?
I zipped JusTunBean and it did this
JusTunBean/JusTunBean/flashable stuff root explorer does JusTunBean/flashable stuff make sense? It's making a folder inside a folder
justin860 said:
I zipped JusTunBean and it did this
JusTunBean/JusTunBean/flashable stuff root explorer does JusTunBean/flashable stuff make sense? It's making a folder inside a folder
Click to expand...
Click to collapse
Gimme a little time to unzip then rezip something and see what it does for me! I'm at work so it won't be right now but soon I just unzipped and zipped a kernel file perfect. Are you trying to rezip a file you unzipped. If so go to the screen that has the Meta info and multiselect all of those then zip. If you want I'll show you screenshots, just let me know
truth77 said:
Gimme a little time to unzip then rezip something and see what it does for me! I'm at work so it won't be right now but soon I just unzipped and zipped a kernel file perfect. Are you trying to rezip a file you unzipped. If so go to the screen that has the Meta info and multiselect all of those then zip. If you want I'll show you screenshots, just let me know
Click to expand...
Click to collapse
Thanks I got it the difference is with route explorer you just hold down the folder you want to zip and it doesn't for you but with Rom toolbox you have to multi-select the different ones then zip
justin860 said:
Thanks I got it the difference is with route explorer you just hold down the folder you want to zip and it doesn't for you but with Rom toolbox you have to multi-select the different ones then zip
Click to expand...
Click to collapse
Glad I helped if I did, I owe you that lol!