Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,733,460 Members 40,153 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE] Rooting the G Watch

Tip us?
 
Smith7018
Old
(Last edited by Smith7018; 6th July 2014 at 03:56 AM.)
#1  
Senior Member - OP
Thanks Meter 88
Posts: 189
Join Date: Nov 2010
Location: San Francisco
Default [GUIDE] Rooting the G Watch

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, 26 views)
The Following User Says Thank You to Smith7018 For This Useful Post: [ Click to Expand ]
 
Stericson
Old
(Last edited by Stericson; 29th June 2014 at 06:09 PM.)
#2  
Stericson's Avatar
Retired Senior Mod / Senior Recognized Developer - Godfather of Android Theming
Thanks Meter 377
Posts: 1,193
Join Date: Nov 2008
Quote:
Originally Posted by Smith7018 View Post
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.
Want to know what I've been up to lately? Click here


 
Stericson
Old
#3  
Stericson's Avatar
Retired Senior Mod / Senior Recognized Developer - Godfather of Android Theming
Thanks Meter 377
Posts: 1,193
Join Date: 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.
Want to know what I've been up to lately? Click here


 
Smith7018
Old
#4  
Senior Member - OP
Thanks Meter 88
Posts: 189
Join Date: Nov 2010
Location: San Francisco
Quote:
Originally Posted by Stericson View Post
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?
 
TheManii
Old
#5  
Wiki Admin / Recognized Contributor
Thanks Meter 1506
Posts: 3,370
Join Date: Dec 2010

 
DONATE TO ME
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)
XDA Wiki Moderator
Nexus 4: Stock 4.4.4 (KTU84P) 2013 N7: Stock 4.4.4 (KTU84P)
iTouch 5G: 6.1.2 (10B146) Surface Pro 2: Win8.1u1 (6.3.9600.17085.amd64fre.winblue_gdr.140330-1035)
 
trh1341
Old
#6  
trh1341's Avatar
Senior Member
Thanks Meter 650
Posts: 2,193
Join Date: Jun 2011
Location: MESA

 
DONATE TO ME
Quote:
Originally Posted by TheManii View Post
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.
If I have helped you, please hit the thanks button!

I also have a PayPal. Check my profile for my email, or i can give it to you here (trh1341@gmail.com)
I am working on my development skills, but right now, I have dial up internet speed and old computer that makes it hard to build from source. I am also creating a couple ROMs(One ROM will focus on battery life, the other will focus on features) but I need help with money to get a better computer. Any help will be appreciated!.
 
TheManii
Old
#7  
Wiki Admin / Recognized Contributor
Thanks Meter 1506
Posts: 3,370
Join Date: Dec 2010

 
DONATE TO ME
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.
XDA Wiki Moderator
Nexus 4: Stock 4.4.4 (KTU84P) 2013 N7: Stock 4.4.4 (KTU84P)
iTouch 5G: 6.1.2 (10B146) Surface Pro 2: Win8.1u1 (6.3.9600.17085.amd64fre.winblue_gdr.140330-1035)
 
Smith7018
Old
#8  
Senior Member - OP
Thanks Meter 88
Posts: 189
Join Date: Nov 2010
Location: San Francisco
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: [ Click to Expand ]
 
mcnob
Old
#9  
Senior Member
Thanks Meter 21
Posts: 429
Join Date: Aug 2010
Location: Suffolk
Quote:
Originally Posted by Smith7018 View Post
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.
Posted from either:

Nexus 5
Nexus 7 (2013)
Acer C720 Chromebook.....................(How much of a Google fanboy am I ?)

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


TRENDING IN THEMER...