[THEMING -Basic] - Easy Way to EDIT SystemUI.apk/Apps Background - Sony Xperia Miro, Tipo (Dual), J, E

Hi there! Just wanna share..
Just a basic background on how to theme your ROMS. - ofcourse, give thanks to the developer of your ROMs! .
I made this thread for those users who have personal wishes for their Phones. Ofcourse, ROM developers cannot please all of its users. so just make your own and be happy!.
I just made it easy for easy understanding and for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before extracting it for back up)
1. Download the ROM.zip and extract it to your PC.
2. Go to \system\app\SystemUI.apk\res\drawable-ldpi/Mdpi/hdpi
3. View the PNG files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your PC, let's say on your Desktop.
- Make sure that the file name still remains as is..
*After you're done editing, updating the PNG files you wish to change, follow this steps to update the zip file :
NOTE : You can apply transparency by editing the PNG file to photoshop by reducing the opacity of the image
1. Go to the original ZIP file of ROM.Zip from your PC
2. Right Click the folder and select 7 ZIP -->> open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res\drawable-ldpi/mdpi/hdpi and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited PNG files or downloaded png files (assuming that files are located in your desktop). - Click and simply DRAG the file(s) from your desktop to \system\app\SystemUI.apk\res\drawable-ldpi\ mdpi/hdpi
6. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are THE SAME. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not the backed up one)
Install the zip file from the original thread's instructions and reboot twice.
After that, you have now a customized systemUI.apk.
For those who do not want to reinstall the whole package.. follow these steps:
1. I assumed that you have the zip file of your ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP -->> open archive.
5. Go to \res\drawable-ldpi/mdpi/hdpi
6. Click and simply DRAG the PNG file(s) from your desktop to \res\drawable-ldpi/mdpi/hdpi
7. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are THE SAME. -
9. After dragging and replacing the files you wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select permissions:
from the pop up, make the checked one like this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - Bigger dots
After encountering a lot of force closes, then reboot the phone and that's it!
(Force Closes are normal, DON't PANIC - logically, you are currently using your systemUI.apk so just ignore it)
NOTE : You can also apply the same steps in editing system files apps, just edit the .png files and locate it using 7zip(when you already opened it). Have a little LOGIC on how to edit system app background - same process. just different apk files and directory .

Really helpful!
Im gonna start right now

Kuro-Tensai said:
Really helpful!
Im gonna start right now
Click to expand...
Click to collapse
all d best buddy :good:

Thanks a lot dude!

Option58 said:
Thanks a lot dude!
Click to expand...
Click to collapse
apply and report back :good:

Does it work on JB systemUI.apk ?

Jacupovsky said:
Does it work on JB systemUI.apk ?
Click to expand...
Click to collapse
Dnt knw abt jb bt U can chek bcoz this guide for all roms. Bcoz every rom have thngs in systemui etc.. Chk and report back plzz
Sent from my GT-S5360 using xda app-developers app

Anybdy tried this method?
Sent from my GT-S5360 using xda app-developers app

I am Flashing it right now ,Lets see
sohan rawat said:
Anybdy tried this method?
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I am flashing the ROM of edited systemui ,FINGERS CROSSED:fingers-crossed:

Can't do this if system is odexed. I have to find a deodexed one.

androidnerd2 said:
Can't do this if system is odexed. I have to find a deodexed one.
Click to expand...
Click to collapse
+1
Is there any way to deodex it, i want to make transparent status bar! If someone can make transparent please make it! thx!

Yes .. The best theming works done on deodex. In odex rom U have limitation and its tough to themed odex rom.. So first deodex ur rom ...!!!
Sent from my GT-S5360 using xda app-developers app

2010matej said:
+1
Is there any way to deodex it, i want to make transparent status bar! If someone can make transparent please make it! thx!
Click to expand...
Click to collapse
There is a deodexed .21 rom available in general section
---------- Post added at 11:28 AM ---------- Previous post was at 11:26 AM ----------
sohan rawat said:
Yes .. The best theming works done on deodex. In odex rom U have limitation and its tough to themed odex rom.. So first deodex ur rom ...!!!
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
Would Xultimate work to deodex stock rom ?

androidnerd2 said:
There is a deodexed .21 rom available in general section
---------- Post added at 11:28 AM ---------- Previous post was at 11:26 AM ----------
Would Xultimate work to deodex stock rom ?
Click to expand...
Click to collapse
dont knw bro test and report .. bcoz i dont have device yet. bt in few days i will get my tipo dual :good:

sohan rawat said:
Hi there! Just wanna share..
Just a basic background on how to theme your ROMS. - ofcourse, give thanks to the developer of your ROMs! .
I made this thread for those users who have personal wishes for their Phones. Ofcourse, ROM developers cannot please all of its users. so just make your own and be happy!.
I just made it easy for easy understanding and for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before extracting it for back up)
1. Download the ROM.zip and extract it to your PC.
2. Go to \system\app\SystemUI.apk\res\drawable-ldpi/Mdpi/hdpi
3. View the PNG files you wanted to change and make sure to remember its' file name.
4. After editing/changing the file/image you wanted, you can save it anywhere from your PC, let's say on your Desktop.
- Make sure that the file name still remains as is..
*After you're done editing, updating the PNG files you wish to change, follow this steps to update the zip file :
NOTE : You can apply transparency by editing the PNG file to photoshop by reducing the opacity of the image
1. Go to the original ZIP file of ROM.Zip from your PC
2. Right Click the folder and select 7 ZIP -->> open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res\drawable-ldpi/mdpi/hdpi and it will open a new window of 7zip showing the files inside the zip.
5. Now, given your edited PNG files or downloaded png files (assuming that files are located in your desktop). - Click and simply DRAG the file(s) from your desktop to \system\app\SystemUI.apk\res\drawable-ldpi\ mdpi/hdpi
6. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
7. Make sure that the file name of the one you edited/downloaded are THE SAME. -
8. After dragging and replacing the files you wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not the backed up one)
Install the zip file from the original thread's instructions and reboot twice.
After that, you have now a customized systemUI.apk.
For those who do not want to reinstall the whole package.. follow these steps:
1. I assumed that you have the zip file of your ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->> extract here - just to view the files you wanted to change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP -->> open archive.
5. Go to \res\drawable-ldpi/mdpi/hdpi
6. Click and simply DRAG the PNG file(s) from your desktop to \res\drawable-ldpi/mdpi/hdpi
7. It will ask you to confirm the action for it will replace the existing PNG file that you're trying to change.
8. Make sure that the file name of the one you edited/downloaded are THE SAME. -
9. After dragging and replacing the files you wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes for the exixsting systemui is currently being used by your phone. - just ignore it a lot and scroll down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select permissions:
from the pop up, make the checked one like this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - Bigger dots
After encountering a lot of force closes, then reboot the phone and that's it!
(Force Closes are normal, DON't PANIC - logically, you are currently using your systemUI.apk so just ignore it)
NOTE : You can also apply the same steps in editing system files apps, just edit the .png files and locate it using 7zip(when you already opened it). Have a little LOGIC on how to edit system app background - same process. just different apk files and directory .
Click to expand...
Click to collapse
But how do we theme launchers? The same way?
Sent from my GT-P3100 using xda premium

Good Guidance ..

I'll do the experiment!!
But where is the file ROM.zip to download?
Regards,
Jorge Moreira

If anything goes wrong will the original system ui will work
Sent from my C1504 using xda premium

nice
Thanks for sharing this is so usefull for me keep it up

Related

[Android 4.0][GUIDE]Port ICS transition animations on EVERY ROM & EVERY PHONE

Because some people asked me, I wrote this tutorial that explains how to port ICS transition animations on EVERY ROM & especially on EVERY PHONE!!!.
1) First of all, you need to download and install APK MANAGER:
http://forum.xda-developers.com/showthread.php?t=695701
2) Extract with WinRAR, from the ROM you want to modify, the file framework-res.apk, that you can find in the directory \System\framework\.
3) Go to the apk manager folder and place the framework-res.apk file in the folder "place-apk-here-for-modding".
4) In the apk manager folder, double click on the file "Script". A cmd window will open.
5) Where it says "Please make your decision", write "22" (Set current project) and enter. Then enter "1" (to choose the first apk) and enter. Then enter "9" (Decompile apk) and enter.
The script will decompile the framework-res.apk.
6) Now go to your apk manager folder, go to Projects\framework-res.apk\res\anim\.
In this folder there are the animations of your rom. They consist in some .xml files decompiled.
7) Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
8) Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
9) Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
10) Return to Script. Enter "11" (Compile apk) and enter.
The script will rebuild the framework-res.apk.
11) You are asked if this is a system application. Enter "y" and enter. Then a second question appears. Enter newly "y".
12) Then after it processes, Don't press anything & DON'T CLOSE THIS WINDOW!!! A new folder "keep" is created in the apk manager folder. Go inside it and delete the file "resources.arsc". Now go inside keep\res\anim\ and delete every file with the same name as every file of the "anims" folder of the zip downloaded.
Then return to Script and press enter. It processes, then if everything went ok, in the folder "place-apk-here-for-modding" a file "unsignedframework-res.apk" is created. Copy it outside and rename it "framework_res.apk".
13) Now you can create a flashable zip or you can simply push it to your system (but you have to sign the apk).
CONGRATRULATIONS!!! YOU ARE DONE!!!
And if you think this tutorial is useful, CLICK THANKS!!!
Now I'm satisfied and i can continue studying phylosophy for tomorrow test...
P.S.: If you think that this post can help or interest people of other forums (with other devices), please share this post and also give credit to me!!!
Video of this mod working:
http://www.youtube.com/watch?v=vf1U_30Ngfk
capez said:
Work in progress
Click to expand...
Click to collapse
WHAAOOON, that's great, that's the post I was looking for mate !
This is what we should expect on this forum : knowledge sharing ! Work sharing and ROM/THEME/APPS sharing is great but knowledge is even better.
If I can test something ...
capez said:
Work in progress
Click to expand...
Click to collapse
Will this work with every devices ?? Wow... Cant wait to do this!!!
Sent from my Nexus One using Tapatalk
Finally DONE!!!
cool animations, thanks!!!
(Replaced)
got bootloops on my desire hd.. running glanet ics..
Rotation animations??
I already installed the CM7 transition animation zip from your other thread.. So, thank you in case I haven't appreciated your work
Does this one have screen rotation animation too?
digkong said:
got bootloops on my desire hd.. running glanet ics..
Click to expand...
Click to collapse
Did you pushed the modded framework-res.apk directly into the phone?
Do you think [Android 4.0 ICS] should be in the title in this form? It's a little misleading.
Hmm...It started FC. Removing my links for now. Gonna see why.
Works great
Great guide. It worked for me.
Oddly though, I replaced my framework-res.apk through root explorer, set all the correct permissions, and when I rebooted, my google accounts were deleted, along with my contacts and google music library.
Not a problem though, Ill just have to relogin to them.
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Download this:
http://www.mediafire.com/?1qjwtotg1r8umm1
6. Copy the files from the folder "anims" of the zip downloaded into the anim folder and you are asked to replace the files; choose yes. Then copy also the files from the folder "other_files" to the anim folder.
7. Now go to your apk manager folder, go to Projects\framework-res.apk\res\values\. Edit the file integers.xml and put these two lines under the line of "shortAnimTime":
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Save.
8. Patch the anim files in it, and edit the xml,
9. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
10. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
capez said:
Did you pushed the modded framework-res.apk directly into the phone?
Click to expand...
Click to collapse
i used root explorer..
hmmm.. it maybe beacause i did not set permissions right...
great it worked after i set the permissions.. thanks for ur work will post this guide in dhd forum too..
nmeuret said:
Great, it works very well. I maybe found a more simple way to do it :
1. Dowload ApkTools package I've done here :
http://www.multiupload.com/Q6YSAF2MH3
2. Unzip it to your harddrive and put your FrameWork-res.apk in it,
3. Click on "decomp.bat"
4. A new "unpack" directory has been created, with decompiled files in it,
5. Patch the anim files in it, and edit the xml,
6. When finished, just click "recomp.bat" to get a new compiled file "framework-res2.apk",
7. Juste rename the file and put it in a update zip file, you can use this one and replace the framework file in it by yours :
http://www.multiupload.com/PPMFV9Y316
Should work !!!
PS : If your framework-res.apk contains .9.png files, decompilation will fails. No problem with standard CM7 framework-res.apk, but some custom themed ROM can have the problem. Don't know how to fix that, maybe the 1st solution with APK MANAGER work better !?
Click to expand...
Click to collapse
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Update done for CM7 Nightly 176 (latest) :
http://www.multiupload.com/J88VTO2SU6
---------- Post added at 07:01 PM ---------- Previous post was at 06:59 PM ----------
capez said:
Maybe this is the problem someone is having...Someone must compare your version and mine, to see which one works and which not. (Obviously with a non-cyanogenmod rom )
Click to expand...
Click to collapse
Well, in the APK MANAGER post they say :
>Optimize pngs (ignores .9.pngs)
So it should work better !! (but as I'm lazy, I still use APKTOOL one click solution )
I got instant bootloops! How? Can u patch for me??
Sent from my Nexus One using Tapatalk
nmeuret said:
Update done for CM7 Nightly 176 (latest) :
Click to expand...
Click to collapse
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
this does not have the rotation animation..
anyway to get that..
dawgpound6985 said:
Just a heads up. I downloaded your file and you renamed your framework-res wrong. There's a space between "framework-res" and ".apk" so it won't overwrite the original.
Click to expand...
Click to collapse
OOpppsss, thanks, fixed here :
http://www.multiupload.com/J88VTO2SU6

[Q] How to replace SystemUI.apk

Hi guys.
I am trying to change a complete look of a mod, call it theming.
By doing this I edited framework-res.apk successfully by using apk manager.
Now I changed some png from res/drawable-ldpi and zipped the apk (left it unsigned) and pushed it to the dev. wiped dalvik and reboot.
No Statusbar there.
How do I get the SystemUI WITH my changes together, that it will run perfectly again?
-----------
Is there no one who can be of help?
Now I tried APKtool. same.
I do following:
1. I save METAINF folder for later
2. open commandline and enter: apktool d SystemUI.apk
3. I put the images into the folder, generated by apktool, to the right place
4. I enter apktool b SystemUI SystemUIChanged.apk
5. I open SystemUIChanged.apk in 7zip, put the saved before METAINF folder into it.
6. I start phone into recovery, mount system folder and enter on pc in commandline: adb push SystemUIChange.apk /system/app/SystemUI.apk
7. I wipe Dalvik and restart phone.
8. Statusbar still not there
please help someone
i was able to do this successfully in creeds ROM 1.7
do not change the .9 pngs using normal editors...
go here to see how : http://developer.android.com/guide/developing/tools/draw9patch.html
if u just want to change the other pngs then just use 7zip.
unzip it then make all changes and replace the files into the 7zip.
if u want to change the xml files and stuff then u need to decompile using apk manager.
then i just flash it using cwm recovery.
hope i helped
psyche.11 said:
i was able to do this successfully in creeds ROM 1.7
do not change the .9 pngs using normal editors...
go here to see how : http://developer.android.com/guide/developing/tools/draw9patch.html
if u just want to change the other pngs then just use 7zip.
unzip it then make all changes and replace the files into the 7zip.
if u want to change the xml files and stuff then u need to decompile using apk manager.
then i just flash it using cwm recovery.
hope i helped
Click to expand...
Click to collapse
that helped ... it wasn´t the png9s, just usual pngs.
I used 7zip, but it didn´t function.
but after 2nd reboot it work.
so it worked? status bar fine?

[Guide]Create Custom ROMs | Modify Apks

Hello xda.
This is a Guide to help anyone who wishes to create custom ROMs. This Guide aims to be as complete as possible, and will give all information related to creating a custom ROM... editing apks, adding or removing apps, de-odexing apps, and so on.
Al suggestions to improve upon this guide are welcome.
0. Pre-requisites
Click to expand...
Click to collapse
Credits to...
1. puppet13th... My mentor, teacher, and a great friend.
2. Wanman... ApkTool for ICS
3. langthang... For a great Guide on Creating Update Script
4. lokeshsaini94... For lots of help
Downloads
You need to Download the following...
1. Apk Tool [link(ICS)|link(GB)]... A tool for De-Compiling apks
2. 7 zip [link]... A tool for un-compressing any sort of compressed file
3. ROM signer [link]... Restores the signing of the ROM zip file, which is messed up while uncompressing
4. Any Image Resizer​
Setting up your PC
You need to do the following...
1. Create a folder (preferably in Desktop, and name it "Android")
2. Create Sub-Folders by the names "Base ROM" and "Custom ROM". Also make Sub Folders by the name...
a. ApkTool... Extract contents of ApkTool Here
b. Signer... Extract Autosigner here​
I. Let's get our Base ROM
Click to expand...
Click to collapse
You need to get the base ROM in the ./Desktop/Base ROM folder. It is also recommended that you flash the Base ROM into your phone, as it will help in testing the mods, as you make them.
The process of getting the base ROM will depend on the scenario your situation fits in, from amongst the following...
1. You want an already made Custom ROM as your Base... Download the ROM [willl come in .zip folder], and extract it in /Desktop/Android/Base ROM folder
2. You want to base your ROM on a stock firmware, which came in an ftf package... Use the following tool to extract the files from the ftf file.
3. You want to base your ROM on a stock firmware, which is instaled on your phone...
Take a back up of the ROM using ClockWork Mod, and copy the back up files (from /sdcard/clockworkmod/backup), somewhere to your computer. Then, using this tool, extract the files to /Destktop/Android/Base ROM
Copy the following folders from /system of your phone using Root Browser
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop​
4. You want to base your ROM on a stock firmware, that comes as a ready to flash .zip file on the internet... Download the ROM, and extract it in /Desktop/Android/Base ROM folder
After completion, the Base ROM will have the following Folder Structure
Desktop
Android
Base ROM
META-INF [only if you got your base from another Custom ROM][/INDENT][/INDENT][/INDENT]
system
apps
bin
etc
.
.
.
data [may be]
Click to expand...
Click to collapse
*ScreenShots*
Copy the contents of Base ROM folder to Custom ROM folder.
We now have the foundation of our ROM laid out in front of us, inviting us to show our creativity.
II. Let's work on the Base ROM... Creation of the Custom ROM
Click to expand...
Click to collapse
A. Apks Make up the Android System...
We will now work, only on the /Desktop/Android/Custom ROM Folder
1. Look into the /system/apps...
You will find apk files which will be raninging frm 100 to 200 in number. Err, half or more are known as "Crapware". You need to remove files which are useless, that's a very important step to enhance performance of your final ROM. Look into your device's forums, to get the list of Safe-To-Remove appks from the respective firmware. In case your base is an already built custom ROM, you will have to remove lesser or none of the files.
2. Here, you can add your desired files as well, keeping compaitability in mind.
3 [Optional]. On a .txt file, keep a record of all the apps your removed or added, as it will help in troubleshooting at a later stage.​
B. Implementing Already-Built-MODs in your ROM...
1. Download any Mod you want to keep in your ROM [Make sure your device, and the Base ROM is compaitable]
2. Extract the zip file and you will get a system folder.
3. Copy the files from the system folder to /Custom ROM/sytem, making sure the files go into the folders they came from.
That is, all apk files from /system/apps folder of the Mod should go to /Custom ROM/system/app folder, and so on...​
C. Changing the Interface... Let's Mess with SystemUI[nterface].apk
Go to /system/app and copy SystemUI.apk to
/Desktop/Android/ApkTool/place-apk-here-for-modding
Working with ApkTool
The link provided in this post is of an easy to use software called ApkTool.
1. Double Click on the Script.bat file to open up the software.
*Screenshot*
2. Decompress the SystemUI.apk using option '9'.
Wait for the process to complete
3. Go to /Projects, and you will find a folder called SystemUI.
Open the /SystemUI.apk/res/drawable folders and you will find lots and lots of .png files
*Screenshot*
4. Look into the files carfully.
Bingo, they correspond to the various system elements of the SystemUI of the Base ROM.
5. Open any file you want to edit, edit it, and save in the original location, replacing the original un-edited file. [On a temporary notepad file, note which all files you edit]
Note: You will notce that there are .png files for, say the Battery Icon. You will find that there are files for each state of the Battery Icon. So if you intend to edit the Battery Icon, you need to edit all the files corresonding to each of the states.
5.A. A common exaple of such editing is making the elements of a Gingerbread SystemUI.apk look like ICS SystemUI.apk. For this get hands on any ICS SystemUI.apk and extract both the files in seprate locations, and then copy the files from the ICS SystemUI folder to GB SystemUI folder. However, here you must make sure that the names of the files coming from ICS SystemUI are changed to corresponding values of the GingerBread SystemUI.apk. Here, also ensure that the new files, which replace the original files, have the same dimensions as the original files. If not use any image resizing tool.
*Screenshot*
6. If you want to edit some values in the .xml files, carry on. Edit the files as you wish, and replace the original files. Once you are done with the editing...
7. Open the Script.bat file and run command 11. [Say NO when it asks if the file is a system file]You will have a new SystemUI.apk file called unsignedSystemUI.apk in /place-apk-here-for-modding folder.
Go and fill your pockets with some cookies from the kitchen. Start having them.
8. Keep the temporary notepad file on one side and open the unsignedSystemUI.apk with 7zip, and open the original SystemUI.apk using 7zip besides it.
*Screenshot*
9. Drag and extract the files you edited to a temporary folder.
10. Drag the extracted files to the SystemUI.apk, replacing the older files, making sure all the edited files go to the proper place. [That's why I asked to keep a note of which all files were edited].
*Screenshot*
11. If you edited some .xml files, then you MIGHT need to copy the resources.acrc file at the root of the unsignedSystemUI.apk file to the root of the original SystemUI.apk file.
Once done, the original SystemUI.apk has now become a modded SystemUI.apk, with your creativity embedded into it. Time to test the SystemUI.apk.
12. Using Quick ADB, push the edited SystemUI.apk to your phone.
*Screenshot*
13. Re-boot your phone and you shoud see the changes you made in the UI. .
In case it gives force close message, you messed up somewhere. So you will have to push the original SystemUI.apk [from /Base ROM/system/apps folder], and try to mod the file from scratch again.
14. Copy the sucessfully modded SystemUI.apk from /Apktool/place-apk-here-for-modding folder to /Custom ROM/system/app folder, replacing the older file.​
D. Changing the Interface... Editing other .apks
1. As earlier, copy the apk you want to edit from /Custom ROM/System/app to /Apktool/**** folder, and perform the modification to optain a new modded .apk file.
2. Test this file if you wish, by pushing it using Qucik ADB.
3. If the modded file wrks, copy this new file to /Custom ROM/System/app and replace the original file​
E. Changing the Interface... Editing the font
1. Take your desired font.ttf file and rename it as DroidSans.ttf..
2. Go to the folder system/fonts/
3. Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
4. To change the lock screen clock font...replace the Clocktopia.ttf with your desired one (rename first)...​
If you did a good job in the above steps, the /Custom ROM folder should be having the contents of a wonderful ROM in making.
Here, I will like to mention that, if you want to upload your custom ROM on the internet and share it, you must ensure that you did lots of hard work in the above steps. There's no point making a custom ROM without modifying lots of files and adding lots of tweaks.
Just make sure that you do so much of modding that, say, your Gingerbread ROM looks like Jellybean, or say, your ROM made for Galaxy Y works as smooth as an SIII.
III. Compiling the Custom ROM
Click to expand...
Click to collapse
A. If you got your base ROM as in [1 or 4] in step I above
1. Copy the META-INF folder from /Base ROM to /Desktop/Android/Custom ROM
2. Rename the Custom ROM folder to whatever-you-want-your-ROM-to-be-called.
3. Add the Folder to a zip file using 7zip.
4. Take this zip file to /Desktop/Android/Signer folder and run sign.bat.​
X. The new zip file called Update.zip is your ROM.
Copy this file to the SD Card of your phone, format /system, /data, /cache using CWM and flash your .zip file. And enjoy your custom ROM.
B. If you got your base ROM as in [2 or 3] in step I above... Creating your own Update script
Read the following Tutorial. [link]
Once you are done, try the ROM on your phone. Share it if you feel it's great. And hit Thanks Button.
Reserved
Reserved2
nice guide!
thanks for the tutorial.
Nice guide, continue finish it.:good:
Awesome
Adds some more tutorial please:thumbup:
Thanks for your work
Inviato dal mio GT-N7000 con Tapatalk 2
Please also add link to original thread....
Btw .. Nice guide....
In 1. Looking into system apps... you should delete .apk as well as .odex files when you want to remove an app... Like browser.apk and browser.odex... Many peoples won't delete them....
Sent from my GT-S7500 using xda premium
Thanks for this nice guide. :highfive:
Please add the placeholder *Screenshot* s :good:
beautiful
Thanks a lot for this beautiful guide. Loved it
i tried it ............
i followed the guide n tried editin my custom rom technoduos on sgy duos GT-s6102
all i did was extract the rom using CWM and then added removed some apps at /system/apps
no other tweaks just addin n removin apps dats all then compressed it n signed it
then wen i flashed it on my set it worked (yayyyyyyy)
but there were some problems the apps which i del were gone but the ones i added were not there ..........
also wen i flashed the rom again the apps which were del were back how is it possible i made sure i had del em
plz help
thank you very much for your tutorials are very helpful to me
nice guide! thx
Nice Guide...
Thanks for the hard work to track down all this information and publish for us.
Thanks
Thanks... im gonna give this a whirl
Sent from my SGH-T999 using Tapatalk 2
R: [Guide]Create Custom ROMs | Modify Apks
Very useful giude thanks ; )
Inviato dal mio GT-N7100 con Tapatalk 2
:Good:
Sent from my potato oO
thanks

[Tutorial][Guide] How to make a CWM flashable zip

Tutorial on [how to] make a flashable zip 
Credits:
Special Thanks to google.com for teaching me  and rishik999 for sample.zip
---------------------------------------------------------------------------
REQUIREMENTS
- Any file that you want to replace or add to your phone;
- An existing (base) cwm flashable zip file. - I've attached one below;
- 7-zip, Winrar or any program which can open and modify zip files .
STEPS:
DIRECTORY STRUCTURE:
(1) Download and place the base.zip (attached below) anywhere on your desktop;
(2) Right-click on it and open the archive with 7zip, winrar ... [DO NOT extract]
Now you should see two folders: one called "system" and one called "META-INF".
1. Let's start with the "system" one, so open it:
In there, will go all files that what you want to add or replace to the system. So let's say for example that you want to replace the bootanimation.
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those two new empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the two files in their respective place: the bootanimation.zip file should go in '/system/media' folder
.. If you have more files to add, just follow the logic above; I'm sure you get the idea by now.. :silly:
Hints
/system/app - all the system apps (SystemUI.apk etc)
/system/framework/ -framework-res.apk,android.policy.jar
/system/media - bootanimation.zip
/system/lib - libraries (*.so)
2. The other folder included in the opened archive is named "META-INF" and all the file in it should be left unchanged.
Now,just place the zip into your sd card! & try your luck  Of course it will work 
That's it !
Hihihihi...damn easy na ???
Common friend ..dont be a noob ..be a newbiee !!
HIT THANXXX !!
NOTE: Always backup your existing system file that you are going to replace by the patch(zip).
Here is the sample.zip which u can use to make any sort of flashable zip file
Deleted : Solved
kk9999gada said:
Where are Credits?
Click to expand...
Click to collapse
2nd line
Deleted : Solved
Edit : Done
thanks
i will try... :laugh:
Thanks, I will try it
Thanks will tryyy...
Sent from my Sony Ericsson Xperia Mini Pro(SK17i) using Tapatalk 2
How to make a flashable zip of a recovery.img?
Sent from my GT-S7500 using Tapatalk 2
video recorder problem
hello, I use the camera fix for CM10.1.
It works awesome but the video recorder cannot work after fixing.
Before fixing, I use both stock camera and camera jb+.
Video recorder can wok on camera jb+ then.
But it cannot work after flashing fixing camera jar via cwm!
How should I do ?
Warning:No file context!
Does this sentence "Warning:No file context" might affect the phone recovery????
Thumbs Up Bro !!
You made my day !!
learned something new...
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
coolsid. said:
Really nice thread.
I wanna ask that i want to edit my build. Prop file. So in case if anything goes wrong can i flash the original one via this method or it will work only for apps.
Because i once had modified it but stucked at bootloop. So i don't want it to happen again.
Click to expand...
Click to collapse
It'working for every single file that's in the android os...i allways backup in a flashing zip the original files that i am tryng to change/mod
Sent from my GT-S7500
HEY BUDDY YOU SAID THAT..
Make a "New Floder"
-Rename its as "media" (make sure its aint in CAPS nor with in quotation marks)
-drag those 'two new' empty folders into the /system/ folder of the 7-zip opened archive
-now simply drop the "two files" in their respective place: the bootanimation.zip file should go in '/system/media' folder
this includes what are the two folders and the two files. Sorry but i could figure out only one. I Want To Make a zip file using your method but don't want to take any risk.

How to make ur own system ui

[THEMING -Basic] - How to EDIT
SystemUI.apk/Apps Background
Hi there! Just wanna share..
Just a basic background on how to theme your
ROMS. - ofcourse, give thanks to the
developer of your ROMs! .
I made this thread for those users who have
personal wishes for their Phones. Ofcourse, ROM
developers cannot please all of its users. so
just make your own and be happy!.
I just made it easy for easy understanding and
for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of
different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived
apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before
extracting it for back up)
1. Download the ROM.zip and extract it to your
PC.
2. Go to \system\app\SystemUI.apk\res
\drawable-ldpi\
3. View the PNG files you wanted to change and
make sure to remember its' file name.
4. After editing/changing the file/image you
wanted, you can save it anywhere from your PC,
let's say on your Desktop.
- Make sure that the file name still remains as
is..
*After you're done editing, updating the
PNG files you wish to change, follow this
steps to update the zip file :
NOTE : You can apply transparency by editing
the PNG file to photoshop by reducing the
opacity of the image
1. Go to the original ZIP file of ROM.Zip from
your PC
2. Right Click the folder and select 7 ZIP -->>
open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res
\drawable-ldpi\ and it will open a new window of
7zip showing the files inside the zip.
5. Now, given your edited PNG files or
downloaded png files (assuming that files are
located in your desktop). - Click and simply
DRAG the file(s) from your desktop to \system
\app\SystemUI.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will
replace the existing PNG file that you're trying to
change.
7. Make sure that the file name of the one you
edited/downloaded are THE SAME. -
8. After dragging and replacing the files you
wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the
UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not
the backed up one)
Install the zip file from the original thread's
instructions and reboot twice.
After that, you have now a customized
systemUI.apk.
For those who do not want to reinstall
the whole package.. follow these steps:
1. I assumed that you have the zip file of your
ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your
desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->>
extract here - just to view the files you wanted to
change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP --
>> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply DRAG the PNG file(s) from
your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will
replace the existing PNG file that you're trying to
change.
8. Make sure that the file name of the one you
edited/downloaded are THE SAME. -
9. After dragging and replacing the files you
wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that
you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go
and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk
that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap
MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes
for the exixsting systemui is currently being used
by your phone. - just ignore it a lot and scroll
down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select
permissions:
from the pop up, make the checked one like
this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - Bigger dots
After encountering a lot of force closes, then
reboot the phone and that's it!
(Force Closes are normal, DON't PANIC -
logically, you are currently using your
systemUI.apk so just ignore it
NOTE : You can also apply the same steps in
editing system files apps, just edit the .png files
and locate it using 7zip(when you already opened
it). Have a little LOGIC on how to edit system
app background - same process. just different
apk files and directory
HIT THANKS IF I HELPED YOU - IT
COSTS NOTHING ;]
Thanks to emompong
Sent from my GT-I8262 using XDA Premium 4 mobile app
Or u can use xposed framework
With the apps
1,gravity box
2,ex themer
3,etc
It contains different icons for signal bar,battery,etc
Sent from my GT-I8262 using XDA Premium 4 mobile app
sethukrishnan said:
[THEMING -Basic] - How to EDIT
SystemUI.apk/Apps Background
Hi there! Just wanna share..
Just a basic background on how to theme your
ROMS. - ofcourse, give thanks to the
developer of your ROMs! .
I made this thread for those users who have
personal wishes for their Phones. Ofcourse, ROM
developers cannot please all of its users. so
just make your own and be happy!.
I just made it easy for easy understanding and
for the newbies.
Tried so many times and tested
I've already tried editing the systemUI.apk of
different ROMs.
Here's what I did :
FIRST : Download 7zip to open the archived
apk. - that's free.
Extracting first the Zip File..
(make sure you copy the original before
extracting it for back up)
1. Download the ROM.zip and extract it to your
PC.
2. Go to \system\app\SystemUI.apk\res
\drawable-ldpi\
3. View the PNG files you wanted to change and
make sure to remember its' file name.
4. After editing/changing the file/image you
wanted, you can save it anywhere from your PC,
let's say on your Desktop.
- Make sure that the file name still remains as
is..
*After you're done editing, updating the
PNG files you wish to change, follow this
steps to update the zip file :
NOTE : You can apply transparency by editing
the PNG file to photoshop by reducing the
opacity of the image
1. Go to the original ZIP file of ROM.Zip from
your PC
2. Right Click the folder and select 7 ZIP -->>
open archive
3. Close all of windows/Browers (or minimize)
4. Go to \system\app\SystemUI.apk\res
\drawable-ldpi\ and it will open a new window of
7zip showing the files inside the zip.
5. Now, given your edited PNG files or
downloaded png files (assuming that files are
located in your desktop). - Click and simply
DRAG the file(s) from your desktop to \system
\app\SystemUI.apk\res\drawable-ldpi\ .
6. It will ask you to confirm the action for it will
replace the existing PNG file that you're trying to
change.
7. Make sure that the file name of the one you
edited/downloaded are THE SAME. -
8. After dragging and replacing the files you
wanted, then you're good to go!
9. Close the 7zip window and that's it!.
You can now install the .zip by copying the
UPDATED zip file to your SD Card.
(Note: Make sure to copy the updated one, not
the backed up one)
Install the zip file from the original thread's
instructions and reboot twice.
After that, you have now a customized
systemUI.apk.
For those who do not want to reinstall
the whole package.. follow these steps:
1. I assumed that you have the zip file of your
ROM.
2. Extract it and go to \system\app\
3. Separate the SystemUi.apk - put it on your
desktop. create a back up,
Right Click SystemUi.apk and select 7 ZIP -->>
extract here - just to view the files you wanted to
change.
Just go the folder and search for the PNG files.
4. Right Click SystemUi.apk and select 7 ZIP --
>> open archive.
5. Go to \res\drawable-ldpi\
6. Click and simply DRAG the PNG file(s) from
your desktop to \res\drawable-ldpi\
7. It will ask you to confirm the action for it will
replace the existing PNG file that you're trying to
change.
8. Make sure that the file name of the one you
edited/downloaded are THE SAME. -
9. After dragging and replacing the files you
wanted, then you're good to go!
APPLYING :
1. Download and install rootexplorer.apk
2. Download the png files you wanted to update.
3. Copy and paste the NEW SystemUi.apk that
you have updated/Edited to your SD card.
4. Open root explorer in your galaxy y then go
and tap MOUNT R/W.
5. Go to \SDCard and go to new SystemUI.apk
that you have updated.
6. Long press the file and select copy
7. Press back and go to \system\app - tap
MOUNT R/W at the top.
8. Paste the new SystemUI.apk from there.
(Note : You will encounter a lot of force closes
for the exixsting systemui is currently being used
by your phone. - just ignore it a lot and scroll
down to look for the new SystemUI.apk.
9. Once you get there, long press on it and select
permissions:
from the pop up, make the checked one like
this :
•___•____ •
•___ .____.
•___ .____.
where Dots are the checked one - Bigger dots
After encountering a lot of force closes, then
reboot the phone and that's it!
(Force Closes are normal, DON't PANIC -
logically, you are currently using your
systemUI.apk so just ignore it
NOTE : You can also apply the same steps in
editing system files apps, just edit the .png files
and locate it using 7zip(when you already opened
it). Have a little LOGIC on how to edit system
app background - same process. just different
apk files and directory
HIT THANKS IF I HELPED YOU - IT
COSTS NOTHING ;]
Thanks to emompong
Sent from my GT-I8262 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Thanks Alot... bro!!
It's a really very helpful and easy method.
i change my SystemUI according to my taste.
bcoz of you.
a thumbs up for you.
v_singh said:
Thanks Alot... bro!!
It's a really very helpful and easy method.
i change my SystemUI according to my taste.
bcoz of you.
a thumbs up for you.
Click to expand...
Click to collapse
Don't quote the whole OP please.
Gesendet von meinem GT- I8260L mit XDA App
I just shared some useful info...
Anyway don't forget to hit thanks:thumbup:
Sent from my GT-I8262 using XDA Premium 4 mobile app
Thanks!!!!
Sent from my C6602 using XDA Free mobile app

Categories

Resources