Quantcast
Channel: MobileRead Forums - Sony Reader
Viewing all articles
Browse latest Browse all 1291

PRS-T1 Questions regarding Repartitioning PRS T1

$
0
0
Hi, this is my first post here, it may be a bit long, but I want to make my question more clearer. First of all, thanks to porkupan for making T1 a more interesting device, and thanks to everyone contributing to this forum!

PRS T1 is my first Android device, also my first Eink device. So I'm still not quite familiar with Android OS, but i use Linux for my desktop, so i'm ok with command line.

Some of my assupmtions may be wrong, please feel free to correct me at will.

I have read these threads
http://wiki.mobileread.com/wiki/PRST...itioning_Guide
http://www.mobileread.com/forums/sho...137&perpage=40
http://www.mobileread.com/forums/sho...132&perpage=40
http://www.mobileread.com/forums/sho...199&perpage=40

here's my understanding:

The default T1 partition table looks like this:
mmcblk2p1 ext4 "Recovery" 10MB (linux tree) CANNOT TOUCH
mmcblk2p2 ROMfs 10MB (linux tree) CANNOT TOUCH
mmcblk2p3 Extended partition
+ mmcblk2p5 ROMfs fonts
+ mmcblk2p6 ext2 dictionarys
+ mmcblk2p7 FAT16 "SETTING " 10MB (reader for PC)
+ mmcblk2p8 ext2 "preload" 40MB (userguide + ebooks)
+ mmcblk2p9 ext4(with journal) "data" 48MB (android data)
+ mmcblk2p10 ext2 "system" 128MB (android system)
mmcblk2p4 FAT32 "READER " 1.4GB (internal memory)

(WARNING! THIS IS NOT A DETAILED PROCEDURE, PLEASE CHECK THE LINKS ABOVE)
the whole point is to make the "data" area larger, so all I have to do is shrink the "READER" partition -> enlarge "Extended partition" -> move "system" to the end of "Extended partition" -> enlarge "data" partition -> REBOOT PRS-T1 -> restore system.img back with dd -> mkfs.ext4 -L "data" /dev/mmcblk2p9 -> mkdosfs -n "READER" -F 32 /dev/mmcblk2p4 -> END Is that right?

1. If that is the case, then how's "rooting" have anything to do with this? since nothing has changed except the partition table.
2. Some suggest that T1 needs to be "unrooted" first, some say "root" the device before repartitioning, what is the right thing to do?

3. According to uboot, 5-8 can keep the way it is, just rembered the old partition table and recreate it at the same position will be ok.

4. Also according to uboot,
Quote:

"always work with sector units and align to cyl=64x512 Bytes"
,then I double checked this page about Partition_Alignment

seemed to me uboot's partition table (including uboot's old one) is not a proper alignment, or I'm wrong about this?

5. According to rupor
Quote:

"making sure operation is committed before doing next one (tool allows you to commit multiple operations in sequence or batch mode - do not use it!)"
does that mean I have to w(write part table) each time when I'm creating a table using fdisk? (like this? n->w->n->w->...) but not just "w" one time, at the end of partition table creation process?

6. In this Complete guide by homeos,
Quote:

16. format /dev/mmcblk2p9 in ext4 & set volume label
# /sbin/mkfs.ext4 /dev/mmcblk2p9
# /sbin/tune2fs -L data /dev/mmcblk2p9
Why not just `/sbin/mkfs.ext4 -L data /dev/mmcblk2p9`, why separate it into 2 procedure?

7. uboot says there's no need to restore files to "data" & "READER" partition. T1 will regenerate "data" itself. But if I did restored old files from backup using tar (recommended by j0534ng31), will I be able to keep my old apps & settings? does that update.img include gzip compression method for tar? Is T1's CPU fast enough for "tar -cvzf" ?

8. How to do this under Linux, has anybody done this under Linux(or other *nix) before?

9. In that complete guide, it only pointed out COM port need to be 9600 baud, but what about parity mode?

10. How much space do i need on MiniSD card? I have a 1gb card formatted by T1, which is empty now, is that enough to do this job?

11. Which process of repartitioning have failed most people, bricking their device?

12. btw, why Nook Touch doesn't need repartitioning? how big is nook's "data" partition size?

Thank you.

Viewing all articles
Browse latest Browse all 1291

Trending Articles