ADB drivers not available for CM 13 Moto E - E 2015 Q&A, Help & Troubleshooting

I just unlocked my bootloader, flashed twrp, installed CM 13 on a T-Mobile Moto E 2015 4G LTE. It was all fine and good, but then I tried to install the google apps from gApps. I had the file in my storage. Logged into the recovery and hit install. I selected the zip file and I keep getting an error, "cannot unmount /system it is in use" What can I do? People say to flash a new recovery. There are no adb drivers for this. My computer recognizes the phone but adb command line does not. Please help me

The /system mounting issue seems to affect some people using official TWRP. Try using squid2's custom TWRP instead.
You can flash a new recovery two ways:
Method 1: Download squid's TWRP and copy the .img file to your microSD card. Boot the phone normally and install Flashfire from the Play Store. Give it root, select flash recovery, browse to your microSD and select squid's TWRP, reboot into recovery.
Method 2: Download and install/unzip Minimal ADB and Fastboot, download squid's TWRP to your computer and place the .img in the Install/Unzip directory, boot your phone into the bootloader (Pwn+Vol Down), connect to computer, open a command prompt in the Install/Unzip directory, type in "fastboot devices" and see if your device is listed/connected, then type "fastboot flash recovery TWRP.img" (or whatever the filename is) to flash it. Once it gives you the OKAY, disconnect and reboot the phone into recovery.

Related

[Solved]Stuck in TWRP, no OS installed

Hi,
So i tried to root my Honor 5x via this method: youtube/watch?v=Y-2SWbInT6U
But i forgot the step where he puts the SuperSU.zip on the phone and then uses TWRP to flash it.
So I tried manually importing the SuperSU via "Adb sideload" since the MTP doesn't seem to be working.
I also tried downloading the RECOVERY.img and put it on the phone via "adb sideload" but it just says "cannot read file", (also tried custom ROM, same error)
Im beginning to think that i have the wrong TWRP since i cant see my SDcard or wipe the internal drive.
I even tried putting the phone in fastboot mode to install another TWRP version, but the computer does not recognize my phone.
What do i do?
Boot to bootloader and "fastboot flash recovery twrp.img" where twrp.img is your twrp image. Then "fastboot reboot recovery" You might want to make sure you've downloaded the latest and correct TWRP. If MTP still doesn't work in TWRP, then go back to bootloader again and "adb push "rom.zip" "sdcard/rom.zip" where rom.zip is the rom you want to flash. That should copy the zip to the root of your internal storage, and then you can flash it in TWRP. Make sure you wipe dalvik, cache, data and system before flashing any new ROM. Once you can boot into a ROM then you can download Supersu and Gapps with the stock browser, or copy them over from a PC, reboot into TWRP, and flash them, then wipe dalvik, cache and data and reboot. Or you can push gapps and supersu the same way using the command line "adb push."
Edit: I just read, too late, the part about the computer not recognizing your phone. I have had this problem before, too, and it is maddening. Check your driver in device manager (install the drivers for the Hisuite software), and also make sure you are using the original white USB cable that came with the phone. I have not been able to do any adb/fastboot using any other cable.
Darrian said:
Boot to bootloader and "fastboot flash recovery twrp.img" where twrp.img is your twrp image. Then "fastboot reboot recovery" You might want to make sure you've downloaded the latest and correct TWRP. If MTP still doesn't work in TWRP, then go back to bootloader again and "adb push "rom.zip" "sdcard/rom.zip" where rom.zip is the rom you want to flash. That should copy the zip to the root of your internal storage, and then you can flash it in TWRP. Make sure you wipe dalvik, cache, data and system before flashing any new ROM. Once you can boot into a ROM then you can download Supersu and Gapps with the stock browser, or copy them over from a PC, reboot into TWRP, and flash them, then wipe dalvik, cache and data and reboot. Or you can push gapps and supersu the same way using the command line "adb push."
Edit: I just read, too late, the part about the computer not recognizing your phone. I have had this problem before, too, and it is maddening. Check your driver in device manager (install the drivers for the Hisuite software), and also make sure you are using the original white USB cable that came with the phone. I have not been able to do any adb/fastboot using any other cable.
Click to expand...
Click to collapse
Omg.. i finally managed to get into android!
I used the Hisuite drivers on my laptop, flashed it with correct TWRP and viola!
Thank you!
Glad it worked for you!
scobin said:
Omg.. i finally managed to get into android!
I used the Hisuite drivers on my laptop, flashed it with correct TWRP and viola!
Thank you!
Click to expand...
Click to collapse
That's great to hear, enjoy :victory:

Half bricked Le Max 2

Hi.
I unlocked the phone correctly via CMD.
Then, I flashed recovery VIA cmd too.
After that, I booted to recovery and the screen showed vertically half blurred screen after it booted into TWRP.
Finally, tried to install the rom unsuccessfully as TWRP didn’t detect any file in the SDCARD path. Some issue "mount sd card failed" related.
Tried, sideloading another zip file just in case but it says something about "closed device".
Now I cannot flash anything and I cannot reboot normally as It seems to be everything erased.
I can access fastboot and TWRP (although I cannot flash or side load anything...)
What could I do?
Flash this twrp https://dl.twrp.me/x2/twrp-3.2.1-0-x2.img
Boot into twrp
Wipe data partition
Install any rom you want
Heyyo, unfortunately adb sideload is currently broken on x2 official builds.
I'd recommend using...
adb push NameOfROM.zip /sdcard
That will push the ROM to your Sdcard folder. Same can be repeated for Gapps

[vince] problems while moving from china stable to any rom

I wanted to get rid of the Chinese bloatware that came with the phone and decided to install the xiaomi.eu rom.
This is what I did;
unlock the bootloader
downloaded TWRP from official website (3.2.1-0)
installed TWRP with adb, reboot into TWRP with VolUp+Power buttons combination
factory reset and clean data partition
reboot
PROBLEM 1: stuck at MI logo... I said "whataver" and reboot into TWRP
plugged into PC, and transferred rom into internal memory manually
PROBLEM 2: I couldn't push with adb because the device is not recognised in fastboot
in TWRP press install, try to install rom zip
PROBLEM 3: get error 7 message "This package is for device gemini.."
I say "whatever" and download global stable rom from MIUI
did another system data cache clean, tried to install rom
PROBLEM 4: "unmount of /firmware failed: no such volume" "mount:failed to mount /dev/block/bootdevice/by-name/sec at /firmware: invalid argument"
It says "scripting succeeded: result was [1.000000] Updating partition details...done", but when I reboot I'm stuck at the MI logo again!
Any help is very appreciated!
tryhardernow said:
I wanted to get rid of the Chinese bloatware that came with the phone and decided to install the xiaomi.eu rom.
This is what I did;
unlock the bootloader
downloaded TWRP from official website (3.2.1-0)
installed TWRP with adb, reboot into TWRP with VolUp+Power buttons combination
factory reset and clean data partition
reboot
PROBLEM 1: stuck at MI logo... I said "whataver" and reboot into TWRP
plugged into PC, and transferred rom into internal memory manually
PROBLEM 2: I couldn't push with adb because the device is not recognised in fastboot
in TWRP press install, try to install rom zip
PROBLEM 3: get error 7 message "This package is for device gemini.."
I say "whatever" and download global stable rom from MIUI
did another system data cache clean, tried to install rom
PROBLEM 4: "unmount of /firmware failed: no such volume" "mount:failed to mount /dev/block/bootdevice/by-name/sec at /firmware: invalid argument"
It says "scripting succeeded: result was [1.000000] Updating partition details...done", but when I reboot I'm stuck at the MI logo again!
Any help is very appreciated!
Click to expand...
Click to collapse
Well, you need here some corrections to do things in the right way.
In the 3rd step you say that installed twrp through adb but twrp can´t be installed through adb; maybe you wanted to mean fastboot that is other thing.
In the 4th step most important is at first reboot to twrp swipe to allow modifications and then you have to perform "format data" to can reboot normally to system although some times is required no-verity zip for R5P vince (just Google) some users refer that is needed despite I never did.
In the 8th step; fastboot mode can´t work simultaneously meanwhile are you using adb so you don´t need it when you are using adb although this you can´t transfer a file from pc to your device using simply adb; you need to enable first in advanced options from twrp the feature adb sideload then placing the file that you want to transfer from pc to device in the same adb folder you have to type in a terminal with admin rights adb sideload nameoffile.zip but this is not to transfer a file only but to transfer it and flash it onto device.
In the 10th step first open the zip file of the rom with notepad++, go to META-INF/com/google/android/updater-script and check what device is it made for and additional you can browse to system/build.prop and similarly open it and check ro.product/model cause gemini is other variant.
So I think that you flashed firstly a rom for other device and maybe you need to restore some partitions to correct this using MiFlash tool.
But first to this if most of all partitions are working and not damaged you can flash almost any partition through fastboot mode, unzip the rom in the same adb folder and type every file for every partition one by one but maybe you need only system, boot and userdata partitions so try first these three, I hope that you know syntax of fastboot commands.

twrp installation

Hello guys.
I have been in the android world for a while, but just got this device.
I had tried to install twrp with no success. I already have bootloader unlocked by me with no issues, following a tutorial here. When I flash twrp it shows success but when I try to go there ñ, it just goes to miui recovery. When I boot directly from fastboot with:
Fastboot boot twrp.img
It goes there with no issues but of course, data is encrypted. So I want to install it in order to format my data and be able to root. Any ideas?
I researched and found that one way is to install a dev rom, but I really want to remain on stable one.
Thoughts?
Jemec26 said:
Hello guys.
I have been in the android world for a while, but just got this device.
I had tried to install twrp with no success. I already have bootloader unlocked by me with no issues, following a tutorial here. When I flash twrp it shows success but when I try to go there ñ, it just goes to miui recovery. When I boot directly from fastboot with:
Fastboot boot twrp.img
It goes there with no issues but of course, data is encrypted. So I want to install it in order to format my data and be able to root. Any ideas?
I researched and found that one way is to install a dev rom, but I really want to remain on stable one.
Thoughts?
Click to expand...
Click to collapse
Put a copy of twrp.img in your sdcard.
Put other copy of twrp.img in adb folder of your pc.
Type from a cmd with admin rights with device in fastboot mode connected to pc fastboot boot twrp.img and when you reboot to twrp slide allowing modifications and then flash your twrp.img through same twrp recovery
The first command will do that device can boot to twrp but it´ll not flash it in recovery partition.
The second action will flash it permanently onto your device.
Probably you´ll need to format data in order to can reboot to system again.
SubwayChamp said:
Put a copy of twrp.img in your sdcard.
Put other copy of twrp.img in adb folder of your pc.
Type from a cmd with admin rights with device in fastboot mode connected to pc fastboot boot twrp.img and when you reboot to twrp slide allowing modifications and then flash your twrp.img through same twrp recovery
The first command will do that device can boot to twrp but it´ll not flash it in recovery partition.
The second action will flash it permanently onto your device.
Probably you´ll need to format data in order to can reboot to system again.
Click to expand...
Click to collapse
Thanks! I solved it after taking a look for a while. I do not have an sdcard, so I flashed it and then fastboot booted it, then I reboot recovery to make sure it was flashed and then formatted data. I worked flawlessly!

Can't get into recovery to flash updated rom

Hi all,
I appear to have done something wrong when flashing my device with boombox and flashing twrp. I seem not to be able to access recovery so I can update my boombox rom. I have tried button combinations, I have tried fastboot boot twrp.img in bootloader which just reboots my system, I have tried booting directly from home screen using adb which registers an error and I have tried re-flashing but unfortunately I cannot access recovery.
Any way I can get into recovery without erasing my data?
Jonnibravo said:
Hi all,
I appear to have done something wrong when flashing my device with boombox and flashing twrp. I seem not to be able to access recovery so I can update my boombox rom. I have tried button combinations, I have tried fastboot boot twrp.img in bootloader which just reboots my system, I have tried booting directly from home screen using adb which registers an error and I have tried re-flashing but unfortunately I cannot access recovery.
Any way I can get into recovery without erasing my data?
Click to expand...
Click to collapse
If you're rooted, give the reboot recovery app you installed after bootloader unlock root privileges.
If not then use the exact same PC ADB commands to boot to TWRP like during bootloader unlock.
I'm confused why you mention flashing TWRP after Boombox. Surely you didn't do that. You already had TWRP.
I am rooted, Recovery reboot just reboots the phone, I have tried to get into twrp by reinstalling but again does the same things just reboots the system after the corruption warning screen. I've also tried to install from the bootloader with the fastboot boot twrp.img command but it simply says waiting for device.
Sorry turns out I was flashing the wrong file from another tutorial, I was flashing 3.1.1 instead of 3.2.1
Jonnibravo said:
Sorry turns out I was flashing the wrong file from another tutorial, I was flashing 3.1.1 instead of 3.2.1
Click to expand...
Click to collapse
Then you didn't follow my bootloader unlock and root guide. I never mention that other TWRP, much less link to it.
You're going to have to load into Download mode and use fastboot commands, but you say you couldn't get past flashing TWRP.
Uninstall the LG Mobile Driver if you have them, then reinstall.
1st, reboot into OS, then open up Device Manager and change view to Show hidden devices. You should see a new category named 'ADB Interface' and underneath that 'Fastboot Interface (Google USB ID)'.
If not, you will also see 'ADB Device' for Other Devices category:
right click that to update driver software ---> Browse my computer for driver software ---> Let me pick from a list... ---> Show all Devices ---> Have Disk ---> Browse ---> C:\Program Files (x86)\LG Electronics\LG Mobile Driver ---> 'lgandbus' ---> 'LGE ADB Mobile Interface'
Download adb/fastboot software, download Joan TWRP 3.2.1 img file and place it in adb/fastboot folder, then send your phone into Download mode:
Open up cmd and type the following after changing directory to Adb/fastboot folder: fastboot devices (see if your device is there), fastboot flash recovery TWRP.img or (whatever file is named).img, then fastboot boot TWRP.img or (whatever file is named).img

Categories

Resources