reduced internal storage after flashing custom rom - Xiaomi Mi A2 / 6X Questions & Answers

mine is a 64 variant.i flashed bootleggers rom and now the storage is reduced to only 16 gb.tried flashing stock rom via mi tool but failed.switched rom but the problem prevails.any suggestion will be really helpful.TIA

Format data trough twrp and format internal storage, then reboot in twrp.again and connect to pc, check your mtp drive, it should be ok.
Sent from my MI 6X using Tapatalk

Mr.Nice.ba said:
Format data trough twrp and format internal storage, then reboot in twrp.again and connect to pc, check your mtp drive, it should be ok.
Sent from my MI 6X using Tapatalk
Click to expand...
Click to collapse
tried this.but problem remains the same.thanks btw.may b this has something to do with the partition

reflash rom with MiFlash and keep bootloader unlocked, it will repartition ur device safely

Related

[Q] How to safely format Internal Storage ?

Okaii, there is nothing wrong with my phone and everything is working just fine , i always wipe system and data and and flash new roms ... i also have a backup of my rom , but now i want to make a FULL wipe , as in system, data, and internal storage.. but i know i can't connect my phone in twrp to add a rom file affter wiping storage.. so is there any way to do that , safely , without any errors and just flash the ROM again ?
Thanks.
ali-k95 said:
Okaii, there is nothing wrong with my phone and everything is working just fine , i always wipe system and data and and flash new roms ... i also have a backup of my rom , but now i want to make a FULL wipe , as in system, data, and internal storage.. but i know i can't connect my phone in twrp to add a rom file affter wiping storage.. so is there any way to do that , safely , without any errors and just flash the ROM again ?
Thanks.
Click to expand...
Click to collapse
You could try and use adb sideload, however for me sideloading ROM zips never works so what you would need to do is format the internal storage from a PC then transfer a ROM.zip over to it then proceed with the rest of the wipes except internal storage as you've already wiped that
Jonny said:
You could try and use adb sideload, however for me sideloading ROM zips never works so what you would need to do is format the internal storage from a PC then transfer a ROM.zip over to it then proceed with the rest of the wipes except internal storage as you've already wiped that
Click to expand...
Click to collapse
This works ?
Also i wanted to ask.. if i formated internal storage from the phone itself, after the boot , i transfer the rom.zip to it and do all wipes from recovery.. does it work too ?
ali-k95 said:
This works ?
Also i wanted to ask.. if i formated internal storage from the phone itself, after the boot , i transfer the rom.zip to it and do all wipes from recovery.. does it work too ?
Click to expand...
Click to collapse
Yep, both methods should work equally well
Jonny said:
Yep, both methods should work equally well
Click to expand...
Click to collapse
Thanks for the replies !
One more q. , how did you format your storage from PC ? i can't find that when right clicking my htc one..
ali-k95 said:
Thanks for the replies !
One more q. , how did you format your storage from PC ? i can't find that when right clicking my htc one..
Click to expand...
Click to collapse
Seems like its been disabled for MTP devices, that's new to me - looks like you'll have to go with the other way of doing it, flash the ROM with a full wipe of system and data beforehand then just wipe internal storage from recovery after the ROM has flashed.
Everything worked perfect , thanks alot !

Noob Question. How to flash from Internal Storage?

This is my first phone that only has only internal storage. I need to double check before flashing any custom roms. Is there a partition on the phone that you guys save the custom roms to or does it not matter. I was thinking about saving it to the DCIM folder since its easy to find. My fear is that the rom will get erased when we clear the cache throught Teamwin recovery. Btw my phone is bootloader unlocked, rooted and has tw recovery installed. Tia.
Just copy it to the internal storage on the phone. TWRP does not erase internal storage when you factory reset.
Sent from my XT1095 using Tapatalk
Custom recovery do not wipe /data/media on factory reset, which is where "internal storage" is located. But you can wipe it with the "Format Data" option.
customervalued said:
This is my first phone that only has only internal storage. I need to double check before flashing any custom roms. Is there a partition on the phone that you guys save the custom roms to or does it not matter. I was thinking about saving it to the DCIM folder since its easy to find. My fear is that the rom will get erased when we clear the cache throught Teamwin recovery. Btw my phone is bootloader unlocked, rooted and has tw recovery installed. Tia.
Click to expand...
Click to collapse
Even I had a similar issue. I've never had a device without a SD card.
So if I flash twrp and then a custom rom do I lose things like photos,media on my phone?
Sent from my XT1095 using XDA Free mobile app
You only lose data if you unlock your bootloader. Or if you format the data partition. Flashing a rom and factory reset via TWRP does not erase your files.
Sent from my XT1095 using Tapatalk

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

Help! Tried to install custom rom and now internal storage is encrypted

So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Hi ! Do you can resolve your problem ?
I'm not expert but I think reboot to Twrp and format your data . Advanced format data yes and flash your Rom. But I don't no if you do to flash the DM Verity Encryption remover before flash your Rom ?
Stay for expert help you..
ha2ell said:
So i tried to install a custom rom, now my storage is encrypted and i can't install apps or anything on my device.
I unlocked the bootloader, install twrp, it didn't ask me for a password however. I then did advanced wipe, system data cache.
I then couldn't copy anything to my internal storage, so reflashed miui using miflash tool.
My device is working fine, but when plugged in, all the folders on my internal storage come up as random numbers and letters (which i assume means its encrypted). I have tried downloading something via chrome and it says "sd card not found".
I really hope someone can help me.
Thanks!
Click to expand...
Click to collapse
I faced similar issue when flashing custom rom.
I did some research and found out that, I have to wipe data first, reboot to fastboot (in TWRP). Boot into TWRP again using DOS shell prompt.
In this way, your phone will not be encrypted, allowing file transfer and flash from TWRP.
Hope it helps.
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
You need flash Forced Encryption Disabler to remove encryption of the folders. In TWRP, flash zip and reboot to recovery.
This is link to download. https://androidfilehost.com/?fid=3700668719832238534
ha2ell said:
Hi, I managed to fix it by flashing the latest miui fastboot ROM again using mi flash tool, and then restoring a backup of my system from Google drive and miui when setting up the phone. I think I will try to flash a ROM again at some point. What do you mean by DOS shell prompt? Thanks
Click to expand...
Click to collapse
im facing the same problem now. the files are all jumbled up letters, do i need to format the device before using mi flash tool?

TWRP can't recognize SD card, how to keep TWRP on stock rom?

When I flashed TWRP using Odin, the stock rom is erased. When I flashed stock rom using Odin, TWRP is erased. How can I keep both? I am trying to install a custom rom but due to a bug with TWRP which doesn't recognize my external sd card (and erases everything in internal, leaving behind only TWRP), I am unable to do it.
Right now, after flashing TWRP (3.2.3, provided by DarkLord), my phone is left with no data at all and unable to mount the external SD card. So I can't transfer files from my pc. ADB Sideload doesn't work as well, it fails after few minutes of trying to start it.
rxzler said:
When I flashed TWRP using Odin, the stock rom is erased. When I flashed stock rom using Odin, TWRP is erased. How can I keep both? I am trying to install a custom rom but due to a bug with TWRP which doesn't recognize my external sd card (and erases everything in internal, leaving behind only TWRP), I am unable to do it.
Right now, after flashing TWRP (3.2.3, provided by DarkLord), my phone is left with no data at all and unable to mount the external SD card. So I can't transfer files from my pc. ADB Sideload doesn't work as well, it fails after few minutes of trying to start it.
Click to expand...
Click to collapse
No, you can't keep both twrp and stock Rom. unless there's a Twrp flashable stock rom.
Custom Recoveries (Twrp,Orangefox,SHRP,etc) for J7 prime have this bug i.e. unable to mount sd card or external storage.
For this, you either have to flash rom files through OTG or connect your device to the PC, copy rom files to your internal storage and flash it.

Categories

Resources