[Guide] Custom Wallpapers in Your Launcher (ICS) - HTC Inspire 4G

I am currently trying to add additional wallpapers to the stock launcher.apk in ICS because of the glitch that some of you may know about when you choose a picture for a background it makes you crop it and then it doesn't scroll... So this is what i have done.
The Easy Way
WARNING: You will have to redo your icons on your launcher after this.
Step 1.. I used ADB to pull the Launcher2.apk from my Inspire 4g.
Step 2. Opened Launcher2.apk with 7zip and navigated to Launcher2.apk\res\drawable-nodpi\ inside you will find all the default wallpapers for ICS.
Step 3. Take all the wallpapers that you want (Limited to the amount of wallpapers originally in the apk) and rename them to be the same names as the original files in the Launcher and replace them in the zip.
The Dimensions for the new wallpapers are as follows:
960x800 at 72dpi for the Full image
213x189 at 150.012dpi for the thumb (dont ask my why the dpi is like that)
Step 4. Mount your phone as USB
Step 5. Upload the new Launcher2.apk to your SD card
Step 6. Use ES File Explorer to Replace your Launcher2.apk and restart your phone
Step 7. Hit Menu go to Manage apps and find Launcher and choose Force Stop and Clear Data
At this point you will need to redo your icons on and will now be able to choose your wallpapers. Restart phone again if needed.
The Extensive Way (Currently cannot get to work with Launcher - Working on making an App Guide)
WARNING: You will have to redo your icons on your launcher after this.
Step 1. Download Apktool and put them in your SDK Platform-tools folder (Be sure to get both the Jar and the Script don't overwrite the aapt file!)
Step 2. Attach your phone to your computer and ADB pull the Launcher2.apk
Code:
adb pull /system/app/Launcher2.apk /"SAVE FILE HERE"
Step 3. Use the Apktool to extract contents of apk. Open a command prompt and type.
Code:
apktool d Launcher2.apk
Step 4. Edit Launcher2\res\values\arrays.xml and add the additional file names of your new backgrounds.
Step 5. Edit the Launcher2\res\values\public.xml and add the additional file file names to the code with extra Hex item numbers in the drawable section. (here is a hex number chart for those who dont know hex hex)
Step 6. Put your new backgrounds in Launcher2\res\drawable-nodpi
Step 7. Use the Apktool to build the apk.
Code:
apktool b Launcher2
Step 8. Mount your phone as USB
Step 9. Upload the new Launcher2.apk to your SD card
Step 10. Use ES File Explorer to Replace your Launcher2.apk and restart your phone
Step 11. Hit Menu go to Manage apps and find Launcher and choose Force Stop and Clear Data
At this point you will need to redo your icons on and will now be able to choose your wallpapers. Restart phone again if needed.

In order to view and or edit XML files you first must decompile the apk with something like apktool (that's what I use).
After you finish editing you then must recompile it before you can use it on your phone.
"I love my Springfield XD40"

cwhitney24 said:
In order to view and or edit XML files you first must decompile the apk with something like apktool (that's what I use).
After you finish editing you then must recompile it before you can use it on your phone.
"I love my Springfield XD40"
Click to expand...
Click to collapse
Thanks, giving it a try now! Will amend to my guide when I complete my new Launcher2.apk

Related

[Guide] Hacks and mods: Three tutorials for modifying your x10 OS aesthetically

Updated: July 24/2010 Go to the X10 Theme repo for a listing of uploaded themes.
Thanks to everyone that is helping out and contributing. I also apologize if I rip anything off. If I do please post it and I will definitely correct it.
The usual disclaimer goes with this... Use at your own risk and backup your system before making any changes. You know what to do if you run into problems
I think this is important...
Links for various stuff:
framework-res.apk
/system/app/ folder
startup show (boot animation)
Mms.apk
Phonebook.apk
apps2sd-work in progress?
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Many visual aspects of the os and system apps can be changed and surprisingly easily. By default when opening an apk you should look around the res-drawable folders for the pngs to edit. If you have noticed, there are some png's that look like xxx.9.png. To modify these files easily, remove the 9 from the filename and open with your preferred editor. When you are done editing the files save them, open the command prompt and type draw9patch. This should open a window with an arrow in it. Drag your file there and I'm pretty sure it goes into the same folder. That's it.
If you are using a mac use betterzip and take a look here.
You can also use root explorer (I havent tried this myself)
Step 1:
Connect phone to pc, enable usb debugging and open adb. Type:
adb pull /system/framework/framework-res.apk framework-res.apk
That will pull your framework-res.apk to whatever folder is displaying in your command line.
Step 2:
Find the framework-res.apk on your hard drive, right click and open with 7zip.
Step 3:
Use png's here or create your own and dump into the appropriate folder within framework-res.apk.
Step 4:
When you are done editing the files open up adb and type the following command:
adb shell mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
adb push framework-res.apk /sdcard/framework-res.apk
adb shell dd if=/sdcard/framework-res.apk of=/system/framework/framework-res.apk
That will put the new framework-res.apk on your phone. It should automatically reboot (if not reboot it) and your changes should be applied!
When running the script above you can replace framework-res.apk with whatever you want. For example, Timescape.apk
Remember, it is CASE sensitive I made this problem many times)
If you would like to pull an entire folder put a slash at the end of the last word. For example, adb pull /system/etc /etc"/" (no " in actual script )
Courtesy of corruptfate is the steps to modify the startupshow (post #207)
step 1: open adb shell
step 2: type "adb shell"
step 3: type "su"
step 4: type "mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system"
step 5: type "mkdir system/etc/semc/startupshow"
step 6: exit and redo step 1 - 4
step 7: type "mkdir system/etc/semc/startupshow/default"
step 8: exit and open command prompt again, this time type "ddms"
step 9: look for the default folder in system > etc > semc > startupshow > default
step 10: push the images into that folder
Possible reasons your phone won't boot after modifications:
images anren't stored properly, right format, right size etc.
unpacked apk improperly, use 7zip, it doesn't mess anything up
you signed the package before pushing it- unless you know what you're doing follow the directions to a tee and you should be fine
pushed the package to the wrong directory, /system/framework-res.apk XX, /system/framework/framework-res.apk
I'm sure many other reasons, these were the only ones I encountered
How to get past boot screen:
Use backup framework-res.apk and push that one to your phone. Remember to place that one where the modified one is.
To see if adb sees your phone type adb devices, if a serial number pops up try pushing your original, if not...
Flash your phone again from scratch . Sorry, I don't know any better way yet.
Please post your themes and download themes from the X10 theme repo
The basics:
http://forum.xda-developers.com/showthread.php?t=502010
http://developer.android.com/index.html
http://developer.android.com/guide/developing/device.html
Some Links:
Notification background color
Status bar clock color
Notification font color
Notification bar shortcuts
Edit 9.png's
Install mobile defense as system app through terminal (I haven't tried this yet)
Resigning apps
http://forum.xda-developers.com/showthread.php?t=549109
http://androidforums.com/developer-101/8665-how-signing-roms.html This is the one I have been using. I just noticed its for roms
http://code.google.com/p/android-apktool/ Figured it out but no need for it as of yet
How to modify notification background colors
Some of the files; not sure which is the top band displaying carrier(semc_avctivity_title.9.png??):
statusbar_background.png
status_bar_background.png
status_bar_close_on.9.png
status_bar_header_background.9.png
status_bar_item_background_normal.9.png
They should be in res/drawable-240dpi. Once you find them open them and modify as you wish. Once completed save your changes.
Getting FLAC working, I was wrong, mixed up file folders. Apparently meridian pioneer works. Havent gotten a chance to test for sure yet. I am now trying to manually add flac support to mediascape
Second tutorial: Busting open apks so you can edit xml's!!
So has anyone tried opening up an xml file on their phone to edit only to find incoherent coding. Well I have. So I have stumbled upon a tool called apktool. The tool somehow breaks down the apk into readable xml files. I haven't gotten so far as to test out an edited xml because I wanted to post this so I don't forget how to do it.
1. follow instructions on installing apktool. Unzip the files into your android-sdk-windows/tools folder
2. Put a copy of your framework-res.apk into the same tools folder
3. from command type: java -jar apktool.jar if framework-res.apk
4. Put whatever apk you want to edit into tools folder and type this: java -jar apktool.jar d xxx.apk
5. Look in your tools folder and voila there will be a folder named with whatever apk you worked with.
Third tutorial: Use smali/baksmali to edit services.jar and services.odex
1. follow instructions on downloading and installing smali/baksmali
2. pull these files from your phone and place them into the same folder as smali (should be android-sdk-windows\tools):
code.odex
ext.odex
framework.odex
android.policy.odex
There may be other ones needed that Im missing so if you find this out please let me know
3. place the odex you want to modify into the same folder (android-sdk-windows\tools)
4. from the command line type java -jar baksmali-1.2.3.jar -x services.odex
your pc will work a little bit and when its finished will just show your directory again.
5. minimize that screen and go into the folder you put everything in there should be an out folder. Open it up and all the files to edit will be there!
I haven't recompiled yet but when I do Ill finish this tutorial.
COMMON PROBLEMS:
These are some problems I ran into because I am a noob. I figure it may help a couple people out
1.unable to access apktool.jar/baksmali-1.2.3.jar
Im pretty sure you are in the wrong directory
from the command line type: cd C:\whatever\directory\leadsto\android-sdk-windows\tools\the.jarfileyouaretryingtoaccess
2....
Modification requests:
Custom boot screens-- find your startupshow folder=== SOLVED
custom response to invalid password
Ad hoc support
Disable slide lock
App drawer categorization=== THERE'S AN APP
map hardkeys
cool, gonna try and change the battery indicators
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
xxsashixx said:
I was able to replace framework-res while the phone was running, but now the phone wont boot.. good thing I made a backup of the original one
Click to expand...
Click to collapse
Thats where I'm stuck too. Did you resign the package after modifying it? Im going to try that in a bit.
Does anyone know of a good n00b guide to emulating our phone in eclipse?
@microkiwi can you post how it went?
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
mikrokiwi said:
I did make some new icons in PS, but unfortunately I wasn't able to boot the phone after pushing my new files to it
I also tried to sign it with the autosign (testsign.java) application but no luck...
Click to expand...
Click to collapse
Cool thanks, hey have you seen an app called metamorph? I just noticed it right now but it seems like stericson automated and simplified the process. Heres a link
http://forum.xda-developers.com/showthread.php?t=591329
Have you tried that app yet?
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Any other metamorph themes that we can install?
I think for 1.6 only
gavriel18 said:
http://code.google.com/p/android-apktool/ Looks cool I just wish I knew how to use it
Click to expand...
Click to collapse
Apktool is just for everything else but signing ;-)
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
mikrokiwi said:
Yes, I have made a metamorph theme now and everything seems fine, the theme shows up and I can apply it and everything.
But after reboot the phone is still using the old icons
Click to expand...
Click to collapse
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
pietropizzi said:
Could you please upload the theme, I'd like to learn how theming works. In the AndroidThemes thread I found only themes for custom roms. THX !
Click to expand...
Click to collapse
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
troyjamz said:
Could you please post the .png files from the framework pull? I would like to change the colors and then try to replace them with files in a theme that I found that might work with our phone. The only issue is the resolution of the theme that I had in mind. If this works then we can all make custom themes for our X10 using that theme as a template. Not sure if it will work, but I would like to try.
Click to expand...
Click to collapse
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Thx man!
mikrokiwi said:
Unfortunately it does not work at the moment, but when I get it to work I will upload it for everyone to use
http://www.mediafire.com/file/kkmhmnyhgyw/framework-res.apk open it with 7zip
Click to expand...
Click to collapse
Tack så mycket!
@microkiwi Thanks for the upload, do you mind if I post that link in the first post?
@brut.all Does it work the same way as autosign? I followed the instructions properly on installing it but when I try to open it a command line pops up for a second (too fast for me to read) and then closes. Am I missing something?
Also do you know if framework-res.apk needs special signing? I'm just trying to figure out why the phone gets stuck at boot after pushing the modified apk.
@pietropizzi I have made one as well it doesn't work but I'll upload it right away. Check out the metamorph thread for some tutorials on theming. It is surprisingly easy.
On another note has anyone gotten to move their apps to the sdcard? I've tried but with no luck..
heres a post I made about it:
http://forum.xda-developers.com/showthread.php?p=7037044#post7037044
Cool ,I'm going to try it tonight. Mind if I add it to the list at the top?
BTW did anyone know mediascape supports wav audio Swwweeeeeetttt

<<<GUIDE>>>theming 9.png's

Okay, is a pretty simple process to be honest, but time consuming, if you find a short-cut as you learn, please share. So, do you have:
adb installed,
winrar or similar application,
apktool installed,
and a photo editing program installed?
if your answer to all of these is yes, than follow these steps.
1.get your framework.apk
2.your com.resources.apk
put them in your apktool/framework folder, should be in your USER name folder, look for it,
Once there paste the .apk's in that folder, rename your framework.apk to 1,
and rename your com.resources.apk to 2
next create a folder in your desktop and name it MODS (this is what i use so this is what we will call it ) place all the .apk's which you are going to theme in there.
for this tutorial we are going to call it the rosie.apk
first thing is de-compiling the .apk, this will reveal the 9.png's to you
ok, open up command prompt and type:
cd desktop\MODS
press enter, next type:
apktool d rosie .apk
after this you should have a new folder in your MODS folder called rosie,
once in that folder go to the location of the 9.png's you are trying to theme,
open them in your photo editing program and you should now see some black lines along the edges of the 9.png images don't touch them (you can but i don't really have the knowledge to do it myself, so don't touch them )
if your photo editor has a selection tool go ahead and select everything but the first pixel where the black lines are located,
now erase whats inside your selection and theme away as long as you don't touch that first pixel, so to be safe use the selection tool!
after you are done theming it, save the image to replace the old one,
okay, remember that time consuming part..... well you must do this to each individual image as far as i know anyhow , so ONCE again if you find/know shortcuts please share and pass the knowledge along......
after you are done with the .apk, type this in command prompt:
apktool b rosie rosie-new.apk
this will compile your newly themed apk, along with your new 9.png's
REMEMBER, I'M USING rosie.apk AS AN EXAMPLE, SO INSTEAD OF rosie IT SHOUD BE THE NAME OF THE .apk YOU ARE BUILDING AT THAT TIME
that's it!
add the .apk to your theme, just remember to remove the -new part from the name, flash and enjoy
This Tutorial was made possible mainly 2 individuals:
tommytomatoe
mpitcher225
this guys where and are TREMENDOUS help to me!
Hope this helps!

Holo Hacker Challenge - Converting Ugly to Modern

Introducing the Holo Hacker Challenge!
What is this challenge you may say?
Well it is the chance to give something back to your favorite apps!
Here is how it works... The idea is that while some new apps maybe starting to adapt the Holo UI a lot haven't and some have but still use Gingerbread as the Target version.
Your goal is to find a developer that is willing to give you their code for a week or more to upgrade it to the latest stuff.
For an app to qualify, it has to keep some custom item in the new Holo theme carried over from the old interface. An example would be if they had a Red color scheme, use some red throughout the new Holo interface... Don't just make it stock Holo. Also all Gingerbread icons must be upgraded to ICS/JB Icons.
Also there is another way you can do this... If you want to surprise a dev with a new UI, extract the source from the apk, build the new UI, then confirm with them if they want it and if they do they can merge it with their code.
This is meant to be a fun project that anybody can do (but it might be complicated if you don't know how to code, like myself.)
And their is currently no prizes but the prize is basically being apart of the app if the developer makes your version the new one!
Getting Source from an APK
Automatic Way (Step 1-3 only first time!):
Step 1. Download VTS (www.virtuous-ten-studio.com)
Step 2. Open it and click the blue File button, then Open Settings
Step 3. Follow this instruction from the VTS website for adding a framework-res.apk file (Get from a 4.2.2 rom)
To install your framework, navigate to External tools -> Apktool -> Frameworks
Look at the "Add framework" button, notice the text box with the word "tag" in it.
In this text box you can type in a framework tag in case you have multiple frameworks for multiple devices or different Roms.
For example, I have an HTC Evo 4G LTE and I am running Tranquility Rom. I would type in Evo-Tranquility as a tag. That way I know that is the framework for that device on that Rom.
Next you will click on the "Add framework" button and a popup window will appear.
If the framework files are located in your hard drive, click on the round button next "Local file" and navigate to your framework files (ex. framework-res.apk & com.htc.resources.apk)
If the framework files are located on your device, make sure your device is connected and click on the round button next to "Remote file," then click on the arrow next to framework in order to view all your framework apks. Now click on the framework apk you wish to install.
Make sure you use the same "tag" on both framework files for the same Rom/Device.
Press the "OK" button on the bottom right hand side of the settings menu.
Click to expand...
Click to collapse
Step 4. Click the Blue button again and click New Solution, then import.
Step 5. Select your apk file
Step 6. Finish in the boxes and it will get your source for you!
The manual way (copied from http://www.souldevteam.net/blog/2012/01/27/how-to-retrieve-source-code-from-an-android-apk-file/)
Step 1. Rename the .apk file you wish to retrieve and change the extension to .zip. Then extract the file that it creates.
Step 2. Copy the contents of the dex2jar folder to the extracted folder to make it easier for yourself, and run:
dex2jar classes.dex
Click to expand...
Click to collapse
and copy the resulting “classes.dex.dex2jar.jar” into a new folder.
Step 3. Open up the Java Decompiler and drag “classes.dex.dex2jar.jar” into the window and then go to File > Save and save the source in a .zip file.
Step 4. Extract the saved .zip and copy the contents to a new folder somewhere. This will be where we keep your source code.
Step 5. Now, copy “framework-res.apk” and “yourapk.apk” to the APKTool folder. Then open a command prompt or Terminal window and type:
apktool if framework-res.apk
apktool d <yourapk.apk>
Click to expand...
Click to collapse
Step 6. Now just copy the contents of the resulting folder to the same place you copied the contents of “classes.dex.dex2jar.jar” earlier and voila, you have your source code.
Reserved 2
Reserved 3

How to guide decompiling/compiling systemUI.apk

If you are not having problems compiling SystemUI.apk with no problems then this is not for you
WARNING:
You should not attempt to do this on a device that does not have a recovery, because if something goes wrong you may have to reinstall your rom (not very likely though). You should probably back up SystemUI.apk You should also have some experience modding and some experience using Apktool and Linux.
INTRO:
If your having problems modding SystemUI.apk on JB then this thread is just for you. I recently found out how to mod the Jelly Bean SystemUI. Jelly Bean has made it very difficult to mod. Yes it is still easy to replace images, but if you want to do some major changes to the UI such as a 100 percent battery mod or changing the status bar color then you will need to know exactly how to do it. For example, if you get the UI decompiled without errors and you recompile it without errors YOUR RECOMPILED SystemUI.apk WILL NOT WORK and your status bar will disappear etc... There is a special way to get everything working and I will show you how.
STEP 1:
LINUX>>
Before we start I recommend that you have File Roller: one of the most popular archive managers for Linux (Ubuntu comes with it). If your distribution uses a Debian package manager (most popular ones do) then all you have to do is go into the terminal and type:
Code:
sudo apt-get install file-roller
Now you will have File Roller. You also will need java installed. Check if you have java by typing:
Code:
java
in the terminal. If you dont have java and your using a Debian package manager then type:
Code:
sudo apt-get install openjdk-6-jre
or download from the java website and install it.
WINDOWS>>
Before we start, you will need 7zip and java. Just search and you will find the programs to install
STEP 2:
Now we will install APKTOOL. You may already have it installed BUT your version will probably not work. I have ran around the internet for a modified apktool that wont give you errors (If you follow my directions). I came across a great thread. check it out and download all the tools their (dont forget aapt) http://forum.xda-developers.com/show....php?t=1755243. If you are in Linux rename the jar file to apktool.jar and move the the jar plus aapt to /usr/local/bin. You will need root. If you are in Windows rename the jar to apktool.jar and move it and aapt to your WINDOWS directory. You also need zipalign http://powerpoint45.webs.com/android/zipalign(I think this one is only for linux so if ur on windows either test this one or get zipalign from android sdk)move it to your WINDOWS dir/bin dir. You need one more thing. It is from the apktool websitehttp://code.google.com/p/android-apktool/. According to your os download either apktool-install-linux-r04-brut1.tar.bz2 or apktool-install-windows-r04-brut1.tar.bz2. Extract the contents. You only need one file from the archive. In linux move apktool (not apktool.jar) to /usr/local/bin. In Windows move apktool.bat to your WINDOWS directory. Dont jump ahead and say "Now that I got apktool set up, I know what to do", because it gets a lot more difficult than you are used to using apktool.
STEP 3:
Now that you have apktool set up, you need to know how to mod SystemUI.apk. Get SystemUI.apk from /system/app within your device onto the computer. Now make a backup of SystemUI.apk on your computer because we will NEED it later. So you need two SystemUI.apk files on your computer. You could name one “backup” if you'd like. So now now we need to decompile the apk. Go into the terminal/cmd and cd/chdir into the directory you have SystemUI.apk. Now type
Code:
apktool if SystemUI.apk
It will then install frameworkneeded.Then type:
Code:
apktool d SystemUI.apk
It will decompile the apk. It will take a bit of time for it to fully decompile. The decompiled code will be in a folder in your current directory called SystemUI. If It had errors decompiling, (IT WILL FOR MOST NEXTUS 7 ROMS) you will need to install framework manually. Download framework here:http://db.tt/Rpc6zskQ and place the two APK files into apktool framework folder (replace the old framework files). In Linux it is located at /home/yourusername/apktool/framework and in windows it is something like C:\\Documents And Settings\yourusername\apktool\framework. After that delete the SystemUI folder that was made by the bad decompiling proccess and repeat the decompile command.
STEP 4:
This is the part where you start modding. You can make many customizations to the UI this way as you probably know. I will just show you how to make a 100 percent battery mod. You need to go into the decompile folder (SystemUI) using a file manager, Then from SystemUI, go delete res/drawable/stat_sys_battery.xml and replace it with http://powerpoint45.webs.com/android...ys_battery.xml (to download that file right click on link and click something like "save link as"). Now you need to move to a new directory: /res. In that folder you need to look through all the directories that start with the word drawable. For example drawable-mdpi. There is one directory that your device uses for images but you may not know which one. Your device might be MDPI but use drawable-sw600dp from the UI instead of drawable-mdpi. So if you dont know or you want to be safe then search through the drawable folders and if their are any battery icons then remember you will need to add 100 battery icons to each one of the folders with battery icons. The battery icons are the ones named something like stat_sys_battery_0.png. So if you need to add 100 icons they need to be named in numerical order from stat_sys_battery_0.png to stat_sys_battery_100.png. Dont worry though, you wont need to rename 100 icons. Their ar many battery mods online that you can get them from, but I have some images you can download: http://powerpoint45.webs.com/android...RY_BLUE.tar.gz. Download it, extract it and copy all the images into all the drawable folders that contain battery icons. Now your ready for compiling; The step that is different than how we have always done it before Jelly Bean existed. keep in mind that some images can not be changed or edited at all durring this step because it will result with many errors durring compiling. You would have to add images to the archive after its compiled
STEP 5:
Like I said at the end of step 4, this step will be different than you have seen before. This is also the step where you will be using File Roller/7zip. To build the apk make sure you are in the terminal in the directory where SystemUI exists and type:
Code:
apktool b SystemUI almostdone.apk
almostdone.apk is the output file. Once it is done building you need to open the backup apk you made at the beginning with File Roller /7zip. Also open almostdone.apk with File Roller/7zip. From inside the backup.apk drag meta-inf folder & androidmanifest.xml to allmostdone.apk. Now all you need to do is zipalign the apk. Lets say your backup apk is named backup.apk. Go into the terminal at the directory you are working
in and type
Code:
zipalign -v 4 allmostdone.apk done.apk
This will optimize the apk. The output is done.apk.
STEP6:
Now you install the apk. Their are many meathods of installing the apk, here are a couple. Transfer done.apk to your device and rename it to SystemUI.apk. Now use a root browser or terminal app to replace the other SystemUI.apk on your system at /system/app. And make sure you give it the same permissions as all the other apk's in the system/app directory. Then reboot. Or you could make a flashable zip to install it.

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