FORUMS
Remove All Ads from XDA

[ROM][Unofficial] Barebones LineageOS 14.1 [19-05-15]

1,412 posts
Thanks Meter: 2,286
 
By Eskuero, Recognized Developer on 9th July 2017, 05:33 PM
Post Reply Email Thread


For your information:
LineageOS 14.1 is a distribution of Android 7.1.2 (Nougat), which is designed to increase performance and reliability over stock Android for your device.

What is different?
The builds provided in this thread are based on the previously mentioned LineageOS, all credit for such work belongs entirely to the LineageOS team.

There are four differences betweet this build and the official one:
1 - Debloated, a lot of the apps bundled by default on LineageOS were disabled on build time. This reduces the .zip file in around 25MB and saves some more on your userdata partition since no dalvik cache is generated for those apps.
I only left the very few core apps required to be able to use all the hardware on your phone. This is the list of stuff I removed:

/system/app/BasicDreams *Screensaver*
/system/app/BookmarkProvider
/system/app/CtsShimPrebuilt *Used for certain software upgrade scenarios*
/system/app/Development *Certain tools for app developers*
/system/app/EasterEgg *The easter egg that corresponds to Nougat*
/system/app/Eleven *Music player*
/system/app/Email *Email client (Gmail will still work)*
/system/app/Exchange2 *Used to connect to certain email accounts*
/system/app/FMRadio
/system/app/Gallery2 *Picture gallery*
/system/app/HTMLViewer
/system/app/Jelly *Web Browser*
/system/app/LiveWallpapersPicker *Used to apply Live Wallpapers*
/system/app/PhotoTable *Screensaver*
/system/app/PicoTts *AOSP text-to-speech service*
/system/app/Stk *Sim Toolkit*
/system/app/Terminal *Terminal emulator*
/system/app/TimeService *Proprietary app found in stock rom, makes no difference in my experience*
/system/app/WallpaperBackup
/system/priv-app/AudioFX *Modifies the behavious of the sound*
/system/priv-app(CMActions *Includes some gestures*
/system/priv-app/CMAudioService
/system/priv-app/CMUpdater *Notifies you of the official LineageOS updates*
/system/priv-app/CtsShimPrivPrebuilt *Used for certain software upgrade scenarios*
/system/priv-app/LiveLockScreenService
/system/priv-app/Recorder *To record audio and video*
/system/priv-app/WeatherManagerService
/system/priv-app/WeatherProvider
/system/priv-app/qcrilmsgtunnel *Proprietary qcom dialer app found in stock rom, makes no difference in my experience*
2 - Changed DPI from 480 to 400. By default build.prop sets UI density to 480 (maybe to give it a more phone-like feeling rather than a tablet, but the our screen has a real density of 400 and working at that settings feels amazing.
3 - Undervolted kernel, this patch is applied on many of the kernels avalaible for Moto X Play, reduces heat generated from the phone.
4 - Enabled doze mode even if Google Play Services are not avalaible and regardless of motion sensor reports. LineageOS team intentionally disabled doze mode if there's no possible tickle to wake up the phone in case of notifications. This indeed only affected users not running Google's proprietary framework.

If you expect this ROM to increase the performance because is debloated I feel like you are going to get mostly placebo. The patches applied on this build were stuff I made for myself in order to keep my phone clean of bloat I don't need, and stuff I have preferred third party alternatives to. In general it's meant to get more freedom/control on what is installed in my phone. The result of this was nice so I wanted to share it with anyone willing to try it.
Hopefully I'll be updating the builds once a month after every major security update happens.

Downloads
DOWNLOAD most recent build from:
https://github.com/Eskuero/patches_lineageos/releases
Outdated builds are still avalaible from:
https://www.androidfilehost.com/?w=files&flid=205174
You can get the root enabler package with the su binary from here:
https://download.lineageos.org/extras

If you are instead looking for the official builds you can find them in this thread:
https://forum.xda-developers.com/mot...-play-t3515135

Source Code
As said the builds are totally based of LineageOS base code, which can be found here:
https://github.com/LineageOS
With the following patches applied over it:
https://github.com/Eskuero/patches_lineageos
The Following 21 Users Say Thank You to Eskuero For This Useful Post: [ View ]
10th July 2017, 10:26 PM |#2  
flopezm's Avatar
Senior Member
Flag Los Mochis
Thanks Meter: 80
 
More
Substratum support?

Enviado desde mi XT1563 mediante Tapatalk
10th July 2017, 10:35 PM |#3  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
Quote:
Originally Posted by flopezm

Substratum support?

Enviado desde mi XT1563 mediante Tapatalk

I don't know if official LineageOS supports or not it but it will be the same on this builds since I didn't changed anything that could fix/break it.
The Following User Says Thank You to Eskuero For This Useful Post: [ View ]
8th August 2017, 02:02 PM |#4  
Junior Member
Thanks Meter: 0
 
More
Hi #Eskuero

Thanks for building this ROM. This is exactly what I was looking for and I am really impressed with the low heating and extended battery life(when lying idle).

I have been using your ROM for past two days and I loved the font resolution and other tweaks (like removal of default apps) that you have done with this ROM. Please don't abandon this project, I really really love this ROM.

Once in a while their is a hang with an app.... for me it was Amazon prime video.... rest everything worked perfectly fine.

Question?
Exactly which kernel you used it for this ROM.


Best Regards
Vinay (Happy User)
8th August 2017, 09:58 PM |#5  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
Quote:
Originally Posted by vinayybx

Hi #Eskuero

Thanks for building this ROM. This is exactly what I was looking for and I am really impressed with the low heating and extended battery life(when lying idle).

I have been using your ROM for past two days and I loved the font resolution and other tweaks (like removal of default apps) that you have done with this ROM. Please don't abandon this project, I really really love this ROM.

Once in a while their is a hang with an app.... for me it was Amazon prime video.... rest everything worked perfectly fine.

Question?
Exactly which kernel you used it for this ROM.


Best Regards
Vinay (Happy User)

Hi!
In fact I just build the ROM again to include all upstream changes and a few dirty but cool hacks by myself so expect it to be uploaded in a few hours. I plan to update the ROM at least once a month when the security patches are published so don't worry.
I used the same default kernel that comes with LineageOS, all I did was to apply the undervolting patch that other kernels such as squid's or Optimus already feature.
Thanks a lot for your words, they mean a lot to me.
The Following 6 Users Say Thank You to Eskuero For This Useful Post: [ View ]
8th August 2017, 10:46 PM |#6  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
I pushed a new build, this one, the older, and probably the next ones will appear on Android File Host and it looks better than Mediafire.

New changes in 20170808 in comparisson with the old 20170709 build:

- Applied all upstream changes from LineageOS
- Updated to August security patch
- Removed CMActions which is not needed for basic functionality (s just responsible for certain system-wide gestures).
- Force the phone to go into deep doze mode regardless of our lack of motion sensor *Read more about the implications at the end of the post*

You can get the new build from https://www.androidfilehost.com/?w=files&flid=205174
Notice that both are uploaded today, but one is the old build from last month and the other one is the new. Check the name for the date to make sure you get the correct one.

About Doze mode:
I hardcoded in an ugly but effective way the doze checks in framework to always ignore sensor reports and let the phone go into deep doze.
Until now we only had working light doze, also known as doze on the go, by default this mode kicks in after five minutes with the screen off and applies network and jobs restrictions even when you're carrying your phone in your pocket.
On the other side deep doze applies restrictions on alarms and wakelocks as well, thus saving a lot more of juice, but only gets applied if the phone has been stationary for 30 minutes. The only way the phone could know about this is by using a motion sensor that our X Plays sadly lacks of. So I simply made the system ignore the lack of this and continue behaving as it was there.
This is the same that some apps like Naptime and ForceDoze do but integrated in the system in a bulletproof way.
I recommend tweaking the Doze Settings with this Doze Settings Editor if you want your phone to go sooner or later into doze mode. GeraldRudi profile make the phone to go directly into deep doze (without going first through light doze) after 30 seconds of screen off.
The Following 3 Users Say Thank You to Eskuero For This Useful Post: [ View ]
11th August 2017, 09:39 AM |#7  
Junior Member
Thanks Meter: 0
 
More
Hi Eskuero,

Thanks for the new build. Everything is working perfectly fine with this build except the moto display. Phone doesn't wakes up on movement or by wave.

Regards
vinayybx
11th August 2017, 10:19 AM |#8  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
Quote:
Originally Posted by vinayybx

Hi Eskuero,

Thanks for the new build. Everything is working perfectly fine with this build except the moto display. Phone doesn't wakes up on movement or by wave.

Regards
vinayybx

Was it working on the previous release?
11th August 2017, 11:14 AM |#9  
Junior Member
Thanks Meter: 0
 
More
Quote:
Originally Posted by Eskuero

Was it working on the previous release?

Yes.
11th August 2017, 12:32 PM |#10  
axxx007xxxz's Avatar
Senior Member
Flag World
Thanks Meter: 823
 
More
Quote:
Originally Posted by Eskuero

Was it working on the previous release?

I think it's a part of CMActions.
11th August 2017, 01:44 PM |#11  
Eskuero's Avatar
OP Recognized Developer
Thanks Meter: 2,286
 
More
Copy this .apk to the /system/priv-app folder and reboot your phone. The settings for ambient display should appear on settings after a few seconds
https://www.androidfilehost.com/?fid=889764386195922155
Post Reply Subscribe to Thread

Tags
barebones, debloated, eskuero, lineage os, moto x play

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes