After flashing the newest firmware from 7.11.16 rom i cannot reboot into recovery or bootloader from system's reboot menu (in my case on aex 4.6 rom).
I've noticed that the aboot partition (emmc_appsboot.mbn) is different size than on older firmwares (eg. from 7.10.19 rom) and reboot into recovery from system works with this older firmware.
Is there any way to fix this?
-flash the fastboot MIUI rom, then try to flash twrp again.
mokee fixed in nightly,lineage and aex will follow soon
Do apps like "simple reboot" work?
TingyiChen said:
mokee fixed in nightly,lineage and aex will follow soon
Click to expand...
Click to collapse
Did you patch emmc_appsboot.mbn or some file in the rom itself?
EDIT: i unpacked the firmware from your lineageos release from 22.11 and noticed that you took the firmware from miui 7.11.16 and patched the emmc_appsboot.mbn, because only this file is different than original. i'll try to flash only this file and see if it works on aex.
EDIT: i flashed only the patched emmc_appsboot.mbn via fastboot and the reboot to recovery from aex doesn't work. so the dev has to patch also sth. in the rom. let's just wait...
solim said:
Did you patch emmc_appsboot.mbn or some file in the rom itself?
EDIT: i unpacked the firmware from your lineageos release from 22.11 and noticed that you took the firmware from miui 7.11.16 and patched the emmc_appsboot.mbn, because only this file is different than original. i'll try to flash only this file and see if it works on aex.
EDIT: i flashed only the patched emmc_appsboot.mbn via fastboot and the reboot to recovery from aex doesn't work. so the dev has to patch also sth. in the rom. let's just wait...
Click to expand...
Click to collapse
Kernel and lk should taken from same stock,or will drep reboot function
Related
I would install Global Dev ROM 7.2.16 miui_MI5Global_7.2.16_ab1851be8e_7.0.zip in TWRP (last version 3.0.2-3) but after installation, my phone not boot to system it stuck at mi.com screen.
If I flash other custom ROMs then everything is OK
Does this mean that I can't install official MIUI zip files in TWRP?
zukers said:
I would install Global Dev ROM 7.2.16 miui_MI5Global_7.2.16_ab1851be8e_7.0.zip in TWRP (last version 3.0.2-3) but after installation, my phone not boot to system it stuck at mi.com screen.
If I flash other custom ROMs then everything is OK
Does this mean that I can't install official MIUI zip files in TWRP?
Click to expand...
Click to collapse
This has been discussed many times. Do not flash stock miui rom with TWRP. Use Miflash tool instead.
in the setting
choose the 'support official update'
@muchlas46
I can't use Miflash because if I will flash this file using Miflash then TWRP will be overwrite.
And If I would do that and then install again TWRP it will be asking me in first entry to decrypt data so I have to format freshly installed Global Dev ROM so I'm back in start point.
I would have TWRP, unlocked bootloader(have it) and GLOBAL dev, so to do that?
https://forum.xda-developers.com/mi-5/development/tool-flashable-firmware-twrp-easy-t3474898
flash "Latest one -> Developer 7.2.9 Firmware:",then flash custom ROM(ex:Lineage OS)
I don't wan't custom ROM, I want to install official ROM from this e.g Global dev :
http://en.miui.com/download-299.html#443
anh have this official ROM with TWRP as recovery, is any hint to do this?
I want the EXACLY same thing LOL and i try everything but i cant have TWRP and Global dev, sorry i just wait with you for one solution.
I have idea how to do this but I'am afraid bricking my phone
Inside official fastboot file, after extracting is folder "images" inside is recovery.img file - this is stock recovery.
It could be maybe possible to replace this file to twrp file and leave it with the same name, then during Mi-flash will be TWRP installed instead stock recovery.
1. flash the firmware given above.
2.nougat miui often doesn't boot with only a clean twrp flash,that's why you have to flash the nougat firmware posted above.
else
1.flash 6.11 marshmallow global beta.
2.reboot
3.now flash nougat beta
Stock Firmware for Redmi S2:
MIUI- 9.5.6 android 8.1
type- fastboot & Recovery
China Stable
Global Version QCN & twrp Will be added Soon When it available.
Download Links:
Recovery ROM: http://bigota.d.miui.com/V9.5.6.0.OEFCNFA/miui_HMS2_V9.5.6.0.OEFCNFA_c715106721_8.1.zip
fastboot ROM:
http://bigota.d.miui.com/V9.5.6.0.O...EFCNFA_20180510.0000.00_8.1_cn_c791145450.tgz
Flashing Guide:
https://romprovider.com/2018/01/flashing-guide-xiaomi/
Rooting:
Not testes Sharing only My ideas:
First unlock With MI unlock tool
then take boot.img File From Downloaded Firmware and move it to Phone
Install magisk manager Open Click update/Install magisk. Chose patch boot.img Point Download boot.img File
wait For success.
then Reboot to bootloader and Flash with this code
Code:
fastboot flash boot boot.img
Have a Good Luck:good::laugh::laugh::laugh:
please help me for the boot.img file that has been tested thanks
mark332 said:
Stock Firmware for Redmi S2:
MIUI- 9.5.6 android 8.1
type- fastboot & Recovery
China Stable
Global Version QCN & twrp Will be added Soon When it available.
Download Links:
Recovery ROM: http://bigota.d.miui.com/V9.5.6.0.OEFCNFA/miui_HMS2_V9.5.6.0.OEFCNFA_c715106721_8.1.zip
fastboot ROM:
http://bigota.d.miui.com/V9.5.6.0.O...EFCNFA_20180510.0000.00_8.1_cn_c791145450.tgz
Flashing Guide:
https://romprovider.com/2018/01/flashing-guide-xiaomi/
Rooting:
Not testes Sharing only My ideas:
First unlock With MI unlock tool
then take boot.img File From Downloaded Firmware and move it to Phone
Install magisk manager Open Click update/Install magisk. Chose patch boot.img Point Download boot.img File
wait For success.
then Reboot to bootloader and Flash with this code
Code:
fastboot flash boot boot.img
Have a Good Luck:good::laugh::laugh::laugh:
Click to expand...
Click to collapse
Only for device with Unlock Bootloader.... Not work for Locked Bootloader.
Woy kampank hp gua bejat anjeng
please help me for the boot.img file .. my device got stuck in bootloop and not able to download entire rom zip
Urgent, please sent me stock boot.img for redmi s2
Device is stuck in bootloop after I installed Xposed framework module from magisk manager .
I've tried uninstalling magisk , but the uninstall package terminates with error .
Then I flashed stock boot.img , it is booting but I cannot disable the module as magisk isn't installed.
Is there a way I can removed magisk's files / uninstall magisk modules manually from twrp .
Thanks !
(If there is some more relevant place for this thread , please let me know I'll post this there.)
Edit: Fixed it!
you will have to reflash entire system.img + boot.img again with proper wiping.
I never got xposed working on R6 stock.. (i got it magically working on GSI tho) I really want Xposed tho.. :/
TanRayCz said:
I never got xposed working on R6 stock.. (i got it magically working on GSI tho) I really want Xposed tho.. :/
Click to expand...
Click to collapse
which gsi image & twrp you are using? I flashed rr gsi-nosu-vanilla but it keeps bootloop.
abkdmn said:
which gsi image & twrp you are using? I flashed rr gsi-nosu-vanilla but it keeps bootloop.
Click to expand...
Click to collapse
LOS Treble. Call/SMS issues though. LR Team TWRP.
TanRayCz said:
LOS Treble. Call/SMS issues though. LR Team TWRP.
Click to expand...
Click to collapse
i tried flashing the los (15.1 arm A only) gsi image, stuck at bootloop.
how can u succeed?
Michaelw7 said:
i tried flashing the los (15.1 arm A only) gsi image, stuck at bootloop.
how can u succeed?
Click to expand...
Click to collapse
If youll get into bootloop i suggest you trying to wipe system and data partitions from fastboot (important), then flash stock ROM and then flash the GSI. This most of the time worked for me as clear GSI flash. So steps may not be necessary.
TanRayCz said:
If youll get into bootloop i suggest you trying to wipe system and data partitions from fastboot (important), then flash stock ROM and then flash the GSI. This most of the time worked for me as clear GSI flash. So steps may not be necessary.
Click to expand...
Click to collapse
thank u for the help. i will try it
TanRayCz said:
If youll get into bootloop i suggest you trying to wipe system and data partitions from fastboot (important), then flash stock ROM and then flash the GSI. This most of the time worked for me as clear GSI flash. So steps may not be necessary.
Click to expand...
Click to collapse
[official] miui 10 recovery & fastboot ROM
tried wipe system and data partition from fastboot.
and then flash stock rom (from [official] miui 10 recovery & fastboot ROM thread in kernel sub forum), and then instal the gsi image los 15.1.
still bootloop. idk what i did wrong. still no clue
Michaelw7 said:
[official] miui 10 recovery & fastboot ROM
tried wipe system and data partition from fastboot.
and then flash stock rom (from [official] miui 10 recovery & fastboot ROM thread in kernel sub forum), and then instal the gsi image los 15.1.
still bootloop. idk what i did wrong. still no clue
Click to expand...
Click to collapse
Try to flash stock kernel/boot.img or remove Magisk trough uninstaller. This magically helped me one time
TanRayCz said:
Try to flash stock kernel/boot.img or remove Magisk trough uninstaller. This magically helped me one time
Click to expand...
Click to collapse
where can ai get the stock kernel file?
Michaelw7 said:
where can ai get the stock kernel file?
Click to expand...
Click to collapse
You can restore boot.img by installing Magisk uninstaller update ( it's available on Magisk thread I think) , or download a fastboot update for your device to get stock boot.img
Michaelw7 said:
where can ai get the stock kernel file?
Click to expand...
Click to collapse
You can extract it from firmware ZIP
Michaelw7 said:
where can ai get the stock kernel file?
Click to expand...
Click to collapse
go to this site. (not promoting it or something) https://extract.me paste this link [ http://bigota.d.miui.com/V10.0.1.0....FH_20180919.0000.00_8.1_global_794ccbbe18.tgz ] wait a few second then you will see all files from this archive, download what you want from it. It will save you a lot of time to download entire archive. Trust me.
hello guys,
i want to root my redmi 9 with magisk. i tried to use the "patched boot.img method", but everytime i land in a bootloop.
im on miui global 12.5.3 stable, android 11. bootloader unlocked!
i took that magisk version: https://github.com/topjohnwu/Magisk/releases/tag/v23.0 (v23.0 - as apk)
than i was on that page: https://c.mi.com/oc/miuidownload/detail?device=1900381
on that page i took on the left "redmi 9 global" - which calls:
Code:
Stable ROM
Author: MIUI Official Team
Version: V12.5.3.0.RJCMIXM (MIUI11)
Size: 2.2G
i extracted the archive and copied magisk.apk and boot.img to my download-folder on my smartphone. patched the boot.img with magisk. than copied the patched boot.img to my pc.
after that i bootet the phone into fastboot mode. than i flashed the patched boot.img with fastboot flash boot patchedboot.img - used than fastboot reboot and than im in the bootloop.
can someone tell me, what i am doing wrong?
(ps: when i flash the unpatched boot.img i get no bootloop and my phone is starting again - but of course with no root )
thanks
taker-`
If I understood correctly, as well as you don't mention about that, you didn't deactivate the AVB mechanism by flashing the stock vbmeta image with the command fastboot --disable-verity --disable-verification flash vbmeta [your vbmeta.img file], which is documented that if Magisk is installed without that procedure, the device is bootlooping (see this guide).
oh, i see. yes, i didnt use that command. but now i got it working. i read that twrp isnt really compatible with the redmi9 and i need another recovery.
i used that now: https://sourceforge.net/projects/shrp/
vbmeta from post #4: https://forum.xda-developers.com/t/dont-use-twrp-on-redmi-9-use-shrp.4334123/
than i did that:
fastboot flash recovery *.img
fastboot --disable-verity --disable-verification flash vbmeta *.img
fastboot reboot recovery
from there i installed integrated magisk v23.0
phone reboot...got root.
I have read that there are issues with TWRP and Magisk (as far as I know, even its developer mentions that). Although I never got SHRP to work properly on my device and I always get bootloop issues with that. Do you know if it's because of the version I run? I currently run MIUI 11.0.2.0, which I think it's the device's original version.
uh im sorry. im also new to the shrp recovery. i had only used twrp so far.
did you try to flash this version i linked? if its not working you can fast flashback ur twrp. maybe just give it a try?
taker-` said:
uh im sorry. im also new to the shrp recovery. i had only used twrp so far.
did you try to flash this version i linked? if its not working you can fast flashback ur twrp. maybe just give it a try?
Click to expand...
Click to collapse
I don't think I have tried that. I think at the worst case, because I run MIUI I'll just roll back to it's original recovery image. I'm just asking because I don't see mentions of software versions.
what smartphone do you own?
Hi Guys, so we got a pilot release for MIUI 13. Here is the guide to flash/update using Xiaomi.eu ROM:
Update to MIUI13 (Android 12) from MIUI EU V12.5
A TWRP backup of current rom is recommended before following the next steps
You can follow my guide to know how you do it here: https://forum.xda-developers.com/t/...-flash-twrp-root-device-flash-eu-rom.4402203/
Download Fastboot EU rom from here: https://sourceforge.net/projects/xi...13.0.1.0.SKDMIXM_v13-12-fastboot.zip/download
Extract all the contents in zip file to any normal folder
We will be using Bootloader/Fastboot mode. Boot into Bootloader: Power off your mobile then hold Volume Down + Power Button till Fastboot bunny pops up
Connect your device to PC
To update use the updater executable for respective OS platform windows_fastboot_update_rom.bat (for windows)
For clean flash you can use windows_fastboot_first_install_with_data_format.bat (for windows)
Follow the procedures as per above choice
Wait patiently while the PC does its Job.
You may see a long pause post “writing Cust” command depending on PC configuration. try hitting any letter key on your keyboard, the process continues this way.
You may hit letter key whenever you see unusual pauses during pushing of super partition file sparse sending 1 of 9 to 9 of 9
Wait till process finishes and reboots
Flash Magisk and Root
Copy boot.img from the extracted ROM images folder to your mobile
Global Boot.img (use this if you wanna root Globoal Miui13.
Install latest Magisk app from here: https://github.com/topjohnwu/Magisk/releases/download/v24.1/Magisk-v24.1.apk
Install the app and select install in Magisk and choose patch source file and select the boot.img you copied.
Wait for the process, copy the new patched image form mobile to your PC
Now lets flash the new pathced boot image using below, replace with path to boot image in place of “< --- >”
fastboot flash boot_a “<magisk_patched.img>”
fastboot flash boot_b “<magisk_patched.img>”
Reboot and check the magisk app
Follow my guide here to pass safteyNet: https://forum.xda-developers.com/t/...-flash-twrp-root-device-flash-eu-rom.4402203/
Update to miui 13 can't flash via twrp?
Yuditkiichi said:
Update to miui 13 can't flash via twrp?
Click to expand...
Click to collapse
Only the stock global rom is for recovery, xiaomi.eu rom is for fastboot.
I can boot the twrp.img, but I can't navigate in the main menu. It won't do anything
dandris86 said:
I can boot the twrp.img, but I can't navigate in the main menu. It won't do anything
Click to expand...
Click to collapse
Probably twrp is not yet compatible with the new android 12 firmware, some users also reported the same problem.
sushuguru said:
Probably twrp is not yet compatible with the new android 12 firmware, some users also reported the same problem.
Click to expand...
Click to collapse
Thanks for the quick reply
I'm updated whiteout format data. Everything looks ok.
Alright, so I was previously rooted on 12.5 (global), non twrp. its not necessary for rooting.
I did the ota update to v13 miui (global). but as its a switch between v11 and v12 of android its not possible to install magisk into an empty a/b slot.
I tried to fastboot flash your global miui boot.img after patching it with magisk and it did not work.
I suspect the boot.img to not be compatible with the global rom.
So I opted to flash the Eu fastboot version of miui 13, I set up the phone.
Then patched the stock boot.img with magisk and fastboot that. Done phone is now rooted on v13 miui. and passing safety net check.
phone data was lost as i had to switch from global to eu.
Can anyone confirm that we get widgets and other features that are not found in the miui 13 global I want to make the switch but I want to know what would still be missing
The global fastboot rom is now released. follow same steps above to have rooted global non twrp.
V13.0.1.0.SKDMIXM (https://xiaomifirmwareupdater.com/miui/vili/stable/V13.0.1.0.SKDMIXM/)
-Edit-
Ive also updated to the latest via ota V13.0.2.0.SKDMIXM (Stable beta). but as it detected the boot.img was modified it downloaded the entire recovery rom. Installed. Lost root access.
I then fastboot re flashed the patched boot.img from the V13.0.1.0.SKDMIXM and it works.
so im rooted/ safetynet check passed on V13.0.2.0.SKDMIXM (Global)
roms can be found here https://xiaomifirmwareupdater.com/miui/vili/
Downloaded the latest EEU vili_eea_global_images_V13.0.8.0.SKDEUXM_20220224.0000.00_12.0_eea_38cc4dcea7.tgz
but the only .bat files I see are
flash_all.bat, flash_all_except_storage.bat and flash_all_lock.bat
BettlePimp said:
Downloaded the latest EEU vili_eea_global_images_V13.0.8.0.SKDEUXM_20220224.0000.00_12.0_eea_38cc4dcea7.tgz
but the only .bat files I see are
flash_all.bat, flash_all_except_storage.bat and flash_all_lock.bat
Click to expand...
Click to collapse
It's a fastboot stock rom which this flash with miflash or with bat files
This thread is about XIAOMI EU custom rom
This phone is so ****ty, I'm trying to do OTA update via 100mbit/'s network in netherlands from about two f***NG weeks and it can not be finished. I can't belive that I have paid 800€ for so big ****!
Hello
For the ROOT it works perfectly (without TWRP, just with magisk)
You unlock the bootloader and wait 1 week, you extract the boot.img, you modify the file with magisk and do the command wtih adb with the modified boot
Very simple
(If you want to extract the rom file by yourself you can just extract with a little tool after your download the rom
, you can extract the fil with the payloaf file, for that, just have a look in the method 3 in this link)