yashsingh1/xdaforums huggingface dataset:
[Nexus S Android Development] Ezekeel:
The limit of around 95% is hardwired into the battery electronics (actually it seems to behave more like a limit on the maximum voltage than directly related to the capacity since you can influence the maximum charge capacity by switching on a consumer like the display). So as long as the charging limit set for BLX is larger than this value it will have no effect at all.

Oops. Yeah that should have been MHz. :)
[Nexus S Android Development] brainmaster:
Thanks for thinking about that.

You could open new thread and put all of your tweaks in that one. Each post for one tweak, or something else. Then close or delete the other ones, or what you think that would be better.

The goal is to have one central thread with all the informations and instructions.
[Nexus S Android Development] Ezekeel:
Merging all the threads into a single one would essentially mean a complete rewrite of all the information contained in these threads since I cannot simply copy/paste the info, because additional information and clarification is spread over each of the individual threads. So for each tweak one would have to sift through each of the individual threads, filter out and collect the important information and summarize it properly.

To be honest this sounds like something I certainly would not enjoy. I like writing code and getting things running - I do not like writing guides or instructions. So even while I agree that it would be useful to have the information in a single spot I am not willing to do that work, because it would be no fun at all for me - and when it comes to my free time I prefer doing things that I like.

However I know there are some people out there who like to contribute to the community by writing instructions and guides and if someone would like play the role of the editor and put all the information in a proper format I would certainly give him all the support I can.
[Nexus S Android Development] rejanmanis:
I'm sorry, I still don't get it. Is this mod save the physic of the battery ? Or it can save battery on usage, to increase battery life on usage.
[Nexus S Android Development] matt2053:
This mod could extend the life of your battery. For example from 2 years to 2.5 years. By stopping the charging from going to full. You can set your phone to stop charging when battery gets to 80 for example.
[Nexus S Android Development] rejanmanis:
Oh I see. That's the good one.

AFAIK, li-ion batt can stand for up to 1000x charging. And nexus s users especially me usually charge the phone 2x a day, so if a year consist of 365 days, it will last for about 2.5 years and even more with whis mod :D

And for mr ezekeel, If u can explore more how to charge it faster. Its really annoyinng to wait more than 2 hours to get fully charged to 90% if I don't use the phone.

I can wait till 6 hours to get fully charged if I use the phone while charging. Thx before.

I know u will find a way. You are the super ezeekel :D
[Nexus S Android Development] synaesthetic:
It's not. My NS charges to 98% every time, and it did charge to 100% when I initially pulled it out of the box (it was on 2.3.1 when I opened it up), before I installed Cyanogenmod (which is still 2.3.5 as of nightly #180).

The battery not charging to 100% is a battery driver bug. It is not intentional. If it was intentional, everyone's NS would charge to exactly the same percentage (95% or w/e) but they don't. My NS i9020T charges to 98%. The NS4G I had before charged to 94% and no higher. Other people get 92%, 95%, 96%, 97%, etc.

If it was intentional, hard-coded into the software, they should all charge to the same point, but they don't.
[Nexus S Android Development] matt2053:
That's all assuming that % full capacity is the trigger to turn off charging and I assure you it is not. Capacity % is an estimation and is a calculated value not a raw value. So I think it is expected to see these slight variations.
[Nexus S Android Development] Ezekeel:
Did you actually read what I was writing before quoting it?

Here, let me highlight the important parts for you:
[Nexus S Android Development] Ok_Kaleidoscope5109:
1000x is a stretch. It's more like 300-500x before hitting 80% capacity and then it starts to drop off pretty fast.
[Nexus S Android Development] synaesthetic:
So... the Nexus One had this same issue. It doesn't have it now (it was fixed). What, we just say "it's not a bug, it's a feature" until after someone fixes it?
[Nexus S Android Development] sanjayz:
Hi

A newbie

I would like to have some instructions on how do I install the script and place into the phone's folder

your assistance is appreciated

cheers sanjayz
[Nexus S Android Development] Ezekeel:
The battery status is set to 'full' once the user defined charging limit is reached.

Bug fix: http://www.pastie.org/2534319
[Nexus S Android Development] Animal99:
Ezekeel...Are you sure it is hardwired into the battery electronics? I bought an external battery charger for my Nexus s 4g (just charges the battery). I also bought 5 extra batteries. Each and every one will charge to 100% if I charge it on that charger. If I charge it via usb or electrical while battery is in the phone and phone turned on, I only get 95-96%...I have seen 97% a few times this way...But, the way I see it is if it is hardwired into the battery, I wouldn't see 100% from charging it on the external battery charger...Is my thinking wrong, or am I just so dang confused it isn't funny! BTW...Thanks for the BLX and all of your other mods!!
[Nexus S Android Development] Ezekeel:
Yeah, that was confusing. What I meant was the electronics responsible for charging the battery, i.e. the max8998 chip in the phone.

Some more info:

Your wall charger probably does not have that chip and uses another measure to decide when the battery is fully charged.
[Nexus S Android Development] Igotsanevo4g:
This is NOT Superior battery charging (SBC) which allows for phones to charge too 100%. In charging to 100% the life of your battery will be shortened pretty dramatically, which is why OEMs make the charging cut off at 90-95% or so.

This mod is to limit charging to 80%, to improve the longevity of the battery before it starts to degrade.

Make sense?
[Nexus S Android Development] Ezekeel:
Since I was curious, I tried this and as as it turns out, ignoring that interrupt from the max8998 chip does exactly nothing - the max8998 still stops charging the battery at around 95%. Seems like this interrupt is just a courtesy call for the kernel and sending that disconnect signal to the chip not necessary for the charging to stop. So until someone find a way to re-program the max8998 (could not find any datasheet), this limitation will stay.

In light of these findings, I have made the following change to BLX:

The charging limit is set to 96 by default which will mimic the behaviour of the stock kernel. Also, the maximum value accepted by 'charging_limit' is set to 96.

Bug fix: http://www.pastie.org/2560599
[Nexus S Android Development] barqers:
Edit:: someone beat me to it lol.

This looks promising ! Specially for the UV kernels out there if it were feasible
[Nexus S Android Development] :
i could not find any text to set it %101. whatever if it's a canceled project i don't mind. last kernel of cm7 include all of your mods. and i like the kernel, no voodo sound and color but i loved.
[Nexus S Android Development] coloxim:
In the last nightly I've 100 in charge..how can erase this tweak?

Inviato dal mio Nexus S usando Tapatalk
[Nexus S Android Development] :
Blx is not in the Cm7.1.0 no way.
[Nexus S Android Development] Serious_Beans:
How do I use BLX, using the latest TEUV.
[Nexus S Android Development] :
Blx mod abondoned. You can use stock cm7 kernel for %100 charging and you can set your cpu Mhz to 800 max.
[Nexus S Android Development] coloxim:
So can't change it in nightly..

Inviato dal mio Nexus S usando Tapatalk
[Nexus S Android Development] MarkVis:
You can if you flash a kernel with blx support like Matr1x

Sent from my -=Nexus MV=- powered Nexus S c",)

--

MarkVis
[Nexus S Android Development] coloxim:
i'm using sotck cyanogen kernel

;(
[Nexus S Android Development] from1989:
who can give me a hand to tell me that how to reach the file of blx like this in root explore??
[Nexus S Android Development] franciscofranco:
Ezekeel, I arrived a little late to this Nexus S party (only bought it two/three weeks ago) so I only learned about your BLX mod now. In the light of my ignorance about this "buisness", how is this implementation compared to your BLX?
[Nexus S Android Development] Ezekeel:
BLX is for limiting the full charge to a value lower than the maximum capacity; it does not allow charging to 100%.

I took a look at that patch and while some parts make sense and should give a more accurate measure of the current charge, some other parts are just phony trickery to get the battery show 100%. It does not actually change how the battery is charged, it just adjusts the way the capacity is shown.

According to the datasheet (http://datasheets.maxim-ic.com/en/ds/MAX17040-MAX17041.pdf), the MAX17040_SOC_MSB register contains the capacity in % while the MAX17040_SOC_LSB contains the value after the decimal point in 1/256%.

So this code

calculates the capacity in % x 100.

In the following

for a capacity >= 0.7% we roundup to 1% which seems unnecessary to me since in the following

for a capacity >= x.5% we roundup to next full x+1%.

These are the parts which make sense to me and which should increase the accuracy of the charge shown.

The following

is just a cheap trick to scale up the maximum charge capacity shown from 96% to 100%. For charge >= 26% +4% are added, so 26% becomes 30% and 96% becomes 100%, while below 26% we increase the charge by scaling with the quotient 30/26, so 26% becomes 30% to give us a smooth curve when 26% are passed.

If you take a look at page 4 of the datasheet, the top right diagram you see that the error between the shown and real capacity is a rather complicated function. It is not simply linear and also there is a difference in the error depending on whether we are currently charging or discharging. Thus I seriously doubt that this oversimplified error correction from above actually improves the accuracy of the capacity once you leave the area around 95-100%. It is just some sort of placebo to appease the more simple-minded folks. ;)
[Nexus S Android Development] simms22:
exactly :)
[Nexus S Android Development] franciscofranco:
Thanks for the time you took to give me such a detailed reply. I'm gonna try your BLX and link people this explanation if they complain about not charging past 96%. Thanks =)
[Nexus S Android Development] Ezekeel:
Made some improvements.

1. Made BLX compatible with the 100% charging 'fix'.

2. If the charging limit is set to the maximum charging limit, charging will not be stopped until the interrupt signal is received from the MAX8998 chip.

Bugfix: http://www.pastie.org/2751140

Now that I think about it some more, this modification does not even give you a better accuracy. It just rounds the capacity up for values >= x.5% to the next full x+1%. So it will show a value of x% from x-0.5% till x+0.5%, while on stock x% is shown from x% till x+1% is reached. That is just personal taste what you consider more accurate.
[Nexus S Android Development] terryhau:
I guess since 96% is the safe charging limit, they scaled it up to show 100% so people would stop crying that their phone doesn't charge to 100%.
[Nexus S Android Development] morfic:
A pacifier.
[Nexus S Android Development] afzalarsalan:
Nice tweak

The tweaks pretty nice in cosmetics and performance. I probably worry more about the cosmetics as I can easily replace the removable battery.
[Nexus S Android Development] LibiSC:
Do you think this could be adapted to a galaxy ace.... same idea... maybe i could try it??
[Nexus S Android Development] lionsmatara:
Any one please explain...

How it use??? :rolleyes:

Any CWM.zip ??

Thanks
[Nexus S Android Development] anshumandash:
This is a mod for the kernel. Only kernel devs can use this. It can't be flashed through cwm.

Sent from my Nexus S
[Nexus S Android Development] EL Sa7eR:
A noob question here , How could I change the 'user defined charging limit' ?
[Nexus S Android Development] nightcrawler218:
My deepest gratitude man. You are amazing. God bless you.
[Nexus S Android Development] JulianoXDA:
How could i achieve this effect for a another device i'm using a Galaxy Quattro and i have a habit of charging my phone overnight which led me to buying another one. I wanna port this to my device but i have low experiences regarding developing android-linux stuff
[Nexus S Android Development] thinkwise98:
Bug

After I typed ble --configure and entered it and also press enter again when it ask if the phone is charging

and then I didn't wait for it to finish I close the Terminal Emulator and Uninstalled the module.

after a couple of minutes after rebooting , my phone shows Problem with charging - moisture detected in the USB port.
[EVO Shift 4G General] toobz:
Hi all, I was looking at my shift, and even though it says it doesn't have video-out capabilities I see that the charging port is micro-hdmi. Is it possible to buy a micro-hdmi to hdmi cable and watch netflix and stuff on my TV?
[EVO Shift 4G General] Ron Overdrive:
That's micro-USB, not micro-hdmi. You use it to connect to your PC or Mac.
[EVO Shift 4G General] Rooster85:
X2
[EVO Shift 4G General] toobz:
Oh my mistake. So it is impossible to output video from the Shift?
[EVO Shift 4G General] honorlost84:
Not that im aware of. It send files but thats about it.
[EVO Shift 4G General] toobz:
Is there any way to stream media from my shift to a TV? Like Netflix or something?
[EVO Shift 4G General] linuxman008:
There is that samsung media streamer that got posted on the portal awhile back. That would be the only way I think, and it would require you have a compatible samsung tv. Or you might be able to use one of those google tv devices to stream from your phone (was that one of the features? I forget)
[EVO Shift 4G General] Dread 7us:
I use imedia share to stream to my samsung tv. Can stream things already on your phone but not netflix.
[EVO Shift 4G General] prboy1969:
Don't think it will work for Netflix , but it does work for the other stuff on your phone. You can give THIS a try, see if it works for you.
[T-Mobile LG G2x] swoleface:
sorry if this is out already but i can't find anything at all. i use to have a g2x on 2.2.2 and it worked sold it and got a new one with the update and i can find the root for it. please help out
[T-Mobile LG G2x] ZeroT| Demented:
Just flash a rom or use the thread in the dev section
[T-Mobile LG G2x] xsteven77x:
I thought when reading the title that this was gonna be a sarcastic/joke thread. This is getting crazy!
[T-Mobile LG G2x] fcisco13:
Nope, no root yet, they are working on it and are very close, they have this thing called "nvflash" but its VERY high risk and might leave you with a nice brick.
[T-Mobile LG G2x] jboxer:
Yes we have root. You first have to flash Clockworkmod Recovery with NVFlash. NVFlash is not dangerous and very safe if you follow the instructions by TGA_Gunman exactly as written and use his one-click recovery installer program. After flashing Clockworkmod Recovery then download the flashable zip package and install it using Clockworkmod. The thread with the rooting zip is below.

Root G2X Zip thread: http://xdaforums.com/showthread.php?t=1255214

One-click Clockworkmod installer by TGA_Gunman: http://xdaforums.com/showthread.php?t=1056847
[Galaxy Tab 10.1 General] jason2302:
This will be my first Android tablet, but certainly not my first Android device. I've owned basically every Droid Verizon has to offer. SO, here are some questions that I'd like answered, if possible :)

1. Is it true that if I decline the TouchWiz update (for the WiFi model), I won't be able to get future updates? Let's say I decline the TouchWiz update and a week later, I want it. Can I get it again?

2. Can I change the quick-apps thing in the TouchWiz update without rooting? The thing with the memo pad, calculator, etc.

3. If I root, can I easily remove the screenshot button and quick-apps button from the TouchWiz update? I can tell I'm gonna hate them anyway...

4. Anything else I should know???
[Galaxy Tab 10.1 General] 5thElement:
If you decline the Touchwiz update you will be losing alot more than updates. You will lose hardware GUI acceleration, advanced multitasking, settings specific to the Tab 10 hardware.

You will be able to change the quick-apps once someone develops a app to do so. Samsung has released the API.
[Galaxy Tab 10.1 General] jason2302:
I know about the good things it brings as well, but again, I just HATE the new launcher and screenshot button and quick apps.

Are you saying that when somebody DOES make an app, I won't need to be rooted?
[Galaxy Tab 10.1 General] nakedninja42:
1. I've seen people say that they still get notification for update after declining it first time. Shouldn't be a problem, but if it is, flash a custom rom.

2. At this moment no, I'm hoping in the future it can.

3. If root, you can remove the unwanted apps and freeze or remove the screenshot but it will not remove the button.

4. Do not listen to 5th element. He states a lot of BS knowledge he has and never provides proof, and also makes false statements about custom roms.
[Galaxy Tab 10.1 General] 5thElement:
Never ever has anyone proven me wrong, it is I who always prevails. How can you say that...
[Galaxy Tab 10.1 General] nakedninja42:
Easily because you have not proven yourself right. You make statements and claim to have knowledge but never ever have you provided proof.
[Galaxy Tab 10.1 General] jason2302:
Ugh. I didn't wanna root this thing. Are there ROMs that will give me stock Honeycomb but with the fixes that TouchWiz brings? I really like Vanilla Honeycomb.
[Galaxy Tab 10.1 General] nakedninja42:
Not yet. In the dev section, Phantom (creator of starburst rom) has been busy porting 3.2 to the tab. It will have the "fixes" from TW while being vanilla.
[Galaxy Tab 10.1 General] tiny4579:
If you want the stock look but don't mind touchwiz then task650 has a great Rom in the dev section.
[Galaxy Tab 10.1 General] nakedninja42:
I second that, task wit pershoot kernel has almost replaced my $1500 desktop!!
[Galaxy Tab 10.1 General] 5thElement:
You bought a $1500 desktop to browse the internet, check email, and watch videos????
[Galaxy Tab 10.1 General] burhanistan:
You hush up, boy.
[Galaxy Tab 10.1 General] nakedninja42:
No, but i dont need my desktop for those functions anymore. The point was that the tab with task rom and pershoot kernel makes the tab awesome, but of course you aways miss the point and make some other lame comment.
[Galaxy Tab 10.1 General] animatechnica:
LOL
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
Those of us that downloaded the leaked GB 4.06.605.2 CAN NOT use the OTA. It will not flash, we need a RUU. Please help. Any Devs out there, I'm more than willing to donate for your time to get this out.
[Droid Incredible Q&A, Help & Troubleshooting] resyek83:
Could that be why I haven't gotten the 605.3 update notification yet? Still on 605.2 waiting for it.
[Droid Incredible Q&A, Help & Troubleshooting] Grnlantern79:
If no one is willing I can make an RUU for this message me if the demand is there. Will not make for one person.
[Droid Incredible Q&A, Help & Troubleshooting] mirrin:
they could go back to froyo and then get the ota...
[Droid Incredible Q&A, Help & Troubleshooting] cmlusco:
Just search the forum, there are custom roms of .3 if your rooted and offical VZW .2 to .3 update files if your stock.

Edit: here ya go official vzw ota .2 to .3 patch. Just download rename update.zip and place on root of sd card. Shut off the phone and pull the battery then reinsert. Boot into hboot by holding vol down and power at the same time. It will find the file and run the update. Note you must be compleet stock .2 for this to work including stock recovery and all the bloatware still installed.

http://dl.dropbox.com/u/32165623/e53...ase_211679.zip

And below is a .3 stock rooted, deodexed rom if your currently rooted.

http://xdaforums.com/showthread.php?t=1247253
[Droid Incredible Q&A, Help & Troubleshooting] Grnlantern79:
Nice saves me trouble
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
No dice.

I'm not rooted and the leaked. RUU version .2 won't accept the patch. I've tried the patch from. 2 to .3 I titled it update.zip, that didn't work, nor did naming it PB31IMG.zip So any other ideas on how the patch could work??
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
Is some demand

I've seen at least two others here post this same problem on xda and several other Incredible forums. Problem is everyone seems to assume that the RUU exists. I've checked 8 droid forums and Nada, so if you'll go to the trouble, I'll donate to you for your time. If that's a kosher thing to post. Just let me know.
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
Yep, according to VZW

If you loaded the leaked RUU, you won't get the OTA, nor will the .2 to .3 patch work with the leaked RUU. Grnlantern79 says he will make one of there is demand so message him and let him know.
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
How could. I go back to froyo? Already downloaded a froyo and said the version was old and aborted upgrade. If you know how to do this, tell me.
[Droid Incredible Q&A, Help & Troubleshooting] TheLeeDynasty:
I installed leak Ruu (.2) and then downloaded .3 patch. I left leaked ruu on sd as pg31 or whatever and then made the patch called update zip and reboot and installed from recovery. I'm not rooted
[Droid Incredible Q&A, Help & Troubleshooting] cmlusco:
Not true i went from the leaked .2 to .3 using the ota update i posted above. So i know its possible.

Are you guys compleet stock .2 meaning everything stock besides having s-off. You have to have stock recovery and all bloatware still installed for the update patch to work. If your deodexed have installed battery or other mods or removed system apps the update wont work.
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
OK, one more time. I downloaded the leaked RUU, S-on, no root, nothing. Then tried to use the OTA I downloaded from an XDA post. Didn't work. Was told to do a device wipe factory reset. Did that and the OTA still didn't work. I found your patch, downloaded, put on root of sd card and titled update.zip pulled battery, held down vol button and nothing happened except saying no PB31IMG.zip so I chose recovery. Phone rebooted into recovery, green arrow and circle, then it goes to the red triangle arrow. Nothing, nothing, nothing, so I reboot. Please tell me what I could have done differently.
[Droid Incredible Q&A, Help & Troubleshooting] greatbruce:
Ahh sweet success!!

Here is what I had to do. Downloaded the (.2) leaked RUU, put in SD card root dir, and named PB31IMG.zip then downloaded your patch, renamed update and put in SD card root dir. Battery pull into bootloader, when asked to complete upgrade hit yes, when upgrade done, DO NOT reboot, go back to bootloader and the update will start. You'll be greeted with a screen saying you've successfully upgraded to (.3)
[Droid Incredible Q&A, Help & Troubleshooting] Grnlantern79:
Are you rooted? You must be rooted to downgrade. You can upgrade without being rooted but only if it is stock OTA.
[Droid Incredible Q&A, Help & Troubleshooting] Grnlantern79:
I still wish I owned my out of the box incredible with 2.1 best phone ever upgrade to 2.2 ruined my phone. I can only wonder how it would have ran 2.3 its somewhere right now hope it is well.
[Droid Incredible Q&A, Help & Troubleshooting] AJGO23:
Someone correct me if I'm wrong, but all of the OTAs posted are roms right? so that means these guys need s-off, correct?
[Droid Incredible Q&A, Help & Troubleshooting] cmlusco:
No there was an official ota patcher sent out by verizon to the people who got the .2 ota before they pulled it. It is not a full rom just a patch to go from .2 to .3. Since it is from and signed by verizon people with s-on on .2 should still be able to upgrade with it, i did with no issues.