• 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] CleanCore N5X | 100% Lean Stock | MHC19J - 03/8/2016

vomer

Elite Member
Nov 21, 2008
4,615
8,944
0
Welcome to CleanCore

CleanCore is a rom series focused on a clean and lean version of the latest stock android builds.

Features

- Always sourced from stock factory images w/ stock kernel
- Trimmed out gapps & useless bloat

Donations

Donations are always appreciated!

Thank you for your support :)

Trimmings

Videos
YouTube
Books
Chrome
CloudPrint2
Drive
EditorsDocs
EditorsSheets
EditorsSlides
FitnessPrebuilt
GoogleEars
GoogleEarth
GoogleHindiIME
GooglePinyinIME
KoreanIME
Maps
Music2
Newsstand
Photos
PlusOne
PrebuiltGmail
PrebuiltKeep
PrebuiltNewsWeather
Street
Hangouts
Wallet

CleanCore Builds (flashable)

Download the latest and greatest!

Flashing Steps (Custom Recovery)
-> Flash Bootloader & Radio (as needed)
-> Flash CleanCore
-> Flash Modified Boot (named bullhead-xxxxxx-boot.zip) - only if you want root
-> Flash SuperSU or SuperSU Beta - only if you want root
-> Flash vendor.img using fastboot (ROM & Vendor builds need to match!)

Additional Resources

- Google's Factory Images
- TWRP
- SuperSU or SuperSU Beta

Fastboot Installation for IMG files

SYSTEM PREP (skip if you already have fastboot/adb setup):

Let's setup ADB and fastboot

Windows:

- Automated: http://forum.xda-developers.com/showthread.php?t=2588979 (follow the steps in the software)

- Manual Method:

Download this file and extract the folder called "adb" to your C: drive. Your path should look like this:

Code:
C:adb
You will need to open a command prompt window using this method:

Code:
- Go to the C:adb folder 
- hold down SHIFT key and RIGHT-CLICK 
- select "Open command window here".
In order to use ADB & Fastboot from anywhere - use the following steps to setup windows environment variables:

Navigate to & click on Start > Right-Click on Computer > click on Advance System Settings >
Click on Environment Variables (under the advanced tab) > Click on New (User Variables) >
Variables Name: ADB (Or anything you want) Variables Value: ;C:adb (this is the Path of my adb.exe file)



Mac & Linux:

Install ADB & fastboot using: this file

1. Extract the downloaded zip to your desktop
2. Open Terminal and type in:

Code:
su
cd Desktop/Android/ (note: Android is the directory extracted from zip file)
3. Now type

Code:
./ADB-Install-Mac.sh
Note: By using the method above, your adb and fastboot files are stored at this location on your Mac: /usr/bin/

Flashing Steps (for factory img files)

Boot into TWRP to wipe cache, dalvik, data (not internal storage/SD) and system.

Reboot to bootloader and flash the following:

  • fastboot flash bootloader <insert bootloader img name>
  • fastboot reboot-bootloader
  • fastboot flash radio <insert radio img name>
  • fastboot reboot-bootloader
  • fastboot flash system system.img
  • fastboot flash vendor vendor.img
  • fastboot flash boot boot.img // OR // fastboot flash boot <insert name of unecrypt boot.img>
  • fastboot flash cache cache.img
  • fastboot reboot

After you finish the above - reboot in to recovery (TWRP/CWM) and factory reset - then reboot

XDA:DevDB Information
CleanCore, ROM for the LG Nexus 5X

Contributors
vomer
ROM OS Version: 6.0.x Marshmallow

Version Information
Status: Stable

Created 2015-10-30
Last Updated 2016-03-08
 
Last edited:

stu5797

Elite Member
Aug 4, 2011
2,528
497
0
Cleveland, Ohio
Thanks so much Vomer! Thus is greatly appreciated. I am already unlocked, rooted and have TWRP installed. Can I just flash this in TWRP? Sorry, I am a little confused by the directions.
Thanks
 
  • Like
Reactions: mjondj

vomer

Elite Member
Nov 21, 2008
4,615
8,944
0
Thanks so much Vomer! Thus is greatly appreciated. I am already unlocked, rooted and have TWRP installed. Can I just flash this in TWRP? Sorry, I am a little confused by the directions.
Thanks
yes, you should be able to. Just follow the steps in op - a modified boot.img is needed and i've linked it in op in the steps
i'm freezing on google logo
did you flash the chainfire boot.img via fastboot?
 
  • Like
Reactions: stu5797

vomer

Elite Member
Nov 21, 2008
4,615
8,944
0
how about an EvenCleanerCore with no google, no play services, no g framework
I thought about this a while ago. Didn't go this route for 2 reasons:

1) CleanCore is meant to be a simplified version of stock android - it's ready to use out the box (removing play services limits users)

2) With each new version of android, it seems like removing core components like these causes more issues for users

Still, CleanCore is about 300MB leaner at any given time than the stock builds :good:
 
  • Like
Reactions: bsbharath1987

mjondj

Member
Oct 13, 2011
45
1
0
I thought about this a while ago. Didn't go this route for 2 reasons:

1) CleanCore is meant to be a simplified version of stock android - it's ready to use out the box (removing play services limits users)
yea, i get that. it would really be a different rom altogether i guess. and appeal to a certain group of people.

that being said- i bet there is a demand for it here. would love to see it.
 

vomer

Elite Member
Nov 21, 2008
4,615
8,944
0
flashing steps updated in op to include vendor.img

vendor.img uploaded to the ROM folder link in op - saves you from downloading the entire factory image zip
 

ibilln

Senior Member
Jan 17, 2012
451
83
0
San Francisco
Nice to see @vomer here! But I'd ask what advantages has CleanCore got? Ie, "lean" is probably "better" than "fat", but... Thanks.

edit -
I think you (V) addressed this above..?
 
Last edited:

gee one

Elite Member
Jul 29, 2010
1,979
865
0
linux command line
how about an EvenCleanerCore with no google, no play services, no g framework
That sounds more like AOSP than stock android. Once google releases the binaries, you'll be able to build AOSP without any google parts.

I haven't flashed it yet, but I like the idea of cleanercore because I don't want all those google services on my phone. Plus they take to space twice-first in the system partition and then any updates are stored on the data partition.
 

ViRb3

Senior Member
Aug 25, 2014
388
809
0
Flashed and perfectly working, I can happily say that it DOES feel faster without all of that bloat preinstalled!
 

vomer

Elite Member
Nov 21, 2008
4,615
8,944
0
MDB08M build added.

This new build includes vendor.img in the flash process - please backup your device and test. Report back if there are any issues with flashing.

Cheers :good: