[ROM][ALPHA][WIP] -- Asteroid OS \\ New OS \\ Open Source \\ Non-Android Wear

ilpianista

Member
Jan 15, 2012
47
47
0
Lecce
andreascarpino.it
Asteroid OS

Introduction and Warning:
Asteroid OS is a Free Open Source alternative operating system for smartwatches. It utilizes libhybris to ensure maximum compatibility with the watch. The OS team is currently looking for active contributors to make it grow (more info at the project's webpage: https://asteroidos.org/). The OS is NOT based on Android wear and is currently in an Alpha Phase, has limited functions, applications and customizability so flash at your own risk. The current build is mostly meant for developers rather than end-users, so these images in no way reflect the finished Asteroid OS. I take no responsibility for what happens by the use of this software. By using the method bellow you don't flash Asteroid but rather run it side by side with Android wear. Essentially you place the OS file inside the watch and fastboot into it. This way Android Wear stays installed and you can test Asteroid. Asteroid at its current phase is not meant as a daily OS as it has bugs and issues.
Media:
YouTube Video: https://www.youtube.com/watch?v=b_GJiQYTAIk
Photos and Videos can be found in the project's twitter account (mentioned bellow).

Downloads:
Official prebuilt Asteroid OS image: https://release.asteroidos.org/nightlies/lenok/

Instructions:
1. Make sure you have an ADB installation (Minimal adb and fastboot should do) and your watches' bootloader is unlocked and debugging is enabled from the settings.
2. Download the two files in the download section and place them in the same folder and connect the watch to the computer
3. Open up the shell or command prompt (cmd) and navigate to that folder
4. Issue these commands:
Code:
adb push -p asteroid-image-lenok.ext4 /sdcard/asteroidos.ext4
adb reboot bootloader
fastboot boot zImage-dtb-lenok.fastboot
5. The watch will reboot into Asteroid OS. Every time you want to boot into asteroid you have to issue the last two commands or else you will boot into android wear normally.

Removal Instructions:
Just open up shell or command prompt (cmd), connect the watch to the computer and issue this command:
Code:
adb shell rm /sdcard/asteroidos.ext4
Known issues:
https://github.com/AsteroidOS/meta-lenok-hybris/issues/

Credits:
kido - Creator of the OS
atx - lenok port
Everyone on the #asteroid IRC

Links:
Webpage: asteroidos.org
Twitter: @asteroidOS
IRC: #asteroid
 
Last edited:

Cameo164

Senior Member
May 26, 2013
126
49
58
Great OS and thanks for porting it. The coping and starting worked like a charm and that super fast boot time is so amazing! But I can't do anything when started. I can only use the touch screen for waking up the watch, when I want to use it nothing happens. Only one time I was able to use the watch (scroll through menus, open apps and change settings) but then after I restarted, it did't work anymore. I don't know why, I only know that the watch didn't hang itself because the wallpaper still moves.
 

miffymiffy

Senior Member
Apr 25, 2007
1,301
351
113
36
Wollongong
4. Issue these commands:
Code:
adb push asteroid-image-lenok.ext2 /sdcard/linux/rootfs.ext2
adb reboot bootloader
fastboot boot zImage-dtb-lenok.fastboot
5. The watch will reboot into Asteroid OS. Every time you want to boot into asteroid you have to issue the last two commands or else you will boot into android wear normally.
Is there a way to make it default OS? Is there any IMG files to flash without having to have AW on the watch?
My watch isnt working with AW at the moment because of 'battery problems'. But stays on for days on fastboot or recovery.
 

ilpianista

Member
Jan 15, 2012
47
47
0
Lecce
andreascarpino.it
Is there a way to make it default OS? Is there any IMG files to flash without having to have AW on the watch?
My watch isnt working with AW at the moment because of 'battery problems'. But stays on for days on fastboot or recovery.
Yes, I'm using it this way too. Type:
Code:
adb reboot bootloader
fastboot flash userdata asteroid-image-lenok.ext2
fastboot flash boot zImage-dtb-lenok.fastboot
Cameo164 said:
But I can't do anything when started. I can only use the touch screen for waking up the watch, when I want to use it nothing happens.
That's a known issue, restart lipstick by typing:
Code:
adb shell systemctl restart [email protected]
 
  • Like
Reactions: miffymiffy

miffymiffy

Senior Member
Apr 25, 2007
1,301
351
113
36
Wollongong
fastboot flash userdata asteroid-image-lenok.ext2
fastboot flash boot zImage-dtb-lenok.fastboot[/CODE]
F:\Downloads\Mobile\ADB and Fastboot>fastboot flash userdata asteroid-image-lenok.ext2
< waiting for device >
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
erasing 'userdata'...
OKAY [ 2.158s]
sending sparse 'userdata' (250209 KB)...
OKAY [ 11.035s]
writing 'userdata'...
FAILED (remote: sparse image write failure)
finished. total time: 85.842s

This is what I get if I do so. It just boot loops. Any ideas?
 

ilpianista

Member
Jan 15, 2012
47
47
0
Lecce
andreascarpino.it
F:\Downloads\Mobile\ADB and Fastboot>fastboot flash userdata asteroid-image-lenok.ext2
< waiting for device >
target reported max download size of 268435456 bytes
Invalid sparse file format at header magi
erasing 'userdata'...
OKAY [ 2.158s]
sending sparse 'userdata' (250209 KB)...
OKAY [ 11.035s]
writing 'userdata'...
FAILED (remote: sparse image write failure)
finished. total time: 85.842s

This is what I get if I do so. It just boot loops. Any ideas?
Ah damn, the nightly build is old and it misses a required fix. You could try to build it yourself, I can't share mine at the moment because I'm outside.

I just built a new image:
Download
 
Last edited:

FurFur_

Senior Member
Feb 5, 2012
537
238
73
Berlin
Yes, I'm using it this way too. Type:
Code:
adb reboot bootloader
fastboot flash userdata asteroid-image-lenok.ext2
fastboot flash boot zImage-dtb-lenok.fastboot

That's a known issue, restart lipstick by typing:
Code:
adb shell systemctl restart [email protected]
Is there a way to activate ADB even if the touch isnt working?
Device isnt listed under "ADB Devices" in CMD so its not possible to execute it :confused: