FORUMS
Remove All Ads from XDA

[RECOVERY] [TWRP] Fix • Backup Internal Storage • backup option

409 posts
Thanks Meter: 102
 
By aIecxs, Senior Member on 19th June 2019, 01:07 PM
Post Reply Email Thread

Fix for • Backup Internal Storage • backup option

Universal TWRP Bind Mount Enabler




It is a well known fact that TWRP Backup does not include Internal Storage
aka /storage/emulated/0
If you ever wonder how to backup your Pictures and Downloads here is a solution

Prerequirements
  • device with external MicroSD Card
  • working TWRP image as file
  • ramdisk tool (i recommend AIK)
Instructions
  • unpack your recovery ramdisk
  • create a folder for bind mount
  • place the shell script /scard0/init in your ramdisk
  • when your busybox is older than v1.29: replace /sbin/busybox in your ramdisk
  • replace the shell script /sbin/permissive.sh in your ramdisk
  • edit the path in /sbin/permissive.sh
  • set permissions executable
  • make a new entry in /etc/recovery.fstab
Code:
/sdcard0  ext4  /sdcard  flags=bind;display="Internal Storage";backup=1
Downloads
XDA:DevDB Information
Universal TWRP Bind Mount Enabler, Tool/Utility for the Android General


Contributors

@aIecxs
@Dees_Troy (TWRP)
@osm0sis (AIK)
Attached Files
File Type: zip Universal-TWRP-Bind-Mount-Enabler.zip - [Click for QR Code] (898.0 KB, 78 views)
The Following 2 Users Say Thank You to aIecxs For This Useful Post: [ View ] Gift aIecxs Ad-Free
 
 
19th June 2019, 01:09 PM |#2  
OP Senior Member
Thanks Meter: 102
 
More
Bugs & Known Issues
  • Restoring works only with -> Settings -> Use rm -rf instead of formatting
  • Backup Internal Storage -> to Internal Storage
  • does not show backup size / wrong size
  • Progress bar does not work
  • Internal Storage not proper unmounted when unmounting data
  • TWRP shows errors in log (E:Unhandled flag 'bind')
  • TWRP shows errors in log when successfully mounted (Failed to mount '/sdcard0')
  • does not work with busybox v1.22 bionic (TWRP default)
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes