| 4 | | Disable power on by home key: http://forum.xda-developers.com/showthread.php?t=2204889&page=15 |
| 5 | | Rooting guide hints (windows only): http://forum.xda-developers.com/showpost.php?p=40232503&postcount=45 |
| | 10 | |
| | 11 | What I will do is modify the {{{/etc/fstab.samsungskomer}}} to change the mount of the ext4 {{{/data}}} of the internal location {{{/dev/block/mmcblk0p25}}} to the second partition of the external SDCard {{{/dev/block/mmcblk1p2}}}. |
| | 12 | |
| | 13 | |
| | 14 | == Compile Android Tools == |
| | 15 | |
| | 16 | $ git clone https://android.googlesource.com/platform/system/core |
| | 17 | $ cd core |
| | 18 | $ git checkout android-4.2.1_r1 |
| | 19 | |
| | 20 | $ cd libmincrypt |
| | 21 | $ gcc -c *.c -I../include |
| | 22 | $ ar rcs libmincrypt.a *.o |
| | 23 | $ cd ../mkbootimg |
| | 24 | $ gcc mkbootimg.c -o mkbootimg -I../include ../libmincrypt/libmincrypt.a |
| | 25 | |
| | 26 | $ cd ../mkbootfs |
| | 27 | $ gcc mkbootfs.c -o mkbootfs -I../include |
| | 28 | |
| | 29 | |
| | 30 | $ cd ../libsparse |
| | 31 | $ gcc -o simg2img -Iinclude -lz simg2img.c sparse_crc32.c backed_block.c output_file.c sparse.c sparse_err.c sparse_read.c |
| | 32 | |
| | 33 | |
| | 34 | = References = |
| | 35 | * Heimdall 1.3.1 is NOT working, make sure to use a higher version. |
| | 36 | * Disable power on by home key: [[http://forum.xda-developers.com/showthread.php?t=2204889&page=15]] |
| | 37 | * Rooting guide hints (windows only): [[http://forum.xda-developers.com/showpost.php?p=40232503&postcount=45]] |
| | 38 | * Compile simg2img and make_ext4fs [[http://muzso.hu/2012/08/10/how-to-pack-and-unpack-system.img-and-userdata.img-from-an-android-factory-image]] |