Comments (18)
It looks like we now have dedicated separate issues for everything mentioned in this issue.
Once we have clarification on what "after few times when watch goes to idle mode and tried to wake the screen with tilt or power button it doesn't wake up but it's running as dark light appears" means we can close this issue.
Always-on-Display is now also listed in this issue: #26
Tilt-to-Wake has now also been fixed as of AsteroidOS/meta-mtk6580-hybris@7ca4e66.
from meta-smartwatch.
I had a look into this some time ago.
For Always-on-Display we depend on a backend function from Android. This unfortunately does not support the Always-on-Display functionality.
When it comes to Tilt-to-Wake. Looking again at AsteroidOS/meta-mtk6580-hybris#13, I can see different sensors that may be responsible for Tilt-to-Wake. I can build a different image that uses one of those sensors as input for the current Tilt-to-Wake implementation. I should mention that I can't test this, because I don't own a mtk6580 based watch.
Meanwhile, can you send logs of your current stock rom? I'm mainly interested in the (full) dmesg
and logcat
output.
from meta-smartwatch.
Sir I will test it on my DiggroDI01. Sir as I mentioned reflashed stock one but I will flash asteroidos again this weekend then I will send you log file.
from meta-smartwatch.
I actually would like the log files from your stock rom π
Also, can you confirm that the stock roms has Tilt-to-Wake working?
from meta-smartwatch.
Yes sir on stock tilt to wake working fine. That's why returned to stock.cause no AOD on stock but need battery as well so tilt to wake works.sir should I use app to get log or please suggest me.
from meta-smartwatch.
Great!
You can use adb
for this, you can install it from here: http://download.clockworkmod.com/test/UniversalAdbDriverSetup.msi.
Then you'll need to enable adb debugging on the watch, this is an option in the developer options.
Once enabled you should be able to open a shell connection to the watch using the command: adb shell
in the (assuming) Windows command prompt.
From there you'll be able to execute the dmesg
and logcat
commands.
from meta-smartwatch.
Sir found this app on play store I have rooted my watch should I send you only kernel log or all log?
from meta-smartwatch.
It looks like these contain the dmesg
log and logcat
log. So yes, you can send me all of it π
from meta-smartwatch.
I went ahead and build two images based on the test_sensors
output from AsteroidOS/meta-mtk6580-hybris#13.
Basically the tilt to wake sensor used within sensorfw
now is either one of the following:
=== Sensor 7 ==
Name: BOSCH Tilt Detector Sensor
Vendor: Bosch Sensortec GmbH
Version: 0x1
Handle: 0x1c46
Type: 22
maxRange: 1
resolution: 1
power: 0 mA
minDelay: 0
=== Sensor 8 ==
Name: BOSCH Wake Gesture Sensor
Vendor: Bosch Sensortec GmbH
Version: 0x1
Handle: 0x1c47
Type: 23
maxRange: 1
resolution: 1
power: 0 mA
minDelay: -1
Can you test them both and report if they fix tilt-to-wake for you? Also, if both work, can you tell me which works better?
Only the ext4
: https://www.dropbox.com/sh/ehsizm6lwqhemym/AABYNBQYB2am6jsnNCrggNR3a
For the other files you can use the ones from https://asteroidos.org/install/harmony/
from meta-smartwatch.
from meta-smartwatch.
Sir tilt to wake working on tilt version but wake version didn't worked.one more thing app opening lags on both version, power off and reboot hangs had to long press power button to reboot.at first boot everything was upsidedown but after opening one app it's got fixed.
from meta-smartwatch.
Excellent! Great to see it working already π
That being said I have some more questions:
-asteroid-image-harmony-tilt.ext4: Is the behavior exactly the same as with the stock rom? Or is it only at a specific angle as suggested by the documentation that Google provides for this sensor.
-asteroid-image-harmony-wakegesture.ext4: Did this version not work because you couldn't install this or does the it actually not wake the screen when doing the tilt-to-wake gesture? (I was hoping that this would be the best solution, that's why I ask this very specific question π)
-Lags: We recently upgraded the base system to the most recent version (AsteroidOS/meta-asteroid#57). Unfortunately, it seems that this introduces the issue where the system can be laggier than before. Can you confirm that after a few minutes the lag goes away?
-Power off and reboot: This was also true with the images provided on the install page (https://asteroidos.org/install/harmony/)?
-Upside down issue: You mentioned this on IRC too right? Not sure what would be the exact reason for this can you try the inhamony (https://asteroidos.org/install/inharmony/) version to see if this fixes the issue? (in actually refers to inverted screen)
from meta-smartwatch.
Sir I didn't understand first question about behavior u mean how I tilt the watch ? And sir I did installed both.u made this for us there's no reason to lie π€and sir yes lag goes after few minutes. Sir upside down launcher get fix when open any app.sir I will download inharmony image this weekend and let you know about the result. And forgive my poor english.
from meta-smartwatch.
I mean if the wrist movement is the same for waking the screen. The specification of this sensor is very specific:
A tilt event should be generated if the direction of the 2-seconds window average gravity changed by at least 35 degrees since the activation of the sensor.
Full available here: https://android.googlesource.com/platform/hardware/libhardware/+/6f1a00e29a43ca449ae10eb16ff4dfda3c4cd619/include/hardware/sensors.h#586
Also, with regards to the lag, I think I have a solution for this which will implemented in the next build.
Don't worry about your English, we understand each other perfectly π
Thanks for testing btw. It's great to see the support for this watch improving π
from meta-smartwatch.
Sir wrist movement same as stock and in your both version it's not lag it's actually camera app not working I thought maybe be it's lag but it's not I waited few minutes to see it opens up or not but it doesn't.and can't open wifi I mean I can switch wifi on off but can't go there to input ssid and pass.
from meta-smartwatch.
Sir one more thing after few times when watch goes to idle mode and tried to wake the screen with tilt or power button it doesn't wake up but it's running as dark light appears . How to fix this issue if this is fix asteroidos will be fixed totally for me as I don't use camera so much
from meta-smartwatch.
Thanks for letting me know about the wrist movement behavior π
How do you mean the dark light appears? Is this AOD mode? In that case, does this also happen when you disable Always-on-Display
in the settings app?
With regards to the camera app, can you try to get a log? What you do is connect the watch to your computer and open a shell using the adb shell
command in the command prompt or powershell. Launch the camera app. Next type in the adb shell
the command: journalctl --no-pager
and copy the entire log here π
from meta-smartwatch.
It looks like this thread is tracking several separate issues:
- Tilt to wake not working -- @MagneFire has fixed? Likely dupe of AsteroidOS/meta-mtk6580-hybris#13
- AOD not working -- not possible on this device
- Power off/reboot not working -- looks like a dupe of #24
- App opening lags on both version -- @MagneFire has fixed?
- at first boot everything was upsidedown but after opening one app it's got fixed -- I fixed this one with AsteroidOS/meta-mtk6580-hybris#18
- Camera app not working -- I've been taking a look at this one; haven't found anything yet. Just opened an issue to track -- AsteroidOS/asteroid-camera#3
- No wifi network settings in the UI -- this is a feature AsteroidOS doesn't have yet. AsteroidOS/asteroid#41, AsteroidOS/asteroid-settings#32
- "after few times when watch goes to idle mode and tried to wake the screen with tilt or power button it doesn't wake up but it's running as dark light appears" -- not sure what this one means.
from meta-smartwatch.
Related Issues (20)
- Change button mappings
- [pike] ADB/SSH do not work HOT 1
- [lenok] Watch wakes up on palm detect sensor HOT 2
- [sparrow] BT HCI device not showing - nightly possibly missing firmware? HOT 3
- [skipjack] WiFi needs a patch to run HOT 1
- [beluga] screen flickering HOT 7
- [sturgeon] Major lag all over the UI in 20230730 build HOT 2
- [harmony] touch input on homescreen is inverted and apps upside-down HOT 1
- [harmony] Stuck on reboot and power off.
- Support 64bit platforms with 32bit userspace HOT 1
- [anthias] Sensors do not work
- [anthias] Apps crash HOT 1
- [hoki] wifi support HOT 2
- [beluga] Incorrect device codename designation on web HOT 4
- [beluga] Documentation: Discrepancy between Hardware Support page and other sources regarding NFC support.
- [dace] TicWatch Pro 5 support HOT 2
- [Beluga/OW19W8] Oppo Watch Found Bugs/issues/missing software features on clean/default install HOT 6
- Confused with de-installation on Beluga / OW19W8 / Oppo Watch
- [lenok] Nightlies stuck at boot since 2024-02-16 HOT 1
- fastboot flash userdata failing with C++ error on asus zenwatch 2 sparrow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from meta-smartwatch.