yashsingh1/xdaforums huggingface dataset:
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] h4waii:
What're the requirements, in terms of resolution, file type, color bit limits, and all that, for setting a custom splash image?

EDIT: I'm guessing it needs to be stored outside of the encrypted userdata partition also? Is there a recommended location?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] FwieVogel:
Help needed

Hi I started using OFRP a week ago and didn't realize that there was a option to disable force encryption. I actually want the encryption so I got a bit confused until I found out was keeping it from getting encrypted. I unticked it and wiped everything except internal storage (I forgot to tick it)

Imediatly after I realized my mistake the device rebooted and i went back to start all over but this time including the internal storage. Since then I get the message unable to format data due to encryption !?! now everything except the recovery is wiped but I cannot use the recovery because there is no .zip to install and I cannot upload anything because it tells me the device is busy.

Please give me a hint on how to proceed to get my phone up and running again (apart from OFRP)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
In the absence of logs, one can only speculate. However, if all else fails, you can always flash a full fastboot MIUI ROM, using the Mi Flash tool. Just make sure that you don't choose the option that locks your bootloader again, else there will be :crying:

PS: flashing a fastboot MIUI ROM will replace any recovery you have with the stock MIUI recovery - so you will have to flash the OrangeFox recovery image via fastboot in order to start afresh.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] FwieVogel:
Thank you for your response I happend to install TWRP over ADB and Wipe again. Now I am back to OFRP and installed everything again. Everything worked and I am also encrypted.

Thank you for your work and help
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] yeyixuan:
The data partition must be decrypted manually every time in recovery mode. Does not it support automatic decryption of data partition yet? This will cause each incremental OTA to be unsuccessful, but it's okay to update the full package.:(
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Automatic decryption of data can only happen if the device was encrypted with default encryption. If you encrypted with a lockscreen password, or you ticked "Yes" at the "Secure Startup" screen, then of course automatic decryption would be impossible. So, that situation is entirely of the user's own making.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
OrangeFox R10.0_2 Stable released

I have released OrangeFox R10.0_2

Changes:

* Try to support decryption on Android 10

* Allow backing up of more partitions

Download:

1. OrangeFox site: https://files.orangefox.tech/OrangeFox-Stable/polaris/

2. Sourceforge: https://sourceforge.net/projects/orangefox/files/polaris/

INSTALLATION:

0.

Backup your ROM

; backup; backup; backup

1. Download the OrangeFox zip file to your device

2. Reboot to your custom TWRP-based Recovery

3. Install the OrangeFox zip file as a normal zip

4. The device will automatically reboot into OrangeFox recovery after installation (allow this to happen)

5. Enjoy!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] h4waii:
[MENTION=5850987]DarthJabba9[/MENTION]

What're the requirements, in terms of resolution, file type, color bit limits, and all that, for setting a custom splash image?

EDIT: I'm guessing it needs to be stored outside of the encrypted userdata partition also? Is there a recommended location?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
1080x1920 png. That's about it. Where you put them is up to you.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] graw2:
Hi,

Android 10 based MIUI 11 is already out for MIX2S. Is this TWRP version supports Android 10? Safe to flash it for install Android 10 based MIUI 11? Thx.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] davi5683:
Does it support Polaris running on Android 10? Latest Beta build for Mi Mix 2s (Polaris) now running on Android 10.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Lucas_Maximiliano:
Is there a way to save my settings? Every time I install other recovery and came back to this, I have to set everything again. I tough FOX folder was saving the settings config.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Every time you flash the OrangeFox zip, the installer resets all settings to defaults - for very good reasons, least of which is so that the recovery starts in a known state.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Lucas_Maximiliano:
Sad to know it, cuz twrp has a similar behavior I told. But obviously it just need to flash an img.

Anyway, I could try to backup config file, and overwrite on every new install. Just dont know which file is it.

EDIT: A way is to extract recovery.img from installer, then flash the img when I want O.F. Almost everything keep as I leave, but splash screen nor addons.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Not a good idea at all. If anything changes in the configuration file in a new release, you will have problems - and then you will report that the new release "has bugs", because "everything worked fine in the old version".
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Lucas_Maximiliano:
Well, be sure I wont report any bug I could cause. As any software in this life, if I do some mod on in and arrives a new version, is requiredto reinstall clean if I dont want unexpected behavior.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
You might not. But it is guaranteed that others will. So, best to reduce the chances of that happening.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] h4waii:
So setting a custom splash does not seem to be working for me at all.

It should be as simple as selecting the image and saving it? After picking my desired image, it doesn't update the preview.

Any ideas?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Without logs, no.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Cubiss:
Encryption

There is a minor bug:

tl;dr: OrangeFox doesn't decrypt data on the first run (after restarting from TWRP).

After flashing OrangeFox RP through the latest (v15) TWRP, the OrangeFox did not ask for my pattern for decryption. After rebooting to the system (LOS) and then back to the recovery, everything worked just fine.

I also have a question: Is it possible to manually replace included Magisk installer with a newer version without rebuilding the whole recovery? I'm using Magisk 20.1 and included Magisk is 19.3. This is mostly a non-issue since I'm used to keeping a Magisk zip in my storage for reinstalling it after a LOS update but it would be a nice addition to have it there.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Never heard of this problem before. But, without logs, there is little that I can say or do.

You can always replace "/sdcard/Fox/Magisk.zip" with the magisk zip installer that you want to use. After that, you are on your own ...
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Cubiss:
I will try it again later this week and try to get the log.

That's exactly what I was looking for, thanks!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Note the typo. The correct file is /sdcard/Fox/FoxFiles/Magisk.zip
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
OrangeFox R10.1_01 Stable released

I have released OrangeFox R10.1 Stable.

Downloads

:

OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/polaris/

Sourceforge: https://sourceforge.net/projects/orangefox/files/polaris/

Changelog (General for R10.1)

: https://wiki.orangefox.tech/en/changelog#orangefox-r101

Device-specific changes

:

- Fixed language translations

- Updated the initd addon to use Anykernel3 (better support for system-as-root devices)

FAQ and Guides

: https://wiki.orangefox.tech/en/guides

Incremental MIUI OTA

:

Due to recent changes in stock MIUI,

you must not disable DM-Verity

when flashing a stock MIUI ROM that is based on either Android Pie, or Android 10 (the relevant option in OrangeFox is now unticked by default). If you disable DM-Verity, incremental MIUI OTA updates

will definitely not work

.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pmcy:
Hi,

Using OF recovery for a few weeks now. Just wanted to upgrade LineageOS16 to latest version. But it doesn't work using the updater app. Error is 'unsupported/unknown image format'. Flashing directly from recovery worked. Same issue when trying to install Magisk update from Magisk app.

Phone ist not switching to recovery in both cases. Is this expected? I had no issues with TWRP 3.3.1.

Additional question: How do I update OF? By just flashing the zip from recovery?

Thanks!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Cubiss:
Yes, you can update just by dirty flashing the zip from recovery.

For official LOS releases, you can use Lineage Downloader which is a neat app for keeping your LOS up to date. From my experience, it even works better on OrangeFox than TWRP.

---------- Post added at 10:52 AM ---------- Previous post was at 10:42 AM ----------

I've had problem with flashing LOS 17.1 with orange fox. It does install the zip but when I boot into the rom I only get black screen (or get stuck in Google wizard if I flash gapps). This is not an issue in twrp.

Did anyone manage to get LOS 17 working with OF?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] pmcy:
Thanks for your reply but the link you posted doesn't work. Why using a separate app all when there is an updater coming with OF?

What about my second question regarding updating OF itself?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Cubiss:
It is a link to play store and works just fine to me. Just look up Lineage Downloader there. It has some cool features like queuing additional zips after the update itself (like camera mods, magisk, etc.).

The recovery can be updated by installing the zip from recovery itself. It can also be switched back and forth between twrp and OF this way.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Post the logs!
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Thaimax1:
I'm on last miui 11 whired now and want to try a custom or xiaomi. eu rom. i have few question,I have to format data? Otherwhise what I have to wipe?

And to go back to stock rom I can do it whit recovery or only via Miflash?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Cubiss:
Xiaomi.eu is MIUI(-based?) so you could try your luck and dirty flash it on your current ROM, you don't lose anything by trying.

For any non-MIUI ROMs (AOSP/CAF/LOS/others) you are probably out of luck. Even if you manage to boot, you will probably have some issues.

You can definitely go back to stock via recovery. There are recovery zips available (at least on xiaomifirmwareupdater.com, not sure about the official web).
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Thaimax1:
Flash custom or xiaomi.eu from last global miui 11.0.3 whired

Then I have to wipe cache/dalvik/data/system/vendor , but not internal storage? Or format data? In this case after format data do you have to put the phone in fastboot mode, connect it to the pc and send the zip file of the rom to be flashed?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Seosam:
Xiaomi.eu is not encrypted. So you have to wipe internal memory.

Or flash it dirty and before boot again you have to modify fstab.qcom.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] mario44562:
Hi, got problem, I can't download anything from your site, shows up a n 404 error
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Try here - https://sourceforge.net/projects/orangefox/files/polaris/
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] m7x9:
Anyone else who can't perform a backup without deleting /data/per_boot/ ?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
That's normal across all recoveries. The next release will avoid that problem.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] NoGoodUserNamesLeft:
TL;DR: Ticking "Disable DM-Verity" seems to not work, is getting unticked automatically after every boot to recovery. Is this an intended behavior?

Long version:

When selecting which partitions to backup, the "System" and "Vendor" partitions are missing from the list. Only "System Image", "Vendor Image" are displayed. I think this started happening with OrangeFox v10.1.

Looking at my old backups which I created with v10.0 I see I was definitely able to make backups of "System" (file based) instead of "System Image" (bit-perfect):

-a---- 2019-12-20 15:50 1605403136 system.ext4.win000
-a---- 2019-12-20 15:52 715042816 system.ext4.win001
-a---- 2019-12-20 15:52 701719040 vendor.ext4.win

Now only the bit-perfect image files can be created (tried it with 10.1 and R10.1_01):

-a---- 2020-02-25 22:55 3221225472 system_image.emmc.win
-a---- 2020-02-25 22:53 1073741824 vendor_image.emmc.win

Summing it up, here is what I can select:

v10.0:

* system

* system image

* vendor

* vendor image

* ...

v10.1:

* system image

* vendor image

* ...

From my understanding, this has to do with the recent change in v10.1:

Source

I have tried ticking "Disable DM-Verity" and disabling "MUI OTA" but it didn't fix it.

Also after a reboot to recovery "Disable DM-Verity" gets automatically un-ticked.

Is this intended?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Yes. You have to make a conscious decision to manually tick it every time you boot the recovery. The clear hint is - don't. You can choose to ignore this hint, but you will need to do it every time.

Yes. The instructions are clear as to why this is the case.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] NoGoodUserNamesLeft:
What I get:

Some custom ROMs might not like it if you recover the system/vendor partitions from a file based backup.

What I don't get:

If I make a conscious decision and do tick "Disable DM-Verity" I am still not able to create a file based backup of the system/vendor partitions.

I am using LineageOS and from my googling it seems like LineageOS does not care about DM-Verity.

I guess I will still go for the bit-perfect backups from now on in case the LineageOS developers will change their mind with Android 10.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
It is not just custom ROMs. Stock MIUI 11 ROMs will definitely not like it.

There is no connection between the two. The partitions that can be backed up have already been determined in the fstab. You cannot change them by disabling or not disabling dm-verity.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
OrangeFox R10.1_2 Stable

I have released OrangeFox R10.1_2 Stable.

Downloads

:

OrangeFox download site: https://files.orangefox.tech/OrangeFox-Stable/polaris/

Sourceforge: https://sourceforge.net/projects/orangefox/files/polaris/

Changelog (General for R10.1)

: https://wiki.orangefox.tech/en/changelog#orangefox-r101

Device-specific changes

:

- Update kernel

- Update blobs in device tree to Android 10

- Move to system-as-root (SAR) mode

- Update fstab to allow backups of persist image

NOTES

:

- This is a system-as-root (SAR) build, and it is only for Android 10 ROMs and higher

- Do

NOT

flash this release if you are running a Pie ROM. If you are running a Pie ROM on your device, then you

MUST

stay with the older releases

- All future releases will follow this path

FAQ and Guides

: https://wiki.orangefox.tech/en/guides
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Eluc:
Hello, I have flashed OrangeFoxR10.1 from TWRP and I cannot decrypt the storage. OrangeFox never ask for my pattern or PIN (I have tried to change my encryption pattern to a PIN in LOS and reboot), I see the files but name are encrypted and in backup tab it says I'm mounted as read only. What did I miss?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Posting the logs.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] hathlife:
lineage 17 system ota not working with R10.1_2:

Could not install update

java.io.IOException: Setup BCB failed

at android.os.RecoverySystem.installPackage(RecoverySystem.java:606)

at android.os.RecoverySystem.installPackage(RecoverySystem.java:529)

at org.lineageos.updater.controller.UpdateInstaller.installPackage(UpdateInstaller.java:100)

at org.lineageos.updater.controller.UpdateInstaller.access$400(UpdateInstaller.java:35)

at org.lineageos.updater.controller.UpdateInstaller$1.run(UpdateInstaller.java:142)

at java.lang.Thread.run(Thread.java:919)
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
If it works in one recovery, it should work in any other recovery.

Because anyone who wants to wipe anything should know

what

he wants to wipe, and

why

, and should choose

accordingly

, and

deliberately

.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Is it really that hard to select data and swipe? That is all that is required for a "factory reset".
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Francoetommi:
Thanks so much for the great job.

I would like to ask the exact procedure after ota update.

There are many files in the folders: log and ota.

Which files can be deleted to free up memory space and which should not be deleted at all?

Thanks a lot and sorry for my english.

Google translator

Inviato dal mio MI 8 utilizzando Tapatalk
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
You must not delete anything in the OTA folder.

You can delete the zip files in the logs folder. But if something goes wrong, then you would have deleted all the historic logs, and the problem may be more difficult to investigate. So if you are deleting historic logs, make sure that you only delete the really old ones, and keep the last 4 or 5.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Francoetommi:
[OFFICIAL][RECOVERY] OrangeFox Recovery Project [R10.1]

Just one more question please. I have installed version 10.1 and everything is ok. Can I install the new one directly flash the new one from recovery?
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] DarthJabba9:
Yes.
[Xiaomi Mi Mix 2S ROMs, Kernels, Recoveries, & Othe] Francoetommi:
Thank you so much for the assistance and the wonderful work you do. I don't delete anything as recommended.

Inviato dal mio MI 8 utilizzando Tapatalk