[Q] Cannot flash recovery after unlocking bootloader - HTC Desire S

I am having problem flashing recovery on my htc desire s hboot : 2.00.0002.
The problem is that whenever i type in fastboot flash recovery twrp.img it says
FAILED data transfer failed too many links (unlocked bootloader through htcdev)
here is the command window
C:\Users\Hashim Zia>cd C:\Android\android-sdk\platform-tools
C:\Android\android-sdk\platform-tools>fastboot devices
HT19MTJ00709 fastboot
C:\Android\android-sdk\platform-tools>fastboot flash recovery twrp.img
sending 'recovery' (4360 KB)...
FAILED (command write failed (Too many links))
finished. total time: 0.000s
C:\Android\android-sdk\platform-tools>fastboot devices
HT19MTJ00709 fastboot
C:\Android\android-sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.550s]
finished. total time: 0.550s
C:\Android\android-sdk\platform-tools>fastboot flash recovery twrp.img
< waiting for device >
sending 'recovery' (4360 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: -0.000s
PLEASE HELP!!!

simply the most awesome said:
I am having problem flashing recovery on my htc desire s hboot : 2.00.0002.
The problem is that whenever i type in fastboot flash recovery twrp.img it says
FAILED data transfer failed too many links (unlocked bootloader through htcdev)
here is the command window
C:\Users\Hashim Zia>cd C:\Android\android-sdk\platform-tools
C:\Android\android-sdk\platform-tools>fastboot devices
HT19MTJ00709 fastboot
C:\Android\android-sdk\platform-tools>fastboot flash recovery twrp.img
sending 'recovery' (4360 KB)...
FAILED (command write failed (Too many links))
finished. total time: 0.000s
C:\Android\android-sdk\platform-tools>fastboot devices
HT19MTJ00709 fastboot
C:\Android\android-sdk\platform-tools>fastboot erase cache
erasing 'cache'...
OKAY [ 0.550s]
finished. total time: 0.550s
C:\Android\android-sdk\platform-tools>fastboot flash recovery twrp.img
< waiting for device >
sending 'recovery' (4360 KB)...
FAILED (data transfer failure (Too many links))
finished. total time: -0.000s
PLEASE HELP!!!
Click to expand...
Click to collapse
So u know where you downloaded the zip file for the recovery extract it, then in that folder where the twrp.img is hold shift and right click and there should be an option for open command window here. Then type the command again fastboot flash recovery (name.IMG).
Sent from my HTC Desire S using XDA Free mobile app

lilsafbig said:
So u know where you downloaded the zip file for the recovery extract it, then in that folder where the twrp.img is hold shift and right click and there should be an option for open command window here. Then type the command again fastboot flash recovery (name.IMG).
Sent from my HTC Desire S using XDA Free mobile
That is just what I did
Plus thanks for quick reply
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse

simply the most awesome said:
lilsafbig said:
So u know where you downloaded the zip file for the recovery extract it, then in that folder where the twrp.img is hold shift and right click and there should be an option for open command window here. Then type the command again fastboot flash recovery (name.IMG).
Sent from my HTC Desire S using XDA Free mobile
That is just what I did
Plus thanks for quick reply
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse
So it worked?
Edit: flash 4ext recovery instead. Make sure u fastboot erase recovery and then flash the recovery. Extract it and flash the .IMG file.
http://forum.xda-developers.com/showthread.php?p=41343637
from my HTC Desire S using XDA Free mobile app
Click to expand...
Click to collapse

lilsafbig said:
simply the most awesome said:
So it worked?
Edit: flash 4ext recovery instead. Make sure u fastboot erase recovery and then flash the recovery. Extract it and flash the .IMG file.
http://forum.xda-developers.com/showthread.php?p=41343637
from my HTC Desire S using XDA Free mobile app
Click to expand...
Click to collapse
No the previous thing did not work but I will try the new way you suggested
Sent from my Nexus 7 using XDA Free mobile app
Click to expand...
Click to collapse

Related

Sideloading CWM recovery by <fastboot boot> ?

Hi buddy,
My o3d is a stock (unflashed) one. It can enter fastboot mode mainly by this method. (I have tried different methods, like the wkpark one, but finally I have succeeded with that, and with the wkparks fastboot loader tool. Anyway, I can make my way to that white LG logo fastboot place ) And when I do fastboot devices it returns my serial number. (So I am sure it is in fastboot mode.) But when I want to boot a custom recovery from PC, by the command fastboot boot recovery-clockwork-6.0.1.9-p920.img, the command prompt gives the following messages:
Code:
creating boot image...
creating boot image - 5484544 bytes
downloading 'boot.img'...
OKAY [ 2.770s]
booting...
OKAY [ -0.000s]
finished. total time: 2.790s
Seems alright. But my o3d stays still on that white LG logo. It obviously didnt boot. If I now try fastboot devices again, it gives ??? instead of the serial number:
Code:
???????????? fastboot
I have tried using recovery-clockwork-6.0.1.9-p920.img and recovery-clockwork-touch-6.0.1.9-p920.img downloaded from this page, and also the cm-7.2.0-p920 boot.img downloaded from this page. But all give the same result .
I would like to try the custom recovery, by fastboot boot recovery.img, before really flashing into my o3d, by fastboot flash recovery recovery.img .
Any clues?
Thanks so much!
midnite
I thing that you cant fasboot boot, don't work here. Something is mentioned before in some thread by wkpark.
Sent from my LG-SU760 using xda app-developers app
iodak said:
I thing that you cant fasboot boot, don't work here. Something is mentioned before in some thread by wkpark.
Sent from my LG-SU760 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your reply.
There are really so less resources talking about fastboot boot over the internet. Could you give me some hints where can I use fastboot boot?
Thanks!!
Re: Sideloading CWM recovery by <fastboot boot> ?
Try doing Fastboot Reboot after
Sent from my LG-P920 using xda app-developers app
JunDavis said:
Try doing Fastboot Reboot after
Sent from my LG-P920 using xda app-developers app
Click to expand...
Click to collapse
Thanks for your reply!
I have tried fastboot reboot and fastboot reboot-bootloader after. But the phone screen turns off and stays off.
---
fastboot reboot after fastboot boot recovery.img
Code:
C:\>fastboot devices
0911234567898019 fastboot
C:\>fastboot boot recovery-clockwork-6.0.1.9-p920.img
creating boot image...
creating boot image - 5484544 bytes
downloading 'boot.img'...
OKAY [ 2.740s]
booting...
OKAY [ -0.000s]
finished. total time: 2.740s
C:\>fastboot reboot
rebooting...
finished. total time: 112.290s
C:\>
At the same time, phone screen turns off, and screen remains off.
---
fastboot reboot-bootloader after fastboot boot recovery.img
Code:
C:\>fastboot devices
0911234567898019 fastboot
C:\>fastboot boot recovery-clockwork-6.0.1.9-p920.img
creating boot image...
creating boot image - 5484544 bytes
downloading 'boot.img'...
OKAY [ 2.810s]
booting...
OKAY [ 0.000s]
finished. total time: 2.820s
C:\>fastboot reboot-bootloader
rebooting into bootloader...
FAILED (status read failed (Too many links))
finished. total time: 107.260s
C:\>
At the same time, phone screen turns off, and screen remains off.
---
I also tried only fastboot reboot and fastboot reboot-bootloader, without fastboot boot recovery.img:
Code:
C:\>fastboot devices
0911234567898019 fastboot
C:\>fastboot reboot
rebooting...
finished. total time: 0.010s
C:\>
Phone screen turns off at the same time, and back on to charging screen. It is not really booting into the system.
---
Code:
C:\>fastboot devices
0911234567898019 fastboot
C:\>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.010s]
finished. total time: 0.010s
C:\>
Screen turns off, like the first two trials.
---
What do those behaviours mean?
Thanks a lot!!
midnite
Re: Sideloading CWM recovery by <fastboot boot> ?
midnite_ said:
Hi buddy,
My o3d is a stock (unflashed) one. It can enter fastboot mode mainly by this method. (I have tried different methods, like the wkpark one, but finally I have succeeded with that, and with the wkparks fastboot loader tool. Anyway, I can make my way to that white LG logo fastboot place ) And when I do fastboot devices it returns my serial number. (So I am sure it is in fastboot mode.) But when I want to boot a custom recovery from PC, by the command fastboot boot recovery-clockwork-6.0.1.9-p920.img, the command prompt gives the following messages:
Code:
creating boot image...
creating boot image - 5484544 bytes
downloading 'boot.img'...
OKAY [ 2.770s]
booting...
OKAY [ -0.000s]
finished. total time: 2.790s
Seems alright. But my o3d stays still on that white LG logo. It obviously didnt boot. If I now try fastboot devices again, it gives ??? instead of the serial number:
Code:
???????????? fastboot
I have tried using recovery-clockwork-6.0.1.9-p920.img and recovery-clockwork-touch-6.0.1.9-p920.img downloaded from this page, and also the cm-7.2.0-p920 boot.img downloaded from this page. But all give the same result .
I would like to try the custom recovery, by fastboot boot recovery.img, before really flashing into my o3d, by fastboot flash recovery recovery.img .
Any clues?
Thanks so much!
midnite
Click to expand...
Click to collapse
Why all the hastle u can just flash it and when u wanna use stock recovery just flash it using the tool provided in the dark lestat unbricking thread ...Its simple ..btw dont use the latest cwm its kinda slow just use the provided in the dark lestats thread. ... http://forum.xda-developers.com/showthread.php?t=1540163
Sent from my LG-P920 using xda premium

Frustrated, can't get fastboot to work

NEVERMIND, I won at the game of android and fastboot.
Liquidmetal6 said:
NEVERMIND, I won at the game of android and fastboot.
Click to expand...
Click to collapse
I'm having an issue where fastboot seems to run, but it never actually flashes the new TWRP.
C:\Recovery1>fastboot -i 0x0b05 flash recovery twrp.img
sending 'recovery' (7872 KB)...
OKAY [ 2.070s]
writing 'recovery'...
OKAY [ 2.411s]
finished. total time: 4.482s
C:\Recovery1>fastboot -i 0x0b05 reboot
rebooting...
finished. total time: 0.550s
However, it acts like it's not really talking to the device. Device doesn't reboot, and the new TWRP isn't loaded.
jaa3rd said:
I'm having an issue where fastboot seems to run, but it never actually flashes the new TWRP.
C:\Recovery1>fastboot -i 0x0b05 flash recovery twrp.img
sending 'recovery' (7872 KB)...
OKAY [ 2.070s]
writing 'recovery'...
OKAY [ 2.411s]
finished. total time: 4.482s
C:\Recovery1>fastboot -i 0x0b05 reboot
rebooting...
finished. total time: 0.550s
However, it acts like it's not really talking to the device. Device doesn't reboot, and the new TWRP isn't loaded.
Click to expand...
Click to collapse
You have to issue the fastboot reboot command next it will flash on reboot.
sbdags said:
You have to issue the fastboot reboot command next it will flash on reboot.
Click to expand...
Click to collapse
Unless I'm misunderstanding you, I have issued the reboot command as indicated above, and it seems to take the command, but the reboot and/or flash never occurs. I've flashed multiple of version of TWRP on this tablet in the past, using the same pc. I just can't seem to figure out what's changed.
Thanks in advance for your help.

Maximus rom 10.00hd Recovery help!!

Hi im trying to flash maximus rom 10. I flashed the firmware.zip. But the problem is when i try to flash twrp recovery.zip in rebootRUU it gives me this
C:\Users\Dragon\Desktop\One_S_All-In-One_Kit_v\Data>fastboot flash recovery TWRP
_2.6.1.0_ville_4.2.2.zip
sending 'recovery' (8835 KB)...
OKAY [ 1.017s]
writing 'recovery'...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.068s
I tried redownloading. That didnt work what do i do!!
cyberusman said:
Hi im trying to flash maximus rom 10. I flashed the firmware.zip. But the problem is when i try to flash twrp recovery.zip in rebootRUU it gives me this
C:\Users\Dragon\Desktop\One_S_All-In-One_Kit_v\Data>fastboot flash recovery TWRP
_2.6.1.0_ville_4.2.2.zip
sending 'recovery' (8835 KB)...
OKAY [ 1.017s]
writing 'recovery'...
FAILED (remote: image error! (BootMagic check fail))
finished. total time: 1.068s
I tried redownloading. That didnt work what do i do!!
Click to expand...
Click to collapse
There's an error in the instructions. You need to extract the .img file from the recovery zip and flash that.
Sent from my HTC One S using Tapatalk
zaak00 said:
There's an error in the instructions. You need to extract the .img file from the recovery zip and flash that.
Sent from my HTC One S using Tapatalk
Click to expand...
Click to collapse
Thank you for the information i will flash it tomorow.

Nexus 5 Stuck In BootLoop After Replacing Power Button

Nexus 5 rebooting loop with dead Recovery mode ! any help ?
Welcome Dears
Before 1 week ago, my nexus 5 went into rebooting loop, it was a hardware issue, and after I replace the power button
still the phone rebooting on Google logo every second, when I connect it to the charger, its charging without problem until get a full charged battery, so I think it is not a battery issue, and I can enter the fastboot mode without rebooting, so I think its not a hardware issue now, it was and its goes out !
the problem also when I enter the recovery mode , "No Command" with android logo appears, then I press the Volume Up button then I get the recovery mode command, but unfortunately my PC can't see the phone, so I can't use the "adb sideload" command to flash my MIUI ROM (Version: 5.8.6) again
Code:
adb sideload MIUI.zip
error: device not found
but in the fastboot my PC can connect with Nexus, so I try to flash the CWM/TWRP recovery , I got these replay from the command,
Code:
C:\adb>fastboot flash recovery hammerhead-cwm-6.0.4.4-unofficial.img
< waiting for device >
sending 'recovery' (10498 KB)...
OKAY [ 0.453s]
writing 'recovery'...
OKAY [ 0.847s]
finished. total time: 1.302s
C:\adb>
but unfortunately when I repeat my nexus to recovery mode I didn't get the new flashed recovery ! still stuck on the dead old one !
when I use from recovery mode the "wipe data/factory reset" I got these three line then flashing on "no command" dead recovery logo
Code:
--wiping data. . .
Formatting/data. . .
Formatting/cache . . .
then go into "no command" dead recovery logo flashing until I force it shutdown by power button !
same result by "wipe cache partition" command
my Next step to flash the factory image by fastbood command but this solution will remove all files & pictures & Videos & my notes isn't it ?!
so if that is right ? do you have any other solution to run up my nexus and avoiding these rebooting loop or flash new recovery / custom ROM without loosing my data ?! " I am not afraid of loos any Apps and data of them" I need my sound files, videos, pictures and notes.
Pictures below for more clarify the issue !
I get "No Command" when I enter the Recovery mode, until I press the Volume Up
http://store2.up-00.com/2015-08/1440196110631.jpg
The pictures of Dead Recovery Mode commands
http://store2.up-00.com/2015-08/1440196110722.jpg
Thank you.
try this (maybe you just missed the second command - afaik without the bootloader reboot the flashed recovery won't stick):
Code:
fastboot flash recovery /path/to/recovery.img
fastboot reboot-bootloader
and then try to reboot into recovery on your phone
if this doesn't work:
just download stock image, unpack it, open the flash-all.xxx (bat for windows / sh for linux) and remove the "-w" from the last line.
(this will prevent the script from wiping all of your data.)
then just execute the script.
afterwards you can flash the recovery (see above - and don't forget the reboot-bootloader thingy ^^).
and in custom recovery you can install your zips (custom rom and supersu).
Hi b666m
Thank you for your support & teach me new info & steps
I tried your first idea with the two commands, but unfortunately still the recovery stuck on the old one, I tried with three files of recovery image !
I will try your 2th solution but I have to ask you again and double check if I got it correctly to avoid any missing of my important files & Pictures.
as my OS Windows, you mean I have to open "Flash-all.bat" file and delete the "-W" from the flashing command
"fastboot -w update image-hammerhead-ktu84p.zip"
picture bellow for more clear
{
"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"
}
is it like that ? and that will not delete my files after I double click the flash-all.bat file ?
Thank you again for your support. :good:
The last command which contained "-w"
Code:
"fastboot update image-hammerhead-ktu84p.zip"
will flash the "image-hammerhead-ktu84p.zip" file ,
which is already has a "userdata.img" file inside it , I think this is will formatting the userdata also and write new data isn't it ?
as that is mentioned in this link:
http://forum.xda-developers.com/google-nexus-5/general/tutorial-how-to-flash-factory-image-t2513701
Code:
fastboot flash userdata C:\image-hammerhead-krt16m\userdata.img
(Note: this command will wipe your device (including \sdcard), EVEN if your bootloader is already unlocked.)
is that right ?
Yes that is right. Not to change tactics here... But one use twrp recovery because support for cwm ended over a year ago. If you after going to flash factory images I would unzip and flash them all individually except for the userdata.img which would wipe your sd.
Sent from my Nexus 5 using Tapatalk
---------- Post added at 10:18 PM ---------- Previous post was at 10:16 PM ----------
Follow method two in the how to flash factory images thread you linked. What was suggested before was to open and edit the flash-all.bat script by removing the -w in the script which would wipe. The flash-all has given people issues in the past and by doing each one individually you can see them succeed individually.
Sent from my Nexus 5 using Tapatalk
The best way to solve your problem . it will 100% work I can assure you . download nexus root tool kit on you PC and once downloaded install and then open the application then .. Put your nexus 5 into bootloader if possible and connect the phone to you PC with the OEM USB cable . in the application on the PC you will see unroot and below that an option (soft brick ) chose that and press unroot follow the step and your phone will be fine . I hope I will get a positive feedback from you . enjoying using your nexus 5
Sent from my A0001 using Tapatalk
Dear @jwhyte : Thank you very much for your support and clarify the issue of flashing the userdata.img , I will go with your idea to flash every file individually except the userdata.img file.
Dear @adarshdeep : thank you very much for you support, the nexus root tool kit App was very great, and the "flsh stuck + unroot" with "soft brick" has an a good choosing with "No Wipe Data", but unfortunately my Nexus still in Bootloop after I applied this good idea,
The nexus tool kit succeed to flash the
bootloader, radio, recovery, system and I leaved the Nexus for 30 minutes after I read these info but still same issue
Code:
Booting up your freshly flashed stock device...
------------------------------------------------------------------
Wait for your device to finish booting up...
- It may appear to be boot looping; just wait...
- It could take 5-10 minutes; please be patient...
When its finally booted back up, please remember
to re-enable USB debugging if you plan on using
the toolkit to perform other operations.
any advice please ?
The new update of my trials also:
I got a connection between my Nexus and My Work PC by ADB sideload mode,
and I applied this command to flash the ROM:
Code:
adb sideload Rom.zip
and the adb uploaded reach the 100%
and the Nexus 5 start to flashing the ROM, but it didn't complete and this is the output messages on the nexus screen:
Code:
Now send the package you want to apply
to the device with "adb sideload <filename>" ...
Restarting adbd ...
Finding update package ...
Opening update package ...
Verifying update package ...
Installing update ...
symlink: some symlinks failed
E:Error in /tmp/update.zip
(Status 7)
Installation aborted.
what is the symlinks failed and (Status 7 Error) ? there is any solution for this error message ?
Thank you for support to recover my Nexus and files, I have tried for one week now, and I am sure I will get the solution with your support :highfive:
unfortinatily when I tried to flash every file as individual, the adb tools replay with FAILED message (FAILED (remote: flash write failure))
even if I used these three commands before
fastboot erase system
fastboot erase cache
fastboot erase boot
the messages replay by adb
Code:
C:\adb>fastboot flash bootloader bootloader-hammerhead-hhz11k.img
sending 'bootloader' (2508 KB)...
OKAY [ 0.299s]
writing 'bootloader'...
FAILED (remote: flash write failure)
finished. total time: 0.499s
C:\adb>fastboot flash radio radio-hammerhead-m8974a-2.0.50.1.16.img
sending 'radio' (45409 KB)...
OKAY [ 1.617s]
writing 'radio'...
FAILED (remote: flash write failure)
finished. total time: 1.797s
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
C:\adb>fastboot flash system system.img
erasing 'system'...
OKAY [ 0.119s]
sending 'system' (721400 KB)...
OKAY [ 23.172s]
writing 'system'...
FAILED (remote: flash write failure)
finished. total time: 23.473s
C:\adb>fastboot flash boot boot.img
sending 'boot' (8700 KB)...
OKAY [ 0.387s]
writing 'boot'...
FAILED (remote: flash write failure)
finished. total time: 0.567s
C:\adb>fastboot flash recovery recovery.img
sending 'recovery' (9284 KB)...
OKAY [ 0.417s]
writing 'recovery'...
FAILED (remote: flash write failure)
finished. total time: 0.591s
C:\adb>fastboot erase cache
******** Did you mean to fastboot format this partition?
erasing 'cache'...
FAILED (remote: failed to erase partition)
finished. total time: 0.213s
C:\adb>fastboot reboot-bootloader
rebooting into bootloader...
OKAY [ 0.001s]
finished. total time: 0.001s
is that means the mobile is hard break ?!
When I tried to Flash Stuck by the "nexus root tool kit" without wiping data, I got failed in this log for:
bootloader + radio + system, and pass for boot + recovery
Code:
Flash Stock + Unroot...
------------------------------------------------------------------
sending 'bootloader' (3119 KB)...
OKAY [ 0.305s]
writing 'bootloader'...
FAILED (remote: flash write failure)
finished. total time: 0.513s
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.004s
sending 'radio' (45425 KB)...
OKAY [ 1.611s]
writing 'radio'...
FAILED (remote: flash write failure)
finished. total time: 2.839s
rebooting into bootloader...
OKAY [ 0.005s]
finished. total time: 0.006s
sending 'boot' (8980 KB)...
OKAY [ 0.487s]
writing 'boot'...
OKAY [ 0.746s]
finished. total time: 1.241s
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.004s
sending 'recovery' (9696 KB)...
OKAY [ 0.506s]
writing 'recovery'...
OKAY [ 0.795s]
finished. total time: 1.307s
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.004s
erasing 'system'...
OKAY [ 0.115s]
sending 'system' (1021840 KB)...
OKAY [ 32.279s]
writing 'system'...
FAILED (remote: flash write failure)
finished. total time: 32.587s
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.004s
rebooting into bootloader...
OKAY [ 0.003s]
finished. total time: 0.006s
Post-Flash Factory Reset...
downloading 'boot.img'...
OKAY [ 0.420s]
booting...
OKAY [ 0.107s]
finished. total time: 0.537s
You should now see an android on its back with an exclamation point.
This is the 'Pre-screen' to stock android recovery. It requires a button
combination to bring up the menu:
1. While holding down Power, press Volume Up
2. Using the volume buttons highlight 'wipe cache partition'
3. Use the power button to select it.'
4. Wait while it formats 'cache'....
4. Select 'reboot system now'
Press any key to cotinue...
any help to understand why the flashing of bootloader + radio + system were failed ?!
@M_Nexus5. Out of curiosity what happens if you try locking your bootloader in fastboot and rebooting? Does the bootloader stay locked?
fastboot oem lock
fastboot oem device-info
Sent from my Nexus 9 using XDA Free mobile app
Dear @jd1639 : thank you very much for your support, I will try your idea and submit the result here, but if the bootloader be lucked and can't be unlock again we will loos this feature of unlocked bootloader isn't it ?
Now I have a good news I got & copy all my files, :highfive:
I play with some features of Nexus root kit tool and try to flash stock Rom and there were a failed as I mentioned that in my last posts,
I flashed each failed X.img, individually under "Fastboot Flash" menus in "Advanced Utilities" Section,
Then I press Custom recovery Under "Fastboot Boot" in "Advanced Utilities" Section, I think this option is the key because it forced the Nexus to run into TWRP recovey mode :good: "but without flash it, because when I reboot by device to recovery mode again I got the dead old one !!
and this recovery "TWRP" support the "Enable MTP" protocol, so after that I got a connection for my nexus as a storage with my PC and copy All files & Pictures,
I Can copy from the device, but I con't copy from my PC to it.
but there are some Error message in the log of TWRP recovery mode:
Code:
Updating partion details
[COLOR="Red"]E: Unable to mount '/Persist'[/COLOR]
...done
Full SELinux support is present.
[COLOR="Red"]E: Unable to open '/cach/recovery/.version'.[/COLOR]
MTP Enable
also when I tried to flash the slim Rom by install option I got some error message , the TWRP can't flash the Rom here are the messages:
Code:
when I tried to flash a ROM.zip file I got some error messages like this:
Format and Mount System, Mount Data ...
Symlinks and Permissions ...
symlink: some symlinks faild
[COLOR="Red"]E: Error executing updater binary in zip '/sdcard/Zip File sh Update File/Slim-4.4.4.zip[/COLOR]
Error flashing zip 'sdcard/Zip flash Update File/Slim-4.4.4.zip'
Updating partition details...
[COLOR="Red"]E: Unable to mount '/persist'[/COLOR]
...done
also I tried to flash the same my Nexus ROM, (MIUI 4-4-4), but I got same result & Error messages, all Rom already on my sdcard before 4 months maybe.
When I tried "Cache & Dalvik Wipe Complate", I got same error.
Code:
Wiping Dalvik Cach Directories...
Cleaned: /data/dalvik-cach...
-- Dalvik Cach Directories Wipe Complete!
Updating partition details...
[COLOR="Red"]E: Unable to mount '/persist'[/COLOR]
Now may if I flash the stock factory image with wiping all data "its default" solve the problem ?!
or the error message above shown something wrong with device ? or need a certain tool to fix it ?!
or I can fix this issue by "Mount" option in the TWRP Recovery ?! I never used this option !
I will try to flash the stock factory image when I come back to the home.
The big important thing was my files and I got them now by your support, Thaaaanks :fingers-crossed:
the next step, am I get my device back or need to buy new one ?! :cyclops:
Thank you again for your support and I hope the log error messages will give more help to explain the real issue for you.
Well it sounds like you got what you wanted... However from what I've been able to find the errors you are running up against is not good. It sounds like the failed to flash errors and if you boot into twrp which you did and you get mount problems there is a very good chance your sd is fried.
The reason @jd1639 asked about the OEM lock I believe is if it won't stay locked or unlocked it is sd issue.
You can try contacting Google about an RMA however by you replacing there power button they most likely won't accept it.
Good luck glad you got your files.
Sent from my Nexus 5 using Tapatalk
@jd1639 this is the result of the commands, the bootloader is locked now, but return back when I restart the device !
Code:
C:\adbToolsss>fastboot oem lock
...
OKAY [ 0.037s]
finished. total time: 0.037s
C:\adbToolsss>fastboot oem device-info
...
(bootloader) Device tampered: true
(bootloader) Device unlocked: false
(bootloader) off-mode-charge: true
OKAY [ 0.004s]
finished. total time: 0.004s
C:\adbToolsss>
after restarting the device:
Code:
C:\adbToolsss>fastboot oem device-info
...
(bootloader) Device tampered: true
(bootloader) Device unlocked: true
(bootloader) off-mode-charge: true
OKAY [ 0.004s]
finished. total time: 0.005s
C:\adbToolsss>
Dear @ jwhyte , yes it was a good luck when I got a copy of my files, but do you mean that is the error message of "Unable to mount" is the sdcard/storage of devices damaged and can't be fix ?!
about the RMA, my devices already out of warranty, I bought it more than one year ago.
so now go ahead to choose & buy a new device ?
Update:
 @D1639
may I got it here in the link of your post
http://forum.xda-developers.com/showpost.php?p=50142493&postcount=14
now the emmc of device is damaged , and I have to buy new device no other solution for this damage whatever software/hardware ?
M_Nexus5 said:
Update:
@D1639
may I got it here in the link of your post
http://forum.xda-developers.com/showpost.php?p=50142493&postcount=14
now the emmc of device is damaged , and I have to buy new device no other solution for this damage whatever software/hardware ?
Click to expand...
Click to collapse
If you can't lock/unlock your bootloader there probably isn't anything you can do. But I'd give this a try, http://forum.xda-developers.com/showthread.php?p=59154061
Sent from my Nexus 5 using XDA Free mobile app
Have a look at this thread: http://forum.xda-developers.com/google-nexus-5/general/guide-to-fix-persist-partition-t2821576
Sent from my Nexus 5 using Tapatalk
@jd1639 after I tried that idea still the device into Bootloop, and I checked the EMMC by "BoardDiag" tool, and I got failed , so may as you said nothing can I do with that issue, but I didn't given up yet, I already bought new OnePlus Two,because no more time for new trials, may I have to try new ideas again next week or after that, Thank you very much my dear, you are very helpful.
@efrant thank you for this link, this is a good idea too, I tried it but faced an issue with using & installing Universal Naked driver, some times the Adb tools can't connect with device in recovery mode, I will try it again and again next week when I have a time and using new PC to install the Universal Naked Driver for recovery only to avoid any other drivers for android.
All dears helpers , thank you very much for your helping,
when I have more time next week I will try some of new idea,
if I get any solution I will submit here the link to be a reference for other
who may face same issue,
Thank you again.
M_Nexus5 said:
[snip]
@efrant thank you for this link, this is a good idea too, I tried it but faced an issue with using & installing Universal Naked driver, some times the Adb tools can't connect with device in recovery mode, I will try it again and again next week when I have a time and using new PC to install the Universal Naked Driver for recovery only to avoid any other drivers for android.
Click to expand...
Click to collapse
It seems you are trying to solve too many issues at once.
The first thing you need to do is make sure your drivers are installed properly, which doesn't seem to be the case. You shouldn't have to mess around with any unofficial drivers. Just install the drivers from Google's website: whttp://developer.android.com/tools/extras/oem-usb.html. That is the first thing you need to make sure is done properly.
The next is to make sure you have the latest version of the four files you need (fasboot.exe, adb.exe, & the 2 dll files) to connect with your device.
Only then should you try to troubleshoot / fix your device.
Sent from my Nexus 5 using Tapatalk
You definitely need to fix your persist partition. Your phone will not boot until you do that.
For this to work you need adb to connect to the phone in normal mode (not bootloader).
Installing the naked driver can be problematic, if another driver is already installed. The easiest way is to install it another PC that has not had an Android phone connected to it. You need to disable internet when you connect the phone, and try to cance windows installation of the driver. Then you will have a device with an error in device manager, you right click on it and choose update driver, and choose manual install from the naked driver folder.
If you can't do that, see if you can use the custom recovery to change the phone to connect usb as a camera.
Now open device manager: if you see Android device >Android Composite ADB Interface then adb should work. Try adb devices command. If you see a device you are connected. Then follow bitdomo's guide to fixing the persist partition. You need to be rooted for this to work. You can skip the wifi and BT foe now - you don't need that to boot into the OS. You can do this later.
Once you fix the persist partiton you should be able to boot. Perhaps it will be a good idea to flash stock, but make sure to enable usb debugging, in case you have future problems.
You can see my guide here http://forum.xda-developers.com/google-nexus-5/help/nexus-5-stuck-boot-loop-lollipop-t3098632

TWRP flash realme2pro on UBUNTU 20.04LTS

When I am trying to flash twrp after unlocking the bootloader I am always getting this error can't find any solutions online please somebody help.
This is the command I type (below quoted)
fastboot flash recovery '/usr/lib/android-sdk/platform-tools/recovery.img'
Click to expand...
Click to collapse
For which I get this error ( below quoted)
target didn't report max-download-size
sending 'recovery' (32104 KB)...
FAILED (command write failed (Success))
finished. total time: 0.000s
Click to expand...
Click to collapse

Categories

Resources