[Q] FM radio on roms - HTC Amaze 4G

any hope of getting FM radio support on roms (I'm mainly using cyanogenmod, usually sportsstar's). I've tried the port of the apk for the fm radio (wouldn't run) and some spirit radio apk (loud static all channels). Thanks.

I'm using spirit and it works fine. You do need to have a headset plugged in though for an antenna
Sent from my HTC_Amaze_4G using xda app-developers app

yeah. ok thanks, I guess I will try again.

your welcome
reebokhcfr said:
yeah. ok thanks, I guess I will try again.
Click to expand...
Click to collapse
Are you using the feb 3rd beta version of spirit?
The stock FM radio is probably going to need to be rebuilt to make it work. Or there is just some strange file that is missing or not configured right.

chevycowboyusa said:
Are you using the feb 3rd beta version of spirit?
The stock FM radio is probably going to need to be rebuilt to make it work. Or there is just some strange file that is missing or not configured right.
Click to expand...
Click to collapse
Sense Apps do not work on AOSP roms. And can't be made to work...

FM Radio
dcacklam said:
Sense Apps do not work on AOSP roms. And can't be made to work...
Click to expand...
Click to collapse
Hi Dave! Thanks for the response
I thought there was an FM radio app in the CM Builds??
There are people using Spirit on CM10 (other devices) and I have got Spirit working on Sense 4 (even though the built in one doesn't work)

I have tried my darndest to get Spirit radio to work. All I get is white noise.
What am I missing or not configured? I did search the site, but wasn't able to
find the answer.
Thanks.

mgp53 said:
I have tried my darndest to get Spirit radio to work. All I get is white noise.
What am I missing or not configured? I did search the site, but wasn't able to
find the answer.
Thanks.
Click to expand...
Click to collapse
I couldn't get it to work either on the PacMan rom
I just flashed SpeedRom 9.0 Beta 1 and the FM Radio app works because SpeedROM is still a sense based ROM but looks like JellyBean.

Viper Radio
chevycowboyusa said:
I'm using spirit and it works fine. You do need to have a headset plugged in though for an antenna
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
I have used viper from version 1.6.6, 1.7.0.1 and 1.7.0.2, the fm radio never worked. even when i used spirit FM it only just make noise as if no station is working.

kodunmit said:
I have used viper from version 1.6.6, 1.7.0.1 and 1.7.0.2, the fm radio never worked. even when i used spirit FM it only just make noise as if no station is working.
Click to expand...
Click to collapse
That's strange. Where are you located?
I'm in California.
Not much proof, but this is it working.
Sent from my HTC_Amaze_4G using xda app-developers app

chevycowboyusa said:
That's strange. Where are you located?
I'm in California.
Not much proof, but this is it working.
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
I have the same issue with Sportsstar's CM10.1. Sprit FM just gives me static (though I can occasionally hear the slightest bit of an actual station). I think I read in his thread that radio firmware is missing from CM10.1. Is that something one can flash after the fact?

Firmware
JimDandy68 said:
I have the same issue with Sportsstar's CM10.1. Sprit FM just gives me static (though I can occasionally hear the slightest bit of an actual station). I think I read in his thread that radio firmware is missing from CM10.1. Is that something one can flash after the fact?
Click to expand...
Click to collapse
There is a difference Between the Radio firmware for the hardware (flashed thru hboot) and possibly radio drivers in the ROM.
You can flash the ICS Radio update, link in my Viper thread or ARHD thread, that will update you to the most recent radio "Firmware"
You do need to have an antenna (wired headset) and you have to manually tune the radio station.
I'll test it on CM10.1 later this weekend and I'll let you know what I can figure out!

chevycowboyusa said:
There is a difference Between the Radio firmware for the hardware (flashed thru hboot) and possibly radio drivers in the ROM.
You can flash the ICS Radio update, link in my Viper thread or ARHD thread, that will update you to the most recent radio "Firmware"
You do need to have an antenna (wired headset) and you have to manually tune the radio station.
I'll test it on CM10.1 later this weekend and I'll let you know what I can figure out!
Click to expand...
Click to collapse
Thanks, Chevy
I can't find the reference I was talking about, but here's a reference to missing drivers: http://forum.xda-developers.com/showthread.php?t=2010901
And if this is what you're talking about for a radio update - http://forum.xda-developers.com/showthread.php?p=42317972&highlight=radio+update#post42317972 - that matches my current baseband version.
FM radio works on ICS ROMs, like ARHD and SpeedRom, I know. I also know I need a headset attached - only way it ever worked. I've seen other threads about Spirit FM just producing static, so I don't know if it's that app and this device. Anyway, thanks for whatever you can figure out. My thought was that flashing anything ICS on JB wouldn't work, but I don't know.

JimDandy68 said:
Thanks, Chevy
I can't find the reference I was talking about, but here's a reference to missing drivers: http://forum.xda-developers.com/showthread.php?t=2010901
And if this is what you're talking about for a radio update - http://forum.xda-developers.com/showthread.php?p=42317972&highlight=radio+update#post42317972 - that matches my current baseband version.
FM radio works on ICS ROMs, like ARHD and SpeedRom, I know. I also know I need a headset attached - only way it ever worked. I've seen other threads about Spirit FM just producing static, so I don't know if it's that app and this device. Anyway, thanks for whatever you can figure out. My thought was that flashing anything ICS on JB wouldn't work, but I don't know.
Click to expand...
Click to collapse
Just want to ask again on this thread, has anyone ever gotten Spirit FM or another FM radio apk to work on a JB ROM (non-sense-based)? Chevy mentioned the Spirit FM 3rd beta, but not sure whether he was talking about having it work on a JB ROM or on Viper. ICS ROMs mostly have the stock radio app working, so not an issue there.
Thanks.

There is code in the CM base sources allowing for radio apps like spirit FM, now whether the devs working on it here have enabled it or gone through the task of debugging to ensure it works is a different story. Tytung has it working well in his CM ROMs for the HD2. I purchased it (spirit) to use on his ROMs so I do know it can work with CM if the developer chooses to. Frankly, for me this capability isn't as important as resolving the other outstanding issues which are keeping JellyBean from being fully functional and truly stable on our devices.

Odysseus1962 said:
There is code in the CM base sources allowing for radio apps like spirit FM, now whether the devs working on it here have enabled it or gone through the task of debugging to ensure it works is a different story. Tytung has it working well in his CM ROMs for the HD2. I purchased it (spirit) to use on his ROMs so I do know it can work with CM if the developer chooses to. Frankly, for me this capability isn't as important as resolving the other outstanding issues which are keeping JellyBean from being fully functional and truly stable on our devices.
Click to expand...
Click to collapse
Yeah, I'm really just trying to find out if anyone has gotten something working on the Amaze, not any other device. For me, the showstoppers on CM10.1 were uncontrolled in-call volume (evidently working in Evervolv), audio drop-outs when listening to music, and lack of FM radio. Otherwise, it seemed really solid. I'm kinda tired of laggy ICS ROMS, but everything works.
Thanks

JimDandy68 said:
Yeah, I'm really just trying to find out if anyone has gotten something working on the Amaze, not any other device. For me, the showstoppers on CM10.1 were uncontrolled in-call volume (evidently working in Evervolv), audio drop-outs when listening to music, and lack of FM radio. Otherwise, it seemed really solid. I'm kinda tired of laggy ICS ROMS, but everything works.
Thanks
Click to expand...
Click to collapse
I know what you're talking about. I think many here, myself included, wish that development was further along. Frankly, I find it sad and ironic that my old HD2, which was a Windows phone, has had fully functional usable stable Jellybean ROMs for a well over a year and it never had any sources released to develop from.
The sad truth is that the Amaze is a great device that wasn't marketed well, so few units were sold. Too few at least for it to have developed a devoted loyal following. If you follow the threads you see that there was never a large volume of development for it and that most of the early adopters have long since moved on to other devices. I'm just glad that we're now experiencing a second wave with new folks stepping up and trying.
I'm optimistic that the issues currently afflicting these builds can be resolved and that our Amazes will get a new lease on life. We just need to have a bit more patience, they're getting closer to nailing it. Once one gets it right the others will learn and use in their development. Then we'll have all kinds of jellybean and KitKat flavors to choose from.

Odysseus1962 said:
I'm optimistic that the issues currently afflicting these builds can be resolved and that our Amazes will get a new lease on life. We just need to have a bit more patience, they're getting closer to nailing it. Once one gets it right the others will learn and use in their development. Then we'll have all kinds of jellybean and KitKat flavors to choose from.
Click to expand...
Click to collapse
Hope your optimism proves right. It's amazing (no pun intended) that anyone spends there time doing this kind of dev work at all. Pretty sure I'll never buy another HTC device, too.

JimDandy68 said:
Hope your optimism proves right. It's amazing (no pun intended) that anyone spends there time doing this kind of dev work at all. Pretty sure I'll never buy another HTC device, too.
Click to expand...
Click to collapse
I wouldn't be so down on HTC. They may not have been the most supportive manufacturer when it comes to outside development, but they've also produced some of the most groundbreaking innovative products. They're in financial trouble now, as their market share has eroded, and haven't had a breakout device in some time. They realize this and have begun making incremental improvements within the development community in an attempt to improve it's perception. The thing is who are you going to jump ship to? Samsung is already undermining android by developing Its own market place for apps that can only run on their devices and has announced It's developing its own proprietary OS. Since they're the biggest player in this device market, they could easily splinter Android and force other manufacturers to do the same to compete.
The point is, if there's one thing I've learned from my 50 years on this planet is to never say never about anything.

Odysseus1962 said:
The point is, if there's one thing I've learned from my 50 years on this planet is to never say never about anything.
Click to expand...
Click to collapse
Point taken. I'm 45 and evidently haven't learned anything. :cyclops:
Time to go back to a landline.

Related

Has anyone extracted the gps stuffs?

Lets face it. The new radio sucks horribly. The leaked Rom is very bad as well. Countless problems for almost everyone. Has anyone extracted the gps drivers? I would kill to go back to the 2.17 sprint rom with the gps added on.
Won't work you need the new radio, and rom.
Mine is working without any problems, and the radio is great.
stevenewjersey said:
Lets face it. The new radio sucks horribly. The leaked Rom is very bad as well. Countless problems for almost everyone. Has anyone extracted the gps drivers? I would kill to go back to the 2.17 sprint rom with the gps added on.
Click to expand...
Click to collapse
well, the new radio is a BETA after all. and i havent had any problems with it. The new radio is what enables the GPS in the phone, and the 3.16 based roms have the drivers that are needed for gps. so these go hand in hand. you need em both for gps.
stevenewjersey said:
Lets face it. The new radio sucks horribly. The leaked Rom is very bad as well. Countless problems for almost everyone. Has anyone extracted the gps drivers? I would kill to go back to the 2.17 sprint rom with the gps added on.
Click to expand...
Click to collapse
No problems for me, works great and couldn't be happier with everyones work on getting the GPS and Rev A to work. I appreciate all the work that people are putting in to get all this going. I guess you'll just have to wait until your carrier releases their updated ROM with GPS enabled, maybe that will be less problematic for you.
I am betting when this is released there will be a newer radio, this is a beta and the radio is at least a couple of months old, I am sure they have done some tweaking since then, at least if they are seeing the same issues one would hope they have tweaked a bit more here and there.
Same goes for the rom piece of it it is an old beta as well they are both 2 months old, so whatever Sprint and/or HTC has been doing for the past 2 months is unknown.
You Sprint folks should all be happy to me it seems Sprint is the only provider that gives half a rats ass. On Telus the last rom came out back in the beginning of July and none of the other Canadian providers that carry this phone have provided any updates whatsoever.
As Fallingup said this is a beta and the issues we are seeing from the radio patch exhibit normal BETA behavior...
Hell even HTC is convinced the Radio isn't ready for Primetime and keep delaying the release! That says to me they have hit some roadblocks they are having trouble dealing with.
It would not surprise me at all if HTC consciously decided to leak this radio so that the community could take a crack at solving those issues and give them some ideas on how to fix the patch.
I am hoping someone in the community is looking at this beta version of radio and looking for ways to improve that....
Cause I'm betting the second someone can tweak that radio to work well, HTC will take that file and use it as a roadmap for an official release!
stevenewjersey said:
Lets face it. The new radio sucks horribly. The leaked Rom is very bad as well. Countless problems for almost everyone. Has anyone extracted the gps drivers? I would kill to go back to the 2.17 sprint rom with the gps added on.
Click to expand...
Click to collapse
Some people have terrrible issues. Some have none at all. I have no problems at all. This is the best set up I have had. I am using the new Radio and Bootloader with a variation of DCD 2.2.0 ROM. Working great. What specific ROM are you using?
scrosler said:
Some people have terrrible issues. Some have none at all. I have no problems at all. This is the best set up I have had. I am using the new Radio and Bootloader with a variation of DCD 2.2.0 ROM. Working great. What specific ROM are you using?
Click to expand...
Click to collapse
the actual results are somewhere in between...the ones with zero issues either don't use data connect extensively or haven't really run everything through it's paces. How could they the ROM is only a day old! LOL
Others just have issues with the 6.1 OS and still others have issues just flashing. The latter is simply user error and that will always be there no way around that. You have to know those issues will show up even if the perfectly stable ROM gets released.
The Radio is IMO definitly not ready for prime time. between the BT issues, Data Connect and the problem of having to prime the GPS before a navigation software like TomTom can use it there will have to be another update to the radio ROM before we can be sure we gain GPS capability without losing anything else...
Right now Radio appears to be a bit of a tradeoff as opposed to a simple feature addition.
Once an official (as opposed to leaked) radio comes out I think all the REAL problems people are having will go away.
Asphyx said:
Cause I'm betting the second someone can tweak that radio to work well, HTC will take that file and use it as a roadmap for an official release!
Click to expand...
Click to collapse
That would be funny as hell. Imagine if they ended up using a Radio that someone here on XDA-Dev was tweaking!! I hope they get commisisons
rajuabju said:
That would be funny as hell. Imagine if they ended up using a Radio that someone here on XDA-Dev was tweaking!! I hope they get commisisons
Click to expand...
Click to collapse
As far as I know nobody here on XDA Dev has actually tweaked a Radio. People put together firmware files from other stuff, and bundle them all together, but to actually fix and recompile a radio file goes much deeper than anyone here handles.
I have had only one problem running dcd 2.10 and 2.20. I have run critically low on memory once. This has never happened before.
But as for the radio and OS, I think my call quality is noticably better than with the stock rom or any of dcd's 1.x rom/radio setups that I have tested.
Oh, just FYI, I'm in Utah. I wonder if the radio issues have to do with a difference in radio hardware on the towers in New Jersey.
After reading for several days and hearing the good the bad and the ugly I opted for the straight leaked rom. No unlocking and all that.
Well so far so good. GPS works, RevA not a real difference so far
Fairly stable. Happy with my beta software until the official release
vetvito said:
Won't work you need the new radio, and rom.
Mine is working without any problems, and the radio is great.
Click to expand...
Click to collapse
Yup, me too.
As a matter of fact, I'm not going to go to DCD's 2.2.1 until this current flash (on my phone) bombs. 2.2.0 is working great for me.
For those who claim to have no problems...
Try downloading a file larger than 1 MB in PIE or Opera...
The issue has NOTHING to do with DCD's work...
Definitly the Radio...
There only problems I have seen with the 2.2X Roms DCD has put out is some issues with installing programs on the storage card...
But if I know DCD that will be fixed rather quickly.

FM Radio

anyone know where a guy could get the htc fm radio app???
Aldo101t said:
anyone know where a guy could get the htc fm radio app???
Click to expand...
Click to collapse
I tried installing the FM Radio app from my original Dinc, and it installed just fine, opened, showed the radio screen, and then crashed, and won't go any further than that now. Could be because that ROM was de-odexed, but I doubt it.
Have you tried pulling it from the Dinc 2 or Evo 4G Shift? I'm going to try to pull it from a HTC One S ROM if I can find one, since it's so similar to the Dinc 4G.
IceDragon59 said:
I tried installing the FM Radio app from my original Dinc, and it installed just fine, opened, showed the radio screen, and then crashed, and won't go any further than that now. Could be because that ROM was de-odexed, but I doubt it.
Have you tried pulling it from the Dinc 2 or Evo 4G Shift? I'm going to try to pull it from a HTC One S ROM if I can find one, since it's so similar to the Dinc 4G.
Click to expand...
Click to collapse
IC TAZZ rom is a one s rom but a custom rom, it was ported to the inc2
they are all system apps, thats the problem
maybe this phone doesn't have the hardware to run it
I tested FM radio and it does not work.
blazingwolf said:
I tested FM radio and it does not work.
Click to expand...
Click to collapse
The FM Radio on the HTC One S ROM I found didn't work, either.
Makes me wonder if the hardware is in place to run something like this. It uses your headset as an antenna which would seem like some hardware would need to be implemented and with the phone not having the software as stock just makes me wonder.
*Madmoose* said:
Makes me wonder if the hardware is in place to run something like this. It uses your headset as an antenna which would seem like some hardware would need to be implemented and with the phone not having the software as stock just makes me wonder.
Click to expand...
Click to collapse
Quite the possibility. I don't ever listen to the radio, but I noticed it was missing when I got the phone.
anyone try that spirit fm app, looks like it's for rooted phones, but is supposed to work on stock.
IceDragon59 said:
Quite the possibility. I don't ever listen to the radio, but I noticed it was missing when I got the phone.
Click to expand...
Click to collapse
i used it all the time on the inc2, i miss it now
*Madmoose* said:
Makes me wonder if the hardware is in place to run something like this. It uses your headset as an antenna which would seem like some hardware would need to be implemented and with the phone not having the software as stock just makes me wonder.
Click to expand...
Click to collapse
As far as I can tell this is correct.
blazingwolf said:
As far as I can tell this is correct.
Click to expand...
Click to collapse
i don't know, i think nits rom has fm radio,i think, so the hardware must be there.it's based on stock
Aldo101t said:
i don't know, i think nits rom has fm radio,i think, so the hardware must be there.it's based on stock
Click to expand...
Click to collapse
It was there because he added it. It's one of the ways that I tested FM radio.
However, if you want to mess with it have at it.
blazingwolf said:
It was there because he added it. It's one of the ways that I tested FM radio.
Click to expand...
Click to collapse
ok, you mean the app didn't work on nits rom, well then i'd say the hardware is not there then
blazingwolf said:
It was there because he added it. It's one of the ways that I tested FM radio.
However, if you want to mess with it have at it.
Click to expand...
Click to collapse
i can't i'm still locked up
So, anyone have any luck getting fm radio to work? It sounds like the hardware isn't there, but I'm still holding out hope.
Sent from my ADR6410LVW using xda app-developers app
There is definitely hardware for FM radio. Whether there is any software that can utilize it is still unknown (at least to me).
I don't have root yet but when I do that's one of my goals - to get the FM tuner working.
xdadevelopers-user said:
There is definitely hardware for FM radio. Whether there is any software that can utilize it is still unknown (at least to me).
I don't have root yet but when I do that's one of my goals - to get the FM tuner working.
Click to expand...
Click to collapse
Yes, the chip is capable of FM. However, everything else seems to be missing. As noted in this thread I tried several things to get it working and it didn't.
Aldo101t said:
anyone try that spirit fm app, looks like it's for rooted phones, but is supposed to work on stock.
Click to expand...
Click to collapse
Spirit Free is here: http://d-h.st/P5Y .
I've had debug logs from two un-rooted users, but nobody has ever sent one from a rooted device, and I'd be interested to see. My sales stats actually show 6 people with this phone, but it seems many people don't even get in touch with me if it doesn't work. I may disable this device in Play and see if anyone notices.
Use Menu-> Test-> Email-> Logs and after 20 seconds or so press Send.
AFAICT, the FM/Bt/WiFi combo chip is the same WCN3660 on the AT&T OneX / OneXL LTE/ OneS / Evo 4G LTE and some new Motorolas.
AFAIK, nobody knows if the FM antenna pin(s) are connected to the wired headset circuitry for use as the FM antenna. If so, then software may be able to enable FM.
BUT, like the new Motorola's (Razr HD, M ?) it appears that the firmware/ROM is not set up to enable FM, perhaps via some config option that Qualcomm provides.
So I think a custom kernel and/or ROM will be required to even see if FM is hardware possible.
Or, with SU/root we may get lucky and be able to load the radio-iris loadable kernel driver and get it working. Getting it loaded at least is the main thing needed to get further info.
mikereidis said:
Spirit Free is here: http://d-h.st/P5Y .
I've had debug logs from two un-rooted users, but nobody has ever sent one from a rooted device, and I'd be interested to see. My sales stats actually show 6 people with this phone, but it seems many people don't even get in touch with me if it doesn't work. I may disable this device in Play and see if anyone notices.
Use Menu-> Test-> Email-> Logs and after 20 seconds or so press Send.
AFAICT, the FM/Bt/WiFi combo chip is the same WCN3660 on the AT&T OneX / OneXL LTE/ OneS / Evo 4G LTE and some new Motorolas.
AFAIK, nobody knows if the FM antenna pin(s) are connected to the wired headset circuitry for use as the FM antenna. If so, then software may be able to enable FM.
BUT, like the new Motorola's (Razr HD, M ?) it appears that the firmware/ROM is not set up to enable FM, perhaps via some config option that Qualcomm provides.
So I think a custom kernel and/or ROM will be required to even see if FM is hardware possible.
Or, with SU/root we may get lucky and be able to load the radio-iris loadable kernel driver and get it working. Getting it loaded at least is the main thing needed to get further info.
Click to expand...
Click to collapse
Log sent. No luck on anything working though. There is no sound of static even so I can't tell if it is even trying. I have also tried other FM apps from HTC with no luck. I have no idea how to tell if the antenna pins are connected though I would be happy to try if told how.
Let me know if the logs help.
blazingwolf said:
Log sent. No luck on anything working though. There is no sound of static even so I can't tell if it is even trying. I have also tried other FM apps from HTC with no luck. I have no idea how to tell if the antenna pins are connected though I would be happy to try if told how.
Let me know if the logs help.
Click to expand...
Click to collapse
Thanks ! Nice to finally see with SU.
With SU your radio-iris-transport FM driver is successfully loaded.
Spirit detect and uses the HTC OEM Proprietary FM API. The problem there is that RSSI values are 0 or -128, a bad sign.
But there is still hope with the low level API.
Set Menu-> Settings-> FM API to "Low Level" and restart Spirit.
For audio, the default setting (Auto) of Audio-> Method is translated to "HTC", which is for stock HTC devices. That seems to be getting translated to the proper audio ALSA control settings. But if you lack any audio, setting Audio-> Method to "HTC OneX ALSA" or even "HTC OneX QCom" might help.

FM Radio

On sense there was an FM radio but now that I'm on cm10 I have no radio. Anybody know a good radio app that works with headphones? Thanks
Sent from my PG86100 using xda app-developers app
kevin130 said:
On sense there was an FM radio but now that I'm on cm10 I have no radio. Anybody know a good radio app that works with headphones? Thanks
Click to expand...
Click to collapse
There's a bunch of Internet "radio" apps but TuneIn and Pandora seem to be the most popular and both work with headphones. I'm not sure why any radio/music app wouldn't work with headphones though.
ramjet73
Because your headphones have like an antenna so you can use an analog FM radio. My dads blackberry requires headphones to be plugged in because it uses them as an antenna.
Sent from my PG86100 using xda app-developers app
kevin130 said:
Because your headphones have like an antenna so you can use an analog FM radio. My dads blackberry requires headphones to be plugged in because it uses them as an antenna.
Click to expand...
Click to collapse
Yes, that's normally true for the built-in FM radio on the Evo 3D, although some ROM's have a mod to let it be used without headphones. If you are looking for an app that's AOSP compatible to use the FM radio in the phone, I've never heard of one. Any substitute that streams over the Internet should work with the internal speaker or headphones.
Edit2: I forgot about Spirit FM Radio. If you read the reviews some people seem to have it working on AOSP ROM's, but I couldn't find any reviews for the Evo 3D and there's no free or trial version. According to this post the Evo 3D should work, but turning on FM on the Evo 3D requires activating bluetooth since both radios are on the same chipset, so it won't work in airplane mode and might not work if the ROM has any bluetooth issues.
Edit2: There does appear to be a free (mono only) version of Spirit FM in this XDA post. I tried it on lens_flare's MIUI ROM (based on Agrabren's CM10 Devil Toast ROM) and it just closes when I try to turn it on.
ramjet73
i have actually tries the spirit app, and its more of a hit and miss depending on rom, sometimes it works but a majority it sadly does not, used it on kanged ports of CM9 before the ics update rolled out
FragmentedLogik said:
i have actually tries the spirit app, and its more of a hit and miss depending on rom, sometimes it works but a majority it sadly does not, used it on kanged ports of CM9 before the ics update rolled out
Click to expand...
Click to collapse
Yea, that's what I thought. It may be partly due to the bluetooth dependency on our phone.
ramjet73
ramjet73 said:
Yea, that's what I thought. It may be partly due to the bluetooth dependency on our phone.
ramjet73
Click to expand...
Click to collapse
im actually surprised no one has taken the radio apk and dex files and modified them to suit different roms.... or atleast that i know of
FragmentedLogik said:
im actually surprised no one has taken the radio apk and dex files and modified them to suit different roms.... or atleast that i know of
Click to expand...
Click to collapse
Probably for the same reason that hasn't been done for the 3D camera. I believe those programs are heavily dependent on Sense API's that are not published by HTC.
ramjet73

Bluetooth for Sense 4.0 Roms

I have been playing around with a few sense 4 ROMs. And unfortunately polluting some threads with ranting
I'd like to open a discussion with anyone who might have some ideas to try.
Here's what I have so far.
I'm beta testing viper amaze 1.6.3
1. I have Bluetooth communication between a Bluetooth ear piece, a Motorola stereo headset, and my laptop thru a rocket fish BT USB adapter.
2. All BT devices are seen when searching for devices.
3. It will pair the device and get a confirmation of " pairing successful" on all three devices.
A. No device that I have tried to pair will ask for a pin code. It's automatically pairing!
4. My Laptop sent a message to the screen on my phone to confirm that it was the correct device connected.
5. Bluetoothd isn't stopping after it's started. Only dies after a full reboot.
6. After tampering with some files in system/data/data I got the HTC FM app to turn on. It didn't do much. And wouldn't turn off.
7. I have asked faux to add some files to his kernel. I hope this narrows it down!
So it's close. I would say it's 90% working. It just doesn't complete or latch the connection.
One more thought is that the FM radio app uses the BT radio so that's why FM radio doesn't work either. But spirit FM radio does. It will fail if BT is trying to connect. But when the bt radio is idle it will work.
I have the decompiled FM radio app and I'm currently digging thru the files.
Any ideas?
Sent from my HTC_Amaze_4G using xda app-developers app
Decompiled
chevycowboyusa said:
I have been playing around with a few sense 4 ROMs. And unfortunately polluting some threads with ranting
I'd like to open a discussion with anyone who might have some ideas to try.
Here's what I have so far.
I'm beta testing viper amaze 1.6.3
1. I have Bluetooth communication between a Bluetooth ear piece, a Motorola stereo headset, and my laptop thru a rocket fish BT USB adapter.
2. All BT devices are seen when searching for devices.
3. It will pair the device and get a confirmation of " pairing successful" on all three devices.
4. My Laptop sent a message to the screen on my phone to confirm that it was the correct device connected.
So it's close. I would say it's 90% working. It just doesn't complete or latch the connection.
One more thought is that the FM radio app uses the BT radio so that's why FM radio doesn't work either. But spirit FM radio does. It will fail if BT is trying to connect. But when the bt radio is idle it will work.
If someone could decompile the stock FM radio app we could see what is trying to do and why it fails. Or figure out how spirit is accessing the BT radio.
Any ideas?
Sent from my HTC_Amaze_4G using xda app-developers app
Click to expand...
Click to collapse
I decompiled FM_Radio.apk and FMRadioService.apk. download link: -> http://www.mediafire.com/?75nmb8x1vb5e0jp
Got it
ali_k182 said:
I decompiled FM_Radio.apk and FMRadioService.apk. download link: -> http://www.mediafire.com/?75nmb8x1vb5e0jp
Click to expand...
Click to collapse
Thank you. I'm going to scour through it to see if I can find whats supposed to turn on and off the bt radio.
Can you decompile the FM radio app from a 3.6 rom too??
I'll compare them and see what I can find.
Just a thought...
I'm fairly new to all this so bare with me on this one... Lol I was thinking about past ROMs and how removing certain bloatware could potentially damage the ROM you were on... Is it possible that the commands missing for Bluetooth to work fully are embedded in a bloatware app??? I don't think it would be a far-fetched idea for T-Mobile/HTC to code things in such a way that one of their apps would have to run in the background in order for Bluetooth to function properly. Kind of a fail-safe to ensure that their bloat stays on the phone...
It's not to far fetched in theory. And yes, some of the bloatware broke things when you removed them, like the stock ticker, because it was looking for something that had been removed.
This however goes a little deeper. The software came from a different device. And most all of the bloatware that is HTC stuff is there.
It has a slightly different file structure on sense 4.0 than the 3.6. Some files have been modified or combined. Our kernel is the same from what I can tell so far.
I'm running faux 26. So these new files are probably not in the kernel.
The biggest change is a file called BcrmBluetoothservices.apk where we used to have a file called BluetoothFtps.apk.
I think this is the first hurdle.
And thank you for your input! I think if enough of us can knock our heads together we can figure this out.
Sent from my HTC_Amaze_4G using xda app-developers app
Yea with multiple people brainstorming on the matter... Someone's bound to come up with a solution! Has anyone taken a logcat of a bluetooth running on a Sense 3.6 rom and compared it with the logcat of a Sense 4 rom?
I don't know .but I flashed energy 3.6 and will do a little playing tomorrow..
Sent from my HTC_Amaze_4G using xda app-developers app
Still waiting for the stable Sense rom for amaze , but dont see any development on this from december last year.
Stable
navneet_bhaskar said:
Still waiting for the stable Sense rom for amaze , but dont see any development on this from december last year.
Click to expand...
Click to collapse
There's a few stable, at least I consider stable. Just depends on what you can live without.
I'm going to try my hand at porting... I'm shooting for a "Stock" sense 4 rom. no extras. no tweaks. just working and then we can go from there.
Auto pairing
Does anyone know how to stop the phone from automatically enter the pin code for recognized devices.
The devices are trying to pair and its getting an incorrect pin code. I think this might be a step in the right direction....
Bluetooth MAC Address
I just noticed the bluetooth mac address isn't showing up on my phone!
edit---
Has to be turned on... DUH!
Good job! when you get it fixed I'll be sure to update nightmare sense
Sent from my Nexus 4 using xda premium
Thanks!
sportsstar89 said:
Good job! when you get it fixed I'll be sure to update nightmare sense
Sent from my Nexus 4 using xda premium
Click to expand...
Click to collapse
I hope it works!
Sense Rom
navneet_bhaskar said:
Still waiting for the stable Sense rom for amaze , but dont see any development on this from december last year.
Click to expand...
Click to collapse
I've been updating The Viper Amaze rom. and it's Stable. There are some broken things bluetooth/wifi tether.wifi calling, but everything is pretty much stable for a sense 4.1 rom.
chevycowboyusa said:
I've been updating The Viper Amaze rom. and it's Stable. There are some broken things bluetooth/wifi tether.wifi calling, but everything is pretty much stable for a sense 4.1 rom.
Click to expand...
Click to collapse
hell yeah,it is pretty stable!

[Q] FM Radio on SLimKat

I have installed the SlimKat 4.4.2 rom on my s2. Is there any possibility to get my radio back in this phone? if i install the radio app or something?
Yes, buy the Spirit1 or Spirit2 app by Mike Reid.
cowbutt said:
Yes, buy the Spirit1 or Spirit2 app by Mike Reid.
Click to expand...
Click to collapse
cant i get my samsung radio in this?
The Samsung radio uses Samsung's 'closed source' code....
As such, anybody who includes a working Samsung radio in a custom ROM is likely to incur Samsung's 'wrath'.....
Basically it ain't ever gonna happen.......
My wife says I'm a phone geek....She's probably right
kunalsaddar said:
cant i get my samsung radio in this?
Click to expand...
Click to collapse
My understanding is that Samsung's radio app requires changes and additions to Android frameworks for which corresponding source code isn't released. So, no.
keithross39 said:
The Samsung radio uses Samsung's 'closed source' code....
As such, anybody who includes a working Samsung radio in a custom ROM is likely to incur Samsung's 'wrath'.....
Basically it ain't ever gonna happen.......
My wife says I'm a phone geek....She's probably right
Click to expand...
Click to collapse
That's just sad. Thought everything was a open source framework here. Anyhow I just installed spirit FM. It worked. But it has a lot of disturbances. Even the audio output is very less
I wonder to go back to stock just for the stock radio.
I am also looking for stock FM radio in 4.4.4 or 4.4.2, got used to it. listen to it rarely but it completes as Smart phone
Didn't you even read the earlier replies?
Ain't EVER gonna happen.
My wife says I'm a phone geek....She's probably right
kunalsaddar said:
That's just sad. Thought everything was a open source framework here. Anyhow I just installed spirit FM. It worked. But it has a lot of disturbances. Even the audio output is very less
I wonder to go back to stock just for the stock radio.
Click to expand...
Click to collapse
I know there are some audio issues with Spirit in recent Slim ROMs.
I was looking into this when I tried to fix my no serial number problem with the wrong bootloader. LOL, not... Not sure if it's a permanent brick yet.
But GT-I9100 is an important phone for me to support, still in 2nd place in Spirit sales stats. So I got another off EBay and hope to see it later this week.
If I have the time I can try Slim on my GT-N7000, where it may have the same issues.
@mikereidis.....thanks for your continued support of the S2 fella....it's viewed by many devs as old tech now......
And thanks too for your hard work on spirit FM........it's much appreciated....
My wife says I'm a phone geek....She's probably right
keithross39 said:
@mikereidis.....thanks for your continued support of the S2 fella....it's viewed by many devs as old tech now......
And thanks too for your hard work on spirit FM........it's much appreciated....
Click to expand...
Click to collapse
Most ROM devs do it for free, or paltry donations, so they tend to go for the latest.
Spirit is my fulltime+ job, so I go where the sales stats (or antipated stats for new phones) tell me to go. It's nice that Google provides devs sales info that includes device IDs.

Categories

Resources