How To Guide Backup all possible data from phone without root - Realme 8 Pro

adb backup and adb restore
Bash:
adb backup -apk -shared -all -f out.ab
Backing up all application, app data, and all shared files in storage.
Pulled the backup file from phone.
and restore
Bash:
adb restore out.ab

Related

backup all phone

This is a simple hack to backup all phone (everything)
you need:
space on sd
adb
start adb:
Code:
adb shell rm /sdcard/andboot/androidinstall.tgz (if present)
adb shell tar zcvpf /sdcard/andboot/androidinstall.tgz /system /data
if you want to reinstall, go to boot menu reinstall system and clean data (you can also do it with atools)

[Q] copy efs using adb

hey guys i'm trying to copy my efs partition using adb shell using ramads code
"cd c:/your_ADB_directory_name/platform-tools (Use cd c:/your_ADB_directory_name/tools if you are using an older ADK versions)
adb shell
su
cp -r /efs /sdcard/efs
exit
exit"
I get to the *cp -r /efs /sdcard/efs* and it spits out a million and one errors saying it can't create any of the files due to there being no space.
my phone storage has 1.65gb and my SD has 8.3gb free of space so i'm quite puzzled by why it's saying this.
Check my thread to see if it helps...
http://forum.xda-developers.com/showthread.php?t=859914
Cheers!

I need help, SD-Card accidentally formatted

I was not paying attention and the complete formatted SD memory ...
On the PC I have a nandroid backup of the stock ROM,
the device is rooted,
I come into the recovery too.
I need urgent help please!
I feel realy bad :crying:
If you have a nandroid and want to restore it, then you can push it on sd, but need to create folders first via adb
First check whether you have adb access with:
adb devices
Your device numbers shows, all good. If not try flashing another boot.img for yor ROM base, that has adb enabled. I trust you had USB debugging enabled on your device...
1. New folders (I name your nandroid folder stockbackup, name it how you like)
adb shell
mkdir /sdcard/clockworkmod
mkdir /sdcard/clockworkmod/backup
mkdir /sdcard/clockworkmod/backup/stockbackup
Part 2 - pushing Nandroid to sd
These commands not inside adb shell
adb push boot.img /sdcard/clockworkmod/backup/stockbackup
adb push cache.ext4.tar /sdcard/clockworkmod/backup/stockbackup
adb push cache.ext4.tar.a /sdcard/clockworkmod/backup/stockbackup
adb push data.ext4.tar /sdcard/clockworkmod/backup/stockbackup
adb push data.ext4.tar.a /sdcard/clockworkmod/backup/stockbackup
adb push data.ext4.tar.b /sdcard/clockworkmod/backup/stockbackup
adb push nandroid.md5 /sdcard/clockworkmod/backup/stockbackup
adb push recovery.img /sdcard/clockworkmod/backup/stockbackup
adb push system.ext4.tar /sdcard/clockworkmod/backup/stockbackup
adb push system.ext4.tar.a /sdcard/clockworkmod/backup/stockbackup
adb push system.ext4.tar.b /sdcard/clockworkmod/backup/stockbackup
Now your nandroid is on sdcard/clockworkmod/backup/stockbackup
If everything worked, restore your nandroid as usual.
Alternatively just download a custom ROM like for example TrickDroid and push this to your sd and install.
adb push TrickDroid_2.1.0.zip /sdcard/
Hello,
thank you for your effort
I've never done this before,
can you tell me where I need to enter the path of the backup on PC,
Here, for example:
adb push boot.img /sdcard/clockworkmod/backup/stockbackup
resolved
Managed to install the AIO Kit by sideload the TrickDroid ...
Accidentally discovered!:laugh:

Having MTP permission/problems after Nandroid restore

After restoring my device from my Nandroid backup in TWRP 2.5.0.0 I couldn't delete files off my sdcard from Windows thru the MTP. Nor can I delete it from ES File Explorer. So I proceeded to
chmod -R 777 /data/media/
chmod -R 777 /sdcard/
chmod -R 777 /mnt/sdcard/
chmod -R 777 /storage/sdcard0/
after which point it every worked like normal. I'll have to see if anymore issues come up. Just thought I'd share.
Was all a lie! I had to push files and folders thru adb in order to delete them because they only show up when you are browsing thru MTP. Worst of all sometimes the files don't even show up, but you can't copy files or a folder over until you actually make the folder thru adb.

adb back up

adb backup -apk -all -f backup.ab
where does that command land the backup on one computer?
User folder

Categories

Resources