FORUMS
Remove All Ads from XDA

[ROM][CM14.1][7.1.1_r13] DARK ROM [Pixel features][Delta updates][01/17]

1,364 posts
Thanks Meter: 4,138
 
By Dark_Eyes_, Recognized Contributor on 2nd November 2016, 02:42 AM
Post Reply Email Thread
Hi guys,

I'm building an extra lean LineageOS 14.1 ROM for hammerhead and hammerheadcaf with a few added features. A lot of packages have been stripped down, only the bare minimum is built to provide a fast and stable ROM. That gives you much more freedom as you can install exactly what you really want from the Playstore. You can install most of the missing packages manually, they are available in a flashable zip on the server (see second post).

My approach for DARK ROM 14.1 is slightly different than for DARK ROM 13, as I try to add as much Pixel features as possible while keeping a solid LineageOS base.

Key features
- [CAF ONLY] TrueSight kernel v4.4 builtin (With a few of my own tweaks)
- [CAF ONLY] DT2W in kernel settings (Beware, it will cause a big battery drain)
- Pixel Launcher (with the provided GAPPS package)
- Pixel animated navbar
- Pixel sounds
- Pixel accent colors
- Rounded icons
- Google Assistant (use latest Google app beta)
- Night Light
- Dark mode (notifications are still WIP)
- Choose between dialer and voice assistant in lockscreen
- Hide next alarm from expanded status bar and lockscreen
- Disable the boot animation sound
- Secure lockscreen (disables status bar pull down, quick settings tiles, power button and lockscreen shortcuts)
- Double tap the lock icon on the lockscreen to sleep
- Longpress power button while screen off to trigger flashlight
- Hide bluetooth icon when disconnected
- Volume steps
- Quick unlock pin/password
- Remove album art from lockscreen
- Date in status bar
- Smart pulldown
- Volume button controls media volume anywhere
- Change navbar height
- Screenshot tile
- Caffeine tile
- Sync tile
- Reboot/recovery tile
- Music tile
- Turn on/off mobile data with single click on collapsed quick settings
- Status bar ticker
- [CAF ONLY] ViPER4Android builtin (working in Enforcing)
- [CAF ONLY] Synapse builtin

Screenshots

SafetyNet
If you want to pass SafetyNet, you will need the AOSP version. I have no idea why, but the CAF version is not passing it. So, if it's important to you, use the AOSP one. It is already designed to pass it out of the box. No need to lock the bootloader (which I advise you to do ONLY on a pure factory image install) because the kernel has the patch for it. If you want root, you'll need to install magisk v10.2, which comes pre-rooted with phh superuser. Then, enable magisk hide and you should be good to go. You'll get all you need to know on the magisk thread.

Installation
You will need latest radio (2.0.50.2.30) and latest bootloader (HHZ20h)
Latest TWRP recovery 3.0.3 for hammerhead or hammerheadcaf is highly recommended
If you want HDR to work, you will need to keep Google Camera 3.2.045 (all newer versions won't work)

If coming from any other ROM
- Backup first... always backup first
- Wipe system, data, cache and dalvik cache
- Install DARK ROM
- Install provided GAPPS (mandatory, or use the No_Gapps package, see second post)
- Install root package of your choice (I recommend SuperSU)
Enjoy !

If coming from a previous build of mine
- Backup (you know it)
- Dirty flash DARK ROM
- Install root package of your choice
Enjoy! (if anything goes wrong, clean flash)

Download
To download the whole ROM
Hammerhead (Don't forget to hit Download at the right of the filename)
Hammerheadcaf (Don't forget to hit Download at the right of the filename)

To download GAPPS and Extras
Extras (Don't forget to hit Download at the right of the filename)

To download delta updates
Go to Settings/About phone/System updates and use the OpenDelta app to automatically download delta updates.

Delta Updates
Here are a few explanations on how to use delta updates. First, you will need to keep the first full build you downloaded on your sdcard (any full build that have NIGHTLY in the filename will do). I recommend that you keep it on the root of your sdcard until you flash a new build with the OpenDelta app. After that, the OpenDelta app will automatically place a new flashable zip inside the OpenDelta folder that will be used for the next delta updates. At that point you can delete the build on the root of your sdcard, but you will need to keep the (latest) file in the OpenDelta folder at all times to keep the delta updates working.

You will also notice a folder named FlashAfterUpdate in the OpenDelta folder. As its name suggests, any flashable zip files that you put in this folder will be flashed automatically after the update. I recommend that you put all your extra flashable zips there, cause if you use the app to auto-flash the latest build, it will reboot automatically after updating, which means you won't have the opportunity to manually flash other zips. If you want root to survive, you need to put your root package there.

Donations
Please consider a donation if you like my work ! I spend a lot of time and effort working on this, so if you can spare a few bucks, please buy me a beer (so I can relax when I'm stuck on a stubborn bug) or a coffee (so I can work on it later in the night). If you decide to do so, I'll gladly add you to the Donation Hall of Fame

Donation Hall of Fame
- @alsheron
- @cryu1
- @OldoTRONic X2 !!!
- @Cissmayazz
- @twili9ht
- @krombopulos
- @squandry
- @zerand
- @strangethings
- @jerunk
- @hurricurry
- @Sui77
- @mistersixt
- @gillboyzz
- @vurey
- @jstargz

Many thanks to those generous donors !!! They make DARK ROM possible.

Kernel Source
https://github.com/darkeyes84/androi..._hammerheadcaf

Thanks and credit
LineageOS
@myfluxi
@lol4topnz
@kylon
@phoval
@ganachoco
All the good devs who contributed to the features I added
The Following 105 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
 
 
2nd November 2016, 02:45 AM |#2  
OP Recognized Contributor
Thanks Meter: 4,138
 
Donate to Me
More
Extra Packages
On the server you will find a file named ExtraPackages_date.zip which contains a few apps that are not available out of the box in my builds (see list). You won't have to flash it every update, since there is a survival script. I suggest you open the zip and remove the files you don't need before flashing it the first time.
Here is what's included:
- Gello (Browser)
- Snap (Camera)
- Eleven (Music player)
- Gallery (Photos)
- Messaging (SMS)

CMFileManager
The CM File Manager now has its own flashable zip because it needs the su binary to be placed in the system/xbin folder. The install package will add it, but doing so will break SafetyNet. If you want to pass SafetyNet, you will need to install another file manager that works with systemless root.

AudioFX
Those who prefer using AudioFX instead of ViPER4Android can now download a flashable zip named V4AtoAudioFX_date.zip that I uploaded on the server. It will uninstall V4A and install AudioFX. You won't have to flash it every update, since there is a survival script.

No Gapps
For those who prefer installing another Gapps package than the one provided, you will need to download a flashable zip named NoGapps_date.zip that I uploaded on the server. It will install the basic apps needed to make your phone work with other minimal Gapps package. You won't have to flash it every update, since there is a survival script.
Here is what's included:
- LatinIME (AOSP keyboard)
- Trebuchet (CM Launcher)
- Google Dialer
- Google Contacts
The Following 43 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
2nd November 2016, 03:56 AM |#3  
intoxicated.mad's Avatar
Senior Member
Flag Bharatpur
Thanks Meter: 176
 
More
Hell yeah!!
2nd November 2016, 03:58 AM |#4  
Senior Member
Flag charleston wv
Thanks Meter: 157
 
More
Very nice rom very smooth. How do we enable Google assistant? I tried flashable zips Velvet and build prop didn't work
2nd November 2016, 04:51 AM |#5  
OP Recognized Contributor
Thanks Meter: 4,138
 
Donate to Me
More
Quote:
Originally Posted by cell2011

Very nice rom very smooth. How do we enable Google assistant? I tried flashable zips Velvet and build prop didn't work

Theoretically, all you need to do is edit the build.prop and change ro.product.model=Nexus 5 CAF by ro.product.model=Pixel XL and add
ro.opa.eligible_device=true at the end. Then hard reboot, clear google app data and it should work. I'll add it in the build as soon the hotword enrollment is fixed.
The Following 6 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
2nd November 2016, 05:27 AM |#6  
eternal70's Avatar
Senior Member
Flag Blahblah
Thanks Meter: 220
 
More
TrueSight still has problem on min max freq setting, right ? Or it's already fixed ?
2nd November 2016, 08:44 AM |#7  
Junior Member
Flag Tokyo
Thanks Meter: 4
 
More
I've been waiting so long for this, thank you for making this happen
2nd November 2016, 08:47 AM |#8  
Member
Ann arbor
Thanks Meter: 28
 
More
Wow it's incredible that I was looking for something exactly like this today and actually found it! Great I can't wait to try out this ROM, it's gonna be really sweet! Thanks Dark_Eyes, you've been maintaining ROMs for us for a while now, I really appreciate you and everyone else's work
The Following User Says Thank You to Aurey24 For This Useful Post: [ View ] Gift Aurey24 Ad-Free
2nd November 2016, 09:33 AM |#9  
santi1993's Avatar
Senior Member
Flag Buenos Aires
Thanks Meter: 101
 
More
Thanks! ur work is awesome!
can we get a non gapps build?;>

Sent from my Nexus 5 CAF using Tapatalk
2nd November 2016, 10:21 AM |#10  
Junior Member
Thanks Meter: 1
 
More
I get this error while flashing ROM
Attached Thumbnails
Click image for larger version

Name:	Screenshot_2016-11-01-22-39-38.png
Views:	5830
Size:	182.6 KB
ID:	3923636  
2nd November 2016, 11:30 AM |#11  
Domnisto's Avatar
Member
Flag Calcutta
Thanks Meter: 25
 
More
Quote:
Originally Posted by spyr3o

I get this error while flashing ROM

You need to Update your bootloader and Radio to the latest version. Then Flash Rom.

Installation
You will need latest radio (2.0.50.2.30) and latest bootloader (HHZ20h)
Latest TWRP recovery 3.0.2-0 for hammerheadcaf is highly recommended
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes