yashsingh1/xdaforums huggingface dataset:
[Sony Smartwatch 3] KittenSauce:
I know; I was referring to the kernel when I said "Android Wear". Though of course there is no way you would have known this without me making it clear just now (that was a mistake on my part).

I was unaware that the Smartwatch 3's kernel was already available in Google's repository. I'm guessing the problem is we don't have Sony's/Broadcom's/Qualcomm's(?) proprietary blobs, which they aren't legally obligated to provide at all.
[Sony Smartwatch 3] drakonizer:
Indeed. We also do not have any reference devices to look at, because BCM chips are hugely unpopular. In fact, ours is probably the bcm device with the newest official Android version (MM).
[Sony Smartwatch 3] PDesire:
duplicated post, ffs xda
[Sony Smartwatch 3] PDesire:
Hey guys, we are back in the game, I've got my SW3 repaired in Louis Rossmann way.

I am free if you guys need a device to test, I have released anything you need for the system already on 2017, but the SW3 kernel has to be merged with the latest android-3.10. That should be anything. I can help you a bit, but due limited time I can contribute just very slowly to it, so don't get any hope or something.

I would be happy if the guys from LineageOS would look on it, maybe it's a opportunity to do their first Android Wear ROM.

Anyway... I am looking on running Fuchsia on it, yes I probably became insane but it's fun, but I don't have any good progress yet

Your PDesire
[Sony Smartwatch 3] Charmandrigo:
Well it's nice that the new Wearos layout doesn't really require newer android versions and can be installed in any nougat smartwatch. I still have my SW3 here :b
[Sony Smartwatch 3] Toloxxxx:
The port of AW2.0 is dead?

I know is 2019, but can i know if the port continues or is dead like the watch?

Because i would like to use my watch.
[Sony Smartwatch 3] FLY_star:
Could this help somehow?

https://developer.sony.com/file/dow...e-for-smartwatch-3-m1d64t-android-wear-6-0-1/
[Sony Smartwatch 3] KittenSauce:
That's the u-boot (bootloader) source code for the watch. I, personally, have no idea how useful it is in this situation.

Semi-unrelated: it looks like someone has recently been working on getting postmarketOS running on our smartwatch here.
[Sony Smartwatch 3] drakonizer:
Unsure of how legit that is because it seems like he's got our chipset wrong (SD400 instead of the obscure bcm that we actually have).
[Sony Smartwatch 3] KittenSauce:
It seems they only have the chipset wrong on the wiki page, as this file seems to refer to "bcm" in some medium. The change to the wiki page concerning the CPU wasn't made by whoever was working on postmarketOS for our watch, either, for what it's worth.
[Sony Smartwatch 3] metahex12:
I am trying to build but it gives this:
[Sony Smartwatch 3] ramiabouzahra:
Check the FAILED line. rm fails because the thing it's trying to remove is a directory and the command is only using -f but what it needs is to remove recursively with -rf. Therefore, try:

sudo rm -rf out/target/product/tetra/system/bin

Because it failed to do so, ninja then prevents future errors and stops the build.
[Sony Smartwatch 3] metahex12:
You are thinking that I didn't try?
[Sony Smartwatch 3] ramiabouzahra:
Yep. You never mentioned trying anywhere and there are plenty of people who are new to it. Plus, if someone came from a Google search they'd find something useful.
[Sony Smartwatch 3] metahex12:
I fixed this error by changing build-tetra.ninja
[Sony Smartwatch 3] metahex12:
Another error :(
[Sony Smartwatch 3] KingKRoBot:
Hey guys, are there any news?

Love my SW3 but I want use Wear 2 :/
[Sony Smartwatch 3] anjo88:
Me too no luck yet

Enviado do meu ONEPLUS A5000 através do Tapatalk
[Sony Smartwatch 3] Bartx96:
Any News ? ?
[Sony Smartwatch 3] frangarcj:
I'm interested in re-taking this.

Anyone knows about current status and how to build it?

Thanks
[Sony Smartwatch 3] stormPremier:
See the original OP here: https://xdaforums.com/smartwatch/smartwatch-3/android-wear-2-0-smartwatch-3-port-t3562129

There's link to sources and stuff, the build toolchain used is probably the one from Android SDK but I never tried building it...
[Sony Smartwatch 3] hihiman1:
but these links are not valid anymore - Error 404
[Sony Smartwatch 3] mirhl:
https://github.com/PDesire?tab=repositories&q=tetra
[Sony Smartwatch 3] jomarex88:
Its that working? Any tutorials?
[Sony Smartwatch 3] metahex12:
I am trying to port it. I have compiled the ROM but couldn't pass the SmartWatch 3 logo.
[Sony Smartwatch 3] metahex12:
I have managed to get over SmartWatch 3 logo. Now I am at bootloop with PDesire repos. There is no ADB. Just boot animation. I am open for a help.

Kernel is stock based. I have edited the default.prop and enabled some ADB things. Tried with selinux enforcing and permissive. Even though it is not working.
[Sony Smartwatch 3] stormPremier:
I don't know much about kernel development, did you retrieve dmesg logs ? Without adb I suppose not ... Try to post as much info as you can, including how did you compile etc. So we can work together :)

Envoyé de mon ONEPLUS A6003 en utilisant Tapatalk
[Sony Smartwatch 3] metahex12:
I have synced the android-7.1.2 branch then compiled with PDesire repos. Also I have compiled stock kernel without configurations. Just modified the default.prop for trying to enable the adb (like ro.adb.secure=1 etc.)

Btw tried with stock prebuilt kernel too. Same result.

I am getting dmesg with TWRP but probably these logs are not what we need. Probably they are the logs of TWRP.

Can't retrieve any log at bootloop.
[Sony Smartwatch 3] metahex12:
Some logs

I took some logs from kernel with a patcher.
[Sony Smartwatch 3] metahex12:
Good news. I have managed to get ADB working.

---------- Post added 28th October 2020 at 12:15 AM ---------- Previous post was 27th October 2020 at 11:50 PM ----------

Probably this is the error that main reason of boot loop. The Android couldn't odex or deodex apps.

10-27 23:43:38.934 651 651 E art : Could not create image space with image file '/system/framework/boot.art'. Attempting to fall back to imageless running. Error was: Failed to generate image '/data/dalvik-cache/arm/system@framework@boot.art': Failed execv(/system/bin/dex2oat --image=/data/dalvik-cache/arm/system@framework@boot.art --dex-file=/system/framework/core-libart.jar --dex-file=/system/framework/conscrypt.jar --dex-file=/system/framework/okhttp.jar --dex-file=/system/framework/core-junit.jar --dex-file=/system/framework/bouncycastle.jar --dex-file=/system/framework/ext.jar --dex-file=/system/framework/framework.jar --dex-file=/system/framework/telephony-common.jar --dex-file=/system/framework/voip-common.jar --dex-file=/system/framework/ims-common.jar --dex-file=/system/framework/apache-xml.jar --dex-file=/system/framework/nullwebview.jar --dex-file=/system/framework/org.apache.http.legacy.boot.jar --oat-file=/data/dalvik-cache/arm/system@framework@boot.oat --instruction-set=arm --instruction-set-features=smp,div,atomic_ldrd_strd --b

---------- Post added at 12:42 AM ---------- Previous post was at 12:15 AM ----------

Other logs:

https://paste.ubuntu.com/p/GVGPc8C9hz/
[Sony Smartwatch 3] metahex12:
Can someone help me? [MENTION=5258151]drakonizer[/MENTION]
[Sony Smartwatch 3] stormPremier:
It may be related to this ?

https://stackoverflow.com/questions...eate-image-space-with-image-file-system-frame ?

------

Based on the first `dex2oat` failure from logs:

May be more related to this

https://github.com/JesusFreke/smali/issues/498

[MENTION=5905748]metahex12[/MENTION] ?
[Sony Smartwatch 3] metahex12:
Yes, I tried to create the boot.art file from boot.oat at my computer and it returned same error. dex2oat needs a boot class path which is we don't have(?) or know. I have looked into URLs but couldn't find a solution.

---------- Post added at 10:34 PM ---------- Previous post was at 10:27 PM ----------

Also looked into:

https://source.android.com/devices/tech/dalvik/configure

---------- Post added at 10:45 PM ---------- Previous post was at 10:34 PM ----------

Hmm, realized something. dex2oat looks for .art before the first error. So yes, the ROM probably doesn't generate the *******boot.art file.

Then dex2oat returns this error.
[Sony Smartwatch 3] Bartx96:
[MENTION=5905748]metahex12[/MENTION] We belive you ? You port these rom for us we need these rom
[Sony Smartwatch 3] Beeko:
Do you have any sources I can download and see what you're working with. Just found my old watch and wouldn't mind giving a crack at it. Haven't developed since my kid was born but I can see if I can help.
[Sony Smartwatch 3] metahex12:
Sync the Android 7.1.2 source code.

Then use these repos:

https://github.com/PDesire/android_device_PDesire_tetra

https://github.com/PDesire/android_vendor_PDesire_tetra

https://github.com/PDesire/android_device_google_clockwork

https://github.com/PDesire/android_vendor_clockwork
[Sony Smartwatch 3] Bumblecito:
@Beeko please don't give up guys!
[Sony Smartwatch 3] PDesire:
Hi Guys, I'm there again.

Well, it's a long time I've talked to this thread but I see still some activity about this topic, which is honestly very great to see !

Anyway: As I'm not an owner of a functioning SW3 anymore (I've bricked it with this project haha) I would provide support for people who gonna try to build up the final ROM :D

Please don't begin to flood my Telegram with ETAs or something about this project anymore. Just if you need build support, I'm ready to go. I can't contribute to it pretty much anymore because I'm not the owner of this device anymore (sounds simple, right ?)

Your PDesire
[Sony Smartwatch 3] Sakuu:
Wew heard about this ROM a few years ago was pretty dead for a while huh? Just dusted off my old SW3 someone pls port AW2 already bcs its severly severly outdated : P
[Sony Smartwatch 3] FurFur_:
Hello there! And welcome back to a old forum :D

We had a few volunteers try to compile Wear OS 2 from your sources but we had a lot of problems. Was something beoken / not fully done from your source?

Thanks for giving us your help ! :)
[Sony Smartwatch 3] Beeko:
What did you do to brick it? How badly is it bricked?
[Sony Smartwatch 3] PDesire:
Oh yes, Kernel compilation is broken, using the Stock kernel at least shows up the Bootanim but SELinux is ****ed. That's what I know.
[Sony Smartwatch 3] PDesire:
Uhm, little story time:

Well, there was me, trying to setup anything again for this project, and my watch went into bootloop for a while. It seems like Broadcom has NEVER implemented some Thermal protections. So after all this watch turned off, didn't turn on, and after opening the case, the Chip was just desoldered (perhaps the SoC) so it's absolutely hard bricked.
[Sony Smartwatch 3] Beeko:
Damn, that's pretty wild that it had gotten that hot. I've had the watch get really hot on me too. Guess I know where I need to start now :( I'll see if I can remember any of the stuff about kernels I used to do.
[Sony Smartwatch 3] FurFur_:
I see :) Any way we can actually tackle the kernel?

I'd like to get into this topic but I am .. well I don't know much about the topic
[Sony Smartwatch 3] i5510:
At that time years ago, what did you fail at? :unsure:

Do you still believe that it can be done?
[Sony Smartwatch 3] cyberto:
Oh it would be great if someone would pick up the development where PDesire left. Thanks fo the work so far
[Sony Smartwatch 3] Beeko:
I been working on getting the kernel to compile, no luck yet.
[Sony Smartwatch 3] elmaxsabe:
Any updates?
[Sony Smartwatch 3] StillNoUsername:
Aw man its 2023 and I still come around from time to time to check if there is any improvement. Kinda sucks but you know, its understandable
[Sony Smartwatch 3] emreharbutoglu:
Hi, I have started to work on this as a hobbie. I have fetched the aosp sources and compiled with @PDesire repositories. Tried with the stock kernel. Resulted with a bootloop but I will try with my own kernel.
[Sony Smartwatch 3] emreharbutoglu:
I have dmesg and adb

View attachment 6049955
[Sony Smartwatch 3] mirhl:
If you are serious about it, you may want to check around these (at least PD's kernel is outdated)

meta-smartwatch/meta-tetra/recipes-kernel/linux/linux-tetra at master · AsteroidOS/meta-smartwatch

OpenEmbedded layer that provides support for various smartwatches. - AsteroidOS/meta-smartwatch

github.com

Adding Sony SmartWatch 3 - SWR50 and guidelines · Issue #1 · OpenWatchProject/manifest

Are there any guideline in order to add a new target and build it? I'm interested on adding swr50 because Android Wear 1.5 support is almost removed from the platform. Also what's the actual status...

github.com

Broadcom Kona - postmarketOS Wiki

wiki.postmarketos.org
[Sony Smartwatch 3] emreharbutoglu:
Hmm, understood the OpenWatch discussion and I will take a look about Galaxy Grand Neo Android 7 kernel but what about the AsteroidOS? Are their patches related with Android 7?
[Sony Smartwatch 3] emreharbutoglu:
@alex6600 can you recommend a boot.img unpack/repack tool for changing ramdisk and zimage-dtb of your boot.img?
[Sony Smartwatch 3] boody shaban:
greetings

any news?
[Sony Smartwatch 3] emreharbutoglu:
When I compile and pack my own kernel, device is booting to the TWRP recovery, even not going to enter bootloop. Probably it is because of boot.img packing tools. I need help from @alex6600 about it.
[Sony Smartwatch 3] Mikegrmn:
Yeah, I've read about the tasker plugins and such. Root wouldn't be a problem. If I get a new phone, usually first thing after unpacking is rooting if possible. I didn't do that yet with my watch as I didn't see a use case (except for vibrations) and now I'm waiting for a final AW2 or not. Once it's clear we won't get it, I'll root. If AW2 comes, I'll first see how it is stock. But currently, these two threads seem like dead to me.

A time for reflection on the dev thread was ok, but it's been what? 3 days already? I'm done reflecting ;)

But then, I didn't comment either. Just patiently waiting and checking the thread whenever there was new post (mostly with information I didn't need).
[Sony Smartwatch 3] xpatze85x:
does someone know if the developer of the aw 2.0 version of our watch ( [MENTION=6126659]PDesire[/MENTION] ) is able to post his updtes in the other blocked threat or if he's been "banned" from posting as well? XD

would be nice to know if he's made som eprogress, if its really gonna happen ecc.
[Sony Smartwatch 3] PDesire:
I can't post in time on other thread too but that's not a real problem, suddenly because of too much spam for ETA and OT this was a temporary solution to solve that problem a bad give you soon a second chance in hope you guys don't do it again.

Current progress:

Renewing device tree due some bugs

This will be also take some time because I have to write now important exams in Latin, Social Studies and Chemistry :D

Btw if some have seen already, some SmartWatch Newspaper already wrote article about us, first thanks to them for that and my target is to get AW 2.0 on our SmartWatches before the other SmartWatches get.

So Sony: where are your "Technical Issues" you've talked as an excuse that we don't get AW 2.0?

Your PDesire
[Sony Smartwatch 3] Mikegrmn:
PDesire posted in this thread once also. So he's aware.

I think he would have posted if he had had a break through.

But maybe he was annoyed by what was going on and decided to keep AW2 to him self ;)
[Sony Smartwatch 3] xpatze85x:
haha great! thanks a lot man :D and good luck for your exams!
[Sony Smartwatch 3] NicoGig:
You said "due to some bugs", but are those bugs affecting compilation or did you manage to get a bootable build? (Just out of pure curiosity) Good luck with your exams! (OT, but I've also got a Latin exam I'm studying for, haha)
[Sony Smartwatch 3] PDesire:
Bad message: No there's not a bootable build yet

Good message: It's caused by the buggy device tree so it's fixable

Even also good luck for you and thanks :D

Your PDesire
[Sony Smartwatch 3] gabodo:
hello,

view this:

bi t.ly /2n 1JwLO

bi t.ly /2m 1DgyI (PLEASE REMOVE SPACES OF URL)
[Sony Smartwatch 3] xpatze85x:
unfortunately the petitions wont change their (sony + google) mind :P

let's wait for [MENTION=6126659]PDesire[/MENTION] and maybe some other developers to bring us the update
[Sony Smartwatch 3] Glirhuin:
Thank you for your efforts and good luck for your exams.

If you need some help with Biology or something like this (I am not too good in Chemistry :rolleyes:), give me a call :D
[Sony Smartwatch 3] kylemsguy:
I was just looking at the commit that was linked in the other thread, and I noticed that the commit for that tag for platform/frameworks/base is from July 2016, while the tag for the full Android 7.1.1r1 was from October. Are you sure this is the full source? You might be better off building from a full Android Nougat tag than from the android-wear-7.1.1_r1 tag.
[Sony Smartwatch 3] PDesire:
That's what I have seen too, i am trying to merge it together with the Full AOSP tags and if that even don't work then i will try to port the framework

The essential parts are even though released Open Source

Your PDesire
[Sony Smartwatch 3] xpatze85x:
[MENTION=6126659]PDesire[/MENTION] did you made any progress during the last few days or are you still busy with school stuff?

are there any other developers supporting you?
[Sony Smartwatch 3] fonix232:
The problem might be that our devices need patches applied to the framework, and the framework for the Wear branch is not released (if I'm not wrong, it just pulls in the regular AOSP framework, while we'd only need a limited set of that). Porting from other devices might be possible, but it'll need a lot of work.

Sony has been very helpful of their OSS community, but I'm pretty sure with the SW3 they are very tied down by an NDA and various other license agreements from Google. A prime example why iron-fisted closed-sourcedness is bad on a generally open OS.
[Sony Smartwatch 3] NotTayyeb:
Just wanna start by saying its pretty awesome what you devs are doing, and I hope it pans out well... Just a question though - how will the unofficial port work though? As in would it require to be paired with a rooted phone and will the phone be required to be on a certain version of android?

Cheers
[Sony Smartwatch 3] RJASSI21:
This has already been answered. Im sure they said that you dont need a rooted phone and it should work on all versions of Android that support the wear app currently. If you want to make sure of this check the other thread that got closed. I can definitely assure that it should work with all currently supported android versions of Android wear app.
[Sony Smartwatch 3] lekofraggle:
What happens is, you will need to get ADB and fastboot drivers running on your computer. You can connect to it through USB directly or through developer options and Bluetooth with your phone (the latter is not recommended, but for other devices the only option).

Then, you root your watch and load the custom...

- Bootloader (this is the risky part as if this fails half way through you brick your watch),

-Firmware, and

-OS

When you boot up your watch, you connect to the Android Wear application just like normal.

You will need to wipe your watch in the process of installing the OS.

Then you would be good to go. There are instructions in the dev section for installing other customized ROMS, and this is no different.

As for versions of the Android Wear host app, yes to take advantage of AW 2.0 features, you need a certain version (I am not sure which), but the newest version available in the play store will work.

I think your phone needs 4.4 or newer to run AW 2.0 compatible apps, but am not positive about that.

Remember, you may not need direct connection between your phone and watch on 2.0, so depending on what you use it for, an older phone may be okay. If your phone is too old, what you may find is that apps (including watch faces) that require the connection between your watch and your phone may not work as expected. Also, we may need to implement modifications to allow the play store to work directly on the watch. There are people in the community, me included that could help more with that than the compiling of source for AW 2.0.

Again, if you want to know more about the process, check out the development thread and he process for installing those kids as it should be similar in many cases.

~Leko
[Sony Smartwatch 3] :
Guys, I bought today a smartwatch 3 only because this project exist :D . I really don't know anything about android wear (I'm just a flashaholic :D ) but if I can help in any way please let me know!
[Sony Smartwatch 3] drakonizer:
Wow that was an impulsive buy. Not to burst your bubble, but I wouldn't have my hopes too high for this project.

Android Wear is

closed source

(the non GPL parts at least), and porting the compiled framework from another watch is extremely hard, if not impossible.

I don't intend to offend anyone, but I think this "project" was announced too soon. We do not have anything to say/show that this port is indeed possible. While all was well so far, if people are spending money with hope on this (nearly impossible) project, I think that's where I'd draw the line. Best case scenario, we *may* get full AOSP/CM on our watches with this OSS project and a working device tree, which is pretty useless in my opinion.
[Sony Smartwatch 3] :
Well, actually it was also because I bought it for 30€ , but it was mainly for this project :3 . All in all I want to have faith, and if I can help somehow (upload thing, test, etc.) I'm available :D
[Sony Smartwatch 3] elmaxsabe:
I can send you mine if you want
[Sony Smartwatch 3] xpatze85x:
sorry for my stupid question :D

on the github pages for the prebuilds and blobs and on the page for the device tree it says that the last commit has been done 27 days ago ... does that mean that there hasn't been any work on the release since nearly 1 month?

pages:

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

https://github.com/Sony-SmartWatch-3-OSS/android_device_tree_tetra_eng_prerelease
[Sony Smartwatch 3] matejdro:
Actually, only Google's additions on top are closed source. Similar to how Gapps work on phone releases, you don't get their source, but you can still port the underlying Android to other devices and then install Gapps on top of it. Of course in this case, the watch would be pretty much useless without Gapps (there are no open source alternatives), but Android below is still Android.

I agree that this was pretty impulse buy though. We don't have ANY indication that this project will ever succeed or even be released at all (original developer stopped posting here completely). I wouldn't buy a SW3 just for that, especially now when it has lost official software support.
[Sony Smartwatch 3] Mikegrmn:
I was checking this thread once a day, but I kinda gave up. Still looking every now and then though.

If AW2 comes, fine. If it doesn't, my watch is doing what I expect it to do. I bought it about 2 months back, fully knowing that AW2 most likely wouldn't get pushed officialy.

What I'd be eager about would be another watch having the crown and 2 buttons. I really miss my Pebble's buttons. Other than that, I wouldn't think AW2 brings too much functionality (unless you planned on paying with NFC, which I don't even plan to). What I really like about the sony is its 2 day always screen on battery life and I recently forgot to turn on the display in the morning and stuck with it, and I can use it now for about 4 days. Mainly alarms, 3 times a day, some email notifications and reminders.