Changes between Version 3 and Version 4 of SamsungGalaxyXcover2
- Timestamp:
- Aug 5, 2015, 8:40:50 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SamsungGalaxyXcover2
v3 v4 4 4 5 5 = Requirements = 6 * Linux envirionment 6 * Linux envirionment with compiler tools 7 7 * split-bootimg.pl found ar [[http://www.enck.org/tools.html]] 8 * Android Tools mkbootfs mkbootimg (optional simg2img) 9 * Android SDK Environment 10 * Heimdall [[http://glassechidna.com.au/heimdall/]] 11 * Stock S7710 firmware [[http://live.samsung-updates.com/index.php?device=GT-S7710]] 8 12 9 13 14 What I will do is modify the {{{/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}}}. Technically speaking you do not even need to root your device, but by flashing firmware you will need to do some pretty advanced stuff. 10 15 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}}}. 16 = Steps = 17 18 == Format SD Card == 19 Format 32GB class 10 or higher SDcard with two partitions: 20 21 1. 20GB vfat partition, this will serve as the normal extSdCard 22 2. 12GB ext4 partition, this will serve as the new /data partition (make sure it is the second and last partition) 12 23 13 24 14 25 == Compile Android Tools == 15 26 {{{ 16 27 $ git clone https://android.googlesource.com/platform/system/core 17 28 $ cd core … … 30 41 $ cd ../libsparse 31 42 $ gcc -o simg2img -Iinclude -lz simg2img.c sparse_crc32.c backed_block.c output_file.c sparse.c sparse_err.c sparse_read.c 43 }}} 44 == Modify stock kernel == 45 {{{ 46 $ ./split_bootimg.pl boot.img 32 47 48 $ mkdir ramdisk; cd ramdisk 49 $ gzip -dc ../boot.img-ramdisk.gz | cpio -i 50 51 # Alter {{{ fstab.samsungskomer }}} and change /data mountpoint from {{{/dev/block/mmcblk0p25}}} to {{{/dev/block/mmcblk1p2}}} 52 $ vim fstab.samsungskomer 53 54 $ cd .. 55 $ mkbootfs ./ramdisk | gzip > ramdisk-new.gz 56 $ mkbootimg --cmdline 'no_console_suspend=1 console=null' \ 57 --kernel boot.img-kernel \ 58 --ramdisk ramdisk-new.gz \ 59 -o boot-new.img 60 }}} 61 == Upload kernel == 62 1. Put device in download mode (VolumeDown+Home+Power) on power-on. 63 1. $ sudo heimdall flash --pit S7710.pit --Kernel ./boot-new.img # FYI: Pit file retrieval below 64 65 == Enjoy your new device == 66 The phone will need to be rebooted a few times and it will be complaining about corruption and encryption, just go will the flow and acknowledge the notifications. Ones completed enjoy your improved Samsung Galaxy XCover 2 (S7710). 67 68 69 = Misc = 70 == Retrieve PIT file == 71 1. Put device in download mode (VolumeDown+Home+Power) on power-on. 72 1. $ sudo heimdall download-pit --output S7710.pit 73 1. Reboot device to perform other heimdall actions as other actions will fail after this. 33 74 34 75 = References =