Fire has Bluetooth and FM Radios but... - Kindle Fire General

according to the ifixit teardown, at least on the first production run it looks like they used a Jorjin WG7310 WLAN controller that also includes BT and FM. it appears they simply left out the antenna and now that we have source, has anyone looked at how difficult it would be to cook in BT and FM support, assuming we install our own antennas?
http://www.jorjin.com/Product_SiPmodule_WG7310.htm

How do you know that they left out the antennas?

mdstricklin said:
How do you know that they left out the antennas?
Click to expand...
Click to collapse
well the antennas would have had to be detailed on the FCC filing and they were not. I can't imagine why they would pay extra to engineers to design in antenna routing for features they were never planning on using anyways. Then the cost of having the antennas put in the hardware would also be unnecessary......im fairly certain they were trying to cut every dollar out of it when possible, but i dont know for sure yet

The Nook Color has a similar chip and no antenna but Bluetooth still functions though with a range of only few feet. I don't know the correct physics terminology, but I believe the chip and the system board act as a primitive antenna. Of course, if the BT functionality operates through separate pins on that chip than the wifi then BT will only work if those data and power pins are properly connected into the system too.

heres something i just noticed.. in the init.rc it has this:
# do not launch the Radio Interface Layer daemon (RILd) service
# since there is NO modem on the board
#service ril-daemon /system/bin/rild
# socket rild stream 660 root radio
# socket rild-debug stream 660 radio system
# user root
# group radio cache inet misc audio sdcard_rw
but, then it has this:
service bluetoothd /system/bin/bluetoothd -n
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let bluetoothd drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
so it seems that it could support bluetooth.. i installed the bluetoothd binary, but in logcat at boot it says:
BluetoothHeadset( 1394): Could not bind to Bluetooth Headset Service
ActivityManager( 1394): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
so im guessing the next thing is to mod the services.jar to include bt services?

just checking on the thread, if it has the hardware you would think this would be a big deal

jamesnmandy said:
just checking on the thread, if it has the hardware you would think this would be a big deal
Click to expand...
Click to collapse
the 2nd chip in the wifi module is the same as the WiFi/BT front end chip in the Nook Color. This is antenna switch, combining both the BT and WiFi connections to use only one antenna. See here and here and here.
If the BT portion is hooked up to a UART on the OMAP, and the BT power enable is wired or connected in tandem with the WiFi power, then BT should be possible.

I found this site with a good picture of the inside of the Kindle. They battery takes up most of the room.
http://www.theverge.com/2011/11/16/2565949/kindle-fire-root-teardown-source-code

pokey9000 said:
the 2nd chip in the wifi module is the same as the WiFi/BT front end chip in the Nook Color. This is antenna switch, combining both the BT and WiFi connections to use only one antenna. See here and here and here.
If the BT portion is hooked up to a UART on the OMAP, and the BT power enable is wired or connected in tandem with the WiFi power, then BT should be possible.
Click to expand...
Click to collapse
i am excite!

pyrorob said:
heres something i just noticed.. in the init.rc it has this:
# do not launch the Radio Interface Layer daemon (RILd) service
# since there is NO modem on the board
#service ril-daemon /system/bin/rild
# socket rild stream 660 root radio
# socket rild-debug stream 660 radio system
# user root
# group radio cache inet misc audio sdcard_rw
but, then it has this:
service bluetoothd /system/bin/bluetoothd -n
socket bluetooth stream 660 bluetooth bluetooth
socket dbus_bluetooth stream 660 bluetooth bluetooth
# init.rc does not yet support applying capabilities, so run as root and
# let bluetoothd drop uid to bluetooth with the right linux capabilities
group bluetooth net_bt_admin misc
disabled
so it seems that it could support bluetooth.. i installed the bluetoothd binary, but in logcat at boot it says:
BluetoothHeadset( 1394): Could not bind to Bluetooth Headset Service
ActivityManager( 1394): Unable to start service Intent { act=android.bluetooth.IBluetoothHeadset }: not found
so im guessing the next thing is to mod the services.jar to include bt services?
Click to expand...
Click to collapse
It appears that the Bluez packages are missing. In the init.ompa4430.rc, this line is disabled:
#Permissions for Bluetooth
# chown bluetooth bluetooth ro.bt.bdaddr_path
but...
the following lines are enabled (this may be for WiFi and not BT):
#change permisisons for radio
chmod 0660 /dev/ttyS0
chown radio radio /dev/ttyS0

This is Great News! Cant Wait to Start Modding!

My HTC EVO Shift has a FM radio built in and it will not turn on unless the headphones are plugged in it uses the cord as a antenna so no internal is needed.

Bluetooth working with CM7?
Anyone flashed the CM7 image that was released recently to see if Bluetooth works with that ROM?

asb2164 said:
My HTC EVO Shift has a FM radio built in and it will not turn on unless the headphones are plugged in it uses the cord as a antenna so no internal is needed.
Click to expand...
Click to collapse
Blue tooth will only work with a edited Kernel
Sent from my Kindle Fire using xda premium

BT does not work yet in CM7 or even the latest build of CM9 for the kindle fire
whistlestop said:
Anyone flashed the CM7 image that was released recently to see if Bluetooth works with that ROM?
Click to expand...
Click to collapse
Sorry guys doesn't work yet. I will try to create a custom kernel tonight though.

That would be cool if we had access to bluetooth and FM transmitters

awidawad said:
Sorry guys doesn't work yet. I will try to create a custom kernel tonight though.
Click to expand...
Click to collapse
Do your best man. This is the only thing keeping me from an ics rom
sent from my rooted kindle fire

Possible Problem...
Sorry guys might not be tonight because the basic bluetooth driver I tried for the kf won't work. I may have to make even more modifications to the kernel, so this might take awhile. Another problem is the possibility of different hardware in different kindles. http://forum.xda-developers.com/showthread.php?t=1430473&page=3 As you can see the bt and fm is crossed out in this model.

Can't wait to hear of more progress on this.

awidawad said:
Sorry guys might not be tonight because the basic bluetooth driver I tried for the kf won't work. I may have to make even more modifications to the kernel, so this might take awhile. Another problem is the possibility of different hardware in different kindles. http://forum.xda-developers.com/showthread.php?t=1430473&page=3 As you can see the bt and fm is crossed out in this model.
Click to expand...
Click to collapse
That would not be good to have different hardware in some kindles, hope mine has the good stuff, lol
Sent from my Kindle Fire using xda premium

Related

fm transmitter

is their a way to transmit audio from the hd2 to a device via fm waves?
DAMIEN123_666 said:
is their a way to transmit audio from the hd2 to a device via fm waves?
Click to expand...
Click to collapse
Although it appears that the HD2 is capable of FM transmission, it is not activated. There is a long discussion about the FM transmitter here:
forum,xda-developers,com/showthread.php?t=622377
(I can't post links... just change the commas to dots)
yeah, seems like we need a driver written for it. No other wm phones have this particular Broadcom chip.
meegulthwarp said:
yeah, seems like we need a driver written for it. No other wm phones have this particular Broadcom chip.
Click to expand...
Click to collapse
That'd be fantastic!
@op, as nothing's available now, you might be interested in one of the many 3.5mm FM transmitters available at www.dealextreme.com or on ebay. Obviously they need a power source (usually 12v car port, USB or AAA batteries).
Hope that helps.
You can also get bluetooth adapters with built in FM transmitters that will enable hands free for car use. Very handy!

FM Transmitter/Receiver Broadcom BCM4329EKUBG

I was trying to do a little research in to if I could get the FM transmitter/reciever to work or if it would be even possible. A little google searching around I found this. And the person who had been doing the most work on that part of android was an actual broadcom employee. So I sent him a quick, polite email asking him about FM support in the Nexus one. It is as follows:
"Mr. Harte,
I noticed your commits here. Will Broadcom provide support/drivers for the FM transmitter/receiver in the Nexus One and other Android devices?
Sincerely,
Will"
And his surprisingly helpful and quick response:
"Hello,
The FM receiver is supported in the HTC Incredible and HTC EVO 4G. I’m not sure if the Nexus One hardware supports FM. The 4329 chip has FM, but I don’t know if the external components required for the FM Antenna are populated on the board. I believe there is also some work needed in the kernel to enable the audio path for FM, but if/when HTC open-sources the kernel for the EVO or Incredible, this should be evident. Also, the EVO and Incredible use the Broadcom Bluetooth stack, while the Nexus One uses BlueZ. I don’t think there is any support in BlueZ for FM. I have no idea about FM Transmit, but I would highly doubt it is possible to get that to work…
-Howard"
That makes me sad but at least now I know. Hopefully though this will provide some light to any crafty developers interested tinkering with this.
Shorthand.
Even if the hardware says fm/transmit/receive, we would have to solder, replace the bluetooth stack, and possibly replace the chip firmware to get it to work.
Short, short hand.. NO FM on nexus one.
No really, somehow he neglected to mention the sister Desire.
Regarding the antenna portion, it's been proven that the nexus can find stations. . .just not output any sound from them.
Mi|enko said:
Regarding the antenna portion, it's been proven that the nexus can find stations. . .just not output any sound from them.
Click to expand...
Click to collapse
I do remember reading about that. Can you find the source? If thats true, then we know the only problem is the stack.
williamthrilliam said:
I do remember reading about that. Can you find the source? If thats true, then we know the only problem is the stack.
Click to expand...
Click to collapse
Check the notes from Modaco's Desire ROM port. I think it's there. But since FM radio is analog, there may be a lot more to it than a stack.
attn1 said:
Check the notes from Modaco's Desire ROM port. I think it's there. But since FM radio is analog, there may be a lot more to it than a stack.
Click to expand...
Click to collapse
Yup, his bluetooth doesn't work because he is using the Nexus One kernel. Well, we now know what part of the kernel isn't allowing the bluetooth to work; Bluez vs the Broadcom Stack. I don't know the legal implications of using it, but it seems like it would be possible.
Devastatin said:
Shorthand.
Even if the hardware says fm/transmit/receive, we would have to solder, replace the bluetooth stack, and possibly replace the chip firmware to get it to work.
Short, short hand.. NO FM on nexus one.
Click to expand...
Click to collapse
Patently FALSE.
All we need is a kernel with FM support and the FM driver. Receive is definitely possible.
I do believe however that the power amplifier chips for transmitting are absent, so that won't be a possibility.
williamthrilliam said:
Yup, his bluetooth doesn't work because he is using the Nexus One kernel. Well, we now know what part of the kernel isn't allowing the bluetooth to work; Bluez vs the Broadcom Stack. I don't know the legal implications of using it, but it seems like it would be possible.
Click to expand...
Click to collapse
Getting an analog tuner that isn't connected to anything to tune is not much help. I don't care what software you write, if there is no output to be captured, it's not going to happen. It's like a cable box with no television connection. It tunes just fine. If the rest of the connecting hardware is there, then there's a shot. But Google has never said there would be FM in the Nexus One at any point. I am less than optimistic.
GldRush98 said:
Patently FALSE.
All we need is a kernel with FM support and the FM driver. Receive is definitely possible.
Click to expand...
Click to collapse
That still has not been determined.
or you can go to your favorite radio station's website and click on "listen in" or whatever and now your listening to FM on your phone. =D
or maybe not, thats how it works on my pc..
i dont understand what the bluetooth has anything to do with this? why does it matter the blueZ vs broadcom bluetooth hardware? it sounds like the fm radio portion is there and can even pick up stations with an antenna, just routing the audio. but that doesnt need to happen thru bluetooh, it could happen through the headset or loudspeaker.
RogerPodacter said:
i dont understand what the bluetooth has anything to do with this? why does it matter the blueZ vs broadcom bluetooth hardware? it sounds like the fm radio portion is there and can even pick up stations with an antenna, just routing the audio. but that doesnt need to happen thru bluetooh, it could happen through the headset or loudspeaker.
Click to expand...
Click to collapse
The Broadcom BCM4329EKUBG has all of these functions built in. FM, 802.11, bluetooth.
http://www.broadcom.com/products/Bluetooth/Bluetooth-RF-Silicon-and-Software-Solutions/BCM4329
RogerPodacter said:
i dont understand what the bluetooth has anything to do with this? why does it matter the blueZ vs broadcom bluetooth hardware? it sounds like the fm radio portion is there and can even pick up stations with an antenna, just routing the audio. but that doesnt need to happen thru bluetooh, it could happen through the headset or loudspeaker.
Click to expand...
Click to collapse
The bluetooth/fm/wifi are all on one chipset.
ChillRays said:
or you can go to your favorite radio station's website and click on "listen in" or whatever and now your listening to FM on your phone. =D
or maybe not, thats how it works on my pc..
Click to expand...
Click to collapse
For the most part yes (esp. with those of us with froyo and flas ). But what made me start searching for this was a tornado that past by me by only a few miles. I luckily was in the car and able to tune in to a station broadcasting the Emergency Broadcasting Systems's message, but I thought it would be nice to be able to do that on my phone.
RogerPodacter said:
i dont understand what the bluetooth has anything to do with this? why does it matter the blueZ vs broadcom bluetooth hardware? it sounds like the fm radio portion is there and can even pick up stations with an antenna, just routing the audio. but that doesnt need to happen thru bluetooh, it could happen through the headset or loudspeaker.
Click to expand...
Click to collapse
Integrated circuits perform multiple functions. That broadcom chip could do a lot more than blue tooth. FM is analog. If all you have is the tuner and there is no connecting hardware, then yeah, you receive a signal, but it's going nowhere. If you can't capture the output, you can't use it. Do we know if the FM radio signal in the Desire is ever digitized? It could work like a regular FM radio and the digital/software part is for tuning purposes only and radio itself is analog. I read somewhere is that the HTC FM radios require wired headset use - and don't play back through blue tooth. Irony there, I think. Speculation is that is because they are used for an antenna, but I think it could also be that it's because it's an analog output. I am guessing the N1 is missing all the required circuits - except the tuner.
attn1 said:
Integrated circuits perform multiple functions. That broadcom chip could do a lot more than blue tooth. FM is analog. If all you have is the tuner and there is no connecting hardware, then yeah, you receive a signal, but it's going nowhere. If you can't capture the output, you can't use it. Do we know if the FM radio signal in the Desire is ever digitized? It could work like a regular FM radio and the digital/software part is for tuning purposes only and radio itself is analog. I read somewhere is that the HTC FM radios require wired headset use - and don't play back through blue tooth. Irony there, I think. Speculation is that is because they are used for an antenna, but I think it could also be that it's because it's an analog output. I am guessing the N1 is missing all the required circuits - except the tuner.
Click to expand...
Click to collapse
This is true of the Touch Pro hardware at least. The FM Radio wouldn't function with out the headphones plugged in. It used the headphone wire as the antenna.
there is a great thread going in the nexus development area where some people are trying to write the kernel so that the sound has an output. It sounds like they are making great progress maybe anyone reading this thread who has some technical skills can help. I believe they too have been able to tune the phone to a station but not output the sound yet.
It seems to me we need definitive answers to the following 2 questions from HTC / Google ...
Q1. Does the nexus one have the necessary hardware and interconnections for FM radio reception and output through either the speaker or headphones. YES/NO?
Q2. Does the nexus one have the necessary hardware and interconnections for FM radio transmission of any type (music / voice). YES/NO?
If both answers are a definitive NO, we can move on. If there is a YES then the clever people here, who make the magic happen, have some hope of success.
Does anyone know the correct ppl at HTC / Google to ask these questions of?
I don’t have anything to add but would like to encourage you guys in your endeavour to get FM radio working on the N1 and also point you too or remind you what androidpolice reported at Google I/O
If this is true then perhaps all the building blocks are in place.
http://www.androidpolice.com/2010/0...nity-as-our-best-bet-post-google-io-coverage/
sd00 said:
It seems to me we need definitive answers to the following 2 questions from HTC / Google ...
Q1. Does the nexus one have the necessary hardware and interconnections for FM radio reception and output through either the speaker or headphones. YES/NO?
Q2. Does the nexus one have the necessary hardware and interconnections for FM radio transmission of any type (music / voice). YES/NO?
If both answers are a definitive NO, we can move on. If there is a YES then the clever people here, who make the magic happen, have some hope of success.
Does anyone know the correct ppl at HTC / Google to ask these questions of?
Click to expand...
Click to collapse
Or maybe we just need to think and use the info that we have in other threads on the subject. But I'll repeat things written in another thread, by myself and other guys:
Q1. Broadcom chip brief (the best doc available for it on the net) clearly shows the radio having no separate connections but using BT's high speed UART and I2C. The interconnects are the same, and since Paul's Desire port has radio control working - that means I2C is working too, so the answer is YES.
Q2. The stated output power of the chip is good enough for short-range transmission w/o a dedicated antenna, using headphone cord. The control and data are given in the same way as in Q1. So, the answer is YES again, but with more trouble - while there is a working device utilizing FM receiver functionality, which can at least theoretically be ported completely using its source, there is no device with FM transmitter, which means - if someone wants to use transmitter, that someone needs to acquire specific Broadcom documents for the chip.
So I guess the thread can be laid to rest, and anyone that can really help - for example, to go over Desire source and figure out the correct setting for QSD UART to receive FM audio and the procedures to stream it to the speaker - are welcome to head over to Dev section.

[Q] RDS Radio app for the HD2??

Anyone knows of an RDS FM Radio app which I can install insteed of MUIU FM radio app which is used in many of the cooked NAND Android rom for HD2?
yea i wish we had a new radio app. which can record songs from a fm radio
Marty02 said:
yea i wish we had a new radio app. which can record songs from a fm radio
Click to expand...
Click to collapse
The MUIU app lack several things like auto-tuning so I would be nice with a better FM Radio app which supports RDS and auto-tuning!
I've released version 2.0.2 of the "Spirit FM Radio" app. See my sig for the details post.
The best support is for CM7 ROMs with the CM FM app. It may also work on MIUI ROMs as well.
My app supports RDS data on TI FM chips, and more basic functionality on Broadcom FM chips, such as used on the Leo/HD2. I intend to add RDS support for Broadcom with further reverse engineering.
The app is running well on my HTC Legend and Desire HD, and I think should., or I've heard does, also work on Leo/HD2 and several other devices.
Thank you for your app.it works better than the default fm app in hd2 that we have in non sense roms.
mikereidis said:
I've released version 2.0.2 of the "Spirit FM Radio" app. See my sig for the details post.
The best support is for CM7 ROMs with the CM FM app. It may also work on MIUI ROMs as well.
My app supports RDS data on TI FM chips, and more basic functionality on Broadcom FM chips, such as used on the Leo/HD2. I intend to add RDS support for Broadcom with further reverse engineering.
The app is running well on my HTC Legend and Desire HD, and I think should., or I've heard does, also work on Leo/HD2 and several other devices.
Click to expand...
Click to collapse
Works on tytungs AOSP but no sound. On CM7 works fine.
Hi mikereidis any idea to get this working with sense builds?
zach.antre said:
Works on tytungs AOSP but no sound. On CM7 works fine.
Click to expand...
Click to collapse
Thanks for your report !
If you are using v2.0.3 from the Market, and you have ADB on a connected computer you could ensure you have an SD card and try running:
adb shell touch /sdcard/fm_su
or from an on phone terminal emulator:
touch /sdcard/fm_su
This creates a file that enables this command in the code:
su -c "chmod o+r /dev/msm_snd"
The code then does an "ioctl" hack that can enable FM audio output on some phones. I needed this hack before CM was updated to do this internally for FM audio routing.
But it's possible you don't have a /dev/msm_snd pseudo-file and this hack won't work.
I might be able to find some other workaround for non CM ROMs.
Another trick for audio routing on HTC phones with stock or stock derived ROMs is:
adb shell "echo fm_speaker > /sys/class/htc_accessory/fm/flag"
or
adb shell "echo fm_headset > /sys/class/htc_accessory/fm/flag"
Use this to verify:
adb shell "cat /sys/class/htc_accessory/fm/flag"
I DO have this in the code, but it's possible the ordering of different audio routing methods is a problem.
lukesan said:
Hi mikereidis any idea to get this working with sense builds?
Click to expand...
Click to collapse
Yes, I have it running on my HTC Legend with the Blayo ROM which is a Sense ROM derived from the stock ROM.
I should be able to get this app running on any Android 2.1+ device with a TI or Broadcom FM chip (or future supported FM chip) providing the following conditions are met:
(1) - I find some way to route FM audio from the chip to speakers or headset. Thus far the app only supports analog connections, but most (or all?) phones with a usable FM chip seem to have an analog connection. It might be possible in future to route digitally, or even to BT headset with the audio never leaving the combination BT and FM chip.
(2) - I find some way to control and read registers on the chip. Most phones seem to piggy-back FM on the Bluetooth HCI interface. Currently, my app, and the MIUI and CM apps, all use the "hcitool" command for this. AFAICT, none of the stock HTC ROMs has a working hcitool, and copying one from the CM ROM doesn't work. IMO, these ROMs do not fully support the Bluez BT APIs.
Version 1 of my app had the abiliity to run a daemon that directly accessed the Bluetooth library, which is a better way than running hcitool. Unfortunately, running the daemon seemed to require root/SuperUser and I'd prefer my app not require this, Furthermore, I could not get this to work on the stock or Blayo ROMs. It might be possible, but I haven't figured out how, and nobody "On the Internet" has figured it out either.
So for the Blayo ROM I found I could use a "btipsd_cli" command that also seems to be on the stock ROM. It's an ugly hack because my app "pretends" to be a human entering commands, but it worked, although with some occasional stability problems due to btipsd crashing. And BTIPSD* is Texas Instruments FM chip specific; it will never work on Broadcom chips. Perhaps there is some Broadcom command line utility or API that can be used; I haven't looked too deeply yet.
The iPhone uses a Broadcom chip and apparently has a "bcm" command that can control some functions. AFAICT, many people have wanted an FM app on the iPhone(s) put out in the last few years with this chip, but nobody has ever got it working. Broadcom apparently only supplies specs for their chip to their large customers. I can't even find a decent datasheet on foreign web-sites that contain other confidential type materials.
Beyond that I could possibly reverse-engineer the API that the HTC FM app uses, which seems to live in the android_runtime library. That would have the advantage of likely working on all HTC phones, regardless of chip. But I would very much prefer to control the FM chips more directly, using the BT / Bluez library for HCI access.
So hopefully, eventually, many more phone and ROM combinations will be working. I'm happy to work with anyone who might have ideas or time and expertise to try and help me hack these "secrets".
In the longer term, it might be nice if the Sony Ericsson proposed Android FM API gained some traction, but I'm not sure if other device or chip manufacturers, like HTC and Broadcom, will support this API.
mikereidis said:
But it's possible you don't have a /dev/msm_snd pseudo-file and this hack won't work.
Click to expand...
Click to collapse
You were right... I don't have a /dev/msm_snd pseudo-file and it didn't work

[Q] which wifi chip does this have?

I know the package is the Azurewave AW-NH665 but there's no data sheet published for that. I'm hoping it's got at least a BCM4330 in it. Also hoping for BlueTooth 3.0.
someone who has one check your system/etc/nvram_nh665.txt
it should have info on the wifi chip.
Thanks.
bump
Well, I can tell from the kernel it uses BCM4330 chipset. That should mean b/g/n, Bluetooth 4.0+HS, and FM...
BCM4330.
I'm hoping to connect an FM antenna. See my sig.
AzureWave does other Broadcom modules too.
I don't have one but a dump shows:
bin/brcm_patchram_plus
etc/firmware/bcm4330.hcd
etc/nvram.txt:
Azurewave Release 2011/12/29
# NH665 bgn+BT+FM
manfid=0x2d0
prodid=0x0552
vendid=0x14e4
devid=0x4360
boardtype=0x0552
boardrev=0x11
# this design has 2.4GHz SP3T switch
boardflags=0x00081200
nocrc=1
xtalfreq=37400
boardnum=22
#macaddr=00:11:22:33:44:55
#nvram_override=1
cckdigfilttype=20 #20~26
ag0=255
aa2g=3
ccode=XY
regrev=4
#pa0b0=0x13e1
#pa0b1=0xfdab
#pa0b2=0xff66
rssismf2g=0xa
rssismc2g=0x3
rssisav2g=0x7
maxp2ga0=0x46
sromrev=3
#il0macaddr=00:11:22:33:44:55
wl0id=0x431b
cckPwrOffset=5
#ofdmdigfilttype2g=4
ofdm2gpo=0x44444444
mcs2gpo0=0x6666
mcs2gpo1=0x6666
swctrlmap_2g=0x44844484,0x4a8a4282,0x42824282,0x818a82,0x1ff
rfreg033=0x19
rfreg033_cck=0x1f
dacrate2g=160
txalpfbyp2g=1
bphyscale=17
cckPwrIdxCorr=-15
pacalidx2g=45
txgaintbl=1
muxenab=0x10
#triso2g=9
mikereidis said:
BCM4330.
I'm hoping to connect an FM antenna. See my sig.
AzureWave does other Broadcom modules too.
I don't have one but a dump shows:
bin/brcm_patchram_plus
etc/firmware/bcm4330.hcd
...
Click to expand...
Click to collapse
Nice, just checked out your radio app. Would be very cool to get that working on the N7. Interestingly I noticed that although that firmware is present, the kernel is actually configured to use:
/system/vendor/firmware/fw_bcmdhd.bin
Not sure exactly what the implications are of that yet.
There are 3 identical files, size 209,175 bytes, and they are for the WiFi core on the chip. Bluetooth and FM share a seperate core.
fw_bcmdhd_apsta.bin
fw_bcmdhd.bin
fw_bcmdhd_p2p.bin
brcm_patchram_plus is a Broadcom proprietary replacement for hciattach and it loads the bcm4330.hcd file. I'm 100% sure because my FM app can do the same as brcm_patchram_plus.
The top of the HCD file contains: "AZW Module665 BCM4330B1 37.4 MHz Class 1.5 ExtLNA"
-----
There is not a single, easily available non-obscure Android tablet over 5" which supports FM. So if possible, even if it requires some hardware mods, the popularity of Nexus 7 will make it compelling for the combination of Android tablet and FM.
Further, FM transmit on Android is virtually unheard of. With access to the transmit antenna pins, this might be possible. There are LOTS of people who don't care about receive, but want transmit to their car stereo.
I expect to see a good number of hardware hackers looking to use the Nexus 7 as a built-in car/entertainment device.

Can the Nexus 7 be recognized as a bluetooth phone device?

I have my Nexus 7 installed in my car and I'm trying to get it to auto connect to my head unit. I've tried different apps, Tasker, and different settings and I believe the issue is because its a "media only" bluetooth device. Is there a way to add the "Phone Profile" like I have on my GNex to the Nexus 7?
I believe tablet talk has an option. I'll check and post A screenie
Sent from my SPH-L710 using xda premium
Sent from my SPH-L710 using xda premium
Thanks for the tip...I'll give it a shot. Hopefully this gives me the Phone profile in the Bluetooth settings.
Doesn't look like Tablet Talk will give the Nexus 7 the Phone Profile in the default bluetooth settings. Any other ideas?
Not really sure I don't have a Bluetooth headset. I just seen that in the settings.
Sent from my SPH-L710 using xda premium
You could try adding these services in the terminal:
Code:
% sdptool add HS
Headset service registered
% sdptool add HF
Handsfree service registered
% sdptool add HFAG
Handsfree AG service registered
You can also try to change the device class to "Phone, Smart phone":
Code:
% hciconfig hci0 class 0x5a020c
None of these changes will be visible in the GUI, but they might convince your car kit that it wants to auto connect. If it works, you can run these commands with Tasker and the Secure Settings plugin.
elmicha said:
You could try adding these services in the terminal:
Code:
% sdptool add HS
Headset service registered
% sdptool add HF
Handsfree service registered
% sdptool add HFAG
Handsfree AG service registered
You can also try to change the device class to "Phone, Smart phone":
Code:
% hciconfig hci0 class 0x5a020c
None of these changes will be visible in the GUI, but they might convince your car kit that it wants to auto connect. If it works, you can run these commands with Tasker and the Secure Settings plugin.
Click to expand...
Click to collapse
I'm having the same issue like the OP. I have android 4.2.1 and I can't find sdptool in system/bin/
I'm looking to do something similar here, and I know this topic has come up before. I want the N7 to act as a bluetooth "headset" for my N4 for a car install. It definitely lacks a phone profile.
Mega props if anyone figures out how to do that well.
YES!
SQurel23 said:
I have my Nexus 7 installed in my car and I'm trying to get it to auto connect to my head unit. I've tried different apps, Tasker, and different settings and I believe the issue is because its a "media only" bluetooth device. Is there a way to add the "Phone Profile" like I have on my GNex to the Nexus 7?
Click to expand...
Click to collapse
Finally, others who know my pain! It is really frustrating because I am trying to have my Nexus 7 basically stand in for my head unit. Its pretty annoying if you have to set it up each and every time you get in and out of the car though. I'm on the verge of returning the JVC unless someone has made some headway.
Edit - tried sdptool from the command prompt and it did not work. Tried before and after rebooting. Working to find out more about hciconfig. This doesn't work right away from the command prompt. Time to thread crawl some more.
AW: Can the Nexus 7 be recognized as a bluetooth phone device?
sdptool and hciconfig are parts of the "old" Bluetooth stack Bluez. With Android 4.2 a new Bluetooth stack by Broadcom has been introduced, and I guess the old Bluez commands don't work anymore. And nobody confirmed that these commands were even helpful in this situation.
Count me among those who desparately want the N7 to auto connect to my car radio.
*Bump*

Categories

Resources