Question Missing system partition in OrangeFox - Redmi 9 Power / 9T

The system partition disappeared in the OrangeFox recovery, which is why I can't install custom firmware. (And I can not clear this partition) Now I installed via fastboot the firmware from xiaomi.eu
(bootloader unlocked, root done, custom recovery installed)

Related

dm-verity is disabled on Marshmellow Concept

Hello,
Searched the interweb and xda to find an answer, but still can't find one. I can't seem to update my Marshmallow Concept v3536 to v3550. I tried:
Flashing the 3027 build and relocking the bootloader
Flashing the boot, and the reovery partition of 3037 built serparately and relock
Full wipe my device and installing built 3037 and relock
Also tried this steps and after that updated to 3536 by restoring system and boot partitions. All at no avail. I have to clarify that I did not install SU, so that's not the problem. Also: my TWRP recovery is still available if I unlock my bootloader afterwards.
My device keeps telling me "incremental system update cannot be installed when dm-verity is disabled" if I try to update. I haven't got a TA-backup becuse when I rooted that wasn't possible yet.
Is there a way to get dm-verity back as there's no clear answer to this question on xda.
TIA
(Lol. Misspelled Marshmallow in the title)
OK. Here's how I managed to fix it:
I installed this and flashed the last official firmware with it.
Flashed the 3027 concept rom over it.
I manually flashed TWRP (Flashtool corrupted my boot) with the command
Code:
fastboot flash recovery twrp.img
When I start TWRP choose READ-ONLY mount system.
Wipe dalvik and cache and flash this from within TWRP.
Boot ROM and backup after that from within TWRP if you want to be able to update via OTA (I think this is necessary, but not sure).
After that flash latest (systemless) SuperSU Beta.
Enjoy

Get opt encrypt and update rom [stock recovery and boot opt encrypt with magisk]

Here is my tutor after a hard work on my zenfone 4 max whole day.
first of all you must download the last asus update for zenfone 4 max, I used 233.
put it into sd card, boot into stock recovery and update. (if you have a new phone just do it, if you already unlocked bootloader and installed twrp, just boot bootloader and flash stock recovery above.)
https://drive.google.com/open?id=1YP7v9sBclQULxYPOndDPCMLikZsT8urN
after this step, just do unlock bootloader. (if not unlocked), and flash twrp.
*recommended reboot recovery twrp and make a backup now
reboot bootloader and flash the boot above, it has no decrypt and magisk 16
https://drive.google.com/open?id=1bHk0znQNsH-dWZ89P525gC-rrvN4e9bl
reboot recovery twrp. Do the following:
format data partition,
reboot recovery twrp
clear data, cache and dalvik cache.
Now boot system, all data encrypt is gone, and you can activate it if you want.
You cant boot system until this boot image is flashed, or encrypt will be activated.
How does one flash the kernel?
amspady20 said:
How does one flash the kernel?
Click to expand...
Click to collapse
kernel is the core, it is in boot image.
fastboot flash boot boot.img
(after extract boot image, cause it is zipped)
Stock Recovery
Do you have stock recovery img file for our Zenfone 4 Max (ZC554KL)? Kindly upload it again.
Hi, do you have latest stock recovery for this device? I want to update to oreo, but it requires latest firmware (at least ver .352) to execute it.
latest recovery version
Hi alegmx!
i'm really thankful that you provide this stock recovery image , it works!
but can you provide us with a newer version of the recovery image? it'll be big help if you can provide it with us!
your version is currently .215 , im upgrading my os to version 412 and it needs atleast the .352 version of the recovery.

issues with twrp (apparent file encryption)

Hi, im having a little bit of a problem here, i succesfully managed to unlock the bootloader of my chinese mi8, flashed and booted twrp, the issue is, my files seem to be encrypted, i can't copy anything to the device while on fastboot/recovery mode from the pc, tried booting to miui, allowing the transfer of files and booting to twrp again (for some reason i can't boot to twrp from the device itself, it has to be via fastboot with the command "fastboot boot ***") but all twrp shows me are folders with random characters, it seems to be some sort of auto-encryption, do you know how to solve it?
Miui auto encrypts the device, that is why your device is encrypted. You are unable to boot to twrp for two reasons: 1. Miui auto checks and rewrites over any custom recovery 2. Fastboot boot command does not install twrp, it only boots into it, from which u must install twrp again.
Upon booting into twrp, you need to FORMAT data, flash TWRP, flash this file https://zackptg5.com/android.php#disverfec (DM-verity and anti-encryption) this will prevent anti encryption when your freshly flashed ROM boots up.
Side note: DO NOT RELOCK YOUR BOOT LOADER IF YOUR MI 8 IS CHINA VARIANT AND YOU ARE INSRALLING GLOBAL ROM.
I HIGHLY SUGGEST YOU HEAD OVER ONTO THIS THREAD TO UNDERSTAND BETTER! https://forum.xda-developers.com/mi-8/development/rom-mi-8-miui-10-global-beta-8-8-7-t3826560/page7
achickennugget said:
Miui auto encrypts the device, that is why your device is encrypted. You are unable to boot to twrp for two reasons: 1. Miui auto checks and rewrites over any custom recovery 2. Fastboot boot command does not install twrp, it only boots into it, from which u must install twrp again.
Upon booting into twrp, you need to FORMAT data, flash TWRP, flash this file https://zackptg5.com/android.php#disverfec (DM-verity and anti-encryption) this will prevent anti encryption when your freshly flashed ROM boots up.
Side note: DO NOT RELOCK YOUR BOOT LOADER IF YOUR MI 8 IS CHINA VARIANT AND YOU ARE INSRALLING GLOBAL ROM.
I HIGHLY SUGGEST YOU HEAD OVER ONTO THIS THREAD TO UNDERSTAND BETTER! https://forum.xda-developers.com/mi-8/development/rom-mi-8-miui-10-global-beta-8-8-7-t3826560/page7
Click to expand...
Click to collapse
Ok, lets see if i got it right, just to be sure...
i boot to twrp
i format data in twrp (only data)
flash the twrp file from fastboot
flash the file for preventing encryption IN TWRP
flash my rom of choice
what i did was
1.flash global stable 9.5 via fastboot
2.Wait till it gets on
3.Restart the device
4.flash twrp via fastboot
5.install magisk 16.7 using twrp
6.install dm verity
7.format data
8.wait till it boots downgrade magisk to 16.0 via magisk manager

Proper Upgrade/Flash Firmware

Hello,
I recently wiped my device to start from scratch as in no os. I went into TWRP then wipe and advanced and deleted each option available. Then I downloaded the latest raw firmware I could find which was WW_ZS661KS_18.0410.2108.158_M3.35.19.17-ASUS_1.1.5_Phone-user.raw.zip. After doing a flash_all I obviously wasn't on the latest version of firmware so here is where I get stuck. In order to avoid encrypting the data partition what am I supposed to do to properly upgrade before root? What I ended up doing was;
1. Flash latest RAW firmware
2. Boot into recovery and factory reset
3. Boot into OS, go through basic setup until the home screen
4. Copy latest firmware from ASUS website (WW-18.0410.2203.201) to internal data partition on phone
5. Flash TWRP
6. Boot into TWRP and flash latest firmware
7. Boot to B partition
8. Reboot into recovery and flash firmware again
9. Boot back to A parition
10. Flash twrp on A and B
Is that correct or should I be doing a factory reset / full wipe somewhere in there as well?
Thanks
Why not simply wipe and flash the version of the official firmware you're lookin for with TWRP OR RAW flash flash and upgrade the normal way. And then root. Looks like a lot of unnecessary steps...

system partition deleted?

i used 2 twrp versions and 1 orangefox recovery
i wanted to install an gsi and followd this tutorial:
well now i dont have the option to wipe my system
after installing an system .img i am in a bootloop nice
i flashed the whole stock rom with odin still not there
what caaan i dooo i just want toooo geeet andoird 13 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah
masapulmai said:
i used 2 twrp versions and 1 orangefox recovery
i wanted to install an gsi and followd this tutorial:
well now i dont have the option to wipe my system
after installing an system .img i am in a bootloop nice
i flashed the whole stock rom with odin still not there
what caaan i dooo i just want toooo geeet andoird 13 aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaah
Click to expand...
Click to collapse
and yes my phone supports project treble
masapulmai said:
and yes my phone supports project treble
Click to expand...
Click to collapse
Just flash system.img via twrp. Don't need wipe system partition
update your magisk on stock to v25.2 to avoid a bootloop. only bother to install phh patched GSIs if they're A12 ones.
backup up apps and files, boot twrp and format data (not wipe). use reboot option in twrp to reboot recovery... don't skip this stage!! wipe cache and dalvik/art. flash extract image to system partition.

Categories

Resources