[Kernel tweaks][for LineageOS14.1and AEX][montana-xt1793][rainbow-32bit] - Moto G5S ROMs, Kernels, Recoveries, & Other Devel

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Rainbow-Kernel 3.18.101
First!- i'm not a developper, so dont shoot me, i do this like a hobby!
Second!- each file posted are tested first by me on my device(dont want to kill someone else device )
original kernel forked from here to my github and reworked
Thanks to @kalyansundhar
fixed compiling-errors and tweaked
Tweaks for now:
first release added new governors
-Lionheart
-bioshok
-alukard
-darkness
6-02-2018 added new I/O schedullers
-row
-sio
-zen
9-2-2018 CPU over/underclock
overclocked to 1497Mhz
underclocked to249Mhz
16-02 update
+ fiops I/O scheduller
set selinux PERMISIVE
9-07 update
+KSM(Kernel Samepage Merging)
changed alucard, darkness, alessa
modules
5-09 added kernel v3.18.101
kernel v3.18.63 patched v.3.18.101
GPU underclocked to 160Mhz
(in work for overcloking GPUto 650Mhz)
8-09 added CPU Hotplug
MSM Hotplug
MSM MPDecision Hotplug
Tweaks wich i want to add:
cpu/gpu over/under clock for better performances
many other tweaks available for kernel( i can say i'm a noob in this so i have to learn about them first)
kernel v3.18.101 compiled with Ubert-4.9.4 toolchain
Kernel tested on LineageOS-14.1 rom!
Download the flashable.zip
and flash it with TWRP, then reboot
*dont forget to make a backup first for all rom partitions
in case of problems, you can restore the phone
enjoy by your new kernel!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
* to change different governors use "Kernel adiutor.apk" from play-store or simmilar apk
** need root for using this and a custom (TWRP)recovery
*** dont use stok recovery
Download kernel v3.18.101(8-09-2018)
Credits:
@kalyansundhar
to all contributors to make Moto-G5s better than ever!
kernel source https://github.com/vaserbanix/Reworked_android_kernel_motorola_msm8937
Thankyou!
Ps. if i miss something, just let me know

THANKS, I test away
1st test crDroid bootloop

lohanbarth said:
THANKS, I test away
1st test crDroid bootloop
Click to expand...
Click to collapse
extract the zImage from my boot.img and pack it in crDroid boot.img and try again
Sent from my Moto G5s using Tapatalk

Great work!
Some questions:
What can we do with it?
Support for 1794?(NFC?)
Battery improvement?
Can you make a zip flashable?
Many thanks for your hard work!

GoldeneyeS2 said:
Great work!
Some questions:
What can we do with it?
Support for 1794?(NFC?)
Battery improvement?
Can you make a zip flashable?
Many thanks for your hard work!
Click to expand...
Click to collapse
*available governors, are about 50 different governors
each one have his own "settings" for performance, battery and compatibilities
is useles to add all in the kernel and is good to make a selection of them
i added few now and i plan to add another 3-4, just to have option to choose.
*kernel source has nfc support and is enabled, so it should work on 1794.(i cant test it)
*battery improvement depend all the time by the user and thats new governors can help.
*yes, i will do it
Thanks!
Edit!
flashable.zip added in first post(atachaments)

vaserbanix said:
extract the zImage from my boot.img and pack it in crDroid boot.img and try again
Sent from my Moto G5s using Tapatalk
Click to expand...
Click to collapse
ok I test early in the week.

lohanbarth said:
ok I test early in the week.
Click to expand...
Click to collapse
you can now to flash the zip atached over any rom.
it will replace zImage(kernel) and dtb files in boot.img without changing the ramdisk!
Sent from my Moto G5s using Tapatalk

kernel update
added new I/O schedullers
-row
-sio
-zen

thx mate .
works well but I'm waiting for more additions

Good work, well done! Any chances to volume adjust feature? Loudspeaker volume, headphones. AFAIK Kernel Adiutor can control this, if it present.

MoonPWR said:
Good work, well done! Any chances to volume adjust feature? Loudspeaker volume, headphones. AFAIK Kernel Adiutor can control this, if it present.
Click to expand...
Click to collapse
Thankyou!
i dont know if that's can be modified in kernel, but i will chek.
also the audio volume can be increased from system/etc/mixer_paths.xml file
editing this lines:
<ctl name="RX1 Digital Volume" value="84" />
<ctl name="RX2 Digital Volume" value="84" />
<ctl name="RX3 Digital Volume" value="84" />
"84" is the standard value and upgrading them to 85, 86, 87, ++ but not much becouse the sound will be distorsioned, will increase the sound volume.
recomended value form me, is max 88

CPU over/underclocked
see the values on firs post!
some feedbacks are wellcome!
thankyou!

new update
+ fiops I/O scheduller
set selinux Permisive
Thankyou!

vaserbanix said:
new update
+ fiops I/O scheduller
set selinux Permisive
Thankyou!
Click to expand...
Click to collapse
Great work!
Many thanks.
Why the selinux to permisive?
Can you help with this project?
https://forum.xda-developers.com/moto-g5s/how-to/discussion-treble-support-motorola-g5s-t3750093
You now a lot of kernels and help is always great full.

GoldeneyeS2 said:
Great work!
Many thanks.
Why the selinux to permisive?
Can you help with this project?
https://forum.xda-developers.com/moto-g5s/how-to/discussion-treble-support-motorola-g5s-t3750093
You now a lot of kernels and help is always great full.
Click to expand...
Click to collapse
"Permissive versus enforcing
A SELinux-hardened system will run with SELinux in enforcing mode, meaning that the SELinux policy is in effect and things that it doesn't want to allow won't be allowed. But when trying to debug permission problems, it might make sense to temporarily disable SELinux. In this case, you can opt to have SELinux run in permissive mode, either for the entire system, or for a specific (set of) types."
related to "help" in that project
OEM partition has only 450Mb, will not be a very important space saver.
system partition has about 3.3Gb and in lineage(for example) is used only 900Mb the rest are free(2.3Gb)
also keeping the original PIT is recomended for the future stok updates
most of the user will want to revert to stok rom (time to time) and modified PIT will make that complicate without a real necesary reazon
this is my opinion(only my opinion)
Thankyou!

vaserbanix said:
"Permissive versus enforcing
A SELinux-hardened system will run with SELinux in enforcing mode, meaning that the SELinux policy is in effect and things that it doesn't want to allow won't be allowed. But when trying to debug permission problems, it might make sense to temporarily disable SELinux. In this case, you can opt to have SELinux run in permissive mode, either for the entire system, or for a specific (set of) types."
related to "help" in that project
OEM partition has only 450Mb, will not be a very important space saver.
system partition has about 3.3Gb and in lineage(for example) is used only 900Mb the rest are free(2.3Gb)
also keeping the original PIT is recomended for the future stok updates
most of the user will want to revert to stok rom (time to time) and modified PIT will make that complicate without a real necesary reazon
this is my opinion(only my opinion)
Thankyou!
Click to expand...
Click to collapse
Thanks for your answer and opinion.:good:
Its not about a space saver or installing lineage on OEM partition. We want to use the OEM partition as Vendor place in Treble support. The kernel will mount OEM as Vendor and symlink it to the TWRP recovery.
If someone wants back to stock he can flash all the stock files over the existing. We are not changing the PIT.
Do you understand Treble?

GoldeneyeS2 said:
Do you understand Treble?
Click to expand...
Click to collapse
after your question i read better about that subject!
https://www.androidauthority.com/project-treble-818225/
https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/
others too
for this, all developpers will must be reborn, dropped a lot of their work and reconsider all form start
little hard to do that but to be on top they will do, if not all at least some of them
security will be improved! dont worth to change only for that
system.img instalable on many different devices! yes this is a good thing but will take some tame until it will work how is projected
for custom's rom's!
and "Yes it can come"
also i repaked that XperienceOS for mi3s from new.dat to meta-data for better wiev without install
download the rom and study it
https://drive.google.com/open?id=1CpfoNo2gX6lg3li0aqL_gtJ1zQIqIOca
!!! do not install it!!!!

vaserbanix said:
after your question i read better about that subject!
https://www.androidauthority.com/project-treble-818225/
https://www.xda-developers.com/how-project-treble-revolutionizes-custom-roms-android-oreo/
others too
for this, all developpers will must be reborn, dropped a lot of their work and reconsider all form start
little hard to do that but to be on top they will do, if not all at least some of them
security will be improved! dont worth to change only for that
system.img instalable on many different devices! yes this is a good thing but will take some tame until it will work how is projected
for custom's rom's!
and "Yes it can come"
also i repaked that XperienceOS for mi3s from new.dat to meta-data for better wiev without install
download the rom and study it
https://drive.google.com/open?id=1CpfoNo2gX6lg3li0aqL_gtJ1zQIqIOca
!!! do not install it!!!!
Click to expand...
Click to collapse
Many many thanks for your support.
Can you maybe add the above to the right section?([Discussion] TREBLE Support for Motorola G5s)

arm64bit-kernel
so, i managed to finish compiling the arm64bit-kernel!
also are some problems here:
1. the file resulted are to large for G5s boot partition,
boot partition has 16Mb and the file has 27Mb(not enough space)
that can be from my settings(wrong) or not
2. no 64bit rom to test in case i can get the correct size!
i put my "Telegram" adress here!
if any experienced developper can help,
please contact me!
https://t.me/vaserbanix
Thankyou!

vaserbanix said:
so, i managed to finish compiling the arm64bit-kernel!
also are some problems here:
1. the file resulted are to large for G5s boot partition,
boot partition has 16Mb and the file has 27Mb(not enough space)
that can be from my settings(wrong) or not
2. no 64bit rom to test in case i can get the correct size!
Thankyou!
Click to expand...
Click to collapse
Hello,
1. You must rename Image.gz to boot.img-zImage. (The size will be something like 9.2mb)
2. Because there is no Vendor and Device tree for ARM64. Maybe we can port something from Cedric(Moto G5)?.

Related

[KERNEL] FD's Kernel v1.0 (OC/UV, CWM4, BLN, ROOT)

Yes!! My first release. (another kernel )
To keep it simple; this is a basic kernel, compiled from Samsung source.
My target was to keep it fast, stable and improve battery life at the same time.
Features:
Disabled unnecessary debugging and logging (logcat/dmesg) - for increased smoothness
OC/UV - CPU Freq range is 7 now (200/500/800/1000/1200/1400/1600)
Supports BLN
Touch sensitivity fix
Minor performance tweaks
CWM4
ROOT
Using Samsung Update2 source code
Using Chainfire's initramfs
Recommended Voltage:
OC/UV available with SetCPU or Voltage Controller.
1600MHz: 1350mV
1400MHz: 1250mV
1200MHz: 1200mV
1000MHz: 1100mV
800MHz: 1000mV
500MHz: 950mV
200MHz: 850mV
Screenshots:
Quadrant is not an accurate benchmark tool, but on an average with this kernel (Scaling: ondemand), I'm able to achieve ~4200 to ~4400.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Note: This is a hobby for me and I do this in my free time. If you like my work, you can always say thanks .
I would like to thank the following members of this community: chainfire, creams, hacre, codeworkx, hardcore, netarchy and vitalij.
If I forgot to mention someone - apologizes.
Disclaimer: Flashing could break your hardware. Use at your own risk!
Updates:
FD-Kernel_SGS2_v1.0b:
Updated initramfs to KI4
Oh a new kernel, cheers mate will try this out.
Sent from my GT-I9100 using XDA App
is this KH3?
Thanks man, another good kernel for us for testing and improving our phone's experience
Some questions :
1) root is an "auto-root" or it has to be installed using CWM?
2) BLN support includes correct libraries installation or it depends by specific rom (lights.GT-I9100.so modified)?
3) That quadrant score in the figure is high...on what build you were when you have obtained that result?
4) I often use GPS, have you planned for the future some kind of features to improve it?
Thank you for your work, i'll test it with pleasure.
Good luck! I wish you all the best!
A good idea would be to post what version's initramfs you're using. I suppose this is for XWKI4?
pan466 said:
is this KH3?
Click to expand...
Click to collapse
Its a kernel, you can use it with any build.
I'm using KG3 initramfs from Chainfire though.
HTCDevil said:
Thanks man, another good kernel for us for testing and improving our phone's experience
Some questions :
1) root is an "auto-root" or it has to be installed using CWM?
2) BLN support includes correct libraries installation or it depends by specific rom (lights.GT-I9100.so modified)?
3) That quadrant score in the figure is high...on what build you were when you have obtained that result?
4) I often use GPS, have you planned for the future some kind of features to improve it?
Thank you for your work, i'll test it with pleasure.
Click to expand...
Click to collapse
1) Auto-root
2) Kernel has the support, you should have compatible ROM or if required, I can provide the cwm zip to install the .so file.
3) Stock KG3
4) There is no point in releasing updates and making the users the guinea-pigs. If I'm able to achieve performance improvement without sacrificing battery and stability, I'll update and release a new version. But, yes, I plan on continuing the development.
Thanks for your support.
FrozenData said:
Its a kernel, you can use it with any build.
I'm using KG3 initramfs from Chainfire though.
1) Auto-root
2) Kernel has the support, you should have compatible ROM or if required, I can provide the cwm zip to install the .so file.
3) Stock KG3
4) There is no point in releasing updates and making the users the guinea-pigs. If I'm able to achieve performance improvement without sacrificing battery and stability, I'll update and release a new version. But, yes, I plan on continuing the development.
Thanks for your support.
Click to expand...
Click to collapse
Thank you for your answers. I'll test it on XWKI4 Odexed and then on my Deodex version. BLN libraries could be important but not needed (if everyone knew what to do ).
Have you provided any kind of script in etc/init.d?
Nice work, i've subscribed your 3D for following it
Battery calibration done now will discharge to 100% like a mad man today lol to test this out. Not had much luck with previous update2 kernels in relation to battery but lets see what this baby can do. UV settings so far stable, slight sensitivity issues whilst in charge. Will report my findings in due course.
Thanks again mate.
Sent from my GT-I9100 using XDA App
HTCDevil said:
Thank you for your answers. I'll test it on XWKI4 Odexed and then on my Deodex version. BLN libraries could be important but not needed (if everyone knew what to do ).
Have you provided any kind of script in etc/init.d?
Nice work, i've subscribed your 3D for following it
Click to expand...
Click to collapse
I'm guessing everyone knows about BLN library. Incase if someone asks for help, I'm sure either me or someone else will jump in to help.
No, I've not added any scripts.
Thanks.
nikzDHD said:
Battery calibration done now will discharge to 100% like a mad man today lol to test this out. Not had much luck with previous update2 kernels in relation to battery but lets see what this baby can do. UV settings so far stable, slight sensitivity issues whilst in charge. Will report my findings in due course.
Thanks again mate.
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Thanks for the support.
Sourcecode?
FrozenData said:
Yes!! My first release. (another kernel )
To keep it simple; this is a basic kernel, compiled from Samsung source.
My target was to keep it fast, stable and improve battery life at the same time.
Features:
Disabled unnecessary debugging and logging (logcat/dmesg) - for increased smoothness
OC/UV - CPU Freq range is 7 now (200/500/800/1000/1200/1400/1600)
Supports BLN
Touch sensitivity fix
Minor performance tweaks
CWM4
ROOT
Using Samsung Update2 source code
Using Chainfire's initramfs
Recommended Voltage:
OC/UV available with SetCPU or Voltage Controller.
1600MHz: 1350mV
1400MHz: 1250mV
1200MHz: 1200mV
1000MHz: 1100mV
800MHz: 1000mV
500MHz: 950mV
200MHz: 850mV
Screenshots:
Quadrant is not an accurate benchmark tool, but on an average with this kernel (Scaling: ondemand), I'm able to achieve ~4200 to ~4400.
Note: This is a hobby for me and I do this in my free time. If you like my work, you can always say thanks .
I would like to thank the following members of this community: chainfire, creams, hacre, codeworkx, hardcore, netarchy and vitalij.
If I forgot to mention someone - apologizes.
Disclaimer: Flashing could break your hardware. Use at your own risk!
Updates:
FD-Kernel_SGS2_v1.0b:
Updated initramfs to KI4
Click to expand...
Click to collapse
May I tell you that is a little bit stupid for disabling debugging tools?
Now users can not do bugreports, cannot use adb for pushing files.
Cannot use adb in recoverymod for fixing a bad script, nothing.
ObihoernchenDE said:
Sourcecode?
Click to expand...
Click to collapse
I'll up it sometime next week. My bandwidth limit has almost reached for this month.
netchip said:
May I tell you that is a little bit stupid for disabling debugging tools?
Now users can not do bugreports, cannot use adb for pushing files.
Cannot use adb in recoverymod for fixing a bad script, nothing.
Click to expand...
Click to collapse
All final releases are supposed to have them disabled. Debugging is left on only for development purposes.
BTW, adb install/push/pull will still work. That isn't disable.
FrozenData said:
I'll up it sometime next week. My bandwidth limit has almost reached for this month.
All final releases are supposed to have them disabled. Debugging is left on only for development purposes.
BTW, adb install/push/pull will still work. That isn't disable.
Click to expand...
Click to collapse
Okay, but you can disable adb.
Debugging is also handy for people who make a own app, or ROM.
Ex. ROM chefs.
netchip said:
Okay, but you can disable adb.
Debugging is also handy for people who make a own app, or ROM.
Ex. ROM chefs.
Click to expand...
Click to collapse
Yes. But, disabling adb completely isn't a wise choice. In-case a user is facing problem with their ROM and data-wipe doesn't help, they will need to push in a clean ROM to flash from CWM, it is important to have adb then.
Developers should use another kernel. This is meant for end-users who likes their phones fast and stable.
Hi
I found a problem - i cannot use QtADB software ( hxxp: // qtadb.wordpress.com ) with his Kernel. Right now just SiyahKernel works great. Can you please take a look and see how to add the use of this software correctly under your system.
hxxp: // forum.xda-developers.com/showthread.php?t=683223 Some explanation of problem and how to fix it.
Thanks a lot for your help

[AOSP/Sammy-KERNEL] *21.05.12* Abyss ICS *4.0 Stable* (Sammy) + *2.0 Final 4* (AOSP)

I will present to you a good and stable kernel for ICS
The Kernel is made by the Dev angelom
The Kernel is for all Custom-ROMs like AOSP, AOKP, CM9, MIUI and Sammy-ROMs​
http://www.nonsolosmartphone.it/abyssics-kernel-t133.html
General Functions:
Voodoo-Louder
BLN-Funktion
Voltage Control-Compatiblity(SetCPU, too)
ABYSS Menu in Recovery
Click to expand...
Click to collapse
---The First Version is only for Sammy ROMs---
Changelog 4.0 Stable (vom 21.05.12):
Completely rebuilt
All functions of AbyssAosp kernel
Built from Samsung Sources Update 4
Revert to Linaro arm eabi toolchain 4.7.0
Re-enabled S5PV310 hotplug gb
Re-added ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend
Disabled rwsem XCHGADD algorithm
Disabled Joe's RCU for best stability
Disabled cgroup_timer_slack for best stability
XZ: changed compression values
USB: gadget: f_accessory: Add support for HID input devices
Changed configuration
Fixed vdd_levels interface
mmc: increase mmc read and write timeout
Fixed auto-brightness as stock (if you use S90abyss script, set min_gamma = 1)
mxt224_u1: Fix typo in touch sysfs interface
touchscreen; Update touch values according to power state
mm: adjust vm ratios
usb:gadget:android: avoid sending extra uevents
arch/arm/return_address.c: hide annoying warning
arm: mm: fixing 'offset.un' may be used uninitialized in this function
Click to expand...
Click to collapse
---Second Version for AOSP/CM9---
Changelog AOSP 2.0 Final 4 (vom 21.05.12):
Built from Sources Update 4
Revert to Linaro arm eabi toolchain 4.7.0
Re-enabled S5PV310 hotplug gb
Re-added ARM: vfp: only clear vfp state for current cpu in vfp_pm_suspend
Disabled rwsem XCHGADD algorithm
Disabled Joe's RCU for best stability
Disabled cgroup_timer_slack for best stability
Sod and slowdowns fixed
Fixed Front Camera
XZ: changed compression values
USB: gadget: f_accessory: Add support for HID input devices
Changed configuration
Fixed vdd_levels interface
mmc: increase mmc read and write timeout
Fixed auto-brightness as stock (if you use S90abyss script, set min_gamma = 1)
mxt224_u1: Fix typo in touch sysfs interface
touchscreen; Update touch values according to power state
mm: adjust vm ratios
usb:gadget:android: avoid sending extra uevents
arch/arm/return_address.c: hide annoying warning
arm: mm: fixing 'offset.un' may be used uninitialized in this function
Click to expand...
Click to collapse
---Special---Recovery Mode--**ABYSS Menu**:
=>Abyss ASV Table Menu
=>Install Abyss Script
=>Delete Abyss Script
=>Create Backup EFS
=>Clear init.d folder
=>Tweaks Service Menu
=>Advanced Abyss menu
=> Abyss ASV Bus Table Menu
Click to expand...
Click to collapse
Here is a table of the "ASV_TABLE" in the Abyss Menu script to set the CPU voltage:
-------------------------------------------------- --------------------------------------------------
There are 8 settings for CPU voltage, 0-7 to read from left to right. Under the following value can change the tension in the script:
Click to expand...
Click to collapse
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Installation instructions for the kernel itself:
Zip download
go to CWM Recovery
then install from sdcard and select the path where the zip is stored
Flashing ...
Enjoying
Click to expand...
Click to collapse
For damage, I assume no liability. Everyone must know what he's doing.​
Enjoy and have fun !​
---reserve for future use----
**----reserve----**
Amazing kernel, great performance with outstanding battery life.
I suggest installing Abyss Script from recovery which is set to Sio + Abyssplug = best combo on this rom.
Please post a link to the source code in the OP. Thanks.
jlevy73 said:
Please post a link to the source code in the OP. Thanks.
Click to expand...
Click to collapse
It is already. 4th line. It's not on github you have to download the whole thing from nonsolosmartphone forums.
Angelom has now merged Sammy and AOSP kernel images. The versions in OP are outdated. Version 1.0 AbyssKernel is now the latest, built on Linux 3.0.32.
hi
yes now is one kernel for aosp and samsung. like siyah kernel. great that is a thread for abyss kernel too in original android development.
jlevy73 said:
Please post a link to the source code in the OP. Thanks.
Click to expand...
Click to collapse
Link is given after my little instruction
Sent from my GT-I9100 using xda premium
and this thread is in "original android development" because...?
gokhanmoral said:
and this thread is in "original android development" because...?
Click to expand...
Click to collapse
oh sorry if it is in the wrong direction, thought it would be correct here?
where should this kernel be moved to?
so_ony said:
oh sorry if it is in the wrong direction, thought it would be correct here?
where should this kernel be moved to?
Click to expand...
Click to collapse
I am not sure if you are the right person to answer it.. afterall, you have started the thread but the development is carried out by someone else.
but unlike xxKernel (myfluxi's) which is also started by someone else, I cannot see any original part in this kernel. I find it quite right that xxKernel should be in this section whereas I think completely opposite for this one.
there is also another extremely important point that this kernel uses tarball for sources which makes me think that it should be moved to another section.
or maybe someone can tell me a point that I am missing about it's originality...
gokhanmoral said:
I am not sure if you are the right person to answer it.. afterall, you have started the thread but the development is carried out by someone else.
but unlike xxKernel (myfluxi's) which is also started by someone else, I cannot see any original part in this kernel. I find it quite right that xxKernel should be in this section whereas I think completely opposite for this one.
there is also another extremely important point that this kernel uses tarball for sources which makes me think that it should be moved to another section.
or maybe someone call tell me a point that I am missing about it's originality...
Click to expand...
Click to collapse
ok understand what you think!
who is responsible for deciding if it is correct here?
i can send him a message for looking for
just report your own thread (first post), the relevant mod will pick it up then (crachel etc)
Darkside Agent said:
just report your own thread (first post), the relevant mod will pick it up then (crachel etc)
Click to expand...
Click to collapse
tank you for this information !
Message is out
Fulgore. said:
Amazing kernel, great performance with outstanding battery life.
I suggest installing Abyss Script from recovery which is set to Sio + Abyssplug = best combo on this rom.
Click to expand...
Click to collapse
Exactly...The Best for Samsung rom....I tried ALL...
Amazing battery life and smooth.
@so_ony
Sorry, but you have contacted me before opening this thred?
Please some moderator to close, thanks
angelom said:
@so_ony
Sorry, but you have contacted me before opening this thred?
Please some moderator to close, thanks
Click to expand...
Click to collapse
Are you author of this kernel? If yes why you don't open a thread? Lot of people using your kernel, me inclusiv.
sachs said:
Exactly...The Best for Samsung rom....I tried ALL...
Amazing battery life and smooth.
Click to expand...
Click to collapse
How to install Abyss script?
078gregory said:
Are you author of this kernel? If yes why you don't open a thread? Lot of people using your kernel, me inclusiv.
Click to expand...
Click to collapse
it doesnt seem like he wants it to be shared on XDA - not everyone does
078gregory said:
Are you author of this kernel? If yes why you don't open a thread? Lot of people using your kernel, me inclusiv.
Click to expand...
Click to collapse
For sure he's the unique author, Angelom.
Take a look at http://forum.xda-developers.com/showthread.php?t=1526852
Respect his choice and close this thread.
BTW, cheers Angelom and keep up your good work.

[KERNEL][MULTIBOOT GB/ICS/JB][TWRP][CWM][PLAY] Turbo Kernel v3.1.1

Turbo Kernel Original Thread
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Gingerbread support is experimental. Whatever the bug is, don't say it - I already know. I will fix them all when I can.​
Full feature list:
Early roots in KRsH 2.6.32.9/4.1.C.0.7 kernel. Has changed drastically since first release; additional changes from CosmicDan, FXP and Irii. Stock-based kernel with manual changes/updates for AOSP and JB support - reported my many to have better batterey life and reliability than FXP-based kernels. Also built with Linaro toolchain and uses some Linaro-optimized memory functions.
Supports GB, ICS and JB ROM's. Configurable via the "Slot Mode" in the specific slot for the Boot Menu (see next point). AOSP-GB ROM's (e.g. CM7) are not supported.
Turbo Boot Menu. Entered by pressing vol-down (acts as a pre-recovery menu). Supports four slots for installing ROM's into - Slots 2-4 are stored on ext2 "image" files inside the /sdcard/turbo/ folder. Powered by the brilliant Aroma Installer GUI by Amarullz - any slot can be changed to your default boot, and each slot's icon and text can be customized
Tweaks and Mods selection for each slot:
- TSDX - CosmicDan's set-and-forget sd-ext script. Ability to share apps between each slot. Can also be uninstalled if desired (for one slot or for all - fully wizard-driven install/uninstall interface).
- Restore random entropy device - By default, Turbo kernel replaces the /dev/random entropy device with urandom. No need for a seeder - in fact an entropy seeder will do absolutely nothing in this kernel, just sit there feeding entropy to the same device. This option can be toggled to set the default device back to random.
- Deasec v2 - When enabled, this slot will decrypt "asec" apps on startup. Helps a lot with App2SD/Link2SD users. Original concept by Giovanni Aneloni, rewritten by CosmicDan.
- Change USB to ### - This option can toggle this slot to force UMS (Mass Storage) or MTP (Media Transfer) mode for USB connections. Please note that some ROM's, e.g. latest CM10 and KXP-JB, have completely disabled UMS in the ROM. Nothing I can do about that.
- Disable ALS - Enable or Disable the ambient light sensor for this ROM. If a ROM has a "disable ALS tweak" built it, this option will not do anything.
- Logging Mode - Change the Logging mode from the default to either Disabled or Extended. Disabled can increase performance (but logcat will be unavailable), extended can help with developers. See the option itself in tweak menu for more details.
Repair Functions. Inside the Boot Menu > Settings and Tools, the repair function will attempt to fix errors on SDCard and Slot2-4 images, and fix permissions. Default full repair and Advanced selection modes possible.
TeamWin Recovery Project. Can also be switched to/from CWM-Recovery in the Boot Menu > Settings and Tools menu. TWRP is recommended though as it's much more advanced and user-friendly. Contains additional fixes thanks to championswimmer, a theme and UI design by myself, plus the "Factory Reset" option will *not* touch the sd-ext partition.
Increased RAM capacity (select devices). zeus and phonex (Play/Neo L) have 379MB of RAM total (on 480p). 720p recording is removed since it is buggy in Jellybean (gives a good chunk of more RAM), and also some of CosmicDan's kernel tuning to squeeze a bit more (smaller kernel footprint = more RAM for Android). Do not ask for a 720p recording version, it will never happen - use a different kernel if you want it. - use 720p kernel at your own risk
Expanded /system and /data partition. 400 MB of space on system (because JB ROM is getting bigger and bigger. :fingers-crossed: )and 500MB+ of space on userdata.
Automatic wifi-module. There is no ZIP install required for Wifi module, the kernel init can detect automatically if the wifi module(s) need to be installed. They are located on the RAMDisk (at {root}/modules) and the kernel simply makes a symlink to the .ko files on boot if it needs to (linking is better than copying them).
Snappy zRAM compression. I personally don't use zRAM at all because it slows things down (still ain't snappy enough, heh), but "Snappy" zRAM compression by Google is apparently a lot faster than the traditional LZO compression and only a tiny bit worse compression ratio.
CPU governors - Intellidemand (default, has my own enhancements for our single-core Snapdragon CPU's - including CPU ramping on touch events ported from "Project Butter"), Lagfree, SmartAssV2, Performance and OnDemand. No, I will not add more governors. More governors = more RAM used by kernel = less RAM for Android.
I/O schedulers - SIO (default), deadline and noop. No, I will not add more schedulers. More schedulers = more RAM used by kernel = less RAM for Android.
CIFS, TUN/TAP and FUSE support built-in. No modules required.
...did I miss anything? Don't think so.
FAQ/Bugs:
Q) When I select "Reboot > Recovery" in my ROM, it boots recovery but there are strange errors!
A) Yes, this will boot recovery but it won't know which slot to use. I can't fix this sorry, so simply don't use it (just use Vol-Down on normal reboot).
Q) My device keeps going into the Boot Menu, even though I never pressed the key to enter!
A) This is a bootloader thing and is rare, to fix it just enter Recovery (for any slot) and select reboot from there.
Q) Camera does not work in my Stock GB or Stock ICS based ROM!
A) Known issue. I *may* be able to fix camera in Stock ICS ROM's later, but Gingerbread will probably never happen.
Q) I get an FC when trying to record video!
A) On 480p version make sure you select 480p for the quality in camcorder settings. Recording only works on ICS-AOSP and JB ROM's with no 720p.
Q) My ROM in slot 2/3/4 is bootlooping, or I'm getting FC's all the time!
A) Your microSD has become corrupted, probably due to a battery pull or an unclean shutdown - and so the Slot images have also been corrupted. Chose the Tools > Repair function in Boot Menu to try and solve it. If not, I'm afraid you'll have to *delete* that slot (a format will not do) and re-create the images. (Note to ROM dev's - best to use Slot 1 for testing/working, since this is the safe slot for battery pulls/adb reboot command).
Q) I have a problem with my ROM - I flashed Turbo Kernel and restored my backup with Nandroid.
A) This is not possible. If you have a Nandroid/TWRP backup from another ROM, it cannot be restored with this kernel. This is because of the custom partitions. The same goes for restoring Turbo Nandroid backups in another kernel (but restoring TWRP backups in another kernel will work fine - as long as userdata is not too big for the new kernel).
Important info on data safety
*Never* unmount/remove SDCard or pull the battery while system is using Slot 2/3/4. But mounting USB Storage or MTP to PC is 100% fine. Dev's - never use "adb reboot" command, instead use "adb shell reboot" for the safe reboot.
Do NOT install a ROM ZIP in Slot 2/3/4 until it is marked "multiboot-aware" by the creator. ROM's that are not Multiboot-aware will format and install to your internal (Slot 1), no matter *what* you do. There are two ways to work-around this:
1) [Easy, temporary] Basic idea is to move the ROM from Slot 1 (Internal) to the new Slot. When you first enter Slot 2/3/4, the wizard to set up the slot begins. You have the option to either create blank system and useredata images, or to copy (clone) it from Slot 1 (Internal). So basically, just install the ROM (e.g. CM9 or CM10) in Slot 1, then you can setup Slot 2/3/4 and chose "Copy from Internal" for system (and userdata if you like). Make sure the new Slot works OK, then you can erase and reinstall whatever on Slot 1.
2) [Detailed, permanent, ROM makers do this please!] Change the updater-script to use generic mount commands. I encourage all ROM makers to do this, it will still work with other kernels and recoveries fine. For details on the specific script changes needed, refer to this post.
Make sure your SDCard is free of errors. If you encounter *any* issues with *any* ROM, do a full Repair in the "Settings and Tools" menu before reporting any issues.
For a better detailed, newbie-friendly guide on Multiboot, or for more help, refer to this thread guide. Big thanks to RC fma965 for the guide!
Click to expand...
Click to collapse
Downloads/Installation
Please Nandroid backup before flashing. I am not responsible for any permanent damage or data loss. I try my best not to wreck your stuff though
This kernel uses a custom partition layout. /system size is 400MB and /data size is over 500MB. Flashing this kernel will DESTROY all your userdata and ROM, so backup first! You have been warned!
GSM ONLY - You must have a vendor-unlocked partition layout - this only needs to be done once, flash one of this full FTF first: R800i_4.0.2.A.0.62_phoenixvendor.ftf or R800i-4.0.2.A.0.79.ftf. You can find on this thread. -big thanks to smokerman and fma965.
CDMA ONLY - No need to flash any FTF, it seems R800x already has an unlocked vendor partition.
Download and flash the kernel - Dropbox folder for Turbo Kernel
First-time users - Enter Multiboot Menu (Vol-Down key) and go to Internal > Recovery, then format system, data and cache before doing anything else. Very important.
Do not install Google Apps straight after ROM install. You *must* boot the ROM at least once before installing Gapps package!
If you cannot enter the Boot Menu or Recovery after flashing, you need to flash the FTF first.
3.1.1 Source
Credits:
- CosmicDan - Obviously
- wedgess
- Kamarush
- DoomLord
- FXP
and other developers who keep Xperia Play still alive
Changelog
Code:
v3.1.1
----
- Expanded system partition (400 Mb)
- Bring back 720p video recording (Use it at your own risk)
- Minor bug fix on googlenow symlink
- default.prop fixed
v3.1
----
- New: Three more slot customization entries (MIUI, Stock GB and Stock ICS)
- New: Tweaks and Mods menu - "Logging Mode" (Default is 'Standard').
The "extended" mode is useful for developers to ask their users to report bugs easier.
- Fixed: UMS on Sock GB (always enabled, no sdcard unmount i.e. "Dual-Auto-Mount")
- Fixed: Various TSDX bugs
- Improved: GB support
- Improved: Shell "reboot" command adapted for better filesystem safety
- Improved: More misc. optimizations and cleanups to ramdisk
What the difference of this and the original version that Dan took down? This is directly copied from the thread he locked...
RoboticBuddy said:
What the difference of this and the original version that Dan took down? This is directly copied from the thread he locked...
Click to expand...
Click to collapse
for now the features are still the same from the original turbo kernel 3.1 apart from the minor change on the changelog. on the future I'd like to optimize it.
itazchu said:
for now the features are still the same from the original turbo kernel 3.1 apart from the minor change on the changelog. on the future I'd like to optimize it.
Click to expand...
Click to collapse
Well done man, keep up the good work. It's always nice to see kernel development is still alive for the Play.
itazchu said:
for now the features are still the same from the original turbo kernel 3.1 apart from the minor change on the changelog. on the future I'd like to optimize it.
Click to expand...
Click to collapse
Alright, sorry for the misunderstanding. Still good to see people still developing.
Does it work on Xperia Neo L?
RoboticBuddy said:
Alright, sorry for the misunderstanding. Still good to see people still developing.
Click to expand...
Click to collapse
it's alright. I'm still learning and perhaps I can't make any big differences with the original turbo kernel but I'll try messing around with this great kernel.
krchi said:
Does it work on Xperia Neo L?
Click to expand...
Click to collapse
I can compile for Xperia Neo L if you want.
bro @itazchu This can be used in neo l, or if not, can you make this work for neo l? thx
Are you planning to fix bugs for GB?
Can you convert it to .ftf? :cyclops:
Thanks... :good:
itazchu said:
it's alright. I'm still learning and perhaps I can't make any big differences with the original turbo kernel but I'll try messing around with this great kernel.
I can compile for Xperia Neo L if you want.
Click to expand...
Click to collapse
yes please
Jecmenn said:
Are you planning to fix bugs for GB?
Click to expand...
Click to collapse
I don't think so. it's beyond my knowledge. :crying:
Alvin Satrio Wibowo said:
bro @itazchu This can be used in neo l, or if not, can you make this work for neo l? thx
Click to expand...
Click to collapse
krchi said:
yes please
Click to expand...
Click to collapse
this is for Xperia Neo L. it's untested though because I don't have the device so use it at your own risk. Link.
itazchu said:
I don't think so. it's beyond my knowledge. :crying:
this is for Xperia Neo L. it's untested though because I don't have the device so use it at your own risk. Link.
Click to expand...
Click to collapse
ty testing now and also btw since this is a 480 kernel that means no 720p recording but can i watch youtube in hd? cause in past with gb roms it didnt work
krchi said:
ty testing now and also btw since this is a 480 kernel that means no 720p recording but can i watch youtube in hd? cause in past with gb roms it didnt work
Click to expand...
Click to collapse
and surely it doesnt work now..kernel is the same,only a little bigger.:good:
for GB roms flash a custom kernel like lupus gb or doomlord..its way faster and gaming is a lot better.
itazchu said:
this is for Xperia Neo L. it's untested though because I don't have the device so use it at your own risk. Link.
Click to expand...
Click to collapse
grab turbo kernel 3.1 for neol and make the same as for play..just make a little bigger,surely it will work fine.
smokerman said:
and surely it doesnt work now..kernel is the same,only a little bigger.:good:
for GB roms flash a custom kernel like lupus gb or doomlord..its way faster and gaming is a lot better.
grab turbo kernel 3.1 for neol and make the same as for play..just make a little bigger,surely it will work fine.
Click to expand...
Click to collapse
So, men you're saying that the lupus o doom kernel are better for gaming?
Im looking for a jb rom and kernel that can handle MarioKartDS whitout lags.
So do you think this kernel can do that? Or you can give me a idea of which combination i can use?
Sorry my english i hope you understand...
janolucero said:
So, men you're saying that the lupus o doom kernel are better for gaming?
Im looking for a jb rom and kernel that can handle MarioKartDS whitout lags.
So do you think this kernel can do that? Or you can give me a idea of which combination i can use?
Sorry my english i hope you understand...
Click to expand...
Click to collapse
a GB kernel is better for gaming on GB roms..if you want a JB rom then this is the right kernel for you..although is multiboot,is still the best kernel for play on any JB rom.(lupus v8 480p is also good) but this has more options,,its more complete.
en espanol vete a mi blog(clica en la imagen que ves por bajo de mis comentarios).
maybe i am just blind, but where are the sources with the changes made??
A bug in kernel....
In Default.prop is written appliance model zeusc ... You're interfering with apps games ... Has not detect nor gamespad the device ... Switch Zeusc to R800i or delete these lines should work ... but this standard has to be done directly in the kernel since changing the ROM does not work ... After reboot back to normal. thank you
Sent from my R800i (Xperia Play) using Racing Speed JB Rom
zeusc is the cdma xperia play. Was it the same in cosmic dan's build prop too?

[UNSUPPORTED] [KERNEL] ON-OR Kernel for STOCK H7 (GCC Linaro 4.9.3) [PLK-L01]

Development and support ceased.
For further explaination, see this post.
Proudly announcing the first custom kernel for the Huawei Honor 7 PLK-L01!
ON-OR H7 Kernel
(yeah, terrible name!)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
​
Features:
CPU Governor
bluactive - courtesy eng.stk
TCP Congestion Algorithms
enabled westwood, bic, hybla, vegas, veno, yeah, illinois
I/O Schedulers
added bfq and fiops
Built for use with STOCK ROMS - it's all we have right now
Built with gcc-linaro-4.9-2014.11-x86_64_aarch64-linux-gnu
Instructions:
you need an unlocked bootloader!
you need TWRP recovery!
you need to be running B140*
you need to know how to get back to a stock boot image, should you need to! - stock B140 boot attached.
if you don't know what all that means, find out, there's plenty of threads on it!
download UPDATE-ON-OR-Kernel.zip
install via TWRP
reboot
Kernel features can be enabled by apps such as Kernel Adiutor (ROOT)
If you want to enable settings on boot, you'll have to add the app to the protected apps and startup manager in system setting.
Notes:
please do not post elsewhere, link to this post.
i did not break your device, i never touched it!
this is my first publicly released kernel (i built some sony ones back in 2012 for my own usage) - i am not a dev, i am a linux admin by trade
a number of other governors were tried, none would compile "out of the box"
* tested on B140 only by me - if you want to test it on another system version just make sure you have a stock boot.img and know how to get back via fastboot!
edit: added attachment - stock B170 boot as someone will probably need it.
edit: the install method is not what i wanted. it's a crude hack, just like our twrp! it turns out the twrp version we are using is for the GRACE handset, so i've had to fudge the installer script to verify that device name. Please do not run this on a GRACE, it will break it!
GNU GPL Compliance:
Original Source
http://download-c.huawei.com/downlo...oadId=62086&version=204465&siteCode=worldwide
My GIT
https://github.com/sminki/android_kernel_honor7_plk-l01/tree/LP1/
enjoy.. :fingers-crossed:
All stock recovery and boot images for PLK-L01 can be found here: http://forum.xda-developers.com/honor-7/general/stock-plk-l01-boot-recovery-images-t3290348
Added the [EXPERIMENTAL] tag - woke this morning and phone was in unwake-able sleep! - seems to be related to bluactive, so avoid using that governor!
Development ceased.
For those who are not aware of my troubles over the last month, I had to get a warranty replacement phone. Since receiving it, I have been completely let down by huawei who are unable to supply a bootloader unlock code by any means, or for that matter any genuine customer service. Due to this I can no longer continue to work on this device
My humble apologies to all you on this sub-forum. I was really enjoying learning and posting stuff for you guys to mess around with, although ultimately it's the manufacturer that has really let us down.
Great, good job !!! First etape for a custom ROM without the fu...ing EMUI
I can't test because I'm in B170
JRC said:
I can't test because I'm in B170
Click to expand...
Click to collapse
technically it's the same kernel version - 3.10.61
i need a volunteer with 170 who can load the zip, and if it fails to boot, reflash the stock B170 (both in the first post) - preferably someone who knows their way around fastboot and isn't going to panic
Great works!!
Can you post screenshot of dailyuse deepsleep with bluactive governor?
Seems that in stock kernel freq 400 mhz is slow to go on sleep.
Kernel set default cpu freq like mpdecision on qualcomm or there is a hotplug?
last question with kernel setting apk can you see core to 2200 mhz?
Sorry for question list.
Many thanks.
Tried without luck.
It says: unsupported device
Usin' the chinese twrp linked somewhere on xda honor7.
and my fw is b170
Sent from my PLK-L01 using XDA Premium HD app
sminki said:
technically it's the same kernel version - 3.10.61
i need a volunteer with 170 who can load the zip, and if it fails to boot, reflash the stock B170 (both in the first post) - preferably someone who knows their way around fastboot and isn't going to panic
Click to expand...
Click to collapse
On my H7 B170 when I install this kernel TWRP says "unsupported device"
Hi sminki, just installed, no problèm,gona dl K adiutor to explore a little
Thank you !
Thanks a lot for your hard work !
c0llal0 said:
Tried without luck.
It says: unsupported device
Usin' the chinese twrp linked somewhere on xda honor7.
and my fw is b170
Click to expand...
Click to collapse
JRC said:
On my H7 B170 when I install this kernel TWRP says "unsupported device"
Click to expand...
Click to collapse
OK, thanks.
One more favour then
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device
~ # getprop ro.build.product
must be from within TWRP
thank you
I've make a thread on FrAndroid (here : http://forum.frandroid.com/topic/236632-kernellpstock-on-or-kernel/?p=3545366) in order that the community can improve their Honor 7.
If you want, i can delete it.
First Step to an Custom Rom. Thanks looks great.
sminki said:
OK, thanks.
One more favour then
can one of you boot into TWRP, connect USB then from your PC do this..
Code:
adb shell
in the shell, get the results from these two commands:
Code:
~ # getprop ro.product.device
~ # getprop ro.build.product
must be from within TWRP
thank you
Click to expand...
Click to collapse
Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.
I think what we really need is a proper recovery, get everyone standard instead of trying to work around inconsistent hacks!
sminki said:
Possibly answering my own question.. I pulled apart the Chinese TWRP from piskr's thread.
Code:
ro.product.device=gem703l
ro.build.product=gem703l
So, this recovery was built from the MediaPad X2 TWRP
Would be nice if someone can confirm this is what you're using.
I think what we really need is a proper recovery, get everyone standard instead of trying work work around inconsistent hacks!
Click to expand...
Click to collapse
Hi , i tried but device not found in recovery mode
here is the twrp i use, no bootloop
https://www.dropbox.com/s/n50okepdvljglk2/TWRP_Honor7_EN.img?dl=1%22
samcro94 said:
Hi , i tried but device not found in recovery mode
here is the twrp i use, no bootloop
https://www.dropbox.com/s/n50okepdvljglk2/TWRP_Honor7_EN.img?dl=1%22
Click to expand...
Click to collapse
That's the one I've got, and yours flashed ok, right?
sminki said:
That's the one I've got, and yours flashed ok, right?
Click to expand...
Click to collapse
yes flashed ok
sminki said:
That's the one I've got, and yours flashed ok, right?
Click to expand...
Click to collapse
Hi
Battery drain problèm,tried to flash the stock kernel, ''failed',' any solution ?
samcro94 said:
Hi
Battery drain problèm,tried to flash the stock kernel, ''failed',' any solution ?
Click to expand...
Click to collapse
fastboot flash boot boot.img
sminki said:
fastboot flash boot boot.img
Click to expand...
Click to collapse
Ok thank you , will try tomorow
samcro94 said:
Ok thank you , will try tomorow
Click to expand...
Click to collapse
sorry, I wasn't really clear.
download the STOCK_B140_BOOT.zip from the first post. extract it, plug the phone in
then run:
Code:
fastboot flash boot boot_140.img
fastboot reboot
as for the battery drain, what are the high users of battery?
mine has been mostly idle (using the G4 as my main), but it's still at 45% after 2 days 11 hrs

[KERNEL/BOOT]+[DRMFIX][MAGISK]Sony XZ1 [G8341][G8342_Dual]-11-MARCH-2019

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I am sharing my kernel/boot.img, which is build from Sony Open Source/Qualcomm/ and android source (Very close to Stock KERNEL). Designed to keep balance security/ with high Performance and battery life.​
Code:
###Disclaimer###
I am not responsible for any damage, broken or boot looping.
Please read the instructions and notes before flashing anything. Don't ask me if you don't read the instructions.​Please respect and try to help each other. You may face sometimes that I cannot answer your questions/or answer your questions a bit later. I am busy with my work and don't have enough time to read and answer all your questions at the same time.
DONATE ME HERE
DONATE-HERE
##############################
Requirements-
##############################
- A working driver for your device.
USB drivers for Xperia devices
- Unlock bootloader
- A Working TWRP-with latest patch security
- YOUR firmware must match my kernel version. I used to update the kernel with latest firmware.
- Backup your stuff for future
- YOU NEED a refresh stock ROM (means you have to wipe EVERYTHING). Use flashtool to flash the latest firmware. (Remember to check Wipe USERDATA in flashtool). It seems not necessary if you have already flashed my kernel and have a working camera
- USE LATEST FLASHTOOL VERSION TO FLASH THE LATEST FIRMWARE
- (DOWNLOAD FROM HERE:- LATEST FLASHTOOL)
##############################
Features 11/MARCH/2019
##############################
- Based on latest kernel source VERSION = 4, PATCHLEVEL = 4, SUBLEVEL = 148 (47.2.A.8.24) MARCH, 2019
- Up to date with the September security update—MARCH, 2019
- Hide verifiedbootstate from /proc/cmdline in order to fix the failed SafetyNet CTS check(It can still fail through other means)-GOOGLE PAY SHOULD WORK
- Remove verifiedbootstate flag from /proc/cmdline - Disable CRC check
- Support wireguard VPN protocol
- dm-verity removed
- Sepolicy is patched for latest Oreo (deodex ROMs)
- Scheduler optimize/support for heterogeneous multi-core. Battery efficiency
- Energy Aware Scheduling (EAS) feature is enabled/optimize energy consumption for advanced multicore SoCs
- Update and add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping
- Enable latest energy aware scheduling patches
- Multi-core scheduler enable/optimized
- A lot subsystems converted to use power efficient work-queues
- CAF improvements and optimized
- Enable latest energy aware scheduling patches
- Enable work-queue power-efficient mode by default
- Several other patches to improve the speed and battery usage
- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPU's or idling them,
- Tweaked to predict the best time to save power on the CPU without affecting performance
- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs.[/SIZE]
##############################
Instructions-
##############################
- Reboot into bootloader mode and following the following steps
Code:
- adb devices
- adb reboot bootloader
- fastboot devices
- fastboot flash boot boot.img (flash my kernel/boot.img)
- fastboot reboot
##############################
Downloads
##############################
XPERIA-XZ1 (G8341)+XPERIA XZ1 Dual-(G8342)-LATEST-47.2.A.8.24-(11/MARCH/2019)
##############################
XPERIA XZ1 (G8341)+(G8342)-ALL-BOOT IMAGES-[KERNEL][DRM-PATCHING]-
##############################
Source/GitHub
##############################
Kernel Source
-47.1.A.12.xxx
https://github.com/Nexusma/msm-4.4
https://github.com/toffyjan/android_kernel_Sony_lilac_poplar
https://github.com/sonyxperiadev/device-sony-lilac
IF YOU LIKE MY WORK AND WANT ME TO CONTINUE, THEN DON'T FORGET TO BUY ME COFFEE
DONATE ME HERE
DONATE-HERE
Special Thanks To:
If you can, donate and respect all the devs
@Chainfire for his great work to achieve root SuperSU
@Sultanxda for his great work in android kernel and SafetyNet CTS check
@modpunk for TWRP-recovery 3.2.1-0 and drm-fix THANK YOU
@Androxyde for Flashtool. merci beaucoup pour tout
@munjeni for his great knowledge and tools for extracting SIN images
@sToRm// for his effort on DRM work, THANKS
@SuperR. for SuperR's Kitchen , THANK YOU
@M-Rom Thanks for sharing drm-fix and patch
@serajr Thanks for DRM Fix Workaround and Sony RIC disabler @tobias.waldvogel thanks for older drmfix and his great effort.
THANK YOU SONY FOR SUPPORTING DEVs AND ALLOWING US TO UNLOCK THE BOOTLOADER
ALSO THANKS FOR EVERYONE ELSE EVEN I FORGET TO MENTION THEIR NAMES.
Thanks to XDA And everyone else who share their knowledge and works among us in xda.​
Yeaaaah!! Now time to custom stock rom! [emoji7]
Wysłane z mojego G8342 przy użyciu Tapatalka
janjan said:
-
Click to expand...
Click to collapse
Finally! Will download and try your kernel tomorrow!
Is it needed to flash SuperSU, or is this kernel pre-rooted through Magisk?
Thank You! Amazing Work!
All works fine on my G8341!
xFirefly93 said:
Finally! Will download and try your kernel tomorrow!
Is it needed to flash SuperSU, or is this kernel pre-rooted through Magisk?
Click to expand...
Click to collapse
I had to patch the boot.img manually with magisk and then flash with it via TWRP.
Now Magisk SafetyNet and Xposed are working like a charm!
Gnome1911 said:
Thank You! Amazing Work!
All works fine on my G8341!
I had to patch the boot.img manually with magisk and then flash with it via TWRP.
Now Magisk SafetyNet and Xposed are working like a charm!
Click to expand...
Click to collapse
How-to do this? This is my first Android device after being away from the OS for 1,5-2 years, so I am basically a newbie from scratch on the more "advanced" stuff.. ?
Want to help me out?
xFirefly93 said:
How-to do this? This is my first Android device after being away from the OS for 1,5-2 years, so I am basically a newbie from scratch on the more "advanced" stuff..
Want to help me out?
Click to expand...
Click to collapse
Sure
Your Bootloader is unlocked and TWRP is installed?
Then just download the the Zip from the first post for your device and extract the boot.img
Download and install Magisk Manager.
When you now open open Magisk Manager on your Smartphone, you will be asked to install the latest Magisk.zip. Now press patch boot image and navigate to the extracted boot.img.
When the progress is finished boot into TWRP press install, select install img (bottom of the screen), navigate to the patched boot.img (internal memory/Magisk Manager) and press install.
After installation you can reboot and now Magisk should be working
Thank you, great work. Tried it and booting and root with magisk is fine.
Except camera doesn't take a picture. It opens buth freezes when i want to take the picture
Gnome1911 said:
Sure
Your Bootloader is unlocked and TWRP is installed?
Then just download the the Zip from the first post for your device and extract the boot.img
Download and install Magisk Manager.
When you now open open Magisk Manager on your Smartphone, you will be asked to install the latest Magisk.zip. Now press patch boot image and navigate to the extracted boot.img.
When the progress is finished boot into TWRP press install, select install img (bottom of the screen), navigate to the patched boot.img (internal memory/Magisk Manager) and press install.
After installation you can reboot and now Magisk should be working
Click to expand...
Click to collapse
Ramdisk is already patched. No need to patch it again. Flash the zip from first thread and then flash the latest magisk. Done
Xposed is also working..no issue (unofficial build)
Carlovn said:
Thank you, great work. Tried it and booting and root with magisk is fine.
Except camera doesn't take a picture. It opens buth freezes when i want to take the picture
Click to expand...
Click to collapse
It shouldn't effect your camera. Did you flash anything else maybe?
Don't tested the Cam before...
Same here. Cam freezes on focus
---------- Post added at 09:22 AM ---------- Previous post was at 09:20 AM ----------
janjan said:
Ramdisk is already patched. No need to patch it again. Flash the zip from first thread and then flash the latest magisk. Done
Xposed is also working..no issue (unofficial build)
Click to expand...
Click to collapse
I tried to flash Magisk.zip and get an error.
So i tried it as i wrote before and this worked
janjan said:
It shouldn't effect your camera. Did you flash anything else maybe?
Click to expand...
Click to collapse
I flashed part-1 of the previous drm fix. That could be the problem.
When i get home I will flash .34 to start over and check if this fixes the problem
Or does anybody know how to change back to the original secd
Does this kernel work with the DRM fix? What I mean is, can we flash the kernel, then flash the DRM fix and flash Magisk so we can have both the DRM fix for the camera and Magisk for root?
N1ghtr08d said:
Does this kernel work with the DRM fix? What I mean is, can we flash the kernel, then flash the DRM fix and flash Magisk so we can have both the DRM fix for the camera and Magisk for root?
Click to expand...
Click to collapse
The whole meaning for this is that you don't need the DRM fix with this kernel. So flashing this kernel and magisk you shuld be good to go.
Edit: Camera doesn't seem te work. I misread in the title that it said DRM fix but is dm fix...
I'm going the new firmware now then this kernel and Magisk to test.
Fingers crossed ?
---------- Post added at 11:42 AM ---------- Previous post was at 10:47 AM ----------
Ok so I upgraded the OS to 12.34 then reflashed TWRP latest from modpunk then rebooted to recovery and flashed the kernel and Magisk and I got a bootloop so....
I reflashed again with newflasher, TWRP, reboot to recovery, flash the kernel then this time I rebooted to system and again back into recovery then I flashed Magisk and it all booted fine, but here's the problem.....
The camera doesn't work. It has no DRM fix so all the pictures are that horrible green square.
Should I flash the DRM fix separately or what?
---------- Post added at 11:52 AM ---------- Previous post was at 11:42 AM ----------
So I decided to boot into recovery again and flash 2 of the 3 DRM fix files (the DRM fix and Ricoff) and they flashed fine, then I rebooted and tested the camera and it just hangs even I try to take a picture.
Does anybody have any ideas what we can do to have the DRM fix working alongside Magisk?
I am going to upload new build. Optimized more for battery improvement, remove some boosting to reduce error, bootloop, re-patched the ramdisk proper to minimize bootloop, and other tweaks.
janjan said:
I am going to upload new build. Optimized more for battery improvement, remove some boosting to reduce error, bootloop, re-patched the ramdisk proper to minimize bootloop.
Click to expand...
Click to collapse
Thank you! Is there any hope for a working camera?
Carlovn said:
Thank you! Is there any hope for a working camera?
Click to expand...
Click to collapse
Unfortunately I haven't own the device. I have only XZ1 compact. I have no issue with camera. But I will take a look when I have time.
janjan said:
Unfortunately I haven't own the device. I have only XZ1 compact. I have no issue with camera. But I will take a look when I have time.
Click to expand...
Click to collapse
Yes, please do. We really appreciate your work but we desperately want Magisk and a working camera
Thank you very much, @janjan for your effort.
There seems to be a difference in the DRM handling between XZ1 and XZ1Compact, resulting in a non-working camera on the XZ1 even if it works on the Compact.
It is really nice of you to compile this kernel for our device, but unfortunatly it doesn´t really work all the way
pergoteborg said:
Thank you very much, @janjan for your effort.
There seems to be a difference in the DRM handling between XZ1 and XZ1Compact, resulting in a non-working camera on the XZ1 even if it works on the Compact.
It is really nice of you to compile this kernel for our device, but unfortunatly it doesn´t really work all the way
Click to expand...
Click to collapse
I just found out some issue with G8342-Dual. It seems G8341 and G8342 are used two different deconfig for building Kernel. I am going to fix it now. I will try to look at DRM soon.
So don't flash G8342 boot.img yet. Going to remove the link.

Categories

Resources