yashsingh1/xdaforums huggingface dataset:
[Huawei Watch 2] flocke000:
[MENTION=490110]janjan[/MENTION] Followup to my last comment: It seems all you have to do to enable "System image" backups in TWRP is to mount the system partition a second time using the fstab file. For that you need to add a line like this:

/system_image emmc /dev/block/bootdevice/by-name/system

that mounts it under /system_image with the emmc filesystem. See here for an example: https://github.com/TeamWin/android_device_motorola_athene/blob/android-6.0/twrp.fstab
[Huawei Watch 2] booba5185:
SO just to make sure, we are basically at a stand still until the 4G LTE release or Google releases the source code?
[Huawei Watch 2] mrlb:
Oreo has started rolling out on 4G over the last night apparently.

https://xdaforums.com/watch-2/how-to/wear-os-1-0-oreo-4g-version-t3766157

https://www.reddit.com/r/hwatch/com..._medium=hot&utm_source=reddit&utm_name=hwatch
[Huawei Watch 2] janjan:
I am still waiting...no update here

Finally received.
[Huawei Watch 2] roboMr.Burns:
I captured the update.zip.I am uploading it asap.
[Huawei Watch 2] soweic:
with that I can re-flash to my BT version Oreo?
[Huawei Watch 2] Kianush:
There is also an Update for bt version, havent updated yet though...
[Huawei Watch 2] roboMr.Burns:
This is the sawshark (LTE) OTA zip:

http://www113.zippyshare.com/v/1kO7IeAT/file.html
[Huawei Watch 2] Friedensfurz:
Is there any standalone zip for Oreo on the 4G model? A TWRP backup of the O version would be fine too. The update zip does not seem to be compatible with any ROM as it requires some N version i don't have. Thanks
[Huawei Watch 2] roboMr.Burns:
Unfortunately not afaik. But you can start with the Fastboot Image und use the OTA to Patch up to oreo
[Huawei Watch 2] janjan:
Gonna upload a new ROM based on Oreo soon. I need to fix the kernel before uploading.
[Huawei Watch 2] mrlb:
Hi janjan. Are you going to look at Oreo LTE or get the BT version solid first?
[Huawei Watch 2] janjan:
Lte. I haven't the BT
[Huawei Watch 2] -iNSiGhT-:
Patiently waiting on you latest nougat ROM.

Is there a link for Oreo factory image (the entire one, not OTA) ?
[Huawei Watch 2] billybong10:
BT got another update... wasn't able to pull it, I'll reflash first Oreo update and either pull the URL or the update zip when I get the chance.
[Huawei Watch 2] booba5185:
What got updated? Mine keep saying up to date.
[Huawei Watch 2] -iNSiGhT-:
Got the "downloading update" screen today.

Just hope it will not be installed automatically...since I'm on Janjan's ROM.
[Huawei Watch 2] Young Gunna:
I'm on the Bluetooth version and just got an update last night that now has me only able to boot into twrp. I was running the back to stock Oreo files that I thought would let me be able to take ota updates but I guess not...

Two quick questions 1. Any way I can get my watch back up and running WITHOUT a computer? I'm on a cruise for a while. I have twrp recovery that's about it...

2. What can I do to prevent ota updates on the future? This is the second time I have been bit by ota updates lmao!

Thanks guys!
[Huawei Watch 2] billybong10:
Same thing happened to me this morning. I fastboot flashed boot, recovery, and system from the first Oreo update and rebooted. It installed the update and I was back running without losing any data. Not sure what you can do without a computer though. Actually if you can find the update zip in your system you might be able to flash it in TWRP. Try looking in TWRP @ /data/ota_package/update.zip. That should be it. If it works report back because that would save others the trouble of having to use fastboot.
[Huawei Watch 2] Young Gunna:
Thanks [MENTION=3073538]billybong10[/MENTION]!

Lmk if you find the location or not. Hopefully I'm not stuck without my watch for a week ???.
[Huawei Watch 2] billybong10:
Also if it is there copy it to your storage somewhere before you flash it so you can upload it later. It will help janjan if he decides to try to build a rom from the new update. Good luck.

---------- Post added at 06:00 PM ---------- Previous post was at 05:59 PM ----------

I edited my post before I saw you comment check it out for location of update.zip
[Huawei Watch 2] Young Gunna:
Checked out that location and there was nothing there dang.... Hopefully someone else reading this will be able to see it this works?

Thanks again for trying to help me out!
[Huawei Watch 2] marrison:
i really need flashable stock images N7176C (lte), where can i find it? thx!!
[Huawei Watch 2] janjan:
latest wear os is ready for Huawei Watch 2 LTE/4G (Sawshark) with latest kernel source. The ROM is based on latest OWDE.180215.017 with latest march 1. security patches. The ROM is really smooth like a butter. I also updated the TWRP recovery with the correct kernel and latest source. ENJOY AND REMEMBER MY WHISKY. THANKS

I am working with deodexed version. It will be available when i fix all the issues.
[Huawei Watch 2] booba5185:
To clarify, this won't work on the BT models?
[Huawei Watch 2] janjan:
No.. I have the official images for BT. Coming soon. Maybe tonight or tomorrow.
[Huawei Watch 2] booba5185:
Awesome! I can't wait to try it out this weekend. Thank you!
[Huawei Watch 2] -iNSiGhT-:
Works like a charm on Sawshark !!

And as i always forget to donate, today i took the time to do it (1H964294RX679705H, not that much but you deserve it).

Keep up your great work ! ;)
[Huawei Watch 2] janjan:
Deodexed version is ready. Try it, you will be happy with your watch. First boot takes some time.

ENJOY AND REMEMBER MY WHISKY. THANKS

Time to work with BT version (Sawfish) now. It will be available for download soon.
[Huawei Watch 2] janjan:
Thank you so much. Really appreciate your donation.
[Huawei Watch 2] -iNSiGhT-:
And i learned Danemark was not using Euro. Thought all countries inside EU were... :p
[Huawei Watch 2] janjan:
haha the official currency of Denmark is krone. (I think 1 Euro is around 7.7 kroner)..Like old France currency franc. I still remember that time when I went school in France and used franc. long time ago :)
[Huawei Watch 2] janjan:
Odexed and Deodexed ROMs + the kernel for sport/BT(Sawfish) are ready for download. The ROM is based on latest OWDD.180215.018 (Google images) and the kernel is based on latest source (Android Wear 8.0.0 Release 0.21 (OWDE.180215.020,sawshark_sawfish). The kernel should also work with stock ROM.

A short changelog (ROM)

- ROM is based on latest release WEAR OS OWDE.180215.017- 01_03_2018 security patch

- All *apk system/data, system/app, Framework & priv-app zipalign & optimized for better RAM utilization

- forced-encryption disabled

- dm-verity removed/disabled

- Tweaks + optimization to improve the speed and

- Add some patches to get it work with deodoxed ROM

- Tweaked for best performance

- Removed some apps (can be download from play store)

- And many more, can't remember all

A short changelog (kernel)

- Scheduler optimize/support for heterogenous multi-core

- Scheduler support for heterogenous multi-processor systems

- Enables the core control

- Multi-Cluster Power Management support

- Optimized the energy consumption for advanced multi-core SoCs including big.LITTLE.

- Multi-core scheduler enable/optimized

- Add Qualcomm PM driver/APM driver updated reduce battery usage during sleeping

- A lot subsystems converted to use power efficient workqueues

- Serveral other patches to reduce battery usage

- Tweaked/optimized the scheduler to balance the load across all CPUs without any regards to the power costs

- Tweaked the scheduler to reduce/save power by scaling down the frequency of the CPUs or idling them,

- Tweaked to predict the best time to save power on the CPU without affecting performance

- Tweaked for Best Performance

- And many more can't remember

- clean and smooth

ENJOY AND REMEMBER MY WHISKY IF YOU WANT ME TO CONTINUE MY WORK. HAPPY EASTER
[Huawei Watch 2] booba5185:
I'm getting an error saying 'This package is for "sawfish" devices; this is a "sawshark"'

---------- Post added at 11:11 AM ---------- Previous post was at 10:47 AM ----------

Should I try this? https://xdaforums.com/showthread.php?t=2522762
[Huawei Watch 2] janjan:
Did you download the correct zip? Both zips are available in the first thread
[Huawei Watch 2] booba5185:
I did. I have a BT model, not a 4G\LTE model. I wonder if somehow the watch was switched over to a 4G rom during all my different trials? What should I do from here? Flash the stock BT IMGs for Oreo and try again?
[Huawei Watch 2] janjan:
You need to download the correct zip for your devices. BT=Sawfish.
[Huawei Watch 2] booba5185:
I did. Apparently, my watch is under the impression it's a Sawshark. According to this error message, at least.

---------- Post added at 11:41 AM ---------- Previous post was at 11:28 AM ----------

These were the factory images I used to flash after testing the previous Oreo roms. I just reflashed them, and I still get the same message.
[Huawei Watch 2] janjan:
https://developer.android.com/wear/releases/wear-preview-downloads.html

Used the following. (IT IS FOR BT VERSION WHICH IS SAWFISH)

sawfish-factory-OWDD.180215.018.tgz
[Huawei Watch 2] booba5185:
I flashed using the BAT filed included in that download, and it went fine. I try to flash your rom, and I still get the same message.
[Huawei Watch 2] janjan:
Which ROM did you download? Send me the link please.
[Huawei Watch 2] booba5185:
This is the link I used for your rom (This is the Odexed, I did try deodexed as well) https://www.androidfilehost.com/?fid=673956719939831458

This is the link I used from Google's preview site: http://storage.googleapis.com/andro...r-preview/sawfish-factory-OWDD.180215.018.tgz
[Huawei Watch 2] janjan:
These are for BT-version.

https://www.androidfilehost.com/?fid=746010030569965597

https://www.androidfilehost.com/?fid=673956719939831458

Can you boot into bootloader and upload a picture.
[Huawei Watch 2] booba5185:
That's the same link I posted, so I'm confident that I'm downloading the Sawfish version. Here's a pic of the bootloader:
[Huawei Watch 2] janjan:
Umm strange. Let me try something.. I am going upload a new zip. Try and let me know. But before that.. Did you tried to move the zip into your device and flash? Seems you are sideloading.
[Huawei Watch 2] booba5185:
No I haven't moved it over as of yet. I have been side loading. I can go ahead and try moving it over though.

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

Just tried, same error.
[Huawei Watch 2] janjan:
I am going to upload another zip.
[Huawei Watch 2] janjan:
Did you tried to rename the zip before side loading? It could be due to the parentheses (Sawshark). Before I uploading another zip cause Everything seems ok.
[Huawei Watch 2] booba5185:
I renamed it to "rom.zip" and received the same error.
[Huawei Watch 2] janjan:
https://www.androidfilehost.com/?fid=890129502657594791

MD5:ebe0b10d9d70e8f76ed469ba8765967c

Let me know if it solve your issue
[Huawei Watch 2] booba5185:
Appears to have flashed successfully. I'm in the midst of the lengthy first boot, now.

---------- Post added at 01:29 PM ---------- Previous post was at 01:20 PM ----------

Appears to be working now. I'm in the midst of pairing everything up with my phone. Thank you!
[Huawei Watch 2] janjan:
Both odexed and deodexed should work now. Thanks for the feedback
[Huawei Watch 2] booba5185:
Thank YOU for your hard work. Which do you recommend? Odexed or Deodexed?

---------- Post added at 02:10 PM ---------- Previous post was at 01:34 PM ----------

I may have spoke too soon. This is ungodly slow. I push a button or touch the screen and it's 10 seconds or more before it responds. I'm going to wipe and try the odexed version.
[Huawei Watch 2] janjan:
I have no issue with both versions. You need to clean up/ wipe and then flash the ROM. Actually both versions run very smooth.
[Huawei Watch 2] booba5185:
Once I wiped and went to the Odexed version I haven't had any issues. I'm testing battery life now.
[Huawei Watch 2] maxal:
Hi, I have just flashed the Odexed version and Magisk and I have never used Magisk before do I just flash it and then open it?
[Huawei Watch 2] janjan:
Yes. Then go to Magisk settings and set automatic response to Grant and Superuser notification to none. Also uncheck the check updates.
[Huawei Watch 2] maxal:
Thanks just done that. How do you boot in twrp recovery? also I keep getting a message to update twrp, do I?
[Huawei Watch 2] janjan:
Update TWRP? Never get a message to update the twrp. Maybe you say yes to install TWRP apk during first boot? You shouldn't.

Actually you don't need to flash the twrp recovery. You can just boot into twrp whenever you want to flash something using adb/fastboot

fastboot boot name-twrp.img

Otherwise you can boot into twrp recovery by rebooting into bootloader and then use the upper button to boot into twrp by pressing. (Check my thread explaining/ instructions about booting into bootloader)
[Huawei Watch 2] maxal:
Tried this method just takes me to a large orange explanation mark not twrp
[Huawei Watch 2] StarCommand:
Dont know if its just me but deodexed is incredibly laggy
[Huawei Watch 2] redukt:
Wipe cache & dalvik via TWRP...
[Huawei Watch 2] StarCommand:
Thanks i only wiped the dalvik
[Huawei Watch 2] janjan:
Yes it is possible. Actually you will achieve very good performance + good battery life by adding different schedule for the kernel... Offcource with a number of modifications too. I will update my source ..you can take a look..
[Huawei Watch 2] janjan:
DONATE ME HERE

---------------------------------------------------------------------------------

---------------------------------------------------------------------------------

​

Requirements

- An unlocked bootloader

- adb and fastboot drivers

You can download adb and fastboot package from here. https://developer.android.com/studio/releases/platform-tools.html#download

--------------------

HOW TO FLASH THE ROM

0- Attach your devices to your PC and enable USB Debugging

1- Boot your device with TWRP from here.

TWRP-Recovery

- adb devices

- adb reboot bootloader

- fastboot devices

- fastboot boot name-of-the-twrp.img

Or

fastboot flash recovery name-of-the-twrp.img

2- Now move the build/ROM to your watch

3- Make a backup - there's always 1% chance something goes wrong.

4- Full wipe is recommended....Wipe data/Factory reset

5- Flash the Build

6- Reboot

7- Open BusyBox and tap to install.

8- Done. Don't forget to donate if you like my work, Thanks.

--------------------
[Huawei Watch 2] janjan:
I am uploading a new deodoxed version, very smooth and very good battery life. Add alot of tweaks and optimization to improve the overall speed and battery life.
[Huawei Watch 2] janjan:
Yes sure. Let me find the right instructions to extract vendor.img

You can send me the latest boot.img + system.img and vendor.img ( I will PM you with a short instructions to extract vendor.img.
[Huawei Watch 2] cdkg:
Sounds good, thanks
[Huawei Watch 2] arthos7:
Does this new ROM includes heart rate, daily tracking related to stock huawei health app because in the previous ROM 15/11, you removed those app right?
[Huawei Watch 2] janjan:
You can download all the apps from play store.
[Huawei Watch 2] janjan:
It seems no one are interested for a custome kernel and ROM for Huawei watch 2. This project is not going to continue anymore.
[Huawei Watch 2] arthos7:
I thought you were already upload the rom?What happened?I'm waiting for your new rom
[Huawei Watch 2] dark_saian:
Yes, we are interested! It's just that flashing ROMs on watches is still relatively new to most people. Even by XDA standards.
[Huawei Watch 2] janjan:
I can't see any reaction or any response from anyone.

Only 5 people like this thread. It means no interest.
[Huawei Watch 2] travis82:
I just got this watch on sale today. I can't way to play with it :P Anyone attempted a full android non wear rom for this?
[Huawei Watch 2] cornelha:
Now 6!
[Huawei Watch 2] -iNSiGhT-:
Did you mean 7 ?? [emoji23]

Just moved from the G Watch R to the Huawei Watch 2 and happy to see someone making good stuff for wear!

I'll flash your ROM (maybe without root) ASAP.

Thanks for your work!

EDIT : I suppose fastboot command to unlock bootloader is the same as the one for phones ?

Fastboot flashing unlock ?
[Huawei Watch 2] redukt:
fastboot oem unlock :)
[Huawei Watch 2] -iNSiGhT-:
The old one, thanks.

[MENTION=490110]janjan[/MENTION] Will you provide the original files in case we want to go back on stock ?

Or, since I'm still on stock, which commands do I need to extract all images (boot, system, vendor, recovery and maybe cache, userdata) ?
[Huawei Watch 2] redukt:
Hey janjan,

I think the interest in this thread is so low because the device isn't that popularest one.

And the smallest part of the users will hit hit custom roms on it ;) And some are here on XDA ;)

Although there are so few of us here, we really appreciate your work and depend on experienced developers like you.

I haven't contributed much to this thread yet. First of all because your roms simply work well without errors.

Anyway, I'd be very happy if you reconsidered your decision. :)
[Huawei Watch 2] janjan:
Hehe I will do my best.

Yes. I will provide all the OTA.zip + original files. Need some time.

Hehe I will do my best to continue my effort to this thread. Thanks
[Huawei Watch 2] -iNSiGhT-:
[MENTION=490110]janjan[/MENTION] I'm backing up my Watch (and pulling it in my laptop) then... #FlashingTime

One more question : is root required or can I just flash the ROM?

Thanks again!
[Huawei Watch 2] redukt:
You CAN root your device but it's not required ;)
[Huawei Watch 2] redukt:
Hope your result is a bit fluished then before :)
[Huawei Watch 2] StarCommand:
It runs more smoothly, but the odexed version still is way less laggy
[Huawei Watch 2] booba5185:
It runs decent, and the internal speaker works now, so that's a plus. I'm not noticing any improvement in battery life, I typically get a 1.5-2% drop every hour.
[Huawei Watch 2] janjan:
It needs to settle down first. Give it some days.
[Huawei Watch 2] booba5185:
Will do. How long do you think it'll take to learn?
[Huawei Watch 2] lay1744:
Can I use the Taiwan version?

Can this rom be brushed in a version purchased in Taiwan??
[Huawei Watch 2] rabeemalik:
OTA and Gapps for this kernel

Hello,

Will flashing with this kernel disable automatic updates? Also, are gapps available on this kernel?
[Huawei Watch 2] StarCommand:
Odexed or deodexed?
[Huawei Watch 2] booba5185:
Odexed.
[Huawei Watch 2] Kianush:
hi, i also have the bt version, would you tell me how to put the zip in the watch?!

I dont know the adb commands...

and the links in the first post work fine right?!??
[Huawei Watch 2] booba5185:
Sorry for the late response, yes the links in the first post work just fine. I used Total Commander to copy the files over, just like you can do with music. I just copied them to the download folder, then navigated to the download folder on the watch in TWRP and flashed it from there. You can follow this thread on how to copy the files. https://xdaforums.com/watch-2/themes/best-offline-music-player-huawei-watch-t3683936
[Huawei Watch 2] lay1744:
I successfully brushed in

It feels very smooth and very good

But I don't have fastboot flash recovery recovery.img

Because the first time you brush it, you can't start the machine...

But that time, I didn't even brush rom and I rebooted.
[Huawei Watch 2] mrmep:
Hi, I successfully flashed my sawshark, everything is working fine except that it doesn't recognize the SIM: it simply doesn't see it (tried with two different ones). Is anyone else having this issue? Any thought?

thanks
[Huawei Watch 2] bkkzak:
I've seen you use this terminology before, but I still have no idea what you mean. What do you mean by "brushed"?
[Huawei Watch 2] Friedensfurz:
He wanted to say " flashed" I think
[Huawei Watch 2] lay1744:
YES!!
[Huawei Watch 2] adas4190:
It works for me flawless but the only thing bothering me is that after update to latest software version I cannot access recovery. Just red exclamation mark.
[Huawei Watch 2] IcipherPT:
I just saw this section for watch 2 lol

Thanks your work first of all!

What are the major improvements? Battery life focus?

I'm curious with one more thing, what is possible to do with a rooted smartwatch?
[Huawei Watch 2] g00s3y:
Love this rom/kernel combo. Installed it yesterday, it's been buttery smooth. Going on 32 hours, and still 33% battery left.
[Huawei Watch 2] MJFox78:
how did you guys install the kernel? I always get the message that the zip is invalid when I try to flash the kernel-zip (oreo version) in TWRP

am I missing something?
[Huawei Watch 2] liviopacifico:
Just wanted to share my success story. I got my Huawei Sport 2 LTE 10 days ago. After a week of use I was pretty convinced about the feasibility of my original plan, which is essentially replacing my smartphone with a smartwatch (decluttering FTW). My only complaint about the unit was battery life. I'd get around dinner time with 5% of battery and energy saving mode would kick in. Since I tend to have long evenings/nights, this did not work well for me.

So I started looking around and found this. Three days ago I unlocked my device and installed this ROM. Then I proceeded as usual. Results?

F A N T A S T I C !

My routine includes a few hours on 4G (occasional Telegram-ing especially), a few phone calls a day and up to 45m of activity tracking with GPS on while streaming music (Wearify). After 3 days of this usage, I can confirm that this ROM gave me an extra 15-20% of juice out of a single charge. It also *does* feel snappier. With the original ROM Wearify would often struggle with playback especially when switching screen on and off. Now it's smooth as silk. Bravo! Just offered the dev a whiskey (2EL8504480626913M) and I invite you all to do the same if you appreciate this ROM.

Now, even if I am very happy with the current state of things, I think I will try to improve the situation even more. I noticed that about 40% of my daily battery consumption goes to Cell Standby. I suspect that I would squeeze even more from my battery if I could reduce Cell Standby to some extent. If 4G is contributing significantly to this 40%, for instance, I could create an app that does some sort of polling to keep me partially online. Like, a minute online and a minute offline. Except when the screen is on. I don't mind if I get messages one minute later, if that means giving another 10/20% in battery life...
[Huawei Watch 2] janjan:
Really appreciate. Enjoy

I will take some time from my schedule to work more and bring something good in future. Going to play a bit more with kernel optimizing to reduce battery consumption a bit more. Really appreciate your donation bro.
[Huawei Watch 2] g00s3y:
Unzip it, and flash the boot img in fastboot.
[Huawei Watch 2] cornelha:
Do you really need 4G for telegram? If not, you can switch to edge which saves a ton on battery.
[Huawei Watch 2] liviopacifico:
That's a good point, but in my observations switching between 4G and 2G did not yield results as good as turning cell data connection altogether off. And switching between one and the other when I do need speed (e.g. Wearify) is a pain, hence the idea of automating when to switch connection on and off. My current thinking is writing a small tool that checks if cell data connection is being used and if it is, turns it off for X minutes every Y minutes except when the screen is on or when a certain app is being used in the background. Sounds simple on paper. :p
[Huawei Watch 2] goofnorf101:
What do you think about patching the verified boot state information like is done here: https://github.com/travismills82/an...mmit/a466360a9ab86f8f63c9edee5d5bfb00d209eb56
[Huawei Watch 2] Jerrimy:
device software can't be checked

edit: problem solved
[Huawei Watch 2] MJFox78:
like this:

fastboot flash boot boot.img

?