Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Pebble Watch Faces

I'm trying to create my own Pebble watch faces. It appears no one has done this yet and there's no SDK.

So far I've figured out that the watch faces are hosted here: http://pebble-static.s3.amazonaws.com/watchfaces/index.html

Each watch face is a .pbw file which is a zip file. There's 3 files inside: app_resources.pbpack, manifest.json and pebble-app.bin.

The JSON file includes a list of all the parts of the watch face (images), which appears to be an app. The .bin file is probably the executable binary and the .pbpack file is probably a bundle of all the resources. I can't figure out how to extract the .pbpack file. I'm also not sure what to do with .bin file.

I'm trying to post my progress here: http://hackingpebble.tumblr.com

Any thoughts on what to do with the .pback and .bin files?

like image 935
user2057786 Avatar asked Feb 09 '13 22:02

user2057786


People also ask

Which app is used for Pebble watch?

For additional notification features, please download and install the Android Wear app.


3 Answers

The SDK is now live. developer.getpebble.com

like image 146
Wilhelm Klopp Avatar answered Sep 30 '22 11:09

Wilhelm Klopp


I've begun looking at the .pbpack and the .bin in a hex editor and it's quite odd. First with the .pbpack I've noticed a few patterns, in between each major chunks of bits, there is a bunch of 0's and then a 45 00 54, which I am guessing is acting like a delimiter. I tried searching the file's hex signature to see if I would get lucky to find out that it was some obscure file format but got nothing. Now with the .bin I figured I wouldn't get anywhere with the hex editing, however we do know what processor it is designed to run on (ARM Cortex-M3), which means we can reasonably assume that using a decompiler designed for arm processor files we can read it. I'm researching into finding one, however it's a bit late at night for me to do too much more work, so I figured I'd give you what I have so far.

I know this is not a great response, but I figured maybe it'll help you with it what you're trying to do.

like image 26
Sean Avatar answered Oct 02 '22 11:10

Sean


Since there is no Pebble company anymore, new community project Rebble took over. It has new SDK on Dev portal.

like image 31
Denis Rozhnev Avatar answered Sep 29 '22 11:09

Denis Rozhnev