Where to save files to be flashed with TWRP - Redmi K20 / Xiaomi Mi 9T Questions & Answers

Hi guys, I apologise in advance as in aware this is not 9t specific, but it's the first device I deal with, that has no external SD card support, and this is where I put my rom files to be flashed on other phones, so that I can format everything without special care (system, data etc).
So, where do you guys put those files to be safe ? Aka which folder will never be seen or formatted using TWRP, if I format data, system and other folders?
Thanks !!!

PC, then inrtecovery mount usb and copy zips to phone

Related

Sigh... Formatted My SD Card With Backups

I was having problems with Taboonay 2.2, so I decided to wipe everything and try LightSpeed. First, I backed up all my apps with Titanium and moved the backups onto my external sd. Then, I did a full backup in CWM, just to be safe. Then I did a system wipe and formatted /system, /data and... /sdcard.
Yes, I got a little trigger happy there. Momentarily forgot that /sdcard is not the same in CWM as on the Acer roms (i.e. it's the external memory in CWM vs the internal in the rom).
After cursing myself loudly, I realized that a format that takes 2 seconds to do must not be a full format. I.e. The FAT table is gone along with file and directory information, but the files themselves should still be there.
As I'm a linux user, I installed TestDisk and was able to fully recover all my files. Moral of the story: Don't be dumb and format your backups, but if you do, don't panic. Just don't write anything else to the disk/card and you'll be able to recover your data.
fasteddy86 said:
I was having problems with Taboonay 2.2, so I decided to wipe everything and try LightSpeed. First, I backed up all my apps with Titanium and moved the backups onto my external sd. Then, I did a full backup in CWM, just to be safe. Then I did a system wipe and formatted /system, /data and... /sdcard.
Yes, I got a little trigger happy there. Momentarily forgot that /sdcard is not the same in CWM as on the Acer roms (i.e. it's the external memory in CWM vs the internal in the rom).
After cursing myself loudly, I realized that a format that takes 2 seconds to do must not be a full format. I.e. The FAT table is gone along with file and directory information, but the files themselves should still be there.
As I'm a linux user, I installed TestDisk and was able to fully recover all my files. Moral of the story: Don't be dumb and format your backups, but if you do, don't panic. Just don't write anything else to the disk/card and you'll be able to recover your data.
Click to expand...
Click to collapse
Once I was installing rom on my phone (in the early days) so I put the zip file on the sd card, wiped everything, and to make sure I was getting a completely clean install, formatted the sd card. Of course, this meant that I had also removed all of my CWM backups and the ROM I was going to flash! Duh...
This is why you transfer your CWM & Ti backups to your PC for safe keeping, you will never have this problem again.
fasteddy86 said:
I was having problems with Taboonay 2.2, so I decided to wipe everything and try LightSpeed. First, I backed up all my apps with Titanium and moved the backups onto my external sd. Then, I did a full backup in CWM, just to be safe. Then I did a system wipe and formatted /system, /data and... /sdcard.
Yes, I got a little trigger happy there. Momentarily forgot that /sdcard is not the same in CWM as on the Acer roms (i.e. it's the external memory in CWM vs the internal in the rom).
After cursing myself loudly, I realized that a format that takes 2 seconds to do must not be a full format. I.e. The FAT table is gone along with file and directory information, but the files themselves should still be there.
As I'm a linux user, I installed TestDisk and was able to fully recover all my files. Moral of the story: Don't be dumb and format your backups, but if you do, don't panic. Just don't write anything else to the disk/card and you'll be able to recover your data.
Click to expand...
Click to collapse
STOP! You haven't overwritten your sdcard yet, have you? Put it in a usb card reader, connect it to your PC and download Recuva. It will scan and restore deleted files (even after a format). It works very will with sdcards.
Euclid's Brother said:
STOP! You haven't overwritten your sdcard yet, have you? Put it in a usb card reader, connect it to your PC and download Recuva. It will scan and restore deleted files (even after a format). It works very will with sdcards.
Click to expand...
Click to collapse
That is what he did, just read the post.
Lol.. guess i got a little trigger happy too and didn't read the whole thing. Glad he was able to recover
Recuva can't even see my sd card now. It is just grayed out now. Guess it is time for a new one now. Glad you got your fixed.

CWM Backups

Hi everyone,
I just received my brand new TN7. I rooted and installed CWM by using Pac's Super Tool and made some backups (and restore) of my differents mods.
Till then everything is ok exept when I tried to save my backups to my PC.
I think I looked everywhere on SD0 and SD1 but no traces of my backups. Where are they?
I'm not so new on android (Phones, tablets, other devices,...) and on each device the backups were visible on SD0/SD1.
Someone can explain me where to find them?
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
subzero82 said:
Hello.Tegra note is mounted as media device mtp or camera ptp,thats why you dont see all files when looking thru pc(device connected to pc).Copy backups to sd card in tablet and insert card to pc.I think your backups are on internal storage(main storage) in cwm folder.
Click to expand...
Click to collapse
I use ES-Explorer (in root mode) on my tablet and I see no folder containing cwm backups. Does it use a special mount?
Hello.try using root explorer.mnt-sdcard-cwm.

[Problem Solved] SDCard Damaged or Needed To be Formatted

Recently i hv removed my extsdcard to put 2nd sim on my mobile E7, when my work with 2nd sim finished i hv re-inserted the sdcard to my mobile then it said sdcard damaged and unmounting itself, when i connected it to pc, the pc said it can't read & needed to be formatted, but I can't format it as i have some important data & backups on it, so i hv searched on web for solution, maximum solutions are that i hv to format the sdcard to reuse it or use a data recovery software to get data (Not entire data) from it, At this stage I'm desperate & tried one last time re-inserting it to my mobile, same response sdcard damaged, then i have went to twrp recovery, there the recovery was able to read all my files on my sdcard, then using file manager in recovery i have deleted all extra folders in which i don't have any kind of data & rebooted to system, Then my sdcard card was working again as it used to be with all my personal data!!
May be it helps someone on someday, so I have posted here, Cheers!! [emoji4]
Sent from my SM-E700H using Tapatalk

TWRP Format Data

Hi all sorry for asking a dumb question, but would "format data" button inside TWRP's Wipe section (the button above factory reset) also delete a TWRP backup?
the_hatrix said:
Hi all sorry for asking a dumb question, but would "format data" button inside TWRP's Wipe section (the button above factory reset) also delete a TWRP backup?
Click to expand...
Click to collapse
If your twrp backup in microsd card then it will not delete.
"Format data" will delete ( system/data/cache/dalvic cache/internal storage)
If you are planning to clean your device to install new clean rom then Make a backup of current rom and all your data in microsd card/usb drive before you do this.
So if the backup was in the internal sd it would have been deleted then right?
the_hatrix said:
So if the backup was in the internal sd it would have been deleted then right?
Click to expand...
Click to collapse
Yes it will be deleted
Go to my files and copy entire TWRP folder from internal storage to microsd card if you need your backup.
Thanks!
Format data
Trex888 said:
If your twrp backup in microsd card then it will not delete.
"Format data" will delete ( system/data/cache/dalvic cache/internal storage)
If you are planning to clean your device to install new clean rom then Make a backup of current rom and all your data in microsd card/usb drive before you do this.
Click to expand...
Click to collapse
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
infostar said:
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
Click to expand...
Click to collapse
After FORMAT DATA there is nothing there to recover.
Everything has gone, sorry.
Only if you had made a TWRP backup, stored in the external sdcard, then you could restore it and get your DATA files back.
But in that case also, your personal files(pictures, music etc) are not included in this back up.
Only APPS data, meaning files that make apps working, are restored this way.
ALL your personal data, are stored in the internal storage.
If you have performed a DATA format, nothing is there anymore.
infostar said:
Format data
Hi, please can I recover files from internal sd after Format data ? I wanted to root my phone to recover files with disk digger and I followed a thread including Format data to root android phone and now I'm trying to recover all my lost files. If you have any advise please let me know if I have a chance .
Thank you !
Click to expand...
Click to collapse
So you can recover data if it was not overwritten, even if it was deleted. You can use special software.
Which options do we need to select to backup existing ROM? And to do a recover in case of device failure.
Boot? System? System Image? Vendor? Vendor Image?
Maybe a dumb question but: If you format data, can you boot in current rom?
Treeager said:
Maybe a dumb question but: If you format data, can you boot in current rom?
Click to expand...
Click to collapse
No, you can't lol. Format data wipes everything on the storage of the device. You better install a rom after wiping everything or you will get stuck in bootloader / bootloops.
In some a/b slot devices, if you don't have a rom installed, your custom recovery is also wiped because it usually resides on the boot.img.

Old phone custom ROM question

Hi, I have an old phone and want to install a custom rom on it. My phone is set up so the /system and /data partitions are on a micro SD card and are mounted from there (so if I remove the micro SD card, the phone won't switch on).
So here's the question, can I install a ROM by moving all the files and folders that are in the ROM zip in the System folder into /system or are there any other parts needed to install a ROM?
I don't want to flash a ROM because I don't want to risk bricking my phone but I don't mind messing with /system and /data partitions since they are on the SD card and are backed up.
Thanks!
crazyhack said:
Hi, I have an old phone and want to install a custom rom on it. My phone is set up so the /system and /data partitions are on a micro SD card and are mounted from there (so if I remove the micro SD card, the phone won't switch on).
So here's the question, can I install a ROM by moving all the files and folders that are in the ROM zip in the System folder into /system or are there any other parts needed to install a ROM?
I don't want to flash a ROM because I don't want to risk bricking my phone but I don't mind messing with /system and /data partitions since they are on the SD card and are backed up.
Thanks!
Click to expand...
Click to collapse
Thats a really complex implementation you got there, why would someone want system on the sd card? Flashing will/should break all the changes that make your current configuration work, so, keep that in mind.
Thanks for responding! The reason for using the sdcard is rather complicated but doesn't matter much so I wont get into it. I want to keep the mounts as it is but I thought that I could use a custom rom without boot.img and only modify /system partition. I don't know if that's possible but that's why I came here
I tried mounting the partitions on my PC (using Linux File System Mounter) and then extracting the contents of system folder in custom rom to the partition but I get error because Windows cant handle symlinks.
I'd really appreciate any help on this. Thanks!

Categories

Resources