Hello There, Guest! Register
Enjoy our site and services? You may donate to help fund server and domain costs. Donate Here for special benefits. You have donated $

Thread Rating:
  • 2 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Tutorial] - Fixing a bricked system
#1
Question 
If you had a bad flash or your tablet just is not working, you can try this tutorial to attempt to fix it. You can also use this method to get further debug info and run shell commands to the system.

What you need:
  • USB to UART (TTL) Cable module PL2303 Converter - UK - US
  • Drivers - HERE
  • Putty - HERE
   
   


You will need to open your InnoTab and solder on the converter wires to the RX, TX and Ground points as seen in the picture. The ground is the one that is not labelled.  Also get the drivers installed to your PC for the converter and plug it in to a USB slot.
vous aurez besoin d'ouvrir votre tablette et de souder les fils de votre cable usb aux points RX TX et la masse et celui sans rien d'ecrit comme sur la photo.
ayez les drivers installés sur votre pc et branchez sur un port usb



   
   
   


Open putty and ensure the settings are the same as in the picture and then connect.  Putty should come up with a black screen.  Turn on the tablet and you should start to see some output on the screen. If not, you may not have soldered it up correctly or entered the correct values into putty.  You can test your converter by twisting the RX and TX together and plug the USB into the computer.  Open putty and connect. Try typing stuff and you should see it on the screen. If you do, then it is working properly otherwise you may have an issue somewhere with the converter, drivers or settings in putty.
ouvrez putty et assurez vous que les parametre sont les meme que sur l'image suivante puis connectez. putty doit s'ouvrir avec un ecran noir. allumez la tablette et vous devriez voir des choses sortir à l'ecran.
si ce n'est pas le cas les soudures doivent etre mal faites ou alors putty est mal reglé.
vous pouvez tester votre converteur en mettant rx et tx ensemble. branchez alors sur l'usb ddu pc. ouvrez putty et connectez. essayez d'ecrire quelque chose, vous devriez y voir à l'ecran. si c'est le cas c'est que le cable est bon reste donc à faire de bonnes soudure et à verifier les parametres de putty, voir réinstaller les drivers.



   
   



Once you have a chance to enter something, type 1021 and hit enter which should bring you to a command prompt.  Once you have a command prompt, the first thing is to see if we have access to the SD card.
dés que vous avez la possibilité d'écrire quelque chose, ecrivez 1021 puis appuyez sur entrée, cela devrait ouvrir une fenetre pour pouvoir ecrire des lignes de commandes. quand vous avez accés à cette fenetre de commande la premiere chose à faire est de regarder si vous avez accés à votre carte sd.

Type in this command to see if we have the sd card mounted "ls /media/sd". If it comes back with files or folders then it is mounted and working, if not then we need to try and get it mounted.  Lets try mounting that location by typing "mount /dev/sdcardb1 /media/sd". If that does not throw any errors then see if you can do "ls /media/sd" again.  If mounting does not work then try this command "mkdir /tmp/sd" and then "mount /dev/sdcardb1 /tmp/sd".  Now you can try "ls /tmp/sd" and see if it shows your SD card contents.  If that does not work, move down to the bottom of the post for troubleshooting.
ecrire la commande ls/media/sd. si ça devient noir avec des fichiers ou des dossiers c'est que c'est bon.
sinon vous devrez taper la commande mount/dev/sdcardb1/media/sd. si ça ne donne pas d'erreur réessayez la commande ls/media/sd.


si ça ne marche encore pas faites la commande mkdir /tmp/sd puis la commande mount /dev/sdcardb1 /tmp/sd. maintenant faites ls /tmp/sd et voyez si ça vous montre le contenu de votre sd.
si ce n'est toujours pas le cas allez en bas du post dans la partie probleme


Now that we can see our SD card, you should have the backup firmware that was created when flashing if you flashed a modified firmware.  If you do not have a backup, you can see if a firmware mod exists for your version and put it on the SD card to flash. You must ensure the firmware is the same version that was on your tablet or you may have further issues!
maintenant que vous voyez vle contenu de votre sd, vous devez avoir la sauvegarde du firmware qui a été créé quand vous avez fait le flash. assurez vous d'avoir la meme version qui etait sur votre tablette ou vous vous exposez à des erreurs

We need to check and see if your device is using sdcarda6 or sdcarda7. If you have a backup of your firmware, it should say one of those in the backup firmware name. If you don't have a backup, it should show something like this when booting up the device "mount: mounting /dev/sdcarda6 on /system failed:".  You can also try typing "mount" and see in the list of mounts if it was able to be successfully mounted.  Now that we know which one we are using, we can simply run the command to flash our firmware to the corrupted location.  Lets say in the root of the sd card we have our backup called sdcarda6-backup-today.bin then we would run something like this command to flash it "dd if=/tmp/sd/sdcarda6-backup-today.bin of=/dev/sdcarda6".  If your backup is called something like sdcarda7-backup.bin then we would run something like this "dd if=/tmp/sd/sdcarda7-backup.bin of=/dev/sdcarda7"
nous devons maintenant savoir si votre tablette utilise scadrda6 ou scarda7. si vous avez la sauvegarde de votre firmware d'origine vous devez avoir ce renseignement dans le nom du fichier.

si vous n'avez pas de sauvegarde vous devriez, quand vous demarrez votre tablette voir un truc du genre: mount: mounting/dev/scarda6 on /system failed:".
vous pouvez aussi essayer de taper "mount"et voir la liste de ce qui est succeptible d'etre installé.
maintenant que nous savons quel type de sauvegarde utiliser il faut simplement taper la commande pour installer le firmware au bon endroit
.
partons du principe que nous avons bien à la racine de notre carte sd notre sauvegarde appelée sdcarda6-backup-today.bin puis ensuite lançons la commande dd if=/tmp/sd/sdcarda6-backup-today.bin of=/dev/sdcarda6 ( si pour vous c'est un scarda7 tapez d if=/tmp/sd/sdcarda7-backup.bin of=/dev/sdcarda7 )

Basically to flash we run this format "dd if=SD Card Path/Firmware Name.bin of=/dev/Flash To Location".  If your SD Card Path is /media/sd then you would use that instead of /tmp/sd. The Flash To Location is what we determined in the last paragraph. It will be either sdcarda6 or sdcarda7.

Now that you have run the command to flash the device, leave it alone and don't touch anything for a while.  It could take 5 minutes or more to flash. Just let it be.  After you have let it sit for quite some time, see if you have a command prompt again. If not, you can try typing something or hit enter and see if you get one again.  Once you have a command prompt, the flashing should be done.
maintennt que vous avez lancé la commande pour le flash laissez votre tablette et ne touchez plus rien pour un moment. il faut environ 5 minutes ou plus pour que le flash soit effectif. laissez faire. aprés ce temps d'attente voyez si vous avez à nouveau la fenetre de commande. si ce n'est pas le cas essayez d'ecrire quelque chose, tapez entree et voyez si la fenetre de commande revient. si la fenetre de commande revient c'est que le flash est fait


You now must kill the fastboot so run "app_destroyer.x -f".  After that is done, you can test mounting the firmware you flashed to see if it worked before rebooting.  Simply run either "mount /dev/sdcarda6 /system" or "mount /dev/sdcarda7 /system" again depending on your location.  If you already have /system mounted then you must do "umount /system" before running the command.  Once that is done, you can do "ls /system" to see if it gives you a list of items. If it does, you should be safe to reboot. If not, you may need to try flashing again. If it throws errors after trying to run app_destroyer.x -f then you must get that file elsewhere and copy it to your /tmp folder and run it there.
tapez maintenant la commande app_destroyer.x -f. aprés cela tapez la commande mount /dev/sdcarda6 /system ou mount /dev/sdcarda7 /system. quand cela est fait tapez ls/system pour voir si ça vous done une liste de fichiers . si c'est bon vous pouvez redémarrer votre tablette. si ce n'est pas le cas il faut recommencer du début.



Reboot the device and give it quite a while to boot up. It may say "Upgrading Firmware" or something similar.  If you wait over 5 minutes or so and it is just a black screen, try rebooting and then see if it works.
redemarrez la tablette et attendez un moment pour le démarrage. ça devrait vous dire "upgrading firmware" ou quelque chose du genre. si voyus avez un ecran noir pendant plus de 5 minutes essayez de redemarrer et voyez si ça marche.









-------------------------------------------------------------
OLD STUFF - TO DO

If you can't access the sd card, it may be under /media/sd or if that is not accessible, you may need to manually mount it by doing "mount /dev/sdcardb1 /media/sd" if it does not let you, make sure there is a folder in called sd in media, You may then proceed to kill fastboot and flash your firmware by doing "app_destroyer.x -f" then "dd if=/media/sd/i2hbmod.bin  of=/dev/sdcarda6" or whatever your firmware.bin file is and firmware location.  Once done, you can reboot and hope for the best.  If it throws errors when you try to kill the fastboot, you may need to mount the /system with a good firmware from the sd card.  You can do "umount /system" and then "mount /media/sd/i2hbmod.bin /system". If it throws errors about it being in use, you will need to run "ps -A" and kill any apps that may be running in that folder such as appswitch etc. Use "kill pid" where pid is the id of the process you want to kill.


 
http://warp.rice.edu/trac/wiki/howto/USB_UART

Troubleshooting stuff
umount /system
mount /dev/sdcarda7 /system
mount /media/sd/i2hbmod.bin /system
- Spiffy Network
Enjoy our services? Consider donating http://spiffyhacks.com/donate.php
Reply
#2
super tuto deak.

j'ai été le premier à flasher une storio2 française grace à l'aide de isomick et ça n'avait pas marché du premier coup du coup j'ai du passer par cette procedure avec encore l'aide de isomick.... wow c'était le super stress avec mon mauvais anglais mais finalement on avait réussit. le deuxieme essai de flash avait été le bon.

encore merci iso et deack pour ce que vous avez fait pour la communauté française des storio.
[Image: mifille.png]
Reply
#3
I can confirm this method works, hehe.

Couple of additions. If you are getting garbage output in Putty, check your soldering. Even if it looks good, something could be wrong.
Using a cheap ebay USB-TTL, a little blue light should be on when connected properly.
If Putty is showing nothing, check soldering, then try swapping the tx and rx over. So if tx-tx and rx-rx doesn't work, try tx-rx and rx-tx.
Reply
#4
Thanks for the input Smile
- Spiffy Network
Enjoy our services? Consider donating http://spiffyhacks.com/donate.php
Reply
#5
Hi,
I just signup on this forum to thank you for this tutorial.
I bricked my new storio 2 by using a corrupted SD Sad before giving it to my son...
It kepts rebooting with a message "mise à jours en cours,...".
Reflashing with your method works perfectly, now it's up and running again.
Reply
#6
Fantastic news, glad you got it running again!
- Spiffy Network
Enjoy our services? Consider donating http://spiffyhacks.com/donate.php
Reply
#7
Hi,

I try to "unbrick" my storio 3s. I have success with solder the usb cable.
When I power on the storio when it is connected with the cable I have some output (link here https://gist.github.com/Juliens/1ce3cbbbe2e015b98b1c )
but I can't write anything and so I can't "type 1021".

Do you have an idea ?

Thanks

PS : Sorry for my poor english.
Reply
#8
You may need to wait a bit to see if the output stops or there is any time between you can quickly type it.
- Spiffy Network
Enjoy our services? Consider donating http://spiffyhacks.com/donate.php
Reply
#9
(01-15-2015, 09:34 AM)Deak Phreak Wrote: You may need to wait a bit to see if the output stops or there is any time between you can quickly type it.

In fact, the output has already stopped (I have waited during 2 or 3 minutes).
Reply
#10
you won't see anything when you type, just type 1021 and hit enter, then if busybox is running, you should get a command prompt line and can type commands. If it is not running, try restarting and do it again. If you get nothing, you may not be able to recover.
- Spiffy Network
Enjoy our services? Consider donating http://spiffyhacks.com/donate.php
Reply


Forum Jump: