[Minor Mod][Experienced Users ONLY] Accurate Battery Mod (11/27/11) - Kindle Fire Themes and Apps

**Please note this modification is intended for experienced users only. If you do not know what you are doing, don't even bother downloading it**
I am not responsible for anything that may happen to your Kindle Fire as a result of using this modification. I know that it works properly when the instructions are followed. As with anything custom you do to you devices, proceed with caution, and be willing to accept any possible consequences of your actions.
I don't know who else out there is like me, but I can't stand not knowing what my actual battery % is, so I've gone ahead and implemented a 1% accurate battery mod. This is a modification to the framework-res.apk, and since we don't have any way of flashing, it requires a little bit of knowledge to do.
How to Install:
**You MUST be rooted**
1. Unzip framework-res.apk to /sdcard/ on you KF
2. Disconnect you KF from computer
3. Mount your /system/ rw (I use mount system (rw/ro))
3. Use your favorite file manager (I use Ghost Commander) with root access to make a backup of your original framework-res.apk in /system/framework (you can just rename the original one to framework-res.apk.bkk)
3. Copy framework-res.apk from /sdcard/ to /system/framework/
4. You will immediately get a force close, you MUST immediately press and hold the power button and select shut down
5. Start your KF back up, and it should be good to go.
(Printerscape has reported that when he attempted to use this with root explorer he ran into problems which caused a bootloop and needing to unbrick. I personally have been using Ghost Commander without any issues, so please make sure you have a backup and know how to unbrick your device in case it comes to that.)
You can also do this all with adb if you know what to do it.
sl0ttedpig provided these adb instructions, which will work.
Code:
adb push C:\path\to\apk\framework-res.apk /sdcard/Download/
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/framework
# cp framework-res.apk framework-res.bak
# cp /sdcard/Download/framework-res.apk .
Upon first boot, your google and amazon acounts will need to be set up again, but this is as simple as logging back in.
Download:
If you haven't read through everything above, you don't know how to unbrick your device, or you don't feel like you have enough information to go through with this, please do not download this file.
Accurate_Batt__Round_Kindle_Fire.zip
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks:
Thanks to Printerscape and sl0ttedpig for testing this out for me.

So just move framework-res.apk into /system/framework, and restart the device? I don't see why that's "experienced users only" =P. I'll volunteer; I'd love to have this.
How'd you make the framework-res.apk? Did you just get the original framework-res.apk and SystemUI.apk off the device, and use UOT Kitchen? I'd like to have one that's just the standard horizontal bar with the # on it, vs. circular (so customize).
Only precaution is to make sure you keep the back up, and restore the original framework-res when Amazon has an update of their ROM (if you intend to keep going with the original ROM).
Also, why/how is your "My kindle" thing orange?! Mine's just white =(.

Printerscape said:
So just move framework-res.apk into /system/framework, and restart the device? I don't see why that's "experienced users only" =P. I'll volunteer; I'd love to have this.
How'd you make the framework-res.apk? Did you just get the original framework-res.apk and SystemUI.apk off the device, and use UOT Kitchen? I'd like to have one that's just the standard horizontal bar with the # on it, vs. circular (so customize).
Only precaution is to make sure you keep the back up, and restore the original framework-res when Amazon has an update of their ROM (if you intend to keep going with the original ROM).
Also, why/how is your "My kindle" thing orange?! Mine's just white =(.
Click to expand...
Click to collapse
You are correct that this is a very simple mod to install, however that being said, I have to assume that there are a lot of people with little to no experience, and this is a system app, so making mistakes can have real consequences. Such as, backing up the original framework-res and then restarting without copying it over, don't know what would happen, but I assume a bootloop, and I don't want to try to get people out of their holes.
As for why my kindle is orange, no clue, just is.
I did use the original framework-res from the kindle, you don't need to modify systemui for battery mods. UOT Kitchen, however convenient, will not work with this because they have a file limit of 14mb and this is 24 or so, so I had to use apkmanager and edit the xmls myself. The images, were taken from a UOT cooked framework from my Droid Charge and then I modified them to get the sizing right. I also do not care for the circular battery and prefer the horizontal battery, however, I am not willing to create ~201 new images just to get this. I wanted to maintain the theme of white on black so it doesn't stick out. Perhaps I will look at using the orange in the "my kindle" as the background.
Check your PM for the link to download.

Sure, I'd be willing to test this out for you. Seems like a pretty neat little hack!
Also, my "kindle" is orange too! I thought they all were!?

sl0ttedpig said:
Sure, I'd be willing to test this out for you. Seems like a pretty neat little hack!
Also, my "kindle" is orange too! I thought they all were!?
Click to expand...
Click to collapse
PM'd you a link

Did what you said, bricked it:
*Using Root Explorer, mounted /system/ as read/write.
*Went to /system/framework/ , copied the original framework-res.apk to /sdcard/backup , renamed it to framework-res.bak.
*Copied your framework-res.apk over to /system/framework/ , overwriting original file.
*Force close gallore, as expected.
*Held power button, reboot, stuck on boot screen.
Went through unbricking procedure, but still stuck in boot loop. Bah.

Printerscape said:
Did what you said, bricked it:
*Using Root Explorer, mounted /system/ as read/write.
*Went to /system/framework/ , copied the original framework-res.apk to /sdcard/backup , renamed it to framework-res.bak.
*Copied your framework-res.apk over to /system/framework/ , overwriting original file.
*Force close gallore, as expected.
*Held power button, reboot, stuck on boot screen.
Went through unbricking procedure, but still stuck in boot loop. Bah.
Click to expand...
Click to collapse
Odd, does your device show up in adb? If so you should be able to adb pull your original, mount /system/, and adb push it back.

stranula said:
Odd, does your device show up in adb? If so you should be able to adb pull your original, mount /system/, and adb push it back.
Click to expand...
Click to collapse
Yea, that's what I did. I couldn't mount because I had no root after going through the unbricking procedure.
I temp rooted it with zergrush, then ADB pushed the original framework-res.apk, and it restarted just fine.
Going to try ADB pushing your framework-res.apk , instead of going through the Root Explorer.

Printerscape said:
Yea, that's what I did. I couldn't mount because I had no root after going through the unbricking procedure.
I temp rooted it with zergrush, then ADB pushed the original framework-res.apk, and it restarted just fine.
Going to try ADB pushing your framework-res.apk , instead of going through the Root Explorer.
Click to expand...
Click to collapse
And you wondered why I said experienced users only. haha. Glad you know what you are doing.

stranula said:
And you wondered why I said experienced users only. haha. Glad you know what you are doing.
Click to expand...
Click to collapse
haha =P
The ADB push worked; I see the battery now =D.
I suppose Root Explorer screwed something up x.x. Oh well; thanks!

Printerscape said:
haha =P
The ADB push worked; I see the battery now =D.
I suppose Root Explorer screwed something up x.x. Oh well; thanks!
Click to expand...
Click to collapse
Fantastic, so glad it worked out. Makes me weary to put up the download link though. We will see how it goes for sl0ttedpig (aka The Evil Dr. Pork-Chop)

Awesome work!
I've also put the adb command line version of how to get this working for anyone so inclined. You MUST be root!!
Code:
adb push C:\path\to\apk\framework-res.apk /sdcard/Download/
adb shell
# su
# mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
# cd /system/framework
# cp framework-res.apk framework-res.bak
# cp /sdcard/Download/framework-res.apk .
You'll see a force close message, and you should immediately hold the power button and select shut down.
On first boot, everything seemed to be OK, except "sl0ttedpig's kindle" was now "My kindle". So, by replacing the file, it seems to unregister your Kindle as well, but by entering your details again (I went to the Appstore), it seems to be OK after that.

Widgetsoid has a battery widget that shows single percent icon as an alternative.
//Tapatalk.KindleFire//

You'll see a force close message, and you should immediately hold the power button and select shut down.
On first boot, everything seemed to be OK, except "Simon's kindle" was now "My kindle". So, by replacing the file, it seems to unregister your Kindle as well, but by entering your details again (I went to the Appstore), it seems to be OK after that.
Click to expand...
Click to collapse
You are correct, replacing framework-res will unregister your accounts, both amazon and google. But this will only happen when you first replace it. Thanks for testing it.

stranula said:
You are correct, replacing framework-res will unregister your accounts, both amazon and google. But this will only happen when you first replace it. Thanks for testing it.
Click to expand...
Click to collapse
Yeah, didn't realize that I'd have to do it with Google too. A minor inconvenience.
I especially like the recharge animation, and I can certainly see how you wouldn't want to recreate all of that! Although for the record, I quite like it the way it is.

I'm just baffled as to why the "Kindle" is orange, and mine's white...
I WANT IT ORANGE NAO! =P

Printerscape said:
I'm just baffled as to why the "Kindle" is orange, and mine's white...
I WANT IT ORANGE NAO! =P
Click to expand...
Click to collapse
I can't even begin to guess.

Printerscape said:
I'm just baffled as to why the "Kindle" is orange, and mine's white...
I WANT IT ORANGE NAO! =P
Click to expand...
Click to collapse
What does the name say on Amazon.com under registered devices? You can edit it there, but from my short test it doesn't seem to update the name on the device. Also you could mess around with un-registering it online, and adding it back there vs. doing it via the device itself.
As an example, online it say's "sl0ttedpig's Kindle", and on my device it says "sl0ttedpig's kindle" The kindle is orange and with a lower case "k".
Are you using more than one name, i.e. "sl0ttedpig's awesome Kindle"?

sl0ttedpig said:
Are you using more than one name, i.e. "sl0ttedpig's awesome Kindle"?
Click to expand...
Click to collapse
That did it. I named it "<first_name>'s Kindle Fire". I removed the "Fire", and it's now orange!
Thanks! =)

Printerscape said:
That did it. I named it "<first_name>'s Kindle Fire". I removed the "Fire", and it's now orange!
Thanks! =)
Click to expand...
Click to collapse
Oh my. This just opened a world of possibilities for me. Thanks!

Related

[MOD] Vanilla Lockscreen WITHOUT Sprint/Time/Date (Now w/o Haptic Option)

EDIT: This mod has been integrated directly into the Fresh 2.1.2 ROM, thus, to date, I have yet to update it as a standalone MetaMorph / Zip.
Based on popular demand, I decided to take a look at the Vanilla Lockscreen today, to see if there was a way to remove the majority of text from the screen, so that all you are left with, for the most part, is the slider bar for screen unlock and the slider bar for volume on/off.
It turned out to be quite an undertaking, and required some significant code modifications, and unfortunately, a single hex edit to an XML file, meaning the mod is spread across 2 files, rather than my goal of 1. But, having said this, I am pleased to announce my efforts were not in vain.
Ladies and gentlemen, I present to you, a completely clear Vanilla lockscreen for your enjoyment . Special thanks to flipzmode for the original format fix on the vanilla lockscreen. My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, emergency call, as well as the menu key unlock disable.
Reference:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
First, if you are currently running the stock HTC Lockscreen, if you wish to move to the Vanilla lockscreen, after flashing one of the options below, you will need to move your HTC Lockscreen out of the way, via adb, by doing the following:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.apk HtcLockScreen.bak
exit
This will NOT delete your stock lockscreen, rather, simply move it out of the way, so that if you want to move back to the stock lockscreen, you can also undo your change:
Code:
adb remount
adb shell
cd /system/app
mv HtcLockScreen.bak HtcLockScreen.apk
exit
As mentioned, above, the fix is across two framework files, 'android.policy.jar', as well as the 'keyguard_screen_tab_unlock.xml' file in the \res\layout folder of the 'framework-res.apk' file.
Attention: Since you are changing a core android framework file, after flashing, your Dalvik cache will get rebuilt, so rebooting will take some time, based on the number of apps you have installed. Be patient and watch your logcat.
So, here are your 2 options.
Option #1
Option #1's flashable zip contains BOTH files. Flash this for a completely clear vanilla lockscreen ONLY if you have not made any other changes (themes) within your framework-res.apk file (custom taskbar), as the zip will return this file back to stock, with the exception of my fix for the lockscreen.
Vanilla Lockscreen No Text Complete <---Only flash if you are running stock theme from Fresh 2.0d.
Option #2
Option #2's flashable zip contains the 'android.policy.jar' file ONLY. Flash this to make the primary framework file change:
Vanilla Lockscreen No Text Jar Only <---This is the .jar file only.
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
keyguard_screen_tab_unlock.xml.txt<---Remove .txt extension after downloading.
Code:
adb pull /system/framework/framework-res.apk .
Open 'framework-res.apk' with WinRar or 7zip, navigate to the '\res\layout\' folder, and drag and drop the above XML into this folder. Close up the file, then:
Code:
adb remount
adb push framework-res.apk /system/framework
adb reboot
If you are running a different ROM, other than stock espresso Fresh 2.0d, then Option #2 presented above is your best course of action, so as to not mess up your existing taskbar, etc.
Also, it should be noted, this does not contain any of the Alarm clock changes, etc, necessary when you are using the Vanilla lockscreen. Please see Flipz's site for flashing the needed files if you are NOT already running the Vanilla lockscreen and don't want to have alarm clock disable issues.
EDIT: If you prefer an opaque (non-transparent) black background, rather than the default / semi-transparent, please see here.
EDIT 2: If you are a MetaMorph user, thanks to danaff37 for putting together a few MetaMorphs of my mod that you can use as well.
EDIT 3: New version posted which allows for a background wallpaper image instead, see here.
EDIT 4: See this post to remove the haptic feedback after having first flashed your desired vanilla version above.
sweeeeeeeeeeeet! I just wish the HTC clock/weather widget updated under the lock screen
Awesome! Thanks man!
Does this include the no-menu-unlock mod too?
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
darchstar said:
Lol, jschisurf, you are beast with these mods, not gunna lie
I've got a deodex'd legend rom, so i'm gunna see what i can do based off this
Click to expand...
Click to collapse
10chars
Gregalous said:
Does this include the no-menu-unlock mod too?
Click to expand...
Click to collapse
Yes, it does.
JsChiSurf said:
My starting point for working on this fix was the android.policy.jar file containing flipz's fix for the formatting, as well as the menu key unlock disable.
Click to expand...
Click to collapse
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
DanWalker said:
just out of curiosity, have you removed the haptic feedback from the lock as well? that was something I had asked a few other Devs about.
Click to expand...
Click to collapse
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
JsChiSurf said:
No, I did not look at that at all. It's not something that bothers me / wasn't aware of it as an "popular" request. I can certainly look at it though.
Click to expand...
Click to collapse
I'm not sure that it's a "popular" request just something I was asking Konikub about and he had agreed that he didn't like it either. It just seems to cause a bit of a lag when unlocking my phone. If it's something that cannot be done without a lot of work I will live with it.
You "ARE" the man!!!!! This is just what I was looking for A true master, at such a tricky craft!!! All hats go off to you!!!
guess i dont get it, cause im too noob
epitaphromance said:
guess i dont get it, cause im too noob
Click to expand...
Click to collapse
Perhaps this makes it clearer (no pun intended)?
so we can't use a custom theme in addition to this?
smoother2010 said:
so we can't use a custom theme in addition to this?
Click to expand...
Click to collapse
Sure, use Option #2, as explained.
if i was to use option two would it mess with my lock that i have now ?
I apologize for what I'm certain is a noob question but...
JsChiSurf said:
Then, after flashing the jar file only, you will need to manually edit your 'framework-res.apk' file, by placing the file below in the framework-res.apk's '\res\layout\' folder.
Click to expand...
Click to collapse
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
id use this lock screen if we could apply custom background wallpapers.
702DROID said:
if i was to use option two would it mess with my lock that i have now ?
Click to expand...
Click to collapse
It would change the background for opaque black to semi-transparent as shown in the OP, but your graphics would remain unchanged.
smw6180 said:
I apologize for what I'm certain is a noob question but...
How? Are you saying we need to hex edit framework-res.apk, or just stick
"keyguard_screen_tab_unlock.xml" someplace?
Click to expand...
Click to collapse
All the heavy lifting is already done for you. Yes, per the instructions, just stick "keyguard_screen_tab_unlock.xml" in the \res\layout folder in 'framework-res.apk'.
smoother2010 said:
id use this lock screen if we could apply custom background wallpapers.
Click to expand...
Click to collapse
For me, it defeats the point / goal of what I wanted to achieve, i.e. seeing clear through to the desktop behind the lockscreen, with nothing obstructing the view...

[MOD]Change "Sprint" on AOSP (No HexEdit/CDMA)(Scrolling Lockscreen Text)

I searched through EVO 4G Themes and Apps and did not find this method; however, I am posting it here in case it is a repost. I suppose a mod could move it later if users find it helpful and they felt inclined to do so.
So far the two main methods I've seen are done with CDMA workshop or hex editing .xml files. I didn't like either of these methods too much. CDMA workshop costs money unless you download it illegally, and even then it only works half the time. I do not care for hex editing very much either. Not to mention the fact that you have to use a text-hex converter and download a hex editor. Plus, whenever the framework changes in the rom (happens very often with CM) you have to do a lot of work with the .xml if you don't want your phone to bootloop into eternity. (Do not misconstrue what I am saying. The user who created the hex editing method for changing your lockscreen/notification bar text does great work and I used his method for a long time. The framework in CM changes so much though and I don't expect him to constantly update his method for one specific rom.)
I scoured several sites to find this method only to find out it has been posted on XDA. The only problem I saw was that the posts were within [Q] threads and therefore buried to the average user. This is my attempt to share this with the community. I don't take any credit for the actual method. Just trying to bring it up so we all have options.
This edit is very easy to complete. Try it at your own risk.
0. Make a Nandroid backup. Hopefully this is second nature by now.
1. Download eri.zip
2. Unzip the file to wherever you please.
3. Right click on eri.xml and choose "Open with Notepad"
4. Once you open the file you will see "Sprint" in the 5th line.
5. Delete Sprint and place whatever you would like in it's place. I believe you have up to 16 spaces to work with if need be.
6. Save the file with an .xml extension. Important: Make sure it is eri.xml and not eri.xml.txt. This will cause issues.
7. Place the eri.xml in your /androidsdk/tools directory.
8. Pull up your Command Promt/Terminal/Etc
9. CD to your /androidsdk/tools directory and:
Code:
adb remount
adb push eri.xml /data/eri.xml
adb reboot
10. Success. Hopefully.
I have heard that this method does not work for some. It worked for me earlier tonight and for another CM user that I shared it with. Hopefully this gives you an alternative to the other methods if they didn't work or if you aren't comfortable with them.
Let me know if I left anything out or if there are any issues.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
UPDATE:
Thank you lovethyEVO for bringing it to my attention. Looks like this will only work for CM roms (though I would imagine it would work on any AOSP rom) at this point in time. Just tested on a Sense based rom and saw no change. Sorry folks.
UPDATE 2:
After reading through a few posts, I figured it was only right to write up some instructions on how to complete the edit from the phone itself.
Apps needed: Root explorer is ideal but it costs money and it is not necessary if you don’t want to pay for it. So for this method, we will go the long way and use AndroZip and Terminal Emulator (Possibly DropBox as well, will explain later), all of which are free on the Market.
1. Download the file to your phone. Depending on your settings it will either be on the root of your SDCard or in a “download” folder. If in a folder, move it to the root of your card. Do this by opening Androzip, go to your download folder on your SD card, long press on the file, select “Move,” press the back button, and then press the “Move Here” button that has appeared in the top right.
2. Unzip the eri.zip file. Tap on eri.zip and select “Extract file here.”
3. Open the file. Tap on your newly unzipped eri.xml, tap “Open,” pick an app to edit the file (AndroZip has a built in text reader that won’t work because it does not have an Edit option. This is where DropBox can come in handy since it contains a Text Editor in case your rom does not have one built in.)
4. Find “Sprint” and change it to your desired text. Save the file before exiting. If you try to back out before saving it should prompt you to save.
5. Move the file to the appropriate location. Exit AndroZip and Open up Terminal Emulator. Type:
Code:
su
cd /sdcard
mv eri.xml /data/eri.xml
Alternately, use
Code:
cp
instead of
Code:
mv
if you want to keep a copy of your edit eri.xml on your sdcard. Will come in handy if you ever do a full wipe and a fresh install of CM.
6. Back out of Terminal Emulator and restart your phone.
7. Success?
Sorry for the wordy directions. Tried to make sure I covered all of my bases. Figured more directions were better than not enough. Let me know how this works. You can use other apps if you want. These just happened to be the ones I had on my phone at the time. Hope this helps those that don't like ADB or just want to complete the edit straight from the phone.
UPDATE 3:
To remove the edit completely you can use Root Explorer, navigate to /data, long press on eri.xml, and then select Delete. If you don't have Root Explorer, then open Terminal Emulator and type:
Code:
su
rm -r /data/eri.xml
Reboot after deleting the file and you will go back to Sprint.
UPDATE 4:
There doesn't really seem to be a limit on the character count with this modification. 24601 did a little bit of experimenting and found out that the text will actually scroll across the lockscreen if you complete the edit with a long enough phrase. The text doesn't scroll in the drop down notification menu and looks a little jumbled, but it is definitely a cool effect on the lockscreen. Nice find either way.
Thanks man finally a fast way to do it.....using a mac everything is different lol but just wanted to confirm that it worked for me
fantastic post...
gonna test it out later and complain to you about it.
This didn't work for me. The text change is definitely on the phone. I used root explorer to find and read the eri.xml file in the data folder and my change is there, but "Sprint" still shows up on my notification bar and lockscreen, not my newly revised text. Have rebooted a second time just to be sure. Dang, I knew this sounded too easy, lol.
I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.
w84mike said:
This didn't work for me. The text change is definitely on the phone. I used root explorer to find and read the eri.xml file in the data folder and my change is there, but "Sprint" still shows up on my notification bar and lockscreen, not my newly revised text. Have rebooted a second time just to be sure. Dang, I knew this sounded too easy, lol.
Click to expand...
Click to collapse
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
lovethyEVO said:
I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.
Click to expand...
Click to collapse
Excellent. I encourage you to use the method that works best for you. This method is for those whole would rather not download an extra program or deal with hex editing at all.
I will check into the question about compatibility with Sense based roms. Off the top of my head I think it works, but I won't say for sure until I can prove it.
lovethyEVO said:
I'm assuming this only works for cm since in most sense based roms (and I think aosp but I'm not sure) there aren't any xml files that are parsed from the data folder.
As far as needing a text-hex convertor, you don't need it with hxd or any decent hex editor. In hxd, on the right hand pane are the text equivalents of the hex values. Just replace the text in the right hand pane and the proper hex values will be automatically updated.
When replacing text in xml files it takes me all of about 5 to 7 seconds to find, replace, and save the text without using an externel text-hex convertor.
Click to expand...
Click to collapse
i believe the purpose of karadorde sharing is that it doesn't require a hex editor; that it can be done in notepad. it's good that you can do it in 5-7 seconds, but there are always users who will feel uncomfortable with taking that route.
kudos on timing yourself though.
shift_ said:
i believe the purpose of karadorde sharing is that it doesn't require a hex editor; that it can be done in notepad. it's good that you can do it in 5-7 seconds, but there are always users who will feel uncomfortable with taking that route.
kudos on timing yourself though.
Click to expand...
Click to collapse
The hex edit method saves time everywhere else. Like I said, sense based roms don't parse xml files from the data folder that I know of.
In order to edit any xml file in sense you have to decompile the apk, make the edits, and then recompile the apk and hope it doesn't bootloop. That's longer than a couple of seconds to hexedit a file and reinsert it into the apk.
With this method, while it works for cm, almost all xml files in sense are binary and are not easily edited in notepad and won't be edited properly.
Kudos to the op for the method but unless the rom explicity allows parsing human readable xml files the hexedit method will still be a "go to" overall.
lovethyEVO said:
The hex edit method saves time everywhere else. Like I said, sense based roms don't parse xml files from the data folder that I know of.
In order to edit any xml file in sense you have to decompile the apk, make the edits, and then recompile the apk and hope it doesn't bootloop. That's longer than a couple of seconds to hexedit a file and reinsert it into the apk.
With this method, while it works for cm, almost all xml files in sense are binary and are not easily edited in notepad and won't be edited properly.
Kudos to the op for the method but unless the rom explicity allows parsing human readable xml files the hexedit method will still be a "go to" overall.
Click to expand...
Click to collapse
agreed. i use hxd myself, but for any cm users who want to customize, this is a pretty good method. regardless, i believe karadorde is testing it out on sense to provide a definitive answer.
shift_ said:
agreed. i use hxd myself, but for any cm users who want to customize, this is a pretty good method. regardless, i believe karadorde is testing it out on sense to provide a definitive answer.
Click to expand...
Click to collapse
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.
lovethyEVO said:
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.
Click to expand...
Click to collapse
heh that's sense for ya.
lovethyEVO said:
Would be nice if it did work. Would be even better if the option to allow parsing of non-binary xml files could be integrated into a sense based rom.
Click to expand...
Click to collapse
In time maybe we can use it to complete the edit in Sense based roms. For now it looks like CDMA Workshop or HxD is the best option for those lacking AOSP in their lives . Regardless, OP updated with the info.
Karadorde said:
9. CD to your /androidsdk/tools directory [/B]
Click to expand...
Click to collapse
I'm not that well versed using terminal commands. What does this part mean?
Sent from my PC36100 using XDA App
jcjr81 said:
I'm not that well versed using terminal commands. What does this part mean?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
No problem. We have all been there and the cmd prompt can be a difficult place sometimes. First and foremost, do you have the Android SDK installed on your computer?
Sent from me to you via the interwebs.
Thanks for the help! I do have it installed on my PC.
Also, is there any way to do this right on the phone using terminal emulator?
Sent from my PC36100 using XDA App
jcjr81 said:
Thanks for the help! I do have it installed on my PC.
Also, is there any way to do this right on the phone using terminal emulator?
Sent from my PC36100 using XDA App
Click to expand...
Click to collapse
CD means change direction. So you are opening a command terminal and directing toward your tools folder. I installed my SDK right on my C: drive. So when I open open my command terminal I type cd C:\androidsdk\tools. It all comes down to where it is installed on your computer.
Also, you can do everything from the phone. Don't need to use terminal emulator at all from the phone. I will update the OP in a few with directions. Sorry, I am at work right now and trying to get you a quick response. Hope this helps a little bit. More instructions to come.
Sent from me to you via the interwebs.
Karadorde said:
CD means change direction.
Click to expand...
Click to collapse
Not to be a jerk, but cd is change directory, not direction. I don't get to contribute much when it comes to the phones, so thats the best kind of help I can offer here
Karadorde said:
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
I did use adb to push it to the phone. I didn't edit it on the phone, just opened the file and looked at it to make sure my change was there, which it was. I am using Myn's RLS4, so sense based. Maybe that is the problem.
Click to expand...
Click to collapse
I would also really love a method that could be done from the phone only. I'm doing this for a friend and there usb is messed up so can't use adb to push files from the computer. Thanks for this.
Sent from my PC36100 using XDA App
w84mike said:
Karadorde said:
I know some people have gotten it to work by doing the edit entirely from the phone. I have noticed that sometimes files only work or rather work best when pushed to the phone. You might try the ADB method and see if that helps. If not, I will investigate. Thanks for the feedback.
I did use adb to push it to the phone. I didn't edit it on the phone, just opened the file and looked at it to make sure my change was there, which it was. I am using Myn's RLS4, so sense based. Maybe that is the problem.
Click to expand...
Click to collapse
Sorry about that sir. I should have tested before hand to verify compatibility. Forgive the confusion.
Sent from me to you via the interwebs.
Click to expand...
Click to collapse

[Q] Dark notification bar for 2.2

Does anyone still have instructions/required files for changing the notification bar on a 2.2 Droid X?
Before it is linked, I have already looked at teenfaces' thread; if you look, you'll notice that teenfaces has edited the initial post (presumably where the instructions were).
Just to cover all of my bases, I have tried the pre-2.2 post. (A boot loop says it doesn't work.)
Any suggestions?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
williams37 said:
If that is what you mean by notification bar, then changing that is pretty simple. I modify mine almost everyday. If you are rooted and have ninjamorph. The file is in System/Framework/Framework-res.apk/res/drawable-hdpi and is called status_bar_background.png. Simply modify that in photoshop, save as png and swap out with ninjamorph.
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then modify and save over that file
then adb push status_bar_background.png system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
then reboot.
Click to expand...
Click to collapse
That is what I mean.. However, in teenfaces' pre-2.2 post, it mentions changing the services.jar file.. Which is why I thought that simply changing the background image in the framework apk wouldn't work.
I have no experience with Ninjamorph. I'm not going to even try to play it off - I've only recently decided to take the plunge and root. (And I only decided to root because I wanted to change the font, phone-wide.) So, I'm pretty new to all of this.
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
williams37 said:
Alternatively I'm sure you could pull this out with adb. Commands would be
adb pull system/Framework/Framework-res.apk/res/drawable-hdpi/status_bar_background.png
Click to expand...
Click to collapse
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
paramnesya said:
I'm impatient. -Blush.- I decided to give it a try myself. I just grabbed the framework-res.apk (that way I'll have a backup copy if something goes wrong. However, the code you posted didn't work. Turns out, the path should be /system/framework/framework-res.apk
Anywho. I'm interested in modifying the images for the battery, etc. I'm hoping to find those images in the framework-res.apk (I haven't looked yet.) Any words of caution before modifying those as well?
Click to expand...
Click to collapse
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
williams37 said:
just make backups before attempting changing system files. I really do think ninjamorph takes the guess work out of a lot of things. I didn't have good luck pushing my framework-res.apk back in adb and that may be because of the rom I'm using. But there are lots of good batteries floating around on these forums. Good luck
Click to expand...
Click to collapse
Thanks for getting me started in the right direction!
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
XDRDX said:
You need to edit services.jar to change your font color to white. There is a video on youtube showing how to do this. Then the images are in the framework-res.apk open it with 7zip and move the new images into the .apk then boot to clockwork and push it with adb while in clockwork recovery. Then reboot. It should work, if not post back and I am sure someone here will try to help.
The actual .png for the status bar is statusbar_background.9.png. Since I don't know how to compile my own .9 png's I usually borrow somelses.
Sent from my DROIDX using Tapatalk
Click to expand...
Click to collapse
There is two files almost the same name. But the one I edited and got my name and fox logo on was Status_bar_Background.png... NOT the .9.png
Thats how it is on my rom anyways. I am realizing I have different system files than many people on here.
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
williams37 said:
Well welcome to theming. I am new to this as well. I have a few things on my modifying to-do list that I am completely stuck at. I will test out the adb codes I just posted and let you know for sure before you attempt.
{EDIT}Ok, this is best done with ninjamorph. I just tried through adb and got stuck in a bootloop. In photoshop create a document thats 480 x 770. This will be your statusbar background. Do what you want to it and save it as status_bar_background.png on your sd card where you can find it. I keep mine in a folder called THEMES.
In ninjamorph (free from market) Select:
Start Checks (will ask for root)
New Project
System
framework
framework-res.apk (it will extract the files)
res
drawable-hdpi
status_bar_background.png
then select the file you created from your sd card
hit the back button until you are on the main ninjamorph screen
select finish project
select framework-res
click yes
click no
click yes
it will reboot
when you reboot you may get a forceclose
hold your power button and reboot again
have fun!
Click to expand...
Click to collapse
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
dougivks said:
do you need to be deodexed for this to work? I've tried it twice now, and no dice.
Click to expand...
Click to collapse
I haven't tried anything yet (other than pulling the framework-res.apk). I'm still doing research. From what I've read, though, you definitely have to be deodexed.
I plan on attempting it this week.. If all goes well, I intend on writing some instructions up. In the meantime, if anyone else gets it done, feel free to post some helpful pointers!
Just so I'm clear, what I want to do is modify the notification bar and pull-down without using a rom.
williams37 said:
you know what, i'm sorry guys, I didnt even consider that. I am running ApeX 1.3.1. which is a deodexed rom. That may have to do with some of the trouble you guys are running into.
Click to expand...
Click to collapse
I deodexed and tried a third time, still nothing. I think I'm deodexed that is. Is there any test to know for sure if your deodex process worked for sure? I used the OTA Auto-Deodex
to expand on part of your instructions
yes
no
yes
the actual questions I get are
Confirm action - overwrite with finished project -yes
confirm action - zip align -no
reboot phone - OK (no yes or no option)
and then only once did i get a last yes/no about cleaning up files. i said yes.
are these the correct answers? and on the hit back button until main ninjamorph menu, is that the phone back button, or the on screen back button?

[Q] Change the color of the check mark?

Hi, this is a minor issue but it's starting to bug me.
Is there any way to change the color of the little check mark that appears when you select something?
On many of the apps that I use (but not all?) this check mark appears as a very light green color on a white background and is virtually invisible. I asked about it on a forum for one of the apps and was told that my phone must not be using standard android colors.
For example, on the Maps app that came with the phone, if I go to Settings and try to select something I will see the very light green color check mark. On the other hand, other apps, like the stock mail app, use a medium blue which is quite visible.
If I could get them all to use the blue that would be great. Changing the theme does not seem to affect the check mark.
Thanks!
-- Jon
This has been bugging me since I got XL.
My guess would be editing framework-res.apk
Just wanted to give this a bump in case somebody may have run across a solution. Thanks!
OP are you rooted? I thought you could change simple things like this inside framework-res.apk if you pull it from /system/framework.
If you open it using 7zip or winrar you should find the graphic in one of the drawable folders (i think the one youre after is called "drawable-xhdpi") which contain all of the graphics and icons that are displayed on your phone whenever you interact with it. Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Back up your original framework file though as messing this up WILL result in bootloops. In fact, doing a nandroid couldnt hurt if you arent familiar with this.
Then just replace the original with your modified one.
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Loneeagle14 said:
Simply change the color of the check mark graphic to the color of your choice and reinsert it back where it was originally located within the zipped file. DO NOT UNZIP THE ENTIRE FILE! Just browse inside of it to modify the files inside so you don't break the files signature verification.
Click to expand...
Click to collapse
This doesn't make any sense to me. Changing even one bit of a file will break a digital signature. Altering the color of a check mark will change many bits. So either the file is not signed, or the signature doesn't matter, or this won't work at all.
You must have unlocked bootloader of course. No signature check.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
gunnyman said:
You must have unlocked bootloader of course. No signature check.
Click to expand...
Click to collapse
Thanks. That's kind of what I meant. I was seriously out of it when I typed that originally. So yeah unlocked bootloader. Basically, so long as you don't decompress the original .apk and only swap files in and out from the COMPRESSED version, you should be good to go. Trying to use winrar or 7zip to recompile it will result in bootloops i promise
Sorry for the confusion.
Loneeagle14 said:
LOL much easier solution :thumbup:
Here's a picture of the display menu within the maps app after modifying the appropriate file in framework. MUCH more visible. I just did black for this example.
Click to expand...
Click to collapse
Thanks, I'll give that a try!
-- Jon
Originally Posted by beaups
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
I tried this, and it only changed the check marks in Settings as far as I could tell. I checked 4 other apps including Twitter, Subsonic, and some others and they all still had the green check mark. Maybe I need to reboot?
I also just made a black check mark icon, and I'm going to try replacing the framework APK just as soon as my nandroid backup finishes.
Click to expand...
Click to collapse
What's actually kind of funny is I had the opposite problem. My check marks inside of the settings menu stayed green, but any check marks inside of apps are now the modified color.
Edit: nvm didn't read that right. I see you were referencing the other guy.
beaups said:
Change your skin to matte in the personalization settings. It will change the checkmark to dark purple/black in MOST apps.
Click to expand...
Click to collapse
That does not work for me. I have been on the matte skin since I got my device. I don't see any dark purple or black checkmarks in any apps. Most of mine are the light (invisible) green, a few are a medium blue, which is decent. Are you sure there is not something else making your checkmarks black?
So I edited my framework-res.apk using drag&drop into 7zip without unzipping the file, as suggested. And then I did horrible things: I simply overwrote the file in /system/framework using Root Explorer. The phone immediately rebooted and won't boot now. Time to do a restore!
I guess I have to push the file using ADB while in Recovery/Fastboot? Or else make my own flashable zip? I'm definitely a modding noob.
Didn't back up the original huh? Sorry dude that sucks.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery. Then go to advanced-->file manager and that should let you access up to root. Also, it never hurts to run fix permissions after changing something in the system directory.
This method is always easier for me since I'm not an expert with adb. That's strange you had problems though. The only time I've ever had bootloops was when I decompiled the .apk or changed the compression settings when replacing files inside of it. Hope you get it sorted out..
Loneeagle14 said:
Didn't back up the original huh? Sorry dude that sucks.
Click to expand...
Click to collapse
I had a backup in the form of nandroid. I also do have the file itself backed up, I just realized. I probably didn't need to do a restore. It's just that when my phone wouldn't boot I got scared and I wanted to make sure I could restore it!
I didn't realize how easy it is to fix permissions on a file in TWRP. I can run the batch command, and there is a permissions fixer in the file browser that just does chmod 755. It grants execute permissions as well as the other ones, but it's no big deal. Also, it's easy enough to change in Root Explorer once the system actually boots. Then you don't have to wait for the whole permissions fixer to run.
If you're comfortable with adb you can go that route but I have so far used the file manager function within TWRP to manually delete my old framework-res and the move the modified one to /system/framework. ]In order for you to be able to access the system partition you'll need to manually mount it using the mount function within recovery.
Click to expand...
Click to collapse
Thanks, I was just exploring this functionality. I forgot I had to manually mount system, so I was a bit confused why I couldn't see anything in there.
Hey, it just booted up with my modded file. Look at those nice, black check marks! The ones in Settings are still green. I guess they are using different resources, which explains why they changed when I changed skins, but none of the others did. I only changed the color of the "on" check mark, and not the "on disabled", or "on focused" ones, so they'll still be green. I don't really care if the check mark is green while I'm clicking the button, but I would like to change the disabled one.
Looking good sir. I was a bit worried my method was wrong or something. Good to see someone was able to get it done! :thumbup:
So if I flash a new rom, will I need to do this again?
snowkilts said:
So if I flash a new rom, will I need to do this again?
Click to expand...
Click to collapse
Yes, unless you modify the rom before you flash it. Personally, I'm hoping to learn enough about flashable zips to make this idea into a flashable mod. At which point I'll fix all the icons.
Success! I have created a flashable zip that changes the check marks to black. I also created an Undo version that restores the original framework-res.apk.
If anyone would like to test it out, send me a PM. It only changes the "on" checkmark, but that's the only one you really need. In the future, I will fix the other icons. This is my first Android mod, so I don't want to release it publicly until at least a couple of people have tested it.
If it matters, the framework-res.apk which I changed is the one that comes with CleanROM 4.1 LE. I don't know if Scott modified the stock version in any way, and I don't know if other Sense roms have changed this file, so I can't gurantee that this APK is 100% compatible with roms other than CleanROM 4.1. I would need to download the other roms and compare their file with mine.
The MD5 of the original /system/framework/framework-res.apk is d6d3f7f3808dd7d01ba2dd11babd3b64. So if your APK has the same MD5 then this mod will work for you.

[Request] Circle Battery Mod

Hi, I really like the circle battery mod. If anyone care enough to modified the zip below to a flashable battery mod zip for NeXus JB or Glorious Overdose V5 or give me some idea on what to search for or maybe something I can do on my own, it would be much appreciated.
I just recently started messing around with modding this year, after previously all I know is rooting, unlocking bootloader, and some adb stuff. I just know this is related to decompile the SystemUI.apk and change the frameworkres,apk, recompile and signed it *CMIIW*, but I don't know how to do the exact steps.
This is the sample of the circle battery mod, I attached the file from Dell Streak DSC ROM
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Or should anyone be interested on making other battery mod style, like this one :
or this one :
or this one :
Here's the reference thread from EVO 3D sub-forum :
[MOD]Battery Mods!
Thanks in advance. :highfive:
Try rom toolbox
They should have them
Unfortunatly i am messing with the clock at the moment (trying to get it to the center)
Or maybe look at the kitchen (some website people use to make all of these)
Sent from my SGH-T839 using xda app-developers app
immorality said:
Try rom toolbox
They should have them
Unfortunatly i am messing with the clock at the moment (trying to get it to the center)
Or maybe look at the kitchen (some website people use to make all of these)
Sent from my SGH-T839 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the info, Man. Demkantor already made it in his Aroma Installer thread.
How's it go on modding the clock to the center? I'd love that one too~
ummm... well i can do it but the way i have it set up would then brake the battery icons, or i would have to do the clock + battery icon in same framework, doable but i mean, if you want it
if you want i could help you make some yourself, then you can do as many different styles as you want, all i would ask is that you post what you make so others can use it too... kinda my thing...
demkantor said:
ummm... well i can do it but the way i have it set up would then brake the battery icons, or i would have to do the clock + battery icon in same framework, doable but i mean, if you want it
if you want i could help you make some yourself, then you can do as many different styles as you want, all i would ask is that you post what you make so others can use it too... kinda my thing...
Click to expand...
Click to collapse
wow, that would be great ! please teach me, just the steps how to do it will do. :good:
of corze i'll share it if i ever succeed making some status bar mods. :fingers-crossed:
ok im assuming windows, can be done in linux as well, if you using mac i wont help
this is what you need
http://www.7-zip.org/
http://notepad-plus-plus.org/
http://apkmultitool.com/
https://play.google.com/stor/apps/details?id=com.speedsoftware.rootexplorer
http://sinfulandroid.com/showthread.php/2597-SignApk-Sign-Your-Android-APK-File
or something similar, you can push and pull with adb too
first so you know how to do it lets do this, make a back up, flash a different rom for our phone (one with a battery mod you like but similar base)
use root explorer, go to system>framework>framework-res.apk, copy it (may have to make r/w) and save it to sd card
or you can use adb
adb pull /system/framework/framework-res.apk c:\desktop
this will put the .apk on your desktop or you just take the one from sd card if you used root explorer
now use 7zip to open the flashable zip i made (extract files)
in the folder go to system>framework>and swap out the two framework-res.apks
now back out of folder until all you see is system folder and META-INF
highlight both
right click
choose add to archive
name it NEWBATTERYICON.zip (exactly)
make sure compression is set to store and hit go
not you have a flashable .zip, but its not signed, so either toggle verification in recovery or lets quick sign it
How To sign
need the latest java installed, get from below if needed
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
take the signapk.jar tool
put it on the root of computer (directly in c:// no other folder)
open it up, place NEWBATTERYICON.zip in this folder allong with the other garbage
now open cmd in same location (hold shift, rightclick in folder and choose open command here or cd:/SignApk)
copy this and paste into cmd
java -jar signapk.jar certificate.pem key.pk8 NEWBATTERYICON.zip NEWBATTERYICON-signed.zip
hit enter and wait a couple seconds
now use place the newly signed zip on sdcard and flash in recovery!
ok this was long, so if you handle all this fine let me know and ill teach how to modify vs just extracting and swapping!
good luck! and as always...
HAPPY FLASHING!
Ehh it went bad i kept having overlapping issues
I set it up where the time would be center . Tryed to get all apps to be in one icon which would go up in numbers (1,2,3) kinda thing) which didnt work then any new notification messed the things up and i tryed to make it where if connceted to wiffi the 3g bar goes away
Im not that good with android so i trashed it (wish it was more like ipod/phone where you can move it because its all one thing)
Looked like this @ is signal/wifi %battery +3 3 different notifications which i thing doesnt work atleast not for me
+3.......12:[email protected]%
Sent from my SGH-T839 using xda app-developers app
Can you send me what you did so I can see where it went wrong?
Sent from my Nexus 7 using xda premium
demkantor said:
Can you send me what you did so I can see where it went wrong?
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Sorry man I trashed it all an went back to stock
The main problem though was the notifications because they don't stack in till it hits the breaker so I tryed to move it all the way over to the side where it will hit after the 2nd notification
The signal an wifi need a new script I didn't mess with it I tryed the notifications first and clock with out am pm because if it's 7:00 an getting dark you know it's night
It's not much just 2 things that were moved (4 counting landscape)
Sent from my SGH-T839 using xda app-developers app
please download the new battery icon on page 2 it should fix invisible charging battery
Hey great job! When I get to a computer I can upload you a bunch of icon packs if you would like to make some more, love seeing people working on this kind of stuff!
Sent from my Nexus 7 using xda premium
demkantor said:
Hey great job! When I get to a computer I can upload you a bunch of icon packs if you would like to make some more, love seeing people working on this kind of stuff!
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Yea I'll mess with some more
I have to fix the last one charging from 27%to 99% is blank >.< mostly because the theme didn't have them so I'm just going to make dues an rename them
Sent from my SGH-T839 using xda app-developers app
okay new battery file with fixed charging issue (please note i have not tested this!!! nor am i responsible for how you phone will look after or any issues you may encounter)
the battery icon is this one in the link
(the original post
http://forum.xda-developers.com/showthread.php?t=1210767
not signed (im lazy and did it off the honey comb battery demkantor uploaded)
just go to install zip and disable signature verification
it looks really nice to me (was looking for maybe a blue colored one but it seems this battery icon is dead i couldn't find any others with working links
I'll be making more battery's if you want something give me a download with all the icons
demkantor said:
ok im assuming windows, can be done in linux as well, if you using mac i wont help
this is what you need
http://www.7-zip.org/
http://notepad-plus-plus.org/
http://apkmultitool.com/
https://play.google.com/stor/apps/details?id=com.speedsoftware.rootexplorer
http://sinfulandroid.com/showthread.php/2597-SignApk-Sign-Your-Android-APK-File
or something similar, you can push and pull with adb too
first so you know how to do it lets do this, make a back up, flash a different rom for our phone (one with a battery mod you like but similar base)
use root explorer, go to system>framework>framework-res.apk, copy it (may have to make r/w) and save it to sd card
or you can use adb
adb pull /system/framework/framework-res.apk c:\desktop
this will put the .apk on your desktop or you just take the one from sd card if you used root explorer
now use 7zip to open the flashable zip i made (extract files)
in the folder go to system>framework>and swap out the two framework-res.apks
now back out of folder until all you see is system folder and META-INF
highlight both
right click
choose add to archive
name it NEWBATTERYICON.zip (exactly)
make sure compression is set to store and hit go
not you have a flashable .zip, but its not signed, so either toggle verification in recovery or lets quick sign it
How To sign
need the latest java installed, get from below if needed
http://www.oracle.com/technetwork/java/javase/downloads/java-archive-downloads-javase7-521261.html
take the signapk.jar tool
put it on the root of computer (directly in c:// no other folder)
open it up, place NEWBATTERYICON.zip in this folder allong with the other garbage
now open cmd in same location (hold shift, rightclick in folder and choose open command here or cd:/SignApk)
copy this and paste into cmd
java -jar signapk.jar certificate.pem key.pk8 NEWBATTERYICON.zip NEWBATTERYICON-signed.zip
hit enter and wait a couple seconds
now use place the newly signed zip on sdcard and flash in recovery!
ok this was long, so if you handle all this fine let me know and ill teach how to modify vs just extracting and swapping!
good luck! and as always...
HAPPY FLASHING!
Click to expand...
Click to collapse
Thanks, demkantor~ I've tried this extracting and swapping on other device, instead of SK4G, coz I couldn't find a good alternate rom to flash
Now lemme see how I can handle 'modify' phase of modding, I think I passed the 'extracting and swapping' phase, thanks to you :victory:
immorality said:
okay new battery file with fixed charging issue (please note i have not tested this!!! nor am i responsible for how you phone will look after or any issues you may encounter)
the battery icon is this one in the link
(the original post
http://forum.xda-developers.com/showthread.php?t=1210767
not signed (im lazy and did it off the honey comb battery demkantor uploaded)
just go to install zip and disable signature verification
it looks really nice to me (was looking for maybe a blue colored one but it seems this battery icon is dead i couldn't find any others with working links
I'll be making more battery's if you want something give me a download with all the icons
Click to expand...
Click to collapse
wow, thanks. I'll definitely test it, I didn't bring my SK4G right now, will report the result tomorrow.
Yeah you can't use the framework from a different phone, but the icons are fine to use and flash. I'll be at a computer soon and I'll post some more icons as well instructions to decompile the framework-res.apk and swap icons
Sent from my Nexus 7 using xda premium
quick guide
sorry took me a while to get to a computer, ok here you go:
need to extract the apk tool from the the download all to one folder, open that folder and open a terminal into that location (hold shift and right click there or cd to it)
then make sure the system-res.apk is in this folder too
run this is terminal
Code:
java -jar apktool.jar if framework-res.apk
now run this
Code:
apktool d -f -r framework-res.apk
this creates a new folder, open it up, find res> drawable-hdpi
swap out the wanted icons for battery or whatever
once done run this in terminal
Code:
apktool b -f -d framework-res
wait a couple seconds to finish, open up that framework-res folder and youll see a new folder called build and one called dist, look in there for new apk
and just push it phone and change permissions or follow my instructions before to add it into my prebuilt flashable zips (best if you sign it too)
here is some various icons for you as well
OGBatteryMod v2.1.0.zip - 27.71 MB
also its hard for me to remember all the steps and what i type in terminal so i just made another one (bubbles) so i could make this guide, i am attaching it here. i dont have my phone to test it but this is the same way as the others so it should work fine. oh also i never upgraded my apktool so im using a real old build but the newer ones work similar i suppose, if not i can link you to the build i use or will update to a newer tool and see where the differences lie
good luck guys! im real glad you two are picking this up, its great to see so many interested in starting to develop!
and for anyone else wanting to try your hand at ill let you know once you get the hang of it something like this will take you ten minuets tops from start to finish.... just saying
as always, Happy Flashing!
demkantor said:
Yeah you can't use the framework from a different phone, but the icons are fine to use and flash. I'll be at a computer soon and I'll post some more icons as well instructions to decompile the framework-res.apk and swap icons
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yea i know that the frameworks are different but all icons are just that a .png file which can be moved around to any phone (faster way to theming for alot of lazy people xD
also i dont like siging them it takes awhile for me cuz everything on my computer is just everywhere. So if anyone would like to all they need is to be signed and done .... plus if they dont know how to turn off the signature check they should probably wait before trying in my opinion
Cyris battery with full charging should work (still going off the honeycomb.zip demkantor uploaded on another thread) i will get to the og battery in just a minute
and if you want i am free the next few weeks i graduated last week \^.^/ so im basically home the entire morning and night so i can make other battery's (p.s upload your framework if you dont want mostly everything blue) or if you give me a simple tut ill do other things as well (not a developer but i can do alot with a little)
p.s. demkantor you can change the icon files via 7zip (extract the files go to system>framework>right click >7zip>open archive>hdmi > then highlight all the icons and drag into archive and your done)
will make a new thread with all theicon mods i make soon and will sign them too
and for everyone else please look at " rom toolbox" for the batterys as well so i dont make multiple ones that are on there
Really? You just used 7zip to open the apk? I never tried, didn't even think of that, nice!
Sent from my Nexus 7 using xda premium
demkantor said:
Really? You just used 7zip to open the apk? I never tried, didn't even think of that, nice!
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
yea save time an less stuff to use
p.s. signing the zips are not working tryed multiple times and different ways
but if your running red voodoo cwm you just have to install the zip no turning on or off things

Categories

Resources