LineageOS[2018/02/12] - ONE Android Development

P
{
"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"
}
Hello everyone, after long studying both kernel and ROMs, I've decided to start building a ROM of my own.
Download
It is recommended to use F2FS.
Recovery - Wipe - advanced wipe - Select internal card - FS options - Check F2FS and swipe.
Remember that you'll loose everything on your internal memory.
Partition configuration i recomend for best speed:
cache --> F2FS
Internal Data -->F2FS
System --> EXT4
Features:
Updated SQL to 3.22.0
New Kernel
Proguard 6.0
F2FS ready for data and cache
ColorOs Blobs (much better quality) -Coming soon
latest webp
root
Compiled with device specific clang and gcc.
More coming soon
I'm a very practical user, and my aim will be to get a very fluid stable system, at the same time with speed and battery, keeping most stock possible with the optimizations which will improve for real our experience.
Thanks
What works for now:
Everything
​
Join out Google+ community
Big thanks to @RobbieL811 for the patience and help he provided to create these builds.
Thanks also for the experience i won with @ak @savoca @Lord Boeffla @ZaneZam by discussing and learning about the kernel. Big thanks to @dorimanx. Thank you @franciscofranco for commits to improve kernel!
As you might know, all credits go to CyanogenMod Team.
Source Code
OnePlus Thread
If you like my work, please consider a donation.

Frequently asked questions:
You problably wondering why i say is CAF+Google+CM. It's in fact very easy... and i have seen many threads which mislead the interpertation. Google provides AOSP+ kernel patches for the nexus devices which are for our chipset.
Qualcom provides CAF changes which is over linux kernel changes and google changes. (in other words kernel is linux based and frameworks/art/bionic are based on the google stuff which is also based on linux)
We still have CM changes.
So basically how it works? i'll simplify
We use Google as base which includes CAF changes and CM changes... and with this ROM... jgcaap changes
Flashing instructions:
1) Firmware (I'll keep updated always when necessary.)
2) ROM
3) Slim Gapps (don't flash any other)
4) Let me know how it go.
Notes:
1) keep new modem which is on the op, also compatible with oxygen modem (I'll upload)
2) flash rom after rebooting recovery
3) kernel development will be 4.03 and upward.
So why Add CAF on some roms at tittle?
Basically is linux kernel with CAF changes without google or CM changes on kernel (and kernel only)
But let me add you some knowledge here. What you call CAF is in fact Oxygen OS kernel. In other words, what Devs which have on title CAF which is related to 3.4.0 kernel is in fact linux+CAF+Oxygen OS.
Oxygen OS changes is only compatible with blobs which are from oxygen OS, and we do not use it. So because of that, the rom problably won't boot in case you flash a "CAF" kernel
Why some Devs use the called CAF and some CM source?
Depends on preference. I prefer CM because i believe is the best not only on performance but also never had issues with it. But there might be different experiences regarding the phone you have since we all have different batches. There are devs which believe that compability issues might be related to some CM commits. As also, there are devs which think the other way around.
Frequently Asked Questions:
Q: What changes have you made between versions?
A: All changes made are the same as CyanogenMod ROM which can be found here: http://www.cmxlog.com/13/bacon/ and all manual changes will be also stated on 2nd post.
You can also check on Settings --> About where is all the changes .
Q: What is LZ4?
A: Read here about the project: https://github.com/Cyan4973/lz4
Q: Was latest build used LZ4?
A: This is still under testing and I'm working on it. It'll be on the test folder.
Q: What is the test folder?
A: Unstable, and test builds where I seek to study a new configuration to enhance user experience.
Q: Why don't you always share change logs?
A: Limited time. Sorry about it.
Q: I'm confused. I have no clue which build is the latest!
A: You can always download again!
Q: Your site have ads why?
A: Need help on extra wealth to survive. Leave some clicks while you visit is only nice.
Q: I want more from the rom!
A: Me too!
Q: Why you sometimes ignore users?
A: I never ignore, just don't have time to answer all. Please help one another and also use search button. I think you prefer me learning to bring something nice than post all the time right? hehe
Q: I have so many questions to ask you!
A: I can provide many answers! Just ask!
Q: Can I PM you?
A: Only when is urgent!
Q: How to report bugs?
A: Our bugs are CM bugs. Report on JIRA: https://jira.cyanogenmod.org
Q: Are you CyanogenMod maintainer?
A: No, just an user which wants to have better builds possible. But would be nice to see CM adding me to the contributions list.
Q: Which Firmware do you use?
A: Download here: http://download.jgcaap.xyz/files/oneplusone/firmware/ as I'll provide the firmware there.
Q: Why Slim gaaps? Open Gaaps are so much cool!
A: Open Gaaps has provided many unstable issues which makes the phone unusable until a clean format. Slim gaaps have shown to be better on that.
Q: Why some buttons of UKM don't work?
A: Need time to improve that..
Q: I want an update app to auto update roms. To lazy to check the thread!
A: I understand, for now is not feasible to do it as I need time to analyse and understand best solution as I update tool-chains regularly and also is not my priority. Remember time is limited for me.
Q: Why picture is upside down?
A: Ask the app developer to fix it as it mounts incorrectly.
Q: But upside down is from stock app you have on rom?
A: You problably changed kernel. Either use stock or a version which supports the find7 blobs.
Q: Why does the Rom charge slow ? Please add quick charge feature!
A: Quick Charge is not available for our device, what is available is the option to lower or increase the mAh input of the charger, which will lead to a slower or faster charging process. This has been lowered to save the battery lifetime, because if you heat to much the battery the acids start to become basic and loose it's capacity to store electricity. But you still have the option to change this by flashing UKM (which is available on the server) and by installing synapse. Here is another thing I like to avoid:
http://www.phonearena.com/news/OnePlus-One-bursts-into-flames-while-charging-in-India_id84509
Q: Why not overclock?
A: Two reasons. One it damages the device. Second makes it heat, and if you read the answer before this question, you'll understand easily that it'll stress battery and make it loose its battery lifetime faster. as also it'll degrade the inboard components faster. Remember your phone is not a toy and there can be other damages done.
Q: Are you responsible for any damages we take?
A: Everything is tested, and I use it daily. If you have any damages you can only contact the company OnePlus to see if the warranty covers it. I am not responsible for any damages you have with your device.
Q: Can you add a bunch of features to kernel ? I want 20 schedulers!
A: Kernel has to be small. So i'll only add the necessary.
Q: Can you compile with O3? Or Just Archi? I heard is super cool.
A: Already was on that path and quickly learned that the force of the light is the way. May the force be with you.

The changelog is based on CM changelog plus the modifications anounced.
Changelog:
19/11/2016
merged OMS
merged upstream libpng
synced with cm
14/11/2016
Specific device clang, specific gcc toolchain
GPS fixed, selinux fixed, Google setup available.
08/11/2016
New Clang Toolchain
07/11/2016
Sqlite 3.15..1, webp, proguard 5.3.1, new kernel.
06/11/2016
Camera completly fixed

Hey bud! How's CM 14 looking??? Still missing a bunch of features?

RobbieL811 said:
Hey bud! How's CM 14 looking??? Still missing a bunch of features?
Click to expand...
Click to collapse
I guess . But i manage to make it boot with CM sources.

Congrats for making it boot! After a long battle everything has a reward ?

jgcaap said:
I guess . But i manage to make it boot with CM sources.
Click to expand...
Click to collapse
Nice! You gonna start adding features back in or just provide builds from straight CM sources?

RobbieL811 said:
Nice! You gonna start adding features back in or just provide builds from straight CM sources?
Click to expand...
Click to collapse
first fix stuff... later we add features. Step by step.

jgcaap said:
first fix stuff... later we add features. Step by step.
Click to expand...
Click to collapse
Yup, I cannot afford a phone that can't call Which firmware do you recommend? The one in your download site? ( this one )
Congrats.

fmc000 said:
Yup, I cannot afford a phone that can't call Which firmware do you recommend? The one in your download site? ( this one )
Congrats.
Click to expand...
Click to collapse
Will fix that soon as also camera.

As of now not a daily driver..
Broken
Phone (instant reboot)
Camera (can't connect)
Limited button rebinding (Some work.. ?*Recents, voice search, search, and screen off only.. ?*The rest are broken)
Battery customization
Screen off gestures (haptic feedbacktriggers, but no action)
lock clock widget (trying to set up weather FC's)
What works
The rest..
Remember, this is an alpha build...
Don't ask for sot
Don't ask for features
Don't report bugs without logs or details on how to reproduce them..
Don't dirty flash from another CM ROM!!
---------- Post added at 08:31 PM ---------- Previous post was at 08:23 PM ----------
fmc000 said:
Yup, I cannot afford a phone that can't call Which firmware do you recommend? The one in your download site? ( this one )
Congrats.
Click to expand...
Click to collapse
No issues here on 241..

Setting.Out said:
No issues here on 241..
Click to expand...
Click to collapse
Thanks but I'm looking for different options, 241 doesn't work as good as H2OS firmware for me. The download site contains a different firmware so I hope that we can choose between different packages.

fmc000 said:
Thanks but I'm looking for different options, 241 doesn't work as good as H2OS firmware for me. The download site contains a different firmware so I hope that we can choose between different packages.
Click to expand...
Click to collapse
Time will tell.. Can't test now, phone calls are broken.. Lol

@jgcaap
here's the fix for calls issue. https://gitlab.com/amardeep434/ndevice/commit/80d5248f5b4a1f436c16801a17793e04b738db81
and for the camera stuff https://gitlab.com/amardeep434/android_frameworks_av/commits/n all the commits of 13 sep except for the merge
Cheers

amardeep434 said:
@jgcaap
here's the fix for calls issue. https://gitlab.com/amardeep434/ndevice/commit/80d5248f5b4a1f436c16801a17793e04b738db81
and for the camera stuff https://gitlab.com/amardeep434/android_frameworks_av/commits/n all the commits of 13 sep except for the merge
Cheers
Click to expand...
Click to collapse
I posted a link to this on his hangouts, he said he's pretty sure what's missing.. Thanks
Fingers crossed..

amardeep434 said:
@jgcaap
here's the fix for calls issue. https://gitlab.com/amardeep434/ndevice/commit/80d5248f5b4a1f436c16801a17793e04b738db81
and for the camera stuff https://gitlab.com/amardeep434/android_frameworks_av/commits/n all the commits of 13 sep except for the merge
Cheers
Click to expand...
Click to collapse
that on the calls is really necessary ? I think is something related to cm phone service. I'll try out your commit thanks
Camera i'm still investigating

Setting.Out said:
I posted a link to this on his hangouts, he said he's pretty sure what's missing.. Thanks
Fingers crossed..
Click to expand...
Click to collapse
np mate
---------- Post added at 08:51 PM ---------- Previous post was at 08:48 PM ----------
jgcaap said:
that on the calls is really necessary ? I think is something related to cm phone service. I'll try out your commit thanks
Camera i'm still investigating
Click to expand...
Click to collapse
yes as far as for the calls that thing fixed it for me

I assume this will eventually have ColorOS camera blobs like CM13?

mp3deviant721 said:
I assume this will eventually have ColorOS camera blobs like CM13?
Click to expand...
Click to collapse
maybe
Sent from my A0001 using Tapatalk

mp3deviant721 said:
I assume this will eventually have ColorOS camera blobs like CM13?
Click to expand...
Click to collapse
The features list in the first page already does say coloros blobs so...

Related

[ROM] [KK 4.4.4] VANIR AOSP & COMMMOTIO

OK so before we start let me make something abundantly clear, I am posting this up here on behalf of the Vanir AOSP team, as their ROM is awesome, and it took me longer than the first google to locate it etc etc. There is a link at the bottom of how to find them on G+ and communicate directly with the team. THIS POST ONLY TO CONVEY FILE LOCATIONS FOR OTHERS WHO WISH TO TRY THIS ROM. I will keep it uptodate so that anyone on the S3 can get to it.
{
"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"
}
Vanir was founded on the premise of performance tuning Android. It is based on AOSP, but include features (many of which have been rewritten to be more efficient) from other ROMs.
The webkit, chromium, and skia are aosp/master merged with codeaurora, with linaro fixes on top.
BY LINARO, it means "-O3 -fstrict-aliasing".... not just switching toolchains. At Team Vanir, THEY GO HARD.
Youtube video of 4.4.2 (old)
Features
stock mode - ability revert to stock AOSP code with the exception of a few custom features we chose to keep active
enhanced performance.. longer uptime with less slowdown
custom written CRON and init.d.
UI and graphics improvements
custom navbar, navring, and hardware key features
improved notification handling (active display & halo are in review also)
usability improvements like power reboot menu and sound
animation control
Improved Vanir keyboard
CM's profiles & quicksettings
additional quicksetting tiles
immersive mode
statusbar mods
clock & battery mods
lockscreen blur and other mods
soon to come -> quick cam and flash notifications
busybox, embedded root, init.d, cron etc
yatta yatta yatta
COMMOTIO
Commotio is DHO recook of VANIR-AOSP with cutom features, script changes and themes
check DHOs XDA tread for more info
Credits
Thanks to Peter Alfonso, CM, the Fruits & Veggies Project, Rascarlo, Pawitp, AOKP, GaryD9, Androcom, Chevycam94, Team EOS
Instructions
First time, be gentle:
1. If coming from any other ROM, do a factory reset and wipe /system
2. Proceed with "been around the block instructions"
Been around the block:
1, wipe dalvik and cache
2. Flash ROM
3. Flash Gapps
4. Reboot
VANIR AOSP
http://www.emccann.net/nuclearmistake/VanirAOSPNightlies/i9300/
COMMOTIO
http://www.emccann.net/dho/3-Vanir-mirror/4-nighties/4.4/08-01-2014_nightly_444/
GAPPs
http://www.emccann.net/dho/5-Gapps/Kitkat/
Talk to the Team
https://plus.google.com/communities/111378032131473754160
Or
#vanir on freenode
Donations
If you would like to thank us for our hard work, you can do so here, or you can find Donation links for all of us in the About Team Vanir section of Settings in the ROM:
NuclearMistake
Sonicxml
DHO
PrimeDirective
Styr
XDA:DevDB Information
VANIR AOSP COMMOTIO, ROM for the Samsung Galaxy S III I9300
Contributors
mcgi5sr2, DHO, NuclearMistake, SonicXML PrimeDirective Styr
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.0.x
ROM Firmware Required: Galaxy S3 I9300
Based On: AOSP
Version Information
Status: Testing
Current Stable Version: 082814
Stable Release Date: 2014-09-01
Created 2014-09-01
Last Updated 2014-09-03
will try it, thanks for this mate
it's always good to see new roms
Screenshots?
Any screenshots available? I'm totally willing to test when the screenshots have been released
Neorpowa said:
Any screenshots available? I'm totally willing to test when the screenshots have been released
Click to expand...
Click to collapse
Hey Neorpowa,
Rom doesn;t really need that much testing as it is already very stable. Thanks for the offer though
S0me Screensh0ts... T0 see h0w beauty it is...
Sent from my SM-G900F using XDA Free mobile app
Hello
I have this thread has already been created in March, I hope you do not mind.
[ROM][KK][4.4.4]VanirAOSP [Nightlies] Galaxy SIII I-9300
szunyi77 said:
Hello
I have this thread has already been created in March, I hope you do not mind.
[ROM][KK][4.4.4]VanirAOSP [Nightlies] Galaxy SIII I-9300
Click to expand...
Click to collapse
Hi @szunyi77 ,
sorry didn't mean to double your post. PMed you for resolution, and with info.
As for screens shot I added your cool video link to satisfy for now.
regards
mcgi5sr2 said:
Hi @szunyi77 ,
sorry didn't mean to double your post. PMed you for resolution, and with info.
As for screens shot I added your cool video link to satisfy for now.
regards
Click to expand...
Click to collapse
okay, I was just told ..
Very good rom, I used to try. :good:
Excuse my ignorance, but what's the COMMOTIO ?
Do you have a stable release? Which version should I use, which is stable and there is no problem?
szunyi77 said:
okay, I was just told ..
Very good rom, I used to try. :good:
Excuse my ignorance, but what's the COMMOTIO ?
Do you have a stable release? Which version should I use, which is stable and there is no problem?
Click to expand...
Click to collapse
Commotio is a second rom built on the base of Vanir AOSP. Essentially it is the same underneath, but some people prefer the extras it has. Install either ROM and see which one you prefer yourself. AFAIK all the latest releases are stable.
It's so good to see more Roms coming to i9300:thumbup:
Sent from my XT1022 using XDA Free mobile app
Rumor is the i9305 are having some issues? But i9300 doing great
If so, please report in
Please help us, help you.
Tag me if bug reports. Its the only notification that XDA sends me. Or better yet reports of things working
DHO said:
Rumor is the i9305 are having some issues? But i9300 doing great
If so, please report in
Please help us, help you.
Tag me if bug reports. Its the only notification that XDA sends me. Or better yet reports of things working
Click to expand...
Click to collapse
It was me who reported not working i9305's version
I tried once to grab a logcat and it didn't work, terminal continously waiting for device, while phone was looping Samsung logo. Is there any other way to do it? I will try anyway, maybe this time it will work...
Or.. would a logcat with a custom kernel help a little bit? Even if it booted there was not working cell network. However, then at least I could log anything
Apart from that.. What do you think about a feature to "swipe notification/app from recents to left to open it in floating window"? I think it gives great multitasking possibilities, somehow replacing halo (in my opinion).
Hbohd said:
It was me who reported not working i9305's version
I tried once to grab a logcat and it didn't work, terminal continously waiting for device, while phone was looping Samsung logo. Is there any other way to do it? I will try anyway, maybe this time it will work...
Or.. would a logcat with a custom kernel help a little bit? Even if it booted there was not working cell network. However, then at least I could log anything
Apart from that.. What do you think about a feature to "swipe notification/app from recents to left to open it in floating window"? I think it gives great multitasking possibilities, somehow replacing halo (in my opinion).
Click to expand...
Click to collapse
You need to grab a log with adb
Just like when you root your phone with a USB cable to your computer... but type adb logcat
mcgi5sr2 said:
Commotio is a second rom built on the base of Vanir AOSP. Essentially it is the same underneath, but some people prefer the extras it has. Install either ROM and see which one you prefer yourself. AFAIK all the latest releases are stable.
Click to expand...
Click to collapse
i tried both but apart from some visual differences I could not find any difference.. commotio B70 is still little unstable . i have applied a theme and the in call UI is crashing.. Vanir is comparatively more stable.
Any chance you could use a different naming convention for the nightly Commotio Roms only the past 4 or so that I have downloaded all have the same filename which makes it difficult to identify which is the newer one in CWM when installing and I want to keep the older ones in case something doesn't work. (and before someone replies with a smart comment about deleting or renaming them via a file manager app manually, I am aware thank you but sometimes you just want to flash...) Possibly add the date of compilation into the filename? Thanks.
Hi this rom is omni or cyanogen
Enviado desde mi GT-I9300 mediante Tapatalk
DHO said:
You need to grab a log with adb
Just like when you root your phone with a USB cable to your computer... but type adb logcat
Click to expand...
Click to collapse
Ehh.. I've tried to do it, but I got no log. The sad truth is that I couldn't get any logcat until the phone boots When it boots with my other configuration, logcat worked.
So I think I have to retreat. But why on earth it works great on i9300, but not on i9305? :/
Hbohd said:
Ehh.. I've tried to do it, but I got no log. The sad truth is that I couldn't get any logcat until the phone boots When it boots with my other configuration, logcat worked.
So I think I have to retreat. But why on earth it works great on i9300, but not on i9305? :/
Click to expand...
Click to collapse
Hard to say, I need some place to start. It's likely something easy to fix....
---------- Post added at 09:19 PM ---------- Previous post was at 09:15 PM ----------
Ummm yeaa,...
I think I found it
---------- Post added at 10:11 PM ---------- Previous post was at 09:19 PM ----------
Hbohd said:
Ehh.. I've tried to do it, but I got no log. The sad truth is that I couldn't get any logcat until the phone boots When it boots with my other configuration, logcat worked.
So I think I have to retreat. But why on earth it works great on i9300, but not on i9305? :/
Click to expand...
Click to collapse
Test build up in 9/10/2014 folder
I would says a pretty damn probability of working.
DHO said:
Hard to say, I need some place to start. It's likely something easy to fix....
---------- Post added at 09:19 PM ---------- Previous post was at 09:15 PM ----------
Ummm yeaa,...
I think I found it
---------- Post added at 10:11 PM ---------- Previous post was at 09:19 PM ----------
Test build up in 9/10/2014 folder
I would says a pretty damn probability of working.
Click to expand...
Click to collapse
Just saw 'atomic derpage'
Downloading, will get the answer in a while.
#EDIT
Yeah, finally it works! Pretty damn probability was really high today
Now it's time for testing. Maybe it's not THAT feature-packed like other roms here, but vanir definitely has its own taste
#EDIT2
Few interesting things that might be added to vanir:
- statusbar's clock needs a date next to it (not to feel lonely)
- slimrom's heads up (because they are taking heads up experience to a completely new level) with an option to launch it in floating window (just imagine these multitasking possibilites!!!) and reasonable 'disable on lock screen' feature
- why not to extend multitasking possibilities more and more? https://gerrit.paranoidandroid.co/#/c/4219/
- these are less spectacular, however still might be useful: adding ios-like carrier label in statusbar, battery qs tile showing whether you are charging with AC or USB, removing unneeded keyguard test activites (why would we need something useless?)
I know that vanir isn't such kind of a ROM that you ask for something and simply get it. However, these pointed changes may only improve its greatness and probably encourage more people to use it and stick with it. Also, you developers should feel the difference after applying some of these features
Hbohd said:
Just saw 'atomic derpage'
Downloading, will get the answer in a while.
#EDIT
Yeah, finally it works! Pretty damn probability was really high today
Now it's time for testing. Maybe it's not THAT feature-packed like other roms here, but vanir definitely has its own taste
#EDIT2
Few interesting things that might be added to vanir:
- statusbar's clock needs a date next to it (not to feel lonely)
- slimrom's heads up (because they are taking heads up experience to a completely new level) with an option to launch it in floating window (just imagine these multitasking possibilites!!!) and reasonable 'disable on lock screen' feature
- why not to extend multitasking possibilities more and more? https://gerrit.paranoidandroid.co/#/c/4219/
- these are less spectacular, however still might be useful: adding ios-like carrier label in statusbar, battery qs tile showing whether you are charging with AC or USB, removing unneeded keyguard test activites (why would we need something useless?)
I know that vanir isn't such kind of a ROM that you ask for something and simply get it. However, these pointed changes may only improve its greatness and probably encourage more people to use it and stick with it. Also, you developers should feel the difference after applying some of these features
Click to expand...
Click to collapse
Thanks for the great testing, and probing me to find that bug.
I"ll look over the feature requests. You never know what will be cooked in

[ROM][OFFICIAL][6.0] Omni 6 Nightlies

{
"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"
}
What is Omni?
Omni Gerrit Review
Disclaimer
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this 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. Hard. A lot.
*/
Because of the nature of Xposed framework, NO SUPPORT will be given to those running Xposed framework on Omni 6
CHANGELOG:
Code:
[CENTER]
2016-02-01:
Nightlies started :)
2016-01-22:
-Omni Dialer lookup is back
-Lots of changes/fixes
-Kernel leak fixes
2016-01-06:
First build of the year :)
-Omni JAWS (Just Another Weather System)
-Update to Android 6.0.1 r10 ( Include latest security updates)
2015-12-30:
Last build of the year :)
-Chromium is included in this build, and unless poll results change within the next 2 days, it will remain
-lots of bugfix
2015-12-19:
-New boot annimation
-selinux enforced (use system-less supersu beta to get root)
-some bugfix (check gerrit for the changelog)
2015-12-11:
Android 6.0.1 update
A few backported features and bugfix
2015-12-04:
Silent mode back
some bugfix
2015-11-29:
revert clang usage that was breaking sensors (as seen on CyanogenMOD's github)
Latest commits were actually cherry-picked from mako's device tree on CM-13 github.
2015-11-28:
some QCOM camera fix
some deprecated stuff removal
wifi check added (taken from Nvidia shield)
2015-11-19:
add dex2oat speed filter (speed up initial boot and attempt to fix facebook app cache regeneration at reboot)
2015-11-15:
Update to Android 6 r26
In-call audio fixed, force dex2oat uses no-swap, codecs handling
2015-11-9:
DRM blobs updated (Google play movies works, Netflix should work as well, but I can't test it), some more blobs added ( from Nexus 7 2013 )
2015-11-8 (new build):
Doze power saving mode, drm handling should be fixed, media codec updated
2015-11-8:
Use accelerometer for doze, and custom battery lights
2015-11-7:
First update, bugfix and backports
2015-11-5:
Initial Release[/CENTER]
DOWNLOADS:
Omni 6 Nightlies for Nexus 4 / Mako
You MUST DO A FULL WIPE before flashing nightlies, whether you are coming from homemade builds (aka my builds), or a previous version of OmniROM. Be certain to do a full backup of your data, apps, call logs, sms/text and so on before flashing. If you were to flash nightlies over my own builds or your custom made builds, or any other ROM, you would end in a bootloop
GAPPS must be flashed BEFORE initial boot, they will NOT work properly if you flash them afterwards !!!
Don't update gapps on nightlies update, only initial flash requires it. Updating gapps on next nightly would break those, and ROM would become unusable.
You MUST use this version of supersu, latest beta system less
Supersu beta System less
KNOWN BUGS:
Code:
[CENTER]* You tell me[/CENTER]
Omni only supports TWRP recovery, use any alternate recovery at your own risk.
RECOMMENDED TWRP
Source
OmniROM Source​
Only a few changes are taken from CyanogenMod, but thanks to them for those
CyanogenMod Source​
XDA:DevDB Information
OmniROM 6, ROM for the Google Nexus 4
Contributors
kldoc, MaR-V-iN, Maxwen, Entropy512, Xplodwild, Jiangyi
ROM OS Version: 6.0.x Marshmallow
Based On: AOSP
Version Information
Status: Nightly
Created 2015-11-05
Last Updated 2016-04-25
Reserved
Thanks, I will give it a try
A list with the features would be very appreciated.
dragos281993 said:
A list with the features would be very appreciated.
Click to expand...
Click to collapse
Hi! Wow, Marshmallow includes a ton of features, do you want me to make you a list of them? I don´t think so.
Whatever, features in 6.0 are practically the same than the Omni 5.1.1 ones, just some of them are disabled temporaly.
Wanna know what are the features in 5.1.1? Flash the OmniRom nightly for 5.1.1, or, if you want to make the process faster, directly flash this 6.0 build.
Enjoy!
kldoc said:
Hi! Wow, Marshmallow includes a ton of features, do you want me to make you a list of them? I don´t think so.
Whatever, features in 6.0 are practically the same than the Omni 5.1.1 ones, just some of them are disabled temporaly.
Wanna know what are the features in 5.1.1? Flash the OmniRom nightly for 5.1.1, or, if you want to make the process faster, directly flash this 6.0 build.
Enjoy!
Click to expand...
Click to collapse
I simply asked. All the other ROMs have a list with the basic features in the description, so it was a matter of time before someone came here and asked you for one. Also, flashing a ROM in order to find out what features it has, it's counterproductive. I've got free time when I come home from work, and the last thing I want to do is experiment with ROMs that I have no idea what features include and what don't. I usually read the description of a new ROM, see if it has what I'm interested in, and then decide if I feel like flashing it or not.
Sent from my Nexus 4 using Tapatalk
kldoc said:
Hi! Wow, Marshmallow includes a ton of features, do you want me to make you a list of them? I don´t think so.
Whatever, features in 6.0 are practically the same than the Omni 5.1.1 ones, just some of them are disabled temporaly.
Wanna know what are the features in 5.1.1? Flash the OmniRom nightly for 5.1.1, or, if you want to make the process faster, directly flash this 6.0 build.
Enjoy!
Click to expand...
Click to collapse
Wow, dude, it's just a question
Fatal1ty_93_RUS said:
Wow, dude, it's just a question
Click to expand...
Click to collapse
Actually I said him to write that, just is some kind of advice for all the users.
Backing up current ROM, and testing this ROM is something that could take you just 5 minutes.
Sometimes is really tiring to get messages from hundred of users asking about features, when they can be seen on our OmniRom github or by testing it. We don't provide a feature list as almost all ROMs do, we see that unnecesary, but we asure that the experience with our ROM is going to be great.
Actually the features included for Omni are the next ones:
We are not and probably we never were a feature bloated ROM, as other ROMs do as DU or CM does. Our ROM is just a clean AOSP one with minimal but nice features and with an optimized performance.
We, and also me, will be adding some features to it recently, I just finished yesterday on solving issues for my device, now is time for features.
Anyway sorry if reply was some kind of "unrespecful" but this way I wanted to prevent 50 posts asking for the same think.
I wish you to enjoy the ROM and tell us your feedback
Cheers!
Sent from my A0001 using Tapatalk
kernel source?
brandonabandon said:
kernel source?
Click to expand...
Click to collapse
As mentioned in the main thread, everything is on OmniROM's github or OmniROM's gerrit (in case it's not merged yet).
I try myself to publish non-official builds with available source for everything.
There is one (very tiny) difference between device_lge_mako used in this build and the one present in the non merged commit though, i've added "selinux=permissive" to make your life easier with root process while supersu is still not possible with selinux enabled, but this will never get merged, OmniROM intend to provide a secure ROM.
Here is again the link to OmniROM's github (copy of main thread link with url to kernel repo):
https://github.com/omnirom/android_kernel_lge_mako/tree/android-6.0
Have fun !
EDIT: In case the question rise, kernel is based on the work of Dmitry Ginsberg, except that I did track all the commits in his patch and cherry-picked all of them from google's git, only defconfig was taken from his patch. I removed the cpufreq_stats which is supposedly not implemented in Qualcomm S4 pro, even though some devs are trying to make an implementation, I won't probably include any of this in OmniROM's kernel, this for a few reasons, the first one being that I don't have the C/CPP knowledge to fully understand kernel's changes that "might" break things, second one being that I truly wish Nexus 4 kernel to stay as close as possible to AOSP, which is OmniROM's policy anyway
If one would want to submit patches to support some new features in the kernel, they are more than welcome to do so, patches will be reviewed by people with required experience and knowledge
Not going to try this because of rude dev's....
bdasmith said:
Not going to try this because of rude dev's....
Click to expand...
Click to collapse
Thanks op for the thurough explanation. Im looking to optimize and hack a personal build and was experiencing boot issues.
bdasmith said:
Not going to try this because of rude dev's....
Click to expand...
Click to collapse
As mentioned by @herna, he actually told me to write this answer. I am myself not rude by any mean, and try to give my users as much support as I can. I do work on OmniROM as a hobby, as I'm not even an IT professionally speaking. Currently chain testing gapps packages to be able to recommand one that works perfectly on Omni 6 for Nexus 4.
I am truly sorry if the tone of the message actually did offend people, doing so was not my intention. I published this homemade build to show people progress was being done on OmniROM 6 and let people play a bit with it, but since I knew it was a very early build not meant to be used as a daily driver, that's why I did tag the thread with experimental status, to avoid people with very few free time to actually try to use this ROM as a daily driver, or even features, as many things are yet to be fixed, and that's the reason why @herna actually told me to write this, to avoid the need to give support for bugs that are being solved and need time to be fixed. Because we are all doing this in our free time, none of us is getting paid to do this, we do that by passion for Android and its community.
I once again perfectly understand the message was rude, and I'm sorry if this offended people, I, in future, will avoid to answer with such a tone, and give more complete explanations why some questions can't get straight answers.
In the meantime, I really advise people who don't have much free time to spend on ROM flashing to stay away from this build for now, as it's really intended for people with knowledge and free time to get it running well. Rest assured I'll publish new builds as bugs are being solved in order to improve your experience
Have fun with OmniROM !
kldoc said:
As mentioned by @herna, he actually told me to write this answer. I am myself not rude by any mean, and try to give my users as much support as I can. I do work on OmniROM as a hobby, as I'm not even an IT professionally speaking. Currently chain testing gapps packages to be able to recommand one that works perfectly on Omni 6 for Nexus 4.
I am truly sorry if the tone of the message actually did offend people, doing so was not my intention. I published this homemade build to show people progress was being done on OmniROM 6 and let people play a bit with it, but since I knew it was a very early build not meant to be used as a daily driver, that's why I did tag the thread with experimental status, to avoid people with very few free time to actually try to use this ROM as a daily driver, or even features, as many things are yet to be fixed, and that's the reason why @herna actually told me to write this, to avoid the need to give support for bugs that are being solved and need time to be fixed. Because we are all doing this in our free time, none of us is getting paid to do this, we do that by passion for Android and its community.
I once again perfectly understand the message was rude, and I'm sorry if this offended people, I, in future, will avoid to answer with such a tone, and give more complete explanations why some questions can't get straight answers.
In the meantime, I really advise people who don't have much free time to spend on ROM flashing to stay away from this build for now, as it's really intended for people with knowledge and free time to get it running well. Rest assured I'll publish new builds as bugs are being solved in order to improve your experience
Have fun with OmniROM !
Click to expand...
Click to collapse
Thank you for your kind explanation. I'm willing to experiment now
brandonabandon said:
Thanks op for the thurough explanation. Im looking to optimize and hack a personal build and was experiencing boot issues.
Click to expand...
Click to collapse
You actually need this unmerged commit to be able to boot:
https://gerrit.omnirom.org/#/c/15224/
I didn't merge it yet to allow modifications and keep things clean in the meanwhile, stlport is actually needed, that's the main modification to allow boot if you set selinux to permissive, if you want selinux enforced (no root at the moment), you'll also need the selinux policy changes.
This commit doesn't include permissive selinux, because it's not needed for boot, but if you need it, and don't know how to set it, let me know, i'll give you where and how to set it up.
Hope that solve your boot issue If you still have troubles booting despite that commit, please provide some logs so I can see what's wrong
Have fun
for those who might have issues with Google Keep force closing, I discovered that last version from play store actually doesn't work, you need to install an older one:
http://www.apkmirror.com/apk/google-inc/keep/keep-3-2-435-0-android-apk-download/
I've just uploaded 2 screenshots, don't be alarmed by the "!" next to my wifi icon, I'm in China, google services are blocked, that's also the reason why there's a key, vpn ...
Google keep, Gmail and maps didn't work as expected. As you mentioned Keep kept force closing. Maps and Gmail refused to accept sign in. I downloaded the apks from apkmirror. They work fine now.
The rom is awesome as usual. Thanks kldoc. One feature missing or is a new marshmallow feature is that the phone doesn't unlock after entering just the pin. You have to tap enter.
hashtask said:
Google keep, Gmail and maps didn't work as expected. As you mentioned Keep kept force closing. Maps and Gmail refused to accept sign in. I downloaded the apks from apkmirror. They work fine now.
The rom is awesome as usual. Thanks kldoc. One feature missing or is a new marshmallow feature is that the phone doesn't unlock after entering just the pin. You have to tap enter.
Click to expand...
Click to collapse
Thank you for your feedback ! Really happy to see it went rather well for you
Pin code auto-unlock was an option in Lollipop, have to admit I don't like this security wise. Just checked, and yes, Google removed the option.
I had less issue than you with Gapps, I used banks gapps, that I modified to include Google Now launcher, apart from keep, everything ran well from play store, but I use inbox, not gmail, might be the difference here.
Actually making a new build as I write this mail to verify the update process, will post it here once I'm done verifying that nothing is broken.
I managed to trick location, even if it was much more difficult to accomplish than on Lollipop, allowed me to be located in US and enable google now. Google now on tap also works from what i can see.
kldoc said:
I've just uploaded 2 screenshots, don't be alarmed by the "!" next to my wifi icon, I'm in China, google services are blocked, that's also the reason why there's a key, vpn ...
Click to expand...
Click to collapse
Where are the screenshots?

[ROM][6.0.1][UNOFFICIAL][DEPRECATED] CyanogenMod 13 for OnePlus 2

CyanogenMod 13 for OnePlus 2
{
"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 was the first MM Bootable Rom for the OP2 which was made by me, you can compare the dates of the threads if you would like to. Due to exams and stuff, I had to discontinue building some ROMs, hence I am closing this thread for now so that people do not get confused about which cm to flash! Thanks for supporting OP2 Development!
EDIT: Proof that I got it booting first (For Guys Like Him)
My post | Grarak's words | Old device tree commits
My recommendation: Seraph08's builds or Grarak's builds (on twitter)
Code:
* Your warranty is now void.
* I am not responsible for bricked devices, dead fingerprint scanners, thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about 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.
What? Marshmallow? Now?
Yeah! Finally made it boot. Loads of hard work done!
Ok. So please read the thread fully before flashing. Enjoy the taste of Marshmallow!
But please do not tell me its sweetness! Press the Thanks Button instead of saying Thanks!
If you really want to personally thank me, send me a pm on Telegram. I'm "regalstreak" on Telegram!
Or if you truly happy and mad about me, donate me some Bitcoin!
Here is my Bitcoin address: 1CKcSs8RCnRG1bwERGrRUVZ5Ckrgbe6uVR
If you got any problems, bugs, etc. please mention me here! We will be happy to assist your problem.
One last request. Please do not quote the whole of OP as it makes the thread untidy
If you need nightly builds, go here (They are updated frequently)
Need coolest new features, you go there. Need little stability, you are at the right place..
FAQ is below.
Always read FAQ before asking.
What Works?
Booting!
Display
Touchscreen
WiFi
Bluetooth
Audio
RIL
Camera (Partially)
What Doesn't Work? (WIP)
GPS
Fingerprint
Laser Autofocus
Alert Slider
Downloads
Full ROMs
Here
Go Here For 2015 Builds
Installation
Boot into Recovery
Wipe System/Cache/Data
Select Install Zip
Select the ROM and optional GApps (64-bit)
Pro Tip: Flash gapps immediately after flashing ROM or you will face force closes
Done
First Boot Takes Time To Optimise The Apps (Will stick around 10-12 minutes)
Sources
Device Tree
Vendor Tree
Kernel Tree
Screenshots
Imgur Album
Credits
@regalstreak (me)
@Grarak
@manups4e
@David_Vaz
Many More
Social
Official Telegram Channel
This channel is just for developer announcements. Why? Because before flashing a new build, we cannot come to XDA and update you'll if we wanna check it out real quick. Or if we wanna tell what we working on quick, we can update you'll there fast! No spam will be here as this is not a group but a channel. Just click on the link and open with Telegram and you'll know! Also, all developer announcements groups are deprecated.
Changelog
Code:
#6 - 20160204
Camera fixed
Snapdragon Camera App
Back to building
Merged Upstream
----------
#5 - 20151226
Enabled dexpreopt for faster boot times
Merged Upstream
Camera (partial fix added not present in weeklies)
Some Cleanup in code
#4 - 20151218
Fixed RIL
Added Double tap to wake
Updated Build fingerprint
Added fingerprint scanner code
Fixed Red Borders
Switched to userdebug builds instead of eng
Merged Upstream
----------------
#3 - Merge Upstream
----------------
#2 - 20151211
Fixed Audio (Thanks to @grarak and @david_vaz)
Merged Upstream
Marshmallow 6.0.1
----------------
#1 - 20151208
Initial Release
FAQ
Gapps is causing the error "Unfortunately Setup Wizard Has Stopped".
Have you read the Install Instructions? Flash gapps immediately after the ROM. That means do not reboot to system after flashing the rom and then go to recovery again and flash gapps.
How do I install this ROM with Dualboot Patcher?
Follow these instructions carefully.
1. Install DualBoot patcher apk, open the app and go to ROMs section.
2. Set the current running kernel as kernel for Primary ROM (The app will ask you to do so)
3. Download CM13 and go to "Patch zip file" section.
4. Patch the ROM (for OnePlus 2 choose "Data Slot"). (ID: insert anything like cm13. It doesn't matter though)
a) Primary ROM upgrade (You can patch zip for Primary ROM if you want to flash primary and don't destroy second system.
b) Secondary (Not usable due to small System partition)
c) Multislot1, 2 , 3 - (Not usable because /cache partition is too small).
d) Data slot - Use this!
e) Extsd slot - (Not usable)
5. Flash patched ROM with TWRP.
6. Reboot
You second system should start.
How to switch between ROMs:
1. Both ROMs need DualBoot patcher installed, in "ROMs" section you should see ROMs list.
2. To switch the ROM simply go to TWRP.
3. Click Install.
4. Click Image option (Bottom Right Corner)
5. Go to /sdcard/Multiboot/<your rom name>
6. Select boot.img
7. Click boot partition.
8. Flash and reboot.
9. Other ROM will start!
Gapps cause cm13 to bootloop.
Yes for now this problem has not been solved. We will look into this later.
Login with Google does not work in some apps.
Sometimes, on a fresh wipe, the phone language will be set to an invalid language. Changing it to a valid one from Settings should fix the issue.
Battery Statistics shows that Wi-Fi is always on even though I've turned it off.
If you are using "scanning always available" in Advanced Wi-Fi Settings, then Wi-Fi will always be on to scan for available network to aid location discovery.
How do I enable root?
Root is now disabled by default in CM. To enable root, first enable developer options. Then enable it in Settings -> Developer Options -> Root access.
Can you include Feature X into your ROM?
No. This ROM will have CyanogenMod's feature set.
Can you include Cyanogen OS's apps?
No. Cyanogen OS's proprietary apps are not a part of the open-source CyanogenMod. You can, however, download C-Apps directly from Cyngyn and install it.
Can you include call recording?
No. The open-source version of CyanogenMod does not include call recording to avoid potential legal issues.
What kernel does this ROM use?
A slightly modified version of the stock kernel, the source code is linked above.
Can I use your ROM as a base?
http://source.android.com/source/licenses.html
Most of Android/CyanogenMod is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given and it is not misappropriated as being the official CyanogenMod. (In other words, you must say that it is based on regalstreak's unofficial CyanogenMod, but is not related to CyanogenMod in any other way. Also, please mention the credits that have been mentioned in OP as they have worked too hard to get this ROM too.)
Can contacts be saved to phone/SIM?
No. It is not supported in AOSP-based ROMs.
Can I send files over Wi-Fi Direct?
Yes, but you must use third-party applications. The implementation provided on Samsung ROMs is not an open standard. AOSP/CM does not provide a native way to send files over Wi-Fi Direct.
Can I mirror your ROM?
You're free to. But if you ask me to mention your mirror here, I don't know if i will do so.
Will feature X from a previous version of CM be implemented?
I don't know, probably will be, eventually. I don't really involve myself in the feature-set side of CM.
How do you type so much?
Actually I didn't type this as a whole. I took inspiration from @pawitp's threads that I used to refer earlier
Reserved
Reserved Post
Funny how people keep Thanking Reserved Posts too! [emoji23] [emoji106]
Downloading now.. 1st one..
Finally... Been waiting for this. @regalstreak congrats on being the first one to give OPT users marshmallow
Up up ...
Kapiljhajhria said:
Finally... Been waiting for this. @regalstreak congrats on being the first one to give OPT users marshmallow
Click to expand...
Click to collapse
Build is pre alpha.. No RIL, cam, FPS & LAF..
[emoji106]
Sent from my ONE A2003 using Tapatalk
But it will surely fix... Great news is its bootinggg
---------- Post added at 05:50 AM ---------- Previous post was at 05:49 AM ----------
One plus one devs are facing ril issue but my friend solve that in his cm13 build.. N we will also get that working soon
Thanks to everyone involved in getting this booting ????
Sent from my ONE A2005 using Tapatalk
Great thanks to @regalstreak.Everyone should consider buying him a beer ?
Pure work bud
v7
What's RIL, so the cam doesn't work and neither does auto focus and fingerprint..
seangeezy12 said:
What's RIL, so the cam doesn't work and neither does auto focus and fingerprint..
Click to expand...
Click to collapse
This is a pre alpha build.It's booting.All other stuffs are broken.
RIL-Radio Interface Layer.Sim Card won't be working as of now.
v7
Can't wait to see this developing. Definitely will be testing after you guys get the FPS working. Great work so far ?
Sent from my ONE A2003
Great to see the 1st MM rom for OP2. Now development continues ??
Sent from my ONE A2001 using Tapatalk
Following
Mehul.S said:
Build is pre alpha.. No RIL, cam, FPS & LAF..
Click to expand...
Click to collapse
I know. But now that we have Bootable build. Things will move forward faster than before.
So.. it started.. now we will see development for OPT too ??
regalstreak said:
Link here: https://www.androidfilehost.com/?fid=24269982087013897
Sources: github.com/regalstreak
I will edit the post when i get time. Wait 3hrs for that. Thanks
In class right now [emoji14]
Sent from my ONE A2003 using Tapatalk
Click to expand...
Click to collapse
Do I need to flash your recovery.img ? (I'm already using AICP based on cm12.1)
https://www.androidfilehost.com/?w=files&flid=44209

[EOL] [MARLIN/SAILFISH] [9.0.0] [3.18.125] [CLANG 7.0] Flash Kernel 2.10

{
"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"
}
Introduction
NOTE: This kernel is currently not being updated. Please use another more up to date one if possible.
Hello everyone, this is my personal kernel for the Pixel (sailfish) and Pixel XL (marlin). While I am not a super star kernel developer, I do know my way around it. My philosophy on kernels is pretty simple:
Follow stable Linux always. Updates will be delivered within 24 hours of their release to kernel.org.
Stable kernel rules work best (only add small things when possible).
Security and stability are paramount. Vulnerabilities are patched as soon as they are disclosed.
Features will be added only as needed (I have a list of things in the FAQ I will NOT add, even if requested).
Hopefully you enjoy
Important thread information!
I refuse to acknowledge/respond to bug reports that do not include clear steps to reproduce, a logcat, and a console ramoops (if random rebooting) or a dmesg (any other issues). Follow this guide to do this.
Keep things civil, I do NOT tolerate flaming of any kind.
OT is allowed.
Features
Here are the major features of the kernel (feel free to explore Github)
Up to date with the October security update (android-9.0.0_r0.21)
Up to date with the latest stable Linux version (3.18.125)
Latest binder and sdcardfs commits from kernel/common
Several subsystems converted to use power efficient workqueues
Mainline improvements to CFQ
Kernel hardening from CopperheadOS
Westwood as the default congestion algorithm
Sultanxda's wake boost driver
The following user facing features:
Backlight dimmer
Color control
HBM
Maple I/O scheduler
Sound control
USB fast charging
Wake gestures
Wakelock blocking
Vibration control
Latest WireGuard snapshot (0.0.20181018)
Built with a self compiled Clang 7.0 toolchain with a local initialization sanitizer
Hides bootloader unlock from SafetyNet (can still fail through other means)
Available to flash with AnyKernel2 (thanks to @osm0sis) [zip will automatically detect when Magisk is installed and patch the kernel so reflashing Magisk becomes unnecessary]
Downloads
Primary: https://github.com/nathanchance/marlin/releases
NOTE: Although the kernel's name is Marlin, it is for both Marlin and Sailfish (fully unified).
Installation
NOTE: These sets of steps should work for both initial installations and upgrades. All sane kernels on this device are just replacing the kernel image and maybe adding some cmdline parameters, which this kernel won't care about. If there are ANY issues after flashing this kernel over another, be sure to flash the stock boot image for your ROM, TWRP + Magisk if you want them, then the kernel before reporting any issues.
Through TWRP:
See their instructions for further information, you can install the kernel with TWRP temporarily booted or permanently installed.
Boot into TWRP.
Flash the zip (flashing Magisk is not necessary if you already have it installed).
Reboot and enjoy!
Through FK Kernel Manager (requires root):
Download the zip (and optionally, the md5) from my server
Tap on "Manual flasher"
Navigate to Download
Tap on the zip, select Auto-flash, and choose one of the options.
Reboot and enjoy!
NOTE: On custom ROMs, you must do a reboot between installing the ROM and installing the kernel/Magisk on a clean flash otherwise you may end up in a bootloop...
Changelog
Latest release post!
Commits
Frequently asked questions
1.1 Q: I am having an issue, can you help me?
1.1 A: I am not an amazing kernel developer but I will certainly try my best. First, start by reading the release posts, as I may make note of a particular issue. Also search the thread to see if I have discussed it before. If you see nothing, please provide me with a dmesg/last_kmsg and logcat, your ROM/kernel version, and a detailed description of the issue, following this guide. If I can't reproduce reliably, I'm not going to fix the issue.
1.2 Q: Can you add xyz feature?
1.2 A: If you link me the commits or tell me what kernel you had the feature in, I can take a look at them. I will not go digging super hard for commits and I will ignore requests that don't include this information. I won't promise that I will merge every request but I will always take it into consideration. I will NOT add the following:
Overclocking or underclocking of CPU or GPU
Undervolting
Any governors other than sched/schedutil
Any schedulers other than cfq
Anything that compromises performance
1.3 Q: How do I control the kernel?
1.3 A: I want to be very clear: the kernel does NOT need to be tuned to be useful. Most of the improvements are under the hood and don't require any user intervention to take advantage of them. In fact, if you don't know what you are doing, you could degrade the experience.
To control the user visible features of the kernel listed above, I recommend using either @franciscofranco's FK Kernel Manager (which has Flash Kernel support for downloading and automatically flashing the latest kernel zip along with some nice, user friendly ways for tuning the kernel) or @flar2's EX Kernel Manager.
1.4 Q: OMFG MY BATTERY SUXXXX PLS FIX!!!
1.4 A: The kernel doesn't drain any battery, use an app like BetterBatteryStats to figure out what app is screwing with your phone.
Thanks to:
The various other developers for their patches
@osm0sis for AnyKernel2
@franciscofranco for adding Flash Kernel support to FK Kernel Manager
@phantom146 for the thread banner
All of you guys for viewing the thread
A note about donations
Quite a few people have asked to donate to me in the past and I have turned them down. I am not in this for the money, this is my hobby, something I truly enjoy. If you truly want to donate to something (it is not expected in the slightest), I recommend an entity like the Open Source Initiative, the Free Software Foundation, XDA, or any one of the people I have thanked in the OP. Additionally, you are free to copy any and all of my work; the only thing I request is that you not ask for donations as well (though I can't really enforce this lol). Thank you.
Kernel source links
8.1.0/P Preview 2-5: https://github.com/nathanchance/marlin/tree/oreo-m4
9.0.0: https://github.com/nathanchance/marlin/tree/pie
DISCLAIMER: I openly welcome off topic in my threads. Mods, please do not clean off topic discussion and users, do not complain about off topic discussion here. I may direct you to another thread if it is so suited but I won't have the discussion cleaned. Thank you.
Reserved
You may notice the feature list is a little bare. I wanted to get a nice solid base formed first then add features in as requested. Please read the thread before requesting a feature; if it is already present, just press thanks.
In theory, this should work on P as I have merged the source in. I have only tested on Oreo though.
Feel free to join Telegram for beta builds and hanging out https://t.me/joinchat/C1UAJ0OCAoJtDRo-hhkjhw
nathanchance said:
You may notice the feature list is a little bare. I wanted to get a nice solid base formed first then add features in as requested. Please read the thread before requesting a feature; if it is already present, just press thanks.
In theory, this should work on P as I have merged the source in. I have only tested on Oreo though.
Feel free to join Telegram for beta builds and hanging out https://t.me/joinchat/C1UAJ0OCAoJtDRo-hhkjhw
Click to expand...
Click to collapse
Awesome! Thank you Nathan...
Add KCAL Color Control and I'm in. All I've wanted for so long is a stock like stable kernel with KCAL so I can tweak the display!
I ran your flash kernel the short time it was available for my old Nexus 6, happy to see this kernel here.
Thank you for bringing this to marlin!!
Chimaira33 said:
Add KCAL Color Control and I'm in. All I've wanted for so long is a stock like stable kernel with KCAL so I can tweak the display!
I ran your flash kernel the short time it was available for my old Nexus 6, happy to see this kernel here.
Click to expand...
Click to collapse
Sure, I can add that always happy to see returning users!
nathanchance said:
Sure, I can add that always happy to see returning users!
Click to expand...
Click to collapse
Was looking at your taimen post and was thinking to myself I wish we had this on sailfish/Marlin. Can you add schedutil?
I tried another kernel on Android P preview 2 and had some problems. You noted that this kernel includes the source links for preview 2. The other I think only had preview 1. Would there be a difference?
shagbag913 said:
Was looking at your taimen post and was thinking to myself I wish we had this on sailfish/Marlin. Can you add schedutil?
Click to expand...
Click to collapse
I plan to look into EAS 1.5 tomorrow or this weekend I will look at adding features tonight.
Gordietm said:
I tried another kernel on Android P preview 2 and had some problems. You noted that this kernel includes the source links for preview 2. The other I think only had preview 1. Would there be a difference?
Click to expand...
Click to collapse
Yes although I don't know how much offhand.
@nathanchance I haven't had a change to flash this yet, I really enjoyed this from my 6P days. Can you tell me if HBM and backlight dimmer are available? If not, could I request them? Any wakelock blocks available? Possibly fingerprint scanner boost--NSFW Kernel has this.
Thanks, I was really missing Flash Kernel
nathanchance said:
I plan to look into EAS 1.5 tomorrow or this weekend I will look at adding features tonight.
Click to expand...
Click to collapse
That would be great, thank you for your work.
Akomack said:
@nathanchance I haven't had a change to flash this yet, I really enjoyed this from my 6P days. Can you tell me if HBM and backlight dimmer are available? If not, could I request them? Any wakelock blocks available? Possibly fingerprint scanner boost--NSFW Kernel has this.
Thanks, I was really missing Flash Kernel
Click to expand...
Click to collapse
I'll add HBM, backlight dimmer, and wakelock blocking. I'll take a look at fingerprint scanner boosting; however, the few implementations I have seen floating around lately seem like they don't work well.
shagbag913 said:
That would be great, thank you for your work.
Click to expand...
Click to collapse
Something occurred to me, the stock power HAL on this device doesn't support schedutil. Custom ROMs can add support easily so I'll still add it but I won't set it as default.
nathanchance said:
Something occurred to me, the stock power HAL on this device doesn't support schedutil. Custom ROMs can add support easily so I'll still add it but I won't set it as default.
Click to expand...
Click to collapse
Sounds good
nathanchance said:
I wanted to get a nice solid base formed first then add features in as requested.
Click to expand...
Click to collapse
I would love double tap to wake, or am I just missing it? Really looking forward to trying this out, thanks
Nevermindthelabel said:
I would love double tap to wake, or am I just missing it? Really looking forward to trying this out, thanks
Click to expand...
Click to collapse
It will be in the next build, I'm about to seed out a beta if you want to grab it and test that it works fine.
nathanchance said:
It will be in the next build, I'm about to seed out a beta if you want to grab it and test that it works fine.
Click to expand...
Click to collapse
Running the Beta right now. So far no issues. Thanks for adding Kcal! I wanted to ask about the wq_power_savings option. What the heck does that do?
Chimaira33 said:
Running the Beta right now. So far no issues. Thanks for adding Kcal! I wanted to ask about the wq_power_savings option. What the heck does that do?
Click to expand...
Click to collapse
Here is a nice technical article from LWN: https://lwn.net/Articles/731052/
The tl;dr is these tasks get placed whenever is optimal rather than on a specific CPU core.
Sent from my Pixel 2 XL using XDA Labs
Hey thanks man. I've searched on my own before but came up with nothing.
Chimaira33 said:
Hey thanks man. I've searched on my own before but came up with nothing.
Click to expand...
Click to collapse
I'm always happy to answer technical questions
Sent from my Pixel 2 XL using XDA Labs

Development [ROM][13][UNOFFICIAL] LineageOS 20 [Sunny][Mojito]

{
"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"
}
Code:
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.
About
LineageOS is a free, community built, aftermarket firmware distribution of Android 13 (T), which is designed to increase performance and reliability over stock Android for your device.
LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.
Download
- 20230524
Notes
- Don't change kernel.
- Custom recoveries are not allowed to be used.
- Custom kernels are not allowed to be used.
- Inlined with NetErnels.
- SafetyNet is OK.
- Signature Spoofing is OK.
- SELinux is enforcing.
- Encryption is enabled by default so decrypting is not allowed.
- Only use Lineage recovery to flash/format.
- 14.0.3.0 FW is recommended to use.
Flashing instructions
- Download ROM zip, recovery zip and fw if needed.
- Boot to bootloader.
- Run fastboot update LOS20_Recovery_*.zip , according to the build downloaded.
- Run fastboot reboot recovery
- Flash FW if needed (reboot to recovery after flashing)
- Format data with the recovery.
- Click Apply Update.
- Select your preferred method (Sideload/SDCard)
(For Sideload run : adb sideload lineage*.zip)
(For SDCard just select the zip from where you saved it)
- Reboot to system
Update Instructions
- Download ROM zip
- Flash FW if updated (reboot to recovery after flashing)
- Click Apply Update.
- Select your preferred method (Sideload/SDCard)
- Reboot to system
GPL Compliance
- Kernel Source : https://github.com/NetErnels/android_kernel_xiaomi_sunny
Telegram Support
- My PM
- Support Chat
Changelogs
24-May-2023
-- Device Changelog --
Updated blobs to V14.0.3.0.SKGMIXM
Set override_doze_mode prop
Switched to User Build
Added Implementation of ST2W (Single Tap to Wake)
Inherited common perf components from AOSPA
Inherited common Adreno components (updates adreno blobs to [email protected])
Drop perf blobs listing since its inherited from common
Drop Thermal Profiles/Doze from XiaomiParts
Drop PowerOffAlarm.
-- ROM Changelog --
May 2023 Security Patch (r43)
Recovery is now able to flash unsigned zips (magisk , fw , etc).
Removed some more logspam.
Switched to PIHooks for SafetyNet/Play Integrity.
Dropped Google Photos Spoofing.
Dropped Updater.
Ported CLO's Boost Framework.
Updated Prebuilts GApps.
Added MicroG build.
Switch to AVC 3.1 for screen recorder.
Compile for Perf.
Disable ripple animation on unlock.
Remove default aspect ratio limit for old apps.
Change the default value of sync mode to NORMAL.
Require unlocking to use sensitive QS tiles.
Add support for unlinked ringer streams
Enable media background turbulence.
Enable media player surface ripple on button press.
Add kill action to app shortcuts popup
Introduce overview scrolling scale animation.
Show clear all button in recents overview.
Add uninstall button to system. shortcuts.
Only warn on SPL downgrade.
Added Pixel Charger.
Added some missing spanish strings.
Make kernel version clickable.
Expose radio info (##4636##).
WiFi: Remove country code checking.
Move Extra Dim feature to display.
Add a preference to battery optimization page.
Open app when clicking on icon in App Info.
Finally.
I'm gonna have to wait a bit, my device is still locked and I want to wait and see a bit before I **** something up.
What isn't working yet? Really dumb to ask at this point, but what is missing from the ROM to become official?
ChristianWS said:
Finally.
I'm gonna have to wait a bit, my device is still locked and I want to wait and see a bit before I **** something up.
What isn't working yet? Really dumb to ask at this point, but what is missing from the ROM to become official?
Click to expand...
Click to collapse
everything is working... i'm using this rom since release and i finally found my daily driver rom...
maybe you will face some lags on apps but can be easily fixed by adding some props to build.prop (i'll do on next build)
About Official... LineageOS Requeriments are very strict and i'm not a experienced developer (i'm just learning) so i can't make this official
So , i'll provide monthly updates as long as i have server to build it.
Long Live LineageOS...
Cant wait to use it as a daily driver..
@alonsoj636 this is awesome!
many of us have been waiting for this for so long! a true ROM diamond!
..and I'm gonna look into it soon, I need to have a few days off to tinker around with it.
I wonder if it's still possible with haystack needle to get signature spoofing working and with it microG.
also, i guess, after flashing FW 13.x there is no way back to 12.x and lower due to anti-rollback protections.. so it's a one-way ticket to flash.
Zirila said:
@alonsoj636 this is awesome!
many of us have been waiting for this for so long! a true ROM diamond!
..and I'm gonna look into it soon, I need to have a few days off to tinker around with it.
I wonder if it's still possible with haystack needle to get signature spoofing working and with it microG.
also, i guess, after flashing FW 13.x there is no way back to 12.x and lower due to anti-rollback protections.. so it's a one-way ticket to flash.
Click to expand...
Click to collapse
since i use Google Services i didn't look at spoofing and microg but you can always try
For next build i'll look into it
About anti - rollback you can downgrade MIUI but you should ALWAYS choose the correct variant that the phone came with (Global , India , Indonesia , EEA , etc) and avoid locking the bootloader
alonsoj636 said:
About Official... LineageOS Requeriments are very strict and i'm not a experienced developer (i'm just learning) so i can't make this official
Click to expand...
Click to collapse
Beggars can't be choosers and all of that, and I know LineageOS requirements are strict, but it doesn't really spark much confidence.
Let me rephrase that: what is missing from the ROM becoming official?
Hey, i have redmi note 10 pro, and I would love to use lineage 19 on my device. As redmi note 10 and 10 pro are so similar, can please tell if you faced issues while porting it, or was the process straight forward? ( I have never ported a rom before and have little knowledge).
Thank you!
ChristianWS said:
Beggars can't be choosers and all of that, and I know LineageOS requirements are strict, but it doesn't really spark much confidence.
Let me rephrase that: what is missing from the ROM becoming official?
Click to expand...
Click to collapse
i already answered you... everything is working and this ROM is stable enough to be official. But since I don't meet the requirements and I don't have much time to maintain it it will not be possible from my side... Maybe another developer can take Official LineageOS but meanwhile , i will maintain Unofficial.
Stan m said:
Hey, i have redmi note 10 pro, and I would love to use lineage 19 on my device. As redmi note 10 and 10 pro are so similar, can please tell if you faced issues while porting it, or was the process straight forward? ( I have never ported a rom before and have little knowledge).
Thank you!
Click to expand...
Click to collapse
They are completely different devices.
This is only for Redmi Note 10 (mojito/sunny)
alonsoj636 said:
They are completely different devices.
This is only for Redmi Note 10 (mojito/sunny)
Click to expand...
Click to collapse
Yeah. I am not asking if I can use this rom for my device. I am saying as they are similar, I just want to know if you had any problems during developing this rom. If you didn't have any problems, chances are I wont have problems either.
Thank you!
Stan m said:
Yeah. I am not asking if I can use this rom for my device. I am saying as they are similar, I just want to know if you had any problems during developing this rom. If you didn't have any problems, chances are I wont have problems either.
Thank you!
Click to expand...
Click to collapse
i didn't have any problems
alonsoj636 said:
i didn't have any problems
Click to expand...
Click to collapse
So downloaded lineage 19 source code, device tree, oss vendor, and complied them. That is all right?
Thank you!
Stan m said:
So downloaded lineage 19 source code, device tree, oss vendor, and complied them. That is all right?
Thank you!
Click to expand...
Click to collapse
device tree + common device tree + kernel tree + vendor tree + common vendor tree... i suggest to ask in your device community because this is a off-topic conversation
alonsoj636 said:
i already answered you... everything is working and this ROM is stable enough to be official. But since I don't meet the requirements and I don't have much time to maintain it it will not be possible from my side... Maybe another developer can take Official LineageOS but meanwhile , i will maintain Unofficial.
Click to expand...
Click to collapse
Okay, let me rephrase that again: what requirements aren't being met?
ChristianWS said:
Okay, let me rephrase that again: what requirements aren't being met?
Click to expand...
Click to collapse
Why don't you read the requirements yourself. Then it will be absolutely clear.
ChristianWS said:
Okay, let me rephrase that again: what requirements aren't being met?
Click to expand...
Click to collapse
time : i don't have enough time to take care of lineage os ... i just can do builds when i get time.
interest : i'm not currently interested on submitting any ROM to Official Status (reason : i don't care about official rules)
why the traffic network is on the center?
y'know our devices camera is on center right?
FNTX0230 said:
why the traffic network is on the center?
y'know our devices camera is on center right?
Click to expand...
Click to collapse
i have the device i know
ask lineage os developers , they doesn't allow the customization of the traffic monitor

Categories

Resources