Wednesday, December 9, 2015

rooting - "sendmsg: Connection refused" trying to root a Nexus One


Following the link taken from this question, I got the following error.



$ ./freenexus
[*] Android local root exploid (C) The Android Exploid Crew
[*] Modified by ak for HTC Nexus One
[+] Using basedir=/data/local/tmp, path=/data/local/tmp/freenexus
[+] opening NETLINK_KOBJECT_UEVENT socket
[+] sending add message ...
[-] sendmsg: Connection refused

Does this mean that method is now outdated?



Answer




As far as I know, a fully updated N1 won't have any exploitable vulnerabilities to allow you to root the device. Most of the older "one click" and similar methods used things like Gingerbreak, which were holes in Android that eventually got patched. I have not seen a root exploit on vanilla Android since Gingerbreak.


XDA's wiki has a couple of different options regarding the N1 which work but require unlocking the bootloader, and unlocking will perform a factory reset automatically. They can be found here and basically amount to:



  1. Unlock the bootloader from fastboot mode with fastboot oem unlock

  2. Flash a custom recovery (usually ClockworkMod)

  3. Flash a zip file from recovery that will install su and Superuser for you

  4. Reboot


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...