Hi,
I want to manually create backups of all important partitions on my I9023 via dd and need a list of /dev/block devices I have to backup. Could anyone give or point me to a list? Are they all bs=4096?
Especially I need to make a backup of bootloader and dgs/csc.
Thanks in advance.
Related
Hello All, this is my first post in Xda-forum, I love they way u all interact and help each other out here...well u see I hav a Allwinner A10 based tablet called Ice Xtreme which is very cheap in India do a google search on this tablet. well the company did not provide any software and I had corrupted mine while trying to use a custom recovery which was not from a allwinner a10 based tab. Anyways after alot of fuss I got it fixed but still they did not provide me with the livesuit image. I looked for ways to backing up my current working firmware from my tablet but found none. So after alot of searching I found this Script at a forum which can dump the recovery, the bootloader, boot partitions and system and data folder. But throughout my experience with this Livesuit firmware things I see that the drivers inside the vendor folder are also important as no two tablets have same chips (some thing will be different) so I modified the script and build it into a script that takes most of the directories (excluding mount,as it has only ur SD n extSD data) The dump thus created may help in modifying another image to suit ur needs.
I have only been able to backup directories and boot,recovery,bootloader partition thanks to the original script. I have no Idea how to send/restore these files to the device after flashing another rom to restore most of the things. Any help would be a boon. Thank u all for ur indirect help in bringing out the geek in me.
Try it!! & post feedbacks and suggestions...
This helps to backup the rom files with only adb. Just start the batch file & relax while ur ROM is being dumped.n it will also keep a copy on ur SDcard too.
Just use
#adb backup
for back up and
#adb restore
for restoring
# command...
But will it be possible to extract different files???!!
Hey, suppose I wanna flash a custom ROM which doesnt hav all of my boards drivers in it. So if I backup using adb can I thn restore driver files from the stock ROM backup to the new Custom ROM...
how to write backup ???
extension *.tgz??/
need expalain for restore backup..
thx..
Hello everybody!
I recently wanted to update my cousin's Transformer TF101G, but I met a problem, which is described here: http://forum.xda-developers.com/showthread.php?t=2244728
Now I have made a lot of research and discovered, that I can probably solve the issue by reformatting the partitions on the tablet. When I searched the web I discovered, that partition layout is described in file /proc/mtd, but when I open the file, IT IS EMPTY!!!
So now I am asking all of you, who have TF101G or other Transformer tablet with root access to the tablet, to upload the following files:
- /proc/mtd
- /proc/mounts - you need to mount all of the partitions (system, sdcard, data...)
here so I can analyse which partitions are which. I would ask you also to provide:
- first several numbers (cca. 4) of your serial number
- ROM name
so I can identify if different tablets, serial numbers and ROMs have different partition layouts.
You can easily ADB pull files by:
Code:
adb pull /proc/mtd backup/
adb pull /proc/mounts backup/
This will copy them to backup folder.
I really appreciate your help!
Žiga
Edit:
I have seen that you have fixed the tablet.
Sent from my Transformer TF101 using xda app-developers app
Yes I found solution. If somebody wants to know, how I fixed it, read here.
Background
I recently installed the CyanogenMod12 on my Nexus 5 Lollipop and made sure to perform a full backup first. But I did not realize the difficulty I would be experiencing in attempting to use the backup file's contents to restore my previous SMS messages to my new install. Long story short, I've located the files I need to restore onto my hard drive from the backup and found a thread detailing the commands I would need to execute: http://forum.xda-developers.com/galaxy-nexus/help/restoring-sms-db-via-adb-push-t2146640
My problem
I cannot find the path of these two files on my new phone. I've confirmed that they in fact do exist by backing up my phone's current contents with adb then extracting the backup and searching for the files but the path provided in the backup file do not help me. I started off using airdroid to locate these files but eventually resorted to running a command to dump the outputs of ls via adb shell to my computer and searching for the file name... They were not listed there. Can anybody explain to me why a backup would contain the files yet adb shell isn't printing them out?
Files I'm attempting to find on my hard drive: messaging.db and messaging.db-journal
Path of these files within my extracted backups, both old and new: \apps\com.textra\db
Command I ran to dump adb shell listing: adb shell ls -lR > C:\file_output.txt
Unfortunately all of the sms backup/restore utilities don't actually use the db file format utilized by Android. I am aware I can use SQL Lite to view the db's contents, but I'm interested in restoring these messages to my new operating system install.... Any insight or assistance would be most appreciated.
I did not have root access enabled on my device... Now that I can find and access these files I plan on using Titanium to create a backup, modifying the Titanium backup by inserting my older files, and restoring the Titanium backup. I'll update my post and edit the Title to reflect the resolved state momentarily.
Edit: This did the trick... (just found out I can't update the title too).
I did the following in case anybody stumbles upon this post with this issue in the future: After turning on root access I performed an app data backup of Textra using Titanium backup. I transferred over the backup tar.gz to my computer using Airdroid, inserted the older SMS files using 7zip, force stopped Titanium and Textra just because and then replaced the original Textra Titanium backup file with my modified one. Once I restored the backup all my SMS texts from my previous install were loaded into Textra.... Phew
dentonid said:
Background
I recently installed the CyanogenMod12 on my Nexus 5 Lollipop and made sure to perform a full backup first. But I did not realize the difficulty I would be experiencing in attempting to use the backup file's contents to restore my previous SMS messages to my new install. Long story short, I've located the files I need to restore onto my hard drive from the backup and found a thread detailing the commands I would need to execute: http://forum.xda-developers.com/galaxy-nexus/help/restoring-sms-db-via-adb-push-t2146640
My problem
I cannot find the path of these two files on my new phone. I've confirmed that they in fact do exist by backing up my phone's current contents with adb then extracting the backup and searching for the files but the path provided in the backup file do not help me. I started off using airdroid to locate these files but eventually resorted to running a command to dump the outputs of ls via adb shell to my computer and searching for the file name... They were not listed there. Can anybody explain to me why a backup would contain the files yet adb shell isn't printing them out?
Files I'm attempting to find on my hard drive: messaging.db and messaging.db-journal
Path of these files within my extracted backups, both old and new: \apps\com.textra\db
Command I ran to dump adb shell listing: adb shell ls -lR > C:\file_output.txt
Unfortunately all of the sms backup/restore utilities don't actually use the db file format utilized by Android. I am aware I can use SQL Lite to view the db's contents, but I'm interested in restoring these messages to my new operating system install.... Any insight or assistance would be most appreciated.
Click to expand...
Click to collapse
Hello together,
i hope you guys can help me out here. Today my Nexus 5 has been stolen. Now i want to prosecute but i need my IMEI. I am currently not at home but i got my laptop with a backup made by TWRP.
The folder looks like this:
http ://puu.sh/ nzexP/cfbff68baf.png (remove the spaces, i am new here thats why i cant post links yet)
As you can see there are some files and also two files efs1 efs2. But i dont know how to extract those or where to find my IMEI in that files.
Could someone please help me with that?
Thanks in advance
Edit: I found something in that recovery.log which might help to extract it? The log says:
Backing up EFS...
I:Backup command: 'dd if=/dev/block/mmcblk0p12 of='/data/media/0/TWRP/BACKUPS/05f111c90047784e/2015-08-18--14-50-33_cm_hammerheadcaf-userdebug_5.1.1_LMY48G_501//efs1.emmc.win' bs=1048576 count=3'
Click to expand...
Click to collapse
Maybe you guys now know which command the file was created with and you maybe know something for this in reverse to extract?
You don't have the box?
Call your carrier and they may have a record of the last IMEI for yoru nexus 5.
I have Bell Canada as my carrier and their system is able to read the imei from my phone.
Planterz said:
You don't have the box?
Click to expand...
Click to collapse
As i said, i do have the box but i am not at home where it is.
Isnt it possible to extract this backup files?
If you go to Google dashboard it will give you a list of all Android devices ever signed in to that account. Including IMEI.
Nandoid B/U with TWRP. Seems to backup just fine, but (immediately) restore on the same device causes boot loops.
It looks like the backup filed are something like win000, win001, etc that are actually tar files.
I'm wondering if I got into terminal mode on TWRP, could I just extract the tar files to restore the partition?? I've always used tar to b/u and restore /data/media.
FWIW, the device is a Pixel 3a running android 11 and the version 11 compatible TWRP flash file.
Help if you can...... Thanks
Hi @Boowho 1234,
seems you have accidentially posted in the wrong forum. I have moved your question to the Google Pixel 3a Questions & Answers forum.
regards
alecxs
moderator
alecxs said:
Hi @Boowho 1234,
seems you have accidentially posted in the wrong forum. I have moved your question to the Google Pixel 3a Questions & Answers forum.
regards
alecxs
moderator
Click to expand...
Click to collapse
sorry......
You're welcome! Regarding your question. May you clarify why you want to extract tar files manually - did the restoring via TWRP menu not extract the files successfully? Usually TWRP would throw an Error code in that case, and you can always have a look into /tmp/recovery.log
alecxs said:
You're welcome! Regarding your question. May you clarify why you want to extract tar files manually - did the restoring via TWRP menu not extract the files successfully? Usually TWRP would throw an Error code in that case, and you can always have a look into /tmp/recovery.log
Click to expand...
Click to collapse
Restoring using the TWRP restore option restored the files perfectly. But, upon rebooting back to SYSTEM just boot loops. No error code thrown, but I've not looked at recovery.log
It's probably because of one or more outdated files restored. try to delete this. you should also try to restore on formatted userdata partition (beware of / data/media = /sdcard is not included in backup)
/data/unencrypted
/data/misc/keystore
/data/misc/gatekeeper
/data/misc/vold
/data/system/locksettings.db*
You should ask TWRP maintainer to fix that issue.
I'm now using a Windows .bat file to backup ALL partitions on the device. It works great except throws errors on these two partitions : mmcblk0 and mmcblk0rpmb
I've read that these two partitions are not REALLY partitions at all, but are some sort of "special" files within the /dev/block directory.
The question is do I have a complete Nandroid back up without these two included?? Anyone??
Thanks