Twrp Backup system vs system image - Nexus 6P Q&A, Help & Troubleshooting

I just went to backup my stock ROM and noticed that twrp now lists system and system image. What is the difference between the two / do both need to be backed up and restored. Also what is contained in the vendor partitions.
Thanks
Sent from my Nexus 6P using Tapatalk

Nath5 said:
I just went to backup my stock ROM and noticed that twrp now lists system and system image. What is the difference between the two / do both need to be backed up and restored. Also what is contained in the vendor partitions.
Thanks
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
http://www.androidpolice.com/2015/0...creating-ota-friendly-system-images-and-more/

Related

Clockworkmod not backing up whole rom

Hi,
I am trying to backup my whole rom with the clockworkmod 6.0.1.0 however the folder size of the backup is only around 30MB. Does this only backup recovery, system and boot.
If there a away I can backup my whole rom
mulkman said:
Hi,
I am trying to backup my whole rom with the clockworkmod 6.0.1.0 however the folder size of the backup is only around 30MB. Does this only backup recovery, system and boot.
If there a away I can backup my whole rom
Click to expand...
Click to collapse
This is because as of cwm 6, it saves backups as blobs. When you backup, it will only backup what is different from other backups, and keep the rest as a general backup in a blob.
This is done to save space and reduce the time it takes to backup
So I wouldn't worry, it will restore fine providing you don't delete the blobs it needs
That's my understanding of it anyway
Sent from my Nexus 7
mulkman said:
Hi,
I am trying to backup my whole rom with the clockworkmod 6.0.1.0 however the folder size of the backup is only around 30MB. Does this only backup recovery, system and boot.
If there a away I can backup my whole rom
Click to expand...
Click to collapse
You can change your backup format to tar and then backup. It'll skip creating blobs and backup in tar files.
UPDATE: Sorry, this isn't working for Nexus 7
Sent from my GT-I9103 using xda app-developers app
The problem I have with the blob method is that CWM was using 2 GB of storage for just two backups. So I switched to TWRP but now that I know about the tar option in CWM, I'm switching back.
Edit:
emanoj.i9103 said:
You can change your backup format to tar and then backup. It'll skip creating blobs and backup in tar files.
Click to expand...
Click to collapse
I reinstalled CWM (Pro) but I just cannot find anywhere to change the backup setting to tar. I looked in the app, app settings, and recovery.
Can you please provide details on how to set the backup mode to tar ?
Sent from my Nexus 7
BillGoss said:
The problem I have with the blob method is that CWM was using 2 GB of storage for just two backups. So I switched to TWRP but now that I know about the tar option in CWM, I'm switching back.
Edit:
I reinstalled CWM (Pro) but I just cannot find anywhere to change the backup setting to tar. I looked in the app, app settings, and recovery.
Can you please provide details on how to set the backup mode to tar ?
Sent from my Nexus 7
Click to expand...
Click to collapse
Same here Ive checked all the menus cannot find a option to select tar as backup
BillGoss said:
The problem I have with the blob method is that CWM was using 2 GB of storage for just two backups. So I switched to TWRP but now that I know about the tar option in CWM, I'm switching back.
Edit:
I reinstalled CWM (Pro) but I just cannot find anywhere to change the backup setting to tar. I looked in the app, app settings, and recovery.
Can you please provide details on how to set the backup mode to tar ?
Sent from my Nexus 7
Click to expand...
Click to collapse
mulkman said:
Same here Ive checked all the menus cannot find a option to select tar as backup
Click to expand...
Click to collapse
Sorry People, I just got my Nexus 7 in hands recently. My early phone is a Galaxy R which has this option of choosing backup format as tar in CWM 6. Thought it might well be the same for Nexus 7. Sorry again for posting misleading information. Hope not to repeat again.

Nandroid File Location

Got my Nexus Thursday so rooted and flashed recovery (twrp) Friday and did a nandroid in prep to flash aosp ROM but when I went looking for the file I noticed its in /data/media/tarp/backups as opposed to /sdcard/tarp/backups. Is there a way to change the directory? I created the backups folder under the trwrp on the sdcard but the backup didn't save there where I did a 2nd nandroid as a test. Do I need to fix permissions or anything?
Sent from my Nexus 7 using xda app-developers app
/sdcard is a link to /data/media. They are three same file.
Just make sure you use the latest version in TWRP as it properly handles the changes in directories introduced in 4.2.
Sent from my Nexus 7
Cool. I downloaded the image from the twrp site and installed via adb so it should be correct. I guess I can install Goo Manager and make sure its up to date. I was concerned that if I wipe /data before a restore that I'll delete the nandroid.
Sent from my PG41200 using xda app-developers app
Note that in TWRP a factory reset will format /data EXCLUDING /data/media. This means it won't wipe your /sdcard.
Sent from my Nexus 7
BillGoss said:
Note that in TWRP a factory reset will format /data EXCLUDING /data/media. This means it won't wipe your /sdcard.
Sent from my Nexus 7
Click to expand...
Click to collapse
Thanks. That is exactly what I was concerned with so great to know.
Sent from my EVO using xda app-developers app

[Q] using twrp to back up efs

I have a quick question...I have an i337m and have backed up my efs with twrp and efs pro. I am noticing a big difference in sizes. TWRP backs up sizes that are a few bytes and efs pro is just a little over 2 megs. Is this correct due to compression differences? I just want to be sure I have a reliable back up
I have a similar sized twrp backup of efs. I haven't had to use it so can't tell you for sure if it'll work but I trust twrp. Mine is 53kb.
Sent from my SAMSUNG-SGH-I727 using xda app-developers app
efs is just some personal data/phone info--afaik--why 2mb
my bu is 94kb
i don't think twrp compresses
How can I backup efs using TWRP?
adeelhayat90 said:
How can I backup efs using TWRP?
Click to expand...
Click to collapse
In backup, just tell it to backup the efs partition only. Twrp gives you options for the different partitions. You just check the box
jd1639 said:
In backup, just tell it to backup the efs partition only. Twrp gives you options for the different partitions. You just check the box
Click to expand...
Click to collapse
I think there is no efs on nexus 4
Sent from my Nexus 4 using Tapatalk 4
adeelhayat90 said:
I think there is no efs on nexus 4
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
That I wouldn't know.
jd1639 said:
That I wouldn't know.
Click to expand...
Click to collapse
I checked but there was no efs partition.
Sent from my Nexus 4 using Tapatalk 4

[Q] [CWM] delete data part of backup

I was wondering if it is possible to delete parts of a nandroid backup? I basically only want the system, boot and recovery images and NOT the data (2.5 GB) and cache partitions. I know I can restore parts of a backup, but I just don't want them around and take up space?
The bottom line is that I would like to be able to restore a clean system img, and then use TB to restore apps and data. Now the data is back-upped in duplicate which is unnecessary?
Why not just flash the ROM then or am I missing something?
Sent from my Nexus 4
pepdavies said:
Why not just flash the ROM then or am I missing something?
Sent from my Nexus 4
Click to expand...
Click to collapse
I run the N4 stock Android rom. I don't think there is a version I can flash via CWM?

Duplicate partitions?

So I just updated TWRP (3.1.0-7 ), converted to F2FS, and flashed the latest build of PureNexus.
When booting into TWRP to perform a backup, there seem to be duplicate partitions (specifically System and Vendor), whereas before this was not the case. Although if I go to the Wipe option within TWRP, there are no duplicate partitions listed. Is this an issue within TWRP or by design? or have I jacked something up?
[x] = Selected by default
[x]Boot
[x]System
System Image
Vendor
Vendor Image
[x]Data (excl. storage)
Cache
Recovery
EFS
jacksheadache said:
So I just updated TWRP (3.1.0-7 ), converted to F2FS, and flashed the latest build of PureNexus.
When booting into TWRP to perform a backup, there seem to be duplicate partitions (specifically System and Vendor), whereas before this was not the case. Although if I go to the Wipe option within TWRP, there are no duplicate partitions listed. Is this an issue within TWRP or by design? or have I jacked something up?
[x] = Selected by default
[x]Boot
[x]System
System Image
Vendor
Vendor Image
[x]Data (excl. storage)
Cache
Recovery
EFS
Click to expand...
Click to collapse
That's normal Bro. I think you misworded what you said. They aren't duplicates as one is the system and one is the image for the system and same for the vendor. I can't remember why that shows but maybe it is because f2fs works different than ext4 with partitions.
Thank you. Sorta kinda slightly almost assumed that was the cause, as I understand the system partition has a fallback (sure that's the technical term for it) So maybe it's the newer TWRP being more capable of showing these - as I do not remember seeing them on prior versions.
jacksheadache said:
So I just updated TWRP (3.1.0-7 ), converted to F2FS, and flashed the latest build of PureNexus.
When booting into TWRP to perform a backup, there seem to be duplicate partitions (specifically System and Vendor), whereas before this was not the case. Although if I go to the Wipe option within TWRP, there are no duplicate partitions listed. Is this an issue within TWRP or by design? or have I jacked something up?
[x] = Selected by default
[x]Boot
[x]System
System Image
Vendor
Vendor Image
[x]Data (excl. storage)
Cache
Recovery
EFS
Click to expand...
Click to collapse
Those have always been in TWRP for both 2015 Nexus devices.
Sent from my Nexus 5X using Tapatalk
SlimSnoopOS said:
Those have always been in TWRP for both 2015 Nexus devices.
Sent from my Nexus 5X using Tapatalk
Click to expand...
Click to collapse
You're wrong. Or I'm seeing things. More likely I'm seeing things.
Thank you
jacksheadache said:
You're wrong. Or I'm seeing things. More likely I'm seeing things.
Thank you
Click to expand...
Click to collapse
You are seeing things. The images have been there for years.
jacksheadache said:
You're wrong. Or I'm seeing things. More likely I'm seeing things.
Thank you
Click to expand...
Click to collapse
Hello, i think those are here since Nexus 6P release. Anyway, if you want a "proper" explanation of the difference between system/system image, here it is:
https://twrp.me/faq/whattobackup.html
Cheers...

Categories

Resources