[Update]: Now it says no OS installed in TWRP. I think I have wiped the os by mistake. Just need to know how to install cm13 image using fastboot or ADB. Please help!
I wasn't aware if SuperSU works with CM13 and I installed the app, on request to update the binaries, I selected TWRP/CWM method because the normal mode didn't work. After the reboot the phone won't load into os, its stuck on the CM boot screen. I don't have a CM image on my sd therefore unable to flash again either. Is there a way to push files (cm img) to my phone? I have adb/adb over network enabled as well from developer options. I just need a way to put files into my sd card and flash using TWRP. Please help! this is urgent! :crying:
[SOLVED][HOW TO]
This is in a situation where you've messed up your system and don't have the image file stored in your sd card for quick flashing. Make sure you're using the latest USB drivers and ADB binaries 1.0.32+
- Get into TWRP
- Swipe to ADB Sideload and enable it
- On your desktop, open command and type "Adb sideload filename.zip" [Filename here is the filename of your flashable zip/rom]
- Once you the installation finishes, reboot twrp normally into system
dibyajyoti said:
I just need a way to put files into my sd card and flash using TWRP. Please help! this is urgent! :crying:
Click to expand...
Click to collapse
Have you tried enabling MTP in TWRP and using a computer to transfer the image over?
Contact me if you have any questions.
R55770 said:
Have you tried enabling MTP in TWRP and using a computer to transfer the image over?
Contact me if you have any questions.
Click to expand...
Click to collapse
MTP shows as enabled - But the device doesn't show up in my pc. I'm connected through USB in TWRP recovery. I have android debugging also enabled, when trying adb push command, it shows adb devices attached as empty.
[Update]: I am trying to push the file using ADB Sideload in TWRP, the error I get is my adb needs to be updated to 1.0.32. How do i get updated adb 1.0.32?
[Update 2]: So I managed to update by ADB on desktop, and push the zip file using adb sideload in twrp. The zip is being installed as I write this. Lets hope this works!
[Update 3]: Got the rom to install via ADB sideload, though all my apps and settings are gone Anyway, I got the phone back for immediate use. Phew!
dibyajyoti said:
MTP shows as enabled - But the device doesn't show up in my pc. I'm connected through USB in TWRP recovery. I have android debugging also enabled, when trying adb push command, it shows adb devices attached as empty.
[Update]: I am trying to push the file using ADB Sideload in TWRP, the error I get is my adb needs to be updated to 1.0.32. How do i get updated adb 1.0.32?
[Update 2]: So I managed to update by ADB on desktop, and push the zip file using adb sideload in twrp. The zip is being installed as I write this. Lets hope this works!
[Update 3]: Got the rom to install via ADB sideload, though all my apps and settings are gone Anyway, I got the phone back for immediate use. Phew!
Click to expand...
Click to collapse
Great. Thanks for letting us know.
Related
My HTC ONE wont mount via usb so i'm trying to flash a custom rom to the phone's internal storage (as it has no sdcard slot)
I have got as far as opening the CMD and directing it to the device but i dont know the proper command to ADD a zip file to the storage
anyone pls help, i think this is fairly simple
You're supposed to be using ADB commands in order to sideload a ROM and then install it from recovery.
Is that what you are trying to do or how are you going about it? Are you trying to use fast boot commands? Because those won't work.
Here's a guide to setting up ADB:
http://www.howtogeek.com/125769/how-to-install-and-use-abd-the-android-debug-bridge-utility/
You'll need proper drivers for your computer to recognise your device in ADB mode, and those are automatically installed with HTC Sync Manager.
After placing the ROM file into the platform-tools folder, rename it to rom.zip and then execute the following command:
adb sideload rom.zip
Of course that's after making sure that your device is actually recognised by ADB and listed in command prompt, by using this code:
adb devices
Good luck
Ok great i think i have adb and most of the drivers already installed so i'll give this a go.
yes my ONE got stuck in bootloop with CM10.1 and my backups are on my PC not the phone so i figured i'd mount by USB but neither TWRP or CWM will mount by USB????
I have CWM touch installed so i'm thinking as long as this is in place my device isn't tottally shafted?
Use the command:
Code:
adb push name_of_rom.zip /sdcard/0
or
Code:
adb push name_of_rom.zip /data/media
when you're in CWM, then flash the rom
Drag and drop it to the storage folder. Should be
/storage/sdcard0
And you can use ftp WiFi from the playstore if you don't wanna connect via usb cable.
I've resolved this now.
i'll explain what i did, it may help someone else out:
I went into CWM
Then i formatted the internal sdcard
Once i did that, an option in CWM appeared to sideload zip, i picked that, then it waited for the sideload command
went to folder on my PC containing adb.exe > hold shift > right click > open command here
then typed "adb sideload <romname>"
thanks for the help, good community here.
Yes, that's the correct way. And by the way, you cannot mount usb storage while you're in recovery anymore, neither TWRP nor CWM will do that for you. The only other option is using an OTG cable.
I'm worried.
I went to install a new rom, so formatted my sd card first, without realising it I've wiped my backups and also the rom I was going to flash. I can still get into twrp but I have no idea how to get a rom across to my handset.
ive tried fastboot update but i just get "waiting for device"
Someone please help
gsusx said:
I'm worried.
I went to install a new rom, so formatted my sd card first, without realising it I've wiped my backups and also the rom I was going to flash. I can still get into twrp but I have no idea how to get a rom across to my handset.
ive tried fastboot update but i just get "waiting for device"
Someone please help
Click to expand...
Click to collapse
Triy adb sideload, links for how to http://www.google.nl/url?sa=t&rct=j...v4l4QSOgEwWvPXvTXm_X0Kw&bvm=bv.48705608,d.ZWU.
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
gee2012 said:
Triy adb sideload, links for how to http://www.google.nl/url?sa=t&rct=j...v4l4QSOgEwWvPXvTXm_X0Kw&bvm=bv.48705608,d.ZWU.
1. Connect your phone make sure it's actually connected and you have the drivers.
If you don't have the drivers check this out: http://forum.xda-developers.com/showthread.php?t=1983470
2. Rename the ROM you want to flash to something basic, I used Find5.zip
3. Open CMD (command prompt), navigate it to the folder you placed the ROM
(e.g. code: cd C:\Users\Jelle\Downloads\ will navigate to my Downloads folder)
4. Boot to recovery on your phone and enable the ADB sideload function.
5. in CMD type adb sideload Find5.zip
6. Let TWRP or CWM flash the zip and prompt for reboot.
7. Reboot and be happy, your phone is fixed!
Click to expand...
Click to collapse
you're a gentleman
im downloading the drivers now
gsusx said:
you're a gentleman
im downloading the drivers now
Click to expand...
Click to collapse
its installing now, thank you so much !!!!
Well I did something stupid, I was getting ready to give my phone to a friend and in my haste to make sure everything was deleted, I formatted /system in CWM recovery. I dont have any backups left on it either.
Now, I just need to flash a new rom, but I cant get my phone to connect to a computer in order to transfer the rom over.
It shows up immediately in Device Manager under Android USB Devices > My HTC, but it does not show up as a separate drive in My Computer.
Ive made sure the driver is up to date.
Anyone have any ideas?
culturistic said:
Well I did something stupid, I was getting ready to give my phone to a friend and in my haste to make sure everything was deleted, I formatted /system in CWM recovery. I dont have any backups left on it either.
Now, I just need to flash a new rom, but I cant get my phone to connect to a computer in order to transfer the rom over.
It shows up immediately in Device Manager under Android USB Devices > My HTC, but it does not show up as a separate drive in My Computer.
Ive made sure the driver is up to date.
Anyone have any ideas?
Click to expand...
Click to collapse
you cant connect your device to computer in MTP mode because you are not having any rom
try adb sideloading rom or adb push rom in custom recovery like TWRP or CWM (i used TWRP) in order to upload rom to sdcard
For Adb sideloading rom
> Reboot into TWRP
> in TWRP click "advanced" and navigate to "Sideload"
> Swipe to start Sideload
> now type "adb sideload romzip.zip"
wait until 100% then reboot back to recovery to flash the rom
If Adb sideload doesnt work..try Adb push
> Reboot into TWRP
> type "adb push rom.zip"
it might take sometime may be less than 5min to sideload or push the rom..dont cancel the command prompt after typing the above commands
Harish_Kumar said:
you cant connect your device to computer in MTP mode because you are not having any rom
try adb sideloading rom or adb push rom in custom recovery like TWRP or CWM (i used TWRP) in order to upload rom to sdcard
Click to expand...
Click to collapse
Awesome, thanks a million!
I've made a mistake,
I've wiped all with twrp:
system,
boot,
cache,
internal storage
So I've no OS and no flashable zip in the device.
I've tried to use ADB sideload, but i'm not able to use. I've drivers installed in the pc, but mobile phone is not recognised (other driver missing???).
Fastboot is working and the device is recognized.
Is it possible to flash a rom via fastboot, in this current status?
Or how to make it working the ADB shell? what is missing??
Thank you all.
Please save my phone!
eternasparta said:
I've made a mistake,
I've wiped all with twrp:
system,
boot,
cache,
internal storage
So I've no OS and no flashable zip in the device.
I've tried to use ADB sideload, but i'm not able to use. I've drivers installed in the pc, but mobile phone is not recognised (other driver missing???).
Fastboot is working and the device is recognized.
Is it possible to flash a rom via fastboot, in this current status?
Or how to make it working the ADB shell? what is missing??
Thank you all.
Please save my phone!
Click to expand...
Click to collapse
hi there,
have you even bothered looking, or searching?? pretty much every thread has the info you need.
if you had bothered looking at the the Frequently Asked Question sticky including page 3
you would have your answer
or any of the other Q&A thread, for example: http://forum.xda-developers.com/showpost.php?p=52396849&postcount=11
Sounds like you need to download the right drivers for Windows and adb push a rom zip on over. If your having no luck with Windows, load up a live cd or usb of Ubuntu and install adb there.
Good luck and happy searching.
it is possible to flash a ROM/ RUU via fastboot but you should install the right ADB to your PC. other way, mount your storage via TWRP, copy your ROM to your storage, then flash it.
zigyna said:
it is possible to flash a ROM/ RUU via fastboot but you should install the right ADB to your PC. other way, mount your storage via TWRP, copy your ROM to your storage, then flash it.
Click to expand...
Click to collapse
thank you all.
I've obviously seen the faq, but nothing was working.
however, ad have you said I've to install the right ADB on my pc. In fact adb was not working because drivers was not working.
I've resolved doing the following.
Remove manually drivers from windows, install manually drivers, restart windows :good:
:good::good::good: adb now is working
Thank you for the support
sorry if this is the wrong place...this is my problem
I got an old tablet off someone that i want to bring back to life, its an ares 8, model #NXA8QC116. unfortunately the sd card slot is broken so using it is out of the question..I have TWRP 3.0.2 on it and im trying to flash SU to it via "adb sideload."
when in system using "adb devices" it shows the device as well as in recovery mode, but when i try to use the sideload feature in TWRP i get a "ADB sideload failed no devices/emulators found error..if i try "adb devices here it does not show a device..im not sure if this is the problem. Also i cant FLASH SU BECAUSE IT IS NOT SHOWING UP IN twrp nor are any other zips which ive read is because of the encryption is still enabled? i have the disable encryption .zip but cant flash that eaither due to my same problem of .zips not showing up.
All the device drivers and adb+fastboot are setup properly as far as i can tell but i get the error no matter what i do.
my questions are..
1. is there and OTHER method i can use to flash SU.zip or the decryption.zip file without the use of an SD card?
2. does anyone have any ideas on how i can go about fixing the no devices/emulators found error while in sideload mode?
thank you very much for your anticipated reply!
1. is there any OTHER way to flash SU using