Thread: PRS-T1 Android Market working
View Single Post
Old 01-24-2012, 05:49 PM   #52
m3l7d0wN
Zealot
m3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercisem3l7d0wN juggles running chainsaws for a bit of light exercise
 
Posts: 102
Karma: 38810
Join Date: Apr 2011
Device: Sony PRS-T1
Quote:
Originally Posted by uboot View Post
0.) on the T1, make a backup of /mnt/sdcard to /mnt/extsd/backup
1.) use recovery console to dump all mmcblk2-partitions, mbr, etc. to external sd
2.) use fdisk in sector mode to alter partition table according to specs above (delete partitions 3 and 4, create extended partition 3, primary 4, logical 5...10 and be sure to place 5...8 at the same starts/ends as before so there will be no need to dd them back...)
3.) power of the device
4.) recreate 512MB empty data partition (dd if=/dev/null of=/tmp/sdb1/mmcblk2p9_512.img bs=512M count=0 seek=1 && mkfs.ext4 -F /tmp/sdb1/mmcblk2p9_512.img)
5.) fill new data partition via loop back device, be sure to keep file attributes you may include the stuff from sdext2 if you want!
5.) recreate update.img from sd recovery package and replace /home/user/mmcblk2p9.img and mmcblk2p10.img
6.) do a sd recovery to flash it
7.) device should boot now, run fixpermissions.sh and
8.) restore backup of /mnt/sdcard from /mnt/extsd/backup
thanks for the hints! I succesfully resized my data partition to 300mb :P
Should the section in the wiki be removed? it's quite partial and wrong.. and maybe it should be added a link to this discussion
m3l7d0wN is offline   Reply With Quote