Prevent installation (Redmi Note 5 AI Global) - Xiaomi Redmi Note 5 Pro Questions & Answers

Hi folks,
I got my RN5 AI Global a couple of days ago and I want to give Lineage OS a spin. Then I read about this dreaded feature of Google called "ARB" - a developer's nightmare!
My current version is 9.5.17 on my phone. When I change into settings I can see that 9.5.19 has been downloaded and is ready for installation, the only action I have to do is reboot. Since 9.5.19 carries ARB feature, I do not power down my phone in order not to install this fix.
So guys, here is my question: Is there any way I can prevent this update from installing on my phone?
Best wishes,
DFahren

Don't install it?
Just power down and go straight to fastboot (power+voldown) then use mi unlock to unlock then flash lineage after doing twrp.
Not that it would matter too much having 9.5.19 since you can bypass it blocking fastboot commands with the arbypass.img file

Nice idea. However my Mi account is not (yet) eligible for unlocking .... This will take 14 days, I suppose.

Delete the update from internal storage/downloaded_rom
And also turn off automatic updates so you don't get it again.
"If you are on MIUI 9, then:
- Go to Settings
- About Phone
- System Updates
- Click on 3 dots above right
- Turn Off both "Download Automatically" and "Download using Mobile Data"."
And you should be able to reboot your device.

Ok, what you are basically saying is: open a CMD on Windows, issue an "adb shell" and in this shell do a "cd xxx/storage/downloaded_rom; rm *", right?!
I have to do this because I do not see this folder downloaded_rom when using MIUI's filemanager. Correct?
Cheers, Dfahren
corkiejp said:
Delete the update from internal storage/downloaded_rom
And also turn off automatic updates so you don't get it again.
"If you are on MIUI 9, then:
- Go to Settings
- About Phone
- System Updates
- Click on 3 dots above right
- Turn Off both "Download Automatically" and "Download using Mobile Data"."
And you should be able to reboot your device.
Click to expand...
Click to collapse

@dfahren
Maybe try a different file manager than stock.
Someone else reported on another forum that they deleted the downloaded update.
Not sure how exactly, I will message them and find out how.

dfahren said:
Ok, what you are basically saying is: open a CMD on Windows, issue an "adb shell" and in this shell do a "cd xxx/storage/downloaded_rom; rm *", right?!
I have to do this because I do not see this folder downloaded_rom when using MIUI's filemanager. Correct?
Cheers, Dfahren
Click to expand...
Click to collapse
corkiejp said:
@dfahren
Maybe try a different file manager than stock.
Someone else reported on another forum that they deleted the downloaded update.
Not sure how exactly, I will message them and find out how.
Click to expand...
Click to collapse
I deleted the update zip file using solid explorer.
Sent from my Redmi Note 5 using Tapatalk

....deleted ....

gsmyth said:
I deleted the update zip file using solid explorer.
Click to expand...
Click to collapse
Yeah, that's also a good way to get rid of the update.
I used ADB with installed drivers. However path to the update was ..../sdcard/downloaded_rom , but that's a minor. Just wanted to let you guys know.

Related

[TUTORIAL] ROOTING!!! Huawei Ascend P1 U9200 (B315 EmotionUI 1.5 JB v4.1.1)

Rooting Ascend P1 U9200 B315 EUI1.5 JB v4.1.1
----------------------------------------------------------------------------
Anyone wanting to root there Ascend P1 U9200 phone after the new firmware update, here are the files, and info you need, to do so...
First off, plug UR phone in switch it on and let Windows search for the driver, Then click "Let me choose..." or "browse for it..." or similar. Then select "Let me choose which driver to install", then click "list of drivers" or similar, Then click the one near the top that has adb or similar in the title, it don't matter if you choose the wrong one, it just means it wont connect and you'll have to redo this part again and pick a different driver.
Remember!! You MUST run these commands as Administrator.
1. Download the files below, extract them to a folder, preferably one without any spaces in the path, i.e.. C:\U9200Root\ should do perfect.
3. Right Click the "Click-To-Root-U9200.bat" file and under compatibility options click run as administrator or the like.
4. Run (Double Click) the Click-To-Root-U9200.bat (As Administrator!) (or right-click then, "run as administrator...")
4. Reboot your fone and click yes on your fone to install SuperUser.
that's it, your rooted
for those wanting to do the commands there self...
1. Download & extract the files to C:\U9200Root\
2. In the CLI type: "C:\U9200Root\adb reboot bootloader"
3. Then "boot TWRP.img"
4. Then Restart your fone and choose yes to install SuperUser
PS if you've not got much space left in your system partition you may have to delete something from /system/app/ to make space for the SuperUser files.
REMEMBER the space reported on your fone by android is the space on your data partition/memory & sd card and not the system partition!
You can check how much system data etc space you have left from terminal if u have it installed, or on the TWRP recovery which you will have just installed.To do this, Reboot the fone holding the Vol. Up Button, click on advanced then terminal then type "df -h" without quotes if system partition is less than say 10-20mb free then delete maybe, uneeded languages?, chrome.apk?, GSM_Maps.apk? or the like, then reinstall them to the /data/app part later. Since many of these apks get updated and the old ones left undeleted in /system/app/ anyways, I always move the system apks updates from /data/app to /system/app/, makes things a lot tidier and saves a lot of space both in /data/app and /system by not having two of every apk file youve ever updated just remember to copy the libs to /system/lib(s)
Anyways hope I helped someone with this...
cheers John -G-
PS Please Click on Thanks to Thank me as i have 0 in my Thanks Meter lol
PS I moved this to here as it was added to the end of an old un-related topic sooo.... John -G-
ask me any questions you have, do you like my multi color dos txt in my bat file (Coders will get it,its unusual and very hard to do with many colors )
sorry for been so long but i never knew no one would move it or stick it ???? and i was in jail for a while there so,,,
...Good Luck Rooting/Moding!!!
Software LOL
Heres The Software LOL..........
here all my drivers
the drivers------->>>>
shall stonri
sonnettie said:
the drivers------->>>>
Click to expand...
Click to collapse
Where can I find blaze driver?
Hi
After adb reboot bootloader you can also install CWM with fastboot :
fastboot flash recovery clockworkmod.XXXX.img
With CWM you can backup your phone (always a good idea )
After rebooted in CWM install SU with any zip file (ex : SU___Busybox_1.20.2_Flashable.zip )
phoenixpb said:
Hi
After adb reboot bootloader you can also install CWM with fastboot :
fastboot flash recovery clockworkmod.XXXX.img
With CWM you can backup your phone (always a good idea )
After rebooted in CWM install SU with any zip file (ex : SU___Busybox_1.20.2_Flashable.zip )
Click to expand...
Click to collapse
Worked like a charm.
It's what i did with my phone, ans cwm saved me a couple of times
Envoyé depuis mon U9200 avec Tapatalk 4
How to remove TWRP...? I want to update U9200-EM-UMTS-V100R00G411D00B336....thanx in advance.
Stuck
My U9200 is just stuck on the HUAWEI logo when you boot it...
And the cmd application just keeps saying < waiting for device >
Any help is appreciated...
with B336 this method doesn't work.
EDIT:
The problem is not in TWRP or CWM; the problem is that there is not enough space in folder /system/app.
From TWRP I went to "Advanced" and then "file manager"; here from the /system/app I deleted all the languages ​​other than Italian-pack (my language), chrome.apk and gsm-map.apk. Then I flashed SU_flashable and after boot-up SU was finally installed.
It seems that the difficulty of obtaining root permissions in all stock roms from b105 onwards is precisely linked to the lack of space in the / system / app.
I hope to be helpful to those who find themselves with the same problem.
Ricolaa said:
My U9200 is just stuck on the HUAWEI logo when you boot it...
And the cmd application just keeps saying < waiting for device >
Any help is appreciated...
Click to expand...
Click to collapse
you need the fastboot drivers or install hisuite from hauwie
where what is a Blaze driver? It doesn't work!! It asks for the blaze driver which I cannot seem to find!!!!
How can I go back to the stock firmware from CWM ignore if I am posting on a wrong thread
cVinu said:
How can I go back to the stock firmware from CWM ignore if I am posting on a wrong thread
Click to expand...
Click to collapse
Just downloaded the stock rom and flash it with your recovery.
Sent from my U9200 using xda app-developers app
awaisthebest said:
Just downloaded the stock rom and flash it with your recovery.
Sent from my U9200 using xda app-developers app
Click to expand...
Click to collapse
I recovered stock recovery and flash with B123 but showing error msg installation failed!!!!!!
hi im having some issues trying to get the SU, i cannot erase the .apk contained in /system/app in order to gain more space.
- i cannot see any folder inside of system folder just one called /system/bin
i really dont know if that really would be the problem because i checked with "df" command and i see everything righ
but when i reboot even if i swipe to accept the configuration or install de SU.zip archive anything happend.
i will appreciate your help, thx!!
kannox said:
hi im having some issues trying to get the SU, i cannot erase the .apk contained in /system/app in order to gain more space.
- i cannot see any folder inside of system folder just one called /system/bin
i really dont know if that really would be the problem because i checked with "df" command and i see everything righ
but when i reboot even if i swipe to accept the configuration or install de SU.zip archive anything happend.
i will appreciate your help, thx!!
Click to expand...
Click to collapse
Sounds like you need to go to [mount] the check the unchecked boxes well at least [system]
sonnettie said:
Sounds like you need to go to [mount] the check the unchecked boxes well at least [system]
Click to expand...
Click to collapse
Done! Thank you all!
free space
please tell me how i free space to root android because it stuck in hawei logo it said you cant delete files tnx lot sorry for my bad english!
Thanks!
Thanks!
Worked on Linux:
Code:
> sudo apt-get install android-tools-fastboot android-tools-adb
> adb reboot bootloader
> sudo fastboot flash recovery TWRP.img
> sudo fastboot boot TWRP.img

[Q] Where is the ROM being downloaded to my phone?

I just downloaded to my XT1575 and I don't know which directory it downloaded to? Any ideas?
glfngmble said:
I just downloaded to my XT1575 and I don't know which directory it downloaded to? Any ideas?
Click to expand...
Click to collapse
/data/data/org.lineageos.updater/app_updates
jhedfors said:
/data/data/org.lineageos.updater/app_updates
Click to expand...
Click to collapse
Thank You.
There is no folder /app_updates. There is just a folder named "files", but this folder is completely empty.
By the way: I got this file structure on my G4: \Android\data\org.lineageos.updater\files.
I had to manually download the package and install it manually in recovery, but the updater says still to update the current version.
rigattoni said:
There is no folder /app_updates. There is just a folder named "files", but this folder is completely empty.
By the way: I got this file structure on my G4: \Android\data\org.lineageos.updater\files.
I had to manually download the package and install it manually in recovery, but the updater says still to update the current version.
Click to expand...
Click to collapse
/data/data/org.lineageos.updater/app_updates
The updater does not recognize what version is installed, just if the update is in the folder.
jhedfors said:
/data/data/org.lineageos.updater/app_updates
The updater does not recognize what version is installed, just if the update is in the folder.
Click to expand...
Click to collapse
If this is reduced to this single folder I can say that my G4 has no folder with this name.
The download completed and the updater asks for updating the unit.
The G4 restarts into recovery mode and nothing happens. Manual search for the downloaded files have not been successful.
I restarted my G4 and searched manually with root rights (just to be sure the files are not hidden in non root search) and I could not find any update file.
The lineage updater still shows to update the phone, even that there whether is a folder named "/data/org.lineageos.updater/app_updates"
nor a file in the "\data\org.lineageos.updater\files.
So... is this an issue with the updater, ROM or is this just not implemented complete?
I have no issues to manually install anything by console or TWRP or what ever else.
Once again: The update file(s) seem to be lost in transit. They are not stored on the system.
The updater still shows the install button even if there is nothing to install.
rigattoni said:
If this is reduced to this single folder I can say that my G4 has no folder with this name.
The download completed and the updater asks for updating the unit.
The G4 restarts into recovery mode and nothing happens. Manual search for the downloaded files have not been successful.
I restarted my G4 and searched manually with root rights (just to be sure the files are not hidden in non root search) and I could not find any update file.
The lineage updater still shows to update the phone, even that there whether is a folder named "/data/org.lineageos.updater/app_updates"
nor a file in the "\data\org.lineageos.updater\files.
So... is this an issue with the updater, ROM or is this just not implemented complete?
I have no issues to manually install anything by console or TWRP or what ever else.
Once again: The update file(s) seem to be lost in transit. They are not stored on the system.
The updater still shows the install button even if there is nothing to install.
Click to expand...
Click to collapse
Are you sure you are looking in the right folder? Your stated path shows :
"\data\org.lineageos.updater"
Was that just a typo?
This where it is in my device:
"/data/data/org.lineageos.updater/app_updates" (note the nested "data" in "data")
Also, I think that if it shows "install" it means that it has been downloaded (and exist), otherwise it would show "download".
jhedfors said:
Are you sure you are looking in the right folder? Your stated path shows :
"\data\org.lineageos.updater"
Was that just a typo?
This where it is in my device:
"/data/data/org.lineageos.updater/app_updates" (note the nested "data" in "data")
Also, I think that if it shows "install" it means that it has been downloaded (and exist), otherwise it would show "download".
Click to expand...
Click to collapse
Shame on me... I searched with root rights and could not find the folder.... Seems I need new glasses.
But the folder is there and yes, the download is in there.
So single issue is, why the updater does not call the update automatically for flashing the update.
rigattoni said:
Shame on me... I searched with root rights and could not find the folder.... Seems I need new glasses.
But the folder is there and yes, the download is in there.
So single issue is, why the updater does not call the update automatically for flashing the update.
Click to expand...
Click to collapse
Hmmm... TWRP should be able to handle the script created by the updater. You may want to check on the G4 forum to see if others have the same issue.
jhedfors said:
Hmmm... TWRP should be able to handle the script created by the updater. You may want to check on the G4 forum to see if others have the same issue.
Click to expand...
Click to collapse
the guys in the G4 forum are mostly connected to the unofficial version. a complete manual installation is required.
But there are some rumors in the German forum, who are using the official LineAgeOS version, where the updater script is not working.
I´ll wait for the next update in a week... may be it´s just a minor issue which will be fixed soon.
is it possible to change that path?
The path *HAS* been changed.
It's now downloading OTA updates to /data/lineageos_updates
Which a pain in the ass, because TWRP already doesn't automatically handle the script as expected on my Note3, and, I'd already gotten used to having to go to /data/data/org.lineageos.updates.
Hrmph.
darrylhadfield said:
The path *HAS* been changed.
It's now downloading OTA updates to /data/lineageos_updates
Which a pain in the ass, because TWRP already doesn't automatically handle the script as expected on my Note3, and, I'd already gotten used to having to go to /data/data/org.lineageos.updates.
Hrmph.
Click to expand...
Click to collapse
Thank you!!!! :victory::victory::victory: It works!!
rarmz said:
Thank you!!!! :victory::victory::victory: It works!!
Click to expand...
Click to collapse
Happy to help!
Now, if I can just get the attention of whoever the device maintainer is, for the Note3, to figure out the TWRP scripting issue...

NOUGAT 7.0 for G928A ADB update step by step...Enjoy !!!

As i promise to one of member here then i will post it and i have it.
I can't help you with any of problems related do to i don't have S6E+ .
For all with March 4CQB2 baseband update for Nougat. SS-G928AUCS4CQB2-to-U4EQC6-UP - link is UP
MD5 :7a55165ce2b9d3ffe6170491813c44ac
Nougat update if you are on 4CQA1 baseband SS-G928AUCS4CQA1-to-U4EQC6-UP.zip - link is up
MD5 checksum : c74d9106d59dcb0411f9a1e4e23ca797
Make sure you know how to ADB sideload. I'm not responsible for any damage to your phone.
Steps:
0. Make sure you are on G928AUCS4CQA1 or March update G928AUCS4CQB2 Baseband. Check this 3 times
1. Backup everything of importance on your phone!!!
2. Now, make sure you have "show file extension" enabled in Windows, and file is ready for ADB as you download SS-G928AUCS4CQA1-to-U4EQC6-UP.zip or after March 20 update SS-G928AUCS4CQB2-to-U4EQC6-UP.zip
3. Shutdown your phone
4. Enter recovery mode by pressing volume up, home and power button together
* A green Droid will appear on screen with the text Installing system update…
5. Using the Volume Button Navigate and the Power button to select ‘Apply Update from ADB’
6. Connect your phone via USB to your computer
7. Open a CMD prompt from your PC. Type cd
in my case: cd C:\Users\Norbarb\Desktop\Note5
8. Navigate to the directory that contains the update SS-G928AUCS4CQA1-to-U4EQC6-UP.zip or after March 20 update SS-G928AUCS4CQB2-to-U4EQC6-UP.zip
*Note I had issue when the directory contained a space. Moving the update to a directory with no spaces resolved the issue.
Also moved the adb driver to the same directory 'C:\Users\Norbarb\Desktop\Note5'
9. Type adb devices. You should see 1 device listed
10.Type adb sideload SS-G928AUCS4CQA1-to-U4EQC6-UP.zip or after March 20 update SS-G928AUCS4CQB2-to-U4EQC6-UP.zip
11. This took around 25 minutes to complete
12. Phone will now be updated Nougat
EDIT: Please post mirrors if you can. Thanks
Thanks again. Will try it as soon as available.
Please be reminded to upload the qa1 update. I don't think it's available anywhere
vista1984 said:
Thanks again. Will try it as soon as available.
Please be reminded to upload the qa1 update. I don't think it's available anywhere
Click to expand...
Click to collapse
nougat is uploaded i just downloading to check if file is OK after upload.
vista1984 said:
Thanks again. Will try it as soon as available.
Please be reminded to upload the qa1 update. I don't think it's available anywhere
Click to expand...
Click to collapse
Link is UP.. Enjoy !!
norbarb said:
Link is UP.. Enjoy !!
Click to expand...
Click to collapse
Downloading...
could you upload the adb sideload from PJ1 to QA1 please.
vista1984 said:
Downloading...
could you upload the adb sideload from PJ1 to QA1 please.
Click to expand...
Click to collapse
10 min away
updating. will report back later. it's getting late here. so i will probably report back early tomorrow.
Thank you again norbarb for all the hard works to our devices.
norbarb said:
As i promise to one of member here then i will post it and i have it.
I can't help you with any of problems related do to i don't have S6E+ .
Nougat Update Here - link is up
MD5 checksum : 9970ef8f7ba21ea499cd977775f68d88
Make sure you know how to ADB sideload. I'm not responsible for any damage to your phone.
Steps:
1. Backup everything of importance on your phone!!!
2. Now, make sure you have "show file extension" enabled in Windows, and file is ready for ADB as you download SS-G928AUCS4CQB2-to-U4EQC5-UP.zip
3. Shutdown your phone
4. Enter recovery mode by pressing volume up, home and power button together
* A green Droid will appear on screen with the text Installing system update…
5. Using the Volume Button Navigate and the Power button to select ‘Apply Update from ADB’
6. Connect your phone via USB to your computer
7. Open a CMD prompt from your PC. Type cd
in my case: cd C:\Users\Norbarb\Desktop\Note5
8. Navigate to the directory that contains the update ‘SS-G928AUCS4CQA1-to-U4EQC5-UP.zip’
*Note I had issue when the directory contained a space. Moving the update to a directory with no spaces resolved the issue.
Also moved the adb driver to the same directory 'C:\Users\Norbarb\Desktop\Note5'
9. Type adb devices. You should see 1 device listed
10.Type adb sideload SS-G928AUCS4CQA1-to-U4EQC5-UP.zip
11. This took around 25 minutes to complete
12. Phone will now be updated Nougat
EDIT: Please post mirrors if you can. Thanks
Click to expand...
Click to collapse
After 3 updates, I am confirming that the updates work like a charm. 7.0 has lots of new tweaks after first 15 mins use. And stable so far.
Thanks again!!
thanks for share
I am having lots of issue installing this update.
first status 7 error.
Sorted with editing binary file and than signature not verified error and failed on 50% tried again failed on 92% .
Any help?
fysaldar said:
I am having lots of issue installing this update.
first status 7 error.
Sorted with editing binary file and than signature not verified error and failed on 50% tried again failed on 92% .
Any help?
Click to expand...
Click to collapse
Odin back to older avalable version and update gradually. Looks like your recovery is corrupted
Clicking from Edge of Galaxy
norbarb said:
Odin back to older avalable version and update gradually. Looks like your recovery is corrupted
Clicking from Edge of Galaxy
Click to expand...
Click to collapse
Just realised that update is AUCS4CQA1-to-U4EQC. And my build is UCU2BPE6 have you got firmware for this build by chance?
Here is donwload links to all the Odin file. Credit to the member who uploaded it. Which should bring you to pj1 directly
https://forum.xda-developers.com/at...neral/g928a-odin-restore-files-t3214359/page9
fysaldar said:
Just realised that update is AUCS4CQA1-to-U4EQC. And my build is UCU2BPE6 have you got firmware for this build by chance?
Click to expand...
Click to collapse
I can look for it tomorrow. I'm not familiar with S6E+ at all, i just find update because one of the member ask me if i can. I have no idea what is ladest available firmware for your devices. But like i said i can look for it.
Clicking from Edge of Galaxy
Seems edge+ (and probably note 5) got huge upgrade in Android 7 update. Including performance mode which is not available to gs6.
So far I noticed and worth to mention.
Camera UI renewal
Performance mode
New function from nougat, notification panel and night mode
All the Samsung app seems all redesigned
Display render resolution can be changed between 720p, fhd and wqhd
Battery is better especially for standby time
Great job from Samsung this time
norbarb said:
As i promise to one of member here then i will post it and i have it.
I can't help you with any of problems related do to i don't have S6E+ .
Nougat Update Here - link is up
MD5 checksum : 9970ef8f7ba21ea499cd977775f68d88
Make sure you know how to ADB sideload. I'm not responsible for any damage to your phone.
Steps:
1. Backup everything of importance on your phone!!!
2. Now, make sure you have "show file extension" enabled in Windows, and file is ready for ADB as you download SS-G928AUCS4CQB2-to-U4EQC5-UP.zip
3. Shutdown your phone
4. Enter recovery mode by pressing volume up, home and power button together
* A green Droid will appear on screen with the text Installing system update…
5. Using the Volume Button Navigate and the Power button to select ‘Apply Update from ADB’
6. Connect your phone via USB to your computer
7. Open a CMD prompt from your PC. Type cd
in my case: cd C:\Users\Norbarb\Desktop\Note5
8. Navigate to the directory that contains the update ‘SS-G928AUCS4CQA1-to-U4EQC5-UP.zip’
*Note I had issue when the directory contained a space. Moving the update to a directory with no spaces resolved the issue.
Also moved the adb driver to the same directory 'C:\Users\Norbarb\Desktop\Note5'
9. Type adb devices. You should see 1 device listed
10.Type adb sideload SS-G928AUCS4CQA1-to-U4EQC5-UP.zip
11. This took around 25 minutes to complete
12. Phone will now be updated Nougat
EDIT: Please post mirrors if you can. Thanks
Click to expand...
Click to collapse
first of all thanks alot.
so my current version is G928AUCS3CPJ1.
will there be any issue if i tried to sideload from this version or should i do the other updates?
if i need to do the other updates,by any chance do you have odin files for this G928AUCS4CQA1 version?
i was on bpe6 and odin to cpj1
rahulje9 said:
first of all thanks alot.
so my current version is G928AUCS3CPJ1.
will there be any issue if i tried to sideload from this version or should i do the other updates?
if i need to do the other updates,by any chance do you have odin files for this G928AUCS4CQA1 version?
i was on bpe6 and odin to cpj1
Click to expand...
Click to collapse
They are here : https://forum.xda-developers.com/att-galaxy-s6-edge-plus/general/g928a-adb-updates-t3575021
norbarb said:
They are here : https://forum.xda-developers.com/att-galaxy-s6-edge-plus/general/g928a-adb-updates-t3575021
Click to expand...
Click to collapse
thanks alot.
all should be sideloaded right?
rahulje9 said:
thanks alot.
all should be sideloaded right?
Click to expand...
Click to collapse
Yes
Hi can please find update to nougat from UCU3CPHA?
Edit: nvm thanks so much norbarb on 7.0 now. 1 odin and 4 sideloads lol
Sent from my SAMSUNG-SM-G928A using Tapatalk

How To Guide Installing OneUI 4 Beta / Android 12 on US Galaxy Z Fold 3 F926U/1

Updated with more compatible adb link!
This is what I did to get the new beta. Feel free to tell me how dumb I am for allowing noobies to try the beta, but the more the merrier and they should know the risks....
RISKS: Phone may not be as stable as before and you will lose all your apps and data. Camera is bugged for me
1. BACK UP YOUR CURRENT BUILD USING SMART SWITCH. THIS WILL WIPE DALVIK/CACHE/DATA. Get SmartSwitch for PC HERE
2. Download Samsung Drivers for ADB/ODIN HERE
3. If you are on firmware ending in AUI5 for the CSC version XAA then skip to step #6 . If you are not, then download the respective firmware HERE
Also Download Patched ODIN (Patched version will be less scrutinous) HERE
4. Unzip the firmware you just downloaded as well as the Patched Odin. Run ODIN and add the BL, AP, CP, Home_CSC from the unzipped firmware to the corresponding locations in ODIN
5. Turn off phone and boot into "Download Mode" by first holding Volume +/- buttons and then hold the Power button. Now plug in your phone to your PC and you will see the first small grey square in the upper left side of ODIN turn light blue (if it does not, you have issues with either the cable or drivers).
Proceed in flashing the device by simply clicking the "Start" button.
Once it is done and your phone has rebooted... Make sure that you complete the setup process just in case of authentication issues if the phone isn't already set up
6. Download the OneUI 4 Beta HERE and then follow the guide to install adb https://www.xda-developers.com/install-adb-windows-macos-linux/
7. Follow the XDA adb install guide and make sure to allow adb systemwide when asked by the program.
8. Turn off phone. Boot into device by holding Volume Up and then holding Power. This will take you into recovery mode, where you will see the option to "update via ADB sideload".
Use the volume down key to navigate down to that option and press power to initiate the adb sideload function
9. Open command prompt by pressing the Windows key and typing "cmd" (no quotes) and press ENTER.
10. Type into the command prompt (of course remove the quotes) "adb sideload C:\path\to\your\oneui4\zip\file" . For example if I download that file into my Downloads folder, I would then type "adb sideload C:\Users\MyPC\Downloads\949981470b3948c3aa05a19e8a2edbd3.zip"
Bro I have SM-F926B, I downloaded the correct CSC but can't install the beta, I got a message on smd says can't read. Any help please?
shadi90 said:
Bro I have SM-F926B, I downloaded the correct CSC but can't install the beta, I got a message on smd says can't read. Any help please?
Click to expand...
Click to collapse
This is for US Fold 3 models f926U/1. Sorry brotha. Basically you need to change the beta file you downloaded to this http://fota-secure-dn.ospserver.net...48:16&px-unum=&px-nb=UGtezEZ854jbmFcvWGxLEA== as well as flash AUJ7 firmware first. I hear UK with CSC BTE works fine. Get it at https://samfw.com/firmware/SM-F926B/BTE/F926BXXU1AUJ7 . After you replaced those files, just follow the instructions again
Thanks for this Guide. But i have issue with Adb sideload update.zip
I downgrade to AUI5 and been using XAA firmware since i bought T-mobile Zfold3.
And since beta was released, I'd been trying to register for OneUI4 in Samsung Memeber app but No Banner or under rBenefit tab.
So saw your guide here and tried to followed your direction but adb sideload fails i get CANNOT READ message.
when i typed adb Devices it shows my device so adb is working but cannot sideload.
when i downloaded the update it was .bin 949981470b3948c3aa05a19e8a2edbd3.bin so i renamed it to .zip, i got the CANNOT READ message then renamed it to update.zip still the same Cannot Read.
I am using windows 11.
Haven't logged in to XDA in years. Just wanted to say THANK YOU.
mha1021 said:
Thanks for this Guide. But i have issue with Adb sideload update.zip
I downgrade to AUI5 and been using XAA firmware since i bought T-mobile Zfold3.
And since beta was released, I'd been trying to register for OneUI4 in Samsung Memeber app but No Banner or under rBenefit tab.
So saw your guide here and tried to followed your direction but adb sideload fails i get CANNOT READ message.
when i typed adb Devices it shows my device so adb is working but cannot sideload.
when i downloaded the update it was .bin 949981470b3948c3aa05a19e8a2edbd3.bin so i renamed it to .zip, i got the CANNOT READ message then renamed it to update.zip still the same Cannot Read.
I am using windows 11.
Click to expand...
Click to collapse
Don't rename the file.
What I always do with adb related stuff is put it in the root of my C drive. So it would be
Code:
C:\adb\platform-tools\
Then put the .bin file in here as well.
After that open cmd and do
Code:
cd C:\adb\platform-tools\
and hit enter.
After that do adb sideload 94 and hit tab so it should autofill the name of the update file.
Let me know if you have any questions.
Thanks for the instructions as they worked for me. I did receive an error before it finished at "(~94%) adb: failed to read command: No error". Phone booted and the system is showing One UI version 4.0, Android Version 12.
QUESTION though. What is up with the difference in Baseband version? I am seeing the official release having the last 2 digits of "JF" but on the phone just flashed, it is showing "JH".
For reference, complete Baseband version: F929U1UEU1ZUJH after flashing. Might just be my ignorance but thought I would ask.
Thoughts? And thank you again!
AlexMartin00 said:
Thanks for the instructions as they worked for me. I did receive an error before it finished at "(~94%) adb: failed to read command: No error". Phone booted and the system is showing One UI version 4.0, Android Version 12.
QUESTION though. What is up with the difference in Baseband version? I am seeing the official release having the last 2 digits of "JF" but on the phone just flashed, it is showing "JH".
For reference, complete Baseband version: F929U1UEU1ZUJH after flashing. Might just be my ignorance but thought I would ask.
Thoughts? And thank you again!
Click to expand...
Click to collapse
The baseband is just something that gets updated, so ZUJH is the Android 12 beta firmware. Every time you update your firmware the baseband gets updated as well.
More technical: Baseband is firmware that controls all radio devices on the phone, including GPS, Wi-Fi, Bluetooth, NFC, cellular data, and more.
Will this work on att Galaxy fold 3 since I can't get update cause att blocks it.
Hero_is_Over said:
This is what I did to get the new beta. Feel free to tell me how dumb I am for allowing noobies to try the beta, but the more the merrier and they should know the risks....
RISKS: Phone may not be as stable as before and you will lose all your apps and data. Camera is bugged for me
1. BACK UP YOUR CURRENT BUILD USING SMART SWITCH. THIS WILL WIPE DALVIK/CACHE/DATA. Get SmartSwitch for PC HERE
2. Download Samsung Drivers for ADB/ODIN HERE
3. If you are on firmware ending in AUI5 for the CSC version XAA then skip to step #6 . If you are not, then download the respective firmware HERE
Also Download Patched ODIN (Patched version will be less scrutinous) HERE
4. Unzip the firmware you just downloaded as well as the Patched Odin. Run ODIN and add the BL, AP, CP, Home_CSC from the unzipped firmware to the corresponding locations in ODIN
5. Turn off phone and boot into "Download Mode" by first holding Volume +/- buttons and then hold the Power button. Now plug in your phone to your PC and you will see the first small grey square in the upper left side of ODIN turn light blue (if it does not, you have issues with either the cable or drivers).
Proceed in flashing the device by simply clicking the "Start" button.
Once it is done and your phone has rebooted... Make sure that you complete the setup process just in case of authentication issues if the phone isn't already set up
6. Download the OneUI 4 Beta HERE and then download the "15 Second ADB Installer" HERE
7. Install the 15 second adb installer and make sure to allow adb systemwide when asked by the program.
8. Turn off phone. Boot into device by holding Volume Up and then holding Power. This will take you into recovery mode, where you will see the option to "update via ADB sideload".
Use the volume down key to navigate down to that option and press power to initiate the adb sideload function
9. Open command prompt by pressing the Windows key and typing "cmd" (no quotes) and press ENTER.
10. Type into the command prompt (of course remove the quotes) "adb sideload C:\path\to\your\oneui4\zip\file" . For example if I download that file into my Downloads folder, I would then type "adb sideload C:\Users\MyPC\Downloads\949981470b3948c3aa05a19e8a2edbd3.zip"
Click to expand...
Click to collapse
hi I'm getting a status 1 error with my sideload
erneyone said:
hi I'm getting a status 1 error with my sideload
Click to expand...
Click to collapse
What does the error say?
I keep getting cannot read '949981470b3948c3aa05a19e8a2edbd3.bin and I do have the file on my ADB folder which is on the C drive i don't know if it matter but I'm using a windows 11 laptop
zimgir124 said:
What does the error say?
Click to expand...
Click to collapse
Status 1
Is there a mirror for the beta download anywhere? It looks like the link isn't working for me.
ElGuyarc said:
I keep getting cannot read '949981470b3948c3aa05a19e8a2edbd3.bin and I do have the file on my ADB folder which is on the C drive i don't know if it matter but I'm using a windows 11 laptop
Click to expand...
Click to collapse
was getting the cannot read error too.. the problem is the outdated adb version installed from the 15 second adb link in the op
download this:
How to install ADB on Windows, macOS, and Linux
A step-by-step guide to get you started with the Android Debug Bridge tool.
www.xda-developers.com
Dick_Stickitinski said:
was getting the cannot read error too.. the problem is the outdated adb version installed from the 15 second adb link in the op
download this:
How to install ADB on Windows, macOS, and Linux
A step-by-step guide to get you started with the Android Debug Bridge tool.
www.xda-developers.com
Click to expand...
Click to collapse
thank you so much...
I updated my SM-F926U1 with the Beta 4 its really buggy for me
Just want to get my facts straight. Can I just flash back to non-beta ?
What will happen to my Beta status will I still be able to OTA update when the next beta comes out ?
I have updated this with the newer adb binary install guide. I use the latest binaries from Android Studio and add them to path manually so I didnt know the 15 second installer was that outdated
Also yes you can downgrade by flashing the AUI5 that I posted in the guide
Hero_is_Over said:
I have updated this with the newer adb binary install guide. I use the latest binaries from Android Studio and add them to path manually so I didnt know the 15 second installer was that outdated
Also yes you can downgrade by flashing the AUI5 that I posted in the guide
Click to expand...
Click to collapse
Is it a good idea to wipe my data when doing an downgrade like this ?
Hero_is_Over said:
I have updated this with the newer adb binary install guide. I use the latest binaries from Android Studio and add them to path manually so I didnt know the 15 second installer was that outdated
Also yes you can downgrade by flashing the AUI5 that I posted in the guide
Click to expand...
Click to collapse
I thought you can't flash a previous version of Android once you're on the higher version?

How To Guide [Guide] Xiaomi Mi Pad 5 MIUI12/13 ROOT Step-by-step - Pass SafetyNet, Widevine L1

Everything you do, you do at your own risk. I'm not responsible for all damages, this can also lead to loss of warranty.
Hi,
Probably many of you know how to do a Magisk install without TWRP, but this guide is for people who don't know and don't want to mess things up.
I will try to show you step by step how to do it.
Many thanks to:
kdrag0n
topjohnwu
Leave them a nice feedback
!!! Before we start make sure your device is unlocked, if you don't know how to do it below is link to official Xiaomi guide !!!
https://c.mi.com/thread-2262302-1-0.html
Requirement
Xiaomi Mi Flash ver. =>3-14-0 - Needed to install all adb drivers Download
ADB & Fastboot tools - Could be the one built into Mi Flash tool I'll use this to make it simple
Magisk =>24.2 - This software is base of our rooting process Download
SafetyNet Fix => 2.2.1 (Zygisk) - Needed to backdoor SafetyNet fail check, at the moment it is only working method for Mi Pad 5 Download Make sure you download the Zygisk version!
Boot.img - You can download from official MIUI website full flashable rom and separate boot.img file from there, or use my if your Miui version is China 13.0.5, EEA 13.0.3, Global 13.0.1
China 13.0.5​EEA 13.0.3​Global 13.0.1​​​Installation
To make it easier, Green color mean what you need to do on Tablet, Orange on PC
Unzip Mi Flash tool
Open folder and run XiaoMiFlash.exe, if window "Driver" won't pop-up click on the Driver tab and then "Install" button and close all windows.
Connect your tablet to computer, when your tablet ask how you want use USB, choose File Transfer/Android Auto
Copy to internal storage Magisk-v****.apk, safetynet-fix-v****.zip and boot.img
Open File Manager on your tablet find a folder where you copied all files, and install Magisk
Open Magisk app, and click on Install in section Magisk, then select "Select and Path a File", after that find your boot.img file and click on it
Click "LET'S GO" button on the right side and wait until process will be finished
On your computer in the tablet's storage window, go to the file specified in the application probably /Download/magisk_patched-*****
Copy this file to a subfolder of Mi Flash on your computer, exactly to MiFlash2020-3-14-0\Source\ThirdParty\Google\Android and change the name of this file to boot.img
Open PowerShell/Windows Terminal in this folder (Hold Shift + Right click -> Open PowerShell window here)
Make sure your tablet have enabled USB debugging in Developer options Setting -> Additional settings -> Developer options -> USB debugging
Turn off your tablet, then hold down Power and VOL- until the screen lights up, then release power button, if Fastboot appears, everything went fine
Go back to your Terminal window and type to check if your computer see your tablet
Code:
./fastboot.exe devices
If you see answer "******** fastboot" it mean there is communication between PC and Tablet
Next type this command to flash patched boot image
Code:
./fastboot.exe flash boot boot.img
Next type this command to reboot your device
Code:
./fastboot.exe reboot
Restart can take a longer time than normal
Open Magisk app and check status of Magisk, if you see for exaple "Installed 24.2 (24200)" everything went fine
Open Settings in right corner of app and in section App click on Hide the Magisk app then type name for hidden app, it will ask to install new app so do it
Open again Magisk app and open Settings in section Magisk enable Zygisk (Beta) and Enforce DenyList
Click on Configure DenyList than click on three dots in right corner and uncheck Show system apps
Search for all the apps in the list below and check them. It is important to click on their name to see all modules, once you have done this click on the box to activate all of them
Code:
Google
Google Assistant (I have two)
Google Pay
Google Play services
Google Play Store
After that reboot your tablet, and open again Magisk app
On the bottom click on Modules
Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
After that reboot your device one more time
After reboot open Android Settings go to Apps and Unhide system services than find and clear all data of Google Play services and Google Play Store
Reboot tablet last time
If you have reached this point it means that everything has gone correctly, probably for about 3 hours you will still not be able to install Netflix and some banking applications but after this time everything will be back to normal, this is because Google's servers have detected that Magisk has been installed but that the application has been changed and Zygisk has been enabled so at the next check it notices that everything is Ok and gives access back.
Quick explaination what happend here:
Magisk has been installed and device is Rooted
The application has been changed and hidden
Zygisk has been activated and hidden from Google services
SafetyNet-fix was installed, which restores the functionality of SafetyNet and Widevine L1, which is blocked after the installation of Magisk and unlocked Bootloader
Hello,
(I use google translate).
Thanks for your method. Before using it, I would like to ask you a few questions.
I have already rooted a few devices (mipad 1, mi phone, htc...) with my macbook and twrp.
The adb files are already installed on my mac.
1) once the pad 5 is rooted, should I, like on my phone, patch the new boot.img file with each update?
2) Could I install the twrp application afterwards to be able to do a complete backup of the system and possibly install a version of lineageos later?
3) Is there a version of miflash unlock tool for mac os x?
4) Should I register or register on the xioami site before unlocking the boot?
Thank you in advance for your method and your answers.
Nux01
Nux01 said:
Hello,
(I use google translate).
Thanks for your method. Before using it, I would like to ask you a few questions.
I have already rooted a few devices (mipad 1, mi phone, htc...) with my macbook and twrp.
The adb files are already installed on my mac.
1) once the pad 5 is rooted, should I, like on my phone, patch the new boot.img file with each update?
2) Could I install the twrp application afterwards to be able to do a complete backup of the system and possibly install a version of lineageos later?
3) Is there a version of miflash unlock tool for mac os x?
4) Should I register or register on the xioami site before unlocking the boot?
Thank you in advance for your method and your answers.
Nux01
Click to expand...
Click to collapse
Hi Nux01,
1. Unfortunately yes, TWRP isn't supported for Pad 5 yet.
2. It won't work, TWRP app is only making a request to TWRP custom recovery, until it doesn't exist you can't even install custom ROM
3. It is, but i didn't test it yet on Pad 5, and I don't know if it will work with new decides because last release is from 20.07.2020.
https://github.com/francescotescari/XiaoMiToolV2/releases
4. Yes, you need Xiaomi account, also your device has to be logged in, and registered to unlock, Xiaomi made complete guide how to do this, link is on the top of this post.
Hello,
Thank you for your quick reply.
The latest version of Mitool does not work. On the other hand, with regard to version 20.7.21, it's OK.
What does it mean: "I do not know if it will work with new decides".
And to unlock the bootloader, I have to use the Xiaomitool V2 application?
Thanks again.
NUX01
Nux01 said:
Hello,
Thank you for your quick reply.
The latest version of Mitool does not work. On the other hand, with regard to version 20.7.21, it's OK.
What does it mean: "I do not know if it will work with new decides".
And to unlock the bootloader, I have to use the Xiaomitool V2 application?
Thanks again.
NUX01
Click to expand...
Click to collapse
I mean it's quite old release so it may not work with current unlock bootloader process on new devices like a Xiaomi 12, Xiaomi Pad 5 etc. I can't promise it won't brick your device, only confirmed method is by official Xiaomi tool.
Thank you
I'll wait a little bit before rooting my tablet.
Have a nice day.
Followed the instruction, worked like a charm. Although I had unknown "chinese sings" errors with the driver install it worked. By the way there is a newer version of the flashing tool.
Thanks for the effort of writing this down!
Hello,
I just managed to unlock the bootloader of my tablet "Pad 5".
I tried under Mac and Linux with Xiaomitool V2 without success (error 20036 and 20045).
I also tried with VirtualBox who did not recognize the tablet.
I succeeded with VMware and Windows 7 by testing different drivers and it worked.
I just root the tablet with Magisk.
On the other hand, is there the equivalent of TWRP to make a complete system backup. Apart from Titanium and MyBackup.
Thanks for your help.
thanks dude.
didn't try this yet, just wondering.
can't i just flash recovery and then flash magisk.apk?
thanks
Can i update ota to 13.0.2 after rooted? Just update and root again?
Cpanel10x said:
Can i update ota to 13.0.2 after rooted? Just update and root again?
Click to expand...
Click to collapse
You can update, but after that you need root again but with boot.img from 13.0.2
How to get the boot.img 13.0.2? I checked the 3GB Firmware and only found vendor_boot.img. Is it the same thing?
Never mind. I got the boot.img from here: https://miuirom.org/tablets/xiaomi-pad-5
Thomas Brown 99 said:
Never mind. I got the boot.img from here: https://miuirom.org/tablets/xiaomi-pad-5
Click to expand...
Click to collapse
boot.img for miui global 13.0.3(RKXINXM) isn't available there. Plz help...
Thanks for this awesome guide. Do you have some suggest about the magisk modules to install?
thanks, it just worked perfectly and your step by step guide is very handy and helpful. thanks so so much.
vjsaini00 said:
boot.img for miui global 13.0.3(RKXINXM) isn't available there. Plz help...
Click to expand...
Click to collapse
Today evening, I'll add more boot.img
kisielec said:
Today evening, I'll add more boot.img
Click to expand...
Click to collapse
eagerly waiting, Thanks
Hey there.
I have done everything above and i MIGHT have some problem. The problem with my problem is that its not really reproducable easily even for me.... Weird, I know!
Lets go into details:
Issue description: When I reboot my tablet it goes into "MIUI Recovery" window, on which I am offered to reboot the device or clean.... And when I reboot it goes back to the recovery screen again. Like a loop-hole.
....
But then if I leave it untouched for several minutes it reboots itself and launches the system properly finally...
When did it start: It first started after I performed this step:
24. Click on Install from storage button and find file safetynet-fix-v*******.zip, than click on it
25. After that reboot your device one more time
Click to expand...
Click to collapse
When I finally landed in the system I of course continued and performed further steps. After another reboot in step 27 the same thing happened but much, much longer.
I thought it somehow self fixed and works - once I am in the system. Right? So I did a reboot to test it. And no... recovery screen again for another 20 or so minutes until finally MIUI loaded fully.
Now I am afraid to turn off / reboot my tablet... I am afraid it might never finish booting next time.
Any ideas whats wrong and how to fix this weird and irregular behaviour?
My details:
Device: Xiaomi Pad 5 6/256gb
Original system was Chinese. I have reinstalled to Global one a version ago.
MIUI version currently running: 13.0.3(RKXMIXM)
Android version: 11 RKQ1.200826.002
Magisk version: 25.1 (25100) (32)
Magisk Modules: Universal SafetyNet Fix v2.2.1 (yes I made sure to download around Zygisk section)
Anything else I shall provide?
cysmaster said:
Hey there.
I have done everything above and i MIGHT have some problem. The problem with my problem is that its not really reproducable easily even for me.... Weird, I know!
Lets go into details:
Issue description: When I reboot my tablet it goes into "MIUI Recovery" window, on which I am offered to reboot the device or clean.... And when I reboot it goes back to the recovery screen again. Like a loop-hole.
....
But then if I leave it untouched for several minutes it reboots itself and launches the system properly finally...
When did it start: It first started after I performed this step:
When I finally landed in the system I of course continued and performed further steps. After another reboot in step 27 the same thing happened but much, much longer.
I thought it somehow self fixed and works - once I am in the system. Right? So I did a reboot to test it. And no... recovery screen again for another 20 or so minutes until finally MIUI loaded fully.
Now I am afraid to turn off / reboot my tablet... I am afraid it might never finish booting next time.
Any ideas whats wrong and how to fix this weird and irregular behaviour?
My details:
Device: Xiaomi Pad 5 6/256gb
Original system was Chinese. I have reinstalled to Global one a version ago.
MIUI version currently running: 13.0.3(RKXMIXM)
Android version: 11 RKQ1.200826.002
Magisk version: 25.1 (25100) (32)
Magisk Modules: Universal SafetyNet Fix v2.2.1 (yes I made sure to download around Zygisk section)
Anything else I shall provide?
Click to expand...
Click to collapse
I also have this module installed without problems, as there is no recovey for Pad5, it is a good idea to install in magisk the module Magisk Bootloop Protector, which serves exactly to prevent what you are afraid that happen with your tablet

Categories

Resources