Skip to content

A forked version of PonsAsinorem's inc device tree modified for use on devices with a malfunctioning internal SD card (/dev/block/mmcblk0)

Notifications You must be signed in to change notification settings

David-Woodward/android_device_htc_inc

 
 

Repository files navigation

CM10 for Droid Incredible devices with malfunctioning internal memory (/dev/block/mmcblk0).

IMPORTANT
To use this device tree you must have an SD card partitioned with the following layout which will be used in place of the internal SD card:

/dev/block/mmcblk1p1 = /sdcard (FAT32 data)
/dev/block/mmcblk1p2 = /data (ext3)
/dev/block/mmcblk1p3 = /cache (ext3)

Info

This device tree is based on PonsAsinorem's work and is mostly unchanged. I highly recommend you stick with his branch as this branch may not have the latest changes merged and is intended to workaround a limitation that very few users will encounter (partial device failure).

Furthermore, I'm a complete n00b when it comes to Linux/Android development, git, and open source coding practices and standards. So please take that into consideration before implementing any of this code in your own solution as this was intended primarily as a learning exercise. The code is only provided here in hopes that I may be able to get help from the community in the event that I'm unable to make this work on my own.

Please refer to this xda-developers discussion for more information regarding the original Droid Incredible device tree this is based on.

Initialize

Setup Linux/OS X - Please note: it must be sun-java-6, not openjdk

Prepare to download sources

mkdir ~/cm10
mkdir ~/bin
cd ~/cm10/
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
repo init -u git://github.com/CyanogenMod/android.git -b jellybean

Finish setting up repo

wget -O .repo/local_manifest.xml https://raw.github.com/David-Woodward/android_device_htc_inc/jellybean-cm/Manifest/local_manifest.xml

Download the source

cd ~/cm10
repo sync -j16

NOTE: This WILL take a long time.

Build

Make sure we're in ~/cm10...

cd ~/cm10

Pull in the prebuilts, like (currently only self-added GooManager)...

./vendor/cm/get-prebuilts

And build!

. build/envsetup.sh && time brunch inc

About

A forked version of PonsAsinorem's inc device tree modified for use on devices with a malfunctioning internal SD card (/dev/block/mmcblk0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 49.4%
  • Perl 28.8%
  • C 20.0%
  • Shell 1.8%