Last Resort Emergency BootLoader Recovery
One situation which cannot be recovered so easily is the extremely unlikely event of corruption of the installed bootloader (bootie) stored on the Pre's flash disk.
If bootie on the flash disk has been damaged or corrupted in such a way that booting into recovery mode is not possible, the Pre is still not "bricked" as the OMAP3430 processor in the Pre provides for a mechanism to boot code from its USB interface
Download: omap3_usb.tar.bz2. If you have not libusb 0.1.3 installed on your computer, install it. It is needed for the header file /usr/include/usb.h
Compile on Linux system with "make". Optionally install with "sudo cp omap3_usbload /usr/local/bin"
Now extract the bootie binary from a WebOS Doctor image:
/boot/boot.bin
Booting bootie over USB:
Ensure USB is unplugged from the Pre, and remove the Pre's battery.
On your Linux system, run:
sudo omap3_usbload boot.bin This should return:
TI OMAP3 USB boot ROM tool, version 0.1 ...... and a series of dots while it looks for an OMAP3 to send boot code to.
Now, plug the pre into USB.
If all works as it should, the usbload program should return:
found device! download ok
now that bootie is running you can send bootie a Linux image over USB and perform some kind of recovery work directly on the pre itself. This is not recommended unless you are very familiar with linux systems administration.
First you send bootie the boot image of the doctor's installer. This can be extracted from the WebOS Doctor jar.
novacom boot mem:// < nova-installer-image-castle.uImage
Wait 15 seconds for the system to boot then connect in to a shell on the running linux system with novaterm. (you will see no on-screen indication that the device is booting linux, only a solid Palm logo)
novaterm
You should get a shell prompt
root@palm-webos-device:/#
---do whatever you need
--------------------
Now find and activate the LVM disk voumes with the following two commands:
lvm.static vgscan --ignorelockingfailure
lvm.static vgchange -ay --ignorelockingfailure
Next, mount all disks
for N in root var media log update; do mkdir /mnt/$N; mount /dev/mapper/store-$N /mnt/$N; done
When done with whatever you need to do on the system, shutting it down safely is a good idea
umount -a; tellbootie reboot
-------------
iboot-openiboot
Entra en modo recuperacion del iphone
Ahora usaremos los programas:
utils/oibc, utils/loadibec, y prebuilt/openiboot.img3
>loadibec openiboot.img3
sudo ./oibc y ahora todos los mensajes que aparezcan en el iPhone aparecerán en el Terminal. Ahora vamos a realizar una copia de seguirdad del NOR, donde iPhone almacena el bootloader, para -en caso de que algo vaya mal- poder restaurarlo y volver al estado inicial.
- 22. Escribe en el Terminal/oibc: nor_read 0x09000000 0x0 1048576
- 23. Escribe en el Terminal/oibc ~norbackup.bin@0x09000000:1048576 . Con ello aparecerá un nuevo archivo en el directorio Home / idroid llamado norbackup.bin, guárdalo en lugar seguro.
e instala el nor del openbootinit para cargar el iphone os
Ahora vamos a instalar OpeniBoot NOR del iPhone con el comando install en el Terminal/oibc. Este proceso tarde unos minutos, no te desesperes o desconectes el móvil / ordenador. Espera hasta que aparezca el mensaje installation-complete.
VER SI QEMU-OMAP TIENE USB
No hay comentarios:
Publicar un comentario