• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][DISCONTINUED][7.1.2]Nitrogen OS N[AOSP]

33bca

Recognized Developer
Jun 5, 2013
892
3,615
93
Basel




The rich functionality is based on AOSP, development was begun in September, 2016.


xyyx (Max) - main developer


Copy the ROM and Gapps on phone.
  • Go to your recovery
  • Wipe Data, cache and dalvik cache
  • Install ROM and Gapps zip
  • (DO NOT FLASH SUPERSU, SuperUser is included in ROM. If you need to flash it, download SuperUser from here and flash it)
  • Reboot - 1st boot takes around 3-4 minutes.


For the guys who want to use SuperSu instead of the SuperUser, here is the unsu zip: http://xyyx-dev.ru/nitrogen-os/Nitrogen_msm_UNROOT.zip

Flashing process to replace SuperUser with SuperSU: Flash ROM, gapps, unsu zip, SuperSu and reboot
Enjoy!





Code:
Status Bar:
- Clock and date position in status bar;
- Battery style settings;
- Network traffic;
- Bluetooth device battery level in status bar;
- Adjust brightness by sliding across the status bar;
- Input method selector notification.

Quick Settings:
- Number of rows and columns;
- Quick pulldown;
- No QS on secured lockscreen;
- Brightness slider;
- Smart pulldown;
- One tap the tile for  enable/disable WiFi;
- One tap the tile for  enable/disable Bluetooth;
- One tap the tile for  enable/disable data;
- show/hide adaptive brightness icon in QS;
- LTE enable/disable tile.

Buttons:
For devices with hardware buttons
- Enable/disable buttons;
- Adjust brightness;
- Keys brightness timeout;
- Reassignment hardware buttons action;
- Force close apps by long press “back” button;
- Volume rocker wake;
- Playback control by volume keys;
- Allow volume keys to enable/disable “Do Not Disturb” mode.

Navigation Bar:
- 2 type navigation bar mode: Smartbar (as usual in android) and Fling (navbar from “Dirty Unicorns” rom);
- Pulse settings in Fling navbar;
- Navbar height control in portrait and landscape orientations;
- Context buttons layout position;
- Context buttons transparency;
- Button touch animation;
- Cursor arrows in navbar while typing;
- Force show/hide navbar on the bottom side when device is rotated;

Gestures:
- Open camera by double tap the power button;
- Double tap on lockscreen to put the device to sleep;
- Double tap status bar to put the device to sleep;

Lock Screen:
- Lock screen shortcuts;
- Show/hide weather on lock screen;
- Lock screen clock font;
- Longpress power button with lock screen turn on torch;
- Rotate lock screen.

Power Menu:
- Customizing power menu;
- Enable/disable power menu on secure lock screen.

Recents apps:
- Exclude apps from the recents panel;
- Select recents view.
- Clear all button positions

Miscellaneous:
- Screenshot type – fullscreen screenshots or selected area as a screenshots;
- Enable MTP instead charging after connect to PC;
- Apps wakelock blocker;
- Wake up device if charger is plugged/unplugged;
- Scrolling cache;
- Allow signature spoofing (microG).

Other:
- App ops;
- Built-in superuser;
- Quick unlock for 4 pin;
- Night light;
- Enable/disable dashboard suggestions, conditions and tiles summaries;
- Ambient display customizing.

None


None


Nitrogen Project | Xiaomi Mi5 Kernel

XDA:DevDB Information
Nitrogen OS N, ROM for the Xiaomi Mi 5

Contributors
33bca
ROM OS Version: 7.x Nougat
Based On: AOSP

Version Information
Status: Testing

Created 2017-01-06
Last Updated 2017-03-22
 
Last edited:

33bca

Recognized Developer
Jun 5, 2013
892
3,615
93
Basel
Report a bug:


Changelog:
06.01.2016
- Initial Release


13.01.2017
- Fingerprint as Homebutton now added!
- Pocketmode added
- OIS works now
- NFC fixed
- Fastcharge works now with up to 3000mAh
- Update source to newest Nitrogen source
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


24.01.2017

- Update source to newest Nitrogen sources
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


07.02.2017

- Fix bluetooth audio issue
- Enable WIFI calling
- Update source to newest Nitrogen sources (for the rom related changes please follow Nitrogen)
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


17.02.2017

- Activate Google Assistant
- Increase in-call earpiece volume
- Fix echo in calls (just some users were affected)
- Include aptX codec support
- Update source to newest Nitrogen sources (for the rom related changes please follow Nitrogen)
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


21.02.2017

- Update source to newest Nitrogen sources (for the rom related changes please follow Nitrogen)
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


22.03.2017

- Update source to newest Nitrogen sources (for the rom related changes please follow Nitrogen)
- HAL3 enabled from now on (still video rec issues...)
- GPS upstream with CAF
- Dexpreopt Kernel (faster boot)
- Audio configs from MIUI 7.3.2 China dev
- Fix recordings longer than 30 seconds
- Update build fingerprint (Stable, it will pass safetynet with that)
- Update graphic blobs
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)


28.03.2017

- Video Recording works now with some more cameras
- Update source to newest Nitrogen sources (for the rom related changes please follow Nitrogen)
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)
 
Last edited:

gabryoryn

Senior Member
Nov 11, 2014
122
202
0
Lecce, Puglia
First, thank you very much for this great project!! :)
If it's possibile, I have two questions:
- I want use this rom with microG for privacy, your rom collect information like cyanogenmod?
- The rom has bugs?

Thanks again, in testing very soon
 

IMTLD

Senior Member
Aug 30, 2012
359
42
0
flashed the rom, the only bug so far is bluetooth headphone doesn't work, it connects but shows no media in bluetooth settings, and sound comes out from the phone speaker.
Also swap buttons is not available from settings, fingerprint sensor doesn't work when screen off, after installing snapdragon camera it force closes.
Anyway thanks for your great contributions to the Mi5 forum!
 

tiflao

Senior Member
Nov 10, 2012
671
89
0
flashed the rom, the only bug so far is bluetooth headphone doesn't work, it connects but shows no media in bluetooth settings, and sound comes out from the phone speaker.
Also swap buttons is not available from settings, fingerprint sensor doesn't work when screen off, after installing snapdragon camera it force closes.
Anyway thanks for your great contributions to the Mi5 forum!
Fingerprint works fine

Enviado desde mi MI 5 mediante Tapatalk
 

[email protected]

Senior Member
Sep 29, 2011
110
29
28
Moscow
@33bca, a couple of bugs noticed: 1 - there's no NFC toggle, and tile also not working; 2 - long press Power for torch on screen off doesn't work; 3 - fingerprint wakeup doesn't work (or i didn't find where to turn it on)
 
Last edited:

crnkoj

Elite Member
Feb 16, 2011
1,833
397
0
Hi, awesome rom,
i have just one question about the swap back/recents button option, is it missing in the rom or am i just unable to find it?
Or is there a hack to enable it?
Im not sure but i think the fp reader doesnt wake the device always (appears to wake it if the power button had been recently pressed, otherwise it doesnt)
Thanks.
 
Last edited:

lukigoes

Senior Member
Apr 22, 2013
162
36
0
The ROM is really great!! I like it very much :)
But the battery drain in stand-by is a little high and the fingerprint reader doesn't wake the device :(
Great work, thank you!! :good: :)
 

33bca

Recognized Developer
Jun 5, 2013
892
3,615
93
Basel
Can anyone please confirm if WiFi Hotspot works or not?
It works with the newest build (01.13)

The ROM is really great!! I like it very much :)
But the battery drain in stand-by is a little high and the fingerprint reader doesn't wake the device :(
Great work, thank you!! :good: :)
I did not notice any standby drain while testing it, maybe your apps?
An option to wake up the device with the fingerprint is now added.
 
Last edited:

33bca

Recognized Developer
Jun 5, 2013
892
3,615
93
Basel
Update

Here is a bigger update, i hope you guys like it!

Download: https://www.androidfilehost.com/?fid=457095661767129514

That are the bigger changes:
- Fingerprint as Homebutton now added! (with the whole Configpanel ported from LineageOS)
- Pocketmode added
- OIS works now
- NFC fixed
- Fastcharge works now with up to 3000mAh
- Update source to newest Nitrogen source
- Kernel upstream with CM
- Device upstream with CM (Many more under the hood changes)