need some help how to flash custom rom - Xiaomi Mi 4

i got a mi4 lte with me and i tried flashing twrp 3.2.1.0 then flash extended partition and nitrogen os but it gave me error 7, after that i tried flashing miui9 eu but it ended up my partition are messed up.
and so i flash miui 6 fastboot rom and now my mi4 is all fine.
so can anyone guide me how to actually flash a custom rom on this phone i tried googling but im confused now because there's so many guide im not sure which one to follow
thanks in advance

xSmart007x said:
i got a mi4 lte with me and i tried flashing twrp 3.2.1.0 then flash extended partition and nitrogen os but it gave me error 7, after that i tried flashing miui9 eu but it ended up my partition are messed up.
and so i flash miui 6 fastboot rom and now my mi4 is all fine.
so can anyone guide me how to actually flash a custom rom on this phone i tried googling but im confused now because there's so many guide im not sure which one to follow
thanks in advance
Click to expand...
Click to collapse
Are you coming with stock ROM? If you are, just simply format data in twrp and then install you will be fine.

tonyyang- said:
Are you coming with stock ROM? If you are, just simply format data in twrp and then install you will be fine.
Click to expand...
Click to collapse
forgot to update but it's all fine now, simply formatting data didn't help me back then.
what i did:
- flash miui 9 global rom fastboot
- flash twrp via adb
- format system, cache etc without formatting internal storage
- flash custom rom

xSmart007x said:
forgot to update but it's all fine now, simply formatting data didn't help me back then.
what i did:
- flash miui 9 global rom fastboot
- flash twrp via adb
- format system, cache etc without formatting internal storage
- flash custom rom
Click to expand...
Click to collapse
hii
how to flash miui 9 global rom fastboot?
when coming from stock rom to custom rom did you unlock bootloader?

sudarshan3 said:
hii
how to flash miui 9 global rom fastboot?
when coming from stock rom to custom rom did you unlock bootloader?
Click to expand...
Click to collapse
the mi3/mi4 doesn't have locked bootloader.
fastboot rom flashed using miflash. be sure to back up your files

Related

Can miui official roms be flashed with twrp?

Can miui official roms be flashed with twrp? Or do they only flash on MI stock recovery?
If you have it as a zip for recovery than you can also flash it with twrp
rob rich said:
If you have it as a zip for recovery than you can also flash it with twrp
Click to expand...
Click to collapse
Are you sure? Because I saw that someone said they are supposed to be used with MI stock recovery on miui forum. But it was just one guy...and I never saw anywhere that those roms provided by miui website could be flashed with twrp, that's why I asked. Have you tried that?
Yes, sure. I switch between miui 6 stable rom, miui 7 global beta rom and euphoria or cm roms almost every day
rob rich said:
Yes, sure. I switch between miui 6 stable rom, miui 7 global beta rom and euphoria or cm roms almost every day
Click to expand...
Click to collapse
@rob rich : can you upload for me recovery image (mi recovery) from miui 7 v5.8.22 first version of global beta rom??. just recovery image. thanks before
because when i restore stock stable recovery image from miui 6, i got bootloop & not reboot to recovery.
EDIT >> i use mi toolkit too, but same bahavior. no reboot to recovery.
hello everyone,
how can I go back to MIUI ROM ? I want one message which I took backup using MIUI PC Suite. I was on CM12.1, copied 6.6.6.0 & 6.7.2.0 in my phone (for safety). I did clean for system, cache, dalvik-cache, data. Now when I'm trying to install 6.6.6 or 6.7.2 it's giving me error.
mount: failed to mount /dev/block/bootdevice/by-name/userdata at /data: Device or resource busy
mount: failed to mount /dev/block/bootdevice/by-name/system at /system: Device or resource busy
E: Error executing updater binary in zip '/sdcard/Mi 4i ROMs/ Mi4i_Global_V6.6.6.0.LXIMICF.zip'
how can I achieve this ? am I doing something wrong ???
Please help me.
First wipe cache,data,dalvik,system and then reboot to recovery again then flash the miui rom wait for 10 min.
Need help with custom rom installation
rob rich said:
Yes, sure. I switch between miui 6 stable rom, miui 7 global beta rom and euphoria or cm roms almost every day
Click to expand...
Click to collapse
Hi Bro, When i tried to install custom rom (InfinitiveOS-v1.2-ferrari-5.1.1--20150905-OFFICIAL) Im always getting error. Im using latest version of MIUI 7 beta. Steps i followed are: 1. download rom n gapps 2. Rooted and installed cutom recovery(TWRP) 3. wiped cache and reset everything. 4. i tried to install custom rom and im getting error saying something about MD5 and partition. Help me please
Yeah
migueldbr said:
Can miui official roms be flashed with twrp? Or do they only flash on MI stock recovery?
Click to expand...
Click to collapse
Yes , its possible
Use firmware-lp-6.6.10.0 patch
Hasain said:
Hi Bro, When i tried to install custom rom (InfinitiveOS-v1.2-ferrari-5.1.1--20150905-OFFICIAL) Im always getting error. Im using latest version of MIUI 7 beta. Steps i followed are: 1. download rom n gapps 2. Rooted and installed cutom recovery(TWRP) 3. wiped cache and reset everything. 4. i tried to install custom rom and im getting error saying something about MD5 and partition. me please
Click to expand...
Click to collapse
Whenever u switch from miui to any new custom rom , flash a patch 6.6.10.0 file .. u can avoid this error .. And then follow the usual process after flashing that patch file....
"https://basketbuild.com/uploads/devs/thewisenerd/ferrari/firmware-lp-6.6.10.0.zip"
I m running RR 5.8.5 and twrp recovery.
How can I go back to stock miui rom?
Tried flashing stock ROM from twrp recovery, but failed. Can someone guide me for the same?
Thanks.
yes. flash use lazyflasher on twrp

My Phone cannot be flashed into any ROM except the original MIUI

I want to flash an RR into my Mi 4C. So I unlocked my bootloader by registering in Mi.com.
Firstly I flashed in a TWRP Rec
Code:
fastboot flash recovery ..../twrp.img
fastboot boot twrp.img
And successfully boot into rec.
Then I tried to install the ROM. After flashing it stuck on the Mi Logo every time.
Tried sideload and "install" by the TWRP but didn't work.
You can simply check your bootloader status by
fastboot oem device-info
Click to expand...
Click to collapse
Also select correct TWRP version for Mi4c, based on android version
Suxter said:
You can simply check your bootloader status by
Also select correct TWRP version for Mi4c, based on android version
Click to expand...
Click to collapse
TWRP selection is related to Android version? Could you please explain a little? When I was flashing my Nexus 6P I've never considered about Android version
Darkouting said:
TWRP selection is related to Android version? Could you please explain a little? When I was flashing my Nexus 6P I've never considered about Android version
Click to expand...
Click to collapse
After you flashed Nougat based Xiaomi rom, you can't boot on the older version of TWRP.
There is a new TWRP for nougat rom.
If you already flashed Nougat based Xiaomi rom, use the new version. You can find it in here https://xiaomi.eu/community/threads/7-2-16-17.38651/
Suxter said:
After you flashed Nougat based Xiaomi rom, you can't boot on the older version of TWRP.
There is a new TWRP for nougat rom.
If you already flashed Nougat based Xiaomi rom, use the new version. You can find it in here
Click to expand...
Click to collapse
Nothing ever changed
I used this TWRP before.I flashed it in, boot the recovery, flashed in my ROM, checked clear Dalvik cache, pressed Reboot System.
The screen goes dark and never turned on. Press the power button only to realize it Reboot into bootloader.
Every time I reboot it reboot in Bootloader.
Plus I do a FULL wipe every time I flash in and did not work ?
UPDATE!! I flashed in a ROM in XIAOMI.EU and succeed.But why ???
Still failed in flashing in other ROMs
Darkouting said:
Nothing ever changed
I used this TWRP before.I flashed it in, boot the recovery, flashed in my ROM, checked clear Dalvik cache, pressed Reboot System.
The screen goes dark and never turned on. Press the power button only to realize it Reboot into bootloader.
Every time I reboot it reboot in Bootloader.
Plus I do a FULL wipe every time I flash in and did not work
Click to expand...
Click to collapse
sorry to here that then. which MIUI version you flashed? official & unofficial ?
Suxter said:
sorry to here that then. which MIUI version you flashed? official & unofficial ?
Click to expand...
Click to collapse
xiaomi.eu provides a modded MIUI. Maybe it's unofficial.
I got a weekly-update version and flashed it in and succeed.
It is MIUI 8
Darkouting said:
xiaomi.eu provides a modded MIUI. Maybe it's unofficial.
I got a weekly-update version and flashed it in and succeed.
It is MIUI 8
Click to expand...
Click to collapse
try this.
flash this http://bigota.d.miui.com/6.1.7/libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz with MiFlash
then connect to fastboot & fastboot oem unlock
now flash TWRP for 5.1 rom https://www.androidfilehost.com/?fid=24421527759888487
boot into TWRP & install any other rom.
for nougat based xiaomi.eu rom, read their introductions carefully https://xiaomi.eu/community/threads/7-2-16-17.38651/ Don't flash TWRP for nougat rom if you still in 5.1 ( TWRP for nougat https://www.androidfilehost.com/?fid=457095661767135741 )
Suxter said:
try this.
flash this http://bigota.d.miui.com/6.1.7/libra_images_6.1.7_20151221.0000.11_5.1_cn_b09dac70a0.tgz with MiFlash
then connect to fastboot & fastboot oem unlock
now flash TWRP for 5.1 rom https://www.androidfilehost.com/?fid=24421527759888487
boot into TWRP & install any other rom.
for nougat based xiaomi.eu rom, read their introductions carefully https://xiaomi.eu/community/threads/7-2-16-17.38651/ Don't flash TWRP for nougat rom if you still in 5.1 ( TWRP for nougat https://www.androidfilehost.com/?fid=457095661767135741 )
Click to expand...
Click to collapse
It worked! So that seems to be a bug that only exists in my 4c on MIUI based on Android 7.0 ?
THANKS A LLLLOT!
Darkouting said:
It worked! So that seems to be a bug that only exists in my 4c on MIUI based on Android 7.0
THANKS A LLLLOT!
Click to expand...
Click to collapse
Most probably you mess up with old TWRP & Nougat 7.0 rom
You are welcome :good:
Thanks dude! It helps me a lot! I thought we need to install Nougat recovery before flashing Nougat rom!

How to get back to A10 after custom rom

Hi all so I am planning to install a Havoc OS on my phone with TWRP and Magisk
So my question is in the event that the install doesnt work out for me or that I dont like the rom (no rearson why I shouldnt) how do I get back to the original A10 rom?
I have downloaded the OxygenOS 10.0.6 [EU] OnePlus 7 Pro 5G.zip file from here already. Would I be able to go ahead boot into TWRP and flash this ifneeded?
TIA Bart
bartjunited said:
Hi all so I am planning to install a Havoc OS on my phone with TWRP and Magisk
So my question is in the event that the install doesnt work out for me or that I dont like the rom (no rearson why I shouldnt) how do I get back to the original A10 rom?
I have downloaded the OxygenOS 10.0.6 [EU] OnePlus 7 Pro 5G.zip file from here already. Would I be able to go ahead boot into TWRP and flash this ifneeded?
TIA Bart
Click to expand...
Click to collapse
Hi Bart,
Make sure you keep TWRP recovery after flashing custom Rom.
Then if you want to go back, flash official Rom zip on both slots after formatting data otherwise it won't boot.
Thanks for that.
Only thing I'm not sure is what you mean by flashing to both slots?
If for example you get a boot loop can you still get into TWRP?
I assume this is a yes as this is before it boots into the phones OS?
bartjunited said:
Thanks for that.
Only thing I'm not sure is what you mean by flashing to both slots?
If for example you get a boot loop can you still get into TWRP?
I assume this is a yes as this is before it boots into the phones OS?
Click to expand...
Click to collapse
When returning to stock,
format data
Flash stock zip
Flash TWRP
Reboot into recovery which is TWRP
Follow the same steps again and reboot...
If you end up in boot loop, don't stress. You can always flash TWRP recovery again via fastboot.

Guys how can i go back to the official MIUI that was in my phone before i installed a custom ROM?

I installed Arrow OS after unlocking bootloader and flashing a recovery so i want to sell the phone and is there anyway i can lock the bootloader and instal the official MIUI?
I already have the official ROM and fastboot can be used on it but i want help to minimize the chances of bricking my phone
pistone45 said:
I installed Arrow OS after unlocking bootloader and flashing a recovery so i want to sell the phone and is there anyway i can lock the bootloader and instal the official MIUI?
I already have the official ROM and fastboot can be used on it but i want help to minimize the chances of bricking my phone
Click to expand...
Click to collapse
Yes, flash MIUI fastboot ROM with MI flash tool.
Noter2017 said:
Yes, flash MIUI fastboot ROM with MI flash tool.
Click to expand...
Click to collapse
Will it work if I flash it directly on TWRP?
-Save MIUI 12 to internal storage
-Boot to recovery
-Flash MIUI
-Format Data
-Reboot
Sketzu said:
Will it work if I flash it directly on TWRP?
-Save MIUI 12 to internal storage
-Boot to recovery
-Flash MIUI
-Format Data
-Reboot
Click to expand...
Click to collapse
If you do not want any problems , you will use fastboot version of MIUI and flash it in mi flash tool.

Can't install Pixel Experience Custom Android 12

I have been struggling to install Pixel Experience Android 12 on my Poxo X3 NFC.
I had PE Android 11 before. When I tried to flash Android 12 I get following error
assert failed: update_dynamic_partition(package_extract_file("dynamic_partition_op_list"))
Updater process ended with ERROR: 1
Error installing zip file ...
What I tried
1, Install latest firmware
2. Format Data
3. Wipe data, dalvik, cache
3. Sideloading Custom Rom
Can someone help me to revive my device please?
Thanks a lot
Hello, on my wife's X3NFC I had to flash the latest Full ROM (12.5.7) via Fastboot.
Then I was able to install the lA12 PE. I don't know why I had to do this, but it worked.
She didn't like A12 PE and now A11 PE is running again on her Phone
Maybe (I heard about that) it works too, if you only flash the super.img from latest Fastboot-Image via Recovery.
SmartJuwel said:
Hello, on my wife's X3NFC I had to flash the latest Full ROM (12.5.7) via Fastboot.
Then I was able to install the lA12 PE. I don't know why I had to do this, but it worked.
She didn't like A12 PE and now A11 PE is running again on her Phone
Maybe (I heard about that) it works too, if you only flash the super.img from latest Fastboot-Image via Recovery.
Click to expand...
Click to collapse
I installed MIUI fastboot rom. Then I tried to flash PE A12 rom without any issues. But after successful completion, phone reboots to bootloader (Fastboot). Can you tell me what I am doing wrong?
Can you please give me steps to install PE after you've installed MIUI fastboot rom?
1st installed latest MIUI via MiFlash
Booting successful into MIUI
Flashing TWRP in Fastboot-Mode
Booting into TWRP, install ROM, wipe Caches and format data.
Reboot Phone
i'm in this very predicament. Still on PE11 Plus Edition and can't flash PE12 giving me the very same ERROR. Can someone pls post the sure way to get this done properly? Links to roms that must be flashed first would be very appreciated...
Snakeatermgs said:
i'm in this very predicament. Still on PE11 Plus Edition and can't flash PE12 giving me the very same ERROR. Can someone pls post the sure way to get this done properly? Links to roms that must be flashed first would be very appreciated...
Click to expand...
Click to collapse
SmartJewel (Post above you) told you how to do it

Categories

Resources