[GUIDE]How-to-make a CWM flashable .zip[For Newbs] - HTC Desire C

Things Needed:
-File you want to add to your phone.
-Base.zip
-7-zip
-Notepad++ OR linux text editor
Hello,
Newbs....this is the guide for making a flashable zip so that you can add or replace files to your phones(if you know what I mean).A few days ago I was faced with the challenge of making a guide for flashable zips.There were a few guides but most of them didnt work with me..So I decided to create my own!
Base.zip download link:http://www.mediafire.com/download.php?xkxpqd1en6faeg3
STEPS:
Directory Paths::silly:
(1) Download and place the Base.zip anywhere on your desktop;
(2) Right click on the file and choose: "7-Zip / Open archive".not extract just open it.Be careful
You should see two folders - META-INF and system.
Lets start with system folder.Double click it.In there you would put all the files you want to add or replace to your system.for eg.you want to add boot animation then you have to create sub folders within system folder.bootanimation.zip goes into media>system path.add files to their respective paths.
I hope you get the fundamentals...even i am not a pro in this....:laugh:
/system/app - all the apps you want to add
/system/framework/ - framework-res.apk, twframework-res.apk, android.policy.jar
/system/etc - vold.fstab, PowerOn.wav(this is the bootanimation sound)
/system/media - bootanimation.zip (custom Roms only)
/system/lib - libraries (_ _ _ _*.so)
The other file in the zip which is META.INF should be left unchanged as it is....
Voila...you dont even know it but you have made your first flashable zip....and boy this is the basics....:silly:
NOTE:This Guide doesnt make you a full fledged developer......:crying:
WHY?
The World of developing is a lot more complicated.....
Note from OP:
Haters shall always hate.If you hated this thread avoid it do not start spamming,flaming and offtopic....simply stay away from this thread!Press thanks If I helped you and lastly I am ready to answer all your questions:angel: no matter how absurd they are.No offence though.If you need I will simplify the process with screenshots....
Sayonara
Cheers,:good:
ExonakiDev

Thnx worked for me!!!!!

welcome!!!

Good guide
Although there is an easier method I know, but still nice one : thumb up:

Thanks Exondev , just a quick question .
You call it a cwm flashable zip , but I assume this is just fine for twrp too ?
all the best
rich

Hmm There are easier ways to create a zip, it takes me around a minute for me. It is all in the META-INF that is what drives to install in a flashable ZIP, if that is wrong it will not work and result in an error.
Thanks for the guide though.

ExonakiDev said:
Lets start with system folder. Double click it. In there you would put all the files you want to add or replace to your system. For example: You want to add a boot animation, then you have to create sub folders within system folder. bootanimation.zip goes into media>system path. Add files to their respective paths.
Click to expand...
Click to collapse
First, thank you for explaining this! You are awesome for it!!!
Second, Your punctuation is horrible, my only request is to fix it as I have. Meaning, put spaces after periods or your sentences will seem like file names instead of the start and stop of your sentences.
Thanks again because this helps a lot and please keep this advice in mind when making new posts as I look forward to seeing you post again for dev noobs who are just like me!!!
Thank you for your help and understanding that this lack of proper punctuation can (and will) confuse super noobs! Lololol
Sent from my SAMSUNG-SGH-I727 using xda app-developers app

@whoamigriffiths:it should work for twrp as well...all the best try it

TearRoar said:
First, thank you for explaining this! You are awesome for it!!!
Second, Your punctuation is horrible, my only request is to fix it as I have. Meaning, put spaces after periods or your sentences will seem like file names instead of the start and stop of your sentences.
Thanks again because this helps a lot and please keep this advice in mind when making new posts as I look forward to seeing you post again for dev noobs who are just like me!!!
Thank you for your help and understanding that this lack of proper punctuation can (and will) confuse super noobs! Lololol
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
Click to expand...
Click to collapse
I will try to improve my vocabulary....thanks for the compliment though!

Want to make one from phone itself
http://forum.xda-developers.com/showthread.php?t=2530923

Related

[?] Someone point me into the theming direction

First off, I know there was a thread on this that was located somewhere in the HTC Dream/G1 section, but I can't seem to find that thread ever since the big change xda went through...
Anyways, I've been trying to learn how to theme, I'm a beginner, and I wanna do this for education purposes. Can someone point me in the right direction to began with? (like a guide or what-not)
Currently I have the SDK starter kit from Google/developer.android.com. Are there any other guides, or anyone here willing to teach?
im a beginner too but to make a theme is not so difficult.. you must have only patience and a good know of photoshop (or the gimp if you use linux)..
then, just take an apk only for an example.. mm.. Launcher.apk!! rename it to Launcher.apk.zip and u will see several directory, one of this is res..
extract to desktop and you will see all the launcher images..
the only thing you have to do is replace them with your own images (same dimension and format, png..)
once you done that.. reopen Launcher.apk.zip and replace this your new images with the old one and finally rename again to Launcher.apk
do this with every apks and framework-res.apk too cos here there are a lot of images of android like the battery icon or smileys (the one of the sms's) and much more, also the top bar..)
then, if u use metamorph just follow this guide:
http://forum.xda-developers.com/showthread.php?t=591329
or if you want use the update.zip you must first read this
how to sign .zip: http://forum.xda-developers.com/showthread.php?t=473580
if u use metamorph u must only copy the file u want to replace..
else if u want the update.zip u must copy every file into apks, then sign..
if into the zip file you want to add both app and framework and font too.. you must add a directory called " com ".. u can find this directory in any theme you download, its in the " meta-inf" directory
ok??? its not so difficult trust in me..
i found this link: http://forum.xda-developers.com/showthread.php?t=467639 ..
...wrote in this thread: http://forum.xda-developers.com/showthread.php?t=468254
maybe it can help you more..
Thank's that's exactly what I'm looking for, I owe you big time
but what about the notification bar?
u can find notification bar into framework-res.apk under the drawable and drawable-land folders..
the name of images are staus_background.png then bottombar.png and maybe another one.. anyway, thanks to cloverdale you must read this:
http://forum.xda-developers.com/showthread.php?t=606011
and download Black_Lite-v3.0.1 Full Theme.
here u can find the black notification bar (and many other thing..)
its a metamorph theme
I haven't tested it yet but it should work. make a nandroid backup before u apply this changes
alright, thanks for all the help, man
wow, great reply! so much for being a "beginner." i've been rooted and constantly looking around for new ways to mod my g1, and i still had NO clue how to theme or use metamorph. thanks!
dcheng11 said:
wow, great reply! so much for being a "beginner." i've been rooted and constantly looking around for new ways to mod my g1, and i still had NO clue how to theme or use metamorph. thanks!
Click to expand...
Click to collapse
im a beginner but i learn quickly.. i was in your same point some weeks ago..
if u want learn something about theming or else just follow the link i wrote before. i used them to improve my knowledge about themes..
if u still have trouble, download:
1. any themes u want
2. a theme that use metamorph (like Black_Lite-v3.0.1 Full Theme for example)
u will see the difference
to use metamorph is simply.. download it from the market and then copy the zip file or directory u want into the AndroidThemes folder on ur sdcard (u will see this folder after u install metamorph)..
next step will be open metamorph and select the one .thm file.. done
the only thing u hav to remember is make a nandroid backup cos if u dont like the new themes u can simply go back (without flash the rom again..)
all u hav to do guys is read more and do more practice

[TUTORIAL] Want to Theme?

Hey guys! Someone recently posted that they wanted to start to making their own themes and I posted a very long reply and figured, might as well post a "somewhat easy to understand" tutorial here for everyone.
So you want to make your own themes?
First off, it is important to know that if you plan on porting any themes over and releasing it to the masses, that you get permission from the theme owner first!!
DISCLAIMER: I AM NOT RESPONSIBLE IF YOUR PHONE EXPLODES OR MELTS! lol
NOTE: IF YOU'RE A NOOB (you know if you are) DO NOT MESS WITH ANY IMAGE THAT ENDS IN ".9" UNTIL YOU READ UP ON THEM.......A LOT! IF YOU'RE JUST REPLACING AN IMAGE, THEN READ ON.
What you will need:
Apkmanager: http://forum.xda-developers.com/showthread.php?t=695701
7zip: http://www.7-zip.org/download.html
An empty flashable zip: http://www.multiupload.com/DBEMBUOCND
Lot's of time on your hands!
GETTING STARTED:
Apkmanager is going to be your "all-in-one" tool for making a theme in Windows.
(I'll go into all the options of apkmanager a little later)
The process you need to follow is actually kind of simple. It's just very time consuming.
First you will need to make the images that you want (unless you are porting a theme).
Now what you need to do is one way or another, get the framework-res.apk and the SystemUI.apk from your phone, you also need the RES_cappuccino.apk (found in /system/framework. (If you don't want to mess with using adb, use Root Explorer, just copy the apk then paste on your sdcard, then copy and paste from your sdcard onto your pc.)
Extract apkmanager to somewhere easy like the desktop and you should end up with a folder named "apkmanager" or whatever.
Inside that folder, you should have the following folders:
Other
place-apk-here-for-modding
place-apk-here-for-signing
place-apk-here-to-batch-optimize
place-ogg-here
projects
Then the following files:
log
Script
DO NOT MODIFY THE NAMES OF ANY OF THESE FILES OR FOLDERS OR NOTHING WILL WORK!
Take the 3 files that you got from your phone and place them in the "place apk here for modding" folder.
Double click to open the "Script" file
Press "22" and hit enter to set your current job
Select either 1,2 or 3 for whichever apk you want to start on first and hit enter
Select "1" to extract. You do not need to decompile unless you are editing XML files.
Once the extraction is done, go inside the "projects" folder and now you have a folder inside there with whatever the name is of the apk you just extracted.
Inside that folder are the images and XML files you need to replace (you might not have to edit any of the XML files, that's a little more advanced unless you already know how to.)
Most of the images you will need to edit will be in the following folders of each apk:
res>drawable
res>drawable-hdpi
Once you get everything done and you're ready to test it out, you need to go back to that "Script" file in apkmanager and open it back up. Now you're going to do pretty much the same stuff you did when you were extracting the apk, in order to rezip the apk.
In the Script for apkmanager, you're going to press "22" and hit enter, then select which file you want to compile first by either pressing 1, 2 or 3.
Select the file and hit enter, then press "3" and press enter
Now press "1" so that apkmanager knows it's a system file and will retain the files signature.
As long as you didn't mess anything up during the process of changing stuff, you shouldn't receive any errors. If you do, you need to figure out what it was you messed up on and fix it.
Go through and rezip all the apks that you edited. Once that is done, you will go to your "place apk here for modding" folder again and you will notice that you have 3 new files in there:
unsignedframework-res.apk
unsignedSystemUI.apk
unsignedRES_cappuccino.apk
Remember that empty flashable zip you downloaded earlier? Now you need it.
Right click on the flashable zip and mouse over "7zip" and click on "Open Archive"
Take the unsignedSystemUI.apk and place it in the "app" folder. Now rename that to its original name:
SystemUI.apk
Now take that unsignedframework-res.apk and unsignedRES_cappuccino.apk and place them in the "framework" folder of the flashable zip. Rename those to:
framework-res.apk
RES_cappuccino.apk
Now you can close out of the flashable zip file and place it on your sdcard.
Reboot into recovery, wipe cache partition, wipe dalvik.
Now go back and flash the zip file you just put on your sdcard.
Since you wiped your cache and your dalvik, the reboot will take a little while. You should now be good to go!
NOTE: Since I did not create apkmanager, I will not be able to answer many questions about it but feel free to ask. If I don't have an answer for you, Just go back to the post above where you downloaded it, and post your question there.
Please enjoy and happy themeing!!!!!!
And to add. There is also another great way for beginners to start making themes. It's very simple, all you do is select the changes you want made, then upload the framework-res.apk and the SystemUI.apk and it does all the work for you!!!! Even puts everything into a flashable zip! All you have to do is download the zip file then flash it! Here's the link to the UOT Theme Kitchen:
http://uot.dakra.lt/kitchen/
Also, thanks to drt054 for pointing out that Apkmanager is being improved on and the name is changing to APK Multi-Tool. If you use this tool instead, I will not be able to help with any troubleshooting because I just recently started using it. You can download it here:
APK Multi-Tool: http://apkmultitool.com/
Great post!
Don't forget, UOT can be a great starting point for inspiration also, at least give a little jump start.
Also, the hardest part is also getting your paths set up for apk manager to read adb. Just Google it and the answers are easy to find!
Sent from my ADR6425LVW using Tapatalk
mtmichaelson said:
Great post!
Don't forget, UOT can be a great starting point for inspiration also, at least give a little jump start.
Sent from my ADR6425LVW using Tapatalk
Click to expand...
Click to collapse
Very true! I'm so used to doing it this way that I sometimes forget about UOT lol. I'll post a link in the OP to it. Thanks Mt! Did you see my newest addition to the Themes section?
wow thats a bit harder then i thought lol... maybe ill just leave it up to you guys the real dev. lol but thanks! maybe when i get more into the phone and modding/tweaking stuff ill try it ha
spc_hicks09 said:
Very true! I'm so used to doing it this way that I sometimes forget about UOT lol. I'll post a link in the OP to it. Thanks Mt! Did you see my newest addition to the Themes section?
Click to expand...
Click to collapse
I did! It looks great!
Sent from my ADR6425LVW using Tapatalk
flaminfury said:
wow thats a bit harder then i thought lol... maybe ill just leave it up to you guys the real dev. lol but thanks! maybe when i get more into the phone and modding/tweaking stuff ill try it ha
Click to expand...
Click to collapse
Once you dig into it it's not to bad!
Sent from my VS910 4G using Tapatalk
flaminfury said:
wow thats a bit harder then i thought lol... maybe ill just leave it up to you guys the real dev. lol but thanks! maybe when i get more into the phone and modding/tweaking stuff ill try it ha
Click to expand...
Click to collapse
Indy's comment to your post was exactly true. It really doesn't take that long once you get the hang of it. Making your own images is what takes longer than anything in my opinion. Even if it takes you a long time to push a theme out, just remember that "it's about quality, not quantity." As long as you put out an awesome looking theme, most people won't care how long it took or how long it takes to push out updates. It definitely wouldn't take long if you use the UOT Theme Kitchen. The link for that can be found at the bottom of my first post.
spc_hicks09 said:
Indy's comment to your post was exactly true. It really doesn't take that long once you get the hang of it. Making your own images is what takes longer than anything in my opinion. Even if it takes you a long time to push a theme out, just remember that "it's about quality, not quantity." As long as you put out an awesome looking theme, most people won't care how long it took or how long it takes to push out updates. It definitely wouldn't take long if you use the UOT Theme Kitchen. The link for that can be found at the bottom of my first post.
Click to expand...
Click to collapse
Great job well said! Listen to spc and you can't go wrong. Nice write up too.
Sent from my VS910 4G using Tapatalk
spc_hicks09 said:
Indy's comment to your post was exactly true. It really doesn't take that long once you get the hang of it. Making your own images is what takes longer than anything in my opinion. Even if it takes you a long time to push a theme out, just remember that "it's about quality, not quantity." As long as you put out an awesome looking theme, most people won't care how long it took or how long it takes to push out updates. It definitely wouldn't take long if you use the UOT Theme Kitchen. The link for that can be found at the bottom of my first post.
Click to expand...
Click to collapse
Hey Spc i have a question, how do you make your own images and such? do you have to use something like Photoshop or gimp or some other program? Been playing around with the uot kitchen and its really a great program, but eventually i'd like to do more custom made stuff too.
Thanks!
47th_Ronin said:
Hey Spc i have a question, how do you make your own images and such? do you have to use something like Photoshop or gimp or some other program? Been playing around with the uot kitchen and its really a great program, but eventually i'd like to do more custom made stuff too.
Thanks!
Click to expand...
Click to collapse
I always use Paint.NET just because it's free and it's a great image editing program for people that don't want to mess with too much technical stuff. You can get it here www.paint.net
Good luck and I can't wait to see some stuff you come up with!
spc_hicks09 said:
I always use Paint.NET just because it's free and it's a great image editing program for people that don't want to mess with too much technical stuff. You can get it here www.paint.net
Good luck and I can't wait to see some stuff you come up with!
Click to expand...
Click to collapse
thanks for the link and info!
all i can say is that ill give it a shot lol.
but seriously you and the other folks here are very good at what you do so....
thanks again!
Just FYI the apk manager forum is old. Go here to read:
http://forum.xda-developers.com/showthread.php?t=1310151
or just go here to download:
http://apkmultitool.com/
It was renamed from APK Manager is now APK Multi-Tool. Windows version is pretty nice. Been looking at the forum, make sure you install to the root of your sdk directory.
He is working on Linux Version but doesn't have a linux machine any longer to test so it is slow going but you can still download APK Manager 5.0 for linux
drt054 said:
Just FYI the apk manager forum is old. Go here to read:
http://forum.xda-developers.com/showthread.php?t=1310151
or just go here to download:
http://apkmultitool.com/
It was renamed from APK Manager is now APK Multi-Tool. Windows version is pretty nice. Been looking at the forum, make sure you install to the root of your sdk directory.
He is working on Linux Version but doesn't have a linux machine any longer to test so it is slow going but you can still download APK Manager 5.0 for linux
Click to expand...
Click to collapse
Thanks for the tip drt! Will add to the OP.
spc_hicks09 said:
Thanks for the tip drt! Will add to the OP.
Click to expand...
Click to collapse
No problem.. love correcting all of your posts lol j/k bud
sent from my V6 Supercharged LG Revo BlueVolt
Apk Multi-Tool is better in that I can recompile SystemUI.apk and RES_Cappuccino.apk as long as I don't make any changes but if I do it gives errors that is some progress..
sent from my V6 Supercharged LG Revo BlueVolt
drt054 said:
Apk Multi-Tool is better in that I can recompile SystemUI.apk and RES_Cappuccino.apk as long as I don't make any changes but if I do it gives errors that is some progress..
sent from my V6 Supercharged LG Revo BlueVolt
Click to expand...
Click to collapse
Lies!!!!! Lol
Sent from my Dread Ginger Revo using Tapatalk.
spc_hicks09 said:
Lies!!!!! Lol
Sent from my Dread Ginger Revo using Tapatalk.
Click to expand...
Click to collapse
What do you mean??
drt054 said:
What do you mean??
Click to expand...
Click to collapse
I was just messin around cuz you said APK Multi-Tool was better than apkmanager. I haven't used APK Multi-Tool yet though.
Ah.. It has more features and auto-updates just doesn't work for me
sent from my V6 Supercharged LG Revo BlueVolt
---------- Post added at 05:40 AM ---------- Previous post was at 04:40 AM ----------
Might have figured out the issues with recompiling SystemUI and RES_Cappuccino they have to be decompiled with dependancies.. dragging frameworkres-apk into the command window and made changes and recompiled without errors. That is a first. If someone knew this and didn't tell me I will hurt somebody!!! Won't be able to test for a while..
Although you don't HAVE to do it, it's suggested that you do that with apkmanager too lol. Sorry!!!
Sent from my Dread Ginger Revo using Tapatalk.

Accurate Battery Mod for THS Build 6.5

THS Build 6.5 is now out, and I wasn't sure if the accurate battery for build6.0/6.1 was going to work since the SystemUI.apks have different file sizes.
Therefore, I decided to make one from scratch.
I just took gunnermike's mod and applied it to THS 6.5's SystemUI.apk. so all the credit goes to him
This is mostly for myself, but I decided to share it since others might find it useful too.
Enjoy!
Flashed it, works great. Thanks!
Would you explain how you did this please? I'm sure there's a lot of us who are interested.
AuroEdge said:
Would you explain how you did this please? I'm sure there's a lot of us who are interested.
Click to expand...
Click to collapse
Sure.. I'll list the general steps, but obviously it's too much to explain every detail, so you must know a bit about how to use ADB, Android SDK, etc..
1. Pull /system/framework/framework-res.apk & /system/app/SystemUI.apk from your phone or extract from the THS6.5 .zip
2. Use APKTool to decompile framework-res.apk (apktool if framework-res.apk)
3. Use APKManager to decompile SystemUI.apk
4. Replace the stat_sys_battery.xml & stat_sys_battery_charge.xml in /res/drawable/ with the "accurate" versions (You can do that by reusing previous versions or get it via UT Kitchen)
5. Replace/add the battery pngs files in /res/drawable-hdpi
6. Compile using APKManager as system apk
7. Create flashable .zip file for use with CWM. You can do this by reusing an existing version and just opening the .zip and replacing some files..
Well.. hope that gives you an idea.. You can find everything online right here in XDA Developers forums or via Google.. That's how I learned too..
Many thanks dude; just what the Doktor ordered!
This may not be the appropriate place to ask, but could somebody compile a stock battery that is flashable? The Mesmerize versions of THS come with a accurate battery mod preinstalled, but I'd much rather have the stock battery.
nograsswillgrow said:
This may not be the appropriate place to ask, but could somebody compile a stock battery that is flashable? The Mesmerize versions of THS come with a accurate battery mod preinstalled, but I'd much rather have the stock battery.
Click to expand...
Click to collapse
I can make one for you when I have time Monday..
Don't have the necessary tools here at home
neozen21 said:
I can make one for you when I have time Monday..
Don't have the necessary tools here at home
Click to expand...
Click to collapse
That would be awesome, thank you!
Edit: actually you don't have to worry about it if you don't want, someone over at Rootzwiki put one up last night. Thank you anyway!
nograsswillgrow said:
That would be awesome, thank you!
Edit: actually you don't have to worry about it if you don't want, someone over at Rootzwiki put one up last night. Thank you anyway!
Click to expand...
Click to collapse
Lol.. I started already (but haven't finished).. I see now why you don't like the accurate battery.. it's an Android!
I see that post on Rootzwiki, it should have what you are looking for..

Notification Bar Icons and Mods

Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
prhalfnathan said:
Is there any tutorial on how to change the icons on notification bar for sensation xl android 4.0.3 sense 3.6, such as changing the battery icon, wifi, signal, etc...
I've been searching for it for along time and haven't found one:crying: . If any kindhearted folks in here knows how to do the trick please show me how or at least lead me to the right thread / forum.
Im currently using Insanely cool sense by the way.
thanks!
Click to expand...
Click to collapse
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Lexmazter said:
There are some mods in themes and apps, and there are 2 ways to mod battery icon, wifi, signal etc.
The easy way is ti make a flashable zip from the uot kitchen. There are many tutorials all over the internet how to work with the kitchen.
The advanced way is to manually edit framework-res.apk that can be found in system/framework/. Here are also more options to work with, personally i use an archiver (WinRAR), and folders, i copy all the contents from the framework-res.apk in some folder named how do i want.
In that folder i make all the changes i want to make, battery and other icons, xml and other things, after that, i copy all the contents back in the framework-res.apk, and make a flashable zip, the flashable zip can be scavanged from other flashable zips so you don't need to know what i actually does, only edit the flashable zip in the same way, for example you can download the battery mod provided by me here and just change the framework-res.apk inside the zip and flash it
Hope this helps.
Click to expand...
Click to collapse
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
prhalfnathan said:
Thanks man! i got your point. I was able to change the battery icon, sync icon but i tried to look for the .png file for network icon and wifi but i can't seem to find it in framework-res.apk. I think were both using the same ROM if im not mistaken.
Actually i change things directly inside the ROM drag and drop method using 7zip and after editing things i reflash the ROM again. Im still learning things and with the guidance from the XDA developer team i hope to learn more. Can you enlighten me this one .
Thanks for your quick response!
Click to expand...
Click to collapse
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Lexmazter said:
Note that some notification icons and other icons can also be found in system>app>SistemUI.apk
Check there, there should be the missing icons you need.
Yes, you can do it your way, by flashing the ROM again with your changes made, but it takes more time, it is recommended to flash only what you need and i recommend using a more light .zip, like an existing theme or app flashable .zip, i gave you in the other post the example of the battery mod, you can take that .zip and add the needed folders into the system folder inside the zip and the files inside the respective folders, in this way you flash only what you need, and that .zip can be used to flash different apps or themes. (some apps require specific permissions and those need to be manually added, but this is another story, you can always set permissions using a root browser/explorer).
Hope this helps
Click to expand...
Click to collapse
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
prhalfnathan said:
Thats a really helpful tip! I'll try to check in the the folder you've mentioned, i haven't thought of that one (totally noob:crying::crying
I will also try to do the method you've been using seems its way more simpler and faster. Thanks a lot bro! I really appreciate the guidance!!!
Cheers!!!
Click to expand...
Click to collapse
No prob, everyone needs to start form somewhere, and what better place to start than xda developers?

[06Feb2014][APP][Quantum Themer]Theme Chooser for Stock(Based) ROMs

Hi all!
Are you making a ROM? Want users to switch between Themes without downloading tons of zips and flashing them and ending up in a mess? Actually I made this App for my upcoming ROM("Quantum Radicle") for Micromax A89 and it turned out to work on all phones. Sharing is caring :cheers:
Here is the solution - Quantum Themer!
You maybe wondering how it works. The answer is:
Based on VillianTheme System! What I did was first tried to run the script on my Phone, ended up with 10-15 errors, fixed them! Now all this App does behind the scenes is Feed the Theme you select to the script and the script does the rest! But if you do see, the VillianTheme Template itself is nearly 600 KB and the App is just 650 KB
Let's get Straight into the list of features!
Features:
Works on all ROMs - Stock, Custom, AOSP, eh, you name it!
Preview of Themes before Applying
Custom File Extension for themes(Default is .qrt, if you do dig my App, you will find this being set in com.adhi.quantumthemer.ThemeSelector Class. Feel free to change it! But don't kang the App)
Single Button, no hassles!
In-built File Explorer
Theme structure is so simple that, even a "Starter" doesn't take more than a minute to understand
You can use it in your ROM. Just copy the APK into your ROM and provide your users with Theme Files, you don't need to ask permissions, just give me credits
Just include files that need to be replaced/modified, cutting down the size of your themes by a great margin
Scroll down and search for the download link, you'll tell me more
Framework, System Apps, Data Apps support
Will modify APKs in a ROM, without changing signatures, and can be used on any ROM where the filenames of themed files is the same.
Should not need updated between versions of a ROM
Zipaligns all APKs before installation
Stores a backup of all files being modified in /sdcard/vrtheme-backup/
Requires no coding abilities or editing of files - just drag and drop
Click to expand...
Click to collapse
Now, this will be "Copy, paste" from a VillianTheme Tutorial on "How to make Themes". You may skip to the last point if you know/understand how it works! I strongly recommend you to have a look at the Attached theme for reference. Open it with your favorite Zip Browser(WinRar, 7-Zip)
Check this thread out as well.
Inside the qrt file(Which is to be opened with a Zip Viewer), you can create a folder called "system" and "data" and include a Preview of the theme named "preview.png" or "preview.jpg"(All folders and files without Quotes in their names). The former is required, the latter is not required unless you wanted to theme a data app (strongly not recommended, unless you know the app will be there on every phone)
Inside the system or data folder, create a subfolder "app", and in these, make subfolders named EXACTLY after the APK name. For example, to theme the Browser, you need a folder called "Browser.apk", for Statusbar, "SystemUI.apk". It must be correctly capitalised.
Within there, place the files you require for your theme, in the relevant locations. So most PNGs will be in res/drawable-hdpi/. You can put in xml files too (those which are not in resources.arsc), if you compile them via apktool, and extract them with a zip tool.
If you do make it from scratch and zip it, don't forget to Rename it with extension ".qrt"
Click to expand...
Click to collapse
Now lets move on to "How to use it" as I have too much time to kill now, I'm including this
How to Use:
Just Install the App(System, User doesn't matter). Click on "Select Theme" button and then select the Theme you want to Apply. It will ask for Root Permissions if its the First Launch. Next, you'll get a preview of Theme which is going to be applied and then when you press the "Apply" button, the theme will be applied and a Alert Dialog Box asking you to Reboot will appear. I suggest you to Reboot your phone at this point itself. And after reboot, you will be happy to see the Theme Applied
Click to expand...
Click to collapse
Downloads:
Preview
Sample Theme - Open it with a Zip Viewer, just for reference! Not a theme
Quantum Themer App:
Version 1.1 - Mediafire - Change Log
Version 1.0 - Mediafire - Dev-Host - Change Log
Beta 2 - Mediafire - Dev-Host - Change Log
Beta 1 - Mediafire - Dev-Host
Note: App Version in Settings is always Version 1.0 in Beta releases
Click to expand...
Click to collapse
Credits:
Villian ROM Team. This wouldn't exist without them!
iPaulPro for his aFileChooser
Stericson for his Roottools Library
Everyone whom the above two owe credits to!
Click to expand...
Click to collapse
If you face any problems with this App, do the following -
Debugging:
1. Check whether /sdcard/vrtheme exists and contains four or more files/folders.If it doesn't, copy all the contents off vrtheme.zip in the assets folder of the Quantum Themer App.
2. Mount System as R/W before Applying Theme manually.
3. Copy /sdcard/vrtheme/zip and /sdcard/vrtheme/zipalign to /system/bin and CHMod it to 777
4. Type
Code:
sh /sdcard/vrtheme/i*
in Termianl Emulator or ADB and post the result here..
Click to expand...
Click to collapse
Do hit the "Thanks" Button! I tried my best to help you, hope you'll do it to!
And tell me if you want Screenshots. It look pretty dumb even though!
If you people like it and want me to do some update/bug-fixes, do keep the thread active. I don't want to end up working for myself.
All kinds of Reviews are welcome
Reserved
Reserved..
Just in case
Finally you did it brother! :good:
It's just awesome and keep it up!
Thnx bro
Will definetly try dis previously I install xposed framework but it was not fully working on my ics device
Hope dis will work......
Sent from my Xperia Miro using xda premium
Sample theme didn't work for my Samsung galaxy s advance stock jb ROM. It made the backup folder on sdcard but didn't change anything.
Sent from my GT-I9070 using xda app-developers app
Will it work for gingerbread devices too?
GREEEEETZ!!!!
rodaven said:
Sample theme didn't work for my Samsung galaxy s advance stock jb ROM. It made the backup folder on sdcard but didn't change anything.
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Sample Theme is for reference ONLY. My bad should have added in the OP
-CALIBAN666- said:
Will it work for gingerbread devices too?
GREEEEETZ!!!!
Click to expand...
Click to collapse
It is working on Gingerbread Devices too!
Adhi1419 said:
Sample Theme is for reference ONLY.
Click to expand...
Click to collapse
So it shouldn't work then if I apply it on my phone?
Nice work by the way
Sent from my GT-I9070 using xda app-developers app
rodaven said:
So it shouldn't work then if I apply it on my phone?
Nice work by the way
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
Thanks.
It wouldn't work on your Phone
You can try making your own Theme, its fairly simple
How can I make this work if, for example, I have a SystemUI.apk or framework-res.apk modified and I want to apply it on my phone using this app? It's possible?
rodaven said:
How can I make this work if, for example, I have a SystemUI.apk or framework-res.apk modified and I want to apply it on my phone using this app? It's possible?
Click to expand...
Click to collapse
It's very easy!
Just download the Sample Theme and you will get it how it work and how to apply! :good:
A friend sent me to this thread. Once I read your description I got sooo many ideas in my mind! I am a big fun of VRT and this app could help me a lot if it's as I imagine it. Your idea is great.
Just one question for now, previews should be .flv? If yes, will it work ok if I make a slideshow-like preview?
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
You should add a package ofsome themes like ICS/JB in the OP.
Testing and reporting right away.
edit:: I will use ur sample theme as base for making my own themes.
Good work.
Regards,
Kaustubh
Adhi1419 said:
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
I just said that because your preview was an .flv file and I got confused. I didn't have time to open the .apk or the .qrt. I guess it was a misunderstanding.
Oh, and I'm glad I gave you an idea! Would be cool to see video previews. :good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------
Adhi1419 said:
Preview is a PNG static image!
Your post sparkled an idea in my mind too! Thinking of adding a Video Preview + Description
Sent from my GT-I9082 using Tapatalk 2
Click to expand...
Click to collapse
Also, why are there two preview.png? One in the root of the .qrt and one in /system folder? Which one is used by the Application?
kaustubh.rockstar said:
You should add a package ofsome themes like ICS/JB in the OP.
Testing and reporting right away.
edit:: I will use ur sample theme as base for making my own themes.
Good work.
Regards,
Kaustubh
Click to expand...
Click to collapse
Because the resource files used are device independent, a file available to MOD on one phone may not be available on the other!
Koulis2000 said:
I just said that because your preview was an .flv file and I got confused. I didn't have time to open the .apk or the .qrt. I guess it was a misunderstanding.
Oh, and I'm glad I gave you an idea! Would be cool to see video previews. :good:
---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------
Also, why are there two preview.png? One in the root of the .qrt and one in /system folder? Which one is used by the Application?
Click to expand...
Click to collapse
The one in the root. An error while Dragging and dropping previews
Adhi1419 said:
Because the resource files used are device independent, a file available to MOD on one phone may not be available on the other!
The one in the root. An error while Dragging and dropping previews
Click to expand...
Click to collapse
Some ideas:
Would be great if you can add more than one preview pic, in just one is hard to show all things themed.
Other thing is would be nice if themes with their preview remain on the app to just choose one and apply it, I mean like CM themes so you don't have to browse in folders and choose the qrt file each time you want to apply a previously loaded theme.
And finally that the app automatically make a qrt file of the backup that the app make when you apply a theme, so you can easily apply your backup if you didn't like the theme applied.
Sorry for my English
Sent from my GT-I9070 using xda app-developers app
I tried to change the icon of the music player app but after applying the theme and restarting the icon is still the same ... does anyone know how to do this with the app ?
Sorry for my bad english
Adhi1419 said:
Do hit the "Thanks" Button! I tried my best to help you, hope you'll do it to!
And tell me if you want Screenshots. It look pretty dumb even though!
If you people like it and want me to do some update/bug-fixes, do keep the thread active. I don't want to end up working for myself.
All kinds of Reviews are welcome
Click to expand...
Click to collapse
I have some ideas, and it would be great if you could implement those things.
First of all, it would be cool to have a folder where everyone would put those .qrts, a folder in /system (/system/QuantumThemes) maybe for us to be able to create packages of more than one .qrt and once a user flashes this package, those .qrts will be placed in this folder.
Second, another idea would be: when you open Quantum Themer it will automatically show themes from this particular folder(/system/QuantumThemes) without having the users to browse for themes in the mess of an sdcard. This way it would look more like a theme engine.
Third, how about categories or sections like: Toggles (/system/QuantumThemes/Toggles), or more specific categories like Status Bar Mods/Toggles (/system/QuantumThemes/Status Bar Mods/Toggles) those categories would be created and named by themers or ROM developers. There would be basically folders placed inside the /system/QuantumThemes and your application would just.
So, to give you a whole view of what I am thinking...
A user installs the Quantum Themer. The user flashes a CWM mod package created by someone. The user opens the Quantum Themer app. A window with all of the categories opens. The user selects a category. The category opens revealing sub categories. The user selects a sub category. The sub category opens revealing all installed mods for this sub category. The user selects a mod. A small or full screen window opens showing a preview, maybe a small description(taken from a file /.qrt/description.txt) and an Install button.
Well, that's actually a lot of things...
I thought it would be good sharing with you since you said you want to keep this active and update it. :highfive:
Hope I helped and I definitely hope to see such a great tool becoming better.
rodaven said:
Some ideas:
Would be great if you can add more than one preview pic, in just one is hard to show all things themed.
Other thing is would be nice if themes with their preview remain on the app to just choose one and apply it, I mean like CM themes so you don't have to browse in folders and choose the qrt file each time you want to apply a previously loaded theme.
And finally that the app automatically make a qrt file of the backup that the app make when you apply a theme, so you can easily apply your backup if you didn't like the theme applied.
Sorry for my English
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I'll add Restore feature, but it will not be a QRT file.
Thanks for your suggestion.
mattx89 said:
I tried to change the icon of the music player app but after applying the theme and restarting the icon is still the same ... does anyone know how to do this with the app ?
Sorry for my bad english
Click to expand...
Click to collapse
See your PM. It is due to the Binaries not being copied for some strange reason. Its very minor and easy to fix though
Koulis2000 said:
I have some ideas, and it would be great if you could implement those things.
First of all, it would be cool to have a folder where everyone would put those .qrts, a folder in /system (/system/QuantumThemes) maybe for us to be able to create packages of more than one .qrt and once a user flashes this package, those .qrts will be placed in this folder.
Second, another idea would be: when you open Quantum Themer it will automatically show themes from this particular folder(/system/QuantumThemes) without having the users to browse for themes in the mess of an sdcard. This way it would look more like a theme engine.
Third, how about categories or sections like: Toggles (/system/QuantumThemes/Toggles), or more specific categories like Status Bar Mods/Toggles (/system/QuantumThemes/Status Bar Mods/Toggles) those categories would be created and named by themers or ROM developers. There would be basically folders placed inside the /system/QuantumThemes and your application would just.
So, to give you a whole view of what I am thinking...
A user installs the Quantum Themer. The user flashes a CWM mod package created by someone. The user opens the Quantum Themer app. A window with all of the categories opens. The user selects a category. The category opens revealing sub categories. The user selects a sub category. The sub category opens revealing all installed mods for this sub category. The user selects a mod. A small or full screen window opens showing a preview, maybe a small description(taken from a file /.qrt/description.txt) and an Install button.
Well, that's actually a lot of things...
I thought it would be good sharing with you since you said you want to keep this active and update it. :highfive:
Hope I helped and I definitely hope to see such a great tool becoming better.
Click to expand...
Click to collapse
Thanks for your detailed feedback mate
1. I think /sdcard/QuantumThemer is a better place as messing around with system is not good for our device and there will be memory limitations in low-end devices. However your idea is cool and all your first 3 points were based on categories, I can take it as one great suggestion. Setting default directory to /sdcard/QauntumThemer is not tough either. I'm already working on a separate layout for displaying Description, preview and if possible a Video Playback.
2. Yes. Instead of laboriously setting up arrays for selecting Categories->Sub Caegories, a central folder on SD Card will be neat.
Thanks for your suggestions people!

Categories

Resources