yashsingh1/xdaforums huggingface dataset:
[EVO 4G Q&A, Help & Troubleshooting] nukedukem:
Yeah that looks to be more deeply embedded than a couple png changes. You would probably need to figure out what files manipulate the size and screen orientation of the battery meter. If you are serious about getting it, you could compare the miui build before that battery was implemented with the first version of miui that had the new battery. Using diff software you might be able to find all the battery changes.
[EVO 4G Q&A, Help & Troubleshooting] EndlessDissent:
Might be hard to get a version of MIUI without the top-bar battery. It's been in there since at least October, when I started using it.

As for the person wondering if you're SOL, the MIUI team had to add it with no examples or code, so it could be done in CM. It's just a matter of finding someone who's willing to do it from scratch.
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
I would be.

If only I knew how lol
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
Well I've looked around the framework-Res and I think I found the .pngs and the .XML file associated with the icon. But I can't see how it works. The XML is only 3 lines and doesn't seem like it would be animated when charging. But I don't have a good understanding of how it works and could be way off. Anyone else have a chance to look around? Or maybe have some ideas? Anything helps
[EVO 4G Q&A, Help & Troubleshooting] xfullmetal17:
Animated .png files? For that matter, it seems to me that the top battery could be made up of a bunch of small .png images: maybe like a 10x2 .png or something, placed next to each other across the top bar to do the battery level. The "animation" you see could be a script just moving one of those small images across the top bar to where the battery level currently is, also controlling acceleration and the like.

Just throwing a wild guess out there, but it would help if we knew what those .png files looked like.

*madly hoping something like this could be brought over to Sense* If it could, I'd permanently stick with Sense for quite a while, especially the new Sense coming out.

edit: cleared up the post a bit now that I'm not half-asleep...
[EVO 4G Q&A, Help & Troubleshooting] EndlessDissent:
I think this is it. If you get a chance to watch it charge, you'll see that a small "dot" or "particle" of the bar moves in from the right edge of the screen to the rest of the line.

For anyone trying to port this, if you haven't done so already, you should flash MIUI, change the battery to top-bar (menu -> settings -> system -> battery settings), and use it for a while. Make sure to put the phone on the charger and watch the animation for a bit, too.
[EVO 4G Q&A, Help & Troubleshooting] xfullmetal17:
When I have more time I'll go digging around... Which directory did you find those files in, Bamba?

edit: since it's a solid color (two technically, if you count the "low battery" color) I'm wondering if it's just a single .png that just gets resized based on battery percentage. alogcat gives the following message when I switch back to the top-bar battery, maybe that would be somewhere to look in... (If I had root explorer I would look myself, but saving up for Pokemon Black and White means not as much money right now)

E/BatteryStatsImpl( 310): java.io.FileNotFoundException: /sys/class/power_supply/battery/current_now (No such file or directory)
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
Now, I could be way off because this is my first time ever looking in framework-res, but I believe it is in /framework-res/res/drawable-hdpi. And if i had to guess I believe the battery_charge_fill_empty.9.png, battery_charge_fill_full.9.png, and battery_charge_fill_warning.9.png are the associated .png's with the battery meter across the top. Also, I think in res/drawable/ its the battery_charge_fill.xml file. Thats my best guess.

If those are the fills, how would we put that in another rom? Would you just add those to the framework-res.apk file in the other rom? I dont understand how they are called by the system, so would they have to be renamed or something? Learning as I go lol

EDIT: Possibly stat_sys_battery.xml and stat_sys_battery_charge.xml. Possibly lol
[EVO 4G Q&A, Help & Troubleshooting] rmaccamr:
In my previous working experience with Windows Mobile 6.1 and xml with Manila, I can say that the code is fairly easy to decipher, even for an amateur. I'd imagine any battery indicator using a percentage counter, using xml, would have code that draws from the mAh remaining on the battery (likely the case), or uses the OS's gauge and changes the battery bar as that counts down (which would require 100 lines of code).

I have not worked with xml lately, but using Miui in the past, judging by the 3 options for the battery display, its much more complex than editing xml. I would think, and this is complete guesswork (and I also just looked into getting that bar 3 seconds ago on Google), that the battery bar is a full package in place of the AOSP battery package.

I'll look into it more in about an hour, just waking up now.
[EVO 4G Q&A, Help & Troubleshooting] xfullmetal17:
Bump.

I believe those .xml files could either be that, or the script for the lockscreen animation. I'll have to look, but if it's in framework-res, assuming the settings could be worked out, theoretically it should work.
[EVO 4G Q&A, Help & Troubleshooting] bjaxon:
Has anyone looked into this anymore? I would just love to have this on Deck's Rom. I wish I knew more about this stuff because I would do it myself, but I will just end up breaking something.
[EVO 4G Q&A, Help & Troubleshooting] jaxboater:
I'd really like this also.
[EVO 4G Q&A, Help & Troubleshooting] EndlessDissent:
Important news for anyone trying to make this work!

A couple weeks ago, MIUI changed the mechanism for the top-bar battery so that it uses .png images instead of XML. I'm not quite sure how that will help, but I'm hoping it will.
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
I'm going to look and see what I can do.
[EVO 4G Q&A, Help & Troubleshooting] oddfuturejoey:
bump ? :/ I really want this for Synergy
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
I've finally got some free time. Im going to look around the new miui to see what I can find. Wish me luck!
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
So I found the .png and .9.png that are used by the battery bar. Does anyone know what calls on those files? I am assuming I can just copy and paste in to another framework-res.apk because it wouldn't know what to do with it. Any ideas?
[EVO 4G Q&A, Help & Troubleshooting] jaxboater:
I'm not sure that a simple copy of the .png files work.

I guess it's time for me to learn about res.apks.
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
Your right. I mean't i am assuming I can't.

Good look on learning, I haven't quite figured it out, but don't have too much time to do so.
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
Howdy Dudes!

i have been trying to do this also,

i have goten it as far as replacing the old icon with a line by editing the xml but to make it apear on the top of the screen i thin we have to edit the services.jar

once decompiled there is a file StatusBarService.smali

there is a function that calls on the xml to get the correct icon, but the thing is i think it is the Same function For all of the status bar icons.

so to do this i think we would have to create a new function for the battery. that doesn't get put into the icons at the top. if you get my drift.

as such i dont know how to proceed. maybe one of you guys can shed some light on this.

source code for the files are in the git but i am strugling to make heads and tails of it all.

http://android.git.kernel.org/?p=pl...ee;f=services/java/com/android/server;hb=HEAD

Thanks Pvy.
[EVO 4G Q&A, Help & Troubleshooting] Ditamae:
+1

I'll love to have this on CM7. I'd even be willing to shell out a couple bucks.
[EVO 4G Q&A, Help & Troubleshooting] X--JollyRoger--X:
I can't believe this would be so hard to get on another rom. I understand it being a pain to port but I never imagined it'd be so difficult just to make
[EVO 4G Q&A, Help & Troubleshooting] markedanderson:
This was something I was looking for in a Sense Rom as well. Recently I ventured over to AOSP and found that the OMFGB Nightlies have this battery feature as well. Maybe someone can find something in that Rom that would help with porting this over to Sense. You can probably barely see it in the attached screenshot, but it is there at the top of the screen. You can customize the colors in the included God Mode app (God Mode -> Status Bar Settings -> Battery Settings).

Does anyone know of any other roms this is on?
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
it is alot easier to include when you work from source code not decompiled apks/jars :D

but thanks for the tip will be good to look at how they did it. maybe progess will be had :D :D

Pvy.
[EVO 4G Q&A, Help & Troubleshooting] lawsonmh15:
It's not... It's a single png. Just started working on this. There's alot of unconventional ****. The non-top bar mods have all the steps in a single png rather than dozens too. It's pretty complex, and there's alot of coordinates and masks used in their xml. I'm no more than 30 minutes in and about to call it quits.
[EVO 4G Q&A, Help & Troubleshooting] EndlessDissent:
To be fair, I posted that a long time ago, before they changed it to use .png images. I was just guessing at the time, and from what I can tell, at the time I posted that, the top-bar battery was done with XML, not images.

In any case, it's just the one png now, so that comment is irrelevant.
[EVO 4G Q&A, Help & Troubleshooting] lawsonmh15:
I didn't look at the post date. Will the Chinese not share **** with you and Jason???
[EVO 4G Q&A, Help & Troubleshooting] EndlessDissent:
Jason and I have no influence in any development issues. We just try our best to offer help on the forums where we can. And the Chinese won't share anything with the devs either. We were lucky they changed the top-bar battery to .png so it could be themed much more easily.
[EVO 4G Q&A, Help & Troubleshooting] lawsonmh15:
Serious Bummer...
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
hey guys

sorry to revive an old thread but,

i rote a custom bar for my 2.3.3 rom if any one is still keen to get this on any rom let me kno and i'll give you more info and the files you'll need

the bar is fully color customisable on the fly and hidable.

see the pics here.

http://i789.photobucket.com/albums/yy180/aaronkable/ScreenShot-5-2.png

http://i789.photobucket.com/albums/yy180/aaronkable/coloroptions.png

http://i789.photobucket.com/albums/yy180/aaronkable/color.png

Pvy
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
Great job bro! I forgot all about this till I got an email telling me about a new post lol. If you could, I think it would be awesome if you would post the files and more info right in here, and I will add it to the title.

Thanks in advanced!
[EVO 4G Q&A, Help & Troubleshooting] rvonder:
As one of those who has been looking for a MIUI-style battery bar for a long time, I would love to have this!

@pvy, is your bar something that has to be integrated and baked into a ROM from the start, or is it something that can be installed later on any rooted ROM (either as an app, a set of add-in files, magic incantations, or whatever)?

I know you'd make a lot of people happy, because there are a number of threads on different forums all asking for this same thing...

Thanks, Rob
[EVO 4G Q&A, Help & Troubleshooting] Ditamae:
Add me to the list of those still interested. :) It's looks nice too...
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
Okies!

i gotta put a quick app together to controll it then i'll put it in android dev general and linky it here for you all prob tonight or tomorro :D

( bit outa wack atm just got back from being offshore and on night shift )

wasn't expecting so many responses so fast lol!

Pvy.
[EVO 4G Q&A, Help & Troubleshooting] Ditamae:
Thank you! Can't wait. :)
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
sorry i missed this,

it is 2 smali files to put into the SystemUI on 2.3.3 +

2.3.3 and below need it added to the services jar i think but i need someone on froyo to confirm a couple of things first.

1 mod to the statusbar.xml (just add a line, copy and paste)

then the app i am writing will toggle it and control the colors.

and i have not tried it on froyo and below but i can adapt it quite easily

Pvy.

Edit** almost done will upload all tomorrow :)

Edit** Eclipse is being a b*!@@#!$ and not letting me export SORRY gonna have to wait another day lol...
[EVO 4G Q&A, Help & Troubleshooting] countryfolk07:
This is awesome! I've still been wanting this. Thank you kind sir.

Sent from my ADR6300
[EVO 4G Q&A, Help & Troubleshooting] pvyParts:
All Done and tested!

Here you all go!

Feel free to point any other peeps who are after this to this new thread :D

http://xdaforums.com/showthread.php?p=19878267

Pvy.
[EVO 4G Q&A, Help & Troubleshooting] Bamba1260:
Thanks man, much appreciated! I'll add the link to the OP incase people find this thread.
[EVO 4G Q&A, Help & Troubleshooting] jaxboater:
Thanks - will try tonight
[Nexus S Q&A, Help & Troubleshooting] nepoez:
I find the nexus s video recording really disappointing.. out door is good but indoor even if it's not dark it has low framerate and looks like you're high or something..... I compared it to the nexus one and nexus one doesn't have this problem...

Does anyone know if this is a software or hardware problem? I hope it's software...
[Nexus S Q&A, Help & Troubleshooting] nepoez:
Any tips? Will CM fix this?
[Nexus S Q&A, Help & Troubleshooting] sagech:
Why is the GPS accuracy for my Nexus S rounded off to 5, 10, 30 and 50 meters? Is there any way to modify this so that it shows the exact accuracy?
[Nexus S Q&A, Help & Troubleshooting] sunakujira:
They are not sure/accurate, thats why they round up.

Logically you would say "I think there are 200 sheeps in the yard"

rather than saying "I think there are 198 sheeps in the yard".

Same reason
[Nexus S Q&A, Help & Troubleshooting] sagech:
It isn't like that on my Nexus One. It shows accuracy like 1m, 2m, 3m, and other digits. On the nexus s however, it is always either 5, 10, 30 or 50m.

This causes quite a few problems during GPS navigation because you occassionally jump between 5, 10 and 30m. On the nexus one, there's no such problem because lets say the accuracy is 7m, it will show 7m. If it's 11m, it will show 11m. On the nexus s, it will show 10m and 30m respectively.
[Nexus S Q&A, Help & Troubleshooting] chadrockey:
It's possible the chips in the phones do not report accuracy in meters.

GPS units can report accuracy as Dilution of Precision:

http://www.dashdyno.net/tech/GPS/gps_location.html

http://www.papyrus.co.il/FAQ/dilution_of_precision.htm

The lower the number, the more accurate the fix. Using simplified math, if your phone's GPS in an open field and perfect conditions had an accuracy of 5 meters, a dilution of precision of 1 may cause it to report 5m*1 DOP = 5m accuracy.

If the satellites became too close to each other, your horizontal DOP may grow to 2. This could be 5m*2 HDOP = 10m accuracy.

Many receivers output separate DOPs for Latitude, Longitude, and Elevation, but I suspect that the software just uses the maximum number for HDOP and outputs that. Unless you are averaging scans over a long period of time or using an advanced filtering algorithm, it's just a number displayed to a user.
[Captivate Q&A, Help & Troubleshooting] 8gus8:
Hi all,i have a problem with the music playlist when i push that aplication come the message dumpstate_app_201102112155_com_sec_android_app_mus ic.log has been saved. Use *#99099# to copy out log.

How can i do?

please answer

Hi and thx
[Streak 5 Q&A, Help & Troubleshooting] mody_tota:
hey guys

i need dell streak mini battery back plate coz mine is damaged!!:(

so please any one got one tell me i want to buy thanks.

please contact me at bold_eyes007@hotmail.com

thanks
[Streak 5 Q&A, Help & Troubleshooting] mody_tota:
:confused::(hey guys

i need dell streak mini battery back plate coz mine is damaged!!:(

so please any one got one tell me i want to buy thanks.

please contact me at bold_eyes007@hotmail.com
[A7 Accessories] Jrmym1981:
I'm new at this, but i've scanned over and read everywhere looking for a solution, but to get to the point, is there anyone that has found a stereo bluetooth headset that works on the A7?

I bought a GoGroove Airband headset in hopes that it would be compatible, it says it's A2DP, and the Elocity website says that devices with that profile should work. I'm currently using Dexter's 1.2, and i've tried the official firmware release from elocity as well with no success. Most all of the bluetooth devices with the exception of my Samsung cellphone have been in the "Paired but not connected" loop. It essentially just keeps trying to reconnect.

Am i doing something wrong or is this maybe something that can be fixed in a later mod from dexter ;)

Sorry to make this drag out but I would just like to know if anyone has been able to get their bluetooth headsets/devices to work and what devices/brands they used or tried.

Thanks in advance
[A7 Accessories] tdively1:
Motorola S305

I have been using the Motorola S305. It connects briefly the first few times but eventually on the third or fourth try the connection sticks.
[A7 Accessories] uberducky:
Ive been wondering about those, but from what I have read, only the headphone (stereo) part would be a2dp compatible. The mic parts probably use HFP, HSP or AVRCP.
[A7 Accessories] thatstringguy:
I picked up this headset because of you. I love it! Big ups brother!
[A7 Accessories] KellRT:
motorola knockoff S9 doesn't work.

I have 3 s9/hd from dealextreme.com. $22ea. They pair but do not connect. Insignia headset works great, as does motorola dc800 and sony car stereo.
[A7 Accessories] Jrmym1981:
The Firmware Update from 2/24/11 has resolved the issue with the GoGroove Airband headphones. They now Pair and connect without problems.
[A7 Accessories] bksocks:
I have been using Insignia NS-BTHDP Bluetooth from best buy (I think you still can get them on ebay) and they work fine, I am using dexter mod 1.1
[A7 Accessories] nthknd:
I have s9 HD from moto they work just fne and I'm using dex 1.3
[A7 Accessories] chayil313:
bluetooth

i have been trying to pair my bluetooth, it will pair but it will not connect, i have stereo earhugger headset, (hfblu-sth3), my tablet is updated but i keep getting the run around from elocity about the problem, the bluetooth is every thing they required so what is going on? please help
[Motorola Droid and Milestone General] nnkk:
goodmorning all

how on earth can you save a file with nano editor on the console of OR ?

I'm not able to find any combination for the shortcuts ^W etc
[Motorola Droid and Milestone General] Caz666:
I know that this is not the answer to your post, but as a workaround i usually use vim from consoles. It doesnt require key combos...

From android i use the root explorer editor.

I also have never found the combos for nano.
[Motorola Droid and Milestone General] nnkk:
I'll try vim thanks.
[HD2 General] viper2097:
Hello Guys!

Let me introduce shortly myself:

My Names Christian and the last Years i used very satisfied Symbian.

From my Carrier i got gifted an Sony X8 wich i wanted to try out. I liked Android then so much that I'm reading here on the forum now very interessted for two weeks. So my decicion was clear: I need an HD2, because there I can also have Android ;)

I bought yesterday one used with a Sim Lock for 3 Hutchinson, Austria.

At first i was surprised that most of the code unlocker sites can't unlock this model. And then, when i put my tele.ring Sim Card in, i was more suprised. The HD2 says that the unlock code had entered 3 times and I need now to wait for the timeout...

Now i know why the seller also gave a Rebel Sim II with the HTC....

This Rebel Sim is now working proberly with my HD2 and my telering Sim but I dont like this, because it's not a clean solution...

So is there still a way to unlock my HD2 in a code /software / hardware matter?

I've been searching the forum yesterday for 3 hours, but I didn't get a solution for my problem... When I have not seen it, I'm sorry for anoying you guys.

This forum is great, you are doing perfect jobs ;)
[HD2 General] Arcandel:
Are you sure that you have Sim lock exactly? it's seems that you have an operator lock.
[HD2 General] viper2097:
Ok, sorry that i was so inaccurate, for sure it's a lock to the carrier 3 in austria
[HD2 General] Chal:
same problem here. did you find a site with unlock codes for 3 AT?

only one i found is http://www.foneszone.co.uk but there are no trustable reviews
[HD2 General] buster3.0:
i have the same problem, anything new? Has anyone managed to unlock a phone from 3 at
[Vibrant Q&A, Help & Troubleshooting] rbtady:
Hi quick question, what is the highest resolution for video recording? I can do 720p, but the phone crashes on 1080p. I have the camera hack apk as well. Is that the reason why it crashes? Thanks.
[Vibrant Q&A, Help & Troubleshooting] rakeshchn:
Vibrant hardware is capable only upto 720p video recording. If you are using some software hack to do 1080p, I guess it just won't work.
[Defy General] kimagure01:
hi guys, im new to android former symbian OS user but now im an android user so my question is what are the things i need to have for rooting my defy 2.1?

i want to install many useful application and themes that for free. i read before about sprecovery, overclocking, rom manager? things like that but i dont know where can i get those file..

i also recognized that .apk in android instead of jar and .sis to symbian! right?

give me some tips on how to explore this phone
[Defy General] AgentSmith:
Well, actually you could have just read a few threads to get to your answer. ;) Read all about it in this or other posts.
[Defy General] Peglezn:
all u need is a z4 root aplication, u can get it from market ...u just do 1click and ur rooted its that easy :)
[Defy General] kimagure01:
z4 is for?
[Defy General] Peglezn:
the name of application is "z4 root" and sry i think i made a mistake its not on the market ...but google for it or try applanet :)
[Defy General] kimagure01:
i cant understand this z4 my droid will be hacked after i install this?
[Defy General] linel90:
yes it will root your phone.
[Defy General] Peglezn:
when ull install it and when ur gonna open the application ull get a screen like this

click permanent root ...your phone will reboot and its gonna be rooted

and u can unroot it the same way

u can also try temporary root option, but that didnt work for me(I got the superuser icon ...but couldnt get superuser rights in any app i installed)
[Defy General] kimagure01:
i can root my defy android without sprecovery clockwork like mention on those tuts.? this z4 is fantastic if that is the case. i can root my defy with just one file? after i install z4 what is now name of my rom?

in this article they mention sprecovery,nandroid so all of these are within z4? right?

and because i cannot post link .

here is the title of the thread:

what you need to know about rooting by pc747
[Defy General] Peglezn:
u dont need pc, just install the app i told u on your phone and press permanent root, your phone will reboot and its gonna be rooted ...its that easy
[Defy General] kimagure01:
benefits of a rooted cellphone? im sorry. i want to know what will happen to my defy if it's now rooted? after permanent root i can go back to unroot my defy for warranty? and what is sprecovery,nandroid, clockworks is this diff from z4?

and also how do i know if a rom is compatible for my defy?
[Defy General] kimagure01:
why is that everytime i run the z4 root it's always stock on "running exploit in order to obtain root access"?

is there a conflict with my root explorer?