[ROM][LOS15.1][8.1.0] DARK ROM BETA [Pixel features][04/16]

Search This thread

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,683
10,620
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)

Screenshots

SafetyNet
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.

ViPER4Android/ViPER4Arise
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.

Installation
You will need latest radio (2.0.50.2.30) 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)

Download
To download the whole ROM
Hammerhead

To download GAPPS and Extras
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.

Translations
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.
SystemUI
Settings
CMParts

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

Source code
GitHub

Thanks and credit
LineageOS
@myfluxi
@lol4topnz
@kylon
@phoval
@ganachoco
All the good devs who contributed to the features I added
 
Last edited:

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,683
10,620
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 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:
- Calendar (AOSP Calendar)
- Contacts (AOSP Contacts)
- DeskClock (AOSP Clock)
- Dialer (AOSP Dialer)
- Eleven (LOS Music player)
- ExactCalculator (LOS Calculator)
- Gallery2 (AOSP Photos)
- Jelly (LOS Browser)
- LatinIME (AOSP Keyboard)
- Messaging (AOSP SMS)
- Recorder (LOS Recorder)
- Snap (LOS Camera)
- Stk (AOSP SIM card toolkit)
- Trebuchet (LOS Launcher)

Note that if you install my GAPPS and the complete Extras package, you'll end up with two Phone app and two Contacts apps. Simply delete the GoogleContacts and GoogleDialer in the system/priv-app and reboot. If you choose to use the AOSP Dialer instead of Google Dialer, you'll need to go to Settings/Apps/Gear Icon (top right) and choose the AOSP Dialer as default phone app, otherwise you won't be able to make calls.

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.

Revert to AOSP Bluetooth Stack
If you have problems connecting to some devices over Bluetooth, you can try to revert to the AOSP Bluetooth stack. To do so, 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.
 

Attachments

  • Stock_dpi.zip
    142.7 KB · Views: 2,227
  • Bluetooth_AOSP_Stack.zip
    2.4 MB · Views: 1,552
Last edited:

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,683
10,620
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.
 

Aurey24

Senior Member
Sep 15, 2014
129
33
Ann arbor
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
 
  • Like
Reactions: domdesforges

spyr3o

Member
Oct 16, 2016
16
1
I get this error while flashing ROM
 

Attachments

  • Screenshot_2016-11-01-22-39-38.png
    Screenshot_2016-11-01-22-39-38.png
    182.6 KB · Views: 14,994

WingXBlade

Senior Member
Dec 16, 2014
76
21
Kuala Lumpur
I get this error while flashing ROM
It seems like you don't have the caf version of twrp

---------- Post added at 07:32 PM ---------- Previous post was at 07:30 PM ----------

Anyone have luck with now on tap? I toggled it on but it still doesn't work..
And I prefer having now on tap than the google assistant since I can search for highlighted words with now on tap but not with google assistant
 

LanzoThunder

Member
Mar 17, 2015
18
6
Could you please make a version without the Pixel Launcher? Or providing at least a removal zip?

I always loved your work and your clean and pure AOSP rom and waited for your CM14.1 since a lot. So, really, I'm asking for that with all myself. I really hate that launcher :rolleyes:
 

SteveMurphy

Recognized Contributor
Apr 22, 2012
1,659
2,703
Atlanta
Could you please make a version without the Pixel Launcher? Or providing at least a removal zip?

I always loved your work and your clean and pure AOSP rom and waited for your CM14.1 since a lot. So, really, I'm asking for that with all myself. I really hate that launcher :rolleyes:
It would be easier/quicker if you deleted it yourself. In TWRP simply mount /system and navigate to the folder and delete. It's likely in priv-app, but search until you find it. Before you do this, however, make certain you have another launcher installed or the ROM won't boot.

@Dark_Eyes_, thanks for harkening to the users around here and building for us!
 

Top Liked Posts

  • There are no posts matching your filters.
  • 233
    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)

    Screenshots

    SafetyNet
    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.

    ViPER4Android/ViPER4Arise
    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.

    Installation
    You will need latest radio (2.0.50.2.30) 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)

    Download
    To download the whole ROM
    Hammerhead

    To download GAPPS and Extras
    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.

    Translations
    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.
    SystemUI
    Settings
    CMParts

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

    Source code
    GitHub

    Thanks and credit
    LineageOS
    @myfluxi
    @lol4topnz
    @kylon
    @phoval
    @ganachoco
    All the good devs who contributed to the features I added
    90
    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 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:
    - Calendar (AOSP Calendar)
    - Contacts (AOSP Contacts)
    - DeskClock (AOSP Clock)
    - Dialer (AOSP Dialer)
    - Eleven (LOS Music player)
    - ExactCalculator (LOS Calculator)
    - Gallery2 (AOSP Photos)
    - Jelly (LOS Browser)
    - LatinIME (AOSP Keyboard)
    - Messaging (AOSP SMS)
    - Recorder (LOS Recorder)
    - Snap (LOS Camera)
    - Stk (AOSP SIM card toolkit)
    - Trebuchet (LOS Launcher)

    Note that if you install my GAPPS and the complete Extras package, you'll end up with two Phone app and two Contacts apps. Simply delete the GoogleContacts and GoogleDialer in the system/priv-app and reboot. If you choose to use the AOSP Dialer instead of Google Dialer, you'll need to go to Settings/Apps/Gear Icon (top right) and choose the AOSP Dialer as default phone app, otherwise you won't be able to make calls.

    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.

    Revert to AOSP Bluetooth Stack
    If you have problems connecting to some devices over Bluetooth, you can try to revert to the AOSP Bluetooth stack. To do so, 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.
    64
    New build is up!

    Guys,

    I just pushed a brand new build. It has all upstream patches from LineageOS, which includes the latest september security update and the blueborne patch for the kernel. I advise you to check if the custom kernel that you prefer has that blueborne patch as well. I haven't seen much kernels around that have it in. I also fixed a couple of bugs and polished the overall build. It should be close to perfection now. All in all I feel this is a very good build. It should have all translations in (except hindi) with addition of Turkish and Korean! Here is a detailed changelog:

    - September security patch
    - Blueborne kernel patch
    - Immersive recents (hide status bar, navigation bar or both)
    - Memory bar in recents
    - Option to remove the lock task in recents
    - Prevent locked task from being swiped away
    - Add a switch to remove toast icon
    - Add/remove QS tiles with one click
    - Two columns in dashboard
    - Hide cellular icon in status bar when the sim card is not provisioned
    - Fix the charging sound option

    It seems that Lineage is making good progress on the lineage-15 development, I'll keep a close look at it and start to work on the dark_oreo soon ;)

    I know I'm getting annoying with this, but if you have a few bucks to spare and you enjoy my work, please consider a donation. My PayPal account is here. Many thanks in advance, it is truly appreciated.

    I hope you like this release ;)

    Jean
    64
    Great news!

    Guys, I have a great news, I just got confirmation that I've been accepted as a Recognized Developer here on xda!

    It's in part thanks to you, the dark users, so I thought I'd share my joy with you all !!!

    Thanks for providing feedback, for helping each other out, for the much appreciated donations... Thanks for being part of the dark family. I'm grateful to be part of such a great community. That title just gave me renewed motivation to continue development, so you are gonna be stuck with me for a while lol.
    58
    Status update

    Hey guys,

    I know I've been awfully quiet these past few days (even weeks), so I thought I'd stop by to explain a bit why this is happening. Two weeks ago, I applied for a new job, which was a big promotion for me. I got the job, so I'm obviously very happy about it, but that also means that I'll have less free time to spend on the development side. I'm not giving up though, but I might be waiting for Android 8.1 to land before I really get started on oreo. That puts us probably mid December, so hopefully I'll have more time to work on it during the holidays.

    Stay tuned, I'll keep you posted!