Im in the process of porting a Touchwiz rom to Verizon. im just about done except for deleting some smali files and adding new ones. I have looked in the framework,framework2,and kioskdefault aps cant seem to locate the ones im looking for.
Smali/android/provider
Smali/android/telephony
Smali/android/server
Smali/android/service
Smali/com/internal/telephony
Any ideas as to where i can find these files? Any help is very much appreciated.
Those are all in framework, framework2, and services.jar.
There are also some telephony folders as named above in the SecTelephonyProvider.apk
Those are mostly the same, it's the framework jars that differ
OP you may wanna have a look at this too
http://forum.xda-developers.com/showthread.php?t=2231256
Thanks man. I will check it out
Sent from Wicked Twisted S4
Related
I just started making themes and I plan on creating roms next. I started working on my theme and wanted to see how it would look on the phone. I re-compressed the zip file back to an apk and got an error about it not being signed. The same thing also happened with some code I worked on. I just need to know how to sign the apps. Please help!
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
kyouko said:
Look for avaboxV2 You can sign zips, apks and a whole lot more stuff for theming ie. smali editing
Also this should be in Q&A.
Also i know this has been answered b4
But its nice to see newer faces working on stuff for the Hero
Click to expand...
Click to collapse
THANK BRO!!! I tried searching for it but, got no where. Should I use this on the stock rom or can it be used with custom roms?
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
eVoKINGS said:
Need to know how to make flashable zips for my rom releases without apks just framework images!
Any quidance would be of help!
Building a rom from the ground up is easier than this but i need to start making them for the build cause i have a crapload of images with no place to go thanks! just pm me or whatever! thanks
Click to expand...
Click to collapse
If you are just using images I would say metamorph is the only option I know of that can replace files in .apk on the fly. Its not a flashable zip though.
Give this a try... this will port png's from one rom to another. you just need to pull the framwork-res.apk and resources.apk from framework from your rom and put it in the "new" folder. and put the same apk's from the theme you want to port in the "old" folder, both under the framework folder with in the "new" and "old" folders. and run the script.... there are also app folders for any themed apps that you want to port also.... same thing with those, yours in the new and the themed ones to port in the old.... Just remember, these are only png ports, you still need to do xml edits if there are any...
this is not my work, found it here on xda a very long time ago and don't remember from who but thanx to him or them......
View attachment Theme-Porter.zip
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
Sorry, but it's a bit more complicated than just opening the .apk in 7-zip or winrar. You need to decompile the .apk... the easiest way is to use a program called apk manager. Search on XDA, and you will find it.
Then, in the decompiled folder, you will have a /drawable/ folder. You need to re-code the stat_sys_battery.xml to include all the pngs, as well as the zzz_stat_sys_battery_1.xml.
In addition to the 100 pngs you already have, you will also need some charging animation icons and a stat_sys_battery_unknown.png icon that all match your battery icon theme.
After redoing the 3 xmls in the drawable folder, and replacing all the necessary pngs, you then need to recompile and sign your apk with the new files.
I've attached a sample of the 3 xmls for you to use as a reference.
If you are looking to get a battery mod the quick and easy way, then I have a bunch in a thread HERE. If you are looking to learn how to do it yourself (Which I highly recommend for the learning experience it will provide), then search around and look for some guides on compiling and decompiling to help you on your way. You can also download any of the battery mods from the thread I linked to, and decompile them for examples of a working framework-apk that has been modded.
Keep in mind, when experimenting with this, you ABOSLUTELY WILL cause your phone to not be able to boot up. Make sure you have a nandroid backup ready.
Good luck.
Thank you!
Wow, this is gonna take a bit longer than i though B)
Btw, i was using one of your mods, but i found that it wasnt smooth enough + the icon didnt have enough detail
frederikh said:
Hi XDA
Im trying to make a battery mod for my HTC Sensation, but i need some help.
I have the framework-res.apk for my rom (Android Revolution HD) and 100 pngs.
I need help with compiling the stat_sys_battery.xml so it uses all the 100 pngs instead of htcs 7
I also need to know if its okay to just replace the files in the framework-res.apk using 7-zip, and replace that with the framework-res.apk in a working battery mod i downloaded, since i dont know how to make the update script
Thank you for you help
Click to expand...
Click to collapse
go to first link on my sign download a batt mod open framework and use it...
lalitsehgal21 said:
go to first link on my sign download a batt mod open framework and use it...
Click to expand...
Click to collapse
Thanks, but no thanks B)
I think will try to learn how to do it my self
As some of you know, I am making a Sense 5 look for Sense 4.x devices. Now, I am working on the skin part. The only problem now is that I need a base for the skin.
This is what I need:
A default HTC skin made for qHD screens
I understand that most resources are in the framework, and this would need a lot of time to compile, considering the need to 9patch too. I do not have the time, so I was wondering if anyone has done this before or has the time to do this and is willing to share so some people can benefit from it
Thanks in advance to whoever can help me.
KaiJun said:
As some of you know, I am making a Sense 5 look for Sense 4.x devices. Now, I am working on the skin part. The only problem now is that I need a base for the skin.
This is what I need:
A default HTC skin made for qHD screens
I understand that most resources are in the framework, and this would need a lot of time to compile, considering the need to 9patch too. I do not have the time, so I was wondering if anyone has done this before or has the time to do this and is willing to share so some people can benefit from it
Thanks in advance to whoever can help me.
Click to expand...
Click to collapse
Hi! I`m not an experimental user, but i learn very quick and i know of handling programs.And i`ve done and modify some parts of themes,roms how i like.I'd be happy to help you.If you want, just tell me what i have to do
buju001 said:
Hi! I`m not an experimental user, but i learn very quick and i know of handling programs.And i`ve done and modify some parts of themes,roms how i like.I'd be happy to help you.If you want, just tell me what i have to do
Click to expand...
Click to collapse
Take out com.htc.resources.apk and framework-res.apk from /system/framework/ (ViperS 1.6.3)
Take out matte.apk from /system/app/
Extract all 3 apks into 3 different folders
in folder drawable-hdpi of both framework apks, try to match their PNGs with the ones in drawable-hdpi of the extracted matte.apk(you may have to rename some of them) (PNGs that do not exist in matte.apk does NOT need to be copied)
After copying all is done, 9 patch all the PNGs appropriately.
When everything has been completed, send me a zip of the PNGs.
Thanks if you can do that. I will put a special thank for you in my thread.
And if anyone has an easier way, please inform me.
KaiJun said:
Take out com.htc.resources.apk and framework-res.apk from /system/framework/ (ViperS 1.6.3)
Take out matte.apk from /system/app/
Extract all 3 apks into 3 different folders
in folder drawable-hdpi of both framework apks, try to match their PNGs with the ones in drawable-hdpi of the extracted matte.apk(you may have to rename some of them) (PNGs that do not exist in matte.apk does NOT need to be copied)
After copying all is done, 9 patch all the PNGs appropriately.
When everything has been completed, send me a zip of the PNGs.
Thanks if you can do that. I will put a special thank for you in my thread.
And if anyone has an easier way, please inform me.
Click to expand...
Click to collapse
Ok,i`ll do that.But wait a little to download Viper Rom cause now i have just Elegancia.
Send you a PM right now with zip sir.
I've recently gotten into Android Development and I am thinking of getting into (or attempting to) ROM development. For starters, my main question here is:
What is the difference between the two in the modding sense? I understand Odex is harder to theme, but does this also cause problems in mods like the 5-reboot options mod or the surround sound mod?
If so, is this limited to all mods of any kind and why do these errors occur?
I am not asking for flamers or sarcastic responses. I need a serious answer as I am seriously hoping to start spending my free time with development wherever possible.
Thanks for your time!
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
YrrchSebor said:
I'm just a user and not a developer, but as far as the surround sound mod, I don't think those files are odexed even in the OEM stock ROM, so I don't think it matters. I believe odexed files are only in /system/app and /system/framework, so perhaps any mods to files in other places don't care if you're odexed or deodexed..
Click to expand...
Click to collapse
Thanks for the response! I'm pretty sure you're right about that.
Numzi said:
Thanks for the response! I'm pretty sure you're right about that.
Click to expand...
Click to collapse
Also, it seems like sometimes you can use a deodexed file even if the rest are odexed...... as long as you remove all the pieces of the odex file and replace it with the deodexed one. I've done it in the past anyway, pre-lollipop.
Well for you and everyone else the roms are de odexed this way u can use tools to decompile the dex files. Anything java related is inside the dex files the rest for the most part is xml configuration and image . For themes you might get away with xml modifications but some tweaks even some colors are in Java.