yashsingh1/xdaforums huggingface dataset:
[Nexus 4 General] PhaseBurn:
Looks good though I've had problems before with Windows picking up the phone in fastboot mode if I didn't have the drivers installed first when I went from ADB to fastboot. Might suggest that one unplugs the phone after ADB is set up and working with the drivers for it installed, they reboot into fastboot mode, and plug the phone back in at which point the computer sees it as an entirely new device. Had to do this on my Galaxy Nexus and one of my Nexus S devices... the other Nexus S, Nexus One, and Nexus 7 didn't require it so I'm not sure what the cause is... twas a fresh Windows install every time I did it...

---------- Post added at 01:08 PM ---------- Previous post was at 01:06 PM ----------

Same though I stopped buying phones with locked bootloaders back when the ADP 1 came out
[Nexus 4 General] vineet381:
Hi,

Like many others, this will be my first Nexus device. And I will unlock the bootloader as soon as I open it out of the box.

Questions I have -

1) After unlocking the bootloader, will that change the default(stock) apps/ widgets which comes on the phone

2) Do I still have to flash the super user and recovery (TWRP/ CWM) in order to do nandroid backups? If yes- I presume there would be some guide later on in this thread?

Thanks
[Nexus 4 General] efrant:
:good:

No.

Root is not required, but you need to flash (or boot) a custom recovery like CWM or TWRP to do a nandroid.

As I mentioned earlier, have a look at the links in my signature. They are for the Galaxy Nexus, but for all intents and purposes, they will be the same for the Nexus 4. I will "port" them over here once I get the device.
[Nexus 4 General] PhaseBurn:
1) No it will not change anything at all. It won't give you root, won't change your apps/install superuser.apk, won't make you coffee or drive you into town. It only disables security on flashing to the NAND.

2) Yes and presumably there will be but the short of it is to download the recovery image file and then execute "fastboot flash recovery recoveryfile.img" in the same place you downloaded fastboot and the recovery image (at a command prompt, etc, like in the guide above). Then reboot into your new recovery and flash the root update.zip that will be provided somewhere. It's pretty easy. I might cook up the update.zip later tonight if I have time for it. If not you'll find one soon I'm sure.

---------- Post added at 03:10 PM ---------- Previous post was at 03:06 PM ----------

Sorry for the similar reply efrant, didn't see your post before I made mine. Tapatalk didn't refresh fast enough...
[Nexus 4 General] floepie:
Thanks for the write-up. The backup plan of attack seems to involve the adb backup route. Erfant, can you verify? Presumably, as others have mentioned, you can't perform a nandroid backup without flashing the recovery partition. So, the only way it seems is to either backup using the stock ROM's backup command or using the adb backup method.

However, it's not clear what is being deleted here. Is it simply your data partition, which includes only app data and settings data along with sd-ext stuff? I can't imagine that your bulk storage (SD-like) partition would be deleted, is it? And, certainly, your system is not deleted either, or there would be a need to re-flash the stock ROM, which to my knowledge isn't even available yet.
[Nexus 4 General] raze599:
When unlocking the bootloader, all user data is deleted. That is the Data and SD partition. Its a security feature.
[Nexus 4 General] ZappiestOyster:
Newbie question:

Hi guys, I have never owned an Android device before, but the Nexus 4 will be my first. Frankly, I was waiting for a "do-it-all" device, and this seems to be it.

Regardless, I'll unlock the bootloader as soon as I get the phone. The guide above points to backing up all the data, etc. before attempting the procedure.

Can you guys point me (and potentially other newbies) to a good backup app/technique? Even better would be to update the original post to include these details when mentioning "backups?"

Thanks for any input and keep up the good work!
[Nexus 4 General] ctfrommn:
If you do it before setting up the phone there will be nothing to backup.
[Nexus 4 General] ZappiestOyster:
Well, I guess I wasn't clear. Being a newbie, it would be nice to know a good backup utility that everyone else uses. I'm actually planning on buying another Nexus 4 for my cousin, who may decide to unlock the bootloader later.
[Nexus 4 General] USSENTERNCC1701E:
There isn't really a good back up utility that doesn't require root. So if your cousin goes that route, he may just want to wait until there is a root exploit. And when you do have root... Titanium Backup is absolutely fantastic, I have the paid version, and I would buy it again for every new phone if I had to, I say it was a better investment than any screen protector I've ever bought... but that's just me.
[Nexus 4 General] OmgitzFire:
Nice tut,

is there any way for mac ?
[Nexus 4 General] thephantom:
Same process except you need mac specific fastboot files. No need for drivers and the command should have ./ added in front so it's ./fastboot oem unlock
[Nexus 4 General] Audioboxer:
Can you get OTA updates with an unlocked bootloader on the Nexus line?
[Nexus 4 General] jacklebott:
I've been told you can
[Nexus 4 General] Chochiwpg:
I've been told you can unlock the bootloader, root your phone, but keep stock recovery and still receive OTA updates. I don't know if it's true, but that's what I have been told.
[Nexus 4 General] thephantom:
It's true. Having locked or unlocked bootloader won't matter for ota. Root will not affect it as well. What needs to be stock though are the system images like radio, kernel, recovery, etc for it to be a successful install.
[Nexus 4 General] DammedKiller:
I is easy and secure to come back to stock if I unlock the n4 and root it? I have read come guides for gnex and seems to be difficult.

Thanks for your attention.

Enviado desde mi Transformer TF101 usando Tapatalk 2
[Nexus 4 General] thephantom:
The only difficult part is making sure the drivers are recognized. Some have done it in less than 5 mins and others took more than 30. After that part, as long as you have all the files ready, it would be like making posts here. A few commands in cmd and the next thing you know all are done
[Nexus 4 General] USSENTERNCC1701E:
True nerds use BASH to post on XDA. :p
[Nexus 4 General] kcls:
It doesn't seem to have been clarified anywhere (Just read through the whole thread) whether or not USB Debugging NEEDS to be turned on. Can I literally unbox my phone and unlock the bootloader before I even boot it up for the first time?
[Nexus 4 General] efrant:
And hence the problem of re-posting a guide found on the internet to carry out a procedure on a device which one doesn't own.

I thought I had made it clear in this post, but I guess not, so here it is: whether USB Debugging is enabled or not makes absolutely zero difference in your ability to use fastboot commands and, hence, unlock the bootloader. This is not device specific. When you boot into fastboot mode, Android is not booted, so how can an Android setting make a difference?

To answer your question, yes, you can unbox your phone, boot it into fastboot mode directly, plug it into your PC, install the driver, download fastboot.exe, and unlock your bootloader without even booting into Android ever.
[Nexus 4 General] TheDarkDefender:
Sorry for the confusion. OP edited. Should be clear now. A few posts back,I did request people to PM me,if they did find some mistake in the OP.

Yes , I did re-post the guide found online. No one had shared it here and so I wanted to. You are making it sound like I've committed some misdemeanor. If the phone isn't out yet, why are people asking questions even without the phone in hand ? With all due respect,even your answers are guesses, based on previous nexus devices. The answer being obvious or not,if your question is: "why re-posting a guide found on the internet to carry out a procedure on a device which one doesn't own ?",

mine is "why comment or correct a re-posted a guide found on the internet to carry out a procedure on a device which one doesn't own ?"

P.S.No offense intended at all,and with all due respect,you seem to be very much directed at taking this thread down. If that is the case, please go ahead and do it.
[Nexus 4 General] efrant:
No offense taken. And no, no misdemeanor.

Not sure why people are asking questions before they have the phone -- maybe because they want to know the answers without trying things for themselves.

Most of my answers are not guess though: my answers related to USB Debugging are based on how the fastboot protocol works. It does not change. I did make a guess about the SDK not containing the driver though. The driver for the N1 and NS were available via the SDK, however, the driver for the GNex was not. See here. There are a few intricacies like similar to that, that one would not know without trying it for themselves.

I'm sure once you get the device and run through the procedure, your guide will be quite accurate.
[Nexus 4 General] eep2378:
To answer you question directly, "why comment or correct............". I think its fairly obvious, he's a mod and its his job to.
[Nexus 4 General] TheDarkDefender:
I think that goes without saying..probably what I meant by "the answer being obvious". My point is, if my posts pertaining to an unreleased phone are considered as guesswork, so are his posts,however obvious the answer may be.

Anyway,never mind. The moderator / Recognized Contributor always wins. I give up. Peace out.
[Nexus 4 General] eep2378:
It's not about anyone winning. Did you read efrants response? All I'm saying is he's just doing his job. Like he said once we get the device you're guide could be right on :D don't take it too personally.
[Nexus 4 General] TheDarkDefender:
Yep. Understood. Thanks for responding properly,and sorry for messing up the thread.
[Nexus 4 General] grayson73:
Hi,

I'm new to Nexus phones and have a few questions:

1. What is the purpose of unlocking bootloader?

2. Do I need to unlock bootloader in order to root?

I'm coming from the LG Optimus V that I rooted, but did not unlock bootloader.
[Nexus 4 General] eep2378:
@grayson73 Read/search through this thread, it's been answered.
[Nexus 4 General] USSENTERNCC1701E:
Unlocking the bootloader removes the security which would prevent you from making changes to certain parts of the onboard memory. The easiest way to root this device would be to unlock the bootloader, flash a custom recovery image, boot to that recovery, then flash a super user package.

Many other devices can be rooted using a security exploit that allows us to temporarily gain root privileges and mount the /system partition of the device as read write. Then you can manually set up the root binaries and super user app.
[Nexus 4 General] Stryder5:
Was hoping the fastboot drivers could be installed without installing the SDK. Oh well, downloading the SDK now. I'll report back once it's installed. I'll attempt to unlock, probably in about an hour or so.
[Nexus 4 General] Chochiwpg:
I would be curious how it goes. I have never had a Nexus before and will be following these instructions when I get the phone. Let me know, thanks.
[Nexus 4 General] Letitflow:
Download and install this. http://dl.google.com/android/installer_r21-windows.exe

After the installation start Android SDK Manager and download the Package "Google USB Driver" as shown in the Screenshot below.
[Nexus 4 General] Stryder5:
I downloaded the ADT bundle but there wasn't anything to install? Can someone point me in the right direction please? I always have trouble with figuring out how to get the drivers installed.
[Nexus 4 General] Letitflow:
I posted instructions 1 post above your post.
[Nexus 4 General] Chochiwpg:
Awesome thanks man, when I get the phone I will give it a go. I would also have to download fastboot correct?
[Nexus 4 General] StickyEyez:
Just got a Nexus 4 will try it
[Nexus 4 General] Stryder5:
Thanks. Already got it figured out before I saw your post.

Added the drivers here for easy use, instead of having to deal with the whole SDK fiasco.

http://xdaforums.com/showthread.php?t=1992345

I can confirm this method worked to unlock my bootloader.
[Nexus 4 General] eep2378:
Yes you need to download fastboot program for your particular OS. One thing I like about working with a Mac, no need to mess with pesky drivers:D
[Nexus 4 General] wera750:
NM i got it
[Nexus 4 General] Martin_Ro:
To the root thing.

In an other thread the Op talked about booting a recovery without flashing it.

So wouldn't it work to:

-unlock device with fastboot

-boot unsecured recovery

-install su package

-reboot

-relock bootloader

?

This would make the procedure of only rooting much more secure, wouldn't it ?

Gesendet von meinem GT-I9001 mit Tapatalk 2
[Nexus 4 General] USSENTERNCC1701E:
They haven't quite got those recoveries working yet.
[Nexus 4 General] eep2378:
Mac Users

For the users who are using a Mac. There is a nice tutorial here for setting up ADB(android SDK) and fastboot: http://xdaforums.com/showthread.php?t=1917237
[Nexus 4 General] desarenezitic:
Bootloader unlocked, now to set it up and play :D
[Nexus 4 General] jark99:
Subbed for when i get the n4. Works just like the nexus s

Sent from my Nexus S
[Nexus 4 General] daern:
You don't need the SDK, but the adb and fastboot drivers (and adb and fastboot themselves!) are installed by the SDK install tool.

Fwiw, I updated the SDK tools and my N4 just worked in fastboot and adb. MTP didn't work until I went into device manager and deleted the adb entry with uninstall driver selected and reconnected the device, pointing back at the SDK driver folder as needed.

(This was probably due to my old working GNex environment)
[Nexus 4 General] M_ike:
Question for those that have already unlocked the bootloader..Have you had any issue accessing Play Movies or Music?

This post on the LG G board mentions the possible deletion of DRM keys.

http://xdaforums.com/showpost.php?p=34211187&postcount=2

Just curious.
[Nexus 4 General] wolfboy1984:
How do i know if I need 32 or 64bit SDK download for Windows??

Sorry in advance for being stupid. First nexus.
[Nexus 4 General] TheDarkDefender:
Depends on your operating system. If it is 32bit,download 32bit SDK.
[Nexus 4 General] wolfboy1984:
I am on 32bit...

When installing drivers I get to it recognising nexus 4 but then next says insert CD. Then fails to install.

What am I doing wrong???? :banghead:

---------- Post added at 09:26 PM ---------- Previous post was at 09:25 PM ----------

I've followed instructions carefully but I've clearly done something wrong.
[Nexus 4 General] desarenezitic:
There should be an option underneath the Insert CD bit to browse manually to the drivers. I just browsed to the drivers I downloaded from this thread ;)
[Nexus 4 General] wolfboy1984:
Yeah did that... but there was (seemed as there was) nothing in those folders.

Frustrating - as I've been on Samsung/Odin /cm7,9,10 for last 2years without problems. I just don't know how I'm being a retard.

Toolkit for nexus4 out in next few hours apparently, so will wait for that.

I want to get to restoring my apps from box/titanium backup!!! Aaaargh!
[Nexus 4 General] iomartin:
Hello,

I'm new to all this, but I read all this thread and I have a few questions.

1. From what I read about the GNex, it's possible to unlock the bootloader using Linux. Correct?

2. The purpose of installing the SDK is to install the drivers, right? And Linux (Ubuntu) doesn't need it, so I can skip this step?

3. Are fastboot and and the only tools needed? Are they device independent? Where can I find them for Linux (the link at [REF] efrant's "Android for Galaxy Nexus" 101 & FAQs is broken)?

4. If I decide to re-lock the bootloader, will that "restore" my warranty?

Thank you very much
[Nexus 4 General] tweaked:
Good Guide, Easy to follow!

:cowboy:
[Nexus 4 General] DaX05:
Great guide for friends that are not familiar.

Beamed via Nexus 4
[Nexus 4 General] CptanPanic:
I have gotten my bootloader unlocked using ubuntu. Should I post the steps here to be added to OP, or should I create a new thread?
[Nexus 4 General] grayson73:
If I want to unlock bootloader and root, should I follow the instructions in this thread and then the root thread below, or should I only follow the instructions in the thread below?

http://xdaforums.com/showthread.php?t=1993331
[Nexus 4 General] efrant:
1. Yes

2. Yes and yes.

3. I fixed the link. (Also found in the first post of the "Flash stock yakju/takju/mysid" in my signature.

4. If you have the unmodified stock ROM flashed and re-lock, yes.

The steps are the same, except no drivers. Post in this thread.

This thread is just for unlocking the bootloader. The other thread has these instructions plus more.
[Nexus 4 General] SpartusTana:
Just to point out, the process of unlocking a nexus device is the same across all nexus devices. Instructions are linked from their images page here https://developers.google.com/android/nexus/images . Fastboot oem unlock will work on any nexus device.

I don't mean to rain on anyone's parade, but this should be common knowledge for nexus users, and I wanted to just point it out. :)
[Nexus 4 General] Stryder5:
And there are people (like me) who have never owned a Nexus device before. If you look at my sig, I've come from HTC devices.
[Nexus 4 General] SpartusTana:
Fair enough. I guess I was more implying, rather than have each device have "it's own bootloader unlock" what if we just had a designated site page we could link to? If the method is consistent, wouldn't a location for that method be something useful?
[Nexus 4 General] eep2378:
Well for the purposes of this forum it generally works like this. Each device has its own section broken down into each subcategory. If someone(xda member) has a N4 and wants to unlock it, they naturally would come HERE. Why would we need a designated page? This is the designated page :)
[Nexus 4 General] Stryder5:
If the steps include getting the device detected on Ubuntu, it might be worthwhile starting a new thread.
[Nexus 4 General] trek85002010:
Good news!! :good:
[Nexus 4 General] vineet381:
i downloaded the SDK from OP, how do I install the drivers? Do I have to place the unzipped folder in C;/ where I placed the fastboot folder..

thanks
[Nexus 4 General] Stryder5:
I already extracted the drivers from the SDK and put the link in my sig if that makes it easier for you.
[Nexus 4 General] vineet381:
I have the drivers installed when I connected my phone for the first time, I am stuck at step 8.2 from OP, command prompt doesnt show my device
[Nexus 4 General] TheDarkDefender:
You need the USB driver only.Read previous posts.
[Nexus 4 General] dcarpenter85:
This OP needs edited because it makes people think you need to download the ADT bundle instead of the SDK tools executable installer. The ADT bundle doesn't come with the drivers.
[Nexus 4 General] Zealotki11er:
Why cant i get Driver to install? I downloaded SDK and it does nothing.
[Nexus 4 General] efrant:
While this came from the Galaxy Nexus forum, it is completely applicable to the N4. The driver mentioned in there works for the N4 as well as the GNex.
[Nexus 4 General] Zealotki11er:
Got it to work. Forgot a command in cmd to detect phone id.
[Nexus 4 General] TheDarkDefender:
Should I edit the OP with it??
[Nexus 4 General] efrant:
As you wish.
[Nexus 4 General] Zainiak:
you could always install windows in bootcamp.
[Nexus 4 General] eep2378:
You can do this on a mac very easily, no need for drivers like windows. Follow the OP instructions except for drivers.

1) Download Fastboot(link in OP)

2) Place it in a easily accessible folder(i.e desktop)

3) Put your N4 into fastboot mode(hold power and volume down when device is OFF)

4)Open terminal-------> open path to where you downloaded fastboot program(desktop)

5) In terminal type : fastboot devices, you should now see your devices ID #

6) Then in terminal type: fastboot oem unlock

7) Profit :D
[Nexus 4 General] efrant:
Not quite, you are missing something. You need to put ./ in front of fastboot, so it becomes ./fastboot devices and ./fastboot oem unlock. I think it was already mentioned though, iirc.
[Nexus 4 General] eep2378:
You're right. Should have mentioned that but I did change my bash profile so(for me) there is no need to continually put "./" in front of every command :D:highfive: Makes things much easier :)
[Nexus 4 General] Fusio9:
The Fastboot.zip linked in OP only contains windows files, how are you supposed to use them in mac? :)

Fastboot for Mac here
[Nexus 4 General] CodmasterRob:
OP, the link for fastboot is down. Said there was no file. Can you reupload? I'm trying to get this done tonight.
[Nexus 4 General] TheDarkDefender:
Sorry for that. OP updated with a mediafire link.
[Nexus 4 General] sam razzy:
This step is quite easy.. I will try to unlock my phone.
[Nexus 4 General] binaryfalcon:
When I used a toolkit to unlock my bootloader, installing drivers was a painful. I had to disable driver verification and install them manually, and I had other problems along the way. Is this straightforward without doing some tinkering on win8?
[Nexus 4 General] smartmanvartan:
Hey guys, I have an other device I'm trying to to unlock the bootloader on. The fastboot oem unlock command works except for the fact that the volume keys on the device necessary to confirm the command do not work in bootloader mode. Is there to anyone's knowledge a permutation of the command that confirms the process in the command prompt instead of the device?
[Nexus 4 General] Maximilian1st:
Thank you for the guide.
[Nexus 4 General] Jazz s m:
can somebody tell how to unlock bootloader on galaxy grand i9080

kindly post a blog on this
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] markdexter:
Wondering if anyone can help me with adding a large ApN list to my New Rom, im hopefully going to be posting it later, this is the last thing i have to do.

Just wondering where i can get it from, and where I put it in my Rom.

ThankYou
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] stratatak7:
If you want to add to the list, you need to edit apns-conf.xml in /system/etc. ;)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] markdexter:
Thanks mate
[LG Thrill 4G] crackunia:
Hi! I rooted and unlocked my LG Thrill and installed clockworkmod too. I tried many ROMs here but non of them sim card not working. can anyone give me smooth rom with kernel which is fully funcional. thanks!
[Galaxy S III Q&A, Help & Troubleshooting] apk_xiz:
hi guys i want to root my phone by just injecting superSU+ SU any why to do that (or if possible temp. Recovery will be great :cyclops:) or can any dev please make a odin file with these (superSU + SU ) [nothing ealse ] ..:silly:
[Galaxy S III Q&A, Help & Troubleshooting] slaphead20:
search for cf auto root
[Verizon Samsung Galaxy S III] wctaylor79:
please delete thread. some i fix it videos and taking apart and back...:)
[HTC One X] nqkha:
Hello everyone.

Is there anyone can help me find a RUU for my HTC One X?

First I will tell you about my situation. I received this as a present from my friend. At the first time, I did't use it with a SIM. The phone was so hot and then drain the battery in just 3 hours. I thought the reason is the ROM, so I install LeDroid. But no change. I used Google and then knew HTC One X will hot and drain battery if use without SIM.

Now, I insert a SIM to the phone but it always No Service. I test with several SIM that works on other phone. Did I install a wrong ROM with wrong Radio? Current version of my phone:

CID: HTC_621 (TW)

Main Version: 1.29.921.12

Radio Version: 1.1204.107.14

HBoot Version: 0.95.0000

ROM: LeeDrOiD_One_Xtreme_V6.4.0

Could I find a RUU with right Radio version for my HTC?

Thanks.
[HTC One X] matt95:
that RUU hasn't been released yet
[HTC One X] BenPope:
Try RUU 2.17.709.x, it might work as your CID matches, it will wipe your phone, so backup first.
[HTC EVO 3D] oohaylima:
Is there anyway to get rid of the EN button on my keyboard? Damn fat fingers keep hitting it. >_<

View attachment 1455092
[HTC EVO 3D] bpc4209:
Settings,language and input, Android keyboard settings,advanced, suppress language switch key...