yashsingh1/xdaforums huggingface dataset:
[Xperia Arc General] steryman:
Ok this is strange... when I send the command to compile the kernel (blah blah blah make) some blah blah blah arm-none-eabi-gcc not found... and I didn't modified anything since my last compile... but I was able to make the defconfig...

Nah nvm I fixed it... I wrote the wrong directory to the compiler. Ok now I'm compiling CM7 ARC kernel.

Later Edit: Compiled, tested, working fine. Uploading...

Lated Edit 2: Done. Check this: http://xdaforums.com/showpost.php?p=19158662&postcount=353
[Xperia Arc General] peacekeeper38:
thnks steryman for your work and good luck with your exams.
[Xperia Arc General] lqq606:
I just installed the Hong Kong version 4.0.2.A.0.58 ,can you update the stock kernel !!
[Xperia Arc General] Vedita:
Thank peacekeeper38, I left my last arc carrying all night, now with 63% let to see how much load it dawns.

---------- Post added at 03:32 AM ---------- Previous post was at 03:30 AM ----------

that version .58 is something different from .42?
[Xperia Arc General] peacekeeper38:
Hi Vedita you have to give the thnks to Bazoocase and steryman because without their work ours arcs wouldnt be alive, as i told you i just follows theirs guidelines..... i hope your phone will work normal from now

thanks again Bazoocase and steryman you are awsome guys.

i read in some other thread that the version .58 is almost the same with the .42 basically according what i read just some other games and some others apps well is what i read maybe i am wrong.

but yes steryman would you plz compile files for this version, of course if you have time since you are in exams and you dont have much time.....
[Xperia Arc General] lqq606:
4.0.2.A.0.58 Runs felt faster !!Especially the game !!!
[Xperia Arc General] kamil004:
Apk gauge 1.5.2 work perfect from 2% to 100% charging,
[Xperia Arc General] steryman:
Same here!

Patched CM7 for Neo... Uploading.

Done. Check this: http://xdaforums.com/showpost.php?p=19158662&postcount=353

Current up-to-date kernels: CM7 for Neo and Arc

I can't patch DooMKernel for CM7 untill he updates it for FXP047 or 048 when it will be out, because I don't have the FXP046 archives
[Xperia Arc General] Bazoocaze:
Hi,

@.58 stock

About the .58 version, I will compile a patched stock when I receive the OTA and I confirm it is stable and functional. If you want, you can flash that firmware, patch it with patched .42 and see if it works.

@steryman

If you wish, you can put the latest APK fix on your patch bundles. :)

@all

I'm working on the 1.5.3 version.
[Xperia Arc General] itachi naruto:
1.53 hope to work with the neo, to bring themselves from sony:p
[Xperia Arc General] alex7532:
I charge my arc during all the night but my phone shutdown at 90% ! :eek:

I have the v1.5.1 application, do the v1.5.2 application correct that ? :confused:

Thanks ;)
[Xperia Arc General] Bazoocaze:
Hello,

This is APK Fix (test version) 1.5.3:

Changes:

- If your phone is shutting down before 30%, you must charge it using the menu option "Start full charge". Please make sure you select the menu option BEFORE connecting the charger.

- The end of charge reason will be monitored and displayed in the APK "-Statistics-" section.

- At end of charge, the battery % will be set automatically to 100%. This will not ocurr if the cause of end of charge was the charger disconnected from phone.

- After a full charge (>1 hour) and a full discharge (>12 hours) cicle, the statistics will be populated with average times of charge and discharge. Partial or failed cicles will not be taken in count. Also, the statistics will only be collected if you don't disturbe the process connecting/disconnecting the charger before the correct time or for data transfering.

I expect that with this modifications your phone will be charging only for the real time needed to reach the full battery charge, which will be less than the calculated 03h30 value.

Please take in count that the real full charge time depends on the charger type:

- Sony stock charger: 2h to 2h30

- USB on PC (500mA port): 3h to 3h40

- USB on PC (100mA port): ~ 15h

- Other USB: depends on the current / same as PC.

Important:

I detected that a connected charger / USB on Arc/Neo prevents the phone from entering deep-sleep state, that is a state of low power CPU consumption. In this case, the phone can finish the charge process due to elapsed charge time, but then stay in a high power consumption state until the charger is disconnected from phone. This is not a problem if you disconnect the phone at end of charge, but if you leave the phone connected all the night this can lead to a battery drain during the night, even with the connected charger.
[Xperia Arc General] Ghost_kh_07:
Thank you very much! All of battery and kernel version working very well. You can make kernel with default sony logo i don't love doom logo. Now version 4.0.2.A.0.58 work very well more ram and space rom. The fix kernel still working in ver 58. But can you make fix kernel for ver 58.

Can you help me how to make kernel in ubuntu 11.10 i am trying to make kernel but can not completed. I use arm_none_eabi-gcc v4.5.2
[Xperia Arc General] Bazoocaze:
About the logo, in the next stock kernel I will remove the logo from ramdisk.

For the compiler, you must use the recommended compiler: CodeSourcery. Other compilers that bundle with Linux / Ubuntu are recent versions of gcc, which are not tested on Android kernel.

It's your choice. This version only add features, and doesn't mess with it's working, but if the 1.5.2 works for you and you are happy, you can stick with it.

However I think the 1.5.3 will be better, because with it you can charge the phone for only the time needed, and not for the full programmed time, as well as you got the new statistics of charge time. I recommend you use the latest version. :)
[Xperia Arc General] peacekeeper38:
However I think the 1.5.3 will be better, because with it you can charge the phone for only the time needed, and not for the full programmed time, as well as you got the new statistics of charge time. I recommend you use the latest version. :)[/QUOTE]

got it.... thnk you right now i will instal the new one
[Xperia Arc General] itachi naruto:
1:53 till this time seems to work very well
[Xperia Arc General] steryman:
I think he was talking about the doomkernel, to replace the doomlord logo with the sony logo. About the apk, I've already integrates 1.5.2... going to integrate 1.5.3 when FXP048 is out. If you don't have time to patch the new .58 stock kernel, tell me and I'll do it for you.

Oh and maybe I'm asking a noobs question but... can I update my FW without having to backup all my data on CM7? I mean... to flash the new FW without affecting kernel/ROM... cuz I don't have enough space on my phone to backup all the apps and data... and btw I'm patching DooMKernel for CM7 Xperia Arc
[Xperia Arc General] Bazoocaze:
A firmware bundle contains Boot + System.

Boot is kernel + ramdisk.

System is Android sysop + system/internal apps + system data.

Your user apps and its data lives on /data directory, and when you "wipe the data" on flashtool, you are cleaning the /data directory.

So if you update the firmware, you don't touch the /data directory, unless you mark the "wipe the data".

About the logo, the doom logo is on ramdisk, because i used doomlord ramdisk and my patched kernel to create the Boot bundle. Next time I will create a ramdisk from ground, using Sony ramdisk.
[Xperia Arc General] alex7532:
So we can't stay the phone connected to the charger all the night ?
[Xperia Arc General] steryman:
Umm okay I got it but I think it will wipe the /cache and dalvik... as you need to wipe data, cache and dalvik to complete the CM7 installation.. I was just asking cuz I was in a kind of "conflict" with Titanium Backup and when I was restoring system data it was restoring like s**t... for example when I was restoring the media playlists, there were no playlists after the restore + that it wasn't detecting/scanning the library for new songs, because I added a new song after the restore and I was searching for it and nothing... But now I made backups again with titanium backup, tested the alarms by wiping data and then restoring and it was working fine(when I had the "conflict" I wasn't able to modify them, to add song and whatever) and made a backup from the CWM too... Now I'm going to update my phone to .58

One more thing: Relocking the bootloader will prevent OTA Update brick?
[Xperia Arc General] keiloff:
Hi, i´m new.

I have the 0% Problem and tried to fix it with FuelGaugeFixV12.apk. My phone is an xperia neo with rootet 234. My problem is the device. The fix is made fo bq27520 an my device is bq24185.

How can i fix it? another kernel or another fix?

thx for the help!
[Xperia Arc General] steryman:
Okay guys I patched DooMKernel for CM7 for Xperia Arc but I'm going to upload it tomorrow.

Now I'm running CM7 FXP047 on .58 and it's working fine, and I think even faster :D

@neo guy above my post: the kernels are patched for xperia arc and also for xperia neo, both of them have bq27520. What are you talking about I think it's the temperature sensor
[Xperia Arc General] wakanars:
Hello all,

Thanks for u guys working on this project.

i tried the "DooMKernel BlendMIUI@LT15i_V08" by steryman

everything works fine but the wireless internet.

i cant turn it on at all.

i also tried the BlendMIUI V09 (without the 0% battery fix), the wireless works.

steryman could you please fix this problem?

thank you so much

-Roger
[Xperia Arc General] steryman:
Yea well um... JasonStein made a patched version for MiUI, try his one first. You can find the links on the first page at other kernels part.

Now I'm uploading DooMKernel for CM7 for Xperia Arc
[Xperia Arc General] kamil004:
Guys can u fix battery voltage? But always 4.00V.
[Xperia Arc General] steryman:
Yea I observed that...

Anyway I've uploaded DooMKernel for CM7 for Xperia Arc. Check this: http://xdaforums.com/showpost.php?p=19158662&postcount=353
[Xperia Arc General] keiloff:
@steryman don´t missunderstand me, i´m a noob. i trying the command "echo 85 > /sys/class/power_supply/bq27520/set_capacity" and got an error message "no such device found". then i looked in this dierectory and found only the bq24185 device and no bq27520 device. the same error with the apk-method: at the bottom off the app returned an error: device bq27520 not found or so.

:confused:I´m sorry but i can´t repeat any error because i guess i broke my neo finaly. I tryed to flash my neo per wotanserver to 233 and the process ended with the message: "Flashing FS file: deducting credits... credit deduct failed!". I verified this bug but wotan said, there is no problem with my credits becaus it´s for free.

Now my neo starts in flash-mode when i plug to usb on pc and no more red led on usb-charger.:mad: And it is impossible to boot the recoveryneo.img to reload a restored image. I tryed this in hope i can bring my phone to service and find an end with this 0% problem.

Thx for response in humility ;)

Sent from pc :(

When i start the phone now and plug into usb there comes a logo: a triangle with a yellow exclamation mark and a abstract phone below. any idea??

It´s possible now to start with recovery image and restored an running image but the logo above appeares again, i think i hate this....
[Xperia Arc General] Bazoocaze:
No, can't be fixed. Voltage monitor was gone - it's on the dead fuel gauge. 4V is fixed by software.

It's on the FAQ, I see you didn't read it:

"The /sys/class/power_supply/bq27520/set_capacity file only exists in our patched kernel."

You have 0% battery issue. And your battery is empty (red lights) and you didn't have patched your kernel.

You must flash the patched kernel to circumvent the issue.

Leave the phone charging on PC usb for a while, then flash the boot.img using fastboot. To know how to do this, look in the FAQ on first post - it has a step-by-step procedure.

And please read the full first post, FAQ, and full topic, before asking for help. This way you help us help you.

If it's working for you, you can. If it's not working, then you are getting a battery drain during the night, so please charge during the day, and only for the time to battery reach 100%, then disconnect the charger.

bq27520 is the fuel gauge, responsibile for the battery percent reporting.

bq24185 is the charge controller, responsibile for the "charge control".

You have 0% battery issue. You must use patched kernel + apk fix.

Only using the apk fix don't work: you must use patched kernel + apk fix.

Follow the steps on the FAQ on the first post to workaround the problem.

I don't know for sure. My bootloader is locked :)

However, accordingly to what I did read, relocking will enable OTA, but changes on system prevents OTA from successfully working.

And in case of 0% battery issue, OTA will overwrite the kernel with a version not patched - I don't know what will happen in this case.
[Xperia Arc General] Bazoocaze:
Just added a section to first post with links to most recent stock firmware .ftf files, to help beginners follow the step-by-step guide on FAQ. :D
[Xperia Arc General] itachi naruto:
1.53 work very well:D:D
[Xperia Arc General] steryman:
Not a problem, I just asked because I wanted to update OTA without flashing it... because I was anyway going to reflash CM7 :) Anyway you forgot to add 1.5.3 at the apk list on the first post xD
[Xperia Arc General] rcfsound:
i have a problem with xperia neo

a use flashtool to flash at 4.0.2.A.0.42 and i have this error ERROR - Error flashing. Aborted

INFO - Now unplug the device and power it on

INFO - Then go to application settings

INFO - turn on Unknown Sources and Debugging

...then the phone don't start.

i use wotan client and i have another error. Flashing FS file:

deducting credits...

credit deduct failed! :(

please help
[Xperia Arc General] JMSpurs:
Yes if Sony agree to help it will work on a locked bootloader
[Xperia Arc General] J!tH:
Nice, If this helps getting my 1% Arc back from the dead, I will hit that donate button! :)
[Xperia Arc General] itachi naruto:
thank ,I have done , I hope to soon have the v4 by you
[Xperia Arc General] Bazoocaze:
Thank you for your report. This shows that the charging process is still safe, because the BQ24185 charging controller is working.

The batteries should be charging correctly, despite the issue with fuel gauge.
[Xperia Arc General] Bazoocaze:
Please, can you confirm us that using same Kernel and System version was solved the Wifi issue?
[Xperia Arc General] feydz:
Oh god! please sign it! you are a genius! ;) THANKS!

Have a response from SE?
[Xperia Arc General] jojora:
Hi

My arc is dead, no charge, the battery is discharge, please fix to 90%.

thanks
[Xperia Arc General] itachi naruto:
yes perfect wifi :D,again thank you very much
[Xperia Arc General] Bazoocaze:
Try this command in android linux shell (or ADB shell) to set battery to 85%:

echo 85 > /sys/class/power_supply/bq27520/set_capacity

I will compile another version with default battery set to 85%.
[Xperia Arc General] heidality:
please do your fix to lock bootloader users,soon.

after you finished doing fix
[Xperia Arc General] Bazoocaze:
Sorry, fellow, but there is no know way of unofficial kernel patching on a locked bootloader Xperia device.

I'm not working on this, because it's impossible to do for now. You have to unlock bootloader to try the Kernel patch.
[Xperia Arc General] lenathou972:
Can someone do it for me? I haven't linux and i don't know how to do it... :(
[Xperia Arc General] paiwhonan:
not work for me

Hi I have flash MT15i 4.0.1.A.0.283 >> unlocked bootloader

with ClockworkMod Recovery (for rooted)>>flash boot.img(your file V.3)>>

install SPB shell 3D it work for 5 hours then it shutdown and I charge it for 2 hours but it cannot turn and I cannot flash or fastboot (I think battery does charged) sorry for my bad english.
[Xperia Arc General] gosleipnir:
Thank you!!

I flashed this img file,and my Xperia Neo display 85% battery.:)

ttp://i.imgur.com/uzbfK.jpg
[Xperia Arc General] itachi naruto:
please feel free to file, and it is different from 100%:D
[Xperia Arc General] Bazoocaze:
Hello, I saw the screenshot, and I got a doubt. Could you check on the same screen if the "Battery Status" field is indicating correctly the state of charging and discharging of the battery? Thank you.
[Xperia Arc General] gosleipnir:
Sure.But I'm sorry to hide my phone number.

ttp://i.imgur.com/yPgUA.png

ttp://i.imgur.com/lzRT7.jpg
[Xperia Arc General] JMSpurs:
I'm trying to persuade Sony Ericsson to sign the kernel so it can be flashed via flashtool.
[Xperia Arc General] Bazoocaze:
Hi.

First, you must have unlocked bootloader. Locked devices cannot get this patch. Follow this steps - search in the forum to learn how to do if you dont know:

- You must have unlocked bootloader

- If you dont, unlock your bootloader using the tutorial on this forum. You may lose your warranty from Sony / Phone operator if you unlock your bootloader.

- You must have firmware version 2.3.4 kernel .283

- If you dont, flash official firmware Generic Global 2.3.4 kernel .283 (or other firmware you want, but the version must be android 2.3.4 kernel .283) using the flashtool application.

- Download latest boot.img for your device on this thread.

- Using fastboot, flash on your device the boot.img you had downloaded

- Now you will have a running system with a fixed fake battery status (85% in last patch version).

- Frequently charge your device, or your phone will shutdown without warning when the battery runs out of charge.

- Now you can root your system if you wish, using zergRush / Doomlord tutorials.
[Xperia Arc General] Bazoocaze:
Thank you. When possible, tell us about your progress.
[Xperia Arc General] mehdi.xterra:
dear bazoocaze thanks for ur work i use the latest version apk file in 1.5.3 version the charge speed is very high and i think the software not calculate correctly battery status please check it tanks again for ur work
[Xperia Arc General] johnyzh94:
rcfsoundFlash Relock Bootloader! And then must mobile works.
[Xperia Arc General] keiloff:
@Bazoocaze: Thanks for the kick in my nice ass!! You helped an old man out of sickness and frustration.

At monday i got 0%, at wednessday i got a triangle and an asskick and right now in this moment (23:45) i have a "wireless" neo with 85%.

THANKS, THANKS, THANKS, i learned very much in these four days in this forum.

PS: It´s now 0:05 and i have a running FuelGaugeFixV152.apk, it´s wonderfull, but i don´t cry......no...i don.... sorry..ok..ok ;)
[Xperia Arc General] Bazoocaze:
Hi. Your demand is a little bit vague. Please give more info for us to understand and help.

Describe your issue in details, and give some numbers (battery %, charging time, discharging time, etc).

Also inform the relevant info present on API fix, like "end of charge reason", charge time and discharge time.

Are you using USB charger on pc or the stock charger? You started charging with empty phone (red lights) or started by lower battery percent (and what percent)? How much time you used the phone until begin charge?

What's your phone usage (time, apps, etc)?

And what's wrong with your phone?

:)
[Xperia Arc General] Bazoocaze:
:D

It's nice to know this.
[Xperia Arc General] mehdi.xterra:
dear bazoocaze, my phone work correctly with 1.5.2 and have not any problem, but after install 1.5.3 my phone after 40% battery atatus shot down, and in 20 min charge phone charged to 40-50 % and i charged my phone with my netbook i unistall 1.5.3 and install again 1.5.2 and have not any problem, in this version my phone fully charged in 2.30- 3 hours and work in 1 day with regular use

excusme for bad english
[Xperia Arc General] Bazoocaze:
:( I can not figure out what could be causing this. It makes no sense that version 1.5.2 works and that the version 1.5.3 does not work. The only difference from the version 1.5.2 is that 1.5.3 adjusts the battery to 100% at the end of charging (and collect some statistics to display).

:confused: Maybe it's a bug from Android on Apk upgrade. Try to stop charger monitor service, install v1.5.3, clean app data, then restart the phone, start charger monitor service, and do a full charge to make sure it's all working.
[Xperia Arc General] itachi naruto:
for neo pin end when 15% with apk 1.53:o
[Xperia Arc General] frothe3:
I am having a similar issue, when I charge my mobile while powered off, battery life is less than 100% when powered back on after an overnight full charge.

The fix on this thread the solution to my problem?
[Xperia Arc General] frothe3:
Oh, I am using the update 2.3.4 on an unlocked Arc here in the USA. I generally let it completely discharge, or when 2% while using mobile.
[Xperia Arc General] Ghost_kh_07:
this is my first kernel build 4.0.2.A.0.58 for XPERIA ARC with add battery fix. kernel and ramdisk from stock 4.0.2.A.0.58 firmware.

link:http://www.mediafire.com/?m6rqqvz4bynv7z1
[Xperia Arc General] constantinexx:
is this firmware that have the 3d apnorama applications ??
[Xperia Arc General] cah surip:
ftf Firmware

Does anyone have ftf file firmware include patch the drain battery ?

noted : not the boot img file

many thank's if u all can help me. :D
[Xperia Arc General] steryman:
Mine works just fine! Oh and another thing I want to say... I think I'm going to get back to Stock Kernel... it's awesome, and fast like CM7 :) and it haz xLoud, cooler desktops overview(you can tilt the phone and the widgets will move)... 3D... and it's fully optimized xD

Off-Topic: I just finnished Assassin's Creed Revelations on PC :) It'z awesum and I can't wait it's official release for PC to play the multiplayer :)
[Xperia Arc General] wakanars:
thanks everyone again

seems i cant use the MIUI rom (wifi donest work)

so i use the new CM7 by steryman, but i found out that my arc will turn off by itself

the battery only works for 3~4hrs without doing anything

does anyone have the same problem as me?

thanks again for all the hard work
[Xperia Arc General] kamil004:
Why phone never turn off if %batt in apk is 0,1, 2 or other low %.

Always turn off when %batt is biger than 40%.

So apk must dont count some battery use.

Battery is calibrated ok. Full charge 2to100% always

Any solution for this?
[Xperia Arc General] Bazoocaze:
It's explained why on the FAQ. And explained too why it's impossible.
[Xperia Arc General] steryman:
Bazoocaze, you should add an option to set the battery percentage in the app, so when pressing menu key you should have set full charge, set full battery and set battery percentage... because when I used the command to set battery capacity nothing happened... because of the app.
[Xperia Arc General] srebar:
Bazoocaze, I found a qurious if I may say "problem". I was charging my phone all night long (app. 13 hrs) and today it draind my battery to 3% for app 12 hours (using apk 1.5.3). So I plugged my charger to charge my phone and for about 3 hrs of charge it only showed 34%. Is that normal, due to somekind of calculation or is my apk not working properly. Thanks in advacen, and cheers. : )