Android 2.2 (Froyo) and Pairing with Car-Kit/rSAP/HFP - Android Software/Hacking General [Developers Only]

Hello everyone,
I would like to share my experience in pairing my Galaxy 3 with the Car-Kit. The configuration is as follows:
Phone: Samsung Galaxy 3 GT-i5800 with Android 2.2 Froyo (not official)
Car-Kit: Bluetooth Touch-Adapter, No: 3C0051435TA
Auto: VW-Passat, Year 2007
In the VW-Specification this phone is not at all supported, and was not possible to pairing with the Touch-Adapter.
Than, I looked into the bluetooth configuration and made some small changes (my phone is rooted) to activate Hands Free Profile.
And it works!!! now I can pairing my phone and get the contacts form SIM into the adapter.
If you're interested I can provide the modified config files and for the users with no rooted phones an update.zip (I must try first).

Yes, please do ))
I've been having the same problem.

guerrpaz said:
Yes, please do ))
I've been having the same problem.
Click to expand...
Click to collapse
Ok. I'll try this weekend to post something.

Bluetooth configuration
Hello,
As I promised, the user with ROOTED phone must unzip and overwrite the attached config audio.conf file in the folder
/system/etc/bluetooth/audio.conf
The config file is from Android 2.2 (Froyo) but you can look to the similar settings for other versions of android.
If it works PLEASE give me a feedback with the following infos (useful for other users too):
Phone: - brand, model, android version
Car-Kit: - brand, model, etc.
Auto: - brand, model, year

Will do, thanks a lot.

It doesn't work, keep getting "incompatível phone" error.
Tried swapping the audio config file with yours, deleting autopair and blacklist files, restoring the old audio config without restoring autopair and blacklist...
No results.
My phone is an HTC Desire with unofficial froyo.
The car is a VW golf from 2010, equipped with a premium rcd 510 radio.
Thanks and have a nice weekend.
Sent from my HTC Desire using XDA Premium App

guerrpaz said:
It doesn't work, keep getting "incompatível phone" error.
Click to expand...
Click to collapse
I'm really sorry. I flashed my phone with a new version, rechanged the audio.conf and still works. But for HTC there are mod roms? Aren't they? These mods are supposed to be better than the stock ones!?

I'm using the latest MCR Rom witch is quite good,i think the problem is brand related.
This Android - RSap incompatibility is well documented, its open issue #4402 .
I read somewhere Samsung had implemented RSAP in their software, so maybe it's brand specific and only Samsung Android Phones will work with RSAP.
Thanks for your kindness.

Related

How to Connect Your Android Device to Ad-hoc Wifi Network

http://www.emoiz.com/how-to-connect-your-android-device-to-ad-hoc-wifi-network
Thanx, will try it later
Wpa_supplicant link is not working
hystrix65 said:
Wpa_supplicant link is not working
Click to expand...
Click to collapse
+1
Not Found
Sorry, but you are looking for something that is not here.
Do you know where can i find it?
Not working with my chinese device
tried and failed with it.....any solution ?????
I checked few more posts about wpa_supplicant. It looks like the generic or posted files works on some device models. May be It depends on device configuration as well. wpa_config is associated file which may also need some change relavant to the wpa_supplicant or need modification for specific device models.
I am dont understand the code fully. I hope someone will sort it out
it's working on samsung galaxy s and many htc phones with
2.1 / 2.2 / 2.2.1 ( some 2.3.3 also if )

[Q] HTC Incredible S + Accessory Development Kit (ADK)

Hi XDA.
I am new to this forum but have been working with Android devices and application development for about a year.
Recently I switched phone and bought the HTC Incredible S.
Besides of the phone development I have an electronics consultancy company doing different development jobs and electronics hardware reviews.
This week we got the Arduino MEGA ADK to review but I am unable to install the DemoKit application on my phone.
This is the log from Eclipse:
Code:
Installation error: INSTALL_FAILED_MISSING_SHARED_LIBRARY
E/PackageManager(1448): Package com.google.android.DemoKit requires unavailable shared library com.android.future.usb.accessory; failing!
This seems like a problem regarding the missing Google API on the phone. Though the phone is currently running Android 2.3.5 with Kernel version 2.6.35.9.
After a Google search it seemed like the Google API was first included in the kernel version at and above 2.6.35 - but then why doesn't it work.
My question is if HTC have removed this from the Kernel?
And what can I do to get the Google API to my phone so I can use it with the ADK?
Best Regards
Thomas Jespersen
you are missing 2 library's:
android.hardware.usb.accessory.xml sould be placed in /system/etc/permissions/
and
com.android.future.usb.accessory.jar sould be placed in /system/framework/
you can extract them out of an up to date ported sense rom of a htc sensation.
I made an update package for that problem but i can't share the link here because I do not have posted enough post to do so.
I will try to PM the link to you.
Tell me if it works, then I know that i can buy a HTC incredible s for my development.
Hydergine said:
you are missing 2 library's:
android.hardware.usb.accessory.xml sould be placed in /system/etc/permissions/
and
com.android.future.usb.accessory.jar sould be placed in /system/framework/
you can extract them out of an up to date ported sense rom of a htc sensation.
I made an update package for that problem but i can't share the link here because I do not have posted enough post to do so.
I will try to PM the link to you.
Tell me if it works, then I know that i can buy a HTC incredible s for my development.
Click to expand...
Click to collapse
Thanks, I will be waiting for your PM.
Currently my phone isn't Rooted, but I would definitely do that if it is necessary to install this fix, so I can do the ADK development with it.
ADK
Indeed your phone needs to be rooted and have Clockworkmod installed.
As far as I know it is not hardware or firmware specific since it worked on my htc HD2 an on my HTC hero(partly). I could install the demokit.apk and it would not crash since there was no support in my kernel it could not communicate with my arduino.
Since my HD2 and my hero both run an old kernel and flashing other kernels did not work out very well I was forced to buy a nexus S (yesterday).
But since your phone has the 2.6.35 kernel and 2.3.5 from stock I think this could be the solution.
You could try to check if your kernel supports the ADK first, because you are not rooted and you maybe do not want to root your phone if it does not work afterwards.
If you have got the arduino part up and running you could try this:
#include <Max3421e.h>
#include <Usb.h>
#include <AndroidAccessory.h>
Code:
AndroidAccessory acc("Google, Inc.",
"DemoKit",
"DemoKit Arduino Board",
"1.0",
"h t t p : / / w w w DOT android DOT c o m ",
"0000000012345678");
void setup();
void loop();
void setup()
{
Serial.begin(115200);
Serial.print("\r\nStart");
acc.powerOn();
}
void loop()
{
byte msg[3];
if (acc.isConnected()) {
Serial.print("Accessory connected. ");
int len = acc.read(msg, sizeof(msg), 1);
Serial.print("Message length: ");
Serial.println(len, DEC);
}
delay(100);
}
Change the "DOT" to "." and remove the [spaces] in the above otherwise I could not post this because of that "10 posts rule"
Just paste this in an empty skech and upload. The extra libraries are easy to find. Even if you are using the arduino 2009 or the arduino uno the custom files are also pretty easy to find.
The serial monitor schould say:
Code:
Start
Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
device supports protcol 1
Device addressed... Requesting device descriptor.
found android acessory device
config desc
interface desc
if the serial monitor dislpay's something like this:
Code:
Start
Device addressed... Requesting device descriptor.
found possible device. swithcing to serial mode
Data packet error: 5could not read device protocol version
I would seriously consider buying another phone because the above was what i was getting with my HD2 on every available kernel and rom. I have been wasting my time since december.
As you see after all I had to buy an other phone after all.
I hope this helps
hi
You never get HD2 to use ADK?
i bought an arduino mega adk and i want to use it..
i don't have money to buy a new phone...
any advice? thanks
What is your current phone?
I have seen a google G1 working with ADK, i would sugest to maybe buy a second had phone that has 2.3.4 or higher on stock rom. For instance my mom's samsung galaxy mini can handle ADK on stock rom and I bought it for her Christmas for 100€, new in the store. So I think you can pick up a second hand one for a decent price (like 60€) maybe that could be the solution.
If you are going to buy a phone and you are not sure if it works with ADK take your laptop with you and use the test program that I mentioned in my last post, if the software doesn't recognize the phone you can still walk away from it.
I would really not recommend to start messing around with kernels and the library's for me it was a pain in the ass. If I would have worked all the hours that I have spend messing around, I could have bought a new HTC sensation.
hi
How Bad i can't use my HD2 with ADK..
well, i can't pay for an expensive phone but i can do and efford to buy some other phone i like HTC Sensation xl, or Motorola Atrix 2, but they are a expensive for me.. do you know if they work with ADK? other option can be a galaxy tab with 3.1 or motorola Xoom.. but i want a phone with ADK.
i haven't try my hd2 with kernel 2.6.35 with the sketch that you post.. so i'll give it a try and extract the files that someone mentioned i found them in my actual ROM..
i know it's difficult but maybe i get them to work.. thanks
htc sensation xl
I know for shure that a htc sensation xl because my girlfriend has one and I did try some stuff with that one since my hd2 wasn't compatible with ADK. I have heard people having trouble with ADK on samsung tablets so if youre are going to buy one be sure to test it before u pay for it.
Hydergine said:
you are missing 2 library's:
android.hardware.usb.accessory.xml sould be placed in /system/etc/permissions/
and
com.android.future.usb.accessory.jar sould be placed in /system/framework/
you can extract them out of an up to date ported sense rom of a htc sensation.
I made an update package for that problem but i can't share the link here because I do not have posted enough post to do so.
I will try to PM the link to you.
Tell me if it works, then I know that i can buy a HTC incredible s for my development.
Click to expand...
Click to collapse
I have now tested this on a stock but rooted ROM with 2.3.5, and 2.6.35 kernel, installed using Clockworkmod - and unfortunately it didn't work.
It gave me the complete same error as before I installed the files (*.usb.accessory.*).
Thank you anyways. I will be trying some different ROMs today to see which of them supports the ADK. Though I will be trying the Sense ones as I would like to keep using Sense.
You are right my explanation was not clear enough, the kernel needs to be compiled with the right flags set. Some developers take all the options but most of them just set the flags needed for the rom to run.

[App] Srlabs releases "SnoopSnitch" for detecting IMSI-Catchers, silent SMS...

[App] Srlabs releases "SnoopSnitch" for detecting IMSI-Catchers, silent SMS...
unfortunetely it only works with some qualcom based devices, you can find a list of working devices under:
https://opensource.srlabs.de/projects/snoopsnitch/wiki/DeviceList
new version is out: 0.9.3
Version 0.9.3
Support Android 5
Fix initialization issue on newer devices
Translation to German and Dutch
Click to expand...
Click to collapse
SnoopSnitch is an Android app that collects and analyzes mobile radio data to make you aware of your mobile network security and to warn
you about threats like fake base stations (IMSI catchers), user tracking and over-the-air updates. With SnoopSnitch you can use the data collected in the GSM Security Map at gsmmap.org and contribute your own data to GSM Map.
This application currently only works on Android phones with a Qualcomm chipset and a stock Android ROM. It requires root priviliges to capture mobile network data.
Requirements:
Qualcomm-based Android phone (see list below)
Stock Android ROM, version 4.1 or later
Note: Unfortunately, custom Android ROMs like CyanogenMod are not supported, as they lack the drivers necessary to collect radio data.
Root privileges on phone
Tested Devices:
The following devices have been verified to work:
Samsung S3 Neo (GT-I9301I)
LG G2 (LG-D802)
Sony Xperia Z1 (C6903)
Samsung S5 (SM-G900F)
Motorola Moto E (Moto E)
Samsung S4 (Qualcomm variant)
It is very likely that other Qualcomm-based Android phones also work, if they are rooted and have a stock firmware.
Incompatible Devices:
The following devices have been found to be incompatible and can not be used with SnoopSnitch:
UNSUPPORTED: Every device without a Qualcomm chipset
UNSUPPORTED: Every device with custom ROM
UNSUPPORTED: Samsung Galaxy S2 & S3
UNSUPPORTED: Nexus 5
UNSUPPORTED: Huawei Ascend Y300
Click to expand...
Click to collapse
from https://opensource.srlabs.de/projects/snoopsnitch (project site)
or google play link:
https://play.google.com/store/apps/details?id=de.srlabs.snoopsnitch
Not working on my HTC ONE M7 converted to GPE 5.0.1 .
Root, S-OFF etc. available. Is there any information about this?
geminga said:
Not working on my HTC ONE M7 converted to GPE 5.0.1 .
Root, S-OFF etc. available. Is there any information about this?
Click to expand...
Click to collapse
Possibly your kernel lacks the necessary support. For instance people with a Nexus 5 can flash this kernel: http://d-h.st/mmb (thanks to this thread: http://forum.xda-developers.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561). About what the OP said: I can't see why this app wouldn't work on a custom ROM such as CM11 as long as the kernel has the necessary options.
xd.bx said:
About what the OP said: I can't see why this app wouldn't work on a custom ROM such as CM11 as long as the kernel has the necessary options.
Click to expand...
Click to collapse
Well, Carsten Nohl, one of the developers, said yesterday on 31C3, that on CustomROMS like CM certain proprietary drivers are missing, which are needed for getting certain debugging information. Later yesterday in a workshop on 31C3 participants found out, that on some CM11 Phones the app is working.
There the app worked on:
Samsung S3 Neo
Samsung S5
LG G2
Sony Xperia Z1
Motorola Moto E
and dind't work on
Samsung S2, S3, S4 and S5 Exynos
Nexus 5
Fairphone
you can watch the presentation from Nohl on 31C3 here:
http://media.ccc.de/browse/congress...830_-_mobile_self-defense_-_karsten_nohl.html
on my nexus5 with slimkat 8.20 it says:
"device /dev/diag does not exist"
About the compatible devices - I can confirm the app works on on Xperia V with the stock 4.3 Android. It gives no errors, but I have not yet encountered malicious GSM cells to verify the detection works ok.
Why do we have to make long distance calls and send sms to use this app?
http://forum.xda-developers.com/showthread.php?t=1422969
Celestial Fury said:
Why do we have to make long distance calls and send sms to use this app?
Click to expand...
Click to collapse
This is part of active testing, the number called should be busy. Read more on the project site mentioned in the first post.
rudolfm said:
This is part of active testing, the number called should be busy. Read more on the project site mentioned in the first post.
Click to expand...
Click to collapse
Sure I did. It doesn't say why we have to call/sms a specific number and why we data can't be gathered from our every day call/sms and why data can't be sent to the test site through the internet rather than call/sms.
XsheldorX said:
on my nexus5 with slimkat 8.20 it says:
"device /dev/diag does not exist"
Click to expand...
Click to collapse
You need to flash a compatible kernel. http://d-h.st/mmb
Works on my SONY Xperia Z1 with CM11.
Though, when doing the test call my device was banned, for whatever reason....
Yeah I can (probably) confirm this with Z1 compact with CM 11. Works since day one I guess. The test works (around the first days incoming calls and sms did not, probably because of overload of the callingserver), but never had any sort of attacks. Now I'm in doubt if radio-part does not work with cm 11, as mentioned in the description, or there were zero attacks.
Another thing I observed. The software sometimes produces many wake-locks. But I guess thats normal if backgroundservice is active.
@ papperlapapp: Did you monitor any attacks (SS7 or silent sms)? Or even IMSI-catchers?
Installed the app without problems on my S5 with Phoenix ROM (Stock Based). However, when I start the active test, the app stops responding and android asks me several times if I want to close it. I chose no every time. Now I'm wondering if the tests are still running in the background or if the app just hang. Started the tests about 35 min ago, still waiting, absoluteley nothing happened yet.
Why not install something like https://f-droid.org/repository/browse/?fdfilter=monitor&fdid=com.eolwral.osmonitor and see if that task is stil running?
Usefull tool anyway
happy monitoring
Works on Samsung Note 3 SM-N9005
Sent fra min SM-N9005 via Tapatalk
xperia E1 seemingly working
E1 seems to work.
but now what ? where are the logfiles where I see stuff live?
google 31c3 "mobile self defense" for the thrilling background story
let's all hope the CCC talkers have learnt better English by 2016 (Mr Nohl being one of the best still) !
https://media.ccc.de/browse/congres...self-defense_-_karsten_nohl.html#video&t=3838
xd.bx said:
Possibly your kernel lacks the necessary support. For instance people with a Nexus 5 can flash this kernel: http://d-h.st/mmb (thanks to this thread: http://forum.xda-developers.com/google-nexus-5/general/radio-enable-lte-band-3-nexus-5-d820-t2928561). About what the OP said: I can't see why this app wouldn't work on a custom ROM such as CM11 as long as the kernel has the necessary options.
Click to expand...
Click to collapse
Will this kernel work on Nexus 5 with lollipop 5.01 ? I notice the file name is specific for android 4.4.2
MForce22 said:
Will this kernel work on Nexus 5 with lollipop 5.01 ? I notice the file name is specific for android 4.4.2
Click to expand...
Click to collapse
I don't know. Just try, at worst you'll have to reflash the old kernel back.
itman-ch said:
Why not install something like https://f-droid.org/repository/browse/?fdfilter=monitor&fdid=com.eolwral.osmonitor and see if that task is stil running?
Usefull tool anyway
happy monitoring
Click to expand...
Click to collapse
it is on play store too ^^
srlabs posted a device list:
https://opensource.srlabs.de/projects/snoopsnitch/wiki/DeviceList
and a new version is out:
Version history
Version 0.9.2
Fixed app lock-up issues
Improved device compatibility check
Handled unsupported LTE gracefully
Version 0.9.1
Fix problem where SnoopSnitch would leave the phone muted after a test
Remove issue with disappearing (Skype) dialing dialogs
Resolved performance issue in analysis
Version 0.9.0
Initial public release
Click to expand...
Click to collapse

Symbol MC7090 Need Android ROM

Hi All,
I have a Symbol/Motorola MC7090 it's currently running Windows Mobile 5.0 with messaging and security feature pack.
I cannot connect via Wifi and I cannot get the barcode scanner to work.
It was used by a developer to test there apps, I was told that it was reset back to factory specs.
Has anyone got a ROM so that I can put Android on this??
Best Regards
slyfoxbrewery
I hate to revive this post, but I have the same sort of question. Please let me know if I need to start a new thread. In my case, I have two ROMs from "Zebra" (who seems to have taken over this part of that company). Mine is also the MC40, but the question I have is what do I need to do to essentially convert this from a Windows 7 CE device, to an Android device. I have the drivers for both the Win version and the Android version. I also have 3 of the Android devices and 2 of the Win devices. The model numbers are exactly the same, only the OS is different. Im doing this for the company I work for. Any help would be greatly appreciated. Thanks in advance.

Setting up Android on a smart projector

Hi, I got myself a smart projector running on Android. Unfortunetely the deveopers installed a really old version and it seems there is no way to update them. When trying to add an account to the system or let alone update the system tells me that it can not communicate with the google servers. So, I am planning to install a new Android version on the smart projector.
Can anyone point me towards a good resource (on the net) that tells me what information I need to have, which files from the current installation I need to keep (i.e. drivers) before installing whoch ROM?
Thanks in advance for your help!
Pankratius70 said:
smart projector running on Android
Click to expand...
Click to collapse
Sounds familiar - having the same problem: My Philips Picopix 4935 is a splendid device but its Android 4 isn't much fun (especially with newer audio/video-formats).
What model do you have?

Categories

Resources