• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[MOD][MAY30] Enable WiFi on LDZ22D

Search This thread

Tasssadar

Inactive Recognized Developer
Dec 31, 2010
818
6,126
Brno
tasssadar.github.com
I've managed to enable WiFi on lenok by coping several files from bass and kernel with the wlan driver enabled, courtesy of intersectRaven. It seems to be working without any issues, so here's a flashable ZIP.

Requirements:
  • LG G watch R running the 5.1.1 update (LDZ22D). This wasn't tested on anything else.
  • TWRP installed as custom recovery
  • unlocked bootloader
Instructions:
  1. (optional) make backup of system and boot in TWRP, so you can revert changes my ZIP makes
  2. install intersectRaven kernel 20150530_08XX or newer. Doesn't matter if you choose single or dual core. I recommend reading through his thread first. kernel thread | link to folder with his lenok kernels
  3. reboot into TWRP
  4. flash lenok_wifi_zip-XX.zip (you can get it to the device with adb push lenok_wifi_zip-XX.zip /sdcard/)
  5. reboot the device
Whenever you flash anything that modifies boot.img (say, a kernel), you have to re-flash lenok_wifi_zip-XX.zip file.
Needless to say, this breaks OTAs - when next Android update hits, you'll have to restore from backup or flash whole images.

Downloads:
0c8d3fa95380e7ac75201bed0cab85fb lenok_wifi_zip-02.zip
Notes, warnings...
You're flashing this from your own will. This file brings over bunch of files & bits of firmware from Urbane, something might break. There's also a chance LG didn't just do this because "hey, buy urbane, it has WiFi!" and there is some actual reason why WiFi was not enabled on lenok - including some HW difficulties. Using this method to enable WiFi has the potential to cause permanent HW damage. Also keep in mind that WiFi on G Watch R might not have been certified for use.

It's working just fine for me so far, but I haven't been using it for very long. The voice recognition is slower than on BT and less reliable (sometimes even claiming "offline"), not sure if that's "how's it's supposed to be" or if it is bug specific to this mod. Some guessing about what might be causing it in this post.

One last thing - please, don't discuss common "halp I don't know how to install recovery/flash kernel/flash a ZIP" problems in this thread and focus only on issues related to the mod itself. Thanks.
 

Attachments

  • IMG_20150530_112033.jpg
    IMG_20150530_112033.jpg
    511.7 KB · Views: 17,613
Last edited:

mmeidl78

Senior Member
May 6, 2010
494
201
Ulm
Flashed stock boot.img, recovery.img and system.img to get the G Watch R back to work. Now I'm waiting for comments with working hack until I'm gonna try it again..
 

SferaDev

Inactive Recognized Developer
Jun 28, 2012
1,602
3,494
sferadev.github.io
The stock kernel doesn't have wifi drivers enabled. That release of intersectRaven's kernel is based on urbane's sources, and has all the drivers enabled.

Alright seems logical, G Watch R had the hardware inside but no certification in the device specs. I'll give it a try later. Thanks, if you need anything don't hesitate to ping me.

SferaDev
 

Tasssadar

Inactive Recognized Developer
Dec 31, 2010
818
6,126
Brno
tasssadar.github.com
Hi firstly thank you for this mod!
I have a simple and noob question is it normal that with wifi turned on i can receive notifications but i can't answer them?

What do you mean "answer"? Voice recognition? I've noticed that it is much slower and less reliable (sometimes even claiming "offline"), not sure if that's the same on Urbane or not. Urbane has different mic configuration and different sound firmware files, which don't work on lenok - so lenok might be missing some optimizations that make voice recognition over wifi faster (BT and WiFi use different "formats" of data sent into the cloud, that's why it might matter how they are "prepared" on the device by the FW).

Or maybe it is the same on Urbane? I really dunno, get some users with watches that have wifi by default and make them tell us :)
 
  • Like
Reactions: markus4000

fabioio

Senior Member
Feb 16, 2011
981
2,245
Lrago Marinone
What do you mean "answer"? Voice recognition? I've noticed that it is much slower and less reliable (sometimes even claiming "offline"), not sure if that's the same on Urbane or not. Urbane has different mic configuration and different sound firmware files, which don't work on lenok - so lenok might be missing some optimizations that make voice recognition over wifi faster (BT and WiFi use different "formats" of data sent into the cloud, that's why it might matter how they are "prepared" on the device by the FW).

Or maybe it is the same on Urbane? I really dunno, get some users with watches that have wifi by default and make them tell us :)

yeah i meant that! i actually can't use voice recognition i always get some connection problem! :)
 

Koopa777

Senior Member
May 18, 2012
764
326
No LG bashing guys, keep in clean in here. This is about the mod, nothing else.

What could actually be permanently damaged by this? I want WiFi, but not bad enough to risk damage to the radio chip. In other words is it a generic warning, or is there actually an above-typical risk of damage?
 

Tasssadar

Inactive Recognized Developer
Dec 31, 2010
818
6,126
Brno
tasssadar.github.com
No LG bashing guys, keep in clean in here. This is about the mod, nothing else.

What could actually be permanently damaged by this? I want WiFi, but not bad enough to risk damage to the radio chip. In other words is it a generic warning, or is there actually an above-typical risk of damage?

It's just that we have no idea. While I'm inclined to believe lenok doesn't have wifi just due to marketing reasons, there might be some key differences between bass and lenok that I don't know about, and that _might_ cause some problems later.
 

dirtyhank

Senior Member
Mar 2, 2010
551
924
Great work Tasssadar!

Regarding the voice recognition "issue" I've noticed it works pretty decently if I'm close to the WiFi AP but gets worse and worse as I move away, so it might have something to do with WiFi signal quality.

Shame on you, LG.
 
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 69
    I've managed to enable WiFi on lenok by coping several files from bass and kernel with the wlan driver enabled, courtesy of intersectRaven. It seems to be working without any issues, so here's a flashable ZIP.

    Requirements:
    • LG G watch R running the 5.1.1 update (LDZ22D). This wasn't tested on anything else.
    • TWRP installed as custom recovery
    • unlocked bootloader
    Instructions:
    1. (optional) make backup of system and boot in TWRP, so you can revert changes my ZIP makes
    2. install intersectRaven kernel 20150530_08XX or newer. Doesn't matter if you choose single or dual core. I recommend reading through his thread first. kernel thread | link to folder with his lenok kernels
    3. reboot into TWRP
    4. flash lenok_wifi_zip-XX.zip (you can get it to the device with adb push lenok_wifi_zip-XX.zip /sdcard/)
    5. reboot the device
    Whenever you flash anything that modifies boot.img (say, a kernel), you have to re-flash lenok_wifi_zip-XX.zip file.
    Needless to say, this breaks OTAs - when next Android update hits, you'll have to restore from backup or flash whole images.

    Downloads:
    0c8d3fa95380e7ac75201bed0cab85fb lenok_wifi_zip-02.zip
    Notes, warnings...
    You're flashing this from your own will. This file brings over bunch of files & bits of firmware from Urbane, something might break. There's also a chance LG didn't just do this because "hey, buy urbane, it has WiFi!" and there is some actual reason why WiFi was not enabled on lenok - including some HW difficulties. Using this method to enable WiFi has the potential to cause permanent HW damage. Also keep in mind that WiFi on G Watch R might not have been certified for use.

    It's working just fine for me so far, but I haven't been using it for very long. The voice recognition is slower than on BT and less reliable (sometimes even claiming "offline"), not sure if that's "how's it's supposed to be" or if it is bug specific to this mod. Some guessing about what might be causing it in this post.

    One last thing - please, don't discuss common "halp I don't know how to install recovery/flash kernel/flash a ZIP" problems in this thread and focus only on issues related to the mod itself. Thanks.
    5
    Don't really see the point, but whatever. You're most likely gonna have to use adsp firmware from lenok, I think they have a bit different DSP/different routing for audio - tried the firmware from urbane while I was working on this, thought maybe it would speed-up the voice recognition over wifi, but it didn't work as-is, and since it is closed source, I didn't really investigate it further.

    A fair point and I didn't really see much benefit from a full urbane port either to be honest, more of a nice to have.. but it's done & everything is working, just need to test voice over Wi-Fi.. if what your saying is correct I may have another glitch to look at, will report back..

    Update: Everything works, including voice over W-Fi
    4
    If you're using this mod and you have flashed intersectRaven's kernel, update to 20150602_08XX or newer as soon as possible. Older versions broke the screen burn-in protection (watchface moving around a bit every minute when in ambient mode), which is not good for the display.

    Just as a reminder, you have to re-flash lenok_wifi_zip-XX.zip in recovery after flashing the boot image if you wish to keep wifi working.
    4
    where are you guys finding the latest kernel: install intersectRaven kernel 20150530_08XX or newer all i can see is 20150503

    It's just a "just-in-case" tool since I might release a new version quickly since that's only my first "quick" release since rebasing from previous lenok branch. In fact, I'm going to be releasing a new one with improved functions a bit later so stay tuned. :p
    3
    http://www.androidpolice.com/2015/0...etworks-channels-above-11-update-coming-soon/ this applies to lenok as well, check your wifi channels.

    EDIT: Actually, @intersectRaven, if you don't mind reverting this from your next kernel release https://android.googlesource.com/kernel/msm/+/55c49d9378a04ab783e50bfa0e5e17592596a060, all the WiFi channels are going to work. Then, one might even say wifi is going to work better on the watch that didn't get official support yet, heh. I have no idea why they added that commit, possibly related to certifications/per-country limitations not working correctly on wear? There probably is some reason though, as that commit has (internal) bug number attached to it.