Failed to flash - LineageOS Questions & Answers

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

Related

Cant flash TWRP

Hey guys I'm kinda new to Android I've had a chappy phone and now an LG g pad after attempting root about a dozen times I finally managed to get it root now I am trying to get TWRP to backup the tablet and change the boot animation later but every time I tried on my pc it would fail so I installed flashify and tried with that I then I got a boot error saying security issues. The tablet stills boots but I believe the problem is the locked boot loader. Thanks for any help offered.
{
"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"
}
Look at this thread where some options for flashing TWRP are discussed: http://forum.xda-developers.com/lg-g-pad-83/help/recovery-mode-t2880087
Okay thanks ill check it out
Btw i think my boot loader is locked will this affect it?
Thanks
rooing problems
Joshhi said:
Btw i think my boot loader is locked will this affect it?
Click to expand...
Click to collapse
Have you installed root checker or another program to confirm that you do, in fact, have root? Start with that.
If you haven't installed a superuser app to handle permissions, I'd do that as well before trying to install TWRP.
I'll admit I had troubles installing TWRP as well, when looking at the forums, make sure you're downloading the version for your EXACT version of android and firmware, and following the instructions for the right version as well. Good luck!
yojimboj said:
Have you installed root checker or another program to confirm that you do, in fact, have root? Start with that.
If you haven't installed a superuser app to handle permissions, I'd do that as well before trying to install TWRP.
I'll admit I had troubles installing TWRP as well, when looking at the forums, make sure you're downloading the version for your EXACT version of android and firmware, and following the instructions for the right version as well. Good luck!
Click to expand...
Click to collapse
I got it flashed yesterday forgot to post that so i tried to change the boot animation and soft bricked it luckily i backed up
Joshhi said:
I got it flashed yesterday forgot to post that so i tried to change the boot animation and soft bricked it luckily i backed up
Click to expand...
Click to collapse
Will be good if you share how you doit, becouse i have a same problem. Tnx
adler123 said:
Will be good if you share how you doit, becouse i have a same problem. Tnx
Click to expand...
Click to collapse
Do what? Unbricked it or flashed twrp?
Joshhi said:
Do what? Unbricked it or flashed twrp?
Click to expand...
Click to collapse
flashed twrp to v50020d
atomicblue said:
flashed twrp to v50020d
Click to expand...
Click to collapse
I believe it was this
Further in the thread they tell you that you have to change the command from v500-20a to d
http://forum.xda-developers.com/showthread.php?t=2698267
I also think youll have to flash the latest version of twrp from a zip manually

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

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.

MOTO G6 XT 1922-5 Can't flash .img files

Hi there.
I have a moto g6 play ,as described in the title. Well, everything was working fine, but I had to wipe a Lineage 16 image, 'cause the signal was really bad.
After a wipe, I tried to install a ROM that I don't know if was made for my phone or not, but anyway, I didn't get bricked, since I can load my recovery and fastboot, with no problems. However, I also tried to install other ROM's, that, for sure, are compatible (I even tried to install the one I was using before the wipe), but I got a message from TWRP, saying my phone is jeter and the rom was made for aljeter. That's so strange, my phone is aljeter and it's stated by CPU-Z and the bootloader.
Anyway, I could only install a GSI ROM, named "revenge OS", but it's pretty buggy, almost unusable. The ROM in question was in a flashable .zip format. The problem is that i just can't flash ANY OTHER .img system file, since twrp just says: "flashing file" for 10-15 seconds, and, when I reboot, always get a bootloop, because "there's no OS installed".
{
"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 suscessfully installed the stock rom, using a recovery software powered by motorola/lenovo, but that was it... Don't wanna use the stock, but it seems my phone doesn't aceept any custom anymore...
Man, I don't know what to do... please, could someone help me?
I feel sorry for the bad english, that's not my native language...
matheusmalagone said:
Hi there.
I have a moto g6 play ,as described in the title. Well, everything was working fine, but I had to wipe a Lineage 16 image, 'cause the signal was really bad.
After a wipe, I tried to install a ROM that I don't know if was made for my phone or not, but anyway, I didn't get bricked, since I can load my recovery and fastboot, with no problems. However, I also tried to install other ROM's, that, for sure, are compatible (I even tried to install the one I was using before the wipe), but I got a message from TWRP, saying my phone is jeter and the rom was made for aljeter. That's so strange, my phone is aljeter and it's stated by CPU-Z and the bootloader.
Anyway, I could only install a GSI ROM, named "revenge OS", but it's pretty buggy, almost unusable. The ROM in question was in a flashable .zip format. The problem is that i just can't flash ANY OTHER .img system file, since twrp just says: "flashing file" for 10-15 seconds, and, when I reboot, always get a bootloop, because "there's no OS installed".
View attachment 5223107 View attachment 5223109
I suscessfully installed the stock rom, using a recovery software powered by motorola/lenovo, but that was it... Don't wanna use the stock, but it seems my phone doesn't aceept any custom anymore...
Man, I don't know what to do... please, could someone help me?
I feel sorry for the bad english, that's not my native language...
Click to expand...
Click to collapse
Try
ROMs that run on the G6 Play [GSI]
Recommended Root Guide (Jeter) by Ninjakara Recommended tweaks Universal Disabler I also recommend: Magisk, for the ability to use other mods; F-Droid, for free and open source apps. Pie GSI ROMs: (Will update w/replies) Descendant AOSP PHH...
forum.xda-developers.com
Dude no ROM takes only 15 seconds to install. Maybe your download is corrupted? try downloading again. If this doesn't work, try reinstalling TWRP and then flashing again, because maybe TWRP is the troublemaker

Question Custom ROM install fails

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.

Categories

Resources