TWRP Backup to Image Files - Pixel C Q&A, Help & Troubleshooting

I've successfully rooted my Pixel C running Android 7.0, booted into TWRP, and made a set of backup files. These are 11 files with extensions like .win, .win.md5, .win000, .win001, and .win001.md5. Is there a way to convert these to image files?

[email protected] said:
I've successfully rooted my Pixel C running Android 7.0, booted into TWRP, and made a set of backup files. These are 11 files with extensions like .win, .win.md5, .win000, .win001, and .win001.md5. Is there a way to convert these to image files?
Click to expand...
Click to collapse
what is the purpose of creating image files ?
not sure if there is an tool existing .. but you can build an image file by hand.
rename the twrp backup files and add the extension ".tar" -> data.ext4.win000.tar
( data.ext4.win003 -> data.ext4.win003.tar )
untar all the files into one folder.
build a new image file.
as well you can use "dd" command .. to make a full dump of the partition.
this will be a big image file (approx. 25GB) .. the complete data partition.
just shrink the raw image afterwards .. (resize2fs -M)
If you have encrpyted data partition you need to decrypt ..
anyway .. the most important partition is "data" .. make a backup of data only.
flash the other partitions from stock/custom images and use fastboot.
hope this helps ...

Related

how to restore a nandroid back up rar file

hello. i need to get back to stock im on cid htc 001
h,boot 1.39.0000
radio-5.1204.162A.29
3.20.401.1
what i think iv found out is that there is no ruu out for this, iv found a nandroid bk up but it is a rar file. this is what im stuck on how to restore with it
Open the rar with winrar/winzip/7zip and extract all the files to your pc... and now transfer all the files to your phone in this directory /clockworkmod/backup/02-06-2013/ and put the boot.img file in the fastboot folder.
Go to fastboot mode and then flash the boot.img and then erase cache... Go to recovery and then wipe everything! and finally restore backup and then reboot!
PS: I'm assuming you have a backup made with CWM recovery!
CWM recovery made 2 rar file
vin4yak said:
Open the rar with winrar/winzip/7zip and extract all the files to your pc... and now transfer all the files to your phone in this directory /clockworkmod/backup/02-06-2013/ and put the boot.img file in the fastboot folder.
Go to fastboot mode and then flash the boot.img and then erase cache... Go to recovery and then wipe everything! and finally restore backup and then reboot!
PS: I'm assuming you have a backup made with CWM recovery!
Click to expand...
Click to collapse
hi there i used CWM Munjeni v5.5.0.4 i did was Used back up and restore option> in there i used backup option and the backup process begun > after backup in CWM folder i got an folder named backup> in that backup folder there was another folder named ""2014-04-11.17.41.43"" i guess its data and time used as name of the folder and in that folder this actual 4 backup files were there which are two rar files named "data.ext4.rar" and "system.ext4.rar" also other two files are ""boot.img" and ""recovery.img" .
FYI after backup i had fashed and installed CM10 for HTC Desire C .
But just in case if i want to get back to original stock ROM then how do i get back to it using these backup files i have ? and i what sequence i should use these files?
can any1 help? has any one experienced this type of backup and restored using these type of files?

[Q] how to restore .backup file.

I Backup-ed my HTC 816 using android system recovery - Just like CWM.
The file name ends with .Backup, and i tried to it back restore but a error is coming and i unable to restore my data . attached screenshot
i wanted to extract some files from it.. How to Extract data from .Backup file ? - Created with android system recovery

Root iNew U3

Hey guys, i like to root my new iNew U3 with android 5.1
So i used several programs like Kingroot, oneclickroot aso. but no apk works.
May the device is simple not to root atm?
Thanks Brook
I have tested all available root apps, no success.
I have Readbacked boot, recovery and system images, boot and recovery have special format, not possible to unpack and repack by available tools, mainly repack is problem. System is native EXT4 mountable under linux, injected by supersu files and modifications, but because of SELinux files are not available to exec under running android. I am not able to set right files contexts under Ubuntu.
I will let you know if find solution.
Hi guys, I bought this phone ( Inew U3 ) on Ebay .
The phone is not so bed!! But I can't move any app on the microSD !!!!!!
In any case app can move on SD, It is that the main memory is set to the phone, whether the main memory is set to SD !!!!!
Even with third-party app, type Link2SD you can move apps to the SD, are always on the phone memory !!!
Also you can not do root in any way !!
Solutions?
OK, found way how to root this phone.
Method is "simple":
First OTA update to version iNew_U3_5.1_V1.1.0, not sure if root survive OTA. Do factory reset.
Use SP Flash Tool to backup system.img,
mount is under linux to /system folder as ext4, it is pure ext4.
Unpack latest UPDATE-Supersu package.
Open file update-binary file as text, do all as in instructions.
Umount /system folder after finished.
Flash system.img back to phone.
If not shown reinstall SuperSU app from Playstore.
I will share modified system.img with scatter on needrom later tomorrow.
EDIT: Dwnload link: http://www.needrom.com/download/inew-u3-prerooted-system-img/#
I tried it, but it didnt work.
Everytime i extract the Zip i get a failure, that the file is corrupt?
Is there any other way?

Zip a trwp backup

Is there an easy way to created a zip of a trwp backup using only the phone? I'm wanting to do a zip of my tw ROM for multiboot.
Sent from my SM-N910V using XDA-Developers mobile app
rmc198501 said:
Is there an easy way to created a zip of a trwp backup using only the phone? I'm wanting to do a zip of my tw ROM for multiboot.
Click to expand...
Click to collapse
ummmm dude it is zipped . that is the file extension for every backup I've ever seen. you mean (I think) a nandroid backup. it's a backup that includes all system aspects including settings.
rmc198501 said:
Is there an easy way to created a zip of a trwp backup using only the phone? I'm wanting to do a zip of my tw ROM for multiboot.
Click to expand...
Click to collapse
With twrp 3.1.0 we can backup straight to our PC in a signal zip file.
First enable ‘USB debugging’ from setting>developer option>. To enable Developer Options, go to About phone and tap the Build Number 7 times.
Reboot your device into TWRP Recovery.
Now create a new folder on your PC, where you want to save the TWRP backup files.
Open the command window by pressing and hold the ‘shift’ key and right-clicked anywhere in that folder.
In the command window type the following command to create TWRP backup.adb backup --twrp
The above command will bring up the GUI and allow you to choose partitions from the backup page.
Or you can also take backup of particular options with below commandadb backup -f <filename> --twrp <options>
where options are--compress: compress data system: backup system cache: backup cache data: backup data boot: backup boot etc for each partition.

create flashable zip to write data partition

i am stuck with a problem and need your help, i created a data partition backup from TWRP, but when i tried to restore it gives an error extrac(tor) fail 255 i understand the data win files got corrupted, but i used winrar to extract all the data win files & got /data folder with most of the files inside, now i want to create a twrp flashable zip to write the extracted data to data partition of my htc10, i dont know how to create update script for mounting and writing to data partition if someone can please help in creating a simple zip file with correct meta-inf folder i'll copy my extracted files & flash to get my data back. please do reply guys i am counting upon you fellow members

Categories

Resources