TWRP I can not check box usb otg - Xiaomi Mi 5s Questions & Answers

Good afternoon, I need help in TWRP mode I can not mark usb-otg in mount.
My terminal does not have a rom because I mistakenly delete all the data.
My idea was to put the rom in a pendrive otg and intalarla from TWRP but I can not check the corresponding box.
In Fastboot mode either since my pc does not recognize the terminal, I have tried all the ports of the pc and all the cables that I have.
The drivers are well installed and adb and others work correctly.
I need your help, since the phone works very well and I changed the battery recently.
Thanks in advance.

can you mount mtp in twrp? perhaps you could try loading a rom from your pc to your phone via adb sideload in twrp.

NightRaven49 said:
can you mount mtp in twrp? perhaps you could try loading a rom from your pc to your phone via adb sideload in twrp.
Click to expand...
Click to collapse
thanks, there is some tutorial to do this. I'm pretty new in these things

to mount mtp, boot twrp, then go to mount. there will be a button on the bottom right that says enable mtp (if mtp is disabled) and tap it. if mtp is already enabled, the button will say disable mtp, so you don't have to do anything here. just plug your phone into your computer and see if it gets detected. if it doesn't get detected, again try the different ports on your computer or switch cables.
once your phone is detected, you have 2 options.
1) mtp allows files to be copied over from your pc to your phone while in twrp. so you can just copy a rom file into your internal storage and flash normally.
2) you can also flash the rom through adb sideload. first, place the rom in an easily accessible directory, such as directly on C:\. next, you can start adb on your computer by opening up terminal/powershell and typing
Code:
adb start-server
you should get a message saying adb daemon is now running on port xxx. next, open up the adb sideload dialog in twrp through advanced >> adb sideload, then swipe to start the service. just to be sure your phone is detected by your pc, type
Code:
adb devices
your phone should show up on the terminal with its serial number. now navigate to the folder where your rom is and flash it.
Code:
cd C:\
adb sideload rom.zip
make sure your phone doesn't get disconnected during the process of flashing.
I'd recommend 1) since it's a more familiar method of flashing.

Try formatting your Usb pen drive as FAT32, it worked for me. My pen drive was formatted as NTFS previously and twrp did not allow me to check box the "usb otg" option, but after formatting as FAT32 it worked like a charm.
Good luck

Related

Factory Cable Not Showing Up as a Drive Letter

Finally got the Factory Cable to fix a bad flash back to stock rom. When i plug in the factory cable, i can run any of the commands from the Kindle_Fire_Utility_v0.9.6 tool without issue.
I want to copy update.zip over to the Kindle so i can flash it back to he default rom.
I can boot to TWRP, click mount, but it doesn't show up as a drive letter in windows.
My other Kindle comes up as a usb drive immediately when its connected to the usb port with either the factory cable or regular usb cable.
Have tried removing and reinstalling drives to no resolve.
Is there some special trick to get the factory cable to show up as a valid usb drive in windows 7? When i click on 'Safely Remove Hardware and Eject Media' it does show 'Eject Kindle' as an option, but no drive letter.
Is there a way to get the update.zip file over the Kindle to resolve this?
Have tried the Kindle Unbrick UtilityV1.1 as well, which didn't work as it never sees the Kindle as a valid drive letter.
Thanks
http://forum.xda-developers.com/showthread.php?t=1638452
Have you tried...
Code:
adb push update.zip /sdcard
...while in recovery?
Shift+right click the KFU "tools" folder and select "Open command window here" to enter your adb commands.
soupmagnet said:
Have you tried...
Code:
adb push update.zip /sdcard
...while in recovery?
Shift+right click the KFU "tools" folder and select "Open command window here" to enter your adb commands.
Click to expand...
Click to collapse
Tried the above while in TWRP with mount and no mount, same on both.
D:\Kindle\Kindle_Fire_Utility_v0.9.6\tools>adb push update.zip /sdcard
error: device not found
Went into device manager uninstalled the Android SDK driver, now the factory cable showed up when mounted, did the above again and it worked. Thank you.

[Q] Need help ASAP - will not mount storage in TWRP

I formatted the device and sd card...I tried restarting and it would not load into the ROM anymore. (It was previously working) I messed up by formatting them both...
I was able to get the TWRP recovery installed (I am rooted) via the KF Utility. Now I am trying to mount it via TWRP with Mount > Mount USB Storage. If I can do that I can put a ROM on it and reflash a new one. However when I click "Mount USB storage" it goes to the screen "Unmount" but nothing pops up on my computer. I checked my Computer and there are no usb storage devices that pop up on my computer.
I installed the KF driver from the KF Utility folder that it comes with. I can't get it to mount...PLEASE help me!
syypher said:
I formatted the device and sd card...I tried restarting and it would not load into the ROM anymore. (It was previously working) I messed up by formatting them both...
I was able to get the TWRP recovery installed (I am rooted) via the KF Utility. Now I am trying to mount it via TWRP with Mount > Mount USB Storage. If I can do that I can put a ROM on it and reflash a new one. However when I click "Mount USB storage" it goes to the screen "Unmount" but nothing pops up on my computer. I checked my Computer and there are no usb storage devices that pop up on my computer.
I installed the KF driver from the KF Utility folder that it comes with. I can't get it to mount...PLEASE help me!
Click to expand...
Click to collapse
The KF would show up as a Android Composite ADB Interface under Android Phone. If you don't see that try installing the drivers again from the KFU > Drivers directory. Either dpinst32.exe or dpinst64.exe. If they won't install because of an error you need to find what the driver is installed as on your system, then uninstall it and reinstall dpinst... and you should be good.
If you havent got it fixed make sure there are no checks in the boxes of system and data then mount there should only be checks in cache and sdcard
Also having the same problem...
syypher said:
I formatted the device and sd card...I tried restarting and it would not load into the ROM anymore. (It was previously working) I messed up by formatting them both...
I was able to get the TWRP recovery installed (I am rooted) via the KF Utility. Now I am trying to mount it via TWRP with Mount > Mount USB Storage. If I can do that I can put a ROM on it and reflash a new one. However when I click "Mount USB storage" it goes to the screen "Unmount" but nothing pops up on my computer. I checked my Computer and there are no usb storage devices that pop up on my computer.
I installed the KF driver from the KF Utility folder that it comes with. I can't get it to mount...PLEASE help me!
Click to expand...
Click to collapse
Have you figured it out yet? I'm having the same problems where I attempt to mount through twrp and nothing happens on my pc.
I have Glazed ICS
It's odd though... when I connect while booted my kindle shows up as a galaxy, it's only when in twrp that it appears as a kindle/android adb device
Reinstalled the drivers... ect, nothing...
Any other suggestions anybody?
For some reason, formatting the sdcard in TWRP breaks its ability to be mounted via USB and must be mounted manually and formatted via your computer.
Open your CLI and prepare to send adb commands:
Code:
adb shell
echo /dev/block/mmcblk0p12 > /sys/devices/platform/usb_mass_storage/lun0/file
You'll get a dialog saying the drive needs to be formatted. Choose quick format, FAT32, block size 4096
Be damn sure the "mmcblk0p12" says "p12", not p1 or p2, or you will be performing a little "surgery" on your device to fix it.
soupmagnet said:
For some reason, formatting the sdcard in TWRP breaks its ability to be mounted via USB and must be mounted manually and formatted via your computer.
Open your CLI and prepare to send adb commands:
Code:
adb shell
echo /dev/block/mmcblk0p12 > /sys/devices/platform/usb_mass_storage/lun0/file
You'll get a dialog saying the drive needs to be formatted. Choose quick format, FAT32, block size 4096
Be damn sure the "mmcblk0p12" says "p12", not p1 or p2, or you will be performing a little "surgery" on your device to fix it.
Click to expand...
Click to collapse
Alright, I'm going to be rather noobish here and I'm incredibly sorry about that...
Win7 64, Kindle Fire rooted to Glazed ICS
I'm going to go through all the stupid questions at the beginning... should I have my device booted regularly or in TWRP?
In TWRP:
devices doesn't show up in adb devices
In Regular Boot:
My devices is showing up in adb devices...
after opening cmd and starting amd.exe I enter amd shell and nothing happens. cmd goes to the next line and sits there (wont let me do any kind of input)
From searching and reading I'm suppose to get a $ symbol yes?
(What it looks like)
C:\android-sdk-windows\platform-tools>adb shell
_
No. In Unix based systems (OSX, Linux, Android), the root prompt is a "#" I have no idea what it is for Windows.
soupmagnet said:
No. In Unix based systems (OSX, Linux, Android), the shell prompt is a "#" I have no idea what it is for Windows.
Click to expand...
Click to collapse
Alright, so I've been working for two weeks to get some kind of shell prompt and have been unable to get it.... Any ideas as to why I'm not able to do it?
My first suggestion will always be to eliminate any possibility of Windows errors and set up a Linux LiveUSB. By doing so, you can rest assured it isn't the computer itself causing any unnecessary difficulties.
If your shell is messed up, the way to fix it is by reinstalling the ROM. Just be careful doing so, because if you accidentally forget to wipe the necessary partitions and it prevents the system from booting, you'll likely be looking at getting a factory cable before you can move any further.
Linux is very stable but it needs to be configured before it will work with adb and fastboot. Soupkit will do that for you very easily. Just remember, the device itself plays a big role in whether or not adb or fastboot will connect. If that's the case, you may have to look at other options.
I have the same problem... the biggest problem is when there is OS the kinlde fire adb driver was different from in the recovery I went to my computer device manager and It have amazon kindle fire2 unknown and Linux storage G:\ different from the old driver is google USB or amazon kindle fire USB and the storage is diffrent too and I can't delete the old driver either... need help how can?

[Q] Stuck in boot loop without any ROM

Hi there
I accidentally formatted the /sdcard, /system, as well as /cache partitions on my device. When I connect my device to my computer in fast boot mode, nothing comes up, it does not get detected and when I connect it after its switched off, it shows device not recognized. Please help me, I really need my device working ASAP for my project work.
Thanks in Advance
If you have adb drivers setup you can adb push a ROM in a custom recovery.
To add to the statement above. Here is the process.
Mount /data under mounts and storage in recovery.
Run:
Code:
Adb push name-of-rom.zip /data/media
Then unmount and it will be on the root of the sdcard.
Sent From My Toro+ via White Tapatalk
ÜBER™ said:
To add to the statement above. Here is the process.
Mount /data under mounts and storage in recovery.
Run:
Code:
Adb push name-of-rom.zip /data/media
Then unmount and it will be on the root of the sdcard.
Sent From My Toro+ via White Tapatalk
Click to expand...
Click to collapse
when i connect my phone to the pc, i get a "USB Device not Recognised" pop up. The adb as well as fastboot do not detect the device...
from a linux user:
- open device manager, connect device (which should be in recovery), when you see it on device manager, right click on it, update the driver manually to the ones found in Dev section.
right?
I had to get the drivers from the Samsung site because the auto update driver function didn't work for me.
Drivers

NEED to access Internal Storage in recovery

Hi , i made one mistake now am stuck, whilst rooting i went to flash the zip file in recovery and noticed the put the folder of it instead of the actual zip file.so obviously its not working. how do i access internal storage , mount usb isnt workin in team recovery,and its stuck in loop if try to power on tablet. any ideas am fumin whats point of havin mount when it doesnt work ????
Make sure recovery it ok. if not re-flash TWRP via fastboot again.
so if u can boot in TWRP use install by sideload (TWRP->Advance->ADB Sideload) via PC and USB Cable
attach USB Cable and make sure you Windows was detect device as ADB mode.
open cmd use command "adb sideload path-to-working-image-file.zip"
good luck
phukao said:
Make sure recovery it ok. if not re-flash TWRP via fastboot again.
so if u can boot in TWRP use install by sideload (TWRP->Advance->ADB Sideload) via PC and USB Cable
attach USB Cable and make sure you Windows was detect device as ADB mode.
open cmd use command "adb sideload path-to-working-image-file.zip"
good luck
Click to expand...
Click to collapse
yeh i can get in recovery TWRP ,i did as u say i heard laptop make a sound when ADB sideload started
i have no idea what to type into cmd tho , the zip file in on desktop what exactly do i type ?
thanks

Help needed: no OS installed on my LeEco Pro 3 Elite

Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
3. If not try to wipe all exclude OTG.
4. If not try to push trough OTG (if you have OTG then do it firstly).
marik1 said:
1. Check is the phone in TWRP avaiable in Windows file manager. It should be.
2. If not go in TWRP to sideload and try to "adb push FILE-IN-WINDOWS FOLDER-IN-PHONE" eq "adb push rom.zip /sdcard/0/" (if your ROM is with name "rom" in ADB file).
Click to expand...
Click to collapse
Unfortunately the phone isn't visible in Windows, neither in TWRP nor Sideload. I tried to push in sideload, but that doesn't work (adb: error: connect failed: closed). TWRP FAQ says that there are no adb commands available in sideload.
I just ordered an OTG stick. Let's hope i can mount him in TWRP.
Anybody other suggestions ?
Try adb commands in fastboot... ? Doesn't have to be visible with device-info
androidz.net said:
Hey guys i'm in serious trouble with my phone.
It stucks on boot screen and does nothing.
I can boot into TWRP, but i deleted the LineageOS.zip from sdcard to save space. When running TWRP, i can't see the phone in my adb prompt. I can see my phone when adb sideload is running. I tried to use adb sideload, but it fails with something like 'the zip your are trying to install is for zl0,zl1...but your device is .'
I need some way to push the LineageOS rom to sdcard without adb connection available. There is an option in TWRP to mount an USB Device, would it make sense to buy a little USB type C stick ?
I apprechiate any kind of help !
Click to expand...
Click to collapse
Okay so if you already have Twrp installed that's Great. that's your recovery, don't lose it. Be in the habit of rebooting to Twrp whenever you flash something.
The only way to resolve this issue is to format the storage.
You have an easy options.
Buy the OTG adapter...Yes get it, it will make flashing ten times faster and alot easier to quickly flash a file if you find yourself in a bootloop.
The OTG Adapter will cost about $5
You should also buy a 32 usb 3.0 drive. I bought my 3.0 usb at Walmart for $12..
After formatting the sd storage> Click select storage > choose USB drive> add your ROM> click add more zips > add Gapps, and Magisk > Flash.
Reboot to recovery> make sure to check boxes for TWRP installation recovery and system app.
Once reboot to recovery > click "select storage"
Click Wipe > select Advanced Wipe> select Cache ( only cache) > Slide to wipe
Reboot to system > Done.
First boot could take several minutes

Categories

Resources