Can not flash custom rom! - Xiaomi Redmi Note 5 Pro Questions & Answers

Solved thanks!
Hi!
I want to flash custom rom(pixel experience 8.1 or 9) on my whyred. I do these steps:
- unlock bootloader: OK
- flash by pass anti rollback: dummy.img via fastboot: OK
- flash twrp (official version) via fastboot: OK
- flash custom rom via twrp: stuck at "error 7..." as attack img. I did several times, sometime it stuck at patching system, sometime at patching vendor. I flash miui dev rom 8.8.30 global with miflash again and do above steps: still same error.
Plz help. Thanks!
(sorry my english)

Flash MiUi firmware (without arb4) and then dirty flash the custom rom over it.

Can u explain more clearly? and give the link for firmware?

Do I have to flash MiUi firmware without arb4 all alone (without any ROM installed), or OVER MIUI or some Custom Rom??

Check Root Weather and Use Latest TWRP Recovery
---------- Post added at 05:23 AM ---------- Previous post was at 05:23 AM ----------
aries.1482 said:
Admin Note: This is a special Q&A-formatted thread. Please follow this link to view it in your browser:
Click to expand...
Click to collapse
Check Root Weather and Install Latest TWRP Recovery

Do I have to flash MiUi firmware without arb4 all alone (without any ROM installed), or OVER MIUI or some Custom Rom??

Related

[LP][MM] Lenovo K4 Note STOCK Roms (S152) (S232 volte)

Hi Guys!
This is not a "How to Flash Stock Rom Tutorial"
I made this thread because these ROMs are not easily available and people have to install a lot of OTA updates to get to them.
Keeping it short, this is a thread for latest stock ROMs for Lenovo K4 Note/Vibe X3 Lite (both Lollipop and Marshmallow) which is flashable via SP Flash Tool.
The last Lollipop Stock Rom is S152 and the Latest Marshmallow stock rom is S232 (supports VOLTE).
Previously, we have to flash old lollipop rom and then update it around 5 times via OTAs to get to the last lollipop version i.e S152 and then and only then we could update it to Marshmallow via an OTA and even after updating to MM we still needed to install around 5 OTA updates to get to the latest version of the ROM i.e currently S230 (as on 12 Dec 2016).
For ROOTING:
* Use Kingroot APK for Lollipop
* Use TWRP method by flashing SuperSu zip for Marshmallow (any version of MM)
"BOOTLOADER CAN BE EASILY UNLOCKED IN BOTH THE ROMS (same method)"
LINKS: THESE ARE DIRECTLY FLASHABLE via SP FLASH TOOL
[LP] STOCK Lollipop S152 (Last Version released by lenovo) [1.7gb] :
Mediafire : http://www.mediafire.com/download/uopffebpzdr56wc (thanks to firmwarefiles)
Bdupload : https://bdupload.info/0yt0cyx2s5vs
[MM] STOCK Marshmallow S230 [VOLTE support] [1.4gb]:
https://cloud.mail.ru/public/A7pM/P5AUfkCUc (thanks to @sharan565)
RAR Password : lenovo-forums.ru
[MM] STOCK Marshmallow S232 [VOLTE] [1gb]:
https://goo.gl/NK4uZk (thanks to @satyajeetb) (1gb compressed rar)
https://cloud.mail.ru/public/4YZL/vezp8LwgF (1.4gb .7z file)
RAR Password if needed : lenovo-forums.ru
I'll try to update the thread with latest links/versions whenever possible.
Click thanks if helped.
Cheers! Bye!
I saw somewhere a link for the full S219 ROM, cant't recall where right now. If I stumble upon it again, I'll post it here.
ksio89 said:
I saw somewhere a link for the full S219 ROM, cant't recall where right now. If I stumble upon it again, I'll post it here.
Click to expand...
Click to collapse
Sure bro
Can you help me Unlockbootloader S152???
Please!!!!
MM Stock works with 2 gb ram variant ?
S219 Stock recovery
Hi, can anyone post s219 stock recovery, new s230 update is not getting installed by custom recovery so I am stuck.
Searched other threads but none working..
anyone having custom recovery flashable S230 update zip file plz?
unable to install OTA update with custom recovery
also not getting stock recovery anywhere
ankushkale0001 said:
Hi, can anyone post s219 stock recovery, new s230 update is not getting installed by custom recovery so I am stuck.
Searched other threads but none working..
Click to expand...
Click to collapse
I had same issue, tried everything. Flashing via bootloader didn't work.
Flashing only stock recovery via SP tools sent my phone to boot loop. Had to flash whole rom again to get stock recovery.
Here is what I did.
Download S218 rom, flash all except cache & user data (This will preserve your data & apps, but root will be removed)
Download S219 from here, flash manually via stock recovery.
Update to S230 via OTA.
Root again with same procedure for MM.
http://forum.xda-developers.com/k4-note/development/stock-recovery-t3506689
Trushant said:
I had same issue, tried everything. Flashing via bootloader didn't work.
Flashing only stock recovery via SP tools sent my phone to boot loop. Had to flash whole rom again to get stock recovery.
Here is what I did.
Download S218 rom, flash all except cache & user data (This will preserve your data & apps, but root will be removed)
Download S219 from here, flash manually via stock recovery.
Update to S230 via OTA.
Root again with same procedure for MM.
http://forum.xda-developers.com/k4-note/development/stock-recovery-t3506689
Click to expand...
Click to collapse
This worked. Thanks :good:
---------- Post added at 10:37 AM ---------- Previous post was at 10:35 AM ----------
[/COLOR]Can i flash S218 over S202 directly via SP FLASH TOOL??
kmatta said:
---------- Post added at 10:37 AM ---------- Previous post was at 10:35 AM ----------
[/COLOR]Can i flash S218 over S202 directly via SP FLASH TOOL??
Click to expand...
Click to collapse
Yes u can.... Flash s230 directly
mm link not working
the marshmallow link not workimg
Need s232 via flashtool
Iamshivpatil said:
the marshmallow link not workimg
Click to expand...
Click to collapse
It is working bro
Guys this is for which variant the 2GB or the 3GB??
latest firmware s232 google drive link https://goo.gl/NK4uZk
7zip 18 Error
When I m Trying To Un Zip Via 7zip With Password(lenovo-forums.ru)
It Always Showing 18 error Of (Password Error)
What To Do Now Need Help..........
Deep_Jay said:
When I m Trying To Un Zip Via 7zip With Password(lenovo-forums.ru)
It Always Showing 18 error Of (Password Error)
What To Do Now Need Help..........
Click to expand...
Click to collapse
I hope u r putting password without braces...
hi sir please can i flash mm latest rom directly,?
hi sir please can i flash mm latest rom directly,?
i have 147 row my phone was rooted and cant update so will it be possible?
Hi guys,
I lost nvram, lost the IMEI.
Got a nvram from internet, Works, but no VoLTE. I tried to change the IMEI using maui meta. It shows errors as nvram database is not for S232.
Can someone give me their nvram from S232(which has VoLTE) ? Don't worry, I'll change it to my IMEI number/ serial to the values in the box. I need my IMEI back.

Error 7 while flashing Nougat ROM

So I got my mi 5s today and immediately unlocked it and flashed TWRP via fastboot. Installing the newest lineage OS resulted in error 7.
I was previously on Miui (obviously) with Android Marshmallows.
I assume I do not have the nougat bootloader to install a nougat Rom.
Can anybody point me to the direction how I can flash the newest bootloader or full Nougat Miui to get the Nougat bootloader? Preferebly as via TWRP.
Any hint, post, thread or tutorial is very much appreciated
Whats your miui version? China or global, stable or dev?
Try to check the updater app for updates
Stable and global And Marshmallow. I think the seller never touched it and didn't modify anything.
And I am completely without Rom cuz I wiped data by typing in yes and did a normal wipe afterwards. Sorry I am confident flashing Roms but this time I don't know
To fix error 7, flash the following zip. (For now, the latest is 7.9.14, I recommend you to flash the latest version unless you meet some feature failure like no sound, no wifi, can't playback video.... etc)
https://github.com/fjtrujy/capricornCNFirmware/releases
---------- Post added at 08:44 PM ---------- Previous post was at 08:44 PM ----------
To fix error 7, flash the following zip. (For now, the latest is 7.9.14, I recommend you to flash the latest version unless you meet some feature failure like no sound, no wifi, can't playback video.... etc)
https://github.com/fjtrujy/capricornCNFirmware/releases
You can flash one of these firmware only,
all works
https://drive.google.com/drive/mobile/folders/0BxRxqtJChB1SbW1HUGNJcmptVmc
bunnahabhain said:
So I got my mi 5s today and immediately unlocked it and flashed TWRP via fastboot. Installing the newest lineage OS resulted in error 7.
I was previously on Miui (obviously) with Android Marshmallows.
I assume I do not have the nougat bootloader to install a nougat Rom.
Can anybody point me to the direction how I can flash the newest bootloader or full Nougat Miui to get the Nougat bootloader? Preferebly as via TWRP.
Any hint, post, thread or tutorial is very much appreciated
Click to expand...
Click to collapse
You can bypass error7 result but be extremely careful. If you are absolutely sure the ROM is compatible with your phone do this.
Go to > Meta-inf / com / google / android / Updater-script
Delete asserts line. https://forum.xda-developers.com/showthread.php?t=2522762

Help pliss

I want instal custom rom android P to my mi mix 2, but im very confuse how to instal twrp for custom rom android P,
Can someone teach me step by step?
What firmware to use?
Twrp to android P?
And how to flash twrp to my device?
Alchndra said:
I want instal custom rom android P to my mi mix 2, but im very confuse how to instal twrp for custom rom android P,
Can someone teach me step by step?
What firmware to use?
Twrp to android P?
And how to flash twrp to my device?
Click to expand...
Click to collapse
Update to latest miui 10 then
First you must unlock the bootloader if you haven't yet. Try to Google it
Second you flash twrp, the latest one. There's a version here and another on the official twrp website. You can find both very easily. To flash twrp, start you phone in download mode, connect it to PC and from CMD send the command "fastboot flash recovery yourtwrpfile.img"
From twrp you must do a full format of the storage to make sure you're decrypted.
After that you can flash any P ROM by following the steps provided on the ROMs thread.
XDRdaniel said:
Update to latest miui 10 then
First you must unlock the bootloader if you haven't yet. Try to Google it
Second you flash twrp, the latest one. There's a version here and another on the official twrp website. You can find both very easily. To flash twrp, start you phone in download mode, connect it to PC and from CMD send the command "fastboot flash recovery yourtwrpfile.img"
From twrp you must do a full format of the storage to make sure you're decrypted.
After that you can flash any P ROM by following the steps provided on the ROMs thread.
Click to expand...
Click to collapse
Thanks dude for your answer, after flash twrp can i use mui rom for a while? or do I have to directly flash to custom ROM P?
XDRdaniel said:
Update to latest miui 10 then
First you must unlock the bootloader if you haven't yet. Try to Google it
Second you flash twrp, the latest one. There's a version here and another on the official twrp website. You can find both very easily. To flash twrp, start you phone in download mode, connect it to PC and from CMD send the command "fastboot flash recovery yourtwrpfile.img"
From twrp you must do a full format of the storage to make sure you're decrypted.
After that you can flash any P ROM by following the steps provided on the ROMs thread.
Click to expand...
Click to collapse
is this right twpp that I have to download? https://twrp.me/site/update/2018/08/06/twrp-3.2.3-0-released.html
Teamwin twrp 3.2.20
Alchndra said:
is this right twpp that I have to download? https://twrp.me/site/update/2018/08/06/twrp-3.2.3-0-released.html
Teamwin twrp 3.2.20
Click to expand...
Click to collapse
https://twrp.me/xiaomi/xiaomimimix2.html
---------- Post added at 08:24 AM ---------- Previous post was at 08:22 AM ----------
Alchndra said:
Thanks dude for your answer, after flash twrp can i use mui rom for a while? or do I have to directly flash to custom ROM P?
Click to expand...
Click to collapse
You don't have to flash another ROM after twrp and you can still use miui, but make sure that you flash magisk so you don't lose twrp as Miui overwrites stock recovery.
XDRdaniel said:
https://twrp.me/xiaomi/xiaomimimix2.html
---------- Post added at 08:24 AM ---------- Previous post was at 08:22 AM ----------
You don't have to flash another ROM after twrp and you can still use miui, but make sure that you flash magisk so you don't lose twrp as Miui overwrites stock recovery.
Click to expand...
Click to collapse
Big thanks dude your the best

Bit of help needed

Hi all after a bit of advice
Decided to unlock my bootloader and install twrp on my phone OP5T to install a custom rom (extendedui)
Once I tried to install the rom if mentioned I needed 9.0.10 firmware so I downloaded the OTA zip and it would not install it
So I tried to install another version of twrp
Now I cannot boot into recovery I just get a blue flashing led
I can still boot into fastboot mode how do I fix this problem
Feel a bit dumb
@gap30
https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unbricking-tool-confirmation-t3733012/
U need to unbrick the device
Follow procedure in above link
Here's video tutorial for the same
https://youtu.be/PpLvmID1wdI
start by making recovery work again
first of all - don't panic. probably the worst you can do is losing all your data. you did back up, right?
the procedure changes a bit from Android 8 and 9 it helps to read the entire thread before you start.
I would start here: (but there are many posts with TWRP or "recovery" in the "development" area)
https://forum.xda-developers.com/oneplus-5t/development/recovery-twrp-3-2-1-0-oreo-8-0-8-1-t3729673
you can still fastboot so you are good
> fastboot flash recovery xxxxxxxx.img
> fastboot reboot
good luck and let us know if you succeed?
You never go full retard! [emoji23]
Poslano z mojega ONEPLUS A5010 z uporabo Tapatalk
Ok i am now back to stock yes i went full retard
Ok so I had originally installed twrp by codeworx but where I got stuck was requiring firmware above 9.0.10 to install the custom rom
I downloaded the latest OTA zip but was unable to install it and thats where my problems started
When I unlock the bootloader it wipes your phone back to factory settings correct?
Do i have to update the phone to 9.0.11 then install the custom rom
Which procedure you followed? Mention pls
In case if any1 face same problem in future
---------- Post added at 10:18 AM ---------- Previous post was at 10:15 AM ----------
It's written in procedure for flashing any custom rom that u hv to flash latest firmware first which is 9.0.11
What's your current status now?
back to stock 9.0.11
I followed this guide: https://forum.xda-developers.com/oneplus-5t/how-to/oneplus-5t-unlock-bootloader-flash-twrp-t3704592
I have rooted this phone in the past in fact I have rooted many phones lol
So now the procedure has changed I have to unlock the bootloader/root then update to 9.0.11?
But if i update will I not lose root?
1. Download the proper flashable ZIP for your device
2. Reboot to Recovery
3. Wipe Data/Cache/System
4 Flash vendor/firmware for your device
5. Flash the ROM
6. Flash Magisk (Optional)
7. Reboot to System
Its step 4 where the problems started as i had unlocked the bootloader my phone was back to stock how do i flash vendor/firmware ie 9.0.11
Ok for unlock bootloader and root pls follow this link
https://forum.xda-developers.com/on...5t-unlock-bootloader-flash-twrp-t3704592/amp/
For any custom rom
- boot into recovery
- wipe dalvik cache,cache,system,data,vender
- flash latest firmware 9.0.11
- flash rom,gapps(if not included in rom)
- flash magisk (to keep root and recovery)
- restart into system
- enjoy
(If you bootloop into recovery then u hv to wipe internal storage)
(If you update and not flash magisk then only u will loose root.....so flash magisk and you are rooted?)
Follow procedure and let me know ?
---------- Post added at 10:49 AM ---------- Previous post was at 10:42 AM ----------
Your phone still flashing that blue led light? Or you hv solved that?
Back to stock 9.0.11 atm so if i unlock the bootloader again i will be back to 4.74 i take it
how do i flash latest firmware 9.0.11 in twrp?
I downloaded the latest OTA and it would not let me install it in twrp
OnePlus5TOxygen_43_OTA_054_all_2002242025_cb8fe710.zip
Also I was using the latest twrp: 20190908
https://sourceforge.net/projects/ma...Dumpling/firmware_H053_oneplus5T.zip/download
Latest firmware
Try flashing another custom rom
If nothing happened then pls follow this
https://forum.xda-developers.com/on...5t-unbricking-tool-confirmation-t3733012/amp/

Rooting chinese version with global rom.

Hey there are tons of guides and threads about rooting, installing roms etc. and I really don't want to brick my phone(was close once) so can someone please tell me how to root cn version of this phone with global rom installed? Or at least link me a guide which worked for someone in the same situation as me.
bump
KurogamiZz said:
Hey there are tons of guides and threads about rooting, installing roms etc. and I really don't want to brick my phone(was close once) so can someone please tell me how to root cn version of this phone with global rom installed? Or at least link me a guide which worked for someone in the same situation as me.
Click to expand...
Click to collapse
I am also searching for a solution. My phone was chinese variant and flashed global rom and tried to flash twrp and it didn’t get flashed rather it got a bootloop. I fixed that by unrooting from twrp but now i Don't have any recovery, my system recovery also don’t work now
Greetings
rubel623 said:
I am also searching for a solution. My phone was chinese variant and flashed global rom and tried to flash twrp and it didn’t get flashed rather it got a bootloop. I fixed that by unrooting from twrp but now i Don't have any recovery, my system recovery also don’t work now
Click to expand...
Click to collapse
Dude, flash miui fastboot ROM like this (search on YT):
HOW TO FLASH MIUI via FASTBOOT - REDMI NOTE 8 PRO
tha channel name is Konah the Begonia Guardian
*chose your version like pggcnxm
buddy how do you know that you have Chinese version with global rom.
i have this device but not sure if it is global or not
I'm using cn and moved to global.
Here is what I have done:
- Unlock
- Flash fastboot global rom (Only A9 available)
- Update to latest
- Flash orangefox
- Use TWRP's guide to flash vbmeta to disable and avoid tripping AVB (see TWRP thread)
- Boot to system once
- Reboot to recovery
- ...
- Profit
The trickiest part is when flashing recovery. If you don't enter the recovery after entering "fastboot reboot" command, your recovery would likely be replaced. Hold vol+ when entering command.
Be carefull when updating. If you have not flashed a MIUI full rom on orangefox, you cannot do incremental update, so go with full rom once. Also I have bootloop once, and fortunately escaped. Here is my solution (need someone to test, since this is my daily driver)
- Vanillafy everything (uninstall magisk, restore stock boot.img, restore stock recovery)
- Update
- Customize everything
OR
- After flashing update, dont reboot to system. It will likely to trip AVB. Flash vbmeta once and try to reboot.
If you have tried second update method and succeeded, please do tell.
Hope this help.
---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------
x2138 said:
buddy how do you know that you have Chinese version with global rom.
i have this device but not sure if it is global or not
Click to expand...
Click to collapse
From the packaging, if you have a red box, it's chinese. If white, it's global.
From rom version. If it says someting like "QGGMIXM", it's global. If it says "QCGMIXM" or something like that, it's chinese.
KonahZave said:
Dude, flash miui fastboot ROM like this (search on YT):
HOW TO FLASH MIUI via FASTBOOT - REDMI NOTE 8 PRO
tha channel name is Konah the Begonia Guardian
*chose your version like pggcnxm
Click to expand...
Click to collapse
Bro i flashed MIUI via Fastboot
thx for clarification it was in white box with global rom installed. but is it possible that a Chinese device may have shipped with global rom installed by manufacturers.
rubel623 said:
Bro i flashed MIUI via Fastboot
Click to expand...
Click to collapse
I said that for restaure your device, its the only way for recovery it from "like a brick" error.
KonahZave said:
Dude, flash miui fastboot ROM like this (search on YT):
HOW TO FLASH MIUI via FASTBOOT - REDMI NOTE 8 PRO
tha channel name is Konah the Begonia Guardian
*chose your version like pggcnxm
Click to expand...
Click to collapse
hey are you "KONAH THE BEGONIA GUARDIAN?"
usafxai said:
hey are you "KONAH THE BEGONIA GUARDIAN?"
Click to expand...
Click to collapse
yup dude XD
KonahZave said:
yup dude XD
Click to expand...
Click to collapse
NICE
---------- Post added at 01:12 PM ---------- Previous post was at 12:53 PM ----------
KonahZave said:
yup dude XD
Click to expand...
Click to collapse
can you guide on how to install MIUI 12 global on RN8Pro global currently on MIUI 12 China Beta ROM
I'm not enrolled as Beta tester (i know the warning issued by Xiaomi)
tried directly installing via TWRP over MIUI 12 China
but after finished install, the internal memory got all erased and replaced with weird names of folders and wouldn't boot to the system, kept rebooting to TWRP
reinstalled MIUI 12 China beta via TWRP
usafxai said:
NICE
---------- Post added at 01:12 PM ---------- Previous post was at 12:53 PM ----------
can you guide on how to install MIUI 12 global on RN8Pro global currently on MIUI 12 China Beta ROM
I'm not enrolled as Beta tester (i know the warning issued by Xiaomi)
tried directly installing via TWRP over MIUI 12 China
but after finished install, the internal memory got all erased and replaced with weird names of folders and wouldn't boot to the system, kept rebooting to TWRP
reinstalled MIUI 12 China beta via TWRP
Click to expand...
Click to collapse
pretty simple bro, just return to miui 11 first because I fear you can brick, after that, just flash any twrp for a10 or a9 (depending of your android version) then wipe dalvik, cache, data.
**miui is problematic flashing in different versions, in my video I recommended donwgrade first
KurogamiZz said:
Hey there are tons of guides and threads about rooting, installing roms etc. and I really don't want to brick my phone(was close once) so can someone please tell me how to root cn version of this phone with global rom installed? Or at least link me a guide which worked for someone in the same situation as me.
Click to expand...
Click to collapse
I have the same situation.
Mine was worst. I didn't know my phone was chinese with global rom, 'cause the chinese sold me 'global version', and sent it in white box, but it's the chinese version with global rom.
Well, I tried following a few tutorials, but all after fastboot twrp, close AVB, install ROOT and reboot, started bootlooping and I had to flash global rom again with mi flash. Can't get root access / magisk.
Did you solve that? Please, guide us.
kekesed97 said:
I'm using cn and moved to global.
Here is what I have done:
- Unlock
- Flash fastboot global rom (Only A9 available)
- Update to latest
- Flash orangefox
- Use TWRP's guide to flash vbmeta to disable and avoid tripping AVB (see TWRP thread)
- Boot to system once
- Reboot to recovery
- ...
- Profit
The trickiest part is when flashing recovery. If you don't enter the recovery after entering "fastboot reboot" command, your recovery would likely be replaced. Hold vol+ when entering command.
Be carefull when updating. If you have not flashed a MIUI full rom on orangefox, you cannot do incremental update, so go with full rom once. Also I have bootloop once, and fortunately escaped. Here is my solution (need someone to test, since this is my daily driver)
- Vanillafy everything (uninstall magisk, restore stock boot.img, restore stock recovery)
- Update
- Customize everything
OR
- After flashing update, dont reboot to system. It will likely to trip AVB. Flash vbmeta once and try to reboot.
If you have tried second update method and succeeded, please do tell.
Hope this help.
---------- Post added at 09:05 PM ---------- Previous post was at 09:03 PM ----------
From the packaging, if you have a red box, it's chinese. If white, it's global.
From rom version. If it says someting like "QGGMIXM", it's global. If it says "QCGMIXM" or something like that, it's chinese.
Click to expand...
Click to collapse
If I'm on Global ROM on CN(red box) version phone and decide not to install root or custom recovery and keep everything vanilla with unlocked bootloader, can I do incremental updates?
UsuallyIncorRekt said:
If I'm on Global ROM on CN(red box) version phone and decide not to install root or custom recovery and keep everything vanilla with unlocked bootloader, can I do incremental updates?
Click to expand...
Click to collapse
Yes, OTA works pretty well
UsuallyIncorRekt said:
If I'm on Global ROM on CN(red box) version phone and decide not to install root or custom recovery and keep everything vanilla with unlocked bootloader, can I do incremental updates?
Click to expand...
Click to collapse
You can, working flawlessly. But once go global, never lock your bootloader.
You can use below TWRP Thanks LR Team. (I tired Miui 12 with CH Device)
install TWRP in fastboot
Reboot TWRP after Advanced >File Manager > delete "system_root/system/recovery_fromboot.p"
Again Advanced > install root
Finish.
https://mega.nz/file/7E5QhS6Y#hzCpPWwxO4104R0oJRTv0L1_-lNb5D1pgYp9h4oJfVM
if bootloop restart TWRP>Advanced>Remove AVB 2.0
Advanced >File Manager > delete "system_root/system/recovery_fromboot.p"
Again "Advanced > install root"
can not pass saftynet ctsprofile

Categories

Resources