Remove All Ads from XDA

[ROM][LOS14.1][7.1.2_r17] DARK ROM [OMS][Pixel features][Delta updates][06/23]

1,937 posts
Thanks Meter: 7,109
By Dark_Eyes_, Recognized Contributor on 2nd November 2016, 01:42 AM
Post Reply Email Thread
Hi guys,

I'm building an extra lean LineageOS 14.1 ROM for hammerhead 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 many Pixel features as possible while keeping a solid LineageOS base.

Key features
- Full OMS support (rootless)
- Signature spoofing support
- Pixel Launcher (with the provided GAPPS package)
- Pixel animated navbar (with on/off switch)
- Pixel sounds
- Pixel accent colors
- Pixel bootanimation with sound
- Rounded icons
- Google Assistant
- Night Light
- Night Light Brightness
- 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
- Battery bar
- Smart pulldown
- Volume button controls media volume anywhere
- Change navbar height
- Screenshot tile
- Caffeine tile
- Sync tile
- Reboot/recovery tile
- Music tile
- USB Tethering tile
- NFC tile
- Quick settings custom rows/columns
- Turn on/off mobile data with single click on collapsed quick settings
- Status bar ticker
- Separate ring and notification volume
- Specific color for 100% charged battery
- Prevent accidental wakeup
- Remove settings suggestions
- Show WiFi SSID in status bar
- Show carrier label in status bar
- Hide carrier label on the lockscreen (or rename to whatever you want)
- Hide the low battery warning notification
- Remove the orange status bar and navigation bar when in battery saver mode
- One hand mode
- Choose doze brightness
- Adjust animation scale precisely with a slider
- Dynamic nav bar color (changes color to the same of status bar)
- In-call vibration options (on connect, on call waiting and on disconnect)


The ROM is already designed to pass SafetyNet 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, which comes pre-rooted. Then, enable Magisk Hide in Magisk Manager, hard reboot and you should be good to go. Also, do not enable busybox in Magisk Manager, that will cause you to randomly lose root. You'll get all you need to know on the Magisk thread.

The ROM is designed to work with both ViPER4Android and ViPER4Arise out of the box without the need for SuperSU or any Magisk module. The SEPolicy already contains the necessary permissions for them to work even in Enforcing. All you need to do is flash the package of your choice.

You will need latest radio ( and latest bootloader (HHZ20h)
Latest TWRP recovery 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)
- Install root package of your choice (I recommend Magisk)
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)

To download the whole ROM

To download GAPPS and Extras

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.

If you want to help translate the ROM in your language, here are my Crowdin projects. Let me know if you want me to add another language.

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 (see second post)

Source code

Thanks and credit
All the good devs who contributed to the features I added
The Following 167 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
2nd November 2016, 01:45 AM |#2  
OP Recognized Contributor
Thanks Meter: 7,109
Donate to Me
Donation Hall of Fame
- alsheron X2 !!!
- cryu1
- OldoTRONic X2 !!!
- Cissmayazz
- twili9ht
- krombopulos X2 !!!
- squandry
- zerand
- strangethings
- jerunk
- hurricurry
- Sui77
- mistersixt
- gillboyzz
- vurey
- jstargz
- the_house
- WSeb
- hawgguy
- spibbs
- ProBird79
- focus-pocus
- CyberpodS2 X2 !!!
- herbie13 X2 !!!
- atharwaqas
- BoozYooNit X2 !!!
- NJD316
- velvel
- ChrisPadduDubbu X2 !!!
- mrtsunami92
- caballon
- deafbum

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

Extra Packages
On the server you will find a file named 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:
- Jelly (Browser)
- Snap (Camera)
- Eleven (Music player)
- Gallery (Photos)
- Messaging (SMS)
- Recorder (CM Recorder)
- Stk (SIM card toolkit)

Revert to Stock DPI
If you want to revert to stock dpi (480), simply flash the attached zip in recovery after you flash the rom. It won't stick after a dirty flash, so you'll have to flash it every time, or place it in the FlashAfterUpdate folder.
Attached Files
File Type: zip - [Click for QR Code] (142.7 KB, 386 views)
The Following 65 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
2nd November 2016, 02:58 AM |#4  
Senior Member
Flag charleston wv
Thanks Meter: 162
Very nice rom very smooth. How do we enable Google assistant? I tried flashable zips Velvet and build prop didn't work
The Following User Says Thank You to cell2011 For This Useful Post: [ View ] Gift cell2011 Ad-Free
2nd November 2016, 03:51 AM |#5  
OP Recognized Contributor
Thanks Meter: 7,109
Donate to Me
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 7 Users Say Thank You to Dark_Eyes_ For This Useful Post: [ View ] Gift Dark_Eyes_ Ad-Free
2nd November 2016, 04:27 AM |#6  
eternal70's Avatar
Senior Member
Flag Blahblah
Thanks Meter: 234
TrueSight still has problem on min max freq setting, right ? Or it's already fixed ?
2nd November 2016, 07:44 AM |#7  
Junior Member
Flag Tokyo
Thanks Meter: 4
I've been waiting so long for this, thank you for making this happen
2nd November 2016, 07:47 AM |#8  
Senior Member
Ann arbor
Thanks Meter: 29
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, 08:33 AM |#9  
santi1993's Avatar
Senior Member
Flag Buenos Aires
Thanks Meter: 127
Thanks! ur work is awesome!
can we get a non gapps build?;>

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

Name:	Screenshot_2016-11-01-22-39-38.png
Views:	9914
Size:	182.6 KB
ID:	3923636  
2nd November 2016, 10:30 AM |#11  
Domnisto's Avatar
Flag Calcutta
Thanks Meter: 28
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.

You will need latest radio ( and latest bootloader (HHZ20h)
Latest TWRP recovery 3.0.2-0 for hammerheadcaf is highly recommended
The Following User Says Thank You to Domnisto For This Useful Post: [ View ] Gift Domnisto Ad-Free
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Previous Thread Next Thread