LifeMeter - Custom Battery Life Icon - Hero CDMA Themes and Apps

Attached is also a ZIP file for Froyo (2.2). Unzip the file, which will contain the framework-res.apk which is what you will use!.
So, I've gotten around to working on a modification to a stock application, the 'battery-remaining' icons in the upper right hand corner of the screen. This is for ROMs based off damageless, regaw, and I believe fresh Android 2.1 release keys. Please post your ROM of you are willing to try it out and I haven't named your ROM yet. Do a nandroid backup in case something goes wrong.
This modification uses my work on the framework-res.apk and JsChiSurf's mod that adds the percent of battery left on the icon.
So, here's the guide:
1) Download my framework-res.apk and JsChiSurf's percent-battery.zip and place them in your Android SDK tools directory. Mine is C:\Android\tools, so that's the instructions I will be giving.
2) Attach your phone to your computer using your USB cable.
3) Open up a command prompt, navigate to your tools directory, and make sure your device shows up:
Example:
Code:
C:\>cd C:\Android\tools
C:\Android\tools>adb devices
List of devices attached
{serial Removed} device
C:\Android\tools>
4) Copy your current framework-res.apk to your SD Card using these commands, one per line as shown below:
Code:
adb shell
cd /system/framework
cp framework-res.apk /sdcard/
5) Now, copy my framework-res.apk over your current one:
Code:
exit
adb push framework-res.apk /system/framework/framework-res.apk
When I did this, my phone rebooted. It then showed my new battery icon without a battery percentage in the middle. I then used JsChiSurf's battery percentage mod, which you will download from this thread, place it on your SD Card, and flash it from recovery. The first boot after this flash will take a while because your cache gets rebuilt. Enjoy!
If you like my work, and want to shoot me a dollar or two for a 40 oz (lol) go to my site in my sig and press donate Or, let me know what else you'd like and I will work on getting it created for you.
Please ignore the crap quality of the second screenshot. I had no other way to get a screenshot of how the mod looked while off charge, aside form this drocap thing that I don't like.

My post. Mine.

I'm assuming this slowly ticks down one percent at a time?

mrcharlesiv said:
I'm assuming this slowly ticks down one percent at a time?
Click to expand...
Click to collapse
The icon uses the 7 points of battery that I was able to use from the RegawMOD framework-res.apk ...
0%, 10%, 20%, 40%, 60%, 80%, 100%

does this work with froyo

This is for 2.1 for now. Shoot me your framework-res.apk and I will make it for 2.2.
Sent from my HERO200 using XDA App

jerry43812 said:
This is for 2.1 for now. Shoot me your framework-res.apk and I will make it for 2.2.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
thanks here ya go

ramagwula said:
thanks here ya go
Click to expand...
Click to collapse
nicey on the 2.2 thanks jerry!

sdotcarlisle said:
nicey on the 2.2 thanks jerry!
Click to expand...
Click to collapse
You're welcome dude. 2.2 will be coming soon. Anyone else, who has used this, please report back and let me know it worked, thanks!
I also need someone to contact me that knows how to make an update.zip etc. because I really would appreciate a walkthrough with someone. Thank you again!

Please refer to post #1, in the beginning of the post, for 2.2's version of this modification.

i already had the battery percent mod.
im running fresh 2.3.3.
when i pushed he framework and the phone rebooted..everything force closes.

primerib said:
i already had the battery percent mod.
im running fresh 2.3.3.
when i pushed he framework and the phone rebooted..everything force closes.
Click to expand...
Click to collapse
I don't know if it's cause im tired, but i don't know what you are saying... I get that you are running fresh 2.3.3, and everything force closes... but what did you do? Push this framework on top of a diffrent battery icon?

Might wanna restore your Nandroid backup that you should have made, and shoot me the framework-res.apk out of the fresh 2.3.3 ROM and I will knock that out for you as well. None of the work I did would have caused force closes for you...

Related

Jonnybueno's customizations Now with more RED!!!

Here are some things you can use to customize your rooted droid incredible. I'd like to thank Jairomeo, bgill, HOCKEY, kmobs, htc and motorola as well as unrevoked and xda.
Apply these mods at your own risk... I accept no responsibility for anything that may happen to your phone or you.
New Awesome Framework/htc resources kanged from cubanaso
props!!! all credit goes to him!!! Please donate if you like his work
Download for stock 2.1 Sense:
Htc resource apk with red drawables
framework with stock sense notifications
framework with red notification icons seen in link above
To install:
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
Framework-res.apk with red highlights for Stock 2.1 Sense---
download:http://www.mediafire.com/file/nmimngkn5mj/framework-res.apk
To install
boot into recovery
choose mount /system
put framework-res.apk into tools folder in your sdk directory
put com.htc-resources.apk into tools folder in your sdk directory
open command line to tools folder in your android sdk directory
Code:
adb push framework-res.apk /system/framework/
adb push com.htc.resources.apk /system/framework/
reboot
fonts seen in above screenshots
to install:
download fonts.zip and extract folder fonts
put fonts folder into tools folder
boot into recovery
Code:
adb push fonts /system/fonts
Modded DroidX live Wallpaper
Download: http://www.mediafire.com/file/n4jbyezugmi/Droidx-modded-htc.apk
To install: use file manager
A different mod
Download: http://www.mediafire.com/?zlkzdjhicvg
galaxy s ocean waves mod
download: http://www.mediafire.com/?mhvqy2in3fn
galaxy s dandelion mod
download: http://www.mediafire.com/?zin2gn23nyg
Icons seen in above screenshots
Download: http://www.mediafire.com/?znzw3wmjm0q
To install: use folder organizer or bettercut
Thanks for sharing!
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
skaterA223 said:
Thanks! This is exactly what im looking for. Wish i could have more red though, some thing are still green but that's a sense thing.
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
No problem... i uploaded newer framework apk... try that one out
this is great, i hope in newer updates you can kill more of the green
b00sted said:
this is great, i hope in newer updates you can kill more of the green
Click to expand...
Click to collapse
When we get something without sense, for sure
how do you get the fonts to work? pushed them no problem.. framework worked fine
worm- said:
how do you get the fonts to work? pushed them no problem.. framework worked fine
Click to expand...
Click to collapse
did you get an error message? doing it in recovery right? make sure folder is extracted
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
worm- said:
yep, all the font files pushed no problem, when i rebooted nothing changed w/ fonts
i'll re push, push in recovery w/ /system mounted i'm assuming
Click to expand...
Click to collapse
You assume correct...
I just tried my own instructions, and everything pushed just fine.
worm- said:
yo another question, edited framework apk to change battery indicator from red to blue, now it has a white box behind it, how do we fix this
Click to expand...
Click to collapse
What program did you use to edit pngs? wanna upload the color and I'll see what i can do?
jonnybueno said:
No problem... i uploaded newer framework apk... try that one out
Click to expand...
Click to collapse
Love the font but I wish everything was red. The mix of red and green looks a bit strange.
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
jonnybueno said:
I'm too lazy to edit the htc resources apk... .9 pngs are no fun, and with no /system write access, its a pita to test themes. I need my phone right now and seeing as how vzw is a cdma carrier, its a pain to switch phones. Believe me, the green bothers me just as much as it bothers you guys... but I'm just gonna wait it out till koush ports cm to our phones. Having the source for .9 pngs makes things a lot easier for theming, and I don't want to waste any time.
Click to expand...
Click to collapse
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
b00sted said:
completely understandable.. you do know i will need you to help me get the lamppu widget to go red and SwitchPro widget too or else I may go mad with disorder lol
Click to expand...
Click to collapse
Lampu is easy I'll do that now... switchpro is paid though so i can't upload that
Heres Lamppu
http://www.mediafire.com/?zytnejm2imk
You should try ExtendedControls instead of switch pro... transparency as well as different color schemes
Hey thanks for everything love all the red...its understandable that certain things will remain green....one thing tho...the date isn't centered properly on the unlock screen. The tab you slide down..
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Good to see some of my work getting over to the incredible. As soon as I get some time ill try and port over my themes.
This is a nice and minimalist tweak. Thank you.
2 questions:
1) If I load just the framework file, will the stock Droid fonts stay in use? (would prefer those over your modded version)
2) Any chance you'd consider doing a blue version? I think the blue mixed with the un-editable sense green would go a little better than the red.
jonnybueno said:
bump for less green... yay for "borrowing" from others. go donate to that guy somehow. Check out first post.
Click to expand...
Click to collapse
Excellent! Any chance of getting those battery icons that show the percentage?

[Q]Kspec battery icon with Cyanogen 6.1 RC1

Hi all!
I've Cyanogen 6.1 RC1 on my Nexus One. I'd like to know if I can replace the default battery icon with the Kspec's battery icon.
I'm talking about the icon below this post.
Thanks a lot!
Any user can help me about it?
Hello,
Try here,
http://circle.glx.nl/
should have nexus cyanogen framework on it, other wise you can up load the one from your phone.
Was using for my desire, so please check about nexus one.
Sent from the 25th century.
I've just checked but there aren't the icons that I said before.
You can make this easily with metamorph.
Could you give me the file, please? Thanks!
Is there any file for Metamorph with this icons?
OK, now I have not much time.
Look in my siganture, download one of my themes (Take Nicer Battery Icons), delete everything except the framework-res folder and the *.xml file.
In the frame-res folder is an folder called res and therein is a folder called drawable-hdpi.
Delete everything in this foƶder and copy your battery icons in this empty folder.
Now you can copy the main folder to your SDCard in the Folder "AndroidThemes"
Start Metamorph and apply this as a "excist theme". (Or so, in German it is "existierendes theme")
wait and reboot when ready!
I've tried this way with KspecBattery.zip but it doesn't work. For long time it says me: "Applying..." but doesn't work.
If you want, you can try with KspecBattery.zip and say me if it works. Please!
The file is okay. It should work on every ROM.
Don't disable the checks in metamorph and the delay must be around 4200
You have to play a bit with it.
Let the phone do it, it can take a minute.
Are you talking about KspecBattery.zip? It's ok?
Sorry for my english.
Here is update.zip KspecBattery for NIGHTLY 245 http://www.4shared.com/file/NQdYVAML/KspecBattery-signed.html
I've Cyanogen 6.1 RC1. It's the same thing?
I've just tried to flash that Nightly version but the phone goes in loop. It's old, I think.
DarkSun88 said:
I've just checked but there aren't the icons that I said before.
Click to expand...
Click to collapse
Yes, there is!
and you can make it into colours you like.
Sent from the 25th century.
If you take a careful look, you'll note the icons that I've said in the first post are different than the icons in UOTKitchen.
Formel-LMS said:
The file is okay. It should work on every ROM.
Don't disable the checks in metamorph and the delay must be around 4200
You have to play a bit with it.
Let the phone do it, it can take a minute.
Click to expand...
Click to collapse
I've tried another time with that file but it doesn't work, again. What should I do?
Anyone has any idea?
I've fixed with the Wipe way and Metamorph file. Thanks a lot.
Remember turning on usb debugging before using metamorph.
Sent from my Nexus One using XDA App

Question: Changing JUST the battery icon in status bar

I like the default Froyo theme but the battery Icon in the status bar is completely worthless because it doesn't accurately reflect the current percent remaining.
Is is possible to change only this icon?
obliviator33 said:
I like the default Froyo theme but the battery Icon in the status bar is completely worthless because it doesn't accurately reflect the current percent remaining.
Is is possible to change only this icon?
Click to expand...
Click to collapse
If you have flashed the Froyo Pick-n-Pack ROM, you can go to the UOT kitchen here, and upload the framework-res.apk file from the ROM. It will implement accurate battery mod for you and then you just have to flash the package that comes out. Pretty easy to do.
Success! Thank you. That website is very handy.
phidelt82...what are your super secret mods and rom...i wanna try it...not knowing is killin me...lmao
Without getting too in depth, I'll try to explain;
To change battery pictures, you must open the framework-res.apk file in 7zip and replace the existing .png files with the ones you want (while i'ts still "compressed" aka packaged, DO NOT UNZIP IT. Sounds easy, but it get's complicated;
Accurate battery mod means that the XML has been edited to show an image at more specific battery levels (1,2,3,4,5...) So, if what ever theme/rom you're trying to change already has this mod in it then you just have to make sure that the theme you're pulling the new clock images from also has the mod. This is obvious because there are more images than the stock version (it went by 10's and 15's)
EDIT: Just going to leave this random bit of info here lol..
bdemartino said:
Without getting too in depth, I'll try to explain;
To change clock pictures, you must open the framework-res.apk file in 7zip and replace the existing .png files with the ones you want. Sounds easy, but it get's complicated;
Accurate battery mod means that the XML has been edited to show an image at more specific battery levels (1,2,3,4,5...) So, if what ever theme/rom you're trying to change already has this mod in it then you just have to make sure that the theme you're pulling the new clock images from also has the mod. This is obvious because there are more images than the stock version (it went by 10's and 15's)
If you're trying to create a new theme, the best thing to do is to take the pick and pack rom over to UTO Kitchen choose the new icons you want with their tools, then upload the framework-res.apk from PNP and it will add the mod and the new images for you, which you can then flash on your phone.
Click to expand...
Click to collapse
I think he was actually referring to Phidelt's "projects" he's been hinting at and referring to in his sig lately. Good info on themeing though!
akellar said:
I think he was actually referring to Phidelt's "projects" he's been hinting at and referring to in his sig lately. Good info on themeing though!
Click to expand...
Click to collapse
Yea.... for some reason I didn't even see phidelt's post...we'll just pretend that question was asked instead lol (you may want to edit your quote since I was a dumbass the first time)
I'm having trouble finding the rom on the website. What is it under?
Sent from my SCH-I500 using XDA App
gr4ybu5h said:
I'm having trouble finding the rom on the website. What is it under?
Sent from my SCH-I500 using XDA App
Click to expand...
Click to collapse
After you've selected your battery icons and color it should give you the option to upload your framework-res.apk, after that when you go to the pickup page there should be a heading of "my uploads" or something, seperate from the rest of them. That will be the one you did.
It seems as though this has to be done from your computer. Am I wrong? I tried doing it from my phone and when I click on "choose file", it takes me to a page where it says "no files found"
Sent from my SCH-I500 using XDA App
Alright. I finally found where to upload the file (using the computer and not the phone). Now everytime I try to upload the framework-res.apk file, the upload fails. Am I doing something wrong?
I had to try a few times too, it's finicky.
Swyped from my Mesmerize
I got it to upload and it spit out a file. I flashed the file it gave me and the battery icon is still the same
Sent from my SCH-I500 using XDA App
Sorry I keep bringing up this topic but I've tried flashing the .zip that the kitchen spits out twice. I've disabled lagfix. It doesn't seem to want to work for me. I may to give up on this mod. Is there a detail that I'm missing? Heres what I'm doing:
I have the unzipped PnP file on my computer.
I go to the kitchen and cook up my file.
I upload my framework-res.apk.
It takes like 10-15 mins. And receive my file.
From my computer, I put the file it cooked up on my sd card.
Boot into recovery, Disable lagfix and reboot
Boot into recovery again, select install .zip from sd card
Select my cooked up file, and reboot
And my battery is still the same
What am I doing wrong?
Sent from my SCH-I500 using XDA App

[MOD]/[HOWTO] Make Sense ROMs Show 3G/1X - Some ROMs Already Done

Update: Since I have moved on to the Epic 4G Touch, I created a thread over there that describes how to do it for that phone.
The E4GT is a Gingerbread ROM, so if you want a detailed set of instructions for Gingerbread ROMs, you can try that thread out. You will still need to search for and replace the data mentioned in this thread, but the instructions for extracting the classes.dex out of SystemUI.apk and putting them back are the same.
Disclaimer: I have only (successfully) tested this with Koni's ELITE Series II ROM. I believe this to be a fairly easy fix for most Sense ROMs, and is likely portable to any CDMA ROM initially provided by HTC. I also searched the forums and didn't see a walkthrough like this, so I'm putting on my flame-resistant suit.
I take no responsibility for what dissatisfaction or damages to your phone this causes. It may, in fact, set your house on fire or cause you to always lose at Yahtzee!
Credits:
Calk for pointing me in the right direction!!!
The brave XDA members who try these instructions and report their success or failure!!!
XDA for being a great source of information!!!
XDA members for thinking outside of the box!!!
Background: One of the main things I like about CyanogenMod is the fact that it shows when your signal is on 3G/1X. Calkulin's EViO ROM also has the ability to show 3G/1X. In a thread discussing the signal indicator in the status bar, Calk mentioned that the secret lies in HtcCdmaStatusBar.smali in the services.jar file. I've never really done any modifications before, besides trying to hack the framework-res.apk file (aimlessly) in this pursuit before I saw Calk's post.
This mod relies on the assumption that your ROM developer has not deleted any of the 1x files in the ROM. The developer CAN theme or otherwise change the images as long as the file names remain the same.
WARNING!! If you have already performed mods to your ROM (new status bar stuff, transparancies, etc), it's likely you already have a modified services.jar file. In this case, you NEED to use step 1b to pull the services.jar file from your phone. If you do not, it is quite likely that your pre-existing mods will either break, or your phone may bootloop, etc.
Now to the good stuff.
What you need to perform this mod:
1. A HTC Sense ROM ZIP file, or a phone running a Sense ROM -- AOSP already has the correct indicators.
2. The Java SDK -- So you can run Smali.
3. Smali/Baksmali -- So you can decompile/compile the classes.dex file.
4. Android SDK -- To push/pull files from your phone (adb only).
Ease Of Use Tip: Install Java SDK first, then Android SDK (if you need adb). Download the smali files (smali-1.2.6.jar and baksmali-1.2.6.jar at the time of this writing) to a new "working" folder where we can do our magic.
Instructions:
1a. [If you are using a base Sense ROM ZIP File]: Use 7zip/WinRAR/WinZip to open the ROM ZIP file. Navigate to system\framework and extract services.jar to your "working" folder.
1b. [If you want to grab your services.jar from your running phone]: Use adb to pull services.jar to your working folder. Example: adb pull /system/framework/services.jar C:\Working\services.jar To avoid problems, ONLY USE adb to pull/push services.jar. Phone apps may cause unknown issues.
2. Open services.jar in 7zip/WinRAR/WinZip (it's really a ZIP file) and extract classes.dex to your "working" folder.
3. Go to a command prompt in your "working" folder and run the following command: java -jar baksmali-1.2.6.jar -o output/ classes.dex
4. Browse to your "working" folder and see that there is now an "output" folder inside, with other subfolders. Browse to "output"\com\android\server\status.
5. Edit the file named HtcCdmaStatusBar.smali and look for the following text. The key is to search for "getDataNetworkIconList_1x" to make sure you don't change the wrong icons. The line in bold is the problem:
Code:
.method public static final getDataNetworkIconList_1x()[I
.registers 1
.prologue
.line 308
[B] sget-object v0, Lcom/android/server/status/HtcCdmaStatusBar;->sDataNetType_3g_cdma:[I[/B]
return-object v0
.end method
6. Change that line to say sget-object v0, Lcom/android/server/status/HtcCdmaStatusBar;->sDataNetType_1x:[I
7. Save HtcCdmaStatusBar.smali.
8. Go back to your command prompt and change to your "working" folder and issue the following command: java -jar smali-1.2.6.jar output/ -o newclasses.dex
9. If there weren't any errors, go ahead and rename the original classes.dex to classes.old and rename newclasses.dex to classes.dex.
10. Use 7zip/WinRAR/WinZip and drag your new classes.dex file into services.jar (replacing the old one).
11. Push the new file to your phone. Run the following commands from a command prompt in your "working" folder. NOTE: The last command will reboot your phone. To avoid problems, ONLY USE adb to pull/push services.jar. Phone apps may cause unknown issues.
a. adb remount
b. adb push services.jar /system/framework
c. adb shell reboot
The first boot after following step 11 may take a really long time. The phone likely needs to reprocess the dalvik cache because of the services.jar change. Please be patient while this occurs. Thanks snovvman for that tip.
For those of you on ELITE Series II ***BASE ONLY, NO MODS***, I am attaching an already updated services.jar file. It is currently named elite-services.zip. You must rename it to services.jar before you push the file, or rename it in your "adb push" command.
Please let me know whether or not this worked for you. I'd like to make a list of ROMs (with applicable mods) this works for or doesn't work for.
I will do whatever I can to help if you are struggling. If there's something you don't understand, please let me know. I can update the instructions if I accidentally wrote something wrong.
Updates
Well, somehow my little thread has made it to the front page. Thanks to anyone who voted it there!
Just another note -- we have at least one non-EVO ROM that has been successfully modified (IncROM). I'd love it if some other CDMA HTC phones got some love too. It's really silly of HTC and the carriers to keep the phones displaying 3G all the time. This mod should work with ANY CDMA HTC Sense phone.
Working/Broken ROMs
This section lists ROMs and versions of successful 1x mods. Please let me know if you have a successful mod and whether or not it is a stock ROM or a mod has already modified the services.jar file.
Make sure if you want to use any of the attached files that you rename the file either while you are pushing with adb or before you push with adb. Do not use Root Explorer or other phone apps to push/pull the services.jar as they may cause unknown issues.
ROMs by Name/Version/Other Mods (Alpha Order)
ELITE Series II by Konikub / ACS [Stock] - Modded by nivron [here].
ELITE Series III by Konikub / ACS [Stock] - Modded by nivron [here].
Eternal Prophecy by DrRyder - Already built-in to his ROM.
EViO 2 v1.8 by Calkulin - Already built-in to his ROM.
Fresh Evo v3.5.0.1 by Flipzmode [Stock] - Modded by Ph33zy [here]. JoeLithium mentions that this version also appears to work without issues on Sprint Lovers ROM.
IncROM v1.5 Beta by lllboredlll [Stock] - Modded by jonno95 [here]
MikFroYo v4.2 by aamikam [GPS Reticle Removed] - Modded by snovvman [here]
MikFroYo v4.5 (deodex) by aamikam [Stock] - Modded by debarron [here]
MikFroYo v4.6 B2 (odex) by aamikam [GPS Reticle / USB Debug Removed] - Modded by debarron [here]
VaelPak 3.2 RC 1 by vaelek [Stock] - Modded by kcbedo [here]
Every ROM I've ever used shows 1x when texting. Are you talking about when you're actually on a call, and the symbol goes away?
I'm referring to data signals on Sense ROMs. They all default to 3G even when you are on 1X. Calk's EViO being the only exception I know about.
CM and other AOSP ROMs also show the correct signal type.
clamknuckle said:
Every ROM I've ever used shows 1x when texting. Are you talking about when you're actually on a call, and the symbol goes away?
Click to expand...
Click to collapse
Ill have to try this out on the new mik rom. I haven't seen any sense rom showing 1x yet.
Sent from my EVO using Tapatalk
Cool, let me know if you get stuck.
fr0st420 said:
Ill have to try this out on the new mik rom. I haven't seen any sense rom showing 1x yet.
Sent from my EVO using Tapatalk
Click to expand...
Click to collapse
Thanks... this worked perfectly for me I think for Fresh's ROM. Haven't been in a 1X area yet, but sent myself a text message and briefly saw a 1X symbol pop up. Just wanted to point out that you had the spelling of "output" wrong in step 8, but other than that, the instructions were pretty easy!
I attached the file for Fresh 3.5.0.1 in case any other Fresh users want it- Just remove .zip from the file and push to your phone.
Awesome news! Thanks for the typo find. I will fix it when I get home. If you're okay with it, I will link it in my reserved post above (with credit to you, of course) and mark it "working". Do you know for sure if its a stock services.jar from Fresh, or do you have other mods that may have changed it?
Ph33zy said:
Thanks... this worked perfectly for me I think for Fresh's ROM. Haven't been in a 1X area yet, but sent myself a text message and briefly saw a 1X symbol pop up. Just wanted to point out that you had the spelling of "output" wrong in step 8, but other than that, the instructions were pretty easy!
I attached the file for Fresh 3.5.0.1 in case any other Fresh users want it- Just remove .zip from the file and push to your phone.
Click to expand...
Click to collapse
Sent from my EVO 4G via Tapatalk
nivron said:
Awesome news! Thanks for the typo find. I will fix it when I get home. If you're okay with it, I will link it in my reserved post above (with credit to you, of course) and mark it "working". Do you know for sure if its a stock services.jar from Fresh, or do you have other mods that may have changed it?
Sent from my EVO 4G via Tapatalk
Click to expand...
Click to collapse
It's a stock Fresh Jar...and of course it's okay.. you and Calk did all the work.. i just followed your instructions...
MikFroyo 4.2, looking good. I too, sent an SMS and saw 1x for a brief moment for the first time. Looking at HtcCdmaStatusBar.smali, it is so clear that the phone is told to display the 3G graphics when in 1x. Good find and thanks for sharing!
By the way, you might want to mention in the first post that first reboot will take a while. There is nothing wrong, just wait and let it finish. I'm gussing it is re-compiling or something...
Calk found it. I just wrote it up since I couldn't find it anywhere.
If you have a "stock" Mik services.jar with the fix, do you want to upload it so we can share it in the third post?
I didn't have a long time after my first reboot... It's probably related to a dalvik rebuild or something because of the jar changes. I'll make a note of it. Thanks!
snovvman said:
MikFroyo 4.2, looking good. I too, sent an SMS and saw 1x for a brief moment for the first time. Looking at HtcCdmaStatusBar.smali, it is so clear that the phone is told to display the 3G graphics when in 1x. Good find and thanks for sharing!
By the way, you might want to mention in the first post that first reboot will take a while. There is nothing wrong, just wait and let it finish. I'm gussing it is re-compiling or something...
Click to expand...
Click to collapse
nivron said:
Calk found it. I just wrote it up since I couldn't find it anywhere.
If you have a "stock" Mik services.jar with the fix, do you want to upload it so we can share it in the third post?
I didn't have a long time after my first reboot... It's probably related to a dalvik rebuild or something because of the jar changes. I'll make a note of it. Thanks!
Click to expand...
Click to collapse
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
I added a link to your post in the "working ROMs" section. I also put a note about Root Explorer in post #1 and #3. Thanks for testing this out.
snovvman said:
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
Click to expand...
Click to collapse
One more test to confirm that it works: I forced the phone into roam, and 1x popped right up, for the FIRST TIME!!!
Regardless of the discovery, I always appreciate someone taking the time to write up detailed information/instructions. I will try this later tonight on my Epic. I expect that it will also work there. Cool!!
Share the love over there if it works. I really think it will work with any HTC Sense phone.
snovvman said:
One more test to confirm that it works: I forced the phone into roam, and 1x popped right up, for the FIRST TIME!!!
Regardless of the discovery, I always appreciate someone taking the time to write up detailed information/instructions. I will try this later tonight on my Epic. I expect that it will also work there. Cool!!
Click to expand...
Click to collapse
snovvman said:
My services.jar also has the GPS reticle removed. When the GPS is being used, the indicator will still come on. It simply removes the static GPS "enabled"/"diabled" indicator for more room on the notification bar. Thus, the attached file has the 1x and GPS mods, for anyone who wants that. It is again for MikFroyo 4.2.
The other item that might be important is to instruct people NOT to use Root Explorer to move/copy services.jar. Use ADB ONLY. I made that mistake before...
Cheers nivron.
Click to expand...
Click to collapse
can you do the same thing for me for a stock sense rom without the 1x, please? i really wanna remove my gps reticule the proper way without simply deleting it.
I got the hack done in my rom, Eternal Prophecy. I don't exactly know how to force the icon to show to make sure that it works, but the hack has been done.
Here's the link to my rom: http://forum.xda-developers.com/showthread.php?t=959776
If you go into EPST with ##3282# and edit the EVDO section, you can change the mode from automatic to cdma only.
raiden89 said:
I got the hack done in my rom, Eternal Prophecy. I don't exactly know how to force the icon to show to make sure that it works, but the hack has been done.
Here's the link to my rom: http://forum.xda-developers.com/showthread.php?t=959776
Click to expand...
Click to collapse
Sent from my PC36100 using Tapatalk
nivron said:
If you go into EPST with ##3282# and edit the EVDO section, you can change the mode from automatic to cdma only.
Click to expand...
Click to collapse
Worked perfectly and confirmed.

[TUTORIAL] User-Friendly Custom Lock-Rings for Sense 3.0 (EVO 4G)

After going through many of the different lock ring tutorials, I have noticed that they all have something in common: They are too user intensive and prone to user-error. Sure, once you have it down, it's easy. But it can be daunting to start out.
All I have done here is make it EXTREMELY user friendly.
No more copying and pasting into ZIPs and APKs!!
No more fishing around the Templates tree in M10 Tools!!!
Simply run the BATCH file, get a cup of coffee, and then flash!
Here are the detailed instructions... (also in the Read-Me)
0. Make sure you have installed Microsoft .net 4 framework on your machine.
http://www.microsoft.com/net
1. Unpack User_Friendly_Lock_Screen_Kit_v1.04.zip (Where you put the file does not matter anymore!!!! For example purposes, I will use C:\Lock_Ring_Kit)
2. Copy your image into C:\Lock_Ring_Kit and name it LockRing.png
Image requirements:
a. Must be a PNG file
b. Image must be 271 x 270 pixels (If it is not the right size, it will come out looking funny (270x271 WILL NOT WORK)
c. The image must be rotated 180 degrees and reflected horizontally.
3. Double-click "LockRingCreator.bat" and let it do its thing.
4. Flashable.zip was just created for you. Rename it whatever you wish.
5. Copy it to the root of your SD card, boot into recovery, and flash
The BATCH file cleans up after itself. You don't have to go through and delete any of the old files. If you want to make another one, just change out the PNG and run it again. My desktop is pretty old, and the BATCH takes about 2 minutes to run.
I have only tested this on Synergy, but I assume that it will work on similar ROMs. I also believe that it will work on the Thunderbolt (can someone confirm that?)
All files are included in the ZIP.
User_Friendly_Lock_Ring_Kit_v1.05.zip
Error Reporting
This is a work in progress. If you have an issue, please post it on the thread. Also, please copy and paste the output from the command prompt so we can get to the bottom of it. (Right click on command prompt, Select All, the then press ENTER. It is now ready to paste.)
Acknowledgments:
jmaher1023 - I used his process as a template. All that my BATCH file does is automate his process
Flemmard and DiamondBack2010- I have no idea what M10 Tools does or how much trouble they had to go through to make it, but I do know that it is the heart and soul of this whole operation.
Confirmed ROMS
Gingeritis3d
Synergy RLS 1
InCompatible ROMS
Kinged Shooter RLS 2.3
I'll try this out, thanks alot dude.
One thing you didn't mention is that the images still need to be 271 X 270 or they won't look right. Other than that this works on Gingeritis3d. (And if I want to say I was the one to create the lock ring I might edit the script) lol. Very good work though man. Very useful tool. Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
TDubKong said:
One thing you didn't mention is that the images still need to be 270 X 270 or they won't look right.
Click to expand...
Click to collapse
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
TDubKong said:
Other than that this works on Gingeritis3d.
Click to expand...
Click to collapse
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
TDubKong said:
(And if I want to say I was the one to create the lock ring I might edit the script) lol.
Click to expand...
Click to collapse
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
TDubKong said:
Have you been able to find where the images are located for the Amazing sense skin? I haven't found those yet and want to use that semi transparent tool bar at the bottom but dont want to use a different launcher
Click to expand...
Click to collapse
No Idea
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
did you
IDRFT95S14 said:
somehow i cant get it to work ive followed every step but when i run the
"LockRingCreator.bat" it just goes into cmd really fast and nothing happens
Click to expand...
Click to collapse
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
gamendorf said:
Fixed in OP. I put that in the ReadMe, but forgot it on the thread Thanks for the reminder.
Thanks for letting me know. I'll add a lit of confirmed ROMS that this works for.
Navigate to C:\Lock_Ring_KitTemplate\META-INF\com\google\android
There is a file named "updater-script" Rename it updater-script.txt, and open it for editing. Just look for my name and replace it with yours. Make sure you take the .txt off after saving
No Idea
Click to expand...
Click to collapse
Thanks brudda. I was only kidding about renaming the script. I knew where to find it. I can run a couple other ROMS if you want. I got nothing better to do tonight. Let me know which ones you want to add to your list and i'll do a couple.
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Forgot to mention I am running Gingeritis 3D Beta VIII. And I do have .net 4 installed. Maybe thats why i didn't have any issues. Also I didn't even read the read me file. oops.
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
You're right. Oops. Zip file has been updated
life_420 said:
just downloaded will test in a minute on mik3d beta1, but in the read me file, no sizes for pic you intend to use (just a heads up).
Click to expand...
Click to collapse
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
gamendorf said:
What operating system are you running? Do you have Microsoft .net 4 framework installed on your system?
When it is working properly, after you run the BATCH file you should see a command window running various commands for a little while.
Click to expand...
Click to collapse
windows 7 i looked it up and it does have the Microsoft .net 4 framework intalled ,im thinking i just didnt name something right ill try what TDubKong suggested VVV and ill get back
TDubKong said:
did you make sure the file was named LockRing and was a png format? Something else to consider is that if you named a png image lockring.png then when it looks for the file it will see lockring.png.png so make sure it is a png format image but only name it LockRing.Hope this helps
Click to expand...
Click to collapse
TDubKong said:
Love my DropBox. Tried a few other apps like Minus and another but they are just not so user friendly and helpful. Although a couple have more GB.
Click to expand...
Click to collapse
dropbox has been the easiest, havent hit a limit yet, except storage space..... which i upgraded to eliminate that problem, all the others i have tried i cant upload anything because they limit file sizes that you can upload, where as dropbox just syncs with your desktop, takes awhile but works.
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
edit:
wait i just checked windows update and it has 2 updates for net framework 4 lol
nice i was using the copy paste way. i use one like this for the 3d(that was made by triscuit1983.
still didnt work for me, oh well back to m10 editor... thanx anyways
did you put it on your c drive i had that problem on the one for the 3d
I will try again tomorrow, work in the morning
Sent from my PC36100 using xda premium
life_420 said:
just tried it to make a flashable zip and it did the same thing as other guy, flashed the cmd prompt super quick, no zip created.....
Click to expand...
Click to collapse
dased14 said:
did you put it on your c drive i had that problem on the one for the 3d
Click to expand...
Click to collapse
Make sure that you unzip the files to C:\Lock_Ring_Kit. When I install them somewhere else ("C:\Lock_Ring_Kit______"), I get the same error you do. However, the BATCH file did what it was supposed to do. Since C:\Lock_Ring_Kit did not exist, it created it, and there is a "Working" folder as well as a "Flashable.zip" there. But, since the original files were not in the right place, it is useless.
When the command prompt just flashes, what that means is that M10Tools are not having a chance to run. The only explanation I have for that as of right now is that the files are not in the right location. Also make sure that you named the image LockRing.png.
I'll see about making the batch file spit out an error code, but it might be a few days before I can get around to it. I'll keep yall posted.

Categories

Resources