[nSLUG] Please help with unlocking bootloader of Nexus 4

robbie macg robbie.macg at gmail.com
Sun Aug 25 18:21:28 ADT 2013


Hi Daniel,
I know that there are a number of guides/FAQs/etc. that suggest
installing the SDK (i.e. ADB, Fastboot and other tools) via Eclipse,
but you can also just download the SKD, extract it in your '~/' and
stick the tools it contains in your command path. If all you want to
do is fire up a terminal to get your token or whatever, that might be
the simplest solution for you.

My Android tools live in '~/android-sdks' and my '.bashrc' contains
the follwoing lines:
<code>
#Android Dev Paths
PATH=$PATH:$HOME/android-sdks:$HOME/android-sdks/tools
export PATH

PATH=$PATH:$HOME/android-sdks/platform-tools
export PATH
</code>

Remember that a number of the commands associated with SDK tools will
require elevated privileges (at least they will if you're using them
out of the box). If you run something like 'fastboot oem
get_identifier_token' without sticking 'sudo' in front, it'll usually
just die. No error message or anything.

Good luck,
Robbie

On 24 August 2013 12:00,  <nslug-request at nslug.ns.ca> wrote:
> Send nSLUG mailing list submissions to
>         nslug at nslug.ns.ca
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://nslug.ns.ca/mailman/listinfo/nslug
> or, via email, send a message with subject or body 'help' to
>         nslug-request at nslug.ns.ca
>
> You can reach the person managing the list at
>         nslug-owner at nslug.ns.ca
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of nSLUG digest..."
>
>
> Today's Topics:
>
>    1.  Please help with unlocking bootloader of Nexus 4
>       (Daniel AJ Sokolov)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 24 Aug 2013 00:26:33 -0400
> From: Daniel AJ Sokolov <daniel at falco.ca>
> To: <nslug at nslug.ns.ca>
> Subject: [nSLUG] Please help with unlocking bootloader of Nexus 4
> Message-ID: <52947b76dc15022329487922858d2129 at mbox.nextlayer.at>
> Content-Type: text/plain; charset=UTF-8; format=flowed
>
> Hi,
>
> I'm trying to unlock the bootloader of a Nexus 4 phone, so that I may
> remove/replace certain software components. I don't event want to
> install any mods.
>
> But I'm stuck.
>
> On my Linux Mint 13 laptop, I've tried to follow these instructions
> http://makegadgetswork.blogspot.co.uk/2012/10/prepare-linux-mint-13-for-android.html
> to setup the correct Java environment and Eclipse, which is needed to
> install ADB and fastboot.
>
> However, Eclipse 4.3 won't start. It says
>
> JVM terminated. Exit code=13
> /usr/bin/java
> -Xms40m
> -Xmx512m
> -XX:MaxPermSize=256m
> -jar
> /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
> -os linux
> -ws gtk
> -arch x86_64
> -showsplash
> /opt/eclipse//plugins/org.eclipse.platform_4.3.0.v20130605-2000/splash.bmp
> -launcher /opt/eclipse/eclipse
> -name Eclipse
> --launcher.library
> /opt/eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20130521-0416/eclipse_1506.so
> -startup
> /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
> --launcher.appendVmargs
> -exitdata 19801b
> -vm /usr/bin/java
> -vmargs
> -Xms40m
> -Xmx512m
> -XX:MaxPermSize=256m
> -jar
> /opt/eclipse//plugins/org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar
>
> Maybe wrong java versions, or wrong memory settings, at least that is
> what they say at
> http://forums.linuxmint.com/viewtopic.php?f=47&t=123894
>
> But I don't know what to do about either. I've never done anything with
> Java than have it run in the background and "do its job". My google
> searches haven't been overly successful...
>
> Greetings,
> Daniel AJ
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> nSLUG mailing list
> nSLUG at nslug.ns.ca
> http://nslug.ns.ca/mailman/listinfo/nslug
>
>
> ------------------------------
>
> End of nSLUG Digest, Vol 339, Issue 1
> *************************************


More information about the nSLUG mailing list