Android O without wiping /data and force encryption - Google Pixel Questions & Answers

Hi,
I want to ask you guys, is it possible to update without force encryption and formatting /data. Any way to keep all the Files.
I try this:
Reboot recovery & do a "factory reset"
Flash Bootloader & Radio from Oreo via fastboot
Flash Android Oreo (fastboot update image.zip)
After successful flashing I boot directly into bootloader
Flash SuperSU (sr3) & reboot
Result see picture
My question:
SuperSU disables Force encryption and when I follow the Android recovery and format (last option). The phone stays unencrypted?

Related

SuperMan-Rom V1.8.1 Aroma - AP will not boot (integrity verification failed)

SuperMan-Rom V1.8.1 Aroma - AP will not boot (integrity verification failed)
On My S7 edge, thought I'd give it another go at trying to root since this rom claims to be almost stock with an option to get rid of all the samsung rubbish (like s-voice) that you don't use ever.
Followed all the steps to root, ON STOCK OS, entered developer mode, allowed OEM, allowed USB debugging, turn off verify installs by USB abd. Now It seems the phone is prepped and ready to go.
Flashed TWRP with latest ODIN 3.11, made a backup of stock OS, back in download mode and flashed required bootloader and modem (BL and CP), boot again into recovery to flash AP (SuperMan-Rom_SM-G93XF_V1.8.1.zip). Went through all the process and it seems fine until 1st boot.
***Every try is showing "Verification Failed, Unable to restart your device. The Integrity verification has failed. You need to reset your device to factory default settings. This will erase all your data."***
Have I Done something wrong to be showing this error every time????
I had the same error message. The cause was that my device was encrypted. TWRP can't handle encryption on the S7 yet. Reboot into TWRP and look at the logs. If it says it couldn't mount /data, then this is probably the same issue I had.
To fix it, I restored the backup OS from TWRP, made a backup of all apps and data to external SD using Titanium Backup and wiped the encrypted partition in TWRP (which removes the encryption and all data). There may be better ways, but this one worked for me.
@Davebnly You need to take backup of the Internal Storage data and then do a wipe using TWRP, Since TWRP cannot handle the Samsung's Encryption the only way to bypass this is by formatting again. This is already mentioned in the Official TWRP Installation post here.
I have this same error after flashing a custom ROM. I did not take a backup of the old stock ROM as it's a new phone and I didn't think I needed to!
Can anyone tell me, if I flash the stock ROM will it let me into the device again?
Is there anyway to wipe the encrypted drive without installing stock ROM?
*UPDATE: I just logged into recovery and did a factory reset and it loaded the custom ROM. Not as lengthy a solution as I expected!
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler https://build.nethunter.com/android-tools/no-verity-opt-encrypt/ , Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Shameera_N said:
Do these exact steps, Do not miss.
Click to expand...
Click to collapse
Man, you just saved my life!
Thanks you very much.
Shameera_N said:
Do these exact steps, Do not miss.
1. Reboot to recovery.
2. Do a data wipe (WIPE>FORMAT DATA) And Say "Yes"
3.Go to Reboot and Reboot back to recovery.
4.Download DM Verify Disabler , Get the latest.
5.Copy in to the phone and flash it.
6.Go to Reboot and Reboot back to recovery.
7.Now Flash any rom as you wish.
8.Make Sure to Wipe Dalvik, Cache after.
Enjoy!!
Click to expand...
Click to collapse
Hi, I'm sorry but what does all that mean? Reboot to recovery??? The only option on my phone is the button to RESET DEVICE and I have two weeks worth of photos and videos that I have not backed up yet! Please help!!! FYI, I have the same exact message telling me to erase all my data because I need to reset my device. Nooo, I am so scared right now.

wiping system on TWRP

hello all
I want a clean system install through TWRP but want to keep my apps and data
Is it safe to do the following :
1-boot into TWRP wipe system
2-boot to fastboot then install TWRP
3-boot into TWRP flash new system
4-flash TWRP zip then falsh magisk
Am I correct ? would I lose data if I do this ?
thanks
Dr.A said:
hello all
I want a clean system install through TWRP but want to keep my apps and data
Is it safe to do the following :
1-boot into TWRP wipe system
2-boot to fastboot then install TWRP
3-boot into TWRP flash new system
4-flash TWRP zip then falsh magisk
Am I correct ? would I lose data if I do this ?
thanks
Click to expand...
Click to collapse
You don't need to flash twrp.zip if you're going to flash custom rom i think... Only the flashing of official oos will restore stock recovery (correct me if i'm wrong)
If you are just flashing the system partition (system.img) then you will not lose twrp. If you are flashing the full official rom, you will lose twrp. On a custom rom you won't lose twrp either.
You will only lose data if unlocking the bootloader or relocking it. Also, if you fastboot flash-all using the fastboot zip on xda you will lose all data too. Obviously if you select wipe data in twrp you lose it there too.

GS7 herolte keep encryption after DATA erase in TWRP

Hi there
I have flashed stock ROM 8.0, with the last Odin
After that I flash TWRP
I erase data / swipe phone to give TWRP the right to modify the phone
It's ok, TWRP can flash .zip, I flash Magisk
The phone reboot like after a factory reset, but the problem is, the phone force encryption again, because when I go back to TWRP after that, the partitions are read only....
It was ok with the 7.0 stock rom btw, but I don't knox what to do with this problem on 8.0. I have try no-verity-opt-encrypt-6.0 and 5.1 but doesn't fix it.

NO OS Found IN ONEPLUS 6

Hi Team,
Today i was flashing custom os in oneplus 6 via one youtuber videos
He has selected TWRP wipe menu
Advance -> system , data , Davic/ cache
i did same then he installed the os i also did the same and flash twrp
After doing roboot the system TWRP given me error no os was installed i ignored that message and proceed to next
After system was rebooted im only getting fastboot mode and no other options also im unable to install now any TWRP in my system
can some one help me please
Maybe try format data.
Go to wipe then advance wipe and format data.
If it doesnt work then use msmtool to go back to stock rom and start again.
Don't trust every YT videos you see, NEVER wipe system on op6 or you get this result.
Now you can reinstall TWRP from fastboot and reflash stock OOS twice, if it did not work try to flash stock fastboot firmware
here is a simple solution..
Reboot Recovery
Wipe Data, System, Cache
Flash OOS & TWRP
Reboot into recovery (Ignore No OS Installed Warning)
Flash OOS & TWRP Again
Reboot
Done
if you want to Flash Custom ROM, Here is guide
Reboot Recovery
Wipe Data, System, Cache
Flash OOS & TWRP
Reboot into recovery (Ignore No OS Installed Warning)
Flash OOS & TWRP Again
Reboot into Recovery
Flash Custom ROM & TWRP
Reboot into Recovery
Flash Gapps, Magisk Latest & No-Varity zip is had data decrypted
Reboot
Done
Hitman478™ said:
Don't trust every YT videos you see, NEVER wipe system on op6 or you get this result.
Now you can reinstall TWRP from fastboot and reflash stock OOS twice, if it did not work try to flash stock fastboot firmware
Click to expand...
Click to collapse
Any reason why we shouldn't delete system partition in op6?
Sent from my ONEPLUS A6000 using XDA Labs
Bintang Krisna said:
Any reason why we shouldn't delete system partition in op6?
Sent from my ONEPLUS A6000 using XDA Labs
Click to expand...
Click to collapse
The system also holds the recovery....i made that mistake once and i had to use MSM tool to restore my phone. Big waste of my time to a dumb mistake.

[Solved] Help to flash custom ROMs

Hello everybody,
I bought a Oneplus 7 Pro a few days ago and I'm preparing it for my daily usage. It's my fourth Android smartphone, and the third Oneplus. So far, I managed to flash everyone of them, with no major issues.
And then, the Oneplus 7 Pro suddenly appeared
I used this tutorial to unlock the bootloader and flash the custom recovery.
From my understanding, the custom recovery is flashed in the Recovery Ramdisk and available for both A & B slots.
For now, I have A and B slots with stock OSS, unlocked bootloader, custom recovery and Magisk. All of this is working.
There began my problems. I want to flash a custom ROM without Gapps and I fail to do it. All instructions around ROM threads seems different to me, I don't get the thing about A & B slots, when I flash one rom, it boots as usual on the stock ROM, if I flash both slots, It causes bootloops and if I manage to launch the recovery, my internal storage isn't detected and I can't restore any backup.
I already used MSMDownload to restore the phone completely once.
Can somebody explain to my dumb person how to do it proprely ? Thanks in advance ! :fingers-crossed:
TL;DR : I fail to flash a custom ROM and make it work.
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
djhulk2 said:
Yes I had same issues when rooted, it means you lost root. You can try tool all in one to flash recovery and magesik via fastboot. If that doesn't restore your access, on twrp you will have to type in format, then mount, then add rom to storage(this method wipes everything beware)
Click to expand...
Click to collapse
For now, my phone is working nicely. But that's the process of flashing a new ROM that fails. Recovery and Magisk are already and working.
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
WesTD said:
Factory reset
Flash rom
Flash twrp installer
Reboot recovery
Format data
Reboot system
i boot all roms with these steps
Click to expand...
Click to collapse
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
draentor said:
Thanks, I will try.
When you flash the ROM, does TWRP tell you that if you want to continue you need to reboot recovery ? If so, do you ? Do you reboot recovery on the same slot, or do you flash both ?
Click to expand...
Click to collapse
Nope, it doesnt tell you anything. Just reboot recovery from reboot menu. Don't touch the slot options
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
draentor said:
Thanks for your advices.
I'm trying right now, here's my steps :
- Wipe Data, Cache, Dalvik Cache (the standard Factory Reset)
- Install ROM : TWRP logs show that he's flashing on inactive slot A, then B. After that logs said " To flash additional zips, please reboot recovery to switch to the updated slot ". I'm going back on the menu
- Install TWRP Installer like previously
- Reboot Recovery : TWRP ask me if I want to install the TWRP App, I dismiss. After reboot of the recovery, it asks if I want to keep System Read Only, I swipe to allow modifications
- Wipe Data : Can't do it because TWRP is unable to mount storage. And after further investigations, I'm now on slot A, not B as before.
- Reboot recovery to slot B
- Wipe Data on slot B
- Reboot system
And It still booting on the stock Oxygen OS Rom, not the custom one installed before. I'm lost
Click to expand...
Click to collapse
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Joker123## said:
The problem is that you are not performing factory reset.
Wipe data is not enough,you gotta go to wipe-format data-enter yes and swipe.
That is why you are getting bootloops and twrp unable to mount storage problem.
A/B is pretty simple.
You got two slots for many partitions like system vendor boot and all,but a single data partition.
Flash a rom from one slot,it always gets flashed to the other slot no matter what.So next time you reboot to recovery or system it's gonna be on the other slot.So here is the problem..one rom cannot decrypt data which was initially encrypted by another rom..so you gotta perform a data format instead of wipe.Thats it.
Click to expand...
Click to collapse
Thanks for the explanation !
WesTD said:
lol i wrote all steps but you didn't do all of them. Use swipe to wipe for factory reset and you didn't format data
Click to expand...
Click to collapse
Well yes, I didn't understood the difference between Wipe and Format Data.
So let's resume :
Unlock Bootloader
Advanced -> Install Recovery Ramdisk : Install TWRP
Install -> Flash TWRP Installer
Install -> Flash Magisk
Reboot -> System : Reboot on stock OxygenOS Rooted
Then
Wipe -> Factory Reset : Wipe Data, Cache and Dalvik Cache, that means you just have to swipe on TWRP.
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
is wiping internal storage compulsory?
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
How would you do it ? This is an open discussion, I can't find one and only way of doing it
aaryan45 said:
is wiping internal storage compulsory?
Click to expand...
Click to collapse
Not wiping.. formatting..that is compulsory if your current data is encrypted
After multiple tries to verify the process :
Wipe -> Factory Reset + : Wipe Data, System, Cache and Dalvik Cache
Install -> Flash ROM : Use the install function and install the ROM
Install -> Flash TWRP Installer : Don't reboot, go back and install as the previous step
Reboot -> Recovery : Reboot TWRP and it automatically load the other slot
Wipe -> Format Data : Click and type yes
Reboot -> System : Just reboot and it should load the installed ROM
Install -> Magisk
Reboot -> System
Install -> Whathever you want
Reboot -> System
It worked !

Categories

Resources