Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

LiveView reverse-engineering effort

OP archivator

22nd February 2013, 08:08 PM   |  #731  
GottZ's Avatar
Senior Member
Flag Cologne
Thanks Meter: 110
 
109 posts
Join Date:Joined: Sep 2008
Donate to Me
More
ohai evryone.

(check out renze's post on the previous page)

i've cleaned my stuff a little and here it is:


in case you cannot see the image


all you need to run it is to put this:
https://launchpad.net/gcc-arm-embedded/+download

into the base of my extracted tarball.
i had it there named as gcc-arm-none-eabi-4_7-2012q4

in case it differs, simply change it in firmware/Makefile


install dfu-util and minicom and change the usb port minicom shall use within the Makefile.

navigate to the firmware directory through a console

use make dump to create a firmware dump of your installed firmware into the "original" folder.
through make orig you can restore the original firmware onto the liveview

through make you can compile the firmware

through make copy you can copy the compiled firmware onto your liveview

through make term you can open minicom (CTRL+A Q will close minicom)


sadly i've screwed the usb terminal somehow. i dont know what i broke but maybe you can fix it if i dont do it before you.
the reason what broke my usb terminal was an application on my laptop called: "modemmanager" wich handles usb 3g modems and sends AT+GCAP<CR> to any usb device D:


to the changes from exception13's last build:
- i disabled his frame update thread and added a method (framebuffer_draw) that draws the framebuffer onto the screen (not clean)
- i added gdispGetPixelColor wich reads from the framebuffer
- i added two terminal commands that allow you to enable or disable multiple colors at once and change their speed. simply look into the source to see how they work. (led_enable, led_disable)
- i changed other various things too. cant remember. you shall diff it if you want to know it.


and now here is the download link



PS:
if you want to edit the clock, simply edit aclock.htm, run it in a webkit browser, save the textarea into aclock.h and recompile it to see changes.
Last edited by GottZ; 24th February 2013 at 12:41 PM.
The Following 3 Users Say Thank You to GottZ For This Useful Post: [ View ]
24th February 2013, 01:09 PM   |  #732  
beemerTPPC's Avatar
Retired Recognized Developer
Flag Madrid
Thanks Meter: 8
 
332 posts
Join Date:Joined: Mar 2006
I've just found this thread and removed dust from my LV Thanks for the effort. Seems promising.

Maybe I can help. I'm an android dev with many apps on the play market including sseveral live view plugins, so if you need help with any part of the project, tell me. I've tried to clone the repository in the first post but seems that it is outdated because last commit is from January,6.

About the project, I've used it only for an hour, but seems very well done. Do you plan support for standard LV plugins? Do you plan integration of automatic reconnection?
The Following 2 Users Say Thank You to beemerTPPC For This Useful Post: [ View ]
24th February 2013, 01:14 PM   |  #733  
GottZ's Avatar
Senior Member
Flag Cologne
Thanks Meter: 110
 
109 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Quote:
Originally Posted by beemerTPPC

I've just found this thread and removed dust from my LV Thanks for the effort. Seems promising.

Maybe I can help. I'm an android dev with many apps on the play market including sseveral live view plugins, so if you need help with any part of the project, tell me. I've tried to clone the repository in the first post but seems that it is outdated because last commit is from January,6.

About the project, I've used it only for an hour, but seems very well done. Do you plan support for standard LV plugins? Do you plan integration of automatic reconnection?

this project (as you can see in post 1) is dead.
it has been continued by other devs and lives on now.

if you want to see the current progress (wich is stunning), pm renzenicolai, look at the google code page or wait till someone replies.
also take a look at post 730 (wich is the one before my last post) wich contains usefull information about the current state.

on openliveview.com you cannot see much yet but there is at least the google code link and a link to this thread. (just telling you so you only need to remember this url to come back here)



edit:

got RTC working
Last edited by GottZ; 24th February 2013 at 02:24 PM. Reason: got RTC working :D
The Following 2 Users Say Thank You to GottZ For This Useful Post: [ View ]
24th February 2013, 05:33 PM   |  #734  
Member
Flag Moldova, Chisinau
Thanks Meter: 19
 
40 posts
Join Date:Joined: Sep 2010
Quote:
Originally Posted by GottZ

ohai evryone.

PS:
if you want to edit the clock, simply edit aclock.htm, run it in a webkit browser, save the textarea into aclock.h and recompile it to see changes.

can do here like this?

Last edited by Gerek; 24th February 2013 at 05:47 PM.
24th February 2013, 06:08 PM   |  #735  
GottZ's Avatar
Senior Member
Flag Cologne
Thanks Meter: 110
 
109 posts
Join Date:Joined: Sep 2008
Donate to Me
More
Quote:
Originally Posted by Gerek

can do here like this?

not through that file. that would require a different clock implementation
BUT

i do think about doing a digital clock in that style aswell.


@renze:
music seems broken. will digg at it later unless you want to try it yourself
Last edited by GottZ; 25th February 2013 at 07:16 AM.
The Following User Says Thank You to GottZ For This Useful Post: [ View ]
25th February 2013, 03:20 PM   |  #736  
Senior Member
Thanks Meter: 182
 
124 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by GottZ

music seems broken. will digg at it later unless you want to try it yourself

Just tried: I forgot a break in the navigation switch code...
I uploaded fixed source code to google.
The Following User Says Thank You to renzenicolai For This Useful Post: [ View ]
26th February 2013, 04:03 PM   |  #737  
Junior Member
Thanks Meter: 0
 
4 posts
Join Date:Joined: May 2010
cyanogen mod 10.1 android 4.2.2 compatibility
Is there any news on making OLV work on newer roms? Just curious, because this looks much nicer than sony's app, but I can't get it to sync with either my phone or nexus 7 running cm 10.1 nightlies.
tia.
26th February 2013, 07:11 PM   |  #738  
Senior Member
Thanks Meter: 182
 
124 posts
Join Date:Joined: Aug 2012
Donate to Me
More
Quote:
Originally Posted by vegaspete

Is there any news on making OLV work on newer roms? Just curious, because this looks much nicer than sony's app, but I can't get it to sync with either my phone or nexus 7 running cm 10.1 nightlies.
tia.

Nope, OLV works on some Android 4.2 roms, but I tried cm 10.1 myself and it fails on the bluetooth stack. I can't do anything about it and I think Google's engineers are to blame since OLV is not the only thing with bluetooth issues on android 4.2 (example).

I suggest you keep running on cm 10 untill the problems with Android 4.2 are fixed.
The Following User Says Thank You to renzenicolai For This Useful Post: [ View ]
26th February 2013, 10:07 PM   |  #739  
fixxxer667's Avatar
Senior Member
Thanks Meter: 62
 
142 posts
Join Date:Joined: Dec 2010
More
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..
26th February 2013, 10:38 PM   |  #740  
GottZ's Avatar
Senior Member
Flag Cologne
Thanks Meter: 110
 
109 posts
Join Date:Joined: Sep 2008
Donate to Me
More
AW: LiveView reverse-engineering effort
Quote:
Originally Posted by fixxxer667

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..

we or i shall definitely get our own firmware updater for windows ready..


(in case anyone want to know my progress: i will upload my sources tomorrow. it now displays certain live data like analog signals from all 4 touch buttons, digital representation of touch states of all 6 buttons, some changes to how exception13 got that data and access to the original serial number and bluetooth address.)

Sent from my HTC Desire Z using xda-developers app

The Following 3 Users Say Thank You to GottZ For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
github, livelierview, liveview, reverse-engineer
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes