[KERNEL][N] Clarity [Otus][Update 13 August] - E 2015 Original Android Development

DISCLAIMER
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.
==================================================
Please read completely this thread before using for minimize FAQ
If you coming from other custom kernel, please restore to cm kernel or dirty flash your rom before flash this!
So, i decide starting this project again because some ppl PM'ed me to release this Kernel again for Otus.
keep support me by reporting Problem (Bugs) to keep this project alive.
NB: i don't have this devices so if there some bugs sure need a time to fix it.
Requirement
TWRP
LaOS 14.1 or AOSP 7 .x.x
Features
Latest Source LineageOS
Compiled with Uber 4.9 (Stable and Reliable)
Wake Gesture (DT2W) disabled by default (Testing!)
Wakelock control from Francisco Franco
Fsync control from Francisco Franco
Replace MPdecision with AutoSMP Hotplug
Zram backport from Kernel 3.14
Power Efficient Workqueue
Sio, Zen Scheduler
support init.d ! (Make sure your rom has installed busybox under side /system/xbin)
Anykernel Flashable (Compatible with any rom ramdisk).
Change Logs
Please check at my github
NOTE
Please do not make to many request, i just make this kernel lightweight with some usefull features.
BUGS ?
You tell me with proper logs (Last_Kmsg or Dmesg)
Credits
Google
CyanogenMod
Motorola
Squid2
Francisco Franco
Christopher83
Savoca
Arter97
Faux123
Hurtsky
Download
https://www.androidfilehost.com/?w=files&flid=195606
​
XDA:DevDB Information
Kernel Moto E 3G 2015, Kernel for the Moto E 2015
Contributors
rainforce279
Source Code: https://github.com/ryan-andri/kernel_motorola_motoe/tree/otus
Kernel Special Features:[/B
Version Information
Status: Testing
Created 2017-07-03
Last Updated 2017-08-13

Does dt2w work properly?
It doesn't seem to work on my device running aospextended 4.3
Also safetynet doesn't seem to pass.
BTW thank you for the kernel!

Dev_Mashru said:
Does dt2w work properly?
It doesn't seem to work on my device running aospextended 4.3
Also safetynet doesn't seem to pass.
BTW thank you for the kernel!
Click to expand...
Click to collapse
thanks for reported, i'll asking to squid2 about touch driver otus,
maybe i miss something to fix dt2w.
strange touch driver is same with condor, and dt2w in condor working fine, but not luck in otus.
about safety net patches its still testing from sultanxda, wait him until release other patch for that.

For everyone who has installed this kernel, just to try to disable "ambient display or doze" please,
also please uninstall any app that control doze (backup first).
its for workaround to dt2w working for your otus,
please report the result.
thanks

rainforce279 said:
For everyone who has installed this kernel, just to try to disable "ambient display or doze" please,
also please uninstall any app that control doze (backup first).
its for workaround to dt2w working for your otus,
please report the result.
thanks
Click to expand...
Click to collapse
I disabled ambient display and then reported.

Thanks for the Kernel

Great work sir thanks for the kernel

Just info
after searching why dt2w never work on otus or work but bit buggy,
so i guess this line in last_kmesg be a reason why
[ 16.988308,0] init.mmi.touch.sh: Firmware file for upgrade synaptics-boe-s2316-15020301-175833-otus.tdat
[ 16.989372,0] init.mmi.touch.sh: Touch firmware is up to date
[ 16.990944,1] init: Service 'mmi-touch-sh' (pid 264) exited with status 0
Click to expand...
Click to collapse
you can see full last_kmesg in here
this log from someone in my old thread otus.
then i compare last_kmesg from condor but thats line not found
as i know condor and otus same hardware but little different,
also condor and otus using same touch driver "snaptics_dsx_i2c".
so far i'll searching again and if i get them, sure your device will get Gesture wake too like condor.
if you know this problem or know to fix this pls pm me.

rainforce279 said:
after searching why dt2w never work on otus or work but bit buggy,
so i guess this line in last_kmesg be a reason why
you can see full last_kmesg in here
this log from someone in my old thread otus.
then i compare last_kmesg from condor but thats line not found
as i know condor and otus same hardware but little different,
also condor and otus using same touch driver "snaptics_dsx_i2c".
so far i'll searching again and if i get them, sure your device will get Gesture wake too like condor.
if you know this problem or know to fix this pls pm me.
Click to expand...
Click to collapse
I am sorry, but I cannot help you with that.
But I'd like to point out something. When the screen is off and is double tapped, the unlocking sound is heard. I think it does unlock the phone(without pin) since the unlock sound is heard, but the display fails to start.
This may help you in finding the problem.....

Really
I am so happy to see this thread can't express my joy
thanks a lot rainforce279 for such an awesome kernel for otus will try soon.

The phone freezes when an incoming call is picked up and then automatically reboots.

Any update?

Push Update 02 August (Mayor Changes)
Changlogs:
- Merge latest LineageOS
- Remove custom Governor (now i'm focus to bring dt2w for this device, so some feature will back once dt2w fixed).
- Build with arm and graphite flags (smooth like butter).
- Fsync control from francisco franco
- wakelock control from francisco franco
- remove faux sound control (seem buggy for otus)
- DT2W is testing again with simple integrity to synaptics drivers, disabled by default (pls report this works or not!)
- see all feature in 1st post.
Note: its so hard to port dt2w to this device, but i'll try again. so please do not asking/make any request until i got fix dt2w for your device, once it already fixed i'll bring all what you need.
and please support me, if you got some problem just post in this thread with proper logs.
Download
https://www.androidfilehost.com/?w=files&flid=195606

rainforce279 said:
Changlogs:
- Merge latest LineageOS
- Remove custom Governor (now i'm focus to bring dt2w for this device, so some feature will back once dt2w fixed).
- Build with arm and graphite flags (smooth like butter).
- Fsync control from francisco franco
- wakelock control from francisco franco
- remove faux sound control (seem buggy for otus)
- DT2W is testing again with simple integrity to synaptics drivers, disabled by default (pls report this works or not!)
- see all feature in 1st post.
Note: its so hard to port dt2w to this device, but i'll try again. so please do not asking/make any request until i got fix dt2w for your device, once it already fixed i'll bring all what you need.
and please support me, if you got some problem just post in this thread with proper logs.
Download
https://www.androidfilehost.com/?w=files&flid=195606
Click to expand...
Click to collapse
The dt2w is still broken. As I said in my previous post, it still gives me the unlocking sound (with no screen lock), but the display for some reason seems to fail to start.
Thank you for the update!

Dev_Mashru said:
The dt2w is still broken. As I said in my previous post, it still gives me the unlocking sound (with no screen lock), but the display for some reason seems to fail to start.
Thank you for the update!
Click to expand...
Click to collapse
ok, dt2w still broken :angel:
are display fail to start even dt2w is disabled ?
can u post dmesg ? when try lock and unlocking your device after that pls take dmesg.
or anyone using this kernel pls post dmesg also last_kmesg.
i won't giveup till otus get dt2w properly.
thanks.

rainforce279 said:
ok, dt2w still broken :angel:
are display fail to start even dt2w is disabled ?
can u post dmesg ? when try lock and unlocking your device after that pls take dmesg.
or anyone using this kernel pls post dmesg also last_kmesg.
i won't giveup till otus get dt2w properly.
thanks.
Click to expand...
Click to collapse
How to get a dmesg and what else you need i am ready for support

Rush94 said:
How to get a dmesg and what else you need i am ready for support
Click to expand...
Click to collapse
just easy use kernel adiutor (latest) from playstore.
open setting from kernel adiutor and search "Last Kernel Message" and "Driver Message", touch them and try locate the txt file in your sdcard then post it pls.

rainforce279 said:
just easy use kernel adiutor (latest) from playstore.
open setting from kernel adiutor and search "Last Kernel Message" and "Driver Message", touch them and try locate the txt file in your sdcard then post it pls.
Click to expand...
Click to collapse
Sure will post it soon

rainforce279 said:
just easy use kernel adiutor (latest) from playstore.
open setting from kernel adiutor and search "Last Kernel Message" and "Driver Message", touch them and try locate the txt file in your sdcard then post it pls.
Click to expand...
Click to collapse
Was not able to find last kernel message i don't have that option
Rest to files are below
https://drive.google.com/folderview?id=0BwgzEx82-X1HUThDM04wVmhWZzA

rainforce279 said:
ok, dt2w still broken :angel:
are display fail to start even dt2w is disabled ?
can u post dmesg ? when try lock and unlocking your device after that pls take dmesg.
or anyone using this kernel pls post dmesg also last_kmesg.
i won't giveup till otus get dt2w properly.
thanks.
Click to expand...
Click to collapse
I'm sorry for replying late.
When I say the display doesn't start, I mean it when I double tap. If I press the power button, it wakes up normally.
This time, strangely I didn't even get the unlocking sound.
Here is the dmsg and kmsg
Thank you!

Related

[KERNEL][UBER 6.0][27/12] Custom Kernel v2.5 for Samsung Galaxy J7

This is a custom kernel for Samsung galaxy J7(Exynos variants of J7)
Use Kernel Aduitor app from Play Store to change kernel parameters.
Changelogs
v2.5
Compiled with UBERTC GCC 6.0
Update to Linux 3.10.94
Remove EXYNOS_STAT_LOG ,Wifi debug ,Android logger and PROFILING
Kernel Quick Wakeup feature(for better battery)
Governors(Hyper,preservative,conservativex,alucard,darkness,nightmare,wheatley,smartassV2,Ondemandplus,dancedance,bioshock,lionheart)
Sio I/O Scheduler
Fix installtion of Busybox
Nvidia power efficiency patches
Optimize LowMemoryKiller driver(kernel side)
Use Powersuspend driver for decon
Frandom
Dynamic Sync control(Faux123)
Many other changes(see github repository)
V2.1
Fixed battery drain in V2(hopefully)
Updated UBERTC 5.2.1 toolchain
V2.0
Compiled with UBERTC GCC 5.2
Update to latest Linux 3.10.90 from 3.10.61
FLashable zip(flash with TWRP)
Busybox
Remove Knox notification
Add BFQ and FIOPS I/O Scheduler(Change them with app 'Kernel Aduitor' on Play Store)
Remove some debug
Disable SEC_OOM_KILLER
Optimize SLUB memory allocator
Reduce wifi battery drain
Optimize cpu hotpllugging
Optimize Deadline I/O Scheduler
Some other misc. changes(See on github)
V1.0
SELinux set to Permissive mode
Compiled with UBERTC GCC 4.9.4
cortex-a57.cortex-a53 optimizations
Files attached in post!
Instructions
You must be rooted ! How to Root? See here: http://sharvinzlife.blogspot.in/2015/10/samsung-galaxy-j7-sm-j700f-tips-and.html
Copy custom_kernel_v2.5.zip(Do not download, v1,it is outdated)
Flash with TWRP recovery :good:
Sources
https://github.com/sakindia123/android_kernel_samsung_j700F
Reserved post
Knox crap in kernel
after some research, found something to remove knox crap from kernel (which taps in the usage of device to make security logs)
here's the thread, jus look into it once
http://forum.xda-developers.com/showthread.php?t=2599266
:angel:
I believe i have managed to silence knox,will make the next kernel update TWRP installable .
Kernel Updated to v2.0,Flash with TWRP!
sakindia123 said:
Kernel Updated to v2.0,Flash with TWRP!
Click to expand...
Click to collapse
Thanks i like it.
Sent from my SM-J700F using Tapatalk 2
Kernel works great ! Thanks @sakindia123 you're awesome !
i looked at the code source i can't find OC tables .. my device J700H ..................................can you plz poste antutu score... and plz can you work on cm13...
nanoteam said:
i looked at the code source i can't find OC tables .. my device J700H ..................................can you plz poste antutu score... and plz can you work on cm13...
Click to expand...
Click to collapse
Antutu score is 39000 on my J700F.
I also am not able to overclock the device.Layout is very different from Exynos 7420 and Exynos 5433
sakindia123 said:
Antutu score is 39000 on my J700F.
I also am not able to overclock the device.Layout is very different from Exynos 7420 and Exynos 5433
Click to expand...
Click to collapse
so can you work on cm13... i know will get anroid m in the future but i like more cm roms
---------- Post added at 08:50 PM ---------- Previous post was at 08:49 PM ----------
kernel work stable for now ... i need more tweaking on gpu to get more performance.... thanks man
Hi sir. Kernel v2 is good. But i feel faster battery drain in my j700h. May be in nxt update u try to fix it. But over all its very nice and smooth. Thanks
Serious bug found in the custom kernel v2
Initially on stock kernel, when outdoor mode in notification panel was enabled, brightness was set to max for convenient viewing under direct sunlight.
But after flashing the custom kernel v2, as soon as outdoor more is clicked, device reboots. Not just once or twice but every time its clicked. Please fix the issue in the custom kernel v3.
And somebody please upload the stock kernel for the time being. Moreover can somebody please check & reply whether the same issue is in the custom kernel v1. Apart from this, is there way to remove the kernel modified notification appearing in the upper left corner when device gets booted, though it's not a major problem but a bit annoying & eye catchy.
Last but not the least, is there a way to receive regular updates in this rooted J700F. If not then where to manually download the latest updates & flash it via custom recovery.
Looking forward to a positive reply&thanks in advance.
hi i want to ask the kernel source in title say .is for J700F with qualcom chipset but in arch64 i find just exynos chipset files no qualcom so is this for J700H or the two has exynos
---------- Post added at 07:34 PM ---------- Previous post was at 07:33 PM ----------
darksam96 said:
Serious bug found in the custom kernel v2
Initially on stock kernel, when outdoor mode in notification panel was enabled, brightness was set to max for convenient viewing under direct sunlight.
But after flashing the custom kernel v2, as soon as outdoor more is clicked, device reboots. Not just once or twice but every time its clicked. Please fix the issue in the custom kernel v3.
And somebody please upload the stock kernel for the time being. Moreover can somebody please check & reply whether the same issue is in the custom kernel v1. Apart from this, is there way to remove the kernel modified notification appearing in the upper left corner when device gets booted, though it's not a major problem but a bit annoying & eye catchy.
Last but not the least, is there a way to receive regular updates in this rooted J700F. If not then where to manually download the latest updates & flash it via custom recovery.
Looking forward to a positive reply&thanks in advance.
Click to expand...
Click to collapse
yep me two...
Could this kernel work in J700M? Someone test it in this model?
This kernel works on exynos models of j7 ( this includes j700h/f models)
messi2050 said:
This kernel works on exynos models of j7 ( this includes j700h/f models)
Click to expand...
Click to collapse
Ok but excuse me for my noob question sir. Samsung J700M do not have exynos Microprocessor? And which Microprocessor use? Thanks in advance
cachok9999 said:
Ok but excuse me for my noob question sir. Samsung J700M do not have exynos Microprocessor? And which Microprocessor use? Thanks in advance
Click to expand...
Click to collapse
It will not work on J700M!Dont try
sakindia123 said:
It will not work on J700M!Dont try
Click to expand...
Click to collapse
Thanks you @sakindia123 for your useful information
Hi guys I check my information again and I have noticed that my Chipset is Samsung Exynos 7 Octa 7580
So, could I use this kernel? Thanks.
cachok9999 said:
Hi guys I check my information again and I have noticed that my Chipset is Samsung Exynos 7 Octa 7580
So, could I use this kernel? Thanks.
Click to expand...
Click to collapse
yes

About double click the screen to wake up the device.

Can I double click the screen to wake up the device through flash others ROMS ?
If I can , please tell me how to do it. Thanks!
This is called DT2W that is double tap to wake
This is mainly a kernel based feature and it can be integrated in a custom kernel for a device
& DT2W is battery consuming feature as it keeps touchscreen ON always which consumes battery
& I don't think any developer is making any custom kernel for this device
So it's not possible to integrate it in that kernel
& if a ROM supports DT2W then ROMs kernel would support DT2W then it would be easy to port that kernel for other ROMs also
But my opinion is DT2W consumes more battery & some times freezes screen so I will not go for it
Sher1234 said:
This is called DT2W that is double tap to wake
This is mainly a kernel based feature and it can be integrated in a custom kernel for a device
& DT2W is battery consuming feature as it keeps touchscreen ON always which consumes battery
& I don't think any developer is making any custom kernel for this device
So it's not possible to integrate it in that kernel
& if a ROM supports DT2W then ROMs kernel would support DT2W then it would be easy to port that kernel for other ROMs also
But my opinion is DT2W consumes more battery & some times freezes screen so I will not go for it
Click to expand...
Click to collapse
No , it just need a little Battery. only a little . such as DT2W for mi4 or Nexus .
Do you know how to add codes into kernel to support DT2W ? I want to try it.
(I found that F2 's kernel has "mtk_battery"
F1(this Chinese device) doesn't support DT2W , but F2(F1 's plus) support it )
Yu_Cloud said:
No , it just need a little Battery. only a little . such as DT2W for mi4 or Nexus .
Do you know how to add codes into kernel to support DT2W ? I want to try it.
(I found that F2 's kernel has "mtk_battery"
F1(this Chinese device) doesn't support DT2W , but F2(F1 's plus) support it )
Click to expand...
Click to collapse
Currently I don't know how to add DT2W support
You can search Google for it
I'll try to add it but after some time
Sher1234 said:
Currently I don't know how to add DT2W support
You can search Google for it
I'll try to add it but after some time
Click to expand...
Click to collapse
Best wishes
Yu_Cloud said:
Best wishes
Click to expand...
Click to collapse
Thanks
Sorry
Sher1234 said:
Thanks
Click to expand...
Click to collapse
I can't do it.But I found the twrp recovery can run like DT2W.I think the twrp recovery may used DT2W.
And I have to say sorry to you. Due to the GFW,I can't reply you in time. Really sorry.
Yu_Cloud said:
I can't do it.But I found the twrp recovery can run like DT2W.I think the twrp recovery may used DT2W.
And I have to say sorry to you. Due to the GFW,I can't reply you in time. Really sorry.
Click to expand...
Click to collapse
No worries about late reply,
Ya (I think - not sure though) that's right that TWRP supports DT2W
But it's quite complex for knowing which method TWRP is using from its source (noob at this kind of stuff).
You can have dt2w (Double Tap to Wake) if your phone have android 6.0+ since this feature is starting supported only above 6.0 roms!!!

[WIP][ROM][ARM64][VoLTE][Redmi 2][DISCONTINUED] CAF_AOSP_7.1.2 for Redmi2 WT88047

Hi, this rom is built using arm64 sources from Codeaurora, branch LA.BR.1.2.9_rb1.29 with some adjustments to fit our "little precious... "
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 ROM
* 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.
*/
INSTALLATION
- MAKE BACKUP of your working rom before flashing this one.
- Boot into recovery
- Wipe System, Data, Cache, Dalvik Cache
- Flash the zip
- Reboot your device
First boot takes some time. Wait patiently.
WORKING
- Wifi,
- Bluetooth,
- RIL (voicecall, sms, data),
- SDCard,
- audio / video
- FM radio
- Camera
- GPS
- VoLTE
NOT WORKING
- Camera
- GPS
SOURCES
https://github.com/redmi2
CREDITS
me
you
everyone
DOWNLOADS
androidfilehost
wt8847_64_twrp_3.2.1
If you want root, flash
"phh's SuperUser"
OR
SuperSU
OR
MagiskSU
Gaaps are not included, open_gapps-arm64-7.1-pico works fine.
The ROM supports signature spoofing, so you can use microG as a "replacement" for gaaps.
XDA:DevDB Information
CAF, ROM for the Xiaomi Redmi 2
Contributors
pirej
Source Code: https://www.codeaurora.org/cgit/quic/la
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x
ROM Firmware Required: TWRP 3.1.1 and L bootloader
Based On: CAF AOSP ARM64
Version Information
Status: Stable
Created 2017-03-08
Last Updated 2018-06-05
Changelog:
- 02.04.2017 fixed Camera
- 03.04.2017 fixed GPS (will be included in the nex build) get the fix here
- 04.04.2017 updated all sources to the latest CAF branch LA.BR.1.2.9_rb1.14, included gps fix, removed qcom bt apps.
- 09.04.2017
Camera - include missing 8MP picture size
Wrong device name - fixed
Gallery FC when entering edit mode - fixed
Unlocked 400 and 533 Mhz cpu frequencies
Click to expand...
Click to collapse
- 18.04.2017
Options to disable camera shutter sound and screen-shot sound
Camera Beautification Options
Signature Spoofing permission
Advanced Power Menu
Buttons Rebinding Options (and changed the color to "Teal" instead the initial "Blue", to match all of the other items in settings
Navbar Buttons
Quick settings pull down
Quick Charge
Faux Sound
MSM hotplug
Various Framework and Kernel optimizations/improvements
Click to expand...
Click to collapse
- 20.04.2017
Added VoLTE support
removed Quick settings pull down
Disabled system-wide Camera shutter sound (editable in system.prop)
Click to expand...
Click to collapse
-25.04.2017
I have updated all of my sources to the latest LA.BR.1.2.9_rb1.15 branch for msm8916_64 (no sign of 7.1.2 yet)
I didn't check what exactly is changed upstream, so...
I removed the second APN setting in mobile settings
Increased in-call audio volume
The wifi drivers in kernel are updated too (i forgot to update them before)
Click to expand...
Click to collapse
-01.05.2017
From what i remember..
Changed app icons for phone/messages
Added screen recorder option ( press power and volume-up keys at the same time to start, and same combination to end recording)
Added "Phone info" in about/status/Phone info (no need to dial *#*#4636#*#*)
Updated mixer for a louder in call sound (and i hope i didn't introduce some distortions in music playback as in the first try)
Those are the obvious changes..
And.. a some under the hood changes..
Click to expand...
Click to collapse
-21-05-2017
no new features,
no new (reported)bug fixes..
fixed some unreported bugs(errors in logcat)
some BoringSSL related changes,
and some other misc changes
Click to expand...
Click to collapse
-26.05.2017
updated to android 7.1.2
Click to expand...
Click to collapse
-19.06.2017
updated to LA.BR.1.2.9_rb1.22
Click to expand...
Click to collapse
-31.07.2017
updated to LA.BR.1.2.9_rb1.23
Click to expand...
Click to collapse
-26.08.2017
updated to LA.BR.1.2.9_rb1.24
Click to expand...
Click to collapse
-02.10.2017
updated to LA.BR.1.2.9_rb1.26
Click to expand...
Click to collapse
-18.10.2017
improved proximity sensor sensitivity
misc updates in kernel for gereral performance
display related changes
added(in dialer) and enabled call-recording
Click to expand...
Click to collapse
-03.11.2017
updated to LA.BR.1.2.9_rb1.27
patched to allow changing of the " WebView provider"
Click to expand...
Click to collapse
-02.12.2017
updated to LA.BR.1.2.9_rb1.28
included some of the previous changes/bug-fixes:
added option to remove the QuickSearchBar in launcher settings
switched to ltr559 to get the proximity working
fixed gallery not being able to open edit mode
Click to expand...
Click to collapse
Temp change-log until the next full build..
Updated kernel, with added support for the great kernel-app "spectrum"
and with fixed "display shifted" bug.
-11.01.2018
Updated to LA.BR.1.2.9_rb1.29
Click to expand...
Click to collapse
-05.06.2018
--------------------------DISCONTINUED--------------------------------
Reserved
Good job. Probably we may borrow both the GPS/camera Hal's and vendor from R3 and try
Probably(hopefully) yes, but we will see.
Woohoo
Yay 64 in the House :laugh:
:good::good:
@pirej can you share your kernel source here again? Also, how which tool you used to unpack-repack the boot.img? can you tell me the process? I'm having issues only with this in here
wow,I am waiting it becomes stable
TecnoTailsPlays said:
@pirej can you share your kernel source here again? Also, how which tool you used to unpack-repack the boot.img? can you tell me the process? I'm having issues only with this in here
Click to expand...
Click to collapse
As i told you, Im not repacking anything, its all build from source.
But when i need pac/repack.. i use this on linux or this on windows.
TecnoTailsPlays said:
@pirej can you share your kernel source here again? Also, how which tool you used to unpack-repack the boot.img? can you tell me the process? I'm having issues only with this in here
Click to expand...
Click to collapse
Hey, why do you ask same question again? He's building from source, not packing, unpacking boot.img. Go and get sources link from previous post and there are tons of methods in xda on unpacking boot.img.
Venkatesh said:
Hey, why do you ask same question again? He's building from source, not packing, unpacking boot.img. Go and get sources link from previous post and there are tons of methods in xda on unpacking boot.img.
Click to expand...
Click to collapse
Look, I asked him again becouse I tried using a lot of methods for making the boot.img, BUT it dosn't work, when I compile the kernel all I get is the kernel.gz and the dt.img, I need the ramdisk for caf that is on the boot.img, I can unpack-it, but I can't repack-it, it will give me an error saying that it can't find mkbootfs and mkbootimg, even that they are on the location indicated Mkboot , that's why I'm asking for help
awesome work bro.
@pirej , my device model is wrong, it's showing the 2014811 model, but my model is 2014819, any way to fix it? but I don't think this is too much important
Not boot here. Clean flashed install..
valenrock said:
Not boot here. Clean flashed install..
Click to expand...
Click to collapse
Booted successfully on my HM 2014818 (Indian Variant).
The ROM is snappy af its like Redmi 2 on steroids.
It just misses out on Camera , Non remappable H/W keys and GPS which will be fixed by pirej ? soon™.
Saurabh_Umadikar said:
Booted successfully on my HM 2014818 (Indian Variant).
The ROM is snappy af its like Redmi 2 on steroids.
It just misses out on Camera , Non remappable H/W keys and GPS which will be fixed by pirej ? soon™.
Click to expand...
Click to collapse
Clean flashed TWRP 3.0.3.0
.....
Script succsesded (1.000000)
But stuck at boot animation ( white google text )
Something wrong here @pirej ?
Nice work @pirej, Can you share how much space is occupied in /system partition with arm64 rom?
valenrock said:
Clean flashed TWRP 3.0.3.0
.....
Script succsesded (1.000000)
But stuck at boot animation ( white google text )
Something wrong here @pirej ?
Click to expand...
Click to collapse
It takes an atypical amount of time for the first boot to happen. Be patient.
CENTSOARER said:
It takes an atypical amount of time for the first boot to happen. Be patient.
Click to expand...
Click to collapse
40 minutes of waiting.. Really? :laugh:

Discontinued - [KERNEL] [7.1.x] BlackScreen for X2

Custom version of Blackscreen Kernel by mosimchah
Check out this thread for info:
https://forum.xda-developers.com/le-pro3/development/kernel-blackscreen-pro3-aka-zl1-x727-t3594976
Read the second and third posts on original thread for more info on the kernel settings, and features, and how to get better performance and battery life and stuff like that
Install instructions:
1. Download : Blackscreen 3 OR: Blackscreen 3.5.i (14/08/2017) OR: 3.5.i with OC (not oc'd by default)
2. Flash in twrp.
3. Reflash Root
4. Use Kernel Adiutor from playstore to change kernel settings or anything else that tickles your fancy.
AICP ROM with black screen built in:
Build 17/11/2017
https://drive.google.com/open?id=1BSB1V6f23I6xabAXXtRXqrz3ISX9pS6H
Build : 27/09/2017
https://drive.google.com/open?id=0B4k5OpXTXcS9MG5pTXlESmp4MU0
Build : 15/09/2017
https://drive.google.com/open?id=0B4k5OpXTXcS9NmZsdzE4bnI4Njg
Older:
https://drive.google.com/open?id=0B4k5OpXTXcS9aGZvLWFTQ1FKZDQ
One more kernel , onemore choose
i flashed it and camera isnt working anymore,pls fix this flashed with rr build
Can you port kernel from mi5 SlimDragons rom ?) they made good kernel )
Thanks, will try it later is it possible to port EAS?
This is the andr68rus link to various extras, included is the link to the flashable remote files
https://drive.google.com/open?id=0B-2l1xmYBAzsa0pReTA0RWZhN1E
binkaa2 said:
i flashed it and camera isnt working anymore,pls fix this flashed with rr build
Click to expand...
Click to collapse
Weird camera works fine for me but I use cm14.
Can you get a logcat?
What camera app and what happens? Just a blank screen?
infrag said:
Weird camera works fine for me but I use cm14.
Can you get a logcat?
What camera app and what happens? Just a blank screen?
Click to expand...
Click to collapse
same here , camera is not working:crying:
sky104hk said:
same here , camera is not working:crying:
Click to expand...
Click to collapse
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
infrag said:
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
Click to expand...
Click to collapse
So, will this change make stock camera fully working?
Also, regarding signal reception
at my desk the signal is weak
any idea if we could make signal reception better,
as per my experience LOS based roms or Mokee feel like does not have stock like signal reception feature,
feels bit unstable(always trying disconnecting/connecting)...
which causes the main battery drainage(dual sim, both weak signals)
infrag said:
Ok the problem occurs because both andr68rus and I have named our camera shims differently.
Also lineage has their own name for it.
In this kernel I used the Lineageos naming as I thought that was the standard. (at least I'm 90% sure I did )
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Once he has updates RR I'll upload the updated kernel and all should be good. Of course since I've wiped my phone to try this out I'll test it first with RR this time just to make sure.
Click to expand...
Click to collapse
Tks for ur hardwork, hope u can fix this on the next update bro! I really want to use the kernel, or is there any way to fix the camera problem? Also the flashlight cannot turn on, currently im usingI andr68us's DU build
Hi:
Where is the kernel?
Where can I download the kernel?
Thanks for your job
infrag said:
Thanks to @mosimchah for his hard work on Blackscreen kernel. I've just ported it to X2.
BlackScreen is meant to give you great battery life and performance (depending on how you tune it , more on that later in the second post).
Please read original thread for details.
https://forum.xda-developers.com/le-pro3/development/kernel-blackscreen-pro3-aka-zl1-x727-t3594976
Whats working:
this space intentionally left blank
Fixed Ambient Display
Added in stock LeEco charger settings to fix OTG & USB headphones.
Whats not working:
Dodgy camera as every other X2 kernel/rom atm.
I doubt IR works. Someone want to supply me a .zip with it so I can test? (I cant be bothered extracting)
Install instructions:
Download .zip
link removed while i check camera...
Flash in twrp.
Reflash Root?
Use Kernel Adiutor from playstore to change kernel settings or anything else that tickles your fancy.
Here are some of the features
f2fs not working yet as I dont care and havent turned it on.
(check out the third post on original thread for more info)
CPU:
ability to disable all input boosters
darkness governor- credit to @villarleg for porting it to our device
Lionfish governor-credit to @villarleg for porting it to our device
blue_active governor (not for the eas build)
nebula governor
wheatley governor
lionheart governor
bioshock governor
impulse governor
Alucard Hotplug driver
GPU:
Adreno boost
Adreno idler
I/O:
Improved deadline
improved cfq
bfq
sio
fiops
tripndroid
sioplus
zen
Virtual memory:
various optimizations
entropy:
some optimizations
tcp-algorithms:
bic
westwood
htcp
hstcp
vegas
scalable
lp
veno
yeah
illinois
Misc:
fsync toggle
Many more optimizations
Several wakelocks have been blocked
Added the ability to tweak the thermal throttle settings (be very careful with this)
Read the second and third posts on original thread for more info on the kernel settings, and features, and how to get better performance and battery life and stuff like that
Thanks to:
etc
Click to expand...
Click to collapse
Thanks.
Does this kernel has undervolting capability? Le max 2 has very weak battery.
infrag said:
@andr68rus please can we standardise on the lineageos naming system and both change our sources to suit?
Click to expand...
Click to collapse
Nice work, thanks I will use LOS naming system next build. I will repack kernel with my ramdisk and put link for < 05/09 RR-N.
PS. Where I can download kernel?
Hope this kernel gets fixed soon, you're doing great work on the Le Max 2, thanks for your contributions!
Also hopefully you and @andr68rus find the naming fix and that this kernel gets integrated into RR, AOKP, DU and the rest of the Nougat roms, I can see it being a great SoT fix for Nougat ROMs.
( for me this kernel is hopeless ((( my problem with camera on nougat roms seems unfixable for now (((
andr68rus said:
Nice work, thanks I will use LOS naming system next build. I will repack kernel with my ramdisk and put link for < 05/09 RR-N.
PS. Where I can download kernel?
Click to expand...
Click to collapse
Thanks.
I pulled the link as it didnt work on Cr3pts Unoffical LAOS cm14.1 either.
However it turns out he hasnt updated his libc shim name either so I've re-added the download link.
Wheres your new link so I can test on RR?
xuser_ said:
So, will this change make stock camera fully working?
Also, regarding signal reception
at my desk the signal is weak
any idea if we could make signal reception better,
as per my experience LOS based roms or Mokee feel like does not have stock like signal reception feature,
feels bit unstable(always trying disconnecting/connecting)...
which causes the main battery drainage(dual sim, both weak signals)
Click to expand...
Click to collapse
No it wont fix stock camera. I didnt imply that so...
As far as signal reception goes I dont have issues with reception.
I do see some stuff in the logs about disconnecting reconnecting and i'll probably have a look at it one of these days. Not sure IF I can do anything but I'll try.
Gnomchar said:
( for me this kernel is hopeless ((( my problem with camera on nougat roms seems unfixable for now (((
Click to expand...
Click to collapse
Whats your problem on Nougat roms?
I think I read something about focusing or something?
If so I have an idea but you will need to pull some logs while camera is semi working for you.
adb logcat > logcat.txt
adb shell dmesg > dmesg.txt
sky104hk said:
Tks for ur hardwork, hope u can fix this on the next update bro! I really want to use the kernel, or is there any way to fix the camera problem? Also the flashlight cannot turn on, currently im usingI andr68us's DU build
Click to expand...
Click to collapse
Flash andr68us's 'fixed' build. (just renamed a file basically)
His future builds should work with this.

Proto8 Kernel for Huawei P10 [Stock/Treble] - (UPDATED 06.29.2018)

There's a new kernel working on our P10, it was made for Honor 9 and updated to make it work on P10.
Here is the link to the thread Proto8 Kernel
Everything is working, wifi, bluetooth, hotspot, just try it yourself! The kernel is stable and very fast.
FEATURES
- Compiled with Linaro AArch64 GCC 4.9 2017.01 (ARMv8,A53 Optimized)
- UV (UnderVolt) on both CPU Clusters and GPU for better efficiency (All thanks to @nutcasev1.5)
- Energy Aware Scheduling (EAS) with "Sched" CPU Governor
- Kirin Hotplug Flow
- Aggressive GPU Suspend on Low Frequencies
- Swap disabled
- Reduced Kernel Wakelocks
- Advanced TCP Algorithms with "Westwood" Default
- Reactivation of the "setenforce" command
- Wireguard VPN Support
All the credits to @JBolho and @nutcasev1.5 for their work (hit the Thanks button :good
Download link: [url]https://www.androidfilehost.com/?fid=11050483647474829090[/URL]
Latest version: Version 2.0R - 06.29.18
Major Milestone Update
- Upstreamed to 4.4.73
- New Optimal Timer Frequency - 156HZ Set as Default
- Go Tickless - Enable Full Dynticks System
- Power Efficient Workqueues can now be toggled
- Revert CPU DDR Link Enabling and other HiSi CPU Functions
- Keep Kirin Specific SMP Flow but move to ARM big.LITTLE CPUFreq Driver
- Reduce Kernel Max Wakelocks down by 90% relative to Stock
- Minor RAM and DevFreq Tweaks
- GPU Scene_Aware Tuned for Power Efficiency
- Minor Log Spam on CPU's Silenced
- Reduce Timeout to Stop Processes and Enter Sleep
- Optimized Sound Output Gains and Eliminate Rates below 16Khz
- Implement UKSM 0.1.2.6
- Upgrade SchedTune Boost to v3
- Major Update to Spectrum Profiles to accomodate new features as well
- Update Wireguard to 0.0.20180620
sfoot13 said:
There's a new kernel working on our P10, it was made for Honor 9, here's the link: https://forum.xda-developers.com/honor-9/development/kernel-proto8-kernel-t3780551
I installed it yesterday and the only thing that is not working is the wifi and bluetooth.
Click to expand...
Click to collapse
Hey man, glad you liked it, but at least you could mention the Developers and at least give me a heads-up like "Hey, can i share the thread on the P10 forums?"
Kind of taken by surprise here
Thanks for the support.
JBolho said:
Hey man, glad you liked it, but at least you could mention the Developers and at least give me a heads-up like "Hey, can i share the thread on the P10 forums?"
Kind of taken by surprise here
Thanks for the support.
Click to expand...
Click to collapse
I'm sorry bro., I was going to add the credits later, but it was a mistake not to ask you before, sorry. (I'll edit the thread now)
Your kernel is very fast :good:
sfoot13 said:
I'm sorry bro., I was going to add the credits later, but it was a mistake not to ask you before, sorry. (I'll edit the thread now)
Your kernel is very fast :good:
Click to expand...
Click to collapse
Thank you. And it's not just me, @nutcasev1.5 is also Developer of the kernel.
kernel without wifi and bluetooth is kind of useless.
DallasCZ said:
kernel without wifi and bluetooth is kind of useless.
Click to expand...
Click to collapse
Not for me.
JBolho said:
Thank you. And it's not just me, @nutcasev1.5 is also Developer of the kernel.
Click to expand...
Click to collapse
@JBolho Done, I added the credits bro.
I don't know if is possible to fix the wifi and bluetooth for our device, I know that it was made for Honor 9, so if it is not possible, don't worry bro, and thank you so much
sfoot13 said:
@JBolho Done, I added the credits bro.
I don't know if is possible to fix the wifi and bluetooth for our device, I know that it was made for Honor 9, so if it is not possible, don't worry bro, and thank you so much
Click to expand...
Click to collapse
It's possible that it's just a matter of drivers, I'll look into it when I have the chance, but no ETA of course.
JBolho said:
It's possible that it's just a matter of drivers, I'll look into it when I have the chance, but no ETA of course.
Click to expand...
Click to collapse
Yes! :laugh: :fingers-crossed:
Thank you so much, take your time, I never ask for ETA.
One question: You'll need the stock drivers? Because I was searching and their are placed into Vendor/lib/modules, so what if I backup my stock drivers, flash your kernel and restore my stock drivers... I'll see if it works
Update: It didn't worked
sfoot13 said:
Yes! :laugh: :fingers-crossed:
Thank you so much, take your time, I never ask for ETA.
One question: You'll need the stock drivers? Because I was searching and their are placed into Vendor/lib/modules, so what if I backup my stock drivers, flash your kernel and restore my stock drivers... I'll see if it works
Update: It didn't worked
Click to expand...
Click to collapse
The proper stuff needs to be compiled in the kernel, don't brick your device in anticipation
JBolho said:
The proper stuff needs to be compiled in the kernel, don't brick your device in anticipation
Click to expand...
Click to collapse
While I'm waiting, I'll keep using your kernel
Thank you so much for the support. :laugh:
sfoot13 said:
While I'm waiting, I'll keep using your kernel
Thank you so much for the support. :laugh:
Click to expand...
Click to collapse
You have a PM, check it out.
JBolho said:
You have a PM, check it out.
Click to expand...
Click to collapse
Thank you so much, I'll check it
As confirmed now by @sfoot13 this kernel is now fully compatible with the P10. Separate download link added on thread's OP because both devices require separate compiles.
Remeber this was originally designed for the Honor 9 but from now on it should continue to be 100% compatible with the P10 as all incompatibilities have been apparently solved.
All the thanks to @JBolho :good: he made it possible
Thank you all for giving us a Kernel
I hope you don't mind the question: So it uses another energy management, does that mean there is no 'scrollable widgets freeze' bug?
Yes I could unlock and try myself but it's my daily phone at the moment :-|
Swaddy said:
Thank you all for giving us a Kernel
I hope you don't mind the question: So it uses another energy management, does that mean there is no 'scrollable widgets freeze' bug?
Yes I could unlock and try myself but it's my daily phone at the moment :-|
Click to expand...
Click to collapse
If there's such a bug, I've never experienced it, and it's more likely a rom thing, not the kernel fault...
My device is the only one I have and I need it everyday, so... This is not some "alpha ultra experimental thing" that may or may not explode on your pocket, so don't worry
Unlocking the bootloader does force a factory reset though. It's a pain, i know...
I also never had problem with widgets on this kernel and also on stock kernel.
To the actual users: how this is compared with hyperkernel from p10 plus?
Kernel has been updated to v1.2R, new and tuned I/O and updated CPU drivers and Sched Gov.

Categories

Resources