• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[KERNEL][E5823] GreenKernel for Nougat (stock ROM)

Search This thread
@GreyLeshy, could you please update e2fsprogs to fresh version, if this possible? AFAIK, there's should be added support of mounting ext4 via fuse.
UPD: yes, it's there!

Homepage: http://e2fsprogs.sourceforge.net/
Git: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=summary
Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.5

And fuse2fs is the module that I really want (it's part of e2fsprogs source):
https://blueprints.launchpad.net/ubuntu/cosmic/arm64/fuse2fs/1.44.1-2
man fuse2fs : http://man7.org/linux/man-pages/man1/fuse2fs.1.html
man mount.fuse: http://man7.org/linux/man-pages/man8/mount.fuse3.8.html
 
Last edited:

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
@GreyLeshy, could you please update e2fsprogs to fresh version, if this possible? AFAIK, there's should be added support of mounting ext4 via fuse.
UPD: yes, it's there!

Homepage: http://e2fsprogs.sourceforge.net/
Git: http://git.kernel.org/?p=fs/ext2/e2fsprogs.git;a=summary
Changelog: http://e2fsprogs.sourceforge.net/e2fsprogs-release.html#1.44.5

And fuse2fs is the module that I really want (it's part of e2fsprogs source):
https://blueprints.launchpad.net/ubuntu/cosmic/arm64/fuse2fs/1.44.1-2
man fuse2fs : http://man7.org/linux/man-pages/man1/fuse2fs.1.html
man mount.fuse: http://man7.org/linux/man-pages/man8/mount.fuse3.8.html

If I have free time will make.
 
  • Like
Reactions: kryosan

torukk

Member
Sep 19, 2014
45
29
Hi,

first of all, thank you GreyLeshy especially for your hard work (I can really imagine the time it took as I'm now trying similar work) and all the contributors and testers of your kernel. I'm now cherry-picking from your repo and trying to create alternative kernel for suzuran on LOS 14.1 inspired by your kernel. First I've synchronized suzuran LOS sources with upstream, f2fs for 3.10 and CAF. Then around november last year, I began synchronization with your sources. Unfortunatelly, my kernel is still plagued with one problem, which I'm unable to solve.


This always happen only on idle phone with screen off, with frequency of every 4 days in average:
Code:
<6>[16663.139532] PM: suspend of devices complete after 24.348 msecs
<6>[16663.142508] PM: late suspend of devices complete after 2.953 msecs
<6>[16663.144838] PM: noirq suspend of devices complete after 2.318 msecs
<6>[16663.144858] Disabling non-boot CPUs ...
<1>[16663.151820] Unable to handle kernel paging request at virtual address ffffffc001a14719
<1>[16663.151831] pgd = ffffffc035306000
<1>[16663.151844] [ffffffc001a14719] *pgd=0000000000000000
<0>[16663.151867] Internal error: Oops: 96000021 [#1] PREEMPT SMP
<6>[16663.151896] CPU: 2 PID: 851 Comm: kworker/2:1H Tainted: G W 3.10.108-g3cd60421ddcd-06126-g0cb59086392d #1
<6>[16663.151902] Hardware name: SoMC Suzuran-ROW (DT)
<6>[16663.151941] Workqueue: events_highpri wq_barrier_func
<6>[16663.151952] task: ffffffc0586bcb40 ti: ffffffc04b4e0000 task.ti: ffffffc04b4e0000
<6>[16663.151978] PC is at test_and_set_bit+0x14/0x40
<6>[16663.151996] LR is at check_for_migration+0x400/0x428

I think it happens during suspend after the log "Disabling non-boot CPUs", I have to say that it was a surprise to me, that android kernel is using some sort of frequent suspend-to-ram procedure to save power, but I consider it now to be some hardware specific feature of arm soc, which is far from common OS suspend to ram (I wasn't able to find more documentation about this functionality). Anyway, from the log, I suspect that the bug is most probably in his part of power suspend or wakeup code (as a side note I still dont understand the purpose of powersuspend patch and its adreno-idler dependency - however disabled, I know), my second suspect would be power efficient workqueues or something around tickless/nohz, or some unfortunate combination. I was only able to identify the root cause somewhere between initial 300 commits I've cherry-picked at the beginning from green kernel, but because this problem manifests once every 4 days in average, I started paying attention only when I was at least 3k commits forward, when at some revision suddenly the bug was triggered in several hours. I was then able to go back a little to the point where the probability of this is still those 4 days in average, and then tried to revert some patches which I suspected can cause this. To make the story short - I had't succeeded, I always reverted 4-5 patches, after approximtely 4 days phone rebooted, then I repeated the same procedure for a whole month (last what I reverted was state nofifier, but phone reboots after day 4 on different crash caused by some android userspace - can't remember the name but is part of android sources - responsible for power management). I have given up, reverted the changes and continue different way. I post this here only just for the case someome would be able to provide any usefull info or advice on the matter, but I really don't expect that. I also post this as more detailed explanation for others from suzuran LOS thread here on xda, and I'm gonna post other update about the kernel development now to Berni's thread, so you can check it there if you're interested.
 

Wenro

Senior Member
Oct 10, 2014
110
22
Sweden
RC12 Pre-release

Change log:
  • GCC Linaro Toolchain 7.4.1
  • LZ4 v1.8.3
  • sdFAT v2.1.8
https://www.dropbox.com/s/ycu69zryis53nbb/Kernel%2025.02.2019%20RC12%20g5a9eacf.zip?dl=0

Hello! Thanks for upload.

I'm not an "advanced" user. Would you recommend getting this update anyway?

Regards,

EDIT: Oh and again, just wanted to mention that I can't put more power to specifically big cores, just global, on all cores. It's on +5mV now, thinking of trying +10. What is usually the numbers here? How far am I safe to go, just to prevent the phone shutdowns? It's becoming annoying by now, I can't trust my phone at all during calls.
 
Last edited:

GreyLeshy

Senior Member
Feb 1, 2017
489
634
Saint-Petersburg and Olonets
I'm not an "advanced" user. Would you recommend getting this update anyway?

Oh and again, just wanted to mention that I can't put more power to specifically big cores, just global, on all cores. It's on +5mV now, thinking of trying +10. What is usually the numbers here? How far am I safe to go, just to prevent the phone shutdowns? It's becoming annoying by now, I can't trust my phone at all during calls.

For normal use, a stock kernel is sufficient.

Stable voltage for kernel.
 

Attachments

  • Screenshot_20190307.png
    Screenshot_20190307.png
    69.2 KB · Views: 333
  • Like
Reactions: trax7

Superrman

Senior Member
Apr 10, 2013
464
79
after some time i got back to stock kernel with grey 1st kernel :p so far super stable (i just need root and no other customizations)
btw i found out some "custom rom" stoled your kernel (and they also stole the roms from other people)
edit :im using RC12 Pre-release at the end the best stable so far (stock patched wifi didnt wor)
 
Last edited:

TheVan28

Senior Member
after some time i got back to stock kernel with grey 1st kernel :p so far super stable (i just need root and no other customizations)
btw i found out some "custom rom" stoled your kernel (and they also stole the roms from other people)
edit :im using RC12 Pre-release at the end the best stable so far (stock patched wifi didnt wor)

Wich rom?
 

Superrman

Senior Member
Apr 10, 2013
464
79
hey my video recorder in front camera dosnt work(get stuck)
anymore tried front camera recording with lastest kernel Kernel 25.02.2019 RC12 g5a9eacf.?
because this is the only problem beside that no problems

ps: even at 3rd party app front video recording get stuck

im not sure if this is kernel related

but even if it is, i prefer this on other roms\kernels combo
 
Last edited:
@GreyLeshy
Old but nasty bug found again: random apps create infinite path in programs data on SD card (exfat):

Code:
find: /storage/XXXX-XXXX/Android/data/com.xxxxxxxxxx/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/files: Interrupted system call


find: /mnt/runtime/read/XXXX-XXXX/Android/data/org.xxxxx.xxxxx/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache: File name too long

Actual quantity of nesting levels is more than 4000. Even if bottom directory has only a few kilobyte file, directory structure itself could use more than 200 megabytes!

The only way I could delete such paths without formatting whole card is the Windows program called "Dlinnoput 2".
 
  • Like
Reactions: GreyLeshy
In terms of battery, version 1.10.28 IS the best for me, but video recording produces corrupted files.

---------- Post added at 10:48 PM ---------- Previous post was at 10:05 PM ----------

@GreyLeshy
Old but nasty bug found again: random apps create infinite path in programs data on SD card (exfat):

Code:
find: /storage/XXXX-XXXX/Android/data/com.xxxxxxxxxx/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/files: Interrupted system call


find: /mnt/runtime/read/XXXX-XXXX/Android/data/org.xxxxx.xxxxx/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache/cache: File name too long

Actual quantity of nesting levels is more than 4000. Even if bottom directory has only a few kilobyte file, directory structure itself could use more than 200 megabytes!

The only way I could delete such paths without formatting whole card is the Windows program called "Dlinnoput 2".

After using Dlinnoput 2, exFAT table became corrupt, so android mounted exFAT in r/o. Any tool couldn't fix that. I've tried:

1. windows chkdsk with keys /F /X /R — exits with reading structure error; /F /X — couldn't find any errors;
2. linux fsck.exfat — each time produces random errors;
3. android's exfatck -r -s /dev/block/mmcblk1p1 — fixed some FAT structure errors, but re-running previous two tools after this one, produced same results: r/o.

So, that was way too much struggle with this exFAT piece of $h1t. It hasn't any pros over FAT32. It's buggy. It couldn't be repaired if broken. Opensource exFAT driver, written by single guy can't be more stable, than good old FAT32 driver (stable, universal, could be fixed under almost any OS). I have reformatted my 64GB SD card's exFAT to FAT32 with this tool: https://forum.xda-developers.com/tm...iformat-fat32-simple-windows-sd-card-t2960190

If anyone bothered about wear leveling: all current SD cards have their own controller with FTL. We don't really need exFAT or f2fs on modern SD cards.

PS: I don't care about files larger than 4 GB.
 

liringea

Member
Feb 24, 2015
5
1
Hello everyone, I do not quite understand, after removing the factory lock, root and flashing another kernel to the stock firmware, what will I lose? Screen enhancements, noise reduction, sound enhancements, etc. will stay?
 

trax7

Senior Member
May 15, 2012
952
344
@GreyLeshy if you are still sometimes looking at this thread, good sir, here are some logs from a random reboot mid-call

Thank you for making the best kernel for our Z5C! :highfive:
 

trax7

Senior Member
May 15, 2012
952
344
Sorry for double posting, forgot the logs xd
 

Attachments

  • Logs.zip
    170.6 KB · Views: 8

Wenro

Senior Member
Oct 10, 2014
110
22
Sweden
Sorry for double posting, forgot the logs xd

It seems so random who is affected by this and not. I didn't have any issues to begin with, now it's pretty much every call unless I pump up the voltage to the point where my battery can't hold up. Massive heat increase. If I really need to use my phone I go through maybe 5+ reboots a day, and I just cba doing something about it so just went with it hoping the reason would unveil.

Waiting patiently.
 

trax7

Senior Member
May 15, 2012
952
344
It seems so random who is affected by this and not. I didn't have any issues to begin with, now it's pretty much every call unless I pump up the voltage to the point where my battery can't hold up. Massive heat increase. If I really need to use my phone I go through maybe 5+ reboots a day, and I just cba doing something about it so just went with it hoping the reason would unveil.

Waiting patiently.
Yeah, although I think the problem is somewhere else. You might have an undervoltage-induced error only because of one of the frequencies. So not all the voltage settings, just a particular one.
And only that one is giving you trouble. It was like that with my Z5C. Ofc, if you get more reboots then either your voltage for the problematic freq is too low or you have several problematic frequencies.

Apart from that, my Z5C is pretty stable. So if there is an error, it's from a race condition somewhere that's exacerbated from the inaccurate voltage tweaks. :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Green Kernel

    Features:
    • Latest CAF source
    • Support WireGuard
    • CPU voltage control
    • Adreno idler
    • KCAL Driver
    • Fingerprint boost tweaks
    • Available CPU governors: blu_active, elementalx, chill, electron, flash, interactive, ondemand, smartmax_eps, bioshock, powersave, performance
    • Available I/O schedulers: deadline, row, cfq, bfq, noop, fifo, fiops, sio, sioplus, maple, zen
    • Remove SafetyNet checks
    • DRM-Fix, Sony RIC disabled, DM-Verity disabled (ramdisk)
    • Built with Linaro Toolchain 7.2.1
    • Kernel for stock ROM

    Change log:
    Code:
    v1.12.70
    - Fix video recording
    - Updated WireGuard to 0.0.20180304
    - Upstream to 3.10.108
    - Driver update wlan to 1.141.67.32
    - Updating the USB Gadget subsystem
    - Add The NEXT generation (TNG) for Android Low Memory Killer
    - Printk and friends can now format bitmaps using '%*pb[l]'
    - Add Snapdragon Smart Protection and add service "seempd" (activation requires the edit framework)
    - Various fixes for stability and optimization
    
    v1.10.28
    - Updated BCMDHD driver
    - Updated WireGuard to 0.0.20180202
    - Minor update network protocol
    - swap: Fix value of SWP_FAST
    - A lot of changes to eMMC
    -- Added Command Queue Support on eMMC
    - Updated Binder driver
    - Updated TUN network driver
    - Built with Linaro Toolchain 7.2.1
    - Various fixes for stability
    - Lots of different subsystem changes
    
    v1.6.28
    - Use power efficient work queues
    - Update z3fold
    - Fix loading of the cryptographic module QTI HW (version 1.3 violated the module loading)
    - Various fixes for energy efficiency and stability
    
    v1.4.14
    - Updated crypto modules
    - Update LZ4 to v1.7.3
    - Update to LA.BF64.1.2.3_rb1.18
    - Add support WireGuard
    - Other changes for stability
    
    v1.2.31
    - Added I/O Schedulers: zen
    - Other changes stability
    
    v1.0.0
    - Added governor: Electron and Chill
    - Maximum frequency default 1651200 and 2016000
    - Other changes stability
    
    v0.9.9
    - Added eCrypt FS
    - Updated driver BT
    - Changed the frequency of the interrupt timer to 300
    - Other changes stability
    - Add support for 32.4.A.1.54
    
    v0.9.4 (hotfix)
    - Added eCrypt FS
    - Updated driver BT
    
    v0.9.3:
    - added RCU
    - initial fix MMC
    - added CPU governors: flash, blu_active
    - fix binder
    - fixes network
    - other improvements for stability
    
    v.0.8.7:
    - ZRam, return 512MB
    - Fixes for stability
    
    v.0.8.6:
    - Update to LA.BF64.1.2.3_rb1.17
    - Driver update wlan to 1.141.67.30 and FW 7.45.59.18 (r718509)
    - Added exfat file system driver (rejection of the built-in module)
    - Other fixes for stability
    
    v.0.8: 
    - Update to LA.BF64.1.2.3_rb1.16
    
    v.0.7: 
    - Minor enhancements and performance improvements
    
    v.0.6.5: 
    - The transition to opensource Core control driver instead of the built-in module
    - CPU voltage control
    - Updated WLAN driver to 1.141.67.29 and Firmware 7.45.59.17
    - Increased ZRam size to 768 MB
    - Add support for 32.4.A.0.160
    - Built with Linaro Toolchain 6.4.1
    
    v0.5.1: 
    - Added I/O Schedulers BFQ
    - Cancelled patch: "dts: msm8994-mdss: Enable power collapse on idle"
    
    v0.5: 
    - Added KCAL Driver
    - Added Qnovo QNS Interface (not exactly sure about the effectiveness)
    - Other improvements
    
    v0.4.2: 
    - Enable Governors Bioshock for A53
    - Enable I/O Schedulers Maple for internal memory
    - Enable Hi-Performance DAC
    - Enable Pstore
    - Disable Governors USERSPACE
    
    v0.4: 
    - Added Governors: Smartmax EPS, Bioshock
    - Added I/O Schedulers: FIFO, SIOplus
    - Added Fingerprint Boost Driver
    - Other minor improvements
    
    v0.3: 
    - init.d support
    - Enable State Notifier
    - Gentle Fair Sleepers Interface
    - Arch Power
    - Disabled CRC check in MMC for 30% extra performance with IO
    - Added Adreno idler
    - Added I/O Schedulers: Maple, Switcher
    - Other minor improvements
    
    v0.2: 
    - Disabled check SafetyNet
    - Added ElementalX Governors
    - Added I/O Schedulers SIO, FIOPS
    - Enabled TCP Westwood
    - Reduced Adreno minimum frequency to 180MHz
    
    v0.1: 
    - Added DRM-Fix
    - Sony RIC disabled
    - DM-Verity disabled
    - Release based on 32.3.A.2.33
    - Built with Linaro Toolchain 6.3.1 (compiler Google 4.9 outdated 2015)

    Downloads
    Dropbox

    Additionally
    To configure the kernel, use Kernel Adiutor.
    ROOT: Magisk + module init.d (for kernel v.0.6+)

    XDA: DevDB Information
    Green Kernel, Kernel for Sony Xperia E5823

    Contributors
    GreyLeshy
    Source Code: github.com/GreyLeshy/android_kernel_sony_msm8994_kitakami

    Version Information
    Current Stable Version: 1.12.70
    Last Updated: 2018-03-18
    _____
    TWRP 3.2.3 | Vulkan API for Adreno 430 | Media Config
    8
    Modification for 32.4.A.1.54

    Media Config:
    - Minor changes and adding support for VP9 HW.
    VP9 HW is not work, requires modification of the libraries.

    SoundMod:
    - Sensitivity of the microphone at a call is modified
    - Increased headphone volume
    - Added ZNR
    - Added Apt-X HD for Bluetooth
    - Enabled 24/96khz Bluetooth playback
    - Enabled 24/96khz Headphones playback
    - Enabled 24/192khz USB playback
    7
    Test kernel v0.9.6 for FW 32.4.A.1.54
    Change log:
    - Added changes made by Sony
    - Other changes stability

    The Kernel may contain bugs!
    Please report any identified malfunctions.
    6
    Kernel v0.9.3 (fw 32.4.A.0.160) goes into stable branch.
    6
    I publish the test kernel for 32.4.A.0.160.
    See Github to see what changes included.
    https://www.dropbox.com/s/bh4ok7v2zkju5n6/Green_Kernel_BETA.zip?dl=0

    And for best compatibility flash update fw WLAN/BT. https://forum.xda-developers.com/showpost.php?p=73357962&postcount=11

    Screenshot AnTuTu
    Screenshot_20170911-182726.png
    An_Tu_Tu_Benchmark_6.3.5_2017091120170910.png