Every 9.0 ROM crashes on boot?? - Moto G5S Plus Questions & Answers

Hi, Im having a really weird issue. Every single 9.0 ROM i flash boots fine, and once in the system after a second or two it crashes / the screen goes black. This happens on all Pie ROMs. Any ideas? Im using a 64 bit twrp and following all the install procedures...

William1020000 said:
Hi, Im having a really weird issue. Every single 9.0 ROM i flash boots fine, and once in the system after a second or two it crashes / the screen goes black. This happens on all Pie ROMs. Any ideas? Im using a 64 bit twrp and following all the install procedures...
Click to expand...
Click to collapse
Same issue

[email protected] said:
Same issue
Click to expand...
Click to collapse
This is due to encryption. Disable encryption under twrp recovery. Formate userdata partition and then flash pie roms. It will work

santoshx99 said:
This is due to encryption. Disable encryption under twrp recovery. Formate userdata partition and then flash pie roms. It will work
Click to expand...
Click to collapse
How can I disable encryption in twrp? I can't find any option for that.

If you want to disable Encryption, you should wipe Data completely using Format Data, then Advanced Wipe
Note: I'm not sure if you should wipe System as well, but i did anyway

Related

Data gets Wiped after booting to TWRP

Hi guys,
I was going to update by dirty flashing tesla rom on my 3T, after booting to TWRP it wiped itself. I rebooted and a welcome screen appeared. I red some posts of people having this problem. Do You have any fix for this? I was using TWRP 3.0.3.1. I then updated to the latest 3.0.4 but the issue was still there. I red that formatting data in ext4 fixes the issue. So I did it and the issue was fixed.
Is there a way to keep data in f2fs and rebooting to TWRP without losing DATA?
I should have the nougat firmware since i updated to official 4.0.2 OOS and then modded my 3T.
Some time ago, I met a similar problem. I updated twrp but Data partition always lost something after rebooting whether in ext4 or f2fs.
And then I ①flashed stock recovery ②relocked bootloader ③unlocked bootloader again ④flashed twrp.
I believe I tryed several times, and it worked and works well in f2fs now.
95先生 said:
Some time ago, I met a similar problem. I updated twrp but Data partition always lost something after rebooting whether in ext4 or f2fs.
And then I ①flashed stock recovery ②relocked bootloader ③unlocked bootloader again ④flashed twrp.
I believe I tryed several times, and it worked and works well in f2fs now.
Click to expand...
Click to collapse
If i stay in f2fs and boot to recovery it asks me to swipe right to allow modifications. Using ext4 it doesn't ask it to me...It's an annoying bug cause I can't flash anything without losing data every time....
phoenixita said:
If i stay in f2fs and boot to recovery it asks me to swipe right to allow modifications. Using ext4 it doesn't ask it to me...It's an annoying bug cause I can't flash anything without losing data every time....
Click to expand...
Click to collapse
Oh , I remember that TWRP was also reset after I converted Date partition at that time.
May be you can try the ①②③④ if you have enough time.

[Guide] Decrypt OnePlus 7 Pro

In this guide I will show you how to decrypt this phone
You might be asking:
(What are the advantages of decrypting?)
Well, it is much easier to switch between custom roms when you are decrypted and you don't have to wipe internal storage everytime you flash a new rom and there may be a performance increase (Maybe).
(What are the disadvantages of decrypting?)
If your phone gets stolen.. The stealer can access all of your data and can even remove the pattern by just rebooting to twrp and deleting a few files so your phone will not have any protection whatsoever.
Downloads:
Disable Dm-Verity
Magisk
Instructions:
1- You have to be on clean oos without any mods or kernels.
2- Reboot Recovery
3- Format data (Go to wipe - Format data and click yes)
4- Reboot Recovery
4- Flash No Verity Mod
5- Flash Magisk
6- Reboot System
Now you are decrypted!!
Keep Decrypt between OS updates:
-Reboot Recovery
-Flash FULL ZIP in TWRP
-Without booting the OS: Flash TWRP Recovery, reboot recovery, Flash No Verity Mod, Flash Magisk, Reboot System.
Keep Decrypt between Roms:
-Wipe Data only in twrp!!! (NEVER WIPE SYSTEM OR - VENDOR ON OP7P)
-Flash Rom
-Flash TWRP
-Reboot Recovery
-Flash any other zips you want like Gapps-Kernels- ex.....
-Flash No Verity Mod
-Flash Magisk
-Reboot System
Credits:
@topjohnwu
@Zackptg5
How would I know if I'm decrypted or not?
mlock420 said:
How would I know if I'm decrypted or not?
Click to expand...
Click to collapse
Settings, security, down towards the bottom it tells you
OK so I'm encrypted... Am I secured somewhat from theft correct? And yes I know it's not 100% but it is safer than decrypted?
Another question let's say I don't mind being encrypted because I have a flash drive with otg and all that... Is that good enough? Or should I go decrypted all the way so I can start backing up on twrp and restoring twrp without errors which would mean no use for flash drive...
I know it's my choice just trying to make things easier and to understand a little more
mlock420 said:
OK so I'm encrypted... Am I secured somewhat from theft correct? And yes I know it's not 100% but it is safer than decrypted?
Another question let's say I don't mind being encrypted because I have a flash drive with otg and all that... Is that good enough? Or should I go decrypted all the way so I can start backing up on twrp and restoring twrp without errors which would mean no use for flash drive...
I know it's my choice just trying to make things easier and to understand a little more
Click to expand...
Click to collapse
If you are really concerned about your data and you are OK with wiping internal storage, then I don't recommend decrypting and just leave it encrypted.
I have oos decrypted via disable force encrypt!
Today I went through the following process to update to the latest version of OOS.
1. Flash full oos & twrp
2. reboot to recovery
3. Flash magisk
4. flash disable force encrypt
5. reboot
rebooted, but back to TWRP,,,
there was a "0" directory in sdcard and inside it my data was in it.
Do you know the solution?
thx
download link is not working for the file.
cylent said:
download link is not working for the file.
Click to expand...
Click to collapse
XDA thread:
https://forum.xda-developers.com/android/software/universal-dm-verity-forceencrypt-t3817389
Downloads:
https://zackptg5.com/android.php#disverfe
https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_12.27.2019.zip
Hi omar2005
May i ask you a quetion?
I just will get my oneplus 7 pro.
Under android 10.
During first time rooting and twrp install. Should i reboot recovery and flash decrypter or first finishing rooting than rebooting system and than do the steps like you said in your Instructions?
Thank you for orientation and greetings ivifly
You have to flash dfe before booting system. Once system boots, you'll be encrypted
Avril09 said:
You have to flash dfe before booting system. Once system boots, you'll be encrypted
Click to expand...
Click to collapse
What is DFE?
Sent from my OnePlus7Pro using XDA Labs
---------- Post added at 09:18 AM ---------- Previous post was at 09:17 AM ----------
Is there a way I could reencrypt(due to security concerns) without having to wipe my data? The option in security is greyed out :/.
Thank you
Sent from my OnePlus7Pro using XDA Labs
fp1707 said:
What is DFE?
Sent from my OnePlus7Pro using XDA Labs
---------- Post added at 09:18 AM ---------- Previous post was at 09:17 AM ----------
Is there a way I could reencrypt(due to security concerns) without having to wipe my data? The option in security is greyed out :/.
Thank you
Sent from my OnePlus7Pro using XDA Labs
Click to expand...
Click to collapse
DFE is Disable Force Encryption also known as dmverity in some cases.
And yea you can reencrypt without losing data but it takes time depending on the size of files you have.
omar2005 said:
In this guide I will show you how to decrypt this phone
You might be asking:
(What are the advantages of decrypting?)
Well, it is much easier to switch between custom roms when you are decrypted and you don't have to wipe internal storage everytime you flash a new rom and there may be a performance increase (Maybe).
(What are the disadvantages of decrypting?)
If your phone gets stolen.. The stealer can access all of your data and can even remove the pattern by just rebooting to twrp and deleting a few files so your phone will not have any protection whatsoever.
Downloads:
https://zackptg5.com/downloads/Disable_Dm-Verity_ForceEncrypt_05.21.2019.zip
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Instructions:
1- You have to be on clean oos without any mods or kernels.
2- Reboot Recovery
3- Format data (Go to wipe - Format data and click yes)
4- Reboot Recovery
4- Flash No Verity Mod
5- Flash Magisk
6- Reboot System
Now you are decrypted!!
Keep Decrypt between OS updates:
-Reboot Recovery
-Flash FULL ZIP in TWRP
-Without booting the OS: Flash TWRP Recovery, reboot recovery, Flash No Verity Mod, Flash Magisk, Reboot System.
Keep Decrypt between Roms:
-Wipe Data only in twrp!!! (NEVER WIPE SYSTEM OR - VENDOR ON OP7P)
-Flash Rom
-Flash TWRP
-Reboot Recovery
-Flash any other zips you want like Gapps-Kernels- ex.....
-Flash No Verity Mod
-Flash Magisk
-Reboot System
Credits:
@topjohnwu
https://forum.xda-developers.com/member.php?u=4470081
@Zackptg5:
https://forum.xda-developers.com/member.php?u=6037748
Click to expand...
Click to collapse
can we use this method for boot dual os (oos+custom) , when we install dual os twrp by @Zackptg5 we face problem with encryption and password protection on one of the os.
is it possible this method help this problem???
This does not work for my OP7Pro, when you say boot into Recovery and wipe data. Is that the stock recovery or TWRP? When I try decrypting using the instructions using TWRP, when I reboot the phone, it boots into the boot animation. But the animation is slow and the phone just gets stuck there and won't boot any further. Trying to decrypt so it's easier to get LineageOS installed. My phone seems to have problems when on the B partition reading the internal storage.
Scotsman828 said:
This does not work for my OP7Pro, when you say boot into Recovery and wipe data. Is that the stock recovery or TWRP? When I try decrypting using the instructions using TWRP, when I reboot the phone, it boots into the boot animation. But the animation is slow and the phone just gets stuck there and won't boot any further. Trying to decrypt so it's easier to get LineageOS installed. My phone seems to have problems when on the B partition reading the internal storage.
Click to expand...
Click to collapse
Are you running an open beta build? OnePlus did something dumb with the beta builds where this no longer works. I've been racking my brain trying to find a way to decrypt a beta too. For now, only the main builds of OOS are decryptable.
H4X0R46 said:
Are you running an open beta build? OnePlus did something dumb with the beta builds where this no longer works. I've been racking my brain trying to find a way to decrypt a beta too. For now, only the main builds of OOS are decryptable.
Click to expand...
Click to collapse
No, my phone was on a main build. Just wasn't having any luck and gave up. I'm on LineageOS now but spent an entire day trying to get that installed and working properly. Something was weird, slot A could read my internal storage, but when I switched to slot B the internal storage just disappeared. Once I got TWRP and LOS installed on both slots, the problem disappeared. But I still haven't attempted to decyrpt for fear of messing up my current setup.
H4X0R46 said:
Are you running an open beta build? OnePlus did something dumb with the beta builds where this no longer works. I've been racking my brain trying to find a way to decrypt a beta too. For now, only the main builds of OOS are decryptable.
Click to expand...
Click to collapse
It still works for me to this day tbh, on any rom i flash except some problems with android 11 roms ...
H4X0R46 said:
Are you running an open beta build? OnePlus did something dumb with the beta builds where this no longer works. I've been racking my brain trying to find a way to decrypt a beta too. For now, only the main builds of OOS are decryptable.
Click to expand...
Click to collapse
I'm on OOS 11 Beta 1 and decryption works fine for me. I was on 10.3.7 (decrypted) before.
Do you have to be on OOS? Or could any clean flashed rom work?
who can help. i cant decrypt my op7t pro. Well, let's start with the fact that when formatting dalvik cache and data, I have an error and nothing is formatted. as with (Go to wipe - Format data and click yes). Formatted this data via adb, installed No Verity Mod and now I have bootloop

Encryption on AOSP

Hi,
as I couldn't find an answer, here is my question.
Is it possible to encrypt a device with AOSP? And how?
Thanks
Yes, install miui fastboot Rom and wipe data, then flash the desired aosp. If stated in the thread, wipe system too.
I used to flash with TWR. Does it make a difference?
Right now I'm on Xiaomi.eu Beta 9.8.1& encrypted.
When I wipe data and flash havoc for example, it does not work. The Rom does not boot. Are there any additional steps necessary?
rum0s said:
I used to flash with TWR. Does it make a difference?
Right now I'm on Xiaomi.eu Beta 9.8.1& encrypted.
When I wipe data and flash havoc for example, it does not work. The Rom does not boot. Are there any additional steps necessary?
Click to expand...
Click to collapse
If your data is encrypted you must do format data before you install another rom. There is a difference between wipe data and format data.
mar.ur said:
If your data is encrypted you must do format data before you install another rom. There is a difference between wipe data and format data.
Click to expand...
Click to collapse
Thats right, but how do I keep the encryption or encrypt again? Because when I start the encryption from within the Rom settings in any AOSP Rom, it does not work.
rum0s said:
Thats right, but how do I keep the encryption or encrypt again? Because when I start the encryption from within the Rom settings in any AOSP Rom, it does not work.
Click to expand...
Click to collapse
You can use LOS or AOSIP if you wont to keep encryption.
OK, but in LOS didn't work either. After starting encryption from rom settings it took a longer time voting after until a message occured that system UI isn't responding. After that the screen turned black.
rum0s said:
OK, but in LOS didn't work either. After starting encryption from rom settings it took a longer time voting after until a message occured that system UI isn't responding. After that the screen turned black.
Click to expand...
Click to collapse
You have something wrong. You don't have to encrypt manually. It is encrypted already. Do you flash disable force encryption?
mar.ur said:
You have something wrong. You don't have to encrypt manually. It is encrypted already. Do you flash disable force encryption?
Click to expand...
Click to collapse
Thanks, that's interesting!
Here the steps I took:
- Wiping everything (data, system, dalvik, cache)
- Format data
- reboot
- installing the rom (gapps, magisk)
- no dm-verity and no disable-force-encryption
EDIT: I'm one step further. I used Orange Fox Recovery and disabled Disable DM-Verity and Disable ForceEncryption in the MIUI OTA Menu.
Now some AOSP Roms are encrypted after first boot, except for HAVOC - seems not to be supported right now?!
rum0s said:
Thanks, that's interesting!
Here the steps I took:
- Wiping everything (data, system, dalvik, cache)
- Format data
- reboot
- installing the rom (gapps, magisk)
- no dm-verity and no disable-force-encryption
EDIT: I'm one step further. I used Orange Fox Recovery and disabled Disable DM-Verity and Disable ForceEncryption in the MIUI OTA Menu.
Now some AOSP Roms are encrypted after first boot, except for HAVOC - seems not to be supported right now?!
Click to expand...
Click to collapse
Most of these heavily customizable roms are ugly anyways, I'd rather use GravityBox Xposed Module for customizations.
rum0s said:
Now some AOSP Roms are encrypted after first boot, except for HAVOC - seems not to be supported right now?!
Click to expand...
Click to collapse
Yes, I was trying to encrypt Havoc and PE and failed. Idk wether Syberia support encryption. I just stoped to switching between roms and stayed with LOS. It supports encryption and selinux is enforcing.
Ok thanks guys for your help!
I'm thinking about staying on miui beta or try one of the lighter roms.

Question How to flash a Android 12 ROM without decryption problem?

I've been struggling to flash Android 12 without my internal storage to be unaccessible by TWRP... I simply can't decrypt my data and the only way to fix it is to format data and revert back to a Android 11 ROM.
Did anyone manage to flash Android 12 successfully? How?
Well I gotta tell you sadly, decryption does not work for any Android 12 system currently. So you gotta have to live with it, until we get decryption support.
And don't try to fiddle with disabling encryption, I did it and I quickly regretted it.
Also, you always have to format data after flashing a ROM to remove encryption, except if you update your current ROM.
ADB Sideload is the answer.
If you have TWRP installed already then as you know when you go into recovery you cant see any data. User ADB Sideload instead and it will flash it the same way
KashMiester said:
ADB Sideload is the answer.
If you have TWRP installed already then as you know when you go into recovery you cant see any data. User ADB Sideload instead and it will flash it the same way
Click to expand...
Click to collapse
ADB sideload isn't the answer, because that's already what I use to flash a Android 12 based ROM. Doesn't change that TWRP can't decrypt data
meirioon said:
ADB sideload isn't the answer, because that's already what I use to flash a Android 12 based ROM. Doesn't change that TWRP can't decrypt data
Click to expand...
Click to collapse
That is because their no recovery that will decrypt A12, just not possible yet. Sideload is the way for now, it works fine. Decryption isn't available yet and hopefully someone cracks it soon
Not towards achieving decryption, however after flashing A12 ROM, and clicking on format data, I get numerous errors with TWRP. Any solution? Is it related to recovery or some issue with data partition? Thanks!
Many people have issues with TWRP. Flash Orangefox recovery in TWRP, boot into it and try.
sujju said:
Not towards achieving decryption, however after flashing A12 ROM, and clicking on format data, I get numerous errors with TWRP. Any solution? Is it related to recovery or some issue with data partition? Thanks!
Click to expand...
Click to collapse
I'm having the same issue but how can I revert back to a Android 11 ROM if my internal storage is inaccessible?
I did it just by flashing Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip after flashing the rom.
You can search for this file in the web.
bizzaro87 said:
I did it just by flashing Disable_Dm-Verity_ForceEncrypt_03.04.2020.zip after flashing the rom.
You can search for this file in the web.
Click to expand...
Click to collapse
Does NOT work at all on Android 12 roms having just tried it
try these scripts
Anybody try these scripts ^? Just sideload them?
I used disable dm verity force encrypt and a12 worked without a problem, I can access image and more! My recovery is orangefox. It worked really great with a12. No problem until now!
patricktech said:
I used disable dm verity force encrypt and a12 worked without a problem, I can access image and more! My recovery is orangefox. It worked really great with a12. No problem until now!
Click to expand...
Click to collapse
@meirioon
+1
For OSS attached
I used disable dm verity force encrypt
Click to expand...
Click to collapse
At which installation stage did you flash it under OrangeFox? Before or after A12 installation?
akapune said:
At which installation stage did you flash it under OrangeFox? Before or after A12 installation?
Click to expand...
Click to collapse
After A12 and magisk.
Directly after DfE don't forget to format data.
Laptapper said:
After A12 and magisk.
Directly after DfE don't forget to format data.
Click to expand...
Click to collapse
that means, that you don't update your rom to a new version without loosing data.
you are always doing a clean install.
or am I wrong?
gorillaz_gr said:
that means, that you don't update your rom to a new version without loosing data.
you are always doing a clean install.
or am I wrong?
Click to expand...
Click to collapse
No, if you're decrypted with DFE once and formated with yes, you can flash new ROM and DFE without formating. Means dirty install without loosing internal data. Or you make clean by only wiping data and in this case also your internal SD stay as before without loosing your personal files.
Laptapper said:
No, if you're decrypted with DFE once and formated with yes, you can flash new ROM and DFE without formating.
Click to expand...
Click to collapse
Do I have to flash DFE again after each OTA update?
akapune said:
Do I have to flash DFE again after each OTA update?
Click to expand...
Click to collapse
Yes but don't format

Question phone switch rebooting randomly

i was using pixel experience rom then was having this auto phone reboot issue
then switched to xiomi stock rom having same issue
currently using 13.0.7 latest stock rom
still having this issue
how to fix this issue?
is this hardware issue?
juniorhero said:
i was using pixel experience rom then was having this auto phone reboot issue
then switched to xiomi stock rom having same issue
currently using 13.0.7 latest stock rom
still having this issue
how to fix this issue?
is this hardware issue?
Click to expand...
Click to collapse
Try again this procedure step by step
flashing instructions
Flash ofox 12.1_3
Format data with yes
Reboot ofox
Flash fw (right for sweet or sweetin, otherwise hard brick)
Flash ROM
Delete dalvik and caches with ofox
Format data with yes again
Reboot system
Flashing Magisk not until first boot and setup otherwise sometimes problems...
i was using xiaomi installer windows app in fastboot mode -- clean flash
won't it automatically remove the cache and data without using ofox recovery?
Laptapper said:
Try again this procedure step by step
flashing instructions
Flash ofox 12.1_3
Format data with yes
Reboot ofox
Flash fw (right for sweet or sweetin, otherwise hard brick)
Flash ROM
Delete dalvik and caches with ofox
Format data with yes again
Reboot system
Flashing Magisk not until first boot and setup otherwise sometimes problems..
Click to expand...
Click to collapse
juniorhero said:
i was using xiaomi installer windows app in fastboot mode -- clean flash
won't it automatically remove the cache and data without using ofox recovery?
Click to expand...
Click to collapse
Anyway, something wrong in your procedure, so I recommend to try my.....
Laptapper said:
Anyway, something wrong in your procedure, so I recommend to try my.....
Click to expand...
Click to collapse
i want o install xiaomi.eu rom in sweetin
is it possible?
xiaomi.eu_multi_HMNote10Pro_V13.0.15.0.SKFMIXM_v13-12.zip
juniorhero said:
i want o install xiaomi.eu rom in sweetin
is it possible?
xiaomi.eu_multi_HMNote10Pro_V13.0.15.0.SKFMIXM_v13-12.zip
Click to expand...
Click to collapse
Yes, but follow accurately installation instructions

Categories

Resources