• 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][KIWI][HONOR 5X] AOSP-CAF [STABLE][04/11/16]

gopinaidu77

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


Hi All,

I've been working on a AOSP-CAF version for kiwi. This is started from kernel and device tree by @crpalmer & @BadDaemon aka Micheal W so thanks a lot to them for the bringup. I've just modified it to work with AOSP. This is pure AOSP and no more features will be added, so kindly Don't request it.

This version is nearly stable. DUAL SIM works .Still, Flash this at your own risk.
Code:
#include  
/* 
* Your warranty is now void. 
* 
* 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 point the finger at me for messing up your device, I will laugh at you. 
*/
For now almost everything is working,

Working

  • Almost everything

Not working
  • You tell me

Sources
https://github.com/aosp-caf

Download

Older Builds DOWNLOAD[TILL 04/09/16]


Download

LATEST BUILD DOWNLOAD[3/11/16]



Gapps
Recommended gapps: Slim gapps

How to install ?
  1. Place ROM,Gapps and SuperSU in your SD Card/Internal Memory
  2. Reboot into recovery mode
  3. Wipe cache/dalvikcache/system/data
  4. Flash ROM/SuperSU/Gapps
  5. Reboot

If u find any issue with gapps then don't flash gapps immediately after rom. Flash ROM then reboot recovery and flash gapps

Credits:
- CodeAurora Forums
- CyanogenMod Team
- Men_in_black007
- Vatsal
- TechExhibeo
- h2o64
- Luk1337
- luca02400

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

Contributors
gopinaidu77, yuweng
ROM OS Version: 6.0.x Marshmallow
Based On: AOSP

Version Information
Status: Stable
Current Stable Version: LATEST
Stable Release Date: 2016-09-02

Created 2016-09-02
Last Updated 2016-11-04
 
Last edited:

gopinaidu77

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

How to use layers on AOSP-CAF

Code:
          [SIZE="5"][COLOR="Red"]READ THIS BEFORE POSTING[/COLOR][/SIZE]
           
    Substratum beta for devs and themers 
https://plus.google.com/+SykoPompos/posts/G84U9cwGiFS

Theme Ready Google apps [URL="http://forum.xda-developers.com//android/apps-games/apps-themeable-hangouts-layers-cmte-t3113192/post60850740"] http://forum.xda-developers.com//android/apps-games/apps-themeable-hangouts-layers-cmte-t3113192/post60850740[/URL]
     

     Layers do NOT work on ROMs with the CM theme engine
     Make a nandroid backup in TWRP recovery before making any modifications so you can restore it if you run into issues.
     It's assumed in this community that users understand the basics of root and how to recover their devices if they run into problems, we're not responsible for anything you do.s​​​​​​​

         LAYERS ON STOCK  NEXUS AOSP MM 
           1. Install TWRP, make a backup. 
            2. Root
           3. Uninstall some Google apps from the system partition to make room on the system partition for Layers. (Can be reinstalled from play store) 
     The system partition is different from the userdata partition so while you may have 40gb free on a 64gb device, it doesn't matter, it's a different partition. Uninstall them via a root file manager at system/app or use titanium backup or another system app removal app.
            4. Install BusyBox 
  MUST BE INSTALLED TO /SYSTEM/XBIN
            5.  Install Layers Manager  

             Layers Manager  [URL="https://play.google.com/store/apps/details?id=com.lovejoy777.rroandlayersmanag"]https://play.google.com/store/apps/details?id=com.lovejoy777.rroandlayersmanag[/URL]

       HOW TO MANUALLY REMOVE LAYERS 
              Use a root File Manager Navigate to system/ vendor/ overlays and delete the layers in the overlays folder. 
              In TWRP In case of bootloop, go to Mounts in TWRP & check System then go to the Advanced tab & use the File Manager to delete Layers from system/vendor/overlays.
       For the 6p, 5x & N9 users, check Vendor in Mounts, then go to /vendor/overlays as the overlays folder is not in /system on those devices. 

      APP OR THEME STOPS WORKING AFTER UPDATING THE APP
                Uninstall the affected app layer 
                [URL="https://plus.google.com/+CharG/posts/fgxhV1DvXVR"]https://plus.google.com/+CharG/posts/fgxhV1DvXVR[/URL]
                [URL="https://plus.google.com/+CharG/posts/46cVchVcB1F"]https://plus.google.com/+CharG/posts/46cVchVcB1F[/URL]

        PLAY STORE ERROR 504/ 505 
        The fix is the same for both errors, uninstall and reinstall the Manager or theme. 
                Error 504 means the app was installed by the user via the play store, uninstall and reinstall. 
                Error 505 means the app is preinstalled  as a system app and must be uninstalled via a root file manager at system / priv-app/ , or with titanium backup or another system app removal app. 

        CHANGING ICONS 
                Icon support was added & temporarily removed in beta, use a 3rd party launcher like Nova or Apex for now.
           
       CHANGING FONT WITH LAYERS 
            Layers doesn't officially support font yet, use alternative methods of your choice such as font apps or twrp flashable zips for now. [URL="http://forum.xda-developers.com/android/themes/fonts-flashable-zips-t3219827"]http://forum.xda-developers.com/android/themes/fonts-flashable-zips-t3219827[/URL]

        WHAT THEMES SHOULD I USE? 
               Use M compatible themes on M, 
               Lollipop themes on Lollipop. 
          
        WHERE CAN I FIND THEMES? 
               The Layers sections of the community. 

        MAGPIE v13 TUTORIAL
             [URL="https://plus.google.com/+JimmySetiawan84/posts/gURtvPixwGa"]https://plus.google.com/+JimmySetiawan84/posts/gURtvPixwGa[/URL]

        DO LAYERS WORK ON MY DEVICE? 
              Layers are officially supported on Layers compatible Lollipop custom ROMs with all Layers commits. Stock AOSP and custom layers compatible Marshmallow ROMs are also supported. 
              It does NOT work with CMTE ROMs. [URL="https://plus.google.com/+CharG/posts/1rzbgo59hWh"]https://plus.google.com/+CharG/posts/1rzbgo59hWh[/URL]
               Some users have had some success theming unsupported devices such as the LG G4 and Touchwiz LP devices but they are not officially supported so we won't be able to provide assistance for users with those devices. 

        BITSYKO IS A DEVELOPMENT COMMUNITY 
          If posts unrelated to development become a problem, some may be removed, including :
      -User posts asking which ROM or theme is best, with or without polls.
      -Donation posts
      -Giveaways 
      - Items for sale
      -Posts asking questions already answered on the pinned post or this post. 
      -Spam of any kind
      -User polls, if you have a question, just ask.  

        POSTS IN THE OFF TOPIC SECTION SHOULD BE OF GENERAL INTEREST TO THE COMMUNITY. 

         LAYERS DEVELOPMENT COMMUNITY 
          [URL="https://plus.google.com/communities/106669974581801441287"]https://plus.google.com/communities/106669974581801441287[/URL]

     The Layers Dev community is ONLY for Developers and Themers and is intended ONLY for the development of Layers. It is meant to help developers and themers stay current without having to wade through all of the 'How to use Layers' posts in BitSyko. 
      * Do NOT ask to join if you are not a developer or themer.
      * Do NOT post in the Dev community with theming questions, keep those posts here in BitSyko. Posts unrelated to Layers Development will be removed. 
      *  If you're a developer or themer, read the pinned post and follow the instructions. Do not simply ask to join, you will not be admitted without a pm. 
                  

TWRP gives me no OS installed error after flashing rom.
- No problem. Just swipe to reboot or flash roms+gapps and reboot, you wont have this issue

Can I flash a custom kernel?
-Not recommended, you can try but then don't come to me crying on battery

Is rom prerooted?
- Flash SuperSU v2.52 for now. Will be prerooted from next release

Can you add blah blah app or blah blah feature to the rom?
-No, not at all.

When will you update the rom?
-No ETA , But wil update the rom from time to time .

More, will come later on :highfive: :cowboy:
 
Last edited:

gopinaidu77

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

Attachments

Last edited:
  • Like
Reactions: algerie_24

methuselah

Elite Member
Aug 25, 2011
3,790
2,118
113
You did it. Glad you are here with pure awesome beauty. Now I could say honor 5x worth purchasing. Well I can also see falcon devs here.... Glad everybody is on the list. For you my brother I have so much gratitude and honor.... ???? you made it at last
 

gopinaidu77

Elite Member
Jan 23, 2015
6,948
4,613
0
You did it. Glad you are here with pure awesome beauty. Now I could say honor 5x worth purchasing. Well I can also see falcon devs here.... Glad everybody is on the list. For you my brother I have so much gratitude and honor.... ???? you made it at last
well thank you too , falcon devs are here because i was a falcon user since its launch . i was very greatful to them using their roms since android 4.4 . When i do remember or see a thread with Aosp , first thing i hear in my mind is " oh its there in Moto G Android Development" thread . I should atleast thank them here with utmost respect :)


and i made it atlast , because yuweng was there behind me helping everywhere .
 
Last edited:
  • Like
Reactions: yuweng

methuselah

Elite Member
Aug 25, 2011
3,790
2,118
113
well thank you too , falcon devs are here because i was a falcon user since its launch . i was very greatful to them using their roms since android 4.4 . When i do remember or see a thread with Aosp , first thing i hear in my mind is " oh its there in Moto G Android Development" thread . I should atleast thank them here with utmost respect :)


and i made it atlast , because yuweng was there behind me helping everywhere .
He is the one who is responsible for most of the ROMs here.
 
  • Like
Reactions: yuweng

yuweng

Elite Member
Feb 5, 2012
1,172
4,219
0
and i made it atlast , because yuweng was there behind me helping everywhere .
Congrats bro, on your 2nd ROM... :highfive: Well, i only give you pointers, the rest you learn it yourself, good job... :good:

well after Christopher and BadDaemon both are responsoble for these ROms here.... But what it take to port other ROMs is the only credit goes to him. If he wouldn't be there i would have sold my Honor 5X long ago.
When i saw crpalmer got cm-12.1 working on 5x, i was still reluctant to get it at that time... :eek: When he booted cm-13.0 & BadDaemon jumps on board of development, i know it would be easy for me, as mentioned on all of my threads, all these ROMs wouldn't be here if not for the rock-solid device tree so HUGE Credit to both of them... :good:
 
  • Like
Reactions: gopinaidu77

redbeard1083

Senior Member
Aug 19, 2013
354
443
0
this is awesome. would you mind sharing which edits you had to make to get it to compile? i'd like to do a CAF build for the huawei GX8. i haven't been able to figure it out.
 

redbeard1083

Senior Member
Aug 19, 2013
354
443
0
Contact me in pm with the build error logs & hopefully we'll be able to fix it together, no guarantee though... :fingers-crossed:
thanks and will do. i have to get my build environment set up again for it. i'll try to do that later on today and then i'll shoot you a PM when i have some errors.