[KERNEL][5.0]TOO LAZY TO PICK FANCY NAME FOR THE KERNEL[20161029] - Zenfone 5 Android Development

Code:
#include <std_disclaimer.h>
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this KERNEL
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Introduction/About
Got an old unused zenfone 5 from my brother and I've compiled this kernel because i'm not satisfy with some of the available kernel so far. Nothing fancy, just a (hopefully) stable kernel for stock lollipop or custom rom based on stock lollipop.
Click to expand...
Click to collapse
Features:
Like i said, nothing fancy lol. Things that i've modified/added:
Updated interactive cpu governor and fine tuned its parameters.
Enabled conservative cpu governor and disabled userspace cpu governor.
Added zendecision cpu hotplug helper.
Updated cfs scheduler.
Added bfq disk io scheduler and made it as default on booting.
Enabled all tcp congestion control and made westwood as default on booting.
Added power efficient workque support. Should help with battery life.
Added quick wakeup driver support. Should help with battery life.
Added async fsync support. Should help with battery life and perfomance.
Enabled joystick game controller support.
Enabled usb serial driver support.
Enabled zram driver support and made it use 256mb on booting. Should help with perfomance.
Enabled powerclamp and rapl driver for intel thermal daemon support. Should help minimize heat.
Enabled ntfs driver with read/write support.
Enabled cifs and smb network drive driver support.
Added exfat-nofuse filesystem driver support with proper automount on booting.
Enabled zenmotion dt2w support.
Made selinux mode as permissive on boot. This fixed the dreaded signal loss issue.
Added proper init.d support in ramdisk, with proper permission setup before running scripts.
Probably many, many other things i forgot to list here...
Click to expand...
Click to collapse
Changelog:
20161029
- Removed hotplug cpu governor. Hotplug cpu governor or hotplug driver are too buggy on zf5, sometimes the turned off cpu are never turn back on again.
- Fined tuned interactive cpu governor.
- Added and enabled bfq disk io scheduler and made is as default on booting.
- Updated lowmemorykiller driver.
- Enabled proper config for intel powerclamp driver.
20161024
- Added hotplug cpu governor and made is as default cpu governor on booting.
- Updated interactive cpu governor.
- Added zendecision cpu hotplug helper.
- Updated cfs scheduler.
- Removed the selinux permissive mode script.
20161018
- Removed intel cpu governor. Its unstable.
- Made interactive as default cpu governor on booting.
20161018
- Added intel cpu governor and made it as default on booting.
- Removed autosmp.
- Enabled rcu boost.
- Changed kernel hz from 100 to 300.
- Enabled many, many networking option.
- Added script in ramdisk to always set selinux to permissive mode.
20160926
- Prepatched ramdisk to support magisk v6.
- Changed default tcp congestion control to westwood.
- Disabled rcu boost. It made switching mobiledata on/off became slow.
20160921
- Using ramdisk from the latest .87 lollipop stock kernel.
- Finally fixed sdcard automounting.
- Fixed wifi hotspot not starting.
- Enabled rcu boost.
20160908
- Enabled zram.
- Further attempt to fix sdcard automounting.
- Added quick wakeup driver.
- Enabled joystick game controller support.
- Enabled usb serial support.
- Added async fsync.
20160904
- Disabled zram..
20160903
- Fixed simcard turned unavailable after signal loss, can't get proper signal even after entering area with stable signal after the first signal loss, and cpu became hot by making selinux in permissive mode on booting.
- Implemented proper init.d sysinit with permission setup before running scripts.
- Enabled powerclamp and rapl driver for intel thermal daemon. Should help with phone thermal management.
- Enabled zenmotion dt2w support.
- Enabled zram.
- Attempting to fix sdcard automounting.
- Some module built as in-kernel driver.
20160831
- Initial release.
Click to expand...
Click to collapse
What Works:
Should be everything? Do let me know if got bugs or things not working using this kernel. If got sudden reboot, please give me all files in /sys/fs/pstore
Click to expand...
Click to collapse
Download:
HERE
Click to expand...
Click to collapse
Installation Instructions:
Obviously need unlocked bootloader.
Flash the zip via custom recovery or extract the zip to get the boot.img and flash via fastboot.
Click to expand...
Click to collapse
Source:
Uploaded as tar.xz archive in download folder above. Sorry, didn't have github account. Really hated git, hard to use.
Click to expand...
Click to collapse
Thanks To/Credits:
God
Linus Torvalds and whole linux kernel team and contributors.
Google
Xda
and many, many other kernel devs whose their source i've cherry picked here and there...
Click to expand...
Click to collapse
XDA:DevDB Information
-, Kernel for the Asus Zenfone 5
Contributors
mdfzhi
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 20161029
Stable Release Date: 2016-10-29
Current Beta Version: 20160908
Beta Release Date: 2016-09-08
Created 2016-08-31
Last Updated 2016-11-06

ASUS Zenfone 5 Users
https://telegram.me/Zen5Users
Sent from my ASUS_T00F using Tapatalk

@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!

TechNova said:
@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!
Click to expand...
Click to collapse
weird that you're the second person that said to me not to add dt2w. i'm actually debating whether to add it or not myself, its a nice feature to have. probably will add it along with sysfs toggle for user to turn it off if dont want it. yes the ondemand lag abit, will change to interactive on next kernel. he doesnt give his kernel source so i dont know how he lower the brightness.

super. class. well done. continue in the same spirit
---------- Post added at 08:32 AM ---------- Previous post was at 08:09 AM ----------
with your kernel does not change dpi can see what's the problem?

duffi200000 said:
super. class. well done. continue in the same spirit
---------- Post added at 08:32 AM ---------- Previous post was at 08:09 AM ----------
with your kernel does not change dpi can see what's the problem?
Click to expand...
Click to collapse
I am able to change the dpi without any issues...
U can try using ,in terminal emulator,
su
wm density ___
Where ___ will be the density value, like 120,240,320 or any desired value...
After this, u can try nomone resolution changer app from play store.

@mdfzhi , do you know if you can overclock the gpu or cpu for this device? others devs tried but is kinda like a "fake" one, becouse it dosn't affect performance, if we put like 444444.4444ghz it will run fine, so you think is possible?

day use, the kernel reboots no good .but very heated cpu I used the governor ondemand.

does this phone have isssue with signal for anyone? i lived in area where mobile signal arent very good. seems like after singnal loss, something is keeping the phone awake and made it super hot. same issue when i'm still using stock 5.0 rom and kernel. does anyone know if any rom or kernel solve the issue? i could examine ramdisk in kernel that solve the issue and see what changes were applied in it.

TechNova said:
@mdfzhi
I hv been using this kernel since yesterday noon..
Till now i haven't faced any kind of reboots and freeze issues..
But the "ondemand" governor makes the device Lag a lot...i am using either interactive or performance(preferably)...
Its also Good that u didn't enabled dt2w in this kernel, please don't enable it in the kernel since i want zenmotion only for sleep, our zenfone 5 has both of the options combined unlike other zenfones...
Also, a feature suggestion, if possible, try to lower the min brightness value to 2-3 , just like the ryanjms07's kernel...
Good job.!
Click to expand...
Click to collapse
No freeze at all?

ondemand on the profile and even interactive games are very heavy lag and delay necessary to put a performance profile

I really2 love this kernel because of its features that no other kernel has, but there is a problem that my sdcard can't detect, i have to revert back to boret's kernel to fix sdcard, please fix this cause i really love this kernel

.Very noted here that it makes it difficult, if my first simkarty is 3g mode and enable data transfer, I switched to the second slot, and includes data transmission and 2g network after some time returns the data back to the first slot and turn on 3g and transfer data will no longer work until you restart the phone really interfere with this because I have to switch modes and simkarty

@mdfzhi
Its almost been a week and now i found some issues:-
1.Freeze occurs sometimes (Like once in 2 days)
2.Battery drain is really more as compared to stock kernel (i did compared it with one day usage).
3.Network comes reallllly verrrry late after booting.
4.Frequent loss of network and never regains back...
5.Data never works sometimes, needs to reboot device in order to work (Airplane mode doesnt work for it)
6. Same issue mentioned by @duffi200000

compiled and uploaded new version. hopefully fixed the dreaded signal loss issue. init.d scripts should also working as it should be now. be careful with some roms that put crap tonnes of bloated init.d script. don't came whining about unstable, reboot or freeze if you didnt clean those script. i didn't use any init.d script except supersu daemon script and the kernel is stable so far.

Super will be tested
---------- Post added at 06:44 PM ---------- Previous post was at 06:37 PM ----------
flash card does not see
---------- Post added at 06:46 PM ---------- Previous post was at 06:44 PM ----------
immediately I write the solution of this problem who will face The Simple stick out your flash card and re-insert and it will work
---------- Post added at 06:51 PM ---------- Previous post was at 06:46 PM ----------
network switches everything is fine, I will continue testit
---------- Post added at 07:00 PM ---------- Previous post was at 06:51 PM ----------
I have a question is the core run on the kit Kat?

When connecting the USB otg flash card speed of copying files is very low , you can fix

First at all, thanks for your important work.
I really like that the phone has become much more energy efficient at this kernel :good:
But I have two issues:
1. I got reboot when I talking on the phone (Zenmotion is enabled).
2. My phone doesn't detect the memory card.
Asus ZenFone 5 (A501CG), stock rooted 3.24.40.87

AlexBreems said:
First at all, thanks for you important work.
I really like that the phone has become much more energy efficient at this kernel :good:
But I have two issues:
1. I'm get reboot when I talking on the phone (Zenmotion is enabled).
2. My phone doesn't detect the memory card.
Asus ZenFone 5 (A501CG), stock rooted 3.24.40.87
Click to expand...
Click to collapse
1.That's why i was telling the dev not to include dt2w.
2.keep ur fone turned on, remove ur back panel, remove and reinsert ur sdcard ,and it will work.

TechNova said:
1.That's why i was telling the dev not to include dt2w.
2.keep ur fone turned on, remove ur back panel, remove and reinsert ur sdcard ,and it will work.
Click to expand...
Click to collapse
1. Dt2w is very useful feature. Maybe author can fix it. I hope so.
2. Thank you for this temporary solution. And I'll wait until the author to fix this.

Related

[Kernel] Thunderoar Kernel v5.0 [SM-T116](24 Dec 2017)

Thunderoar Kernel For SM-T116
(Tab 3 Lite 7.0 3G)
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.​
Features:
Overclocked
Deferred Timer for KSM
USB Fast Charge
Arch Power
Frandom
Powersuspend for battery life/saving
QuickWakeup for battery life/saving
Dynamic Sync Control
Fsync control on/off
Voltage Tweak
NVS hibernate driver
Multicore Power Saving
Schedule workqueues on awake CPUs to save power
CPU Boost
Adaptive Low Memory Killer
Software CRC control toggle
Gentle Fair Sleepers toggle
and so on...
CPU Hotplug:
AutoSMP
Added CPU governors:
Sprdemand
Conservative
Ondemand
Userspace
Powersave
Interactive
Performance
and so on...
Planned Update
-nothing i guess
Bugs(s)
-No MORE BUG!
Custom kernel Installation:
Download the kernel from here
Choose the tar.md5 if flashing from odin
Choose the zip files if flashing from custom recovery
Choose the latest version
Odin Instruction:
Open any version of odin
Choose your tar.md5 file from AP Tab
And Start
Custom Recovery Instruction:
Reboot into recovery if usin zip files (recommended to make a nandroid)
Flash the kernel zip
Reboot and enjoy!
Stock kernel Installation:
Download the stock kernel from here
Enter recovery mode, choose install, choose install image,
and then go to the directory of your downloaded stock kernel
choose it and then check mark on the boot circle.
And then flash it :good:
Notes:
20/12/2107
Kernel Update!!
Thunderoar-Kernel 5.0 Codenamed "Angel Beats!"
Fix all issues regarding MTP not working
and random reboot, is this a comeback? xD, i don't know xD
It appears that my kernel uses a lot more memory than i expected,
Possibily some problem with memory patch in the kernel source
The workaround for this problem is you have to increase your disksize
In the kernel adiutor, if it stays at 300mb, it will not enough and cause a problem
Which is stuck or complete crash of device. Recommended size is 500mb or more if
you encountered it again and set swappiness into 60
20/11/2017
Im back guyss, im out for awhile because my current kernel are sucks,
So i got a new phone which is Samsung J5, im developing kernel for the J5 for my
my own use, Not for sharing others because it will hurt my reputation XD,
and from that i learned a lot more about developing a good kernel,
Im goin to update the kernel using newer source, and im able to fix the
MTP and random reboot issues which is make me happy, its going out soon,
So if you guys still usin this device, you can use the new kernel that i will
post soon.
5/7/2017
For those of you who had a booting problem,
the V4.1.1 probably will fix it
3/7/2017
Finally, an actual stable one,
Rebuilt from the newest source from scratch
-V4.1-revived-version
22/6/2017
The new one probably the most stable,
been testing it for a week and so
far no problem or frequent reboot happen or
something like that
7/5/2017
Finally!!! Camera are fixed guys!
MTP functionality is still unconfirmed
Sorry for the long wait ^-^
1/1/2017
I decided to release a maintenance release update cause i found
that the device crash many times throughout all my kernel
and i decided to think about it more seriously and i had made
a maintenance release for you and report me if there still
crash happening on the device
27/12/2016
I wanted to release the kernel a little bit early cause
busy with new year celebration.The latest one is Thunderoar Kernel v2.6
Happy New Year to all of you!! sorry if i'm being too early
18/12/2016
I'm going get the new kernel ready next month which is the new year.
I'm gonna support SM-T113 too next year and continue with it *if it's working*
I'm going to need tester for sm-t113 next year
1/11/2016
enable the usb fast charge using the kernel adiutor app!
Camera are working on the stock kernel but not mine...
The source code for the camera is not exist in the source...
If you wanna connect your device to pc make sure the
USB fast charge is off,if it isn't disabled,you won't able to
manage file on your device through pc
XDA:DevDB Information
Thunderoar Kernel, Kernel for the Samsung Galaxy Tab 3 7.0
Contributors
@Thunderoar
Credits:
@Osm0sis-For the Anykernel2
Github
Kernel source
Version Information
Status: Stable
Current Stable Version: Angel Beats! || 5.0
Stable Release Date: 2017-12-24
Created 2016-12-26
Last Updated 2017-12-24
Press the "Thanks" button if you appreciate my work or if i helped you
Can you Make Sm-T210 dernek werewolf v003 kernel add overclock And your tweaks??
gr9nole said:
Can you Make Sm-T210 dernek werewolf v003 kernel add overclock And your tweaks??
Click to expand...
Click to collapse
Ok,but what android you are currently using right now?Kitkat or JB?
Changelog:
V5.0 Codenamed "Angel Beats!" (2017-12-24)
+Kernel upstream version 3.10.17->3.10.108
+Gpu update
+Fix MTP
+CPU Frequency change 200MHz upto 1.5GHz
+Entropy Update
+Multicore Power Saving
+CPU Boost
+Arch Power
+Power Suspend
+Quickwakeup
+Read-ahead set to 512kB
+Adaptive Low Memory Killer
+Software CRC control
+Gentle Fair Sleepers
+Fsync On/Off
+Built from scratch and fixed random reboot
+Dynamic Fsync
-Removed Obselete Cpu Governor
-Removed Obselete I/O Scheduler
-Removed UKSM and use normal KSM
V4.1.1 update (2017-7-5)
+Fix some devices not booting
+New CPU Hotplug: AutoSMP
V4.1 update (2017-7-3)
+Just another update for stability
V4.0 update (2017-7-3)
+No more Reboot or similar effect - Tested
+Linux kernel downgraded into 3.10.32 temporarily because rebuilt from scratch
+Auto cpu boost on input without predefined frequency
+UKSM(Ultra Kernel Samepage Merging)
+LZ4 Z-RAM - Faster Memory
+Asynchronous Fsync -Faster storage management
+USB Fast Charge are back
-Removed cpu governor: OndemandX, Zzmoove, Scary *Temporary*
V3.4 update (2017-6-22)
+The most stable kernel that i've ever built
+Linux Kernel 3.10.44
+No more frequent reboot or similar effect
+Bug fixes
V3.3 update (2017-6-17)
+Linux Kernel 3.10.40
+Properly fix the bug that mentioned on the v3.2 update and lower the risk of instability
+A bunch of cpu governor
*Hotplug
*Lionheart
*Reworked version of intelliactive
*Ondemandplus
*OndemandX
*Hyper
*Zzmoove
*Nightmare
*Wheatley
*Badass
*Scary
*All of them are properly functioning and tuned for compatibility
and if you want the hotplug features, use the hotplug governor provided
+Bug Fixes
-Adaptive cpu governor removed parmanently
V3.2 update (2017-6-8)
+Update: Linux Kernel 3.10.37
+Update: Using the latest Anykernel2 zip
+Update: Minimum frequency change into 254MHz and also voltage change for nice battery lasting
+Update: cpu-boost set to 765MHz and running for 3 seconds when touch detected
+Update: Set CFQ as default scheduler
+Fix: Bug that cause long running app either in the background or foreground to freeze/lagging/reboot etc.
+Fix: Bug that cause the device to reboot randomly
+Fix: Bug that cause the graphic being not working/properly lagging or some sort
+Fix: Bug that cause the device to reboot or freeze when standby
+Fix: Bug that causing the kernel to working improperly/lagging/rebooting/unstable after a while
+Bug fixes
V3.1 update (2017-5-7)
+CPU Frequency minimum change -> 384MHz
+Fix Frequency bug stuck at 768MHz
+Faster charging
V3.0 update (2017-5-7)
+Kernel version updated from 3.10.22 - > 3.10.26
+Using updated Anykernel zip
+Frequency: changed into 1600Mhz and minimum is 386Mhz
+GPU: function updated
+Deferred Timer working as it is
+LZ4 compression
+"Schedule workqueues on awake CPUs to save power" are back
+Remove conflict between Samsung touch booster and my CPU-Boost so you can actually set the amount you want
for boost
+Sync threshold for cpu-boost are not set
+I/O scheduler default to deadline
+Fsync are on by default
+TCP Congestion Algorithm set default to Westwood which is the fastest for network usage
+Additional TCP Congestion Algorithm are added
+Additional tweak to make the kernel faster
+Camera Fix!!!
+MTP Function (unconfirmed)
+A whole lot of bug fixes
-sprdemand governor
-Fastcharge (for now)
V2.8 update (2017-1-31)
+Frequency: changed into 1660Mhz and minimum is 580Mhz
+Cpu-boost: defined stable values
+Less OS tearing
+Fastcharge updated
+Audio functionality improved
+Voltage: change for low-power use
+Many bug fixes
+Selinux: updated
-Automatic Cpu Hotplug: removed for better stability but with little to no battery drainage but you still can deactivate the cores through Kernel Adiutor
-Sprdemand: removed
V2.6.1-MR1 update (2017-1-1)
*Note:This is maintenance release therefore some features may temporarily unavailable
Add: cpu-boost currently disabled but provided as an option
Add: voltage change
Add: frequency change from 386Mhz to 1600Mhz for more stable
Fix: serious bug that causing switching off mobile data make it freeze/crash
Fix: bug that causing the device freezing/crash throughout all my kernel update release
V2.6 a.k.a *Almost* New Year Update (2016-12-27)
+Kernel version updated from 3.10.17 - > 3.10.22
+Frequency step changed to make it more stable
+GPU overclocked upto 640Mhz
+CPU-Boost re'added,improve stability and Frequency set
*"Schedule work queues on awake CPU to save power"
\_disabled by default because instability issue on booting but kept as an option in Kernel Adiutor
\_Its pretty unstable so i didn't recommend you to use it
+This updates focus heavily on stabilily,sound,memory and networking
+Zswap Added
+Zbud Added
*Swappiness level turn down to 10 to avoid using swap as much as possible but use it when low memory
\_The reason of me to use swap as low as possible is RAM is faster than swap,so use that for better
\_application loading.
*No more SOD(Sleep Of DEATH) OR FOD(Freezing Of DEATH) as it happen many times on my older kernel
\_but it *may* happen
+Voltage increased for more stability
+Dynamic Sync re'added and enabled by default
+Fsync turn off by default
+Overall entropy tweak
+SIO,SIO-Plus scheduler re'added
-Row scheduler
V2.0 a.k.a November update (2016-11-1)
+1650 mhz re'added and step changes
+Fsync on/off re'added
+Row scheduler re'added
+Intelliactive Governor re'added
+BLX(Battery life extender) added
+Adaptive Governor added
+Lagfree Governor added
+Schedule work queues on awake CPU to save power
+Fixed unused frequencies on kernel adiutor
+Improved networking capability
+Improved memory management
+Improved security so you don't have to install antivirus
+Improved web browsing
+Improved device battery
-Dynamic sync have to go for now
-cpu boost removed because of compability issue
V1.7 (2016-10-15)
+Deferred Timer
+Cpu boost frequency set
+Updated Dynamic sync control
+Interactive governor updated and used as default governor
+HUGE bug fixes (better than before)
-Fsync On/Off (parmanent maybe)
V1.3 (2016-09-25)
+NVS hibernate driver
+LZ4 compression support
+Snappy compression library (v3)
+Many bug fixes(It is very smooth,surprisingly)
+Frequency changed to 1650MHz
-intelliactive governor (for now)
-row i/o scheduler (for now)
-sioplus i/o scheduler (for now)
V1 (2016-09-20)
+Initial Release
How about for the SM-T211 on KKat ?
,
,
Be great too...
Sent from my SM-T211 using Tapatalk
andynroid said:
How about for the SM-T211 on KKat ?
,
,
Be great too...
Sent from my SM-T211 using Tapatalk
Click to expand...
Click to collapse
yea,i can do that,but instead of asking me to do it,the others had made custom kernel for your phone..why wont u use them?
Thunderoar said:
yea,i can do that,but instead of asking me to do it,the others had made custom kernel for your phone..why wont u use them?
Click to expand...
Click to collapse
The only kernel available for the SM-T211 is Werewolf and it is not a good build besides the OP has vanished...
Sent from my SM-T211 using Tapatalk
The only kernel available for the SM-T211 is Werewolf and it is not a good build besides the OP has vanished...
Sent from my SM-T211 using Tapatalk
Click to expand...
Click to collapse
I see..but are you willing to be the tester if i finally made it? bcause, i dont have that kind of device
Thunderoar said:
I see..but are you willing to be the tester if i finally made it? bcause, i dont have that kind of device
Click to expand...
Click to collapse
Sure why not.....[emoji3]
Sent from my SM-T211 using Tapatalk
andynroid said:
Sure why not.....[emoji3]
Sent from my SM-T211 using Tapatalk
Click to expand...
Click to collapse
ok,good,gonna start downloading the source code soon[emoji4]
Thunderoar said:
Ok,but what android you are currently using right now?Kitkat or JB?
Click to expand...
Click to collapse
jb 4.1.2 android please
sample werewolf kernel v003 good kernel add your tweaks oc ... thanks
note:I have tab 3 sm-t210 I now test kernel
ı using jb
Thunderous thank you very much for your kernel
Thunderoar I too lite sm t116, thanks for the kernel, a big request, you can port the cyanogen (11,12,13) ​​or lilipop, I can help in testing and finding a donor for porting.
natttroll said:
Thunderoar I too lite sm t116, thanks for the kernel, a big request, you can port the cyanogen (11,12,13) ​​or lilipop, I can help in testing and finding a donor for porting.
Click to expand...
Click to collapse
yeah,i'm currently compiling and test it,but it's to much build error while compiling it..
sorry not updating the kernel for so long,currently busy building marshmallow for our device
it's been 3/4 days i'm working on the rom,it's omnirom btw not cyanogenmod,omnirom is a little bit easier
Thunderoar said:
yeah,i'm currently compiling and test it,but it's to much build error while compiling it..
sorry not updating the kernel for so long,currently busy building marshmallow for our device
it's been 3/4 days i'm working on the rom,it's omnirom btw not cyanogenmod,omnirom is a little bit easier
Click to expand...
Click to collapse
:good: Thunderoar, i will be waiting for your rom. :fingers-crossed:
Thunderoar your kernel works well, bug kamera.Good luck for omnirom, rom super. (I'm sorry Do not know English, google translate translation).
Thunderoar :good: ,updated kernel i will test.
SM-T116NU
Can this kernel be used for SM-T116NU?
fleomikn said:
Can this kernel be used for SM-T116NU?
Click to expand...
Click to collapse
Yes you can,and just wanna let you know,this kernel I test is with device sm-t116nu which I use everyday,so all gonna be fine
Thunderoar said:
Yes you can,and just wanna let you know,this kernel I test is with device sm-t116nu which I use everyday,so all gonna be fine
Click to expand...
Click to collapse
Oh. It's sound great. I'll flash it righ now. Many thanks!
One question more
Same device with you, can you help me, its about "xposed framework"
fleomikn said:
Oh. It's sound great. I'll flash it righ now. Many thanks!
One question more
Same device with you, can you help me, its about "xposed framework"
Click to expand...
Click to collapse
Ok, what can I help?

[Kernel] Thunderoar Kernel v5.0 [SM-T113](24 Dec 2017)

Thunderoar Kernel For SM-T113
(Tab 3 Lite 7.0 Wifi)
* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards, corrupted partition, nuclear disasters
* Please do some research before using this mod!
* YOU are choosing to make these modifications,
* If you point the finger at me for messing up your device, I will laugh at you.​
Features:
Overclocked
Deferred Timer for KSM
USB Fast Charge
Arch Power
Frandom
Powersuspend for battery life/saving
QuickWakeup for battery life/saving
Dynamic Sync Control
Fsync control on/off
Voltage Tweak
NVS hibernate driver
Multicore Power Saving
Schedule workqueues on awake CPUs to save power
CPU Boost
Adaptive Low Memory Killer
Software CRC control toggle
Gentle Fair Sleepers toggle
and so on...
CPU Hotplug:
AutoSMP
Added CPU governors:
Sprdemand
Conservative
Ondemand
Userspace
Powersave
Interactive
Performance
and so on...
Planned Update
-nothing i guess (but u can suggest somethin to me that possible)
Bugs(s)
-No MORE BUG!
Custom kernel Installation:
Download the kernel from here
Choose the tar.md5 if flashing from odin
Choose the zip files if flashing from custom recovery
Choose the latest version
Odin Instruction:
Open any version of odin
Choose your tar.md5 file from AP Tab
And Start
Custom Recovery Instruction:
Reboot into recovery if usin zip files (recommended to make a nandroid)
Flash the kernel zip
Reboot and enjoy!
Stock kernel Installation:
Download the stock kernel from here
Enter recovery mode, choose install, choose install image,
and then go to the directory of your downloaded stock kernel
choose it and then check mark on the boot circle.
And then flash it
Notes:
20/12/2107
Kernel Update!!
Thunderoar-Kernel 5.0 Codenamed "Angel Beats!"
Fix all issues regarding MTP not working
and random reboot, is this a comeback? xD, i don't know xD
It appears that my kernel uses a lot more memory than i expected,
Possibily some problem with memory patch in the kernel source
The workaround for this problem is you have to increase your disksize
In the kernel adiutor, if it stays at 300mb, it will not enough and cause a problem
Which is stuck or complete crash of device. Recommended size is 500mb or more if
you encountered it again and set swappiness into 60
XDAevDB Information
Thunderoar Kernel, Kernel for the Samsung Galaxy Tab 3 7.0
Contributors
@Thunderoar
Credits:
@Osm0sis-For the Anykernel2
@stathis95194-For the stock kernel
Github:
Kernel source
Version Information
Status: Stable
Current Stable Version: Angel Beats! || 5.0
Stable Release Date: 2017-12-24
Created 2016-12-26
Last Updated 2017-12-24
Press the "Thanks" button if you appreciate my work or if i helped you​
Changelog:
V5.0 Codenamed "Angel Beats!" (2017-12-24)
+Kernel upstream version 3.10.17->3.10.108
+Gpu update
+Fix MTP
+CPU Frequency change 200MHz upto 1.5GHz
+Entropy Update
+Multicore Power Saving
+CPU Boost
+Arch Power
+Power Suspend
+Quickwakeup
+Read-ahead set to 512kB
+Adaptive Low Memory Killer
+Software CRC control
+Gentle Fair Sleepers
+Fsync On/Off
+Built from scratch and fixed random reboot
+Dynamic Fsync
-Removed Obselete Cpu Governor
-Removed Obselete I/O Scheduler
-Removed UKSM and use normal KSM
V4.1.1 update (2017-7-5)
+Fix some devices not booting
+New CPU Hotplug: AutoSMP
V4.1 update (2017-7-3)
+Just another update for stability
V4.0 update (2017-7-3)
+No more Reboot or similar effect - Tested
+Linux kernel downgraded into 3.10.32 temporarily because rebuilt from scratch
+Auto cpu boost on input without predefined frequency
+UKSM(Ultra Kernel Samepage Merging)
+LZ4 Z-RAM - Faster Memory
+Asynchronous Fsync -Faster storage management
+USB Fast Charge are back
-Removed cpu governor: OndemandX, Zzmoove, Scary *Temporary*
V3.4 update (2017-6-22)
+The most stable kernel that i've ever built
+Linux Kernel 3.10.44
+No more frequent reboot or similar effect
+Bug fixes
V3.3 update (2017-6-17)
+Linux Kernel 3.10.40
+Properly fix the bug that mentioned on the v3.2 update and lower the risk of instability
+A bunch of cpu governor
*Hotplug
*Lionheart
*Reworked version of intelliactive
*Ondemandplus
*OndemandX
*Hyper
*Zzmoove
*Nightmare
*Wheatley
*Badass
*Scary
*All of them are properly functioning and tuned for compatibility
and if you want the hotplug features, use the hotplug governor provided
+Bug Fixes
-Adaptive cpu governor removed parmanently
V3.2 update (2017-6-8)
+Update: Linux Kernel 3.10.37
+Update: Using the latest Anykernel2 zip
+Update: Minimum frequency change into 254MHz and also voltage change for nice battery lasting
+Update: cpu-boost set to 765MHz and running for 3 seconds when touch detected
+Update: Set CFQ as default scheduler
+Fix: Bug that cause long running app either in the background or foreground to freeze/lagging/reboot etc.
+Fix: Bug that cause the device to reboot randomly
+Fix: Bug that cause the graphic being not working/properly lagging or some sort
+Fix: Bug that cause the device to reboot or freeze when standby
+Fix: Bug that causing the kernel to working improperly/lagging/rebooting/unstable after a while
+Bug fixes
V3.1 update (2017-5-7)
+CPU Frequency minimum change -> 384MHz
+Fix Frequency bug stuck at 768MHz
+Faster charging
V3.0 update (2017-5-7)
+Kernel version updated from 3.10.22 - > 3.10.26
+Using updated Anykernel zip
+Frequency: changed into 1600Mhz and minimum is 386Mhz
+GPU: function updated
+Deferred Timer working as it is
+LZ4 compression
+"Schedule workqueues on awake CPUs to save power" are back
+Remove conflict between Samsung touch booster and my CPU-Boost so you can actually set the amount you want
for boost
+Sync threshold for cpu-boost are not set
+I/O scheduler default to deadline
+Fsync are on by default
+TCP Congestion Algorithm set default to Westwood which is the fastest for network usage
+Additional TCP Congestion Algorithm are added
+Additional tweak to make the kernel faster
+Camera Fix!!!
+MTP Function (unconfirmed)
+A whole lot of bug fixes
-sprdemand governor
-Fastcharge (for now)
V2.8 update (2017-1-31)
+Frequency: changed into 1660Mhz and minimum is 580Mhz
+Cpu-boost: defined stable values
+Less OS tearing
+Fastcharge updated
+Audio functionality improved
+Voltage: change for low-power use
+Many bug fixes
+Selinux: updated
-Automatic Cpu Hotplug: removed for better stability but with little to no battery drainage but you still can deactivate the cores through Kernel Adiutor
-Sprdemand: removed
V2.6.1-MR1 update (2017-1-1)
*Note:This is maintenance release therefore some features may temporarily unavailable
Add: cpu-boost currently disabled but provided as an option
Add: voltage change
Add: frequency change from 386Mhz to 1600Mhz for more stable
FIx: serious bug that causing switching off mobile data make it freeze/crash
Fix: bug that causing the device freezing/crash throughout all my kernel update release
V2.6 (2016/12/27)
+Initial release
After flashing all apps start to crash.
Jimbus369 said:
After flashing all apps start to crash.
Click to expand...
Click to collapse
Quick note on the crashing apps.
T113XXU0APE2: Does not have this issue
T113XXU0APH5: When I use this ROM, than indeed everything goes bananas after booting up the tablet.
Before flashing the kernel I advice to disable all unnecessary services and with that I mean everything with Samsung in the name and also all of the google apps you don't use. It seems that com.google.process.gapps is causing a crash chain reaction so do disable this services as first. I'm using lucky Patcher for disabling services and for those who are unfamiliar with this my advice is to not uninstall an app but first disable it and later when you are satisfied you than may safely uninstall the unwanted app/service.
Bugs
Camera doesn't working
My apps continue to crash in the latest version Also after a Dalvik wipe.
Build: T113XXU0APH5
Jimbus369 said:
My apps continue to crash in the latest version Also after a Dalvik wipe.
Build: T113XXU0APH5
Click to expand...
Click to collapse
All the app?
Thunderoar said:
All the app?
Click to expand...
Click to collapse
Yes, all apps.
This is extremely exciting and can't wait to try it out!
Build T113XXU0APA5
Will let you know how it goes....
Wanted to ask (not that it's a huge deal) is there init.d support in this kernel?
If so do I need to do anything special to enable it?
Going to go ahead with it anyway and see what happens!
Thunderoar said:
* If you point the finger at me for messing up your device, I will laugh at you.​
Click to expand...
Click to collapse
Better start laughing, 'cause my finger's pointing directly at you! And also twitching slightly out of frustration!
....Nah, it's all good. :highfive: I screwed things up all on my own by getting flash-happy. :crying:
On the plus side: It worked GREAT! :highfive: Thanks so much for putting this together for us tiny-tab users, you did a great job.
Not only did Byron (my T113's name) run smoother and faster than I've seen yet (yay!), but suddenly Mounts2SD had no issues whatsoever. Up till now it's been a supreme struggle to get /sd-ext to mount properly, to be used properly, etc. etc. - but after flashing this kernel, on first boot boom, everything just worked. Without changing anything I'd already done.
Should have just left it the way it was, eh? But noooo, I had to go "try something else" and made a stupid mistake somewhere, and now no combination of ROM / kernel / nandroid backup (meticulously organized and annotated) is booting up. I even lost TWRP for a little bit.... As penance for my sin of wanting "more", I've gotta dig up Odin, go back to stock, and start from scratch.
SO! QUESTION FOR YOU! (OR ANYBODY REALLY....)
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Not going to wait for an answer/s before moving ahead, but any response here will serve as documentation for myself and others in future!
(How don't we have a smiley for "pointing finger"? There's at least TWO in Unicode but I'm too lazy to go get it right now....)
PushyPhoenix said:
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
Click to expand...
Click to collapse
Yes, it will revert itself to its normal condition such as stock rom, stock kernel and everything
PushyPhoenix said:
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Click to expand...
Click to collapse
The kernel is in the md5 file or in the zip file, named boot.img
That's awesome to know, and came to the same conclusion when stock setup started asking personal questions and wanted a wifi password. Rooting it this very moment, though if I'd waited *just* a little longer I wouldn't have to. Wow you're fast!
That boot.img file info will come in handy when I screw up on any ROM, thanks! This one is going ASAP into a safe and accessible place for "just in case"....
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Feel free to point me elsewhere to learn more about how these things work, I've followed a lot of guides but want to understand the "why" as well.
Sent from my SM-G900W8 using XDA Labs
PushyPhoenix said:
That's awesome to know, and came to the same conclusion when stock setup started asking personal questions and wanted a wifi password. Rooting it this very moment, though if I'd waited *just* a little longer I wouldn't have to. Wow you're fast!
That boot.img file info will come in handy when I screw up on any ROM, thanks! This one is going ASAP into a safe and accessible place for "just in case"....
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Feel free to point me elsewhere to learn more about how these things work, I've followed a lot of guides but want to understand the "why" as well.
Click to expand...
Click to collapse
I do believe that when flashing a boot.img through TWRP with the image flasher, the file needs to say boot.img I may be wrong but I had issues before when I changed the name of the file to keep track of which one it was....lol... I have since started putting the boot.img files in their own folders with the appropriate name on the folder.
By the way, great to see development on this tablet. I am going to be testing this kernel in a personal build and see if I can squeeze as much out of it as I can get. So thank you dev.. Awesome work and greatly appreciated. : )
glockman4519 said:
I do believe that when flashing a boot.img through TWRP with the image flasher, the file needs to say boot.img I may be wrong but I had issues before when I changed the name of the file to keep track of which one it was....lol... I have since started putting the boot.img files in their own folders with the appropriate name on the folder.
Click to expand...
Click to collapse
That's a great idea... Ugh, adding another folder to the folder full of folders on my computer frightens me. But if that's what it takes!
Sent from my SM-G900W8 using XDA Labs
---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------
Thunderoar said:
Yes, it will revert itself to its normal condition such as stock rom, stock kernel and everything
Click to expand...
Click to collapse
So I've run into a bit of a problem. Tried outFyrestone ROM and i love it, but it's based on PH5 firmware and doesn't play nice with your wonderful kernel. Which means my sd-ext is broken...
I know you're very busy (and I haven't a clue what kind of work is required), but wondered if you know when we can expect to see an update?
Thanks so much for all your hard work!
Sent from my SM-G900W8 using XDA Labs
PushyPhoenix said:
That's a great idea... Ugh, adding another folder to the folder full of folders on my computer frightens me. But if that's what it takes!
Sent from my SM-G900W8 using XDA Labs
---------- Post added at 11:28 PM ---------- Previous post was at 11:23 PM ----------
I get it, it clutters things s bit. But I am one who like an organized setup anyways so adding more folders is common for me. It may not be everyone's cup of tea so to speak.
But on my PC and in my external SD , on my tablet, I have a folder named tab "what ever", then inside there are folders named mods, ROMs, kernels and then gaops. In the kernel folder I have sub folders for just this reason and those folders will have the kernel name on it and then inside will be the standard "boot.img"..
It works for me and above all, works for TWRP.
Click to expand...
Click to collapse
First of all, sincere thanks for replying; this advice may help others as well
glockman4519 said:
PushyPhoenix said:
Ugh, adding another folder to the folder full of folders on my computer frightens me.
Click to expand...
Click to collapse
I get it, it clutters things s bit.
Click to expand...
Click to collapse
My apologies for not being more clear on what exactly 'frightens' me about this idea. There have been times when I've backed things up this way and couldn't get into them again because of the number of characters in the path and file name - they were just too long!
Mind you, this was tens of years ago on WinXP and it never occurred to me to try finding a fix.
But on my PC and in my external SD , on my tablet, I have a folder named tab "what ever", then inside there are folders named mods, ROMs, kernels and then gaops. In the kernel folder I have sub folders for just this reason and those folders will have the kernel name on it and then inside will be the standard "boot.img"..
Click to expand...
Click to collapse
That's a fantastic system, very similar to the one I'm now using, and will add new folders as you've suggested. Hopefully reading this will benefit those who are new to this world so they don't wind up with folders full of mysterious files and untagged backups for various devices, that made perfect sense at the time. (Like the one folder for my first few devices, which now looks like gobbledygook....)
Lollipop ROM for T113 (Samsung Tab 3 lite "7 wifi-only)
Topic:
Lollipop ROM for T113 (Samsung Tab 3 lite "7 wifi-only)
Is there any lollipop/marsmallow/Nougat ä ROM that works in my T113 (Samsung tab 3 lite "7)? This device runs natively Android 4.4.4, but I Really need Android 5 or higher! Lollipop would do just fine.. I took a look at most popular custom roms to this device, but most were 4.x.x.. And nothing for t113! And all of those were to T221 or so, in the list they're were few supporting T110/T111, but now T113. Does those work in this T113? Isn't it just same device?
Please tell me if you have any idea of rom with Android 5 or newer that works in this T113!
It would be awesome to have Lollipop-Slimrom or Resurrection remix with Android 5/6/7..
Even Stock Lollipop would be adequate, android 4 lacks important features...
There's many roms to this device, but they are for T2XX or T110/T111... Does any of those run in t113?
I have already rooted this tablet and installed TWRP.
Thank you so much for help in advance! Any information that gets me closer to have Lollipop or newer is very very much appreciated!
Sincerely,
tatu-o aka. mlc
PushyPhoenix;[email protected] said:
SO! QUESTION FOR YOU! (OR ANYBODY REALLY....)
When I fire up Odin and restore the official stock ROM (eg from Sammobile or Samsung), does that include the stock kernel too?
If the stock kernel IS a separate file, where should I look? (Your OP for the T116 kernel includes a link for that model, but not OP in here. I'm sure I can find it on my own but right now I'm just whiny.)
Click to expand...
Click to collapse
1.Yep
2.The stock kernel is in the md5 file which is boot.img, the md5 file I mentioned is in the stock rom
I guess I double answered this question, my bad :silly:
PushyPhoenix said:
Hey, I've always wondered and maybe you can tell me:
When flashing this type of file in recovery or adb, does the filename matter? If I rename it "T113-[build]-boot.img" for example, will anything go wrong?
Click to expand...
Click to collapse
It varies, sometimes when flashing thing through adb or recovery with filename had a space in it, it would not detect it cuz the name is spaced and separated and it didn't recognize it as a file cuz the file extension doesn't connected to the name cuz it separated/spaced.
Thunderoar said:
I guess I double answered this question, my bad :silly:
Click to expand...
Click to collapse
Hahaa, thought it sounded familiar! No problem, better to get the answer multiple times than not get an answer at all.
---------- Post added 01-29-2017 at 12:01 AM ---------- Previous post was 01-28-2017 at 11:59 PM ----------
Thunderoar said:
It varies, sometimes when flashing thing through adb or recovery with filename had a space in it, it would not detect it cuz the name is spaced and separated and it didn't recognize it as a file cuz the file extension doesn't connected to the name cuz it separated/spaced.
Click to expand...
Click to collapse
Good to know! I've had so many issues over the years, with spaces in filenames, that any renames for files like this get an underscore or dash instead of spaces. Helps in lots of other ways, too.

[KERNEL][HI6250] Veno Kernel [2017-05-22]

Veno Kernel for Huawei HI6250 devices​
Note: I'm waiting for Huawei to release new kernel sources with Nougat, until then I'll focus on fixing any bugs people find. New features will come with Linux 4.1.
The goal​To provide better battery life and more smoothness to your everyday experience, but without sacrificing one in the name of the other (so no +smooth/-battery tweaks and vice versa).
Maybe some extra features? I don't know, I hate unnecessary bloat that provides nothing to everyday user (or even developer).
Okay, so what's in?
Based on latest Huawei VNS sources from January 2017
Turns out newest sources are unstable, I rebased the kernel on 2016 release
Patched to 3.10.105 upstream
Built using Linaro 6.3 toolchain
DM Verity disabled
UKSM 0.1.2.6 (backported from Linux 4.0)
BFQ I/O scheduler
ROW I/O scheduler
Thunderplug hotplugging driver*
Dynamic Fsync
AnyKernel2 package! Compatible with any ROM except stock newer than B336.
For full list of changes see here.
* - Thunderplug is out for now, as it made the device unstable​
Installation​
Make sure you have TWRP installed
Create backup of your current boot
Flash the zip package (it will modify your boot instead of flashing entire boot.img)
Reboot and enjoy! Look below for how to use additional features
THAT'S A LOT OF CHANGES, BUT I HAVE NO IDEA WHAT I'M READING​A quick ELI5 then:
Patched to 3.10.105 upstream
Newer source = less bugs and better kernel in general.
Built using Linaro 6.3 toolchain
Kernel has extra ARM optimizations and phone is faster/has better battery life.
DM Verity disabled
Big brother won't know that you have fiddled with root.
UKSM
More free RAM and less CPU load, so MORE RAM, PERFORMANCE AND BATTERY LIFE.
BFQ I/O scheduler
ROW I/O scheduler Schedulers
With default settings phone will run smoothly even when you're playing FLAC music, compressing 10 archives of 5GB of music and banging your gf (I can't actually know that)
Dynamic Fsync
When you're using the phone, it cares more about your smooth experience than writing data to disk, so the system seems more responsive.
AnyKernel2 package
Can install on top of anything, Huawei is upgrading to kernel 4.1 with EMUI5 though, so flashing might be going backwards (this is 3.10), at least until they release new sources.
DOWNLOAD AND SOURCE​
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
PERFORMANCE OF THIS SOFTWARE.
Source code:
https://github.com/Avsky/kernel_hi6250_vns (unstable sources)
https://github.com/Avsky/android_kernel_huawei_hi6250_nem
Latest release: 2017-05-22
Download: https://www.androidfilehost.com/?w=files&flid=161384
20170406
Rebased on older, more stable Huawei sources (from 2016, everything else is the same)
Removed some of the debugging stuff from the kernel
Enabled Huawei hotplugging driver (it appears to only control big cores tho?)
20170405
UKSM patched to v0.1.2.6 again
Enabled/Disabled a lot of stuff in defconfig
Disabled mostly debugging stuff, which should result in slightly faster kernel.
Enabled a lot of USB drivers (so most stuff should work with Host Mode, if anyone ever uses that)
Enabled some missing Huawei code from older kernel sources, which I believe caused lowmem killer to go haywire, causing heavy apps to randomly close (I tested this one a bit, apps like Snapchat seem to no longer close, can never be sure)
20170404 - BUGFIX attempt
Rolled UKSM back to v0.1.2.3, should help with apps closing without any error
20170330
Removed Thunderplug, as it was causing freezes and bootloops (Huawei HMP doesn't like to have cores offline apparently), system should be stable now
Hotplugging will most likely return, with different driver or when Huawei releases 4.1 kernel sources.
My birthday release, yay, have a stable kernel everyone
20170329
Fix multiple lcd_notify calls
Protect against some hotplug race conditions
Run Thunderplug in per-core mode by default (gotta save the energy!)
Dynamic Fsync (ported to lcd_notify)
Fixes to backported UKSM (possibly fixes binder errors, apps not opening until reboot)
20170325
Initial release
Works with LineageOS 14.1?
---------- Post added at 10:11 AM ---------- Previous post was at 10:10 AM ----------
Or nougat not supported?
RazOne said:
Works with LineageOS 14.1?
---------- Post added at 10:11 AM ---------- Previous post was at 10:10 AM ----------
Or nougat not supported?
Click to expand...
Click to collapse
Yes, I'm running it on LOS 14.1 right now.
If somebody could test it on stock and EMUI5 ROMs (just for the heck of it, keep backup) I'd be grateful.
Sent from my VNS-L21 using Tapatalk
Installed succesfully on L31 running Resurrection Remix nougat. I will try for a few days and report back feedback
Will try it on EMUI 5 as soon as I have time.. very happy to see our device is getting devs' attention, keep up the good work!
Good afternoon. Your modification will work on EMUI 4 ?
thank you
upd.: on EMUI 4 it worked
http://cs5-1.4pda.to/9967169/Screenshot_2017-03-26-14-54-33.png?e28279d161430a29fd16f793d314a066
Hello
I have tested on vns-l31c636b361 (nougat), it does not start blocking your device is booting now ....
(I think I forgot the root)
I will re-try with but I get it with dload c636b170.
New try, l31c636b170 (emui 4) + twrp meticulus, ok :good:
Flashed it more than a day ago, working great on LineageOS 14 (VNS-L31), yet to find any issues...
Wat does it really do haha? Saw "whats in" but dont really know what that means hahaha.
Are you planning to add other CPU/ GPU governors?
uspy said:
Are you planning to add other CPU/ GPU governors?
Click to expand...
Click to collapse
It's something I'd like to do at some point, but there are very few governors which are properly adapted to octacore devices and none so far worked out of the box with Huawei kernel. I'm keeping my eye mostly on ElementalX and Impulse, but they'll need changes to even compile.
For now stick with interactive, next release with thunderplug enabled by default will bring better battery life.
Sent from my VNS-L21 using Tapatalk
It's really nice to hear that you are working on it. Thanks for your reply.
20170329 release
New release is out! Note that I wasn't running on a new build for very long, so issues might still surface, keep a watch on this thread.
Changes:
Fix multiple lcd_notify calls
lcd_notifier call was implemented in wrong section of Huawei LCD driver, oops.
Protect against some hotplug race conditions
Stability fixes mostly, based on ThunderZap kernels.
Run Thunderplug in per-core mode by default (gotta save the energy!)
Due to how scheduling works in Huawei kernel, it might keep one or two big cores up after heavy load, but should be fine once the screen is turned off.
Dynamic Fsync (ported to lcd_notify)
I moved Dynamic Fsync (thanks faux123) to lcd_notify to avoid kernel bloat from powersuspend or earlysuspend (which are not present in the kernel).
Fixes to backported UKSM (possibly fixes binder errors, apps not opening until reboot)
My derp in commiting changes might have caused critical fail in Android Binder, which resulted in random reboots and new apps not opening. Tell me if anyone encounters it.
Overall this release should bring much better battery life and smoothness to the system (mostly thanks to dyn fsync).
Download: https://www.androidfilehost.com/?fid=673368273298943375
Settings crash, dialer crashes when dialing any number after flashing latest release.
Anyway to unflash, or fix this? I didn't do a twrp backup prior to this, but I did do a cache/dalvik wipe after flashing.
Will a factory reset fix this? Or maybe just wipe /system in twrp?
I'm running stock b170 on vnsl21, meticulus twrp, rooted with magisk. I also have systemless xposed installed, maybe there's a conflict?
zgomot said:
Settings crash, dialer crashes when dialing any number after flashing latest release.
Anyway to unflash, or fix this? I didn't do a twrp backup prior to this, but I did do a cache/dalvik wipe after flashing.
Will a factory reset fix this? Or maybe just wipe /system in twrp?
I'm running stock b170 on vnsl21, meticulus twrp, rooted with magisk.
Click to expand...
Click to collapse
Ask someone for stock boot.img or extract it from huawei image.
Also logs, I need logs.
Avsky0 said:
Ask someone for stock boot.img or extract it from huawei image.
Also logs, I need logs.
Click to expand...
Click to collapse
So then, would a fastboot flash boot boot.img work to uninstall the kernel?
edit: I was just about to instal catlog to provide logs, while going for another round of dalvik/cache wipe and guess what - it seems everything is ok now. Will keep you posted if any issues arise.
zgomot said:
So then, would a fastboot flash boot boot.img work to uninstall the kernel?
Click to expand...
Click to collapse
Yes, that's how you flash kernel images. Also keep backup next time.
Sent from my VNS-L21 using Tapatalk
Also a question if I may. Would this kernel provide any benefits over the stock one if I don't install Kernel Adiutor and change any of the settings - basically just flash it and forget it?
edit: 2 questions if you could be so kind as to indulge me.
Does this modify haptic feedback? As it seems to me - either that or I'm crazy - that keyboard haptic feedback is different after flashing this. It's weaker and a little strange (?), however, navbar haptic feedback and other vibrations seem to be the same as with the stock kernel.
Thanks for your time
further edit for feedback: The fingerprint sensor is a bit iffy now. It's considerably slower sometimes, and generally slower and doesn't always vibrate on unlock, like 9/10 times it doesn't vibrate.
I flashed today's build and I noticed that only one core was active, and I can't turn on more than 4 cores so I can basically use 2 little and 2 big cores. Is this as it should be expected?

*AR_Beast* Kernel R9 (3.10.108) (Jan 29 2018) (OREO) {UBER-TC)

AR_Beast™ Kernel​
Hey there! Ayush Here
INTRO
After a lot of hard work, I am debuting at the kernel section for a new custom kernel based on latest sources by LOS. As the name suggest, these kernel is made as a All-Rounder,i.e it can provide better battery + performance . Without talking much lets go the features of these kernel.
MAIN FEATURES
CPU
Proper and Uniform Frequency Table Format.
Overclocked CPU to 1.7GHz for big cluster and1.2GHzfor little cluster (for Beast Performance).{Modified and Enhanced by me)
Support for more Governers
Darkness
Impulse
BarryAllen
ElementalX
Intel
Smartmax_eps
Lionfish
Optimized Interactive and ElementalX Governer.
System wide PowerEfficent Workqueue(for Beast Battery Backup).
[*]CPU-Boost,Hotplug Boost and Wakeup Boost
[*]Reduced CPU Load(for Beast Battery Backup).
[*]Fixed High Load average(for Beast Battery Backup).
Fast idling of CPU (for Beast Battery Backup).
Less CPU-Load=Cool Device=More Battery-Life
Various Optimizations.
Hotplugs
Added Alucard (Modified for Beast Battery Backup)
Added Thunderplug (Modified forBeast Battery Backup)
Disabled MSM_Performance hotplug (was of no use)
Thermal
Support for user controllable thermal driver which reduce CPU frequency On a set trip point ( Ported by me )
Default limit set to 50°
Advanced Core control mode
Quad core mode
Fully configurable in the adiutor
Various Optimizations
GPU
Altered GPU-Frequency Table (for Beast Battery Backup)
UnderClock GPU to 19MHz(for Beast Battery Backup)
Overclock GPU to 650MHz
Support for Adreno Idler
Various Optimizations
Battery
Enabled ARCH_Power (for Beast Battery Backup)
New PowerSuspend algorithm (for Beast Battery Backup)
Support for preventing unnecessary WakeLocks (for Beast Battery Backup)
ThunderCharge Current Control Driver v2.1.
Fast Charge Drivers
Incresed Charge current (1370)
Various Optimizations
Sound
FauxSoundControl v4.0 ( Modified and Enhanced by me)
Support for 2 Gains---Headphones, Speaker.
Provides ability to Increase or Decrease Volume beyond Default Limits.
Support for Controlling Volumes separately for left and right Headphones.
Dts sound support
Negative values works too
Display
Kcal Colour control v2
Uses custom colour profile by default for better screen vibrancy, colour reproduction (Enhanced by me)
Support for Glove Mode
Various Optimizations
MISC
Latest Linux Base 3.10.108
Based on latest sources.
Compiled with Uber 7.2.1 Optimized ToolChain
O3 and Graphite Optimizations
Support for FRandom RNG Driver (upto 50x faster than the default one).
Support for various Wake-Up Gestures including DT2W.
State Notifer support (faster and better)
Nvidia power optimizations
Varoius tweaks for better network speed
Support for Dynamic Fsync
Various Optimiztaions For Cpu and GPU
F2FS and exFAT Support
Kexec Hardboot
Support for Load Shifter Mechanism.
Various Tweaks for better battery+performance.
Supports Every MM and N roms
Added LCD notifier
Added Quick Wakeup driver
Exclusive Kernel Adiutor for configuring
This are the features which I Remember many features are omitted due to word limit
I have tried my level best to make my kernel as best as possible. From minor tweaks to major improvements, everything is done.
Installation Instructions
Boot into recovery (twrp recommended)
Wipe cache and dalvik cache
Flash AR_Beast™-Kernel Rxx.zip
Reboot to system
Done
XDA:DevDB Information
*AR_Beast* Kernel, Kernel for the YU Yureka
Contributors
Ayush Rathore
Source Code: https://github.com/AyushR1/AR_Beast-Tomato
Kernel Special Features:
Version Information
Status: Stable
Current Stable Version: 9
Stable Release Date: 2018-01-29
Created 2018-01-29
Last Updated 2018-01-29
DOWNLOAD
R9 - Oreo(8.0/8.1) - https://www.androidfilehost.com/?fid=818070582850488842
Kernel-Adiutor-Mod - https://forum.xda-developers.com/android/apps-games/kernel-adiutor-mod-v6-t3740249
Telegram Group :- https://t.me/joinchat/AAAAAEEtgBFuVYjNE2yRbA
NOTES
1. Use AR_Beast Adiutor to apply settings(prebuilt in kernel zip)
2. Always turn on Apply on Boot and set Delay to 10 seconds or more
3. Always turn on Emulate Init.d option in Kernel Adiutor.
4. If you are facing WiFi/Hotspot issue then check whether your system partition has atleast 20mb free then reflash kernel or Extract wlan.ko from the .zip of kernel (located under system/lib/modules/) and place it in root/system/lib/modules/ overwriting the one already present there. Then, set the permission of the file to rw-r-r and reboot the phone. Use ES File Manager with Root Permission to do this.
5. Facing splashloops(loops on yo logo) then clean flash your rom or wipe data/cache/dalvik-cache
6. Don't use any hotplug along with core control or quad core mode if you wanna use hotplug then disable corecontrol and quad core mode. You can use Core control along with quad core mode.
PRO Sir!!
Thanks for Oreo Support Bro.,
Can we use it for nougat also ?
Will R9 version Support Nougat?
Please reply me. If not which ROM is preferrable to install? Suggest me.
Has anyone tested if this kernel works fluently with NitrogenOS 8.1 ROM ? Please do confirm as this kernel looks so tempting.
The kernel Adiutor mod is broken. Can u give another link.
da_gamer_pk said:
has anyone tested if this kernel works fluently with nitrogenos 8.1 rom ? Please do confirm as this kernel looks so tempting.
Click to expand...
Click to collapse
bro i am using this rom with my nitrogen os shekhawat 20180208 , it works super fine on nitrogen, trust me u can go with this kernel, everything is working fast and smooth
Wlan.co file is missing from the directory you mentioned. Where can I get that file? My wifi/hotspot does not work. Other than this this kernel works perfectly with nitrogen os 8.1.
thanks .. need the link for auditor mod ?
Ayush Rathore said:
NOTES
1. Use AR_Beast Adiutor to apply settings(prebuilt in kernel zip)
2. Always turn on Apply on Boot and set Delay to 10 seconds or more
3. Always turn on Emulate Init.d option in Kernel Adiutor.
4. If you are facing WiFi/Hotspot issue then check whether your system partition has atleast 20mb free then reflash kernel or Extract wlan.ko from the .zip of kernel (located under system/lib/modules/) and place it in root/system/lib/modules/ overwriting the one already present there. Then, set the permission of the file to rw-r-r and reboot the phone. Use ES File Manager with Root Permission to do this.
5. Facing splashloops(loops on yo logo) then clean flash your rom or wipe data/cache/dalvik-cache
6. Don't use any hotplug along with core control or quad core mode if you wanna use hotplug then disable corecontrol and quad core mode. You can use Core control along with quad core mode.
Click to expand...
Click to collapse
hi bro, thanks .. need the kernel auditor link, i guess its not in the build , or please tell how to use it
Kernel auditor link not working.
Please provide a new one.
praveen139 said:
Can we use it for nougat also ?
Click to expand...
Click to collapse
Yes its working perfectly in Lineage 14.1 and pubg works without lag issue
---------- Post added at 11:11 AM ---------- Previous post was at 11:06 AM ----------
jaydeep darandale said:
Wlan.co file is missing from the directory you mentioned. Where can I get that file? My wifi/hotspot does not work. Other than this this kernel works perfectly with nitrogen os 8.1.
Click to expand...
Click to collapse
get that wlan.ko from another kernel for you yureka and paste inside the kernel in module folder use zarchiver
Hariprasad01 said:
Yes its working perfectly in Lineage 14.1 and pubg works without lag issue
---------- Post added at 11:11 AM ---------- Previous post was at 11:06 AM ----------
get that wlan.ko from another kernel for you yureka and paste inside the kernel in module folder use zarchiver
Click to expand...
Click to collapse
Ive tried my level best to replace and even re compress the "wlan.ko" but nothing is working for me...
cannot open the wifi and hotspot shows error.. what can i do.. please help.. even tried re-flashing everything..
Wifi and hotspot not working.!!
This feels to be the best and the smoothest kernel that I've used till date, but the wifi and hotspot is not working. No matter what i do, even tried wlan.ko file from another kernel still its not working please help. I am using RR os and even on clean flash it is not working. Please help...
Could anybody please answer my question!!!
Shreyas Parashar said:
This feels to be the best and the smoothest kernel that I've used till date, but the wifi and hotspot is not working. No matter what i do, even tried wlan.ko file from another kernel still its not working please help. I am using RR os and even on clean flash it is not working. Please help...
Click to expand...
Click to collapse
I seriously am waiting for my reply,, please help me with the wifi fix!!!
Kernel is discontinued.
A second more
Ayush Rathore said:
Kernel is discontinued.
Click to expand...
Click to collapse
Can u just help me withthe way to wifi fix.?
help me with building of this kernel with my battery 4000maH
Ayush Rathore said:
Kernel is discontinued.
Click to expand...
Click to collapse
i am trying to build kernel from your source, (in ubuntu c9.io cloud )
but i get failed with errors, using tomato-nougat brach and GCC-prebuilt-8 toolchain
i think your build.sh contains many different command for ubuntu to understand ! isn't ?
help

[KERNEL] [9.0][N][O][PIE] RZ Kernel v3.5 for Sony Xperia Z2

Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this kernel
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.*/
Features
I/O Schedulers (these were actually added in upstream kernel source)
BFQ
CFQ
DEADLINE
FIOPS
NOOP
ROW [DEFAULT]
ZEN
CPU hotplugs: intelli_plug (ENABLED BY DEFAULT)
CPU thermal control: intellithermal (ENABLED BY DEFAULT)
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
CPU
Support for Multi-Core Power Saving, reduce CPU usage (available in CPU tab of Kernel Adiutor).
Reduced CPU Average-Load drastically (Less CPU-Load=Cool Device=More Battery-Life).
Support userspace CPU voltage controlling
GPU
Support for Adreno Idler algorithm, reduce high GPU frequencies usage for better battery performance
Support for Simple GPU Algorithm
Memory
Support for Adaptive Low Memory Killer (ALMK) (kill any process that cause thrashing scenario)
Support for Kernel Samepage Merging (KSM).
Support for zRAM compression algorithm (updated to upstream Linux 4.8)
Support for LZ4HC (LZ4 high-compression rate) compression algorithm for zRAM
Other tweaks and optimizations
Init.d support
Support Faux Sound Control (use Faux Sound app to set audio gain profiles)
Optimized Integer SQRT. for upto 3x faster operation.
OVERCLOCKED CPU to 2,7GHz GPU to 657MHz
Westwood TCP congestion algorithm (small boost on network speed)
Hacked swappiness up to 200 by using hacks from Samsung kernel sources (default swappiness is 130)
SELinux Permissive (for V4A and etc...)
Disabled some battery-hogging WAKELOCKS
Support zswap for better memory compression
Download
RZ_kernel_v3.5_sirius - OREO/PIE
RZ_kernel_v3_5_Sirius_Nougat(TEST)
Click to expand...
Click to collapse
Source code: https://github.com/Raschad/android_kernel_sony_msm8974-1
XDA:DevDB Information
RZ Kernel, Kernel for the Sony Xperia Z2
Contributors
raschad, remilia15
Kernel Special Features:
Version Information
Status: Beta
Beta Release Date: 2019-02-03
Created 2019-02-03
Last Updated 2019-02-03
Tks!
Thank you for supporting our Z2 device
Exfat formatted SD Card not working. (Please Fix it ASAP)
Can you add Quick Charge.
Thanks for your work
But I can't see zzmove and Inteliavtive in kernel auditor
Also interactive is default governor
I changed to ondemand because with interactive games becomes laggy and slow
---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------
nesan95 said:
Thank you for supporting our Z2 device
Exfat formatted SD Card not working. (Please Fix it ASAP)
Can you add Quick Charge.
Click to expand...
Click to collapse
There is an option in battery section in kernel auditor,you can enable quick charge
Persiastar said:
Thanks for your work
But I can't see zzmove and Inteliavtive in kernel auditor
Also interactive is default governor
I changed to ondemand because with interactive games becomes laggy and slow
---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------
There is an option in battery section in kernel auditor,you can enable quick charge
Click to expand...
Click to collapse
Can you give me the specific adjustment parameters of the auditor? I will not adjust it for the first time, I want to adjust it according to your plan.
Sir, can you send out your kernel-tune version? I found that the kernel tuning downloaded from the Google market is a bit out of tune with the tutorials you sent.:silly:
raschad said:
Governors
conservative
elementalX
intelliactive
interactive
ondemand
powersave
performance
zzmoove [DEFAULT, profile: 3 (ybatext)]
Click to expand...
Click to collapse
When I flashed this over a fresh RR7 install, there definitely was no zzmove governor, and the default gov was interactive. How would that be possible?
aelfinn said:
When I flashed this over a fresh RR7 install, there definitely was no zzmove governor, and the default gov was interactive. How would that be possible?
Click to expand...
Click to collapse
It may have been deleted. This was in the first versions
Persiastar said:
Thanks for your work
But I can't see zzmove and Inteliavtive in kernel auditor
Also interactive is default governor
I changed to ondemand because with interactive games becomes laggy and slow
---------- Post added at 08:48 PM ---------- Previous post was at 08:46 PM ----------
There is an option in battery section in kernel auditor,you can enable quick charge
Click to expand...
Click to collapse
It's not Quick Charge. QC is different from fast charge And the fast charge is not working properly (700mA-1100mA) this is what I got from the lock screen. I am using Anker 24W power adapter.
Before RR Pie I was using RR Oreo with QC 2.0 mod kernel (https://forum.xda-developers.com/xperia-z2/development/mod-enable-quick-charge-2-0-t3784333) And The mA rate was 1000-1700.
I flashed the same kernel on RR Pie which I was used in RR Oreo it was successfully booted and Quick Charge worked like on RR Oreo but hotspot and USB Tethering not working so I flashed back to RZ Kernel.
That's why I am asking the developer to add QC 2.0. I know it's difficult but it's possible. Sorry for my bad English. Thank you. @raschad
xperia1-2 said:
Can you give me the specific adjustment parameters of the auditor? I will not adjust it for the first time, I want to adjust it according to your plan.
Click to expand...
Click to collapse
Im not professional but i tell my settings
With this kernel and aex rom battery life and charging is really good
For extremely saving battery,Conservative Governor is good
I always set it to ondemand for gaming and daily use
With interactive i noticed lag in games
The multicore powersaving option can be set to Aggressive for better battery saving
I also set cpu frequency to 2265 MH,more than this my device getting very high temperature
Another thing,when you wanna play games or heavy apps,make sure all 4 cores is online,i always turn off mpdecision in cpu hotplug section and turn on or off the cores manually because i noticed bad behavior with mpdecision on,or i use another
Hopefully in this kernel mpdecision is off by default
raschad said:
It may have been deleted. This was in the first versions
Click to expand...
Click to collapse
I’m not sure I’m following you there: which “versions” do you mean? v3.5 is the first one for the Z2 you have published here, right? In any case, that’s the version I have got, and the info in the OP refers to that version, doesn’t it?
nesan95 said:
It's not Quick Charge. QC is different from fast charge And the fast charge is not working properly (700mA-1100mA) this is what I got from the lock screen. I am using Anker 24W power adapter.
Before RR Pie I was using RR Oreo with QC 2.0 mod kernel (https://forum.xda-developers.com/xperia-z2/development/mod-enable-quick-charge-2-0-t3784333) And The mA rate was 1000-1700.
I flashed the same kernel on RR Pie which I was used in RR Oreo it was successfully booted and Quick Charge worked like on RR Oreo but hotspot and USB Tethering not working so I flashed back to RZ Kernel.
That's why I am asking the developer to add QC 2.0. I know it's difficult but it's possible. Sorry for my bad English. Thank you. @raschad
Click to expand...
Click to collapse
Oh sorry my mistake
 @raschad in cpu hotplug section,intelli-plug is absent
nesan95 said:
It's not Quick Charge. QC is different from fast charge And the fast charge is not working properly (700mA-1100mA) this is what I got from the lock screen. I am using Anker 24W power adapter.
Before RR Pie I was using RR Oreo with QC 2.0 mod kernel (https://forum.xda-developers.com/xperia-z2/development/mod-enable-quick-charge-2-0-t3784333) And The mA rate was 1000-1700.
I flashed the same kernel on RR Pie which I was used in RR Oreo it was successfully booted and Quick Charge worked like on RR Oreo but hotspot and USB Tethering not working so I flashed back to RZ Kernel.
That's why I am asking the developer to add QC 2.0. I know it's difficult but it's possible. Sorry for my bad English. Thank you. @raschad
Click to expand...
Click to collapse
Im able to charge at 1500-1600ma using samsung fast charger, here is a screenshot. Btw im on AEX with rz kernel v3.5
vikash1994b said:
Im able to charge at 1500-1600ma using samsung fast charger, here is a screenshot. Btw im on AEX with rz kernel v3.5
Click to expand...
Click to collapse
Yes you are right. I bought a new QC 3.0 charger. I got the same result and Quick Charging also working . Here is the evidence.
Root
Does it needs root?
Thanks.
kecao said:
Does it needs root?
Thanks.
Click to expand...
Click to collapse
To flash on Android pie rom, NO
But to change kernel settings via kernel auditor then Yes
vikash1994b said:
To flash on Android pie rom, NO
But to change kernel settings via kernel auditor then Yes
Click to expand...
Click to collapse
Thank a lot.
Is it enough to flash from TWRP?
bad.a55 said:
Is it enough to flash from TWRP?
Click to expand...
Click to collapse
yeap
Hi everyone, any solution for external sd card? I have “deteriorated sd card” error even it work in twrp recovery.

Categories

Resources