MTP in 4.9 custom roms - Xiaomi Mi A1 Questions & Answers

Is there a fix or workaround for the bug? I don't see anyone mentioning it in threads so I'm assuming I messed up somewhere along my installation. The only way I can connect my phone to my PC is if I booted to TWRP.

It's a known bug when using permanent TWRP and there's no solution AFAIK.
Boot the IMG from fastboot if you need file transfers

Is there any solution for MTP (file transfer) when using the device and connected to PC (not in recovery)? Can't transfer files to&fro.

nextheart said:
Is there any solution for MTP (file transfer) when using the device and connected to PC (not in recovery)? Can't transfer files to&fro.
Click to expand...
Click to collapse
Mine works, make sure you have the right drivers installed. Not working in permanent TWRP.

sipollo said:
Mine works, make sure you have the right drivers installed. Not working in permanent TWRP.
Click to expand...
Click to collapse
I have 2 devices, one running oreo custom rom works perfectly in MTP, while other running pie custom rom does not show internal storage on same PC.

Related

[Q]How to flash back to stock with no USB?

I have a problem with mounting my phone in Windows (see here; http://forum.xda-developers.com/showthread.php?t=841645) and I need to return it for testing.
How can I flash it back to stock without a USB connection?
E.E.
Assuming you're rooted and on a custom ROM
You will need unlimited data to try this.
Not sure if this will work, but please do try.
1. Make sure your phone is juiced up.
2. Download the Stock RUU you want from the internet - save to your sdcard
3. Download another sense based ROM that you has no issues with the USB cable - check the post and changelogs.
4. Perform rom backup with ROM manager (get from android market)
5. Wipe and flash new Sense based ROM on your phone.
6. Once your phone is booted, the USB SHOULD WORK.
7. Move RUU to your PC. Link to HTC sync - phone should be set to sync.
8. Install RUU.
And once it is one, you have unrooted and are back to stock ROM.
Should your USB fail at stage 6, you should try a different custom ROM.
If it's still not working, you might want to search how to USB unbrick (i think there's something like that on the forums).
Unfortunately its not a rom problem. The USB issue seems to be a hardware problem.
I have flashed multiple different backups from CM6 to myvery first backup I made of the newly rooted rom.
I just need to put a stock rom on it so that I can get warranteed service. Otherwise I'm pretty sure they'll just shoot it back to me, marked warranty void.
E.E.
Have you tried this?
It's to unbrick your usb
http://forum.xda-developers.com/showthread.php?p=7616115#post7616115
I had also problems with mounting USB, can't tell if they were the same as I don't use windows and can't tell how it behaves. My problem was solved after I flashed the rooted vodafone FroYo. Maybe this could help you, too.
I haven't tested it yet but it may be as simple as downloading the zip from shipped-roms.
(http://shipped-roms.com/download.ph...35.21_release_130330_signed.zip&send_file=yes)
Renaming it to update.zip and flashing it from Recovery.
Can anyone confirm?
E.E.
Actually the best solution I've found yet is this one here from the CM forums.
This using the .img files from the zip I downloaded from Shipped-Roms earlier
Instructions
---------------
1. Boot n1 to fastboot mode
2. Extract the FRG33 files to your tools directory in PC (you need system.img and boot.img)
3. In your tools directory, fastboot the following commands
fastboot flash system system.img
WAIT
fastboot flash boot boot.img
WAIT
Reboot
Alternative method
------------------------
Rename the stock file to passimg.zip
Now you need to use ADB to get it on the SD card, or just copy file to sd card root directory
Command: adb push passimg.zip /sdcard
Now get into the bootloader and it should detect the passimg.zip file and ask if you want to install it.
Click to expand...
Click to collapse
Since I have Fastboot available to me, this seems the most hopeful method.
Can anyone confirm is this not just hopeful thinking?
E.E.

Bricked D802 Download mode+Recovery working

I tried to flash Blisspop 6.2 earlier and soft bricked my phone
Recovery (TWRP) + Download mode still there
I formatted my phone so there are no files on it whatoever, when i plug my phone in the USB port in my pc, it doesn't recognize it or does but as unknown device.
Installed LG USB Drivers so that's not the issue.
I went into Device Manager, and in ports the LGE port thingy is missing from there, installing LG driver only installs some unknown device which always fails to install properly.
What to do, please i need help badly...
Sevenz said:
Recovery (TWRP) + Download mode still there
Click to expand...
Click to collapse
Just flash back the Backup you made. It's always the first point in the "how to install" section. Without a proper backup you have to download Stock- or Custum-ROM grab an OTG-Stick an flash it via TWRP. No need to use a PC.
LLAP
Jan Philipp said:
Just flash back the Backup you made. It's always the first point in the "how to install" section. Without a proper backup you have to download Stock- or Custum-ROM grab an OTG-Stick an flash it via TWRP. No need to use a PC.
LLAP
Click to expand...
Click to collapse
Thanks i guess i never make backups..
I'll try the OTG-Stick
UPDATE:
I didn't actually noticed that when my phone is plugged in when in TWRP recovery, it does recognize the phone not like in download mode which it refused to.
I simply moved then a flashable stock rom found here: http://forum.xda-developers.com/lg-g2/development-d802/rom-stock-30d-flashable-zip-t3070383
(Credits goes to somboons for the Flashable stock ROM)
and then i just flashed it, and now it worked.

Stuck at loading screen with any rom

Hey there and thanks for stopping by.
My Nexus 6p simply won't boot with any rom. I tried Chroma, Purenexus, CM. I'd like to flash stock now but it seems the bootloader just won't recognize my usb cable (wich is the stock one but displays message "Connect USB Data Cable").
I got Google Driver installed from SDK. So basically i get no connection through bootloader but under TWRP everything is fine. Is there anyway i could possibly flash stock through TWRP? Or how can i make the bootloader work?
I'm on twrp 3.0.0.1, EX kernel 1.18.
Huge thanks in advance for any help with this.
Fixed!
Despite the "Connect USB Data Cable" message, my device still saw my PC using Minimal ADB and Fastboot (with admin cmd prompt). I proceeded to manually flash one by one the stock files to my device and it worked flawlessly. I suspect my earlier format corrupted the EX kernel in some way although how, i don't know. Good luck to anyone bricking their device, that guide helped me a lot: http://www.androidtipsandhacks.com/root/twrp-the-complete-guide-to-using-recovery-on-android/

Please Help! Stuck on TWRP menu :(

Hey guys,
I hope someone can come to the rescue with this matter. I did an OTA update on my LG G2 (D803) and it booted to twrp option menu. I downloaded the stock firmware (which is a ".kdz" file) for the phone but can't find a way to install it on the phone since the PC is not connecting to it neither does it have external memory. I played around the options like restore, advanced but it seems empty. I can't even turn off the device with the power button. What can I do? Please help
rosh88 said:
Hey guys,
I hope someone can come to the rescue with this matter. I did an OTA update on my LG G2 (D803) and it booted to twrp option menu. I downloaded the stock firmware (which is a ".kdz" file) for the phone but can't find a way to install it on the phone since the PC is not connecting to it neither does it have external memory. I played around the options like restore, advanced but it seems empty. I can't even turn off the device with the power button. What can I do? Please help
Click to expand...
Click to collapse
OTA updates don't work when custom recoveries are installed. The device would be bricked. Sorry you found out the hard way. If you can boot into TWRP, you can download a ROM and Gapps. Buy the usb flash drive that has both USB point and Android 3.0 point. Copy the downloaded ROM unto it, slot into the charging port of the phone, boot into recovery. It should detect the usb flash, navigate to downloaded ROM and flash. This would work if you can boot into TWRP. Hope it works. Give feedback. Good luck
Sent from my Motorola Droid Turbo
abbykay said:
OTA updates don't work when custom recoveries are installed. The device would be bricked. Sorry you found out the hard way. If you can boot into TWRP, you can download a ROM and Gapps. Buy the usb flash drive that has both USB point and Android 3.0 point. Copy the downloaded ROM unto it, slot into the charging port of the phone, boot into recovery. It should detect the usb flash, navigate to downloaded ROM and flash. This would work if you can boot into TWRP. Hope it works. Give feedback. Good luck
Sent from my Motorola Droid Turbo
Click to expand...
Click to collapse
What about ADB or terminal command? I see it under the "Advanced" Menu in TWRP?
If you can do into download mode and allready have KDZ file just use flash tool 2014 to go back to stock (search here for "going back to stock:" post)
Also.. if you can send data over usb cable, try to use sideload to upload custom rom, or like stated before, use USB stick with OTG
You can also try this one: https://forum.xda-developers.com/showpost.php?p=71044359&postcount=2
or this as a last case scenario: https://forum.xda-developers.com/lg-g2/general/lg-g2-unbrickable-fix-real-hard-brick-t2904404
sakej said:
If you can do into download mode and allready have KDZ file just use flash tool 2014 to go back to stock (search here for "going back to stock:" post)
Also.. if you can send data over usb cable, try to use sideload to upload custom rom, or like stated before, use USB stick with OTG
You can also try this one: https://forum.xda-developers.com/showpost.php?p=71044359&postcount=2
or this as a last case scenario: https://forum.xda-developers.com/lg-g2/general/lg-g2-unbrickable-fix-real-hard-brick-t2904404
Click to expand...
Click to collapse
I have moved the kdz file to a usb stick and attached a usb stick to an OTG. But where in TWRP do I go to read the usb stick and how can I complete the process? Also I did try the SRK tool from on the links you provided. The phone is not detecting the computer while plugging in the usb while the phone is on TWRP and the computer makes a noise when the usb is connected but srk tool is not reading the phone.
You can't flash kdz with twrp or other recovery! Download custom Rom and gapps or a debloated stock rom and flash it with twrp. The custom Roms are zip files. Do you have twrp installed?
Gesendet von meinem LG-D802 mit Tapatalk
Yes you CANNOT flash KDZ with TWRP you need FLASH TOOL 2014. Download flash tool 2014 (search it on xda) than, in your G2 go into download mode, connect your phone to pc with usb cable and than run flash tool to flash kdz

Stuck in TWRP Recovery Mode, pc is not detecting phone.

I was trying to install CM 13 through TWRP. I wiped all the data of my phone. When I connected my phone to PC to copy CM 13, my PC is not detecting the phone. Previously it used to detect when I was installing custom recovery. How do I copy the downloaded CM13 files to my phone in order to install it? also I have installed the Zuk Drivers.
Reahan1 said:
I was trying to install CM 13 through TWRP. I wiped all the data of my phone. When I connected my phone to PC to copy CM 13, my PC is not detecting the phone. Previously it used to detect when I was installing custom recovery. How do I copy the downloaded CM13 files to my phone in order to install it? also I have installed the Zuk Drivers.
Click to expand...
Click to collapse
Update google usb driver from device manager
Sent from my ZUK Z1 using Tapatalk
raj_jdja said:
Update google usb driver from device manager
Sent from my ZUK Z1 using Tapatalk
Click to expand...
Click to collapse
please tell me how do i do that
I googled that and i think i got even more messed up !

Categories

Resources