yashsingh1/xdaforums huggingface dataset:
[Huawei Watch] RngrYogi:
Yeah single core on ambient mode is always fine in my book but I even noticed a difference in how the watch woke and responded to new calls and notifications with a single core that had a bumped frequency on skin's old kernel for lollipop. I played with the freq and gov and had it running smooth as butter. Can't wait to see how this responds to youtube on his kernel with the audio finally working. And this will prob kill battery bad, but it will be a solution to stream audio and video from the web directly to the watch. Not that everyone needs that but it will be super fun to play with and show off! Hoping Google integrates streaming play music to the watch now even if it may only be over the watches direct wifi but we can hope they might allow us to stream from our phones downloaded music or directly from the play music app instead of being bound to the 4gb storage on the watch itself. :D
[Huawei Watch] Skin1980:
For all:

I need someone to live test the kernel, i need to do several test so i would someone that can contact me with hangouts. I have some free time from 15.00 to 17.00 pm ( gmt +1) so if you are interested pls contact me skin1980@ gmail.com

EDIT:

Pls tell me if the attached kernel boot, it's completely stock, just unpacked and repacked, need to check this before all.

fastboot boot test1.img
[Huawei Watch] Skin1980:
I can take a look at that but can't promise anything. I would do more and more quickly but working without the device isn't that easy
[Huawei Watch] jakemog:
Id gladly help, but im gonna be out most of today.. Maybe someone else will tag in.
[Huawei Watch] Motawa88:
I just played a few songs over play music on the watch and the volume changes completely random sometimes it srays loud in one song and sometimes it goes down again. Doesn't sound like an hardware issue, right?
[Huawei Watch] Skin1980:
I agree, when you can... can u dump the system.img ?
[Huawei Watch] Motawa88:
Sure. How do I do that?
[Huawei Watch] Skin1980:
fastboot boot the twrp img and then

dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img
[Huawei Watch] Motawa88:
not working:

C:\LG G Watch Restore Tools>fastboot boot TWRP2.8.7.0-Sturgeon.img

downloading 'boot.img'...

OKAY [ 0.953s]

booting...

OKAY [ 0.453s]

finished. total time: 1.407s

C:\LG G Watch Restore Tools>dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img

Der Befehl "dd" ist entweder falsch geschrieben oder

konnte nicht gefunden werden.
[Huawei Watch] Skin1980:
First adb shell
[Huawei Watch] Motawa88:
Sorry, I am a total noob on this :) Dumping now. Should I upload it somewhere?

Where is the file now?
[Huawei Watch] Skin1980:
NO problem mate.... I wasn't so clear

Yes...upload it where you prefer pls
[Huawei Watch] Motawa88:
It worked but where is it now? =)

C:\LG G Watch Restore Tools>adb shell dd if=/dev/block/platform/msm_sdcc.1/by-name/system of=/sdcard/system.img

1048576+0 records in

1048576+0 records out

536870912 bytes (512.0MB) copied, 59.179414 seconds, 8.7MB/s

C:\LG G Watch Restore Tools>
[Huawei Watch] Skin1980:
Exit from the shell and then

Adb pull /sdcard/system.img
[Huawei Watch] Motawa88:
Alrighty. Uploading now. Takes about an hour, my internet is kinda slow.
[Huawei Watch] RngrYogi:
I know my timing is off but I sent a hangouts request and am willing to test for you. I have everything available and ready to work with.
[Huawei Watch] Motawa88:
here it is

https://mega.nz/#!uV4TAYDA!fUL4y08-gJgxQ12s74ZJKlanJoBtF6vvRz_q08Fp2cI
[Huawei Watch] Skin1980:
cant see your request... can u try again?
[Huawei Watch] RngrYogi:
sure

---------- Post added at 09:21 AM ---------- Previous post was at 09:18 AM ----------

try contacting me at RngrYogi@gmail.com I can't seem to erase the old invite and redo it.
[Huawei Watch] bouchigo:
It's not working. The boot.img posted by bmg1001 might be corrupted, or possibly a bad download. Earlier today I pulled the boot.img from my watch, unpacked it, re-packed it, and flashed it to my watch. The watch booted up just fine. When I tried the test image you posted it wouldn't boot, and it would take me to the lying down Android with the red triangle and exclamation mark.

Here's the boot.img I pulled from my watch: http://www.mediafire.com/download/7f3abccezns13tm/boot-image-MM-stock.zip

MD5Sum (of actual boot.img file inside the zip): f84b88fded903787224804b10f9e70df
[Huawei Watch] bmg1001:
I flashed the boot image I uploaded and it worked fine. Odd...
[Huawei Watch] bouchigo:
As I mentioned in my post, it could be simply be a bad download on Skin1980's side. I'm sure he'll chime in later when he gets a chance. The boot.img I pulled is definitely different than the one you pulled though. MD5Sum's don't match, and they look quite a bit different under a hex editor.
[Huawei Watch] bmg1001:
I'll flash yours and see what happens.

EDIT: Yours boots fine.

I read some stuff from the kernels for the LG G Watch on MM. Looks like lots of changes in system. SquashFS is used instead of EXT4, huge amounts of compression being used apparently. Also, normal root methods don't work. Not sure if they apply to the Huawei Watch though
[Huawei Watch] bouchigo:
The fstab for the MM kernel for the Huatch says /system is being mounted as ext4 not squashfs, if I get time later tonight I'll try to download the LG G watch kernel to see what fstab says.

I don't think squashfs is our problem since I was able to unpack the boot.img, and then re-pack it; once I repacked the boot.img it shrunk to somewhere around 6.5MB, down from 20MB. I flashed the repacked kernel, and the watch booted with no issues.
[Huawei Watch] bmg1001:
Yeah, I noticed the huge change in size. I'm still using the kernel you uploaded. I also read the 360 has been using SquashFS since 5.1, so it may just be a G Watch-only change. So if the system is still being mounted at EXT4, the issue has to lie somewhere else. Like you said, could just have been a bad download. I don't suppose something like root could make boot issues could it? The kernel Skin posted didn't bootloop my device, rather it just stuck at the Huawei logo. I know on MM the new preferred method is systemless.
[Huawei Watch] bouchigo:
I think that's what Skin1980 was testing out. The first kernel he uploaded for testing had root and busybox setup like it was for 5.1.1, and in the second iteration he removed root and busybox, essentially putting the kernel back to stock. I think he wanted to know if it would boot with just simply unpacking, and then re-packing the boot.img with no changes. Since it didn't boot with the second iteration, I assumed it was a bad download of the initial boot.img you posted.

The boot.img is 20MB when pulled from the watch because the /boot partition is set to 20MB, and more than half of it just empty/data-less space, but when you unpack and re-pack the boot.img all that junk at the end gets removed, leaving a much smaller boot.img.

I'm not too familiar with how android wear works, but I don't think root would have caused the boot issue.

I'm guessing no one has tried rooting with the system-less zip yet?
[Huawei Watch] Motawa88:
I did some testing yesterday with Skin and he got it working, all cores unlocked and way better performance, but no root. Not sure if I am allowed to post it here.
[Huawei Watch] bmg1001:
That's awesome! As for posting it, you should probably ask Skin or maybe he'll post it.
[Huawei Watch] RngrYogi:
I'm sure he will with some time he's pretty busy sometimes. I was going to help him out with testing but our schedules conflicted yesterday. Hopefully we will see it soon. I wonder what the problem was. lol

---------- Post added at 12:42 PM ---------- Previous post was at 12:37 PM ----------

Cuz Holy Crap! My watch is lagging worse than a Govt tax refund check. So these cores are gonna be MORE than welcome to suck on my battery.
[Huawei Watch] mooki99:
My body is ready. :laugh:
[Huawei Watch] jakemog:
Can't wait :)
[Huawei Watch] Skin1980:
Yeah... Pretty busy until sunday, sorry for this
[Huawei Watch] RngrYogi:
It's ok bro take your time and hit us up when you get a chance on Sunday. We will all be looking forward to it. We appreciate your work.
[Huawei Watch] Skin1980:
are u on?
[Huawei Watch] bouchigo:
Yeah, what's up?
[Huawei Watch] RngrYogi:
Skin succeeded in getting systemless root up and running last night through some testing on my watch and through my system but had problems getting mpdecison to run. So we had root but something is different in 6.0 that is causing some issues. He needs the kernel source to finish and get the hotplugging working. As of now all the cores are stuck on because of no hotplugging solution. Very fast but huge battery drain even in ambient mode. But he is working on it at every opportunity and he might have to wait to get the kernel source before he can fix it. So if anyone gets wind of the kernel source being released please feel free to point us to it. :)
[Huawei Watch] RngrYogi:
I'm not sure exactly. I tried even looking for the old 5.1.1 source on the huawei dev websites and could not even find a listing for the watch so I'm not sure where to look and keep checking exactly. Anyone have any info?
[Huawei Watch] Skin1980:
I asked to LG for the kernel source of my watch.They replied saying that all is managed by google so, i think, it's the same for the huawei too.

Let's hope that google release them soon.

BTW, i have some free time today. If someone want be a tester please contact me on hangouts: skin1980 at gmail.com.

See ya
[Huawei Watch] Skin1980:
Sorry for the late reply, i needed someone for testing.
[Huawei Watch] bouchigo:
Cool, no problem. Are you using kernel auditor to determine if all cores are constantly running?
[Huawei Watch] Skin1980:
I use the shell directly
[Huawei Watch] Skin1980:
MM Kernel:

- stock zImage ( no sources are out );

- root;

- init.d;

- busybox.

Only 1 core enabled but you can install kernel auditor to play with the settings.

Mpdecision isn't possible because Huawei removed MSM_RUN_QUEUE_STATS from the kernel.

This is the best we can reach at the moment.
[Huawei Watch] acultr:
ok Google integrated?

not work for me
[Huawei Watch] montajd:
Thanks man! Just uninstalled GoogleTTS, so now I can hear the UI sounds without the stupid voice!!!!
[Huawei Watch] Raintech:
ADB often fall offline after this kernel, when I return to stock then works normal.

Your kernel: 5 secs ON, then turn to XXXXXXXXXXXXXX offline

Stock: Constant ON

Why that could be?
[Huawei Watch] jiajialing:
same issue, adb goes to offline, unless reconnect the dock.
[Huawei Watch] Skin1980:
Maybe I know... will update soon
[Huawei Watch] Fauert:
Huba - Huba, soooon ! :D:thumbup::p
[Huawei Watch] Motawa88:
edit: nevermind
[Huawei Watch] Motawa88:
doesnt this work anymore?:

http://xdaforums.com/huawei-watch/orig-development/set-vibration-strength-boot-t3272978
[Huawei Watch] acultr:
kernel it's rooted.

use advanced settings for watch from store
[Huawei Watch] Motawa88:
its not working. vibration strength stays the same
[Huawei Watch] bouchigo:
This is the app you can use to turn off double tap to wake, and change vibrator strength, and other settings. I've been using it for the past 5-6 days or so: https://play.google.com/store/apps/details?id=com.sssemil.advancedsettings&hl=en
[Huawei Watch] Motawa88:
its not working. vibration strength stays the same

Speaker is kinda unnassacary, because the vibration motor is so ****ing loud...
[Huawei Watch] bouchigo:
I haven't tried changing the vibration as it really doesn't bother me. If it's not working, then the setting is most likely is no longer located at /sys/module/drv2605/parameters/current_voltage.

EDIT: Looks like it's not there anymore, it should be between dma_test and dynamic_debug. It must have gotten moved somewhere else.
[Huawei Watch] Motawa88:
can you figure out where/how?
[Huawei Watch] Motawa88:
I highly doubt they Huawei will do that.
[Huawei Watch] Motawa88:
I see. After they did we can change vibration again?
[Huawei Watch] bouchigo:
I was just about to say you need kernel source to add the vibration support. So until Google releases the source it's a no go.

That's for the Lollipop kernel: https://github.com/Skin1980/sturgeon/commit/a516997ed0bf110a2fbeee7f0eb51e8b3945dfe7
[Huawei Watch] jakemog:
Now time to wait for that kernel source..
[Huawei Watch] RngrYogi:
Unfortunately so. But at least we have a good working kernel that supports turning on all the additional cores which was the MAIN thing for me. I turned and left on only one additional core with kernel adiutor and with 2 active all the time even in sleep or ambient mode I am still seeing about 50% battery usage with average usage in a 24 hour period and all with no interface lag. So.. Epic win! The hotplugging later on after source is only going to be a sweet bonus! We should all thank Skin1980 for his help and taking the time to hook us up. He made my watch worth wearing. So I sent him a small donation. Which is more than I can say for Huawei releasing this thing with the lag it had and locking down the cores in that nice CPU the way they did.

The port of Kernel Adiutor for wear is attached. I can't remember where I found it but I was difficult and I can't seem to locate it again so I'll upload it here just in case anyone needs it. :highfive:
[Huawei Watch] otaconremo:
hi all! will this kernel work with the latest version aw1.4?

It seems like my watch becomes laggy after updating. Thanks!
[Huawei Watch] mallman:
no, not until the source is released
[Huawei Watch] Scott:
No kernel source yet? Where is everyone looking (URL)?
[Huawei Watch] galaxys:
There's a Skin1980 MM Beta kernel with some features like Root ;) in Post#319. Works a treat for me until source is released... :cool:
[Huawei Watch] Skin1980:
https://android.googlesource.com/kernel/msm/+refs
[Huawei Watch] Motawa88:
so, where are the vibration settings located? =)
[Huawei Watch] bouchigo:
There are none. They have to be added through source...........there's no source yet, so they can't be added.

Here it is after skin1980 added it to the lollipop kernel source: http://xdaforums.com/showpost.php?p=65709095&postcount=341
[Huawei Watch] Motawa88:
aint that the source? https://android.googlesource.com/kernel/msm/+refs

edit: yeah, its not =) Sorry. How long does google take to release it though?
[Huawei Watch] bouchigo:
Marshmallow source has not been uploaded by Google yet. You can get the lollipop source there if that's what you want/are asking.

EDIT: Who knows...they will most likely do it whenever they feel like it, or whenever the person that uploads the source remembers to do so. It's anyone's guess basically :eek:
[Huawei Watch] Motawa88:
Off topic:

I tried to change alarm sound:

installed es explorer on watch and tried to override/delete the Oxygen.ogg alarm sound but it doesnt work. Not even if root explorer is enabled. Watch is of course rooted. Also tried with twrp file manager but the /system/media/audio folder isnt there, just a bin folder.

Then i tryied to push the file via adb to system/media/audio but it says read only.

doesnt even work with adb shell su:

127|root@sturgeon:/ # adb push "C:\LG G Watch Restore Tools\su.zip" /system/

adb push "C:\LG G Watch Restore Tools\su.zip" /system/

sh: adb: not found

any help?
[Huawei Watch] bouchigo:
It worked fine for me, I just tried it right now.

Push the alarm sound you want to use to your sdcard (replace Alarm_Rooster_02.ogg with your preferred sound):

adb push Alarm_Rooster_02.ogg /sdcard/

Mount system as read/write:

adb shell "su -c 'mount -o remount,rw /system'"

Copy the sound you prefer from the sdcard to /system :

adb shell "su -c 'cp /sdcard/Alarm_Rooster_02.ogg /system/media/audio/alarms'"

Set permissions on the newly transferred sound:

adb shell "su -c 'chmod 644 /system/media/audio/alarms/Alarm_Rooster_02.ogg'"

Delete the Oxygen.ogg sound from /system:

adb shell "su -c 'rm /system/media/audio/alarms/Oxygen.ogg'"

Set /system back to read only:

adb shell "su -c 'mount -o remount,ro /system'"

Side Note: You probably didn't mount /system in twrp, that's why you couldn't see the /system contents.
[Huawei Watch] Motawa88:
Thanks

Is it possible to make the watch NOT vibrate when alarm goes off? I only want a sound alarm.

---------- Post added at 16:05 ---------- Previous post was at 15:49 ----------

All the commands seem to work but I always have the same short alarm sound (not the oxygen/default one) Tried it with many .ogg files. Doesnt seem to be a problem with the ogg file because it is located in system/media/audio/alarms and it plays just fine with ES explorer.
[Huawei Watch] bouchigo:
I also edited build.prop to use Alarm_Rooster_02.ogg as the alarm default. I noticed that it wasn't working, just like what is happening to you. I tried a reboot, but it didn't seem to correct the issue. So, I did a factory data reset of the watch by unpairing with the phone in the watch settings, and now my Rooster alarm works fine.

You might want to try rebooting first after editing the build.prop with your desired alarm tone; if that doesn't work, then do a factory data reset by unpairing with the phone.
[Huawei Watch] Motawa88:
It worked. But I just renamed my sound file to oxygen.ogg. does only ogg work or will mp3 work too?
[Huawei Watch] bouchigo:
It worked because Oxygen.ogg is set as default in the build.prop, that's why I edited my build.prop to match my alarm tone name. I don't remember if I rebooted after editing my build.prop, but most likely I didn't, and it would have done the trick if I would have just rebooted.

If there was a way to pick what tone to use for alarms in the watch's settings, then mp3's probably would work. As it stands I don't think they will work, but you can try it. You can also convert your mp3's to .ogg format, and just rename them Oxygen.ogg if you don't want to mess with the build.prop.

There is an Alarms folder in the /sdcard, they might work from there too, but it would probably require editing the build.prop to match the name of the alarm you want to use since you can't change the alarm sounds in the watch settings, and again, they'd most likely have to be in .ogg format.

Maybe Google will allow users to change alarm sounds more easily in the next update so both .ogg and .mp3 files will work.
[Huawei Watch] Motawa88:
Is there a way to disable vibration while alarm goes off?
[Huawei Watch] bouchigo:
Yes there is. If you don't want the alarm to vibrate when it goes off, then go into the alarm you set and edit it. You can turn off vibrate in there:
[Huawei Watch] Motawa88:
Awesome! Would be nice if It would be off by default.

For some reason it worked now without even rebooting. Now I can wake up with Kakariko theme =)
[Huawei Watch] Motawa88:
There is a problem when the watch goes into ambient mode, it starts to flicker alot, especially on white watch faces. This is really annoying especially because summer is comin soon and white watch faces are really the better choice then. I am pretty sure its just a settings issue, because it doesnt flicker at all when the watch is woken up. My guess is that the refresh rate is just set down while in ambient mode. Can you please look into that [MENTION=2174433]Skin1980[/MENTION] ? We could do another team viewer session so you can test it on my device :cool:
[Huawei Watch] bouchigo:
[MENTION=2174433]Skin1980[/MENTION]

Looks like source was uploaded sometime last night, at least it was last night for me: https://android.googlesource.com/ke...sm-sturgeon-3.10-marshmallow-mr1-wear-release & https://android.googlesource.com/kernel/msm.git/+/android-wear-6.0.1_r0.12
[Huawei Watch] Motawa88:
he is busy with other projects. No update soon.
[Huawei Watch] acultr:
+111111111: D

---------- Post added at 06:32 PM ---------- Previous post was at 06:27 PM ----------

http://www.intersectraven.net/2016/03/16/finally/ what about this?
[Huawei Watch] bouchigo:
That's someone else's kernel, and we already knew mpdecision wasn't working because of changes made by Huawei.
[Huawei Watch] bmg1001:
And its not a great kernel either *anymore*. Latest versions have made the watches lag beyond usability and the dev pretty much told me he isn't fixing it...
[Huawei Watch] Lagg4free:
Very unkind comment!

Do it by yourself or shutup!

Gesendet von meinem GT-N5100 mit Tapatalk
[Huawei Watch] jatle:
For some reason, your comment bothers me more and seems unnecessary. :good:
[Huawei Watch] Skin1980:
I believe that selinux and mpdecision isnt related and i can bet that i already know how to make it working. Btw if [MENTION=2425314]intersectRaven[/MENTION] need a tip he can ping me in PM.
[Huawei Watch] sille:
Did I miss something? With MM the stock kernel just runs with one core? Or was that the same on LP? Just checked Aida and it just shows me one core running

Gesendet von meinem SM-G935F mit Tapatalk
[Huawei Watch] Skin1980:
Yes only 1 core
[Huawei Watch] sille:
ah ok, that sucks :D
[Huawei Watch] acultr:
http://www.intersectraven.net/huawei-watch/

Has anyone tried it?

Skin1980?
[Huawei Watch] sille:
its running on my watch 5h ... little snappier but no comparison with full core support
[Huawei Watch] jiajialing:
I tried latest kernel, got boot loop.

anyone? idea?
[Huawei Watch] Skin1980:
I don't have the huawei watch. If I had it the things went a lot faster and better.

BTW I already tested with a guy a new one with mpdecision enabled and working
[Huawei Watch] acultr:
You have tested the first version on my watch over team wiver
[Huawei Watch] jiajialing:
Awesome, when can we get it?
[Huawei Watch] acultr:
deleted
[Huawei Watch] Skin1980:
Can't post because I didn't upload my source
[Huawei Watch] bouchigo:
[MENTION=2174433]Skin1980[/MENTION]

It works beautifully:
[Huawei Watch] acultr:
we can get out of it?

?
[Huawei Watch] janjan:
Thank you for your great effort. Do you mind to upload your source? I brought my Huawei watch just because you build custom kernel and TWRP recovery for Huawei watch. Hopefully you get time to upload your source or latest kernel. Once again thanks for your great work.
[Huawei Watch] acultr:
+1
[Huawei Watch] goldsilver13:
skin1980, thank you for your generous work and time
[Huawei Watch] nordicfastware:
Which app do you use to display the CPU data like that ?

Ok found it: AIDA64 from the play store.
[Huawei Watch] tye69:
Hi, is this nearly ready for all to download thanks.
[Huawei Watch] chrisokaly:
What kernel are you using here?
[Huawei Watch] bouchigo:
Cool :good:

A test kernel by Skin1980 that I modified because I didn't need root, init.d, and busybox. The magic is his zImage.
[Huawei Watch] chrisokaly:
Assuming that's not available for public use?
[Huawei Watch] bouchigo:
I don't think he wants to put it out until he uploads his source. So, for the meantime we'll all just have to respect his wishes. I'm sure when he's ready everyone will know because it will be posted by him :good:
[Huawei Watch] Fauert:
FYI : :D
[Huawei Watch] Skin1980:
It's not if I want or not... I simply can't because of gpl... later or tomorrow I will upload the source and share the kernel
[Huawei Watch] Skin1980:
source here:

https://github.com/Skin1980/mm-sturgeon

kernel with mpdecision here:

https://drive.google.com/file/d/0Bw3_NSvn-SHCVlBMWGNwR1paUWc/view?usp=sharing

Sorry to post in this way but I will start a new thread when i can find some time.

Donation are welcome.
[Huawei Watch] Motawa88:
can we change vibration now? =)
[Huawei Watch] Skin1980:
i didnt have the time to implement it.. maybe tomorrow
[Huawei Watch] chrisokaly:
Kernel is for MM? And supports multi core?
[Huawei Watch] Skin1980:
Yes and yes
[Huawei Watch] chrisokaly:
this is using the test kernel?
[Huawei Watch] brizey:
Try to adb as root. Just type "adb root" without the quotes in a terminal/command window. Or executing su in and adb shell. Also, the kppd script will be there.
[Huawei Watch] rjwdon:
if doing adb root returns "restarting adbd as root" does that mean the kernel is installed?
[Huawei Watch] rjwdon:
yep thats working, coming up root@sturgeon:/ # - thanks for the help :)
[Huawei Watch] modestone:
Excited to start hearing some real world feedback on this, battery life, speed, etc...