[ROM] CleanCore N5X | 100% Lean Stock | MHC19J - 03/8/2016

Search This thread

vomer

Senior Member
Nov 21, 2008
4,615
8,945
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://xdaforums.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)

gUw4I5m.png


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:

jackdubl

Senior Member
Aug 14, 2010
946
207
Has this rom addressed the tethering subscription request?

Sent from my Nexus 6P using Tapatalk
 

vomer

Senior Member
Nov 21, 2008
4,615
8,945
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

Senior Member
Nov 21, 2008
4,615
8,945
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
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

Senior Member
Nov 21, 2008
4,615
8,945
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
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

Senior Member
Jul 29, 2010
1,979
866
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
386
813
Flashed and perfectly working, I can happily say that it DOES feel faster without all of that bloat preinstalled!
 

vomer

Senior Member
Nov 21, 2008
4,615
8,945
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:
 

Top Liked Posts

  • There are no posts matching your filters.
  • 28
    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://xdaforums.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)

    gUw4I5m.png


    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
    6
    MHC19J out now
    4
    Just to confirm how to flash using custom recovery (I am already on MDB08M)
    -flash CleanCore
    -flash su-v2.61
    -fastboot flash vnedor.img

    no, not if you want to root. Do this:

    -flash CleanCore
    -flash custom kernel that supports root
    -flash su-v2.61
    -fastboot flash vendor.img
    3
    3
    How do you work with fastboot? Any tutorial?

    It's possible to update bootloader, radio and vendor via .zip on TWRP?

    This is one of the easiest way I know to get ADB and FASTBOOT installed on a windows machine.
    http://xdaforums.com/showthread.php?t=2317790

    I usually send people to this web site though, because it gives info for Mac as well.
    http://www.aftvnews.com/how-to-setup-adb-and-fastboot-on-a-mac-or-windows-computer/

    What I would say is to learn all about it. Once you do you'll have much more confidence in what you can do.

    As for updating Bootloader, radio and Vendor via zip on TWPR;
    Vendor? Yep always, just pick install image in twrp and pick Vendor as to the location you want to install.
    Bootloader and Radio? Not usually unless someone has customized a zip file for you.
    99% of the time you use Fastboot to flash those two.