yashsingh1/xdaforums huggingface dataset:
[Mate 8 Q&A, Help & Troubleshooting] darbylonia:
OK, I think I had the wrong TWRP image in the Unbrick folder for the Italian Knife unbrick function. I copied the TWRP 4.1 in there, re-did Italian Knife unbrick, then was able to get into TWRP and flashed Kang VIP. I am back in business. AND I have fingerprint working!

Man, this phone is NEUROTIC!! I'm not modding this anymore! This will be a #2 device and then I'll pick up a Pixel or something else to upgrade from my Nexus 6. :)
[Sony Smartwatch 3] PDesire:
Hello,

As some people heard, i really try to get Android Wear 2.0 for our beloved SmartWatch 3.

And it's possible, sources, device trees, all exist to build a working own compiled Android Wear 2.0.

So this thread tells about the current process of the port

PROGRESS

Repo synced
First build finished (not buildable yet due no blobs included
GAPPS Porting in progress
Fixed to 99% the device tree
Updating Blobs to M1D64T in progress
Using own Device tree

SOURCES

Device Tree for tetra:

https://github.com/Sony-SmartWatch-3-OSS/android_device_tree_tetra_eng_prerelease

Device Kernel for tetra (unmodified):

https://android.googlesource.com/kernel/bcm/+/android-wear-6.0.1_r0.99

(we can use MM kernel on Nougat too, maybe some patches needed but that's okay)

Prebuilts/Blobs for tetra:

https://github.com/Sony-SmartWatch-3-OSS/vendor_prebuilts_tetra

For Discussions go to this thread please: https://xdaforums.com/smartwatch-3/general/companion-thread-android-wear-2-0-t3565693

If you want to help me on this project, write to me via telegram: https://t.me/PDesire
[Sony Smartwatch 3] MaceCZ:
I need that so much any ETA ?

By the way keep up the good work !
[Sony Smartwatch 3] zippy01:
Nice to see someone is working on this :victory:
[Sony Smartwatch 3] Marcgyver675:
Thanks for your job.

Enviado desde mi Redmi Note 3 mediante Tapatalk
[Sony Smartwatch 3] felipeacydc:
great!!! thanks
[Sony Smartwatch 3] slowslow9:
Dear PDesire,,

My support can be only moral..... :crying:

And I hoping good news soon from you

Thx again for your great hard work :good:
[Sony Smartwatch 3] HEKER510:
thankx you great hard work and good luck my friend
[Sony Smartwatch 3] drakonizer:
I checked out your device tree. It looks like it's based off an Open Devices tree. I don't think we need the following lines

include device/sony/common-headers/KernelHeaders.mk
-include device/sony/common-kernel/KernelConfig.mk

in BoardConfig.mk.

Also, what about the HALs? Asteroid OS used the system.img from a stock build, but we will need to build from source. I do not think it is open source, as it is not available on google git servers.

EDIT: I do not think building from source will work. This is what I found the Google Android building group:

Looks like the only way to go forward is to port it from a pre-compiled version for another watch, like they did for the Galaxy Gear devices.

EDIT 2: Refer:

https://groups.google.com/forum/#!s...nce/android-building/R0r9BBn4M3g/-KexIWTCDwAJ

https://groups.google.com/forum/#!s...nce/android-building/vx0Hcy88Ofs/USxAUaKVAwAJ

These sources are incomplete and only include GPL licensed projects. It is not the complete source, just like google releases preview sources for AOSP preview builds (M, N etc). I suggest you not waste your quota in downloading the source.
[Sony Smartwatch 3] PDesire:
Yeah I've seen these, and already fixed. Patch comes soon.

Things for WLAN and BT for example are on google repo too and if a library or something is missing we can use it from M1D64T

Lel then I can't understand why the build is working xD at least I am building in time and already 14% finished

I know some libs we have to grab from the Marshmallow FW but that shouldn't be a big deal ;)

At least we also need some things from Preview 2 so we can get our AW 2.0 Preview 2 working

So I try my best to grab much from source and if required also from FW, but all in all its possible for our SmartWatch 3 to get Android Wear 2.0

Your PDesire
[Sony Smartwatch 3] xpatze85x:
but there's one thing i don't understand ... why r u using preview 2 instead of a feature complete newer version or the final version?
[Sony Smartwatch 3] juanjetomas:
Because there aren't any sources of the final version.
[Sony Smartwatch 3] dafunk2:
[MENTION=6126659]PDesire[/MENTION] :

You're the man...keep up a good work ???
[Sony Smartwatch 3] SkyGO:
Hey [MENTION=6126659]PDesire[/MENTION] , any news? I'm sooooo hyped!!! :D :D :D :D
[Sony Smartwatch 3] kiki059:
Thank bro I hope
[Sony Smartwatch 3] drziddo:
Thanks for this!
[Sony Smartwatch 3] PDesire:
So current status is:

Repo synced
First Test build stopped to fix things on device tree

Expected in future:

Blobs dump
Fully fixed Device tree
Creating vendor for tetra
Adding overlays for framework to device tree
Some mix with armv7-a-neon generic
Gapps Dump

Expected in far future:

Creating an OSS project for tetra (like sonyxperiadev but for tetra)

So guys I will do more tomorrow as I am awake already from Friday 7AM - 3AM Saturday (right now GMT +1) and working on it and I need my sleep xD

So Goodnight guys and I can confirm our dream of Android Wear 2.0 for SmartWatch 3 comes nearer ;)

Your PDesire
[Sony Smartwatch 3] dafunk2:
And I can confirm my donation is coming when a working build is ready, and I suppose others are coming, isn't it guys? ???
[Sony Smartwatch 3] Neo Cortex:
Is it possible that this could give us Android pay or will that only work with official AW2?
[Sony Smartwatch 3] d.j.byrne.51201:
No. That'll only work on an official firmware, unfortunately...
[Sony Smartwatch 3] punfil:
Thank you very much, hope you will finish it without problems~!
[Sony Smartwatch 3] leeknows:
Financial, Moral and Tester support

I can only offer non technical support

If you want PayPal donation let me know ?

If you need Alpha Testers let me know ?

This is amazing I hope it works out well

Thank you
[Sony Smartwatch 3] HEKER510:
I can also Alpha Testers? :)
[Sony Smartwatch 3] theleo2k:
Excelent job! Thanks!!!
[Sony Smartwatch 3] PDesire:
The current process is even better than yesterday

First (not bootable build due not blobs included) build finished
Blobs in dumping process
Device tree 99% working (system compilation works)
Kernel work starts soon

If we do more steps on the same speed it also could be possible that our Dream of Android Wear 2.0 is nearer than thought and we can maybe release it already in 1 week but I can't promise anything

But we are extremely near to have AW 2.0 Preview 2

Your PDesire
[Sony Smartwatch 3] bma1973:
Good job man, thanks for your hard work
[Sony Smartwatch 3] SkyGO:
Great job man , keep up!!!

Count on me if you need an alpha tester!!
[Sony Smartwatch 3] fleshi:
Good job.

Count me in as a alpha tester!
[Sony Smartwatch 3] HEKER510:
Please

Count me in as a alpha tester!
[Sony Smartwatch 3] Zdrpkamil:
Me too
[Sony Smartwatch 3] bel57:
Sony drops support? Then, port it. Nice project, kudos.
[Sony Smartwatch 3] Glirhuin:
If you need alpha/beta tester, count on me with no hesitation!

I'd also like to contribute with a PP donation.
[Sony Smartwatch 3] rmpi4live:
Nice man can't wait thanks for the effort in advance. I'm also available to test :)
[Sony Smartwatch 3] RJASSI21:
Another who is willing to test. Great news on beginning the port. Thanks.
[Sony Smartwatch 3] Dav0r:
alpha test like no tomorrow!
[Sony Smartwatch 3] scaschera:
Good news , thanks bro !!!
[Sony Smartwatch 3] Mikegrmn:
I´m sure everyone wants to test as soon as something is available, but could we stop announcing that someone is wanting to test? I´m keeping an eye on this thread and every time I come back, it´s just another "I want to test" message.

Similar happened in a thread for an app where everyone is just wanting a promo code instead of offering bug reports and help.

Just saying. And yes, I know that I´m not helping either with this post, but it´s getting annoying to get back to the thread and there´s no real new information.
[Sony Smartwatch 3] alex6600:
Witch kernel do you use for port?
[Sony Smartwatch 3] mattix_96:
Big Up guys!! XDA rulez!

i would like to partecipate with a donation

(if you are looking for an alpha tester count on me)
[Sony Smartwatch 3] drakonizer:
As mentioned in the OP, he uses the stock M kernel.
[Sony Smartwatch 3] HEKER510:
So you see when about completion port for Android 2.0 SW3 wonder when it will actually be able to try and write them whether a procedure guide?
[Sony Smartwatch 3] Leech1994:
Awesome!
[Sony Smartwatch 3] sapiora:
Guys, would you please stop flooding the topic with offers for alpha testers, please! If the team need - they will announce it. Thank you for the understanding and please forgive me if I sound offensive.
[Sony Smartwatch 3] PDesire:
Guys wish me luck, doing later first build which is theoretically bootable

(not spamming that on this thread please xd)

Your PDesire
[Sony Smartwatch 3] drakonizer:
Don't say that please! XD

Now we're gonna have pages of posts where people wish you luck.
[Sony Smartwatch 3] bozinsky73:
And from now on.. pages of people say Plz don't post good luck and/or plz don't offer as a Alfa/beta tester!

Plz everybody let people express their feelings now and everywhere :highfive:
[Sony Smartwatch 3] eXPerience1983:
Yes!!!!!

Enviado desde mi SM-G935F mediante Tapatalk
[Sony Smartwatch 3] MishaalRahman:
When this first build is released, please post picture proof! The XDA Portal team is anxiously waiting to see the fruits of this work :)
[Sony Smartwatch 3] PDesire:
So first build didn't suceeded yet (wasn't bootable), it was predictable but the kernel works (using stock kernel btw)

But no worries, development isnt abadoned, i will work for it that all works (maybe ive forgot a blob or something)

Stay tuned

Your PDesire

(P.S. My Device tree you find now on OP)
[Sony Smartwatch 3] RJASSI21:
I herd that the reason we didnt get AW2.0 officially is due to limited connectivity. I do notice that we have bluetooth 4.0 and those that are getting AW2.0 have 4.1 does this even matter? Just something i thought id mention.
[Sony Smartwatch 3] darren1:
Have you made allowances for the square screen? XDA member ab123321 commented he had to modify frameworks-res.apk when he ported a bulid from LG Watch R to the original LG Watch. Here is his post.

https://xdaforums.com/showpost.php?p=70998801&postcount=182
[Sony Smartwatch 3] Az Biker:
* * * REMINDER * * *

Let's NOT make this a "I wanna be an alpha tester" and "I can't wait for the buttery goodness of this port" thread.

IF the OP needs testers, TRUST me they will ASK.

EVERYONE is excited about the potential development, we don't need 100 comments filling the universe saying that you're excited.

IF you have something substantive or constructive to ADD to the conversation, then add it. But PICK ME and I CAN'T WAIT, are NOT adding anything to the thread but clutter.

Thanks for your cooperation.
[Sony Smartwatch 3] PDesire:
Yes I've done that, it's also added into device tree

Your PDesire
[Sony Smartwatch 3] mparus:
PDesire

vendor repo?
[Sony Smartwatch 3] PDesire:
GUYS BEST NEWS ARE OUT FOR OUR PROJECT

We can compile now FULL ANDROID WEAR 2.0 for SW3 because GOOGLE RELEASED THE SOURCE

So that means:

Fully PlayStore function

If we can hack SafetyNet then Android Pay too

Latest Security Patches

AND ALL GOODIES FROM THE OFFICIAL ANDROID WEAR

Here you can see what i mean:

https://android.googlesource.com/platform/build/+/android-wear-7.1.1_r1

Repo gets synced soon, now we can compile it, we have the blobs and the device tree ready

Your PDesire
[Sony Smartwatch 3] franjocc:
[emoji106]

Enviado desde mi iPhone utilizando Tapatalk
[Sony Smartwatch 3] matejdro:
Isn't that just partial source of the Android OS base, not the Wear additions?
[Sony Smartwatch 3] PDesire:
It's the whole one, and things like Gapps ever needs to be ported, with that we can build AW 2.0 for now

The link i've shown you right now is just a part of the whole source, but if you download it whole source will appear

Your PDesire
[Sony Smartwatch 3] dverbame:
now

can you give an eta for our aw2 ? :(

can't wait more

and thanks for your hard work

Moderator Edit:

Please avoid asking for ETAs - other's work is provided in their own time and bugging them isn't helping anyone.
[Sony Smartwatch 3] mparus:
from you get

vendor/sony/tetra/*

vendor/qcom/proprietary/common/build/*

files?
[Sony Smartwatch 3] Semero:
I can't thank you enough for saving my watch [MENTION=6126659]PDesire[/MENTION] !

I don't want to clutter this page, but please don't forget to make a donation button when you release it. I don't have money to buy a new watch but I have some to donate to you for this amazing work!
[Sony Smartwatch 3] daveyp187:
will this require a rooted phone?
[Sony Smartwatch 3] matejdro:
No, only unlocked bootloader and TWRP on the watch.
[Sony Smartwatch 3] daveyp187:
OOOH, nice. good luck guys!
[Sony Smartwatch 3] TwoJs:
Hi, will there be full instructions on how to do this, all new to this ? Many thanks
[Sony Smartwatch 3] matejdro:
Calm down, port is not even booting yet.
[Sony Smartwatch 3] Dndcruz:
I don't think so , but I guess you need to have root access to the watch to install aw2.0
[Sony Smartwatch 3] TwoJs:
Appreciate its far from straightforward atm, was just asking the question that's all ? Cheers
[Sony Smartwatch 3] matejdro:
We don't know yet, but I supposed it will be just flashable zip, if it works.
[Sony Smartwatch 3] BigD18t:
Watching this closely hoping it does work as i can then buy one to replace my Moto 360 which is barley working now.
[Sony Smartwatch 3] kiki059:
Its possible to back recovery stock and lock again the bootloader for warranty?
[Sony Smartwatch 3] crunchybutternut:
Yes, just use the Sony PC Companion, and reinstall the OS.

That should relock the bootloader, but if not, you can run this command through Fastboot:

fastboot oem lock
[Sony Smartwatch 3] drakonizer:
I hate to be the bringer of bad news but [MENTION=6126659]PDesire[/MENTION], I recently synced the wear-7.1.1 release and attempted a build. This is what I got:

============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=6.0.1
TARGET_PRODUCT=aosp_tetra
TARGET_BUILD_VARIANT=eng
TARGET_BUILD_TYPE=release
TARGET_BUILD_APPS=
TARGET_ARCH=arm
TARGET_ARCH_VARIANT=armv7-a-neon
TARGET_CPU_VARIANT=cortex-a7
TARGET_2ND_ARCH=
TARGET_2ND_ARCH_VARIANT=
TARGET_2ND_CPU_VARIANT=
HOST_ARCH=x86_64
HOST_2ND_ARCH=x86
HOST_OS=linux
HOST_OS_EXTRA=Linux-4.4.0-64-generic-x86_64-with-Ubuntu-16.04-xenial
HOST_CROSS_OS=windows
HOST_CROSS_ARCH=x86
HOST_CROSS_2ND_ARCH=x86_64
HOST_BUILD_TYPE=release
BUILD_ID=MASTER
OUT_DIR=out
============================================
[Sony Smartwatch 3] PDesire:
What da actual.... Okay... Wait that can't be or at least it does not make sense at all, wait, do you know what I'm thinking now? It could be possible that Google used for any tag upto 7.1.1 these build configs.

Already had on Android Wear 2.0 Preview 2 and on compilation it also said deprecated API used (23 and not 24).

Even though it was funny on this version ART had JIT and Jack which are two Nougat features definitely.

Will do some more research when all is synced

Your PDesire
[Sony Smartwatch 3] PDesire:
Luckily you asked this question.

On the last days I found something out on our SmartWatch 3 which is known on Sony devices normally: THE TA PARTITION

On Sony devices it includes DRM keys and features and so on but on SW3 not I think as I have all features

Maybe Sony added it as UB indicator?

So I think more that even after relock the warranty is dead

Your PDesire
[Sony Smartwatch 3] kiki059:
**** ... Sony :@, on Z3 was possible maybe with too sw3
[Sony Smartwatch 3] drakonizer:
A couple of points I noted after the build:

1) Boot.img is not compiled. Maybe something is wrong in the device tree, or we need dependencies.

2) After compiling and flashing (I replaced the ramdisk of the stock kernel with the compiled ramdisk), the device is stuck at the kernel logo (SmartWatch 3 logo)
[Sony Smartwatch 3] mparus:
ADB not working? No logcat or dmesg?
[Sony Smartwatch 3] drakonizer:
The kernel doesn't boot past the bootlogo. So no adb.

ADB does not work in recovery. So I couldn't pull the last_kmsg.
[Sony Smartwatch 3] NicoGig:
It doesn't even boot yet, have a little patience! I'm sure the OP will give us the instructions alongside the actual ROM when it's ready.
[Sony Smartwatch 3] alex6600:
Are you sure about correct kernel_offset, ramdisk_offset and tags_offset addresses?
[Sony Smartwatch 3] drakonizer:
I used the default values from the stock kernel.

EDIT: Do you use a mkbootimg script while building your kernel?
[Sony Smartwatch 3] alex6600:
These addresses are changed when switching after moving from android 5 to android 6.

Perhaps this time the address has changed again?
[Sony Smartwatch 3] mparus:
I have this problem with config

TARGET_KERNEL_SOURCE := kernel/sony/tetra

TARGET_KERNEL_CONFIG := tetra_defconfig

error:

Starting build with ninja

ninja: Entering directory `.'

ninja: error: 'out/target/product/tetra/kernel', needed by 'out/target/product/tetra/boot.img', missing and no known rule to make it
[Sony Smartwatch 3] drakonizer:
Did you set BUILD_KERNEL: true ?
[Sony Smartwatch 3] mparus:
sorry, for me not working

I try compile kernel in kernel folder and use TARGET_PREBUILT_KERNEL parameter
[Sony Smartwatch 3] drakonizer:
I used a prebuilt kernel and placed it in the /out directory to successfully get a compiled boot.img. If anyone wants it, I have attached it to the post.
[Sony Smartwatch 3] alex6600:
Base address are differ from stock MM kernel...

Offsets are the same.

PS. Where did you get this ramdisk? File init.tetra.pwr.rc don't included at all.

And I can't find some stuffs from init.common.rc.
[Sony Smartwatch 3] drakonizer:
I used OP's device tree and AW2.0 sources. Obviously the device tree needs work (mostly BoardConfig.mk because inline kernel building is not working at all).
[Sony Smartwatch 3] Az Biker:
* * * Thread Cleaned * * *

There is NO need to ask:

- is this port is ready yet?

- what will the procedure be when it is ready?

- how close is it to being ready?

- will this work with XYZ app?

WHEN it is ready, the OP will no doubt let EVERYONE in the thread know it is ready, and HOW to use it.

This is the SECOND visit in 3 days I've made to keep this thread on track (see post #51).

Please stop cluttering the thread with useless comments.

If a third visit is needed, it will not go well for those ignoring the previous two warnings.

Your cooperation is appreciated.
[Sony Smartwatch 3] Mikegrmn:
Oh my God. It's starting again. Can we keep this thread on topic?

I also just bought this watch a month ago and I don't care about the warranty. I'd rather have this watch with the latest firmware. If you care about it, keep an eye on this thread and see how things go once the firmware is available. Then decide if this is too exciting or risky for you or if you think it's safe enough. So far there's no working aw2 yet.

Hey, this just crossed my mind:

I could create a new thread accompanying this one for all the talk that doesn´t belong here. We could discuss warranty issues, ***** about why Sony didn´t release the firmware it self, speculate about ETA...

If any of the active developers want´s to see what´s going on there, he/she can drop by and comment, if not, all that off topic talk doesn´t interfere here. Do you want me to create a new thread? Anyone else wants to provide one?

Just an idea. Could be fun, too, but would leave this thread uncluttered for on topic issues.

Since I mentioned the idea above, I have created the companion thread here: https://xdaforums.com/smartwatch-3/general/companion-thread-android-wear-2-0-t3565693 [MENTION=6126659]PDesire[/MENTION]: maybe it would be a good idea to post this link on your first post so that new people to the thread see it.

I hope this helps keeping this thread clean(er)
[Sony Smartwatch 3] Divine_Madcat:
Thread has been cleaned again.

Guys, this thread is ONLY for discussion of the progress of the port. Not for warranty issues, or anything else. Please keep on topic..
[Sony Smartwatch 3] PDesire:
So current progress:

Blobs finished
Device Tree needs to be rebased and it will be re-released under GPLv3 license
Creating builds which are able to boot

Future

If all has been finished: RELEASE WHOLE SOURCE CODE (That means kernel and whole Android Source

Your PDesire
[Sony Smartwatch 3] xpatze85x:
cool, sounds great! any info on how long it could take to have a flashable version of your rom?

Moderator Edit:

Don't ask for ETAs... apart from being "rude", Developers provide their work freely and in their OWN TIME. Please respect that...
[Sony Smartwatch 3] Supercharlie25:
Thank you for all your work! Really thankful! Cheer on!

;)
[Sony Smartwatch 3] oasisfeng:
Just curious, suppose all goes well and we get this community ROM running on our SW3, is it possible to tweak the behavior of the transflective LCD of SW3? Is the LCD control implemented in the open-source part or the closed-source proprietary part?

For example, I've always been wishing the Theater Mode on SW3 could keep the LCD in reflective mode without back-lit, instead of nothing to show like other Android Wear watches.
[Sony Smartwatch 3] crunchybutternut:
Doesn't Always On mode support this already, if the watchface has that type of view?
[Sony Smartwatch 3] oasisfeng:
No, it turns on the back-light every time it wakes (either by wrist gesture or by touch). The best part of the transflective LCD on SW3 is that it could be read easily without back-light in bright light.

If the back-light can be turned off during interaction, the battery life could be even better.
[Sony Smartwatch 3] LenAsh:
Thread cleaned of OT detritus again...
[Sony Smartwatch 3] LenAsh:
Thread closed for a "period of reflection" for those intent on using the thread as a Q and A thread. As per my above post.
[8125, K-JAM, P4300, MDA Vario General] coreyl:
ive tried 3 different roms imma noob to this and cant remember names but the general rom loader just stops working every time, anyone know why?
[8125, K-JAM, P4300, MDA Vario General] coreyl:
here is a pic

lol my desktop is so big you will have to un zip it, i even have daul screen setup XD

also, u get to see my CPU OCd mwahahah

anyway you can see all of the different versions laying aroud my desktop that i tried and wouldnt work
[Mate 8 Q&A, Help & Troubleshooting] 3zoz:
hello everyone

i have problem with mate 8 NXT-L29C185B200

I received update from Huawei updates (size 2.23 GB)

but after download then install show message

"Software install failed!

the update package does not exist

please download the package again "

i tried format data and install by dload method but doesn't work :(

and i tried download update more than once but same problem

note: I was unlock bootloader and install root but now i deleted root and lock bootloader by SKRtool , Is this relationship?
[Mate 8 Q&A, Help & Troubleshooting] p51d007:
Welcome to the club...
[Mate 8 Q&A, Help & Troubleshooting] 3zoz:
thank you :o
[Mate 8 Q&A, Help & Troubleshooting] letschky:
Install your original Firmware,B200 again via Dload and Factory Reset.The Ota is coming,download and install.This works for me.
[Mate 8 Q&A, Help & Troubleshooting] 3zoz:
thank you

but I'm already on the updated B200

Do I install it again?
[Mate 8 Q&A, Help & Troubleshooting] letschky:
Yes install again without root and Trwp.

Complete Stock.Then the Ota Update.

Later you can install Twrp and root on Nougat
[Mate 8 Q&A, Help & Troubleshooting] 3zoz:
Thank you so much

I did not expect this to be the right solution

The problem has been resolved Thanks again:good::victory:
[Mate 8 Q&A, Help & Troubleshooting] letschky:
No Problem,root is not complete delete in your situation and this is the Problem with failed Ota,with installing the original Firmware and Factory Reset is root complete delete and the Ota is working.
[Mate 8 Q&A, Help & Troubleshooting] 3zoz:
i understand , i think factory reset is enough to complete delete root so i didn't try install firmware

thank you bro:good: