Changes between Version 2 and Version 3 of SamsungGalaxyXcover2


Ignore:
Timestamp:
Aug 5, 2015, 8:19:18 AM (9 years ago)
Author:
Rick van der Zwet
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SamsungGalaxyXcover2

    v2 v3  
    1 Heimdall 1.3.1 is NOT working, make sure to use a higher version.
     1= Modify Internal SDcard storage to External SDcard =
     2
     3The 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.
     4
     5= Requirements =
     6* Linux envirionment
     7* split-bootimg.pl found ar [[http://www.enck.org/tools.html]]
    28
    39
    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
     11What 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]]