yashsingh1/xdaforums huggingface dataset:
[Elephone P8000] Stefan Gündhör:
Hi all,

as most of you might know already the build v2.3.0 was broken, at least for most stock ROM users.

I reverted the following changes in order to hopefully fix the problem:

Revert "fs/buffer.c: increase the buffer-head per-CPU LRU size" …
Revert "make possible battery meter drops happen earlier instead of a…
Revert "less debug" …
Revert "disabled MediaTek's AEE debug stuff in-kernel" …

With these things reverted I hereby offer the build 2.3.1 - the working battery fix is still included, as are some performance improvements.

Before I pin v2.3.1 to the first posting of the thread I please need some voluntary testers to test the 2.3.1 build, to make sure this build is working properly now - ideally people that had problems with the 2.3.0 build.

In case 2.3.1 still doesn't work please don't worry and try to enter the boot menu upon a reboot - from there you can enter recovery and there you can flash a different kernel, without having to re-install the ROM.

Thank you for testing in advance & your patience. :cowboy:

If you give me your green light, I will officially announce the 2.3.1 build, also in first posting of the thread.

Edit: build removed due to negative feedback.
[Elephone P8000] Trashware:
I'll test it and give you feedback.
[Elephone P8000] charliepie:
So the possible battery drop with this kernel appears below 20%?
[Elephone P8000] Stefan Gündhör:
if it occurs after a reboot: yes. for now.
[Elephone P8000] charliepie:
Many thanks Stefan, I'm still using the test build version but I may give 2.3.1 a tryout too:)
[Elephone P8000] Trashware:
Stefan:

- Flashed and wiped caches

- App optimization worked smoothly

- System freezes when coming to home screen

- After about 10 seconds reboot

- Now Freeze

- Now Reboot

- I stopped it and recovered old boot image.
[Elephone P8000] bjbirch:
Just flashed 2.3.1 whilst using eragon 9.9 and elephone p8000 booted up without any problems so far
[Elephone P8000] arnicika:
Thank you for saving me pains

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] Stefan Gündhör:
Thank you. I've learned my lesson. I will now just rebuild the batteryFix testing kernel (exactly the same) and call it v2.3.2 - which means v2.3.2 will be the same as the batteryFix testing kernel that worked for everyone.
[Elephone P8000] arnicika:
[MENTION=4311614]Stefan Gündhör[/MENTION],

How can it work for him?

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] Stefan Gündhör:
his system might freeze later.

should I include the battery drop shift as only thing different to the battery fix testing kernel? in order to make possible drops after reboot happen earlier. I could include this as the only change to the battery fix testing kernel
[Elephone P8000] Trashware:
I would appreciate this.
[Elephone P8000] arnicika:
Of course I would like to have all the improvements of 2.3.0 if they would work.

I reinstalled eragon because viper4 didn't find drivers, so ROM then kernel with fix with reboot and there was no drop...just to let you know

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] Snul9:
Build 2.3.1 is Ok for my (Nexus ROM)
[Elephone P8000] arnicika:
For nexus, 2.3.0 was OK in the first place!

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] charliepie:
Yes, I think we all agree that the potential early drop is preferable to the phone dying suddenly at 15% as at least you have more in reserve should it drop from 35 to 20 for example.
[Elephone P8000] Stefan Gündhör:
Well, here we go, build 2.3.2

This is exactly the same as the battery drop fix test kernel (that worked for everyone), with the only thing different that it has a different name and that I included the battery drop shift (so remaining drops after reboots should happen earlier).

Should work for everyone now.

Changelog (compared to 2.2.x):

v2.3.2

finally working battery drop fix by [MENTION=3784300]BlueFlame4[/MENTION] (confirmed working by community). the battery drop might still occur, if you rebooted between charging cycles, but if you use the phone starting with a full battery until it's empty, you should no longer experience a noticeable drop.

re-enabled the old battery drop fix as well (which shifted the drop from 15->0% to 35->20%. So if a drop occurs after a reboot (as mentioned above), it should happen somewhere above 20% battery and not drop directly to 0%.

double-tap 2 wake is still enabled, so if you are on Cyanogenmod and use a build without dt2w, you can just flash this kernel and it will work again

Download is attached to first posting of this thread.

Please wipe dalvik & cache along with installation.

You may use the kernel with any stock-based ROM or Cyanogenmod.
[Elephone P8000] BlueFlame4:
Good idea, I think I will merge the battery shift into my repo as well. For now walter79 and I are trying to boot CM 13 by the way. After some initial hassle partitions are already mounted but surfaceflinger crashes. Enough for today, good night!
[Elephone P8000] Trashware:
Just successfully flashed. No Reboots, no Freezes.

Thank you guys for the good work done in your spare time.
[Elephone P8000] Stefan Gündhör:
Thanks, good to hear that it's stable again!
[Elephone P8000] charliepie:
I also flashed 2.3.2 and so far it seems fine, will take a few days to cycle the battery so will report any drops etc if there are any....my phone is set to switch off at 2.45am and back on at 9.30am Monday to Friday so that counts as a reboot:) thanks again!
[Elephone P8000] lemaxxx:
Eragon + 2.3.2 work fine. No battery drop here.
[Elephone P8000] MikeJT:
Likewise, Eragon and kernel 2.3.2 working great for me. Awesome work guys!
[Elephone P8000] frankcilo:
but have you noticed that with the latest version of the battery charging is slower?
[Elephone P8000] Trashware:
No issue here.
[Elephone P8000] valascus:
i did.
[Elephone P8000] Stefan Gündhör:
No, this is not the case with the latest version of guestekrnl.

Instead, only the kernel used for Cyanogenmod build #7 is affected (visi0nary kernel).

The two kernels (guestekrnl and visi0nary) have taken stuff from each other (have been mostly, but not completely merged).

This means that currently the two kernels are nearly the same, but there are still some differences - for example:

- guestekrnl does not include the change that is responsible for the slower charging (I did not merge it because I was sceptical)

- guestekrnl still has doubletap2wake enabled, while latest kernel included in Cyanogenmod does not

- guestekrnl currently can use the same build for both the latest stock and cyanogenmod ROM

- some other minor differences in p.ex. configuration
[Elephone P8000] Stefan Gündhör:
You can't really notice that on guestekrnl, because as mentioned above, the change that caused this problem on latest Cyanogenmod default kernel, is not even included in guestekrnl.
[Elephone P8000] persano:
Hello.

I want to compile a kernel for Blu Life One X. I m finding it very difficult. Can you share some of your knowledge with me?
[Elephone P8000] :
Will you try to re-add CIFS support?
[Elephone P8000] Stefan Gündhör:
I can make you a test build with cifs after my short vacation.

Today is the most beautiful day here in Austria!
[Elephone P8000] :
Looks great and enjoy your time!

Would appreciate it to get such a test Build :)
[Elephone P8000] charliepie:
Not sure if I'm imagining it but battery drain seems faster, I might try the test build kernel again or maybe it's something else causing it...
[Elephone P8000] Stefan Gündhör:
The only thing different between this build and the test kernel is 1 line of code that we refer to as the old battery drop fix. (and of course the kernel name is different).

Keep me posted, but under normal circumstances the consumption should equal the one of the testing kernel.
[Elephone P8000] Satbeginner:
Just installed 2.3.2 kernel after a full night charge, so I already was at 100%.

I (still) use Eragon v9.8.0 at the moment, because I experienced some weird behaviour (not connecting data, not receiving calls) when coming from Wifi going to 3G/4G Data and back using Eragon v9.9.0.

It could have been my provider, so will test again with v9.9.0 soon.

For now the kernel seems smooth!

Many thanks,

Un saludo,

Satbeginner
[Elephone P8000] thku01:
I don't have a battery drop problem. Is there already a battery drop fix in Eragon 9.9 or doesn' t this problem occur with newer batteries?
[Elephone P8000] Rizera:
Very happy!!

Well, what can I say? I have never been this happy since The day I bought this phone. You guys managed to fix the dreaded 15% sudden battery drop!!! Please note on screenshots my 6% to 1% more than 20 mins, no sudden drops at all.

This is amazing. Thanks a lot, guys!! :laugh:
[Elephone P8000] BlueFlame4:
Great to hear! :highfive: I am also really happy and proud of the fix :D Finally I can use the phone as it is intended. :victory:
[Elephone P8000] fillippe:
I've found no mobile connection with 3 UK using 2.3.2. Have reverted back to 2.2.1(nobatteryfix) and signal good.
[Elephone P8000] pat7:
Hi.

I also have much more wifi more than the test version cut
[Elephone P8000] bjbirch:
My 3 uk sim is working with 2.3.2
[Elephone P8000] Rizera:
Hi guys! Is it just me or Wifi keeps turning itself off everytime you let the phone sleep for like 2 minutes? Before I flashed 2.3.2 I did not have this issue.

And yes, I have the "always keep wifi on during inactivity" option enabled.
[Elephone P8000] arnicika:
I also noticed weird behavior in mobile data and in WiFi too. Sometimes connected, but no traffic. Wasn't before like that. And it may be related to the tweak of no drop, but I think battery drain is higher than it was.

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] pat7:
Hello.

just for you to notice that I just reflash the version of the last test BlueFlame that catches the wifi and 4G fine. I am in my work is the network is very average. V 2.3.2 with wifi and 4G does not connect when I go to sleep.
[Elephone P8000] Satbeginner:
I had similar behaviour, but I am thinking it is related to Eragon v9.9.0.

I am now using Eragon v9.8.0 icw kernel v2.3.2 and this combo looks ok in terms of both Wifi & phone/data.

Un saludo,

Satbeginner
[Elephone P8000] Satbeginner:
Battery drop re-appearing??

Hi all,

I use Eragon ROM v9.8.0 and the v2.3.2 kernel.

(Eragon v9.8.0 because I experienced weird wifi and 3G/4G behaviour with v9.9.0. Could have been my provider though)

Just after the installation the drop was gone.

But now, a few days -without reboots- later, it looks like it is re-appearing?

First there was a small step up at the end of the charge cycle.

Then a step-down around 25-30% appeared.

And now the step-up to 100% seems bigger?

I keep testing and keep you posted.....

Un saludo,

Satbeginner
[Elephone P8000] MikeJT:
Am I the only one who seems to be experiencing a slightly quicker battery drain in 2.3.2?

I've gone back to 2.2.1 and drain has definitely reduced. I'm running Eragon v9.9

That said this kernel is fantastic and the work of you guys awesome!
[Elephone P8000] pat7:
Hello.

I agree to the battery drain. I think it is the fault of the wifi /4G in v2.3.2 that does not stop to look for networks
[Elephone P8000] kivulallo:
i noticed it too maybe wifi or 3g causes it but i think its mainly because of the plus 15% that we got now. i see you all start charging at 15-17% but it won't drop, we just got used to it. 17% can last for 2-3 hours now.

before the dropfix, the battery's "end" was at 14% that's why it dropped. that was the actual 1 or 2%.

now the drop disappeared so the "end" has a right place now.

i hope it's understandable i'm not a genius at describing things in english :D
[Elephone P8000] asmanao:
thanks great kernel.

I would ask if there was a way to unlock the screen directly from the fingerprint sensor :)
[Elephone P8000] Stefan Gündhör:
This might be related to CPU governor (which is now intelliactive and was interactive in v1.6.1).

I'll re-build 2.0.0 with interactive and test if I can see any difference.

If interactive should behave better in this case, I might release 2.0.1 (with only the governor change). - This would be the last change for at least one or two weeks, so people have time to actually try the versions :)

Also I don't have any more changes in mind for now.
[Elephone P8000] boka18:
Alrighty than.. Can u tell me when will u release it, so i would know if i can flash it before i go to sleep, or tomorrow :D

EDIT: I have changed the governor to interactive, and the wakeUP problem (the delay of 0.5 seconds) is gone!

Will keep on using it too see what stats will have my battery and dt2w
[Elephone P8000] Stefan Gündhör:
Very cool! I'm compiling the new kernel at the moment with interactive governor, but I have to test first. I've been working on the pocketmod problem, maybe I can fix it, we will see.

Edit: also it seems that the Mediatek chipset has some compatibility/stability issues, when introducing custom I/O schedulers and CPU governors, which is why I will revert them to the built-in ones I used for v1.6.1 - after this stability issues should be gone too.
[Elephone P8000] Stefan Gündhör:
Small update for fixing the stability issues some experienced with v1.6.2 and v2.0.0

v2.0.1

fix stability issues (this release is a replacement for v2.0.0): Mediatek seems to have compatibility/stability issues with additionally introduced CPU governors and I/O schedulers, which is why in 2.0.1 I use the same built-in governor and scheduler I used for stable v1.6.1 (rebuild)

wake-up delay gone (also thanks to using the same governor as in v1.6.1)

I'm sorry if you experienced any stability issues with v1.6.2 and v2.0.0 - they seem to be caused by the governors/schedulers and should be gone now

I'll remove the download for v2.0.0 in favor of v2.0.1 which should now be stable.

Download can be found in first posting. :cowboy:

This should be the last release now for at least 1 or two weeks.

thanks [MENTION=5942840]boka18[/MENTION] for reporting the wakeup-delay in v2.0.0!
[Elephone P8000] boka18:
Downloading it now. Will tell u soon about the performance! Thank you!!
[Elephone P8000] jknarf:
Tested 2.0.1 kernel and find following issue:

Mixplorer chrashes immediately with follwing messges in logcat:

E/AndroidRuntime(12723): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.mixplorer/com.mixplorer.activities.BrowseActivity}: java.lang.ArrayIndexOutOfBoundsException: length=4; index=4

I'd crosscheck it with 1.6.2 and 2.0.0 and MiXplorer starts with the older versions without problem.

Cheers

Edit: Everything is fine now after I'd reflashed Eragon and the Kernel.
[Elephone P8000] -Tiz-:
Mixplorer runs without issues on my phone (using the latest kernel).
[Elephone P8000] jknarf:
For me it works with 1.6.2. But with 2.0.1 it won't.

Double checked it again with cache and art cleanup.

Cheers

Gesendet von meinem Elephone P8000 mit Tapatalk
[Elephone P8000] boka18:
It works on the latest kernel without a problem.

---------- Post added at 11:53 AM ---------- Previous post was at 11:48 AM ----------

U forgot to tell us about the pocket mod? Fixed or not?

One more thing, about the dt2w, as I understood our dt2w works ONLY if u tap in the middle of the screen. I havent seen this info anywhere on this forum. Correct me if i am wrong
[Elephone P8000] skeleton1911:
[MENTION=4311614]Stefan Gündhör[/MENTION]

wirklich gute arbeit!

your kernel will be in my next rom release soon :P

Thank you very much
[Elephone P8000] jknarf:
I can't find it too. But I remember that Blueflame4 implemented it to avoid accidently unlock the screen if you i.e. pull out your phone from the pocket and things like that.

Cheers

---------- Post added at 02:07 PM ---------- Previous post was at 01:28 PM ----------

No more trouble with MiXplorer here.

Reflashed all that **** and everything just fine now.

Cheers
[Elephone P8000] Stefan Gündhör:
Pocket mod has been replaced by a dummy implementation that does not do anything (fix attempts did not succeed). I think it doesn't really matter, as the tap-interval is very short and sometimes you have to tap more than twice - it's unlikely that this happens in your pants accidentially.

Dt2w seems to be set to work only in the middle of the screen. I'd need to check the sources to confirm, but I'm not at a pc right now. Implementation is the same as in visi0nary's kernel.

[MENTION=3186207]jknarf[/MENTION] mixplorer crash in my opinion shouldn't be related to the kernel - but as you posted above you don't have this problem anymore anyway
[Elephone P8000] boka18:
glad to hear that. [MENTION=4311614]Stefan Gündhör[/MENTION] this kernel is ROCK SOLID. dt2w is working perfectly (it doesnt have the deepsleep problem now - but as i mentioned above only at the MIDDLE of the screen, - which is great), no lags, no sudden shutdowns/reboots, fingerprint sensor working as it was in v1.6.1.

If you ask me, this is a rock solid build of the kernel, let it sit for a month! If u come to some new ideas, make some poll so we can vote :D And don't forget - dont change the governors and the i/o :D

Cheers!
[Elephone P8000] micbanand:
v2.0 phone not used much. but it not stable and rebooted many times.

I had a lot of problem with most "tilt" kernels. but did not find problem on his last fixed kernel.

beliebe there where some problem with fingerprint scanner. but take a look in the thread.

Will try the 2.01 now.

Thanks
[Elephone P8000] skeleton1911:
Flash v2.1 and it will be fixed
[Elephone P8000] Stefan Gündhör:
Thanks, I think I got everything right this time :fingers-crossed:

Yeah, let's let this one sit for some time. No, I won't change governor and scheduler ever again :laugh:
[Elephone P8000] boka18:
Wooohooooo!!! Can't believe this!! Battery problem IS solved!! I had 15% for more than an hour, i started playing with the phone it went to 14% and it is not drainingggg :D
[Elephone P8000] skeleton1911:
Maybe it's the update to 3.10.90

Or it is placebo .

Look what the next time after full charge say. [emoji14]
[Elephone P8000] Stefan Gündhör:
I like your wallpaper/theme! :)
[Elephone P8000] boka18:
Battery went to 8% and then went to 1%. I will keep testing. This was my first charging cycle.

P.s Retro icons from playstore, and wallpaper in attachment.
[Elephone P8000] jman0:
There's no way I'm aware of to achieve that on the first version of P8000. Elephone recently announced a second version of the phone, which will also run on Android 6.0 from the very first day and will be directly unlockable by using just the fingerprint sensor, without having to turn the screen on first.
[Elephone P8000] asmanao:
I think it should be the same principle as of the knock knock. But I'm not smart enough do such things :)
[Elephone P8000] charliepie:
I'm not sure about the battery drain, I thought it was going a bit faster but I can't be certain but it still lasts for long enough for me to get through the day usually so it's not too much of a problem. I'm still on v9.8 & 2.3.2
[Elephone P8000] blueflash:
Not sure if off topic, but experiencing extreme slow charge.

Have fixed this in past by wiping cache/dalvik and changing kernal, but this time it's not fixed itself. Used kernel 2.0.5 and 2.3.2 and changed from eragon 9.9 to 9.5

Any other suggestions, have used different cable sockets etc .
[Elephone P8000] fillippe:
I'm wrong. I've just flashed 2.3.2 again and my 3 UK SIM is working fine.
[Elephone P8000] Stefan Gündhör:
hi guys,

2 things I would like to mention:

kernel 2.3.2 should have nothing to do with WIFI turn on / off - maybe the ROMs fault

seemingly faster de-charge might be caused by the corrected battery capacity reading. previously the drain was slower, but then we had one single big step downwards (15-20%). Now there is no big step in general anymore, but it drains a bit faster overall. Should be the same result.
[Elephone P8000] Trashware:
Sounds reasonable. We lost during the drop something we never had...
[Elephone P8000] kivulallo:
yep you're right, but nowadays i noticed some more drain than average. for example, my phone always lasted for 2 days with 25-30% in the end of day 2... (with drop of course, which means 8-12% normally)

in the last month my phone usually died in the middle of the day with normal use as always (i'm in school so i can't really change my usage).

i will test now, maybe an updated app causes it or the standby power saving...
[Elephone P8000] gabri84sv:
many many tnx for S2WPhoneCallDisabler-v1.1_CYANOGENMOD.apk
[Elephone P8000] Stefan Gündhör:
Have there been changes in the ROM you use (did you switch the ROM or the ROM version)?

In my case the Email app (the yellow one) for example was draining the battery in standby, when I didn't use push notifications.

If you can't find any reason for the faster drain, could you please compare the old batteryFix-testing kernel http://xdaforums.com/showpost.php?p=66290548&postcount=275 with v2.3.2?

As I already said, the only difference between the two kernels is, that 2.3.2 includes the old battery fix as well (that shifted drops above 20%).

As a couple of people have already complained about faster drain, maybe it is indeed related to the old fix.

So, please test and report, if you can't find any other reason for the faster drain.
[Elephone P8000] thundermuppet:
I only got 1 day out of latest Eragon or CM using any kernel. Reverted back to stock and customised with expose/gravity & 2.32 and back up to 2 days again.
[Elephone P8000] kivulallo:
I always used eragon + visionary's kernel, then gueste since 1.0.6 or something...

and always had 2 days runtime, sometimes 3 if i didn't use the phone a whole day...

Now i'm testing with/without L Speed, with/without standby battery saving, checking the apps, mobile networks, wifi etc...

now i know that i don't have standby time on the phone. the battery capacity contantly decreases wheter i use the phone or not, and the biggest consumer is Phone idle. (i have 2hours of screen time in two days). i will attach screenshots later when i'm done with some test and cycles.
[Elephone P8000] gabri84sv:
hi, I tried S2WPhoneCall-Disablerv1.1_CYANOGENMOD.apk but doesn' t disable dt2w during the call, thanks all the same again for having made the app
[Elephone P8000] Stefan Gündhör:
it probably has the same problem the original version for stock rom had - it checks for the availability of sweepToWake, and only if it can be found, dt2w is disabled.

The original app has been patched - I guess this one needs patching as well
[Elephone P8000] Stefan Gündhör:
release v2.3.3

v2.3.3

switched toolchain in hope of improved power consumption

deactivated to old battery drop shift fix (the one that didn't fix the drop, but shifted it upwards) - also in hope of improved power consumption

one cherry-pick from visi0nary upstream

this is supposed to be the last release for a longer period of time, because there's not much to improve currently - I sincerely hope this release will work well for everyone :good: :highfive:

For Cyanogenmod and Stock - download attached to first posting.

Please wipe dalvik and cache along with installation - thank you :fingers-crossed:
[Elephone P8000] kivulallo:
i didn't even finished my test cycles... now i can start over [emoji1] [emoji1]

thank you anyway! will test this soon
[Elephone P8000] Damoedge:
Stefan, I think I asked before...but if you could is there any way in making the blue notification led light brighter...I know it's got to do with the kernel...it's just that during day light it's hardly noticeable when it's flashing and I rely on it a lot.

I remember on Xperia S to make that led bar brighter it was changing the Max current value of the led...just an idea for you where to start if you want to...really I would very much appreciated if you could do this and a donation would follow...

Thanks again for your hard work.