So you’ve finally managed to weasel a Nexus 4 out of Google’s grubby paws; now what? Rather than living with stock Android (wonderful though it is), let’s harness the full power of the device sitting on your desk. Here’s the complete, step-by-step guide to the best Nexus 4 tweaks, hacks and tune-ups around.
Tweakmodo is Gizmodo’s new guide to getting the very best out of your electronics. Every week, we’ll be doing the magic to a different device. Got a bit of kit you want to see pimped up, or think we’ve missed a vital hack? Let us know in the comments!
Google’s stock Nexus experience is pretty fantastic to start with, but the beauty of the Nexus devices is that stock Android is just the beginning. In this guide, we’ll be walking through rooting; flashing (in my opinion) the best custom ROM out there; fiddling with a few system-level apps; and messing with settings to get the very best performance for your £239.
It’s worth noting that rooting your phone and flashing a custom ROM may void your warranty; if you have to send your phone back, for any reason, you’ll need to undo all the changes, and even then, there’s no guarantee that the manufacturer will fix your handset.
Before doing any of the seriously useful tweaks, you’re going to need to be in complete control of your N4. And that means rooting.
- First-up, for Windows users, you’ll want to download the Nexus Root Toolkit, a neat all-in-one rooting set. Once you’ve got that done, there’s a few steps to root your device (no, this isn’t going to be an iOS-style push-a-button-and-you’re-done root; you’ll want to set aside an hour or two for this).
- While the Root Toolkit is downloading, head into your Nexus 4 — go to “Settings –> About –> Build number”, and tap “build number” about ten times, until you get a little message saying “you’re now a developer”. Head back into settings, go to “Developer Mode”, and turn on USB debugging. This lets the Nexus Root Toolkit talk to your device.
- Once you’ve downloaded the Root Toolkit, first off the bat is to set your device and Android build. Obviously, we want the Nexus 4 for device (duh!); choose the Android build that your phone is running (if you’re not sure, go settings–>about–>build at the bottom).
- Next up is to install the Windows drivers. This can be a wee bit fiddly, but there’s a set of instructions in the Root Toolkit that walks you through the process step-by-step. Be warned, there’s a reboot involved. To get going, run Nexus Root Toolkit, and select “Full Driver Installation Guide – Automatic + Manual” from the top.
- Before we do anything to the phone, we first want to set up a backup, so go ahead and hit that “Backup” button. In the options, you want “Create Android Backup File”, with the shared data box ticked and the system apps + data box un-ticked. Select a location for the backup file (default location is fine), and hit backup. The phone will reboot, and when it boots back up, you’ll get a pop-up on your computer; follow the directions, and unlock the screen on your device. Set a password for the backup (probably wise), and hit go. Once the backup is done, you’ll get a success! notification on your computer.
- Now that you’re safely backed up, hit “Root”, and let the magic begin. NRT will prompt you to download some files — just agree to whatever it wants. Eventually, it’ll start rooting your device — just sit back and let it do its thing. Don’t worry about pressing anything on the screens that will flash up on your device.
One error I ran into a few times was that it got stuck on the TWRP bootloader (image above). If this happens, reboot into system, and try the root procedure again. (Reboot–>system)
- You should now be successfully rooted (yay!). To check, ensure SuperSU and BusyBox now appear under your list of apps. Assuming that they do, go into BusyBox and hit install — it’ll be helpful later on.
- Before going any further, we’re going to create a proper backup — one of the advantages of rooting. Download the Titanium Backup app from the Play Store, and use it to make a decent backup. Make sure you make a copy of the Titanium Backup file and store it on your computer.
- Next, you’ll want to install ROM Manager from the Play Store. Again, this’ll make your life easier. Once it’s installed, head in and click “Recovery Setup”. Go through the steps to install ClockWorkMod Recovery.
- It’s time for the big step. Flashing a ROM means that we’re moving away from stock Android, and putting a custom version on there. The particular version I’ve gone with is the most popular of custom Android ROMs, CyanogenMod. You can download the .zip file of the ROM from here. Go for the latest version. CyanogenMod (or CM 10.1, as it’s known), is like stock Android, but with more options and tweaks. By my testing and anecdotal evidence from XDA forums, it also seems to offer better battery life than stock Android.
- Once you’ve downloaded the .zip file, you need to copy it onto your device. Copy it into somewhere you’ll remember, like the downloads folder.
- Go into the ROM Manager, and select “Install ROM from SD Card”. Select the CM 10.1 file that you copied over to your device earlier, tick Backup Existing ROM and Wipe Data and Cache, and then hit reboot and install.
- Once it’s done, you should see the CyanogenMod boot screen.
- Custom ROMs like CM don’t typically come with Google apps installed, so we’re going to have to do that first. Download the Google Apps from here, making sure you get a version that’s compatible with your build.
- Once you have the download, copy the .zip onto your Nexus 4. Power down your device, and boot it up into the bootloader (hold down power and volume down). Select “Recovery”; then, install zip from SD card. Navigate to the Google apps zip you just copied over, and hit go. Once the install is complete, reboot.
- At this point, if you want to restore all your old apps and settings, download Titanium Backup and use it to restore the backup you made earlier (you did make one, didn’t you?).
Congratulations! You’re now running a custom build of Android, so you’ve got far more options at your disposal now. Some changes to be made will be a matter of personal taste (like the design of your homescreen); others are more technical tweaks, which are the ones we’re going to cover here.
- Unlock developer mode again (the tapping on the About option thing). As well as the developer options (remember to re-enable USB debugging, by the way), you’ve now got access to a new menu, right down the bottom of settings: “Performance”. There are two changes I would recommend you make to get better performance out of your Nexus 4. Go into “Performance–>Memory management”, and tick the “allow purging of assets” box. Then, select zRam, and set it to 18 per cent. This will effectively increase the amount of memory available, making hardcore multitasking a lot easier.
- Go to “Settings–>System–>Notification drawer”, and enable the Power widget. This’ll give you all sorts of handy toggles (customisable in the “Widget Buttons” menu) in the notification drawer. In the same System menu, there’s also a “Status bar” menu, which gives you the option to change the battery icon to a percentage — at last!
- Download Tasker from the Play Store. Tasker’s a wonderfully neat app that you can program to do just about anything. For some neat ideas and walk-throughs, have a look at this thread on XDA forums, which explains everything pretty well. There are even more ideas on this Lifehacker article.
- Set up profiles. Something that’s missing from pretty much every mobile OS nowadays (but was a staple back in the days of Symbian), profiles are basically presets of a bunch of settings, like ring volume, Wi-Fi on/off, etc. I’ve got one for work, one for home and one for silent, for example. You can quick-change profiles by holding down the power button.
- Download Apex launcher and get to work on your home screen. The stock Android screen is just, well, boring. Apex launcher (or the equally good Nova) provide endless options for customising your homescreen. If you need inspiration, check out Mycolourscreen.
- If you, like me, get annoyed by the soft-buttons at the bottom of the page staying there far too much, there is a way to get rid of them. Download and install Button Saviour, then grab the FullScreenToggle apk from this thread, sideload using the same method in NRT we used to sideload the Google Apps, and Bob’s your slightly-better-endowed-with-screen-real-estate uncle.
- Download Light Manager to manage the notification LED. My advice is to set the LED to colours that match the app (so blue for Facebook, red for Gmail etc), but it’s your choice.
- AdFree works like an ad-blocking extension in a browser. Simples.
Those are my standard recommendations — but of course, there’s basically limitless possibilities for what you can do with your device now. Not to mention, you should also see better battery life, more frequent updates and a bloody battery percentage.
Have we missed anything out? Let us know in the comments below!
Tweakmodo is Gizmodo’s new guide to getting the very best out of your electronics. Every week, we’ll be doing the magic to a different device. Got a bit of kit you want to see pimped up, or think we’ve missed a vital hack? Let us know in the comments!
To get on-the-spot news, app tips and the full lowdown on Samsung’s latest mobile announcements check out Samsung’s Your Mobile Life over here.























How to Root the Samsung Galaxy S III (and Rid It Of TouchWiz Hell)
Google Glass Has Already Been Hacked and Rooted
Google Wallet Has Been Hacked Again, Now Without Root
Thanks Chris, even though I took the plunge yesterday (or the day before) a few useful things here…even if I’m still not sure what I’ve done
Personally using Hide Bar to remove the soft buttons and SetCPU to minimise battery drainage when the screen is off, battery seems to be doing well (although I’m currently recharging and it seems to be recharging slowly, oh so slowly for some reason!).
I am using hide bar aswell, working well so far and battery life is going great with a few tweaks, 30% from yesterday 7AM with average useage.
Now I just need to work out how to get Tasker to go into Airplane mode automatically at night and I’ll be a content chap
Printerelf is the resident Tasker Guru.
Battery Widget Reborn – Night mode: Set from 11PM to 6AM – turns all connections off (Your choice of connections) and then turns them on at 6AM. (Also puts a battery percentage icon in your status bar and notification bar, and tells you the CPU Temp.
thanks
You’ll need Secure Settings because in 4.2+ apps aren’t allowed to toggle Airplane Mode, so root is needed.
After that’s installed, install the Helper from within Secure Settings.
Then in Tasker, create a new profile: context – time (from 2300 – 0830 or whatever), task – Plugin>Secure Settings>Edit>Airplane Mode (under helper actions)>Toggle on and save.
Then save the task, and in the main screen, long press the task and click “Add Exit Task”.
For the exit task use Secure Settings to toggle Airplane Mode off.
That’s it! You could also add a day context to do it for certain days of the week.
cheers, just done this,although wondering if the Battery Reborn way shown above may be less battery intensive (and I have it as well)….
Since getting Tasker I haven’t felt any form of battery drain at all, especially with all the other profiles I have. But to each their own I guess. You could also customise the profile to do whatever you want during the night like lower brightness or whatever.
I’ll try Tasker first as already set up a Kindle night time reading profile where it dims the screen and activate HideBar so I have the best reading experience
I’m a bit wary about rooting my N4 and voiding the warranty, and I’m getting on really well with Android 4.2. However, the one thing that annoys me are the software buttons during games! They take up screen space and you can accidentally hit them.
Video apps tend to hide them to allow full screen video, but I seriously wish Google provided a solution to allow you to manually hide or show them.
There are a few other things that STILL seem poorly considered in Android too. The alarm clock snooze, for example; Why can’t the screen simply display two massive buttons, one for ‘Snooze’ and one for ‘Stop’. That’s all half-blind sleepers need or want. What the hell were Google thinking with their ‘drag a tiny icon’ solution?
Also, the placement of the ‘Send text’ button still mystifies me, ever since Froyo. I’ve accidentally sent texts numerous times by accidentally missing the top-right of the keyboard and hitting the ‘Send text’ button instead.
It’s infuriating because they are such easy and basic UI fixes that would make such a huge difference to people’s daily lives.
I understand what you said about the warranty but to be honest I decided to risk it as the software buttons were really starting to annoy me, the decision by Google to not allow Tasker etc to put my phone into airplane mode and a few other things (solved by rooting) have made me realise the risk (fingers crossed) was worthwhile although as I use Handcent for my sms I don’t have the text issue.
Any more questions, just yell
For example, you could further customise the Night Mode profile with conditions that means it only activates when charging, and/or face down (I realise that this wouldn’t be of use with the wireless charging orb).
cheers
Could you do a nexus 10 guide too?
It’s on the list!
It’s pretty much the same thing. Just substitute Nexus 10 for Nexus 4 in this article and your done.
Rooting yes, but there’s lots of tablet-specific tweaks out there
Indeed. I would suggest another good one to do would be rooting and installing stock android on a Galaxy S3 to rid yourself of the abomination that is Touchwiz
That I’m sure I can help with!
Excellent article Chris and excellent new section..
Glad you approve of my methodology. Took literally days of soft-bricking to settle on this rooting method, I tell you.
Good Grief Man! Just bloody ask next time. :-0
No no I’d done the root before — to write the article, I re-locked and tried a bunch of different methods to find the most user-friendly.
The last step should be to relock your bootloader.
Good guide! Cheers Chris, coming from an iOS world the rooting process is more technical than any Jailbreak I have come across the past 5 years.
I rooted my Nexus 4 a week or so back and it is very good! find new things to mess about with daily! have a very good set up now. feels very personal.
Know what annoys me? When these guides are made only for Windows users. Android is based on Linux, why no guide for people that use a desktop version of Linux?
Because for the month of January, only 1.9 per cent of our readers came from a Linux device?
I’m guessing most of Gizmodo’s readers are using Windows, but you could surprise me? OS X? Android? iOS?, I would be intrested in seeing what readers use most. I use windows, os x, ios, and android to read Gizmodo daily/weekly.
Also, if you know your way round Linux you don’t need a beginners guide.
I recommend superboot since it works on all 3 platforms.
Here you go http://www.modaco.com/topic/359321-superboot-nexus-4-root-solution/
Thanks but i didn’t want one, was just pointing out that it’s almost always just for Windows.
Some men just want to watch the world burn
It’s just not worth our time to do a Linux guide, I’m afraid.
Awesome work!! How about a guide for the Transformer Prime running Jelly Bean without breaking the bootloader
Thanks a lot Chris, much appreciated. Being a root-noob I found it impossible to root my last handset Desire S. This is just great!
HTC phones are so much harder to root though. The Nexus devices are much more simple.
I heard the same
Had mine bootloader unlocked, rooted and flashed with a custom ROM the day she arrived at my door. I like CM, codefirex and AOKP but I’m currently on my favourite: Xylon.
Chris,
Any chance you could do one for the Note II?
On the list.
Who Hoo!
with alliance-rom and all there tweaks/hacks and customization?
Yeah note 2
Wud be
Cheers dude… Never done the whole root thing and would like to try…. Also here’s a noob Q….
Is it possible to root but keep touchwiz? Why!I hear you scream! I actually like the latest version… A vast improvement over the last but would like full access to tweak…. Also how easy to swap between custom roms/back to touchwiz?
Ta;)
*wud be GOOD!
yes. You are under no obligation to alter your rom in any way. You can have root on your phone with the OS completely unchanged. It would be sensible to install one of the superuser apps to stop people taking advantage however.
I rooted mine after using it for a couple of months but returned back to stock a week later. Just a little worried about warranty really, though ParanoidAndroid has some nice features.
Also, doesn’t 4.2 basically make any adblockers worthless without some messing around?
It does stop adblock working, but adblock only works because of a security exploit in Android, and Google have patched the exploit.
when i had a nexus 4, rooting with cm10 + franco kernel gave me an extra hour of battery life… but it still sucks, the phone on stock gives 4 hours and root gives 5 hours..
just not enough, the phone would have been my favorite android if it had decent battery. stock android experience is the way forward.. hate touchwiz & sense bloatware UI.
a few design flaws on the phone such as the speaker being easy blocked at the bottom, volume buttons easily pressed in pocket, and hard to tell if the nexus is upside down at times lol.
i’ll stick to my awesome white iphone 4 where design is perfect & app optimization is great.
looking forward for to googles next phone tho.
I got a Nexus 4 so I could be saved from the tedious process of constantly flashing ROMs to get fresh Android.
I don’t understand why one would get a Nexus 4 … then root it and flash a ROM so that they can play with the LED, tweak notifications, or dick with the home screen.
How OCD are you?
I am more concerned with the things Android actually DOES. And having the newest version at all times is something with which I would never mess. Certainly not for the sake of Button Savior.
If you have a stable ROM, you have an old version of Android, or the newest version, with components that don’t work.
No more, “well, wi-fi tethering and audio don’t work, BUT WE GOT ALL THE 4.2.2 WALLPAPERS!”
I’m all for ROMs, but ROMing a Nexus 4 is patently retarded.