Samsung galaxy s5 neo - Keep twrp backups on external SD card? - Samsung Galaxy S5 Neo Questions & Answers

I am just wondering, if it is safe to keep my backup i just made, on my external SD card? Its much bigger than the backups were for my old device, and its kinda taking up the rest of my internal storage right now...
But what i am wondering is if i do transfer it, will twrp see it successfully in recovery mode in case a backup is needed??
thanks

Hi there!
I'm on a G900FD with TWRP v3.0.2-1 , but TWRP is mostly universal for this level of modification.
TWRP will initially display only the backups in the default backup location. Backups are stored as a (typically timestamped, though any name will do) folder containing the backup images, a log and a settings file.
TWRP keeps its settings, backups and (maybe) themes in the ./TWRP directory in your internal storage. The settings files ( ./TWRP/.twrps , note the dot before twrps, use ls -a to find it) is always located in here, but the default location for backups can be changed from your internal storage to your external storage via TWRP's GUI.
To change default storage location, follow:
1: Reboot to recovery. Enter encryption pattern/PIN/passphrase if needed.
2: Tap Mount, then tap Select Storage. Note at the top of the screen, under the Mount title, is something akin to EMMC or Internal Storage or Internal, you get the idea. This will change in the following steps.
3: Tap the radio button of the storage you want to default to in the popup that appears, then press OK.
4: Verify that the display now reads SD card, External Storage, whatever.
5: Under Home > Backup, the Storage: line should now read External/ SD Card / whatever, instead of the Internal Storage variant.
6: Optional: Make a backup, just to see where it says the backup location is in the log.
To reverse modification, follow instruction again.
Do note that failure to provide the SD card, or failure to mount it, will result in TWRP defaulting back to internal storage, which may fail due to lack of space. Not a problem for me ( 128G SD card represent ), but something to think about.
To transfer the backup from the internal storage to the external, reboot back to Android, and use a file manager to move the entirety of the BACKUPS folder from INTERNAL/TWRP to EXTERNAL/TWRP . Without more information about your build, I can't provide paths to follow, but mine would be:
Internal Location: /storage/emulated/0/TWRP/BACKUPS/(SERIAL NUMBER)/(TIMESTAMP_OF_BACKUP)
External Location: /storage/(SDCARD GIBBERISH)/TWRP/BACKUPS/(SERIAL NUMBER)/(TIMESTAMP_OF_BACKUP)
Note that TWRP will require that each backup is located in the same directory as the serial number of your phone, so i.e. mine must be in:
/storage/98A4-1D0F/TWRP/BACKUPS/e6209199/2016-08-03--21-16-31
for a backup made on the 3rd of August, 2016 at 9:16:31 UTC.
If anything is unclear, feel free to reply!
Happy flashing!

Thanks! I'll have to give this a try when I've got some time tonight
Sent from my SM-G903W using XDA-Developers mobile app

Related

[Q] Custom recovery (TWRP 2.1.3) doesn't see external sd

when I back up it's placed in my internal memory
isn't it supposed to back up my system to my external card?? how do I fix this? Do I need to use another recovery?
I tried to look for my card using TWRP but I only see an empty folder named sd-ext but my sd card is called external_sd when using file manager
Is this normal for an A500?
Thanks in advance!
pinmemo said:
when I back up it's placed in my internal memory
isn't it supposed to back up my system to my external card?? how do I fix this? Do I need to use another recovery?
I tried to look for my card using TWRP but I only see an empty folder named sd-ext but my sd card is called external_sd when using file manager
Is this normal for an A500?
Thanks in advance!
Click to expand...
Click to collapse
I really don't like necroing a thread, but this seems, too, relavent -- and someone may need an answer
I am using TWRP 2.1.3 right now (just installed it).
Apparently it places the backups on internal storage by default.
If you tap/select the 'mount' option on the main screen you can select that the sdcard be mounted.
You can also select whether to store backups on the internal storage or on the external card from here.
On the backup menu, you might need to tap/select 'refresh free space' or similar option.
Then select what you want to backup, and swipe to backup (as per on-screen instructions).

[HOWTO] [L/M/N] Move /data to external SD the hard way

Hello, in this thread I'll show you how to move the /data partition to your microSD card in order to increase the storage space, and bypass the speed limits of our poor eMMC memory.
Disclaimer:
I'm not responsible for any data loss or any other kind of problems. Follow the tutorial and everything will be fine. In case of problems, reflash the boot.img of your ROM or reflash the whole ROM and you'll reboot to Android using the usual /data partition.
Pros:
more storage space
slightly shorter app loading times
Cons:
you cannot eject your SD card from your phone when it is turned on
Requirements:
a computer
some kind of adapter to put the microSD into the computer
a 16 GB (or higher), class 10 (or better) microSD
Any recent L (untested), M (tested) or N (tested) ROM and TWRP 3
these two zips: https://www.androidfilehost.com/?w=files&flid=113749
Step 0: prepare the SD card
using your computer, shrink the only partition you have on your SD card and leave at least 6 or 7 GB of unallocated space. Be sure not to shrink too much the first partiton (which will continue to be used as a normal storage partition) because you'll have to store a nandroid backup in it! This is why I recommend you to use a 32 GB SD card. Then create a new partition using the unallocated space. If you're using Windows or OS X, create a fat32 partition, if you're using Linux, create an ext4 partition.
Step 1: patch the recovery and backup, then restore
In the AFH folder I posted in the requirements you'll find two zips. Download them and reboot to recovery, then take a nandroid backup of your /data partition and store it on your SD card (TWRP will automatically use the first partition of the SD card, the one with all your current content). Now flash twrp_fstab_patcher.zip. Power off your phone and then turn it on and boot into TWRP. Now go to Wipe > Advanced Wipe > select Data > Change Filesystem > choose ext4 or f2fs (as you prefer). Confirm and check that the Data partition has been formatted to the chosen filesystem. Restore the backup you've made.
Step 2: migrate the data of the internal storage
Reboot to Android and using a file manager that lists both of your SD card's partitions (FX works for me) and copy all the content of your internal storage (photos, music, app data etc.) to *2nd_sdcard_partition*/media/0.
Step 3: patch the kernel
Now you're ready for the last step. Flash kernel_fstab_patcher.zip and reboot. The end!
Warning: you need to reflash kernel_fstab_patcher.zip after you change/update ROM/kernel otherwise your phone will use the "old" data partition! Similarly, you must flash twrp_recovery_patcher.zip each time you update TWRP 3 (this doesn't happen very often).
Well, I hope I put all the needed info in this thread, I'll keep it updated with my latest suggestions etc. If you have got problems, report them. If you find something that doesn't make any sense in this post, tell me. Enjoy!

Adoptable storage guide

Adoptable storage works quite well on Honor 4C. There are few faults, but if you know then, you can live with them
Guide based on posts from different threads and my experience.
I used 32gb microsd class 10 and Android 6.0. NO ROOT NEEDED, no additional partition soft needed.
PART 1 - Prepare your card
http://www.modaco.com/news/android/heres-how-to-configure-adoptable-storage-on-your-s7-s7-edge-r1632/
Summary:
Backup your microsd
Enable USB debugging
>adb shell
>sm list-disks
>sm partition disk:???:??? mixed 50 (if you want half encrypted/ half accessible, replace ??? with proper numbers)
If you get error, try formatting microsd from your phone first.
Now you have microsd with 2 partition.
One is encrypted(1) and is ready for moving and installing apps, second partition(2) is accessible through your file manager and pc.
Cons:
- Android doesn't show right free memory for (1). But you are able to check occupied space by clicking on this item in Advanced/Memory
- Google Play before installing app checks free space on your internal memory only. Try to free as much as you can so you will be able to install new apps. I have 1.2gb internal free
- Apps that use only internal memory will be easy to move to (1). Just use your phone menu under application details to move it to (1), now it works Use _first_ sdcard option when menu pops up.
Now most annoying part:
PART 2 Moving/installing apps that download big data after installation.
1. These apps (like NFS No Limits) install themselves to internal memory and then download data. They are useless to MOVE to sd, they won't free up internal memory this way.
BUT they can be INSTALLED to (1): In phone menu change default location to "sd", then install.
Changing this option restars your phone. Everything you install with this option MUST be run with this option on !!!
You have to make two groups of apps depending on this option. If you mix it, app won't have access to its data (like save data, etc).
2. If you install app with "sd" option you will not be able to locate this app save files with filemanager. For example I installed Minecraft with option "internal" to have easy access to worlds saves.
It works, but I cant flash zips from TWRP because it cant locate storage
I get
"Error: java.lang.IllegalStateException: java.util.concurrent.TimeoutException: Thread Binder_C gave up waiting for partitionMixed after 180000ms"
what can I do?
Plz stop using it

WhatsApp restore backup: Not enough space

Hi there,
I am on lineage-16.0-20190918-nightly-klte-signed + open_gapps-arm-9.0-mini-20190921, it is a fresh install.
I have downloaded WhatsApp App from Google Play and I was prompted to recover my backup from Google Drive, when I click OK I get:
Not enough space
Couldn't restore messages. Free up 465MB of space on your phone's internal storage to restore.
Obviously, I have more than 11GB available in the internal storage and an almost empty SanDisk SD Card 32GB.
Now, I cannot find anywhere a solution for this issue.
Also, I copied both my 'Phone' and 'Card' folders on my PC (in addition to the GoogleDrive backup) before upgrading to Lineage, I see in both folders a 'WhatsApp' folder with 'backups' + 'database' + 'media' subfolders.
If I cannot restore the backup from Google Drive, how could I restore the same from my PC?
I tried to move the Whatsapp folder to my SD Card, but it does not look like it is enough to see the content in WhatsApp.
Thoughts?
Alex
I think I know why it does not restore my backup, I have realized that the 'Internal Shared Storage' is not accessible, let me explain...
In my S5, if I go to Storage >> Device Storage - I see 5.24GB used of 16.00 GB - however, if I take a screenshot and try to save it, I get:
can't save screenshot due to limited storage space
This is probably the reason why I get issues to restore my whatsapp backup.
If I connect the phone to my PC, I can see the Internal Shared Storage folder icon, but there is no value, I should see 5.24GB used of 16.00 GB - in fact I cannot save anything on it from my PC either.
How do I resolve this issue?
Bug?
Thank you,
Alex
Anybody??

2019 Tab A T510: empty internal storage after root with TWRP

Hi,
Brand new T510. I followed [GUIDE][SM-T510/T515]Unlock/TWRP/Odin HowTo/Root - Tab A 10.1 (2019) and successfully rooted the device with stock ROM and Magisk.
Then something strange happened. When I open My Files app, the internal storage showed about 10 folders with weird names, all empty. I deleted all those folders and it showed an empty folder. I then went on to install some apps.
However, I then realized that the internal storage is really not available in most of cases. My Files showed (17.56GB / 128GB) but when I tried to create a folder it will say "there is not enough space in internal storage. Delete some files and try again."
All the normal folders are not there, like Download etc.
What can I try to fix this?
Thanks
redhonker said:
Hi,
Brand new T510. I followed [GUIDE][SM-T510/T515]Unlock/TWRP/Odin HowTo/Root - Tab A 10.1 (2019) and successfully rooted the device with stock ROM and Magisk.
Then something strange happened. When I open My Files app, the internal storage showed about 10 folders with weird names, all empty. I deleted all those folders and it showed an empty folder. I then went on to install some apps.
However, I then realized that the internal storage is really not available in most of cases. My Files showed (17.56GB / 128GB) but when I tried to create a folder it will say "there is not enough space in internal storage. Delete some files and try again."
All the normal folders are not there, like Download etc.
What can I try to fix this?
Thanks
Click to expand...
Click to collapse
The data partition is encrypted and TWRP can't handle it. After flashing TWRP, you need to format the data partition by clicking Wipe and then Format data. When asked to verify, type "yes" and NOT just "y". After doing this, reboot to recovery and you'll see Internal Storage is no longer a "0".
Before doing any of this, be aware that formatting the data partition will erase EVERYTHING on it, including any saved pictures, movies, music and all apps. So be sure to back you data up to another device or the external SD card before you start.
Worked. Thanks

Resources