This mod is very popular in there, doesn't need to explain that.
My Base "Phone.apk" file is on Deodexed JVZ |2.3.6| firmware.
Installation Guide:
Download the attached file.
Extract it
Copy "Phone.apk" File into "System/App" Folder.
Restart your Phone.
Done.
Updates:
12/16/2011: No any differences between JVZ and JW1, you can use it on JW1
Best Regards.
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
djb77 said:
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
Click to expand...
Click to collapse
0- Notepad ++
1- Baksmali
2- Smali
3- 7 Zip
or simply use Apk Manager.
you need to change below smali file.
Code:
com\android\phone\Ringer$1.smali
* Very Important
And if you want don't face to any fc error, you need to use low compression or better to use NoCompression mod.
djb77 said:
Thank you, was going to attempt this myself but you beat me to it lol.
I was always having problems decompiling the phone.apk, any chance you could let me know what tools you used to decompile / recompile the apk?
Click to expand...
Click to collapse
Make sure you are decompiling it with dependencies (twframework-res.apk), decompiled /res/drawable-hdpi should not have any corrupted file (such as corrupted 9patch)
Rahulrulez said:
Make sure you are decompiling it with dependencies (twframework-res.apk), decompiled /res/drawable-hdpi should not have any corrupted file (such as corrupted 9patch)
Click to expand...
Click to collapse
Thank you for that, that's something I actually did want to know.
I had a look at APK Manager a while ago and didn't end up having any luck decompiling properly, so I went to straight Smali / Baksmali scripts. Only ever had luck with .jar files though.
---------- Post added at 07:54 AM ---------- Previous post was at 07:50 AM ----------
Also, is it possible that it's framework-res.apk that it uses and not twframework-res.apk ?? I tried twframework-res and it just sat there and did nothing, framework-res decompiled it properly.
djb77 said:
Thank you for that, that's something I actually did want to know.
I had a look at APK Manager a while ago and didn't end up having any luck decompiling properly, so I went to straight Smali / Baksmali scripts. Only ever had luck with .jar files though.
---------- Post added at 07:54 AM ---------- Previous post was at 07:50 AM ----------
Also, is it possible that it's framework-res.apk that it uses and not twframework-res.apk ?? I tried twframework-res and it just sat there and did nothing, framework-res decompiled it properly.
Click to expand...
Click to collapse
framework-res.apk doesn't depends upon twframework-res. It should be decompiled without any dependency.
Rahulrulez said:
framework-res.apk doesn't depends upon twframework-res. It should be decompiled without any dependency.
Click to expand...
Click to collapse
No I meant for when decompiling phone.apk I use framework-res instead of twframework-res
Is this phone-apk also working with an odexed JVZ?
Deacon-Frost said:
Is this phone-apk also working with an odexed JVZ?
Click to expand...
Click to collapse
NO! its just for deodex
Ehy M_J_Nazari, since you're very smart, you want to give me a hand?
http://forum.xda-developers.com/showpost.php?p=20222307&postcount=65
i tried this on a jvt rom i'm using and it worked..
thanks
M_J_Nazari said:
NO! its just for deodex
Click to expand...
Click to collapse
It works great with odexed roms too, you just have to delete phone.odex from your /system/app.
Can you please tell us what you patched to disable the increasing ringtone? I want to be able to do this for the latest ROMs.
Related
Ok so I used http://forum.xda-developers.com/showthread.php?t=882742 to upack / uncompile my framework-res. I then made my changes to the xml's that I wanted to edit. I then used the same program to repack them but it does not recompress them for some reason. I tried to use apkmanager but found it very confusing to use it to recompile and could never get it to work correctly. Any help would be appreciated.
With apkmanager after you make your edits you choose 11 to recompile, answer yes and yes, go to the keep folder that it creates and delete everything you edited. You will get a unsigned.apk.
Sent from my ADR6300 using XDA App
Hatman41 said:
Ok so I used http://forum.xda-developers.com/showthread.php?t=882742 to upack / uncompile my framework-res. I then made my changes to the xml's that I wanted to edit. I then used the same program to repack them but it does not recompress them for some reason. I tried to use apkmanager but found it very confusing to use it to recompile and could never get it to work correctly. Any help would be appreciated.
Click to expand...
Click to collapse
if you use apk manager and make xml edits make sure you delete the resources arsa also
newtoroot said:
if you use apk manager and make xml edits make sure you delete the resources arsa also
Click to expand...
Click to collapse
Thanks for the reply but I still find apkmanager very confusing to use to recompile.
Can anybody make black contact & phone.apk attached here. Or else let me know the step by step procedure to make the Black themed Contacs.apk & Phone.apk
I Know we need to edit some XML files like styles.xml , call_background.xml, background_dial_holo_dark.xml and also have tried but able to get the success. So please help me.
Its not that easy...
apktool-1.4.3 wont decompile Contacts.apk properly so when you recompile, it will most likely crash the Phone.apk
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
I would do it for you, how exactly do you want it to look?
manikant_009 said:
I am able to decompile and recompile it without any problems.
You have to just decompile with 1.4.2 apktool and compile it with 1.4.3 apktool.
Before decompiling you have to delete classes.dex from contacts.apk.
If it was not possible then how other themers are modifying contacts.apk. So themers please help me.
Click to expand...
Click to collapse
How many "themer's" are changing XML? show me one please...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Most just change images, just swap out the images using 7-zip
OriginsOfLewis said:
Most just change images, just swap out the images using 7-zip
Click to expand...
Click to collapse
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
OriginsOfLewis said:
I would do it for you, how exactly do you want it to look?
Click to expand...
Click to collapse
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
shayne77 said:
Exactly my point... Contacts.apk has been a pain the bum since ICS got here... (with APKTOOL-1.4.3 anyway)
hence why no-one has really changed XML too much...
I think managed to get it to work though...
Click to expand...
Click to collapse
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
manikant_009 said:
I thinks for this we need to install framework-res then decompile contacts.apk with 1.4.2 and recompile with 1.4.3
Click to expand...
Click to collapse
My bet is: Contacts.apk will work fine but Phone.apk will crash.
shayne77 said:
My bet is: Contacts.apk will work fine but Phone.apk will crash.
Click to expand...
Click to collapse
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
manikant_009 said:
See i am not a themer but i have tried contacts.apk by this method not tried phone.apk so i can't tell about it.
I just need the info about the xml files that needs to be edited so please help me.
Click to expand...
Click to collapse
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
shayne77 said:
You're missing my point, the 2 apk's talk to each other... you change Contacts and it crashes Phone.
sent from SGS2 using XDA app.
Click to expand...
Click to collapse
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
manikant_009 said:
But their should be some way to change it because Vertumus and other themers have done that
For example you can see here
http://forum.xda-developers.com/showthread.php?t=1564209
http://forum.xda-developers.com/showthread.php?t=1517344
Click to expand...
Click to collapse
I think you'll find they're only changing PNGs in Contacts.apk... could be wrong but I am thinking that is the case...
Will see if any "themers" offer you some advice in this thread then...
shayne77 said:
How many "themer's" are changing XML? show me one please...
Click to expand...
Click to collapse
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Oh so you'll share your method to manikant/us then? good-o
---------- Post added at 12:28 AM ---------- Previous post was at 12:24 AM ----------
el_liberator said:
Me , for my theme (Black&Blue for HyDrOG3N-ICS)
I change the pictures, but also some XML files
Click to expand...
Click to collapse
Can you share with us also i like the MMS.apk of your theme so please try to share with us.
Didn't think so...
either he doesn't change XML or he steals someone else work or he's just plain selfish.
not in the spirit of xda anyway.
That's the problem with this place, ego's get in the way of development.
manikant_009 said:
Thanks for trying to help me i want black dialler with blue text numbers, transparent buttons. and also pleas let me know how to make the transparent notification in the below image attached.
Click to expand...
Click to collapse
Okay I've done it, I haven't tested it so it's at your own risk. Remember to set permissions! This is at 50% transparency
http://dl.dropbox.com/u/43639041/framework-res.apk
I had errors with the Contacts.apk when making any XML edits, I ended up having to grab it from the source.
every time i'm trying to decompile an APK i get this error:
Code:
Decompiling Apk
testCan't find framework resources for package of id: 2. You must install proper framework files, see project website for more info.
"An Error Occured, Please Check The Log (option 24)"
can someone help me?:crying:
someone? anyone?
:crying:
make sure you installed correct framework apps..and then decompile again
arpith.fbi said:
make sure you installed correct framework apps..and then decompile again
Click to expand...
Click to collapse
I already installed the framework-res.apk and the systemui.apk
Sent from my LT18i using xda premium
can you post the 4-5 previous lines in the code before getting error?
arpith.fbi said:
can you post the 4-5 previous lines in the code before getting error?
Click to expand...
Click to collapse
i used used apk multi tool, so i selected a project, chose to decompile, and that are all the lines i get.
install original stock framework-res.apk including other frameworks
First try decompiling and re-compiling the original stock apk before decompiling & recompiling apk of some other roms.
but i still feel framework-res.apk isnt properly installed
Code:
apktool install-framework framework-res.apk
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Erhany said:
apktool if framework-res.apk
/1.apk successfully created.
apktool if SemcgenericUXpres.apk
/2.apk successfully created..
After that try it.. ıt works lots of apk instead of systemUI.apk :S I dont know where I have mistakes during COMPILE process :/
Click to expand...
Click to collapse
thanks, it worked
now i can't compile the apk:crying:
Code:
The system cannot find the file specified.
what can i do to fix that?
please, can someone help me with that?
I searched on XDA and doesn't find a guide how to change date color on JB 4.1.2 lockscreen.
So i decided share a method how i do it.
Decompile framework-res.apk
go to:
framework\layout-hdpi\keyguard_circlelock_clockwidget.xml
framework\layout-hdpi\keyguard_circlelock_clockwidget_land.xml
framework\layout-sw320dp-hdpi\keyguard_circlelock_clockwidget_sub.xml
search f6f7c9 color in this layouts and replace it to desired color (all values 3x in each file).
The same in AccuWeatherWidget.apk
Decompile AccuWeatherWidget.apk
go to:
res/values/colors.xml
and replace <color name="date_zone_text">#fff6f7c9</color> to desired color.
It works on LSJ, LS8, LSD, MS1. All Samsung JB based ROM for GS2.
Happy changing
thanks, but is it normal to get bootloops after doing this??
I never get bootloop when theming framework, now it has!
If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
only solution?
jackq said:
If you doing this corectly (decompile, change values recompile) there is no way to got bootloop. So please write step by step how you do this?
Click to expand...
Click to collapse
Could u plz try it, maybe it then work?
You have ONLY to change date color in: ff33b5e5
CLICK
---------- Post added at 01:16 PM ---------- Previous post was at 12:58 PM ----------
Edit: problem soled:laugh:
solution: google and found this VERY useful tip: http://forum.xda-developers.com/showthread.php?t=1806602
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.
Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.
Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
jackq said:
If you have problem with de/re-compiling apk you can use http://apkmultitool.com/
With this program i don't have any problems.
Download latest apk multitool.
Unzip, now copy attached files to "other" folder and copy framework-res.apk and twframework-res.apk from your ROM base.
Now run bat scripts framework if and twframework if, this will automatically add sources.
Enjoy decompiling and recomiling.
Attachments:
http://speedy.sh/8Taf2/framework-if.bat
http://speedy.sh/qsT7e/twframework-if.bat
Click to expand...
Click to collapse
I dont use apk multitools always get errors, or am I doing sth wrong? Instead, I use this: http://forum.xda-developers.com/showthread.php?t=1989533
But now I wanna change icons of apps, market apps. Its very hard everytime I wanna install my new apk it says: app not installed. Pushing to system/app doesnt help
Help plzz!!
Finally I change that ugly yellow date.
I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
metalfan78 said:
It could be so many things. What did you edit?
---------- Post added at 11:50 AM ---------- Previous post was at 11:48 AM ----------
Did you copy the manifest and resources files from the original apk to the modified one?
Click to expand...
Click to collapse
I edited the scrollbar text color in values/color. I didn't copy the manifest over, only the resources. I didn't know I had to copy over the manifest? Is that a mandatory, I never do that and usually never have problems?
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
Thanks very much for your help @metalfan78! I'll give it a try and see what happens
CNexus said:
Grab a logcat. It'll tell you if it can't find a resource or whatever the issue is
Click to expand...
Click to collapse
Thanks @CNexus. As usual, I appreciate your help. Give me a little bit, and I'll have something for you.
metalfan78 said:
I've always had to copy the manifest, it contains the stock signatures needed for the system to verify the apk. Try that first to see if it works.
Click to expand...
Click to collapse
I didn't realize until after you asked, I use Apk MultiTool. All you need to do is copy resources from the modded apk to the original. The original manifest remains.
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
metalfan78 said:
I always used apk tool and I did it the opposite way, copying the manifest over to the new one where I made all the edits.
Click to expand...
Click to collapse
Hmmm. I didn't know to do that. Do you think it's better that way?
I can't say which way is better, that's just the way I learned. Hopefully cnexus can help more.
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
nyfl2004 said:
I need help please. Does anyone know what might be causing my systemui to crash after I install an edited twframework. I am on CNexus' MK3 deodexed rom. I am using ApkMultiTool with compression set to 9. I am able to decompile and recompile the twframework, but after copying to system/framework, changing permissions and rebooting, a persistant message "systemUi has stopped working" keeps popping up. At that point, I have to quickly keep pressing OK while trying to navigate over to ES file Explorer so that I can copy over the backup twframework to the system.
Click to expand...
Click to collapse
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does.
He's what I did for that apk.
1. Decompile
2. Make edits
3. Compile
4. Move original meta inf file to new apk
5. Move original android manifest to new apk
I haven't had any problems this way
CNexus said:
I'm a lot out of comfort zone with theming questions so I called in the pros for you. Should get a response or two in a bit
Click to expand...
Click to collapse
Thebear j koss said:
Hey buddy. Some edit in your tw framework is clashing with UI. UI is trying to pull a resource from twfw that isn't there anymore. No easy solution. Another reason why tw theming gives people fits and there are so many themes for aosp and not many for tw. I would start over editing small amounts at a time...
[email protected]'$ [email protected]@XY
Click to expand...
Click to collapse
calebsb said:
To be in the safe zone always copy over android manifest and meta inf files. Even when using multi tool. You never know if it is going to do it for you even tho it usually does
Click to expand...
Click to collapse
Thanks fellas. I appreciate your help. I will definitely take all your advice and apply it going forward. You all have taught me a great deal. I'm very grateful!!
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
1brainsurgeon said:
You may want to, if the previous suggestions haven't helped, throw your apk in a zip. Wipe cache/dalvik, and flash via recovery.
Click to expand...
Click to collapse
Thanks @1brainsurgeon. I had tried that as well, figured I would cover all bases, but that didn't work either. I finally threw in the towel and borrowed a twframework from another MK3 rom. I was then able to make my edits without any issues. Big thanks to all you guys for all your help!!