![]() |
#1 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 552
Join Date: Feb 2012
Device: PRS-T1
|
Completed guide for repartitioning.
This guide is written by Lee Seungjong, who is a member of Korean PRS-T1 forum in ebookcafe.kr. I just write this guide to share with you on behalf of him.
You may not know about Linux. Me, neither. But by simply following this guide step by step, I could succeed in repartitioning and having lager space for apps without Link2sd as well as other forum members. If you have some experience of partitioning hard disks and installing windows, it might not be too difficult. It is quite similar to windows' one. Before you start, please read thoroughly and prepare putty program ( you can easily found it with google) 1. Backup important files in READER drive. and then,recommend 'Factory Reset' first 2. Copy 'OS Firmware' to OS Firmware/files folder in SD card Source: http://dl.dropbox.com/u/54414959/update.img 3. Make T1 enter 'UPDATE mode' and connect to PC Press HOME+MENU, turn on & keep pressing until progress bar reach to the right most 4. Windows should ask 'Gadget Serial' driver. Driver is located under serial_driver OR inside various rooting packages. If your T1 is successfully connected, the light should be red. 5. Find which COM port is assigned to 'Gadget Serial' in Device Manager. 6. connect using serial console. (9600 baud). You should meet login prompt. 'putty' would be the proper tool. 7. login 'root' without password 8. check if SD card is mounted at /initrd/mnt/sd correctly and remount it in writable mode # df /dev/mmcblk0p1 ==> /initrd/mnt/sd # mount -o remount,rw /dev/mmcblk0p1 /init/mnt/sd 9. backup /dev/mmcblk2p[5-10] to SD card # for i in 5 6 7 8 9 10 do dd if=/dev/mmcblk2p$i of=/initrd/mnt/sd/mmcblk2p$i.img done 10. Delete mmcblk2p[3-10] partitions & reassign them # fdisk /dev/mmcblk2 (fdisk) p Device Boot Start End Blocks Id System /dev/mmcblk2p1 801 1120 10240 83 Linux /dev/mmcblk2p2 1121 1440 10240 83 Linux /dev/mmcblk2p3 1441 13542 387264 5 Extended /dev/mmcblk2p4 13543 59776 1479488 83 Linux /dev/mmcblk2p5 1441 1953 16408 83 Linux /dev/mmcblk2p6 1954 6306 139288 83 Linux /dev/mmcblk2p7 6307 6627 10264 83 Linux /dev/mmcblk2p8 6628 7908 40984 83 Linux /dev/mmcblk2p9 7909 9445 49176 83 Linux /dev/mmcblk2p10 9446 13542 131096 83 Linux (fdisk) d Partition number: 4 (fdisk) d Partition number: 3 (fdisk) n e (extended partition) Partition number: 3 First cylinder: 1441 Last cylinder: 28526 (fdisk) n p (primary partition) First cylinder: 28527 Last cylinder: 59776 (fdisk) n First cylinder: 1441 Last cylinder: 2453 (fdisk) n First cylinder: 2454 Last cylinder: 6806 (fdisk) n First cylinder: 6807 Last cylinder: 7127 (fdisk) n First cylinder: 7128 Last cylinder: 8408 (fdisk) n First cylinder: 8409 Last cylinder: 23619 (fdisk) n First cylinder: 23620 Last cylinder: 28526 (fdisk) w # fdisk -l /dev/mmcblk2 Device Boot Start End Blocks Id System /dev/mmcblk2p1 801 1120 10240 83 Linux /dev/mmcblk2p2 1121 1440 10240 83 Linux /dev/mmcblk2p3 1441 28526 866752 5 Extended /dev/mmcblk2p4 28527 59776 1000000 83 Linux /dev/mmcblk2p5 1441 2453 32408 83 Linux /dev/mmcblk2p6 2454 6806 139288 83 Linux /dev/mmcblk2p7 6807 7127 10264 83 Linux /dev/mmcblk2p8 7128 8408 40984 83 Linux /dev/mmcblk2p9 8409 23619 486744 83 Linux /dev/mmcblk2p10 23620 28526 157016 83 Linux 11. REBOOT # sync; sync; sync # reboot 12. (optional) Backup mmcblk*.img in SD card to safe place 13. Enter 'UPDATE mode' & login using serial console again 14. format /dev/mmcblk2p4 in FAT32 # /sbin/mkdosfs -n READER -F 32 /dev/mmcblk2p4 15. restore /dev/mmcblk2p[5-10] except mmcblk2p9 # for i in 5 6 7 8 10 do dd if=/initrd/mnt/sd/mmcblk2p$i.img of=/dev/mmcblk2p$i done 16. format /dev/mmcblk2p9 in ext4 & set volume label # /sbin/mkfs.ext4 /dev/mmcblk2p9 # /sbin/tune2fs -L data /dev/mmcblk2p9 17. mount /dev/mmcblk2p9 in a temporal path (ex: /tmp/p1) # mkdir /tmp/p1 # mount /dev/mmcblk2p9 /tmp/p1 18. mount /mnt/sd/mmcblk2p9.img in a temporal path (ex: /tmp/p2) # mkdir /tmp/p2 # mount -o remount,rw /dev/mmcblk0p1 /init/mnt/sd # mount -o loop /mnt/sd/mmcblk2p9.img /tmp/p2 19. copy all files from backup image to real partition # cd /tmp/p2 # busybox cp -a * /tmp/p1 20. Unmount all # cd; sync; sync # umount /tmp/p1 # umount /tmp/p2 21. change to Normal mode # chgboot normal 22. REBOOT # sync; sync; sync # reboot 23. If everything is perfect, delete 'OS Firmware' directory in SD card & do Rooting According to my experience, there was no problem until 12. Step 13 could be difficult to get through. I was stuck since I could not enter update mode again. When my T1 was in opening books phase, light did not blink at all and computer could not connect to T1. I kept trying and it worked at last. Many other members experienced the same situation but they overcame it. If you have the same experience, do not be panic and keep trying. At some point, you can make it. If you go through step 13, there will be no more problem. After repartitioning, you can get about 415 free space for apps after rooting. Last edited by homeos; 02-24-2012 at 05:12 PM. |
![]() |
![]() |
![]() |
#2 | ||
Connoisseur
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 90
Karma: 16056
Join Date: Dec 2011
Device: Sony PRS T1
|
Quote:
Quote:
Last edited by giosa; 02-24-2012 at 08:18 AM. |
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 2
Karma: 552
Join Date: Feb 2012
Device: PRS-T1
|
Sorry, there is some mistakes. I will fix it.
|
![]() |
![]() |
![]() |
#4 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
I also posted a way to repartition the device, maybe it is helpful for you:
https://www.mobileread.com/forums/sho...6&postcount=46 Resizing and reflashing the 2p9 partition as I did is not necessary unless you want to directly restore app data. Otherwise, it is enough to create an empty one. The reader will populate it with default data on next boot. Also I wont use cp -a but tar -cvf and -xvf for backup / restore as it will preserve symbolic links. BUT: TAKE CARE. DOUBLECHECK EVERYTHING. SERIOUSLY. YOU CAN BRICK THE T1 WITHOUT ANY CHANCE FOR RECOVERY IF YOU MAKE A MISTAKE LIKE OVERWRITING THE BOOT BLOCK.... someone in the forums already did.... Last edited by uboot; 02-24-2012 at 07:07 PM. |
![]() |
![]() |
![]() |
#5 |
Member
![]() ![]() ![]() ![]() ![]() ![]() Posts: 23
Karma: 550
Join Date: Jan 2012
Device: Kobo Aura H2O
|
Thanks for the manual.
![]() I tried it (with success!) and note some differences that I have. To prevent mixing with numbers from the first post I write a 0. for my steps: 0.1 First connect reader to PC and copy all content from internal and external sd cards to pc 0.2 Deinstall every app which is not original delivered (this must be restored after the repartitioning) 0.3 Deinstall Link2sd 0.4 Make a reboot to clean up everything 0.5 Get this file: http://projects.mobileread.com/reade...ard-rescue.zip 0.6 extract it and exchange the update.img with the one linked by homeos in step 2 from his manual 0.7 copy folder "OS Firmware" to external sd card 0.8 If everything went well proceed with Step 3 from homeos manual (in my case there is no need to do a Factory Reset first!) ========================== Corrections to instructions shown in first post: 18. mount /mnt/sd/mmcblk2p9.img in a temporal path (ex: /tmp/p2) # mkdir /tmp/p2 # mount -o remount,rw /dev/mmcblk0p1 /initrd/mnt/sd # mount -o loop /initrd/mnt/sd/mmcblk2p9.img /tmp/p2 ========================== After all you have to restore the content of the READER-partition (just connect the reader to the pc and copy the files from the backup you made in step 0.1. If you have problems to enter the recovery mode in step 13 just stick a pen into the reset button and hold "Home"- and "Menu"-Buttons till the reader boots up in recovery mode and you are able to connect again via the pc. Now I have only to delete the Link2SD-Partition on my external sd and then my Reader is clean. ![]() Last edited by Thor; 02-27-2012 at 10:46 AM. |
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Member
![]() Posts: 13
Karma: 24
Join Date: Jan 2010
Device: irex dr1000s
|
Note that, at the step 10 in the first post, the 2p5 partition is enlarged (for installing some more fonts?).
If you do not need to change system fonts, then, as uboot suggested in the other thread ![]() Also, I created a second partition into the external Micro SD card and instead of remounting the /dev/mmcblk0p1 as writable, mounted /dev/mmcblk0p2 at, say, /tmp/sd, which might slightly reduce the risk. |
![]() |
![]() |
![]() |
#7 |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
Hello ... I would like to free some space of my PRS-T1 reader in order to download the last Kindle applets. I have read this forum and now I am confused.
1) Can someone explain me the difference between this procedure https://wiki.mobileread.com/wiki/PRST...r_of_inodes.29 and this one https://wiki.mobileread.com/wiki/PRST...eeing_up_space ? 2) is this procedure safe? https://wiki.mobileread.com/wiki/PRST...eeing_up_space ? If I look this thread I see this remark by THOR ================================================== ====: Corrections to instructions shown in first post: 18. mount /mnt/sd/mmcblk2p9.img in a temporal path (ex: /tmp/p2) # mkdir /tmp/p2 # mount -o remount,rw /dev/mmcblk0p1 /initrd/mnt/sd # mount -o loop /initrd/mnt/sd/mmcblk2p9.img /tmp/p2 ================================================== == and then I see this remark by uboot BUT: TAKE CARE. DOUBLECHECK EVERYTHING. SERIOUSLY. YOU CAN BRICK THE T1 WITHOUT ANY CHANCE FOR RECOVERY IF YOU MAKE A MISTAKE LIKE OVERWRITING THE BOOT BLOCK.... someone in the forums already did.... :-? :-X I am lost. I just need to free some megabytes to install the kindle applet. Here is the status My reader is new. Comes from factory. I just rooted with WESTERN minimal set. I did not upgrade the firmware so what do you suggest me to do? thanks |
![]() |
![]() |
![]() |
#8 |
Evangelist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
|
Why don't you take Link2SD to move some of your apps from data partition to external SD card? There's a guide in the wiki too.
This is way more safe than messing with partition tables and file systems. Regarding the wiki links you posted - they ain't nothing to do with more free space for the data partition which is the place where apps go uppon installing, except that you can move some apps manually from data partition to system partition but this is not a beginners procedure. |
![]() |
![]() |
![]() |
#9 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 110
Karma: 5368
Join Date: Apr 2010
Location: Italy
Device: Sony PRS-T1 Sony PRS-350 Nook Touch Glow
|
Quote:
|
|
![]() |
![]() |
![]() |
#10 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
![]() Quote:
![]() ![]() link2SD card application is not the solution. In any case if your install any.apk it will beinstalled in your system. Only after you can move 2 SD. And if your applet is more than 12-15 Mb you are dead. I am lost ![]() |
|
![]() |
![]() |
![]() |
#11 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
![]() Quote:
Did you find a way to free more space to use android market and download several applications on your Sony? I have bought 4 Gb SDcard , and now I want to install all applet in my system root. But it seems not possible. I rooted with minimal western and I upgraded the last Sony firmware. thanks for help |
|
![]() |
![]() |
![]() |
#12 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 110
Karma: 5368
Join Date: Apr 2010
Location: Italy
Device: Sony PRS-T1 Sony PRS-350 Nook Touch Glow
|
Quote:
Perfect Viewer + Pdf plugin for CBR and some complicated pdf Root explorer Kindle Application for downloading sample of books from amazon I missed Orion viewer, I have to check if I have sufficient space |
|
![]() |
![]() |
![]() |
#13 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
Quote:
so you do not use Android market I presume. concerning the Kindle do you experience the same drawback not be able to highlight caracthers (even if the highlight is registered?)? in fact I think Kindle use a color map for colors devices not optimized for electronic ink white and blank devices: have you a solution for this? |
|
![]() |
![]() |
![]() |
#14 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 110
Karma: 5368
Join Date: Apr 2010
Location: Italy
Device: Sony PRS-T1 Sony PRS-350 Nook Touch Glow
|
Quote:
I use the old Kindle version 3.2.0.35, it is light but you are right, highlight (sorry for the repetition)works (try to change color to seppia), but highlight in white, sorry, hard to visualize on white :-) |
|
![]() |
![]() |
![]() |
#15 | |
Enthusiast
![]() Posts: 26
Karma: 10
Join Date: Feb 2012
Device: Sony PRS-T1
|
Quote:
I would like to have the page color in white but the highlight in grey. I have seen the Kindle applet on one iPad: you can use whatever background color for the page, the highlights are always showen in yellow. thanks for thelp |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Boox X60s completed dead, can not wake up !!! | chinsoponsub | Onyx Boox | 4 | 09-03-2011 11:04 PM |
eDGe inventories almost completed dried up | borisb | enTourage Archive | 345 | 03-31-2011 09:54 PM |
Completed Book Cache | winc01 | Sony Reader | 2 | 02-15-2011 11:56 AM |
Revised FAQ sheet completed but not posted | Robertb | Astak EZReader | 13 | 01-02-2010 06:13 PM |
And The World Changed - Completed Book | Greg Anos | Lounge | 7 | 02-09-2009 07:42 PM |