This repository is dedicated to the OrangeFox Recovery Project for the Xiaomi MI 8 SE (Sirius). This recovery allows you to install custom ROMs, root your device, back up your entire device, and much more. The main aim of this project is to provide a stable recovery with many features for the users.
OrangeFox Recovery provides a plethora of features including, but not limited to:
- Full Touch support
- Fully Deodexed
- OTA support
- Full system-as-root (SAR) compatibility
- Built-in support for installing init.d functionality
- ADB root
- And many more.
For a comprehensive list of features, please visit the OrangeFox website.
Before you start, make sure you have all the necessary packages to build the OrangeFox Recovery for your device. Follow the steps below:
- Install required packages:
sudo apt-get install -y git aria2 curl
bash <(curl -s https://gitlab.com/OrangeFox/misc/scripts/-/raw/master/setup/android_build_env.sh)
bash <(curl -s https://gitlab.com/OrangeFox/misc/scripts/-/raw/master/setup/install_android_sdk.sh)
- Create a directory and synchronize the source:
mkdir -p ~/ofox
git clone https://gitlab.com/OrangeFox/sync.git -b master sync
cd sync
sudo ./orangefox_sync.sh --branch 12.1 --path ~/ofox
- Clone the device and kernel trees:
cd ~/ofox
git clone https://github.com/dimasyudhatech/android_recovery_xiaomi_sirius.git -b android-12.1 device/xiaomi/sirius
git clone https://github.com/dimasyudhatech/android_kernel_xiaomi_sirius.git -b lineage-20 kernel/xiaomi/sirius
- Initialize the environment and start the build process:
export OFOX=true
. build/envsetup.sh
lunch twrp_sirius-eng
mka adbd recoveryimage -j$(nproc --all)
If the build process is successful, the final recovery image should be in the out/target/product/sirius
directory.
Please follow the instructions in the official guide to install OrangeFox Recovery.
Report bugs to OrangeFox Recovery Project bug tracking.
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved.
If you would like to contribute to the development of this project, please follow the Contribution Guidelines.
This project exists thanks to all the people who contribute.
For additional support, join our Telegram group.
OrangeFox Recovery Project is licensed under the GPLv3.
Copyright (C) 2023 Android Open Source Project
Copyright (C) 2023 TeamWin Recovery Project
Copyright (C) 2023 OrangeFox Recovery Project
Copyright (C) 2023 Dimas Yudha Pratama
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation.