LiveView reverse-engineering effort

Search This thread

miogy

Senior Member
Sep 11, 2008
60
0
Alor Star
How to make whats app messages appear?

I hope to read the messages of whatsapp rather then just have notification of "Messages from AAA"(like in the picture). Is it any simple way to do that. In Liveview official application with Custom Notifier is was possible. BTW this project really mean a lot to me. Already forgot where i put my Seiko :laugh:
 

Attachments

  • IMG_20130227_094433.jpg
    IMG_20130227_094433.jpg
    231.2 KB · Views: 366

vegaspete

New member
May 30, 2010
4
0
Mind you, if the liveview doesn't even connect either via OLV or the Sony application, there is a slight chance that reflashing the (stock) liveview firmware via the sony update tool will fix it.
It had happened to me while I was switching from ICS to JB, and I thought it was the rom, but it worked just fine afterwards, so give it a shot..

just gave it a try and no such luck for me. those buggers at google were supposed to fix Bluetooth issues with 4.2.2. thanks for the suggestion.
 

unignal

Member
Feb 27, 2013
10
1
A little confused.

So I read through this thread from page 50 till 74.

And then I got a little confused, so I would like to clarify.

There are currently 2 projects here.. the OLV app for android phones as well as a custom firmware. Right?
For the OLV app, it is alive and kicking. Right?
Is this still the main thread discussing the app? I am an Android developer too and I would like to see if there's anyway I can contribute once I get my liveview (in the mail)

For the custom firmware - right now there's a working clock. That much I understand.
 

renzenicolai

Senior Member
Aug 13, 2012
125
181
www.rnplus.nl
A little confused.

So I read through this thread from page 50 till 74.

And then I got a little confused, so I would like to clarify.

There are currently 2 projects here.. the OLV app for android phones as well as a custom firmware. Right?
For the OLV app, it is alive and kicking. Right?
Is this still the main thread discussing the app? I am an Android developer too and I would like to see if there's anyway I can contribute once I get my liveview (in the mail)

For the custom firmware - right now there's a working clock. That much I understand.

You got it right!

Our website (Nothing more than a link to this thread and a link to Google Code):
http://www.openliveview.com

Google Code: (repository for the OpenLiveView app)
https://code.google.com/p/openliveview/

I think the OpenLiveView firmware doesn't have a repository yet.
 

GottZ

Senior Member
Sep 20, 2008
170
123
32
Cologne
gottz.de
You got it right!

Our website (Nothing more than a link to this thread and a link to Google Code):
http://www.openliveview.com

Google Code: (repository for the OpenLiveView app)
https://code.google.com/p/openliveview/

I think the OpenLiveView firmware doesn't have a repository yet.

bout the website:
- shall the thread link point to the newest page? i could change it to that.
- shall we put some developement progress informations onto the front page?

bout the firmware:
- does not have a repo yet and is changing too much to make use of a repo yet. (at least the parts i do)
- is still lacking a very basic system for event handling, module management etc.
 

alhinai21

Member
Jun 17, 2009
13
1
bout the website:
- shall the thread link point to the newest page? i could change it to that.
- shall we put some developement progress informations onto the front page?

bout the firmware:
- does not have a repo yet and is changing too much to make use of a repo yet. (at least the parts i do)
- is still lacking a very basic system for event handling, module management etc.

Sure someone should do this especially "progress informations"

Sent from my Galaxy Nexus using Tapatalk 2
 

unignal

Member
Feb 27, 2013
10
1
hey guys.. another question.. so what are the current functionalities of the app?

It pushes all notifications to the watch right?
Is there any clear indication of which app the notifications are from?
 

miogy

Senior Member
Sep 11, 2008
60
0
Alor Star
hey guys.. another question.. so what are the current functionalities of the app?

It pushes all notifications to the watch right?
Is there any clear indication of which app the notifications are from?

You can choose white list in the menu. And start adding the app that you want to get notification only.
 

Attachments

  • screenshot_2013-03-01_1514.jpg
    screenshot_2013-03-01_1514.jpg
    25.6 KB · Views: 428

GottZ

Senior Member
Sep 20, 2008
170
123
32
Cologne
gottz.de
Great hope you will update it when something new is done.

I want to ask about play store app y it is not up to date?

Sent from my Galaxy Nexus using Tapatalk 2

the one on google play is a stable release.

the one published here is a developement release.


edit:
special thanks to fixxxer667, who made some corrections and additions to the text i've published on openliveview.com.
 
Last edited:
  • Like
Reactions: fixxxer667

TpmKranz

Senior Member
Mar 30, 2012
201
348
Potsdam
I hope to read the messages of whatsapp rather then just have notification of "Messages from AAA"(like in the picture). Is it any simple way to do that. In Liveview official application with Custom Notifier is was possible. BTW this project really mean a lot to me. Already forgot where i put my Seiko :laugh:

...
Is there any clear indication of which app the notifications are from?

After the next official update it should show both the actual content of a notification and the name of the app that spawned it. If you don't want to wait for renzenicolai to update the Play Store app, try a recent development snapshot or compile it yourself.
 

GottZ

Senior Member
Sep 20, 2008
170
123
32
Cologne
gottz.de
i'm brainstorming a little bit.


the olv has 249856 bytes storage usable for the firmware.

out of theese some bytes shall not be overwritten because they contain the device bluetooth address and serial number.

the firmware i have here currently takes around 32 kb.


what gives me headache is the following:

how dafu*k shall i put full utf8 support into the device?

i thought about using freetype to render a free utf8 font into pixel data.
if i would take the rendering onto the liveview it would mostly overflow the internal storage just to hold a font.
if i would put compressed pixel data of each pixel for a defined font size onto the storage (without antialiasing) i guess it also would overflow.

does anyone of you have an idea how to solve the font problem?

i dont know what sony ericsson did but i do not think they put full utf8 support onto the device. (and even added useless meta data to the firmware)


what i could do is taking certain parts that could be of use out of http://czyborra.com/unifont/ into the firmware.

suggestions?
 

renzenicolai

Senior Member
Aug 13, 2012
125
181
www.rnplus.nl
You got me thinking and I think I figured it out:

Sony uses a little trick: you can tell the liveview to show a bitmap instead of text as notification content and maybe also in place of the two strings in panels. That way the Sony app can generate bitmaps using the same font as the device uses: the user won't notice a difference and the LiveView magically supports unicode.

I did not implement any code that uses this feature in OLV yet and I am focussing on other stuff (plugins) first, but maybe it's an idea for the future.
-> Maybe you can also use a trick like this in the OLV firmware?

bout the website:
- shall the thread link point to the newest page? i could change it to that.
Good idea!
- shall we put some developement progress informations onto the front page.
Also a good idea!

I will install a content management system on the website asap.
 
  • Like
Reactions: GottZ

GottZ

Senior Member
Sep 20, 2008
170
123
32
Cologne
gottz.de
Good idea!
done.
Also a good idea!
before you wrote this message, i've added this already.
I will install a content management system on the website asap.
i hope you have a backup of style.css because this file went missing. (i did not delete it and only used ssh / vim to create and edit it)
will digg into my deep google chrome cache now but i guess its gone.

edit:
it appears you did not delete it (as far as i can see) but neither did i so i really wonder why its gone.

edit2:
added an old backup and edited it to be up to date.

Sony uses a little trick:
good idea.
i could implement a copy of sony ericssons protocol but i think some changes / additions would make it more reliable and fast. (besides bluetooth is yet a future thing and i dont know what exception13 is doing or if he still keeps hacking this device)

one main thing i'd like to implement is font transfer; to send unicode id's and their graphical representation onto the device and cache them for reduced bandwidth usage and offline drawing.


another thing exception13 was working on is permanent storage. i hope he still works on it because i do not know how to permanently write data onto the internal memory from within chibios to keep the data after a turnoff / battery drain.
 
Last edited:

toletum91zgz

Member
May 29, 2008
20
2
Hi to all!

Since a couple of months I'm looking for a new smart-watch. I hope the new ones will support my Nokia Lumia 800 with Windows Phone, but at this time I can only wait until this days.

Insted of wait until Gnomio will raise again or something like that, I've seen that LiveView on Amazon at 21€ (about 26$) and I bought one, because now I have a boring Led Watch and I think that will be a cooler option to wear at my wrist ;)

So, surfing on the web looking for some LiveView hacking, I found this thread and I can only say that it's amazing! Great job, guys, seriously.

Mine arrives this wednesday, I hope, and I will read the 76 pages of this thread and I will try to help you whenever I can.

This message is to congratulate to the developer and cheer them. Nice job, guys.

Keep this cool way! :D
 

GottZ

Senior Member
Sep 20, 2008
170
123
32
Cologne
gottz.de
AW: LiveView reverse-engineering effort

since you use windows phone you will not be able to use that clock with its basic firmware since it requires a bluetooth connection to set the time and date.

what operating system are you using? windows i guess.
in case its really windows, we shall find a good way to install a custom firmware through it because right now i see a that as only chance for you to use the liveview.

Sent from my HTC Desire Z using xda-developers app
 

Top Liked Posts

  • There are no posts matching your filters.
  • 23
    Hi all,

    A few weeks ago I started taking apart the LiveView software and manager. I'm really unhappy with the current plugin system, the menu structure and more. So, I started to reverse-engineer the Bluetooth protocol. I'm at the very beginning but it's looking promising.

    Here's the repo: https://github.com/BurntBrunch/LivelierView

    The protocol is not very difficult - just request-acknowledge-response serial communication over RFCOMM. Also, the kind people from SE didn't run the manager through Proguard (wink, wink, nudge, nudge ;) ).

    I also have what I *think* is a dump of the firmware but it seems either compressed or encrypted. Binwalk didn't find anything in it. If someone would be kind enough to take apart the software updater, we might figure out what's running on the actual device as well.

    Overall, I'm just starting but so far it's looking good (got time syncing working! it's at least a watch, if nothing else! :p ).

    Any help would be greatly appreciated (pull requests are more than welcome! :))
    10
    Well just a brief status update. The project I've started on github has been progressing, greatly in part from the contributions of boombuler.

    You can go there ( https://github.com/pedronveloso/OpenLiveView ) and check the README, and I've compiled and attached an APK so you guys can test for yourselves without having to clone the repo and compile ;). Right now that APK only asks for connecting with the device (has to be paired first of course) and then sends a Vibrate command to the LiveView. There's more commands done in the source then just that but the functionality has not yet received a dedicated UI since the whole thing is on a very early stage.

    Bare in mind that theres no point in reporting any bugs at this stage since I myself keep finding them with ease :p

    NOTE : You might have to uninstall LiveView first in order to test the app, at least I had to uninstall it because of Broadcasts that where getting in the way sometimes when the LiveView app was installed.
    9

    its not done yet. will need to enable getpixel in chibios gfx in order to have clean alpha overlapping. (well you cant see it anyways on a video)
    9
    Update!

    Here you go, the next update! :)

    Visible changes:
    I added mediacontrols (play/pause, previous track and next track) to the menu.

    Invisible changes (protocol):
    - Implemented brightness controll for the liveview display (off, dim and on)
    - Implemented ClearDisplay command
    - Implemented DisplayBitmap command

    Invisible changes (gui):
    - Added mediacontrolls like in the sony app when you long press the select key.

    Now the problem I am currently experiencing:
    The LiveView does not send back the navigate commands for left, right and select (short press) when in menu mode AND when out of menu mode (zero menuitems).

    My question to the original developer of the "net.sourcewalker.olv" app is if he can tell me how to make the liveview send those keypresses to the service.



    Something that I found out:
    the device sends DEVICESTATUS_ON back in stead of DEVICESTATUS_MENU when there are zero menu items, in that mode you have full controll over the screen (blanking and sending bitmaps).


    EDIT:
    Small bugfix (next button didn't work)
    9
    I'm sorry for being a noob again but what is OLV?
    Can there be a rom for the LiveView in the coming years?
    Is the LiveView open source?
    + can anyone provide me a detailed spec sheet of the LiveView... Like the processor and alll..

    Sent from my ST25i using Tapatalk 2

    1. OLV means: OpenLiveView wich is our project name (we have a custom android app that fully replaces sony's app)
    2. a rom is currently in developement as you can see within this post.
    3. the liveview itself is not opensource. our stuff however is.
    4. i cannot provide you a detailed spec sheet right now but will do it when i have some time digging out that info.

    so.. now to what i want to post:



    current snapshot of my firmware folder in attachments.

    current binary of the firmware is also in the attachments. (for thoose who just want to try it without compiling and know what they do)


    how to use the firmware folder:
    http://forum.xda-developers.com/showpost.php?p=38341041&postcount=731

    (yes, i suck at english. digg through it or wait till i explain it on http://openliveview.com)



    stuff that is on my todo:

    • display timeout (aprox 5 minutes to implement it)
    • bluetooth (need help)
    • write access to the internal storage (need help)
    • access to the current battery charge info (need help)
    • basic menu system (i'm on it)
    • stopwatch (i'm on it after the menu)
    • digital clock (will do it after i did the stopwatch)
    • other stuff
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone