Will unlocking bootloader wipe /sdcard? - Nexus 4 Q&A, Help & Troubleshooting

So I'm trying to help this guy in the thread linked below to recover pictures of his newborn after breaking the touchscreen.
http://forum.xda-developers.com/showthread.php?t=2210955
I found another thread where someone confirmed that you can unlock the bootloader and flash a custom recovery, then use adb to pull the sdcard contents to recover pictures.
http://forum.xda-developers.com/showthread.php?t=2177440
The problem with this is that I can't remember if everything, including the sdcard, is wiped when unlocking the bootloader.
While researching this I have found that some say it is wiped while others say it isn't.
Can anyone confirm 100% one way or another?
Sent from my Nexus 4 using xda app-developers app

at4r1 said:
So I'm trying to help this guy in the thread linked below to recover pictures of his newborn after breaking the touchscreen.
http://forum.xda-developers.com/showthread.php?t=2210955
I found another thread where someone confirmed that you can unlock the bootloader and flash a custom recovery, then use adb to pull the sdcard contents to recover pictures.
http://forum.xda-developers.com/showthread.php?t=2177440
The problem with this is that I can't remember if everything, including the sdcard, is wiped when unlocking the bootloader.
While researching this I have found that some say it is wiped while others say it isn't.
Can anyone confirm 100% one way or another?
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
unlocking the bootloader wipes your storage, as well as any user data.

That's what I thought as well. The problem with that theory is that the guy in the thread below did it twice without the sd being wiped.
http://forum.xda-developers.com/showthread.php?t=2177440
Sent from my Nexus 4 using xda app-developers app

at4r1 said:
That's what I thought as well. The problem with that theory is that the guy in the thread below did it twice without the sd being wiped.
http://forum.xda-developers.com/showthread.php?t=2177440
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Anyone else?

Related

Best Toolkit?

Hey guys,
I see alot of toolkits around like N-Cry and Wkip or something.
Now, Im still unrooted and locked.
What is the best toolkit to unlock my bootloader and flash twrp?
Also, I don't want to lose any data while unlocking my bootloader.
Thanks in advance!
Sent from my Nexus 4 using xda app-developers app
The best toolkit is to not use a toolkit at all. Learn how to do it yourself, it's not difficult and will pay off in the end since you'll know how to use fast boot.
You cant unlock your bootloader without losing data, it's a part of the process and is there for security purposes.
Sent from my Nexus 4 using Tapatalk 4
Like zephiK said, don't use a toolkit.
It is actually possible to unlock the bootloader without having everything wiped. You need to flash a custom recovery right after unlocking, without rebooting in between. Then you boot into the recovery, wipe the cache, and boot back into android and everything should be left untouched.
Sent using xda-developers app
zephiK said:
The best toolkit is to not use a toolkit at all. Learn how to do it yourself, it's not difficult and will pay off in the end since you'll know how to use fast boot.
You cant unlock your bootloader without losing data, it's a part of the process and is there for security purposes.
Sent from my Nexus 4 using Tapatalk 4
Click to expand...
Click to collapse
Okay thanks guys I now know enough!
I'll find me a good tutorial and hopefully start unlocking and rooting soon.
Chromium_ said:
Like zephiK said, don't use a toolkit.
It is actually possible to unlock the bootloader without having everything wiped. You need to flash a custom recovery right after unlocking, without rebooting in between. Then you boot into the recovery, wipe the cache, and boot back into android and everything should be left untouched.
Sent using xda-developers app
Click to expand...
Click to collapse
Sent from my Nexus 4 using xda app-developers app
yup, in agreement.. best "toolkit" is fastboot/adb
failly said:
Okay thanks guys I now know enough!
I'll find me a good tutorial and hopefully start unlocking and rooting soon.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
A good guide to unlocking and rooting your Nexus 4 is available at http://forum.xda-developers.com/showthread.php?t=2266654. Don't forget Chromium's advise to flash a custom recovery then boot into recovery and wipe the cache before rebooting to preserve your data. I would also recommend copying all data from the Nexus' internal storage to your computer as a backup before rooting.
Thanks alot guys! Will just use the fastboot method instead of a toolkit!

[Q] Nexus 7 unlocking bootloader will erase sd-card??

I am tired of silly issue of Baseband xmm power wakelock with my nexus 7 3g (tilapia). So I wanted to root it and install custom rom.
I'ld like to have ParanoidAndroid 3.68 (another question: I am willing more features from custom rom and better stability, which rom do you suggest??)
My question is when I do OEM unlock, Will I loose everything? photos, songs and the current app back taken from "App backup & restore"?
I am having nexus s which has sd card option different that Nexus 7.
With nexus s, all my nandroid backup stay inside the sd card, and do not deleted when I change the rom with full wipe.
Will it be the same case in Nexus 7? If I want to change the PA rom to other, photos, and docs will be deleted everytime?
Google has answered to no sd card, and said that it will remove confusion from user? but what about the developers and users like us who change the rom weekly??
Removed..
To be sure - you can anytime copy everything from sd card to computer and if anything bad will happen you can return it to sd card back.
khaytsus said:
No, unlocking bootloader does not touch the SD card.
Click to expand...
Click to collapse
It most certainly does.
Sent from my Nexus 7
Pirateghost said:
It most certainly does.
Click to expand...
Click to collapse
I'm 99% sure it does not, but I agree with the idea of backing it up before doing it in case it does.
khaytsus said:
I'm 99% sure it does not, but I agree with the idea of backing it up before doing it in case it does.
Click to expand...
Click to collapse
When you send the command a warning comes up on the device screen. This is well documented and not really a topic that is debatable.
Sent from my Galaxy Nexus
The Android documentation says: (http://source.android.com/source/building-devices.html[/URL])
Unlocking the bootloader
It's only possible to flash a custom system if the bootloader allows it.
The bootloader is locked by default. With the device in fastboot mode, the bootloader is unlocked with
$ fastboot oem unlock
The procedure must be confirmed on-screen, and deletes the user data for privacy reasons. It only needs to be run once.
All data on the phone is erased, i.e. both the applications' private data and the shared data that is accessible over USB, including photos and movies. Be sure to make a backup of any precious files you have before unlocking the bootloader.
If after fast oem unlock you install a custom recovery like cwm without rebooting you won't loose any data.
n0credit said:
If after fast oem unlock you install a custom recovery like cwm without rebooting you won't loose any data.
Click to expand...
Click to collapse
What? It reboots automatically after agreeing to the unlock on screen.
Sent from my Galaxy Nexus
khaytsus said:
No, unlocking bootloader does not touch the SD card.
Click to expand...
Click to collapse
Jesus, no, THIS IS WRONG.
fastbook oem unlock WIPES THE ENTIRE DEVICE. Everything is gone, just like when you first turned it on brand new out-of-the-box.
Unlocking bootloader 100% erase the sd card data,i flashed 4 nexus 7 and every time the sd data get erased !! If you talking about rooting and installing recovery TWRP without unlocking bootloader via MOTOCHOPPER MOD it doesn't erase it !!
Sent from my Nexus 7 using Tapatalk 4
Perfectdevil said:
Unlocking bootloader 100% erase the sd card data,i flashed 4 nexus 7 and every time the sd data get erased !! If you talking about rooting and installing recovery TWRP without unlocking bootloader via MOTOCHOPPER MOD it doesn't erase it !!
Sent from my Nexus 7 using Tapatalk 4
Click to expand...
Click to collapse
You might want to just unlock now rather than later. It's not a huge pain and using a custom recovery is generally well worth it.
Rirere said:
You might want to just unlock now rather than later. It's not a huge pain and using a custom recovery is generally well worth it.
Click to expand...
Click to collapse
Agreed. Unlock sooner rather than later... with fastboot oem unlock. You can then fastboot flash a Custom Recovery, and root via Chainfires's SuperSU-v1.55.zip flashed in recovery.
Besides which, the 'motochopper exploit' no longer works under Jellybean 4.3.
Rgrds,
Ged.
All data was wiped. Rooted I'll post procedure.
Sent from my Nexus S using xda app-developers app
vikaskanani said:
All data was wiped. Rooted I'll post procedure.
Sent from my Nexus S using xda app-developers app
Click to expand...
Click to collapse
Why do you need to post the procedure? We already have tutorials and guides on this site explaining how to do it.
Sent from my Galaxy Nexus

[Q] Nexus 4 - Picture recovery method.HELP

BY accident deleted a folder containing important images from my phone. I tried the USB debugging method after accessing Developer mode.
My phone has not been rooted. Are there any tools or guidance to another post with some helpful information.
THank you in advance.
from my understanding you are trying to restore images that were deleted? Not sure what you are tying to do.
Sent from my Nexus 4 using Tapatalk
This is likely your only option:
http://forum.xda-developers.com/showthread.php?t=1994705
Phone needs to be rooted. There may be other methods as well.
Sent from my Nexus 4 using xda app-developers app
badboy47 said:
from my understanding you are trying to restore images that were deleted? Not sure what you are tying to do.
Sent from my Nexus 4 using Tapatalk
Click to expand...
Click to collapse
I am trying to recover the pictures I deleted . I read there may be different methods, but most of them involve rooting/unlocking. I do not want to risk doing a factory reset or wiping data, then I won't be able to "scrape" for traces of the deleted pictures.
I am sorry I am a noob, but I am willing to try a technical resolution (since Google support) does not seem to have any clear answer to data/picture recovery.

Help.confuse? 8gb or 16gb

My friend gave me his nexus 4 and never told me that the fone was rooted and its capacity..so now im confused, i check the custom recovery installed by pressing power+vol down and some sort of lying android logo shows and ask me what to do and at the bottom of the screen shows 'mako' thing..so now i check the unit how much memory does this phone has after restoring it thru recovery mode..i wipe cache aswell..so now i go straight to the settings and check it but it only shows 5.67gb total internl storage and 2.65gb free of space which is not normal to atleast 8gb nexus 4 has around 6gb less than 7gb internal and 5gb less than 6gb useable space.so the question is, how can i determine whether my fone is 16gb or 8gb even that i already had rooted it and i think he also put a custom rom aswell. i already search it and shows that some other nexus users getting the same problem or error as mine.btw im at kitkat 4.4 update
Here are my about phone screenies:
Sent from my Nexus 4 using xda app-developers app
Sent from my Nexus 4 using xda app-developers app
Only way I know to make sure is to format the data partition.. Can do this in custom recovery or fastboot OEM lock/unlock...warning you will lose all data, so backup.
Sometimes 16GB GB n4's get formatted incorrectly when upgrading os.
16GB should have @12GB free space and 8GB ones @5.7GB.
meangreenie said:
Only way in know to make sure is to format the data partition.. Can do this in custom recovery or fastboot OEM lock/unlock...warning you will lose all data, so backup.
Sometimes 16GB GB n4's get formatted incorrectly when upgrading os.
16GB should have @12GB free space and 8GB ones @5.7GB.
Click to expand...
Click to collapse
Ill try that one..that 5.7gb shows only in total internal memory and not the free space.and i notice also that theres alot of junks that when i did restore it thru recovery they were still there thats why they keep on eating up my space so i just did manually deleted form their folder using file manager..
When you boot into the bootloader using volume down+power you'll find a couple of informations at the bottom. One line tells you whether its the 8 or 16gb model.
Also some files on your storage (eg backups from recovery) may lead to faulty numbers in the storage section of the phones settings.
Sent from my Nexus 4 using xda app-developers app
Get an app that dispays all this info. Antutu will
Sent by reversed alian technology.
Is it possible to flash a wrong bootloader or rom mismatch to what my storage device is??i actually convinced that i have 8gb nexus like what u said is true..i saw in 'mako' at the bottom screen shows 8gb..
Sent from my Nexus 4 using xda app-developers app
Oxious119 said:
When you boot into the bootloader using volume down+power you'll find a couple of informations at the bottom. One line tells you whether its the 8 or 16gb model.
Also some files on your storage (eg backups from recovery) may lead to faulty numbers in the storage section of the phones settings.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Is it possible to flash a wrong bootloader or rom mismatch to what my storage device is??i actually convinced that i have 8gb nexus like what u said is true..i saw in 'mako' at the bottom screen shows 8gb..
Sent from my Nexus 4 using xda app-developers
Sent from my Nexus 4 using xda app-developers app
No. Software and hardware is the same, they just differ in the capacity of the storage.
Remember that your 8gb get reduced by the space needed for the system. 8gb doesn't mean you have 8gb free for usage. It means you have 8gb minus the OS, cache partitions, data partition. About 5gb should remain for generic storage such as pictures, music, video etc if I'm not mistaken.
Sent from my Nexus 4 using xda app-developers app
Heres what i found..got some screenies with what my bootloader is..anyone can explain what do i have here..im sorry from being noob..i know how to root and put some other custom rom but for this,i dont have any idea..i ask my friend how he rooted this and ask him every details he did but he dont even know how was that, maybe some friend of friends actually do it.im planning reverting back my nexus to stock rom/bootlaoder and like everything good as new..i dont feel the real nexus 4 here and got alot of problems too thats why..
sent from my N9005 using xda app-developers app
Now worst thing happen..im stuck at google logo now.. im not supposed to that format everything.. what im goin to do now.so any work solutions with this?flashing what files?need what?gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
sent from my samsung E1200 lol!
Its hard to tell what the problem is. Did you do anything before the phone got stuck on the bootlogo?
In any case, if you're getting a used phone from someone else you're always better of wiping it completely and setting it up from scratch.
Sent from my Nexus 4 using xda app-developers app
amzkyz said:
Now worst thing happen..im stuck at google logo now.. im not supposed to that format everything.. what im goin to do now.so any work solutions with this?flashing what files?need what?gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
sent from my samsung E1200 lol!
Click to expand...
Click to collapse
Lol damn dude you formatted everything? You really need to read the stickied posts. They are prerequisite reading.
Anyway, your first screen shot says 8GB.
When you format everything (I assume you formatted each partition), you lose everything stored on it. Everything. The OS is gone.
But all you have to do is install a factory ROM from adb or something similar. Let me go do a quick search and I'll be back.
Also, know that this isn't the phone or OS's fault. You went rogue and started doing stuff you didn't understand the consequences of. It happens, but it's nothing that can't be fixed.
EDIT: Here you go. Read through this guide. I can't reiterate this enough: read carefully and read to understand. This isn't literature class. You need to know what every sentence is telling you to do.
Basic summary: download 4.4.1 ROM for Nexus 4 and make damn sure you download the one for the Nexus 4 (mako). Install Android SDK. Boot into recovery. Specifics on these steps are located in that article. You will need to follow the link on how to sideload. Don't worry if you don't know what these words mean. The link is love. The link is life. It's written such that a young child could do it without assistance from an adult.
amzkyz said:
gggrrrr?thats why i hate rooted device.now my nexus seems to be useless now..
Click to expand...
Click to collapse
This is definitely assigning fault to the wrong party. Root isn't why you reformatted your storage and lost everything. It's because you didn't use Google to search for any of these answers. You could have solved your original problem by simply searching "How to tell nexus 4 8GB or 16GB."
It's possible that the internal storage was improperly formatted during a ROM flash, but it wasn't. I still can't understand what the hell your original post says, but I'm pretty sure you just misinterpreted how much space would be free.
The solution to this is to FIRST acquire the ROM you want and know where it's located in your phone's storage. THEN format the offending partitions or flash a zip or whatever you need to do to fix the problem (I don't know specifics since I've not needed it, but I'm sure I could find it with Google). THEN you flash your 4.4.1 ROM and if you go, never to return.
So in case you run into any problems with your car, I highly recommend against trying to fix it yourself. It doesn't sound like you'd be very successful. If you do, you'll probably end up with a hunk of scrap metal or a far more expensive repair job.
So i was planning to start all over form scratch..like everyone else is suggesting.so i have a little question..
From 4.4 kitakat and im planning to flash a stock rom 4.2.2 downloaded from google,is it possible?or do i need to stick to 4.4 like what i already had before this things happen..?
I was actually reffering only to this thread http://forum.xda-developers.com/showthread.php?t=2010312,maybe i think the most easy way to flash stock.
sent from my samsung E1200 lol!
https://developers.google.com/android/nexus/images?hl=ja#occam
Get the 4.4 factory image, flash that. Either get the 4.4.1 update ota or download the ota and flash it.
Sent from my Nexus 4 using Tapatalk
For those people that help me out at my critical state lol..,I must say thank you so much..now my nexus 4 bring back to life,without u guys,I think I can't do it alone.thnkx to xda for bringing u up here.must end this thread now..like what my thread originally is I know now what my nexus real capacity.tnx
Sent from my Nexus 4 using xda app-developers app
amzkyz said:
For those people that help me out at my critical state lol..,I must say thank you so much..now my nexus 4 bring back to life,without u guys,I think I can't do it alone.thnkx to xda for bringing u up here.must end this thread now..like what my thread originally is I know now what my nexus real capacity.tnx
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
For those people asking what i did was, i use adb flashing tool and required .img file for nexus 4 kitkat 4.4 and voila..anyhows i use this thread the complete guide flashing stock rom and if u want there is also root option tutorials here http://forum.xda-developers.com/showthread.php?t=2010312 ..thanks efrant from that wonderful step by step guide..
learning from ur mistake is not a bad idea.
Sent from my Nexus 4 using xda app-developers app
8gb or 16gb???
I'm also a bit confused on what Nexus 4 variant I have. In AnTuTu, I have the following info:
Storage-Internal SD Card; 5503.5/5803.1 MB (5.37/5.66 GB)
In Fastboot Mode, I have the following info:
Product Name- MAKO
Variant- MAKO 16GB
I've tried different "fixes" and my internal storage always ends up with 5.67GBs. So, what am I to believe my phone should have?
I heard there's a bug in nexus kikat update about shrinking storage issues.u better stick to what fastboot details has. U may want to try do a data format and clearing cache to resolve the issue.
Sent from my Nexus 4 using xda app-developers app
clenceo said:
I'm also a bit confused on what Nexus 4 variant I have. In AnTuTu, I have the following info:
Storage-Internal SD Card; 5503.5/5803.1 MB (5.37/5.66 GB)
In Fastboot Mode, I have the following info:
Product Name- MAKO
Variant- MAKO 16GB
I've tried different "fixes" and my internal storage always ends up with 5.67GBs. So, what am I to believe my phone should have?
Click to expand...
Click to collapse
reboot bootloader
fastboot format cache
reboot back to system
ps:dont look anntut
just go to the apps tab in config. it will show used-free (space)

[Q] Just keeps showing the boot logo

So im trying to fix my cousin nexus 4 but i tried everything to get boot but it won't past the boot screen. I adb several roms to it but it stays the same. I did notice there was no files at all whatsoever. I gonna try to factory reset it with a toolkit soon but at the moment has anyone encounter this issue?
xXghostXx313 said:
So im trying to fix my cousin nexus 4 but i tried everything to get boot but it won't past the boot screen. I adb several roms to it but it stays the same. I did notice there was no files at all whatsoever. I gonna try to factory reset it with a toolkit soon but at the moment has anyone encounter this issue?
Click to expand...
Click to collapse
Have you tried flashing the stock factory image?
https://developers.google.com/android/nexus/images?hl=fr-FR#occam
A guide how to
Toolkits are a bunch of shortcuts with a chance something might go wrong. Don't use toolkits. Follow what mrhiab said. And remember to wipe/format each partition first.
Sent from my Nexus 4 using xda app-developers app
gravitysandwich said:
Toolkits are a bunch of shortcuts with a chance something might go wrong. Don't use toolkits. Follow what mrhiab said. And remember to wipe/format each partition first.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Yeah I know toolkits are bad but it probably would of been my last choice and I gonna try to flash the stock image later to see if that will do.
Sent from my Nexus 5 using xda app-developers app

Categories

Resources