[tool]QtADB - Backup apk and setting (Win and Linux) - Galaxy Y GT-S5360 General

Application for windows / linux to backup phone setting, applications, logcat...
very useful
Code:
[url]http://qtadb.wordpress.com/download/[/url]
File manager
copying files and dirs between phone and computer
removing files and dirs
creating new dir
and other
App manager
installing apps
removing apps
creating backup of apps with data
restoring backups of apps with data
Sms manager
receiving sms (baloon in tray)
reading sms
sending sms
Shell
opens android shell
Screenshot
take screenshot of your device
save screenshot to png file
Fastboot
flash bootloader, radio and recovery
boot recovery
Recovery
nandroid backup/restore
wipe data
flash rom
wipe battery stats
fix uid mismatches
Reboot
to bootloader
to recovery
normal reboot
Settings
set font used by app
set starting paths (or remember paths on exit)
and other
Logcat
Automatically detects phone (device, fastboot and recovery mode)

Related

[Q] What are you using to backup your roms?

My HD2 can use clockworkmod from the bootloader to create a backup of sys & boot. Even windows had sprite backup to make a image of the rom.....so what do tilt users have to backup their rom so they can get back to a good copy of it or try a new rom without losing everything?
famewolf said:
My HD2 can use clockworkmod from the bootloader to create a backup of sys & boot. Even windows had sprite backup to make a image of the rom.....so what do tilt users have to backup their rom so they can get back to a good copy of it or try a new rom without losing everything?
Click to expand...
Click to collapse
You can backup data from within install menu(dont remember how its properly called)
And system well if you have a flashed image on sd card than there is no point to back it up.
-Arturo- said:
You can backup data from within install menu(dont remember how its properly called)
And system well if you have a flashed image on sd card than there is no point to back it up.
Click to expand...
Click to collapse
Some of us change our system as well such as custom kernels, customized framework's and additional tweaks to files such as the build.conf etc we'd rather not have to keep doing over.
famewolf said:
Some of us change our system as well such as custom kernels, customized framework's and additional tweaks to files such as the build.conf etc we'd rather not have to keep doing over.
Click to expand...
Click to collapse
Well the thing with system is that after you flash it ..it stays in the memory card then you can move it(back it up) to your computer and change it accordingly. So for example you have changed the framework in the system on your phone.... you can do the same with the backed up system on computer and it will take you not more then 15 seconds. You just open it with 7zip and the world is yours you can pretty much do whatever you want with it remove/add files replace them and so on....and that is all the files and folders in the system image. If you have ever removed/replaced/added files to a simple rar archive then you pretty much know how easy it is to edit a rom on your computer.
backing up your kaiser
Android is just Linux so you can do almost anything you can do in Linux if you can get to the shell. I use a program called Terminal Emulator from a guy called jackpal that I got from the Market. It will give you a command prompt so you can perform any Linux commands you like and if you type su it will act as super user and give you a # prompt.
I also went as far as writing my own userinit.sh that runs each time I boot and copies files from my data partition on NAND to the SD card. I just copy the /data/data, /data/app, /data/local, and /data/system folders to a folder named backup on the root of the SD card. The script also moves the previous backup to a folder called backup.old and if backup.old already exists it deletes it first.
This way if my phone reboots and data is corrupt I can use Root Explorer to copy the files in either backup or backup.old on my SD card back to NAND and my phone is restored.
You can also us the backup routines that are in the menu that comes up when you press the DPAD during the boot process but that backs up the entire data partition to the tune of 256MB and if there is corruption it really doesn't do much good.
As a side note you can mount the file created by the backup on any linux box using the mount command and a loop device. Once mounted you can just copy files that you need out and transfer them back to your phone using the SD card.

[Q] How to manually restore application data?

Hi,
i had a corrupt nandroid backup but i managed to extract some data from the data.img.
Now i start from the scratch with a new rom and i have an old Titanium Backup of my apps which i already restored.
But the current entries of the applications are stored only in the nandroid. I have no other backup.
I managed to extract the folder data/data in which most application data is stored. When i now try to rename the folder of e.g. "My Car" from \data\data\com.aguirre.android.mycar.activity to OLDcom.aguirre.android.mycar.activity and restore the folder from my nandroid the application crashes. When i rename OLD to com.aguirre.android.mycar.activity to get my old state back everything works fine.
I already tried that (replace the database) months ago with the calendar but it failed too. Why? What does Titantium when restoring application data? Where is the difference?
thanks
Okay the permissions are the problem!
How can i
- change the user and group in root explorer
- change this settings recursive
I now granted everything to all folders and files of com.aguirre.android.mycar.activity and it works.
But how can i get the correct permissions!?

[Q] WANTED: TWRP walkthrough

I've searched on this site, on google, on youtube, anywhere I can think of, and there is just no how-to or walkthrough of what each of the twrp buttons do. I already know what these functions do:
install: flashes .zip files (ROMs and gapps)
backup: backs up data and/or ROM
restore: restores data and/or ROM
wipe: wipes cache, dalvik cache, factory reset (wipes smaller memory space), system (wipes ROM), sd card (wipes larger memory space)
mount: allows media transfer from computer
settings: allows you to change various settings (not sure what all do)
advanced: file manager (allows you to easily manage files on the fire)
reboot: reboots your device normally, to recovery, or bootloader; allows you to power off device.
what does terminal command do? Mostly, I just want to know what it does, how it works, and how I can use it. But if someone could make a walkthrough of twrp, that would be super awesome. You would make my Thanksgiving. Forget the turkey

[Q] Copying a TWRP backup to a new device

I made a TWRP backup after setting my device up, now I want to copy this image to new devices. I made a backup of the wanted config inside TWRP and copied it to a PC. I factory reset the device to restore onto, rooted it, made a TWRP backup of boot only so I have the hashcode folder ready to roll to place the main backup into. Now when I connect the device to my PC and try to copy into this hashcode folder, I get errors like 'folder has been removed' or something, which I expect is to do with permissions. In TWRP in advanced, filesystem management, I apply chmod 777 to the hashcode folder, I still can't copy the backup into that folder from the PC, same message. Ideally I don't want to go through a full setup of the new device in order to install root explorer and change permissions etc., I have 8 of these units and want to make the process painless, not a multi-hour job.
Sooo, is there a process via TWRP whereby I can make the backup hashcode folder writeable from the PC so I can simply copy my backup across to the new device and proceed with the restore? If I must use ADB I can probably live with that, just if someone can help me out with a set of commands that can 'make it so'. Ideally I just want to change settings in TWRP with the "right" commands, reboot it and copy my backup across, before rebooting back into TWRP and running the restore.
I'm doing this so I can quickly setup a standard configuration for some specific software we use, replicate that across to units, have people access the apps via a restricted profile, then after field use, be able to return the unit back to a standard config via a TWRP restore using the minimum number of steps.
The way I got it working was to copy the backup folder to a temporary location on the new device from the PC, then move it to TWRP's backup folder using the TWRP file management tools.

xiaomi mi a2 lite how to take full backup with TWRP or any other method

hello
as title is showing i want to take to take full backup with TWRP or any other method and restore whenever i want it if something happens
like
rom with data for example contains
installed apps,contacts,photos...etc
thanks
I don't have TWRP so I backup my data using Migrate.
owais16 said:
hello
as title is showing i want to take to take full backup with TWRP or any other method and restore whenever i want it if something happens
like
rom with data for example contains
installed apps,contacts,photos...etc
thanks
Click to expand...
Click to collapse
Google back-up is integrated on the phone and does a great job.
Stores app list + app data to be restored on a later date.
Sync contacts, calling lists and messages in your cloud.
Photos are getting stored in the cloud also, you just need to make sure you selected the right settings in the Photos app.
I have a paid subscription to Google for just 10 euros per month and I have 60gb of storage on their cloud, more than I need, and all the data from the phone is going there. If for some reason I change even brands, my data will migrate to the new device without any worries.
Also, with TWRP is pretty damn straight forward. Get TWRP, click back-up, select storage for the back-up and wait. You can select what partitions you want to back-up and that's it. But note that, this back-up is only for your device and that's about it. Also installing TWRP tampers with your system and may affect OTAs.
I use a combination of titanium backup and rsync for off-device backup of apps and data. Very custom. It's not complete but it's close enough for me. Takes about an hour to put everything back when I break the phone.
Because of the encryption, you can't do a 'nandroid' (raw) backup of the data partition and restore it later. You'll need some extra partitions for the encryption keys, and that's assuming there isn't an on-SoC flash chip involved.
I suspect it would be feasible to just tarball the decrypted data partition and restore that afterwards, though that would be a bit non-trivial to restore.
Complete RAW Storage Backup/Restore using TWRP & ADB
EDIT: Apologies, confirmed as per @a1291762 above that it complains about encryption after restoring the backup image, even if encryption was turned off before backing up.
You can do a raw dump of the entire storage, but the output file will be the total size of your storage (e.g. 32GB - which you could zip on your PC to save space).
You can also then restore that raw image back to the phone. I've confirmed this works with my older Redmi 2. Haven't yet confirmed the restore process on my Mi A2 Lite, but it does back up fine.
Connect phone to PC with USB and reboot to bootloader
Boot into TWRP using "fastboot boot [twrp-xxxx.img]" (e.g. "fastboot boot twrp-3.3.1-dees_troy-daisy.img")
Confirm phone is available in recovery mode using "adb devices" command (it'll show serial # and "recovery")
[To Back Up] Type in "adb pull /dev/block/mmcblk0 backup.img"
[To Restore] Type in "adb push backup.img /dev/block/mmcblk0"
Reboot to System from TWRP menu
I suggest running your CMD window (or Minimal ADB and Fastboot) as Admin to avoid write issues to that folder.
The backup image (backup.img) can be opened/extracted with 7zip, as well as some contained partition images.

Categories

Resources