[KERNEL] [Linux 4.4.127] [2018.04.08] Kang Kernel - Google Pixel 2 XL ROMs, Kernels, Recoveries, & Oth

Kang Kernel
About
First with my story, ~4-5 years ago in the GB/ICS/JB/KK era I used to work on AOKP, a ROM for Android devices offering a lot of features. As time went on, we all got a bit burnt out from the project, and stopped actively working on it (though if this sounds interesting, the ROM is still kicking with new developers). I worked on a few projects for a bunch of devices (HP Touchpad, HTC One X, LG G2, LG Optimus G, Nexus 4). After taking a few years off and working for an Android OEM, I got the development itch again and snagged a Pixel 2 XL, and wanted to run a kernel I built.
This is a kernel I built for my own personal use, and it will probably evolve greatly as time passes (right now it is not incredibly different from stock). My personal priorities are always battery life and responsiveness under heavy load conditions. I am a big fan of doing a quantitative analysis on various performance-related aspects of the system.
Features
Updated to Linux v4.4.127
Safetynet passing
kcal color control
Undervolted CPU steps
MAC address randomization
CFQ upstreamed to latest
CRC disabled
fsync disabled (user controllable)
Wireguard support
Support and Installation
This should be compatible with any AOSP/Stock 8.1-based ROM, though I have only tested this on the Stock 8.1 April security update.
To install this, flash the ZIP in TWRP.
I usually wipe my Dalvik/ART cache after I flash as well, so give this a go if you're experiencing excessive battery drain/other issues.
Download
Download here
Check the Downloads section of this post
Donations
I am not accepting donations for this, and I don't ever plan on accepting donations. If you would like to donate, please instead throw a couple bucks at the people listed in the "Additional Contributors" section, or donate it to a charity of your choice. I don't need money and I am simply releasing a kernel that I have built for my own personal use.
Thanks
nathanchance and the android-linux-stable project for providing a great updated base, and AnyKernel setup + being a great reference
flar2 for kcal color control
sultanxda for his Safetynet patches
franciscofranco/faux123/frap129/freak07 for other random patches
the original #teamkang for introducing me to Android development
Source
Source code
Uses kang_defconfig and the default AOSP gcc toolchain
XDA:DevDB Information
Kang Kernel, Kernel for the Google Pixel 2 XL
Contributors
rohan32, nathanchance, flar2, frap129, franciscofranco, faux123, sultanxda, freak07
Source Code: https://github.com/mathur/wahoo
Kernel Special Features: Linux v4.4.127, kcal control, Safetynet passing, Undervolted, MAC Address randomization, CFQ upstreamed, fsync/crc disabled, wireguard support
Version Information
Status: Testing
Current Beta Version: 2018.04.08
Beta Release Date: 2018-04-08
Created 2018-04-08
Last Updated 2018-04-08

Almost feel obligated to flash this. ?

akellar said:
Almost feel obligated to flash this. ?
Click to expand...
Click to collapse
Hahaha good to see you here buddy, been a long time

OMG I remember you from htc one x I think. This is amazing. Thank you good sir and welcome back.

Welcome @rohan32 :highfive:

Going stock on my replacement device tomorrow so I'll be giving this a whirl. Appreciate you sharing it and working on it. Sure do miss me some AOKP though

Nice to see you here! Kudos

How do I go from Flash kernel to this? I am on Android P stock.

trizzv said:
How do I go from Flash kernel to this? I am on Android P stock.
Click to expand...
Click to collapse
Assuming this works on P, I just flashed in twrp over flash kernel and it worked fine.

rohan32 said:
Hahaha good to see you here buddy, been a long time
Click to expand...
Click to collapse
Does this work on Android P?

Is there any reason you disabled fsync? I thought that can be potentially dangerous?

Yeah I m using it on P @trizzvt

dukat0s said:
Yeah I m using it on P @trizzvt
Click to expand...
Click to collapse
Thanks! Did you just flash over another kernel?
Also does wiping dalvik/art wipe memory?

trizzv said:
Does this work on Android P?
Click to expand...
Click to collapse
trizzv said:
Thanks! Did you just flash over another kernel?
Also does wiping dalvik/art wipe memory?
Click to expand...
Click to collapse
This might work on P, but I haven't tested it on P at all, and it doesn't include the latest updates from the P branch from Google, so there might be some compatibility issues (or might not, totally depends on the scope of the changes Google pushed with P that isnt present in the April security update branch, and I haven't gotten the chance to peek at those changes just yet ).
Wiping dalvik/ART caches does not affect memory, it basically just clears the cache that your phone builds over time launching these apps. Totally not strictly necessary though.
mykenyc said:
Is there any reason you disabled fsync? I thought that can be potentially dangerous?
Click to expand...
Click to collapse
Indeed, fsync flushes the file buffers contents to disk immediately, but incurs a small performance hit. With fsync disabled, the buffers are still flushed to disk, but just not as frequently, so there is a potential for data loss in some rare conditions, but most likely not. I definitely get someone's concern about disabling it though which is why you can toggle it via a kernel manager app .

Flashed this on my backup p2xl yesterday and the battery life has been great. I think I might move it over to my daily driver and give it a full run. Thanks!
@rohan32 - didn't you Dev for a some Nexus devices as well? I remember the name.

Great kernel. Really impressed with performance and battery life
Sent from my Pixel 2 XL using Tapatalk

piyush7243 said:
Great kernel. Really impressed with performance and battery life
Click to expand...
Click to collapse
This kernal is very good for battery life and smooth performance. Thanks to Mr Rohan for such nice kernal.

Nice so far. I just flashed over Flash. I was happy with Flash so I am sure this will be just as good. Kernel feels smooth, battery feels like it is improving, even slightly better intimacy at home which makes the wife happy. What a kernel!
Thank you @rohan32

@rohan32 i just flashed your kernel and fast charging doesn't work for me
I reported the same issue in flash kernel thread and @nathanchance figured the issue and was related to pixel having two different battery cells or like that and he fixed that.
Can you please update it?
Cheers ?
Sent from my Google Pixel 2 XL using XDA Labs

Thanks for the nice kernel. Love especially the mac randomation! Only thing missing is dtw. Would be great if you can add this gesture maybe in mai release.

Related

[KERNEL][OPO] FrancoKernel - r57 - 16th September - LineageOS 15.1 custom roms

Hi all.
Compatibility:
Builds until r44 are for CyanogenOS 5.1.1 YOG7DASK1 only.
Builds starting with r45 are for Android Marshmallow 6.0.1 CyanogenOS. Currently r45 is the last release compatible with COS 6.0.1.
Builds starting with r46 are compatible with Android Nougat 7.1.2 LineageOS and roms built from its sources.
Builds starting with r56 are compatible with Android Oreo 8.1 LineageOS and roms built from its sources.
Download:
https://francokernel.app
Installation:
Flash the zip in your recovery
or
Auto-flash from Franco Kernel Updater app
Features:
1 - Legendary battery life
2 - Flash & forget
3 - Typical interfaces like display adjustments, sound control, vibration control, and all that boring stuff
4 - Bypasses the verified boot flag for Android Pay compatibility (root still breaks Android Pay but that's your own problem)
5 - Idle power consumption reduced to the absolute minimum (if you have wakelocks from 3rd party apps you're obviously on your own)
6 - Support for FKUpdater's Performance Profiles
7 - Magical support, I'm here every day, checking posts almost hourly, ready to help anytime (well, unless you fail to read the OP, which contains most info you need)
8 - Seemless integration with my app FKUpdater
9 - All cores are unlocked and unshackled. Mimicking other SD801 devices all cores are online and hit idle states when they don't have tasks running, instead of going offline. Performance is greatly improved because all cores are readily available when needed
10 - Some famous wakelocks are blocked and disabled by default for maximum battery life through out the day
11 - No crap placebo patches, or "magical" optimizations
12 - Probably more, check my github for all the details - the code speaks for itself
Changelog:
https://francokernel.app
Scroll down, choose your device & select the latest release to see the changelog.
Source:
https://github.com/franciscofranco/bacon
Follow me on the interwebs
Google+
Twitter
Google+ FK community
https://plus.google.com/u/0/communities/117966512071636110546
Kernel Manager for Franco Kernel demo
Disclaimer to moderators:
Slight OT is fine, but when users decide to act stupid they should be dealt with with the appropriate means - its really annoying for me when OT turns crazy. Please put the warning/ban hammer anytime any of you think there's lack of respect and/or too much unwanted OT crap - but if it doesn't meet this criteria let the OT posts alone. Thank you.
Cheers!
Holy mother first I didn't want this phone but maybe I should get it now
Sent from my Nexus 5 using XDA Premium 4 mobile app
Thanks for your work! Working great here, can't wait to see what the battery life is like.
Nice work... why does title say N5?
master.peterm said:
Nice work... why does title say N5?
Click to expand...
Click to collapse
Because I'm a moron and didn't fix my copy/pasta :victory:
Thanks Franco.... Finally we got the supercool kernal for OPO.......
franciscofranco said:
Because I'm a moron and didn't fix my copy/pasta :victory:
Click to expand...
Click to collapse
So in a sense I sent the first error report of this kernel
franco!!!!
---------- Post added at 04:24 AM ---------- Previous post was at 04:17 AM ----------
FKU gave a warning when I try to flash R1 saying it might not be compatible with cyanogenmod, so is it safe to flash away?
Thank you so much Franco! Now we just need our god-forsaken phones to ship....
tpboi said:
franco!!!!
---------- Post added at 04:24 AM ---------- Previous post was at 04:17 AM ----------
FKU gave a warning when I try to flash R1 saying it might not be compatible with cyanogenmod, so is it safe to flash away?
Click to expand...
Click to collapse
Yes flash away. I've placed that warning for other phones (for example N5, N4 etc) but forgot to add small hook to remove the warning for this device.
franciscofranco said:
Yes flash away. I've placed that warning for other phones (for example N5, N4 etc) but forgot to add small hook to remove the warning for this device.
Click to expand...
Click to collapse
Hey Franco, When will be the color control function going to enable ?
sshinde555 said:
Hey Franco, When will be the color control function going to enable ?
Click to expand...
Click to collapse
We already have color control interface in the Kernel by supercurio, I've asked him to expose the controls to userspace. Once that is available I'll add the code to the app.
franciscofranco said:
We already have color control interface in the Kernel by supercurio, I've asked him to expose the controls to userspace. Once that is available I'll add the code to the app.
Click to expand...
Click to collapse
Cool.... Thanks Franco.........
Nice, so glad I was able to get you the invite from Corey earlier then they gave me mine to give. Going to flash this bad boy now.
Gr8! i'm very happy to see franco kernel on OPO.:sly:i'll download and test later, thanks for your work.
Sent from my One using XDA Premium 4 mobile app
w00t w00t: flashed!
danielvc said:
w00t w00t: flashed!
Click to expand...
Click to collapse
thanks franco!
can you post the "features"?
thanks
Thanks Franco!
Is it true, one hour more onscreen time?
That's amazing, i'm already having 6/7h of screen time!
Downloading
Thanks Tuga community. Your app is in playstore is compatible with the opo?
Thanks
Great kernel!!! When I receive my opo i try

[KERNEL][CM/MIUI][Mi3/Mi4][GPL] Stuxnet+

What is this:
This is Stuxnet a custom kernel for Android, this kernel focuses on simplicity and stabiilty. All features on this kernel are based on long hours of testing and all are thoroughly tested to give end users the best experience for their device.
Stuxnet is mostly stock with optimizations and features that are often used by users that are not affecting performance on their device. Future development of this kernel will focus on Performance and Stability.
So enough with the intro and start testing this on your device.
Features:
Based on Xiaomi kernel source
Fully Optimized Kernel
Sound Control
FSYNC Control
Voltage Control
MSM Hotplug
Thermal Enhancements
USB Fast Charge
Check Github and/or Gitlab for full changelog
How To's:
Install in recovery
No need to wipe (unless you want to wipe your a$$)
Reboot
Kiss yo' mama
***** Slap an iPhone user.. Smile!
Enjoy
Credits:
Google
CyanogenMod
Linux
SimpleAOSP
and all custom kernel devs
Download:
CM
MIUI
Kernel has two builds Stable and Nightlies
WARNING!
This kernel is only compatible on CM based ROMs.​
~End
Donations:
@morpheus620 - $15
@gary138.138 - $15
@Riichard63 - $20
Thanks man!
Will test it soon! Sorry for the Noob question but can you tell me if it can be used for building cm11. I am a noob in android development.
I'm using this at the moment on XenonHD. So far everything is working. And that smoothness....its off the charts! xD Btw Dev @Gnome, can you add Lionheart and Sio on the next release?
And LCD KCAL please.
Gnome said:
One More!
Click to expand...
Click to collapse
Thanks
Sent from my MI 3W using XDA Free mobile app
I just flashed this kernel on the XeonHD 4.25 build.
Hoping that they are good partners.
This is just a preview, I'll be adding some stuff from my previous kernels soon... just checkout my git for changelogs and also check the download page for new releases.
Gnome said:
This is just a preview, I'll be adding some stuff from my previous kernels soon... just checkout my git for changelogs and also check the download page for new releases.
Click to expand...
Click to collapse
Ooohh yeaahh! E. A. G. E. R. L. Y waiting. XD
Working on Bitti09's CM12.1 confirmed
No new governors yet! Waiting!
On Revolution Remix rom, i got camera fixed, and after using the GPS fix app, it fix the gps fery fast.. so, so far everything working!
Thanks a lot, @Gnome!
Jhayzt said:
And LCD KCAL please.
Click to expand...
Click to collapse
+1
I used KCAL controls on StellAR and the difference was AMAZING! (alas StellAR doesn't gel with XenonHD for me)
SharksT said:
On Revolution Remix rom, i got camera fixed, and after using the GPS fix app, it fix the gps fery fast.. so, so far everything working!
Click to expand...
Click to collapse
*Resurrection
UPDATE: @Gnome I flashed the kernel, everything seems to be working fine (WiFi, Sound mods etc).
But call bug v1 seems to be present (touchscreen active during call)...can't comment about call bug v2 (screen-off death) yet, but I hope it's not here, cuz I plan to use this kernel as my driver...
The Dork Knight Rises said:
UPDATE: @Gnome I flashed the kernel, everything seems to be working fine (WiFi, Sound mods etc).
But call bug v1 seems to be present (touchscreen active during call)...can't comment about call bug v2 (screen-off death) yet, but I hope it's not here, cuz I plan to use this kernel as my driver...
Click to expand...
Click to collapse
Sorry, can you make difference in V1 call bug and V2.
I missed something obviously
P.s. OP thanks for 1st OPEN ANDROID development thread wort mention
Gonna try after Worker's day
sudy_freak said:
Sorry, can you make difference in V1 call bug and V2.
I missed something obviously
P.s. OP thanks for 1st OPEN ANDROID development thread wort mention
Gonna try after Worker's day
Click to expand...
Click to collapse
Yeah, call bug v1 is something most ppl who recently joined the Mi3 forums won't have faced.
It is one of the major bugs (aside from deep sleep reboot) that was there in the original Lollipop ROMs for cancro. It was fixed a long time ago (by audahadi and Bitti I believe, as Ivan's ROMs had the bug for a long time afterwards too).
The bug was that the touchscreen would remain active when you're in a call and the proximity sensor turns the screen off. It would cause the notification/quicksettings panel to be pulled down or brightness to be changed due to contact with ear or cheeks. Other more complex things could also happen like when I once turned on Airplane mode while talking and got disconnected :laugh:
And call bug v2 is a new bug that seems to affect ROMs (except I believe Ivan's AOSP and SOKP which switched to Ivans kernel I think) since 5.1...
While calling (or sometimes VERY RARELY while doing something else) the phone kind of hangs, the screen goes dark and it goes into a screen of death mode. Nothing can be done, your only option is to press and hold Power button for a very long time (approx 12-15 secs; much longer than a normal hard reset ~8secs) to hard reboot your phone.
Hope you got it. :good:
PS. Yes, try this kernel. You won't be disappointed.
Added some under the hood stuff on 3rd build, also check if fast charge works, since it works fine on my end.
Gnome said:
Added some under the hood stuff on 3rd build, also check if fast charge works, since it works fine on my end.
Click to expand...
Click to collapse
Thanks Dev @Gnome! I'm trying it at the moment.
Wow, using alpha 3 working great even on temasek 10.6 by moonlight, just waiting another hotplug, IO Scheduler, CPU & GPU Governors, btw can you make a little downclock and overclock cpu freq tables? Thx for great kernel....
Gnome said:
Added some under the hood stuff on 3rd build, also check if fast charge works, since it works fine on my end.
Click to expand...
Click to collapse
Fast charge!
Very useful!
I'll try this asap.:laugh:
@Gnome , Buddy thanks for your work gonna try it soon
just a query
there are two build dated 30-4-15
Alpha 3 and Alpha Z
whats the difference which one to flash
ZenR2 said:
@Gnome , Buddy thanks for your work gonna try it soon
just a query
there are two build dated 30-4-15
Alpha 3 and Alpha Z
whats the difference which one to flash
Click to expand...
Click to collapse
dont mind the Lettered version, just flash the numbers.
Gnome said:
dont mind the Lettered version, just flash the numbers.
Click to expand...
Click to collapse
buddy flashed the alpha 3 build , but now wifi is not working on latest Xenon Hd rom

deleted

Deleted.
XDA:DevDB Information
deleted, ROM for the OnePlus One
Contributors
TheCrazyLex
ROM OS Version: 2.3.x Gingerbread
Version Information
Status: Testing
Created 2017-11-12
Last Updated 2017-11-12
Reserved
Reserved
Nice. Its great to see such dev love for the bacon. And thanks. Will try this out.
what is the crispy toolchain based off? Linaro, google, or straight from GNU?
_ASSASSIN_ said:
what is the crispy toolchain based off? Linaro, google, or straight from GNU?
Click to expand...
Click to collapse
It is based on gnu, but many patches from google and linaro are also there.
anirudhvk said:
Nice. Its great to see such dev love for the bacon. And thanks. Will try this out.
Click to expand...
Click to collapse
Thank you
Make sure you give me feedback
Congratulations
New kernel for my opo? it's only right that I test it out
Happy to see new support for ours Opo...
Thanks!
Congrats for the new kernel and welcome to bacon development. However i have just two queries,
1. Arch Power: i asked about this to the Tyr kernel dev and he specifically mentioned that this option should be disabled for better stability and performance. Is it enable by default in your kernel? Ofcourse it's your work and i respect your decisions as well.
2. Transparent Compression: I remember when it was first introduced by CM and it created so many issues on devices and finally many kernel devs disabled it. Any specific reasons to enable it? My info can be a bit outdated so forgive me if i have asked a wrong question.
Deleted
Added to OnePlus One index thread:
[INDEX] OnePlus One Resources Compilation Roll-Up
TheCrazyLex said:
Hey,
thanks. I like it if users ask me questions
1. Yes, in my kernel Arch Power is enabled by default. It is true that it has a small negative impact on battery life, however it improves performance greatly. I am still doing tests with Arch Power so if I have my test results I will decide if I'll turn it off or leave it on. Make sure you watch my Changelog
2. It is true that Transparent Compression v1 had many issues when it was introduced, however in the meantime it was patched and the only major flaw it has now is big memory usage. I believe on the OPO with 3GB RAM that wouldn't be a big problem. But I am not using Transparent Compression v1, I am using (the not yet released) Transparent Compression v2 brings a big boost in i/o speed and because of that also in performance. It is still WIP and has problems like dirty pages, but the pros of TC v2 are that big that I cannot disable it
I hope I could answer all of your questions
Alex
Click to expand...
Click to collapse
Wow! Those were some nice explanations. Thanks bro. Looking forward to try in on COS12.1.
Thank you for this new kernel man good work!!!
Now I'm firing up the COS just because of this. The stock COS kernel was a terrible.
The features listed sounds interesting and looks promising. How confident are you able to achieve a balance between battery life and performance when a lot of your changes seems to use a lot more power?
Deleted
Any change of add f2fs support in the future?
@TheCrazyLex
I have see with Tapatalk your thread have preview of your first page image.
How can I do this ? I never find a solution.
Thank a lot
Sent from my A0001
ak said:
@TheCrazyLex
I have see with Tapatalk your thread have preview of your first page image.
How can I do this ? I never find a solution.
Thank a lot
Sent from my A0001
Click to expand...
Click to collapse
haha! lol AK. I remember you're still figuring it out from the last month or so. :silly: :silly:

[Kernel] visi0nary's kernel alternative build | v1.6.1

Howdy!
I hereby offer an alternative build of the latest visi0nary's kernel.
The original thread is located here
Please note that the credits remain with BlueFlame4 (the maker of visi0nary's kernel), as this is the same kernel, just differently built.
Some years ago I spent many months trying to optimize UI smoothness and power consumption for a kernel of a different device, in which I succeeded.
From this time I remember some build flags and kernel config settings that improved (scrolling) smoothness and power consumtion for that device at that time.
So, in an attempt to do the same for the P9000, I re-built the latest visionary's kernel with the following differences:
different/improved build flags
minor changes in kernel defconfig
compiled using a self-compiled sabermod toolchain
With these changes in the build process I try to achieve the following things:
improved smoothness/snappiness of the UI (NOT higher benchmarks - I just want the user experience to be as smooth as possible, benchmarks do not really matter)
improved (lower) power consumption
The built kernel feels improved in smoothness to me, but this might be my own biased opinion.
Anyway, I would appreciate, if some of you good people could use this kernel as a daily driver, in order to see after a few days, if there are really any noticable improvements over the original build of visi0nary's kernel. Please report back in this thread, thank you.​
Installation: just flash in recovery - delete cache & dalvik cache afterwards (also in recovery, after kernel flash)
Attention: this build is not for cyanogenmod - it's for Stock P8000 ROM or other Stock-based ROMs like Eragon (I'm using it on the latest Eragon myself).
To verify that you are running the alternative build, you will see a "-gueste" (that's me) appendend to the kernel version number (see attached screenshot).
Thanks mate.
I will flash it to See if something is different/improved
Wish you all the best for this project!
Thanks Allways glad to see effort.
Testing will return with feedback.
Thanks for the kernel. I've just flashed it and so far I see that when you go directly to the battery menu from the notification bar, that menu is much snappier. On the stock and on visionary's kernel you had to wait a little bit to see the details of specific apps draining the battery. That's the feedback which I can say now, I'll try to give information about the power consumption in the future. Thanks for developing!
Thanks in advance at all.
For me so far power consumption seems to be very good (while it is not bad on the original build either). I'm anxious to see, how it will compare to the original build after 2 more days.
Hello! I have just fleshed the phone with this kernel. Seems great for now. Will update you for the power consumption in the near future.
P.S Im so happy that someone has taken over this project, and I hope it will keep you developing it!
boka18 said:
Hello! I have just fleshed the phone with this kernel. Seems great for now. Will update you for the power consumption in the near future.
P.S Im so happy that someone has taken over this project, and I hope it will keep you developing it!
Click to expand...
Click to collapse
Actually it is still BlueFlame4's project, as the changes I performed so far do not qualify for this project to be standalone. For now I only intend to make improved builds for visi0nary's kernel, but not my own kernel.
Making an own kernel out of this would include things like porting stuff to the kernel to enable new features - like SIO scheduler or "Snappy compression" for ZRAM, or even an enhanced kernel tweaking tool that allows the user to set additional kernel settings and tweaks in Android GUI.
But this is not the purpose of this thread/project
Stefan Gündhör said:
Actually it is still BlueFlame4's project, as the changes I performed so far do not qualify for this project to be standalone. For now I only intend to make improved builds for visi0nary's kernel, but not my own kernel.
Making an own kernel out of this would include things like porting stuff to the kernel to enable new features - like SIO scheduler or "Snappy compression" for ZRAM, or even an enhanced kernel tweaking tool that allows the user to set additional kernel settings and tweaks in Android GUI.
But this is not the purpose of this thread/project
Click to expand...
Click to collapse
Feel free - that's the spirit of open source! My P8000 is already on eBay so I'll visit this forum less and less. It's good to see people picking up my work though!
Stefan Gündhör said:
Actually it is still BlueFlame4's project, as the changes I performed so far do not qualify for this project to be standalone. For now I only intend to make improved builds for visi0nary's kernel, but not my own kernel.
Making an own kernel out of this would include things like porting stuff to the kernel to enable new features - like SIO scheduler or "Snappy compression" for ZRAM, or even an enhanced kernel tweaking tool that allows the user to set additional kernel settings and tweaks in Android GUI.
But this is not the purpose of this thread/project
Click to expand...
Click to collapse
I understand completely, but I DO hope that u will be able to continue optimising this great kernel!
What new in this kernel?
What the bug fix?
Okalash said:
What new in this kernel?
What the bug fix?
Click to expand...
Click to collapse
Pro Tip: Read the OP :laugh:
For me so far battery life seems to be very good.
After 2 days and 10 hours of uptime I still got 42% battery.
Now this value is not very informative, as it depends heavily on the usage of the phone.
Compared to the original build of the kernel at least power consumption seems to be better on my phone.
During phone uptime I occasionally played games (not very long though), was connected to bluetooth and wifi many hours, browsed through the web regularly and had only few and short phone calls. Over night for some hours I was in flight mode, while last night I wasn't.
Thank you for continuing the project! I flashed the rebuilt kernel because I had a "feeling" that the battery performance of the original Visi0nary kernel was somewhat lower than the stock kernel. (But maybe I am mistaken.)
So far I have no problems with the rebuild kernel. It is too early to comment on battery performance.
Does it make sense to run Skeleton's Seeder app (part of Eragon ROM) in conjunction with this custom kernel?
Moreover, is there any chance to port the P7000 kernel scripts that enable Android device encryption into this P8000 kernel/Eragon ROM? See http://forum.xda-developers.com/elephone-p8000/general/dev-cwm-elephone-p8000-t3200296/page11 The lack of device encryption is my main gripe with the P8000. Apart from that, I love this phone.
-Tiz- said:
Does it make sense to run Skeleton's Seeder app (part of Eragon ROM) in conjunction with this custom kernel?
Click to expand...
Click to collapse
This rebuild of visionary's kernel is feature-equivalent to the original build. So, yes, you can use the seeder app (I use it myself).
Regarding device encryption you need to understand that it has been left out of the ROM most likely on purpose, because this is a China-phone, and the chinese government is quite restrictive on encryption. And as Eragon (same as other stock-based ROMs) is based on the stock ROM, this feature is missing there as well.
This means, depending on the effort, Elephone made, to remove this feature from Android, it might be possible to reactivate it, it's just a matter of (testing) time.
I haven't tried with other ROMs like Cyanogenmod, but in theory it should work there.
As far as I have seen, the to enable encryption for P8000 stock and stock-based ROMs we would need to modify one or more scripts of the P8000 ramdisk (for example the russian guy you linked added in init.environ.rc:
Code:
export LD_PRELOAD libsigchain.so
And there are also a couple of other differences in the other rc scripts. It's not exactly clear (to me), which changes in the end are required for encryption to be enabled. Also we don't know if after these changes, the encryption option will magically appear in the device settings, or if we need to enhance the menu ourselves.
Furthermore, the russian guy mentions, that we might have to modify and rebuild the sepolicy binary file located in the ramdisk, in order to get selinux (security enhanced linux) to permit our changes (but I don't know if we would need that just for the encryption feature, as init.d already works for P8000 as opposed to P7000 - correct me if I'm wrong).
So to sum up, this sounds like a lot of testing, which I personally don't have the time for But maybe someone else does.
Don't take the Android encryption feature too seriously - at least not, if you are trying to hide from government. However, if you are trying to protect your data from normal people, it surely would be nice to have.
Stefan Gündhör said:
Tin order to get selinux (security enhanced linux) to permit our changes (but I don't know if we would need that just for the encryption feature, as init.d already works for P8000 as opposed to P7000 - correct me if I'm wrong). ...
However, if you are trying to protect your data from normal people, it surely would be nice to have.
Click to expand...
Click to collapse
Thanks. It is also my understanding that init.d already works for Eragon ROM. Therefore, I was hoping that it might be relatively easy to enable encryption. On the P7000, it seems that the menus simply appeared once the scripts were implemented. Wooster even talked about the possibility to make a "blind" patch for the the P8000.
Moreover, I agree that Android device encryption might not be 100% bullet-proof. However, it would allow me and others to sufficiently protect private email passwords and work-related data (e.g. if the phone gets lost or stolen). By contrast, the screen lock is no protection at all. In particular, if a custom recovery is installed ...
It appears that I am not the only P8000 owner who has a vital interest in device encryption:
http://bbs.elephone.hk/thread-6924-1-1.html#.Vow51hBukwE
http://bbs.elephone.hk/thread-9012-1-1.html#.Vow51xBukwE
Tonight I will download and test it
I don't care much about encryption, but God, I would pay for someone who could actually SOLVE the sub-15% sudden battery charge. Any chance you can look into/fix it, Stefan? You look like one of our potential hopes, haha
---------- Post added at 02:42 PM ---------- Previous post was at 02:41 PM ----------
BlueFlame4 said:
Feel free - that's the spirit of open source! My P8000 is already on eBay so I'll visit this forum less and less. It's good to see people picking up my work though!
Click to expand...
Click to collapse
Hi, sorry to ask but why exactly? Got a new/better phone? Got tired of the P8000 bugs/camera? In time, which phone did you get?
Best regards
Rizera said:
Hi, sorry to ask but why exactly? Got a new/better phone? Got tired of the P8000 bugs/camera? In time, which phone did you get?
Best regards
Click to expand...
Click to collapse
No problem, haha. Well, I bought this phone because I want to learn how to port CM or ROMs in general onto other devices and how Android works internally. Unfortunately MediaTek SoCs are quite beginner-unfriendly so I'll go for Qualcomm for now. Just got my Elephone Trunk btw Also there's basically zero "from source" development going on the the P8000 and it's not really fun to do all the things completely alone.
Cheers!
1.
Battery performance of the newly built kernel seems to be good. Heavy WLAN browsing still quickly kills the battery. But I could imagine that this is a hardware issue (power inefficient Mediatek WLAN modem?).
2.
"Also there's basically zero "from source" development going on the the P8000 and it's not really fun to do all the things completely alone. " Sad but true.
Announcing kernel "guestekrnl" (based on the latest version of visi0nary's kernel): http://forum.xda-developers.com/elephone-p8000/orig-development/kernel-guestekrnl-v1-6-2-t3287518

[8.1][LOS-based][ROM/Kernel]Mackay ROM

A few years ago, I have been building Mackay ROM, based on CyanogenMod for a number of devices. Due to being busy at work, I have stopped with that. I recently picked it up with again with a Mackay ROM based on LineageOS.
It is actually LineageOS, with a few extras that I always miss:
-SU build into the ROM
-No hash sign when using SU
-Network traffic speed option for statusbar
-OMS Substratum theming
-OmniClock in stead of Lineage Desk Clock
The bootanimation is made by my brother. It is the family coat of arms of the Scottish Mackay clan to which my family is linked.
I try to build this ROM on a weekly basis, but it mainly depends on when interesting features are available/merged
Download:
AndroidFileHost
Installation:
-Make sure you have recent TWRP installed (3.2.1-1)
-Make sure you have recent hardware blobs from MIUI (minimum 8.1.4)
-gapps can only be flashed on clean installs
-clean install (factory reset) if coming from another ROM, dirty flash if updating
I am open to suggestions for additions, but I prefer a clean ROM, just some basic extras over stock LineageOS has always been my approach for Mackay ROMs.
Credits:
This ROM would never have been possible without the hard work of bgcngm to make LineageOS for our mi5 and the other LineageOS developers.
Source:
ROM: https://github.com/LineageOS
Kernel: https://github.com/kasperhettinga/android_kernel_xiaomi_msm8996
XDA:DevDB Information
Mackay ROM, ROM for the Xiaomi Mi 5
Contributors
kasper_h
ROM OS Version: 8.x Oreo
Based On: LineageOS
Version Information
Status: Beta
Created 2017-04-26
Last Updated 2018-04-02
Reserved
Hi, has your Mi5 experience random mobile signal drop? LTE signal drop?
Has this issue been resolved in this ROM? Thank you!
lenra06 said:
Hi, has your Mi5 experience random mobile signal drop? LTE signal drop?
Has this issue been resolved in this ROM? Thank you!
Click to expand...
Click to collapse
I don't use LTE, so I can't say for sure. In general, because this ROM follows LineageOS, it will have to deal with the same problems as well.
kasper_h said:
I don't use LTE, so I can't say for sure. In general, because this ROM follows LineageOS, it will have to deal with the same problems as well.
Click to expand...
Click to collapse
Thanks! Following up, any mobile or data signal drops encountered?
lenra06 said:
Thanks! Following up, any mobile or data signal drops encountered?
Click to expand...
Click to collapse
I use it myself in dual-SIM mode and never encounter any signal loss.
hi and thanks for this first of all. I'm surely going to try it, even just for seeing the bootanimation..i love all that matters Scotland.. your country and national anthem, rugby, braveheart etc
personally i don't use LOS for a very few and not so intrusive things i think. first of all date in status bar, like in most all other los roms. could you add it? don't think it would be too intrusive, but it is a real deal breaker for me
other thing i look for is multiple actions for HW buttons (like in RR.. show volume panel, show quick settings panel etc and not only the los standard ones) but that's secondary as i can also use a hw button remapper app for that
ah, and dt2s everywhere in lock screen would be great also!
bye will report after trying your rom!
@kasper_h wow! that is THE surprise. For the young ones in the community, Mackey kernel/rom was the goto option for our Galaxy S(1) ! Glad to have you in this part of the forum. Are you planning on getting involved with the Mi5 kernel business as well?
tested the rom quicky. enabled root in Dev settings for apps but couldn't get root access for mixplorer?
@kasper_h perhaps adding QC3 fix from this commit?
ngoralph said:
@kasper_h perhaps adding QC3 fix from this commit?
Click to expand...
Click to collapse
Thanks, I'll do a build today with that commit to see if it fixes erratic charging behaviour!
georgekav33 said:
@kasper_h wow! that is THE surprise. For the young ones in the community, Mackey kernel/rom was the goto option for our Galaxy S(1) ! Glad to have you in this part of the forum. Are you planning on getting involved with the Mi5 kernel business as well?
Click to expand...
Click to collapse
I still have my S1 lying around, but stopped developing for it long time ago.
At the moment, I first want a robust ROM being build, then I'll look into the kernel as well. On S1, performance depended a lot on the kernel, I haven't seen such spectacular results on mi5 yet.
FcukBloat said:
hi and thanks for this first of all. I'm surely going to try it, even just for seeing the bootanimation..i love all that matters Scotland.. your country and national anthem, rugby, braveheart etc
personally i don't use LOS for a very few and not so intrusive things i think. first of all date in status bar, like in most all other los roms. could you add it? don't think it would be too intrusive, but it is a real deal breaker for me
other thing i look for is multiple actions for HW buttons (like in RR.. show volume panel, show quick settings panel etc and not only the los standard ones) but that's secondary as i can also use a hw button remapper app for that
ah, and dt2s everywhere in lock screen would be great also!
bye will report after trying your rom!
Click to expand...
Click to collapse
Date in statusbar is something I may look into. I actually use the calendar status pro widget, which also gives day of month in the status bar. May other apps can do the same as far as I know.
Remapping HW buttons is not something I'm interested in
kasper_h said:
I still have my S1 lying around, but stopped developing for it long time ago.
At the moment, I first want a robust ROM being build, then I'll look into the kernel as well. On S1, performance depended a lot on the kernel, I haven't seen such spectacular results on mi5 yet.
Click to expand...
Click to collapse
That's true, kernels are more mature now, performance-wise we may not win much (save it for the 32GB Mi5 with mild OC to 2.15Ghz). However, I think that due to Xiaomi's not 'fully' functional sources, there is space for improving the functionality aka charging speed, sound quality, maybe EAS or interactive governor tuning etc. Your expertise on kernel modding would be valuable to this community as well!! thanks
kasper_h said:
Date in statusbar is something I may look into. I actually use the calendar status pro widget, which also gives day of month in the status bar. May other apps can do the same as far as I know.
Remapping HW buttons is not something I'm interested in
Click to expand...
Click to collapse
thanks for the answer! yes I'm using an app right now to visualize the date in status bar in jdc's aosp, but i don't like so much having to use an app just for that
kasper_h said:
Thanks, I'll do a build today with that commit to see if it fixes erratic charging behaviour!
Click to expand...
Click to collapse
OK, so here is a build with the QC3 patch and today's Lineage codebase. Also includes upstream OMS substratum patches:
https://www.androidfilehost.com/?fid=457095661767156880
Seems to work fine for me, will monitor charging speed in coming days.
it seems meanwhile miui released updated kernel sources with working QC code...! :victory:
FcukBloat said:
it seems meanwhile miui released updated kernel sources with working QC code...! :victory:
Click to expand...
Click to collapse
But the version now in the making for LOS still seems to suffer from problems. The latest build I posted few days ago does work with QC.
What a great surprise to see you around here! Another one who was following your work on the i9000. Great times and marvelous phone :') Hope to see more from you for the mi5, for sure trying out this, although RR is my comfort zone since november when i got the phone, hard to beat that loyalty on a phone of mine
Thank you for kasper_h for the old, present and future work!
kasper_h said:
But the version now in the making for LOS still seems to suffer from problems. The latest build I posted few days ago does work with QC.
Click to expand...
Click to collapse
thanks but I can't use this rom for the reasons i poster earlier, so I'm sticking with RR for now. i am trying the boot.img from your rom in RR though, let's see if it fixes QC in RR too for sure it did boot and everything seems to work, so already better than i thought!

Categories

Resources