[Q] Not able to flash Cyanogenmod - ONE Q&A, Help & Troubleshooting

Hello Modders,
I wiped all my data with TeamWin Recovery under advanced wipe.
(Dalvik Cache; System; Data; Internal Storage, Cache)
When I tried to install Cyanogenmod it told me the Bootloader is not unlocked.
Of course it should be unlocked. I unlocked it without any errors.
Code:
C:\OPO\XNPH38R\rom>fastboot oem unlock
...
OKAY [ 0.005s]
finished. total time: 0.006s
And yes, I was in fastboot Mode. All drivers were installed.
Code:
C:\OPO\XNPH38R\rom>fastboot flash boot boot.img
target reported max download size of 536870912 bytes
sending 'boot' (5578 KB)...
OKAY [ 0.180s]
writing 'boot'...
FAILED (remote: Device not unlocked cannot flash or erase)
finished. total time: 0.185s
Any ideas?
best regards,
ExXxO

The solution was easier than expected.
HowTo:
Get the OnePlusOne-BootUnlocker.zip from this Thread
Download a working ADB.exe with drivers to flash the zip later. (Both need to be in the same folder, the exe and zip)
Open CMD.exe and tell your computer to navigate to the folder where the ADB.exe is located, example > "cd C:/OPO/ADB.exe"
Go into your Recovery with the OnePlus One and connect it to the PC.
Flash the Zip on the OnePlus with the command > "adb push OnePlusOne-BootUnlocker.zip /sdcard"
In the Recovery just install the the zip.
Finished. > If you don't have a Costum Recovery Installed follow this tutorial

Related

Please help me fix flash any stock ROM & recovery not failed

please help me my i ca'nt flash any stock rom or stock recovery.
flash stock recovery error :
C:\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 536870912 bytes
sending 'recovery' (65536 KB)...
OKAY [ 1.540s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 1.556s
flash stock rom :
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
...
FAILED (remote: Device already : unlocked!)
finished. total time: 0.021s
target reported max download size of 536870912 bytes
Invalid sparse file format at header magic
i try use MsmDownloadToolV4.0InternationalVersionOxygenOS5.1 .5 connect my phone to laptop and install OnePlus.QualcomDrivers I do not see my phone information displayed on the tool
current my device unable to boot into recovery and only in quancom fastboot mode
please help me thank a lot
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Gr8man001 said:
If you are able to put phone in fastboot mode (bootloader), you can follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/rom-stock-fastboot-roms-oneplus-6-t3796665
If unable to reboit phone in fastboot then follow instructions here:
https://forum.xda-developers.com/oneplus-6/how-to/guide-mega-unbrick-guide-hard-bricked-t3796051
Click to expand...
Click to collapse
my device boot to fastboot mode work
i try flash stock rom from your link error
FAILED (remote: Device already : unlocked!)
finished. total time: 0.003s
error: could not load android-info.txt: Invalid argument
flash witch MsmDownloadToolV4.0InternationalVersionOxygenOS5.1.5
me oneplus driver and install any driver from tool not show COM port
You must not have followed the step correctly to flash rom with fastboot method. I assume you have adb and appropriate drivers installed on your pc. Download the zip file from the link in that thread on your pc. Unzip the file. Put your phone in bootloader mode. Connect the OnePlus 6 to PC; Run flash-all.bat file from the folder where you unzipped the ROM. It worked all the time for me and many others.
https://forum.xda-developers.com/oneplus-6/themes/tool-gsi-installer-2-0-t3803779
try this, it's easy and fast,

My OnePlus is stucking in fastbooot

Hey, I'm trying to install TWRP on my OnePlus 7 Pro, after some attempts, in different ways, I've completely shot it now. I get stuck in fastboot mode, no matter if I want to restart or boot to recovery, I always get out in fastboot.
my used commands:
HTML:
fastboot flash boot twrp.img
output
Sending 'boot_b' (56620 KB) OKAY [ 1.664s]
Writing 'boot_b' OKAY [ 0.170s ]
Finished. Total time: 1,858s
after that i could in twrp but had no write permission, when i tried to mount it, i was shown a memory capacity of 0.
then i tried it with a "template" which contained a "flash_all.bat", i executed it and had a snapdragon error -> After that i tried to flash the default img of OnePlus again, but that didn't work because i didn't have write permissions -> now i'm stuck in fastboot.

Can't boot anymore on TWRP

Hello everyone !
I was trying to put a LineageOS on my OP7P with this rom.
I unlocked the bootloader, boot onto the TWRP image (this one), flashed the ROM and then I got into troubles.
When I flashed the ROM, I didn't see any "go back" button, so I just pressed the "reboot system" one.
I came back to recovery, only of course to see that I have the "basic" recovery menu. So I got into the bootloader mode and tried to fix this, nothing I did fixed it...
I tried and got :
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot boot twrpop7pro.img
downloading 'boot.img'...
OKAY [ 0.692s]
booting...
FAILED (remote: unknown command)
finished. total time: 0.692s
I have no idea why is it not working. I tried the fastboot oem unlock, but it tells me it's already unlocked.
Then, by seaching, I tried but got this :
Code:
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery twrp-3.3.1-74-guacamole-unified-installer-mauronofrio.zip
target reported max download size of 805306368 bytes
sending 'recovery' (17872 KB)...
OKAY [ 0.389s]
writing 'recovery'...
FAILED (remote: (recovery_a) No such partition)
finished. total time: 0.405s
Which seemed logical to me as the OP7P has 2 slots, but when I searched alternative to this answer it only brought me back to the first answer.
So now I don't know what to do to boot again on a TWRP and fix all this. Thankfully, I can boot on my main system and my LineageOS is working. But I still want to root it with Magisk and use the NanoDroid installer.
Anyway, if anyone here has any idea to help me, I would be very grateful

Need fast help! Unbrick

I wiped everything in trwp when I was going to install Lineage, I did the misstake to restart the recovery and now Im stuck in the bootlaoder.
I need to install the stoc firmware via fastboot/bootlaoder but can't find any img file, only zip file of the Stock firmware.
Is is possible to install a zip file via fastboot?
Fastboot recognize the phone when typing the commando fastboot devices, so I see the serial nr.
If I try to install twrp img both on boot and flash recovery commando I get this:
PS C:\Android> fastboot boot twrp-3.2.1-0-enchilada.img
downloading 'boot.img'...
OKAY [ 0.577s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.598s
PS C:\Android> fastboot flash recovery twrp-3.2.1-0-enchilada.img
target reported max download size of 536870912 bytes
sending 'recovery' (26748 KB)...
OKAY [ 0.574s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.579s
I have tried the MsmDownloadTool V4.0, but the deviced manager in windows doesn't find the Qualcom....
@Peterrrrr said:
I wiped everything in trwp when I was going to install Lineage, I did the misstake to restart the recovery and now Im stuck in the bootlaoder.
I need to install the stoc firmware via fastboot/bootlaoder but can't find any img file, only zip file of the Stock firmware.
Is is possible to install a zip file via fastboot?
Fastboot recognize the phone when typing the commando fastboot devices, so I see the serial nr.
If I try to install twrp img both on boot and flash recovery commando I get this:
PS C:\Android> fastboot boot twrp-3.2.1-0-enchilada.img
downloading 'boot.img'...
OKAY [ 0.577s]
booting...
FAILED (remote: Failed to load/authenticate boot image: Load Error)
finished. total time: 0.598s
PS C:\Android> fastboot flash recovery twrp-3.2.1-0-enchilada.img
target reported max download size of 536870912 bytes
sending 'recovery' (26748 KB)...
OKAY [ 0.574s]
writing 'recovery'...
FAILED (remote: (recovery_b) No such partition)
finished. total time: 0.579s
I have tried the MsmDownloadTool V4.0, but the deviced manager in windows doesn't find the Qualcom....
Click to expand...
Click to collapse
I have never tried msmtool, but it sounds like a driver issue. Maybe take a closer look at their instructions
You can try these fastboot flashable stock roms.
You have few options to solve your issue. Now you are in slot B. You can change switch partition to A with fastboot. Try use: fastboot --set-active=a. It will switch to partition A and then try to boot/flash recovery. Also you have try to use fastboot roms with flashall.bat. There are few availaible in forum.
If you would like to use MSM you have to connect phone in proper mode to PC. Power off and hold Vol+ then connect. Also try to install latest Qualcomm drivers.
Msm tool
Download and use msm tool

How To Guide GUIDE FOR FLASHING A-TEAM GSI for moto g stylus 2022 5g family, moto 2021 family , moto G8 family, ECT with links to gsi roms and custom sock rom

EDIT : THIS ERROR ONLY HAPPENS ON WINDOWS. GO TO THE TELEGRAM GROUP IN THE BOTTOM LINK AND INSTALL PIZZAG'S MINT LINUX. AS IT HAS ADB AND FASTBOOT DRIVERS BAKED IN. ROMS FLASH FLAWLESSLY ON LINUX. IF YOU HAVE ANY PROBLEMS CONTACT THE DEVS VIA TELEGRAM.
C\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash boot boot.img
1031shadow said:
Sending 'boot_a' (98304 KB) OKAY [ 3.350s]
Writing 'boot_a' OKAY [ 1.409s]
Finished. Total time: 4.808s
ADD HERE fastboot reboot fastboot then it should reboot to twrp fast boot then the super.img will flash correctly
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash super super.img
Sending sparse 'super' 1/5 (774340 KB) OKAY [ 26.719s]
Writing 'super' OKAY [ 0.049s]
Sending sparse 'super' 2/5 (784673 KB) FAILED (Write to device failed (no link))
fastboot: error: Command failed
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase userdata
Erasing 'userdata' OKAY [ 0.016s]
Finished. Total time: 0.016s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase metadata
Erasing 'metadata' OKAY [ 0.016s]
Finished. Total time: 0.016s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO
ECHO is on.
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Flashing Should Be Finished
Device Flashing Should Be Finished
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Should Be Rebooting To Android
Device Should Be Rebooting To Android
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO
ECHO is on.
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO PRESS ENTER TO EXIT
PRESS ENTER TO EXIT
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>PAUSE
IF ANYONE HAS AN ERROR LIKE THE ONE ABOVE . WHERE EVERYTHING FLASHES
BUT SUPER.IMG or system a.img
edit the script and make this change
RIGHT CLICK THE SCRIPT THEN EDIT GO TO THE LINE AFTER
FASTBOOT FLASH BOOT BOOT.IMG AND ADD THIS fastboot reboot fastboot IT SHOULD LOOK LIKE THIS:
fastboot flash boot_a boot.img
ECHO
ECHO
fastboot reboot fastboot
ECHO
ECHO
SLEEP 2
fastboot flash system_a system.img
this fixes super.img (no link FAILED (Write to device failed (no link))
and system A.img (FAILED (Write to device failed (no link))
ALSO YOU SHOULD INSTALL SYSTEM WIDE ADB AND DOWNLOAD GOOGLES PLATFORM
(ON WINDOWS AND LINUX IF NOT ALREADY INSTALLED)
TOOLS AFTER INSTALL. GO TO THE ROOT OF YOUR HARD DRIVE IN THE ADB FLODER AND REPLACE THE ALL THE FILES THERE FOR THE ONES IN THE PLATFORM TOOLS YOU DOWNLOADED FROM GOOGLE. IF YOU HAVE A RYZEN CPU DOWNLOAD AND INSTALL THE FIXES FOR FASTBOOT
for system wide adb https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
credit goes to
Snoop05 for system wide adb
The new telegram account has several moto devices unified in one group they also have a chat room where other users and the actual devs will respond to your inquiries or you can message them directly on telegram.
Another thing is windows is trash if you want the best compatibility with the ROM flasher he provides you can install his mint Linux with adb and fastboot installed also has dump and build tool for those who like his ROMs .
the above error only happens in Windows I've tested on Linux and it works without having to edit the script
all credit goes to
A-Team @pizzaG
https://t.me/A_Team_Digital_Solutions
Thank you. !
Much appreciated on the links and detailed info.
1031shadow said:
FOR ANYONE WHO HAS THIS ERROR GO TO THE BOTTOM OF THE PAGE FOR FIX
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash boot boot.img
Sending 'boot_a' (98304 KB) OKAY [ 3.350s]
Writing 'boot_a' OKAY [ 1.409s]
Finished. Total time: 4.808s
ADD HERE fastboot reboot fastboot then it should reboot to twrp fast boot then the super.img will flash correctly
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot flash super super.img
Sending sparse 'super' 1/5 (774340 KB) OKAY [ 26.719s]
Writing 'super' OKAY [ 0.049s]
Sending sparse 'super' 2/5 (784673 KB) FAILED (Write to device failed (no link))
fastboot: error: Command failed
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase userdata
Erasing 'userdata' OKAY [ 0.016s]
Finished. Total time: 0.016s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot erase metadata
Erasing 'metadata' OKAY [ 0.016s]
Finished. Total time: 0.016s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>fastboot reboot
Rebooting OKAY [ 0.000s]
Finished. Total time: 0.000s
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO
ECHO is on.
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Flashing Should Be Finished
Device Flashing Should Be Finished
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO Device Should Be Rebooting To Android
Device Should Be Rebooting To Android
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO
ECHO is on.
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>ECHO PRESS ENTER TO EXIT
PRESS ENTER TO EXIT
C:\Users\dali\Downloads\KomodoOS_A12_Custom_GSI-Moto_G_Stylus_5G_2022_XT2215-4-v0.01>PAUSE
IF ANYONE HAS AN ERROR LIKE THE ONE ABOVE . WHERE EVERYTHING FLASHES
BUT SUPER.IMG or system a.img
edit the script and make this change
RIGHT CLICK THE SCRIPT THEN EDIT GO TO THE LINE AFTER
FASTBOOT FLASH BOOT BOOT.IMG AND ADD THIS fastboot reboot fastboot IT SHOULD LOOK LIKE THIS:
fastboot flash boot_a boot.img
ECHO
ECHO
fastboot reboot fastboot
ECHO
ECHO
SLEEP 2
fastboot flash system_a system.img
this fixes super.img (no link FAILED (Write to device failed (no link))
and system A.img (FAILED (Write to device failed (no link))
i contacted the developer for a fix but no reply so i fixed it myself i love these roms but very little help from the comunity so i did it myself ive been rooting for 12 years now so not a noob but not a dev
ALSO YOU SHOULD INSTALL SYSTEM WIDE ADB AND DOWNLOAD GOOGLES PLATFORM TOOLS AFTER INSTALL. GO TO THE ROOT OF YOUR HARD DRIVE IN THE ADB FLODER AND REPLACE THE ALL THE FILES THERE FOR THE ONES IN THE PLATFORM TOOLS YOU DOWNLOADED FROM GOOGLE. IF YOU HAVE A RYZEN CPU DOWNLOAD AND INSTALL THE FIXES FOR FASTBOOT
for system wide adb https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/
credit goes to
Snoop05 for system wide adb​
i also wanted to add i really appreciate the developers for this rom for even taking time to develop roms and root for this device i will be posting the links for their telegram to download custom gsi and custom stock roms it was almost impossible to find as of writing
all credit goes to
A-Team @pizzaG​ https://t.me/ATeamReleases
Click to expand...
Click to collapse
ATeamReleases is not found on Telegram right now.
Your right I'ma edit with new links
403 forbidden
https://forum.xda-developers.com/t/...vers-15-seconds-adb-installer-v1-4-3.2588979/

Categories

Resources