when I try to flash twrp.img I get this error - Essential Phone Questions & Answers

why do I keep getting this error when trying to flash twrp? I'm on lineage 14.1
C:\Users\spam1\Desktop\Minimal ADB and Fastboot>fastboot flash boot twrp-mata_6.img
target didn't report max-download-size
sending 'boot' (32124 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.123s
Thanks

I had this same problem. Have you tried "fastboot -w" before attempting to flash twrp?

Try android studio tools, outdated ADB/fastboot was an issue when I was on the pixel xl due to the partitions

Jaysonvstel said:
I had this same problem. Have you tried "fastboot -w" before attempting to flash twrp?
Click to expand...
Click to collapse
I'll try that once I get home. All I did was the update and lost root and recovery

networx2002 said:
I'll that that once I get home. All I did was the update and lost root and recovery
Click to expand...
Click to collapse
It will rested the phone, so backup.

DaveHTC200 said:
Try android studio tools, outdated ADB/fastboot was an issue when I was on the pixel xl due to the partitions
Click to expand...
Click to collapse
Here is the link for OP.
https://dl.google.com/android/repository/platform-tools-latest-windows.zip

I just got home and wanted to tried and flash twrp recovery before I fastboot -w" it and it worked... LOL who knows!

I have the same problem. I tried many times, many methods found online, including swapping USB port, cables, and tried fastboot -w. Neither of them works...

heximing said:
I have the same problem. I tried many times, many methods found online, including swapping USB port, cables, and tried fastboot -w. Neither of them works...
Click to expand...
Click to collapse
Me too, can't figure it out..

networx2002 said:
why do I keep getting this error when trying to flash twrp? I'm on lineage 14.1
C:\Users\spam1\Desktop\Minimal ADB and Fastboot>fastboot flash boot twrp-mata_6.img
target didn't report max-download-size
sending 'boot' (32124 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.123s
Thanks
Click to expand...
Click to collapse
Try changing USB port or use a different USB cable. The is known to solve the issue.
Also once you are in fastbot, reboot again into fastboot using "fastboot reboot bootloader"
And the flash TWRP image
If you still get the error, install Fastboot drivers from Essential website.

networx2002 said:
why do I keep getting this error when trying to flash twrp? I'm on lineage 14.1
C:\Users\spam1\Desktop\Minimal ADB and Fastboot>fastboot flash boot twrp-mata_6.img
target didn't report max-download-size
sending 'boot' (32124 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.123s
Thanks
Click to expand...
Click to collapse
Jaysonvstel said:
I had this same problem. Have you tried "fastboot -w" before attempting to flash twrp?
Click to expand...
Click to collapse
DaveHTC200 said:
Try android studio tools, outdated ADB/fastboot was an issue when I was on the pixel xl due to the partitions
Click to expand...
Click to collapse
heximing said:
I have the same problem. I tried many times, many methods found online, including swapping USB port, cables, and tried fastboot -w. Neither of them works...
Click to expand...
Click to collapse
dsulps said:
Me too, can't figure it out..
Click to expand...
Click to collapse
Use the adb/fastboot from the drivers from essential. It sets environment variable in Windows. Uninstall any other adb/fastboot, and check your environment path to make sure only essential bone is there.
You could easily brick your phone using the wrong adb/fastboot. Beware of dragons and such.

Did that, but somehow it didn't help. Tried a different computer, installed the essential drivers, and used the cable that came with the phone; everything went smoothly. Still don't know what the problem was, the first computer does not have any fastboot/adb in the path variable, after removing the essential drivers, but I suppose the problem's solved, for now. Thanks everyone!

dsulps said:
Did that, but somehow it didn't help. Tried a different computer, installed the essential drivers, and used the cable that came with the phone; everything went smoothly. Still don't know what the problem was, the first computer does not have any fastboot/adb in the path variable, after removing the essential drivers, but I suppose the problem's solved, for now. Thanks everyone!
Click to expand...
Click to collapse
It's Essential voodoo...
@aer0zer0
devnull advocates a PC reboot with the device unplugged, run the command, then plug the device in while "Waiting for device..." And it has worked for me twice when fastboot was drunk

rignfool said:
It's Essential voodoo...
@aer0zer0
devnull advocates a PC reboot with the device unplugged, run the command, then plug the device in while "Waiting for device..." And it has worked for me twice when fastboot was drunk
Click to expand...
Click to collapse
Oh sure, but the bigger question is, why is fastboot drunk to begin with?

aer0zer0 said:
Oh sure, but the bigger question is, why is fastboot drunk to begin with?
Click to expand...
Click to collapse
Because it got into your liquor cabinet?

rignfool said:
Because it got into your liquor cabinet?
Click to expand...
Click to collapse
so fastboot says its hammertime

aer0zer0 said:
so fastboot says its hammertime
Click to expand...
Click to collapse
More like...
"Can't Touch This"

Related

wifi Xoom 3.1 unlocking bootloader error...

I've followed all the guides to a T. and my SDK is able to run nicely. However, once I've made contact w/ my device in 'usb debugging mode', tested the connection w/ "adb devices" in command prompt, and set the device to bootloader w/ the "adb reboot bootloader" command, and finally I give it the command to "fastboot oem unlock", I get an unknown error!! Please help. I have all the path variables set, and my SDK is running good, and has all the newest updates.
This is a link to a video I made of the problem. Please watch. It'll help if you can see the problem! just copy paste into search bar - youtube.com/watch?v=2bROUZh7GRI
Thanks for your responses. I hope they come quickly!
V0nice said:
I've followed all the guides to a T. and my SDK is able to run nicely. However, once I've made contact w/ my device in 'usb debugging mode', tested the connection w/ "adb devices" in command prompt, and set the device to bootloader w/ the "adb reboot bootloader" command, and finally I give it the command to "fastboot oem unlock", I get an unknown error!! Please help. I have all the path variables set, and my SDK is running good, and has all the newest updates.
This is a link to a video I made of the problem. Please watch. It'll help if you can see the problem! just copy paste into search bar - youtube.com/watch?v=2bROUZh7GRI
Thanks for your responses. I hope they come quickly!
Click to expand...
Click to collapse
OK, I will first say that I'm not an expert, but have gone through this process and have had to use ADB a number of times, so
1) why did you copy all the platform tools into tools folder? It should be otherway around, but clearly you have it working, so OK with that,
2) do you have all the files you need in your tools folder (since that's what you are using)?
3) are you using the proper syntax? No additional spaces where they don't belong, and so on?
4) are you getting any messages at all on the Xoom itself when you enter these commands?
5) Review all of your steps. Start over. If no luck, why not try to chat with experts on Xoom Channel on IRC? Maybe they can help you pinpoint the problem.
It doesn't seem serious but I think you've maybe missed a step in your prep work or have something simple turned around.
Good luck.
-copied to tools folder, because that's what I was directed to do... Guess it works either way.
-I do have all the files needed.
-How do I know if I'm using proper Syntax or not? that might be where I went wrong. But idk...
-No messages AT ALL on the xoom screen. (actually, 1 time out of the hundreds of times, Below the 'fastboot' words, I got red words that said cannot process command, or something like that.)
okantomi said:
OK, I will first say that I'm not an expert, but have gone through this process and have had to use ADB a number of times, so
1) why did you copy all the platform tools into tools folder? It should be otherway around, but clearly you have it working, so OK with that,
2) do you have all the files you need in your tools folder (since that's what you are using)?
3) are you using the proper syntax? No additional spaces where they don't belong, and so on?
4) are you getting any messages at all on the Xoom itself when you enter these commands?
5) Review all of your steps. Start over. If no luck, why not try to chat with experts on Xoom Channel on IRC? Maybe they can help you pinpoint the problem.
It doesn't seem serious but I think you've maybe missed a step in your prep work or have something simple turned around.
Good luck.
Click to expand...
Click to collapse
-copied to tools folder, because that's what I was directed to do... Guess it works either way.
-I do have all the files needed.
-How do I know if I'm using proper Syntax or not? that might be where I went wrong. But idk...
-No messages AT ALL on the xoom screen. (actually, 1 time out of the hundreds of times, Below the 'fastboot' words, I got red words that said cannot process command, or something like that.)
Ok. I'm unlocked now. New problem... >.< There's always something!! now when I try to flash the recovery image, I get an unknown error.
"C:\AndroidSDK\tools>fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.
img
sending 'recovery' (3998 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\AndroidSDK\tools>"
Anyone recognize why it would do this?
V0nice said:
Ok. I'm unlocked now. New problem... >.< There's always something!! now when I try to flash the recovery image, I get an unknown error.
"C:\AndroidSDK\tools>fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.
img
sending 'recovery' (3998 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\AndroidSDK\tools>"
Anyone recognize why it would do this?
Click to expand...
Click to collapse
Do you know what you did to be able to unlock? I think you really have to be careful to type commands EXACTLY as shown. No extra spaces, but don't leave anything out either. Looks like commands aren't typed in correctly. Take your time. You'll do it.
V0nice said:
Ok. I'm unlocked now. New problem... >.< There's always something!! now when I try to flash the recovery image, I get an unknown error.
"C:\AndroidSDK\tools>fastboot flash recovery recovery-Tiamat-R4c-100611-1150-cwm.
img
sending 'recovery' (3998 KB)...
FAILED (command write failed (Unknown error))
finished. total time: 0.636s
C:\AndroidSDK\tools>"
Anyone recognize why it would do this?
Click to expand...
Click to collapse
I had this error followed by "unknown partition". When I tried fastboot boot recovery.img, it would say it could not access recovery. I deleted every partition and sent the device the stock imgs. Recovery would still fail.
STRANGELY ENOUGH, I rebooted my PC, unplugged the cable from the Xoom, let the device boot, changed USB debugging to on (stock unchecked it when imaged), and it took the recovery flash that time. I can't explain why, but it worked for me.
eqppwqqep said:
I had this error followed by "unknown partition". When I tried fastboot boot recovery.img, it would say it could not access recovery. I deleted every partition and sent the device the stock imgs. Recovery would still fail.
STRANGELY ENOUGH, I rebooted my PC, unplugged the cable from the Xoom, let the device boot, changed USB debugging to on (stock unchecked it when imaged), and it took the recovery flash that time. I can't explain why, but it worked for me.
Click to expand...
Click to collapse
So is everything ok now?
okantomi said:
So is everything ok now?
Click to expand...
Click to collapse
Yes. I am not rooted. am I supposed to change the thread to solved or something?
different error on trying to flash this recovery
I get a strange error when trying to "fastboot flash recovery-Tiamat-R4c-100611-1150-cwm.img I get:
error: cannot determine image filename for 'recovery-Tiamat-R4c-100611-1150-cwm.img
The file is there. In fact I have used this file before. Am I really hosed. Any ideas.
jesmitty said:
I get a strange error when trying to "fastboot flash recovery-Tiamat-R4c-100611-1150-cwm.img I get:
error: cannot determine image filename for 'recovery-Tiamat-R4c-100611-1150-cwm.img
The file is there. In fact I have used this file before. Am I really hosed. Any ideas.
Click to expand...
Click to collapse
If you haven't already. Delete the .img file. and reinstall it. try the process again.
make sure you're inputting the full command prompt from the beginning. That was my problem. Hope that helps.
jesmitty said:
I get a strange error when trying to "fastboot flash recovery-Tiamat-R4c-100611-1150-cwm.img I get:
error: cannot determine image filename for 'recovery-Tiamat-R4c-100611-1150-cwm.img
The file is there. In fact I have used this file before. Am I really hosed. Any ideas.
Click to expand...
Click to collapse
fastboot flash recovery(you missed this) recovery-Tiamat-R4c-100611-1150-cwm.im

KindleFire Partitions error? [Still not fixed]

When I flashed a kernel I did boot boot.img first and it worked so I did flash boot boot.img with fastboot. Well that didn't work. So I just got the other boot.img for cm7 and tryed to do that. Well I got this error:
C:\adb>fastboot flash boot boot.img
sending 'boot' (3196 KB)... OKAY [ 0.875s]
writing 'boot'... FAILED (remote: partition does not exist)
finished. total time: 0.885s
When a wipe is issued:
C:\adb>fastboot -w
erasing 'userdata'... FAILED (remote: : partition doesn't exist)
finished. total time: 0.002s
I am in fastboot but I can not get into twrp2 because when I hold down the power button to enter recovery it just turns amber and just hangs. I do have some mmcblk0pXX .img's if it helps.
I think I'm having the same problem. When I try to boot the bootnew.img for intersectRaven's kernel, it hangs at the FIREFIREFIRE yellow triangle with an amber light. No fastboot commands will take me out of it. If it makes a difference, I installed the custom WiFi driver.
Thats the exact same thing is for me.
TyHi said:
Thats the exact same thing is for me.
Click to expand...
Click to collapse
I guess we're in the same boat then. I think my problem came from booting the kernel up, then installing the custom wifi driver, then trying to boot it up again.
When I flashed a kernel I did boot boot.img first and it worked so I did flash boot boot.img with fastboot. Well that didn't work. So I just got the other boot.img for cm7 and tryed to do that. Well I got this error:
C:\adb>fastboot flash boot boot.img
sending 'boot' (3196 KB)... OKAY [ 0.875s]
writing 'boot'... FAILED (remote: partition does not exist)
finished. total time: 0.885s
I am in fastboot but I can not get into twrp2 because when I hold down the power button to enter recovery it just turns amber and just hangs. I do have some mmcblk0pXX .img's if it helps.
Click to expand...
Click to collapse
Did you follow precisely the commands given here? It sounds like you did, but I just wanted to make sure. I was going to suggest you reset the bootmode to 4000. Have you already tried that?
rwphwp said:
Did you follow precisely the commands given here? It sounds like you did, but I just wanted to make sure. I was going to suggest you reset the bootmode to 4000. Have you already tried that?
Click to expand...
Click to collapse
Since apparently the OP and I have the same problem, yes I tried that. The command "fastboot -i 0x1949 oem idme bootmode 4000" doesn't work for me. It just boots into fastboot again.
I read someplace when I rooted 6.2.1 with perhaps a Burrito Root prog. The recommended order to get CM7 and TWRP . Is to go - in this order. Root, then TWRP AND lastly update.zip to sdcard for install of CM7. I made space avail. for TWRP'S Backup ( STRONGLY RECOMMEND ) BACKUP. ======which saved me a few times already on a couple frozen boots. Cause I experiment with various launchers, I think.
Yes I have. It just hangs on the yellow boot with a green light.
Smmoph said:
I read someplace when I rooted 6.2.1 with perhaps a Burrito Root prog. The recommended order to get CM7 and TWRP . Is to go - in this order. Root, then TWRP AND lastly update.zip to sdcard for install of CM7. I made space avail. for TWRP'S Backup ( STRONGLY RECOMMEND ) BACKUP. ======which saved me a few times already on a couple frozen boots. Cause I experiment with various launchers, I think.
Click to expand...
Click to collapse
The thing is that I cant even root it. It is just stuck it at boot screen for FIREFIREFIRE v1.0.
Smmoph said:
I read someplace when I rooted 6.2.1 with perhaps a Burrito Root prog. The recommended order to get CM7 and TWRP . Is to go - in this order. Root, then TWRP AND lastly update.zip to sdcard for install of CM7. I made space avail. for TWRP'S Backup ( STRONGLY RECOMMEND ) BACKUP. ======which saved me a few times already on a couple frozen boots. Cause I experiment with various launchers, I think.
Click to expand...
Click to collapse
I suck at pushing buttons on forums now (hence the accidental thank), but I'm not really trying to install CM7.
Have you tried the hard reset? Hold power button for app. 18 seconds till screen goes totally dark, then press power bttn on again, once.
Yes I have many times.
I can suggest changing the driver on usb in pc or rebboot pc after uninstall and the change it . But I wanted to show a procedure. win utility 7 gave me the necc. usb driver v. 6 did not have.
TyHi said:
Yes I have. It just hangs on the yellow boot with a green light.
Click to expand...
Click to collapse
Gotcha. Any luck with this method?
There was also A kindlefire utility v.? with an option in red for "factory reset" on the device, perhaps.
rwphwp said:
Gotcha. Any luck with this method?
Click to expand...
Click to collapse
Yes I have. Can't even do adb push. When I get into adb with using boot boot.img from cm7. I get, exec /system/bin/sh' failed no file or directory.
I would not give in, but try to stay calm with all methods to reclaim functionality. I started with rootwiki and Jayce Ooi's And Burrito in order to stay clear of CMD console cause I was not even recognised till Win_usb drivers eventually fell in place. Saw some stuff about editing path's also. Reading alot helped.
I'd join IRC and see what we can accomplish there. You all are all over the place, and some of you aren't even bricked at all.
Vashypooh said:
I'd join IRC and see what we can accomplish there. You all are all over the place, and some of you aren't even bricked at all.
Click to expand...
Click to collapse
I was in there all day, and I never got a working solution.
TheMagicPancake said:
I was in there all day, and I never got a working solution.
Click to expand...
Click to collapse
Join there ~12:45-1am EST, ill be available to help then.

Nexus 7 - Bricked, Need Help, should be fixable!!

Hello,
Got a Nexus 7 (Wi-Fi), it was running on a CM 4.2.2 custom rom, then I decided to flash the original rooted 4.3 rom + franco kernel, after then, all the problems started - it was restarting all the time, some of the apps were not working, so decided to move to CM 4.3 again. After flashing CM 4.3 (newest), I got stuck in a bootlopp with Google logo
What is working:
- I can boot into fastboot (bootloader) mode
- The device has an unlocked bootloader
- I can boot into recovery (STOCK ONE, custom one disappeared)
-PDAnet drivers installed, so I can use adb sideload function while I am in recovery (apply update using adb option) - no use probably
What is not working:
Tried toolkits, seems like fastboot drivers or mode is corrupted, when I plug the tab to the PC, it says malfunctioned or smth like that
So, what I can do to fix this?
P.S it is not under warranty
Managed to sort out fastboot drivers, any further steps?
Pomperis said:
Managed to sort out fastboot drivers, any further steps?
Click to expand...
Click to collapse
Hi, Pomperis...
Yes... fastboot flash the Jellybean 4.3 factory stock image (see my sig for download link).
Be aware though, you might have problems flashing the bootloader (v4.23).
Go here for instructions, should you encounter that problem.
Rgrds,
Ged.
GedBlake said:
Hi, Pomperis...
Yes... fastboot flash the Jellybean 4.3 factory stock image (see my sig for download link).
Be aware though, you might have problems flashing the bootloader (v4.23).
Go here for instructions, should you encounter that problem.
Rgrds,
Ged.
Click to expand...
Click to collapse
Okay,
Got the stock image
Unpacked everything to platform tools folder and swapped the original bootloader image with the custom one (as advised in the thread)
When I type fastboot devices - it seems like fastboot is al right as I get:
xxxxxxxxxxxx fastboot
However, when I try the following steps:
C:\android-sdk\platform-tools>fastboot erase boot
erasing 'boot'...
FAILED (command write failed (No such device or address)
finished. total time: -0.000s
Same with other commands
Any ideas?
Pomperis said:
Okay,
Got the stock image
Unpacked everything to platform tools folder and swapped the original bootloader image with the custom one (as advised in the thread)
When I type fastboot devices - it seems like fastboot is al right as I get:
xxxxxxxxxxxx fastboot
However, when I try the following steps:
C:\android-sdk\platform-tools>fastboot erase boot
erasing 'boot'...
FAILED (command write failed (No such device or address)
finished. total time: -0.000s
Same with other commands
Any ideas?
Click to expand...
Click to collapse
That's odd... you clearly have a viable fastboot connection (re: fastboot devices... by the way, for securities sake, you'd be advised not to publicly make known your unique device ID... type some random digits if you wish to illustrate your point).
What happens when you run flash-all.bat?
Rgrds,
Ged.
GedBlake said:
That's odd... you clearly have a viable fastboot connection (re: fastboot devices... by the way, for securities sake, you'd be advised not to publicly make known your unique device ID... type some random digits if you wish to illustrate your point).
What happens when you run flash-all.bat?
Rgrds,
Ged.
Click to expand...
Click to collapse
Got this badass sorted out
Just kept reconnecting it to various usb ports and typing the commands till they worked.. Probably my drivers and fastboot was temperamental Got various errors, but now, the tablet has powered on and seems like fully functioning
I will blag it on eBay for a hundred or trade it in in any Cheetham Hill shop lol
Thanks for the help, that tutorial really helped
Pomperis said:
Got this badass sorted out
Just kept reconnecting it to various usb ports and typing the commands till they worked.. Probably my drivers and fastboot was temperamental Got various errors, but now, the tablet has powered on and seems like fully functioning
I will blag it on eBay for a hundred or trade it in in any Cheetham Hill shop lol
Thanks for the help, that tutorial really helped
Click to expand...
Click to collapse
Great you got it sorted... it's always the same with tech; lots of sophisticated software, but often the problem just boils down to a bad USB cable connection, or as you say, some other temperamental aspect... usually hardware!
Hope you get a good price for it.
Rgrds,
Ged.

Help with rooting P8-lite Ale L21 dual-sim C432B564

I have a relatively new P8-lite L21 dual sim phone and I am quite happy with it. It came with C432B170 which is Lollipop I think 5.01. After a few days it updated to B172. I have unlocked the bootloader after registering with Huawei and waiting 2 weeks. Then I have successfuly rooted the phone with Kingroot phone version. Two or three weeks ago I have updated the phone to MM (6) and Emui 4 with local update (B560) that I have gotten from this forum. 2 days ago I recieved the notification of OTA B564 which went smoothly beside the fact that it reset the phone but i have succesfully restored (contacts, data etc.) All of this time since I upgraded to MM i have tried to root the phone but I was unsuccesful either with any software solution ( Kingroot, Kingoroot or others). After reading most if not all discussions on this forum and several blogs and how -tos, I tried the so called fastboot method others have recommended but here is now the gist of my problem. My phone is seen by my PC - OK so USB drivers are properly installed (by the way my PC is Win 10) and I have installed Android SDK as well as minimal ADB. When i try to flash TWRP 3.00.2 I can not do it (the message says something about not able to access or i think remote command not allowed. So since I cannot flash TWRP i am unable to put SU on the phone and root it. I hope someone more experienced and skillfull in Android world can point me in the right direction and help me. Thank you
Download mininal adb fastboot and then try to flash twrp via fastboot.
That error occurs because your adb doesn't have full permissions.
Minimal adb will solve this.
VladHD said:
Download mininal adb fastboot and then try to flash twrp via fastboot.
That error occurs because your adb doesn't have full permissions.
Minimal adb will solve this.
Click to expand...
Click to collapse
Downloaded minimal adb fastboot and installed it. Tried the procedure. Copied TWRP recovery to the minimal folder. Shift right clicked in the folder of minimal and opened command window. Adb rebooted to bootloader. Phone shows it is unlocked. The device is seen in fastboot window but flashing recovery doesn't work (same message) I am really confused. How do I give adb full permissions ?
Any way thanks in advance.
Did you activate usb debugging ?
VladHD said:
Did you activate usb debugging ?
Click to expand...
Click to collapse
Yes of course !
Try reinstalling drivers with universal adb.
Are you sure your bootloader is unlocked?
Type fastboot devices and let me know the output.
VladHD said:
Try reinstalling drivers with universal adb.
Are you sure your bootloader is unlocked?
Type fastboot devices and let me know the output.
Click to expand...
Click to collapse
The drivers were reinstalled. My bootloader shows unlocked on bootloader (bottom of fastboot screen). Fastboot devices does nothing. Adb devices shows my phone serial number correctly (I have it written down). But then when i try to flash recovery it is unsuccessfull. It says "FAILED (remote: Command not allowed)"
What is the command that you typed..?
Fastboot flash recovery xxx.img
Sent from my ALE-L21 using XDA-Developers mobile app
amageek said:
What is the command that you typed..?
Fastboot flash recovery xxx.img
Sent from my ALE-L21 using XDA-Developers mobile app
Click to expand...
Click to collapse
Fastboot flash recovery recovery. img I renamed the twrp 3.0 to recovery.img
doomking_99 said:
Fastboot flash recovery recovery. img I renamed the twrp 3.0 to recovery.img
Click to expand...
Click to collapse
sorry, if you've already answered this, but you can also do it by flashify... flash the recovery image via flashify (root needed though)
amageek said:
sorry, if you've already answered this, but you can also do it by flashify... flash the recovery image via flashify (root needed though)
Click to expand...
Click to collapse
Thanks, but my problem is that i cannot root without installing TWRP is my understanding.
doomking_99 said:
Thanks, but my problem is that i cannot root without installing TWRP is my understanding.
Click to expand...
Click to collapse
ahhh... sorry mate, dont know the solution.. but try re-installing adb drivers again ...
Are you logged as adminstrator on pc?
Try to plug usb into different slots.
VladHD said:
Are you logged as adminstrator on pc?
Try to plug usb into different slots.
Click to expand...
Click to collapse
I am and I have. I am stumped. Obviously something is wrong with windows permissions I think. Is it possible to put recovery. img on sd card or on phone and flash recovery from the phone ?
This is the output every time no matter which usb port
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot devices
C:\Program Files (x86)\Minimal ADB and Fastboot>adb devices
List of devices attached
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
W3D7N15C08019820 device
C:\Program Files (x86)\Minimal ADB and Fastboot>adb reboot bootloader
C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending 'recovery' (27062 KB)...
OKAY [ 0.624s]
writing 'recovery'...
FAILED (remote: Command not allowed)
finished. total time: 0.627s
C:\Program Files (x86)\Minimal ADB and Fastboot>
The thing i don't understand is why fastboot command doesn't show device while adb command does.
You said that you have android sdk too... Have you tried using that?
If it doesn't help them try to do it on other computer or reset your windows...
Sent from my ALE-L21 using XDA-Developers mobile app
amageek said:
You said that you have android sdk too... Have you tried using that?
If it doesn't help them try to do it on other computer or reset your windows...
Sent from my ALE-L21 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thank you but i have tried with SDK and with minimal and always the same result as i posted. I will try and do it on my wife's PC.
doomking_99 said:
Thank you but i have tried with SDK and with minimal and always the same result as i posted. I will try and do it on my wife's PC.
Click to expand...
Click to collapse
Sorry for the zombiethreading here, but... what whas the solution? I'm curious
For the time being there is no solution. Can not flash TWRP - phone not rooted
doomking_99 said:
For the time being there is no solution. Can not flash TWRP - phone not rooted
Click to expand...
Click to collapse
Weird... i can't think of anything else myself that hasn't been said. Perhaps... redownloading twrp? Maybe the image is corrupted by something... ot's a long shot because ot should flash everytging that comes its way. But it's the only thing you hven't tried.

Can't flash TWRP recovery on OnePlus 5

I was trying to download and flash xposed on my phone, so I got the app and downloaded the zip.
I went into Magisk and for some reason I flashed xposed framework through Magisk (I thought it might work)
I tried flashing the all 3 of Xposed installers and didn't work.
Realized I didn't boot so I re flashed the stock rom oos 4.5.8, and it worked again, but no root.
So I quickly try to flash twrp through adb on windows but it doesn't work, I keep getting an error message going like.
sending 'recovery' (27525 KB)...
FAILED (remote: Requested download size is more than max allowed
)
finished. total time: 0.004s
I haven't seen a thread or a website explaining how to fix this.
Yes i did try git bash, but the same error happened.
Please and thank you.
p.s. I don't any of my data gone.
change to another usb port which is usb 2.0..
iamelton said:
change to another usb port which is usb 2.0..
Click to expand...
Click to collapse
same error
you are using linux/ubuntu?
i kind of remember theres issue with adb in such setup.. maybe you can try with a windows or macos environment..
iamelton said:
you are using linux/ubuntu?
i kind of remember theres issue with adb in such setup.. maybe you can try with a windows or macos environment..
Click to expand...
Click to collapse
im on windows
p96xl said:
im on windows
Click to expand...
Click to collapse
then i have no idea.. maybe try another computer.. make sure the usb port is 2.0 though..
hi do you have unlock bootloader ?
gismoboss13 said:
hi do you have unlock bootloader ?
Click to expand...
Click to collapse
yes
Your phone is recognized under the fastboot?
gismoboss13 said:
Your phone is recognized under the fastboot?
Click to expand...
Click to collapse
yes
Try to re-install adb
And try a different usb cable...
It seems to work best with the cable that was sent with the One+5 but you could try a different cable...
Had the same issue. Just get the latest ADB from XDA, it should work fine.
try to boot twrp insted of flashing it.....
as " fastboot boot twrp.img"
try rebooting your PC, it worked for me

Categories

Resources