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
Related
Can someone help me?
I was in CWM and formatted the /system and /data folders and I missed everything that was on my phone storage.
I have the CWM 6.0.4.3 and I can't mound USB storage by CWM to try to copy the flashable ROM.
:crying:
Use the sideload or the push command.
For the sideload, you have the option in recovery (if this option there isn't, flash the twrp recovery) and type from pc:
Code:
adb sideload name_of_rom.zip
Or try to push it:
Code:
adb push name_of_file.zip /sdcard/
Tell me if you have some prob
Can we do a hangout? I am coelhooliveirar
What mode do I need to set on the phone before doing this ADB command?
Guich said:
Use the sideload or the push command.
For the sideload, you have the option in recovery (if this option there isn't, flash the twrp recovery) and type from pc:
Code:
adb sideload name_of_rom.zip
Or try to push it:
Code:
adb push name_of_file.zip /sdcard/
Tell me if you have some prob
Click to expand...
Click to collapse
OK, I choose Install from Sideload
I heard the USB connection sound on my laptop but when I do the adb sideload command it says I have no device connected to ADB
Guich said:
Use the sideload or the push command.
For the sideload, you have the option in recovery (if this option there isn't, flash the twrp recovery) and type from pc:
Code:
adb sideload name_of_rom.zip
Or try to push it:
Code:
adb push name_of_file.zip /sdcard/
Tell me if you have some prob
Click to expand...
Click to collapse
Hey so i'm having the same problem just when i try to do add sideload it says "error:device not found". I've tried fastboot flashing it but then it my phone freezes and it never completes it. Can anyone help?
sideload with All-In-One Toolkit
The All In One Kit doesnt work too... :'(
xnobex said:
sideload with All-In-One Toolkit
Click to expand...
Click to collapse
SOLVED!!
First, repair the ADB Driver with the ADB Driver installer: http://adbdriver.com/downloads/
Put the phone on recovery
Choose install from Sideload
Send the ROM zip file to the Sideload.
Guich said:
Use the sideload or the push command.
For the sideload, you have the option in recovery (if this option there isn't, flash the twrp recovery) and type from pc:
Code:
adb sideload name_of_rom.zip
Or try to push it:
Code:
adb push name_of_file.zip /sdcard/
Tell me if you have some prob
Click to expand...
Click to collapse
Hello! I'm new to the community and I wanted to first of all say thank you for giving me some hope. After I typed in the:
"adb push my_file.zip /sdcard/"
It says
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
Do you know how to fix this?
coelhooliveirar said:
SOLVED!!
First, repair the ADB Driver with the ADB Driver installer: http://adbdriver.com/downloads/
Put the phone on recovery
Choose install from Sideload
Send the ROM zip file to the Sideload.
Click to expand...
Click to collapse
Fala brother! Ia te ajudar mas já vi que conseguiu! hehehe
That´s it! espero que não tenha perdido muita coisa importante quando deu os Wipes...
Doshman said:
Hey so i'm having the same problem just when i try to do add sideload it says "error:device not found". I've tried fastboot flashing it but then it my phone freezes and it never completes it. Can anyone help?
Click to expand...
Click to collapse
Change your adb.exe
Use the link of the OP or this
simpiemair said:
Hello! I'm new to the community and I wanted to first of all say thank you for giving me some hope. After I typed in the:
"adb push my_file.zip /sdcard/"
It says
* daemon not running. starting it now on port 5037 *
ADB server didn't ACK
* failed to start daemon *
error: cannot connect to daemon
Do you know how to fix this?
Click to expand...
Click to collapse
Fix adb
Fix the ADB using this utility on your computer: ADB Driver Installer
http://adbdriver.com/downloads/
Guich said:
Change your adb.exe
Use the link of the OP or this
Fix adb
Click to expand...
Click to collapse
Guich said:
Change your adb.exe
Use the link of the OP
Fix adb
Click to expand...
Click to collapse
Hey guys! If anyone was wondering I fixed it. Not through ADB but I used an older version of the HTC Tool Kit. Version 1. Push it through the thing there and it might work for you.
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
hello
i have problem-i just do factory reset in twpr recovery and format all my data on "sdcard"
how can i now push rom zip file to sdcard becouse my htc one have no os?
try tu push zip file to adb push but didn´t work
please help
adb sideload
BenPope said:
adb sideload
Click to expand...
Click to collapse
i did but didn´t worked-i reboot in recovery (twrp 2.6.3.4) ADB sideload ,start adb sideload in adb write "adb sideload name.zip" but nothings happend
robertus23 said:
i did but didn´t worked-i reboot in recovery (twrp 2.6.3.4) ADB sideload ,start adb sideload in adb write "adb sideload name.zip" but nothings happend
Click to expand...
Click to collapse
try with 2.6.3.3, some users have reported problems with 2.6.3.4
nkk71 said:
try with 2.6.3.3, some users have reported problems with 2.6.3.4
Click to expand...
Click to collapse
did too but when i type adb sideload rom.zip in prom.window write device not found - but when i type adb device list is my phone on the list
robertus23 said:
did too but when i type adb sideload rom.zip in prom.window write device not found - but when i type adb device list is my phone on the list
Click to expand...
Click to collapse
thanks BenPope and nkk71 for help
it was my mistake -i didn´t see that i have twrp 2.6.3.4 recovery installed
thank you
Was running CM12 nightlies that auto encrypted, so went to format data to remove encryption but keyboard in twrp wasnt accepting any characters so hence i wasnt able to decrypt, so i bootloader->fastboot erase userdata...now im back in twrp phone still encrypted (i know the password so im ok) but now theres obviously no rom on the phone how do i push a rom & kernel to my phone adb sideload seems to be hanging on "starting adb sideload feature" and when im in bootloader mode adb doesnt find my device
Fastboot erase userdata doesn't remove the ROM.
Adb isn't designed to work in bootloader. Use of in recovery. You can use adb to push files to /sdcard
See my thread here if you need help
http://forum.xda-developers.com/showthread.php?t=3006500
Plug the phone in to your computer and go to mount and enable mtp. Then go to your computer and copy and paste the rom zip as well as other zips (gapps kernel etc) onto your phone.
Sent from my Nexus 6 using Tapatalk
mak213 said:
Was running CM12 nightlies that auto encrypted, so went to format data to remove encryption but keyboard in twrp wasnt accepting any characters so hence i wasnt able to decrypt, so i bootloader->fastboot erase userdata...now im back in twrp phone still encrypted (i know the password so im ok) but now theres obviously no rom on the phone how do i push a rom & kernel to my phone adb sideload seems to be hanging on "starting adb sideload feature" and when im in bootloader mode adb doesnt find my device
Click to expand...
Click to collapse
Kinda had that issue I just used OTG with the ROM on it that solved my problem
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
rootSU said:
Fastboot erase userdata doesn't remove the ROM.
Adb isn't designed to work in bootloader. Use of in recovery. You can use adb to push files to /sdcard
See my thread here if you need help
http://forum.xda-developers.com/showthread.php?t=3006500
Click to expand...
Click to collapse
ya but before i fastboot erase data, i did do a advanced wipe in recovery and did remove rom so cant boot ..
zephiK said:
Plug the phone in to your computer and go to mount and enable mtp. Then go to your computer and copy and paste the rom zip as well as other zips (gapps kernel etc) onto your phone.
Sent from my Nexus 6 using Tapatalk
Click to expand...
Click to collapse
also when i try to mount i get no valid storage partitions found for mtp
simms22 said:
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
Click to expand...
Click to collapse
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
simms22 said:
or you can adb push files to your phone, via adb while you are in your recovery. but from what i understand/have heard, cm kernel does not allow decryption.
Click to expand...
Click to collapse
no they just don't give you an option to not encrypt with they're kernel, so you must flash another kernel after every nightly etc.
mak213 said:
no they just don't give you an option to not encrypt with they're kernel, so you must flash another kernel after every nightly etc.
Click to expand...
Click to collapse
right, that's the direction i was going..
---------- Post added at 03:25 PM ---------- Previous post was at 03:22 PM ----------
mak213 said:
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
Click to expand...
Click to collapse
is the driver installed? and im not a adb sideload person, but adb push works great for me. just open the main page of twrp, dont press any options, then try adb push.
simms22 said:
is the driver installed? and im not a adb sideload person, but adb push works great for me. just open the main page of twrp, dont press any options, then try adb push.
Click to expand...
Click to collapse
Yea drivers installed was using adb few hours before incident, i unfortauntely resorted nexus toolkit and flashing stock to see if that works for some reason after i fastboot reboot'd out of fastboot it doesnt open twrp anymore just bootloops twrp, let ya know how it goes
EDIT: Just ended up flashing stock image and restarting from step 1 :/
mak213 said:
Yea drivers installed was using adb few hours before incident, i unfortauntely resorted nexus toolkit and flashing stock to see if that works for some reason after i fastboot reboot'd out of fastboot it doesnt open twrp anymore just bootloops twrp, let ya know how it goes
Click to expand...
Click to collapse
can always fastboot twrp again, or fastboot boot it
mak213 said:
adb is not being read for some reason in recovery, adb sideload is failing to start (never worked for me )
Click to expand...
Click to collapse
What does adb devices say when booted in recovery?
I've installed CM12 on my Xperia Z and with this Rom CM Recovery was also installed, to finish the installation I tried to flash gapps, but CM recovery said: "Cannot load volume/misc" so I tried to install another Recovery and got the error: " sending 'recovery' (4876 KB)...
OKAY [ 1.131s]
writing 'recovery'...
FAILED (remote: not allowed)
finished. total time: 1.458s
Rom manager says that CWM is already installed, but there's only CM recovery. I can use another recovery when I flash CWM as boot. So how can I get CWM or TWRP back?
Thanks in advance
Flatric
Try to flash different ROM
revel_onetime said:
Try to flash different ROM
Click to expand...
Click to collapse
I already tried that, didn't work. Any other ideas?
which CM12 have you installed, you may want to install TWRP Recovery. If you prefer
http://teamw.in/project/twrp2/187
download openrecovery-twrp-2.8.5.0-yuga.img from the above link.
then do this
adb push openrecovery-twrp-2.8.5.0-yuga.img /sdcard/
adb shell
su
dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
exit
exit again
adb reboot recovery
RohitBopnna said:
which CM12 have you installed, you may want to install TWRP Recovery. If you prefer
http://teamw.in/project/twrp2/187
download openrecovery-twrp-2.8.5.0-yuga.img from the above link.
then do this
adb push openrecovery-twrp-2.8.5.0-yuga.img /sdcard/
adb shell
su
dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
exit
exit again
adb reboot recovery
Click to expand...
Click to collapse
Thank you
RohitBopnna said:
which CM12 have you installed, you may want to install TWRP Recovery. If you prefer
download openrecovery-twrp-2.8.5.0-yuga.img from the above link.
then do this
adb push openrecovery-twrp-2.8.5.0-yuga.img /sdcard/
adb shell
su
dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
exit
exit again
adb reboot recovery
Click to expand...
Click to collapse
thx for your reply
but it didn't work. tried 4 times but always when it comes to the dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img command the cmd window frozes and the adb shell crashes. no idea what is the problem. Reinstalled the whole software on my computer (adb, fastboot, drivers) but still the same. I think i'm gonna try it again on Saturday on another computer. But thanks for helping!
RohitBopnna said:
which CM12 have you installed, you may want to install TWRP Recovery. If you prefer
http://teamw.in/project/twrp2/187
download openrecovery-twrp-2.8.5.0-yuga.img from the above link.
then do this
adb push openrecovery-twrp-2.8.5.0-yuga.img /sdcard/
adb shell
su
dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img of=/dev/block/platform/msm_sdcc.1/by-name/FOTAKernel
exit
exit again
adb reboot recovery
Click to expand...
Click to collapse
I've followed this, and it's solved all my recovery problems, I've got just one question. (I'm on Latest CM12 Validus build), when flashing newer builds, will I need to do this again or will recovery remain?
Shro said:
I've followed this, and it's solved all my recovery problems, I've got just one question. (I'm on Latest CM12 Validus build), when flashing newer builds, will I need to do this again or will recovery remain?
Click to expand...
Click to collapse
as long as you are on any of the CM12 builds even custom builds based on CM you do not need to reflash, unless you want to update TWRP itself.
---------- Post added at 10:58 AM ---------- Previous post was at 10:56 AM ----------
therealzlatan said:
thx for your reply
but it didn't work. tried 4 times but always when it comes to the dd if=/sdcard/openrecovery-twrp-2.8.5.0-yuga.img command the cmd window frozes and the adb shell crashes. no idea what is the problem. Reinstalled the whole software on my computer (adb, fastboot, drivers) but still the same. I think i'm gonna try it again on Saturday on another computer. But thanks for helping!
Click to expand...
Click to collapse
I had issues with ADB crashing too, all i had to do was to set the Sleep time to 10 min or more and make sure the phone does not lock