TWRP says my internal storage is 0mb and cannot view files - Xiaomi Mi A1 Questions & Answers

Hi everyone!
So today i was ready to unlock my bootloader, root and flash MIUI rom on my Xiaomi Mi A1 (cuz it comes with Android One)
untill i tried to boot through twrp via fastboot and commmands via cmd (watched YT vids).... When i try to install twrp and magisk through twrp(first run through laptop cmd twrp not installed in my phone) it says to me that my internal storage is 0mb and also i cannot access anything phone files via computer also.
Pls help me guys I'm losing my mind! I tried many things like the debugging mode, file transfer mode etc.

Up, same problem

Iosif Raza said:
Hi everyone!
So today i was ready to unlock my bootloader, root and flash MIUI rom on my Xiaomi Mi A1 (cuz it comes with Android One)
untill i tried to boot through twrp via fastboot and commmands via cmd (watched YT vids).... When i try to install twrp and magisk through twrp(first run through laptop cmd twrp not installed in my phone) it says to me that my internal storage is 0mb and also i cannot access anything phone files via computer also.
Pls help me guys I'm losing my mind! I tried many things like the debugging mode, file transfer mode etc.
Click to expand...
Click to collapse
Flash stock using fastboot or Miflash tool. And fixed.

Iosif Raza said:
Hi everyone!
So today i was ready to unlock my bootloader, root and flash MIUI rom on my Xiaomi Mi A1 (cuz it comes with Android One)
untill i tried to boot through twrp via fastboot and commmands via cmd (watched YT vids).... When i try to install twrp and magisk through twrp(first run through laptop cmd twrp not installed in my phone) it says to me that my internal storage is 0mb and also i cannot access anything phone files via computer also.
Pls help me guys I'm losing my mind! I tried many things like the debugging mode, file transfer mode etc.
Click to expand...
Click to collapse
Flash this in sd card: twrp-3.2.1-1-installer-tissot-FIXED_By_DroiDMester.zip
and before reboot phone flash magisk 15.3 ...:good:

Iosif Raza said:
Hi everyone!
So today i was ready to unlock my bootloader, root and flash MIUI rom on my Xiaomi Mi A1 (cuz it comes with Android One)
untill i tried to boot through twrp via fastboot and commmands via cmd (watched YT vids).... When i try to install twrp and magisk through twrp(first run through laptop cmd twrp not installed in my phone) it says to me that my internal storage is 0mb and also i cannot access anything phone files via computer also.
Pls help me guys I'm losing my mind! I tried many things like the debugging mode, file transfer mode etc.
Click to expand...
Click to collapse
Which rom are you going to flash? There's no any MIUI rom available as of now.

flash oreo 3.2.2zip

Iosif Raza said:
Hi everyone!
So today i was ready to unlock my bootloader, root and flash MIUI rom on my Xiaomi Mi A1 (cuz it comes with Android One)
untill i tried to boot through twrp via fastboot and commmands via cmd (watched YT vids).... When i try to install twrp and magisk through twrp(first run through laptop cmd twrp not installed in my phone) it says to me that my internal storage is 0mb and also i cannot access anything phone files via computer also.
Pls help me guys I'm losing my mind! I tried many things like the debugging mode, file transfer mode etc.
Click to expand...
Click to collapse
dont skip pattern.

You need to have the data partition unencryption and you need to be on the latest TWRP. in your case 3.2+ .
For unencryption you may use this reference guide.
https://forum.xda-developers.com/oneplus-5/how-to/guide-how-to-decrypt-data-partition-t3642144

had similar problem. It did not recognise my PIN. I used pendrive, booted into twrp (via fastboot) then installed twrp from pendrive (internal memory still 0mb). After reboot twrp this time recogised my PIN

Related

No Firmware installed and no way to see my device on ADB

Hello, I messed up on my device P9 Lite, it is unlocked, bootload unlocked, FRP Unlocked and TWRP is installed ( or i guess it was):
I wanted to install a stock firmware and formatting SD card, I went to TWRP and i wipe everything but i did something wrong because my device can go only in "Huawei eRecovery" and "Fastboot mode".
Furthermore my PC doesn't recognize the mobile so i'm unable to use ADB or other toolkit and for a beautiful ending i can't access to twrp anymore.
I don't know what to do, i jsut tried to change usb porta and usb cable.
Thank you very much
m0rix93 said:
Hello, I messed up on my device P9 Lite, it is unlocked, bootload unlocked, FRP Unlocked and TWRP is installed ( or i guess it was):
I wanted to install a stock firmware and formatting SD card, I went to TWRP and i wipe everything but i did something wrong because my device can go only in "Huawei eRecovery" and "Fastboot mode".
Furthermore my PC doesn't recognize the mobile so i'm unable to use ADB or other toolkit and for a beautiful ending i can't access to twrp anymore.
I don't know what to do, i jsut tried to change usb porta and usb cable.
Thank you very much
Click to expand...
Click to collapse
try unlocking your bootloader with fastboot, and then flash twrp through fastboot, then try booting into recovery while your phone is not connected to your pc, it should work.
I'm using SRK Tool i'm trying to unlock bootloader (i got yet the number) and i plug my device in fastboot but the tool is "waitinf for device" and doesn't see it
Did you install the drivers? Just install Hisuite, that should do it. Then flash TWRP via fastboot flash recovery xxxxxx.img
In TWRP there's an option to activate ADB. It's in Advanced. Shouldn't need it at this point though. The device should be visible in Explorer once it's in recovery.
Download and install ADB and fastboot minimal driver. Then go to the folder where they are installed and open a cmd there, boot your phone to fastboot and type "fastboot devices"
You should be able to see your device detected, then flash the recovery image with the command "fastboot flash recovery twrp.img" and replace twrp with whatever the recovery image is called.
The easiest way should be transferring stock ROM (update.app) to dload folder on external sd card. You can use card reader, for example. Then just use 3 buttons combo and flashing should soon begin.
m0rix93 said:
I'm using SRK Tool i'm trying to unlock bootloader (i got yet the number) and i plug my device in fastboot but the tool is "waitinf for device" and doesn't see it
Click to expand...
Click to collapse
srktool uses adb, but that only works if android is booted. try fastboot oem unlock (unlock code), and then fastboot flash recovery (path to recovery image)
Guys, thank you very much for your replays and patience.
I solved the problem, my 64 GB SD Card was damaged :crying: so yesterday I buyed a new memory and I used the "dload method" and everything went right!
Furthermore I update from EMUI 4.1 to 4.1.1 :fingers-crossed:
Thanky you!

Please help! Keep booting, USB Debugging off, fastboot dont recognize

Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
alejuss said:
Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
Click to expand...
Click to collapse
Can u access to recovery?
raymond_bqg said:
Can u access to recovery?
Click to expand...
Click to collapse
Yes. I did it wipe user data, wipe cache, wipe all data, everything!
So just flash any ROM(miui/custom) again.
raymond_bqg said:
So just flash any ROM(miui/custom) again.
Click to expand...
Click to collapse
But I can't, if I can't access to the phone through of PC, how put in phone a rom? Impossible. Just can access to Recovery, but only I can do wipes. O flash update.zip, but is not a file there.
Well, you can take the sd card out, and use a card reader to copy roms or rom back up from your PC. Put it back on phone, then flash
Sent from my 2014811 using Tapatalk
lexobys said:
Well, you can take the sd card out, and use a card reader to copy roms or rom back up from your PC. Put it back on phone, then flash
Sent from my 2014811 using Tapatalk
Click to expand...
Click to collapse
Yes, but Mi Recovery only install roms that put in the internal memory.
alejuss said:
But I can't, if I can't access to the phone through of PC, how put in phone a rom? Impossible. Just can access to Recovery, but only I can do wipes. O flash update.zip, but is not a file there.
Click to expand...
Click to collapse
Put ROM file in ext SD card and rename it by "update.zip"by PC. Wipe data,cache,d.cache. and flash it by update.zip button.
Edit:-Okk....that's a problem.
Did u try latest miflash tool?
Can't PC recognize internal memory when phone is in recovery mode?
I think miflash tool should recognize ur phone.Just try different version of miflash tool
alejuss said:
Hello, please I need your help. I read a lot and saw too much videos but I can't find a solution.
My Redmi 2 keep booting with the logo of MI and Android under, I can't access to the OS and USB Debugging is off. I installed XiaoMiFlash and MIPcSuite and both don't recognize the phone. I installed ADB Drivers and enter on the cmd 'adb devices' and 'fastboot devices' and don't recognize nothing. Even the device manager on Windows, no response there when I connect the phone via usb.
I don't know what to do!
(sorry for my poor english)
Click to expand...
Click to collapse
Just boot your phone into fastboot mode and flash fastboot rom using miflash beta.
Note that you must use miflash beta as miflash has sometimes issues with recognizing our device.
Bro, try fastboot minimal.

Help me root Huawei Y5 2017 MYA-L22

I just bought a Huawei Y5 2017 ( MYA-L22)
I was Unlock bootloader this device but i cannot find TWRP file to root this device
Does Anyone know how to root it?
Please teach me
Thank everyone for reading
Same here. Anybody has TWRP for this device?
ranchoiphohuyen said:
I just bought a Huawei Y5 2017 ( MYA-L22)
I was Unlock bootloader this device but i cannot find TWRP file to root this device
Does Anyone know how to root it?
Please teach me
Thank everyone for reading
Click to expand...
Click to collapse
Download Kingoroot for pc and install it. Enable USB debugging on your phone and connect it to the pc. Open Kingoroot, it will detect ur phone automatically. Remember to connect your pc to internet. Click the ROOT button and it will root your phone.
I found TWRP from this site but something's weird
Check this link: romprovider.com/2017/10/twrp-root-huawei-y5-2017-mya-l22/
I downloaded the TWRP found there but when I tried to do "fastboot boot recovery.img", it says "failed (remote unknown command)"... Did the TWRP from that link worked for you or any of you guys here?
enzo22 said:
Check this link: romprovider.com/2017/10/twrp-root-huawei-y5-2017-mya-l22/
I downloaded the TWRP found there but when I tried to do "fastboot boot recovery.img", it says "failed (remote unknown command)"... Did the TWRP from that link worked for you or any of you guys here?
Click to expand...
Click to collapse
Working with twrp at times becomes a little complicated, why don't you try rooting tools?
Augustoandro said:
Working with twrp at times becomes a little complicated, why don't you try rooting tools?
Click to expand...
Click to collapse
One reason why I don't want to try rooting tools is that I want to backup my stock rom without root access.. So I want to install a custom recovery first but I only saw one for this device and it seems to be not working yet. I also want to extract my stock recovery.img but I need to fastboot boot TWRP for that
I'm also interested in just straight Rooting this device, not interested in ROMs etc. I tried APK KingRoot (latest) and after doing a 'Root Check' with an app it did not come back rooted. Can someone provide tools & steps for the newbie please?
much thanks
x86 said:
I'm also interested in just straight Rooting this device, not interested in ROMs etc. I tried APK KingRoot (latest) and after doing a 'Root Check' with an app it did not come back rooted. Can someone provide tools & steps for the newbie please?
much thanks
Click to expand...
Click to collapse
Please take a backup of ur data before proceeding further.
Try this,
Download adb and Koush Universal adb driver and install them on ur pc, always install the driver first and don't install the drivers adb setup asks u to install.
Run command prompt as administrator.
Open the folder in c drive where adb is installed, u can use file explorer for this.
Press Shift+right click and select open command window here.
Enable USB debugging on your phone and connect it to the pc by a USB cord.
Enter command "adb devices" without quotation marks.
If it shows some device connected, only then proceed further.
Enter command " adb reboot bootloader"
Enter command " fastboot devices", if it shows some device to be connected, only then proceed further.
Enter command " fastboot oem unlock".
Ur phone may then ask for final confirmation on the phone screen, select yes.
When procedure completes, type "fastboot reboot" and ur phone will reboot.
Download Kingoroot for pc on your pc and install it.
Enable USB debugging on your phone.
Connect your pc to internet.
Connect your phone to pc with a USB cable.
Open Kingoroot, it will detect your phone automatically.
Click the root button and wait for the process to complete.
Augustoandro said:
Please take a backup of ur data before proceeding further.
Try this,
Download adb and Koush Universal adb driver and install them on ur pc, always install the driver first and don't install the drivers adb setup asks u to install.
Run command prompt as administrator.
Open the folder in c drive where adb is installed, u can use file explorer for this.
Press Shift+right click and select open command window here.
Enable USB debugging on your phone and connect it to the pc by a USB cord.
Enter command "adb devices" without quotation marks.
If it shows some device connected, only then proceed further.
Enter command " adb reboot bootloader"
Enter command " fastboot devices", if it shows some device to be connected, only then proceed further.
Enter command " fastboot oem unlock".
Ur phone may then ask for final confirmation on the phone screen, select yes.
When procedure completes, type "fastboot reboot" and ur phone will reboot.
Download Kingoroot for pc on your pc and install it.
Enable USB debugging on your phone.
Connect your pc to internet.
Connect your phone to pc with a USB cable.
Open Kingoroot, it will detect your phone automatically.
Click the root button and wait for the process to complete.
Click to expand...
Click to collapse
i have gotten to the kingoroot part. i have tried multiple times on windows AND android and windows fails and android gets stuck at 90%
uneedsomemilk said:
i have gotten to the kingoroot part. i have tried multiple times on windows AND android and windows fails and android gets stuck at 90%
Click to expand...
Click to collapse
If Kingoroot is not working, give a try to some other rooting tools.
Augustoandro said:
If Kingoroot is not working, give a try to some other rooting tools.
Click to expand...
Click to collapse
Did some research, you need to do a system less root in android 6. Anyone know any guides of how to do that?
hi
i flashed huawei y5 2017 twrp and wanted back to stock recovery tried with adb , now i have no android os neither twrp , phone just shows huawei logo and restarts itself again and again, cant turn on or off , no vol up/down and power buttons work , can anyone help ? is there way to restore or isntall stock rom in this situation or phone is junk now ? (just showing huawei logo and keeps restarting itself) thank you
its huawei y5 2017 mya-L22
SuperSu app for root
I think you can try SuperSu, This Also the best app to get root access. Download SuperSu.
or find here - https://forum.xda-developers.com/apps/supersu
This is a hard fone to Root, the normal 1-Click Rooting Apps don't work in my trials. Kingroot & SuperSU both don't work.
This fone wont copy Apps to SD card either, I have APP2SD Pro & have tried loads of others. Has anyone got APP 2 SD to work? It sucks my fone out of memory already just with apps alone, no music or anything.....
x86 said:
This is a hard fone to Root, the normal 1-Click Rooting Apps don't work in my trials. Kingroot & SuperSU both don't work.
This fone wont copy Apps to SD card either, I have APP2SD Pro & have tried loads of others. Has anyone got APP 2 SD to work? It sucks my fone out of memory already just with apps alone, no music or anything.....
Click to expand...
Click to collapse
Just change default location of storage to sd card. It works for me. To manually move apps to SD, just copy and paste the folders from data and obb in android folder of internal storage to external storage. I uses this to move the data of my games and it worked
[/COLOR]
enzo22 said:
Check this link: romprovider.com/2017/10/twrp-root-huawei-y5-2017-mya-l22/
I downloaded the TWRP found there but when I tried to do "fastboot boot recovery.img", it says "failed (remote unknown command)"... Did the TWRP from that link worked for you or any of you guys here?
Click to expand...
Click to collapse
I SOLVED IT!!!!!!!!!
just keep the same name and write fastboot flash recovery twrp-huawei-y5.img
THAT SOLVED THE ERROR
the trouble in huawei MYA-L13 android 6.0 is when flash recovery y5 2017 can go inside of that .
the scroll in down place, dont move all and just cant go inside twrp... all is ok the phone works. but can go inside twrp...
I have MYA-L22. I have rooted it and already installed twrp but the system is only read only right right after I flashed magisk. Now I only have root right but I can't flash anything besides magisk.
altera011 said:
I have MYA-L22. I have rooted it and already installed twrp but the system is only read only right right after I flashed magisk. Now I only have root right but I can't flash anything besides magisk.
Click to expand...
Click to collapse
Search f2fs loopback bug and go from there.
Can someone provide me MYA-L22 stock recovery.img ?

Bricked - please help !

I accidently formated everything in twrp and ended without OS and was stuck in custom twrp. I tried to flash stock recovery and that went ok. Now whatever i do i cant sideload stock zip file using adb. Fastboot is recognized but adb is not. When connected to pc shows error. I have tried to install, reinstall all sorts of drivers but all the same. Is there a way to get back to stock using fastboot commands manualy? Please help !!
Use fastboot to flash twrp again and then flash the stock rom. You can transfer the stock rom to the device by connecting it to your PC while being in TWRP.
himanshuladia said:
Use fastboot to flash twrp again and then flash the stock rom. You can transfer the stock rom to the device by connecting it to your PC while being in TWRP.
Click to expand...
Click to collapse
You mean stock twrp or custom because i have stock but when connected i cant copy files on device because it is not recognized by PC
Del.
TWRP is always a custom recovery. What you currently have is the stock oxygen OS recovery. Flash TWRP again and boot into twrp. Then, while being in TWRP, conmect your phone to PC.
himanshuladia said:
TWRP is always a custom recovery. What you currently have is the stock oxygen OS recovery. Flash TWRP again and boot into twrp. Then, while being in TWRP, conmect your phone to PC.
Click to expand...
Click to collapse
Ok will try !
Del.
Finaly i did it after a few hours of trying to find a solution and figuring out why my PC doesn't recognize phone in adb I tried on an old PC with win7 installed and sideload went smooth like butter on first attempt. I have tried on two computers with win10 installed, tried with all sorts of USB cables, usb on computer 3.0 , 2.0, tried all sorts of drivers and nothing helped. I hope that someone else will have a benefit of this post and sort of a solution if he will have the same issue. Thanks to everyone that tried to help out!

Mi A1 restart bootloop

pleease hellp.. my xiaomi mia1 bootloop.. restart everytime.. instaled twrp 3.2.1 mohan cm.. but internal show 0 MB.. cant change current slot.. cant repair or change file system..
flash edl via miflash show success but still bootloop and restarting.. can someone tell me how to fix it.. tks before..
Is your bootloader unlocked?
I faced the same problem during flashing custom Rom. As I have no pc, I tried to solve it with android and Alhamdulillah fixed it. Before sharing My experience, let me clear u that, I was flashing rom with that Twrp by mohan. It failed. I was trying again and again and my phone was bricked. I flashed it with pc and stucked in the bootloop sm like u. So I recommend you to install Orangefox recovery instead of twrp.
Firstly, turn on the fastboot mode. Connect your phone to another Android with otg and install Bugjaeger app from playstore on another phone. Open it and go to command writing page.
View attachment 5284423
Write: 'fastboot devices' to check if it is connected to mi a1.
Then type: fastboot flash boot<space>xyx.img
(after space click on attach file and attatch the img file of Orangefox img. After flashing successfully, type again: 'fastboot boot<space> attach same img file.
then your phone should boot into Orangefox recovery. Then install any official or unofficial ROM.

Categories

Resources