[MOD] Stock Battery Icon (All Versions of Sense) - HTC EVO 3D

Once thing about a Sense ROM I never cared for is the modified battery icon. I prefer the plain old stock icon. Just a personal preference for me and possibly others. In the zip file I attached, you will find all the files needed to transform your battery icon back to stock.
Sense 4.0/3.6 (ICS)
1. Pull /system/app/SystemUI.apk from your phone
2. Rename SystemUI.apk to SystemUI.apk.zip
3. Using WinRAR copy attached "res" folder (in zip) directly into the root of SystemUI.apk.zip
4. Leave the settings and just hit OK.
5. Rename back to SystemUI.apk and push to device
*This method may work for Sense 3.6 ROMs as well. If not, see below.
Sense 3.0/3.5 & earlier (GB, Froyo, Eclair)
Follow above directions, substituting SystemUI.apk for framework-res.apk
framework-res.apk is located in /system/framework/framework-res.apk
If you are having trouble and you're on Sense 3.0/3.5 and earlier you may need to use apktool to decode the apk. After decoding, copy over res folder and overwrite all files. Rebuild apk and push to device.
As always, do a Nandroid. No one is responsible if you brick your device except for you!
Tested and working on:
- MeanROM (Sense 3.0)
- Newt's One S (Sense 4.0)

Hey, thanks for this big guy.
I'm the same way, i don't care about the battery icon especially with the % or number. I prefer the plain old stock battery icon, now I can restore the battery icon on those other roms.

Any chance to get this to work on sense 3.6? Preferably for meanrom ics. I would greatly appreciate it.

Related

Super Circle Battery

Hello,
it's possible to have "Super Circle Baterry" on our device HTC Tattoo ?
I mean this -> http://forum.xda-developers.com/showthread.php?t=724778 It's so cool than standard battery indicator.
I agree, super cycle battery is ******* awesome
But we must have different version of this for each ROM?
Because I use Kiljacken rom with Sense UI 2.1 ?
Look in Click Android Development, it's now possible on HCDR.ROM and Kiljacken ROM and maybe others
It's possible on another rom's by chaning theme with metamorph, but i just want this circle battery for Tattoo, not whole theme:/
It's easy. Copy framework-res.apk present on your rom on your PC. Open it with winrar and overwrite default battery icon with new one (in "drawable-hdi" folder). After that you can sign apk and push it to /system/framework or create an update.zip and flash it via recovery.

[Q] Gingerbread themed Dialer?

Hi everyone,
I followed reverendkjr's tutorial to install khalpower's v4 rom onto my phone. His tutorial starts with the miuioptimizedv3 rom first, then builds on it using updates.
Afterwards, I wasn't able to Metamorph anything, so I used ZipThemer to install owq's Gingerbread theme (http://forum.xda-developers.com/showthread.php?t=955698), which worked! However, the Dialer did not get themed and remains in a broken MIUI theme (can provide screenshots if you'd like), and I am not sure how to theme it...
I would like the Gingerbread dialer that, if I remember correctly from Metamorphing in 2.1, came after applying owq's Metamorph. Is there any way to accomplish this in the state that I am in?
Cheers!
Looking at the Morph the only things I see changed are Framework-res.apk & services.jar. (Does the dialer pull graphics from framework-res ?) If it does I would think you could push the default dialer from Dexter's ROM.
3rdstring said:
Looking at the Morph the only things I see changed are Framework-res.apk & services.jar. (Does the dialer pull graphics from framework-res ?) If it does I would think you could push the default dialer from Dexter's ROM.
Click to expand...
Click to collapse
Hey 3rdstring,
While I am trying to improve my android knowledge steadily, I have not tried pushing apks using adb before. Could you tell me how to go about this please?
Should have done more research
I found unyaffs, which decompresses nandroid backups, and decompressed the stock 1.3 nandroid. Then I pushed Contacts.apk and Phone.apk into /system/app, and tada it's Gingery
My memory failed me. The metamorph doesn't theme the dialer, but I remember the gingerbread dialer from using Khalpower's 'custom' apks from this post:
http://forum.xda-developers.com/showpost.php?p=9784619&postcount=13
I tried pushing Phone.apk and Contacts.apk from his files to a few emulators (eclair and froyo), but they both failed (I wonder if that's the fault of the emulator, not my device.) But then I pushed them to my device, and the apps wouldn't appear in the main menu anymore (also couldn't make any calls). Any other tips?

5 Lockscreen Mod and Android Lockscreen for JPQ / JPS / JPK

Use it at your own risk!
This mod is NOT for XXJPM!
It has been made from the framework files of a JPQ and JPS, so on an odexed JPM rom it causes bootloop!
It's for XXJPQ and XXJPS.
So it wont make the Browser.apk crash like the older 5 Lockscreen Mod did it.
(Check out the last part of this post!)
(You must be rooted and know how to push files to the phone. And one more thing: first of all you should check the free space in /system (e.g. if you use RootExplorer), especially on the odexed roms.)
5 Lockscreen Mod and Extended Power Menu for Odexed XXJPQ and XXJPS.
5 Lockscreen Mod and Extended Power Menu for Deodexed XXJPQ and XXJPS.
(Framework-res.apk and Settings.apk are stock themed.)
Android LockScreen for odexed/deodexed JPS/JPQ* rom and also for odexed XWJPK is attached below.
* 'android.policy' has been made from JPS, but it works on JPQ too
HOW-TO:
5 Lockscreen Mod
It’s started from the point you have flashed a clean, stock JPS or JPQ via Odin: the device is already booted and you have unplugged the USB cable from it.
Getting root access
- Go to ’Settings > Applications > Development’ and enable ’USB debugging’
- Plug the USB cable back into the phone > run SuperOneClick.exe > press ’Root’ and wait
- When the ’Test?’ dialogue is popped up, say ’Yes’ > you can close SuperOneClick
- Your device has been rooted
- Directly after these steps, do the followings:
Pushing modified files to the phone
- Download the suitable zip for your odexed or deodexed JPQ or JPS rom
- Extract the downloaded zip
- Navigate into the extracted folder
- Run ’push_5lckscr....bat’ and wait*, your device will have rebooted
- Modded files are already pushed to the phone, now you can use your favourite lockscreen and the extended power menu
Of course there are other methods, RootExplorer etc.
*If you are on an odexed rom and see something like this in cmd: "failed to copy 'system\framework/framework.odex' to '/system/framework/framework.odex': No space left on device" and "rm failed for /system/framework/framework.jar, No such file or directory", don't panic, it's normal due to the low free space.
History:
Hi again! Now I have come with a very nice and well known mod. However this one is for people who want to have the 5 Lockscreen Mod and Extended Power menu, but don't want to have a deodexed rom!
So you can download this mod for your odexed XXJPQ/XXJPS from above. I've just realized that the only reason for me to deodex a rom is because of those damn lockscreens and the extended power menu. But I could not find this mod for odexed roms, so I had to odex it by myself.
---
Hello to All, I've attached an android.policy.odex for those who want stock Android lockscreen on their odex XWJPK.
---
Hi All!
After I had deodexed a stock (only rooted) XXJPQ rom, I tried to apply the 5 lockscreen mod on it. Seemed like everything was good... But when I had opened the "Internet", it force-closed immediately (nor factory reset didn't help).
So I had started to search the reason of this issue. After a while I figured out that the FCing of the Internet app was because of the "non-JPQ" framework.jar. So I took the JPQ's framework.jar and added a .smali file to its classes.dex what is necessary for the extended power menu (com\android\internal\app\ShutdownThread.smali).
The result: working 5 lock screen mod with extended power menu on JPQ without crashing of the Internet app!
If interested, you can download it from here. Framework-res.apk and Settings.apk are stock themed files, so you can delete that lines from the batch... Actually, the relevant file is the framework.jar.
Try 5lockscreen mod
mY custom rom has stock lockscreen :L
Stock lockscreen for stock XWJPI and XXJPQ: http://www.megaupload.com/?d=SNJ3ZI17
Credits by Halco
Here is the way to add Stock lockscreen on a firmware.
But care, on this step :
4. Replace the contents of this method with the attached file getLockScreenMode.txt.
Dont do this, juste replace on you method getLockScreenMode()Lcom :
PuzzleLock by TapLock
GlassLock by TapLock
Then follow the rest of the steps
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Which file do you try to deodex? Do you mean all of them? In that case, I use this one, so I recommend. It always works for me. Sorry, but I don't understand exactly the source of your problem (maybe I'm too tired)... What's your goal at all? 5 lockscreen mod on a deodexed XWJPK?
Sry, but I don't understand you exactly, too
I tried this Tutorial and therefore I need android.policy.odex and so a odexed framework, right?
But I'm sorry, at this topic I'm totally new at this topic. It would be nice if you could upload the modded files for JPK...
I am using stock rom jpm rooted by default..i want this 5 lock screen..
Can I get that..?
Please tell me the step by step procedure..
Sent from my GT-I5800 using XDA App
JPM is no problem!
You can use Kitchen 2.0!
GalaxyDrei said:
JPM is no problem!
You can use Kitchen 2.0!
Click to expand...
Click to collapse
Please give me the link to download kitchen 2
Sent from my GT-I5800 using XDA App
Sry, it was deleted...
I think it also should work with Kitchen 3.0...
Ask benzyniarz1
GalaxyDrei said:
I tried this tutorial with XWJPK, but when I try to deodex the file I always get this error:
Code:
Error occured while loading boot class path files. Aborting.
org.jf.dexlib.Util.ExceptionWithContext: Cannot locate boot class path file core
.odex
at org.jf.dexlib.Code.Analysis.ClassPath.loadBootClassPath(ClassPath.jav
a:237)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:14
5)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(Cla
ssPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:98)
at org.jf.baksmali.main.main(main.java:278)
Can you help me, please?
Click to expand...
Click to collapse
You got this error because when you tried to deodex android.policy, you forgot to pull all the .odex files from /system/framework. For some reason it is not enough to pull only the android.policy.odex
No, I pulled the whole framework, so I can't understand why I get this error!
Strange... By the way, I've uploaded the modified file you asked for.
Thanks a lot
Is there any tutorial about pushing this to the phone? I didnt see it anywhere...
I will update my first post as soon as I have enough time. It will be a few days since now I have to work...
Hi,
Can you make a only Android Lockscreen for XXJPS? I dislike the Extended Powermenu and the Option of more lockscreens, but only want Android Lock.
Hopefully someone can provide me that!
Stylooo
Nice job could you please post some basic instructions for porting this to some other stock(odexed) rom I know how about compiling and decompiling using smali etc just tell me which files to edit .
Sent from my GT-I5800 using Tapatalk

GUIDE Modify apks

Hi. I just wanted to write a guide on modifying apks. You probably have seen my rom in the ported section.
(I'll make the guide look better when I get home)
Well lets get started.
1.
First. An introduction to what an apk is. An apk is (believe it or not) a zip of files.
2.
So how do you go about editing a zip? I suggest using 7z on your computer or root explorer on your phone.
Second: there are a lot of apks you can edit but for this guide I'll be using the systemui.apk that you find in any rom in the system/app folder.
3.
Ok. So assuming you start with the system ui apk your going to need to extract the apk with 7z on your computer. (or root explorer on your phone. Es file should work also)
4.
Now you should have a new folder where you chose to extract your apk. Open that folder. Your going to see a bunch of files. What your probably going to be interested in is the res folder. Go into that folder and find the drawable hdpi folder. Open it.
Your going to see a lot of icons. Here is where you can change things like wifi icons. You can add 4g icons and so much more. Even edit what your contacts look like.
5.
This is an important step. Make sure your using the system ui apk from the rom your currently on or make sure its compatible with yoir rom.
Ok so now we get to the things like icon changes. Download a theme you've been dying for but couldn't get because it was either for another rom or phone. And the only thing you wanted was a few things from the theme.
Now extract that zip. Then extract the systemui.apk again from the zip you want your icons to look like. MAKE SURE YOU RENAME THE THE SYSTEM UI TO SOMETHING DIFFERENT SO YOU DON'T MIX THEM UP.
6.
So now that you got the system ui apk with whatever you want to use all you need to do is go into the drawable hdpi of the one with the icons you want in it. Copy them and bring them to your roms stock system ui and replace them.
7.
Thats about it. Now zip your roms stock system ui back up and change the ending to .apk. Then put it in system/apps and replace it. Reboot. And boom. Your modded apk is ready.
Hit thanks if I helped.
for step three rename the. apk to .zip its easier
This can only be used for replacing regular images in the APK. There are many images that are .9 images which require decompiling.
There are MANY guides across xda that go into detail and show you the proper way to modify APK's..... There is much more then images.
This one is even in this forum: http://forum.xda-developers.com/showthread.php?t=1388459

CMX system button theming

Based on process for galaxy nexus http://forum.xda-developers.com/showthread.php?t=1413582
See also; http://forum.xda-developers.com/showthread.php?t=1724112
Required;
Root
PNGs of desired icons (get them at galaxy nexus post, link above)
Root Browser (or other decent file manager)
Custom ROM (maybe, not tested on stock)
The usual anti-warranty applies; use at your own risk, use common sense, back up your files, back up your System partition
Decompress your systemUI.apk file from /system/app and replace the system icon PNGs in the /res/drawable-sw600dp-mdpi directory with the PNGs downloadable from the above link, giving them the same name as those in the prexisting .apk, then re-zip rename it as "systemUI.apk", and replace the original systemUI.apk in /system/app. Then set permissions to rw-r-r, and reboot. Confirmed working only on custom Roms.
Edit: note when you decompress, you'll get a folder called systemUI. When you go to re-zip, you want to multi-select the contents of that folder and then make a zip of them to normal compression. Then rename the product .zip file as systemUI.apk. its probably a good idea to backup your original systemUI.apk... You should modify the systemUI.apk from your ROM, or be running the same ROM as myself, just to be safe- i have not tested mixing and matching ROMs and systemUI's and it could be potentially dangerous, as I cannot guarantee that they will be compatable.
Attatched- my screenshot (im using a subtle reflection theme) and a modified systemUI.apk (from the screenshot) - only tested on the ROM I'm using - a cm10 euroskank nightly
*don't try to install sysuemUI.apk like an app, it will do nothing.
Known bugs- no downward ^ when keyboard is up (probably an easy fix)- this is because the galaxy nexus files do not include one...
I take no credit for this process, only for writing this post. All credit goes to the author of the original galaxy nexus post
Feel free to post your screenshots and modified systemUI.apk's This is my first how-to, so let me know what you think, and how I can improve it. I'm an official noob, so I'm sure I've left something out. Let me know anything I could mention regarding other custom and stock ROMs as well. Don't forget to hit Thanks

Categories

Resources