[HOW TO] do nandroid backup with Oreo Twrp?

suhel28

Senior Member
Oct 30, 2010
305
132
0
Since the data is encrypted in Oreo twrp how can we have a nandroid backup for our phone?

Edit : Thanks to AleNonsense for this guide


1. Back up your apps data with oandbackup or titanium (whatever works for you)

2. Backup your internal storage on your pc or sdcard (recheck if the oandbackup/titanium folders are copied. Most of the times they are in internal storage)

3. reboot in TWRP,

4. format /data,

5. flash forced encryption disabler from
this thread,

6. flash Magisk and then reboot.

7. Phone is decrypted and rooted

(for check, Magisk manager will have the keep force encryption box unflagged and TWRP will detect data partition dimension instead of the 0MB which it's shown while phone is encrypted)

Fingerprints Not Recognised

For some reasons our existing fingerprint are not erased but are not seen either too. Try registering different finger so that you can get rid of the register fingerprint screen and then try unlocking your phone with previously registered finger. It should work.
 
Last edited:
  • Like
Reactions: spiritwashere

AleNonsense

Senior Member
Jun 16, 2012
70
13
8
Wouldn't decrypting format your phone?
Yup, but you can always restore everything from HiSuite for once and then being able to do nandroids.

Also how do you do it?
I did it this way: reboot in TWRP, format /data, flash forced encryption disabler from this thread, flash Magisk and then reboot.
Phone is decrypted and rooted (for check, Magisk manager will have the keep force encryption box unflagged and TWRP will detect data partition dimension instead of the 0MB which it's shown while phone is encrypted).
 
  • Like
Reactions: suhel28

suhel28

Senior Member
Oct 30, 2010
305
132
0
Afaik it's not possible unless you decrypt your phone (at least that's what I did after many failed attetmps).
Yup, but you can always restore everything from HiSuite for once and then being able to do nandroids.


I did it this way: reboot in TWRP, format /data, flash forced encryption disabler from this thread, flash Magisk and then reboot.
Phone is decrypted and rooted (for check, Magisk manager will have the keep force encryption box unflagged and TWRP will detect data partition dimension instead of the 0MB which it's shown while phone is encrypted).
Thanks mate, i will try and let you know ??

Edit : It worked. Thanks a lot. You should make a guide in the forums for this.
 
Last edited:

spiritwashere

Member
Jan 22, 2013
31
10
0
Thanks!
it works like a charm! I'm on RR openkirin OREO.

Only two questions:
- Now the fingerprint sensor doesn't work very well when I try to save my fingerprint
- I cannot mount the vendor partition in TWRP, but I can browse it with the filemanager. Is it normal? If so, do I have to skip that partition during the backup?

Thanks again for sharing that info!
 

suhel28

Senior Member
Oct 30, 2010
305
132
0
Thanks!
it works like a charm! I'm on RR openkirin OREO.

Only two questions:
- Now the fingerprint sensor doesn't work very well when I try to save my fingerprint
- I cannot mount the vendor partition in TWRP, but I can browse it with the filemanager. Is it normal? If so, do I have to skip that partition during the backup?

Thanks again for sharing that info!
For some reasons our existing fingerprint are not erased but are not seen either too. Try registering different finger so that you can get rid of the register fingerprint screen and then try unlocking your phone with previously registered finger. It should work.

I don't know about vendor issue. I never back it up though.
 

spiritwashere

Member
Jan 22, 2013
31
10
0
You are right! With the other fingers, sensor works flawlessy also with the 'ghost' fingerprints.
This info could avoid hours of headache for others :)

Thanks again!

About the vendor partition, it seems is a normal TWRP behavior in Oreo with treble ROMs.

Great job mate! I searched for days how to make unencrypted data partition!
 
Last edited: