Chainfire Turns Your Bootanimation into a Logging Center

Having a nice boot animation certainly adds a little bit of aesthetic polish to your … more

Android TV Launcher Pushed to Google Play

Over the past decade, the tech universe has seen two drastic and widely contrasting changes with … more

Cyngn, OnePlus, Micromax – The Legal Battle

Recently, a battle has been waging in India over the rights to distribute the commercial … more

Lean Mean Battery Power Saving App Review

We talk a lot about battery topics here at XDA TV. We talk about everything from Power Banks to USB … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[GUIDE] Rooting the G Watch

OP Smith7018

28th June 2014, 03:17 AM   |  #1  
OP Senior Member
San Francisco
Thanks Meter: 89
 
190 posts
Join Date:Joined: Nov 2010
EDIT: Rooting the device is now possible! Download the image here! (Thanks to Justin Case!!)

Quote:

Alright, you've unlocked your bootloader and you're ready to tear it up with custom roms and other assorted mods. But wait, this is probably a good time to stop. No, I'm not messing with you. Justin Case and I only just acquired root on the G Watch on July 4th, and there's very little that can be done with it at this point. Additionally, there are no superuser managers (eg. Chainfire's SuperSU or Koush's Superuser) available to prevent an app from abusing root for malicious purposes. This situation will surely change over a matter of days, or even hours, but that's where we're at for the moment. I'm not suggesting that people avoid rooting, only that they wait until it can be done a little more safely.

If you're one of the people that wants to get started on building some root apps, or you just need to be on the bleeding edge, you're in the right place. So far, we only have the process worked out for the LG G Watch, but the Samsung Gear Live should be ready fairly soon.

Now, reboot into the bootloader:
adb reboot bootloader

And boot the G Watch using the modified boot image. Warning: Do not flash the boot image, just boot from it!
fastboot boot LGGW-rootboot.img

The watch will play the boot animation for about 2 seconds, then automatically reboot. This time it will boot normally. There will be no outwardly obvious signs it has been rooted, but you can check it by opening a shell over adb and running su.

adb shell
su

If your prompt turns from shell@dory to root@dory, then you've got root on your G Watch. Congratulations!

From http://www.androidpolice.com/2014/07...he-lg-g-watch/
Attached Files
File Type: txt build.prop.txt - [Click for QR Code] (1.5 KB, 30 views)
Last edited by Smith7018; 6th July 2014 at 04:56 AM.
The Following User Says Thank You to Smith7018 For This Useful Post: [ View ]
29th June 2014, 07:05 PM   |  #2  
Stericson's Avatar
Retired Senior Mod / Senior Recognized Developer - Godfather of Android Theming
Thanks Meter: 393
 
1,198 posts
Join Date:Joined: Nov 2008
Quote:
Originally Posted by Smith7018

So I've started looking into rooting the G Watch and it's not going to be simple. Here are some of my findings:

1. There's a firewall running that blocks any outside communications that aren't sent out by Google-sanctioned apps.
2. The build time is Jun 23, 2014. That means towel root won't work...
3. The device codename is Dory.
4. Many apps will sidled but a lot of them will crash. Once we get root, this could be as simple as moving over libs.
5. Installing the Android keyboard apk allows the user to have a keyboard when necessary! I know this never worked on Glass.

So yeah, we have our work cut out for us. Anyone else looking at this?

(I've attached the build.prop)

Hi Smith,

I've ordered a watch but hasn't come yet.

What about accessing a shell via adb? Is this possible?

I certainly assume it is, so I'd bet root would come this way.
Last edited by Stericson; 29th June 2014 at 07:09 PM.
29th June 2014, 07:26 PM   |  #3  
Stericson's Avatar
Retired Senior Mod / Senior Recognized Developer - Godfather of Android Theming
Thanks Meter: 393
 
1,198 posts
Join Date:Joined: Nov 2008
Doing some more research...

In theory...

We can unlock the bootloader (fastboot oem unlock)

Flash a recovery (TWRP?)

Flash either a kernel to root the device

OR

Flash a zip which just places an appropriate su binary in place.

Right now we will have to wait for a super user application to be ported to Android Wear....I imagine ChainFire or another will have that before too long.
1st July 2014, 08:20 AM   |  #4  
OP Senior Member
San Francisco
Thanks Meter: 89
 
190 posts
Join Date:Joined: Nov 2010
Quote:
Originally Posted by Stericson

Doing some more research...

In theory...

We can unlock the bootloader (fastboot oem unlock)

Flash a recovery (TWRP?)

Flash either a kernel to root the device

OR

Flash a zip which just places an appropriate su binary in place.

Right now we will have to wait for a super user application to be ported to Android Wear....I imagine ChainFire or another will have that before too long.

I can confirm that fastboot oem unlock successfully unlocks the boot loader! Also, I can confirm that side loading the Gear Live's stop watch runs on the G Watch. The clock faces install (and are visible in the selection menu) but crash when selected. Interestingly enough, logcat says the app is unable to bind to the Wear home screen... I wonder what could be stopping the legit Android app from running... OEM checks?
3rd July 2014, 09:38 PM   |  #5  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,597
 
3,547 posts
Join Date:Joined: Dec 2010
If you can in fact unlock the bootloader, rooting is just a matter of waiting for a custom recovery to be ported over to it.
(and being updated to both support such small displays and no buttons at all)
3rd July 2014, 10:29 PM   |  #6  
trh1341's Avatar
Senior Member
Flag MESA
Thanks Meter: 659
 
2,215 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by TheManii

If you can in fact unlock the bootloader, rooting is just a matter of waiting for a custom recovery to be ported over to it.
(and being updated to both support such small displays and no buttons at all)

How would we get into recovery... Seems like a recovery would be best done from a computer.
3rd July 2014, 10:37 PM   |  #7  
Wiki Admin / Recognized Contributor
Thanks Meter: 1,597
 
3,547 posts
Join Date:Joined: Dec 2010
It hasn't been mentioned on how to do it while it was booting,
but currentl you can enter it by doing
Code:
adb reboot bootloader
The issue is that doing it that way requires an already working rom that also has debugging turned on.
6th July 2014, 04:56 AM   |  #8  
OP Senior Member
San Francisco
Thanks Meter: 89
 
190 posts
Join Date:Joined: Nov 2010
Updated the first post with instructions on how to root the G Watch!
The Following User Says Thank You to Smith7018 For This Useful Post: [ View ]
6th July 2014, 01:26 PM   |  #9  
Senior Member
Flag Suffolk
Thanks Meter: 21
 
436 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by Smith7018

Updated the first post with instructions on how to root the G Watch!

But why would you without SuperSU or SuperUser?

I'd wait until it's properly supported unless you're REALLY comfortable with your security.


Sent from Nexus 5 or 7.

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes