Recovery boot problems - OnePlus X Q&A, Help & Troubleshooting

Hey I wanted to restore my OPX back to the OxygenOS and the stock recovery. I Somehow ****ed up and now only fastboot is booting.
Here is the fastboot log:
Code:
C:\Users\Fifi\Downloads>fastboot devices
5c9c4816 fastboot
C:\Users\Fifi\Downloads>fastboot erase recovery
erasing 'recovery'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Fifi\Downloads>fastboot format cache
erasing 'cache'...
OKAY [ 0.047s]
formatting 'cache' partition...
Creating filesystem with parameters:
Size: 536870912
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 2048
Label:
Blocks: 131072
Block groups: 4
Reserved block group size: 31
Created filesystem with 11/32768 inodes and 4206/131072 blocks
sending 'cache' (10432 KB)...
writing 'cache'...
OKAY [ 0.641s]
finished. total time: 0.688s
C:\Users\Fifi\Downloads>fastboot oem device-info
...
(bootloader) Device tampered: false
(bootloader) Device unlocked: true
(bootloader) Charger screen enabled: false
(bootloader) Display panel:
(bootloader) console_enabled: 0
(bootloader) exec_console_unconsole: 0
OKAY [ 0.016s]
finished. total time: 0.016s
C:\Users\Fifi\Downloads>fastboot flash recovery recovery.img
target reported max download size of 1073741824 bytes
sending 'recovery' (16384 KB)...
OKAY [ 0.531s]
writing 'recovery'...
OKAY [ 0.297s]
finished. total time: 0.828s
C:\Users\Fifi\Downloads>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
OKAY [ 0.047s]
finished. total time: 0.047s
C:\Users\Fifi\Downloads>fastboot boot recovery.img
downloading 'boot.img'...
OKAY [ 0.531s]
booting...
FAILED (remote: dtb not found)
finished. total time: 0.578s
I hope you can help. Thanks

Use this command in fastboot.
Fastboot boot recovery recovery.img
Sent from my XT1022 using Tapatalk

That gives me the same Error:
FAILED (remote: dtb not found)

I found that the Error often comes up when the recovery.img is corrupted or wrong.
I tried a lot of different download for different OPX recoverys, all the same error.

I tried to re lock and to re unlock the bootloader. First worked, the unlock did not. So i cant accsess the phone at all.
Ill close this thread and send the phone to Oneplus.
EDIT... Dont know how to close this.

Well yeah that error usually ocuurs when the recovery file is corrupted or is for a different device.
You can try to flash stock recovery once.
Sent from my XT1022 using Tapatalk

Struck at 1+ logo
Hello developers,
I have rooted OPX and stock rom.
I am struck at 1+ logo after rebooting,
tried flashing recovery again since the recovery.img I just flashed is not working,
Device bootloader not unlocked and I cannot unlock it as phones gets struck at 1+ logo.
Please Help friends....

Related

system crashed pls help

hey guys
I do some wrong
I try to factory reset on my n9 and after this everthing goes wrong
my bootloader is locked and I can't unlock it
if I try I get (bootloader) Permission denied for this command!
and my n9 stuck in a bootloop
c:\android-sdk-windows\platform-tools>fastboot oem unlock
< waiting for device >
...
(bootloader) ability is 0
(bootloader) Permission denied for this command!
OKAY [ -0.000s]
finished. total time: -0.000s
Checking Bootloader Lock State + Tamper Flag:
---------------------------------------------
...
(bootloader) [ERR] Command error !!!
OKAY [ 0.006s]
finished. total time: 0.007s
Click to expand...
Click to collapse
I try to flash the bootloader from bootloader-flounder-3.43.0.0114.img and this dont work after this I try to flash the bootloader
bootloader-hammerhead-hhz12d.img but this also not work -.-
now I have no system on my n9 no recovery on it
someone has a idea what I can do?
In fastboot try,
fastboot format cache
fastboot format userdata
Sent from my Nexus 9 using XDA Free mobile app
fastboot format cache I get this
Code:
C:\WINDOWS\system32>fastboot format cache
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
target reported max download size of 518205818 bytes
erasing 'cache'...
(bootloader) Device State : Locked
FAILED (remote: Can not erase any partition while device state is locked!)
finished. total time: 0.157s
and by fastboot format userdata
Code:
C:\WINDOWS\system32>fastboot format userdata
Formatting is not supported for filesystem with type 'f2fs'.
Try holding the volume down button, booting into Fastboot, then running WugFresh Nexus Root Toolkit http://forum.xda-developers.com/nexus-9/development/toolkit-wugs-nexus-root-toolkit-v1-9-8-t2945451 with 'Flash Stock/Unroot' and 'Soft-bricked/bootload'' option then in the next window '5.0.2 Android' and 'Force Flash Mode'
Can't promise it'll work but worth a try.
@kedarrWolf I tryed your way but it dosn'T work
Code:
target reported max download size of 518205818 bytes
erasing 'system'...
(bootloader) Device State : Locked
FAILED (remote: Can not erase any partition while device state is locked!)
finished. total time: 0.141s
rebooting into bootloader...
OKAY [ 0.016s]
finished. total time: 0.016s

Softbricked Nexus 9

Hello, I need help.
I have a Nexus 9 Wifi 16gb black. It was a gift from Google in USA, but I live in Uruguay.
THe problem is:
Yesterday I tried to install Android M (with unlocked bootloader).
Then, installed supersu..
After rebooted I was seeing "Your device is corrupt." and a bootloop.
So, I locked the bootloader, maybe that was the cause of bootloop (ofc no. I figured out it wasnt....)
And I can't do anythig, I can't access to Android to enable the oem unlock option.
I don't have a custom recovery..
I entered in "oem verified" mode, and was able to format userdata/cache partitions. But still the problem...
Here is what I've been trying to do
Code:
[email protected]:~/Descargas$ fastboot oem unlock
...
(bootloader) ability is 0
(bootloader) Permission denied for this command!
OKAY [ 0.007s]
finished. total time: 0.007s
[email protected]:~/Descargas$ fastboot flash recovery twrp-2.8.7.0-flounder.img
target reported max download size of 518205818 bytes
sending 'recovery' (13320 KB)...
OKAY [ 1.022s]
writing 'recovery'...
(bootloader) Device State : Locked
FAILED (remote: Can not flash any images while device state is locked!)
finished. total time: 1.161s
[email protected]:~/Descargas$ fastboot oem verified
...
(bootloader) Start Verify: 0
(bootloader) [hboot query] query 24 is not implemented
(bootloader) [hboot query] query 24 is not implemented
(bootloader) Start Verify: 0
(bootloader) [hboot query] query 24 is not implemented
(bootloader) [hboot query] query 24 is not implemented
(bootloader) Device is in veified state!
OKAY [ 2.600s]
finished. total time: 2.600s
[email protected]:~/Descargas$ fastboot flash recovery twrp-2.8.7.0-flounder.img
target reported max download size of 518205818 bytes
sending 'recovery' (13320 KB)...
OKAY [ 1.017s]
writing 'recovery'...
(bootloader) Device State : Verified
FAILED (status read failed (Value too large for defined data type))
finished. total time: 6.447s
[email protected]:~/Descargas$ fastboot format userdat
Formatting is not supported for filesystem with type ''.
[email protected]:~/Descargas$ fastboot format userdata
Cannot generate image.
erasing 'userdata'...
OKAY [ 2.415s]
finished. total time: 2.415s
[email protected]:~/Descargas$ fastboot format cache
Creating filesystem with parameters:
Size: 268435456
Block size: 4096
Blocks per group: 32768
Inodes per group: 8192
Inode size: 256
Journal blocks: 1024
Label:
Blocks: 65536
Block groups: 2
Reserved block group size: 15
Created filesystem with 11/16384 inodes and 2089/65536 blocks
target reported max download size of 518205818 bytes
erasing 'cache'...
OKAY [ 0.463s]
sending 'cache' (6248 KB)...
OKAY [ 0.482s]
writing 'cache'...
(bootloader) Device State : Verified
OKAY [ 0.637s]
finished. total time: 1.583s
[email protected]:~/Descargas$
:-/
And stil the problem.
Can someone help me?
-Sorry for my bad english-
Greetings
If no way, how to contact Google for reparation? Is there any email?
You should not have relocked bootloader. It needs to be unlocked to do anything if it will not boot. "Enable oem unlock" must be checked.

Moto E bricked...

Hi everyone! I have a problem with my Moto E XT1021. Some time ago I updated my device to Lollipop. Everything was ok but after a while it stopped working... Meantime I changed my device, so i put my Moto E in a drawer! Now I wanna use it again, but I have a lot of problem with fastboot (that's the only stage that works on my phone).
I tried to repeat the process for install the original firmware (http://forum.xda-developers.com/showthread.php?t=2755857) but i had always the same errors:
Code:
[email protected]:# fastboot flash partition gpt.bin
target reported max download size of 299892736 bytes
sending 'partition' (32 KB)...
OKAY [ 0.072s]
writing 'partition'...
(bootloader) Preflash validation failed
[COLOR="Red"]FAILED[/COLOR] (remote failure)
finished. total time: 0.650s
[email protected]:# fastboot flash motoboot motoboot.img
target reported max download size of 299892736 bytes
sending 'motoboot' (1669 KB)...
OKAY [ 0.149s]
writing 'motoboot'...
(bootloader) flashing tz ...
(bootloader) flashing rpm ...
(bootloader) flashing sdi ...
(bootloader) flashing aboot ...
(bootloader) flashing sbl1 ...
OKAY [ 3.263s]
finished. total time: 3.412s
[email protected]:# fastboot flash logo logo.bin
target reported max download size of 299892736 bytes
sending 'logo' (527 KB)...
OKAY [ 0.113s]
writing 'logo'...
OKAY [ 0.155s]
finished. total time: 0.268s
[email protected]:# fastboot flash boot boot.img
target reported max download size of 299892736 bytes
sending 'boot' (10200 KB)...
OKAY [ 0.411s]
writing 'boot'...
(bootloader) Preflash validation failed
[COLOR="red"]FAILED[/COLOR] (remote failure)
finished. total time: 1.121s
[email protected]:# fastboot flash recovery recovery.img
target reported max download size of 299892736 bytes
sending 'recovery' (10280 KB)...
OKAY [ 0.412s]
writing 'recovery'...
OKAY [ 1.785s]
finished. total time: 2.197s
[email protected]:# fastboot flash system system.img_sparsechunk.0
target reported max download size of 299892736 bytes
sending 'system' (242987 KB)...
OKAY [ 7.674s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
[COLOR="red"]FAILED[/COLOR] (remote failure)
finished. total time: 8.332s
[email protected]:# fastboot flash system system.img_sparsechunk.1
target reported max download size of 299892736 bytes
sending 'system' (256535 KB)...
OKAY [ 8.104s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
[COLOR="red"]FAILED[/COLOR] (remote failure)
finished. total time: 8.188s
[email protected]:# fastboot flash system system.img_sparsechunk.2
target reported max download size of 299892736 bytes
sending 'system' (257126 KB)...
OKAY [ 8.121s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
[COLOR="red"]FAILED[/COLOR] (remote failure)
finished. total time: 8.183s
[email protected]:# fastboot flash system system.img_sparsechunk.3
target reported max download size of 299892736 bytes
sending 'system' (45848 KB)...
OKAY [ 1.515s]
writing 'system'...
(bootloader) Invalid signed image
(bootloader) Preflash validation failed
[COLOR="red"]FAILED[/COLOR] (remote failure)
finished. total time: 1.570s
[email protected]:# fastboot flash modem NON-HLOS.bin
target reported max download size of 299892736 bytes
sending 'modem' (46232 KB)...
OKAY [ 1.531s]
writing 'modem'...
OKAY [ 4.763s]
finished. total time: 6.294s
[email protected]:# fastboot erase modemst1
erasing 'modemst1'...
OKAY [ 0.055s]
finished. total time: 0.055s
[email protected]:# fastboot erase modemst2
erasing 'modemst2'...
OKAY [ 0.054s]
finished. total time: 0.054s
[email protected]:# fastboot flash fsg fsg.mbn
target reported max download size of 299892736 bytes
sending 'fsg' (648 KB)...
OKAY [ 0.110s]
writing 'fsg'...
OKAY [ 0.165s]
finished. total time: 0.275s
[email protected]:# fastboot erase cache
erasing 'cache'...
OKAY [ 0.369s]
finished. total time: 0.369s
After few try i unlocked bootloader, and the process was done ok (also if i read "Device is locked. Status code:0" is it normal?).
I tried to flash CWM or TWRP but without success. Always the same error: failed to validate system image.
Someone can help me?
Sorry for my english...
superazo said:
Hi everyone! I have a problem with my Moto E XT1021. Some time ago I updated my device to Lollipop. Everything was ok but after a while it stopped working... Meantime I changed my device, so i put my Moto E in a drawer! Now I wanna use it again, but I have a lot of problem with fastboot (that's the only stage that works on my phone).
I tried to repeat the process for install the original firmware (http://forum.xda-developers.com/showthread.php?t=2755857) but i had always the same errors:
After few try i unlocked bootloader, and the process was done ok (also if i read "Device is locked. Status code:0" is it normal?).
I tried to flash CWM or TWRP but without success. Always the same error: failed to validate system image.
Someone can help me?
Sorry for my english...
Click to expand...
Click to collapse
First unlock bootloader then flash twrp
What steps u r using to flash TWRP??
Ujwal Agrawal said:
What steps u r using to flash TWRP??
Click to expand...
Click to collapse
If you already unlocked boot loader
Then flash twrp in fastboot command
Fastboot flash recovery twrp.3.x.x.img
Rajendran Rasa said:
First unlock bootloader then flash twrp
Click to expand...
Click to collapse
I unlocked bootloader (with this guide: http://forum.xda-developers.com/showthread.php?t=2753110) then i tried flash recovery with this guide: http://forum.xda-developers.com/moto-e/general/root-moto-e-rooting-flashing-recovery-t2802971.
I tried with CWM and TWRP too!
superazo said:
I unlocked bootloader (with this guide: http://forum.xda-developers.com/showthread.php?t=2753110) then i tried flash recovery with this guide: http://forum.xda-developers.com/moto-e/general/root-moto-e-rooting-flashing-recovery-t2802971.
I tried with CWM and TWRP too!
Click to expand...
Click to collapse
https://dl.twrp.me/condor/
Try the latest TWRP
Ujwal Agrawal said:
Try the latest TWRP
Click to expand...
Click to collapse
Tried...
Code:
fastboot flash recovery twrp-3.0.2-0-condor.img
target reported max download size of 299892736 bytes
sending 'recovery' (6808 KB)...
OKAY [ 0.244s]
writing 'recovery'...
(bootloader) Preflash validation failed
FAILED (remote failure)
finished. total time: 0.295s
If I reboot and go to "Recovery" voice:
Code:
failed to validate system image
Boot up failed

Fastboot G5NPFP026657RFA

Hi,
I am trying to revive my Asus and running into following problem. I read multiple threads and forums and have executed multiple commands in cmd fastboot. Getting following errors:
First I was running into error that "vrl needs to be flashed" which I found a correct (I hope) file and flashed the vrl, and then flashed CM13 or stock ROM from Asus website. Which fastboot returns with "OKAY flashed partition system. Time 28 seconds" Still wont boot and stuck on boot logo.
C:\adb>fastboot devices
G5NPFP026657RFA fastboot
C:\adb>fastboot flash system UL-P023-CN-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
erasing 'system'...
(bootloader) Erasing partition: system
OKAY [ 0.031s]
sending 'system' (907352 KB)...
(bootloader) Ready to receive: 0x376162fc size of data
OKAY [ 28.448s]
writing 'system'...
(bootloader) Flashing partition: system
FAILED (remote: VRL need to be flashed!)
finished. total time: 28.511s
C:\adb>fastboot flash vrl vrl2.bin
(bootloader) vrl partition type: raw
target reported max download size of 1019215872 bytes
sending 'vrl' (128 KB)...
(bootloader) Ready to receive: 0x00020000 size of data
OKAY [ 0.016s]
writing 'vrl'...
(bootloader) Flashing partition: vrl
OKAY [ 0.078s]
finished. total time: 0.094s
C:\adb>fastboot flash system UL-P023-CN-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
erasing 'system'...
(bootloader) Erasing partition: system
OKAY [ 0.047s]
sending 'system' (907352 KB)...
(bootloader) Ready to receive: 0x376162fc size of data
OKAY [ 28.424s]
writing 'system'...
(bootloader) Flashing partition: system
OKAY [ 0.031s]
finished. total time: 28.518s
C:\adb>fastboot reboot
rebooting...
finished. total time: 0.016s
Any of the senior members or other who have more knowledge, please shade some light here and tell me what am I doing wrong??
I also get below error at times, and my computer gets stuck every time I execute below command and it takes forever for it to get back to working by itself unless I try to close the application.
C:\adb>fastboot update system "C:\adb\UL-P023-WW-4.7.3.0-user.zip"
W/ ( 448): Unable to open 'system': No such file or directory
error: failed to open zip file 'system': I/O Error
C:\adb>fastboot flash system UL-P023-WW-4.7.3.0-user.zip
(bootloader) system partition type: ext4
target reported max download size of 1019215872 bytes
Invalid sparse file format at header magi
error: write_sparse_skip_chunk: don't care size 175719111 is not a multiple of t
he block size 4096
erasing 'system'...
FAILED (command write failed (Invalid argument))
finished. total time: 1.102s
Very much keen to read some good replies. Thanks in advance guys.

fastboot: FAILED (remote: cannot flash this partition in unlocked state)

Hi,
Can someone clarify what this message means and why fastboot is failing?
Thanks
Code:
# fastboot flash aboot aboot_300032.bin
target reported max download size of 536870912 bytes
sending 'aboot' (1024 KB)...
OKAY [ 0.036s]
writing 'aboot'...
FAILED (remote: cannot flash this partition in unlocked state)
finished. total time: 0.038s
Probably because your phone has unlocked bootloader and needs to be locked .
Instruction how to do that .
https://www.google.rs/amp/s/www.theandroidsoul.com/relock-bootloader-fastboot-android/amp/
Good luck : )
Any ideas how to solve this catch 22? I mean other than using the LG Flash Tool or LG UP. I didn't much success with them.
Thanks
Code:
# fastboot flash modem modem_16384.bin
target reported max download size of 536870912 bytes
sending 'modem' (86016 KB)...
OKAY [ 2.749s]
writing 'modem'...
FAILED (remote: cannot flash this partition in unlocked state)
finished. total time: 2.750s
# fastboot oem lock
...
(bootloader) Erasing userdata and cache
OKAY [ 1.881s]
finished. total time: 1.882s
# fastboot flash modem modem_16384.bin
target reported max download size of 536870912 bytes
sending 'modem' (86016 KB)...
OKAY [ 2.775s]
writing 'modem'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 2.776s
greerdd said:
Any ideas how to solve this catch 22? I mean other than using the LG Flash Tool or LG UP. I didn't much success with them.
Thanks
Code:
# fastboot flash modem modem_16384.bin
target reported max download size of 536870912 bytes
sending 'modem' (86016 KB)...
OKAY [ 2.749s]
writing 'modem'...
FAILED (remote: cannot flash this partition in unlocked state)
finished. total time: 2.750s
# fastboot oem lock
...
(bootloader) Erasing userdata and cache
OKAY [ 1.881s]
finished. total time: 1.882s
# fastboot flash modem modem_16384.bin
target reported max download size of 536870912 bytes
sending 'modem' (86016 KB)...
OKAY [ 2.775s]
writing 'modem'...
FAILED (remote: device is locked. Cannot flash images)
finished. total time: 2.776s
Click to expand...
Click to collapse
I have the same problem. Did u solve this ?
exact same problem, is there any solution exist?

Categories

Resources