I currently can no longer use my power button. I was wondering if there is any way to use ADB to install the Update.zip to root my phone.
Adb reboot recovery? Dunno if that'll work
Sent from my SGH-I897 using XDA App
adb reboot recovery
Click to expand...
Click to collapse
after it reboots to the recovery,
adb push update.zip /sdcard/
Click to expand...
Click to collapse
That will work, to reboot to normal again, "adb reboot"
As of right now, I don't think /sdcard/ is the right directory. I'm going to try to find the correct one. It couldn't find the directory or .zip.
As long as your phone is on and debugging mode is on, then ADB should work.
Sent from my I897 using xda premium
In adb the sdcard partition is /mnt/sdcard...
Related
Im on ra recovery currently and I want to change to cw. I tried flashing it thru rm but it didn't work. Help?
Sent from my HERO200 using XDA App
Run - "flash_image recovery <recovery file name>" from adb or terminal window. Make sure the recovery image is in the SD Card root. Reboot...
neilege said:
Im on ra recovery currently and I want to change to cw. I tried flashing it thru rm but it didn't work. Help?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
The better question is why?
Have you tried flashing it via adb shell or terminal emulator? (assuming it comes as a standard .img file)
adb shell:
Code:
adb shell
su
flash_image recovery /sdcard/NameOfRecoveryHere.img
terminal emulator:
Code:
su
flash_image recovery /sdcard/NameOfRecoveryHere.img
fixed it!!
[URLhttp://db.tt/WOSJwsr]here[/URL]
Sent from my HERO200 using XDA App
neilege said:
THANKS SO MUCH.I almost thought I permanatly had no recovery for a minute. That would be bad
i also decided to keep RA. I like care bears lol.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
if you have care bears on your recovery you're running the olddddd version. You should update your RA to darch's unofficial (<- get this one ) or the godspeed recoveries.
You can download either one from HERE
I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Pum4 said:
I was changing rom according to instructions and accidentally I have deleted my rom.zip. Now I'm stuck in recovery with nothing to flash and no idea how to push rom.zip to phone memory. I have otg cable. Can anyone come up with a solution or direction to relevant topic ?
Click to expand...
Click to collapse
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
redbull123 said:
Easiest thing would be to put your ROM.zip on your usb and plug it into your phone before entering recovery. I'm not sure if Cwm classic supports otg but Cwm touch and twrp do
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
Click to expand...
Click to collapse
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Pum4 said:
will try. Should I flash it from pendrive or copy to internal and then install ?
I've tried and even it should be possible the device cant mount externel sd what to do now ?
Click to expand...
Click to collapse
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
redbull123 said:
I think it's called external_sd in recovery. Just flash it from there.
Sent from my HTC One using xda premium
---------- Post added at 08:20 PM ---------- Previous post was at 08:11 PM ----------
Apologies, I've just tried it myself in CWM Touch 6.0.3.1...
Go to Bootloader screen and plug in your cable
enter recovery
install zip from sdcard
choose zip from external sdcard
Works for me...
Sometimes if it doesn't mount I go to 'backup and restore' -> restore from external sdcard -> Go Back -> Go Back -> try it flashing from 'install zip from sdcard' again. (Although I have a nandroid backup on my usb so that may not work for you)
Click to expand...
Click to collapse
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Pum4 said:
when i try to do that, there is a commend listed: E: Cant mount /external_sd damn it
Click to expand...
Click to collapse
Can you use adb & fastboot commands?
redbull123 said:
Can you use adb & fastboot commands?
Click to expand...
Click to collapse
yes I can, is mini sdk enough ?
Pum4 said:
yes I can, is mini sdk enough ?
Click to expand...
Click to collapse
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
redbull123 said:
yeah...
put your rom.zip in your mini-sdk folder
put your phone to the bootloader screen -> select fastboot -> it should now say 'fastboot usb'
hold shift and right-click on your mini-sdk folder -> Open Command Window Here
command: fastboot devices
if your device shows, enter recovery
command: adb devices
if your device shows,
adb push name_of_your_rom.zip /sdcard be sure to put a space before /sdcard. be sure the 'name_of_your_rom' is named exactly the same as your rom.zip
After a while your rom should be on your sdcard, just flash it as normal.
Click to expand...
Click to collapse
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Pum4 said:
Just did as you said. The tricky part is with opening command line in the specified folder, I would never have guess that you have to hold shift.
Now waiting for the file being moved to sdcard, after push command the _ is blinking as the file is being send right. File is sent XXX bytes in 222.sec
I tried to instal from the sdcard the recovery reboots itself when I press instal from sdcard
Click to expand...
Click to collapse
Maybe try fastboot screen again,
fastboot erase cache
redbull123 said:
Maybe try fastboot screen again,
fastboot erase cache
Click to expand...
Click to collapse
remote not allowed
Pum4 said:
remote not allowed
Click to expand...
Click to collapse
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
redbull123 said:
'fastboot usb' should be on the screen
again, open cmd from your mini-sdk folder
do 'fastboot devices' just to be sure your device is seen
Click to expand...
Click to collapse
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Pum4 said:
done, entered recovery and when I press instal from sdcard the device is re-booting
the charging led is not lighiting up i fear i will drain it to zero and it will not charge again
Click to expand...
Click to collapse
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
redbull123 said:
ok, can you select install zip from sideload or does it crash?
if you can, select it and command in cmd (from your mini-sdk folder)
adb sideload name_of_your_rom.zip
once its finished sideloading it should begin install on your phone automatically
If you can't do that, try re-flashing your recovery and try everything again.
fastboot flash recovery name_of_your_recovery.img
(in 'fastboot usb') (name_of_your_recovery.img should be in mini-sdk folder)
Click to expand...
Click to collapse
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Pum4 said:
I pushed sideload:
failed to open driver control: no csuch file or directory (x2)
sideload started now sen the package you want to apply to the device with adb sideload <filename>
in cmd adb devices:
HTXXXXXXX sideload
after command sideload progress is showed but I fear I have deleted sth important on the device ;/
rom was sideloaded but instalation was far to quick and it is still stuck on htc quietly brilliant... I have bricked my device (
Click to expand...
Click to collapse
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
redbull123 said:
Just hold down volume down + power button until it reboots. You may have to do it under a bright light. Keep holding them until your fastboot/hboot screen appears.
Try re-flashing your recovery as I said above and try again - if that doesn't work then I'm afraid I'm out of ideas
What ROM are you trying to install??
Click to expand...
Click to collapse
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Pum4 said:
just stock 4.2.2... I will try to do that again and if it doesnt work I will try to use ruu method but I wonder do I have to flash stock recovery then ?
Click to expand...
Click to collapse
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
redbull123 said:
send a link to the page you got the rom. i've never used RUU but I think it flashes stock recovery during the process
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Pum4 said:
http://forum.xda-developers.com/showthread.php?t=2281365
http://forum.xda-developers.com/showthread.php?t=2207874
I'm trying to find modeid and cidnum and its pn07100000 and orangb10... dont know which to choose...
I need mz phone tomoorow and Im getting desperate
I have flashed stock recovery and still it bootloops, getting hopeless
Click to expand...
Click to collapse
I don't know anything about RUUs but this is what I would do just to get a working phone:
Flash custom recovery again
Flash Android Revolution 10.2 from here:
http://forum.xda-developers.com/showthread.php?p=38939202
Using adb push or sideload
It's 4.2.2 and close to stock
Sent from my HTC One using xda premium
Hi , I installed ColosOS beta without installing oppo.boot.img.
And whole system froze on booting up.
Now I have TWRP recovery installed , via fastboot.
But I have no ROM on my cellphone it seems.
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
My problem now is to get ROM.zip into my phone. Damn HTC ONE dont have external sd card.....
Anyone can help ?
mrcaligula said:
I cant seem to use adb sideload command as the cmd window only shows up possible commands. it is adb version 1.0.29
Click to expand...
Click to collapse
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
nkk71 said:
you're typing the command wrong, or the filename (of the ROM) is wrong.
you can also use an OTG cable, or "adb push <name of rom>.zip /data/media/"
Click to expand...
Click to collapse
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
mrcaligula said:
Example I have Zip file located in : C:/trip.zip
Then I write
adb sideload c:/trip.zip /sdcard
?
Click to expand...
Click to collapse
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
nkk71 said:
that is the push method not sideload:
adb push c:\trip.zip /sdcard/
sideload is just: adb sideload c:\trip.zip
Click to expand...
Click to collapse
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
mrcaligula said:
Yes of course . Thank you!
I will now try to get MY HTC back in the ADB devices list again
It is back up again in ADB . And now I am pushing it to /data/media. I hope I will find the file in TWRP now One million thanks to you.
Click to expand...
Click to collapse
good luck, hit the thanks button if i've helped
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
mrcaligula said:
Phone now up again with tripdroids newest.
It was the location of the push (data/media) that I screwed up before posting here. I pushed to sdcard but never find zip file in CWM. SO changed recovery to TWRP.
NKK71 :good:
Click to expand...
Click to collapse
Good
BTW, /sdcard usually point to /data/media/0, so you should have browsed to the 0 folder in CWM, and then you would have seen the rom.zip
With ADB sideload, you can flash not only roms but also things like GAPPS right? Instead of using : adb sideload rom.zip : to flash the gapps you can just do : adb sideload gapps.zip :, right?
O-rangePeels said:
With ADB sideload, you can flash not only roms but also things like GAPPS right? Instead of using : adb sideload rom.zip : to flash the gapps you can just do : adb sideload gapps.zip :, right?
Click to expand...
Click to collapse
why don't you try it?
it should work >_>
kamilmirza said:
why don't you try it?
it should work >_>
Click to expand...
Click to collapse
Not at home haha. Will try soon. Thanks.
Update pls..
have u found an answer to your question. Did you try flashing it from adb fastboot.
Sanman89 said:
have u found an answer to your question. Did you try flashing it from adb fastboot.
Click to expand...
Click to collapse
you can flash any recovery file by adb sideload or by adb push (recommended)
and fastboot command only works in fastboot mode and you cannot flash ROM on fastboot mode
Sent from my Nexus 5 using Tapatalk
Update pls..
kamilmirza said:
you can flash any recovery file by adb sideload or by adb push (recommended)
and fastboot command only works in fastboot mode and you cannot flash ROM on fastboot mode
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
Sorry for being pricky on this..... Will it be possible to flash gapps.zip from adb ?
(I know i could adb push it & install the zip from recovery.)
Sanman89 said:
Sorry for being pricky on this..... Will it be possible to flash gapps.zip from adb ?
(I know i could adb push it & install the zip from recovery.)
Click to expand...
Click to collapse
if you meant adb sideload, then yes
I was getting ready to reinstall Viper one and I accidently wiped my phone in recovery including the internal memory card that had the Viper one OS file on it. Now my phone is stuck on the HTC screen and will do nothing. Do I have any options?
slufoot69 said:
I was getting ready to reinstall Viper one and I accidently wiped my phone in recovery including the internal memory card that had the Viper one OS file on it. Now my phone is stuck on the HTC screen and will do nothing. Do I have any options?
Click to expand...
Click to collapse
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/
alray said:
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/
Click to expand...
Click to collapse
Is there any way to get into recovery? My phone is stuck on HTC screen. When I hold the power button down and volume down it just reboots to the HTC screen
slufoot69 said:
Is there any way to get into recovery? My phone is stuck on HTC screen. When I hold the power button down and volume down it just reboots to the HTC screen
Click to expand...
Click to collapse
hold power and volume down until your phone reboot in bootloader.
Got into recovery, Thanks... I was not holding buttons long enough....
Does anybody have link to newest ADB... Ive had so much trouble with that in the past... My pc never recognizes my phone but Im going to attempt it again...Thanks all...
alray said:
adb push or adb sideload your rom from recovery
Code:
adb push name_of_rom.zip /sdcard/
Click to expand...
Click to collapse
Is ADB easier or sideload? ADB gives me alot of fits...
slufoot69 said:
Is ADB easier or sideload? ADB gives me alot of fits...
Click to expand...
Click to collapse
I personally prefer to use adb push but both methods are easy.
http://forum.xda-developers.com/showthread.php?t=2318497