Hello folks,
I tried to flash a custom recovery on the Dell Streak (Stock, 2.2.2 351), and according to the fastboot output the image has been written to the partition.
However, if I go into the recovery menu and select "Update from pkg", it still shows the stock Dell Menu.
Am I doing something wrong? I'm using the following code to flash StreakModRecovery or Clockwork:
sudo fastboot -i 0x413c flash recovery recovery.img
And, like I said, it says that the image has been written to the storage. And is there another way to do nandroid backups? Like using "fastboot boot" (which doesn't work either for me, I get a "booting... FAILED (remote: invalid command)" error).
Thank you very much for your help!
Marc
Custom Recovery – Prevent Overwriting on Dell Streak
Thanks, now its working! :]]
Related
My phone is OEM unlocked but not rooted (secure boot - enable as so said in fastboot mode).
Basically my phone cannot get to bootup. It doesn't show "Google" on startup or "X" animation. it crashed yesterday and got stuck on the "X" screen animation. So tried to factory wipe and adb wipe stuff. and things gotten worse. And i need my phone urgently to work because i'm waiting for calls for job interviews. so this is an urgent request!
i tried the LG Google Nexus 4 toolkit to flash Google Stock image but i'm getting the error
"failed <remote: flash write failure>"
i can boot to Custom/Stock Recovery without Permenently Flashing it with Clockworkmod or TWRP.
i tried "update from ADB" option in Android system recovery with "adb sideload image-occam-jdq39.zip" and it's able to send it to the device, but i'm getting "Installation aborted"
I'm out of options and i'm really lost....please help!!
Can you flash a recovery using? :
Code:
fastboot flash recovery name-of-recovery.img
If you can, then download a rom and flash it through the recovery that you installed.
chromium96 said:
Can you flash a recovery using? :
Code:
fastboot flash recovery name-of-recovery.img
If you can, then download a rom and flash it through the recovery that you installed.
Click to expand...
Click to collapse
I'm getting the following error in CMD
sending 'recovery' <6398 KB>...
OKAY [ 0.405s ]
writing 'recovery' ....
FAILED <remote: flash write failure>
i'm trying to relock the device so i can replace it under warranty, but the device won't stay lock....wtf?
I'm selling my Nexus 7 and I think I got a little click happy while clearing it out.
I had reinstalled 4.3 and then for some reason I formatted the data. Got stuck in a boot loop.
When I try to install the image again I get the following:
Updating partition details...
E:error opening '/data/media'
E:error: no such file or directory
Any help would be appreciated!
"90% of the time, when someone says something's bricked, the only brick is their head." - Koush
All this means is that your userdata partition got all jacked up. It's restored when you boot into a rom, but of course you can't boot into a rom cause something else must have also went awry. So I suggest you wipe everything and start over. Follow along with me, this will be fun!
Boot into fastboot, send fastboot unlock command if your bootloader isn't already unlocked "fastboot oem unlock." Accept on screen. Reboot back into bootloader/fastboot. Issue FASTBOOT ERASE USERDATA, FASTBOOT ERASE RECOVERY, FASTBOOT ERASE CACHE, FASTBOOT ERASE SYSTEM. Then flash TWRP recovery using FASTBOOT FLASH RECOVERY [NAME OF TWRP GROUPER IMG]. Then adb push your rom and gapps back to your tablet using ADB PUSH [FILE] /SDCARD, then flash your rom and enjoy a fresh clean tablet!
That's why I prefixed with 'possible'...
Thanks - I followed this guide later in the evening and got it all up and going again.
http://goo.gl/BsiewY
0vermind said:
"90% of the time, when someone says something's bricked, the only brick is their head." - Koush
All this means is that your userdata partition got all jacked up. It's restored when you boot into a rom, but of course you can't boot into a rom cause something else must have also went awry. So I suggest you wipe everything and start over. Follow along with me, this will be fun!
Boot into fastboot, send fastboot unlock command if your bootloader isn't already unlocked "fastboot oem unlock." Accept on screen. Reboot back into bootloader/fastboot. Issue FASTBOOT ERASE USERDATA, FASTBOOT ERASE RECOVERY, FASTBOOT ERASE CACHE, FASTBOOT ERASE SYSTEM. Then flash TWRP recovery using FASTBOOT FLASH RECOVERY [NAME OF TWRP GROUPER IMG]. Then adb push your rom and gapps back to your tablet using ADB PUSH [FILE] /SDCARD, then flash your rom and enjoy a fresh clean tablet!
Click to expand...
Click to collapse
When I try to flash TWRP (via "fastboot flash recovery twrp.img" then "fastboot boot twrp.img") I receive the following error:
Downloading 'boot.img'
OKAY [1.477s]
booting...
FAILED (remote: dtb not found)
finished. total time: 1.534s
I've tried manually booting it into recovery with power button and volume down but it just freezes on the oneplus logo where I have to turn off and on again.
Any help is greatly appreciated!
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
that link just saved me!
I tried this recovery (I had the same problem as the OP) but although I can boot into twrp, I get stuck on the oneplus logo if I try a normal boot?
Sent from my Nexus 9 using XDA-Developers mobile app
I managed to get it working by flashing CM after flashing the recovery.
Sent from my Nexus 9 using XDA-Developers mobile app
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
pitrus- said:
Next time, correct command is the following:
Fastboot flash recovery twrp.img
You tried to flash the recovery image onto the kernel/boot partition, luckily it doesn't allow this, unless it's an actual kernel image fitting that partition. ?
Click to expand...
Click to collapse
Actually, fastboot boot twrp.img boots the TWRP image without flashing it.
fastboot flash recovery twrp.img flashes the TWRP image to the recovery partition.
Both are valid commands and have their uses.
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Spannaa said:
fastboot flash boot twrp.img would be the command to try to flash the recovery image to the boot partition and shouldn't be used.
Click to expand...
Click to collapse
That's exactly what I meant to convey.
Similar problem while flashing recovery
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
bhanuodin said:
hi,
After OOS3.0 installation my OP2`s recovery is not working. i tried installing it again and it shows the error :
FAILED <data Transfer failure <unknown error>>
Please help
Click to expand...
Click to collapse
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
pitrus- said:
Are you sure you flashed the correct OOS3 bootloader compatible version of TWRP? Latest official 3.0.0-2 should be compatible.
Click to expand...
Click to collapse
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
bhanuodin said:
how do i flash a bootloader? problem is that i am unable to flash/write on recovery partition. every time it gives the same error mentioned above.
Click to expand...
Click to collapse
The bootloader (also called fastboot) comes with the original ROM. In your case you're already on the newer bootloader since you flashed OOS3 which means you will have to flash recoverys and ROMs compatible with this newer bootloader.
This TWRP should be compatible
https://dl.twrp.me/oneplus2/twrp-3.0.2-1-oneplus2.img.html
Also you can't run ROMs not compatible with this newer bootloader (which means pretty much any ROM that's not using the official Cyanogenmod source tree for building). That is except for OOS3 or newest HOS of course since these are made for the newer bootloader.
However I would say the error message you get might be caused by bad cable, faulty driver setup, faulty fastboot tool version or in worst case damaged partition layout on phone. The last one can be fixed by the Qualcomm OOS2 factory restore solution.
Hi, i am having the same problem.
some background: I was on Oxygen OS 2.x.x, i wanted to upgrade to Exodus 6. I had the older version of TWRP. So I tryed to install the new twrp image within twrp. When i rebooted i couldnt boot into twrp, receiving the same error message as in OP title, when using fastboot.
Using the tool all in one toolkit I was able to flash stock recovery.
But I still cant flash Twrp.
I can still boot into system though.
Any advice? Thanks.
That explains why you're having problems. You're doing it the wrong way.
First you must upgrade the bootloader by either flashing the convert to Marshmallow zip file which also installs the correct TWRP for the new bootloader (easiest way). Or you could flash the latest official OOS3, then fastboot flash the latest TWRP and from there format system and flash the ROM that's using the newer bootloader.
Does that Link work with oneplus x also? Having same problem as Higgings when trying to install twrp and cyanogenmod.
thnx a lot for sharing
:good:
Higgings said:
I found the solution.
For anyone else with this problem
http://forum.xda-developers.com/showpost.php?p=66336492&postcount=3
Click to expand...
Click to collapse
:crying::crying:can't able to flash twrp recovery image after all my bootloader is also unlocked it always shows (target max-sparse-size: 256MB
error: cannot load 'twrp.img': No error).......please help me what should i do...plzz help me developer, members plzz.:crying::crying:
Sounds like you're using an older version of fastboot. Try this one https://www.dropbox.com/s/bc1k1lol9nudy68/fastboot.zip?dl=0
Explain the steps you undertook to flash TWRP via fastboot.
If you haven't used the following,
fastboot flash recovery TWRP.xxxxxxx.img
fastboot boot TWRP.xxxxxx.img
where TWRP.xxxxxx.img is the name of the image file (while typing, pressing TAB after typing t autocompletes it, so that should help). I believe there is where you're going wrong.
Bros!
I am in serious need of help right now.
I could not find the OTA patch for elite roms,so I wiped all the partitions available in twrp except internal storage.
Changed data to ext4.
Flashed stock recovery.img from twrp and proceeded to dload method, it gives an error on 5 percent.
Now i only have stock recovery and fastbooot.
I tried fastboot flashing different images eg recovery,twrp,system,vendor etc but they all give an error of "command not allowed".
(On fastboot screen,it shows: "phone unlocked" and "frp lock")
I tried some guide for solving this error which said to "fastboot oem relock *16 digit code*" but it also gives error : "root type is risk".
I had legend rom installed before starting all this.I wanted to go completely back to stock.But now i have bricked my device with a stock recovery and a fastboot which can apparently get no useful command to work.i have searched all the google for all the the different huawei devices but nothing is working.
Help me please!!!Any and help will be appreciated!!
Model before any moddingRA-LA1
Salman Farooq01 said:
Bros!
I am in serious need of help right now.
I could not find the OTA patch for elite roms,so I wiped all the partitions available in twrp except internal storage.
Changed data to ext4.
Flashed stock recovery.img from twrp and proceeded to dload method, it gives an error on 5 percent.
Now i only have stock recovery and fastbooot.
I tried fastboot flashing different images eg recovery,twrp,system,vendor etc but they all give an error of "command not allowed".
(On fastboot screen,it shows: "phone unlocked" and "frp lock")
I tried some guide for solving this error which said to "fastboot oem relock *16 digit code*" but it also gives error : "root type is risk".
I had legend rom installed before starting all this.I wanted to go completely back to stock.But now i have bricked my device with a stock recovery and a fastboot which can apparently get no useful command to work.i have searched all the google for all the the different huawei devices but nothing is working.
Help me please!!!Any and help will be appreciated!!
Model before any moddingRA-LA1
Click to expand...
Click to collapse
Are you able to flash TWRP?
@dmilz yes, unsuccessfully
Salman Farooq01 said:
@dmilz yes, unsuccessfully
Click to expand...
Click to collapse
What does it say when you
Fastboot flash recovery recovery.IMG
?
Rename TWRP to recovery ( according to my experience, I get error when recovery has other name)..
If that fails use firmware finder to download firmwares..try them all if possible..including different models of the same Honor (in case OEM changed)
dmilz said:
What does it say when you
Fastboot flash recovery recovery.IMG
?
Rename TWRP to recovery ( according to my experience, I get error when recovery has other name)..
If that fails use firmware finder to download firmwares..try them all if possible..including different models of the same Honor (in case OEM changed)
Click to expand...
Click to collapse
"Comman not allowed"
There are 3 files in available to download in ff.How to flash them ?