n4root - Nexus 4 rooting application
by @Complex360 (cyr0s on XDA-Developers)
THIS HAS NOT BEEN TESTED. BEFORE USING THIS, YOU ACKNOWLEDGE THAT IT COULD POTENTIALLY HARM YOUR DEVICE.
If there is a bug or issue you've found, post it here or preferably PM me.
(If this tool works for you, please comment below so I can remove the obnoxious banner about reliability)
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Sadly, I was unable to get my hands on a Nexus 4, regardless, it's a bloody awesome device and anyone lucky enough to own one deserves a quick and easy rooting method. This is it.
This uses the insecure boot.img method
1) Unlocks Bootloader
2) Boots with insecure boot.img (root access)
3) Installs Busybox
4) Installs SuperUser and su binary
If you've already unlocked the bootloader in anticipation for rooting solutions, you can just go through the bootloader stage, the application assumes you're telling the truth, regardless of whether you are.
Changelog:
Code:
V1.2 ([URL="https://github.com/compl3x/android/commit/3522237659aaf790e9cbd23df43aa354d950a42a"]1[/URL]) [URL="https://github.com/compl3x/android/commit/9bd487fa73fd650e4a61a020c9161d3f71f0512c"](2)[/URL] - Merged improvements of Kumouri
[URL="https://github.com/compl3x/android/tree/8b264c1b693452abfc6b6a70aa40f47071a6b1ab"]V1.1[/URL] - Fixed boot.img freeze bug
V1.0 - Initial release
If this has worked where the needlessly convoluted alternatives didn't, please consider donating to me via Paypal:
Feeling generous?
Last edited: