maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900... (https://talk.maemo.org/showthread.php?t=59114)

Reflektorfalke 2011-10-31 21:53

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116527)
In that case you do not need to make a backup of the libopenobex lib. Just copy libopenobex.so.2.0.0 to the n9. Then whilst in /usr/lib:

ln -s libopenobex.so.2.0..0 libopenobex.so.2

Damn, doesnīt work :mad:

This is what I did:
Copied from N900 to N9:
obexd to /usr/lib/obex and
libopenobex.so.2.0.0 to /usr/lib

Then
ln -s libopenobex.so.2.0.0 libopenobex.so.2

Can still pair phone and carkit, but when it tries to transfer contacts it cancels immediately. Nothing transferred at all...

Thanks again anyway mirakels, your efforts are highly appreciated!

Reflektorfalke 2011-10-31 22:24

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
**** now my device is bricked!
"Device is malfunctioning"
"Security problem with obexd"
Dont follow the steps described before!

Hope I find out how to flash this baby :mad:

mirakels 2011-11-01 15:04

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I'm sorry you got into trouble with the device.
maybe there is a way to reinstall the obexd package.
It might be that they setup selinux on the device to guard against overwrites. Guess someone must know about that on the meego forums...

Reflektorfalke 2011-11-01 15:43

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116896)
I'm sorry you got into trouble with the device.
maybe there is a way to reinstall the obexd package.
It might be that they setup selinux on the device to guard against overwrites. Guess someone must know about that on the meego forums...

No worries, wasnīt your fault, appreciate your support on this!
Did everything on my own risk and canīt even tell what exactly bricked the device. When I tried to investigate this further I noticed that ps | grep obex didnīt give me the usual startup command. So I did a chmod a+x obexd and tried to restart obex manually. But restarting was denied with permission denied (yes I was root). Then I wanted to reboot, but phone just gave me a warning as described before.
Thus, reinstalling obexd package wasnīt possible and I had to reflash.
Reflash worked like a charm, so I am again a happy N9 user...Besides the PBAP-issue of course :D

Android_808 2011-11-01 16:05

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
I was kinda hoping someone was going to look at update evolution-dataserver to allow more recent versions of obexd etc. to be used.

erendorn 2011-11-01 17:33

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by Reflektorfalke (Post 1116917)
No worries, wasnīt your fault, appreciate your support on this!
Did everything on my own risk and canīt even tell what exactly bricked the device. When I tried to investigate this further I noticed that ps | grep obex didnīt give me the usual startup command. So I did a chmod a+x obexd and tried to restart obex manually. But restarting was denied with permission denied (yes I was root). Then I wanted to reboot, but phone just gave me a warning as described before.
Thus, reinstalling obexd package wasnīt possible and I had to reflash.
Reflash worked like a charm, so I am again a happy N9 user...Besides the PBAP-issue of course :D

The aegis security checks the hashes of the binaries, and compare them to authorized ones. It will prevent you from running your non Nokia signed version, even as root (permission denied), and will prevent the system from running it during boot (bricked device).
If you don't need too many privileges for obexd, you can try to package your custom version, and install (dpkg) it in devel mode (which may get aegis to register and trust the binary).
If this needs privileges restricted to Nokia, then you won't be able to change the obexd without using a custom, aegis-free kernel.

See there for details.

Reflektorfalke 2011-11-03 19:17

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by erendorn (Post 1116974)
The aegis security checks the hashes of the binaries, and compare them to authorized ones. It will prevent you from running your non Nokia signed version, even as root (permission denied), and will prevent the system from running it during boot (bricked device).
If you don't need too many privileges for obexd, you can try to package your custom version, and install (dpkg) it in devel mode (which may get aegis to register and trust the binary).
If this needs privileges restricted to Nokia, then you won't be able to change the obexd without using a custom, aegis-free kernel.

See there for details.

This was my guess, Aegis being the bad boy here :mad:
But thanks for the details and clarification anyway!
Unfortunately I have no idea how to package my own version, but at least there is some hope:
Konttori said...
Quote:

A lot of work has been put to better interoperability of BT with cars. I don't know of the exact model you have, but likely the situation is better in PR1.1
link

sjordet 2011-11-04 13:32

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by mirakels (Post 1116523)
It is not that the n9 does not supprot IrMC. It is just that pbap is enabled (--pbap) while irmc is not (there is no --irmc commandline option in your ps output) Adding --irmc should enable IrMC.

Aha, this is very interesting. Is there any reason that this wouldn't be enabled by default?

Thank you :)

sjordet 2011-11-04 13:42

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Wrong forum, but do anyone know where the startup options for obexd are specified?

Can't find it anywhere, and I can't kill the obexd-process, so I can't start it manually with the right options either...

Reflektorfalke 2011-11-04 19:47

Re: [Announce] Bluetooth PBAP and IrMC / Carkit support is coming to N900...
 
Quote:

Originally Posted by sjordet (Post 1118274)
Wrong forum, but do anyone know where the startup options for obexd are specified?

Can't find it anywhere, and I can't kill the obexd-process, so I can't start it manually with the right options either...

You can find obex start command in
/usr/share/dbus-1/services/obexd.service


(On N900, but should be the same on N9)

Not sure, but it might be no good idea to edit this file, as it might also brick your device!?


All times are GMT. The time now is 04:56.

vBulletin® Version 3.8.8