[ROM][LOS14.1][7.1.2_r29] DARK ROM [OMS][Pixel features][Delta updates][11/02]

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,640
10,596
193
Hi guys,

I'm building an extra lean LineageOS 14.1 ROM for axon7 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 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
- Custom headers
- 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 when WiFi SSID is showing
- 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
Please refer to the official LineageOS thread for recovery or other device specific images (radio, bootloader, vendor).

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
Axon 7

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
All the good devs who contributed to the features I added
 
Last edited:

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,640
10,596
193
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 Extra packages, 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.
 
Last edited:

marcdw

Senior Member
Sep 24, 2014
5,732
2,880
253
57
Baldwin Park
On an update / dirty flash the Theme Interfacer is crashing. Not possible to apply themes.
After I get some sleep I'll do a clean flash and see what happens.


ZTE Axon 7 A2017U, Dark ROM, Tapatalk 4.9.3
 

Gases

Senior Member
Jul 2, 2016
214
124
0
Querétaro
It seems like the latest update broke the themer interface on other devices as well (Nexus, OP3). I'll wait for an update to be pushed (if OP wants to push it) and I'll give it a try. Thank you for your interest in developing for this device @Dark_Eyes_ !
 

Choobilsky

Senior Member
Nov 21, 2015
365
152
0
Vientiane
New build with Substratum fix is up now, dated 0811. I removed the 0808 build from the server to prevent accidental use of it.

Enjoy!
Downloading it with Delta! This is awesome! Thanks!

Update: filled the "flash after update" folder during download with the zips needed (extras, omniswitch, magisk). Everything flashed without any issue. Thanks again.
 
Last edited:

Dark_Eyes_

Recognized Developer / Recognized Contributor
Sep 19, 2013
2,640
10,596
193
Just tried installing, but always that error 7 shows up
I don't speak German much, but it fails because you don't have the right version for something. Look in the official LineageOS thread for minimal requirement and install whatever is needed. It says something about TrustZone...
 

Sunn76

Senior Member
Jun 1, 2016
213
195
0
I tried with: twrp-3.0.4-1-ailsa_ii.img
And: twrp-3.1.1-0-ailsa_ii.img

Gesendet von meinem ZTE A2017G mit Tapatalk
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone