How To Guide FIX OTA installation problem - Nothing Phone 1

hi mates,
recently when i downgraded from Nos 13 to 12 (or) from custom to stock NOS i had faced OTA installation problem
(note im bootloader and critical unlocked)
OTA update use fail , and local update also getting error.
I fixed the issue by
fastboot flash boot boot.img
fastboot flash vendor_boot vendor_boot.img
fastboot reboot recovery
then select apply update -> adb side load option in recovery
adb sideload <full_Nos_rom_zip_filename> (from pc)
comeback in recovery and perform factory data reset
reboot system
note:
use payload dumper method to get boot and vendor_boot of specific version that you are using. using other version might cause brick.
use the boot and vendor images for same Nos version
1.1.3 full rom , 1.1.3 boot , 1.1.3 vendor_boot
(or)
1.1.7 full rom , 1.1.7 boot , 1.1.7 vendor_boot
when i tried to use 1.1.4 rom files i got error of previous installation failed in recovery but when i tried with 1.1.3 then succeeded. so try with 1.1.3 or 1.1.7 files.
after reboot now OTA has worked, and now im in 1.1.8
note: i had not locked bootloader and critical at any point. OTA will worked even bootloader is unlocked.
links:
NOS repository
payload dumper guide

Nayakantipavankumar said:
hi mates,
recently when i downgraded from Nos 13 to 12 (or) from custom to stock NOS i had faced OTA installation problem
(note im bootloader and critical unlocked)
OTA update use fail , and local update also getting error.
...
links:
NOS repository
payload dumper guide
Click to expand...
Click to collapse
Yes, but it's not new and logical. You redo a clean installation for have a stable base like users don't have OTA issue. So there no true way to force / fix OTA install in your steps because you must (in this case) entirely factory reset.
It's important to add a thing, factory reset only from actual firmware with OTA issue don't working.
Only factory reset with the boot/vendor_boot replacement working.

I have tried this method but get an error when trying to sideload in recovery. Every method I have tried stop the ability to update via OTA or through recovery.

skeamznz said:
I have tried this method but get an error when trying to sideload in recovery. Every method I have tried stop the ability to update via OTA or through recovery.
Click to expand...
Click to collapse
What error ur getting?

Nayakantipavankumar said:
What error ur getting?
Click to expand...
Click to collapse
Stops at 47% and says cannot rollback.

skeamznz said:
Stops at 47% and says cannot rollback.
Click to expand...
Click to collapse
did you find any fix? I'm having the same issue. please help

someone please help can't sideload any ota. stops at 47% shows rollback protection and sideload aborted

Related

Issue upgrading ZE551KL to Marshmallow

Trying to upgrade my ZE551KL to Marshmallow but I've hit an issue. I'll recap all the steps I went through today and then the error I'm getting:
Started the day with firmware 763
Took a backup with TWRP
Updated FW to 1106, 1234 and 1531 in sequence in order to prepare for update to Marshmallow
Took one more backup with TWRP
Attempted update to MM using download from ASUS, manually initiating from recovery, got the error below
Attempted update to MM again using the notification prompt after booting phone with update file on SD card (per ASUS' instructions), got the same result, below.
The error text is this:
Code:
Can't install this M package (Tue May 17 23:05:50 CST 2016)
L less than 20160426 build (Tue Dec 1 17:16:17 CST 2015)
E:Error in /sideload/package.zip
(Status 7)
E: fota_return_code 409
It seems this error typically means that the current Lollipop version is old and needs to be updated to the latest before trying to update to MM. I've validated in the About screen that my firmware version is indeed 1531 so I'm not sure what else I need to do.
I apologize if this question has been answered elsewhere. I hunted around for a while on this forum and using Google and didn't find anyone that seemed to be in this same situation.
Thank you for the help!
did you try with the stock recovery.img of 1531?
I had the exact same problem the only thing worked with TWRP was to use the back2stock method.
http://forum.xda-developers.com/zen...50kl-ze551kl-zd551kl-ze600kl-ze601kl-t3333482
murat124 said:
did you try with the stock recovery.img of 1531?
I had the exact same problem the only thing worked with TWRP was to use the back2stock method.
http://forum.xda-developers.com/zen...50kl-ze551kl-zd551kl-ze600kl-ze601kl-t3333482
Click to expand...
Click to collapse
Well I never actually flashed TWRP, I just booted it using fastboot each time I needed it. Does flashing the OTA updates update the recovery or do I have to do that manually?
I got the exact error you are getting with original recovery or TWRP. The only difference is that I was using MM and deleted the OS by mistake so I could not reflash official MM . back2stock method was the only way. Now I have TWRP, official MM via back2stock and root at the same time.
I am sure more expert members can give you better advice.
murat124 said:
I got the exact error you are getting with original recovery or TWRP. The only difference is that I was using MM and deleted the OS by mistake so I could not reflash official MM . back2stock method was the only way. Now I have TWRP, official MM via back2stock and root at the same time.
I am sure more expert members can give you better advice.
Click to expand...
Click to collapse
Does back2stock require a full wipe? I was hoping not to have to do that...
bennettj1087 said:
Trying to upgrade my ZE551KL to Marshmallow but I've hit an issue. I'll recap all the steps I went through today and then the error I'm getting:
[*]Updated FW to 1106, 1234 and 1531 in sequence in order to prepare for update to Marshmallow
Click to expand...
Click to collapse
Worked in my case when I updated to latest lollipop firmware available.
(Actually I never installed the complete firmware, just flashed
Code:
boot.img
and
Code:
recovery.img
for the latest lollipop firmware available and marshmallow FW installed like a charm, though I'd suggest you install the complete lollipop framework)

[guide]Upgrade to MM(with any custom Rom)

Because it's coming soon my Rom.I write this manual
The transition to Beta 6.0 full custom bikes(RR,CM, or in my case HegsagonOS and BlurOS)
1.Install all necessary driver
https://software.intel.com/ru-ru/android/articles/intel-usb-driver-for-android-devices?page=1
------------------------
https://drive.google.com/file/d/0B0MKgCbUM0itVVFWRC02Q0VBQnc/view
----------------
http://4pda.ru/forum/index.php?showtopic=657946&st=1020#entry41321160
---------------------
http://4pda.ru/forum/index.php?showtopic=657946&st=6510#entry51065375
----------
If you do not get to download it I will attach to this post
----------
Mirror:
https://yadi.sk/d/NQCiY--IsQjBr
--------
2.Download Asus Flash tool
https://yadi.sk/d/NQCiY--IsQjBr
3.Download Raw rom
For Z00A-https://yadi.sk/d/4cuw246vryaZA
For Z008-https://yadi.sk/d/Y51bbCIZsVaMf
-----------
4.Download the full Rom
Z00A-http://4pda.ru/pages/go/?u=http://d...ga=1.150456565.29281456.1461158714&e=39450652
Z008-http://4pda.ru/pages/go/?u=http://d...ga=1.213705175.29281456.1461158714&e=39450652
-----------
5.Download FOTA to update to 6.0
Z00A-https://mega.nz/#!KsAmkYwD!Aci3fETLz...kolc15kuM50hAo
Z008-https://yadi.sk/d/TMssexxtsVuqK
------------
All can now proceed to the installation
1.Go in Twrp do a full wipe(data,cache,dalvik,system)
2.After this go in bootloader and connect our device.
3.As soon as he settles in to Asus Flash Tool hold the path to the Raw Rom and flash
4.After flashing it will load you into the Rom
5.Go into stock recovery using the bootloader,if you see a dead robot, hold down the volume+ and the power button(about 5-10 seconds)
6.After that, our Full Rom, rename to update
7.In recovery click on adb update(or differently)
Code:
Write in Adb
Adb kill-server
Adb devices(if written sideload,then you are on the right track)
Adb sideload update.zip
The process is long,about 30 minutes
8.After you have written Xref 2.08(or another value)
9.Reboot to Rom and throw the Fota the root the device,restart and get the status bar on the triangle is and est our updates,agree with everything and updated(do not touch!!!)
10.After upgrading Happy):good:
Thank you, although this link fails to load for me >
5.Download FOTA to update to 6.0
Z00A- https://cloud.mail.EN/public/FpaM/UrDAUTcYn
timbernot said:
Thank you, although this link fails to load for me >
5.Download FOTA to update to 6.0
Z00A- https://cloud.mail.EN/public/FpaM/UrDAUTcYn
Click to expand...
Click to collapse
Fixed:fingers-crossed:
Thanks for the guide. But I am lost. Can you please be more specific for the part where flashing custom starts?
Because everybody wants to know how to flash custom roms on MM beta.
Russiamen said:
Fixed:fingers-crossed:
Click to expand...
Click to collapse
Hi, thanks for your work, but do not understand the step six and seven, I do not understand what to write in adb . I 'm sorry, I 'm a newbie .
Thanks for your help
Yousvel said:
Thanks for the guide. But I am lost. Can you please be more specific for the part where flashing custom starts?
Because everybody wants to know how to flash custom roms on MM beta.
Click to expand...
Click to collapse
Try use Dual boot patcher
Can i flash this rom via lollipop twrp?
[email protected] said:
Can i flash this rom via lollipop twrp?
Click to expand...
Click to collapse
yea)
Definitely I need to learn russian lol
Registering in 4pda without any russian comprehension is a hard task
EDIT: WTF? I cant pass by a russian captcha! looooooooooool
====================================================================
1.Go in Twrp do a full wipe(data,cache,dalvik,system)
2.After this go in bootloader and connect our device.
3.As soon as he settles in to Asus Flash Tool hold the path to the Raw Rom and flash
4.After flashing it will load you into the Rom
5.Go into stock recovery using the bootloader,if you see a dead robot, hold down the volume+ and the power button(about 5-10 seconds)
6.After that, our Full Rom, rename to update
7.In recovery click on adb update(or differently)
===================================================
A few questions to help me clear my confusion ?
4.After flashing it will load you into the Rom = .184 stock rom from raw .184 ?
6.After that, our Full Rom, rename to update and sideload = .184 stock rom
Any particular reason why we would need to sideload stock .184 rom -- when we are in .184 stock before putting FOTA 6.0 to internal ?
is it patched the 2nd .184 ?
@Russiamen did you make modifications in the 'full rom' zip file, or is it the same zip file that we can download from Asus site?
And I have the same doubts that @timbernot 's ones.
There is an newer MM build (V4.21.40.78_20160624_7972). Could I flash it instead the provided FOTA?
do you have a download link for 78?
after this steps the rom will rooted or have to root it?
Thank you for your guide
but raw rom link has not any file for z00a
i found this
https://mega.nz/#!KsAmkYwD!Aci3fETLz0NwdIOqcr1Bf6pAi_MPQkolc15kuM50hAo
Trying to flash raw image didnt worked. Error attached
For Z008-https://yadi.sk/d/Y51bbCIZsVaMf this link not working plz fix this link there showing "nothing found"
The Raw link for Z00A says "nothing found," and the FOTA for the Z00A says it needs a decryption key.
So this guide is to update your bootloader to the marshmallow firmware. So you can install Marshmallow based ROMS?
The reason I'm asking is because i've Unlocked my bootloader and installed the latest version of TWRP 3.02.0 Z00A and I was on android 5.0 on stock ZenUI. I'm getting Error 7 everytime I try to install a ROM. I'm certain i'm installing the correct ROM for the device. I've also wiped the device, cleared the cache, ect. And still nothing. Any suggestions? Thanks for the help.
hello,my zenfone ze551ml might be going to upgrade to mm 6.0, please tell me is it marshmallow stock rom camera better than 5.0? is it 6.0 have setting sd card become internal storage? is it 6.0 have mass big storage not just mtp when connected to pc ?
Sent from my S660 using XDA Premium 4 mobile app

[marmite] Official Wileyfox Swift 2+ Updates (also for root) - Repository

Hi!
As Wileyfox issued another OTA today and the last time I had a hard time to find the proper information, I thought I'd start a thread that contains the update information and links for ALL OTAs in one place right at the start.
But first of all: This would not be possible without linuxct and mdosch who delivered this information in a combined effort. I added only a few things, like the new updates and put everything in one place.
1. The official update links from Wileyfox (partially from here, here and myself):
TOS118C (Recovery Image)
TOS163B (Recovery Image) Deleted by Wileyfox
TOS208G (Recovery Image) Deleted by Wileyfox
TOS249H (Recovery Image)
TOS319I (Recovery Image) Deleted by Wileyfox
TOS373J missing
UOS224B missing
UOS273C (Recovery Image)
TOS118C (Fastboot Image) Deleted by Wileyfox
TOS163B (Fastboot Image) Deleted by Wileyfox
TOS208G (Fastboot Image) Deleted by Wileyfox
TOS249H (Fastboot Image)
TOS319I (Fastboot Image)
TOS373J (Fastboot Image)
UOS224B missing
UOS273C missing
TOS089A to TOS118C (OTA Update)
TOS118C to TOS163B (OTA Update)
TOS163B to TOS208G (OTA Update)
TOS208G to TOS249H (OTA Update)
TOS249H to TOS319I (OTA Update)
TOS319I to TOS373J (OTA Update)
TOS373J to UOS224B (OTA Update to OREO 1)
UOS224B to UOS273C (OTA Update)
TOS373J to UOS273C (OTA Update to OREO 2)
2. The instructions how to make the OTA links work (taken from here):
If you directly click it, it will return an Error 404, but that is not true since the file actually exists... But requires a special HTTP header to be visible. Since I wanted to grab the OTA link now that, for once, I finally got an OTA in this phone after always upgrading through fastboot images, I used wireshark to determine the server where it fetches it and the full file route. It turns out the header sends a special UA string as you can see in the picture attached: rsotaua 1.0, which is, most probably, a randomly generated string. Now here's the thing: if you want to switch the UA you'll need an extension to do so. linuxct has used this one and on Firefox I used this one. As soon as it's installed, go to the Options of the extension and add it like here:
Code:
WILEYFOX rsotaua 1.0 Chrome Replace WF
Once the string is inserted, switch to it and hit the URL. The OTA should be downloadable now.
As I just found out: The "User Agent Switcher" for Chrome works just as fine.
3. The instructions how to update a rooted phone (taken from here):
I'll write down what I did to get it finally work, but be aware you might brick your phone. I did this with Windows 7 and 10 successfully with fastboot and adb installed.
3.1. Download and unzip the fastboot image from point 1. Then switch to fastboot mode and flash boot, recovery and system.
Code:
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash system system.img
3.2. Boot to stock recovery and choose "apply update from adb". Then sideload the update.
Code:
adb sideload wf-marmite-aa4d5d86bc-to-8eec3af77b-signed.zip
This is, of course, an EXAMPLE! You have to put in the name of the actual update you want to do.
3.3. After successful install wipe cache and dalvik/arts cache and reboot to system. If you have issues with "dm verity" do it with the following command (I myself didn't need to do it):
Code:
adb reboot "dm-verity enforcing"
3.4. When the update is configured let the phone switched on for a while (I don't know why, but mdosch ended in a bootloop and had to start again when he instantly rebooted, I myself didn't need to wait). Here you can already put the SuperUser ZIP-file onto your phone via USB (or do it later via sideload).
3.5. Then boot to bootloader and BOOT (not flash) TWRP
Code:
fastboot boot twrp-3.1.1-0-marmite.img
3.6. If you have the SuperUser ZIP-file already on the phone flash it, otherwise go to "ADB -> Sideload" and install there
Code:
adb sideload superuser.zip
3.7. Wipe cache and dalvik/arts cache and finally reboot. Again, if you have issues with "dm verity" do it with the following command (I myself didn't need to do it)::
Code:
adb reboot "dm-verity enforcing"
This is how it worked for me in Windows 7 and 10 on my Wileyfox Swift 2 Plus. Neither did I brick my phone, nor did I loose ANY(!) data, neither from storage nor from any app. But as I don't know what you did with yours I won't issue any warranties here...
BTW: If you ever wondered, when you do the OTA the phone saves the zip here: data/data/com.android.providers.downloads/cache
So, linuxct and mdosch thank you very much again and I hope you don't mind about what I did with your input. :fingers-crossed:
And also thanks to image45 and DIMICH666 for getting hold of some more of the image links.
Thanks, wish I had found this 2 hours earlier! I had been downloading the OTA update but it was failing to install. Spent ages searching my phone for the location of the download without success. Eventually connected my phone to my laptop and did 'adb logcat' - found the URL of the OTA File download "http:\/\/ota-files.wf.bsp.ninja\/marmite\/wf-marmite-8eec3af77b-to-0fcf4099d0-signed.zip". Changed 'User Agent' as described, put the URL in the address bar and hit enter and hey presto! Good to have a repository to refer to.
Hi
I'm already on TOS163B. Can I just sideload the TOS208G OTA zip? Without reflashing the boot, recovery and system images from TOS163B?
The images from TOS208G are not available.?
Thanks for this.
I managed to grab the TOD208G OTA. Flashing the zip in TWRP did not work though. I got an unexpected fingerprint error (6.0.1 instead of 7.1.2). I flashed the last available debloater on TOS163B (which worked fine), but that probably has got me in trouble now. Is there any way to fix this easily, without having to root and remove all the debloat stuff manually?
(... I dream about Lineage 14.1)
H2Oxide said:
Thanks for this.
(... I dream about Lineage 14.1)
Click to expand...
Click to collapse
We all do, I tried an unofficial build however no WiFi yet :crying:
Even with an official build we would still have the unlocked bootloader warning screen and the dm-verity screen that threatens to switch your phone off in 30 seconds if power not pressed. I am sure it only gave you 5 seconds then just continue to boot when running on the Cyanogen ROMs
I am sure there is some ADB the resolve this for the oneplusone phones.
After initial boot the ROM got stuck on the white splash screen. After I installed Magisk via TWRP flashable zip it worked so must need dm-verity switch off.
I never updated back at the end of 2016 because I was unsure if it was a good idea but now I've become annoyed by it constantly asking me to (OTA UK). Should I update to cm-marmite 460.6 MB like it's asking me to? And then I suppose it will pick up and ask me to install the updates since? Thanks.
quixoticduck said:
Should I update to cm-marmite 460.6 MB like it's asking me to? And then I suppose it will pick up and ask me to install the updates since? Thanks.
Click to expand...
Click to collapse
It needs to be what you want, I flashed the cm-13.1.4-ZNH2KAS5RM-marmite-signed-5175bd793a.zip then removed the cm updater to stop it prompting me to move to the next update as it would eventually have you on current build if you accept all the updates.
I flashed cm-13.1.4 as I found it the most stable Cyanogen Marshmallow 6.0.1 ROM and I wanted xposed framework.
However like I said at start of post what do you need from your phone/ android version?
image45 said:
It needs to be what you want, I flashed the cm-13.1.4-ZNH2KAS5RM-marmite-signed-5175bd793a.zip then removed the cm updater to stop it prompting me to move to the next update as it would eventually have you on current build if you accept all the updates.
I flashed cm-13.1.4 as I found it the most stable Cyanogen Marshmallow 6.0.1 ROM and I wanted xposed framework.
Click to expand...
Click to collapse
Thanks, I see what you mean, about it being personal preference. The last couple years I've stepped away from rooting and flashing roms, so right now I suppose all I really want is a stable safe version. Back in 2016 I remember people being worried about the OTA update released right after Cyanogenmod's end, with people thinking the new update might be suspicious (why I never updated, and then stopped following things). So if it turned out that the OTA update was fine then I suppose the easiest and safest way to stop it bugging me about the update might just be to update xD as long as there's no risks (besides the basic risk that any update could bring). Probably makes it easier for any further updates too if any appear.
I hadn't heard of the xposed framework, sounds interesting, I'll look into that just in case I want to use it.
quixoticduck said:
I hadn't heard of the xposed framework, sounds interesting, I'll look into that just in case I want to use it.
Click to expand...
Click to collapse
You need an unlocked bootloader and custom recovery to install xposed framework. However I can jump between any of the Swift 2 ROMs when ever I wish of course.
Currently on the update right before that one, with TWRP and Magisk installed. I found the zip as instructed. Has anybody had success with Flashfire for a small OTA update like this or do you absolutely have to use adb sideload?
Don't know whether I can post links to other sites but there are instruction on how to update to 7.1.2 using the OTA file for both rooted and non-rooted devices at
http://www.stechguide.com/install-android-7-1-2-nougat-on-wileyfox-swift-2/
H2Oxide said:
Thanks for this.
I managed to grab the TOD208G OTA. Flashing the zip in TWRP did not work though. I got an unexpected fingerprint error (6.0.1 instead of 7.1.2). I flashed the last available debloater on TOS163B (which worked fine), but that probably has got me in trouble now. Is there any way to fix this easily, without having to root and remove all the debloat stuff manually?
Click to expand...
Click to collapse
Any thoughts on this? Can I force a sideload or would that be unwise...
der_dkw said:
So, linuxct and mdosch thank you very much again and I hope you don't mind about what I did with your input. :fingers-crossed:
Click to expand...
Click to collapse
Sure that's fine.
I really appreciate you collected all the information and created this overview.
Well I finally managed to try the adb sideload and this is what I got.
What's wrong here?
I'm using TOS163B (7.1.2) so I don't know why it says I have 6.0.1 test keys. I'm trying to sideload TOS208G
Any help is much appreciated
Jack3volution said:
What's wrong here?
Click to expand...
Click to collapse
You are using TWRP not stock recovery.
The OTA zips check your device for not being altered (like rooting or using custom recovery) this is why you have to go to a plain stock rom while flashing boot, recovery and system from the fastboot image (not the complete image as it will erase your data as well I assume).
After you have done this boot to stock recovery and adb sideload the first OTA zip then reboot and so on until you are on the latest.
Then you can boot twrp (I recommend booting instead of flashing as for me it complained about my device being altered when I flashed twrp) and root again (as root was lost during this update process).
Thanks! my mistake. Yeah I still have stock recovery
Cheers
mdosch said:
Then you can boot twrp (I recommend booting instead of flashing as for me it complained about my device being altered when I flashed twrp) and root again (as root was lost during this update process).
Click to expand...
Click to collapse
What's the actual different between booting TWRP and flashing please?
image45 said:
What's the actual different between booting TWRP and flashing please?
Click to expand...
Click to collapse
Booting means you boot TWRP temporarily without replacing your stock recovery. Flashing means you replace the stock recovery with TWRP.
mdosch said:
You are using TWRP not stock recovery.
Click to expand...
Click to collapse
Hmm it didn't work in stock recovery either
Jack3volution said:
Hmm it didn't work in stock recovery either
Click to expand...
Click to collapse
Did you apply the OTA zips in the correct order?
Did you alter your devices in any way like rooting or installing magisk?
You are on TOS163B you said. Did you start your device before booting to recovery? For me after sideloading the TOS163B, sideloading of TOS208G failed when I tried to install it instantly so I cleared the cache/dalvik cache booted to Android, then rebooted to (stock) recovery again and successfully sideloaded TOS208G.

Patched Boot from latest OTA 10.0.3.0

Hello everyone
Someone in the russian forum (4pda) shared this patched boot from january ota
I flashed it and the device booted correctly without facing any problem, now magisk works again
Link to download : https://mega.nz/#!R5NAgQKJ!yfm886jSAA_x1raUzxRlq-t53AFjaFvU7Q_AH-fXRlY
Tested and it works. Thanks
help
guyz my adb cant load the patched boot img even when it is in the same folder any help plss
veddeomi said:
guyz my adb cant load the patched boot img even when it is in the same folder any help plss
Click to expand...
Click to collapse
Put the patched boot in adb folder
Reboot your phone into fastboot mode
Then open cmd : fastboot flash boot patched_boot_3.0.img
you can save ur time by using the below toolkit
https://forum.xda-developers.com/mi-a2/development/tool-mi-a2-xtrem-toolkit-t3879660
and just download Magisk from XDA and use the tool to install it using the ADB Sideload.
that is what i did and worked perfectly on Pie after Jan Update.
Does it work with v10.2 ?
Or i must update to v10.3 to flash this patch ?
beny ms said:
Does it work with v10.2 ?
Or i must update to v10.3 to flash this patch ?
Click to expand...
Click to collapse
U have to update first
Abrilabr said:
U have to update first
Click to expand...
Click to collapse
Okay ,thanks mate
i flashed it successfully but i get bootloop. this patch not working my phone
Oline1032 said:
i flashed it successfully but i get bootloop. this patch not working my phone
Click to expand...
Click to collapse
You should unlock your phone's bootloader first
And update to 10.0.3.0
medkim said:
You should unlock your phone's bootloader first
And update to 10.0.3.0
Click to expand...
Click to collapse
dude bootloader is unlocked
Oline1032 said:
dude bootloader is unlocked
Click to expand...
Click to collapse
are you in january patch ?
it's weird, your phone should boot normally, maybe you missed something
i was on 10.0.2.0.PDIMIFJ with unlocked bootloader and patched boot.img. when OTA update is avaiable, i restored boot.img using Magisk and installed the update, then patched boot.img again using Magisk.
After reboot, phone keeps restarting while showing Android One screen.
Then I flashed this patched 10.0.3.0, but phone is stuck at Android One screen (there should be moving color bar)
Now I'm trying to downgrade to 10.0.2.0.PDIMIFJ using MiFlash without erasing user data
Edit: still boot loop at Android One screen after flashing 10.0.2.0.PDIMIFJ without erasing user data. Phone shows the Android recovery screen with error message "can't load Android system. Your data may be corrupt. If you continue to get this message, you may need to perform a factory data reset and erase all user data stored on this device"
HRSE said:
i was on 10.0.2.0.PDIMIFJ with unlocked bootloader and patched boot.img. when OTA update is avaiable, i restored boot.img using Magisk and installed the update, then patched boot.img again using Magisk.
After reboot, phone keeps restarting while showing Android One screen.
Then I flashed this patched 10.0.3.0, but phone is stuck at Android One screen (there should be moving color bar)
Now I'm trying to downgrade to 10.0.2.0.PDIMIFJ using MiFlash without erasing user data
Click to expand...
Click to collapse
I have encountered the same problem.
It seems like there is something wrong with the encryption of the phone because I need to format the userdata partition to stop the bootloop.
Fulva said:
I have encountered the same problem.
It seems like there is something wrong with the encryption of the phone because I need to format the userdata partition to stop the bootloop.
Click to expand...
Click to collapse
Good for you that you are still on 10.0.3.0
Now my phone is wiped, and back to 10.0.2.0. I gained nothing and lost too much.
HRSE said:
i was on 10.0.2.0.PDIMIFJ... Edit: still boot loop at Android One screen after flashing 10.0.2.0.PDIMIFJ...
Click to expand...
Click to collapse
My jasmine 6/128 was on 10.0.2.0.PDIMIFJ, unlocked, rooted - Magisk with Modules, /system partition changed, automatic .Updates disabled
Thus, checking for January OTA and seeing that it is ready, I made these steps:
1. downloaded stock 10.0.2.0.PDIMIFJ http://en.miui.com/download-353.html (actually, I made it much earlier);
2. flashed it in fastboot preserving /data (there is "flash_all_except_data.bat" in unpacked ROM directory);
3. rebooted, downloaded OTA 10.0.3.0, installed OTA, rebooted without bootloop;
4. used phone for a while (root gone, all user applications, except for 1 rather specific, working - including Nova, phone calls, SMS, etc, OK);
5. Took patched boot image from 4pda, and booted it into phone in fastboot ("fastboot boot pached_boot.img"); NOTE: not flashed, but booted for safety!
6, As phone was working OK with booted patch, I started Magisk and "installed" it; thus Magisk patched my stock 10.0.3.0 boot in phone, and saved original stock in /data partition.
7. after reboot I had everything restored - Magisk modules and su, root permitions for applications, etc.
P.S. Seems like 10.0.3.0 PDIMIXM OTA is withdrawn by Xiaomi due to numerous bootloops in stock phones.
So if you already updated to this OTA, use these attachments at your own risk, or better wait for 10.0.4.0
Aerobatic said:
My jasmine 6/128 was on 10.0.2.0.PDIMIFJ, unlocked, rooted - Magisk with Modules, /system partition changed, automatic .Updates disabled
Thus, checking for January OTA and seeing that it is ready, I made these steps:
1. downloaded stock 10.0.2.0.PDIMIFJ http://en.miui.com/download-353.html (actually, I made it much earlier);
2. flashed it in fastboot preserving /data (there is "flash_all_except_data.bat" in unpacked ROM directory);
3. rebooted, downloaded OTA 10.0.3.0, installed OTA, rebooted without bootloop;
4. used phone for a while (root gone, all user applications, except for 1 rather specific, working - including Nova, phone calls, SMS, etc, OK);
5. Took patched boot image from 4pda, and booted it into phone in fastboot ("fastboot boot pached_boot.img"); NOTE: not flashed, but booted for safety!
6, As phone was working OK with booted patch, I started Magisk and "installed" it; thus Magisk patched my stock 10.0.3.0 boot in phone, and saved original stock in /data partition.
7. after reboot I had everything restored - Magisk modules and su, root permitions for applications, etc.
Click to expand...
Click to collapse
somehow my phone doesn't show the january OTA update anymore (it was still there a few hours ago!)
Hey guys if i root using patched boot image will i still be able to install updates?
one08 said:
Hey guys if i root using patched boot image will i still be able to install updates?
Click to expand...
Click to collapse
No you should restore stock boot first
one08 said:
Hey guys if i root using patched boot image will i still be able to install updates?
Click to expand...
Click to collapse
Yes you can receive updates, but only if you did not made any changes to system files !

Guide to flash realmeUI 2.0 beta builds [Global Variant Only]

DISCLAIMER: YOU ARE RESPONSIBLE FOR WHAT YOU DO​The only reason behind posting this guide is because now we have a way to fix device if any unusual things happen after flashing beta builds. Beginners & noobs who doesn't have any idea about flashing stuff should stay away.
PREREQUISITES:
1. Bootloader Unlocked Device
2. OrangeFox
3. Stable OZIP (Android 10 | realmeUI 1.0 | C35)
4. Beta ZIP (Android 11 | realmeUI 2.0 | F06)
5. Unofficial OrangeFox beta build (For realmeUI 2.0 A11 FW only)
6. realmeUI 2.0 stock recovery
7. A11 VBMETA
8. Patched VBMETA
PROCESS TO FLASH:
1. Just to be on safer side we are going to make sure everything is stock & all partitions are unmodified. So reflash latest Stable OZIP (C35) via OrangeFox.
2. Format data & reboot to System (This is optional but better to do it, we never know what might happen with realme device)
3. Reboot back to Bootloader if realmeUI 1.0 boots fine
4. Flash OrangeFox build which you used previously & also flash patched vbmeta (fastboot flash vbmeta patched_vbmeta.img)otherwise you get "Boot is destroyed........"
5. Boot into custom recovery & copy downloaded Beta ZIP
6. Flash the Beta ZIP & format data.
7. Reboot to System. realmeUI 2.0 should boot now.
COMMON ISSUES & FIXES:
1. Device stuck at white realme splash logo
Sol. Few people reported it booted when they flashed patched vbmeta so you can first try that. If doesn't work then you can flash A11 vbmeta (fastboot flash vbmeta vbmeta.img) attached here & reboot to system
2. Device stuck at Yellow realme boot animation
Sol. If it's stuck for more than 2-3mins then reboot to bootloader & format data by executing fastboot erase userdata ., never do fastboot -w it's messing up data partition in A11 due to new changes introduced by realme
3. Stuck in bootloader (fastboot)
Sol. Flash the unofficial OrangeFox rescue build & boot into it, copy C35 OZIP to internal storage. Flash it & format data. Reboot to System. Wait for public realmeUI 2.0 release.
4. Unofficial OrangeFox beta build stuck at Ofox splash & display keeps blinking
Sol. This happens because Ofox can't decrypt realmeUI 2.0 data, only way to boot this ofox build properly is by formatting data, reboot back to bootloader. fastboot erase userdata
5. Device doesn't have realmeUI 2.0 Stock Recovery
Sol. Flash the attached stock recovery
reserved
Congrats! Will try now
EDIT: Works fine but just 2 hints.
1: Don't Use TWPR 3.5.0_9 or you will get Zip Treble Error
2: After you flash RUI 2.0 it's a MUST flash A11 VBMETA
Can i Flash on Locked Bootloader device via stock recovery or filemanager currently i am c 34 locked bootloader
bharatgsp said:
Can i Flash on Locked Bootloader device via stock recovery or filemanager currently i am c 34 locked bootloader
Click to expand...
Click to collapse
na it doesn't work
ChromiumPD said:
Congrats! Will try now
EDIT: Works fine but just 2 hints.
1: Don't Use TWPR 3.5.0_9 or you will get Zip Treble Error
2: After you flash RUI 2.0 it's a MUST flash A11 VBMETA
Click to expand...
Click to collapse
Right will update guide, thank you
What does the check look like that prevents the stock recovery from accepting to flash the beta build (if you try to upgrade from C.35)?
kurtextrem said:
What does the check look like that prevents the stock recovery from accepting to flash the beta build (if you try to upgrade from C.35)?
Click to expand...
Click to collapse
Stock recovery only accepts signed OZIP/ZIP like the ones uploaded in their website, OTA updates we receive are signed with different certificate that's why installing those custom OZIPs fail if we do it manually.
It can't install on TWRP 3.4.0.0 -> Error this package is for RMX1931L1, this is a ""
Zippka224 said:
It can't install on TWRP 3.4.0.0 -> Error this package is for RMX1931L1, this is a ""
Click to expand...
Click to collapse
edited guide, use ofox only. TWRP doesn't seem to work for everyone.
Hi, first thanks for the post.
I would like to ask you if there is a way to revert back to c35 after?
Thank you in advance
4j17h said:
Stock recovery only accepts signed OZIP/ZIP like the ones uploaded in their website, OTA updates we receive are signed with different certificate that's why installing those custom OZIPs fail if we do it manually.
Click to expand...
Click to collapse
Thank you. I wonder how the software update works then? How does the software update "app" manage to flash those builds then?
Tierri said:
Hi, first thanks for the post.
I would like to ask you if there is a way to revert back to c35 after?
Thank you in advance
Click to expand...
Click to collapse
Well there are two ways, we can use stock recovery to downgrade from beta builds to C34
Another way would be to flash unofficial Ofox build, copy C34 OZIP to internal storage & flash it.
kurtextrem said:
Thank you. I wonder how the software update works then? How does the software update "app" manage to flash those builds then?
Click to expand...
Click to collapse
OTA updater app is verifying the update & rebooting to stock recovery, so if we can figure out the same way we can install custom ozips via stock recovery too
How would you recommend to bring over apps & their settings to A11? After formatting data they'll be lost. Which backup method is able to restore them? Have you rooted it already?
Magisk?
Cool ! It works fine thank you.
but I noticed that the "Unofficial OrangeFox beta build" cant mount internal storage issue with following error : "could not mount /data and unable to find crypto footer"
So is there another way to Root my device without wiping data?
Hi
First Thank you for this post .
I want to restore a stock recovery UI 1.0 now i am using orangefox recovery on C.34
can i restore without format data or waiting UI 2.0 stable ??
Many Thanks
Hi,
I've followed the steps and no errors. After reboot, the system stucks at Realme white logo. How it's said on common issues, i've flashed then A11 vbmeta, and the same. Ive waited about 10minutes and it keeps there. I've tried flash the Ofox recovery again to repeat the process but now I can't get Ofox working. I can access fastboot and if I try reboot to recovery, it symply reboots to bootloader... What should I do? I also tried all the options in common issues but without success...
Thanks
tuga49 said:
Hi,
I've followed the steps and no errors. After reboot, the system stucks at Realme white logo. How it's said on common issues, i've flashed then A11 vbmeta, and the same. Ive waited about 10minutes and it keeps there. I've tried flash the Ofox recovery again to repeat the process but now I can't get Ofox working. I can access fastboot and if I try reboot to recovery, it symply reboots to bootloader... What should I do? I also tried all the options in common issues but without success...
Thanks
Click to expand...
Click to collapse
try to install patched vbmeta its work form me
So for me I dirty flashed the f06.zip beta on c.35 in official [email protected]_1 release and flashed vbmetaA11 but it failed to then i flashed patched_vbmeta.img and voila it booted just fine and optimizing apps appeared.
Thanks very much to Original Poster we can now use Realme UI 2.0 because of him.
Thanks a lot once again

Categories

Resources