Version 3 (modified by 9 years ago) ( diff ) | ,
---|
Modify Internal SDcard storage to External SDcard
The Samsung Galaxy XCover2 (S7710) has only roughly 500MB left on emulated internal storage which is not enough these days if you like to install a lot of applications. There are many tricks around to move data/cache/applications to the external SD card, but all of them has it quirks. Since large SDcard these days are fast and cheap enough having I think this could be done better, by simply discarding the internal /data storage and use an sdcard partition instead.
Requirements
- Linux envirionment
- split-bootimg.pl found ar http://www.enck.org/tools.html
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
.
Compile Android Tools
$ git clone https://android.googlesource.com/platform/system/core $ cd core $ git checkout android-4.2.1_r1
$ cd libmincrypt $ gcc -c *.c -I../include $ ar rcs libmincrypt.a *.o $ cd ../mkbootimg $ gcc mkbootimg.c -o mkbootimg -I../include ../libmincrypt/libmincrypt.a
$ cd ../mkbootfs $ gcc mkbootfs.c -o mkbootfs -I../include
$ cd ../libsparse $ gcc -o simg2img -Iinclude -lz simg2img.c sparse_crc32.c backed_block.c output_file.c sparse.c sparse_err.c sparse_read.c
References
- Heimdall 1.3.1 is NOT working, make sure to use a higher version.
- Disable power on by home key: http://forum.xda-developers.com/showthread.php?t=2204889&page=15
- Rooting guide hints (windows only): http://forum.xda-developers.com/showpost.php?p=40232503&postcount=45
- 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
Attachments (1)
- S7710.pit (4.0 KB ) - added by 9 years ago.
Download all attachments as: .zip