Coming from evo, confused on recovery flashing - Nexus S General

Hey, sorry for the n00b questions and I did search, and that's where my confusion comes in. I've been delving in roms with my evo for the past year and I simply placed the recovery in my sd's root and fastbooted.
I just got my NS4G today and rooted successfully but now I can't boot into recovery, and so I went to flash the latest clockwork mod. However, all the guides say I have to use the SDK and put it in the /tools folder? Is there a simpler way such as on the evo, or am I stuck having to do all of this SDK stuff?
Thanks a bunch.

you didn't rename it so it got deleted. download rom manager and flash it through there and it'll stick.

supralover72 said:
Hey, sorry for the n00b questions and I did search, and that's where my confusion comes in. I've been delving in roms with my evo for the past year and I simply placed the recovery in my sd's root and fastbooted.
I just got my NS4G today and rooted successfully but now I can't boot into recovery, and so I went to flash the latest clockwork mod. However, all the guides say I have to use the SDK and put it in the /tools folder? Is there a simpler way such as on the evo, or am I stuck having to do all of this SDK stuff?
Thanks a bunch.
Click to expand...
Click to collapse
You can either use fastboot from the SDK (add the tools folder to your path and it doesn't matter where it is), download flash_image to the device and use terminal emulator or use Rom Manager.

Thanks for the help guys.

Related

Rooting FRF85B

Hello,
Right now I have the stock FRF85B build on my nexus one. I want su and superuser, nothing else. I have already unlocked the bootloader. What do I do from here.?I do not want to install custom ROMs at this point.
Go to erasethis.net/wordpress I wrote an entry today similar to what you want includes links
disgustip8ted said:
Go to erasethis.net/wordpress I wrote an entry today similar to what you want includes links
Click to expand...
Click to collapse
That's great - but didn't you start with a custom recovery?
Can you drop a custom recovery on a stock recovery for FRF85B without the right Superboot?
I ask, because I am also stuck with this stock build and recovery. And when I read the instructions for installing Amon_RA, one of the prerequisites is Superboot. The problem is that there is no Superboot for this build yet.
HALP! I feel like I'm stuck in a chicken-and-egg scenario.
Ah I forgot that part. Wrote that up while at work. Inthe last section there is a link to the page where lox posts an update.zip for root access. I opened the zip and extracted the boot.img and flashed that I think,then I flashed the recovery for amon-ra.
After that is when I put the update.zip from lox on and flashed his update.zip for root access with the such utility.
The method posted in the dev section works perfectly. Root without unlocking. Then you can install a custom recovery/rom if you want.
__________________________________
N1 w/ XDA App
I second this post. I am in the EXACT same situation as the original poster and I'm frankly embarrassed that I can't figure out what to do next.
If we're making huge requests, can you write it up for mac users? There is a surprising lack of documentation for us. I hope this doesn't open me up to a flamewar - if it counts for anything I've been lustily eying windows 7..
edit: I'm an idiot and had not googled the right question. If you run a mac, and have the bootloader unlocked already please see this link:
http://theonda.org/articles/2010/03...-performance-boost-and-some-serious-geek-cred
use your brains to suss out the relevant directions, make sure you have a more updated version of ROM Manager or RA or whatever custom recovery you want and basically just ignore the stuff about custom radios etc. You're basically just using the terminal (or whatever windows / linux does) to flash the custom firmware back on.
Again if you have the bootloader already unlocked (icon appears on startup), just find generic directions for your OS on how to install custom recovery. On the mac, it's simply few terminal commands using the fastboot program linked off the page linked above.
Sorry I can't be of more help - i have to be up early and it's pushing midnight.

Flash custom recovery on an already rooted Aria with clockworks recovery?

is it possible to switch to another custom recovery after I already got clockworks?
I tried unrevoked but its stuck in the reboot (I believe its trying to root my aria again)
not sure what youre trying to do.... i believe Clockwork is the only Recovery for rooted phones. if you want to flash a custom ROM, well that is something else altogether. please be specific as to what you want to flash to the phone. include a link to the flash too
I was trying to flash psfreedom recovery rom from here
http://psfreedom.com/wiki/HTC_Aria
I believe the method on that website was for unrooted arias without clockworks
zyo said:
is it possible to switch to another custom recovery after I already got clockworks?
I tried unrevoked but its stuck in the reboot (I believe its trying to root my aria again)
Click to expand...
Click to collapse
To flash a different custom recovery on your Aria, you need to rename the zip file LIBEIMG.ZIP on the SD card and boot in HBOOT (Power on the phone by holding down VOL DOWN and the Power Button). When it boots to the HBOOT screen you should see text stating that it found LIBEIMG.ZIP and is installing it.
awesome. now before I go ahead, is there any clockworkx recovery image I can revert back to?
zyo said:
awesome. now before I go ahead, is there any clockworkx recovery image I can revert back to?
Click to expand...
Click to collapse
I'm curious, what recovery are you talking about?
thanks for including the link. the instructions are clear.... Root IS required, Clockwork recovery is recommended, the Freedom Aria flash appears to be a custom ROM.
once the phone is Rooted, boot into Recovery, make a Nandroid backup, and flash downloaded zip file from SD card.
if you need help Rooting, there is all sorts of good methods available on this site. I use the Unrevoked method myself, but it works best on Linux or Mac OS
zedbra said:
thanks for including the link. the instructions are clear.... Root IS required, Clockwork recovery is recommended, the Freedom Aria flash appears to be a custom ROM.
once the phone is Rooted, boot into Recovery, make a Nandroid backup, and flash downloaded zip file from SD card.
if you need help Rooting, there is all sorts of good methods available on this site. I use the Unrevoked method myself, but it works best on Linux or Mac OS
Click to expand...
Click to collapse
hmm I think you are looking at the old method which is a custom rom
The new one is a custom recovery which brings me to the question as I dont think you can flash a custom recovery in the clockwork custom recovery.
its possible im looking at the wrong thing, but far as i can tell it states "Recovery Custom ROM" which is totally different from Custom Recovery ROM
From link posted above:
"Update can be installed in recovery mode in Psfreedom settings menu via Update (local) or Update (net) if you have configured your wifi connection. Put the file on your SDCARD and install it.
Download Recovery custom rom : http://alephzain.klutsh.com/aria-recovery.tgz "
tpbklake said:
To flash a different custom recovery on your Aria, you need to rename the zip file LIBEIMG.ZIP on the SD card and boot in HBOOT (Power on the phone by holding down VOL DOWN and the Power Button). When it boots to the HBOOT screen you should see text stating that it found LIBEIMG.ZIP and is installing it.
Click to expand...
Click to collapse
I have similar questions. I was trying to update my version of clockwork also using unrevoked again, but couldn't get it to work. I guess my questions are:
1. Is there any benefit in updating to a newer version of clockwork? My current version is 2.0.x.x and I believe the latest one is 2.5.0.4.
2. Will this same method work to do so? Can I rename the latest clockwork .zip file like this and get it updated?
I thought using the flash clockwork option in ROM Manager would do it, but it doesn't. If I reboot from ROM Manager it goes to the newer version, but if I reboot otherwise it goes to my original. The couple times I've used it, there appears to be maybe some different features/options in the newer one and I feel like I might be missing out on something!
What's the difference with this recovery?
Sent from my Liberty using XDA App
zedbra said:
its possible im looking at the wrong thing, but far as i can tell it states "Recovery Custom ROM" which is totally different from Custom Recovery ROM
From link posted above:
"Update can be installed in recovery mode in Psfreedom settings menu via Update (local) or Update (net) if you have configured your wifi connection. Put the file on your SDCARD and install it.
Download Recovery custom rom : http://alephzain.klutsh.com/aria-recovery.tgz "
Click to expand...
Click to collapse
These are probably two different things. once you got the recovery rom flashed you can upgrade it in recovery mode (hence its different from original clockwork recovery)
Ok bro, I didn't see much info about it so I'm gonna take your word for it.
@brswattt, far as I can tell this is " basically" used for jailbreaking the ps3.
@armyengineer;
you can use unrEVOked to flash the new recovery. if youre a Windows user, download the unrEVOked tool and run the .exe as Administrator. also make sure there are no conflicting s/w on the PC such as HTC Sync and you have all the drivers installed(HBoot, ADB drivers, etc.)
for more info about the PSFreedom Recovery, check out THIS Thread HERE
unrevoked keeps giving me
couldnt find misc
error, is there any other way to flash a recovery?
zedbra said:
@armyengineer;
you can use unrEVOked to flash the new recovery. if youre a Windows user, download the unrEVOked tool and run the .exe as Administrator. also make sure there are no conflicting s/w on the PC such as HTC Sync and you have all the drivers installed(HBoot, ADB drivers, etc.)
Click to expand...
Click to collapse
This still isn't working for me. Everything appears to go well at the start, then I get:
Waiting for root...(safe to restart if this doesn't work)
At which point the only way I can restart is to pull my battery. After doing so, it reboots and I get:
This was a triumph
It is not, however, any such thing. After another minute I get this:
Internal error: couldn't find misc.
So I've still got my original version of clockwork, 2.0.1.3, despite the fact that ROM Manager is telling me I have 2.5.0.1. I'm obviously missing something here.
BTW, if it matters I'm running CM 6.1.0
armyengineer51 said:
I have similar questions. I was trying to update my version of clockwork also using unrevoked again, but couldn't get it to work. I guess my questions are:
1. Is there any benefit in updating to a newer version of clockwork? My current version is 2.0.x.x and I believe the latest one is 2.5.0.4.
2. Will this same method work to do so? Can I rename the latest clockwork .zip file like this and get it updated?
I thought using the flash clockwork option in ROM Manager would do it, but it doesn't. If I reboot from ROM Manager it goes to the newer version, but if I reboot otherwise it goes to my original. The couple times I've used it, there appears to be maybe some different features/options in the newer one and I feel like I might be missing out on something!
Click to expand...
Click to collapse
Although there is a ClockworkMod 2.5.0.4 version, I don't think it is for the Aria. According to ClockworkMod ROM Manager, 2.5.0.1 is the most current one for the Aria so I am believing what ROM Manager is telling me since it is written by the same the vendor.
I have tried CM 6.1.0
original HTC Aria 2.1 International Rom
and FR001 RC1
all no go. I think it has something to do with the phone already been rooted and has clockworks installed which makes unrevoked unhappy
zyo said:
I have tried CM 6.1.0
original HTC Aria 2.1 International Rom
and FR001 RC1
all no go. I think it has something to do with the phone already been rooted and has clockworks installed which makes unrevoked unhappy
Click to expand...
Click to collapse
OK, let's start from the beginning. You asked about installing an alternate recovery (PSFreedom recovery), but apparently it has its own installation procedure that needs to be run on an unrooted Aria.
What you need is to find just the PSFreedom recovery and copy it to your SD called in a file called LIBEIMG.ZIP and that is how you need to install it on a root phone that has ClockworkMod. Perhaps you need to go back to the PSFreedom thread and ask if a LIBEIMG.ZIP can be produced that can be flashed from HBOOT to replace ClockworkMod.
Looks like everything you need is located in the PSFreedom wiki:
http://psfreedom.com/wiki/HTC_Aria
I got a recovery.bin which is suppose to be used with unrevoked.
are you talking about the same one if I just compress it into a zip file?

Flashing new recovery isnt working.

Hey, I am trying to successfully get a new ROM, and in all the forums and such I have read tell me that with the Desire Z/G2 I need to flash the newest ClockWorkMod recovery. So i have downloaded a couple different recovery .img files.
Now when i use Emulator, i put in;
su
flash_image recovery /sdcard/recoveryname.img
and it says
flash_image: not found
I dont understand why ROM Manager doesnt give the newest recovery file as an option.
Can anyone help me in this situation?
Thanks
mobilemidget said:
Hey, I am trying to successfully get a new ROM, and in all the forums and such I have read tell me that with the Desire Z/G2 I need to flash the newest ClockWorkMod recovery. So i have downloaded a couple different recovery .img files.
Now when i use Emulator, i put in;
su
flash_image recovery /sdcard/recoveryname.img
and it says
flash_image: not found
I dont understand why ROM Manager doesnt give the newest recovery file as an option.
Can anyone help me in this situation?
Thanks
Click to expand...
Click to collapse
Did u delete the name on the recoveryname.img upon flashing??
Sent from my HTC Vision using XDA App
Download Root Explorer and navigate to /system/bin
Make sure /system is mounted in r/w then take this attached file, unzip it, and place it inside of /system/bin
Go back into terminal and try that command again.
ok so I installed root manager, and put the flash_image.zip in the system/bit, and tried it again with the terminal emulator, but i still have no results, it says after the pause when you plress enter after the flash_image prompt, your supposed to reboot the phone and it should start with the new recovery, but when i open ROM manager it staill shows V 2.5.... If i did somthing wrong i cant figure it out., Please help.
Thanks
http://www.youtube.com/watch?v=w4QViSam2og&feature=youtube_gdata_player
Follow these instructions. You can't go wrong. Make sure you back out of the app and go back in. It sets the cursor to the correct posistion. All you have to do is put the .img in the root of your sd. Hope this helps, it did for me.
Sent from my HTC Vision using XDA App
wait, so why aren't you just flashing the recovery through ROM manager? Are you trying to install CWR 3.0+?
yes I am trying to flash cwm 3.0, and it is not an option with ROM manager. I will try the Youtube instructions. Thanks
Ok so I tried the instructions with the Youtube video, and when i do the cmd promt in Terminal i get this;
Cant open device: "/dev/block/mmcblk0"
error in reading mbr!
failed with error: -1
I have the recovery.img file (not zip) on the sd card, I used root mamnager to put it in the bin file within system. but the instructions on the video say to use astro and it doesnt give an option to go as deep as root manager.
Thanks
Yes unzip it but make sure its in the root of your sd. That means not folders at all. That's the command that he is making in the video. I don't think you can flash cwm 3.0 in rom manager, only revert back to earlier recoveries, for froyo roms.
Sent from my HTC Vision using XDA App
Make sure the file is named what your commanding it to be. Make sure its recovery.img no caps.
Sent from my HTC Vision using XDA App
OK so I am trying this too. I am putting the recovery image directly to the root of my sd and I can see that it's there. But in TE, I put in the commands and it tells me
flash_image: not found
It's there!!!! I can see it when I have my phone connected. What am I doing wrong?
Edit: I am running stock rooted. Does this have something to do with it?
Rooted running a stock rom? Honestly I can't tell you all I know is I'm running custom rom. If I had to guess I would say it doesn't. All I can say is I had issues until I watched the video, sorry I can't help more. Only thing I would say to do is wipe everything you did and try redoing it.
Sent from my HTC Vision using XDA App
I can say you should only have one .img in your sd to not confuse it. I'm pretty sure you can use command prompt on your pc if you have access to one.
Sent from my HTC Vision using XDA App
Ok, I think I am getting somewhere, I was searching my sdcard on my computer, and I realised that the root of my sdcard is not called "sdcard" so in the command i was doing it wrong, It is called "HTC DESIRE" so i did it in Emulator and it worked i rebooted my phone in recovery and I am now rocking the new ClockworkMod Recovery 3.0.0.5...
Thanks all for the help, Hope what i discovered helps someone else.
Wait, Wait, Wait... I just screwed it up again... I went into ROM Manager after I successfully flashed 3.0.0.5. and it was not showing that in ROM Manager, so I tapped on flash latest recovery, and damnit... it replaced all my hard work with the 2.5 recovery... I have tried to repeat the flash process a few times with 3.0, and i have not been successful... Help... I dont know what to do now!!!
Instead of flashing the recovery in rom manager, after you've inputted the
su
# flash_image recovery sdcard/recovery.img
you can just type in after it
# reboot recovery
and it will reboot you into CWM 3.0. Be sure to perform a nandroid backup under 2.2 first and when you want to go back to a froyo rom, you'll have to flash the 2.5 recovery image again.
Yes, you will not see it in rom manager. Just reboot into the recovery and if you see orange and cwm 3.0 your good. Just repeat the steps.
Sent from my HTC Vision using XDA App
mobilemidget said:
Hey, I am trying to successfully get a new ROM, and in all the forums and such I have read tell me that with the Desire Z/G2 I need to flash the newest ClockWorkMod recovery. So i have downloaded a couple different recovery .img files.
Now when i use Emulator, i put in;
su
flash_image recovery /sdcard/recoveryname.img
and it says
flash_image: not found
I dont understand why ROM Manager doesnt give the newest recovery file as an option.
Can anyone help me in this situation?
Thanks
Click to expand...
Click to collapse
"flash_image: not found" means that you do not have the 'flash_image' binary installed. Follow the guide here to get 'flash_image' installed on your device (the 'flash_image' binary is attached).
As for why ROM Manager not giving the newest recovery as an option, ROM Manger isn't fully compatible with the latest recovery as it just came out. The latest recovery (I'm assuming you're referring to v3.x) is only for Gingerbread based ROM's, if you're trying to install a Froyo based ROM then you should be using recovery version 2.x.
OriginalGabriel said:
"flash_image: not found" means that you do not have the 'flash_image' binary installed. Follow the guide here to get 'flash_image' installed on your device (the 'flash_image' binary is attached).
Click to expand...
Click to collapse
I will try this tonight, thank you. I haven't run into this in any of the tutorials I've read though. I appreciate it.
Hey everyone I found a site that shows me how to flash CWM 3.0 through ROM Manager,
http://www.addictivetips.com/mobile/how-to-install-clockworkmod-recovery-3-using-rom-manager/
However, it is not working for me, if anyone has been successful in doing it this way please let me know cause evrything i try this i still am left with CWM 2.5. I really want to try the new Cyanagen nightly ROM, but i need to have 3.0... I had it once when i was doing it through terminal, however stupid me went back into rom manager and ruined what i did, and could not redo it... i am getting frustrated.
Please Help me.
Thanks

[Q] Help with flashing please.

As you can see from my sig....
I have stock rom 2.1 with HBoot 0.80.0002, with S-OFF and its rooted. but having problems flashing a recovery.
I have tried various flashing technics but all fail. anyone help please?
Thanks
Do you have the correct recovery downloaded, and is it on the root of your sd card? Also, do you have the flash_image.img on the root of your card?
Sometimes the flash_image step is one that gets overlooked by some (depending on root method), then they can't flash anything.
If you have those already and in place, you should be able to use terminal emulator app from the market. The exact commands you type are in the OP of amonRAs thread (in the evo development subforum).
Sorry, I don't have more time right now.
Edit: here, I had this on my sd card. Its add_flash_image zip. I think its a flashable zip. But if you can't flash anything it does no good I'd assume. But you should be able to open it and put the file on root of sd card. But you'll have to search the forums for the exact commands -I don't know them off the top of my head, and the commands I used may be diff from what you need to use, as I have a different device.
Not even sure if this is your problem, though. Just an idea. Hope it helps at all.
http://db.tt/4x04101
Sent from my wicked evo using XDA App
ahhh thanks m8, now sorted forgot the PC49IMG.zip and recovery now successfully flashed hanks again
Moved to General

Manual unlock & root - without toolkit

Hi all,
Finally received my nexus 4 after suuuch a long wait.
I went the nexus root as I'd really like to learn all the ins and outs of android. I'm working as a web dev now (nothing with java).
This is my first android device and I will soon want to unlock, root and try manually amend system files.
I have some questions though:
1. Can I unlock the phone through the terminal manually and without toolkit? I want to do everything myself.
2. Are there any tutorials on manually rooting a nexus 4 (I saw a gnex). I don't want to use a tool kit for now.
3. I'd like to try start amending (very basic) some System files. Will it be easy to transfer over the code when updates come?
Thanks!
Check the sticky in the general forum. Great stuff by efrant. http://forum.xda-developers.com/showthread.php?t=2010312
nm3th said:
Check the sticky in the general forum. Great stuff by efrant. http://forum.xda-developers.com/showthread.php?t=2010312
Click to expand...
Click to collapse
Thanks for the link but I have already read that. What I want to do is manually perform the tasks he mentions. When he says to download a toolkit , I want to skip that and manually do what the toolkit does to have a better understanding of the OS.
Did you actually read it? He gives a step by step from unlocking the bootloader, to installing the drivers needed to run adb/fastboot, root, etc. No toolkit; exactly what you're asking for.
nm3th said:
Did you actually read it?
Click to expand...
Click to collapse
Yes I have. I guess I must of misunderstood what platform tools are.
Why do I need those? The android development bridge cannot work without that?
Platform-tools-v16 contains the files needed to run adb and fastboot. Adb (android debug bridge) allows you to communicate with your device from your pc. Fastboot allows you to update the flash file system. You will need this if you don't already have the sdk installed. Just follow the instructions and it'll be a good learning experience. Good luck.
**edit** I'm not on my system with the sdk, so I can't check, but I don't think fastboot is included with the sdk anymore, only adb is.
monkeying. around said:
Hi all,
Finally received my nexus 4 after suuuch a long wait.
I went the nexus root as I'd really like to learn all the ins and outs of android. I'm working as a web dev now (nothing with java).
This is my first android device and I will soon want to unlock, root and try manually amend system files.
I have some questions though:
1. Can I unlock the phone through the terminal manually and without toolkit? I want to do everything myself.
2. Are there any tutorials on manually rooting a nexus 4 (I saw a gnex). I don't want to use a tool kit for now.
3. I'd like to try start amending (very basic) some System files. Will it be easy to transfer over the code when updates come?
Thanks!
Click to expand...
Click to collapse
its the same as on the gnex, exactly. its the same on all nexus devices. fastboot oem unlock, fastboot a custom recovery, flash either a custom rom or the su binaries in that new recovery, then reboot and profit
nm3th said:
You will need this if you don't already have the sdk installed. Just follow the instructions and it'll be a good learning experience. Good luck.
Click to expand...
Click to collapse
OK thanks that clears another point up. I'm not really after learning how to flash etc but more about the OS as a whole. Would also like to slowly attempt to amend some changes in the system files but I'll go ahead and do that guide.
simms22 said:
its the same as on the gnex, exactly. its the same on all nexus devices. fastboot oem unlock, fastboot a custom recovery, flash either a custom rom or the su binaries in that new recovery, then reboot and profit
Click to expand...
Click to collapse
OK thanks will try tackle it this weekend.
Can you guys answe my other question? What about people who amend the files how so they go about updating the system where. Updates are released?
monkeying. around said:
Can you guys answe my other question? What about people who amend the files how so they go about updating the system where. Updates are released?
Click to expand...
Click to collapse
Make a backup of whatever file you are modifying and when there is an update, revert back to the old file and you should be able to flash the OTA. Or just flash the stock image using the instructions from my first reply, then flash the OTA.
Androidrootz.com has tutorials for manual or tool kits rooting via windows or Mac. I did the Mac version and it was a piece of cake and I am no pc expert. They have info for unrooting and flashing clockwork mod recovery.
Good luck,
Ian B
nm3th said:
Make a backup of whatever file you are modifying and when there is an update, revert back to the old file and you should be able to flash the OTA. Or just flash the stock image using the instructions from my first reply, then flash the OTA.
Click to expand...
Click to collapse
Ok that should sort out the updating but after updated what do I do with the backup/modified file. I will have to remodify everything again correct?
Mr Ian B said:
Androidrootz.com has tutorials for manual or tool kits rooting via windows or Mac. I did the Mac version and it was a piece of cake and I am no pc expert. They have info for unrooting and flashing clockwork mod recovery.
Good luck,
Ian B
Click to expand...
Click to collapse
Thanks I saw this tutorial and video although I found a better one. Like I said before I thought this was the plug n
Play version. Any will root the traditional way I guess.
there's another guide in this forum, maybe you like that one
http://forum.xda-developers.com/showthread.php?t=2018179
OK guys just backed up all my data to my computer. I've downloaded the platform tools but there seems to be a contradiction here.
Do I have to download the .IMG file that is 300+ mb?
cause some tutorials say I don't.
The IMG file is for just in case you goof up and need to get your phone back up and running.
nm3th said:
The IMG file is for just in case you goof up and need to get your phone back up and running.
Click to expand...
Click to collapse
OK thanks. Now I get it.
Regarding the updates, if I am unlocked and have root access with no other changes, I can successfully install the update correct?
Only thing I will lose is root access?
What will happen if I do a factory data reset on a unlocked + rooted device?
monkeying. around said:
What will happen if I do a factory data reset on a unlocked + rooted device?
Click to expand...
Click to collapse
You lose installed apps and data but maintain root
Sent from my Nexus 4 using Tapatalk 2
What about if I've flashed cwm recovery? To the boot loader. Would that get overwritten
Or is that not affected since its in the bootloader...before you get to the os.
monkeying. around said:
What about if I've flashed cwm recovery? To the boot loader. Would that get overwritten
Or is that not affected since its in the bootloader...before you get to the os.
Click to expand...
Click to collapse
It will not erase that as you said unless you flash back to the stock recovery image as the boot and recovery is separate. You can wipe data and reflash all day long if you want.

Categories

Resources