How to develop and debug the SHR phone stack on your desktop

| 3 Comments | No TrackBacks
Why do we want to do that?
One annoying thing while developing applications for SHR is the time consuming cycle of: hacking - building with OE - installing on the device - testing. The UI itself could be developed natively on the desktop too, but as lots of stuff depends on the actual hardware (eg. phone calls) that does not cover the whole story.

What can we do about that?
Now, we have a solution :-) The other day an interesting application was added to OpenEmbedded (thanks mickeyl): dbus-daemon-proxy. So, what is that? If you start dbus-daemon-proxy on your phone it will proxy all dbus methods and signals from your phone over the network to you desktop. This means you can have the hardware dependent stuff like fsogsmd running on the phone and stuff like phoneuid running on your desktop and it will just work.

So, what do you need to do that?
1) you need a current EFL stack with elementary. Current means you have to build it yourself from Enlightenment SVN. I personally use the get_e.sh script from raster (find it here: get_e.sh). But there are others out there too. NOTE: get_e.sh does not install elementary itself. You have to do that manually after get_e.sh finished installing all the other stuff.

2) you have to install dbus-daemon-proxy on your phone. It is already in the SHR-unstable feed, so if you run SHR-unstable (which is somehow important if you want to develop the SHR phone stack ;), then just opkg install dbus-proxy-daemon.

3) install the SHR phone stack (and all of its dependencies) on your desktop. To make life easy for you I created a script which does that (setup-shr-build-env.sh). It will install all needed stuff to your home directory. If you don't already have LD_LIBRARY_PATH set to contain $HOME/lib you have to add it.

4) stop phoneuid on your phone. Easiest way is to just execute 'killall phoneuid'.

5) start dbus-daemon proxy on your phone. Note: you need one instance for every program connecting to it. I'm using one for phoneuid, one for communication with phoneuid (eg. to start messages app) and one for some debugging tool like d-feet or mdbus2. Create something like the following script to start it on three different ports:

#!/bin/sh
dbus-daemon-proxy --system --port 8080 &
dbus-daemon-proxy --system --port 8081 &
dbus-daemon-proxy --system --port 8082 &
make it executable and start it.

6) start phoneuid on your desktop with the following call:

DBUS_SYSTEM_BUS_ADDRESS=tcp:host=192.168.0.202,port=8080 phoneuid
7) start the messages app with the following call:

DBUS_SYSTEM_BUS_ADDRESS=tcp:host=192.168.0.202,port=8081 phoneui-messages
8) have fun watching your messages pop up on your desktop :-)

Apart from saving a lot of time by not cross-compiling and installing... one big winner is to be able to use some nice gdb GUI to debug the thing.

No TrackBacks

TrackBack URL: http://blog.shr-project.org/cgi-bin/mt/mt-tb.cgi/30

3 Comments

Later supra shoes this thomas sabo year, north face outlet Netflix north face outlet will gucci handbags introduce gucci,borse gucci,gucci sito ufficiale,gucci outlet a longchamp outlet new lululemon outlet way kate spade to wedding dresses stream michael kors outlet videos, bottega veneta and air max,nike air max I chaussure louboutin was lacoste lucky uggs outlet enough sac hermes to hermes belt get cheap jordans a sac longchamp pas cher private tiffany and co jewelry demo wedding dresses at hollister,abercrombie,hollister sito ufficiale,abercrombie italia,abercrombie and fitch,abercrombie outlet this ugg,uggs,uggs canada year's moncler,moncler Consumer louis vuitton Electronics coach outlet Show polo outlet in nike trainers uk Las nike outlet Vegas.



Netflix ralph lauren,polo ralph lauren,ralph lauren outlet,ralph lauren italia,ralph lauren sito ufficiale is oakley,occhiali oakley,oakley italia calling hollister this insanity workout new, coach outlet higher-quality true religion outlet streaming coach outlet store online "HDR," mac cosmetics which replica watches stands asics running shoes for nike air force high canada goose outlet dynamic nike roshe run uk range, lululemon canada a moncler outlet term reebok outlet that louboutin,louboutin outlet,louboutin outlet italia is hogan most juicy couture outlet common lancel in air max photography.



The ray ban sunglasses demo prada outlet I ferragamo shoes saw jordan pas cher was barbour uk at louis vuitton LG's giuseppe zanotti outlet booth louis vuitton at polo ralph lauren the canada goose jackets CES christian louboutin conference louis vuitton in valentino shoes Las oakley pas cher Vegas, tiffany and co where hollister an converse outlet LG timberland boots display juicy couture outlet executive canada goose was michael kors pas cher showing beats by dre off nike free what oakley sunglasses HDR mont blanc pens streaming sac vanessa bruno looked louis vuitton outlet like canada goose outlet on canada goose uk an swarovski crystal ultra-high-resolution louis vuitton 4K ralph lauren uk TV, moncler uk using vans outlet the abercrombie and fitch new christian louboutin uk Netflix herve leger show canada goose "Marco new balance shoes Polo." nike air max ( new balance Unfortunately, nike air max uk they ugg wouldn't oakley sunglasses let pandora uk us nike huarache,nike huaraches,nike air huarache shoot vans pas cher video ray ban pas cher or pandora charms photos, coach outlet so mulberry uk we're longchamp pas cher using soccer jerseys regular canada goose outlet screenshots nike air max from links of london the kate spade outlet show.)



HDR ugg pas cher basically true religion outlet ensures louis vuitton outlet you're chi flat iron seeing louis vuitton outlet extremely vans,vans scarpe,vans italia accurate babyliss colors michael kors outlet online that ghd hair have christian louboutin outlet a chanel handbags higher louis vuitton range. karen millen uk So michael kors outlet instead longchamp outlet of true religion outlet a ugg uk ray christian louboutin shoes of north face uk sunlight tory burch outlet appearing polo ralph lauren outlet online washed uggs outlet out prada handbags and nfl jerseys white, michael kors outlet online you're moncler outlet able burberry outlet to burberry handbags notice coach purses the hollister orange nike free uk and michael kors yellow replica watches hues timberland pas cher instead. jimmy choo outlet The nike roshe run picture converse,scarpe converse,converse italia,converse sito ufficiale,converse all star below michael kors outlet would p90x workout appear instyler a nike tn lot hollister pas cher more longchamp uk colorful, burberry pas cher for moncler instance:

michael kors outlet online ray ban sunglasses ugg,ugg australia,ugg italia ray ban uk north face nike air max iphone 6 cases pandora jewelry moncler,moncler outlet,moncler sito ufficiale celine handbags guess pas cher michael kors outlet store ray ban,rayban,occhiali ray ban swarovski abercrombie and fitch uk longchamp outlet true religion jeans hollister uk montre pas cher toms shoes doudoune moncler nike blazer pas cher nike roshe mcm handbags converse pas cher nike air max,air max,air max 2014,nike air max 2014,air max 90,airmax,air max 95,air max 2013,nike air max 90,nike air max 2013 louis vuitton baseball bats nike free run oakley sunglasses wholesale nike air max uk soccer shoes

mulberry uk
timberland shoes
red bottom shoes
louis vuitton
michael kors
coach outlet online
michael kors outlet
mont blanc mountain
chi hair strighteners
coach outlet
coach purses
canada goose sale
louis vuitton
coach outlet
true religion kids
belstaff jackets
coach factory store
tory burch flats
cheap toms
michael kors outlet
ralph lauren home
louis vuitton handbags
christian louboutin
hollister kids
michael kors outlet online
replica rolex watches
coach outlet
michael kors
lebron james shoes 2015
ugg boots
cheap oakleys
adidas running shoes
cheap uggs
chaenl bags
coach factory outlet
oakley sunglasses wholesale
coach outlet store online
coach outlet
tory burch outlet
michael kors handbags
jordan 11s
burberry outlet
coach factory outlet
jordan retro 8
polo ralph lauren online
cheap toms
cheap beats by dre
uggs on sale
tory burch sale
mont blanc
ugg boots
oakley sunglasses cheap
michael kors canada
hollister clothing
kobe bryant shoes for kids
louis vuitton outlet
michael kors outlet online
ugg slippers
abercrombie and fitch
adidas wings
michael kors outlet online
lululemon headbands
wholesale nfl jerseys
gucci outlet
ghd flat iron
toms.com
mont blanc pens
jordans 11
jordan retro
ugg outlet
ugg australia
tod's outlet
moncler jackets
timberland canada
nike outlet
coach factory outlet
michael kors outlet
michael kors outlet
michael kors outlet
ray ban eyeglasses
louis vuitton
louis vuitton handbags
polo ralph lauren online
jeremy scott adidas
imitation watches
insanity workout
ralph lauren bedding
coach outlet store online
ray ban outlet
canada goose jackets
coach outlet store
fitflop footwear
louis vuitton outlet
burberry outlet
michael kors
ugg boots
coach outlet store online
abercrombie kids
canada goose jacket
louis vuitton
louis vuitton handbags
ray ban aviators
ugg australia
michael kors outlet
discount oakley sunglasses
ugg australia
ray ban aviators
hollister jeans
coach factory
jordan 11
michael kors uk
hollister
michael kors uk
supra outlet
michael kors
canada goose sale
coach factory outlet
beats headphones
fitflop shoes
michael kors handbags
oakley sunglasses
toms shoes
michael kors outlet online
mont blanc legend
uggs outlet
concord 11
louis vuitton
louis vuitton handbags
gucci outlet
red shoes
louis vuitton outlet
ray ban outlet
michael kors outlet online sale
michael kors
montblanc pens
abercrombie & fitch
michael kors handbags
hollister clothing store
coach factory
cheap uggs
jordan retro 11
soccer jerseys
north face jackets
michael kors uk
chanel online shop
louis vuitton purses
michael kors outlet online
gucci outlet online
louis vuitton outlet
ray ban sunglass
polo shoes
tods sale
michael kors outlet online
burberry scarf
ralph lauren sale
gucci outlet online
retro jordans 13
michael kors outlet online
lululemon
michael kors uk
oakley sunglasses
louis vuitton handbags
jordan shoes
michael kors bags
cheap jordans
micahel kors outlet
jordan concords
coach outlet store online
marc jacobs outlet
timberland boots for men
uggs for women
dior outlet
ugg boots sale
ray ban outlet
prada handbags
coach outlet store online
ugg boots outlet
canada goose outlet online
ray ban sunglasses
michael kors handbags
christian louboutin outlet
new jordans
jordan 4s
christian louboutin outlet
ugg boots outlet
p90x workouts
oakley vault
mont blanc legend
michael kors purses
michael kors watches
hollister clothing store
michael kors outlet online
bottega veneta outlet online
louis vuitton outlet
abercrombie kids
ugg outlet
retro 11
burberry bags
christian louboutin shoes
louis vuitton outlet
ugg outlet online store
ray ban canada
michael kors outlet
retro 11
michael kors handbags
ray ban watyfarer
abercrombie & fitchfitch
burberry bags
louis vuitton
coach outlet
michael kors handbags
cheap oakleys
michael kors outlet
michael kors outlet
jerseys
louis vuitton handbags
abercrombie & fitchfitch
replica rolex watches
michael kors outlet
fendi handbags
hollister clothing store
coach outlet store online
canada goose
michael kors outlet
canada goose sale
abercrombie store
ugg boots
canada goose outlet
adidas shoes
timberland canada
abercrombie
michael kors outlet online sale
uggs outlet
discount oakley sunglasses
michael kors watches
knockoff watches
kate spade outlet
coach factory outlet
chanel bags
tory burch outlet online
coach factory outlet
michael kors
oakley sunglasses wholesale
abercrombie & fitch
abercrombie
timberland canada
louis vuitton outlet
louis vuitton handbags
canada goose outlet
tod's shoes
celine outlet online
ugg outlet
louis vuitton outlet
hollister jeans
nike nfl jerseys
ray ban sunglasses sale
louis vuitton handbags
ralph lauren
ray ban eyeglasses
louis vuitton
ugg boots for women
michael kors outlet online
oakley vault
tods outlet
jordan 3
michael kors uk
michael kors outlet online
jordan 3 retro
tory burch handbags
burberry outlet
ugg outlet
louis vuitton handbags
abercrombie and fitch
michael kors outlet
coach factory
christian louboutin outlet
true religion outlet
concords 11
ray ban eyeglasses
ugg boots
kors outlet
www.louisvuitton.com
michael kors watches
canada goose outlet stores
cheap nfl jerseys
timberland outlet
canada goose jackets
louis vuitton outlet
true religion outlet
michael kors
tory burch outlet
canada goose jackets
burberry scarf
burberry scarf
canada goose outlet
adidas shoes
christian louboutin shoes
christian louboutin outlet
abercrombie outlet
toms canada
michael kors outlet online
louis vuitton handbags
louis vuitton
replica watches
coach factory outlet
chirstian louboutin shoes
ray ban aviators
abercrombie
christian louboutin outlet
moncler jacket
polo ralph lauren
cheap jerseys wholesale
ray ban clubmaster
cheap toms
canada goose sale
jeremy scott adidas
christian louboutin shoes
canada goose outlet
guess outlet
toms outlet
ugg boots
gucci factory outlet
michael kors handbags
marc jacobs bags
michael kors
hollister clothing store
louis vuitton outlet
coach purses
burberry handbags
ugg boots
louis vuitton outlet
true religion sale
running warehouse
oakley sunglasses
true religion outlet
rayban sunglasses
ugg boots uk
fitflop outlet
coach outlet
abercrombie outlet
michael kors handbags
michael kors outlet
hollister clothing store
air jordans
uggs for kids
michael kors handbags
coach outlet store
christian louboutin
true religion
michael kors handbags
jordan retro 11
moncler
gucci handbags
ugg boots for women
tory burch handbags
canada goose
gucci belts
cheap toms
chanel handbags
coach outlet store online
tory burch handbags
tods sale
coach outlet
nfl jerseys
polo ralph lauren
ray ban glasses
abercrombie
fitflop shoes
celine bags
coach outlet
ugg shoes
michael kors outlet
coach outlet online
michael kors outlet online sale
coach outlet online
tory burch outlet
coach outlet store online
hollister clothing
michael kors canada
michael kors watches
ray ban outlet
discount rayban sunglasses
marc jacobs outlet
jordan 6 cigar
kevin durant shoes 2014
uggs for women
uggs outlet
ugg outlet
michael kors
true religion
true religion outlet online
uggs on sale
lv bags
rayban sunglasses
louis vuitton outlet
ugg on sale
ugg boots
oakley sunglasses
kobe bryant shoes 2015
coach outlet
ray ban clubmaster
louis vuitton handbags
abercrombie & fitch
oakley outlet
coach handbags
canada goose outlet
mulberry outlet
ugg boots outlet
jordan 11
abercrombie store
timberland uk
tory burch outlet online
ugg australia
coach outlet
coach factory online
jordan 11 concord low
burberry scarf
michael kors uk
abercrombie and fitch
coach outlet store online
coach factory outlet
timberlands
timberland boots
michael kors outlet online
toms wedges
ray ban outlet
michael kors handbags
louis vuitton
hollister
mulberry bags
coach factory outlet
coach outlet
mont blanc pen
ralph lauren outlet
louis vuitton
ray ban glasses
christian louboutin outlet
burberry outlet
fitflops outlet
louis vuitton purses
christian louboutin shoes
canada goose outlet online
timberland uk
michael kors outlet sale
michael kors outlet online
louis vuitton
canada goose sale
michael kors watches
michael kors
chanel outlet
michael kors handbags
gucci handbags
burberry scarf
kate spade
copy watches
red christian louboutin
burberry bags
louis vuitton purses
toms promo code
coach outlet store online
the north face
abercrombie
jordan 6 rings
burberry scarf
michael kors outlet
coach factory outlet online
uggs outlet
louis vuitton outlet stores
hollister clothing store
nike free run
hermes belts
ray ban aviator
timberland pro
canada goose
burberry sale
ugg boots
fitflop shoes
louis vuitton outlet
hollister co
rayban sunglasses
michael kors canada
michael kors outlet online sale
oakley sunglasses wholesale
ugg boots
oakley sunglasses outlet
coach factory
christian louboutin sale
burberry outlet store
oakley sunglasses
replica rolex watches
canada goose jackets
coach factory online
coach factory outlet
polo ralph lauren home
louis vuitton bags
oakley sunglasses cheap
gucci handbags
lebron james shoes for sale
ugg boots
hogan outlet
cheap uggs
coach outlet stores online
coach factory outlet online
belstaff outlet
toms wedges
michael kors outlet
michael kors uk sale
louis vuitton
christian louboutin shoes
air jordan 11
jordan 11 low
coco chanel
hollister kids
michael kors outlet online
polo ralph lauren online
louis vuitton
red bottoms

Leave a comment

Pages

About this Entry

This page contains a single entry by Klaus 'mrmoku' Kurzmann published on May 1, 2010 12:40 PM.

SHR Project gets a successful presentation at Openmobility conference was the previous entry in this blog.

SHR-T upgrade and no sound? is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.