From Nougat Custom Rom to Pie Custom Rom - OnePlus 5T Questions & Answers

Hey, i hope, this is the right Thread i am posting this.
I have a Problem: First, i am into all this Custon Rom and Twrp thing and so on, but i lost my eye on it, in the past months or so and now my Nougat based Custom Rom (FreedomOS) is behaving strange, so i decided to update to a Pie based Custom Rom, but here comes the Point:
I am running Twrp 3.2.1-2 (As far as i know) and as i said FreedomOS (Nougat) and also my Device is decrypted.
Now i want to Update to LiquidOS based on Pie and read so much about this encryption and decryption stuff and about other things like the required Pie firmware to use current Twrp by Codeworkx.
Sooo, can someone pls give a detailed Guide, what i need and what i have to do, to install the new Rom an dont end up with a Bricked Device.
Thank You

Noone has Instructions for me?

Probably the safest way is to wipe your data partition and flash the stock nougat rom you were on before FreedomOS. Let the stock recovery override TWRP and take stock OTA updates until you get to 9.0.3. Once on Pie 9.0.3 flash the latest TWRP by blu_spark or codeworkx through adb, then format and decrypt. You'll need no verity V3 or Disable DM-Verity and ForceEncrypt 2.0 zips to stay decrypted. Then, follow the instructions for flashing LiquidRemix Pie. (I suggest you research the latest custom pie roms; there are far better choices than LR pie IMHO. The dev who made oreo builds of LR has moved on.)

bud7dha said:
Probably the safest way is to wipe your data partition and flash the stock nougat rom you were on before FreedomOS. Let the stock recovery override TWRP and take stock OTA updates until you get to 9.0.3. Once on Pie 9.0.3 flash the latest TWRP by blu_spark or codeworkx through adb, then format and decrypt. You'll need no verity V3 or Disable DM-Verity and ForceEncrypt 2.0 zips to stay decrypted. Then, follow the instructions for flashing LiquidRemix Pie. (I suggest you research the latest custom pie roms; there are far better choices than LR pie IMHO. The dev who made oreo builds of LR has moved on.)
Click to expand...
Click to collapse
Thank you, that did work, i am now on BlissRom and everything seems working, had a bit of a trouble, cause i thought, i am still decrypted, after format everything so i flashed no-verity, but as soon as i realized it, i flashed everything again and it worked.
Using they way through OOS was indeed safer, but also took way longer, but hey, it worked and thats the point that matters

Related

Moto G5 encryption

I have a G5 Cedric XT1671 DUALSIM that comes by default encrypted and when flashing some custom ROM with Oreo the encryption prevents me from accessing the system. I have searched in xda but the only that I found doesn't work, I formatted the cell phone from scratch, flashed the stock and tried to flash from a custom 7.1.2 to go to 8 and I could not. Does anyone know how I could remove the encryption?
Currently I have Viper OS 7.1.2
Flash stock firmware and then twrp, after that install this via twrp: https://androidfilehost.com/?fid=673368273298927206, then reboot the device and flash your custom rom.
REMEMBER; If you are flashing android 8.1, you must have a 64bit enabled twrp installed rather than the regular one, this does not apply to 8.0.
It happens to me that I think the same thing, flash stock, then installs the recovery, and when you get it you ask for the encryption key, cancel it, then do a full wipe and install the ROM

Stuck on Mi-Logo after GSI installation

Hey guys,
I have recently bought my "Whyred" (4/64 global) and have already unlocked the bootloader.
After switching to Miui 10 global developer rom (with official MiFlash Tool) I wanted to test some custom roms. Therefore I have enabled the developer options, USB-Debugging and OEM Unlock. After this I have booted TWRP 3.2.2.0 with fastboot and flashed the TWRP image to the phone via the booted recovery. Followed by the no-verity-opt-zip (6.0) and Magisk v16.7 to root the phone.
On this basis I went back to the recovery and did a factory reset, followed by an advanced wipe of dalvik, cache, data, system and vendor. Afterwards I have moved the whyred-treble-vendor (zip-file) and the PixelExperience GSI to my phone. First I have flashed the vendor-zip and then switched to image and flashed the GSI as system-image.
And now comes the problem: when I try to reboot to the system it always states "No Os installed". By wiping the cache and data again, I am able to boot to the system, but the phone is stucked on the Mi-Logo
After recovering my phone with the MiFlash Tool (Miui 10 global developer rom), I have tried to flash the GSI in different ways according to a lot of guides I have found in the net, but nothing is working. All methods are leading to the same result: my phone stucks on Mi-Logo
Could anyone of you give me a hint about what I am doing wrong?
Thank you!
Best regards,
nkl
At a guess with wiping system and data. Your also removing changes done by "no-verity-opt-zip (6.0)", and since your still using the MIUI Bootloader the device won't boot the associated GSI.
Maybe try flashing/booting a Treble enabled custom rom, first and then install your GSI. Or avoid the whole Treble thing and just use a custom rom.
You may get more assistance in Treble specific threads/forums.
corkiejp said:
At a guess with wiping system and data. Your also removing changes done by "no-verity-opt-zip (6.0)", and since your still using the MIUI Bootloader the device won't boot the associated GSI.
Maybe try flashing/booting a Treble enabled custom rom, first and then install your GSI. Or avoid the whole Treble thing and just use a custom rom.
You may get more assistance in Treble specific threads/forums.
Click to expand...
Click to collapse
Hey,
Thank you for your quick reaction!
But did I get something wrong? Doing a factory reset and then doing an advanced wipe of dalvik, cache, data, system and vendor is more or less an essential part of all the guides out there?
So you think, I should try to flash for example LineageOS first and then take an approach on the GSI? And which steps should I take? Should I flash no-verity-opt and Magisk under Miui 10 global dev first and then flash custom, i.e. LineageOS? Or should I flash LineageOS first (on a fresh Miui dev rom) and then no-verity-opt and Magisk?
Thanks!
@nkl0806 After installing the GSI while using MIUI as the base you could try flashing no-verity-opt before trying to boot.
no-verity-opt is only required on MIUI based roms (or in your case with a GSI).
Flash a custom rom and boot it. Don't worry about magisk etc.
Then install your GSI and boot it, avoid flashing magisk or gapps.
Once it boots, go back and install magisk and gapps etc and wipe data.
Hopefully then boot and setup your GSI rom.
Also make sure your using a Treble enabled TWRP!
Noob guide to install GSI on whyred
Again look for support in Treble Threads/Forums, I haven't experiment with it, so only going by what I have read.
corkiejp said:
@nkl0806 After installing the GSI while using MIUI as the base you could try flashing no-verity-opt before trying to boot.
no-verity-opt is only required on MIUI based roms (or in your case with a GSI).
Flash a custom rom and boot it. Don't worry about magisk etc.
Then install your GSI and boot it, avoid flashing magisk or gapps.
Once it boots, go back and install magisk and gapps etc and wipe data.
Hopefully then boot and setup your GSI rom.
Also make sure your using a Treble enabled TWRP!
Noob guide to install GSI on whyred
Again look for support in Treble Threads/Forums, I haven't experiment with it, so only going by what I have read.
Click to expand...
Click to collapse
Thank you!
I have also followed this noob guide to flash the GSI, but it did not work out. Maybe I should really skip the Treble stuff and just use the normal custom rom!
I will try to flash the PixelExperience rom and not the GSI - or maybe follow another Guide and flash the Mokee rom first as a base for the GSI.
Thanks again!

Unable to flash any custom roms.

I unlocked bootloader on 4th day , flashed TWRP tired PE, CrDroid, LOS 16 , PA , AOSP Extended roms but unable to boot any ROM. But can boot miui.eu, and other miui roms. I tried sunnyraj's TWRP 3.2.3, orange fox latest TWRP, PE TWRP, TWRP 3.2.3 Rolex+Riva , and treble enabler of 4-5 verieties , but no ROMs boot. Anybody has flashing guide? I'm not a noob . Not new to Android . I am flashing at least a ROM per day to all my phones. But this phone is a surprise.
drmuruga said:
I unlocked bootloader on 4th day , flashed TWRP tired PE, CrDroid, LOS 16 , PA , AOSP Extended roms but unable to boot any ROM. But can boot miui.eu, and other miui roms. I tried sunnyraj's TWRP 3.2.3, orange fox latest TWRP, PE TWRP, TWRP 3.2.3 Rolex+Riva , and treble enabler of 4-5 verieties , but no ROMs boot. Anybody has flashing guide? I'm not a noob . Not new to Android . I am flashing at least a ROM per day to all my phones. But this phone is a surprise.
Click to expand...
Click to collapse
1. Fastboot flash latest miui nougat rom using mi flash tool
[ Boot and setup miui, remove your mi account from phone then flash recovery ]
2. Fastboot flash custom recovery for base nougat
3. Format data and wipe internal storage
4. Flash any custom rom you want
If there is anything more you want to know contact me in PM.
NaAnBcEhEuL9A8K7 said:
1. Fastboot flash latest miui nougat rom using mi flash tool
[ Boot and setup miui, remove your mi account from phone then flash recovery ]
2. Fastboot flash custom recovery for base nougat
3. Format data and wipe internal storage
4. Flash any custom rom you want
If there is anything more you want to know contact me in PM.
Click to expand...
Click to collapse
Thank you so much. Can I flash treble gsi/sgsi ROMs?
drmuruga said:
Thank you so much. Can I flash treble gsi/sgsi ROMs?
Click to expand...
Click to collapse
Yes you can but there is no guarantee that the gsi/sgsi will boot or if booted will work properly. Only testing will tell.
Joining telegram group will help.
..
OOS pie sgsi booted and working well.
First I flashed this rom
miui_HM5AGlobal_V9.6.5.0.NCKMIFD_ba7d815e8a_7.1
and boot
Then flashed this twrp
PE-TWRP-Riva-N.img
Then
AEX pie rom
Then
OOS pie sgsi system img
https://mega.nz/#!3J42EAjC!ITVxW99G_p-Vpz7ntULr7KBfE9U6wYUi2_pOWXJhd48
Permissive V2 zip
OOS boot fix
Boot.
This camera working
MGC_5.1.018_v2e_tolyan009_v1.4(1)
drmuruga said:
OOS pie sgsi booted and working well.
First I flashed this rom
miui_HM5AGlobal_V9.6.5.0.NCKMIFD_ba7d815e8a_7.1
and boot
Then flashed this twrp
PE-TWRP-Riva-N.img
Then
AEX pie rom
Then
OOS pie sgsi system img
https://mega.nz/#!3J42EAjC!ITVxW99G_p-Vpz7ntULr7KBfE9U6wYUi2_pOWXJhd48
Permissive V2 zip
OOS boot fix
Boot.
This camera working
MGC_5.1.018_v2e_tolyan009_v1.4(1)
Click to expand...
Click to collapse
List all bugs

How to disable force encryption on OOS (Pie & Oreo)?

Hello Everyone
I felt this section will be more appropriate for this query as it can also help many others who might be seeking an answer to the same question after Pie OOS (Community Beta) came out. This can also act as a guide for all future queries regarding force encryption. So, I have a really simple query, for which I have searched before posting but no concrete information came up.
Query:
How to prevent OOS from force-encrypting my internal data on first boot after a fresh ROM flash? I have tried flashing Magisk before first boot but that doesn't prevent force encryption. I am also using a custom kernel so patching stock boot image and flashing it won't be a viable option too.
Does anyone know of any zip or method which would prevent OOS from triggering force encryption (both Pie open beta and Oreo 5.0.8)?
I have tried to flash Oreo on an decrypted partition as follows but it still encrypted it.
1. Factory Reset
2. Flash OOS 5.0.8 zip on decrypted storage
3. Flash TWRP
4. Reboot to recovery
5. Flash Magisk
6. Flash custom kernel
7. Reboot
8. Rom takes 10 minutes to boot and storage is encrypted when booted up.
Look at this thread:
https://forum.xda-developers.com/oneplus-3t/how-to/disable-dm-verity-force-encryption-op3t-t3688748
jeffrey268 said:
Look at this thread:
https://forum.xda-developers.com/oneplus-3t/how-to/disable-dm-verity-force-encryption-op3t-t3688748
Click to expand...
Click to collapse
The doubt i have is for the patched boot image. I always flash a custom kernel and i assume it will replace the bootimage as well.

Question Dirty flashing method in TWRP

I tried dirty flashing from miui 13.0.3 to 13.0.4 via skkk twrp 3.8 I got a lot of errors, reboot into system and got bootloop but good thing fastboot is still working so i can save my phone.
The question is how to properly dirty flash here in rooted Poco F3?
Are you on Stock MIUI or the Custom ROM Xiaomi.eu ?
I use Stock MIUI (rooted) and I just use Stock Bootloader, no TWRP.
TWRP skkk is still experimental... I don't trust it.
If you want flawless updates, I'd say flash Stock Boot.img with Fastboot, and only use TWRP by booting it from PC.
Maybe it's possible to install MIUI Updates over TWRP, but I think it's risky with TWRP skkk. It may be buggy ‍
cyanGalaxy said:
Are you on Stock MIUI or the Custom ROM Xiaomi.eu ?
I use Stock MIUI (rooted) and I just use Stock Bootloader, no TWRP.
TWRP skkk is still experimental... I don't trust it.
If you want flawless updates, I'd say flash Stock Boot.img with Fastboot, and only use TWRP by booting it from PC.
Maybe it's possible to install MIUI Updates over TWRP, but I think it's risky with TWRP skkk. It may be buggy ‍
Click to expand...
Click to collapse
stock miui global

Categories

Resources