Hey guys, I made a mistake so i did format /system from recovery so my phone doesn't start.
So i downloaded a rom , but I don't know how to put it into my gnex.
I can do it just through fastboot or adb , so i know adb command to do it but my phone isn't in adb devices, instead i find it in fastboot devices.
Is there a fastboot command?
Or where can I find a rom.img to flash it through fastboot?
Boot it into recovery. Adb doesn't work from the bootloader
Sent from my Galaxy Nexus
Pirateghost said:
Boot it into recovery. Adb doesn't work from the bootloader
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
"boot it into a custom recovery", just so we're clear, OP.
Sent from my Nexus
Related
I isntalled Super Wipe to my htc one x before load rom.zip to sd card :S now cant open phone or recovery mod :S so how can i load stock rom again help please
rover_x said:
I isntalled Super Wipe to my htc one x before load rom.zip to sd card :S now cant open phone or recovery mod :S so how can i load stock rom again help please
Click to expand...
Click to collapse
First you will need to reflash your recovery while your phone is in fastboot mode, you can do this by opening a cmd and using the command 'fastboot flash recovery recoveryfilehere.img' and changing recoveryfilehere for your recovery file's name.
I am a bit unsure on these next steps but I believe you will then need to boot into the recovery you just installed and then use the following commands.
'adb devices'
'adb shell'
'mount sdcard'
and then in another cmd you will use the command 'adb push ROMNAME.zip /sdcard
then reboot into recovery and look for your ROM in the root of your sd card and install it as usual. Don't forget to flash the kernal too.
I tried these steps but didnt get result
See http://forum.xda-developers.com/showpost.php?p=26119526&postcount=17 and adapt to yours.
i tired many times , but each time get message " error:device not found" :S
Do you have HTC USB driver installed ?
yes i did
So it means that you're successfully boot into recovery by fastboot boot recovery.img and adb not working for you ?
Please note, adb will not work when you do fastboot flash recovery recovery.img
ckpv5 said:
So it means that you're successfully boot into recovery by fastboot boot recovery.img and adb not working for you ?
Please note, adb will not work when you do fastboot flash recovery recovery.img
Click to expand...
Click to collapse
Ah right, my bad
Sent from my HTC One X using xda premium
My CDMA Nexus froze....battery pull, boot looped. Recovery restore backup....."error while restoring /data"
Been trying to get back to stock ever since and I can't get the fricken ADB command prompt stuff to work.
I have installed drivers like 10 times, and it shows "Android phone" in device manager when the phone is plugged in with fastboot on.
Everytime I try and do the fastboot commands it just says "error: device not found"
Does it let you mount usb so you can stick a new rom file on it?
Sent from my Galaxy Nexus using Tapatalk 2
edit/disregard
does "fastboot devices" reveal your phone?
eqjunkie829 said:
Does it let you mount usb so you can stick a new rom file on it?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
It doesn't show up as a drive, just in the device manager as Android ADB Interface.
I just restarted my computer to see if the drivers needed that....this time I ran the 'adb reboot bootloader' and I got daemon not running. Now starting on port 5037. Daemon started successfully. Then it still said error: device not found
animal24 said:
Hold both volume rockers down and start your phone ... then in your command prompt
fastboot flash bootloader bootloader-toro-primela03.img
fastboot reboot-bootloader
fastboot flash radio radio-toro-i515.fc05.img
fastboot reboot-bootloader
fastboot flash radio-cdma radio-cdma-toro-i515.fa04.img
fastboot reboot-bootloader
fastboot -w update image-mysid-imm76k.zip
fastboot reboot-bootloader
then just to be sure boot into recovery and wipe.
Click to expand...
Click to collapse
This
Does it show as fastboot devices?
Click to expand...
Click to collapse
Yeah.....it returns the phone serial number....
So I dunno what the deal is.
biscuitownz said:
This
Click to expand...
Click to collapse
yeah...I know....that has been my goal for the past 4 hours.
The command prompt wont push to a device it doesn't find...
Cadillac Kid said:
yeah...I know....that has been my goal for the past 4 hours.
The command prompt wont push to a device it doesn't find...
Click to expand...
Click to collapse
if the serial number comes up then it should be able to push the factory images back into it.
try fastboot erase userdata
IINexusII said:
if the serial number comes up then it should be able to push the factory images back into it.
try fastboot erase userdata
Click to expand...
Click to collapse
that did it.........weird. THANKS!!!!
Hello XDA, I got my Galaxy Nexus stock and OTA upgraded it to 4.1.1 Jellybean. I unlocked and rooted the phone and while installing roms I accidentally formatted and factory reseted my phone. I can get into boot loader, and I have CWM installed. If I could just move a rom onto the phone I could boot it. Problem is I cant figure out how to. Keep in mind I am also using a mac. Can anyone help me figure out how to push a rom zip onto the sdcard? Any help would be appreciated, thanks!
Mac infos
http://forum.xda-developers.com/showpost.php?p=23229578&postcount=3
Help
My ADB debugging wasnt on at the time, and now I cant push files to it, anyone have any ideas?
colinrball said:
My ADB debugging wasnt on at the time, and now I cant push files to it, anyone have any ideas?
Click to expand...
Click to collapse
You can abd push from a custom recovery
Alright so USB debugging isnt on but I can still use adb commands? How?
You have to boot into a custom recovery (CWM or TWRP) and use adb commands.
for ex. adb push NameOfRom.zip /sdcard/
I just tried that and my terminal returned
device not found
Don't mount anything don't do anything special in recovery at all.
You're booted into recovery?
Also...I found when I wasn't using naked drivers that it took ~30 seconds for ADB to actually be recognized.
Maybe wait a minute and try again.
If not unplug and plug in.
I can use fastboot commands and it it recognized in fastboot, can I flash a stock rom from this mode?
colinrball said:
I can use fastboot commands and it it recognized in fastboot, can I flash a stock rom from this mode?
Click to expand...
Click to collapse
If you're using fastboot...that means you're not in custom recovery.
Navigate to recovery in that menu.
Or use fastboot boot ______________.img to boot into a custom recovery if you have one downloaded and in your platform tools directory.
But yes, you COULD do that.
But I wouldn't yet.
You'll lose all of your data/apps/etc.
There are Google factory images for the GSM & Verizon versions
[HOW-TO] [GSM & CDMA] Convert to latest yakju/takju/mysid (incl JB) / Return to stock
Jubakuba said:
If you're using fastboot...that means you're not in custom recovery.
Navigate to recovery in that menu.
Or use fastboot boot ______________.img to boot into a custom recovery if you have one downloaded and in your platform tools directory.
But yes, you COULD do that.
But I wouldn't yet.
You'll lose all of your data/apps/etc.
Click to expand...
Click to collapse
There is nothing on my phone, I have CWM installed, however there are no ROMs on the sdcard to flash through CWM. How would I move a file onto my sdcard that I could flash with CWM via fast boot?
colinrball said:
There is nothing on my phone, I have CWM installed, however there are no ROMs on the sdcard to flash through CWM. How would I move a file onto my sdcard that I could flash with CWM via fast boot?
Click to expand...
Click to collapse
I've explained this process already.
Post three of my guide.
Good luck.
|
|
|
v
You don't flash fastboot images via CWM. If you have CWM installed & you're booted in to bootloader (fastboot) mode use the volume keys to reboot into recovery
Jubakuba said:
If you're using fastboot...that means you're not in custom recovery.
Navigate to recovery in that menu.
Or use fastboot boot ______________.img to boot into a custom recovery if you have one downloaded and in your platform tools directory.
But yes, you COULD do that.
But I wouldn't yet.
You'll lose all of your data/apps/etc.
Click to expand...
Click to collapse
I tried pushing a zip to the phone while using adb and a custom recovery. My terminal says it pushed the files to my SD card, however when I go to install the zip, no files appear. Even when I restart recovery there are still no zips found. Any ideas?
Thanks,
Maybe try...
adb push NameOfRom.zip /sdcard/NameOfRom.zip
or
adb push NameOfRom.zip /data/media/NameOfRom.zip
3rdstring said:
Maybe try...
adb push NameOfRom.zip /sdcard/NameOfRom.zip
or
adb push NameOfRom.zip /data/media/NameOfRom.zip
Click to expand...
Click to collapse
Its still giving me a failed message, error flashing zip
Hello!
For days, I try on my new Nexus 7
The device is unlocked and rooted
"adb devices" results in USB debugging a serial number feedback.
I have just the Nexus in fastboot mode (Android robot) with open flap. Then select Recovery on volume rocker and then pressed Power. Then I get no robot with red triangular plate and from the beginning, no further selection on the Nexus.
The device remains dark. With a console command (adb reboot bootloader) can I make it back to life, but with the previous system state.
What's going on?
Thanks, Thomas
Solved
Before the command was missing a sudo.
No custom recovery?
If any adb commands are working your not in fastboot, so to clarify you are in stock recovery
You need to choose bootloader here you will use fastboot commands
fastboot flash recovery nameofrecovery.img
I would recommend twrp but use clockwork or whatever you prefer
Now boot to the new recovery and flash a ROM of choice, and anything else needed such as gapps, recommend slimbean but many good options here
Now if you don't have this on internal memory, which I'm guessing you don't, you will need to go to the advanced menu and choose adb sideload
adb sideload nameofrom.zip
When complete choose adb sideload again
adb sideload nameofgapps.zip
Reboot
Feel free to ask any further questions
Sent from my Nexus 7 using XDA Premium 4 mobile app
I'm now on my 3rd day of trying to get Twrp installed. I've unlocked the bootloader after fighting with drivers for a couple hours, finally got that. As for recovery it keeps saying its successful but upon trying to boot into recovery I get dead android red triangle which I believe means it's not flashing properly. Any help would be appreciated. I've also tried windroid with the same outcome.
Sent from my SM-N920V using XDA-Developers mobile app
If you have your drivers for fastboot, adb correctly installed you can download a twrp image from twrp.me for your watch.
Then, after you allowed USB debugging simply type:
adb reboot-bootloader followed by
fastboot flash recovery twrp.img and
fastboot boot twrp.img.
I assume that you renamed the twrp file to twrp.img and that it is in the same working directory like fastboot.
Flo9818 said:
If you have your drivers for fastboot, adb correctly installed you can download a twrp image from twrp.me for your watch.
Then, after you allowed USB debugging simply type:
adb reboot-bootloader followed by
fastboot flash recovery twrp.img and
fastboot boot twrp.img.
I assume that you renamed the twrp file to twrp.img and that it is in the same working directory like fastboot.
Click to expand...
Click to collapse
Thanks! I got it a few days ago. I was rebooting instead of fastboot boot recovery.img command. This watch is making me learn a little.
Sent from my SM-N920V using XDA-Developers mobile app