Question Custom ROM install fails - Xiaomi 11 Lite 5G NE

After custom ROM installation fails, I can re-install the stock ROM to try again.
i.e. lisa_eea_global_images_V12.5.8.0.RKOEUXM_20211209.0000.00_11.0_eea_607b867ac2.tgz
I can install SHRP (HimanshuRaj's version) and Magisk v24.3.
I can switch between Fastboot, Recovery and Android.
Both SHRP and Magisk Manager both show that Magisk 24.3 is intalled.
After I install a ROM, only fastboot works. Whether issuing the reboot command via the attached PC or by pressing the relevant phone buttons, only fastboot works.
The process I am using to install the custom ROM is:
On the phone:
Reboot into SHRP recovery
Wipe => Format Data => yes
Click blue tick
Advanced => Sideload => click tick button
Displays:
ADB Sideload
Starting ADB sideload feature
On the PC:
adb sideload c:\users\miui\downloads\Android\evolution_lisa-ota-sp2a.220405.004-05021724-unsigned.zip
serving: 'c:\users\miui\downloads\Android\evolution_lisa-ota-sp2a.220405.004-05021724-unsigned.zip' (~47%) adb: failed to read command: No error
...or...
adb sideload c:\users\miui\downloads\Android\Arrow-v11.0-lisa-OFFICIAL-20211219-GAPPS.zip
serving: 'c:\users\miui\downloads\Android\Arrow-v11.0-lisa-OFFICIAL-20211219-GAPPS.zip' (~47%) adb: failed to read command: No error
What am I doing wrong?

When flashing SHRP, there is an error:
mount -w /system_root process ended wih ERROR: 1
Is that normal? Does it matter?
{
"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"
}

When wiping, there is the same error. This time it says 'Failed' at the top.

The sideload says is is successful, but lots of error messages.
I've been going round in circles for days. Any suggestions gratefully received.

Gigajules said:
After custom ROM installation fails, I can re-install the stock ROM to try again.
i.e. lisa_eea_global_images_V12.5.8.0.RKOEUXM_20211209.0000.00_11.0_eea_607b867ac2.tgz
Click to expand...
Click to collapse
Have you tried unrooting before?
Using TWRP: https://androidfilehost.com/?w=files&flid=324804

NOSS8 said:
Have you tried unrooting before?
Using TWRP: https://androidfilehost.com/?w=files&flid=324804
Click to expand...
Click to collapse
No I haven't. Is re-instaling the stock rom the same as unrooting?

Gigajules said:
No I haven't. Is re-instaling the stock rom the same as unrooting?
Click to expand...
Click to collapse
sometimes root is a problem, it is better to unroot then install the stock rom corresponding to the firmware of the aosp rom you want to install.
https://forum.xda-developers.com/t/flash-tool-guide-use-xiaomi-flash-tool.4262425/

NOSS8 said:
sometimes root is a problem, it is better to unroot then install the stock rom
Click to expand...
Click to collapse
OK, I will give that a try.
NOSS8 said:
then install the stock rom corresponding to the firmware of the aosp rom you want to install.
Click to expand...
Click to collapse
OK, so that would be the stock ROM V12.5.8.0 I mentioned in the OP, corresponding to the Arrow/Evolution I also mentioned in the OP, right?
Is there a list of which stock + custom ROMs work together?

Gigajules said:
OK, I will give that a try.
OK, so that would be the stock ROM V12.5.8.0 I mentioned in the OP, corresponding to the Arrow/Evolution I also mentioned in the OP, right?
Is there a list of which stock + custom ROMs work together?
Click to expand...
Click to collapse
right.
All roms do not necessarily use the same firmware.
try Xiaomi eu rom like stock but better with more options and easy to flash,play store certified without root/original camera:
https://xiaomi.eu/community/threads/22-5-18.65921/
https://xiaomi.eu/community/threads/22-5-18.65921/

better to flash xiaomi.eu rom first. easy to install 1 click while phone is on fastboot, then use different recovery. try pixelos recovery.

Related

Status 7 error, when flashing any custom rom

I have stock rom android 4.4.2 on my galaxy mini s4. I have flashed a custom recovery CWM. and my phone is rooted. When i try to flash custom rom like CM13. or any other rom it gives a status 7 error and stops flashing the rom. Can someone provide me with a solution?
Hi you have to install TWRP recovery to flash the latest roms!
Argenis_jbc said:
Hi you have to install TWRP recovery to flash the latest roms!
Click to expand...
Click to collapse
I have installed allready TWRP recovery. version = recovery-twrp-2.6.3.0-serranoltexx.tar.md5
But still no good, getting the same error 7. Any other Solutions?
serti6610 said:
I have installed allready TWRP recovery. version = recovery-twrp-2.6.3.0-serranoltexx.tar.md5
But still no good, getting the same error 7. Any other Solutions?
Click to expand...
Click to collapse
Man you have to install the latest version, that is 3.0.x.x, here is the link http://forum.xda-developers.com/showthread.php?t=2678420
then you will can to flash any custom rom
Argenis_jbc said:
Man you have to install the latest version, that is 3.0.x.x, here is the link http://forum.xda-developers.com/showthread.php?t=2678420
then you will can to flash any custom rom
Click to expand...
Click to collapse
Thankyou sir, I will try it today. And I hope that it works.:fingers-crossed:
Argenis_jbc said:
Man you have to install the latest version, that is 3.0.x.x, here is the link http://forum.xda-developers.com/showthread.php?t=2678420
then you will can to flash any custom rom
Click to expand...
Click to collapse
I have flashed the recovery that you said it will work. But again it gives the same error. I am on stock android 4.4.2. Could that be the reason why it does not work?
serti6610 said:
I have flashed the recovery that you said it will work. But again it gives the same error. I am on stock android 4.4.2. Could that be the reason why it does not work?
Click to expand...
Click to collapse
Do you wipe in the correct way? Wipe data, system, cache? And not, this is not the problem
Argenis_jbc said:
Do you wipe in the correct way? Wipe data, system, cache? And not, this is not the problem
Click to expand...
Click to collapse
Yes I do wipe correct way. But error is still showing
Are you sure tu be on twrp recovery? Do you see the logo "twrqp" when you boot into reocovery? Sorry for the questions but when you said me the file name you wrote ".md5" and if i m correct you can' t flash an md5 file, you can flash only files that ends with ".tar", did you follow the twrp installation? Did you flashed the recovery with odin?
Argenis_jbc said:
Are you sure tu be on twrp recovery? Do you see the logo "twrqp" when you boot into reocovery? Sorry for the questions but when you said me the file name you wrote ".md5" and if i m correct you can' t flash an md5 file, you can flash only files that ends with ".tar", did you follow the twrp installation? Did you flashed the recovery with odin?
Click to expand...
Click to collapse
Yes I am sure because it shows the logo TWRP when starting recovery. Yes you cant flash md5 but thats not what i mean. Sorry for bad english. I have installed md5 with odin after flashed twrp as recovery.
One another thing is i have read on xda other threads that it could be de 'Assers lines" in the Updater script. Many people have fixed it like that but I dont know when lines I should erase in the Updater Script of the ending symbol of the Assets lines. Maybe you can help me with editing the Updater Script?
Disable the toggle firmature signed feature(CWM)
DarkJoker360 said:
Disable the toggle firmature signed feature(CWM)
Click to expand...
Click to collapse
I have tryed it but no good
serti6610 said:
I have tryed it but no good
Click to expand...
Click to collapse
Try to download cm 13 from your phone
Inviato dal mio GT-I9195 utilizzando Tapatalk
{
"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"
}
Here is the picture of the error 7.
maybe your zip file is corrupted, try downloading again. And its maybe annoying to repeat the same question. but have you done factory wipe?

I'm newbie, please help. Nexus 5x can't install cyanogenmod.

I tried to install cyan, before I used nexus 5, no problems, but here after I flashed cyanogenmod thru TWRP 3.2 I'm unable to boot. I tried to make full wipe from TWRP and still can't boot. Never have such problems and looped in this step Please help.
P.s. I'm not american, my English is bad, sry.
Try to go on twrp press mount button and select data and chace after that try to factory reset(adnvance ...select all)
try to install cm 14.1 and gaps for nougat!
Sorry for my bad english i am cypriot!
{
"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"
}
dimitrispas22 said:
Try to go on twrp press mount button and select data and chace after that try to factory reset(adnvance ...select all)
try to install cm 14.1 and gaps for nougat!
Sorry for my bad english i am cypriot!
Click to expand...
Click to collapse
I have like on ur screen. Tried install cyan 14 but still can't boot :C loop at google emblem.
alex.zz said:
I tried to install cyan, before I used nexus 5, no problems, but here after I flashed cyanogenmod thru TWRP 3.2 I'm unable to boot. I tried to make full wipe from TWRP and still can't boot. Never have such problems and looped in this step Please help.
P.s. I'm not american, my English is bad, sry.
Click to expand...
Click to collapse
Nexus 5 ???
you are on Nexus 5x Bullhead section ?
Renaf2 said:
Nexus 5 ???
you are on Nexus 5x Bullhead section ?
Click to expand...
Click to collapse
Yes, in the past and I like it. Right now I have 5x in da'loop:laugh:
I tried to install cyan14 but still can't boot. Fastboot unlocked, twrp recovery.. I don't know what I miss.
alex.zz said:
Yes, in the past and I like it. Right now I have 5x in da'loop:laugh:
I tried to install cyan14 but still can't boot. Fastboot unlocked, twrp recovery.. I don't know what I miss.
Click to expand...
Click to collapse
Did you flash the corresponding vendor, bootloader and radio image for your rom as it states right at the beginning of the CM 14 thread? First post, 3rd sentence
berndblb said:
Did you flash the corresponding vendor, bootloader and radio image for your rom as it states right at the beginning of the CM 14 thread? First post, 3rd sentence
Click to expand...
Click to collapse
Not every time. I'll try, thanks.
alex.zz said:
Yes, in the past and I like it. Right now I have 5x in da'loop:laugh:
I tried to install cyan14 but still can't boot. Fastboot unlocked, twrp recovery.. I don't know what I miss.
Click to expand...
Click to collapse
Unlock bootloader not fastboot Right ?
fastboot unlock oem ? Right ?
flash via fastboot the last factory image for cm 14.1 Custom Rom
Flash TWRP 3.0.2.3.img via fastboot (fastboot flash recovery twrp-3.0.2.3.img)
Flash Cf Auto Root.img via fastboot or UpdateSU.zip via TWRP
Flash CM 14.1 Custom Rom , Flash Open gapps micro or pico and reboot if it's take over 10 minutes reboot in bootloader and start android again wait and enjoy
You don't have to do it every time, just make sure they match.
Read the OP. It's there for a reason....
Most likely you only need the vendor image
Sent from my K00C using Tapatalk

Failed to flash

Hey there,
I want to switch to these htt ps://download .lineageos. org/oneplus2 LOS 14.1 builds as I'm currently using LOS 14.1 by daktak. (Sorry, not allowed to post links right now..)
There haven't been any updates for almost 3 weeks now and I don't think that this will be updated any further.
Well, simply booting into recovery mode and flashing the newest LOS zip doesn't work for me. I guess it's because I'm not wiping my system partition, just data + dalvik cache... I thought I can simply switch/update from an older version of LOS? Do I really need to wipe everything again so I can install the LOS builds I've mentioned above?
Also I don't really understand the difference between signed and unsigned zips. The zip I want to flash is signed. Is this why I get "Failed to flash" as an error message in recovery? Does "signed" mean, I need to root my OP2 again and my current root will be removed?
Current LOS version 14.1-20170213-UNOFFICIAL-oneplus2 by daktak
Yakumichan said:
Hey there,
I want to switch to these htt ps://download .lineageos. org/oneplus2 LOS 14.1 builds as I'm currently using LOS 14.1 by daktak. (Sorry, not allowed to post links right now..)
There haven't been any updates for almost 3 weeks now and I don't think that this will be updated any further.
Well, simply booting into recovery mode and flashing the newest LOS zip doesn't work for me. I guess it's because I'm not wiping my system partition, just data + dalvik cache... I thought I can simply switch/update from an older version of LOS? Do I really need to wipe everything again so I can install the LOS builds I've mentioned above?
Also I don't really understand the difference between signed and unsigned zips. The zip I want to flash is signed. Is this why I get "Failed to flash" as an error message in recovery? Does "signed" mean, I need to root my OP2 again and my current root will be removed?
Current LOS version 14.1-20170213-UNOFFICIAL-oneplus2 by daktak
Click to expand...
Click to collapse
It is all explained here:
http://lineageos.org/Update-and-Build-Prep/
jhedfors said:
It is all explained here:
http://lineageos.org/Update-and-Build-Prep/
Click to expand...
Click to collapse
Thank you for your quick reply! After some issues using adb I could not fix (but I don't need to as I already did this somehow earlier for CM13) I managed to install LOS14.1 HYPE!
Maybe you could help me with my problem?
"No command 'fastboot' found"... But I can find my phone using adb devices.
Screenshot attached...
{
"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"
}
Yakumichan said:
Thank you for your quick reply! After some issues using adb I could not fix (but I don't need to as I already did dis somehow earlier for CM13) I managed to install LOS14.1 HYPE!
Maybe you could help me with my problem?
"No command 'fastboot' found"... But I can find my phone using adb devices.
Screenshot attached...
Click to expand...
Click to collapse
I am not an expert on adb/fastboot, but is the fastboot binary in the directory? It is also a little difficult to interpret the language in your sceenshot.
jhedfors said:
I am not an expert on adb/fastboot, but is the fastboot binary in the directory? It is also a little difficult to interpret the language in your sceenshot.
Click to expand...
Click to collapse
Right, sorry. It's German and it says that the command "fastboot" either has been written wrong or hasn't been found.
And also: Yes, it is:
I think you need to check your drivers
The device should be connected via adb interface driver or android driver
After that you should be able to see ur device

I can't install any custom ROM

I have bootloader unlocked and TWRP 3.2 installed.
Normally most ROM's are not finished installing always stuck in patching system image unconditionally.
LineageOS 14.1 it was installed but the screen was black with the blue LED on.
I have the stock S251 firmware version of P2a42 with Lenovo P2c72 model.
I tried to format data to EXT4 but doesn't work.
{
"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"
}
kalmas77 said:
I have bootloader unlock and TWRP 3.2 installed.
Normally most ROM's are not finished installing always stuck in patching system image unconditionally.
LineageOS 14.1 it was installed but the screen was black with the blue LED on.
I have the stock S251 firmware version of P2a42 with Lenovo P2c72 model.
I tried to format data to EXT4 but does't work.
Click to expand...
Click to collapse
Are you 100% sure the bootloader is unlocked ? Did you unlock the bootloader via fastboot or you just waited until the 14 days countdown ended ?
medwatt said:
Are you 100% sure the bootloader is unlocked ? Did you unlock the bootloader via fastboot or you just waited until the 14 days countdown ended ?
Click to expand...
Click to collapse
Yes, I'm 100% sure. I unlocked via fastboot with your thread :good: https://forum.xda-developers.com/lenovo-p2/how-to/lenovo-p2-owners-click-t3668029
kalmas77 said:
Yes, I'm 100% sure. I unlocked via fastboot with your thread :good: https://forum.xda-developers.com/lenovo-p2/how-to/lenovo-p2-owners-click-t3668029
Click to expand...
Click to collapse
What version of Android are/were you on ? You need to be on at least Android 7 S244 to be able to flash LOS 14.1.
What I'd suggest you to do is flash the stock ROM all over again. See this. I have the c72 version myself and I've never encountered the issue you mentioned.
medwatt said:
What version of Android are/were you on ? You need to be on at least Android 7 S244 to be able to flash LOS 14.1.
What I'd suggest you to do is flash the stock ROM all over again. See this. I have the c72 version myself and I've never encountered the issue you mentioned.
Click to expand...
Click to collapse
Yes, I installed 5. P2a42_S244_170725_ROW_fastboot.7z manually through fastboot and updated later to S251 through OTA. LineageOS 14.1 it is and example, which ROMs works for you? I am looking a Android 8 Oreo custom ROM. Do you have to change partion data to EXT4 or something else? I thought it was because I have the C72 version.
kalmas77 said:
Yes, I installed 5. P2a42_S244_170725_ROW_fastboot.7z manually through fastboot and updated later to S251 through OTA. LineageOS 14.1 it is and example, which ROMs works for you? I am looking a Android 8 Oreo custom ROM. Do you have to change partion data to EXT4 or something else? I thought it was because I have the C72 version.
Click to expand...
Click to collapse
I've tried most of the ROMs here and they all work.
I had the same issue while trying to install new AOSiP 8.1 rom, I have unlocked bootloader, latest TWRP but now I am stuck with this error:
failed to mount /data device or resource busy
I cannot install any rom nor wipe data anymore. Stuck on LENOVO blue logo with the android with the lock in the belly! Help please!
PS: I can reboot to fastboot or TWRP
EDIT: i solved the issue rebooting twice from TWRP to TWRP again and making it permanent on the system, now rom is doing first boot.
Thanks, I always making permanent but apparently it was not enough. Now it's working. Probably I only need to boot TWRP through buttons instead of using fastboot commands to making permanent.

[Q] I can't root my xiaomi redmi note 8 pro

Hi, i have a xiaomi redmi note 8 pro (64gb), with the bootloader unlocked, MIUI 12.5.7 global, debug enabled
Using Google Platform-Tools, after entering fastboot (with "adb reboot bootloader") and flashing the twrp recovery (with "fastboot flash recovery twrp.img") I cannot enter the custom recovery, whether I use the combination of button, whether you use the command "fasbtoot boot recovery/twrp.img"
I tried to change the USB port of the PC but I always get the same error: FAILED (Status read failed (Too many links))
{
"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"
}
Does anyone know how to fix this error? I don't mind having to format the phone.
Have you tried this ?
Write to device failed (no link / unknown error / too many links) - Sample Code and Directory of libraries for Android Developers - AndroidHiro.com
Write to device failed (no link / unknown error / too many links).I am trying to flash twrp to my ZTE Axon 7 but until now I just keep getting errors every time I try to flash something.Device is already wiped and bootloader unlocked.I am in fastboot mode, I also get some unknown error in...
androidhiro.com
Fytdyh said:
Have you tried this ?
Write to device failed (no link / unknown error / too many links) - Sample Code and Directory of libraries for Android Developers - AndroidHiro.com
Write to device failed (no link / unknown error / too many links).I am trying to flash twrp to my ZTE Axon 7 but until now I just keep getting errors every time I try to flash something.Device is already wiped and bootloader unlocked.I am in fastboot mode, I also get some unknown error in...
androidhiro.com
Click to expand...
Click to collapse
Soo should i use a USB hub?
Because I have already tried to use the method that modifies the registry but it didn't help
umbi027 said:
Soo should i use a USB hub?
Because I have already tried to use the method that modifies the registry but it didn't help
Click to expand...
Click to collapse
Have you tried uninstall ing your device existing drivers, shutting down and turning on you computer and reconnecting your phone again ? This can work in some cases
Fytdyh said:
Have you tried uninstall ing your device existing drivers, shutting down and turning on you computer and reconnecting your phone again ? This can work in some cases
Click to expand...
Click to collapse
I tried and it didn't work, but I tried to install a different recobery (so not the twrp) and it worked
thanks so much, for the help anyway
umbi027 said:
I tried and it didn't work, but I tried to install a different recobery (so not the twrp) and it worked
thanks so much, for the help anyway
Click to expand...
Click to collapse
What recovery have you used that works?
Lucz0xxZ said:
What recovery have you used that works?
Click to expand...
Click to collapse
I followed this tutorial:
I followed the tutorial until the custom recovery was installed and then I used the latest version of magisk downloaded from the official GitHub
umbi027 said:
I followed this tutorial:
I followed the tutorial until the custom recovery was installed and then I used the latest version of magisk downloaded from the official GitHub
Click to expand...
Click to collapse
Thanks!

Categories

Resources