yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] KiRAdot47:
pengus77 does the light sensor have it's own drivers?

because on my end it doesn't get a proper recognition

elixir 2 gets it as "CyanogenMod dummy light sensor"

could someone else install <elixir 2> and tell what it shown on their end?

thank you
[LG Optimus 2x] maharu567:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

This kernel has voodoo sound implemented?
[LG Optimus 2x] _kankea:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

No. There is no official support from supercurio for any P990 ICS/JB roms.

Sent from my LG-P990
[LG Optimus 2x] pengus77:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

The kernel has nothing to do with su and userspace software. And never will.

The sensor is a dummy leftover from GB and CM never cared to make it work with JB. We're on it.
[LG Optimus 2x] KiRAdot47:
but in the current state can it be accessed?

i mean can you read the analog value from it?
[LG Optimus 2x] pengus77:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

No. It's a dummy stub because on GB auto brightness was handled in the kernel. On ICS it's handled in the rom and the kernel only supplies lux values via sysfs.
[LG Optimus 2x] Wenzo2:
pengus sorry for the OT... but is the work progressing well for cm10.1?
[LG Optimus 2x] AleFranz:
Hi pengus,

how can I inspect the TX power behavior?

It's ok if the signal level doesn't change?
[LG Optimus 2x] Kyrandialegend:
Do you mean wifi signal on screen \ / ?

if yes the signal you are referring to is the RX power !

TX power is the power of transmission from P990 to Router's Antenna
[LG Optimus 2x] AleFranz:
lol. you're right. so a way to test it could be enable the hotspot and the use another device to test the signal strength...
[LG Optimus 2x] BS86:
you can only watch tx behaviour of your phone if your router shows signal level of the connected clients. fritzboxes do that, and some others too.

your phones TX is the routers RX, and your routers TX is your phones RX (transmit - receive, your phone transmits things your router receives and vice versa)
[LG Optimus 2x] chp2:
Pengus I love you :) (in fact, your kernel)

I tested your last kernel in many ways for long time and that one is a pure jewel.

I used your CM10 ROM and removed some unnecessary apps (what I consider unnecessary) like Google Now (Google search) and now my battery life is fantastic, no more FCs, superb reactivity and more...

Exemple : Yesterday, my battery lowered only to 75% after a full day of normal use and today I have enough battery to finish my business trip.

Never seen that before on my O2x.

I had to tell it : Bravo for your excelent job.
[LG Optimus 2x] zchuxz3x:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

spoilers? :(
[LG Optimus 2x] jigar2speed5095:
I wish this kernal supported GPU OC.
[LG Optimus 2x] kingvortex:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

Not likely if this is any indication -
[LG Optimus 2x] massimo69:
Well lets put it this way.....pengus managed to merge all the kernels of all the LG home appliances in his newest 116 :). So from now on you can control your oven, the vacuum cleaner, the fridge and the dog feeder, using your imagination. On top of that he managed to reduce battery consumption, make the phone even smoother then buttery smooth....

So how's this for a spoiler :D :D :cowboy:
[LG Optimus 2x] I.m.Tuga:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

Yep, indeed 116 kernel will be something like this.

From then on, the logs you guys must post are:

My beers in the frigde are not cold enough, should i OC or UV?

My vacum cleaner is too noisy, set ALSA mix to lowest values.

My dog eater doesn't "support" too much food... blame LG for putting 512mb of RAM.

my phone is not butter smooth. Put the butter in the oven and turn it on.......oh, using your Phone.....

Crazy logs incoming.....hehehe
[LG Optimus 2x] jigar2speed5095:
I just wish there was an option to tinker around, i am not a heavy gamer but it would be nice to bump up 25 MHZ speed on that 300MHZ GPU and call it a day.
[LG Optimus 2x] pengus77:
Spoiler Alert

Just know that i'm doing it the right way. All GPU OC implementations around are quite "fake" and don't really push the GPU speed up as much as they say. Moreover they're static. I'm implementing a way to set a specified frequency for the GPU from Kowalski Manager (probably 300, 350, 400 or something like that), but i'm still testing locally the stability. I will never OC the 2d part though because it's used by way too many apps (camera included) and it leads to instability.
[LG Optimus 2x] sturmtruppler:
AW: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

See u in Wacken! I live in that area, going to be a great party!! :D

Sorry for OT, i'll fish-slap myself for that. :D
[LG Optimus 2x] jigar2speed5095:
And once you make it public i will be the happiest Kowalski camper. :victory:

BTW, thanks for clearing that up. :good:
[LG Optimus 2x] chp2:
It looks like.

It's exactly what I already saw in the graph benches.

Hopefully... someone is coherent.
[LG Optimus 2x] CVonV:
would OCing the GPU help with the lagginess in games? my phone lags and gets hot enough as it is playing Words With Friends and Scramble. lags badly in Songpop as well
[LG Optimus 2x] pengus77:
Spoiler Alert

116 is coming...
[LG Optimus 2x] aigaming:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

Yeah!cant wait:D
[LG Optimus 2x] _kankea:
Yeah, but we need to get rid of that horrible battery drain, plz fix and ETA and OC my display to 720p :p

EDIT: Yay, 100th post \o/
[LG Optimus 2x] pengus77:
Hahaha and consider that my phone has 138 apps installed and all kinds of sync on (facebook, gmail, linkedin, ubersync, contacts, calendar, etc).

Same experiment on the gnex (airplane mode + wifi) in 2.30 hours resulted in 0.7% / hour drain. We're better, faster and last longer ! :D

OT: Welcome to the fantastic world of the Senior Members :D
[LG Optimus 2x] Wenzo2:
wow! with PA 09?
[LG Optimus 2x] pengus77:
Nope... my 10.1 test build :p
[LG Optimus 2x] Wenzo2:
Ok! :) What seems to be the cm10.1?
[LG Optimus 2x] _kankea:
LG:At last, they are not lying: Life's Good :good:

*fresh Senior Member bows to the King*

:thereisnosmileybutimagineapersonbowing whilereversinghumbly:
[LG Optimus 2x] BS86:
so, tony is waiting with his build 10 so that he can directly include your 116 kernel? ;)
[LG Optimus 2x] pengus77:
Damn you got us :D
[LG Optimus 2x] natalya:
116, Build 10 and CM10.1 from the masterminds. April looks promising :D
[LG Optimus 2x] aigaming:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

New kernel with new rom version,one word-perfecto:thumbup:
[LG Optimus 2x] zchuxz3x:
ok my phone is on Recovery Mode, waiting for your new release! =D

Status: F5 every 1 minute
[LG Optimus 2x] cl06:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

LOL +1 :D
[LG Optimus 2x] aigaming:
Re: [KERNEL][stable: 100p5 - exp: 115] Kowalski Kernel

Cant stop refreshing thread,i had a strange dream last night,116 penguins where involved:D
[LG Optimus 2x] pengus77:
Experimental Release

And here it goes... 116 in all his final glory. Seriously, no features, only bugfixes (hopefully)

- Fix for the binder crashes (including a nasty backport from the nvidia 3.1 kernel that took quite a while)

- Fix for the SDHCI crashes (this one is fun... happens because the kernel is too fast without debugging/tracing. Had to add a small delay)

- Some love for the wifi driver... it's still in a pitiful state, and when i've time i get back to it... it's my first love after all :D

Nothing more, nothing less. This is the last experimental before merging with stable (of course if phones don't start to melt), so please report any kind of weird behaviour. To install: Recovery -> flash -> wipe caches (needed this time for the changes in the wifi driver) -> reboot.

The kernels are, as usual, up in my XDAFileServer Folder (link in signature). Have fun !
[LG Optimus 2x] revee1:
flashing !
[LG Optimus 2x] Wenzo2:
I have had a reboot.

UV: yes

rom: PA 09

kernel: 116
[LG Optimus 2x] pengus77:
last_kmsg is perfectly clean... rom/app problem.
[LG Optimus 2x] zchuxz3x:
Update PA to Build 10 ;)

kernel is working perfect at moment!. Now waiting for 4.2.2 by Master Pengus77! :D:D
[LG Optimus 2x] Wenzo2:
the download was slow! :)
[LG Optimus 2x] x_justin:
Thanks Pengus Kowalski! Your kernel development is really nice, also because everybody almost can't wait to install your next release. It feels great to have someone working on our device with real knowledge and intelligence. Thank you very much! I am happy with your CM10 rom and going to update to 10.1 as soon you release it:cowboy:
[LG Optimus 2x] pengus77:
That won't happen soon, sorry. I can't maintain 4 kernels (p990 new/old bl and su660 new/old bl) and a rom (my cm10) at the same time... just too much to do for work at the moment :)
[LG Optimus 2x] swifer_lf:
FYI, i need to say that CM10.1+k@walski kernel+ics module is working very good, same as cm10 (except for the amazing amount of bugs in cm10.1.....)
[LG Optimus 2x] kaioder:
Pengus, does the new kernel have less wifi power or something? I am getting disconnected more often. Is it just coincidence?
[LG Optimus 2x] hugoqueiroz94:
Pengus, i'm using your rom with this kernel:

2013-01-13 ---> pengus-kernel-20130113 + Wifi-Conservative-20130113

I need to update to 009p2 version?
[LG Optimus 2x] pengus77:
Yes it uses a lower power in the default configuration. If you're on a CM10 based rom (not 10.1 and not ICS) you can flash the "std" module you'll find in my dev-host folder and you'll get full power wifi (CAM mode) ;)
[LG Optimus 2x] Andy HOT:
Re: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

Hey peng..i wanted to ask you..is tonyp's pa build 2 better then your 06.01 cm10?..i mean stability, battery and smoothness etc..i know it has more features:d
[LG Optimus 2x] pengus77:
It is based on my 06/01 and embeds my 009p2 kernel :)
[LG Optimus 2x] MajinJoko:
+1, just yesterday noticed this :rolleyes:
[LG Optimus 2x] Andy HOT:
Re: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

And do the features he implemented affect battery or stability?:d
[LG Optimus 2x] sokinso:
Απ: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

Any news on the vibration bug pengus? Still happens every Day for me also some times the phone freezes and battery need to be removed. :rolleyes:
[LG Optimus 2x] pengus77:
That doesn't seem to be a kernel bug... it happens on all CM roms, so we think it's a bout the haptic vibration getting stuck. Can you try to disable it (vibration on touch) for a day and see if it happens again ?
[LG Optimus 2x] sokinso:
Απ: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

I thought of that earlier today.

I will try it and let you know.

Ciao. :)
[LG Optimus 2x] R0B3RTF1SH3R:
brightness on full. nothing changes the setting. any fix pls?
[LG Optimus 2x] pengus77:
Disable auto brightness. It doesn't work on CM roms so far. Works fine on ICS.
[LG Optimus 2x] R0B3RTF1SH3R:
im using this kernel on optithrust 1.1 and disabling auto, moving slider does nothing. enabling auto.i think it flickers and goes down maybe 1% of brightness maybe or just illusion. but yeah. its still onfull.
[LG Optimus 2x] pengus77:
Weird, on ICS i know for sure that auto brightness works (reports from DM and Stock versions) while the non-auto brightness doesn't work. The opposite is true for CM roms... it's a mistery still why...
[LG Optimus 2x] bree1:
R: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

Idem for me on stock ICS. But auto working fine

Inviato dal mio LG-P990 con Tapatalk 2
[LG Optimus 2x] R0B3RTF1SH3R:
maybe auto is working properly. but i dont notice it doing anything.
[LG Optimus 2x] sgspluss:
Are you try to fix brightness problem?

If no i will try your next comming kernel ;)

Gesendet von meinem LG-P990
[LG Optimus 2x] amardeepsingh77:
Re: [KERNEL][CM10/ICS - OLD/NEW BL][009p2] Kowalski Kernel

Hi Pengus, are you working on cm10.1 kernel for gb bl??
[LG Optimus 2x] zchuxz3x:
Hey pengus, is possible to do something like that?

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

I know is a complete different hardware, but I hope you understand the idea :good:
[LG Optimus 2x] bree1:
R: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

oh that sucks kernel is this? my phone now makes a bad coffee and I still can not change the channel on TV ... Pengus ... What have you to say for your defense? :mad: :rolleyes: :D

Inviato dal mio LG-P990
[LG Optimus 2x] silverkin:
Odp: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

Lol, my phone really changing tv channels with Samsung Remote.

ITS A FEATURE!

tapatalked with LG P990
[LG Optimus 2x] x_justin:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

Very nice! It used to be 2,5 percent/hour!

Verstuurd van mijn LG-P990 met Tapatalk
[LG Optimus 2x] Gainer5:
This is just what I wanted to say :D Both cores are nearly everytime (maybe they are) in deep sleep. My battery doesn't drain and it seems that it doesn't affect my battery now that I have wifi enabled when my phone is locked.

But I have one demand^^ Please let us undervolt to 650mV again. We won't damage our phone :angel:

Thanks
[LG Optimus 2x] tr@p:
This morning, out of curiosity I tried to OC to 1,5gHz (UV -50). I had a strangest freeze ever. I was playing Most Wanted (best way for me to check out freezeness lol) and phone rebooted. But first it sort of froze, then continue to play couple of seconds, then froze again and reboot. Here's last kmsg.

http://db.tt/3BzN1KkS

Happy Easter to everyone that's celebrating...
[LG Optimus 2x] mark_hatred:
Is it ok to merge commits of the exp branch to an Su660 source and build on Linaro GCC 4.6-2013.03 ? :crying:
[LG Optimus 2x] tonyp:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

If you're doing it for yourself and not sharing it, certainly.

You should enable graphite as well, it does work nicely.

pengus will release an SU660 kernel with the next stable.
[LG Optimus 2x] UserMe1:
116 exp pa 10 reboot

i had a reboot after overclocking to 1.5 and tried to benchmark my phone , in the middle of the benchmark test the phone just rebooted.

i get the logs but after reboots , i m not sure that help but i will attach.
[LG Optimus 2x] mark_hatred:
For personal use, yes ill try to build one for testing on PA10 tonight, just too dizzy looking at versions, builds and even extraction errors (shows replacement of a file on the tar from lg) . Ill do this for fun, and I hope there won't be any nuclear explosion popping up over the news here in the Philippines. I hope the next one after 116 becomes a release! :victory: Just too excited to have PA and other CM10 ROMs fully functional on SU660.
[LG Optimus 2x] pengus77:
Interesting lines in that last_kmsg tr@p...

[13:03:31 09:01:44.570] BUG: scheduling while atomic: .games.nfs13_na/16322/0x00000002

It's as if nfs schedules in kernel space ??? I'll look more into this, definitely, but can you "lsmod" from console after you start the game and see what's listed ? (if nfs asks root permission of course, otherwise it's so weird....)
[LG Optimus 2x] tr@p:
It doesn't ask for root permission... here is the list...

http://pastebin.com/pCCNAUmi

BTW. I did it with Terminal Emulator, hope that's ok.
[LG Optimus 2x] CarloIT:
R: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

To every Penguin in the World ;)

inviato con Tapatalk dal mio Xperia Z
[LG Optimus 2x] rajdoll:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

Pengus, I have a dual boot setup with both ROMs using this kernel. Issue is when I update kernel in one ROM, somehow other gets affected. Kw app in other says it is not Kowalski kernel. Is it that I can't have this kernel on both ROMs?
[LG Optimus 2x] LilProphet:
Thanks for this kernel, runs beautifully with PA, however I got a problem after the releases of 011p4, somehow wifi signal got much weaker. The router is a bit far away from me (can't help with that), and I always flashed 011p4 for constant wifi connection, but I found that the new versions are much faster and stable, so I'm sticking with those. I'm just asking, does anyone knows why this wifi problem appear? My wifi sensitivity is set to -32dbm. Thanks for your help!
[LG Optimus 2x] Gainer5:
I charged my phone to 100% this morning and at.. 11am it was ready. I went directly out of the house doing stuff. I heard some music and was checking my phone one time maybe. Now it is 6pm and my phone still has 89%, so I'm very happy :) The phone was 6,5h in deep sleep if somebody wants to know.
[LG Optimus 2x] walter79:
On my LG p990 wifi need a lot of more energy compared to my HTC HD2. Both use BCM4329 wifi chip.

I used battery monitor widget to compare both devices. I use CM10.1 on both devices and visited the same website.

Wifi on on both devices, LCD backlight auto, sync on, 2g data

P990 ~ 400 - 450 mA/h

HD2 ~ 200-250 mA/h

I think there is something wrong in wifi kernel source.

Will compare both sources.
[LG Optimus 2x] pengus77:
Yeah we use a custom bcm4329 chip and it's insanely old (hardware wise). The same chip used also in the gnex needs way less juice and uses the new bcmdhd driver. Also note that LG modded the driver heavily instead of using the stock nv-tegra one, because this chip needs some special private commands also to push the firmware...
[LG Optimus 2x] walter79:
Maybe this helps a little bit to save battery.

/system/etc/wl/nvram.txt

pa0maxpwr=[COLOR=Red]80[/COLOR]

change to 68 like my HD2.

I can use firmware and nvram files from HD2 on LG too

LG bcm4329 chip use only a different xtalfreq=38400 HD2 use 37400.
[LG Optimus 2x] dr.lube:
walter79, do you notice a less battery drain now?
[LG Optimus 2x] MrKra:
pa0maxpwr determines the max power that is given to the wifi antenna.

Mhh..

Does it the same as the signal strength???

Finally we want a good signal with a good (low) drain.

Would be interesting to find good values
[LG Optimus 2x] Wenzo2:
What is xtalfreq?
[LG Optimus 2x] ocr66:
That should be the frequency of the crystal clock
[LG Optimus 2x] nAFutro:
First of all: Thank you pengus77 for this amazing kernel.

I was curious about my Tx-Power so i used your flashable zip in the beginning of this thread to see how much Tx-Power was used and my phone is not behaving like a portable microwave. I get a Tx-Power rating of 17 dBm.

As far as i know i did not mess with WiFi values before, I'm running on CM10.1-20130321 and set the WiFi region to Europe in the advanced WiFi settings in CM10.1

Where exactly and in which Korea is the LG factory if its targeting specific regions .... :p
[LG Optimus 2x] lucfig:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

There must be over a month since my last freeze or SOD with PA+KK... I think that is a record on my phone.

But my phone's screen just went black while updating several apps. Last_kmsg linked.

http://db.tt/NNjbWsEO

Enviado de meu LG-P990 usando o Tapatalk 2
[LG Optimus 2x] calav3ra_de:
Using pa0maxpwr=68 gives me less good signal, meaning: with txpower=4 i cant connect to my router at home anymore.

i need to go to some high value, then lower to min. of 8 to connect. connection is ok then (im not a speedjunkie)
[LG Optimus 2x] x_justin:
Ämazing new nightly! Very stable. I now got some nice results with the latest nightly on WiFi, 0,7%/hour in sleep with everything on:laugh: Interesting posts walter79, hope we can achieve more savings with it!

Just one question about the mobile antenna driver. Pengus, you adjusted some values in it isn't it? It's idle drain is way better than it used to be, but I've got an HTC one V over here, 100% stock (work phone). And with mobile connection (HSDPA) on, it hardly drains battery. Fast dormancy is not supported by the provider so that's not the trick. After 30 hours, there is still 85% left of the battery, so that is also a consumption of 0,5% / hour, the same we now got on our 2x with WiFi. Phone is syncing with exchange, wifi and bluetooth are off. Would it be possible to adjust more power values to save even more from mobile data connection or is it the hardware which just sucks juice?
[LG Optimus 2x] calav3ra_de:
I request USB fastcharge toggle-widget for kowalski manager.
[LG Optimus 2x] Andy HOT:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

...i don't think ure in the position to request sonething..especially on this tone..
[LG Optimus 2x] KiRAdot47:
i too have observed less drain when wifi is on :victory:

but i don't know yet the explanation - i enabled gps and opened gps status, after gps test, phone did find satellites but did not lock on to them (found 6, i waited for about 1 min and no lock on any)
[LG Optimus 2x] aigaming:
Request for kowalaski manager;)

While a fix did a great job(when call received to set alsa settings back after call) there is condition also when you lower your volume on headset(call,notifications,ringer),alsa settings get back to default values...

Is that fixable Mr. Pengus?Tnx
[LG Optimus 2x] AleFranz:
I'm having freezes while transfering file from sdcard as USB mass storage, but I'm unable to get a last kernel log. Does this mean it is not kernel related?
[LG Optimus 2x] BS86:
http://xdaforums.com/showthread.php?t=2185929 ;)

what you need is a dmesg-log or kmsg-log, because you do not restart your phone ;)
[LG Optimus 2x] tonyp:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

But let me tell right away: USB mass storage is deprecated by Google.

pengus and I don't support it, we offer it the way it is for people who consider it useful, but we recommend to use MTP and won't try to improve the current implementation.

This doesn't necessarily mean other rom maintainers don't support, but you can't expect help there from us.

pengus this okay for a combined statement? :D
[LG Optimus 2x] jura55:
Hi,

is sudden shutdown problem solved?

Happened to me everyday 5-10x usually when battery is lower than 50%...time to time drops to 0% and phone turn off. After turn on, battery shows the same value as before drop....very annoying....
[LG Optimus 2x] DrummerMuppet:
What ROM are you using? Kernel version? I'm on pengus' CM10 + KK exp 116 and haven't experienced any sudden battery drops yet.
[LG Optimus 2x] jura55:
I'm on DarkJelly (CM 10, old BL, Kowalsi experimental 116) - but happened to me also on pure CM10 builds with other kernels. I bought new battery( I thought the age of the odl one could cause problems) but no success....
[LG Optimus 2x] svein01:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

Had one today. Usually happens during phone calls for me; this time as I was hanging up, thankfully :) Was at 36%, dropped to zero in an instant. No logs, unfortunately, just sharing. Exp116, pa10, rev a03, core process 1.
[LG Optimus 2x] tonyp:
This affects all ROMs (apparently random-ish) which use the LG ICS kernel or derivates (like CM or kk).

No, they aren't fixed yet, we still don't know why this happens.

I have it about once every 3 weeks, 5-10 sounds creepy.
[LG Optimus 2x] svein01:
Re: [KERNEL][stable: 100p5 - exp: 116] Kowalski Kernel

For me (again) it only happened during phone calls, and I've only noticed it once battery level went lower than 50%. Will try to logcat again the next time.
[LG Optimus 2x] tonyp:
Well I already had it during high usage and during reading the xda app. Never during a phone call.

The last_kmsg shows the shutdown event - but doesn't contain any usefull information.

The batterydriver is in the kernel - it reports the levels to userspace. For some unknown reason it reads (and thus reports) 0% sometimes.

The ROM then requests a reboot to protect the battery.

There are 3 solutions:

fix the bug. this would be the best one obviously - but we couldn't find a bug yet and have no clue why this happens

add a workaround to the kernel to doublecheck the battery reading before reporting 0%

add a workaround to the ROM to delay the reboot request and check if the next reading is > 0% again