Hi everyone
Xiaomi added Anti roll-back to latest Stable/Beta ROMs and many users bricked their phones because of it, i unlocked my bootloader yesterdays and started testing everything about Anti, and here is what i found so far:
As of right now, anything Beta 8.7.6 and above has it, and for Stable 9.5.19.0 and above, check Xiaomi announcement about it, in 2nd post you will find the last Miui builds without Anti Roll-back
you can flash TWRP again
you can Root Anti ROMs with Magisk or Disable Encryption
you can switch from CN builds to Global builds or vise versa
you can switch between all anti 4 builds just fine, like from 8.7.12 to 9.5.19.0 or anything with anti 4
you can flash any AOSP/LOS based ROM
you can flash anti 4 fastboot ROMs
based on fastboot script we might get anti 5 in the future
how to bypass anti roll back lock in fastboot and flash/run anything
1- TWRP flashing method:
Boot Twrp or Redwolf using “fastboot boot XYZ.img”
Copy img to device then flash Image file of XYZ.img again from recovery.
Flash Lazyflasher Or Magisk
Or you can just flash any AOSP/LOS based ROM
or check #6 to unlock bootloader commands
2- Switching from CN Beta to Global Beta
Download Global Beta 8.7.12 Fastboot Here or Global Stable 9.5.19.0 Fastboot Here
Make sure to backup your data first
Run flash_all.bat to flash Global build and wipe everything
Wait for system to boot up, and everything should be fine
3- Flashing Custom ROMs
Flashing AOSP/LOS ROMs should be easy, flash twrp, wipe data & flash ROM
Flashing Miui based ROMs is a bit tricky, you have to make sure they didnt include bootloader inside the Zip, check for firmware-update inside Zip's before flashing or just ask other users
4- based on fastboot new script we might get anti 5 in the future, so dont keep flashing newer bootloader/modem unless ROM developer tell you to do so
here is how the new script works:
it check for Anti vlaue
if Anti is smaller than 4, then it flashes normally, but your device will be anti 4 also
if Anti is 4, it flashes dummy to anti roll-back pass, then proceed to flash ROM, after flashing is done you will have the same Anti 4 vlaues
if Anit is bigger than 4, like 5 or something else, the script will abort and tell you to get Anti 4 ROM
5- Unlocking Fastboot:
This method let you flash twrp or run fastboot commands again
Download fastboot-unlock-anti-4-whyred from attachments or Drive
Flash from fastboot running this command
fastboot flash antirbpass dummy.img
Now flash twrp, run any fastboot command
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
you have to flash dummy/unlock every time you go into fastboot, or ARB will block your commands
ill keep this thread updated, make sure to follow up with updates
The Last builds without Anti Roll-back
The last builds without anti roll-back
Recovery/TWRP builds
Stable is Miui 9 9.5.17.0
Beta is Miui 10 8.7.5
Fastboot Builds
Stable is Miui 9 9.5.17.0
Beta is Miui 10 8.7.5
and this just in case
K cool Abdul?
You are legendary.. Keep it up
So, I'm on 8.7.5 right now with twrp and magisk and I'd like to keep updating as new builds come out. Can I just do what I always do? Download 8.7.12 rom, flash with twrp, flash lazyflasher and magisk?
Also would flashing other stuff risk bricking, like camera2 API zip, or YouTube vanced?
jmartinho said:
So, I'm on 8.7.5 right now with twrp and magisk and I'd like to keep updating as new builds come out. Can I just do what I always do? Download 8.7.12 rom, flash with twrp, flash lazyflasher and magisk?
Also would flashing other stuff risk bricking, like camera2 API zip, or YouTube vanced?
Click to expand...
Click to collapse
8.7.5 doesn't have Anti-rollback feature while 8.7.12 (All roms with 8.7.6 n above) has it
So u better dont update to newer versions of Official MIUI firmware to avoid issues
UCFour said:
8.7.5 doesn't have Anti-rollback feature while 8.7.12 (All roms with 8.7.6 n above) has it
So u better dont update to newer versions of Official MIUI firmware to avoid issues
Click to expand...
Click to collapse
Yes I know, but I don't want to be stuck in 8.7.5 forever because I doubt Xiaomi will go back on this. I like Miui and I don't have any intention of downgrading either, I just want to be able to keep TWRP and root.
[Index] Everything About Anti Roll-back [Whyred]
Have you tried it yet? It works?
.
AL_IRAQI said:
Flashing Miui based ROMs is a bit tricky, you have to make sure they didnt include bootloader inside the Zip, check for firmware-update inside Zip's before flashing or just ask other users
Click to expand...
Click to collapse
One question:
So if i want to update to the newest version of MIUI10 will it be okay if i just replace the files inside firmware-update of the zip with the one from 8.7.5?
Forgive my english if it make you confused:laugh:
2- Switching from CN Beta to Global Beta
this method also need to unlock bootloader right ??
Thank you very much for sharing.
I'm on 8.7.12 and my bootloader is still locked.
am I still able to. unlock bootloader and install twrp?
thanks
AL_IRAQI said:
Flashing AOSP/LOS ROMs should be easy, flash twrp, wipe data & flash ROM
Flashing Miui based ROMs is a bit tricky, you have to make sure they didnt include bootloader inside the Zip, check for firmware-update inside Zip's before flashing or just ask other users
Click to expand...
Click to collapse
What file is the bootloader in rom or firmware zips?
DedeDocil said:
One question:
So if i want to update to the newest version of MIUI10 will it be okay if i just replace the files inside firmware-update of the zip with the one from 8.7.5?
Forgive my english if it make you confused:laugh:
Click to expand...
Click to collapse
Nope, just remove it, and edit the script
azwina said:
2- Switching from CN Beta to Global Beta
this method also need to unlock bootloader right ??
Click to expand...
Click to collapse
Yeah, fastboot ROM is needed
nelsonmenon said:
I'm on 8.7.12 and my bootloader is still locked.
am I still able to. unlock bootloader and install twrp?
thanks
Click to expand...
Click to collapse
Yeah it should be fine, i unlocked on 8.7.12 then flashed twrp & AOSiP
corkiejp said:
What file is the bootloader in rom or firmware zips?
Click to expand...
Click to collapse
More than one file, so just remove the fw folder
jmartinho said:
So, I'm on 8.7.5 right now with twrp and magisk and I'd like to keep updating as new builds come out. Can I just do what I always do? Download 8.7.12 rom, flash with twrp, flash lazyflasher and magisk?
Also would flashing other stuff risk bricking, like camera2 API zip, or YouTube vanced?
Click to expand...
Click to collapse
Mods should be perfectly fine, just make sure not to flash bootloader from twrp
Let me clear a thing... 9.5.19 will be anti roll back enabled... When xiaomi release update next to 9.5.19 whatever it will... Can i roll back from that buil to 9.5.19... I mean to say can i roll back an anti roll back rom to it previous version of anti roll back rom... Waitting for your ans...
AL_IRAQI said:
Mods should be perfectly fine, just make sure not to flash bootloader from twrp
Click to expand...
Click to collapse
Do I still need to remove the firmware-update folder if I just want to update to official MIUI 10 builds (like 8.7.5 to 8.7.12, etc) or is it only other third party MIUI roms?
orion.30 said:
Let me clear a thing... 9.5.19 will be anti roll back enabled... When xiaomi release update next to 9.5.19 whatever it will... Can i roll back from that buil to 9.5.19... I mean to say can i roll back an anti roll back rom to it previous version of anti roll back rom... Waitting for your ans...
Click to expand...
Click to collapse
You can't roll back to older bootloader after flashing 9.5.19.0 bootloader
jmartinho said:
Do I still need to remove the firmware-update folder if I just want to update to official MIUI 10 builds (like 8.7.5 to 8.7.12, etc) or is it only other third party MIUI roms?
Click to expand...
Click to collapse
Yeah for the most part, check my other thread for modded Miui ROMs
https://forum.xda-developers.com/redmi-note-5-pro/how-to/index-redmi-note-5-pro-miui-roms-t3816343
I am in miui 8.7.5 global beta now with unlocked bootloader and twrp installed. If I will flash 8.7.12 global beta and then flash lazyflasher zip, will it remove my twrp ??
Related
Team Win Recovery Project 3.0.2-0
This is for the Xiaomi Mi MIX only, do not flash on other models!
WARNING: As of Android Marshmallow, factory boot images have dm-verity enabled, which prevents you from booting if you swipe to enable system modifications!
SOLUTION: Follow the full rooting steps below in order to allow system modifications without the risk of a boot loop!
WHAT IS TWRP?
Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...
Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.
Read more about TWRP here: https://twrp.me/about/
DOWNLOAD
You can find the device page here:
For official stock/dev firmware: http://teamw.in/devices/xiaomimimix.html
For (slightly newer) firmware: https://build.nethunter.com/test-builds/twrp/xiaomi/twrp-3.0.2-0-rc1-eu-lithium.img
For (the latest EU) firmware: https://build.nethunter.com/test-builds/twrp/xiaomi/twrp-3.0.2-0-rc2-eu-lithium.img
(touchscreen will not respond if not matching firmware)
You can find up to date fastboot & adb binaries here!
FULL STEPS FOR OBTAINING ROOT
Follow these instructions until someone nice comes along and makes a video from them (without ads):
You must first unlock your device. To do this, follow the instructions on the MIUI forums. (tedious, I know)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Extract adb & fastboot to your computer.
Download TWRP for Xiaomi Mi MIX (lithium).
Reboot your device into fastboot mode. To do this, select reboot from the power menu and hold the [Volume Down] + [Power] buttons while your device reboots.
Once you're in fastboot mode, you're ready to flash TWRP. To do this, run these commands in order:
fastboot flash recovery twrp.img
fastboot boot twrp.img
At this point, you will reach the screen asking you if you want to allow system modifications.
By swiping right, you will trigger dm-verity, and if you don't follow the next step you will be unable to boot!
If you are going to root your device and follow the rest of these steps, then it is safe to swipe right and enable modifications.
If you want to be rooted with SuperSU:
Download the latest SuperSU by Chainfire.
Without exiting TWRP, transfer the SuperSU zip to your device over MTP* and flash it using [Install] in TWRP.
If you want to be rooted with something else or just want a bootable system:
Download the latest dm-verity and forced encryption disabler zip.
Without exiting TWRP, transfer the no-verity-opt-encrypt zip to your device over MTP* and flash it using [Install] in TWRP.
This will also allow you to use [Format Data] to completely disable your encryption if desired.
Go to [Reboot] -> [System].
Wait 2-5 minutes for your device to finish setting itself up. (SuperSU will reboot you a few times)
* MTP, known as Media Transfer Protocol, is the same way you transfer files from your PC to your device when booted into system.
CHANGES
v3.0.2-0 - Official release on twrp.me
v3.0.2-0-rc1 - Initial release candidate and first XDA build
FEATURES
MTP support
USB Mass Storage support
Micro SDcard and USB OTG storage support
f2fs file system support (read, write, format, backup & restore)
exFAT file system support (read, write, format, backup & restore)
NTFS file system support (read, write, format)
ADB root
Full SELinux support
Built in android 6.0 tree
KNOWN ISSUES
There's absolutely none that I know of. Rejoice. You even have working hardware encryption!
CONTACT & SUPPORT
You can find us on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.
SOURCE CODE
TWRP: https://github.com/omnirom/android_bootable_recovery (android-6.0)
Device tree (Official): https://github.com/TeamWin/android_device_xiaomi_lithium (android-6.0)
Device tree (Development): https://github.com/jcadduono/android_device_xiaomi_lithium (android-6.0)
Kernel: Unavailable (waiting on Xiaomi source release, using MIUI stock binary for now)
CONTRIBUTIONS
Gerrit for TWRP: http://gerrit.omnirom.org/
Gerrit for officially supported devices: http://gerrit.twrp.me/
Thank you to @wolfgart for requesting device support and reporting feedback on my initial builds.
Great Work
Now Xiaomi MI MIX is the greatest device we can have atm
@jcadduono @wolfgart Wolfgart request your help just because in Italy I've already published italian rom with my recoveryas you see from here
http://forum.hdblog.it/index.php?/topic/55021-xiaomi-mi-mix-official/?p=999961
http://forum.hdblog.it/index.php?/topic/55021-xiaomi-mi-mix-official/?p=1000010
But your official support is obviously better than mine. I follow you in a lot of thread so I know your great work:good::good: Very happy for this
development is starting , great work OP
agriculture said:
development is starting , great work OP
Click to expand...
Click to collapse
Best device now has best TWRP ever made before.
tnx @jcadduono
Looks like it won't be showing up on twrp.me until 3.0.3 or 3.1.0 depending on what's next. There's a few incompatibilities in the device tree and I'd prefer to wait it out till then. Ex. 3.0.2 doesn't support f2fs or ntfs on omnirom trees right now, but our current source does. If I made an official release neither would be supported.
Update: Official release made on newer TWRP build tree.
Wow, a thousand thanks.
I flashed the recovery, but the touch screen was not working, I can't do anything in the recovery, anyone know what's wrong?
mega00 said:
I flashed the recovery, but the touch screen was not working, I can't do anything in the recovery, anyone know what's wrong?
Click to expand...
Click to collapse
did you read the part about needing a different TWRP image for EU vs stock ROM? You will need to boot the ROM you want, then turn off the device completely and boot into the TWRP version that matches it. This is a kernel firmware update issue that I can't fix until Xiaomi releases sources.
mega00 said:
Wow, a thousand thanks.
Click to expand...
Click to collapse
don't quote the entire thread opener.... edit your post and remove it, if you need to make adjustments use the edit button, don't make another post immediately after your own
jcadduono said:
did you read the part about needing a different TWRP image for EU vs stock ROM? You will need to boot the ROM you want, then turn off the device completely and boot into the TWRP version that matches it. This is a kernel firmware update issue that I can't fix until Xiaomi releases sources.
I am on stock rom and using the stock rom version TWRP, the touch screen just don't work.
To be more clear, I am on dev rom 6.11.10 (MIUI8), do I have to change to stable rom V8.0.8.0.MAHCNDI (MIUI8) to make it work?
Update: Yes, I changed to stable rom and it works.
Click to expand...
Click to collapse
mega00 said:
jcadduono said:
did you read the part about needing a different TWRP image for EU vs stock ROM? You will need to boot the ROM you want, then turn off the device completely and boot into the TWRP version that matches it. This is a kernel firmware update issue that I can't fix until Xiaomi releases sources.
I am on stock rom and using the stock rom version TWRP, the touch screen just don't work.
To be more clear, I am on dev rom 6.11.10 (MIUI8), do I have to change to stable rom V8.0.8.0.MAHCNDI (MIUI8) to make it work?
Click to expand...
Click to collapse
you have to flash CN Stable rom V8.0.8.0.MAHCNDI (MIUI8) and use original TWRP for it and if you want Cross-Flash your CN rom with International one Here too .
When you are on International rom up&running you can flash over the EU TWRP .
As explained from @jcadduono this is the only solution for the moment until XIAOMI release his Kernel stuff officially
Click to expand...
Click to collapse
Thanks to the devs for such fast development on this great phone ...
I personally coming from lg so xiaomi is completely new for me ...
I understand the usual steps unlocking bootloader..flashing twrp ...and finally root ....
I don't have the phone yet but when it comes is running the same stock rom for everybody if I'm not wrong?...
What is that with the different roms?...
And how do i know wich twrp have to install?
Thanks again and sorry for the #noob# guestions....
Sent from my LG-D855 using XDA Free mobile app
cultofluna said:
Thanks to the devs for such fast development on this great phone ...
I personally coming from lg so xiaomi is completely new for me ...
I understand the usual steps unlocking bootloader..flashing twrp ...and finally root ....
I don't have the phone yet but when it comes is running the same stock rom for everybody if I'm not wrong?...
What is that with the different roms?...
And how do i know wich twrp have to install?
Thanks again and sorry for the #noob# guestions....
Sent from my LG-D855 using XDA Free mobile app
Click to expand...
Click to collapse
cause Stock kernel still was not relased you have to simply flash EU Rom using stock TWRP and after you done you have to change to TWRP EU to make it working again .
We are waiting official sources from Xiaomi
just to make sure i'm understanding this correctly - there is no way to unlock this phone on the day you get it you have to apply and wait upwards of 2 weeks to be able to unlock it?
knives of ice said:
just to make sure i'm understanding this correctly - there is no way to unlock this phone on the day you get it you have to apply and wait upwards of 2 weeks to be able to unlock it?
Click to expand...
Click to collapse
I waited about 4 hours after submitting the application, 2 weeks is a maximum estimation.
knives of ice said:
just to make sure i'm understanding this correctly - there is no way to unlock this phone on the day you get it you have to apply and wait upwards of 2 weeks to be able to unlock it?
Click to expand...
Click to collapse
you have to wait few minutes or at last 24 hours to receive sms unlock approve
:good::good:
wolfgart said:
you have to wait few minutes or at last 24 hours to receive sms unlock approve
Click to expand...
Click to collapse
I am facing the unlock stuck at 50% issue while trying to unlock the bootloader on this phone? any ideas? Thank you.
does anyone know if using TWRP manager will work to install TWRP after you have unlocked?
jim380 said:
I am facing the unlock stuck at 50% issue while trying to unlock the bootloader on this phone? any ideas? Thank you.
Click to expand...
Click to collapse
you have to Log On with your MIUI account on device too and the retry to unlock
---------- Post added at 07:43 AM ---------- Previous post was at 07:42 AM ----------
knives of ice said:
does anyone know if using TWRP manager will work to install TWRP after you have unlocked?
Click to expand...
Click to collapse
it works ! I can confirm. And it works using Flashify too
A new official ColorOS udpate from OPPO is available in my region and at least all Europe I guess.
This is version F1fEX_11_170327. A copy of the OTA update package is here if anyone needs it: F1EX_11_OTA_896-897_patch_201703271119_3cf702307f.zip on MEGA (56.0 MB).
A few screenshots if you want to see the changelog: http://imgur.com/a/5UiiQ
Before:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
After, full about phone capture: http://imgur.com/CIbWrWX
This is still Android 5.1.1 with a 3.10.28 kernel. No Marshmallow
I'm a bit amazed by the continuous support from OPPO, and especially the security patches integrated in those updates. I was not expecting this from this brand. This is part of what's preventing me from completely switching to LineageOS. This is my only smartphone and I need it to just work.
Now I wish I can unroot my phone, lol
You can, I did it.
The simplest method:
- copy ColorOS & Project Spectrum zips provided by OPPO
- boot in fastboot mode
- Install stock recovery with fastboot
- Reboot to recovery
- Install Project Spectrum
- Reboot to recovery
- Install ColorOS
You should be stock, relocked.
kdd998 said:
You can, I did it.
The simplest method:
- copy ColorOS & Project Spectrum zips provided by OPPO
- boot in fastboot mode
- Install stock recovery with fastboot
- Reboot to recovery
- Install Project Spectrum
- Reboot to recovery
- Install ColorOS
You should be stock, relocked.
Click to expand...
Click to collapse
Thank you!
But where can I get stock recovery?
You can extract recovery.img from the ColorOS zip.
If someone were to flash this via twrp. When they have followed this thread
https://forum.xda-developers.com/op...pdates-rooted-unlocked-devices-t3395034/page8
They would loose twrp and lose he unlocked bootloader correct?
This zip is only for OPPO*recovery, not for TWRP. It needs to be modified. If modified, I don't think recovery or unlocked state would change as recovery is not included in the original zip.
kdd998 said:
This zip is only for OPPO*recovery, not for TWRP. It needs to be modified. If modified, I don't think recovery or unlocked state would change as recovery is not included in the original zip.
Click to expand...
Click to collapse
The update zip does contain and flash the locked bootloader(emmc_appsboot.mbn) and also the update zips never contain a recovery.img but do have a script(install_recovery.sh) and patches that patch the latest recovery onto latest boot.img and flash it to recovery. So, yes, flashing it will lock everything down. Modifying it to remove bootloader and recovery is easy enough( I'm happy to do it) but it will also check the current build version on the phone before flashing and refuse to flash unless the rom has been updated to the "896" level, which I have never seen an update zip to go from 894 to 896 (891-894 is the newest update I have seen posted till now). There is a new download of full rom available for the 896 version which could also be modified to install from twrp without bootloader and recovery but it does require a full wipe. If enough people want it, I guess it would be good to have a more up to date full clean install of colouros.
Do you think it's worth the effort?
MiniBlu said:
The update zip does contain and flash the locked bootloader(emmc_appsboot.mbn) and also the update zips never contain a recovery.img but do have a script(install_recovery.sh) and patches that patch the latest recovery onto latest boot.img and flash it to recovery. So, yes, flashing it will lock everything down. Modifying it to remove bootloader and recovery is easy enough( I'm happy to do it) but it will also check the current build version on the phone before flashing and refuse to flash unless the rom has been updated to the "896" level, which I have never seen an update zip to go from 894 to 896 (891-894 is the newest update I have seen posted till now). There is a new download of full rom available for the 896 version which could also be modified to install from twrp without bootloader and recovery but it does require a full wipe. If enough people want it, I guess it would be good to have a more up to date full clean install of colouros.
Do you think it's worth the effort?
Click to expand...
Click to collapse
It would be nice if we ever go back to color os. But don't rush it. Take your time. Its not a big rush. But I would rather the time be spent in lineage first. Up to you
MiniBlu said:
I have never seen an update zip to go from 894 to 896 (891-894 is the newest update I have seen posted till now).
Click to expand...
Click to collapse
I have a 010 to 896 patch here if needed: https://mega.nz/#!hxxDxAwb!nLa3aDvz3GubMcTaxqaLowRujDt6UKcn0DohuhkclXY
Thanks for all the info. From my point of view, I don't think it's worth the effort. I'd rather work on LineageOS (maybe I'll have time on monday to try new things)
Deleted
kdd998 said:
You can, I did it.
The simplest method:
- copy ColorOS & Project Spectrum zips provided by OPPO
- boot in fastboot mode
- Install stock recovery with fastboot
- Reboot to recovery
- Install Project Spectrum
- Reboot to recovery
- Install ColorOS
You should be stock, relocked.
Click to expand...
Click to collapse
what if i still have my stock recovery? can i just flash spectrum os then flash color os to unroot my device? coz i rooted my device also using kingroot. i cant update ota.
wakaranay said:
what if i still have my stock recovery? can i just flash spectrum os then flash color os to unroot my device? coz i rooted my device also using kingroot. i cant update ota.
Click to expand...
Click to collapse
https://www.google.com.au/amp/m.wikihow.com/Unroot-Android?amp=1
That would be the hardest way in my opinion. Try these first.
I would use the supersu app first and if that doesn't work then use the manual delete
Jamie_oppo said:
https://www.google.com.au/amp/m.wikihow.com/Unroot-Android?amp=1
That would be the hardest way in my opinion. Try these first.
I would use the supersu app first and if that doesn't work then use the manual delete
Click to expand...
Click to collapse
both not working. i cant still update tru ota
wakaranay said:
both not working. i cant still update tru ota
Click to expand...
Click to collapse
Have you unlocked your bootloader?
Jamie_oppo said:
Have you unlocked your bootloader?
Click to expand...
Click to collapse
locked bootloader
wakaranay said:
locked bootloader
Click to expand...
Click to collapse
I guess flashing spectrum then color os should work. Not 100% but if you get to spectrum then it will work
Jamie_oppo said:
I guess flashing spectrum then color os should work. Not 100% but if you get to spectrum then it will work
Click to expand...
Click to collapse
thanks. i guess firmware flashing will also work. but i dont know what firmware or when i can get that firmware
wakaranay said:
thanks. i guess firmware flashing will also work. but i dont know what firmware or when i can get that firmware
Click to expand...
Click to collapse
Read post 3 of this thread. Miniblu made a firemware zip. Oops sorry didn't include a link
https://forum.xda-developers.com/oppo-f1/development/rom-unofficial-cyanogenmod-13-t3542718/page23
How to re install the original recovery :crying:
Redmi Note 5/Pro Miui ROMs without firmware
We all know that Xiaomi added Anti roll-back to latest Stable/Beta ROMs and many users bricked their phones because of it, check my thread about ARB Here, then check out this one
Here ill provide Miui ROMs fully stock but without "firmware-update", to prevent any potential bricking while switching between Miui Based ROMs
Download Folders:
Here
Notes:
After flashing any of the builds above you cant go and flash FULL Miui ROMs to downgrade, just stick to my modded versions if you want to use older MIUI builds
No matter which Anti (3/4) you have, you can flash any of those ROMs with TWRP
Those ROMs doesnt affect your phone bootloader in any way, so you can roll back to your old ROM after Flashing any of the above builds
Old builds might get removed, so keep what you need locally, we will keep the latest 3 builds from every branch
Dont answer with false info's, i saw more than one reply with false statements
Be Nice to each other, no need for flaming in here
Dont post links to other ROMs here, i saw miuipro & eu links couple of posts back ( it could come with fw/bl)
Read OP, Search before posting
One more time, those ROMs wont remove or change your anti, if you come from anti 3 it will stay anti 3 after flashing, and same goes for anti 4
Again, if your phone is anti 4, you cant just simply go and flash FULL older ROM, even after flashing Modded builds, so stick with my builds
Anti 4 users can flash any of those builds just fine
[*]All the notes Above applies for My Modded builds only, do go and share it as facts for all Miui ROMs
Credits:
Me for the idea/testing
@akhilnarang for the script and mirroring @yshalsager for the script and mirroring
Note for CN Users
Note for CN Users:
before flashing any Global ROMs, you guys have to flash Global Cust from fastboot
Download Global Cust Here
Donwload dummy.img Here or attachments
then follow these steps:
Flash dummy.img from Fastboot to Enable Fastboot Commands
fastboot flash antirbpass dummy.img
then Flash cust-global.img
fastboot flash cust cust-global.img
Then Reboot into TWRP & Flash Global ROM
and this thx
so i can flash this over miui 8.7.12 and all the miui roms. doesn't matter if they are on anti v3 or anti v4?
Kapiljhajhria said:
so i can flash this over miui 8.7.12 and all the miui roms. doesn't matter if they are on anti v3 or anti v4?
Click to expand...
Click to collapse
Read Notes!!
i'm on 8.7.12 can i flash 8.7.12 in this thread and downgrade to miui9 like 9.5.6.0
mxilil said:
i'm on 8.7.12 can i flash 8.7.12 in this thread and downgrade to miui9 like 9.5.6.0
Click to expand...
Click to collapse
No!!, read notes please, those builds contain system, boot & vendor only, doesn't have anything to do with bootloader or anti
Wait for Modded Miui 9 builds!
?
Excellent thought. Keep it going!
Stable builds are UP!!
Enjoy
Thanks! Are these flashable through updater app? I mean since I can't flash official v9.5.17.0 global over v8.7.5 beta now as we have newer stable version 9.5.19.0 with ARB which I don't wanna flash yet. Also I have locked bootloader still 165 hrs to go until I can fastboot flash and downgrade but i really wanna go to stable ROM asap.
@AL_IRAQI
Hello, I am currently in an AOSP and TWRP installed, I am wanting to install to EU 8.7.12. If I do, can I go back to an AOSP again?
Obs: I read the notes but I still have doubts
thankful
For now i'm on 8.7.5 global official with bootloader locked (5 day left to unlock the bootlader) ! can i update to 8.7.12 global with the updater app ?
And will i stay on "Anti 3" or will i be on Anti 4 like it would if i update normally ?
I read the note too but these wasn't answered
ashishkotnala29 said:
Thanks! Are these flashable through updater app? I mean since I can't flash official v9.5.17.0 global over v8.7.5 beta now as we have newer stable version 9.5.19.0 with ARB which I don't wanna flash yet. Also I have locked bootloader still 165 hrs to go until I can fastboot flash and downgrade but i really wanna go to stable ROM asap.
Click to expand...
Click to collapse
TWRP Only, and it wont change your bootloader
eulipereira said:
@AL_IRAQI
Hello, I am currently in an AOSP and TWRP installed, I am wanting to install to EU 8.7.12. If I do, can I go back to an AOSP again?
Obs: I read the notes but I still have doubts
thankful
Click to expand...
Click to collapse
Yeah, it wont change your bootloader
tlf55 said:
For now i'm on 8.7.5 global official with bootloader locked (5 day left to unlock the bootlader) ! can i update to 8.7.12 global with the updater app ?
And will i stay on "Anti 3" or will i be on Anti 4 like it would if i update normally ?
I read the note too but these wasn't answered
Click to expand...
Click to collapse
Nope, you need TWRP to flash modded Zip's
Great work brother ???? you are life saver
AL_IRAQI said:
TWRP Only, and it wont change your bootloader
Yeah, it wont change your bootloader
Nope, you need TWRP to flash modded Zip's
Click to expand...
Click to collapse
Is it necessary to pass lazyflasher-no-verity-opt-encrypt?
Thanks for answering
thanks
Thank you. Works like a charm.
Still anti 3.
wabba1 said:
Thank you. Works like a charm.
Still anti 3.
Click to expand...
Click to collapse
Friend, did you pass lazyflasher-no-verity-opt-encrypt?
I flashed with Redwolf. Dm-verity and encryption both disabled in Options of Redwolf
Nice work bro.Keep up the good work
This guide is for those who are on unlocked bootloader/custom roms and want to go back to realme UI 1.0 and relock
Needless to say, me, and the makers of realme flash-tool and TWRP/other recoveries wouldn't be responsible for any damage caused to your device. Having said that, this method has been tested and should be fine for realme UI 1.0.
First things first, if you are on custom rom or on rooted stock rom you need to revert to unmodified stock rom.
*Warning :-Make absolutely sure that you are not relocking by flashing an older version, always flash the current or newer i:e If you unlocked while being on version A.19 make sure to flash A.19 and/or newer versions and not A.17. While I'm not sure if this will result in a brick or not and have no intentions of trying, this may result in a hardbrick.*
Links to firmware (RMX2061/EUxxxxxxx.ozip). Search for realme 6pro from the list.
IN.- https://www.realme.com/in/support/software-update
EU.- https://www.realme.com/eu/support/software-update
*Do not lock bootloader while on custom rom.*
*Do not lock bootloader if you're rooted.*
*Do not lock bootloader with any custom partitions even vbmeta with disabled verity and verification.*
IF YOU DO SO YOU'LL END UP WITH A BRICK WHICH CAN ONLY BE FIXED AT A SERVICE CENTER. YOUR PHONE WILL DISPLAY AN ERROR MESSAGE SAYING PARTITONS ARE CORRUPT/DAMAGED.
Backup your stuff before proceeding.
There are three ways to revert to stock:
1. Using RFT (Realme Flashtool) by @sayaoks :-
Instructions provided on the thread.
https://forum.xda-developers.com/re.../tool-rtf-realme-flash-tool-to-flash-t4144969
2. Using TWRP (use the latest from the recovery section).
*Wipe>Format Data> type yes> format
*Reboot>reboot to recovery
*Install > Select .ozip> Swipe to flash
*Reboot
Do not select disable-vbmeta or avb_patcher or anything of that sort.
Recommended-
https://forum.xda-developers.com/realme-6-pro/development/recovery-twrp-recovery-t4171759
3. Using stock recovery.
From system:- To flash using stock recovery, download and put the .ozip in the root of storage and from realme file manager tap on it. It will start Flashing in the stock recovery.
From recovery:- Download and put the .ozip in the root of storage, then reboot to recovery.
Your Language> Install from storage> enter password(only if you have one)> Phone/SDcard and then select the .ozip.
Any custom recovery.img/boot.img should now be replaced with stock.
After flashing is successful and the device has booted to stock rom reboot to the bootloader.
If you want to be extra careful, and used RFT or TWRP/Custom Recovery to flash stock rom, you can flash the fw again using stock recovery after the phone has booted up(steps mentioned above).
Connect the phone to PC and enter command
Code:
fastboot flashing lock
Now on the phone select lock bootloader with the help of volume up and power buttons.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Wait for it to complete... and you will boot into the OS with a locked bootloader.
Thanks to @Satham spot & @sayaoks
I'm on RMX2063_11_A35 I can't find an update more recent than RMX2061EU_11.A.26 Can I use this method and update via OTA and then lock the bootloader?
Andres88z said:
I'm on RMX2063_11_A35 I can't find an update more recent than RMX2061EU_11.A.26 Can I use this method and update via OTA and then lock the bootloader?
Click to expand...
Click to collapse
A35 is the latest version for IN firmware. Latest for EU is A28, which is up on realme EU website.
If you want A35 firmware just visit the Indian downloads page.
And yes you can update to a newer version than whatever you unlocked on and then lock on the newer version. Make sure everything is just stock meaning no twrp,patched boot and/or custom recovery.
Don't have a brick to use the rmx2061 model? instead of device 2063, what method do you recommend.
Andres88z said:
Don't have a brick to use the rmx2061 model? instead of device 2063, what method do you recommend.
Click to expand...
Click to collapse
Well I know someone having Indonesian/Indian model and locking on the EU firmware. It didn't brick but not sure what will happen in the future when an OTA drops.
Lock on the same firmware as the device, like eu device with eu fw and so on (just to be safe).
You can use any methods to get to stock, just to be extra sure, when the phone boots up after flashing stock and before locking, put the fw in the root storage of the phone and re-flash again with the stock recovery. And then proceed to lock.
thanks to carry out the process and start correctly, I got an update of only 300 mb ls which gave me an error, but soon the same RMX2063a1135 came out but 3.5 gb which if it was installed and now I am as I started, without root or magisk, The question is, since the most recent was installed via ota, can I close the bootloader?
Andres88z said:
thanks to carry out the process and start correctly, I got an update of only 300 mb ls which gave me an error, but soon the same RMX2063a1135 came out but 3.5 gb which if it was installed and now I am as I started, without root or magisk, The question is, since the most recent was installed via ota, can I close the bootloader?
Click to expand...
Click to collapse
Yes
can i use orange fox recovery ? which one should i wipe if i use orange fox recovery?
Can this guide help me rollback my realme 6 pro from android 11 beta to android 10? If it does, which steps do I need to add or change. Thanks
noside_143 said:
Can this guide help me rollback my realme 6 pro from android 11 beta to android 10? If it does, which steps do I need to add or change. Thanks
Click to expand...
Click to collapse
Yes but you must use the latest Android 10 image, seem realme blocks to downgrade to older version than this
I have installed custom rom and I need to return to stock rom
all stock versions I found are ui 1.0 only
I unlocked the bootloader while using latest ui 2.0
what should I do to return to stock rom please ?
kiro_koko said:
I have installed custom rom and I need to return to stock rom
all stock versions I found are ui 1.0 only
I unlocked the bootloader while using latest ui 2.0
what should I do to return to stock rom please ?
Click to expand...
Click to collapse
You can use RUI 2.0 to lock. Just be sure that all partitions are stock. Use the .ozips made by @ctapchuk
This is for Europe (11.2.2.2.LE25DA). If you are on Global, EU version works, but up to you. It appears for last year, unless you are from India, OnePlus doesn't care. It might be a while before a Full OTA update for Global is released, you'll notice updates come without it for Global or on their Global support site, the firmware is outdated.
- On T-Mobile have full 5G. I don't know about AT&T and Verizon. Should be same.
If you are on Global and you just received your phone. Do all the updates from the incremental through device. If you want root, you can flash with the EU patched boot.img and everything will work as normal
**** but once you do this, you will need to wait for Global full OTA to update next time, unless you managed to have a backup copy of the unpatched boot.img
Do the usual to unlock your OnePlus 9: oem unlock, usb debugging from developer. Boot into bootloader and use adb command /fastboot flashing unlock
This will wipe your phone and reboot. Setup your phone
Install Magisk from his official github: https://github.com/topjohnwu/Magisk/releases/tag/v22.0
- Topjohn provides full instructions on how to do this yourself as well.
Reboot into bootloader
Flash boot the magisk modified boot.img. /fastboost flash boot boot.img
Go into Magisk app and install via direct install and all done.
Return to stock
- Restore boot.img from Magisk
- Uninstall Magisk
- Flash the stock boot.img
- Relock the bootloader, will wipe and return to factory reset.
Stock 11.2.33 Boot.img
boot11233_stock.img | by zymphad for OnePlus 9
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Magisk Patched 11.2.33 boot.img
boot11233_patched.img | by zymphad for OnePlus 9
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Spoiler: Previous Boot Images
Patched Boot.img for Europe (11.2.2.2.LE25DA)
boot93.img | by zymphad for OnePlus 9
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Stock Boot.img for Europe (11.2.2.2.LE25DA)
boot.img | by zymphad for OnePlus 9
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Future Full OTA Updates
- Update as usual
- Go into Magisk and choose direct install and then install to inactive slot after OTA
- This will retain root
How to do it yourself:
Download full OTA, usually Oxygen Updater App, XDA has links or from https://www.oneplus.com/support/softwareupgrade
Download Payload Dumper
payload_dumper-win64.zip | Tool by geminids14 for Utilities
Extract payload.bin in xiaomi weekly build zip for MI A1
androidfilehost.com
Extract and place payload.bin in input folder
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Run the payload_dumper.exe
In the output folder will be boot.img, move that onto your phone, folder of your choice
Go to Magisk app, click install
Choose Select and Patch a File
Choose the file and it will patch it, Magisk will say where the file is located.
That is your patched boot.img file. Use that to flash / root your phone.
Remember only have do this once, you don't have to do this again with subsequent updates.
zymphad said:
Do the usual to unlock your OnePlus 9: oem unlock, usb debugging from developer. Boot into bootloader and use adb command /fastboot flashing unlock
This will wipe your phone and reboot. Setup your phone
Install Magisk from his official github: https://github.com/topjohnwu/Magisk/releases/tag/v22.0
Reboot into bootloader
Flash boot the magisk modified boot.img. /fastboost flash boot boot.img
AndroidFileHost.com | Download GApps, Roms, Kernels, Themes, Firmware and more. Free file hosting for all Android developers.
Download GApps, Roms, Kernels, Themes, Firmware, and more. Free file hosting for all Android developers.
www.androidfilehost.com
Go into Magisk app and install via direct install and all done.
Click to expand...
Click to collapse
What version/region of the OP9 is this boot.img for? Where did you get the original unmodified one? I need Canadian.
Slikkster2k said:
What version/region of the OP9 is this boot.img for? Where did you get the original unmodified one? I need Canadian.
Click to expand...
Click to collapse
So there seems to be confusion about version. The boot image doesn't matter. When you flash a custom rom, there isn't a EU or US version. The only difference I can think of if it's T-Mobile, so when you flash, then it would just be an international/global. This is from XDA.
Honestly I would bet the Indian version is same as well.
This is the EU, which is the same boot.img for US unlocked.
If the future you should be able to do this yourself once OnePlus adds the 9 series to their global firmware downloads list.
Good to know, thanks! I'm not planning to flash a custom rom, I just want root. So I just have to make sure the bootloader is unlocked, and then follow the steps for Magisk.
Yep, working great here. Mobile payments working fine. Using energized for adblock.
So I successfully rooted yesterday, all is working great. Today my phone prompts me that system update 11.2.1.1 is available. Of course, I cannot upgrade while rooted. However, I also can't restore my stock boot.img because I don't have a copy of it... Any way to update without doing a factory reset, or am I screwed?
Edit: From what I've found, factory reset doesn't touch the boot partition. So that won't help.
This method worked for me, though I'm now running the same issue as Slikkster2k, since I don't have an unpatched boot.img, I can't uninstall magisk to update via OTA.
I would suggest, for those wanting to be able to update in the future (until we get a custom recovery), that instead of /fastboot flash boot boot.img, use /fastboot boot boot.img and then let Magisk finish the install. When Magisk patches the boot image, it will take a backup of the stock one to be used for uninstallation.
Slikkster2k said:
So I successfully rooted yesterday, all is working great. Today my phone prompts me that system update 11.2.1.1 is available. Of course, I cannot upgrade while rooted. However, I also can't restore my stock boot.img because I don't have a copy of it... Any way to update without doing a factory reset, or am I screwed?
Click to expand...
Click to collapse
Install magisk module-a/b install-before you reboot, then select direct install to second slot and reboot. Works beautifully.
[email protected] said:
Install magisk module-a/b install-before you reboot, then select direct install to second slot and reboot. Works beautifully.
Click to expand...
Click to collapse
I can't install the OTA update at all -- I'm on global ROM, so it fails because it's attempting a partial OTA update, rather than flashing a full ROM.
@zymphad
Do you also have a copy of the unpatched boot.img file?
Slikkster2k said:
I can't install the OTA update at all -- I'm on global ROM, so it fails because it's attempting a partial OTA update, rather than flashing a full ROM.
Click to expand...
Click to collapse
With rooted phone you need to do full not partial.
We are on the February security update. The latest update for OP9 is still on it, so disappointing.
We have to wait until the March security update that is already out for other oneplus devices.
You can unroot and re-lock your bootloader and then install the partial and then do the whole process again. I am not going to do that, seems waste of time.
Uninstall Magisk -- Flash stock boot.img -- lock bootloader.
This will wipe your phone back to factory reset!!!
But I expect we will see March update soon since Nord and 8 series have them already.
zymphad said:
With rooted phone you need to do full not partial.
We are on the February security update. The latest update for OP9 is still on it, so disappointing.
We have to wait until the March security update that is already out for other oneplus devices.
You can unroot and re-lock your bootloader and then install the partial and then do the whole process again. I am not going to do that, seems waste of time.
Uninstall Magisk -- Flash stock boot.img -- lock bootloader.
This will wipe your phone back to factory reset!!!
But I expect we will see March update soon since Nord and 8 series have them already.
Click to expand...
Click to collapse
The issue is that even if we wanted to do this, Slikkster2k and I (and possibly others), don't have the stock boot.img, since we flashed the magisk patched boot.img directly. Since you provided the patched boot.img originally, do you have the unpatched version available?
That way if anyone still on the original version that came pre-loaded wants to flash back to fully stock (and maybe re-lock bootloader) they can.
Those of us on the Global/US variant (AA) don't have the full zip available, and since we can't flash incremental while rooted, we currently have no way of actually reverting to stock until OnePlus publishes the full ROM zip.
Will post the stock.
I mean dunno why would want to since to do the incremental think have to relock bootloader which would factory reset.
And the to root again would factory reset again...
The March security update is already out for Nord and 8 series. Would just wait.
The incremental is still the Feb security update which you are already on.
Thanks, I mostly just wanted to redo the root process, but use /fastboot boot boot.img instead of /fastboot flash boot boot.img, so that magisk has a backup of the stock bootloader. That way, if for some reason I need to flash back to stock before the March Security update comes out, I can do so from my phone without needing my PC.
zymphad said:
I mean dunno why would want to since to do the incremental think have to relock bootloader which would factory reset.
Click to expand...
Click to collapse
Ah, was not aware of that. In that case we'll just have to wait, hopefully OnePlus posts it soon.
Besides, the patched bootloader you posted is from 11.2.1.1 (I compared the hash to the one in the other thread), so I assume the stock image is the same. So it's no good to us anyways.
Slikkster2k said:
Besides, the patched bootloader you posted is from 11.2.1.1 (I compared the hash to the one in the other thread), so I assume the stock image is the same. So it's no good to us anyways.
Click to expand...
Click to collapse
Ahh, I didn't realize that, I guess it's just a good thing that the 11.2.1.1 boot.img doesn't cause any issues when flashed onto 11.2, since we would have had no way to undo it
reffu said:
Ahh, I didn't realize that, I guess it's just a good thing that the 11.2.1.1 boot.img doesn't cause any issues when flashed onto 11.2, since we would have had no way to undo it
Click to expand...
Click to collapse
Actually I tested it using fastboot boot boot.img before I flashed it, just to make sure it would work (I didn't know it was from 11.2.1.1 at the time, but I'm paranoid).
Seems the rest of the world is getting the March update except US again. Still no full package, and this time not even partial. Dunno what is going on with OnePlus and US, but it's annoying.
Will update for EU AB firmware in the OP. And then put disclaimer for Global to do all their updates prior to rooting.