Development [CLOSED][ROM][11.0][ABANDONED] SuperiorOS- Redmi 9T/9 Power/9 4G/POCO M3 (unified codename: juice)

Status
Not open for further replies.
Search This thread

Jackboy2

Senior Member
Dec 15, 2020
70
8
Is the kernel supports battery idle mode?
I'd like to use Advanced Charge Controller (ACC) to control my charging behavior, which can be found in Magisk module.
 
Last edited:

elementtest8

Member
Feb 29, 2020
17
3
it works fine. Just flash A11 xiaomi.eu rom first
Okay. So I borked my system and was able to re install the stock ROM! Thank you for posting the steps :). I ended up trying an easier method which was using the tool that Francesco Tescari developed.
downloaded it, connected phone (that was soft bricked). and was able to reinstall my stock OS
Okay, so you need:
- MiFlash, for example this version: https://www.mediafire.com/file/md2c3alvuj5zlol/MiFlash2018-5-28-0.zip/file
- Fastboot and ADB: https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
- Some recovery, for example OrangeFox: https://forum.xda-developers.com/t/...dmi-note-9-4g-redmi-9t-poco-m3.4257459/unread
- Latest stock: https://xiaomifirmwareupdater.com/miui/lime/ (depends which region you have)
- Miui 21.x.xx using Android 11.0 (depends on your region and codename again)
- A custom ROM zip.

Soooo, lets go.

Turn off your phone, wait for 3 seconds, then press volume down and power buttons simultaneously until you see the fastboot logo (you won't miss it)
Connect the phone to the computer (do it fast, because the phone will turn off after a few seconds without being connected to the computer)
Back up all of the data on your phone if possible, then open MiFlash app, click refresh. Make sure your device is showing up.
Select your unpacked 12.0.90 or smething like that (miui 12, android 10) and flash it. Make sure you have ticked the clean all, not clean all and lock. Your bootloader should be unlocked.
Click flash.
Wait for the process to be finished

Flash the custom ROM

After your phone has rebooted successfully, turn it off and go into the fastboot mode again. Connect the phone to the computer
Launch the command line and go to the folder where you put your recovery.img from orangefox recovery, and boot it. (https://wiki.orangefox.tech/en/guides/installing_orangefox)
You will see the recovery on your phone, probably prompting to enter the password. Choose "Cancel"
In the main menu, choose "Wipe", then tap "Format Data". Type "yes".
On your computer, copy all the ZIPs you've downloaded earlier to your phone.
wipe dalvik cache, cache and data.
Go to wipe > format data, type "yes" then click to proceed.
reboot to recovery, and flash xiaomi rom using miui 21.x.xx, based on android 11.
After flash, wipe cache, and boot your miui.
When booted, go to recovery, wipe dalvik cache, cache and data.
Flash your rom, and optional gapps and magisk.
Then reboot, that's all.
Thanks for posting steps!!! It got me started down the road to my solution. I used the tool by Francesco Tescari for flashing Xiaomi and it worked!


Got my stock OS back. Now going to try and reinstall the recovery. Thank you so much Pawelik!!

I'm just curious what went wrong? How did I delete the system partition? I honestly cant remember and would like to learn from this mistake.
 

elementtest8

Member
Feb 29, 2020
17
3
Okay, so you need:
- MiFlash, for example this version: https://www.mediafire.com/file/md2c3alvuj5zlol/MiFlash2018-5-28-0.zip/file
- Fastboot and ADB: https://www.xda-developers.com/google-releases-separate-adb-and-fastboot-binary-downloads/
- Some recovery, for example OrangeFox: https://forum.xda-developers.com/t/...dmi-note-9-4g-redmi-9t-poco-m3.4257459/unread
- Latest stock: https://xiaomifirmwareupdater.com/miui/lime/ (depends which region you have)
- Miui 21.x.xx using Android 11.0 (depends on your region and codename again)
- A custom ROM zip.

Soooo, lets go.

Turn off your phone, wait for 3 seconds, then press volume down and power buttons simultaneously until you see the fastboot logo (you won't miss it)
Connect the phone to the computer (do it fast, because the phone will turn off after a few seconds without being connected to the computer)
Back up all of the data on your phone if possible, then open MiFlash app, click refresh. Make sure your device is showing up.
Select your unpacked 12.0.90 or smething like that (miui 12, android 10) and flash it. Make sure you have ticked the clean all, not clean all and lock. Your bootloader should be unlocked.
Click flash.
Wait for the process to be finished

Flash the custom ROM

After your phone has rebooted successfully, turn it off and go into the fastboot mode again. Connect the phone to the computer
Launch the command line and go to the folder where you put your recovery.img from orangefox recovery, and boot it. (https://wiki.orangefox.tech/en/guides/installing_orangefox)
You will see the recovery on your phone, probably prompting to enter the password. Choose "Cancel"
In the main menu, choose "Wipe", then tap "Format Data". Type "yes".
On your computer, copy all the ZIPs you've downloaded earlier to your phone.
wipe dalvik cache, cache and data.
Go to wipe > format data, type "yes" then click to proceed.
reboot to recovery, and flash xiaomi rom using miui 21.x.xx, based on android 11.
After flash, wipe cache, and boot your miui.
When booted, go to recovery, wipe dalvik cache, cache and data.
Flash your rom, and optional gapps and magisk.
Then reboot, that's all.
Do I need to install the miui os again? I'm at the point now where if I boot to system it's the setup for installing miui 12.xx onto my phone. If I install it, will it lock my phone?
 

pawelik001

Recognized Developer
XDA App Taskforce
Do I need to install the miui os again? I'm at the point now where if I boot to system it's the setup for installing miui 12.xx onto my phone. If I install it, will it lock my phone?
If you have now custom recovery, just flash miui 12.x.5 (android 11), then reboot to recovery and flash custom rom:

After flash, wipe cache, and boot your miui.
When booted, go to recovery, wipe dalvik cache, cache and data.
Flash your rom, and optional gapps and magisk.
Then reboot, that's all.
 

elementtest8

Member
Feb 29, 2020
17
3
If you have now custom recovery, just flash miui 12.x.5 (android 11), then reboot to recovery and flash custom rom:

After flash, wipe cache, and boot your miui.
When booted, go to recovery, wipe dalvik cache, cache and data.
Flash your rom, and optional gapps and magisk.
Then reboot, that's all.
Tried it. Getting error :(

"assert failed: update_dynamic_partitions(package_extract_file("dynamic_partitions_op_list"))"

"Updater process ended with ERROR: 1
Error installing ZIP file '/sdcard1/redmi/SuperiorOS-Xcalibur-juice-UNOFFICIAL.zip
 

elementtest8

Member
Feb 29, 2020
17
3
If you have now custom recovery, just flash miui 12.x.5 (android 11), then reboot to recovery and flash custom rom:

After flash, wipe cache, and boot your miui.
When booted, go to recovery, wipe dalvik cache, cache and data.
Flash your rom, and optional gapps and magisk.
Then reboot, that's all.
Ok. So I installed the MIUI and it didn't lock my phone. It erased my recovery so there's that, but now. I have MIUI version: Global 12.0.9 Stable.

So I will re flash recovery. Then go to recovery, wipe dalvik, cache and data, and then flash from, happy and magisk. I think this should work?
 

pawelik001

Recognized Developer
XDA App Taskforce
Ok. So I installed the MIUI and it didn't lock my phone. It erased my recovery so there's that, but now. I have MIUI version: Global 12.0.9 Stable.

So I will re flash recovery. Then go to recovery, wipe dalvik, cache and data, and then flash from, happy and magisk. I think this should work?
you should have MIUI 12.5.xx, then go to recovery and do all what you said
 

Sylvia_

Member
Mar 14, 2018
9
0
Redmi 9 Power
Hello, I want to try to flash and try your custom rom on my device, but before that I want to ask regarding the Xiaomi EU port, can I use the latest android 11 12.6.x version weekly build? or do I need to specifically use the 12.5.x version in order for this custom rom to wok?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 11

    SuperiorOS logo


    About US:
    Superior OS is a AOSP based custom ROM with some minimal features to fulfill the users demands nowadays.

    Disclaimer.jpg

    Code:
    * Your warranty is now void.
    * We are not responsible for anything that may happen to your phone by installing any custom ROMs and/or kernels.
    * You do it at your own risk and take the responsibility upon yourself and you are not to blame us or XDA and its respected developers.
    "This is a user friendly thread, all your suggestions are important to us and will be taken into consideration.."

    Procedure.jpg


    CLEAN FLASH :
    Download the latest build and GApps
    Flash MIUI 12.5 port
    Reboot to recovery
    Take Backup (Not Necessary)
    Wipe System, Data, Cache, Dalvik
    Flash Magisk (optional)
    Format data if encrypted
    Reboot.

    DIRTY FLASH :
    Download the latest build
    Reboot to recovery
    Flash the latest build and GApps
    Wipe Cache
    Flash Magisk (optional)
    Reboot.



    Note : GApps only has to be flashed once whereas Magisk is to be flashed every time you Dirty Flash the ROM.

    Features.jpg

    Code:
    [LIST]
    [U][B]STATUSBAR:[/B][/U]
    [*]Statusbar icons.
    [*]Traffic indicators.
    [*]4G Icon Instead of LTE.
    [*]VoLTE icon toggle.
    [*]VoLTE & VoWiFi icon styles.
    [*]Clock Customization.
    [*]Battery Customization.
    [*]Old mobile type indication.
    
    [U][B]Navigation Bar:[/B][/U]
    [*]Enable/Disable Navbar.
    [*]Navbar Tuner.
    
    [U][B]QUICK SETTINGS:[/B][/U]
    [*]QS brightness slider position.
    [*]Battery percentage selection.
    [*]Auto brightness icon toggle.
    [*]Brightness control buttons.
    [*]Quick pulldown option.
    [*]Vibrate on touch.
    
    [U][B]LOCKSCREEN:[/B][/U]
    [*]Charging info.
    [*]Fingerprint Authentication Vibration.
    
    [U][B]BUTTONS:[/B][/U]
    [*]H/W keys customization.
    [*]H/W buttons backlight customizations.
    [*]Volume rocker  wake.
    
    [U][B]NOTIFICATIONS:[/B][/U]
    [*]Incall Vibrations.
    [*]Battery light customizations.
    [*]Notifications light customizations.
    [*]Less boring Headsup.
    [*]Headsup snooze & timeout option.
    [*]Ambient display customizations .
    
    [U][B]MISC:[/B][/U]
    [*]Three Finger Screenshot.
    [*]Wake on plug.
    
    [U][B]Others:[/B][/U]
    [*]Advanced Reboot.
    
    Lots more to come soon!..Stay Tuned!!![/LIST]

    Downloads.jpg

    Download ROM: abandoned

    Download Gapps:
    NikGApps

    Note : Basic version recommended.

    BUGS:
    -safetynet not pass, need to flash magisk and enable magisk hide.
    -you tell me.

    Provided to you by Juice Development Gang:
    @pawelik001 @hijemu @aseelpsathar


    Support group 1.
    Support group 2.

    Juice is unified codename for this deivces and this ROM is flashable on:
    -Redmi 9T
    -Redmi 9 Power
    -Redmi Note 9 4G
    -POCO M3
    (lime, lemon, pomelo, citrus codenames).


    Credits.jpg

    SuperiorOS Core Team[/SIZE]
    AOSP
    Lineage OS
    PixelExperience
    AospExtended
    Syberia OS
    Nitrogen OS
    Pixys OS

    Team.jpg

    Sipun Ku Mahanta

    Jayant Deshmukh
    Pavan Patel
    Swapnil Soni
    Subins Mani
    Rashed Sahaji
    Sreehari Vaasistha
    Arun Teltia

    Special thanks:
    Sam Grande

    Important Links

    Donate.jpg


    Loved the ROM? Want to help it imporove? Gift us with some credits!


    Source.jpg



    Superior OS source
    SuperiorOS-Device Sources

    telegram.png

    Telegram Group
    Telegram Channel

    REPORTING BUGS!
    As soon as the problem occurs, take a logcat!
    for more READ THIS


    XDA DevDB Information
    SuperiorOS, ROM for the Juice
    SuperiorOS Version Name:
    Xcalibur
    Device: Redmi 9T / Redmi 9 Power / Redmi Note 9 4G / POCO M3
    Maintainer: pawelik001
    Build Type: Unofficial

    Contributors
    @pawelik001
    Source Code: SuperiorOS
    Kernel Source: Xiaomi Stock Lime OSS

    ROM OS Version: 11.0
    ROM Kernel: Linux 4.19
    ROM Firmware Required: 12.5 EU PORT
    Based On: AOSP

    Version Information
    Status:
    Beta
    Current Stable Version: Xcalibur
    SELinux Status: Enforcing
    Stable Release Date: soon

    Created 2021-04-15
    Last Updated 2021-05-12
    2
    thanks for making it available for Redmi 9 Power.
    2
    @pawelik001 thanks for bringing this baby here. Will be unlocking my device soon. Flash and gonna report issues on redmi 9 power with logs. My back camera glass got broked last time and didn't go to service center because of corona. Apart from that thank you for bringing up Android 11 for this device. MIUI sucks big time.

    @pawelik001 doi require to flash EU Stock rom on my indian variant?
    1
    I used Redmi 9T. I flashed anh I have issue with Brightness bar. It don't work true. when I pull the minimum it is brightest
    Known bug , has been fixed on derpfest , will be fixed soon on all roms ig