Redmi Note 4X bootloop - Xiaomi Redmi Note 4 Questions & Answers

Welcome, I have Xiaomi Redmi Note 4X Global. I've had my new phone for a week. Right after the first boot I updated it to MIUI 9, unlocked bootloader, installed root, exposed etc.
Everything was working fine without any problems. Today I wanted to try something new and I installed Resurrection Remix OS. Before it I took a backup with TWRP (through PC, I got backup.ab)
I was using the new rom for a few hours but then I realised that I preferred MIUI and I restored previously made backup (backup.ab). And here came the problems.
The device after restore came into a bootloop. Xiaomi logo appeared for a few seconds, then a single vibration, restart and the same again. After this I flashed (with MiFlash) a stock
firmware for my device from [url]http://en.miui.com/a-234.html[/URL] (the right one for sure) "Redmi Note 4X Latest Global Stable Version Fastboot"
Flashing through PC has always helped to unbrick devices but I don't know why in this case it didn't.
I can still enter fastboot mode and recovery so I flashed TWRP, made a full wipe with it, and installed:
-Resurrection Remix OS
-LineageOS
-recovery zip versions of MIUI (many versions)
After installing each of those I get the same result, a bootloop. I spent rhe last hours of trying everything in different combinations and looking for any information.
Can anyone help me with this problem, has anyone even faced something like that?

Pr3z3s said:
Welcome, first of all I have Xiaomi Redmi Note 4X Global. I've had my new phone for a week. Right after the first boot I updated it to MIUI 9, unlocked bootloader, installed root, exposed etc.
Everything was working fine without any problems. Today I wanted to try something new and I installed Resurrection Remix OS. Before it I took a backup with TWRP (through PC, I got backup.ab)
I was using the new rom for a few hours but then I realised that I preferred MIUI and I restored previously made backup (backup.ab). And here came the problems.
The device after restore came into a bootloop. Xiaomi logo appeared for a few seconds, then a single vibration, restart and the same again. After this I flashed (with MiFlash) a stock
firmware for my device from http://en.miui.com/a-234.html (the right one for sure) "Redmi Note 4X Latest Global Stable Version Fastboot"
Flashing through PC has always helped to unbrick devices but I don't know why in this case it didn't.
I can still enter fastboot mode and recovery so I flashed TWRP, made a full wipe with it, and installed:
-Resurrection Remix OS
-LineageOS
-recovery zip versions of MIUI (many versions)
After installing each of those I get the same result, a bootloop. I spent rhe last hours of trying everything in different combinations and looking for any information.
Can anyone help me with this problem, has anyone even faced something like that?
Click to expand...
Click to collapse
Well, try this method :
Download firmware.zip, Amy custom Rom, and Gapps.
Next, boot to TWRP and wipe (advanced wipe ~) wipe everything except internal storage or SD card.
Flash firmware.zip, followed by Rom and Gapps, Reboot.
Link to firmware : https://androidfilehost.com/?fid=673791459329068624 (credits to zile995)
Sent from my Redmi Note 4 using Tapatalk

sachin n said:
Well, try this method :
Download firmware.zip, Amy custom Rom, and Gapps.
Next, boot to TWRP and wipe (advanced wipe ~) wipe everything except internal storage or SD card.
Flash firmware.zip, followed by Rom and Gapps, Reboot.
Link to firmware : https://androidfilehost.com/?fid=673791459329068624 (credits to zile995)
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Thank you for your advice but after following your instructions and the result stays the same.

Pr3z3s said:
Thank you for your advice but after following your instructions and the result stays the same.
Click to expand...
Click to collapse
Did you flash any mods after installing Rom?
Sent from my Redmi Note 4 using Tapatalk

sachin n said:
Did you flash any mods after installing Rom?
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
I didn't.

Pr3z3s said:
I didn't.
Click to expand...
Click to collapse
If I recall right, I've had this same issue. So, do one thing download Recovery flashable Xiaomi stock miui Rom or download Xiaomi EU Rom, then as I said earlier boot to TWRP once again, wipe, advanced wipe > wipe everything > install stock miui > lazyflasher.zip >reboot. Lemme know how it goes.
LazyFlasher : https://www.androidfilehost.com/?fid=529152257862700328
Flash lazyflasher.zip if you flash any miui Roms other than Xiaomi eu Rom before reboot.

sachin n said:
If I recall right, I've had this same issue. So, do one thing download Recovery flashable Xiaomi stock miui Rom or download Xiaomi EU Rom, then as I said earlier boot to TWRP once again, wipe, advanced wipe > wipe everything > install stock miui > lazyflasher.zip >reboot. Lemme know how it goes.
LazyFlasher : https://www.androidfilehost.com/?fid=529152257862700328
Flash lazyflasher.zip if you flash any miui Roms other than Xiaomi eu Rom before reboot.
Click to expand...
Click to collapse
I did exactly as you said, wiped everything, installed stock MIUI recovery version and lazyflasher.
No errors appeared but when I wanted to reboot my phone after installation I got an information that
no OS was installed.
I swiped right anyway to reboot and here comes the bootloop again. :/
EDIT: Tried with both stable and developer versions
-miui_HMNote4XGlobal_V9.0.5.0.NCFMIEI_d6176de291_7.0.zip
-miui_HMNote4XGlobal_7.12.21_9a89725dfc_7.0.zip
EDIT:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I also get those errors (?) while mounting during installation.
It's red themed because I was currently using Red Wolf Recovery but I get the same results when I use cofface TWRP or original TWRP

Pr3z3s said:
I did exactly as you said, wiped everything, installed stock MIUI recovery version and lazyflasher.
No errors appeared but when I wanted to reboot my phone after installation I got an information that
no OS was installed. I swiped right anyway to reboot and here comes the bootloop again. :/
Click to expand...
Click to collapse
Holy crAp. Alright, I'm no expert with fastboot Rom or so, did you try flashing fastboot Rom? Give it a go... :c
BTW, there's a device team guide on mi forum about flashing Redmi Note 4/4x : http://en.miui.com/thread-482304-1-1.html
Sent from my Redmi Note 4 using Tapatalk

sachin n said:
Holy crAp. Alright, I'm no expert with fastboot Rom or so, did you try flashing fastboot Rom? Give it a go... :c
BTW, there's a device team guide on mi forum about flashing Redmi Note 4/4x : http://en.miui.com/thread-482304-1-1.html
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
I already tried installing fastboot ROMs with Miflash and it always says "succes" in the end but the phone is in bootloop anyway after I turn it on :/

Pr3z3s said:
I already tried installing fastboot ROMs with Miflash and it always says "succes" in the end but the phone is in bootloop anyway after I turn it on :/
Click to expand...
Click to collapse
Ohk. I'm outta answers now.
Hang on, did you try installing with TWRP? I see redwolf. What about Twrp? Try it once

sachin n said:
Ohk. I'm outta answers now. I hope someone like @Zile995 can help you regarding this.
Click to expand...
Click to collapse
Thanks for trying anyway.

Pr3z3s said:
Thanks for trying anyway.
Click to expand...
Click to collapse
See my edit.
*Did you try flashing Rom with TWRP? I See redwolf. Give it a go with TWRP once.

Pr3z3s said:
I did exactly as you said, wiped everything, installed stock MIUI recovery version and lazyflasher.
No errors appeared but when I wanted to reboot my phone after installation I got an information that
no OS was installed.
I swiped right anyway to reboot and here comes the bootloop again. :/
Click to expand...
Click to collapse
Did you just "wipe" everything, or did you "format data" also? I suggest that you format the data partition (there is a button for this under the "Wipe" menu in TWRP), and then install your ROM again.
You need to install lazyflasher only once - after installing a custom Recovery. - but -you must do this each time you change your custom Recovery (but only do it once) - otherwise, MIUI will not boot correctly. Note that you do not need lazyflasher if you are using a custom ROM (eg, AOSP, etc).

I had a similar issue after installing Resurrection Remix then trying to go back to MIUI.
I used MiFlash to install a stable rom but got a boot loop after reboot.
In the end I flashed a stable rom using Miflash using the 'clean all' option. Then without rebooting I installed TWRP via adb. Booted straight into TWRP and installed the no_verify .zip. Then used TWRP to restore a nandroid backup I had on an OTG USB drive. It then booted without bootlooping. So I used Miflash to reinstall the stable rom with 'clean all' option again. Rebooted ok like a brand new phone.
Sent from my Redmi Note 4 using Tapatalk

I join the cause
Hi, I join the cause @ Pr3z3s. I have tried everything. And I still have the same problem. the only thing that occurs to me is that someone gives us a backup, please do upload it, and we try to restore it in our mobile.

can you tell me what kind of unable to mount or unmount errors you encounter when flashing? my guess is that some of your partition is corrupted

sachin n said:
See my edit.
*Did you try flashing Rom with TWRP? I See redwolf. Give it a go with TWRP once.
Click to expand...
Click to collapse
Yes, I tried maybe 4 different recoveries for my device.
DarthJabba9 said:
Did you just "wipe" everything, or did you "format data" also? I suggest that you format the data partition (there is a button for this under the "Wipe" menu in TWRP), and then install your ROM again.
You need to install lazyflasher only once - after installing a custom Recovery. - but -you must do this each time you change your custom Recovery (but only do it once) - otherwise, MIUI will not boot correctly. Note that you do not need lazyflasher if you are using a custom ROM (eg, AOSP, etc).
Click to expand...
Click to collapse
I did both many times. When it comes to lazyflasher I did flash it but didn't help.
Spukey said:
I had a similar issue after installing Resurrection Remix then trying to go back to MIUI.
I used MiFlash to install a stable rom but got a boot loop after reboot.
In the end I flashed a stable rom using Miflash using the 'clean all' option. Then without rebooting I installed TWRP via adb. Booted straight into TWRP and installed the no_verify .zip. Then used TWRP to restore a nandroid backup I had on an OTG USB drive. It then booted without bootlooping. So I used Miflash to reinstall the stable rom with 'clean all' option again. Rebooted ok like a brand new phone.
Sent from my Redmi Note 4 using Tapatalk
Click to expand...
Click to collapse
Tried that, same result :/
chun_9876 said:
can you tell me what kind of unable to mount or unmount errors you encounter when flashing? my guess is that some of your partition is corrupted
Click to expand...
Click to collapse
Those on the second screen I put in the previous page of this thread, like unmount of /firmware failed; no such volume
EDIT: I just tried restoring .ab backup through adb and an error while restoring EFS partition occurred so I flashed a stable ROM with MiFlash and took a backup of EFS partition.
Then I restored my backup again and after an error with EFS I restored it from a backup I had just taken - no errors appeared. Then I flashed lazyflasher and rebooted and still I'm in a bootloop.

Pr3z3s said:
Yes, I tried maybe 4 different recoveries for my device.
I did both many times. When it comes to lazyflasher I did flash it but didn't help.
Tried that, same result :/
Those on the second screen I put in the previous page of this thread, like unmount of /firmware failed; no such volume
EDIT: I just tried restoring .ab backup through adb and an error while restoring EFS partition occurred so I flashed a stable ROM with MiFlash and took a backup of EFS partition.
Then I restored my backup again and after an error with EFS I restored it from a backup I had just taken - no errors appeared. Then I flashed lazyflasher and rebooted and still I'm in a bootloop.
Click to expand...
Click to collapse
here you go, my /firmware and /efs nandroid backup, seems like you have some trouble with efs as well so i included it , and to clarify things, my device is redmi note 4x MIDO 3gb/32gb edition running on cardinal aosp 5.1.1 12/10 with global miui v9.0.3.0 firmware, dont restore backup if you have a different edition because i don't know what will happen to your device . https://drive.google.com/open?id=1a8-tjbrkV8vNKaWcBsClbVlvBADinXSB
EDIT : I'm not confident that this will fix your device because it seems that either your /firmware is corrupted, or somehow disappeared .. do tell your results though , dont blame me if it becomes a hard brick ><

chun_9876 said:
here you go, my /firmware and /efs nandroid backup, seems like you have some trouble with efs as well so i included it , and to clarify things, my device is redmi note 4x MIDO 3gb/32gb edition running on cardinal aosp 5.1.1 12/10 with global miui v9.0.3.0 firmware, dont restore backup if you have a different edition because i don't know what will happen to your device . https://drive.google.com/open?id=1a8-tjbrkV8vNKaWcBsClbVlvBADinXSB
EDIT : I'm not confident that this will fix your device because it seems that either your /firmware is corrupted, or somehow disappeared .. do tell your results though , dont blame me if it becomes a hard brick ><
Click to expand...
Click to collapse
Thank you for sharing your backup but I get errors while restoring it.
EDIT: All partitions seem to be present when I go to "Backup" section. What is more, I got the same error with EFS when I was trying to restore my orignal backup.

Pr3z3s said:
Thank you for sharing your backup but I get errors while restoring it.
Click to expand...
Click to collapse
i removed my link because it seems that efs might contain device sensitive info like my IMEI and mac addresses, so dont restore my efs backup,it seemed to ended up spitting an error though. anyways, it seems that you are on TWRP , i backup-ed using redwolf, so that might result in the error, and yeah, dont restore my efs partition next try

Related

TWRP without format userdata

Hi, is there any solution to install TWRP recovery without having to format user data, and of course without having errors like "unable to mount data".....
Thanks, I have Note 3 SD running the last MIUI for developers (Marshmallow).
use the below recovery
http://en.miui.com/thread-358726-1-1.html
MsuatafaKhatab said:
use the below recovery
http://en.miui.com/thread-358726-1-1.html
Click to expand...
Click to collapse
Thanks, it works very well but I noticed an issue: when installing a ROM with this recovery, the ROM doesn't boot, displaying only the boot logo bit never starts
I think you should return to miui 7 then you can flash any rom .
I did same this
I hate to flash any from Miui MM.
Sent from my Redmi Note 3 using Tapatalk

Honor 5x restarting repeatedly after installing Cyanogenmod 13(Snapshot)

Hey there,
I'm having repeated restarts after installing Cyanogenmod 13 (Snapshot) on my honor 5x, let me put you through the steps I followed.
First I unlocked my bootloader using adb/fastboot.
then flashed custome recovery(TWRP)
rooted my phone using SuperSU from TWRP
placed CM 13 and open gApps zip files on SD card
rebooted in recovery mode(TWRP)
selected wipe and swipe
then click on install
selected CM 13 zip file from SD card
swipe to flash
after process completed
wipe Dalvik/cache
then click on install
selected gApps zip file
swipe to flash
and then reboot
then when the phone reboots my phone shows the default honor boot screen and then Cyanogenmod boot screen
and then the phone restarts with a vibration
and keeps on repeating the process untill I restore my TWRP backup
Also I tried only installing CM 13(No gApps-thought it might be interrupting the system) and reboot
and installing gApps and clearing cache/dalvik and then reboot
I tried it many times but still the same issue
Please help me
swapnilVtiwari said:
Hey there,
I'm having repeated restarts after installing Cyanogenmod 13 (Snapshot) on my honor 5x, let me put you through the steps I followed.
First I unlocked my bootloader using adb/fastboot.
then flashed custome recovery(TWRP)
rooted my phone using SuperSU from TWRP
placed CM 13 and open gApps zip files on SD card
rebooted in recovery mode(TWRP)
selected wipe and swipe
then click on install
selected CM 13 zip file from SD card
swipe to flash
after process completed
wipe Dalvik/cache
then click on install
selected gApps zip file
swipe to flash
and then reboot
then when the phone reboots my phone shows the default honor boot screen and then Cyanogenmod boot screen
and then the phone restarts with a vibration
and keeps on repeating the process untill I restore my TWRP backup
Also I tried only installing CM 13(No gApps-thought it might be interrupting the system) and reboot
and installing gApps and clearing cache/dalvik and then reboot
I tried it many times but still the same issue
Please help me
Click to expand...
Click to collapse
I Think you should only Wipe Dalvik/Cache after you install both The Rom and the Gapps... Just install at the same time (The Rom and Gapps)
And Factory reset your System before you install the cynogen and gapps
Milupi said:
I Think you should only Wipe Dalvik/Cache after you install both The Rom and the Gapps... Just install at the same time (The Rom and Gapps)
And Factory reset your System before you install the cynogen and gapps
Click to expand...
Click to collapse
Milupi said:
I Think you should only Wipe Dalvik/Cache after you install both The Rom and the Gapps... Just install at the same time (The Rom and Gapps)
And Factory reset your System before you install the cynogen and gapps
Click to expand...
Click to collapse
What do you mean by installing both at the same time, do you mean selecting both zip files at once?
Also I factory reset my phone before I install cyanogen mod from within twrp and had my phone factory reset before rooting.
Also I've tried to install cm and gapps one by one and wiping dalvik/cache after both of them.
Please help
swapnilVtiwari said:
What do you mean by installing both at the same time, do you mean selecting both zip files at once?
Also I factory reset my phone before I install cyanogen mod from within twrp and had my phone factory reset before rooting.
Also I've tried to install cm and gapps one by one and wiping dalvik/cache after both of them.
Please help
Click to expand...
Click to collapse
Yes selecting both zips at the same time
Milupi said:
Yes selecting both zips at the same time
Click to expand...
Click to collapse
Do I need to factory reset again and Will this revoke my root access.
I'm asking this because of a reason...let me tell you what I've done.
I factory reset my phone, and then made a nandroid backup using twrp, then I flashed superSU using twrp, installed root checker biscuit said root access is installed properly. Then installed cm 13 and gapps, when that didn't worked, I restored my nandroid backup that I made before rooting, and when I checked from root checker, it was saying the phone is not rooted.
swapnilVtiwari said:
I factory reset my phone, and then made a nandroid backup using twrp, then I flashed superSU
Click to expand...
Click to collapse
You made a nandroid backup before root so when you restore it is not rooted ( normal ).
What version of stock do you have before flashing cm13 ? If b360, you have bootloop, under b360 shall be no issue.
What i do to flash:
1/ wipe factory reset
2/ advance wipe cache,dalvik,system,data
3/ install ROM
4/ install gapps (arm64)
5/ wipe dalvik/cache
6/ reboot system
To have root, you need to flash supersu ( after gapps ) or alone after first setup of ROM and gapps.
But most of ROM have root built inside, just need to go to options for dev under settings and select app for root
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Sent from my KIW-L21 using XDA-Developers mobile app
rodolphe06 said:
1/ wipe factory reset
2/ advance wipe cache,dalvik,system,data
3/ install ROM
4/ install gapps (arm64)
5/ wipe dalvik/cache
6/ reboot system
Click to expand...
Click to collapse
I did as you say, but still the same...it's restarting repeatedly.
swapnilVtiwari said:
I did as you say, but still the same...it's restarting repeatedly.
Click to expand...
Click to collapse
Have you thought of trying another rom ?
Zakaria.R said:
Have you thought of trying another rom ?
Click to expand...
Click to collapse
No, because I think there are no other final builds, and I just wanted to try cyanogen mod and waited for the snapshot build because I don't want to have trouble with my phone as this is my main phone.
swapnilVtiwari said:
No, because there are no other final builds, and I just wanted to try cyanogen mod and waited for the snapshot build because I don't want to have trouble with my phone as this is my main phone.
Click to expand...
Click to collapse
You do know that the other roms share the same sources as cm13 right ? And that a snapshot isn't that more stable than the other roms, it's pretty much a placebo effect,anyway your phone, your call.
R
Zakaria.R said:
You do know that the other roms share the same sources as cm13 right ? And that a snapshot isn't that more stable than the other roms, it's pretty much a placebo effect,anyway your phone, your call.
Click to expand...
Click to collapse
Can you name any other custom Rom that is as good as cyanogen mod and has final stable builds.
And why do you say placebo effect, aren't snapshots the stable builds?
swapnilVtiwari said:
Can you name any other custom Rom that is as good as cyanogen mod and has final stable builds.
And why do you say placebo effect, aren't snapshots the stable builds?
Click to expand...
Click to collapse
There's the final build of RR or crdroid or any other you really should try yourself and see because like I said they all share the same sources
as for what I said about the snapshot, yeah it is stable and is supposed to be bug-free but what I mean is at this point every other rom is as much stable as that snapshot, try by yourself and see.
​
Zakaria.R said:
There's the final build of RR or crdroid or any other you really should try yourself and see because like I said they all share the same sources
as for what I said about the snapshot, yeah it is stable and is supposed to be bug-free but what I mean is at this point every other rom is as much stable as that snapshot, try by yourself and see.
Click to expand...
Click to collapse
I checked both RR and cRdroid download page, they don't seem to have builds for honor 5x.
swapnilVtiwari said:
I checked both RR and cRdroid download page, they don't seem to have builds for honor 5x.
Click to expand...
Click to collapse
They are in the development section of honor 5x, what are you using to check xda ?
Zakaria.R said:
They are in the development section of honor 5x, what are you using to check xda ?
Click to expand...
Click to collapse
My phone, I restored the nandroid backup I made using twrp.
Could you please share links for cRdroid and resurrection remix download page.
swapnilVtiwari said:
My phone, I restored the nandroid backup I made using twrp.
Could you please share links for cRdroid and resurrection remix download page.
Click to expand...
Click to collapse
I meant which app, but here you go http://forum.xda-developers.com/honor-5x/development you can find any rom you like, it's the "roms and Kernels" section for honor 5x
Zakaria.R said:
I meant which app, but here you go http://forum.xda-developers.com/honor-5x/development you can find any rom you like, it's the "roms and Kernels" section for honor 5x
Click to expand...
Click to collapse
Not using any app, just my phone's browser.
And thank you so much for the links, but most of them links say they're unofficial, and as I said earlier I just can't afford to have trouble as this is the only phone I have.
I really appreciate your help, but I can't take risk as I'm not very much into android development.
Sorry if I bothered you.
I really appreciate your help...but I hope you could help me with my cm13 issue.
swapnilVtiwari said:
Not using any app, just my phone's browser.
And thank you so much for the links, but most of them links say they're unofficial, and as I said earlier I just can't afford to have trouble as this is the only phone I have.
I really appreciate your help, but I can't take risk as I'm not very much into android development.
Sorry if I bothered you.
I really appreciate your help...but I hope you could help me with my cm13 issue.
Click to expand...
Click to collapse
Brother don't be afraid, what matters is the absence of bugs not the tags "official" or "unofficial" your are not gonna break your device (unless you are doing something stupid) and if you want an example to be assured just look at all the users in XDA, they are all rocking nightly builds on their phone, some of them use "betas" and some others use even "alphas" so don't let that Stop you, and if you have a nandroid backup what would you lose ? If you don't like it you get back to your stock rom, don't let your fear prevent you from the sweetness of custom roms.
Hey buddies,
I m currently using kiw-l22,
I installed twrp, but when I flash any custom rom,
I have the same problem as discussed above,
it would be great if I get some help
Appy punia said:
Hey buddies,
I m currently using kiw-l22,
I installed twrp, but when I flash any custom rom,
I have the same problem as discussed above,
it would be great if I get some help
Click to expand...
Click to collapse
Were you on volte firmware before coming to custom rom??

A lot of help needed!!!!!!!!

So my problem began when i flashed eu rom latest version my setup was:
TWRP offcial 3.1.0-0
/data and /cache F2FS
previously running android 7.1.2 (Nitrogen OS)
And Franco Kernel and even before that i used MIUI 8.2.20 with ZCX and ext4 patrtions
Flashing EU rom i got a weird intro screen username and password asking to validate the phone (NOT MI ACCOUNT IT WAS AT THE VERY BEGINNING OF THE BOOT)
so i gave my mi account credentials and then nothing so after i that i put my phone away for 15 days.
So yesterday after 15 days my exams ended i edl flashed my phone and then i install miui 8.1.6.0 and then updated to 8.2.3.0 and then i was good and running the s8 theme but within that span i started missing NOS so flashed ZCX Backed UP MIUI 8.2.3.0 and then i flashed Offcial TWRP no probs flashed absolutely fine and then i restored my backup of my rom before i went EU $#!T and i restored upon booting it asked for password i then remebered that miui encrypts the /data patition so i formatted /data and then i thought of restoring the /data partition and then it would stop at copying a certain partition and i would wait for a long time and then i ejected the phone from the computer but still i was not able to delete or do anything in the /data partition as if it is read only partition UPON DELETING ANYTHING I GET "RM -RF ERROR" I AM FLASHING ROMS SINCE 2010 WITH GALAXY S AND I NEVER FACED A ISSUE LIKE THIS !!! i completely freaked out i thought of doing something so i formatted /data and it would get stuck there forever!! because of this i had to flash miui through edl 4 times until i gave up and installed miui and then just installed NOS and Gapps then nos unroot,magisk and at last franco r5 as i didn't had the r6 version then after booting up i restored all my apps from titanium backup and i good to go..........
UNTIL THEN FK Manager Auto flashed r6 version of franco and then AS I REBOOTED I FOUND WIFI NOT WORKING SO I CHECKED MAC ADDRESS IT WAS 00:00:02...... I WAS COMPLETELY SHOCKED I THEN CHECKED BASEBAND IT WAS 'UNKNOWN' I WAS LIKE i was trying to restore modem i got "extractTarFork() process ended with ERROR: 255 " then now i am flashing miui thorugh EDL i will update u all soon...
BUT WHY IS THIS HAPPENING WHY I AM NOT ABLE TO TO NOS WITHOUT DOING ANY $#!T I LOVE NOS AND I WANT TO INSTALL IT AND ALSO CONVERT TO F2FS AND OFFICIAL TWRP PLEASE HELP IN DOING SO!!!!
Wipe everything first of all.
Flash nos
Flash gapps
Install apps from play store.
Forget about the backup. It may not be compatible with latest builds. Too many code mashups. Starting fresh is always considered best option
Flash latest firmware.
Done. Enjoy.
Archit9169 said:
Wipe everything first of all.
Flash nos
Flash gapps
Install apps from play store.
Forget about the backup. It may not be compatible with latest builds. Too many code mashups. Starting fresh is always considered best option
Flash latest firmware.
Done. Enjoy.
Click to expand...
Click to collapse
Update:I flashed using edl in phone booted fine and i was able to use phone network and wifi AND LUCKILY I WAS ABLE TO RESTORE THE BACKUP FROM PREVIOUS ROM AND RESTORED FINE and even copying the backup through offcial twrp worked fine
but still why the errors previously????? extractTarFork() process ended with ERROR: 255
Androbots said:
...process ended with ERROR: 255
Click to expand...
Click to collapse
I started having issues flashing ROMs and restoring backups after updating to the official TWRP 3.1.0.0 and 3.1.1.0
It sounds stupid and paradoxical but the previous 3.0.2.0 (or something) I used (not even sure if it was the official one) was faster and trouble-free in my experience. Don't know why nobody mentions this in the TWRP thread.
Androbots said:
Update:I flashed using edl in phone booted fine and i was able to use phone network and wifi AND LUCKILY I WAS ABLE TO RESTORE THE BACKUP FROM PREVIOUS ROM AND RESTORED FINE and even copying the backup through offcial twrp worked fine
but still why the errors previously????? extractTarFork() process ended with ERROR: 255
Click to expand...
Click to collapse
I had the same problem.
Flashed rom trough edl, with zcxrecovery img.
Flashed latest modem.
Restored my TWRP backup and the error was gone. ^^
Kaldrox said:
I started having issues flashing ROMs and restoring backups after updating to the official TWRP 3.1.0.0 and 3.1.1.0
It sounds stupid and paradoxical but the previous 3.0.2.0 (or something) I used (not even sure if it was the official one) was faster and trouble-free in my experience. Don't know why nobody mentions this in the TWRP thread.
Click to expand...
Click to collapse
Kollachi said:
I had the same problem.
Flashed rom trough edl, with zcxrecovery img.
Flashed latest modem.
Restored my TWRP backup and the error was gone. ^^
Click to expand...
Click to collapse
Yeah u all are correct something wrong with latest versions of twrp. Anyways i am up and running my rn3 again thanks for all ur help..!! Good night

Stuck with recovery and no ROM (OS) - MiPad 1

Hi,
I was installing the lIneage OS 14.1 Mocha and I came across a strange problem. The TWRP and TWRP img installed well, but when I wiped Cache and system and tried to install the Lineage os 14.1 rom, it failed and I was left with a MiPad without an OS. I guess it failed because I did not partition the system before I installed the Rom.
The tablet is turned off and I am not sure hot to get to the recovery of what to do to install a ROM. Could someone please help me with what to do next
Hold Vol up + power button till you see the Mi screen to get to recovery. Go to http://en.miui.com/download-229.html and download Xiaomi's official stock ROM.
cooldude5500 said:
Hold Vol up + power button till you see the Mi screen to get to recovery. Go to http://en.miui.com/download-229.html and download Xiaomi's official stock ROM.
Click to expand...
Click to collapse
I followed this thread http://en.miui.com/thread-118294-1-1.html to merge system partitions but now i am stuck in mi logo. twrp says no OS and i can not wipe system partition or restore from backup as it says 'E:device block not found, unable to mount /system' . Can i flash xiaomi's stock rom to solve this problem?
oreki9 said:
I followed this thread http://en.miui.com/thread-118294-1-1.html to merge system partitions but now i am stuck in mi logo. twrp says no OS and i can not wipe system partition or restore from backup as it says 'E:device block not found, unable to mount /system' . Can i flash xiaomi's stock rom to solve this problem?
Click to expand...
Click to collapse
I tried to flash stock rom but it failed.
oreki9 said:
I tried to flash stock rom but it failed.
Click to expand...
Click to collapse
Sorry, I've no clue what the issue is. I noticed that the ROM seems to be on the external SD, maybe try putting it on the internal might fix it? Or maybe or can try to flash mocha_repartition_stock, wipe, and then flash the stock ROM?
cooldude5500 said:
Sorry, I've no clue what the issue is. I noticed that the ROM seems to be on the external SD, maybe try putting it on the internal might fix it? Or maybe or can try to flash mocha_repartition_stock, wipe, and then flash the stock ROM?
Click to expand...
Click to collapse
the problem is i am unable to flash any file as it gives 'unable to mount /system' error. The system partition shows 0 size. Should i first repair it?
oreki9 said:
the problem is i am unable to flash any file as it gives 'unable to mount /system' error. The system partition shows 0 size. Should i first repair it?
Click to expand...
Click to collapse
Maybe you can try flashing/re-flashing the partition scripts? Or try flashing http://en.miui.com/thread-328108-1-1.html instead, it's a slightly more up to date version of the ROM.
Why do you "restore" when trying to flash?
Palm Trees said:
Why do you "restore" when trying to flash?
Click to expand...
Click to collapse
i was using my nandroid backup to restore my system but it also failed.
oreki9 said:
i was using my nandroid backup to restore my system but it also failed.
Click to expand...
Click to collapse
Have you tried wiping everything?
Which rom are you trying to flash? (by whom, I mean)
Did you confirm re-partitioning was successful?
Palm Trees said:
Have you tried wiping everything?
Which rom are you trying to flash? (by whom, I mean)
Did you confirm re-partitioning was successful?
Click to expand...
Click to collapse
1. I did wipe cache,dalvik,system and data.
2. I tried to flash the stock rom found on the xiaomi website.
3. How can i confirm if repartitoning was succesfull if i cant boot into system? In twrp system partiton is showing 0 size.
---------- Post added at 06:45 PM ---------- Previous post was at 06:39 PM ----------
Can i flash cwm while in twrp ?
oreki9 said:
1. I did wipe cache,dalvik,system and data.
2. I tried to flash the stock rom found on the xiaomi website.
3. How can i confirm if repartitoning was succesfull if i cant boot into system? In twrp system partiton is showing 0 size.
Click to expand...
Click to collapse
Did you follow my guide? https://forum.xda-developers.com/mi-pad/how-to/guide-flash-twrp-merge-partitions-mi-t3611814
Palm Trees said:
Did you follow my guide? https://forum.xda-developers.com/mi-pad/how-to/guide-flash-twrp-merge-partitions-mi-t3611814
Click to expand...
Click to collapse
Didn't see your guide earlier. Now will try to flash your zip file and then a stock rom. Will it work? Also my system partiton is showing 0 size so unable to flash anything. so how can i flash the stock rom?Should i neglect the error and just reboot and hope it works?
oreki9 said:
Didn't see your guide earlier. Now will try to flash your zip file and then a stock rom. Will it work? Also my system partiton is showing 0 size so unable to flash anything. so how can i flash the stock rom?Should i neglect the error and just reboot and hope it works?
Click to expand...
Click to collapse
Give it a try and see what happens.
Palm Trees said:
Give it a try and see what happens.
Click to expand...
Click to collapse
Thanks it worked. The file i downloaded from the miui forum seems to be the problem. I flashed your zip and it succeeded and then i flashed the stock rom and everything worked. Really thanks. Plus the partitions are now merged Thanks again.
oreki9 said:
Thanks it worked. The file i downloaded from the miui forum seems to be the problem. I flashed your zip and it succeeded and then i flashed the stock rom and everything worked. Really thanks. Plus the partitions are now merged Thanks again.
Click to expand...
Click to collapse
No problem Glad it worked.
Hi,
I'm struck on MI logo. I'm on TWRP 3.1.1-0. I've installed miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip, AOSPExt ROM, AICP, RR ROM but every time it struck on MI logo. All the ROMs are flashed smoothly without any error. I waited for some 30 min but nothing happened. I tried flashing via MIflashtool using flashboot rom but in MIFlash tool it showed 'error: Mismatching image and device'.
Please guide me.
Avee007 said:
Hi,
I'm struck on MI logo. I'm on TWRP 3.1.1-0. I've installed miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip, AOSPExt ROM, AICP, RR ROM but every time it struck on MI logo. All the ROMs are flashed smoothly without any error. I waited for some 30 min but nothing happened. I tried flashing via MIflashtool using flashboot rom but in MIFlash tool it showed 'error: Mismatching image and device'.
Please guide me.
Click to expand...
Click to collapse
Did you flash stock miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip using TWRP 2.8.4?
11. Your Mi Pad now boots into TWRP 2.8.4
12. In TWRP select ‘Wipe’ and choose ‘Cache, Data, System and Dalvik Cache’
13. After wiping, press ‘Install’ and flash the ‘Repartition_MI_Pad_1_2GB_zardMi3.zip’
14. Your Mi Pad boots back into TWRP as no OS is installed
15. Install miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.z ip (there will be an error, just ignore it and let it finish). Reboot. Wait 5-10 minutes. The MIUI welcome screen will appear, complete the setup.
16. Install DiskInfo from Play Store to confirm your repartitioning was successful.
Palm Trees said:
Did you flash stock miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.zip using TWRP 2.8.4?
11. Your Mi Pad now boots into TWRP 2.8.4
12. In TWRP select ‘Wipe’ and choose ‘Cache, Data, System and Dalvik Cache’
13. After wiping, press ‘Install’ and flash the ‘Repartition_MI_Pad_1_2GB_zardMi3.zip’
14. Your Mi Pad boots back into TWRP as no OS is installed
15. Install miui_MIPADGlobal_V7.3.1.0.KXFMIDD_0d8dcf2bc3_4.4.z ip (there will be an error, just ignore it and let it finish). Reboot. Wait 5-10 minutes. The MIUI welcome screen will appear, complete the setup.
16. Install DiskInfo from Play Store to confirm your repartitioning was successful.
Click to expand...
Click to collapse
Thanks. But the problem remains the same. It again struck on MI logo even after flashing through TWRP 2.8.4.
i too have same problem dont know what to do...i tried flashing through fastboot also even that didnt help..

bootloop issue

hi i tryed to convert my redmi note 4x to global when flashing with mi flash tool i did it without clean and after that firmware finish installing but got stuck in bootloop now i flashed twrp and tryed to flash custom rom but again bootloop when i check my storage it shows 9gb now when its actual is 32gb i think i disturbed partitions any solution available?
Are you able to boot into TWRP?? If not flash TWRP first using fastboot.
Once you have access to TWRP boot into it and perform a full wipe (System + Data + Cache + Dalvik + Internal Storage). Perform a format too after wipe to be on the safer side. Now copy a custom ROM or MIUI ROM to your Internal Storage or SD card through a computer. Once copied install your ROM.
If you flashed custom ROM flash Gapps after flashing ROM. Reboot.
If you flashed MIUI, flash lazyflasher after that(or phone will be stuck at MI logo). Reboot.
You can find download links for lazyflasher here on XDA or you can google it too.
ArK96 said:
Are you able to boot into TWRP?? If not flash TWRP first using fastboot.
Once you have access to TWRP boot into it and perform a full wipe (System + Data + Cache + Dalvik + Internal Storage). Perform a format too after wipe to be on the safer side. Now copy a custom ROM or MIUI ROM to your Internal Storage or SD card through a computer. Once copied install your ROM.
If you flashed custom ROM flash Gapps after flashing ROM. Reboot.
If you flashed MIUI, flash lazyflasher after that(or phone will be stuck at MI logo). Reboot.
You can find download links for lazyflasher here on XDA or you can google it too.
Click to expand...
Click to collapse
awais_666 said:
hi i tryed to convert my redmi note 4x to global when flashing with mi flash tool i did it without clean and after that firmware finish installing but got stuck in bootloop now i flashed twrp and tryed to flash custom rom but again bootloop when i check my storage it shows 9gb now when its actual is 32gb i think i disturbed partitions any solution available?
Click to expand...
Click to collapse
@ArK96 is right but the only thing i suggest is to, flash miui and lazyflasher first so as to properly set up the initial firmware, and partitioning. After miui boots properly, you can do anything you want. :highfive:
ArK96 said:
Are you able to boot into TWRP?? If not flash TWRP first using fastboot.
Once you have access to TWRP boot into it and perform a full wipe (System + Data + Cache + Dalvik + Internal Storage). Perform a format too after wipe to be on the safer side. Now copy a custom ROM or MIUI ROM to your Internal Storage or SD card through a computer. Once copied install your ROM.
If you flashed custom ROM flash Gapps after flashing ROM. Reboot.
If you flashed MIUI, flash lazyflasher after that(or phone will be stuck at MI logo). Reboot.
You can find download links for lazyflasher here on XDA or you can google it too.
Click to expand...
Click to collapse
thank you for a quick reply yes i am able to go into twrp and i did format system data cache dalvik and internal storage and after wipe did format too but still stuck at same issue and when i open the internal storage in my computer it shows only 9gb storage
MyNameIsRage said:
@ArK96 is right but the only thing i suggest is to, flash miui and lazyflasher first so as to properly set up the initial firmware, and partitioning. After miui boots properly, you can do anything you want. :highfive:
Click to expand...
Click to collapse
ok so the normal global firmware will do? i didnt do with lazyflasher but will do it now
awais_666 said:
ok so the normal global firmware will do? i didnt do with lazyflasher but will do it now
Click to expand...
Click to collapse
you mean the global rom? yes the one you downloaded from en.miui.com
MyNameIsRage said:
you mean the global rom? yes the one you downloaded from en.miui.com
Click to expand...
Click to collapse
yes thats the one downloading now thank you guys for quick response ill update once done
@MyNameIsRage thank you for correcting me.
Yes. Please do flash MIUI and lazy first. Looks like you messed up your partitions.
Peace.
hey guys i tryed the following method luckily now storage is shown as 23 gb but when i flash miui rom in twrp the process doesnt complete its like the process bar goes till 95 percent and after that it keeps flashing but nothing happening i left the phone like this for 2 hours for 2 times but nothing happened am i doing something wrong here
awais_666 said:
hey guys i tryed the following method luckily now storage is shown as 23 gb but when i flash miui rom in twrp the process doesnt complete its like the process bar goes till 95 percent and after that it keeps flashing but nothing happening i left the phone like this for 2 hours for 2 times but nothing happened am i doing something wrong here
Click to expand...
Click to collapse
After flashing MIUI and lazy you flashed MIUI again is that what you are saying?
ArK96 said:
After flashing MIUI and lazy you flashed MIUI again is that what you are saying?
Click to expand...
Click to collapse
nop i formatted everything and then install miui rom for redmi note 4x which doesnt finish installing
awais_666 said:
nop i formatted everything and then install miui rom for redmi note 4x which doesnt finish installing
Click to expand...
Click to collapse
Go here and download the Global Stable worldwide release version firmware.
Boot into twrp wipe and format everything. Also after that reflash TWRP again using fastboot.
Once reflashed boot into TWRP and again perform a full wipe and format, then install the downloaded firmware zip. After that reboot TWRP and try flashing MIUI.
ArK96 said:
Go here and download the Global Stable worldwide release version firmware.
Boot into twrp wipe and format everything. Also after that reflash TWRP again using fastboot.
Once reflashed boot into TWRP and again perform a full wipe and format, then install the downloaded firmware zip. After that reboot TWRP and try flashing MIUI.
Click to expand...
Click to collapse
cool will try that in a while just a quick question i read somewhere that do the same process with red wolf recovery rather then twrp does that make any difference
awais_666 said:
cool will try that in a while just a quick question i read somewhere that do the same process with red wolf recovery rather then twrp does that make any difference
Click to expand...
Click to collapse
Yes. Red wolf is more MIUI friendly, it is made with OTA survival in mind. But your issue is that the ROM is not getting flashed. You can try what I said above about TWRP reflash, if it doesn't work you can go ahead and try redwolf. REDWOLF is nothing but modded TWRP, base code is still TWRP.
ArK96 said:
Yes. Red wolf is more MIUI friendly, it is made with OTA survival in mind. But your issue is that the ROM is not getting flashed. You can try what I said above about TWRP reflash, if it doesn't work you can go ahead and try redwolf. REDWOLF is nothing but modded TWRP, base code is still TWRP.
Click to expand...
Click to collapse
hey mate finally i got time to do the procedure i flashed the kernel that you told and on top of it the firmware and lazyflasher it went through in just few minutes and was all done and working perfectly now thanks alot
awais_666 said:
hey mate finally i got time to do the procedure i flashed the kernel that you told and on top of it the firmware and lazyflasher it went through in just few minutes and was all done and working perfectly now thanks alot
Click to expand...
Click to collapse
Good job mate.

Categories

Resources