[Q] FM + TV on AOSP? - Sprint HTC One (M7)

Hi everybody,
I like the FM and TV apps. They replace two rather clunky devices. I also like ROMs like PAC, AOKP and CM. None of which have the former.
Is there a (preferably free) way to get TV and FM on AOSP roms? Or is there something like closed source drivers preventing this?
I tried Spirit FM, it didn't work.
Thanks,
sauprankul

I don't think the FM radio app works on aosp. I do know that tunein radio works. Its an FM radio but runs through the network connection. Its not exactly what you were looking for but it may help.

p3tr0s said:
I don't think the FM radio app works on aosp. I do know that tunein radio works. Its an FM radio but runs through the network connection. Its not exactly what you were looking for but it may help.
Click to expand...
Click to collapse
I know that the app doesn't work, but I was hoping for a mod or app that would replace it.
Tunein isn't as clear and Sprint doesn't have very good coverage around here (yet, they say).
Oh well.

Might work for FM radio http://forum.xda-developers.com/showthread.php?p=13379669
Sent from my HTCONE using Tapatalk 4 Beta

for the tv i think peel should work

Outside of Asia and a prototype or 2, there are no "over the air" TV chips in Android devices, AFAICT.
A few people have reported my FM app works OK on HTC One. And at least one said it didn't work. AFAIK, my app Spirit is the only non stock app that will work (for "real" over the air FM), and I've heard no indication that will change anytime soon.
The Sprint HTC One has a stock FM app, right ?
I will likely buy and officially support the HTC One within a few months.

mikereidis said:
Outside of Asia and a prototype or 2, there are no "over the air" TV chips in Android devices, AFAICT.
A few people have reported my FM app works OK on HTC One. And at least one said it didn't work. AFAIK, my app Spirit is the only non stock app that will work (for "real" over the air FM), and I've heard no indication that will change anytime soon.
The Sprint HTC One has a stock FM app, right ?
I will likely buy and officially support the HTC One within a few months.
Click to expand...
Click to collapse
I don't think the OP was referring to an "over-the-air" TV app, but rather the TV app on stock HTC ONEs that basically turn your phone into a remote.

tkoreaper said:
I don't think the OP was referring to an "over-the-air" TV app, but rather the TV app on stock HTC ONEs that basically turn your phone into a remote.
Click to expand...
Click to collapse
OP can clarify but when he says "...way to get TV..." it certainly sounds like he's asking for an OTA TV type app.
For TV etc. remote control, there ARE several apps on Play, and I think at least one of them works with the HTC One specific IR blaster hardware.

Oops, my bad.
I meant the app named TV, which allows me to use the IR blaster. I looked it up on the play store, only got apps that used network, links?
And I thought I had posted this a while back, but I get no audio from Spirit FM. (I'll try it again?) EDIT: Yeah, no audio... Am I supposed to let it scan networks or wait for it to tune or something?

mikereidis said:
OP can clarify but when he says "...way to get TV..." it certainly sounds like he's asking for an OTA TV type app.
For TV etc. remote control, there ARE several apps on Play, and I think at least one of them works with the HTC One specific IR blaster hardware.
Click to expand...
Click to collapse
I don't think the hardware is the problem, but rather the lack of IR support in AOSP.

sauprankul said:
Oops, my bad.
I meant the app named TV, which allows me to use the IR blaster. I looked it up on the play store, only got apps that used network, links?
Click to expand...
Click to collapse
Here's one of the IR apps on Play (more if you follow "Users who viewed this also viewed") : https://play.google.com/store/apps/details?id=com.microcontrollerbg.irdroid
App description says "Uses and needs external Irdroid module" and indicates it's a port of LIRC.
IR ports and their drivers are relatively simple, compared to audio, graphics, FM, etc.
So I'll bet that somebody will find/build an HTC One AOSP IR solution in the next 3-6 months. I've briefly considered it myself, but there are enough apps out there already IMO for when drivers become available.
BTW, I got the app link from this good thread about things missing from the coming Nexus Experience version: http://www.androidpolice.com/2013/0...tc-camera-features-and-no-beats-audio-switch/
My impression right now is that HTC One sales are doing better than many of us expected. The Nexus Experience thing has convinced me that I'll be getting one soon. And Samsung GS4 sales seem lower than expected. I think HTC One is "stealing" some GS4 sales.
My point is that I think HTC One XDA/custom ROM and apps development will do well, and solutions for IR and some other Sense related features will be found.

sauprankul said:
And I thought I had posted this a while back, but I get no audio from Spirit FM. (I'll try it again?) EDIT: Yeah, no audio... Am I supposed to let it scan networks or wait for it to tune or something?
Click to expand...
Click to collapse
AOSP based ROM ?
I've had a few HTC One success reports, but I think on stock ROM where the "HTC" Audio-> Method setting talks to the HTC proprietary audio stuff.
Send me a debug log with Menu-> Test-> Email-> Logs . After 20 seconds or so press Send.
There may be some simple ALSA controls to set to enable FM audio. But often I have to get a phone in my hands and spend some time on it before learning the FM audio enable secrets.
If this phone were using the Qualcomm WCN3660 FM/combo chips, like the Qualcomm reference designs used in One X LTE, One S and similar devices, then the "HTC OneS/X LTE ALSA" Audio-> Method would work, as well as "Digital OneXL/S".
AFAIR, this phone DOES use the reference WDC9310 audio chip, but the Qualcomm FM chip has special audio connections that I'm pretty sure the Broadcom BCM4335 FM/combo chip does not.
My guess is that HTC added some special FM audio controls to the WDC9310 driver. EDIT: OK someone sent me a debug log from a rooted One, I'll look to find new FM controls.

mikereidis said:
Here's one of the IR apps on Play (more if you follow "Users who viewed this also viewed") : https://play.google.com/store/apps/details?id=com.microcontrollerbg.irdroid
App description says "Uses and needs external Irdroid module" and indicates it's a port of LIRC.
IR ports and their drivers are relatively simple, compared to audio, graphics, FM, etc.
So I'll bet that somebody will find/build an HTC One AOSP IR solution in the next 3-6 months. I've briefly considered it myself, but there are enough apps out there already IMO for when drivers become available.
BTW, I got the app link from this good thread about things missing from the coming Nexus Experience version: http://www.androidpolice.com/2013/0...tc-camera-features-and-no-beats-audio-switch/
My impression right now is that HTC One sales are doing better than many of us expected. The Nexus Experience thing has convinced me that I'll be getting one soon. And Samsung GS4 sales seem lower than expected. I think HTC One is "stealing" some GS4 sales.
My point is that I think HTC One XDA/custom ROM and apps development will do well, and solutions for IR and some other Sense related features will be found.
Click to expand...
Click to collapse
I'm sure the ONE isn't doing much to hinder sales of the S4. If you take into consideration that the S3 and S4 release dates are roughly a year apart not many people are available to upgrade let alone fork out the full price for the phone. People tend to pick brands and stick with them.
Also, according to Wikipedia, "Upon its release (S4), it became the fastest selling smartphone in Samsung's history, with 10 million devices sold as of May 22, 2013, according to Samsung." AND "the One sold around 5 million units through its first two months of worldwide availability.[" So I don't know where this stigma comes that HTC is dominating Samsung right now. I'm assuming it's just pure fanboy-ism.

tkoreaper said:
So I don't know where this stigma comes that HTC is dominating Samsung right now. I'm assuming it's just pure fanboy-ism.
Click to expand...
Click to collapse
There isn't any, AFAIK. Samsung is still top dog. Just with a LITTLE less domination than was expected, and HTC doing a bit better than many expected for them. HTC has lost a LOT of market share in 2 years, now I think they've climbed back (just a bit !) from the precipice.
My very non-scientific survey of the front page of XDA forums seems to show about twice as much activity for all S4 variants, versus all One variants. One activity should have an edge because it came out first though...
Against the S4's expected dominance, I think a 2:1 activity ratio means the One is clearly among the most popular new devices, despite enthusiast complaints about non-removable battery and no SDCard.

For FM:
- AFAICT, the people who reported success with Spirit on HTC One were running stock ROMs.
On stock derived ROMs, deny SU to Spirit or better yet, set Debug-> FM API to "OEM Proprietary" and restart Spirit. If the stock FM app can work, then Spirit should be able to work this way.
Debug-> Audio Focus should be enabled, but this is done automatically on recent Spirit releases.
- I've taken a quick look at the ALSA audio driver differences. Digital FM audio is I think possible, using some HTC One specific ALSA controls intended for Bluetooth. I will need a phone and time to figure this out. I'm not sure there is even an analog FM route available; it may be digital only.
If there's a service manual and/or schematic, I'd be interested to see.
- Even without audio, I'm not sure Spirit can control the FM/combo chip on AOSP ROMs or using low level stuff. The code that works an many old and new Broadcom chips directly via "UART" does not work on this BCM4335.
Maybe it could work if Bluetooth were turned on and/or Spirit has Debug-> HCI Access set to "BT Socket".
EDIT: Actually someone just emailed me running CM10.1 and the FM chip control works through UART.
Overall, I just have to get this phone to make it work well. Usually I get new phones on Ebay from Hong Kong or US vendors. But in this case I think I'd be better to buy one locally for $650 plus taxes. I'd buy an HTC dev phone, but they only sell to US and I think the same will be true, at least initially, for the coming Google Nexus Experience phone. And... I've been reading the One has S-Off and even carrier SIM unlock now (?)...

I got a One on the weekend and have added "early" support for Spirit FM on HTC One.
HTC One first AOSP/Google support: http://forum.xda-developers.com/show...7#post42922397
Now where is the guy or gal who will do the IR... and Camera...

Related

FM Radio

Hi All,
I saw a post some time ago that seemed to indicate that hardware was actually in the TyTN II for the FM Radio and they were going to look into how to make this available.
Has there been an update I have missed? Is this possible?
Any pointers would be great, it's the one bit of functionality I wish they had included to make it the perfect device for me
Paul
I'd be very interested in this too ...
Here in the UK o2 are advertising the Tytn II rebadged to the o2 stellar with an FM radio so the hardware must be in there. i'd be very interested as well
Me aswell.
Would it be a case of running the FM app from the O2 phone, if anyone can send it I will try it
Paul
From Softpedia:
"The 3-megapixel camera is pretty impressive and its capture quality is better than in many other smartphones, which scores another advantage for O2's device. The phone brings entertainment through an MP3 player and FM radio, making it a handset capable of providing both fun and business solutions. Still, this is a new feature for the device, hopefully not another mistype from O2, as they have done a rather sloppy job with this announcement."
The link: http://news.softpedia.com/news/HTC-Kaiser-Coming-at-O2-as-Xda-Stellar-71434.shtml
So... what is the truth?!?!?
Sorry to point this out, but usually it is hardware!
and if you look at the ad from O2 it doesn't say "FM radio". it only says MP3 player and radio.
there are already radio streaming apps out there, like resco radio
I think it was msmobile blog making the error...
This happens with every new WM device...
A lot of websites and even the Network marketing people dont know what they are talking about. Imagine being the product manager and not making sure that the copywriters don't just create imaginary stuff for your devices...
Then again the O2 Marketing Manager allowed ads to go out calling it Stella for about a month...
It's obviously a hardware feature as the OP says, it's just a question of whether the hardware might already be in there, to be enabled at some future point (perhaps by the O2 firmware). There are precedents for this, such as the GPS that exists (but is not supported) in the S730.
I'd be surprised if the hardware in the Kaiser was significantly different to that in the virtually identical-specced Touch Cruise, which is essentially just a Kaiser without the keyboard - except of course the Cruise has FM radio...
It could well be it's more expensive to leave out than it is to put in, but for marketing reasons it's only enabled in selected models (based on the same platform). This is all conjecture though...
if i remember correctly, the post ended because they discovered that the GPS radio worked and broadcasted differently than the FM radio so that it was not possible.
Edit: Here's the exact post: http://forum.xda-developers.com/showthread.php?t=338238
The hardware most certainly is NOT in the Kaiser or TytnII. But if you're interested in true broadcast television or fm radio, you can check this out: http://www.eopstech.com/eops/pro3.jsp
GSLEON3 said:
The hardware most certainly is NOT in the Kaiser or TytnII. But if you're interested in true broadcast television or fm radio, you can check this out: http://www.eopstech.com/eops/pro3.jsp
Click to expand...
Click to collapse
how can you be so certai?
The O2 website now says (http://shop.o2.co.uk/ComingSoon):
The new O2 Xda Stellar is a touch screen Xda with a slim, stylish design. As well as the on-board GPS, Windows Mobile 6 (supporting Microsoft Direct Push Email) and Wi-Fi, it is Quad Band, 3G and has a 3 mega-pixel camera and MP3 player
Click to expand...
Click to collapse
No mention of any radio now ...
Hi can someone extract the rom from the HTC Cruise. I would like to look at the fm radio app...
jaygriggs said:
how can you be so certai?
Click to expand...
Click to collapse
If you follow the link I posted at the bottom of the first page of this post, one of the posters there said that there's no fm radio components mentioned on the schematics of the chipset in the phone.
has it happened yet?
CorruptedSanity said:
has it happened yet?
Click to expand...
Click to collapse
Have you read the post above you? There is no radio hardware.

How to use FM receiver or transmitter?

I believe we already know that there is a fm transmitter chip builtin to the snapdragon. Does anybody know a way to activate and use it? (I am not a developer but merely a user)
In my country data is not so cheap and not so widespread. Even if it were so, fm radio eats much less battery than 3g (i believe). htc desire seems to have in its specs an "fm radio".
so what about nexus one? can we have fm radio (if not transmitter?) it would be really really nice to have for me. I hate carrying one headphone for my dumb nokia phone to play radio and another for the "smart" nexus one for mp3s..
best,
Please star issue 7073 in the meantime on google code "Android - An Open Handset Alliance Project "
I can't give a link since i am a newbie
Only 5 messages and : wrong thread, didn't use the search button, double post, didn't use the edit button !!! WANRING !!!
hi imfoflo,
I actually even used the original forum search in nexus one main thread and its subthreads and didn't come across to this topic. it might be my noobiness of course.
but I didn't get where i did double post? you mean I could merge these two posts in one post, then sure, i'll be more careful with that in my next posts.
best,
kirpi

Porting FM Radio to mytouch slide? Is this possible?

I wanted to know if anyone was successful or tried porting the htc fm radio from the htc aria or evo and have it working for the mytouch silde?
I would love to have a radio.... but does the slide even have the hardware for it?
The Slide should be able to use it, but we need someone that knows about this to figure it out. Like they did to the Cliq.
Yea i hope someone can port this and mobi tv so i can use it on my slide
It's certainly possible, but it requires kernel support. You could readily download the apk and libraries and push them to the slide, but it still probably wouldn't work [edit: just did that and it didn't]. The ROM chefs for the CLIQ learned to compile their kernels with support for the fmradio in order to get everything working, but it took a lot of trial and error on their part.
This would be awesome
I was under the impression that this was hardware-based, meaning specific hardware would have to be present on the device in order to tune to those frequencies...?
You're correct. It is hardware-based. Thing is, many Android phones use the same radio chip, which is an all-in-one deal, capable of data, bluetooth, and fm radio, if I've read correctly. For those that have this particular chip, it's just a matter of kernel support, libraries, and the app to access it.
Eugene got it working for the Motorola CLIQ. I would imagine that, if it were possible for the Slide, we would have heard something by now.
Some of you who owns slide should try to figured it out which chip is it used for bluetooth. If ti is chip from texas instruments, called TI WL1271 or TI WL1273, then drivers and aplication could probalbi be ported from HTC Legend rom, which is using TI WL1273, cause this chip is capable of receiving and maybe even transmitting FM radio.
EDIT: So nobody knows the answer?? I've already asked this on two different forums in three different threads
Wow, I would love to have it transmitting. My friend used to have a Nokia phone that had that feature, its really cool.
If you look at /system/etc/firmware you can see a wl1271.bin Also a Firmware
for the wl1271. take attention on http://www.lsr.com/downloads/tiwi/datasheet/TIWI_Datasheet.pdf, the chip has fm-radio...
If the pins are connected, it should be possible...
reagards
That is good news! Anyone know how to make the magic happen?
Sent from my T-Mobile myTouch 3G Slide using XDA App
bryancruise said:
That is good news! Anyone know how to make the magic happen?
Sent from my T-Mobile myTouch 3G Slide using XDA App
Click to expand...
Click to collapse
I only did a quick readover since im headed to bed, but if no code really needs to be messed with and just connect some pins to make this possible then i'll look into it since electronics is more my thing than software
Sent from my T-Mobile myTouch 3G Slide using XDA App
Well since stock rom from slide is also using htc's framework I think it is very possible for you to port drivers and aplication to slide. But what woudl be even greater if someone would manage to port FM radio into cyanogenmod. Once it would be ported on one device with this chip, then it could be used on every other device with same chip. Here is the discussion about porting it on Legend in cyanogenmod, but now one has step up to the challange. youn can learn here what needs to be done. Good luck to anybody who will try!
The slide doesn't have the hardware for it, I already tried

(Q) fm transmitter cm 6.1

now that theres fm radio, on the nexus on the new cm 6.1 and other roms would it be possible to have a fm transmitter? like the one where it plays your music thru the fm in the car or something. if this is possible that would be amazing.
No, it's not supported in the hardware.
wow that really sucks , anyways thanks for the reply
Wrong, the hardware is there.
There is however, no drivers for the chipset on any device to reverse engineer or port or even look at.
Ask cyanogen, maybe he will fix your nexus one.
Code is in the framework. Could work if we added it to FM app
charnsingh_online said:
Code is in the framework. Could work if we added it to FM app
Click to expand...
Click to collapse
Where did that code come from? Code Aurora?
charnsingh_online said:
Code is in the framework. Could work if we added it to FM app
Click to expand...
Click to collapse
salivates.
So is everyone saying here that there is a chance that maybe in the future it will be unlocked
Sent from my Nexus One using XDA App
JCopernicus said:
Wrong, the hardware is there.
There is however, no drivers for the chipset on any device to reverse engineer or port or even look at.
Click to expand...
Click to collapse
I really doubt the transmitter is hooked up, regardless of software it wont work. If it was a working transmitter the Desire would have probably had it with the FM application/kernel.
But we could sit here and speculate all we want, the fact is nobody knows for sure.
evilkorn said:
I really doubt the transmitter is hooked up, regardless of software it wont work. If it was a working transmitter the Desire would have probably had it with the FM application/kernel.
But we could sit here and speculate all we want, the fact is nobody knows for sure.
Click to expand...
Click to collapse
There's nothing that needs to be hooked up. The FM portion of the wifi/bluetooth/fm all use the same antenna for reception/broadcasting.
FM transmission on devices require alot more legal entanglements that companies don't want to deal with.
The chip onboard is an all in one, it's there, it just needs software.
i doubt the shortness of the waves will cause any legal disputes if so we would have issues with all these kids that USE to walk around with walkie talkies all the time
solidmac said:
i doubt the shortness of the waves will cause any legal disputes if so we would have issues with all these kids that USE to walk around with walkie talkies all the time
Click to expand...
Click to collapse
yeah, so you do realize that there's a lot of different frequencies for devices, right? Your "walkie talkies" were likely 38mhz or maybe 43mhz. Not a commercial frequency band.
solidmac said:
i doubt the shortness of the waves will cause any legal disputes if so we would have issues with all these kids that USE to walk around with walkie talkies all the time
Click to expand...
Click to collapse
Actually, the FM transmitters that popped up for the early iPods and several other MP3 players were originally illegal to use in many countries since they operated on frequencies that were considered protected or where you needed to register as a broadcaster to be allowed to transmit. This has however now been relaxed in several countries as long as the transmission strength is kept low enough to not interfere noticable with other people's devices.

The best app for your ONE is back!!

The best app for your HTC ONE has finally returned to the play store!!
Smart IR Remote http://8xvb.qr.ai
No I don't work for them. This app simply blew my mind after trying so many other remote apps on my One. Every other app had such an ugly GUI, but this one is beautiful. I have replaced all my remotes in my home with this one app. It's also useful for trolling at bars.
BTW their support is awesome! They will quickly add your device to the app of its not in there (I did not have this problem), but I can say they respond to emails quick as hell.
Anyways, go check it out! It's a must have app for HTC One owners!
Description
Smart IR Remote, the best InfraRed remote app on Google Play, is now back, and better than ever! With the largest number (and best combination) of features, most beautiful UI, simplest user interface and app flow, and more than 500.000 supported devices (adding hundreds more every day), Smart IR Remote is simply the best IR Remote app out there!
Now compatible with all Samsung tablets and notes carrying an IR Blaster, as well as all similar HTC devices.
Compatible with:
Samsung Galaxy Tab , Samsung Galaxy S4, Samsung Galaxy Note, HTC One, and all other variations carrying an InfraRed Blaster from Samsung and HTC.
Sent from my HTCONE using xda app-developers app
Aside from backing up your remote layout and the automatic volume-lowering-function, what else differentiates this application from the remote application already on your HTC One?
Just curious in case I should switch over.
The TV application is useless, at least for me. My country isn't listed and I couldn't get my TV to work. With this app I configured my 2 TVs at home in seconds, you just have to select the make
Sent from my HTCONE using Tapatalk 4
crnewhouse said:
Aside from backing up your remote layout and the automatic volume-lowering-function, what else differentiates this application from the remote application already on your HTC One?
Just curious in case I should switch over.
Click to expand...
Click to collapse
The TV app just doesnt allow for much customization of the buttons. In smart ir remote you can also create macros. I have one that turns on/off my tv, audio system and set-top box with one button. Smart remotes are useful too. I can take all the important buttons from multiple remotes and combine it into one remote.
Sent from my HTCONE using Tapatalk 4
msimindlessmsi2 said:
The best app for your HTC ONE has finally returned to the play store!!
Smart IR Remote http://8xvb.qr.ai
No I don't work for them. This app simply blew my mind after trying so many other remote apps on my One. Every other app had such an ugly GUI, but this one is beautiful. I have replaced all my remotes in my home with this one app. It's also useful for trolling at bars.
BTW their support is awesome! They will quickly add your device to the app of its not in there (I did not have this problem), but I can say they respond to emails quick as hell.
Anyways, go check it out! It's a must have app for HTC One owners!
Description
Smart IR Remote, the best InfraRed remote app on Google Play, is now back, and better than ever! With the largest number (and best combination) of features, most beautiful UI, simplest user interface and app flow, and more than 500.000 supported devices (adding hundreds more every day), Smart IR Remote is simply the best IR Remote app out there!
Now compatible with all Samsung tablets and notes carrying an IR Blaster, as well as all similar HTC devices.
Compatible with:
Samsung Galaxy Tab , Samsung Galaxy S4, Samsung Galaxy Note, HTC One, and all other variations carrying an InfraRed Blaster from Samsung and HTC.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
Right now it doenst seem to work with rooted devices, or at least non sense roms like mine (running Beanstalk 4.3.1001). But I emailed the developer and they claimed they will be working on solving this problem, but I was looking at all the functions it had and now I'm SUPER excited to see if they can get it to work, I would love to put this bad boy to work.
chaley80 said:
Right now it doenst seem to work with rooted devices, or at least non sense roms like mine (running Beanstalk 4.3.1001). But I emailed the developer and they claimed they will be working on solving this problem, but I was looking at all the functions it had and now I'm SUPER excited to see if they can get it to work, I would love to put this bad boy to work.
Click to expand...
Click to collapse
I would contact the Rom developer also. Could be a Rom/issue. Maybe the drivers aren't there to interface with the ir blaster.
Sent from my HTCONE using Tapatalk 4
The black version looks better..light grey seems generic

Categories

Resources