yashsingh1/xdaforums huggingface dataset:
[Huawei Watch] negamann303:
Well it's a good question, especially if you've never done it

Get the stock firmware here: https://developer.android.com/wear/preview/downloads.html

Download the mec23l-factory version

Extract - even the zip within the zip

Use Command prompt to the folder that you extracted from within the first zip or just copy system.img to c:\ and cd to there

Boot into fastboot on your watch. If you don't know how, go here: [GUIDE][HOW TO]Boot into Fastboot Mode

In command prompt, type: fastboot flash system system.img

** If you don't have fastboot, you need the Android SDK: https://developer.android.com/studio/index.html - Get just the command line tools **

** Once You've Successfully Flashed The System.img, Keep Reading **

Reboot to recovery and use advanced wipe to wipe /system /data /cache

Reboot the recovery

Now adb push the rom and Install

Good luck!
[Huawei Watch] luanbkdn88:
I boot into fastboot on your watch but when I connect watch with My computer have problem as picture below. I use "adb devices" on cmd but don't have anything.

Please help me. Thank you.

[IMG="Connect problem"]http://i.imgur.com/6wt1Mua.jpg[/IMG]
[Huawei Watch] negamann303:
First Try A Different USB port(On desktops, Always connect to USB on the back of the tower to a port directly on the motherboard, Always the best bet)

Second, Try Some Drivers: http://xdaforums.com/google-nexus-5/development/adb-fb-apx-driver-universal-naked-t2513339
[Huawei Watch] luanbkdn88:
I can not push Rom zip file to Watch. Please help me :

---------- Post added at 06:11 AM ---------- Previous post was at 06:01 AM ----------

I can do it :)

---------- Post added at 06:19 AM ---------- Previous post was at 06:11 AM ----------

When I install Rom zip from recovery have problem:

Creating Symlinks

symlink : some symlinks failed

Updater process ended with ERROR : 7

Error installing zip file '/sdcard/Huawei-Rom-NX-v2.3.zip'

Updating partition details ...

...done

What do I have to do now ?
[Huawei Watch] Pkt_Lnt:
You are the second one today with this error that we have never seen before. Can you save the recovery log and post it here, please?
[Huawei Watch] luanbkdn88:
Please refer to attached file and fix to us. Thank you.
[Huawei Watch] negamann303:
OK, reboot recovery, wipe system partition, reboot recovery, try to install rom
[Huawei Watch] luanbkdn88:
Thank pro. I did it. Affter up Rom, i need to up Kenel or not ?
[Huawei Watch] kelayz:
So just curious. I've noticed my watch now doesn't seem to vibrate for all my notifications??

Using the rom for two days and the custom kernel as well and it seems like it just stops vibrating. I have vibration on highest setting and sound disabled because I just want vibration.

Actually just tested it vibrates when my screens on on my phone hmm. Is this just natural limitation of android wear or am I missing something? Literally just got the watch two days ago and put this rom and kernel on immediately because I'm a nerd.
[Huawei Watch] Pkt_Lnt:
I have a Nexus 6 and I get vibrations on all notifications, screen or or off on both watch and phone. I use sleep tracking at night and that app enables Do Not Disturb and that stop watch vibration. When I turn sleep tracking off in the morning, then I get vibrations again.
[Huawei Watch] negamann303:
It depends on the phone, really. I've read that nexus 6p has/had issues with the watch connection. You could dig around on your phone for Bluetooth Settings and see if there is anything you can adjust
[Huawei Watch] kelayz:
Hmm. To you and the person above. I got a note 5 with a custom rom and kernel don't use any not disturb. Wait. Maybe greenify. Definitely will dig around.

Thank you guys for the fast responses!! Glad to see awesome support on this watch from the community.
[Huawei Watch] tye69:
hi firstly many thanks for all your work for our devices ,i flashed 2.3 and new kernel today and had a lot of rebooting before it started up,and then the watch became very hot and switched off have never had this problem with any of the other roms have reverted back to 2.1 for now.
[Huawei Watch] negamann303:
The kernel is missing script requirements, I somehow missed them when updating the ramdisk. Will update it tonight
[Huawei Watch] shawnsac2000:
Thanks a million! I have two questions: Do I install twrp first? And this instructions, you gave me is it to install Android wear 2.0 or for Negalite rom?
[Huawei Watch] Pkt_Lnt:
In that link he gave, the first one under Huawei is the 2.0 dev ROM, the SECOND is the 1.4 ROM MEC23L-factory and that is the one you want. After you flash it with running flash-all.bat, it will install the full 1.4 stock ROM.

Then get fastboot mode and install the TWRP recovery, then adb push the Negalite ROM and install it in TWRP.
[Huawei Watch] negamann303:
None, yet. It would have to be either smali edit or database edit since it's framework/app related
[Huawei Watch] negamann303:
It's merely an assumption due to the following factors:

Gesture sensitivity increased(no kernel changes required)

Clockworksettings and clockwork were updated via smali as was services.jar

Replaced services.jar with previous version, no gesture change(so we cross this off for now)

Ambient fix had those smali files updated as well. So I put services.jar back on the list.

Decompiled services.jar( no gesture or ambient references)

So I assume clockwork or clockworksettings has what we need
[Huawei Watch] shawnsac2000:
I would like to say thank you to everyone who helped me on trying to flash this rom. I was finally able to install this beautiful rom. Thank you, thank you, thank you :)
[Huawei Watch] Ad1982:
Remove Update Notification

Totally dig the custom rom and kernel! I've always been curious though, is there a way to remove the nag screen when Google pushes an Android Wear update? I tend to like to keep my customizations for a while before updating even the custom rom, and it seems like every time I do, Google pushes an update that my watch downloads, then I have to wipe everything and redo the rom and kernel/customizations.
[Huawei Watch] Pkt_Lnt:
What version is your AW now? An update with bug fixes and security updates just came out a few days ago, and this awesome ROM was updated to that new version. I *think* you can flash the new version over the old one and keep data when [MENTION=593681]negamann303[/MENTION] updates it, but we need his confirmation if that is correct. I always wipe everything and set it up again, takes about 15 minutes. I have notes in Keep of the settings on some apps, like Kernel Audiutor.

If you just take a pushed update from Huawei while running the Negalite ROM, it will fail, so maybe if you let it download but not install, it will stop? Just a guess, if I get time this weekend, I'll try to install and old version before M6E69F and try it.
[Huawei Watch] pablo71:
I greatly appreciate you looking into this ... as muf123 said I'd happily put up with false positives in exchange for responsiveness ... thank you
[Huawei Watch] imucarmen:
Battery drain

The battery with the latest Rom and Kernel (fully stock) is not too good for me....anyone else? I was getting really amazing battery life on previous builds so I was wondering if I'm the only one now experiencing pretty bad battery life.

My setup is the same as it's been on previous builds.
[Huawei Watch] pablo71:
try a DoubleDoubleReboot (reboot watch AND phone twice allowing full boot up in between)

I don't know if this applies to you, but one of the first things I do when I flash a new rom is I use the Advanced Settings app to look at the current version number of the Google Play Services app that just got flashed just so I know when it changes .. there's many different versions of Google Play Services that start to trickle into our watches (and phones) as invisible updates and these begin within hours or days (and no scheme devised has ever stopped this) and Google does this because consumers are Google's lab rats (and I'm happy to be one) ... the trickling in drains battery, then the invisible background install process is always wonky so your performance suffers and battery drains as background services battle each other with misinformation (and this wonkiness is compounded as the poorly installed play services on watch ALSO battles play services on phone)

oh, I forgot to mention this'll happen every 4-6 weeks which seems the average schedule for when we lab rats receive new injections ...
[Huawei Watch] mew1033:
Does your slightly modified stock kernel (the one that's included in the Huawei-Rom-NX-v2.3.zip file) unlock the other 3 cores?

Thanks!
[Huawei Watch] negamann303:
Yes
[Huawei Watch] chrisokaly:
Watch screen will just randomly go black, with OK Google only showing on a tilt/button to wake.... and seemingly not wake up unless I change faces, or sometimes I need to totally reboot. Wiped/reflashed already didn't fix.

Anyone else experience this?
[Huawei Watch] hellaprime:
Yes. I have seen this or something very similar for the last few days. I'd assumed it was something to do with nega's undervolting (I use his kernel git) but hadn't had the time to verify.
[Huawei Watch] pablo71:
latest kernel on stock rom doesn't exhibit this peculiarity
[Huawei Watch] kingwicked:
i am also having problem with the watch always On on the latest version of rom. It goes black after 5 minutes. I have rebooted, reflashed, also installed the kernel as i was not getting root after flashing only the rom.

its a very big issue as its a watch and always on should work at all cost. I am sick and tired of flashing rom again and again and it doesnt help

if anyone has some solution please share
[Huawei Watch] parthabhatta:
I am using the 2.3 version. It's great and have so many built in watch faces. But then I had to reset the watch to pair with my second Android device and soon the built in watch faces vanished. I reflashed the ROM dirty on the same version but the default watch faces never came back. How to bring the back?

Is it possible to flash the default watch faces separately.
[Huawei Watch] derausgewanderte:
Happened to me once when I did not do a factory reset before flashing the ROM. I only had two clock faces. With factory reset i got all of them back.

---------- Post added at 08:47 PM ---------- Previous post was at 08:44 PM ----------

Seriously? Nobody forces you but yourself. Stay with stock if it gets you sick and tired. Nobody wants you to get hurt while trying custom Roms :)
[Huawei Watch] kingwicked:
Thankyou very much .You are right. You are very helpful .:good: :)

All i meant was that i flashed the same version 4 times factory reset but this always on problem was not resolved .
[Huawei Watch] negamann303:
Try going into the Android wear app on your phone and toggle the always on display button a couple of times. Make sure it's updated too
[Huawei Watch] noraef:
Hi!

First thing first: thanks to negamann303 for his TWRP, ROM and kernel, allowing for easy root of the Huwatch, great battery and smoother UI (imho, using default custom kernel settings).

I'm also having problems with the watch always on display going black. On mine, it's after 10min... here's what I've gathered about it:

when on the charger, it also goes from charging screensaver to black after 10min

if I take the watch off the charger, then reboot it, no more going to black after 10min of ambient (it may or may not go to black after many hours off the charger; have seen it do both along night testing, with the watch left alone on the bedside; have tilt to wake, and even all gestures, disabled, btw)

if I put it back on the charger, then off it, and don't reboot, it goes to black again after 10min of ambient

if I reboot it while on the charger, whether I let it there during reboot or not, it still goes to black after 10min of ambient

in AutoWear, unless I reboot the watch off the charger, whether it's on it or not, the "Plugged in" state always is activated (yep, as well when the watch is actually off the charger)

still in AutoWear, I once, and only once (unless rebooting), get the Power Connected event to trigger the first time it goes on the charger after a reboot off it, but never the Power Disconnected one (for both previous observations, AutoWear message logs are coherent with the triggerings, and mostly lack thererof)

debugging through bluetooth, "cat /sys/class/power_supply/battery/status" properly returns "Charging" or "Discharging" depending on the watch being on the charger or not

So, it seems the hardware is aware of the charger presence (as per the /sys/... values), but there's something lost in translation somewhere in the software (it's as if once the watch has been on the charger, apart from the kernel, everything still believes it's on the charger whether it's the case or not, unless I reboot it off charger: would explain the "10min ambient then goes to black", just as it does when on the charger).

But that's quite strange if we don't all experience it... ordered another original charger (will be useful to carry for nights out anyway), and will see by wednesday if it changes anything. Also, I experience the same exact thing with stock ROMs.

Otherwise, I always wipe user data and internal storage before flashing to start fresh, then push files through ADB when in TWRP, then flash ROM and kernel one after the other. Tried toggling "always on", on and off several times in Wear app, but did nothing.

Please tell if you need me to test anything ;)
[Huawei Watch] negamann303:
Thank you for the thorough research! knowing that stock does is too is a relief. Can you try toggling AOD on your phone wear app and see if anything changes?
[Huawei Watch] noraef:
As told in my previous message, I had already tried that. Just tried again:

took watch off charger

toggle always on display from on to off, then off to on, in the phone Wear app

put watch on charger, then took it off

waited 10min

screen went to black, as sadly expected :(

Also tried a slightly different procedure:

took watch off charger

toggle always on display from on to off, then off to on, in the phone Wear app

DID NOT put watch on charger

waited 10min

screen went to black just as sadly :(

and even:

took watch off charger

rebooted the watch

toggle always on display from on to off, then off to on, in the phone Wear app

waited 10min

watch screen stays on

put watch on charger, then took it off the charger

waited 10min again

screen went to black, still sadly :(

My guess is there's something botched up in whatever serves as udev (or link between hardware events and upper layers) on the Huwatch (sorry, I'm more familiar with more traditional variants of Linux than Android), and though it works well to warn everything the watch has been plugged in, there are certain conditions (as we don't all seem to experience it) under which it fails to warn everything the watch has been unplugged... Do you know what's responsible for this role, on Android (scripts, system app, something broadcasting events, some kernel part, ...)?

These three reasons have me keeping on believing the problem is with something related to reaction to hardware events:

on mine the 10min of ambient before going to black precisely is the behaviour when the watch still is on the charger

once the watch has been on the charger after a reboot, AutoWear never catches when the watch is off charger

the hardware seems OK, as /sys/class/power_supply/battery/status at least always report the proper charging/discharging statuses

... or maybe most of you have tilt to wake activated, and it inhibits such behaviour (I deactivated it as my left arm has been weak since going through a stroke, and as I avoid moving it to relieve pain, it pretty much never works as far as my normal wrists movements are concerned)? Sure, it might as well be whichever thing I do at some point...

Damn... would really like to have this work...
[Huawei Watch] Pkt_Lnt:
I'm one who does not get AOD failing, mine stays on for hours / days. The one thing I might do differently is that I have "Stay awake when charging" Enabled in Developer settings so I can peek at it. My watch is only on the charger when I shower and get ready after, and Pujie watch app alerts me at full charge, maybe 30-45 minutes is all.
[Huawei Watch] derausgewanderte:
For the first time I am also having issues with always on on my watch. It takes about 15-20min and the watch screen turns off. Everything is set to always on, both on phone and on watch. I've reinstalled the rom and the kernel on the watch. I also just reinstalled the rom on the phone (back to stock). I toggled the always on both on watch and phone and rebooted both of them in tandem. No go. The problem persists and the watch screen goes off after some time.

hope there is a solution
[Huawei Watch] noraef:
I just tried that, and "stay awake from charging" behaviour is yet another. On my watch, it triggers a mode where the brightness is lowered, while actually preventing from entering into ambient mode (eg, my seconds hand still displays, while it doesn't in ambient, thus proving it inhibits ambient, despite the reduced brightness).

So it basically is a cross of awake (face) and kinda ambient (brightness - it actually is set to another value than the ambient one, as I made my ambient brighter to start with, and it makes it dimmer than what I set). And as my watch seems to think it's always on charger until a reboot once it has been on one, it totally prevents it from really going into ambient (save for reduced brightness), which has two very problematic consequences:

it updates lotsa times per second (Watchmaker with smooth seconds hand) which drains the battery, and possibly makes the watch run hotter when charging

it deactivates the burn-in protection (haven't tried whether the "force burn-in protection" also in developer settings actually forces it in awake mode), which I would certainly have a problem with on the long run, even for 30-45 minutes a day

Now, if your watch actually ends up displaying its ambient face when you take it off the charger, then congrats, you don't have the same problem as me, hence you probably don't have the "always on still going to black" problem.

But be careful about the burn-in protection deactivation during charge with the "stay awake when charging" ;)

Can you try rebooting the watch without putting it on charger, and then keep it off charger 15-20 minutes after reboot?

If it's the same as mine, it should work (no screen turning off), until you finally need to put it on the charger, after which it should start to turn the screen off again, needing to reboot it as well.

If it works, we both have the same problem, and it's the "fix" we have to do with until a better solution...
[Huawei Watch] derausgewanderte:
got it. will try that and report back here.

edit1: hey Mr. Holmes, ahem, noraef I meant :). I was able to reproduce the problem two more times and then rebooted. The watch screen hasn't turned off since then. I will put the watch back onto the charger and try to repeat this. For now it seems it is the same problem. A reboot returns the watch to normal "always-on screen" behavior after it comes off the charger. Thanks!

edit2: put it onto the charger, let it charge some time, took it off and let it go to ambient. Timed it this time and after almost exactly 10min screen turned off again - bang. Tried one more time and at the 10min mark the screen turned off again.

So far I can reproduce your observations exactly. Knowing that reboot is a temp fix is at least good to know.

cheers
[Huawei Watch] noraef:
Yeah, it sure is better than a fairly big black mirror on the wrist :p Or even than forcing the screen to awake every 9min with AutoWear like I first did...

Not being alone also gives me hope as to my charger not necessarily being the culprit. Or we both may have faulty chargers... well, will put that particular idea to test on wednesday, when I receive a new one.
[Huawei Watch] derausgewanderte:
I have two different chargers, original one and a non-OEM charger. The problem occurs on both which reduces the probability of a charger problem even further.

Thank you also for the thorough testing on this. It's good to know you also tested this on stock rom, which saved some of us the time to flash back to stock.
[Huawei Watch] noraef:
Ah, OK! Needed a second one anyway, so my debugging mania with the Huwatch these days was the tipping point to ordering another.

Well, it comforts me in believing there's a bug where the system fails to entirely broadcast it everywhere when the watch is taken off charger. Don't really know what serves as udev/HAL on Android, so don't know where to start digging from then on...

Edit, as to stock: I didn't do such thorough tests with those ROMs, but enough to see it's the same problem, I think, with the two previous versions from Huawei (last one, M6E69F, I'm really sure I had the same exact problem: started my current experiments with that stock one, and went to Negalite's to see if it changed anything; also, to get root and play with ambient brightness).

Have had the watch for quite longer, but didn't have much time to play with it earlier, despite an impulsive buy. And I'm the kind who doesn't want something that much if I can't really have it just the way I want to: my way, or the to-tinker-later pile; so with quite a few things annoying me with Android Wear, I kept on pushing the tinkering to later, and later, until now :p

The fix may well be in an earlier ROM, though: that, I don't know at all...
[Huawei Watch] Aligatz1989:
Hello Everyone!

I have just bought the watch today. Can someone tell me what is the benefit on having this custom rom over the stock one?

Thank you for your help!
[Huawei Watch] Pkt_Lnt:
Check the list of Features in post #1.
[Huawei Watch] noraef:
Damn... yesterday, I managed to totally make the "ambient goes to black after 10min" disappear, but today, it's back...

So to try and see which update brought the bug, I went back to LCA49B stock (wiped data, internal, caches, flashed boot, system and recovery to stock, removed the watch from the phone Wear app, then added it back)...

... then, I took all the OTAs one after the other, checking for the 10min to black behaviour in between, until M6E69F: and not any such ambient to black behabiour!

Then went back to negamann303's all latest (wiped data, internal, caches, flashed TWRP with fastboot, then ROM and kernel with default settings in one go, with the previously installed TWRP). Had to remove/add the watch from/to the phone Wear app... and the bug then did not reappeared!

Took the watch on charger, then off, left it iddle for the night, and woke up with the watch still in ambient, and with some amazing battery use (a little more than 2% per hour). Some hours later, the screen turned off (must be some doze thingie).

Turned it back on, put the watch on charger, then off it... and the screen went back to turning off in 10min, with the same exact behaviour (a reboot fixes it, until I put it on charger, after which it systematically reappears, until the next reboot).

The plot thickens...
[Huawei Watch] noraef:
At least, it's not the charger being faulty: just tried with the new one, and same exact problem...
[Huawei Watch] negamann303:
I'm working in the background for a proper fix. Keep me updated, thx
[Huawei Watch] noraef:
Thanks a lot! :good:

Running out of test ideas (maybe I'll try to go back to stock M6E69F again, then wait many hours for the doze thing to come into play, and see if the bug then reappears?)...

But just tell me if you want me to guinea pig anything :silly:
[Huawei Watch] negamann303:
If you have time, go completely stock and test. if no bug, try my kernel and test. Just trying to pinpoint since logcat and kmsg aren't helping
[Huawei Watch] TheUndertaker21:
ADF is down
[Huawei Watch] jucytec:
whenever i open up the superuser app it tells me it needs to upgrade to a new version... when i hit download.. Nothing happens.

is there an Update.zip that has the newer version?
[Huawei Watch] derausgewanderte:
I uninstalled the su app and never saw that problem again. You already have su. The app is there so negamann can see which apps are requesting su.
[Huawei Watch] negamann303:
I'll update it tonight