Raw backup /data partiton? - OnePlus 3 Questions & Answers

Hi,
I was on Nougat open beta 8 suddenly my devices reboot and I lost all my data.
I'm looking for a way to raw backup my /data partition to PC. I'm on F2FS format.

Related

[Q] [HELP] War with HTC

Hi
Im new on XDA and I have problem
I have war with HTC about updating Desire Z to android ICS or JB
HTC said the cant update 2.3.3 to 4.0 because you will lost your data
So I have idea how to protect data while istalling update to new android, but Im N00b and cant write program that will protect /data from wipe.
Possibilities:
1 Copy /data partition to sdcard as ./data
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
2 Dump /data to data.img/data.zip to your sdcard
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
3 Format /system , dump /data to .img or .zip , copy to ./system
Then format all partitions (EXCEPT /system)
Restore /data from /system/data.img
Add /data files from new ROM
Format /system
Add /system files
Im a programming N00b, so can You tell me:
1. Is it possible?
2. Can You write this script for any ICS Sense 4 (or 5) ROM? (HTC Desire Z)
Sorry for my English. Im a Polack from Poland
I installed Flinny's Andromadus CM10.1 over my previous CM7 installation I had been using for years, it worked perfectly fine with no data loss really. Quite a few of the settings transferred over surprisingly. HTC isn't interested in updating 3 year old devices let alone your carrier, your warranties are up and you own the phone by now. You're on your own and it's now the community's job to support it which is slowly petering out.
Go root and flash
Hi,
I switched very soon to Custom ROMs and had a long list of ROMs on my DZ from the Virtuous ROMs to Andromadus and slimBean. I'm now back to Andromadus Mimicry which is a Android 4.0.4 ROM (I tried Slimbean but it has no car mode, go for it when this doesn't bother you, it's 4.2).
Please keep in mind that the DZ is a rather old device and slow compared to the actual ones. HTC wants its Sense on Android which significantly slows the DZ down. So I went for more custom ROMs and have come Sense feeling eith the Apex Launcher. The only thing I really miss is the Sense contacts app that aggregates different addresses of a user (Exchange/Xing/LinkedIn/Facebook/Twitter) into one single contact. I didn't find a replacement for that.
Re. data: Which unique data do you have on the phone? Most of my data sits on the SD card and that is not affected when you flash a new ROM. All the calendar/contact/mail data can be re-synced from Google or Exchange or whatever you use. Use Titanium Backup and make Backups with Clockworkmod and you're perfectly fine. I tried out a ROM last evening and was back to my old ROM and up again in a hour. A Nandroid backup keeps the complete state of the phone so it's easy to roll back.
Apart from this (and some waiting moments here and there) a DZ with a Custom ROM is absolutely useable. I'm a 48 year old freelancer who uses the phone for work so I need a reliable phone and a keyboard for Emailing - and I've got that now.
Have fun and use all the Howtos to root and flash your phone
Cheers, Ralf
FotelPL said:
Hi
Im new on XDA and I have problem
I have war with HTC about updating Desire Z to android ICS or JB
HTC said the cant update 2.3.3 to 4.0 because you will lost your data
So I have idea how to protect data while istalling update to new android, but Im N00b and cant write program that will protect /data from wipe.
Possibilities:
1 Copy /data partition to sdcard as ./data
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
2 Dump /data to data.img/data.zip to your sdcard
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
3 Format /system , dump /data to .img or .zip , copy to ./system
Then format all partitions (EXCEPT /system)
Restore /data from /system/data.img
Add /data files from new ROM
Format /system
Add /system files
Im a programming N00b, so can You tell me:
1. Is it possible?
2. Can You write this script for any ICS Sense 4 (or 5) ROM? (HTC Desire Z)
Sorry for my English. Im a Polack from Poland
Click to expand...
Click to collapse
What kind of data is it that you really want to save?
Contacts, Call Logs and SMS can be easily saved by apps available on the Play Store. Super Backup, SMS Backup + for example. Your contacts get synced to Gmail so you don't really need to save those.
If you are worried about application data, get an app like Titanium Backup Pro, root your phone and back the whole lot up. All the app settings and data gets backed up to your SD card.
Do a Nandroid backup in any case. You can restore stuff from that too. Wipe, flash new ROM and restore everything from Titanium one by one. Is there anything else specifically that you don't want to lose?
War with HTC
Yeah, I know
By "Data" I mean whole /data partition (contacts, apps, appdata etc.)
My friends have root on their DZ's, but they dont want to backup everything before installation of new ROM, and install everything again on new ROM (ex. Migration from GB to ICS/JB)
I think its really annoying
FotelPL said:
Hi
Im new on XDA and I have problem
I have war with HTC about updating Desire Z to android ICS or JB
HTC said the cant update 2.3.3 to 4.0 because you will lost your data
So I have idea how to protect data while istalling update to new android, but Im N00b and cant write program that will protect /data from wipe.
Possibilities:
1 Copy /data partition to sdcard as ./data
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
2 Dump /data to data.img/data.zip to your sdcard
Then format /data /system /boot /cache /dalvik-cache etc
Copy system files to /system and /data
Restore /data from sdcard
Add /data , /system files
3 Format /system , dump /data to .img or .zip , copy to ./system
Then format all partitions (EXCEPT /system)
Restore /data from /system/data.img
Add /data files from new ROM
Format /system
Add /system files
Im a programming N00b, so can You tell me:
1. Is it possible?
2. Can You write this script for any ICS Sense 4 (or 5) ROM? (HTC Desire Z)
Sorry for my English. Im a Polack from Poland
Click to expand...
Click to collapse
You have no choice but to loose data such as Games etc... BUT you can backup your contacts, appoitmnets (Calendar) and messages by using
SMS Backup+ for your messages and call logs and even MMS
Sync your phone with google to backup contacts and calendar remonders (I know you know how to do that )
War with HTC
I know how to do that, but AppData backup dont exist, sms too but contacts are incolmpete (In Google backup, of course)
FotelPL said:
I know how to do that, but AppData backup dont exist, sms too but contacts are incolmpete (In Google backup, of course)
Click to expand...
Click to collapse
There are many ways to back up app data, many ways to back up contacts, really I can't think of what you can't back up completely
Google completely backs up contacts so long as its synced to gmail
And to answer the op this is a standard song and dance that OEMs give when they don't want to continue developing for an old device, there are many ways they could solve the app loss issue, even if they didn't they could but a build on their website you have to download as an RUU with disclaimers and not an ota. This way they could keep both groups of users happy
Unfortunately they don't find it t be in their best interest supporting old devices, one of many reasons xda and other sites exist
Sent from my Nexus 4 using Tapatalk 2

F2FS System wide, questions...

Anyone here experienced with system partitions and dependancies?
Im trying to run my n7105 in f2fs system wide.
ive found a few small glitches that cause me greif.
1. if i format the cache to f2fs. twrp cant mount data afterwards.
installing roms works fine but you lose your modem/baseband. especially if its a pre 4.3 modem.
2. if i format my sdcards to f2fs, very difficult to mount them as MTP for pc file transfer.
is there something im doing wrong with cache file system?
maybe you just cant have it f2fs? ext4 works fine with the rest of the system being f2fs.
also. i just found out i can stock rom then restore backup and it formats partitions back to f2fs for me.
no more double flashing and formatting.. yay.
any other tips or tricks when dealing with system partitions would be great.
also. whats the deal with f2fs and encryption being a problem?

system partition formatted f2fs now its gone in TWRP

Hey dudes,
accidentially i formatted /system in f2fs, TWRP crashed and since then its gone.
gyazo.c o m/d977dd6dfe5d4e2f78f10ac2f0695609
Thats the output of the fstab file
I see no way how to restore partitions, just for SD card, someone knows what to do?
greetings
celtaV
celtaV said:
Hey dudes,
accidentially i formatted /system in f2fs, TWRP crashed and since then its gone.
gyazo.c o m/d977dd6dfe5d4e2f78f10ac2f0695609
Thats the output of the fstab file
I see no way how to restore partitions, just for SD card, someone knows what to do?
greetings
celtaV
Click to expand...
Click to collapse
TWRP / Wipe / Advanced Wipe / Format Data
Reboot Recovery
Flash a Rom
If that doesn't work you'll need a RUU.zip
rename the RUU.zip to 0PJAIMG.ZIP, place it on a ext sd card formatted in FAT32 (a 16 or 32gig one should work), reboot into DOWNLOAD_MODE, agree and it should flash.
I tried to install a RUU but i have not renamed it to 0PJAIMG and pushed it on the device
anyway, i got help by the #twrp IRC channel, i formatted the /system partition with ext4 via adb again, because it was emmc (there was no filesystem on it) and not f2fs.
greetings
celtaV

[Q] How change file system on Lineage OS ROM?

Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
LLKS said:
Hi,
Once I read that using determinate file systems on the diferents partition cloud lead to some benefits (better performance/less degradation) and I want try to change the File System, but I ask before get a brick.
The idea is to get this:
/storage/emulated/0 formatted in esdfs
/data formatted in f2fs
I use TWRP and official Lineage OS 14. In TWRP there is an option to change file system but i dont know if after change FS is necessary to install again the ROM and if do this would revert the FS to Ext4.
Sorry for my English.
Click to expand...
Click to collapse
Full backup (in TWRP) - factoryreset + change FS (in TWRP of course) - restore backup. Make sure you have your backup put on the SD, and have a copy of the full SD somewhere safe. Normally, flashing new ROM's afterwards would keep the FS intact.
Cheers

[HowTO] Remove "/data" partition encryption SM-T585 Samsung Galaxy TAB A6 10.1 (2016)

[HowTO] Remove "/data" partition encryption SM-T585 Samsung Galaxy TAB A6 10.1 (2016)
Hello,
I have downgraded to Android 6.0.1 my SM-T585 and found very frustrating the /data partition encryption, i tried to reformat the partition through TWRP but after reboot the OS re-encrypts the partition and the setup wizards starts again.
Fortunately i found the solution, for this you need to unpack boot.img edit fstab.samsungexynos7870 file and repack boot.img
The only modification required is to remove the `encryptable=footer` at the end of the mounting line of the USERDATA section
basically modify this line
`/dev/block/platform/13540000.dwmmc0/by-name/USERDATA /data ext4 nosuid,nodev,noatime,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check,encryptable=footer`
into this one
`/dev/block/platform/13540000.dwmmc0/by-name/USERDATA /data ext4 nosuid,nodev,noatime,noauto_da_alloc,discard,journal_async_commit,errors=panic wait,check`
After you write back the new boot.img on your T585 you will need to format the /data from TWRP and wipe cache again, after reboot to system the /data partition will be left un encrypted.
Best regards,
Marc

Categories

Resources