i broken the screen, how can i erase data in the phone? - Nexus 4 Q&A, Help & Troubleshooting

hi guy , i broken phone a few days ago, now i tried to send to phone shop for repair. the glasses is broken, but the phone work fine.,it can turn on and the three buttons (volume and power ) is functional.
but im wondering how to erase data in the phone if the phone does not response when i use the screen..
i think the usb debugging is off. bc i tried to use the toolbox to reset to factory mode, and it says no phone detect..

Can you still see things on the screen? Try to access the recovery and erase the phone from there
Sent from my Nexus 4 using xda app-developers app

Boot to fastboot by holding power and volume down. Then you can
Fastboot erase userdata to wipe it. Or flash factory images
Sent from my Nexus 4 using xda app-developers app

zack_sparrow said:
hi guy , i broken phone a few days ago, now i tried to send to phone shop for repair. the glasses is broken, but the phone work fine.,it can turn on and the three buttons (volume and power ) is functional.
but im wondering how to erase data in the phone if the phone does not response when i use the screen..
i think the usb debugging is off. bc i tried to use the toolbox to reset to factory mode, and it says no phone detect..
Click to expand...
Click to collapse
Smash the phone to pieces, rendering it useless.
Sent from my Nexus 4 using xda premium

Alex240188 said:
Boot to fastboot by holding power and volume down. Then you can
Fastboot erase userdata to wipe it. Or flash factory images
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
but i am using the touch screen recovery ... the twrp..

zack_sparrow said:
but i am using the touch screen recovery ... the twrp..
Click to expand...
Click to collapse
Install CWM non-touch then (bootloader > fastboot flash recovery IMG > Recovery Mode)

espionage724 said:
Install CWM non-touch then (bootloader > fastboot flash recovery IMG > Recovery Mode)
Click to expand...
Click to collapse
i put cwm non touch recovery into my phone's sd root, and rename it to recovery.img.
nothing happen what i go to bootloader? any suggestion ?

zack_sparrow said:
i put cwm non touch recovery into my phone's sd root, and rename it to recovery.img.
nothing happen what i go to bootloader? any suggestion ?
Click to expand...
Click to collapse
Nonono. You don't put the recovery on your SD card, and u don't flash it using your phone.
You flash it through fastboot from a computer using:
fastboot flash recovery nameofrecovery.img
Sent from my HTC Desire using xda app-developers app

chromium96 said:
Nonono. You don't put the recovery on your SD card, and u don't flash it using your phone.
You flash it through fastboot from a computer using:
fastboot flash recovery nameofrecovery.img
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
is that possible if my phone did not turn on debugging?

Related

Can't get into recovery mode after unlocking?

So I just unlocked my boot loader and rooted it + installed CMw recovery, and after I did that I was able to get into recovery mode, however I put a custom kernel in my internal storage so that I could flash it but now I can't get into recovery mode... when I clicked recovery it goes to the black screen with the Google symbol on it and stays there.... any idea what I can do here?
Sent from my Nexus 7 using xda app-developers app
MRsf27 said:
So I just unlocked my boot loader and rooted it + installed CMw recovery, and after I did that I was able to get into recovery mode, however I put a custom kernel in my internal storage so that I could flash it but now I can't get into recovery mode... when I clicked recovery it goes to the black screen with the Google symbol on it and stays there.... any idea what I can do here?
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
You can't get into recovery without a USB cable connected. Install Quickboot from the Google Play Store. That's how i boot into recovery.Quickboot is the only way to do it without a cable.
theandroidrooter88 said:
You can't get into recovery without a USB cable connected. Install Quickboot from the Google Play Store. That's how i boot into recovery.
Click to expand...
Click to collapse
oh damn, lol thanks alot, had no idea that you needed to be connected, i'll definately be installing quickboot i feel like such a moron
IF A MOD WANTS TO DELETE THIS NOW THEY CANT, THANKS AGAIN!
Yes you can get into recovery without a usb . I'm not sure what the quickboot thing is all its doing is executing a command like
#reboot recovery
That's all it does. If you have terminal execute that command.
But if you're recovery is broken just reflash it using
#fastboot flash recovery nameofrecovery.img
Or just use the toolkit.
carved via Ville
OK so I got quick boot and it works like a charm.. I just click recovery and it takes me to recovery, works like a charm
Sent from my Nexus 7 using xda app-developers app

Messed up mako(Resolved)

I just used toolkit to root new nexus clicked option 8 one click. Everything went fine it rebooted into Google and now its stuck. USB debugging is no longer active, how can I push a file to phone to get boot. Please help. Is there a free node channel for N4 discussion. Thanks.
Sent from my SGH-T959V using xda app-developers app
anoymonos said:
I just used toolkit to root new nexus clicked option 8 one click. Everything went fine it rebooted into Google and now its stuck. USB debugging is no longer active, how can I push a file to phone to get boot. Please help. Is there a free node channel for N4 discussion. Thanks.
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Hold the power for about 10 seconds to turn it off, wait 10 seconds and press volume down and power button to get into the bootloader. If you have a windows pc try this link http://download.chainfire.eu/297/CF-Root/CF-Auto-Root/CF-Auto-Root-mako-occam-nexus4.zip to get root. Unzip the downloaded file and click root-windows. That should work.
----- CF-Auto-Root-mako-occam-nexus4 -----
Please make sure your device is in bootloader/fastboot mode before continuing.
***WARNING*** ALL YOUR DATA *MAY* BE WIPED ! ***WARNING***
We are going to run the "OEM UNLOCK" command on your device. If your device
was not previously unlocked, this will wipe all your data !
After the unlock, CF-Auto-Root will boot. You should see a big red Android
on your device's screen.
Press Ctrl+C followed by Y to cancel !
Press any key to continue . . .
The system cannot find the path specified.
The system cannot find the path specified.
It may take a minute or so for the red Android to appear. If it doesn't show up
at all, there may be a problem.
Press any key to continue . . .
gee2012 said:
Hold the power for about 10 seconds to turn it off, wait 10 seconds and press volume down and power button to get into the bootloader. If you have a windows pc try this link http://download.chainfire.eu/297/CF-Root/CF-Auto-Root/CF-Auto-Root-mako-occam-nexus4.zip to get root. Unzip the downloaded file and click root-windows. That should work.
Click to expand...
Click to collapse
any other suggestions
anoymonos said:
----- CF-Auto-Root-mako-occam-nexus4 -----
Please make sure your device is in bootloader/fastboot mode before continuing.
***WARNING*** ALL YOUR DATA *MAY* BE WIPED ! ***WARNING***
We are going to run the "OEM UNLOCK" command on your device. If your device
was not previously unlocked, this will wipe all your data !
After the unlock, CF-Auto-Root will boot. You should see a big red Android
on your device's screen.
Press Ctrl+C followed by Y to cancel !
Press any key to continue . . .
The system cannot find the path specified.
The system cannot find the path specified.
It may take a minute or so for the red Android to appear. If it doesn't show up
at all, there may be a problem.
Press any key to continue . . .
any other suggestions
Click to expand...
Click to collapse
That is what you are supposed to see, don`t worry about it and just press any button. If the bootloader is allreay unlocked you will not loose data. And don`t use Toolkits anymore
gee2012 said:
That is what you are supposed to see, don`t worry about it and just press any button. If the bootloader is allreay unlocked you will not loose data. And don`t use Toolkits anymore
Click to expand...
Click to collapse
ya but no red andriod appeared it just stayed in fastboot mode
anoymonos said:
ya but no red andriod appeared it just stayed in fastboot mode
Click to expand...
Click to collapse
Close CF Auto root, disconnect and reconnect usb and open CF Auto root again and try again.
If that doesn`t work flash TWRP recovery from here http://techerrata.com/file/twrp2/mako/openrecovery-twrp-2.5.0.0-mako.img in fastboot and flash this superSU zip http://download.chainfire.eu/331/SuperSU/UPDATE-SuperSU-v1.32.zip in recovery
I tried that and nada.I even try to flash factory img through fast boot and get error
Sent from my SGH-T959V using xda app-developers app
anoymonos said:
I tried that and nada.I even try to flash factory img through fast boot and get error
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Do a data factory reset in recovery, wipe cache and reboot. And try rooting again after you enabled usb debugging.
anoymonos said:
I tried that and nada.I even try to flash factory img through fast boot and get error
Sent from my SGH-T959V using xda app-developers app
Click to expand...
Click to collapse
Might help to know what error and which img file (specifically), I would just pull down TWRP 2.5.0.0 (specifically for mako):
fastboot flash recovery name-of-recovery.img
Boot into recovery (wipe/format and flash up new rom, etc), or if you instead get an error note the specific error.
PS: If you have no rom/etc due to erasure, you can 'adb push' the zip files to /sdcard while in recovery.
C:\sdk>fastboot flash bootloader-mako-makoz10o.img
unknown partition 'bootloader-mako-makoz10o.img'
error: cannot determine image filename for 'bootloader-mako-makoz10o.img'
C:\sdk>
kbeezie said:
Might help to know what error and which img file (specifically), I would just pull down TWRP 2.5.0.0 (specifically for mako):
fastboot flash recovery name-of-recovery.img
Boot into recovery (wipe/format and flash up new rom, etc), or if you instead get an error note the specific error.
Click to expand...
Click to collapse
anoymonos said:
C:\sdk>fastboot flash bootloader-mako-makoz10o.img
unknown partition 'bootloader-mako-makoz10o.img'
error: cannot determine image filename for 'bootloader-mako-makoz10o.img'
C:\sdk>
Click to expand...
Click to collapse
First off, bootloader isn't a "recovery", second you're missing a parameter
fastboot [action] [partition] [file]
You were basically telling it to flash nothing onto a partition named bootloader-make-makoz10o.img which course doesn't exist.
anoymonos said:
C:\sdk>fastboot flash bootloader-mako-makoz10o.img
unknown partition 'bootloader-mako-makoz10o.img'
error: cannot determine image filename for 'bootloader-mako-makoz10o.img'
C:\sdk>
Click to expand...
Click to collapse
Dude why you are flasing a bootloader!
kbeezie said:
First off, bootloader isn't a "recovery", second you're missing a parameter
fastboot [action] [partition] [file]
You were basically telling it to flash nothing onto a partition named bootloader-make-makoz10o.img which course doesn't exist.
Click to expand...
Click to collapse
i have folled this link and am syuck at flashing bootloader.http://forums.androidcentral.com/ne...3923-guide-nexus-4-factory-image-restore.html
basically all i can access is fastboot
This is why you don't use a bootloader. Just do it the old fashion way.
You don't need to flash a bootloader. Just fastboot flash stock Google images and start over
https://developers.google.com/android/nexus/images#occam
Also please change the title, your phone isn't bricked. You just messed up due to taking a shortcut route aka toolkit.
zephiK said:
This is why you don't use a bootloader. Just do it the old fashion way.
You don't need to flash a bootloader. Just fastboot flash stock Google images and start over
https://developers.google.com/android/nexus/images#occam
Also please change the title, your phone isn't bricked. You just messed up due to taking a shortcut route aka toolkit.
Click to expand...
Click to collapse
thats the problem it wont let me flash anything through fastboot
anoymonos said:
thats the problem it wont let me flash anything through fastboot
Click to expand...
Click to collapse
Do a data factory reset/ wipe cache in recovery and reboot.
anoymonos said:
thats the problem it wont let me flash anything through fastboot
Click to expand...
Click to collapse
You have the proper drivers installed? http://forum.xda-developers.com/showthread.php?t=1996051
gee2012 said:
Do a data factory reset/ wipe cache in recovery and reboot.
Click to expand...
Click to collapse
i dont have a recovery everything got wiped
zephiK said:
You have the proper drivers installed? http://forum.xda-developers.com/showthread.php?t=1996051
Click to expand...
Click to collapse
yes proper drivers installed. Just unrooted and relocked old nexus 4 for return and then tried to root and unlock new one and it **** on me
It probably will if you use the proper syntax since you have to tell it which partition.
If you go and grab the TWRP 2.5.0.0 recovery image from their website for mako, you can use the following
fastboot flash recovery nameofrecovery.img
Making sure there are 4 parts as the word recovery is part of the command.
Sent from my Nexus 7 using XDA Premium HD app
---------- Post added at 11:47 AM ---------- Previous post was at 11:45 AM ----------
Thus why you download one and flash. It's nearly impossible to hard brick a Nexus. Just helps not to receive panic. Take a couple breaths and figure out the proper commands.
Sent from my Nexus 7 using XDA Premium HD app

[Q] Broken&Locked N4, need your help..!

Hi guys !
I need your help for trying to recover my information from my Nexus 4... (Thanks in advance)
First, my N4 is:
With the screen cracked, so, the bottom half of the screen is not responding to any touch
Locked with a lock pattern (and because of the damaged screen, I can't unlock the phone)
With stock Android
With USB debugging on
Not rooted
With no other modification whatsoever (No custom ROM or recovery mode, etc)
First I tried the obvious, I connected the N4 to my computer expecting a miracle; as the phone is locked, and I can't unlock it, ADB just didn't worked.
I also tried sending a .zip thought "adb sideload" (using the stock recovery mode) to delete the files where the lock pattern is, but an "signature verification error" occurred (because the phone is not rooted, I guess). I've tried to delete the files with "adb -d shell" but (obviously) as ADB is not working, a "device not found" error showed up.
So I guess the question here is... What are my options ? Is there any way I can recover my photos and files ?
Thanks in advance!
Try going into recovery and using adb from there. Turn off the phone then turn it boot into the bootloader using volume down and power. Use the volume rockers to scroll and highlight Recovery mode, then use power to select it. Once in recovery press and hold power, then volume up to enter the menu. Then try "adb devices", and if the phone is recognized you can use what you want.
chromium96 said:
Try going into recovery and using adb from there. Turn off the phone then turn it boot into the bootloader using volume down and power. Use the volume rockers to scroll and highlight Recovery mode, then use power to select it. Once in recovery press and hold power, then volume up to enter the menu. Then try "adb devices", and if the phone is recognized you can use what you want.
Click to expand...
Click to collapse
Hi chromium96 !
That didn't work.. :S
Any other idea ?
Thanks for replying !
Flash a custom recovery and boot into it... I think custom recoveries support adb.. If USB debugging is ON and proper drivers are installed on your PC, you can do 'adb pull' for the necessary files
Sent from my Nexus 4 using Tapatalk 4
badhri said:
Flash a custom recovery and boot into it... I think custom recoveries support adb.. If USB debugging is ON and proper drivers are installed on your PC, you can do 'adb pull' for the necessary files
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Is that going to delete all my information ?
Thanks !
AlejandroFloresV said:
Is that going to delete all my information ?
Thanks !
Click to expand...
Click to collapse
To flash the recovery you will need to unlock your bootloader which is meant to wipe all your data. However if you flash the recovery right after unlocking the bootloader (no reboot in between) the data should not get wiped.
chromium96 said:
To flash the recovery you will need to unlock your bootloader which is meant to wipe all your data. However if you flash the recovery right after unlocking the bootloader (no reboot in between) the data should not get wiped.
Click to expand...
Click to collapse
I don't know if that's true...
Sent from my Nexus 7 using Tapatalk 4
korockinout13 said:
I don't know if that's true...
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
It is true. Ive done it successfully on several n4's and its even been talked about a couple times on xda: http://forum.xda-developers.com/showthread.php?t=2266928
Yes.. I have done that too.. It doesn't wipe the data.. Just flash cwm, right after the boot loader unlock..
Sent from my Nexus 4 using Tapatalk 4

Recover data from a N4 without battery

Guys I have a big problem...one piece linked to battery is broken on the motherboard (I don't know how to explain it)..the problem is: how to recover data? The phone works only in fastboot mode with only usb cable connected, if I try recovery mode it shuts down, and abd commands are not working in fastboot mode..I had custom 5.0 rom with twrp and unlocked bootloader. Please help me!
marcof93 said:
Guys I have a big problem...one piece linked to battery is broken on the motherboard (I don't know how to explain it)..the problem is: how to recover data? The phone works only in fastboot mode with only usb cable connected, if I try recovery mode it shuts down, and abd commands are not working in fastboot mode..I had custom 5.0 rom with twrp and unlocked bootloader. Please help me!
Click to expand...
Click to collapse
Flash recovery from fastboot using "fastboot flash recovery". Then you can use adb from the custom recovery.
athibanvasanth said:
Flash recovery from fastboot using "fastboot flash recovery". Then you can use adb from the custom recovery.
Click to expand...
Click to collapse
I can't boot in recovery, I don't have battery.. I wrote, I already have a custom recovery, butI'm without battery
marcof93 said:
I can't boot in recovery, I don't have battery.. I wrote, I already have a custom recovery, butI'm without battery
Click to expand...
Click to collapse
What part is broken? Can you post a picture?
(I replied to your FB post)
nitin.chobhe said:
What part is broken? Can you post a picture?
(I replied to your FB post)
Click to expand...
Click to collapse
Oh yes understood, unfortunely I can't..it's the part where you hook the battery. But now I have a new phone, I only need to know if there is a way to recover data without a battery plugged in, so a command in fastboot mode.
marcof93 said:
Oh yes understood, unfortunely I can't..it's the part where you hook the battery. But now I have a new phone, I only need to know if there is a way to recover data without a battery plugged in, so a command in fastboot mode.
Click to expand...
Click to collapse
There are no commands in fastboot to recover data. Only adb, which if you can't boot into recovery or the os you're sol.
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
There are no commands in fastboot to recover data. Only adb, which if you can't boot into recovery or the os you're sol.
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
I immagined it...and are there commands to erase everything? apps and personal data?
marcof93 said:
I immagined it...and are there commands to erase everything? apps and personal data?
Click to expand...
Click to collapse
fastboot format userdata
fastboot format cache
fastboot -w
I'd then flash the factory image with fastboot. That way the partitions will be written to twice.
Edit, if you're able to use fastboot have you tried booting into a custom recovery?
fastboot boot twrp.img
Sent from my Nexus 5 using XDA Free mobile app
jd1639 said:
fastboot format userdata
fastboot format cache
fastboot -w
I'd then flash the factory image with fastboot. That way the partitions will be written to twice.
Edit, if you're able to use fastboot have you tried booting into a custom recovery?
fastboot boot twrp.img
Sent from my Nexus 5 using XDA Free mobile app
Click to expand...
Click to collapse
Yes of course, it shuts down during boot..anyway, thanks bro.
EDIT: IT WORKED THAT WAY!! MANY THAAAAANKS!

Nexus 6P - Endless Bootloop

Hello Guys !
I was doing stuff with my nexus 6P on DU ROM when I unistall an app and my phone just "died"
My phone came into a endless bootloop and I can only access to recovery (but when I want to flash a zip it's crash during the flash)
I also have access to bootloader I have try to flash stock image but I can't boot too ...
NatsuDzn said:
Hello Guys !
I was doing stuff with my nexus 6P on DU ROM when I unistall an app and my phone just "died"
My phone came into a endless bootloop and I can only access to recovery (but when I want to flash a zip it's crash during the flash)
I also have access to bootloader I have try to flash stock image but I can't boot too ...
Click to expand...
Click to collapse
Just put phone into bootloader mode to flash back to stock or option for soft brick whatever you prefer. The easy way to do it, just download NexusRoot Toolkit and do it from there.
luckyfate said:
Just put phone into bootloader mode to flash back to stock or option for soft brick whatever you prefer. The easy way to do it, just download NexusRoot Toolkit and do it from there.
Click to expand...
Click to collapse
I did but the phone keep rebooting over and over
NatsuDzn said:
I did but the phone keep rebooting over and over
Click to expand...
Click to collapse
Keep pressing power button and then volume down button to go to bootloader, flash stock rom from there.
luckyfate said:
Keep pressing power button and then volume down button to go to bootloader, flash stock rom from there.
Click to expand...
Click to collapse
I already done that
Power + Volume Down to go in bootloader mode > Restore with NRT (soft-bricked/bootloop) > but the phone don't boot keep bootlooping (I can't even see the bootanimation)
I had this problem a while back . I had to fastboot erase everything and fastboot flash stock and start from fresh. Have you tried wiping anything yet? System ....etc?
Also what app did you uninstall?
Sent from my Nexus 6P using XDA-Developers mobile app
Arzee08 said:
I had this problem a while back . I had to fastboot erase everything and fastboot flash stock and start from fresh. Have you tried wiping anything yet? System ....etc?
Sent from my Nexus 6P using XDA-Developers mobile app
Click to expand...
Click to collapse
Can you tell me how I can erase everything with fastboot please ?
Start here.... http://androidforums.com/threads/guide-how-to-flash-a-nexus-factory-image-manually.706533/ ....a lot to explain with very little battery
Sent from my Nexus 6P using XDA-Developers mobile app
You can also format Factboot thru NexusRoot Toolkit by Advanced Utilities...Have you flashed stock+unroot by checking Device is on/normal?

Categories

Resources