Thread: PRS-T1 Android Market working
View Single Post
Old 01-19-2012, 04:55 AM   #47
j0534ng31
Connoisseur
j0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheesej0534ng31 can extract oil from cheese
 
Posts: 83
Karma: 1224
Join Date: Dec 2011
Location: Gijon (Spain)
Device: Sony PRS-T1 black
Quote:
Originally Posted by uboot View Post
Device boots up, adb shell accessible, but interface keeps restarting, let's see what might be the cause...

su was broken, put a new one into /system/bin via adb, fixpermissions fixed something, but looks like I have to reinstall PackageManager, etc.
Seems to me like a permissions problem...

How did you do the backup/restore for the new bigger data partition? I recommend to use tar (it preserves owners, permissions and dates of files)...

Right now, after the problem, you can do it this way (from recovery):

- To make a tgz of the original data partition (asumed .img in Micro-SD card root):
Code:
[root (ttyGS0)]# mkdir /tmp/data_orig
[root (ttyGS0)]# mount -t auto /mnt/sd/mmcblk2p9.img /tmp/data_orig
[root (ttyGS0)]# cd /tmp/data_orig
[root (ttyGS0)]# tar -czvf /mnt/sd/mmcblk2p9.tgz .
- To restore the tgz to the new big partition
Code:
[root (ttyGS0)]# mkdir /tmp/data_big
[root (ttyGS0)]# mount -t auto /dev/mmcblk2p9 /tmp/data_big
[root (ttyGS0)]# cd /tmp/data_big
[root (ttyGS0)]# tar -xzvf /mnt/sd/mmcblk2p9.tgz
About the excel... I always use parted to make/resize partitions in android devices without problems... Read that (it also has an alignment_mode option)

Last edited by j0534ng31; 01-19-2012 at 09:14 AM.
j0534ng31 is offline   Reply With Quote