View Single Post
Old 01-25-2012, 06:49 PM   #6
m3l7d0wN
Zealot
m3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolatem3l7d0wN is generous with chocolate
 
Posts: 102
Karma: 33708
Join Date: Apr 2011
Device: Sony PRS-T1
UPDATE3:
I was wrong again!
actually there are 2 PRS.package, one will do an update, and one will do recovery mode...
I managed to extract the 2 package, and here are the 2 different scripts (update.sh):


-update mode: http://dl.dropbox.com/u/158338/ebook/update.sh

-recovery mode:
Code:
#!/bin/sh

PATH=/bin:/sbin:/usr/bin:/usr/sbin

/usr/bin/chgboot normal

mount --bind ./shadow /etc/shadow

sync
sync
sync
# reboot
# exit 16

as you can see, in both cases chgboot normal is called, so maybe with chgboot it's possible to call other modes.
This is a nice method for booting in recovery without windows :P
m3l7d0wN is offline   Reply With Quote