• 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][6.0.1][UBER][OFFICIAL]Cardinal-AOSP[3.4.1][07.11.16]

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0


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, Cardinal is being built with Uber toolchain, with most of uber optimizations, with full Substratum Support and with minimal customization, the main aim of this ROM is to bring stock AOSP experience 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.

Tweaks
NOTE: We've decided to keep the customizations minimum, so as to provide stock AOSP experience, but with necessary features

**TheWings**

*QS and Status Bar tweaks*
- Rounded, and other battery styles,
- Battery percentage
- Show AM/PM toggle
- Time alignment
- Battery LED (shows only if device supports)
- Lights with screen on (only if device supports)
- Play music QS tile
- Moved SystemUi to Our own Settings category
- Added 4 tiles view
- Carrier label
- Network traffic
- AOSPA Battery Style
- Expanded Desktop

*Navigation Bar tweaks*

- Squash of full Slim Navbar Customizations
- Hardware key custom rebinding
- Swap app and back key switch
- DUI [Fling and Pulse]
- Hardware keys disabler
- Backlight control and disabler

*Substratum Layers*

- Full substratum support (updated)

Downloads
Cardinal ALL Builds: Download
Download Cardinal 3.4.1 Build: Download

Download Bank's GAPPS from Dirty Unicorn's download center: Download

Download OpenGAPPS: https://opengapps.org

Flashing Instructions:
- Download ROM and GApps (optional)
- Reboot to recovery and Backup existing ROM
- Wipe System, Data, ART cache, Cache
- Flash ROM, Gapps and reboot...


Credits

AOSPB
AOSP-RRO
SlimROMs
TipsyOS
DirtyUnicorns
Ubermallow
Krexus-CAF
yuweng
crpalmer
BadDaemon
Extreme apologies if we've missed out someone, please feel free to PM, in case we've forgotten to pin your name here!


Source Information:
Cardinal-AOSP on Github: https://github.com/Cardinal-AOSP



XDA:DevDB Information
CARDINAL-AOSP, ROM for the Honor 5X

Contributors
gopinaidu77, yuweng
ROM OS Version: 6.0.x Marshmallow
ROM Kernel: Linux 3.10.x
ROM Firmware Required: Should have stock Marshmallow installed previously
Based On: Aosp

Version Information
Status: Stable
Current Stable Version: Latest

Created 2016-09-07
Last Updated 2016-12-07
 
Last edited:

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0
Screenshots
 

Attachments

Last edited:

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0
...

Changelogs

====================
11-07-2016
====================

* device/qcom/sepolicy/
f297dd3 msm8937: Add context to recovery block device [Ricardo Cerqueira]
* kernel/huawei/kiwi/
614edb2 msm: mdss: Add support to select max MDP bandwidth [Michael W]

====================
11-04-2016
====================

* device/huawei/kiwi/
e991029 Update system.prop [GitHub]
92242d2 Update KiwiRIL.java [GitHub]
93f74e2 Update config.xml [GitHub]

====================
11-03-2016
====================
====================
09-15-2016
====================
* OTA/
da40d36 hotfix [GitHub]

====================
09-14-2016
====================


====================
09-13-2016
====================

* packages/services/Telephony/
d76f6ba Phone: Enable LTE for GSM LTE phones (part I) [Adarsh-MR]

====================
09-12-2016
====================

* frameworks/base/
f7d629b Add a timer to screen record [Adarsh-MR]
0739f62 Save screenrecord in "Screenrecords" directory [Adarsh-MR]
1bdbca3 Telephony: Add getLteOnGsmMode() method (1/2) [Adarsh-Mr]
* frameworks/opt/telephony/
b301910 Telephony: Add getLteOnGsmMode() method (2/2) [Adarsh-Mr]
* packages/apps/Eleven/
89f5a4d eleven: Runtime permissions [Michael Bestas]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-kernel/
dc19b43 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-4.9-kernel-linaro/
587b479 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-5.x-kernel/
175215d Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-5.x-kernel-linaro/
a90f97b Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-6.x-kernel/
0f66073 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-6.x-kernel-linaro/
c997344 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/aarch64/aarch64-linux-android-7.0-kernel/
708bd33 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-linaro/
f750b54 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-eabi-4.9-uber/
f750b54 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-eabi-5.x-linaro/
baaa010 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-eabi-5.x-uber/
baaa010 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-eabi-6.x-linaro/
f7e3aa8 Initial commit [DespairFactor]
* prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.9-uber/
c704108 Initial commit [DespairFactor]

====================
09-11-2016
====================

* device/huawei/kiwi/
2848082 kiwi: ril: Scale gsmSignalStrength properly [Michael W]
* kernel/huawei/kiwi/
9452a29 wcnss: Avoid user buffer overloading for write cal data [Michael W]

====================
09-07-2016
====================
* OTA/
b3db927 onyx: time to 3.2 [GitHub]
* manifest/
ed7b0c9 manifest: track qcom_common [rohitporoli]
* vendor/cardinal/
26f279f Time to 3.2 [rohitporoli]

====================
09-06-2016
====================

* hardware/qcom/audio-caf/msm8916/
255a26d policy_hal: Invert standard build flags [Michael Bestas]
7b2112b Revert "policy_hal: Fix build with Clang" [Michael Bestas]
* hardware/qcom/media-caf/msm8916/
7c1a7af Fix duplicated OMX.qcom.audio.decoder.aac entry [Michael Bestas]

====================
09-05-2016
====================
* OTA/
3487e67 onyx lub [GitHub]
9e8db5e update kenzo ota [GitHub]
f41af35 Merge pull request #1 from PhenomX1998/patch-1 [GitHub]
5876f56 add op3 [GitHub]
* frameworks/base/
467b602 base: wings, wings everywhere [1/2] [rohitporoli]
916376a SysUI: Correct QS Tuner reset [rohitporoli]
e2435f9 fix build [rohitporoli]
75d4bac Move these helpers over to the frameworks [1/2] [rohitporoli]
6e8c70c Wait until the Keyguard is drawn to dismiss the boot dialog. [rohitporoli]
6fcf745 Revert "Try to fix Circle battery charging animation" [rohitporoli]
06c617e am: Account for time changes when showing recent activities [rohitporoli]
5261e9f Add Restart SystemUI to reboot menu [rohitporoli]
613c5aa SystemUI: Add charging bolt indicator to PA's circle [rohitporoli]
b7c3a8a DEBUG: Turn off some debugging we don't need. [rohitporoli]
25172b7 Disable More Debugging [rohitporoli]
7561961 aapt: silence these warnings [rohitporoli]
10067ef aapt: suppress string resources build warnings [rohitporoli]
f457473 SystemUI: screenshot: remove screenshot notification before taking screenshot [rohitporoli]
ff6ab1a NotificationManager: Allow Settings app to publish a notifications without icon [rohitporoli]
8cfdea5 SystemUI: small optimization for notification icon numbers [rohitporoli]
a2c11bf Show infinity for large notification counts [rohitporoli]
6ba137b Battery: Show battery fully charged notification [rohitporoli]
ff31c81 Turn off mobile data while setting up the device for the first time by default [rohitporoli]
a163fe5 Marshmallow logo instead of 'No recent apps' [rohitporoli]
76243aa base: display headset when plug [rohitporoli]
11f7009 remove tuner intent [rohitporoli]
ae31eec Drop the animated settings icon [rohitporoli]
f9ef1f9 Longpress settings button for TheWing! [rohitporoli]
2e201e1 Precaution to make sure wallpapers are set in full screen [rohitporoli]
01497a0 Add Vibrate on long press Header Buttons * since we dont vibrate tiles lets follow googles way and only vibrate on longpress * thanks to Alexander Martinz <[email protected]> got the idea for this from his quicktiles vibrate option https://github.com/NamelessRom/android_frameworks_base/commit/df177ae [rohitporoli]
39229d5 StatusbarHeader: make user avatar long clickable everything else is long clickable might as well make long click on avatar bring us to user settings [rohitporoli]
b0d09b2 SystemUI: status bar header long click actions Long click * Time - Set alarm * Date - Set calendar event * Battery - battery saver settings [rohitporoli]
21aa6ff SystemUI: make clock and time clickable in statusbar [rohitporoli]
62d8ddd Do not block HOME if background incoming call (marshmallow) [rohitporoli]
168ed1c frameworks_base: Add ProximityWake [1/2] [rohitporoli]
fe0ab9d Window rotation: fix up sensor logic [rohitporoli]
c95afe7 Rotation related corrections [rohitporoli]
93908da SystemUI: port compass tile [rohitporoli]
* packages/apps/Settings/
8d984d9 AndroidManifest: Wings, wings everywhere [2/2] [rohitporoli]
* packages/services/Telephony/
39ccaaa Revert "Telephony: Fix translatability of network modes" [rohitporoli]

====================
09-04-2016
====================

* manifest/
245bbd2 manifest: track our own ril,wlan,telephony [rohitporoli]
* packages/apps/Settings/
cfa00b5 Settings: Fix SeLinux Switch [rohitporoli]

====================
09-03-2016
====================

* frameworks/base/
7717c1d SysUI: dont add music and screenshot tile by default coz #YOLO [rohitporoli]
* packages/apps/Settings/
d3e6c99 Display: Fix Display Settings FC [rohitporoli]
25c583c Selinux Switch [rohitporoli]
39a1ed1 Expose expanded desktop activities [rohitporoli]
da2b487 Settings: Add ProximityWake [2/2] [rohitporoli]
* vendor/cardinal/
e214277 Revert "prebuilt: update substratum to V220" [rohitporoli]

FAQS :

Is this ROM based on AOSP or CM?
The ROM is based on AOSP

Does this ROM have CMTE or RRO-Layers?

None, we've Substratum on board!

<some random app> is forceclosing on my device, what should I do?
Report the issue with proper logs .

Does this ROM have any audio controls like V4A?
Nope, not V4A, but we've AudioFX.

I would like to suggest a feature for this ROM?
Sure, post it under the "Feature Wish" section in our Google+ Community, though we're not planning on adding more features to this ROM, ATM. We'll certainly look into it.

Does the zip include SuperSU, or should I flash it separately?

Yes, it's included!
 
Last edited:

mumith3

Senior Member
Oct 24, 2013
529
738
0
Putra Nilai, Malaysia
Cool.... You're cool Mate !! @gopinaidu77 ... Thanks for bringing AOSP beauties to our device...

Just a headsup... CypherOS is switching their base from CM to AOSP from android 7 Nougat,
I hope we're gonna get some Nougat love too sometimes in future ^_^
 

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0
Cool.... You're cool Mate !! @gopinaidu77 ... Thanks for bringing AOSP beauties to our device...

Just a headsup... CypherOS is switching their base from CM to AOSP from android 7 Nougat,
I hope we're gonna get some Nougat love too sometimes in future ^_^
Yeah :victory:
 

jsbeyond

Senior Member
May 12, 2015
667
1,784
0
Well most of the other Devs are already working on cm based roms . At first i wish to concentrate on Aosp based builds and make most of them go official .
Can you share your device tree and kernel?thx

Sent from my HUAWEI GRA-TL00 using XDA-Developers mobile app

---------- Post added at 10:18 AM ---------- Previous post was at 10:18 AM ----------

Awesome work gopi! You're doing a great job here along with @yuweng and @jsbeyond.......you all have made this device worth keeping for while! :) :)
thank you[emoji13] [emoji13] [emoji13]

Sent from my HUAWEI GRA-TL00 using XDA-Developers mobile app

---------- Post added at 10:19 AM ---------- Previous post was at 10:18 AM ----------

Awesome work gopi! You're doing a great job here along with @yuweng and @jsbeyond.......you all have made this device worth keeping for while! :) :)
thank you[emoji13] [emoji13] [emoji13]

Sent from my HUAWEI GRA-TL00 using XDA-Developers mobile app
 

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0
Can you share your device tree and kernel?thx

Sent from my HUAWEI GRA-TL00 using XDA-Developers mobile app

---------- Post added at 10:18 AM ---------- Previous post was at 10:18 AM ----------


thank you[emoji13] [emoji13] [emoji13]

Sent from my HUAWEI GRA-TL00 using XDA-Developers mobile app

---------- Post added at 10:19 AM ---------- Previous post was at 10:18 AM ----------


thank you[emoji13] [emoji13] [emoji13]
It had already gone official bro .

U can get my device tree here .

http://github.com/Gopinaidu7/device_huawei_kiwi
 

methuselah

Elite Member
Aug 25, 2011
3,790
2,118
113
@gopinaidu77 well feedback time brother . ROM is smooth. But Phone gets while sometime lying idle. The battery was getting down even without using. I will now try to install battery stats when i will try to know what was eating battery. As I am only one facing these heating issues maybe something is wrong with installed apps. But i don;t prefer to install too many apps.
 

rodolphe06

Senior Member
Jan 25, 2016
894
325
0
@gopinaidu77 well feedback time brother . ROM is smooth. But Phone gets while sometime lying idle. The battery was getting down even without using. I will now try to install battery stats when i will try to know what was eating battery. As I am only one facing these heating issues maybe something is wrong with installed apps. But i don;t prefer to install too many apps.
Try force doze. Only app i installed for battery. May be it can help you.

Sent from my KIW-L21 using XDA-Developers mobile app
 

methuselah

Elite Member
Aug 25, 2011
3,790
2,118
113
Force is better than neptime bro .
U cant find perfect values for neptime . force doze does a decent job
ohk cool. I most of the time let the ROM decide the things what needs to be done. ROM can better handle these things. Well one more thing to tell you brother. I tried switch-off charging. There is no led while phone is in charging mode while switchedoff.