Hello,
I would like to have full Bluetooth support with the HTC Desire and other HTC Sense roms. I have tried the normal NDK hack where you install some so files and headers but all the functions return -1 . I have been trying to find a solution but on the web but nothing...
Then I tried to strace the settings app so that I can find a working kernel call but nothing! If someone wants to help me or just suggest ideas please reply. I believe many developers want this.
My ultimate goal is to connect to the WiiMote. Also I wonder if the opposite is possible: using the phone as a WiiMote to play Wii (the motion sensors are already there....)
Thank you very much
Fingers crossed this works out. Really want my controller working. good luck with this
+1
10 char
S4Rs said:
I was just wondering if any more progress is gonna be made on HTC Sense devices. I know there were issues with the Bluetooth stack on those devices, but HTC has published the BlueZ source code for those devices on their developer website now.
http://developer.htc.com/
Click to expand...
Click to collapse
Anybody ?
See this...
xxx.youtube.com/watch?v=b_vCp7gj7W8
Does this mean something?
maybe it will give you guys some ideas...
I guess there is a way to do this, but maybe need change some codes...
In the PSfreedom wiki I see a lot of devices compatibles yet, including Nokia, Palm and HTC phones.
We need a guy with the knowledge to make this port for the Kaiser, and here is the most probable place to find him!
Port kernel psfreedom on HTC Kaiser
Hello;
I also have a Kaiser with the Kaiser rom CyanogenMod 6 [RLS5.2] and kernel-kaisimg panel2-240x320-2.6.32-tilt-froyo-02-09-10_16.nbh.
But when I try to load the module with "insmod psfreedom.ko su", you get an error "insmod: can not insert 'psfredom.ko': invalid module format".
I wonder if someone could not compile a kernel with the module in order to load the module to the application.
a developer want to try?
How much of the source is device specific?
Very little is device specific, you basically need to implement two very small functions, the problem is getting these two functions to work!
[edit] How hard is it to port it to a new device ?
The device specific code is separated from the core so it’s quite easy, there are mainly two functions to write, one to get and one to set the USB address.. two other functions that only return some static result depending on the configuration of the controller (the name of the endpoints, and whether the controller supports high speed or full speed mode). The real problem is that some controllers can be tricky and may not work as you would expect...
Read the README file provided with PSFreedom, and check the psfreedom_machine.c file for specifics on what to implement.
[edit] How can I port it to a new device ?
First, you need to figure out what controller your device uses, in the case of the N900, it’s ‘musb’, you can use the ControllerList to help you, if it doesn't, then extend it!
Then go to the driver code for that controller (probably in drivers/usb/gadget) and look for ‘SET_ADDRESS’. In the case of musb, it was in drivers/usb/musb/musb_gadget_ep0.c. In there it was setting the address to the USB device, so just copy that code into the psfreedom_machine.c to allow setting the address, and add a similar function to be able to retreive the address.
Then add a function to return 0 or 1 depending on whether the controller supports HIGH, FULL or LOW speed mode (go to usb_gadget_register_driver for your controller, and in the first lines, it should validate the speed argument, it will tell you which ones are acceptable), set LOW speed mode to return TRUE only if FULL and HIGH speeds are both unavailable.
Finally, add a function to return the endpoint names.. it will usually be something like ‘epXin’ and ‘epXout’ (where X is the endpoint number), or “epXin-bulk”, etc.. look at how the driver initializes its endpoints or grep for “->name” in the file to find where it sets it… If the controller you are porting to doesn't have an endpoint matching the endpoint description requested, then you are allowed to return a different endpoint as long as you properly modify the endpoint description to set the bEndpointAddress to the correct address address of the new endpoint (but you still have to respect the direction of the endpoint of course!)
Click to expand...
Click to collapse
://psfreedom.com/wiki/index.php?title=FAQ
I spent some time working on this. I am sure it is possible.
I think there are two things that would have to happen.
1. A custom kernel. - I know there are a few things that must be disabled in the kernel. ADB USB Functionality, USB Mass Storage Functionality, Tethering, and on some devices WiFI. (I forget where I read that these must be disabled, but I did read it)
2. Changes to the code.
I am no expert at this, I think I am proficient at doing SOME things. I created a zImage last night. I know I am missing something tried to create a custom NBH and put it on my kaiser no go.
So, think I'll be spending more time on this. Anyone had any luck working on this at all?
UPDATE:
I did some pocking around, this is what I found in msm72k_udc.c for the closest thing to SET_ADDRESS (It was USB_REQ_SET_ADDRESS)
Code:
writel((ctl.wValue << 25) | (1 << 24), USB_DEVICEADDR);
I will be honest unsure if this is the driver for the controller due to the fact that on the device the usb driver is msm_hsusb. However, I tend to be wrong more than I am right so....
This phone is capable of it i'm sure. I just tried every other psfreedom releases and experienced different behaviours with each one of them. Though i know that zImage needs to be modified. I'm no programmer so i can't really help anyone with this.
So let's hope someone work something out.
OK I think It is not the msm72k but the msm_hsusb, when you look at the device it shows that in the usb driver folder.
Based on the psfreedom site is "in progress". Hopefully someone smarter than I is working it bc dont think Ill get far.
i'm looking for a tytn2 port too! Thanks for all of you that's working for it.
sugestion...maybe put this thread as an official for psfreedom kaiser info?
thanks!
diamond port finished http://wiki.psfreedom.com/wiki/HTC_Raphael
this version can help for kaiser porting?
Yep as far as i know this is a good start...
Hi guys just passing by to show you something...
http://xdandroid.com/wiki/Supported_Devices
This android port works with kaiser as you can see in the compatibility table.
Is there anyone who's able to modify zImage for us?
I think we're getting close. The only problem so far is the usb driver.
Come on guys you can do it!
don't work on kaiser, kaiser is tilt no tilt2
pavo87 said:
don't work on kaiser, kaiser is tilt no tilt2
Click to expand...
Click to collapse
Oh man can someone remove number 2 from that table please just so i can sleep well tonight?
lol
but there are someone that is working on the porting?
sorry for my bad english
There is someone working on the msm_hsusb usb driver yes.
Let's wait and see
I think the usb on kaiser working.. mean someone tell me it work on linux.. but in WXP can it fork too I think.. someone can use usb on W7 x64. But I can't get it work there...
Can anyone tel me how get it fully work on W7 x64? Thanks
Sent from my HTC Kaiser Ion using XDA App
come on guys, u can do it!!!!!
Is still on development?, or nobody will continue?, its a shame, kaiser is very usefull on android Roms, maybe is not that easy to port.
By te way, is a port for HERO on the wiki, and kaiser runs several roms from Hero smartphone, is this useful?
http://wiki.psfreedom.com/wiki/Device_compatibility_list
Regards.
msm_hsusb is just an other driver for the MSM72K controller, which is used in older kernels.
http://wiki.psfreedom.com/wiki/Device_compatibility_list
Milmirex said:
By te way, is a port for HERO on the wiki, and kaiser runs several roms from Hero smartphone, is this useful?
Click to expand...
Click to collapse
I think so but we need a kind soul who can edit zImage for us to boot it with Haret...
Hi everybody, as I sadly have no programming skills I was wondering if sombody is thinking about a Project to implement TMC via FM-Radio for our desires. I know that there are similar Projects for windows mobile but sadly I think the development has stopped and support for android isn't given.
It would be great to use fm - tmc with navigon.
Thanks for any replies
coxtor said:
Hi everybody, as I sadly have no programming skills I was wondering if sombody is thinking about a Project to implement TMC via FM-Radio for our desires. I know that there are similar Projects for windows mobile but sadly I think the development has stopped and support for android isn't given.
It would be great to use fm - tmc with navigon.
Thanks for any replies
Click to expand...
Click to collapse
The Question is: Is it worth it since we have Dataconnection on Desire
Defenetly, it would be great not to have to use the internet connection - if you are in some different country for example
What's TMC?
http://nl.wikipedia.org/wiki/Traffic_Message_Channel
Here is the systeminfo.ini from S8600 device.
#systeminfo
ScreenHeight=800
ScreenWidth=480
ScreenDPI=282
ScreenBitsPerPixel=32
PlatformVersion=2.0
PlatformVersionMajor=2
PlatformVersionMinor=0
PlatformVersionIdentifier=0
PlatformVersionInternal=0
OpenGLESVersion=1.1/2.0
KeyboardType=None
NetworkType=GPRS
BluetoothSupported=Supported
WiFiSupported=Supported
GPSSupported=Supported
WPSSupported=Supported
HapticSupported=Supported
FmRadioSupported=TRUE
TvOutSupported=TRUE
CameraCount=2
VideoRecordingDefaultCodec=VIDEO_CODEC_MPEG4SP
VideoRecordingCodecs_Count=3
VideoRecordingCodecs0=VIDEO_CODEC_MPEG4SP
VideoRecordingCodecs1=VIDEO_CODEC_H263
VideoRecordingCodecs2=VIDEO_CODEC_H264
VideoRecordingDefaultFormat=MP4
AudioRecordingDefaultFormat=AMR
SamsungAppsAppId=8d7uw8z551
InAppPurchaseAppId=868j8073q1
WiFiDirectSupported=TRUE
NFCSupported=FALSE
OverlayRegionMaxCount=2
OverlayRegionWidthUnit=16
OverlayRegionHeightUnit=16
MaxOverlayRegionCount=2
MultiPointTouchCount=6
Click to expand...
Click to collapse
It's simple , WiFiDirect i set to True... then I try this setting on S8500 device but... it did not work
Then here is my question: has the wifi chip need some specs to be compatible with wifi direct?
lasentenza said:
Here is the systeminfo.ini from S8600 device.
It's simple , WiFiDirect i set to True... then I try this setting on S8500 device but... it did not work
Then here is my question: has the wifi chip need some specs to be compatible with wifi direct?
Click to expand...
Click to collapse
Good Question
You see that Wi-fi.org says that it's just a software upgrade and does not require a special chip cuz wave has 802.11 a/b/g/n
lasentenza said:
Here is the systeminfo.ini from S8600 device.
It's simple , WiFiDirect i set to True... then I try this setting on S8500 device but... it did not work
Then here is my question: has the wifi chip need some specs to be compatible with wifi direct?
Click to expand...
Click to collapse
I tried as well, but same result
My theory: there is something implemented also in apps_compressed.bin. I had no time to explore but i think the key is right there.
hmmmmmmmmm
We need to do further research to understand this
Why no one said that "it is implemented in *.so files" ??
For instant i saw Wifi-direct in My files & Gallery apps
Most strange thing that *.so files from S8600 are away different from S8500
take MediaExplorer.so file as an example
From S8500...About 400 kb
From S8600...About 30 kb !
Why this big difference ?!
Maybe i thought in the wrong direction and functions are implemented in S8600 Apps_comressed.bin
What i am sure of that the file holding System Info has nothing to do with Phone functions ....It is made for apps like badaSI
Best Regards
Bump
Anyone saw this app example before ?? : http://developer.bada.com/documentation/docView.do?docID=D000001423&&searchCategoryID=C000000009&searchTag=&searchDisplayDate=¤tPage=1&menu=MC01310000&pageCount=10&orderField=DISP_DD_TXT_DESC&searchPubYNFlag=Y
If you got two devices and the SDK you can test this
Not tested yet though !
Best Regards
mylove90 said:
Bump
Anyone saw this app example before ?? : http://developer.bada.com/documentation/docView.do?docID=D000001423&&searchCategoryID=C000000009&searchTag=&searchDisplayDate=¤tPage=1&menu=MC01310000&pageCount=10&orderField=DISP_DD_TXT_DESC&searchPubYNFlag=Y
If you got two devices and the SDK you can test this
Not tested yet though !
Best Regards
Click to expand...
Click to collapse
i tried to test it early,But something is wrong,Mabe I did id Wrong
I would like to use my Z1 Compact as acceleration sensor for some physics experiments.
To get some info about resolution etc, it would be nice to know which exact sensor is used.
Code:
adb dumpsys sensorservice
only told me it is a "BMA2X2 Accelerometer/Temperature/Double-tap| BOSCH".
The problem is BMA2x2 seems to be a generic driver for several different Bosch sensors.
Any further helpful commands / ideas?
I had some further hope finding something in "dmesg" which has not been the case.
Thanks in advance