Possible GPS idea - Mogul, XV6800 General

I was thinking that everyone is waiting on the new sprint rom to unlock the GPS and blah blah blah.
yes it is determined that the phone DOES have full GPS to be unlocked the first quarter of 2008, but if we didnt want to wait, thanks to OLI unlocker would we be able to load the Att Tilt rom which has GPS unlocked, would it work? Has anyone tried this, and did it or would it work. Im going looking for the rom now to give it a whirl

I'm no expert on custom ROMs, but I would say the answer is most likely no. First, the tilt is a GSM phone, so it has a different radio driver for the phone, a different dialer, different networking support, etc etc... Secondly, even if you don't care about the phone not working (which I suspect you do ) there's a good chance that other non-phone hardware like the video, audio, keyboard, etc require different drivers. That also includes the GPS. Clearly the GPS in the titan is not hard-wired to a real serial port, otherwise we would be able to use it. It requires special drivers to enable the hardware and enable the virtual serial port on your device.
Now, if by some chance the tilt shares the same GPS chipset with our Titan it may be possible for someone to cook a custom rom using all the regular drivers for the Titan but drop in the GPS driver (only) from the Tilt. However, since the GPS chipset seems to be capable of deriving some information from the cell towers, my guess is that even this approach is not possible.
Perhaps the biggest nail in the coffin is the fact that no one has done this yet. You would think that if such a mod were possible one of the people making high-quality custom roms would already have done it.
Sorry

Related

Questions from a new(bie) Mogul owner

Hi all,
Please go easy on me here, as I have some probably pretty basic questions. I have been digging around the internet (mostly these forums) for the past two days since I got my new Mogul from Sprint running WM6. I had the PPC-6700 prior to this (as I expect most of you had) and I was fairly good at tinkering on that one, but I'm on new ground here with WM6 and a new phone.
First, I am a little confused by all the names.
For sure, I know that this phone can be called the Titan, the Mogul, or the PPC-6800. What I'm not sure of is that some people also call this the Hermes or the TyTn. I figured Titan and TyTn were the same things, but apparently not.
The main reason I'm asking is so that when I am looking for information and posts on this phone, which can I use and which should I disregard. It seems that many of the things posted under the Hermes forum are valid for the Mogul as well, but alas..I'm confused.
Once we get names settled, I'm going to start with only one other question that I have dire need for. I have looked around for answers and most are many months old, so I have to think that there are some more recent findings. My question regards Microsoft Voice Command 1.6 with a BT headset on this phone.
I have installed MS VC 1.6 and paired my new Cardo Scala 800 headset. It seems to work with the following problems:
1) BT quality is not great, including VC voice getting cut off. This is my first BT headset with this phone, and I have read that many people have poor BT quality with this phone. If that's the case, can anyone recommend a BT headset that works well with this phone (preferablly one that charges directly via mini-USB).
2) Confirmation don't work - based on what I have read this is a problem with all WM6 phones with VC 1.6. It appears the only solution is to disable confirmations completely. I have done this and it appears to be able to function. I just want to confirm that there isn't any newer data out there for this issue.
3) Last issue is that I don't get notifications. Meaning, when an incoming call comes in I get the ringing sound, but it doesn't tell me the name. In my searches I came across this posting:
http://forum.xda-developers.com/showthread.php?t=316881&page=51
It is for the Hermes (again..confused) but contains a zip file with 4 files to copy over the default VC files. When I did this and reset my phone, notifications seem to work. I want to make sure that this is the best way to get VC 1.6 working as fully as possible on this phone.
I really appreciate any feedback you can give.... I have a few more questions, but I'll wait till we get these squared away.
Thanks to all!
Well, I've not been a Mogul owner for much longer than you, and certainly have been a PPC owner less (this is my first PPC), however let me try to answer a few of your questions.
First, the "Sprint Mogul" is Sprint's name for this phone. The phone "codename" of sorts is the Titan, and model is the PPC-6800. Hopefully I got that all right. Bottom line, they all refer to the same phone. Also, different cell companies have different names for phones, so it can get a little confusing sometimes.
Now the TyTN is the same device as the Hermes, aka the 8525. From what I've gathered in my short experience, this is basically the same same phone as the Titan, however, it's the AT&T GSM version. Where we have CDMA and EVDO, it has GSM and HSDPA.
The files get tricky too, and you have to know your way around the system before you try replacing files from other phones. A lot of files (and issues) are general for WM6. That means that any device running WM6 may have these same files, behaviors, or issues. However, with that said, certain files are specific to the network. Some of the things like dialers are coded for GSM on one phone, and CDMA on another. So if you think it might have anything to do with the network, double check before you replace it from another phone that's on a different network. In your case, the voice command thing is general to WM6, so grabbing the files from the Hermes was ok.
The bluetooth? Well, that's a question a lot of us still have. The bluetooth on these phones suck. I've heard a lot of people say it's HTC's fault, and I've also heard a few people say WM6 just isn't good with BT anyway. I personally haven't gotten into what's wrong with it much yet, so I can't tell you exactly the issues, but we can only hope for a firmware and/or software update in the future that will help these problems.
I know that if you look around, I've seen lists where people have listed which BT headsets seem to work well, and which don't. The only I have, and thus have tested, is a Jawbone, and I can report, as well as tell you from reading, it's one of the better BT headsets for this phone. It's a little expensive though, so it's not in everyone's price range. Unfortunately I can't help much past that since I've never used any other, but if you search you can probably find threads like I mentioned and just get feedback from other people.
Also, I've never played with Voice Command, so I can't answer any more specific questions on that subject. Hopefully I helped clear a few things up. As I said, I'm definitely still learning myself, but I've been taking in all kinds of information. I love this phone and don't see how I've survived without a PocketPC before.
Ajerman,
Thanks for your input. Ok that makes sense regarding the AT&T GSM version. I think most of what I will want to tweak will be related to WM6 and not carriers.
Unfortunately my Cardo 800 BT headset is my first headset too, and this is the first time I'm using it with the phone. So, I too don't have anything to gauge it against. I'm probably going to return the headset however as it was advertised as having a mini-usb charging jack, when infact it has a micro-usb. I saw the jawbone, looks nice, but again, I only want a headset that uses a mini-usb jack (too many adapters to carry around).
My next questions (hopefully someone can address), is unlocking the Extended ROM for customization. I did this on the PPC-6700 WM5 with an Extended rom unlocker tool and modified the config.txt in there to automatically install certain apps upon hard-reset.
I need to assist the mobile admins at my company with setting everyone's phone up with some additional settings en masse.
Is it safe to use the same procedures on WM6? I'm probably going to try it anyway but thought someone could point me to a good primer on upgrading my skills from WM5 to WM6.
Any more input is valued!
thanks

Now Mogul has GPS and Rev A, when Touch can have them?

Touch has more ram than Mogul, so running GPS and Rev A should be more stable.
The Vogue uses the exact same MSM7500 chipset as the Vogue/Touch so I would think that the ROM would work the same if not better considering the additional memory. I don't want to brick my 3 week old Touch so I will wait for someone else with more guts to try it.
D.
YOu cant just replace the ROM, there are a few different things about the phone.
Word is the hardware is there its just a matter of the radio update. You are either going to have to wait for the official one to come out or someone reverse engineers it.
At this moment do not try and install the beta Mogul rom on your Vogue, it will not go well.

shift GPS

hi all
is it true the shift's GPS is blocked ?
can someone confirm ?
if so, what can be done to use TOMTOM on it ?
please advise
Thanks
Not blocked, just not there.
that blows ....
i was about to order one...
oh well, i guess ill just stick to my advantage x7500...
thanks.
By the way I'm using TomTom on my universal but I'm not comfortable to use TOMTOM. I have to enter specific information to use search function, even doesn't have that much result even I paid.
and Tomtom can't navigate to extra number of address like 85-89156 ****HWY.
only can navigate 85 ****hwy. and I Think tomtom's brain doesn't work well when it calculate the root.
I Have navtech for my ipaq, that's works so great. On the shift, even I have to buy a external battery pack or maybe SSD to extend battery life, I'm going to use navigation by microsoft on Vista for best result. cuz I'm use navigation for my job!
If before u buy tomtom, u should buy other one...
http://es.youtube.com/watch?v=wOesPtnXP9o
Shift has a qualcomm 7200 inside and this is the same chip used by kaiser. This chip has gps inside, as you can see in documentation or in video. Once we can put wm6 full on it we wiil be able to install any navigator and make use ot if....
If the antenna is installed, that is....
I believe if you look at the exposed internal photos of the Shift on the FCC website, they clearly define a GPS antenna. I don't know that it means that it has GPS for sure but it points to that direction.
danielherrero said:
http://es.youtube.com/watch?v=wOesPtnXP9o
Shift has a qualcomm 7200 inside and this is the same chip used by kaiser. This chip has gps inside, as you can see in documentation or in video. Once we can put wm6 full on it we wiil be able to install any navigator and make use ot if....
Click to expand...
Click to collapse
I was under the impression the qualcom didnt make it to the final production model and that the Shift just has the one processor?
firedup said:
I was under the impression the qualcom didnt make it to the final production model and that the Shift just has the one processor?
Click to expand...
Click to collapse
totally wrong impression
it has a full MSM7xxx inside
cmonex said:
totally wrong impression
it has a full MSM7xxx inside
Click to expand...
Click to collapse
I cant see it mentioned in my documentation or on any of the UK websites selling it. Is this a deliberate omission to leave out the 2nd processor details?!? I've heard of them leaving out GPS functionality but the whole processor?
also had gps tools in the old test roms
firedup said:
I cant see it mentioned in my documentation or on any of the UK websites selling it. Is this a deliberate omission to leave out the 2nd processor details?!? I've heard of them leaving out GPS functionality but the whole processor?
Click to expand...
Click to collapse
the ARM9 processor is just for the radio.
the ARM11 is the applications processor, i.e. for running WM and apps.
it's not dualcore in the sense an intel core 2 duo is.
edit: sorry i see now you meant the whole MSM is not mentioned. well that's easy to explain why... the WM6 side is supposed to be just a sideshow, so why mention the hardware specs for it.
it also has its own RAM, etc. etc.
if you heard of the dualcor prototype, well the HTC shift is like that. two full devices in one!
Anyone noticed there is a GPS section on the FAQ part of the HTC Shift site?
http://www.htc.com/www/Faq_detail.aspx?p_id=60&act=faq&cat=266
re
yea i noticed that too.... what gives? if theres gps in here why the hell don't they let us use it!! I love HTC but i hate the fact that the always "disable" key hardware or features, If you don't want the device to have it, don't tease us by putting it in the first place!!
datacrime said:
yea i noticed that too.... what gives? if theres gps in here why the hell don't they let us use it!! I love HTC but i hate the fact that the always "disable" key hardware or features, If you don't want the device to have it, don't tease us by putting it in the first place!!
Click to expand...
Click to collapse
Well... Maybe they leave this GPS option open incase something cookes his own rom and then the GPS function is enabled.
HTC will then have the option to release a rom with GPS otherwise no one wants to use their original rom!
here some info.....http://www.pringle.net.nz/blog/PermaLink,guid,46fcc9e9-26e8-4c40-b262-58a5366cb587.aspx
so let's investigate.....
re
expansys shows two versions of the shift, one with gps and one without. I think that htc is planning to release a gps version too, which will probably cost more too
I figured it couldn't hurt try a couple things after reading all the posts in this thread.
This what I tried so far.
I installed google maps for WM6
I copied over Telenav folder from my X7501
I copied the following files from the Windows directory on my X7501 to the Window dir. on my Shift.
TeleNavPlug.dll
GPSAux.dll.0409.mui
GPSAux.dll
After resetting I now have
Under Settings > system the External GPS appplication.
Telenav that starts up and seem to work but cannot find the GPS
Google maps tht works but cannot find the GPS.
I tried abunch of combinations of com port, access setting, etc in the External GPS application. I tried all the ones that worked on my X7501 and few other that didn't but no luck.
When I changed the access setting in the external GPS application it dose change the messages I am getting from google maps. Google maps seems to think there is GPS there but never gets any sat locks or times out trying to initialize the GPS (depends on the settings). I am using the shift in the same place my X7501 gets several sat locks.
Dose anyone else have any ideas I can try or know of any file I missed?
I know should probably wait for people smarter than I am to work on this but I figured I would give it a try...

Wlan for Pharos (Some common features of all OMAP 850 phones)

I thought it was so strange that when I scanned for bluetooth devices I picked up my (pc) internet modem (which is wireless enabled) so I thought bluetooth and wifi must share a lot of the same characteristics.
I was browsing for the latest Android developments and stumbled on the following
Please take a look at this page http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12000&contentId=4679
And this one http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12019&contentId=4635&DCMP=WTBU&HQS=Other+OT+bluetooth
This seems to mean that FM Radio and WiFi is a standard feature of OMAP 850 chips and (for the touch owners look at this page http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12028&contentId=4636&DCMP=WTBU&HQS=Other+OT+agps)
Seems If you have Bluetooth you also have wifi and possibly fm radio built in only lacking the drivers (no special wifi antenna is used in the omap 850 solution accoriding to TI)
It would seem that all we need is the right drivers and regsettings (so no new rom or radio rom should be needed)
Who can make it a working cab?
Woooooooooo!
Good news.
great job
if some solution, make me to buy one.
by the soft solution, strange story !no idea for none cost effective option. why do HTC designers make a 2008 PDA with no WiFi Option!
wow
wow...it might be dream come ture if it happens....please some body develop a driver for pharos Fm radio n wifi.....please buit up some regsettings......
This is a good information. Hope that we could make it work on our Pharos.
Good News... I hope who will make it soon because I don't understand about ARM work.
That is an awesome find man. I hope this info is used to get a wifi working ROM.
I thought it was some kind of cost saving to not include wifi, i.e. some missing hardware. If it's just a driver, that is the so friggen stupid! Why have such a great phone and then neuter it by taking away wifi? And the price is still just as high as the Artemis when it came out. The lack of wifi is the only thing that would keep me from buying one. Otherwise, it would be a great upgrade phone for me since I don't need nor have 3G with my service and and it has the cool flush screen that I wish my Artemis had.
someone knows if the touch dual then also could have the wifi option turned on by drivers? the touch normal has wifi, so i guess it should be possible.
anyone tried the drivers from the htc wizard? it also has a ti omap 850, so driver from such a rom could be coocked into the rom of other devices.
@VOODOOS!L
The touch dual uses the Qualcomm 7200 chipset. That chipset uses the arm926tesj as a co processor but i dont think its the full OMAP 850 chiset.
but there is a project for enabling niki wifi (started out as a project ot enabkle both wifi and gps)
@shawndh
Phone manufacterors do it all the time. Look at the Kaiser story, yes they have some great graphical chip (would be too expensive to make a different chiset with another graphical chip) so they just didnt include the drivers for it.
With some other phones like the touch HTC disabled the wifi in the radio rom... maybe some techies here could try to put an artemis radio rom in the pharos... but for none techies this would probably be an instant brick (thats why i didnt try it) tom_codon maybe you could say something about this....input would be apreciated.
Come to think of it, I remember that they had a crippled GPS radio or something in the TyTn I. The only reason I could think of for disabling wifi is so people who need wifi would buy the the Artemis. To be honest, if I had a choice btwn the two, I would get the Pharos over the Artemis if they both had wifi. Even so, it should still have wifi.
This ia a good news.
I'm waiting.
you know what... im giving up.
ive tried pm ing some guys working on the wifi on nike project, asking tomcodon. no response as yet and prolly not going to get one.
And tried to get qtopia and winlizard(gizard) working.
but in the linux world up is down, left is right, and smart is stupid. those people are (in dutch: contactgestoord) communicationally challenged. you cant find anything on their sites. there is no(or very little) documentation on how stuff works ...noone explains anything... so in order to learn linux you have to know it.
thats why m$ can afford to be so sucky: their competition sucks so much more
i said to the guys at irc #linzwizard hey thnx for the build, i can boot it too (gizard aka linwizard 0.3.0) but the touchscreen driver crashes.
he then said make a support request at sourceforge which i did (btw it isnt obvious how to .. it should be very simple. but hey... thats the linux way, isnt it) response was.. and this is a shocker.. your touchscreen driver doesnt work(.... grrreeeaat) you should disable it...(no description on how)
up for the rom with wifi for the pharos!
Thanks
Not to rain on anyone parade but from the first page from TI, it looks like to get wifi support you have to have a special chip in the phone(upper left corner) thats diferent that the chip to get wifi, so unless someone knows for sure that the WiLink chips are present, I think we are without wifi
Wait and see...
The only problem is... How long does it take to finalize such a ROM?
If it takes 1 yr, for example, I think I will have already changed to at least TouchHD..
Anyway, good news!
Hello! I have a HTC Pharos for one month. Yesterday, i accidentally have wetted phone by tea, and then i disassembled it for cleaning. Cleaning was finish sucсessfully, now phone is working
During disassembly of the device I have made some pictures. I think Wlan module is in the device. Look at the photo! Motherboard have many connectors for external antennas, and Wlan connector is on the board!
http://www.flash-remont.narod.ru/pharos/pharos.jpg
thank you for the picture, its in a good resolution! but what would have made it more clear is if you would have looked for a specific Texas instruments chip with letter combinaton BRF or BL (there are 4 chips mentioned with a dual solution BL6450 BRF 6350 BRF6300 and BRF6150 last one is not good because its a bluetooth only chip) we should also be looking for TI chips with a WL designation and number 1271 1273 1251 1253
at least (BRF6300) - Bluetooth specification v2.0 + EDR single chip should be in the Pharos since we have that bluetooth spec.
in the picture i can make out the TWL3027 chip with extra designation BZQW (at least i think its that chip ... according to the ti site that would be the baseband chip but it doesnt describe on the site what the extra letters mean)http://focus.ti.com/general/docs/wtbu/wtbuproductcontent.tsp?templateId=6123&navigationId=12311&contentId=4706
[URL="http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12025&contentId=4645&DCMP=WTBU&HQS=Other+OT+mwlan"]http://focus.ti.com/general/docs/wtbu/wtbugencontent.tsp?templateId=6123&navigationId=12019&contentId=4635&DCMP=WTBU&HQS=Other+OT+bluetooth[/URL]
hope this is readable since i have a hangover
Kostyan could you post the other pics you made of the interior of the Pharos
avathar behemoth said:
thank you for the picture, its in a good resolution! but what would have made it more clear is if you would have looked for a specific Texas instruments chip with letter combinaton BRF or BL (there are 4 chips mentioned with a dual solution BL6450 BRF 6350 BRF6300 and BRF6150 last one is not good because its a bluetooth only chip) we should also be looking for TI chips with a WL designation and number 1271 1273 1251 1253
=skipped=
Click to expand...
Click to collapse
Maybe this iron box is Wlan module?
http://flash-remont.narod.ru/pharos/pharos2.jpg
I may open this box, if it is requires for this research
And on this picture, front side of device it is found Wlan antenna? (if overwind board, supposed Wlan module with connector correspond (matched) to on position with Wlan antenna, and it connected with module)
http://flash-remont.narod.ru/pharos/pharos3.jpg
avathar behemoth said:
Kostyan could you post the other pics you made of the interior of the Pharos
Click to expand...
Click to collapse
Of course, there is all photos:
http://www.flash-remont.narod.ru/pharos/pharos.jpg
http://www.flash-remont.narod.ru/pharos/pharos2.jpg
http://www.flash-remont.narod.ru/pharos/pharos3.jpg
http://www.flash-remont.narod.ru/pharos/pharos4.jpg
http://www.flash-remont.narod.ru/pharos/pharos5.jpg
http://www.flash-remont.narod.ru/pharos/pharos6.jpg
http://www.flash-remont.narod.ru/pharos/pharos7.jpg
http://www.flash-remont.narod.ru/pharos/pharos8.jpg

[CLOSED] Cyanogenmod, Legend, FM Radio & MONEY [MODS PLEASE CLOSE THREAD]

Hey guys,
I was just thinking about that nasty little problem with cyanogenmod and our legends and since there was no meaningfull advencment, we could put some money on it. I think from 5 to 10€ for each doner would be enough or what do you think? Of course the developer has to give us an account to send the money to.
I would just like to use the FM radio and since it is working on desire for some time now, why not on legend.
So who is ready to do it?
would support that idea.
It is already stated waaaaaaaaaaayyyy before. The FM radio WILL NOT WORK on the Legend because of it's alien architecture. Don't ask me, I don't know ****. But if you're do want to make a donation then you can donate to Ali Ba which has been the sole reason CM is running on the Legend.
This is a good idea.
Sent from my Legend using XDA App
rajasyaitan said:
It is already stated waaaaaaaaaaayyyy before. The FM radio WILL NOT WORK on the Legend because of it's alien architecture. Don't ask me, I don't know ****. But if you're do want to make a donation then you can donate to Ali Ba which has been the sole reason CM is running on the Legend.
Click to expand...
Click to collapse
here on this link http://forum.cyanogenmod.com/topic/8260-fm-radio-support-for-legend/ ale baba himself says it is possible but that he hasn't got the time for it. So it is possible we just need someone who will do it. But first of all we need more people.
I'd consider doing development on this. I was wondering why there was no FM Radio app on CM7, LOL.
At the very least I can commit to finding all the info I can gather on this issue. I have no (satisfactory) employment at present and want to break into the Android specific field.
I have 14 years experience in embedded Linux development, including lots of low level kernel stuff. In a previous life (more decades ago than I dare admit) I did electronics engineering stuff, and I still love the low level nuts and bolts.
I'm pretty new to Android however, got my first cellphone (ever!) 17 days ago, first Android phone 15 days ago, and my Legend yesterday.
I think I can learn quick, I'm CM7 nightly, S-Off, new radio one day after getting it, LOL.
So my point is I, and this project, could use help in areas of Android specific knowledge.
Does anyone know if the normal FM radio app I've used before is proprietary Google code ?
Are there any generic FM radio apps that would work if standard drivers existed ?
My quick research on this is that only a driver might be needed. A V4L (video 4 linux) driver, which I have already had some experience with.
But there DOES seem to be a V4L driver already for Linux for the TI WL1273 chip apparently used in the Legend, and apparently a number of other phones. So in theory, this job might be as easy as integrating an already written driver in to the CM kernel, as a kernel module or 2. There MIGHT be some copyright issues with any chip firmware though.
Alas, some comments indicate using such a driver might interfere with Bluetooth functionality.
Interesting stuff about the 1273 chip is that it may support an FM transmitter, and it supposedly supports WiFi N. But who knows if needed hardware support might not be on the PCBs.
^ wow! where have you been all our android lives, bro? link on the post above yours answers some, if not of all, of your questions & covers a lot, i guess. cheers!
maxq1 said:
^ wow! where have you been all our android lives, bro? link on the post above yours answers some, if not of all, of your questions & covers a lot, i guess. cheers!
Click to expand...
Click to collapse
Cheers...
I've been reading that there IS an FM Radio app integrated into CM now. It comes from MIUI, a chinese group of some sort that also makes an Android ROM.
The app apparently uses /dev/radio* which is the standard V4L radio interface. I have these also on my Hauuppage PVR boards I used for HTPC before I went completely digital for movies, tv, etc.
So yes, what we need is integration of a driver into CM kernel, but coding may be needed to fix bluetooth driver interference etc. And of course who knows what else might be needed.
I'm reading that FM is much more important to those without data to stream. Not all of us live in wireless data dense cities and countries.
Would be interesting to see what frequency range can be received and maybe transmitted.
Would be MOST cool to stream from video camera to transmitter for local "pirate TV" type functionality, LOL. Actually can't imagine ATSC or even NTSC (or PAL etc.) encoding possible, but wireless streaming will do the job...
@mikereidis
Thanks for joining in, great highly appreciated. If there is any time left it would be nice if you could look into the GPS problem with CM 7 it is currently not addressed.
Anyhow thanks for your participation and contribution.
BR, ojessie
@mikereidis
So are you going to try and port it?? If you will and you'll succeded then you will be the legend in Legend community!
Sent from my Legend using XDA App
ojessie said:
@mikereidis
Thanks for joining in, great highly appreciated. If there is any time left it would be nice if you could look into the GPS problem with CM 7 it is currently not addressed.
Anyhow thanks for your participation and contribution.
BR, ojessie
Click to expand...
Click to collapse
I can keep my eyes and ears open to GPS, but best to concentrate on one issue at a time.
What is the GPS issue ? I thought it didn't work on my phone after new ROM but within a few hours it was working OK for whatever reason. And now I see 2 metre accuracy compared to the minimum of 5 on my Optimus Chic.
qzem said:
@mikereidis
So are you going to try and port it??
Click to expand...
Click to collapse
I'll do whatever it takes.
The userspace FM Radio app shouldn't need any porting work AFAIK. It seems to already be in CM 6.1 ROMs for the Nexus One (any others?). So I'd guess installation would just need to be enabled for other phones.
The tricky part is getting a device driver working that creates a /dev/radio interface for the MUIU FM radio app to use. There IS already a Linux driver for the WL 1273 the Legend uses, but it might need some modifications to run on the Legend.
But there is some complicating factor regarding bluetooth drivers, so it may not be too straight forward. For initial testing at least the bluetooth drivers could be disabled.
What about HTC's kernel source. As I told in cyanogenmod forum the drivers should already be in HTC's kernel source. If the code is there it should be easy to put it into CM7 kernel and use HTC's FM Radio app. Or what do you think?
mikereidis said:
I can keep my eyes and ears open to GPS, but best to concentrate on one issue at a time.
What is the GPS issue ? I thought it didn't work on my phone after new ROM but within a few hours it was working OK for whatever reason. And now I see 2 metre accuracy compared to the minimum of 5 on my Optimus Chic.
Click to expand...
Click to collapse
Yeh, thats the problem. GPS is working on some devices and on others not and nobody knows why. As a matter of fact when I'm running CM 6.1 its working great. Flashing CM 7 no change to get it working. As mentioned others are reporting the same issue with CM 7 on some its working on others not.
ojessie said:
Yeh, thats the problem. GPS is working on some devices and on others not and nobody knows why. As a matter of fact when I'm running CM 6.1 its working great. Flashing CM 7 no change to get it working. As mentioned others are reporting the same issue with CM 7 on some its working on others not.
Click to expand...
Click to collapse
When I get tired of Google maps seeming to take forever to figure out my GPS location, I've downloaded and run the "GPS Test" and "GPS Status" apps. I did so and for some time the status color on one of those showed yellow, meaning no GPS fix, but power on.
Anyway sometime later it was working. One of those apps downloaded data to make cold starts work faster and that may have helped. A few things to try for anyone interested anyway.
ponchofiesta said:
What about HTC's kernel source. As I told in cyanogenmod forum the drivers should already be in HTC's kernel source. If the code is there it should be easy to put it into CM7 kernel and use HTC's FM Radio app. Or what do you think?
Click to expand...
Click to collapse
The problem with running the HTC FM radio app on CM is that it, like many other HTC apps, uses the HTC framework with Sense UI. So CM can't run it, although stock or modded Sense ROMs should be able to.
IMO right now the MIUI app is the way to go, and it's open source so anyone can modify/fork it.
Yeah I think a /dev/radio is likely in HTC source, but it's possible it's something different and/or kind of proprietary.
The Chip manufacturer, TI, and their partners who make RF modules based on the chips, DO have android /dev/radio drivers. So they are definitely out there somewhere.
I think, as usual that "In Theory" this should be a simple matter, in reality there is usually some problems to solve. Otherwise we'd have FM already in CM.
A few pointers:
TI 1273 has a few interfaces for communication. One of them being a (standard) serial via bluetooth, the other one I2C.
HTC did not use I2C because they already had to use the serial interface for bluetooth and it's a lot cheaper that way (that's what all manufacturers do, by the way). The wl1273 driver in the Linux kernel does have support for the FM capabilities, but unfortunately via I2C only.
So basically we already have all the drivers we need in place (tiwlan_drv, sdio), no kernel stuff needed. What's missing is valid documentation about how to enable radio, route it to the headphones, seek/tune, etc.
You could reverse engineer /system/bin/btipsd, which does bluetooth and FM communication in original HTC releases.
Once you are able to control FM stuff (with bluetooth turned on) write a nice summary and I'll ask cyanogen how to implement it. Won't be that hard, given the fact that currently all supported devices use the serial interface via bluetooth.
ali ba said:
The wl1273 driver in the Linux kernel does have support for the FM capabilities, but unfortunately via I2C only.
So basically we already have all the drivers we need in place (tiwlan_drv, sdio), no kernel stuff needed. What's missing is valid documentation about how to enable radio, route it to the headphones, seek/tune, etc.
You could reverse engineer /system/bin/btipsd, which does bluetooth and FM communication in original HTC releases.
Click to expand...
Click to collapse
Thanks ali ba ! Yes I know about cheap manus, I've worked for a few, LOL. Linux VOIP and security appliances mostly though.
By "The wl1273 driver in the Linux kernel" do you mean the TI provided W1273 driver in the CM7 ROM ? I had thought that driver was for WiFi only, or perhaps WiFi + Bluethooth. Or does my seeing an rfkill device mean FM radio is in there too ? Would it create a /dev/radio device ? There are some FM init BTS files that may enable FM.
My understanding is that the WL1273 WiFi driver in the mainline Linux kernel (not the Android kernel) is WiFi only. There's a guy from Nokia trying to get WL1273 FM radio only driver into main Linux kernel but not there yet. That driver will be separate from WiFi driver even though they may both have WL1273 in the name.
I've been finding some HCI commands usable with hcitool to do audio routing stuff at least. RevEng has been a specialty of mine, so I think if it can be done, I have a good chance.
Quickest route to a working FM radio on Legend is to find an existing app for another phone that works.
Phones with the WL1271/1273/1281/1283 chips include original Moto Droid, Droid 2, Droid X, Motorai, Nokia N800 (or N900?), N8 (?), B&N Nook Color.
There's a thread here on XDA about Droid 2 phones using the Droid X FM radio app with success. I tried that app but there seems to be some problem launching the fmradioserver.
I saw a logcat message that may indicate I need to "adb install" the APKs instead of just copying them to /system/app. I tried but got the error that indicates the UID does not match the signature. I guess that's not an issue on Droid 2 (or motorola phones in general?)
Does anyone know if/how to mod/repack an APK to avoid the UID signature issue ?
A few more of my findings for anyone interested. BTW should I or someone create a thread in the dev section at this point ?
As mentioned above a guy from Nokia is trying to get a V4L2/dev/radio driver for WL1273 into mainline Linux kernel. That driver could be integrated into our kernel, but it might take a bit of work. And as mentioned that driver is not in kernel yet and may have lots of changes still coming in the next several months at least.
But TI also has a driver, and it's meant for Android. I haven't been able to grab source code for that driver yet. I think TI driver references WL1283, the biggest baddest version with GPS too. But driver is supposed to work on all 4 variants, down to WL1271.
TI has a command line app for testing fm radio, I think called fmapp if memory serves. It's possible this test app could at least help with exploration.
Unlike the poor original Droid owners, we are lucky that we know our FM receive antenna is connected, since stock Legend has FM radio. But there seems to be a different pin for FM transmit so it's possible we will never be able to transmit FM more than a few inches. But Tx would just be a bonus, but a potentially wonderful bonus.
And, ya know, I'm not even sure if MIUI FM app works with /dev/radio. I was looking at some source and it seems to be hardcoded with Broadcom chip specific stuff.
Oh, and my understanding is that even if we ever managed to get Wireless N working (with a new or improved stack perhaps?), that it will likely kill batteries quickly enough to be effectively unusable. Would be interesting though.

Categories

Resources