Access fastboot after full wipe - Xiaomi Mi 5 Questions & Answers

Will I be able to get into fastboot after full wipe (including internal storage) in TWRP? I made a huge mistake and I can't go into /sdcard via PC to push .zip file to flash it. ADB sideload doesn't work, only shows "error: closed".
Hope that friends have OTG to put smth on disk, but I don't have for this right now :crying: Any ideas?

mop3c said:
Will I be able to get into fastboot after full wipe (including internal storage) in TWRP? I made a huge mistake and I can't go into /sdcard via PC to push .zip file to flash it. ADB sideload doesn't work, only shows "error: closed".
Hope that friends have OTG to put smth on disk, but I don't have for this right now :crying: Any ideas?
Click to expand...
Click to collapse
Yes you can.. do you mean you can't connect as mtp to pc while in twrp..?, anyway what twrp version you're using it..?, did you already mount internal before connect it to pc..?

You should be able to flash the MIUI fastboot roms still.

@JJeamy:
Well, I've managed to flash TWRP once again and I had access to everything. Propably full wipe messed priviliges to access Thanks for help ?

Related

[Q] sdcard unmounted somehow help phone works otherwise

hi guys i hope someone can help
somehow my sdcard has become unmounted
i have s-off with revone done with cmd and adb
i have set cid to 11111....
i have updated firmware to 2.17 and 2.14
all was working well until i did factory reset
now i cant access internal storage. camera doesnt work. wifi doesnt work
what do i need to do?
any help would be much appreciated. i have been working on this for hours
flash your ROM again
IINexusII said:
flash your ROM again
Click to expand...
Click to collapse
i have not flashed a rom yet and the stock rom works fine i just cant access sdcard
do i need to flash a rom?
which one? a stock one or a custom one?
stock one
okay
i cant access the sd card to copy a rom to
on the laptop the phone comes up like normal. click on it internal storage comes up like normal. but inside the internal storage folder has a folder called storage. inside that is emulated. inside that is legacy. inside that is the normal file structure.
windows errors when trying to copy files anywhere inside the internal storage folder
when in the camera app on the phone it shows a black image and click on the gallery icon it says no sd card
its like the "sdcard" is unmounted. how do i mount it? ive tried CW recovery and TWRP
try sideloading the ROM, there should be an option for adb sideload and use the command adb sideload romName.zip
is there an adb command to mount sdcard?
jtilz said:
is there an adb command to mount sdcard?
Click to expand...
Click to collapse
there should be in one of the recovery menus
This is exactly what has happened to my phone, and there seems to be more thread cropping up about this.
I can see in TWRP recovery there is an SDCard but cant do anything with it. I can flash a rom via sideload (hardly flashes, my lack of understanding) and from OTG USB in Recovery but there will be no installed rom once done, or at least it wont boot.
Same thing in CWM except that recovery can not see the SDCard so no mounting.

Need Help Quick plz :|

hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
armindelavari said:
hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
Click to expand...
Click to collapse
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Reply
Danny201281 said:
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Click to expand...
Click to collapse
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
armindelavari said:
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
Click to expand...
Click to collapse
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip /sdcard
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
@armindelavari Check the adb push command. I noticed I had a space missing. I have edited it so it's correct now :good:
Danny201281 said:
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip/sdcsrd
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
Click to expand...
Click to collapse
wow , tnx for your complete Reply
ok , i do these step right now

[Q] HELP Deleted internal in TWRP

This is the first time I've done this so I have NO idea how to fix it . I was just flashing a new rom
when I accidently checked off system in WIPE. Everything is gone obviously. Can someone please tell me what to do from here? I have no access to a computer till later today. Any help is appreciated thank you!
Update: internal storage is also deleted. The phone has nothing. No OS what so ever.
What do i do?
Thanks for any help
You deleted system or internal storage? If just system then reflash the rom. The zip should still be on your phone
your sdcard contents are still there, since sdcard "lives" in /data/media NOT in /system
proceed to flash whatever ROM+gapps you were going to install, wiping system is actually one of the steps many people do when doing a clean install
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
sgloki77 said:
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
Click to expand...
Click to collapse
TWRP Supports MTP connections. Plug the phone in via USB then go into "Mounts" and "enable MTP". Then just drag and drop the files into internal storage
the babadook! ?

Unable to update CM13

Hello guys, i was trying to update my CM 13 today and it didn't work. It made the download but once in the recovery, nothing happened :S i'm trying to understand why and i hope some of you know of this.
By the way, my TWRP version is the 2.8.7.0 if it helps..
ugh...Can't really understand what happened
You installed via OTA/cm updater? meaning you downloaded with your phone
Just download the zip directly and flash it with twrp
You'll also need to re-flash gapps unless you're using TWRP 3.0.0
Make sure that you have not installed any additional mods which alters system partition (kernels, soundmods etc.) If not, easiest solution would be to dirtyflash new one or clean install.
Same problem here.
405. CM13. TWRP 3.0.0. Merged SD card with internal storage.
In Recovery I can see folder structure but no files. I know its because of SD-encryption but I hoped I could at least see files in internal storage to update. Hope there's a solution soon. Does anyone have a workaround?
Gesendet von meinem LG-D405 mit Tapatalk
Filesystem of sdcard mount point
What is your /sdcard mount point filesystem? Mine is 'auto' (Maybe that might be causing the problem?) , and you can check by going into TWRP -> Wipe -> sdcard -> Repair or Change File System
Thank you for your answer. I checked that quickly, but couldn't find the option 'repair or change filesystem' without actually wiping the storage... I'll check again later if there's more time.
I found and changed the option from exFAT to ext4. All folders on the SD were lost in TWRP. Changed back to exFAT: couldn't see them either..
When using adopted storage (i.e. formatting external SD and using it as internal storage), then /sdcard in Android becomes /emmc in TWRP. At least it's what I see here using TWRP 3.0.0 Dark Blue.
From what I've looked, all internal storage is used only for app and app data once I started using adopted storage, so the only way I can think of using internal storage in TWRP to flash anything is either sideloading or using MTP in TWRP.
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
kreativpause said:
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
Click to expand...
Click to collapse
What did you wipe prior to your sideload? I want to do a wipe and fresh install of gapps and cm13, but I am afraid I could soft brick my phone.
I chose both. Dalvik and the other option ( I believe cache). No issues.
kreativpause said:
I chose both. Dalvik and the other option ( I believe cache). No issues.
Click to expand...
Click to collapse
Mine gets stuck at "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" then it just reboots to TWRP again. Sideload says "
serving: 'cm-13.0-20160322-NIGHTLY-w7.zip' (~0%) * failed to read command: No error". Did you wipe system before you sideloaded?
I did not wipe anything beforehand.

mi5 TWRP wipe

i have 4 questions, with short answers
my MI5 has TWRP3.1 + root+ bootloader unlocked+ global developer rom 8.3
all ok perfect. with TWRP i did factory reset ( which contains data and chache wipe) to have everything clean.
But
i still have some old application folders, files, even my old media inside the phone!
how to clean them? i want to delete all files which is not about new system.
1) in TWRP;
advanced - wipe system
or
advanced - wipe internal storage?
which one?
2) and if i delete all, i want to reflash new rom without quiting from TWRP,
, but new rom zip file will be deleted also i think ! so how can i reflash?
3)
i ve changed imei number of my phone , i hope my new imei number will not be deleted?
1. You also need to wipe internal storage.
2. You can still use mtp to pc or usb otg in twrp.
3. I don't know, sorry.
kazzien said:
1. You also need to wipe internal storage.
2. You can still use mtp to pc or usb otg in twrp.
3. I don't know, sorry.
Click to expand...
Click to collapse
thanks,
while on TWRP its possbile to mtp to pc, but
after internal storage wipe, its not possbile to mtp to pc while on TWRP.
so, without quiting twrp screen, i used adb side load option of TWRP and flashed the rom from PC. ( i dont have otg cable)
and now its full clean system :good::good:
EDiT: imei numbers still exists.
gimmeluck2 said:
thanks,
while on TWRP its possbile to mtp to pc, but
after internal storage wipe, its not possbile to mtp to pc while on TWRP.
so, without quiting twrp screen, i used adb side load option of TWRP and flashed the rom from PC. ( i dont have otg cable)
and now its full clean system :good::good:
EDiT: imei numbers still exists.
Click to expand...
Click to collapse
After wiping internal storage, reboot twrp and reconnect to pc again. This way you can see internal storage in pc.
Flash zips via Adb Sideload is very useful when you have a computer with ADB cmd.
You can easily use MTP from TWRP.
or get an OTG cable.
As you changed your IMEI, Keep a backup of EFS partition from TWRP and upload it to Google drive.
if you get any error on network then just restore the efs backup from twrp.
Z4HD said:
Flash zips via Adb Sideload is very useful when you have a computer with ADB cmd.
Click to expand...
Click to collapse
Please advise the command Adb Sideload to upload the zip file.
Thanks

Categories

Resources