ROM Android: Download source code Ridon

From OnnoWiki
Revision as of 08:14, 20 February 2015 by Onnowpurbo (talk | contribs) (New page: Google Android One (Sprout) Site: http://www.android.com/one/ Setup Please follow setup instructions described in this page Device repository setup Get this ridon-device.xml cd $...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Google Android One (Sprout)

   Site: http://www.android.com/one/

Setup

Please follow setup instructions described in this page Device repository setup

Get this ridon-device.xml

cd $RIDON/ridon-5.0
mkdir -p .repo/local_manifests
wget -O .repo/local_manifests/ridon-device.xml https://raw.githubusercontent.com/ridon/ridon-device-google-sprout/ridon-5.0/ridon-device.xml
../tools/repo sync

Build

. build/envsetup.sh
lunch ridon-sprout_userdebug
make -j9 bacon

Result

You will have a zip file in $RIDON/ridon-5.0/out/target/product/sprout/ directory which you can transfer into a Sprout device and use recovery tool to flash it. Problems Kernel does not work

At the moment we need to replace the kernel with the old prebuilt one. Get mkboot tools and do this procedure below:

Extract the built boot.img:

cd $RIDON/ridon-5.0/out/target/product/sprout/
mkboot boot.img boot.img-extract

Copy the prebuilt kernel:

cp $RIDON/ridon-5.0/device/google/sprout/kernel boot.img-extract/zImage

Rebuild the boot.img, and rename it to boot-modified.img.

mkboot boot.img-extract boot-modified.img

Turn on your Sprout device and go to bootloader mode (a.k.a Fastboot mode). When you see FASTBOOT mode on the screen, fire this command:

fastboot flash boot boot-modified.img
fastboot reboot

You should be able to boot now.



Referensi