Hi,
I have installed TWRP 2.7.1.1.
If I am in TWRP recovery mode my adb (on Linux) doesn't see the device.
Only if I switch to USB sideload, adb sees the device but doesn't allow to open a shell.
Furthermore, with CWM recovery, it just works.
But I do need TWRP since CWM doesn't have f2fs support, yet.
Many thanks for a hint,
Helmut
Related
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
[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.
I can't see the device when I connect it to my laptop. ADB can't see it. I can't mount an OTG cable.
I've got a custom ROM downloaded (CM) but I don't know how to get it on to the phone to be able to install it?
Start adb sideload within TWRP
The on your pc open a command prompt / terminal and type - adb sideload rom.zip (rom.zip being the rom you downloaded)
Hello,
I installed TWRP with the heimdall but now I need to sideload the rom (or transfer it in any way) but the problem is adb doesn't recognize the device.
(I have lost the microsd card tray so it's not an option)
Please help i'm on T710 with the last version of TWRP. By the way in device manager the tablet appears as Gadget Serial while i'm in download mode but nothing when in twrp.