yashsingh1/xdaforums huggingface dataset:
[Xperia Arc General] hack.guido:
other solutions

Hello, sorry for my english.

Do you believe that someone can solve the problem or% without:

1.Open the bootloader and use the patch.

2. Changing the motherboard

Is anyone working on other solutions?

I want to thank Bazoocaze work, I'm impressed.

Thank you very much for your answers
[Xperia Arc General] steryman:
Ok so... I'm sorry for my late but... I have some problems to solve about high school and the next week I start with some important tests... I think I'll update all the kernels in this weekend... and I can announce you from now that it might come a break till... about... 9th December... but I'll try to work in weekends for you guys :)

@Bazoocaze: I don't know if you fixed it, but in v1.3 of the apk(I didn't updated the apk, I was busy) the phone stops charging when reaching 14%(I think you should reduce the time of charging till next percentage... it stops like it was charging for some time at the same percentage... you know it will stop charging after that "some" time)... You actually can't test it if your Arc works fine, but I experienced it. I will update to v1.5 and tell you if I encounter this problem anymore...
[Xperia Arc General] Bazoocaze:
Yes, v1.5 has a bug. Thank you.

@all

Apk v1.5 was deployed with a test version, that doesnt detect the charger. I use this version with Android emulator, which is acting as allways in charge.

Please update to v.1.5.1, which is ok.

Sorry for my mistake. :o
[Xperia Arc General] Bazoocaze:
No one working on that, because it's impossible to workaround without that.

It's a hardware failure, and I'm impressed that our workaround currently work rasonable well.
[Xperia Arc General] cuong1787:
thank you ....thank you bazoocaze
[Xperia Arc General] kamil004:
I have small question

[ARC/ARC S]DooMKernel for STOCK ROM patched

Have same function

[ARC/ARC S]DooMKernel for CM7(FXP045) patched ?

I need:

CMW recovery

Stock rom

OC to 2.0GHZ

can use "adb shell

echo 80 > /sys/class/power_supply/bq27520/set_capacity"

so [ARC/ARC S]DooMKernel for STOCK ROM patched is good for my?

I dont need fuel gauge online apk, only fix 0% battery set_capacity command to 80% always.

sorry for my eng
[Xperia Arc General] masray:
thx for the new apk,and i have a question, in your OC enaled kernel,what's the voltage setting @1.3GHZ?

the same as @1.2 or @1.4?
[Xperia Arc General] masray:
sorry posted at the wrong place
[Xperia Arc General] Bazoocaze:
Peolpe reports that the latest version are working fine. Upgrade the apk fix, if problem persist, verify your compiled kernel version.

Also, peolpe using DoomKernel reports that patched DoomKernel has a high battery drain.

About the safety timer: I looked again at the safety timer routine - the safety timer trigger at each 22 minutes, so our apk fix is nice working, because it changes the battery percent at each 2 minutes, which resets the safety timer BEFORE leting it trigger and stop the charge.
[Xperia Arc General] Bazoocaze:
Your phone won't charge without my ApkFix. My kernel patch simply let the phone don't shutdown showing 0%.

For now on, your phone is in my hands, hahaha! :p

Now seriously: the APKFix is very light (memory & CPU). I use it on my Arc and I don't see any battery drain or slow down caused by APKFix - on my Arc, a full charge remains for 2 ~ 3 days of medium usage. Why you don't want to use it?

And yes, you can use adb shell to set battery % (default value is 85%).
[Xperia Arc General] Bazoocaze:
Just received a donation from icet925

Thank you so much for your support. :D I'm glad you like my work.
[Xperia Arc General] Goldshot:
i don't know how to fix it

Hey Bazoocaze ,Please Please realy i need help

i have a died Sony Ericsson Xperia Neo:( with 0% battery is it like that for mothes i don't have any idea how to fix that ,if u want help me :confused:
[Xperia Arc General] Bazoocaze:
Hi. It's easy, and it's on the FAQ:

[Q] What are the steps to apply fix on my phone?

[A]

1. Read the full post, especially the FAQ. In case of doubt, you can use this guide to know how to do things:

http://xdaforums.com/showthread.php?t=1133650

2. Unlock booloader

http://xdaforums.com/showthread.php?t=1034087

3. Grab the most recent kernel patch from this thread. The file is boot.img.xxx.7z for your phone (ARC / NEO).

4. You must be same firmware and patch version, so if you aren't firmware xxx, use flashtools to flash the correct firmware. and wipe the data if downgrading firmware version.

http://xdaforums.com/showthread.php?t=1304634

5. Use fastboot to flash boot.img contained in file boot.img.xxx.arc.7z (or boot.img.xxx.neo.7z for NEO users). Flash the .img file, not the .7z file :) .

http://xdaforums.com/showthread.php?t=1116970

6. Now you have a phone showing allways 85% battery capacity

7. Install most recent FuelGaugeFixV??.apk from this thread (Bazoocaze version).

8. For the first time, make sure the charger is plugged, and select "Start full charge" from the apk fix menu (use the menu button to show options). A full charge takes 3h00 ~ 3h40.

9. Now you have a fully charged phone, and apk fix updates battery % acordingly to phone usage.

10. See "Kernel issues" and "APK issues".

11. Press the tanks button on this thread, and optionally make me a donation. :D

http://xdaforums.com/donatetome.php?u=4215483

12. Finish

On what step are you having difficulties?

----

Updated the FAQ with links on how to. Nothing can be more easy than. :D
[Xperia Arc General] mehdi.xterra:
dear bazoocaze thanks a lot for your work to help us god send u for us, but my phone Battery consumption is high a full charge just enough for 1 day with normal use, exuseme for my bad english
[Xperia Arc General] Bazoocaze:
Thank you. :)

I suppose you are using patched stock kernel. For other kernels with battery drain, ask steryman.

The calculus are not precise. Also, it's not taking in count the CPU usage / CPU clock. Or maybe you have more charge than APK is showing.

If its the case, you may want to try this:

- From a full charge, use your phone until it gets to 1%, then continue to use it until it shutdown by self. When phone reachs 1%, it starts to learn new "calculated" battery limits, and next time you charge the phone, the % will be in reference to the new "real" calculated battery limits, and not for the default 1500mA/h capacity value.

Otherwise, your phone must be on heavy usage. My battery lasts for 2 ~ 3 days, and I compare the APK Fix and the real % value all the time, and the error is minimal for my usage pattern (not more than 15% when battery low). Don't forget to update de APK to consider the screen brightness and GPS usage to.
[Xperia Arc General] Bulzeye:
Hi there, I'd really like to use your patch to fix my phone but I'm afraid I'm having a bit of trouble.

I've manage to install firmware 2.3.4 4.0.2.A.0.42, I've rooted my phone using Zergrush and I have unlocked my bootloader.

I also have your apk fix installed version 1.5 but of late fastboot has stopped detecting my device so I'm unable to get the boot.img onto my phone :(

I believe my usb drivers are up to date and my computer detects my phone in normal mode and in fastboot mode with the green light but fastboot still claims it is 'waiting for device'.

It definately was working as it showed information when I unlocked my bootloader, my question is: is there any reason as to why this would happen and how can I fix it?

I expect this is why fuel gauge says patch status says: failed [(get_capity) file not found.

I really appreciate your work though bazoocaze and apologise in advance for being a noob, if you could help me fix my phone though I would be happy to donate a bit of money towards your beer fund.
[Xperia Arc General] Bazoocaze:
Verify this:

- Phone sim-locked? No fastboot possibly until sim-unlock.

- Your phone still bootlocked. Verify lock status.

- Corrupted drivers on Windows. Resinstall, or try on another system / notebook.

- Using the correct key on phone start? On Arc its the menu button. Watch out for the LED that indicates fastboot mode.

- See this http://unlockbootloader.sonyericsson.com/instructions for driver installation.

- Your phone is out of charger / low charge. Leave it charging on PC usb and retry.

Good luck.
[Xperia Arc General] steryman:
It's your fault. You're holding the back button while inserting the USB cable instead of Menu button(right button). Green light is for FLASHMODE, Fastboot shows BLUE light. :)
[Xperia Arc General] kamil004:
apk fix is good but i have doomkernel and cm7 fxp46 and battery some times drain.

yesterday 100% > 7/8H and > phone battery 0%

today 100% > 12H apkfix 85%, voltage 3.91V so is very good

Now seriously: CM7 have a lot of bugs (camera 8/5Mpx where is 6Mpx? HD photo, FM dont working, HDMI i dont use/need) and more.

So i need stock rom for stable software and full functionality phone, Kernel doom for OC CPU, and kernel with sysfs that there was no problem 0% battery isue (phone off after boot)

PS:

Bazoocaze your kernel with first post have too OC function? meybe is better idea than doom kernel, you say "peolpe using DoomKernel reports that patched DoomKernel has a high battery drain."

meybe there is problem with randomly big battery drain?
[Xperia Arc General] Bulzeye:
Phone is sim unlocked, I unlocked it recently.

Phone I believe is bootloader unlocked but I am unsure how to check and as Steryman said I was holding the back button as when I hold the menu button and plug it in no blue light is shown it just goes into normal charging mode, would this mean my phone may not be able to use your patch if I can't access the necessary fastboot mode?

I did attempt to unlock the bootloader in flashmode holding the back button and it responded in fastboot...
[Xperia Arc General] heidality:
apk fix dont show text info about fuel gauge..why?when i first install apk he worked,but now when i click stop and want again click start he dont show simple write fix battery.what i must do now?not working if i install again and uninstall dont show percentage with fix..

sorry my english bad
[Xperia Arc General] itachi naruto:
yes fix 1.5.1 work brightness 50% full pin , and I will continue to test at 80% when fully charged:D
[Xperia Arc General] Shinyweed:
If the phone shows a charging screen, it means your bootloader is still locked. Being sim unlocked isn't the same as having the bootloader unlocked
[Xperia Arc General] kamil004:
ok i installed stock, doomkernel, apkfix and now works fine.

i have OC,CMWrecovery,and battery fix.

now restore apk with TB and test battery drain ;)

PS: if i have installed apk fix 1.5.1 i must install arcfix From Fidra?
[Xperia Arc General] Bazoocaze:
Mine is stock + bq27520 patched driver. No OC features.

Maybe if it was simply, you can bring us a patched stock version with OC features. A lot of people may be happy with a such version. :D
[Xperia Arc General] Bazoocaze:
Leave APK running for some time to let it synchronize the battery capacity on notification bar. It's normal, I made this way to preserve battery - it only update % on notification when occurs a % change.
[Xperia Arc General] Bazoocaze:
Ok, now that you had your questions answered and your phone is back to work, lets start clicking on that THANKS BUTTON on first post. It's simple, shows gratitude, and doens't hurts. :D
[Xperia Arc General] kamil004:
yesss ;) pls compile kernel stock + CMWrec + OC max 2.0GHZ + batt driver ;) is good idea

PS: if i installed apkfix 1.5.1 i must install apk from FiDra?
[Xperia Arc General] steryman:
Ummm... I patched both DooMKernels: For Stock ROM and for CM7. The Stock ROM has 2.0GHz OC... battery patch... and I think it's based on stock kernel...

@Bazoocaze: don't forget about me xD
[Xperia Arc General] kamil004:
i use your kernel now and alls work perfectly ;) THX
[Xperia Arc General] lenathou972:
Hi! I tought the battery pourcentage shut too fast so when it arrived at 5% I select "Set full battery", since the fone never shutt down and right now the battery level show 46%. I hope U understand the problem. What can I do to fix it?
[Xperia Arc General] Bazoocaze:
Sure I don't. :)

In the other post, I'm talking of an hypothetical stock kernel version with OC, which is not the same of DoomKernel. DoomKernel is a collection of features not exclusive to DoomKernel - overclocking is an ability of onboard processor, not DoomKernel. DoomKernel only integrated the modified governor tables necessary to support overclocking, which can be done in any kernel version, not only on DoomKernel.

So I didn't forget of your patched DoomKernel / CM7.
[Xperia Arc General] tlh1985:
I have issue with 1.4 and 1.5. It does not change fully like 1.3.
[Xperia Arc General] kamil004:
Bazoocaze after 11h26m working on battery in apkfix is 82% and 3.92V so all is very good.

and in charge process phone several times stop charging, but this is small problem ;)
[Xperia Arc General] Bazoocaze:
Use version 1.5.1, version 1.5 has a bug in charger detection routine.

Also, verify if "Full capacity" is 1500000. If its not, then stop service monitor, clean app data, and restart service monitor, to make sure "Full capacity" be 1500000.

Verify the "Full capacity" value.
[Xperia Arc General] alex7532:
My arc was charging on my computer for 3 hours but It shutdown, the battery is empty...

Why ?
[Xperia Arc General] raydm:
seems like there is another phone with same kind of problem. lg optimus 3d

http://xdaforums.com/showthread.php?t=1202022

http://xdaforums.com/showthread.php?p=19249409#post19249409
[Xperia Arc General] Bazoocaze:
Reading your report, seems to be a fuel gauge failure, too.

One must write a kernel driver to try to reset fuel gauge to factory settings, or then write a software workaround like our solution.
[Xperia Arc General] Vedita:
Good morning Bazzocaze using your apk is possible to load the cell phone off?

---------- Post added at 02:15 PM ---------- Previous post was at 02:08 PM ----------

Sorry I forgot one question how do you use this file bq27520-kernel-driver.7z? and what does it do?
[Xperia Arc General] Bazoocaze:
Hi.

No. It's a Kernel safety feature: if battery capacity doens't change in time, charging is disabled. And no APK is running on phone off charging.

It contains the patched fuel gauge kernel driver source code, for developers to port the driver to make custom ROMs - this enable steryman's work (and others) on patched custom ROMs. If you aren't a developer, you don't want to use this file.
[Xperia Arc General] cah surip:
Hi Bazzocaze ,

Do u have ROM (tft) include with patch battery (issued 0%)..?

If u have that ROM, u can share to us, and i thing is more simple ways just to flash it, not to activated unlock-bootloader.

Your work is very awesome....i like it.

Please help me to fix this issued

( i cant activated unlockbootloader, it would deprive my arc warranty ).

Thnx,

Cah Surip
[Xperia Arc General] Bazoocaze:
Sorry, mate, but it's impossible - and explained why on the FAQ.

But if you still have warranty, why not use it and replace your phone?

Anyway, you MUST UNLOCK your phone's bootloader to use this workaround. There is NO OTHER WAY to circunvent the 0% battery issue via software.
[Xperia Arc General] cah surip:
can u see my post on SE Forum, here is the link.

www[dot]talk.sonyericsson[dot]com/message/120246

i was used

patch battery 1%

to take stability battery, but 1% just display only, i don't know how to fix that display.

Can u modified patch battery (flash to patch battery only for FW 2.3.2)

This is link download for patch battery 1%.

www[dot]agensusu-cikarang[dot]com/LT15i_3.0.A.2.181_Battery_patch.ftf[/url]

How to fix patch battery 1%..?

Any solution for that??

Thank before for ur quick reply...
[Xperia Arc General] Bazoocaze:
Ok, I did read it.

I can not modify ftf, because it is digitaly signed by Sony. Modifying it invalidates the signature, and then the ftf file must be signed again by Sony. Locked bootloader enforces firmware signature validity.

You don't. Your phone has an unrecoverable hardware failure. It's in unrecoverable, and it's on the hardware, so no way to fix it via software.

Hardware: replace the fuel gauge controller, or the whole phone motherboard.

Sotware: only this workaround. To use it, your phone MUST be bootloader unlock.

Welcome :)
[Xperia Arc General] fatihmese:
Hi cah surip are u remember me :D

I finally repaired my neo with bazoocaze's solution.

Thanks for everything again.
[Xperia Arc General] cah surip:
Hi Fatih i know u from my email :p.

Yeah...awesome solution from bazoocaze, but i still waiting from others solution that no need unlockbootloader.

Thanks all
[Xperia Arc General] heidality:
Hi.I have some problem with this fix..I charge my arc 3 hours.ANd when i unplug device from charger my arc work 30 minutes and turn off.when i again plug arc he show me red led.whats happening?
[Xperia Arc General] Shinyweed:
It means your Arc's battery is drained. You probably didn't tell it to full charge

Charge it for a while before turning it on again then go into the app and set full charge so your phone will start charging from 2%
[Xperia Arc General] heidality:
what app??
[Xperia Arc General] Shinyweed:
The fuel gauge fix app that came with the rom you flashed
[Xperia Arc General] heidality:
i have fix app.you think my battery not working.correct understand you?
[Xperia Arc General] phantnang:
Bazoocaze

please fix APK stop charging when battery is full. Normal the phone will stop charging when battery is 100% so it's not harmful when plug the charges overnight!
[Xperia Arc General] Bazoocaze:
I'm testing a new way to detect connected charger, to help optimize charger process.

Please install this version (v1.5.2), and report if it works correctly, mainly the charging process.

If it works, I expect this to solve the charging time issue that happens to some of you.

Thank you
[Xperia Arc General] heidality:
its work very good
[Xperia Arc General] nghiemdung:
Hey steryman could u please compile the new DoomLord kernel for CM7 :D?

It's a major update
[Xperia Arc General] feydz:
Works prefect! Thanks! the 1.5.1 apk, seems, that i have 2 battery off charge (red led blinking) when it says that i have 45% of battery, with this update, no more problems, the charge its ok now.

I am using Blend MIUI ROM for Neo, with the path. FYI.
[Xperia Arc General] constantinexx:
it has been a while since the last visit to this thread can you tell me what i have to do :(

unlock bootloader then what ??????

please any one can PM me ??

:p
[Xperia Arc General] peacekeeper38:
Hi Bazoocase i downloaded the update of your app v (1.5.2) and its working pretty good thnks for the hard work man
[Xperia Arc General] ajennn@163.com:
what`s the different in ver1.5.2...

i`useing 1.5.2 now...
[Xperia Arc General] itachi naruto:
1.52 no worlk . have to do something to you at no patch
[Xperia Arc General] kamil004:
1.5.2 have too error charging sometimes, i must reconnect charger
[Xperia Arc General] Bazoocaze:
I'm thinking of it, and I had new some ideas to try to correct this.

Now the problem seems to be (I cannot confirm this on my phone, you know) if the battery becomes fully charged (real charge) before the calculated status reachs 100%. In this case, the charging process stops when the real capacity reachs 100%, but the calcualted status will be lower than 100%, appearing to be a failed charge (but it isn't, in this case).

Until I make a patch on apk fix for this, you can circumvent this issue using the "Set full battery" menu option on APK Fix - this option will set battery capacity to 100%.
[Xperia Arc General] Vedita:
Bazoocaze Good morning, I installed the .42 firmware that you indicated, I installed the kernel and the apk from first to last version, have used the option to fully charge the battery fuel gauge, when it finishes the load switch off the charger, the more phone does not even load all night, wake in the morning and he is off, I'm desperate, please help me !!!!! Thank you!
[Xperia Arc General] kwappo:
i have the same problem

:confused: i have the same problem, this doesn't charge completed only 15% or 20%
[Xperia Arc General] peacekeeper38:
Hi bazoocase well in my case i am using your last apk fix and the fw 0.42 and my cellphone it last almost two days without recharging i am using automatic retrieving email every hour, updates from facebook every hour, the bluetooth on all day cause my liveview, 3g internet all day , from time to time i play avatar, a lot of use of the whatsapp, msn, gtalk, and still the battery last as i told you almost two days, i put the phone to charge at night and it happen what everybody is talking about the charger stop when it reachs the 100% but as you said i set full battery and when it finishes of charging i use it normal and no problem at all.

hopefully you will come up with something better like the idea you are thinking about for the best of ours xperias, thnk u once again thks so much
[Xperia Arc General] Vedita:
Hello peacekeeper38, which apk files and firmware you used? I'm not getting to do my work right arc, I do not know what can be, thanks!
[Xperia Arc General] itachi naruto:
Bazoocaze I have seen in fueg apk to debug when the brightness at 37% = 100, 50 = 200 . 75% auto shutdown after 15 minutes
[Xperia Arc General] peacekeeper38:
Hi Vedita i downloaded the ftf from this link:

http://xdaforums.com/showthread.php?t=1330314

then i downloaded the boot.img.4.0.2.A.0.42.arc.7z from the fist page of this thread.

finally downloaded the FuelGaugeFixV152.apk from the first page also

nothing else since i am not expert at developing, actually i just follow the steps of Bazoocase and steryman have been given in this thread, and so far no problem at all as i said.

hopefully you can get it to work good luck
[Xperia Arc General] itachi naruto:
you can say you use the brightness of the screen how much
[Xperia Arc General] peacekeeper38:
Hello Itachi naruto according to value shows by the apk fix right now is 77. sorry i dont know if that was your question?
[Xperia Arc General] kamil004:
I have too this problem but if doesnt charge reconnect charger. I dont know why phone stop charge process. If you do not want to have this problem stop monitor in apk gauge and un select start at boot, restart phone and connect charger. Phone show always 85% but charging proces will never be broken. So connect phone at night and morning start monitor in apk, next set 100% full charged.

This is best solution for me.

Do as i say and you'll be charged the phone
[Xperia Arc General] Vedita:
Bazoocaze, sorry to bother you again I just want to take a course, I did flash with the firmware 0.42 and 2.15 installed fuel gauge, I left the phone charging all night, unaccompanied apk, from morning to put the apk monitor and marking that appeared was instant current (uA): 117666 and full capacity (uA / h): 1500000, these figures are correct?

Again sorry to bother you! Thank you!!

---------- Post added at 03:33 PM ---------- Previous post was at 02:45 PM ----------

peacekeeper38, you could tell me what values ​​appears when you monitor the battery with fuel gauge, showed in my instant arc current (uA):117,666 and full capacity (AU / h): 1.5 million, plus my phone never spent the day the whole load!
[Xperia Arc General] peacekeeper38:
at this moment tht i am writing this message my phone has 4 hours of using since the last charge and the values are the following:

Instant current (uA) 128066

Full capacity (uA/h) 1.5 million

Current drained (uA) 139213

Calculated Batery 91%

whatsapp is on, bluetooth on, retrieving email 3 differents accounts, and retrieving facebook updates every hour.

i hope it helps you to realize something
[Xperia Arc General] steryman:
Okay guys sorry for inactivity but as I said I have some kind of exams this period... today was one.. 3 more left. Ok so everybody here tell me a kernel you want to be updated, I will update it tomorrow... also please tell me which are the major updates.

@Bazoocaze: What apk version should I integrate in the ROM? v1.5 or v1.5.2 ?
[Xperia Arc General] kamil004:
1.5.2 is better i think, far from 2 to 20%, charging process dont stop.