ads

mercredi 26 août 2015

How I Restored to Stock, Got the latest OTA and Rooted ~ Enjoy



Thought I would add this small guide here as I’ve been trying to find something similar and didn’t.

Before I start-off, All the credits go to the amazing XDA Developers and their respective mods, as things would’ve never been this easy or straight-forward without their dedication and hard work. Namely @bunny0007 , @intersectRaven , @invisiblek and @Tomsgt

Having both the LG G Watches, It was only a matter of time that I too wanted the new OTA Updates, so as to use the sort-of-amazing features it promised. Now being on a Stock-rooted 5.1.1 firmware from @bunny0007 and running a Custom Kernel from @intersectRaven, I was told that it wouldn’t be possible to get the OTA installed even if it popped-up (Well it would install, but not actually show anything) This I tried, But when the watch rebooted; it showed a dead android bot with an exclamation over it’s guts! Which to me meant, things weren’t apparently going in the right direction. After a couple of trials, this* is what eventually worked ...

*A word of caution before you proceed, this worked for me and “might” not work for you. So if your watch gets nuked or bricked (which again, I highly doubt it would), it ain’t my fault but yours and murphy’s alone!

Now that’s out of the way, Let’s make sure we have the bare necessities such as:
  • A PC that can run ADB and Fastboot Commands using CMD, usually Installed by:
    ◦ The 15 Seconds ADB Installer - link
    ◦ The Android SDK Platform Tools - link
    ◦ The Necessary Google Drivers - link

  • The Stock 5.1.1 (LDZ22D) Boot, Recovery and System images:
    ◦ For G Watch - link
    ◦ For G Watch R - link

  • The most recent TeamWin Recoveries
    ◦ For G Watch (dory) - link
    ◦ For G Watch R (lenok) - link

  • The Wear SuperSU, that can be used on both the watches - link

  • *Optional: The Custom Kernels
    ◦ For G Watch by @invisiblek - link
    ◦ For G Watch R by @intersectRaven - link

  • *Optional: The Advanced Settings App - link

*These are strictly optional and are only based-off of my personal preferences. Feel free to install any custom kernel or tweaking apps of your choice.

TIP: If you need to flash a file from a particular folder, You can invoke CMD by holding the Shift Key and Right-click to see the Open command window here option.

1) Restoring to Stock & Relocking the Bootloader

a. Make sure, the watch is charged to a 100%, Can’t stress this enough!

b. Enable Adb Debugging on your watch. Eh, how?
  1. Go to Settings > About.

  2. Tap on the Build Number repeatedly until it says You’re a Developer.

  3. Go back and tap on Developer options and Enable ADB Debugging.

  4. As you place the watch on the cradle that is connected to your PC, you’ll be prompted to Are you sure?, Select Always allow from this computer and click OK.

c. Now Access CMD will elevated privileges or in other words as admin and enter the following codes

Code:


adb devices


Code:


adb reboot bootloader


Code:


fastboot devices


Code:


fastboot -w


Code:


fastboot flash boot boot.img


Code:


fastboot flash recovery recovery.img


Code:


fastboot flash system system.img


Code:


fastboot oem lock


Code:


fastboot reboot

With the final command, the watch will reboot showing the Lg logo minus the lock sign, which means the bootloader has been locked. It should then continue onto boot into Android Wear. Yes, it’s going to take some time to complete, so be patient and let it do it’s thing.

2) Installing the OTA Update

Once the watch boots into android wear, Go through the initial setup and link it with your phone. Then go to Settings > About > System Updates, where you’ll see your new update being downloaded. When done, Accept to install and the watch will reboot to install the update without any issues. Once completed, It will upgrade the existing apps on the watch and boot into Android wear.

Congrats, You have now installed the new update!

3) Unlocking the Bootloader & Flashing TWRP

As with any other android device, You’ll need to unlock the bootloader to install a custom recovery. So enable debugging the same way as mentioned at the beginning of this guide. Invoke CMD and enter the following commands:

Code:


adb devices


Code:


adb reboot bootloader


Code:


fastboot devices


Code:


fastboot oem unlock


Code:


fastboot reboot

The watch will reboot showing the Lg logo with an unlocked sign, meaning the bootloader has been unlocked. Again, as it boots into android wear, Go through the initial setup and link it with your phone. Enable Adb Debugging, Invoke CMD and enter the following commands

Code:


adb devices


Code:


adb reboot bootloader


Code:


fastboot devices


Code:


fastboot flash recovery twrp-2.8.7.0-lenok.img

Now on the watch, using the < O > keys, select Recovery Mode and press the O key to enter into TeamWin Recovery. This is required to be done only once, because if you directly reboot after flashing the recovery, there are chances it won’t work. Proceed to reboot by pressing the Reboot button in TWRP.

4) Sideloading SuperSU and Installing it using TWRP

Once the watch has booted back up, Invoke CMD and enter the following commands to push SuperSU zip & to reboot into recovery

Code:


adb devices


Code:


adb push Wear-SuperSU-v2.40.zip /sdcard/


Code:


adb reboot recovery

Now on the watch, You should be in TWRP. Select Install and scroll down to find the zip and swipe to flash. It will show as successful and proceed to reboot. Congrats, You are now rooted and how do you check you are? Once the watch has rebooted into android wear. Invoke CMD and enter the following commands:

Code:


adb devices


Code:


adb shell


Code:


su

5) Install the Custom Kernel (Optional)

This is more of an individual choice on which custom kernel you want to use, As it depends on how you use the watch. Myself being a light user, I use the single core vr of the custom kernel from the dev @intersectRaven to make it more battery friendly. Anyway these are the commands.

Code:


fastboot boot single.boot.img (If you want to boot the image temporarily, but this will reset to stock after a restart.)


Code:


fastboot flash boot single.boot.img


Code:


fastboot reboot

6) Install Advanced Settings (Optional)

This free tiny little app has been a lifesaver and gets updated often with new features. There are lots of things you can configure and tweak without the need to edit manually via adb.

Guess I’m done then, I hope this guide helps someone in some way :) And also to get the best out of their watch …



Aucun commentaire:

Enregistrer un commentaire