FORUMS
Remove All Ads from XDA

[ROM][8.1.0][Lithium][AOSP] Cardinal AOSP 5.6.1 [TREBLE]

1,075 posts
Thanks Meter: 523
 
By albertoduqe, Senior Member on 22nd February 2018, 05:29 PM
Post Reply Email Thread

Code:
/* Disclaimer 
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, 
* or you getting fired because the alarm app failed. Please do some research 
* if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you blame me in any way for what happens to your device, I will laugh at you.
* BOOM! goes the dynamite
*/

About Project:

Cardinal-AOSP is a Custom ROM which was initially based on AOSPB, then we changed our mind and rebased it to AOSP-RRO, to get better compatibility with most of the devices. And now we are based on AOSP on oreo. The main aim of this ROM is to bring stock AOSP experience as much as possible while maintaining performance, smoothness and good battery backup. I hope that you'll all love this project, and help us, shape it even more better. Meanwhile, all of our sources are publicly available on our Github. We also do own a Google+ Community, where you can.... uhm... you know, do what all others do at forums and communities! Hope you enjoy your stay and like our work on Cardinal-AOSP.

NOTE: we won't be accepting any feature requests, and only essential features will be added to enhance stock AOSP experience.

Changes on top of AOSP:
• QS Tiles: Adb over network, Caffeine, Screenshot, Reboot, Sound, Volume, PiP, Headsup, compass, Accidental touch
• Cardinal logo on statusbar
• Signature spoofing support for MicroG
• Comes with Pixel/Stock theme
• Comes with Margarita substratum theme
• Reboot to recovery/bootloader in powermenu
• Latest Ringtones/Effects tones from Pixel image
• Allow lower temp for night light
• Accept All files over bluetooth option
• Volume Adjustments Sound
• Add SystemUI Tuner features into Wings
• Disabled RescueParty
• Enable Custom shapes option on Launcher3
• Enable Developer option by default
• Launcher3 Gestures
• Screenshot sound toggle
• Reset Battery Stats
• Ship with Jelly browser
• L/R IME/Music Cursors

• DND Tile enhancements
• HSPA+ icon
• Add/Remove tiles with one click

*Wings*
*General*
• Wake on Plug
• Sensor block-per package
• In call vibrations

*Status Bar*
• Secured QS
• QS title visibility
• Custom QS layout configuration
• Headsup toggle
• Headsup whitelist/blacklist
• IME Selector notification toggle
• Battery light/Notification light options
• Network traffic meter
• DT2S on Statusbar

*Buttons*
• Volume button wake
• Volume button music control
• Dynamic software Navigationbar/Hardware keys toggle
• Pixel Navbar animation
• Accidental touch
• Button backlight controls
• Custom Key rebindings
• Option to Disable Home key when ringing

*Lock Screen*
• option to hide lockscreen shortcut on secured lockscreen
• Lockscreen media art toggle
• Option to unlock with FP directly after reboot
• Fingerprint Authentication vibration toggle

*Recents*
• Clear all FAB option


Bugs:
When Expanded Desktop on everywhere, screen doesn't come up on or does it very slowly after going to sleep...
Proximity fixes ARE HERE but some audio issues (when calling mostly) might still persist. Needs testing...
Other than that... You tell


Special notice for 20180612 build and onwards:
The 20180612 build includes treble support. That means that, if you use Magisk, you will need to flash a Magisk-cust or magisk-treble patched for it work. Appart from that, as long as you flash normally and stay in the rom or go to other conventional lithium builds, nothing's changed for the user.

If you know a bit of how treble works, you will know that this only (or mainly) means that after flashing and booting this Cardinal build, you can go back to TWRP, wipe everything except for vendor partition, and flash any GSI on top. Gapps and root will have been wiped, so you will have to flash them again as with any new GSI.

For any more information on treble refer to Psy_Man's thread and his links there


Downloads:

All builds: Download Cardinal-AOSP for Lithium

Download GApps: Tested with OpenGapps 8.1 unofficial by Nezorflame and with official opengapps.
Feel free to use any other package at your own risk! Only tested with pico and nano.


Flashing Recommendations:

Warning: Some users are experiencing issues with TWRP. If you're encrypted, do NOT flash this ROM unless you're willing to decrypt first. If you're not encrypted, make sure to back up anything important to PC/cloud first as the TWRP issues may make it tricky to back that data up in the future.

Highly recommended: use latest working TWRP, 3.2.1 by raupe/blunden. Find it linked by Blunden in the official TWRP thread.

- Download ROM and GApps
- Download latest firmware (tested with the one provided by Psy_Man, although it should work with miui 8.2.1 or later...).
- Reboot to recovery and backup existing ROM (Just in case!)
- Wipe System, Data, ART cache, Cache, factory reset.
- Flash Firmware, ROM and Gapps.
- Flash root method IF YOU WANT ROOT: attention, only tested with Magisk 14.0, no idea about other magisk versions. SU is reportedly not working for Oreo, at least for Lithium.
- Reboot.


Credits
Psy_Man for device and kernel sources: without those this rom wouldn't be here.
LineageOS
NitrogenOS
AOSPA
Du
All the rest custom roms out there
@Recenz for wonderful bootanimation
Apologies if we've missed out someone, please feel free to PM, in case we've forgotten to pin your name here!
E50AK for essential support and expertise.


Source Information:
Cardinal-AOSP on Github
G+ Community
Telegram Channel
Telegram Group


XDA:DevDB Information
Cardinal AOSP, ROM for the Xiaomi Mi Mix

Contributors
albertoduqe

Source Code:
ROM source
Device trees by Psy_Man

New since 20180412: Kernel by xNombre THANKS!
(NOT soda)

ROM OS Version: 8.x Oreo
ROM Kernel: Linux 3.x
Based On: AOSP

Version Information
Status: Stable

Created 2018-02-12
Last Updated 2018-06-12
The Following 10 Users Say Thank You to albertoduqe For This Useful Post: [ View ] Gift albertoduqe Ad-Free
22nd February 2018, 05:30 PM |#2  
albertoduqe's Avatar
OP Senior Member
Thanks Meter: 523
 
More
Reserved
The Following User Says Thank You to albertoduqe For This Useful Post: [ View ] Gift albertoduqe Ad-Free
22nd February 2018, 05:48 PM |#3  
omerbagi10's Avatar
Senior Member
Thanks Meter: 113
 
More
Its like christmas but its not
Keep up the good work!
22nd February 2018, 06:50 PM |#4  
Senior Member
Flag Jalpaiguri
Thanks Meter: 61
 
More
Ohhhh...so excited to see this flurry of activity for our dear Lithium. Shall try this tomorrow and report.
22nd February 2018, 07:16 PM |#5  
MrColdbird's Avatar
Senior Member
Thanks Meter: 2,188
 
Donate to Me
More
Two questions.

Do phone calls actually work?
And how's battery life on this?
The Following User Says Thank You to MrColdbird For This Useful Post: [ View ] Gift MrColdbird Ad-Free
22nd February 2018, 07:20 PM |#6  
Senior Member
Thanks Meter: 33
 
More
Nice, glad that Lithium get more developers.
22nd February 2018, 07:31 PM |#7  
albertoduqe's Avatar
OP Senior Member
Thanks Meter: 523
 
More
Quote:
Originally Posted by Hunter Mossberg

Nice, glad that Lithium get more developers.

No more developers

Sent from my Redmi Note 4 using Tapatalk
22nd February 2018, 07:57 PM |#8  
albertoduqe's Avatar
OP Senior Member
Thanks Meter: 523
 
More
Quote:
Originally Posted by MrColdbird

Two questions.

Do phone calls actually work?
And how's battery life on this?

Haven't tested neither yet... Using the Mix only for testing oreo roms for the last weeks no time for some important things sorry...

If by calls you mean just network and call and receive yes sure, it works. If you mean the screen going off sorry, not yet. And I have to add it to bugs, sorry, I forgot: proximity not working yet.

Sent from my Redmi Note 4 using Tapatalk
22nd February 2018, 08:45 PM |#9  
Senior Member
Thanks Meter: 33
 
More
Quote:
Originally Posted by albertoduqe

No more developers

Sent from my Redmi Note 4 using Tapatalk

From no one to 3, this is good result.
22nd February 2018, 08:50 PM |#10  
albertoduqe's Avatar
OP Senior Member
Thanks Meter: 523
 
More
Quote:
Originally Posted by Hunter Mossberg

From no one to 3, this is good result.

Well I can talk only for myself but I'm no developer at all.

Just hope the rom works

More are coming too, I hope
22nd February 2018, 08:50 PM |#11  
Junior Member
Thanks Meter: 5
 
More
I have managed to fix the proximity sensor. I´ll merge the change into my GitHub tomorrow or commit inside PsYMan one.
The Following 2 Users Say Thank You to ArwenArtful For This Useful Post: [ View ] Gift ArwenArtful Ad-Free
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