Alright so i wanted to try and jailbreak my ps3 with psfreedom i flashed the update.zip from here psfreedom.com/wiki/HTC_Hero and my phone will not get past the hero screen.
I can still get into recovery rom RA-hero-v1.7.0.1
But when i try to restore from nand i get this " Error : Run 'nandroid-mobile.sh restore' via ADB"
So i found instructions on how to restore from adb
1. Go into adb shell
2. mount /sdcard <------ when i entered i get " mount: mounting /dev/block/mmcblk0p1 on /sdcard failed: No such file or directory
3. cd /sdcard
4. cd nandroid
then go into the backup folder and run the nandroid-mobile.sh restore
Why do i get that error on step 2 ?
I can cd to /sdcard but when i try cd to nandroid i get '/sbin/sh: cd: can't cd to nandroid"
Please help me ......hope my phone is not perma f**ked
Worry not my friend,... If you can get into your recovery or fastboot then you are not bricked!
I know nothing about the PSFreedom thing but on that WIKI it says
NOTE: This disables ADB and USB Mass-Storage on the recovery rom.
This is not all that bad. You can still flash from sdcard. I recommend you do a nandroid backup and leave it on the sdcard.
If you screw up both your normal rom and recovery, you can still do a full restore through fastboot.
Click to expand...
Click to collapse
So you need to research how to restore your nandroid using fastboot.
If worst comes to worst, reflash original/unmodded Amon Ra Recovery, flash a rom, re-download files from that WIKI to ensure no corruption issues, then re try.
Thanks i just re flashed my rom and i can get it to boot everything but im still getting errors when i try to restore. So i'm gonna trying to re flash the recovery img
Thanks
i proceeded to back-up everything on my sdcard and format it then just put the nandroid back up files on the phone. Restore works perfect now... weird
Thanks alot for the help guys
Put [SOLVED] at the start of your thread title.
Related
Hello, my hero's version is 2.73.728.5,
I have no Market in my hero, other than that it is ok
I read lots of post,
I'm really new to android,
I tried lots of method,
I see some post said it can be rooted, some not,
and I'm confused now,
can anyone who root successfuly tell me how to root it?
where and which version of flashrec should I download
and wt rocovery img?
pls,, if u dont mind, pls give me step by step instruction too~!
I'm really dumb on this~~pls help me out><
I will love u guys~><
miranda616 said:
I read lots of post,
Click to expand...
Click to collapse
You lost me there, searching with your Build Number will reveal multiple threads with step-by-step instructions to root/flash the phone.
I had the same firmware on my Hero when I got it, but I followed this walk-through:
http://forum.xda-developers.com/showpost.php?p=4655885&postcount=1
Only part I had issues with was getting the RA-HERO recovery image flashed. I dragged it onto my sd card (not in a folder) and typed in this location on the FlashRec app:
/sdcard/Recovery-RA-HERO-v1.2.2.img
and then was able to hit "Flash Recovery Image". Then load a ROM on the SD card, turn phone off, and hold Home+Power to turn it back on in the recovery menu and then you can flash away.
I tried the post that you gave me, it still not working
when I try to wipe it, it said wipe aborted
when I try to install the rom, it said installation aborted
srt4mn said:
Only part I had issues with was getting the RA-HERO recovery image flashed. I dragged it onto my sd card (not in a folder) and typed in this location on the FlashRec app:
/sdcard/Recovery-RA-HERO-v1.2.2.img
Click to expand...
Click to collapse
Woah, totaly forgot to add that XD Fixed now.
miranda616 said:
I tried the post that you gave me, it still not working
when I try to wipe it, it said wipe aborted
when I try to install the rom, it said installation aborted
Click to expand...
Click to collapse
Well, that guide does work for a phone with that Build Number, I have done it, and srt4mn has also. Follow it step by step... And post where you have a problem
I tried that, when I flash the recovery image it said : flash FAILED: Could not run command....
but I download the recover image already, and put it at the root of the sdcard,and type
/sdcard/Recovery-RA-HERO-v1.2.2.img
I dunno which step go wrong.
Frist I download Fleashrec, recovery img, and the update.zip,
put them at the root of sdcard,
install Flashrec,
type /sdcard/Recovery-RA-HERO.v1.2.2.img
flash recovery, but it doesnt work><
miranda616 said:
I tried that, when I flash the recovery image it said : flash FAILED: Could not run command....
but I download the recover image already, and put it at the root of the sdcard,and type
/sdcard/Recovery-RA-HERO-v1.2.2.img
I dunno which step go wrong.
Frist I download Fleashrec, recovery img, and the update.zip,
put them at the root of sdcard,
install Flashrec,
type /sdcard/Recovery-RA-HERO.v1.2.2.img
flash recovery, but it doesnt work><
Click to expand...
Click to collapse
Did you backup your original recovery image first via flashrec (the lower of the 2 buttons)?? May be you can try to flash it via ADB:
Put the recovery.img in sdk/tools
Then in the terminal type this:
adb shell reboot bootloader
fastboot boot recovery-RA-HERO-v1.2.3.img
adb shell mount /sdcard
adb push recovery-RA-HERO-v1.2.3.img /sdcard/recovery-RA-HERO-v1.2.img
adb shell flash_image recovery /sdcard/recovery-RA-HERO-v1.2.3.img
adb shell reboot
Try this and see whether it helps.
Fastboot will not work this way...
I'm confused now, what is ADB???
any instruction???
thank you for helping><!!
Can any one help me on this??
on can I just add the android market and make it work on this version???
i have had problems with Rom manager not flashing recovery correct leaving me with no recovery. so i had to manually flash recovery following these steps exact. I have personally bricked 2 ERIS phones lucky me.The first i thoought it was just something i did, lucky i had another to replace it...(the second BRICK eris).
So here is a solution to keep from having a BRICK
USE Amon RA's Recovery PERIOD.
credit to northmendo @droidforums
1. download flash_image Here Updated Link 3/17/10
2. Open the terminal and copy and paste the following commands.
adb shell [hit enter]
su [hit enter]
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system [hit enter]
3. In a new terminal window (don't close the original one).
adb push flash_image /system/bin [hit enter]
exit [hit enter]
4. Now in the original terminal window
chmod 755 /system/bin/flash_image [hit enter]
5. Now exit all termainl windows and reboot your phone.
6. Download
Amon_RA's recovery Here.
7. Mount your phones sd card and drop recovery-RA-eris-v1.6.2.img on to it and eject
your phone.
8. Open the Terminal and copy and paste the following commands with the phone connected
to your computer.
8. adb shell [hit enter]
9. su [hit enter]
10. flash_image recovery /sdcard/recovery-RA-eris-v1.6.2.img
11. To get into recovery turn off you phone and hold the Volume Up + Power until it boots into recovery.
That's it.
ROM Manager and Clockwork recovery does not work for the Eris.
ROM Manager and Clockwork recovery does not work for the Eris (as far as I know).
Edit: Oops, sorry for the double post.
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
trishuhh said:
I currently have the clockwork recovery installed on my eris, can I just download amon's recovery image and install it to switch to it? Or do I have to uninstall clockwork recovery and then install amon's?
Click to expand...
Click to collapse
try to flash it from rom manager,(under other recoveries) if Rom manager has worked for you with no problems. if it doesnt work follow instructions as listed in 1st post
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Yeah, use Amon's. It does every job you need, and is 100% stable and reliable.
t2noob said:
I wouldn't use clockwork recovery, it messed up my installation to the point i couldn't flash any rom or restore any nand. When i would try to flash anything it would fail, It failed when i tried to use the root rom....After I tried flashing root rom i had a nice looking brick on my desk....(I even changed back to RA but Clockwork had messed up my phone so bad that RA didn't even work either....
YOU HAVE BEEN WARNED!!!!!
Click to expand...
Click to collapse
yea you beat me too it, , i only used it because i had it for my DROID and thought maybe devs would try to add it to the list on rom manager.
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
jrhoades858 said:
ok, obviously a bit of an amateur here, how do you know which recovery image you have, i installed amon's, but i'm not sure if clockwork made it to my phone somehow, thinking about unrooting soon, that's why i ask, thanks.
Click to expand...
Click to collapse
reboot into recovery and read the bottom
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
I flashed amons ras recovery from my phone it was easier for me I didn't use rom manger or terminal emulater
Sent from my FroyoEris using XDA App
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
tkryan said:
Can someone help me get rid of clockwork recovery it showed up after I flashed a rom. How do you flash Amons recovery?
Click to expand...
Click to collapse
You do exactly what the first post says
Sent from my Eris
ufccowboyfan said:
Ok Please help a newbie out here im losing my mind. I downloaded flash, plugged phone into mac and set phone to debugging and mounted. Opened terminal from utilities on Mac. When I enter adb shell it says "command not found" if I try using ./ before adb as suggested on another forum for macs when i enter su it asks for password? Any how please help a brother out. Thanks
Click to expand...
Click to collapse
When you are doing this, are you in the correct directory? For example, my SDK is installed in /android , so first I would:
cd /android/tools
then
./adb shell
could someone help me with this. i really need to get the stock recovery image on my eris and im alittle noobie at this stuff. if any one could help id be sooooo happy
I'm not sure how to flash amons on a mac. I know for windows you put the recovery.img in the sdk tools folder, boot into fastboot and type
Fastboot flash recovery recovery.img
To get stock recovery (I assume you want your phone back to stock) then flash the official ruu. Will return your phone to 100% stock. You can find it on a sticky in the Eris general forums I believe.
Sent from my Eris using XDA App
I'm not sure on a mac, but on Windows you put the img in the tools folder of your sdk, boot into fastboot and type in adb:
Fastboot flash recovery recovery.img
To get stock recovery back, simply flash the official ruu found on a sticky in the Eris general forums I believe. Flashing the ruu will unroot your phone.
Sent from my Eris using XDA App
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Slugdoc said:
I installed Amon Ra as part of the root for leakers instructions some time ago. -- Is there a new version out? (Search was surprisingly not helpful) And what is the best way to update recovery?
Click to expand...
Click to collapse
There is no new version out; the first version (v1.6.2) is the only one that Amon_RA published.
IF there was a new version, you could flash it by using adb with the existing Amon_RA. You don't even need to push a version of "flash_image" to the phone, because it is already in /sbin in Amon_RA recovery. Just get the recovery image to your SD card, start an interactive shell (adb shell), and then
flash_image recovery /sdcard/<wherever-you-put-it>/recovery-RA-eris-v1.6.2.img
Yes, you can "flash a recovery partition by using the recovery" - because when you are interacting with it (the recovery boot), it lives entirely in a ramdisk.
The second easiest way is to have the engineering bootloader (1.49.2000 S-OFF) installed on your phone, and flash it with fastboot from the PC, as in
fastboot flash recovery recovery-RA-eris-v1.6.2.img
Note that neither of these two methods perform any integrity checks on the recovery image file that the normal "Flash .zip from sdcard" ROM installation method does. Therefore, it is imperative that someone using these methods is extremely diligent in cross-checking image MD5 signatures after it has been transferred to the SD card. Amon_RA also has the "md5sum" utility built into it's shell, BTW.
I mention this last point as a warning to newbs - they seem to routinely corrupt files when they transfer them to the SD card. (I suppose they are not using the "safely remove hardware" controls correctly, or they are getting truncated downloads).
bftb0
Hello all!
I post this message to ask a little help as I made a very stupid mistake!
I already posted my issue in the Amon-RA recovery thread but I tried different solutions and nothing works :'''((( Help !!!!
I run a Modaco Custom Rom 3.0 and I had Amon RA recovery version 1.5.2.
I decided to upgrade to 1.6.2.
Well, you know... when it's the third time you install a recovery, you don't pay as much attention as you do the first time ... and I stupidily downloaded and installed the recovery of "Hero SPRINT"... and I owe a "Hero NOT SPRINT" of course.
Good new : my phone can load the ROM normally (hallelujah)
Bad new : of course, recovery menu can't be loaded anymore.
So, before I tried this method :
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-hero-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-hero-v1.6.2.img /sdcard/recovery-RA-hero-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
adb shell reboot
But the second command fails (fastboot)... not allow.
Then, I tried the Flashrec solution (the one I used to root my phone the first time).
Backup of recovery or flashing recovery both fail with Flashrec.
Additional info : Formating the SDCARD via my phone doesn't work ... it's a Modaco bug, i'm not the only one in this case... so I can't format sdcard via my phone.
Seriously guys, I have a rooted custom ROM, there should be a way to get my recovery back :-(
Please please, don't ask me to try gold card... first step is formatting the sdcard via Hero... and I can't even do it.
Many many thanks for people trying to help me!
Don't take my post as being a solution because I'm a noob, but can't you flash the stock ROM off the Hero website and root it again?
Temet79 said:
Hello all!
I post this message to ask a little help as I made a very stupid mistake!
I already posted my issue in the Amon-RA recovery thread but I tried different solutions and nothing works :'''((( Help !!!!
I run a Modaco Custom Rom 3.0 and I had Amon RA recovery version 1.5.2.
I decided to upgrade to 1.6.2.
Well, you know... when it's the third time you install a recovery, you don't pay as much attention as you do the first time ... and I stupidily downloaded and installed the recovery of "Hero SPRINT"... and I owe a "Hero NOT SPRINT" of course.
Good new : my phone can load the ROM normally (hallelujah)
Bad new : of course, recovery menu can't be loaded anymore.
So, before I tried this method :
via fastboot + adb -> In case you don't have a custom recovery, so when you get signature fail errors
Code:
adb shell reboot bootloader
fastboot boot recovery-RA-hero-v1.6.2.img
adb shell mount /sdcard
adb push recovery-RA-hero-v1.6.2.img /sdcard/recovery-RA-hero-v1.6.2.img
adb shell flash_image recovery /sdcard/recovery-RA-hero-v1.6.2.img
adb shell reboot
But the second command fails (fastboot)... not allow.
Then, I tried the Flashrec solution (the one I used to root my phone the first time).
Backup of recovery or flashing recovery both fail with Flashrec.
Additional info : Formating the SDCARD via my phone doesn't work ... it's a Modaco bug, i'm not the only one in this case... so I can't format sdcard via my phone.
Seriously guys, I have a rooted custom ROM, there should be a way to get my recovery back :-(
Please please, don't ask me to try gold card... first step is formatting the sdcard via Hero... and I can't even do it.
Many many thanks for people trying to help me!
Click to expand...
Click to collapse
Hmm. Right. You're in a pickle here. Locked bootloader is a nuisance.
Put the SD card into the computer via memory card reader.
BACKUP CONTENTS BEFORE PROCEEDING. Now format card as FAT32 via computer card reader. Then follow the goldcard guide (there's a copy at http://www.villainrom.co.uk/viewtopic.php?f=46&t=375 or on the site here, but I dunno where it is as it's buried off front page I think)
So get your CID, do the usual stuff with making img, and put it onto card as usual. This should get you goldcard.
Then use card to downgrade to the old RUU, and root back from there
HTH
Ok guys, got it back this night, fully recovered at 3 AM!
Here's the story... with nearly all the possible issues you can encounter in the same case.
I first checked on which ROM Modaco 3.0 is based : 2.73.405.66 ... so that explains why I couldn't use Flashrec directly.
So, I started the Gold Card procedure.
As specified, I can't format via my Hero. Android beeing based on Linux, I decided to format a SD card via Linux (I'm a linux user ...), but I don't know if it changed something or not.
I could create the Gold Card.
Once I had my Gold Card, I downloaded Titanium Backup, made a donation and waited for my license to arrive.
I did a full backup.
Then, for downgrading, you need to use HTCsync. Good... oh, right, I removed it from my Modaco ROM!. So, unzip the Modaco ROM 3.0, get the PCSCII.apk and "adb push" it back on the "/system/app" folder.
Then, ok, launch HTCsync on the computer, and finally on the phone. Oh, my phone doesn't detect HTCsync on my PC!.
Aaaallllll riiiight !!! Uninstall my HTCsync, download last version, reinstall... and it worked!
Then, downgrade... and the Flashrec story went OK, so I got my recovery back. Once I have the recovery, my Hero is more or less saved. I upgraded back to the same Modaco 3.0 because I wanted to restore the whole Titanium Backup without versions issue. This did perfectly the trick! The only thing I had to reconfigure is my standby wallpaper!!!! Awesome tool !
My phone is happy, I am too... but hey, I woke up at 11:30 this ""morning""...
Maybe this will help another guy one day...
Recently I rooted and changed my vold.fstab in a hope of bigger phone storage and then all I got after reboot is a logo.
I using Philips w6610.
I have original vold.fstab file
My phone rooted, and have recovery
My phone don't have usb debug
I tried to make an update.zip but maybe I did not know how to do it right
Now I can't not do anything and through the search on google nothing can help too.
Thank in advance
Update, The update.zip always endup with installation aborted . adb shell commend end up with closed line
Pls helppppppppp ( I just used my phone for 2 weeks
OMG nobody care!
The only two things that pop to mind, are an update.zip (like you already tried) or trying to access 'adb shell' in recovery. Though in the last case you probably need to mount stuff manually, or via the UI of the recovery to get to the vold.fstab file and revert it back.
Can you flash your firmware
The only two things that pop to mind, are an update.zip (like you already tried) or trying to access 'adb shell' in recovery. Though in the last case you probably need to mount stuff manually, or via the UI of the recovery to get to the vold.fstab file and revert it back.
Click to expand...
Click to collapse
Update.zip will be aborted in the first step. I got an installation aborted everytime I update via sdcard.
I also tried adb shell and get command: closed . adb sideload update.zip return same thing with update via sdcard
Can you flash your firmware
Click to expand...
Click to collapse
I really don't know how to flash it right way.
I got and cook ROM from a russian forum for my phone. Only tried to update through sdcard and adb sideload
I am able to get into fastboot but I can not do anything with it!
Is there any methods I can do ?
So my LG G watch is the latest one 5.1.1 and i rooted it but then i tried to flash a custom rom and it just sits at the LG screen with the little lock on it, i can get into boot loader and TWRP recovery, What do i do? when i exit TWRP it says you dont have an OS installed. Could i just flash the factory image in TWRP?
use the tool to go back to stock lca43 or z22d
coopmaster said:
So my LG G watch is the latest one 5.1.1 and i rooted it but then i tried to flash a custom rom and it just sits at the LG screen with the little lock on it, i can get into boot loader and TWRP recovery, What do i do? when i exit TWRP it says you dont have an OS installed. Could i just flash the factory image in TWRP?
Click to expand...
Click to collapse
Probably. Alternatively, if you can get into TWRP, use my backup. Go into TWRP, make a backup of your broken setup first, then push the backup folder (LCA43) to the TWRP top backup folder (probably "/sdcard/TWRP/BACKUPS/dory/", but you can adb shell to explore this). Then just restore my backup. You will want to factory reset once that is done.
Hope this helps.
OfficerJimLahey said:
Probably. Alternatively, if you can get into TWRP, use my backup. Go into TWRP, make a backup of your broken setup first, then push the backup folder (LCA43) to the TWRP top backup folder (probably "/sdcard/TWRP/BACKUPS/dory/", but you can adb shell to explore this). Then just restore my backup. You will want to factory reset once that is done.
Hope this helps.
Click to expand...
Click to collapse
How do i access it. When i go to mount it just says adb device dory.
coopmaster said:
How do i access it. When i go to mount it just says adb device dory.
Click to expand...
Click to collapse
Shouldn't have to mount anything. Just use " adb push LCA43 ‹path to dory TWRP backup on sdcard› ". Use " adb shell " to cd and ls for your destination.
i got it all done. Thank you.