What are these files in TWRP? - Huawei Ascend XT Questions & Answers

Are these files safe to delete? I was under the impression that with this being a 16gb phone I wouldn't be fighting for internal storage space after owning the phone just a few days and less than 10 installed apps.

Looks like your own backups... your internal storage wouldn't be full if you bothered to use a sd card.

If one does have an external SD card, I don't recall if TWRP defaults to storing there or if you need to select external SD - something to check on for TWRP newbies.
-n0cturne- said:
Looks like your own backups... your internal storage wouldn't be full if you bothered to use a sd card.
Click to expand...
Click to collapse

I've found TWRP to usually default to internal storage on every run, but once you set up the path/naming for your backups it usually sticks.
It seems like you are toying around with TWRP, possibly attempting to get ready to flash a custom rom. Given half the storage is system files, you'd barely be able to backup said default files to internal storage without running out of space.
You could always backup these files to a computer, delete them from the phone to free up enough space to download a rom (of which you should verify the md5 checksum), and hope everything goes perfectly.
If anything goes wrong, you'll need access to a computer and either use some advanced fastboot commands or.. an sd card, which you can easily swap on to a computer to download custom roms or backup files.

I would recommend getting a micro SD card for TWRP backups to avoid being fully dependent on a PC or internal storage. I like to have at least two TWRP backups on my micro SD. I know this phone works with 128GB - not sure about larger.

Related

Vibrant is mixing up phone storage and SD Card!!!

This is a really strange problem, I don't know if anyone has it or maybe I'm just dumb and there is no problem, but I'll try explaining
So when I plug in my vibrant, there are two drives that appear, the SD card and the phone storage. I can tell the difference because one is 2GB and the other is 16GB.
However for some reason my Vibrant doesn't let me install ROMS from the SD card even though I am sure I put the .zip file onto the SD card directory. HOWEVER for some reason the ROMS appear to install correctly when I put the .zip into the phone directory. Also, Titanium Backup saves its backups into the phone directory even though it claims to install them into /sdcard/titaniumbackup. Can anyone possibly shed some light on this?
The phone's 16GB of internal memory is actually mapped to /sdcard while an actual SD Card is mounted in a folder underneath that. I don't have an SD Card handy at the moment so I can't verify the exact name.
As for ROMs, I'm pretty sure they would need to be in the phone storage (/sdcard). That's also where Titanium Backup is storing its files as you saw.
/sdcard/sd is the actual card, and you can change Titanium Backup to utilize that space -- That's what I'm doing, in case something catastrophic happened to the phone itself, I have a chance of just removing the SD card with my backups. Preferences > Backup folder name is where you can change that.

internal storage twrp

so i opted for the 16gb moto pure and am now getting no available storage when trying to download a app in the play store. After looking into what is taking up all my space it seems twrp is 4.25 gigs. Is there anyway to have that on the sd card? I have never had this problem on older phones that were 16gigs with a sd card.
When you're in TWRP and doing a backup (Nandroid), there is the option that says "Storage: Internal Storage". If you click on that, you can change it to your external SD card. In the mean time, you can copy the backup folder from your device storage to your external storage. If there isn't a folder called TWRP yet, you can make it (or cut & paste the entire TWRP folder on your device to the SD card). Or you can just do a new Nandroid and see how it works. It usually takes a few minutes longer to backup to your SD card compared to your internal storage.
Normally, pre backup, your TWRP folder should be VERY small.
You can change your storage when flashing ROMs or apps, depending on where you've stored them... Also, if you ever restore a backup and freak out because you can't find it, make sure you have the proper storage selected.
tele_jas said:
When you're in TWRP and doing a backup (Nandroid), there is the option that says "Storage: Internal Storage". If you click on that, you can change it to your external SD card. In the mean time, you can copy the backup folder from your device storage to your external storage. If there isn't a folder called TWRP yet, you can make it (or cut & paste the entire TWRP folder on your device to the SD card). Or you can just do a new Nandroid and see how it works. It usually takes a few minutes longer to backup to your SD card compared to your internal storage.
Normally, pre backup, your TWRP folder should be VERY small.
You can change your storage when flashing ROMs or apps, depending on where you've stored them... Also, if you ever restore a backup and freak out because you can't find it, make sure you have the proper storage selected.
Click to expand...
Click to collapse
never mind thanks!
tele_jas said:
When you're in TWRP and doing a backup (Nandroid), there is the option that says "Storage: Internal Storage". If you click on that, you can change it to your external SD card. In the mean time, you can copy the backup folder from your device storage to your external storage. If there isn't a folder called TWRP yet, you can make it (or cut & paste the entire TWRP folder on your device to the SD card). Or you can just do a new Nandroid and see how it works. It usually takes a few minutes longer to backup to your SD card compared to your internal storage.
Normally, pre backup, your TWRP folder should be VERY small.
You can change your storage when flashing ROMs or apps, depending on where you've stored them... Also, if you ever restore a backup and freak out because you can't find it, make sure you have the proper storage selected.
Click to expand...
Click to collapse
I hadn't used TWRP in ages. I got my phone yesterday and inadvertently backed up to my internal card. I went back in and then saw the option to choose my external card. I ran another backup to the external card and I was amazed that the backup took less time going to my external card than it did to my internal card. I don't mean a little faster, it was quite faster. You would think the internal would be much faster.

Adoptable Storage & TWRP

Hi guys,
I've done a lot of research into this and have read multiple posts about it, but can't seem to find a decent solution....
Basically, adoptable storage on 6.0 will format the SD card in such a way that only your phone can recognize it. TWRP and your PC won't be able to read the SD card at all. In that case, what's the best way to bypass this?
I'm assuming that you just format 50% of the card as adoptable storage, so the rest can be used by TWRP/PC? It just seems kind of annoying because if you need to flash a new ROM, or if your ROM has issues etc, you'd have to constantly move the data to your SD card's normal storage, otherwise it's unreadable. I'm talking about stuff like Titanium Backups, which I believe can't be saved onto the normal SD card storage, etc.
Looks like I found the answer myself.
Don't bother using that script from Modaco (unless you're on stock 6.0 ROMs). Just format the card as adoptable SD in the ROM itself (I'm using Resurrection Remix), then reboot. Your PC will pick up the SD card via MTP no problem. If that doesn't work, boot into TWRP (make sure you're using 3.0.2.2-test as of this current writing) and select micro-SD (adoptable storage). It should show up via MTP as well.
Looks like nothing is affected as TWRP and my PC can still read the card despite being formatted as adoptable. Problem solved.
Update 2:
If you are using stock official ROM, then adoptable storage won't be visible via MTP. You can use TWRP to access it though, but make sure you're using the latest TWRP. On the phone itself, you can use something like Root Explorer and browse to the following path to access the adoptable storage contents:
/mnt/expand/xyzblahblah/media/0
the xyzblahblah part is a long random string. It might look different on your phone.
Note that Titanium Backup can't recognize this path. You can browse to it, but it can't access it. Best to format your card as 50/50 adoptable/portable storage.

Installing apps direct to the SD card.

I'm on a Redmi 3S with 16 GB internal storage which runs on unofficial version of LineageOS by Fedosis. I was not using an SD card, hence everything was in the internal memory itself.
As the app and app data is getting huge, I wanted to move this to an external storage. So I got a 32 gig SD card. While setting up the card, I used the option "as internal memory". After installation I could not access my phone memory. And when I rebooted to recovery via TWRP, I cannot see this SD card. Only thing I could see was phone memory. So it's kind of a complication to flash apps.
So I again formatted the SD card and set it up "as portable memory". Now I can access the phone memory normally and in TWRP also. But when I try to move the apps, [eg: Hearthstone, Flamingo, etc] it says, it's not possible.
So, how should I set up my new SD card, so that I can move the existing apps into it and also install new apps to the same SD card?
format as internal storage and then go to appsettings and manually move them to external memory. but this isnt supported by all apps.
to flash something with twrp than, you have to put the file you want to flash into /data/media/0/TWRP
merlin.berlin said:
format as internal storage and then go to appsettings and manually move them to external memory. but this isnt supported by all apps.
to flash something with twrp than, you have to put the file you want to flash into /data/media/0/TWRP
Click to expand...
Click to collapse
Thank you.

Sm-n900v rooted unlocked twrp flashed but where is my SD CARD

Hi all I need a little help, I completed everything above without much problem, but when I flashed the newest twrp recovery, I did a backup first thing then when it was completed every file is in my internal storage and it's not showing up an sd card when I have a 16gb installed and I'm sure twrp is the step that caused this. I am still on OF1 rom. Thanks for any help!
The unlocking step overwrites the external (removable) SD card with a copy of the first 256 MB of your flash memory chip before it modifies the "aboot" partition.
A side effect of this is that the card won't mount correctly any longer without re-formatting it.
To be completely safe (you'll probably never need it), do a "raw copy" of the first 256 MB of the external SD card device to save the "debrick image", e.g. (as root)
Code:
dd bs=131072 count=2048 if=/dev/block/mmcblk1 of=/sdcard/SMN900V_debrick.img
This might take 20-30 seconds or so as you are reading and writing 256 MB of data.
Then, reformat the external SD card.
Separately, TWRP has a menu that allows you to choose between the output location for backups - either the internal memory, the external memory (SD Card), or - if you have an OTG cable, on an external USB device.
TWRP also has a file explorer if you want to move your saved backups to the external SD card. It's a little clunky, but it works. (You can also do this with a file explorer app with the phone normally booted as well if you prefer).
cheers
maybe you have to install sdfix since phones of the past couple years don't use sdcards, the system updates don't recognize cards
pltctytc said:
maybe you have to install sdfix since phones of the past couple years don't use sdcards, the system updates don't recognize cards
Click to expand...
Click to collapse
Nope, you just have to reformat the card and it'll be fine.
Sent from my SM-N900V using Tapatalk

Categories

Resources