Nexus 5 bricked using Flash 5.0.1 N5 Tool - Nexus 5 Q&A, Help & Troubleshooting

Used Flash 5.0.1 N5 Tool to update to Android 5.0 from CM 11 kitkat, after using the tool when booting the phone it boots into a endless "android guy?" loop, nothing else happens. Tried to resolve it by installing TRWP to attempt to flash a custom mod, now booting it boots into a flickering TWRP screen and nothing else. Not sure what to do

T3hBraveBoss said:
Used Flash 5.0.1 N5 Tool to update to Android 5.0 from CM 11 kitkat, after using the tool when booting the phone it boots into a endless "android guy?" loop, nothing else happens. Tried to resolve it by installing TRWP to attempt to flash a custom mod, now booting it boots into a flickering TWRP screen and nothing else. Not sure what to do
Click to expand...
Click to collapse
Either do a factory reset from the stock recovery or flash the factory image using fastboot. Don't use a tool kit.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Either do a factory reset from the stock recovery or flash the factory image using fastboot. Don't use a tool kit.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
When I try to use cmd itself, nothing works. does not reconignize the commands

T3hBraveBoss said:
When I try to use cmd itself, nothing works. does not reconignize the commands
Click to expand...
Click to collapse
Do you have fastboot installed on your pc? Google 15 second adb install xda.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Do you have fastboot installed on your pc? Google 15 second adb install xda.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I used this tool already
Can you PM me? I PM'd you

T3hBraveBoss said:
I used this tool already
Can you PM me? I PM'd you
Click to expand...
Click to collapse
I don't do pm. What specific problems are you having running the fastboot commands? Toflash the factory image it's as easy as double clicking on the flash-all batch file after you extract the factory image
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
I don't do pm. What specific problems are you having running the fastboot commands? Toflash the factory image it's as easy as double clicking on the flash-all batch file after you extract the factory image
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Trying to flash without a toolkit, cant even do cd desktop.. Whats happening
"The system cannot find the path specified"

T3hBraveBoss said:
Trying to flash without a toolkit, cant even do cd desktop.. Whats happening
"The system cannot find the path specified"
Click to expand...
Click to collapse
If you're using the 15 Second adb install you should not have an issue with the path. If you've used the tool kit since running the 15 Second install run it again. Then go to the folder where you downloaded and extracted the factory image and find the flash-all.bat and double click that.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
If you're using the 15 Second adb install you should not have an issue with the path. If you've used the tool kit since running the 15 Second install run it again. Then go to the folder where you downloaded and extracted the factory image and find the flash-all.bat and double click that.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Decided to boot into OS X and try to resolve this used this guide (without a toolkit)
http://www.androidrootz.com/2013/11/how-to-unroot-nexus-5-complete-stock.html
but at the last step, this came up (pretty sure its not fixed yet)
{
"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"
}

T3hBraveBoss said:
Decided to boot into OS X and try to resolve this used this guide (without a toolkit)
http://www.androidrootz.com/2013/11/how-to-unroot-nexus-5-complete-stock.html
but at the last step, this came up (pretty sure its not fixed yet)
Click to expand...
Click to collapse
Any reason you're flashing such an old version of android?
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
Any reason you're flashing such an old version of android?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I updated the with the latest files, its going through the process now. But last night I used to a toolkit (from the same site) to flash factory image and it was stuck on erasing cache for the whole night. Myself doing it manually is now on the same step. How long is is supposed to "erase cache"

T3hBraveBoss said:
I updated the with the latest files, its going through the process now. But last night I used to a toolkit (from the same site) to flash factory image and it was stuck on erasing cache for the whole night. Myself doing it manually is now on the same step. How long is is supposed to "erase cache"
Click to expand...
Click to collapse
It'll take a little while but not all night. Maybe 15 minutes.
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 02:53 PM ---------- Previous post was at 02:41 PM ----------
jd1639 said:
It'll take a little while but not all night. Maybe 15 minutes.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
If cache isn't flashing you may have bigger issues. What happens if you lock your bootloader and then re-boot the device? Does it stay locked or is it still unlocked?
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
It'll take a little while but not all night. Maybe 15 minutes.
Sent from my Nexus 5 using XDA Free mobile app
---------- Post added at 02:53 PM ---------- Previous post was at 02:41 PM ----------
If cache isn't flashing you may have bigger issues. What happens if you lock your bootloader and then re-boot the device? Does it stay locked or is it still unlocked?
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Its locked now, getting error

T3hBraveBoss said:
Its locked now, getting error
Click to expand...
Click to collapse
You're getting the error because your bootloader is locked, that's good news. Unlock the bootloader and follow method two of the attached. Flash ask the images except for cache. See if that works
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using XDA Free mobile app

This is what I tried doing, I was using the same commands. It takes forever to wipe the cache

jd1639 said:
You're getting the error because your bootloader is locked, that's good news. Unlock the bootloader and follow method two of the attached. Flash ask the images except for cache. See if that works
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
This is what I tried doing, I was using the same commands. It takes forever to wipe the cache

jd1639 said:
You're getting the error because your bootloader is locked, that's good news. Unlock the bootloader and follow method two of the attached. Flash ask the images except for cache. See if that works
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I actually used a similar but different method to the link you sent, in progress on method 2 but, trying to flash userdata.img results in error error: cannot determine image filename for 'userdata.img'

jd1639 said:
You're getting the error because your bootloader is locked, that's good news. Unlock the bootloader and follow method two of the attached. Flash ask the images except for cache. See if that works
http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
so I was able to flash stock back on, but it still has twrp and won't factory reset and wont boot

T3hBraveBoss said:
so I was able to flash stock back on, but it still has twrp and won't factory reset and wont boot
Click to expand...
Click to collapse
That's weird. Did you flash the recovery.img? It appears that some of the partitions aren't flashing.
Sent from my Nexus 5 using XDA Free mobile app

jd1639 said:
That's weird. Did you flash the recovery.img? It appears that some of the partitions aren't flashing.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
This is what I get what I try to wipe

Related

[Q] Error Recovery TWRP/CWM Not work

Hello. So, I did all right.
I have root, unlock boot and fastboot.
I got install TWRP but it shows me an error.
Look at the pictures
Installing
{
"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"
}
Error
Can someone help me ?
I followed this topic > http://forum.xda-developers.com/showthread.php?t=2302979
im assuming you have a xt925? where did you get a "17/10/2013" version for the 925?
i haven't seen any new versions, maybe i missed it.
The version doesn't matter because the problem is that you need to boot immediately into the custom recovery directly from boot loader the first time and disable the flash recovery script. The OS will overwrite the stock recovery every boot otherwise.
damn i missed that...knew that was stock and not an error, i fail lol
bweN diorD said:
im assuming you have a xt925? where did you get a "17/10/2013" version for the 925?
i haven't seen any new versions, maybe i missed it.
Click to expand...
Click to collapse
What ? I didn't understand your question.
cellzealot said:
The version doesn't matter because the problem is that you need to boot immediately into the custom recovery directly from boot loader the first time and disable the flash recovery script. The OS will overwrite the stock recovery every boot otherwise.
Click to expand...
Click to collapse
So. I need to disable unlock boot/fastboot ? And remake the process ?
RaR System said:
What ? I didn't understand your question.
So. I need to disable unlock boot/fastboot ? And remake the process ?
Click to expand...
Click to collapse
After you push/install the recovery you need to "reboot recovery" the first time, not reboot to system.
My comment is asking if you have the right recovery. I see the date on your recovery is new, I'm making sure you are not trying to flash a 926 recovery if you have a 925. You didn't say what model you have.
Sent from my XT926 using XDA Premium 4 mobile app
Hm. I understood. Then after I install recovery I need to write "reboot rexovery" right ? When I come back home I'll try !
A sure, I'm sorry I forget to say what is my version phone.
Sent from my XT925 using xda app-developers app
RaR System said:
Hm. I understood. Then after I install recovery I need to write "reboot rexovery" right ? When I come back home I'll try !
A sure, I'm sorry I forget to say what is my version phone.
Sent from my XT925 using xda app-developers app
Click to expand...
Click to collapse
I see now you have a 925 as I suspected, my concern was that you have the right recovery also. I haven't seen any new version for the 925, maybe I missed it. Just make sure you have a 925 recovery or it may not work right or at all.
The edit date in your script for the recovery was yesterday that's why I asked.
Sent from my XT926 using XDA Premium 4 mobile app
Alright. Well bbut come back to my problem do you know what I need to do and how I do ?
I want to test new roms in my razr. =]
Sent from my XT925 using xda app-developers app
RaR System said:
Alright. Well bbut come back to my problem do you know what I need to do and how I do ?
I want to test new roms in my razr. =]
Sent from my XT925 using xda app-developers app
Click to expand...
Click to collapse
i think you just need to put
fastboot reboot recovery
where you have fastboot reboot. you have to make it reboot directly into recovery, if it boots to system the new recovery is gone.
bweN diorD said:
i think you just need to put
fastboot reboot recovery
where you have fastboot reboot. you have to make it reboot directly into recovery, if it boots to system the new recovery is gone.
Click to expand...
Click to collapse
The command "fastboot reboot recovery" doesn't exists. And now ? What do I ?
RaR System said:
The command "fastboot reboot recovery" doesn't exists. And now ? What do I ?
Click to expand...
Click to collapse
sorry, it should be adb not fastboot.
adb reboot recovery
if you want a script that i know already works, here is one by tucstwo http://www.mediafire.com/download/2o061zcmzlaycb5/Razr_HD_Recovery_Flasher_V8.rar
just change the recovery img for yours.
bweN diorD said:
sorry, it should be adb not fastboot.
adb reboot recovery
if you want a script that i know already works, here is one by tucstwo http://www.mediafire.com/download/2o061zcmzlaycb5/Razr_HD_Recovery_Flasher_V8.rar
just change the recovery img for yours.
Click to expand...
Click to collapse
Wow, amazing ! It work very well !
My thanks !
Problem Solved :3
Glad you got it fixed
Sent from my XT926 using XDA Premium 4 mobile app

Fastboot error

I get an error when I try to fastboot flash system system.img. It doesn't appear to write the system.img to the phone. It downloads but doesn't seem to write and I get an error that says sp space is not enough.
I have a dev edition unlocked and was trying to return to stock anticipating the update.
Which fastboot are you using ?
Sent from my XT1058 using XDA Premium 4 mobile app
planktoid said:
Which fastboot are you using ?
Sent from my XT1058 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
moto fastboot. I am using the same computer/sdk/fastboot that I was using just a couple of days ago when I wasn't getting the error. FWIW it doesn't seem to actually affect anything. I just flashed twrp, formatted system, booted back to the bootloader and flashed the system and got the same error but the phone boots fine so it must be writing the system image. I am still perplexed as to what the error is. I had never seen it before until last night.
If you're not rooted and you are stock...how do you go about doing this?
Sent from my XT1080 using Tapatalk
justpastfinish said:
If you're not rooted and you are stock...how do you go about doing this?
Sent from my XT1080 using Tapatalk
Click to expand...
Click to collapse
Exact same way as all versions of the phone..... Follow the guide I posted in Dev Section, it gives detailed step by step.

Urgent help,internal storage disappeared

WAS IN LOLIPOP 5.1.1
THESE WERE THE THINGS I DID
1) UNLOCKED THE BOOTLOADER AND INSTALLED CWM RECOVERY USING (CF-Auto-Root-hammerhead-hammerhead-nexus5),AND INSTALLED SUPER SU
2) WENT TO CWM RECOVERY AND BACK UP EVERYTHING
3) DOWNLOADED CM12 LATEST (cm-12.1-20150625-NIGHTLY-hammerhead.zip )
4) AFTER WIPING DATA AND CACHE,TRIED TO FLASH CM12
BUT IT TOOK SO LONG ,SO I RESTARTED THE PHONE.WENT TO RECOVERY
5) RESTORED FROM EARLY CREATED BACKUP AND REBOOT
6) BUT THEN ALSO THE PHONE WAS BOOTLOOPING
7) TRIED STEPS 4-6 SEVERAL TIMES,THERE WAS NO USE
8) I JUST RELOCKED THE BOOTLOADER USING COMMAND 'fastboot oem lock'
9) THEN TRIED TO RESTART THE PHONE
10) THERE WAS NO CHANGE
11) THEN I UNLOCKED THE PHONE WITH COMMAND 'fastboot oem unlock'
12) BUT SIMPLE RESTART PROMPTED IT TO CWM RECOVERY
13) LATER I FOUND OUT THAT THE INTERNAL STORAGE WAS NOT DETECTED BY THE PHONE
HELP ME :crying::crying::crying: HELP ME:crying::crying::crying::crying:
The best thing to do at this time is flash the 5.1.1 factory image with fastboot and start all over
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
The best thing to do at this time is flash the 5.1.1 factory image with fastboot and start all over
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
i am downloading it now,do you think it will help
joel george alex said:
i am downloading it now,do you think it will help
Click to expand...
Click to collapse
do you have the stock recovery.img with you or anywhere
jd1639 said:
The best thing to do at this time is flash the 5.1.1 factory image with fastboot and start all over
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
what all files are included in the fasctory image.tgz
shoul i format system,boot, before flashing that
joel george alex said:
what all files are included in the fasctory image.tgz
shoul i format system,boot, before flashing that
Click to expand...
Click to collapse
Follow method #2, http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app
jd1639 said:
Follow method #2, http://forum.xda-developers.com/showthread.php?p=47156064
Sent from my Nexus 9 using XDA Free mobile app
Click to expand...
Click to collapse
thanks a lot it helped:laugh::good::good::good::good::good:
could you please tell me why i am not able to flash cm12 using cwm,is it an older version than my stock lollipop 5.1.1
CWM is Outdated. It's time to switch to TWRP mate.

Can't Boot Into LP After Flashing Firmware With TWRP & Fastboot

Hi
I have a Moto G 4G (Peregrine, XT1039) and I'm trying to install some stripped down stock ROMS, which I will be then encrypting under Android. One ROM I particularary liked was lost101's optimised version, but no matter what encrypting thr device just never worked. I have tried flashing unpackaged stock ROMS via mfastboot and have also tried flashing zips in TWRP. However, presently every time I reboot/boot the device it just goes straight into TWRP.
Will
Have you tried: Identity Crisis 6 LTE ?
Also there is a Stock ROM debloat script: [SCRIPT][CWM] NoMoto - Stock ROM Debloat Scripts (KitKat | Lollipop)
lost101 said:
Have you tried: Identity Crisis 6 LTE ?
Also there is a Stock ROM debloat script: [SCRIPT][CWM] NoMoto - Stock ROM Debloat Scripts (KitKat | Lollipop)
Click to expand...
Click to collapse
I already tried the Identity Crisis 6 but the encryption didn't work. Even ignoring the fact the encryption doesn't work my phone still booted into TWRP after flashing Identity Crisis 6 LTE.
{
"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"
}
willowen100 said:
I already tried the Identity Crisis 6 but the encryption didn't work. Even ignoring the fact the encryption doesn't work my phone still booted into TWRP after flashing Identity Crisis 6 LTE.
Click to expand...
Click to collapse
How do you get the ROM to boot then?
The ROM still isn't working. The flash seems successful but always boot straight into TWRP.
Sent from my Nexus 6P using Tapatalk
willowen100 said:
The ROM still isn't working. The flash seems successful but always boot straight into TWRP.
Click to expand...
Click to collapse
Reboot into Bootloader > Normal powerup.
lost101 said:
Reboot into Bootloader > Normal powerup.
Click to expand...
Click to collapse
Select system I suppose. Shall I go back into the recovery from being off, or shall I repeat the flash procedure then do the above?
Sent from my Nexus 6P using Tapatalk
Use the Bootloader option in TWRP, as shown in the screenshot.
willowen100 said:
Select system I suppose. Shall I go back into the recovery from being off, or shall I repeat the flash procedure then do the above?
Sent from my Nexus 6P using Tapatalk
Click to expand...
Click to collapse
Okay I just loaded TWRP from off state and selected reboot 'system', it stills goes back into TWRP.
Sent from my Nexus 6P using Tapatalk
lost101 said:
Use the Bootloader option in TWRP, as shown in the screenshot.
Click to expand...
Click to collapse
Okay then select 'Normal Powerup'?
Sent from my Nexus 6P using Tapatalk
willowen100 said:
Okay then select 'Normal Powerup'?
Click to expand...
Click to collapse
Yes.
lost101 said:
Yes.
Click to expand...
Click to collapse
It looked promising. Vibrates and stays on Google pad lock screen then went back into TWRP. However, I repeated it again a second time and if by magic it works.
What I don't get is why it's working but not with the stock LP ROMS? Also why the 'system' option didn't work from the reboot screen within TWRP?
Sent from my Nexus 6P using Tapatalk
willowen100 said:
What I don't get is why it's working but not with the stock LP ROMS? Also why the 'system' option didn't work from the reboot screen within TWRP?
Click to expand...
Click to collapse
This method should work with all ROMs. I've seen this problem before reported by users. You may have to live with it, if reflashing TWRP makes no difference. I think it may be a symptom of corruption on the phone that cannot be repaired.
lost101 said:
This method should work with all ROMs. I've seen this problem before reported by users. You may have to live with it, if reflashing TWRP makes no difference. I think it may be a symptom of corruption on the phone that cannot be repaired.
Click to expand...
Click to collapse
So basically after a flash select
'Reboot System> Bootloader > Normal Powerup'?
Sent from my Nexus 6P using Tapatalk
willowen100 said:
So basically after a flash select
'Reboot System> Bootloader > Normal Powerup'?
Click to expand...
Click to collapse
No. In TWRP:
Reboot > Bootloader > Normal Powerup​
or maybe just:
Reboot > System​
lost101 said:
Yes.
Click to expand...
Click to collapse
How much of a difference did changing the file system to EXT4 for the cache and system partitions, because obviously whilst wiping in TWRP I didn't receive any more mount errors?
Sent from my Nexus 6P using Tapatalk
willowen100 said:
How much of a difference did changing the file system to EXT4 for the cache and system partitions, because obviously whilst wiping in TWRP I didn't receive any more mount errors?
Click to expand...
Click to collapse
The default filesystem is ext4 for system. Only /data is f2fs.
Now that is sorted I need to make sure the encryption function works.
Sent from my Nexus 6P using Tapatalk
lost101 said:
The default filesystem is ext4 for system. Only /data is f2fs.
Click to expand...
Click to collapse
Why is in the original thread I received error messages saying the those partitions couldn't be mounted? By the way I would like to participate in making a guide for all this help I've received. It'll be useful for others so they don't mess anything up like I did.
Sent from my Nexus 6P using Tapatalk
willowen100 said:
Why is in the original thread I received error messages saying the those partitions couldn't be mounted?
Click to expand...
Click to collapse
Rebooting TWRP usually solves those mounting issues.

Disable qe service in stockrom

I know there are only few people using stockrom here, but according to this:
Carrier IQ, round 2: Motorola's Android devices are running "Qe", a process which logs all modifications to the stock OS and sends them back to Motorola
nomatter VZW or MOTO do this, i decide to remove the service.
By disabling "service qe" section in /init.target.rc will totally disable /xbin/qe running while our xt897 is booting, and this will also speed up the booting time.
we can do this by modifying the boot partition.
Disclaimer:
!! This is only for Photon Q 4G LTE stockrom !!
Most custom roms are already removed qe from boot partition.
I cannot be held responsible if anything goes wrong while using this mod.
how to flash:
adb reboot bootloader
fastboot flash boot mmcblk0p31_boot_mod.img
how to check:
every time you reboot the phone, "/xbin/qe /system" will be executed, and the result will be stored in /data/misc/qer
delete /data/misc/qer and reboot, you should no longer see the qer appeared anymore.
I also attached the original boot partition image just in case anything goes wrong.
(mmcblk0p31_boot.img is the original one)
So you have done this? Or are you only reporting it?
Sent from my XT897 using XDA Free mobile app
schmandroid said:
So you have done this? Or are you only reporting it?
Sent from my XT897 using XDA Free mobile app
Click to expand...
Click to collapse
I have already stopped qe from booting in stockrom.
You can just do a simple flash to the boot partition.
Maybe the Droid4 and Razer also have this kind of problem, but i dont have these phones.
Ok, do you have the download to flash, or is it in the link?
Can this be flashed through TWRP etc, or only through ADB?
Sent from my XT897 using XDA Free mobile app
schmandroid said:
Ok, do you have the download to flash, or is it in the link?
Can this be flashed through TWRP etc, or only through ADB?
Sent from my XT897 using XDA Free mobile app
Click to expand...
Click to collapse
The .7z file attached to the OP is what you extract then flash.
Directions are in the OP:
how to flash:
adb reboot bootloader
fastboot flash boot mmcblk0p31_boot_mod.img
Click to expand...
Click to collapse
It could certainly be modified to flash via TWRP.
Ha - I thought the attached zip was the stock - that's how I read it.
Sent from my XT897 using XDA Free mobile app

Categories

Resources