Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Sony Reader > Sony Reader Dev Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 02-17-2012, 05:35 PM   #1
multiprose
Connoisseur
multiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheese
 
Posts: 79
Karma: 1068
Join Date: Nov 2011
Device: kindle
sd-rescue vs restore flash: which more complete?

what's the difference between the two besides its avenue of installation? which is more complete?
why isn't there 4 "sd-rescue" zips for each firmware like the "restore installs"?
does a successful restore using the sd-rescue make the specific restore install obsolete? or vice versa?
multiprose is offline   Reply With Quote
Old 02-21-2012, 05:46 PM   #2
retro
Groupie
retro doesn't litterretro doesn't litterretro doesn't litter
 
Posts: 188
Karma: 245
Join Date: Aug 2009
Location: USA
Device: Kobo Clara Blue PRS 350
I was hoping to hear an answer for this too. Anybody??

When I decided to try to put my T1 back to the original configuration, the process seemed more confusing than the hack. I ended up doing a hard reset, and it was back to factory settings, including the sample books which I had deleted. I have wondered if 'things' were left behind that should be cleaned up. So, does anybody have the answer to the differences?
retro is offline   Reply With Quote
Advert
Old 02-21-2012, 10:49 PM   #3
multiprose
Connoisseur
multiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheesemultiprose can extract oil from cheese
 
Posts: 79
Karma: 1068
Join Date: Nov 2011
Device: kindle
i think i figured it out after some testing. you don't need the recovery set if you do the sd-rescue. the recovery set was made for those who did not want to use the extra step of deploying an sd card to restore the settings and those who merely changed their mind about rooting their device. sd-rescue does complete restore.
multiprose is offline   Reply With Quote
Old 02-22-2012, 05:22 AM   #4
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
Both variants will completely wipe the data and the system partition and the result is exactly the same: an unrooted virgin.

But sd recovery will flash an old firmware while restore sets have been adapted to newer ones.

But for a full factory reset you need to reformat the reader partition additionally.
uboot is offline   Reply With Quote
Old 02-22-2012, 09:23 AM   #5
camperbc
Enthusiast
camperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five words
 
camperbc's Avatar
 
Posts: 43
Karma: 37138
Join Date: Jan 2012
Location: Fogo Island, Newfoundland (Canada)
Device: PRS-T1
Quote:
Originally Posted by uboot View Post

But for a full factory reset you need to reformat the reader partition additionally.
Hi Uboot,

Is the above procedure different from the "hard reset" detailed on Sony's website? If so, would this be something I could try, to solve the inability to shut down? If this is indeed a different procedure, how would I go about doing it? (keeping in mind that I am not exactly a computer geek!)

Thanks,
Glen

PS: I can't recall if I have yet mentioned on the other thread that when I try to re-root, the reader hangs at "opening book". If I could just get past this problem I would be back in business, as the battery drain issue seems to have somehow remedied itself. (by either the SD rescue or hard reset) I am currently shutting the reader down using the reset button.
camperbc is offline   Reply With Quote
Advert
Old 02-22-2012, 03:23 PM   #6
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
There are 3 places we have to deal with:

/data partition - contains user data, installed apps, settings, not directly accessible without root
/system partition
reader partition - the drive that is exposed via usb for media storage, also refered as internal sdcard, /mnt/sdcard


Sony hard reset will erase user data and format reader partition, but if system partition is broken, which can happen easily on a rooted device, it will not be fixed via hard reset.

sd recovery and restore set will completely restore data and system partition but will leave reader partition as it is.

So, to completely reset everything, you have to do both.
uboot is offline   Reply With Quote
Old 02-22-2012, 03:39 PM   #7
camperbc
Enthusiast
camperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five words
 
camperbc's Avatar
 
Posts: 43
Karma: 37138
Join Date: Jan 2012
Location: Fogo Island, Newfoundland (Canada)
Device: PRS-T1
Hi Uboot,

I have done all of the above, as you suggested, but it did not solve the problem of the lack of shut-down. Also, I am curious as to how the latest firmware update stayed on the reader after performing the sd recovery/restore set/hard reset. Would you not have thought that this would have reverted the reader right back to the original firmware? Indeed, if the firmware did not go back to original, it begs the question what else didn't reset to square one! I am still hoping this is not a hardware issue, and we can wave a magic wand to get things back to normal for once and for all.

Thanks for your assistance!

Glen
camperbc is offline   Reply With Quote
Old 02-22-2012, 03:51 PM   #8
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
welll, if firmware version remains unchanged after sd recovery, then sd recovery did not finish properly! have you followed the exact steps in the wiki?
uboot is offline   Reply With Quote
Old 02-22-2012, 05:08 PM   #9
camperbc
Enthusiast
camperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five words
 
camperbc's Avatar
 
Posts: 43
Karma: 37138
Join Date: Jan 2012
Location: Fogo Island, Newfoundland (Canada)
Device: PRS-T1
Hi Uboot,

I double and triple checked everything step by step in the wiki, was very precise with the procedures, yet the firmware still shows as the latest update. So... this may well be why I still have these issues? I wonder what can possibly be done to remedy it at this point? I hate to think I may have to actually bite the bullet, cave in and return it!

Glen
camperbc is offline   Reply With Quote
Old 02-22-2012, 05:27 PM   #10
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
you could flash the enable adb package. it will put a new boot ramdisk on the device.

but it is still hard to believe for me that sd recovery was successfull on your device.

did the progress bar turn empty, indicating that sd recovery has finished?

when powering on after sd recovery - did the reader ask for initial settings like language, etc.?
uboot is offline   Reply With Quote
Old 02-22-2012, 06:14 PM   #11
camperbc
Enthusiast
camperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five words
 
camperbc's Avatar
 
Posts: 43
Karma: 37138
Join Date: Jan 2012
Location: Fogo Island, Newfoundland (Canada)
Device: PRS-T1
Originally Posted by uboot

"you could flash the enable adb package. it will put a new boot ramdisk on the device."

I haven't got the foggiest idea what this means. I would love to try it though, if you could guide me through it. (step by step)

"but it is still hard to believe for me that sd recovery was successful on your device.

did the progress bar turn empty, indicating that sd recovery has finished?
"

Yes.

"when powering on after sd recovery - did the reader ask for initial settings like language, etc.?"

Yes.

Thanks,
Glen
camperbc is offline   Reply With Quote
Old 02-22-2012, 06:31 PM   #12
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
Download this zip file, extract it and flash it by running the included batch file while the reader is connected via usb:

http://projects.mobileread.com/reade...enable-adb.zip

Instructions on how to connect to the reader via adb can be found here: http://translate.google.com/translat...hp%3Ft%3D21458

Last edited by uboot; 02-22-2012 at 06:34 PM.
uboot is offline   Reply With Quote
Old 02-22-2012, 07:56 PM   #13
camperbc
Enthusiast
camperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five wordscamperbc can name that ebook in five words
 
camperbc's Avatar
 
Posts: 43
Karma: 37138
Join Date: Jan 2012
Location: Fogo Island, Newfoundland (Canada)
Device: PRS-T1
Hi Uboot,

I downloaded the above adb package and ran it as you instructed, but unfortunately when I started up the reader it froze again at "opening reader", just as it did when I tried to re-root yesterday. So I had to perform the SD rescue again for it to get past the "opening reader" stage. Oh, and I checked the firmware version yet again; still shows the latest one... go figure! I guess it's back to the drawing board. Seems like I am stuck in a vicious circle.

Glen
camperbc is offline   Reply With Quote
Old 02-22-2012, 11:07 PM   #14
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 camperbc View Post
Hi Uboot,

I downloaded the above adb package and ran it as you instructed, but unfortunately when I started up the reader it froze again at "opening reader", just as it did when I tried to re-root yesterday. So I had to perform the SD rescue again for it to get past the "opening reader" stage. Oh, and I checked the firmware version yet again; still shows the latest one... go figure! I guess it's back to the drawing board. Seems like I am stuck in a vicious circle.

Glen
I would try (in this exact order) to:

1- Repeat the SD recovery: To have a clean 'system' & 'data' partitions

2- Sony Hard Reset: To format the 'reader' partition (You can also do it with the format and factory reset options that you can find in settings)

3- Reinstall the Sony original upgrade to the latest firmware: To put again the new kernel with its corresponding releases of binaries in the 'system' and 'data' partitions.

4- Test the 'reset'/'shutdown' option again
j0534ng31 is offline   Reply With Quote
Old 02-23-2012, 11:55 AM   #15
uboot
Evangelist
uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.uboot seems famous, but is in fact legendary.
 
Posts: 425
Karma: 75216
Join Date: Nov 2011
Location: old europe
Device: Kobo Mini, Tolino Epos 2
I found a better way to restore to factory default.

Porkupan's root set does flash both - system and data partition.

But flashing data partition is not necessary and is a possible cause for errors.

The factory reset done by Sony just formats the data partition which will be then will be automatically populated with default data on next boot.

A modified version of do_update.sh looks like
Code:
#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin
DATA=/tmp/data 
SYSTEM=/tmp/system 

echo Starting $0 `date`

#mkdir -p ${DATA}
mkdir -p ${SYSTEM}

for IMAGE in mmcblk2p9 mmcblk2p10
do
   if [ -f ${UPDATE_MP}/tmp/${IMAGE}.img ]
   then
      echo "Updating ${IMAGE}"
      dd if=${UPDATE_MP}/tmp/${IMAGE}.img of=/dev/${IMAGE} bs=1024 conv=notrunc
   fi
done

#mount /dev/mmcblk2p9 ${DATA}
mount -o ro /dev/mmcblk2p10 ${SYSTEM}

#ls -R ${DATA}
#echo
#echo "---------------------"
#echo
ls -R ${SYSTEM}

#umount ${DATA}
umount ${SYSTEM}

echo 
echo Formating data partition...
mkfs.ext4 -L data -m 0 -j /dev/mmcblk2p9

echo Done $0 `date`
All you need to do is take one of porkupans recovery sets, goto ./sdcard/tmp and
- replace do_update.sh
- in checksum file:replace md5 checksum of do_update.sh with new one (8d61e257c885686b62079f3341814268) and remove line with mmcblk2p9 checksum
- delete mmcblk2p9.img



What is left still left for a complete factory reset is formating the READER partition. But this cannot be done with do_update.sh because it resides on that partition.

But you should be able to format reader partition yourself via Settings/Initialization


Another way to achieve this is a modified SD recovery image which does
- reflash system partition
- format data partition instead of flashing it
- format reader partition


And: we must not forget adb which is untouched by the above steps.


Also, Sony Firmware update not only updates system partion, but also the Linux Kernel Image!

But the kernel is untouched by recovery sets.

So, you cannot easily go back to an older firmware via recovery.

This can only be achieved with original Sony Update package.

Last edited by uboot; 02-23-2012 at 12:06 PM.
uboot is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Horror James, M. R.: The Complete Complete Ghost Stories. v1. 27 Jun 2011 Mousewaffle Kindle Books 5 07-03-2011 09:04 AM
To Flash or Not to Flash? For the Eee Transformer Ken Maltby Android Devices 4 06-28-2011 04:58 PM
Can't get new f/w - flash site broken again and non-flash not updated jusmee Astak EZReader 8 03-13-2010 11:26 AM
Help. won't finish boot. complete restore? tidixon Sony Reader 4 10-13-2008 10:19 AM


All times are GMT -4. The time now is 02:23 PM.


MobileRead.com is a privately owned, operated and funded community.