yashsingh1/xdaforums huggingface dataset:
[Huawei Ideos X5 U8800] dancer_69:
Thanks.

Now it' s more stable, but there are some UI problems. There are only 3 buttons for fm memories which is visible, the others don't appear(in landscape you can see more). Seems that the above object have push them down also.

P.S

I'm trying to import the source code on eclipse, but I got a lot of "...cannot be resolved..." errors.

some of them are:

ACTION_FM

AudioSystem

FM_RX

FM_RX2ADP

SystemProperties

STREAM_FM

import android.media.AudioSystem;

All the above are from FMRadioService.java.

But seems that have also errors(I didn't check them all):

FMConfig.java

FMSTATS.java

FMTransmitterActivity.java

FMTransmitterConfigReceiver.java

FMTransmitterService.java

FrequencyPickerDialog.java

I'm using eclipse Indigo on en ubuntu 64bit system, and I have android SDK packages for only for Android 2.3.3 and 4.03 installed.

Do you know why this happens, and hopefully a solution??
[Huawei Ideos X5 U8800] snc-tr:
i have a lot of difficulties to start new radio.apk .

i couldn't get sound first,

if you start radio when you play music, its ok, i can hear sound. otherwise it doesn't work.

i wiped all data/cache and dalvik and then aurora 1.10 installed.

thank you.
[Huawei Ideos X5 U8800] honking:
caf have many different with aosp,so you can not use them as standard android source.

I think if you want to modify the code ,you should compile sdk from caf ,and import to eclipse.

I don't have much knowledge on android develop, so it's difficult for me to change the UI. I suggest you can change the UI and send me the code ,I'll build the apk for you
[Huawei Ideos X5 U8800] mikereidis:
Do note that honking keeps saying he doesn't know much about Android dev... But he DOES know at least enough to get this app built... :)

The app is the CM FM app, more or less, derived from the original MIUI FM app, which was derived from the "Code Aurora" FM app. "Code Aurora" is quicinc, which is some sort of entity connected to Qualcomm, the maker of Tavarua FM and most of the SOCs in mobile devices.

My app was originally derived from the "Code Aurora" app, so I have some familiarity with the code, despite there being relatively little of it still left in my app, and I added "TONS" of additional code.

The "Code Aurora", MIUI and CM apps are dependent on a bunch of framework stuff, including android.media.AudioSystem that apps normally don't have access to. I spent at least several days "de-frameworking" the app so it could be built using the standard apps Android SDK.

I disagree with the idea that an FM app must be a system app. My app proves otherwise. But the original Code Aurora app did that, and so does the derived MIUI and CM apps. Both are built specifically for each ROM, with access to, and dependencies on, the ROM framework.

-----

I looked at the source and found something I think may fix the maximum volume issue with my app. Feb 28 here includes this new code: http://www.mediafire.com/file/i5654nm9vzd9d9m/Spirit_FM_Radio_v120228.apk

I think you MAY have to set Audio->Volume Ctrl Stream to 10, or possibly 7, and restart the app. Another idea is to run my app and that app at the same time. ICS only I guess, until someone builds the app for 2.x.
[Huawei Ideos X5 U8800] geocheats2:
I don't know if it has been already posted but I found a way to enable the speaker with spirit fm

We open spirit fm

Press the button with the 4 lines(menu?)

Test

Audio

(Some weard) Headset disable

(Some weard) Speaker enable

To turn of just

(Some weard) Speaker disable

(Some weard) Headset enable

Sent from my U8800
[Huawei Ideos X5 U8800] VuDuCuRSe:
Wow, good to know someone here also knows DeviceAnywhere. :) Been using it at work, but for different purposes. :cool:

Installed that version but doesn't seem to make any difference. Tried changing to those streams but it still kept on max volume, ignoring the apps volume controller.
[Huawei Ideos X5 U8800] Gheed:
Not sure if this is the good topic to post my problem / observation, so im sorry if it's in a wrong place. Didn't feel like making a new topic for a minor problem.

So, i recently updated from 1.09 ICS to 1.10, without wiping data or anything else since dzo's topic states that it is not necessary unless he says so in patch notes. Everything else is fine, but immediately when i launch the FM radio app it crashes. I've read here that most people have got it to work / atleast launch. Any idea what my problem might be?

Thanks. :o
[Huawei Ideos X5 U8800] honking:
cm radio update

Fix the bug when you change the radio status the radio is mute.

Enjoy it :)
[Huawei Ideos X5 U8800] movelbit:
thank you hongking.

will it work only in aurora or other roms (like miui) too?
[Huawei Ideos X5 U8800] Mach III:
Great! Working good this far...:) Is it possible to remove the "headset antenna check"?
[Huawei Ideos X5 U8800] honking:
I just test in aurora, the other roms may not work well
[Huawei Ideos X5 U8800] movelbit:
could you compile it on a lower SDK? To make it run on 2.3.7 :)

Tks!
[Huawei Ideos X5 U8800] Alex2108:
did the transmitter from previous release work for anybody? couldn't hear anything on my radio when being on the selected frequency :(

radio works in this version, even shows channel name :)
[Huawei Ideos X5 U8800] kilroystyx:
Works fine with me :cool:

This afternoon I was listen radio and I recorded one song during two minutes and for me the sound is with great quality.

Thank to honking :D
[Huawei Ideos X5 U8800] mikereidis:
Transmitter works ?? !! Awesome ! I think that makes the u8800 the first known non-Japan domestic market specific, reasonably available (outside North America?) Android phone with confirmed FM transmit ? Now I want one. :)

LOL, I thought that screenshot was my app from long ago. That's just because I started with the Code Aurora app. :)

I got the impression my app was being forgotten a few days ago. If this app now has RDS and recording, then I think my app will definitely be forgotten for this phone.

So I'm not seeing any reason right now for me to continue my efforts with this phone. In general, I think that's good for me so I can concentrate my efforts on more popular and more readily available phones.

I'll be happy to consider coming back to this phone if the Qualcomm Tavarua becomes more popular and I can easily get a device with it.
[Huawei Ideos X5 U8800] honking:
New style fm app comes.

It is ported from huawei honer(u8860).

I just reverse the stock fmradio app from u8860, and replace my own jni code.

To my surprise, it wors!!! :D

you can get it from here

http://115.com/file/belx62o5
[Huawei Ideos X5 U8800] movelbit:
thanks!

could you compile it in lower SDK version? That would probably make it work on 2.3.7 :)
[Huawei Ideos X5 U8800] JanviN:
It's in Chinese, can you post the file here?
[Huawei Ideos X5 U8800] Parrad11:
If you click on the button link to the right of the red button, it starts a 3.1MB download named Huawei_FMRadio.apk
[Huawei Ideos X5 U8800] mikereidis:
Absolutely, thank you very much !

This is the first I recall hearing of a stock FM app for the X5/u8800. And on AT&T ? I thought they were trying to disable FM and boost data plan revenue, but perhaps this phone is for budget buyers that won't pay anyway.

My guess is that the app is the same as on the X6 u9000.

I released this newer version of my app this morning, but I don't think it will help much for the X5/X6: http://www.mediafire.com/file/2ew6hbcr9rzjsoq/Spirit_FM_Radio_v111126.apk

As before set Menu->Settings->Audio->Method as follows:

- For stock ROMs, start with the default of CyanogenMod. Any sound in headset or speakers may indicate it's working. Also try Huawei/Tavarua and qdsp5v2 to see if they work or improve things.

It may help to set Audio->Volume Control Stream to "7 - Huawei FM" and restart the app. The default is "3 - Music" if that doesn't work well.

- For other ROMs like CyanogenMod, qdsp5v2 may be the only usable Audio Method.

Ensure headphones are plugged in for antenna.

I'm not sure if tuning works, I see errors in the logs sent to me. It's probably best to tune by hitting the button where you see "88.5" at startup, or use the buttons to left or right of "Deb" button. Enter for example "102.1" and press OK.

On CM I have at least one report of FM being heard over headphones on u8800. Can't switch to speaker or control volume though. I will post some shell commands that might help asap.

----

And in the "Holiday Season Spirit", please consider purchasing my Unlocker app, and(/or) sending Paypal "encouragement" to mikereidis{at}gmail.com . :)

For proper support, I will need a u8800 or u9000 and I don't think I can get one locally. Hopefully at some point, someone will be able to lend or donate one, or at least support me financially and point me to a good deal somewhere... :)
[Huawei Ideos X5 U8800] genti7:
hahahaha it works on my simple ideos x5 so there is a fm chip thanks a lot!!!!!!!!!!! just choose audio qdsp5v2

ok now reporting bugs:

no stereo audio

volume always max

speaker option doesnt work.

sometimes phone crashes and reboots

cm7 1811
[Huawei Ideos X5 U8800] Blefish:
It makes sound for me (static), but I can't get any proper sound from it. Also, when changing between audio crashes my phone on stock 2.2 rom.

-e-

Wow, got it working. Same bugs as mentioned by genti7, also the frequencies are messed either up or it doesn't get some frequencies. Great work though, mikereidis :)

On the other hand, is there a way to install the FMRadio.apk provided by deofavente? It gives some ODX error or smth.

-e2-

Regional band Northern America fixed it. THANKS ALOT! I am so happy, we DO have a FM chip after all.
[Huawei Ideos X5 U8800] rsdunlop:
Yes I can confirm the above with the Oxygen ROM, haven't had any crashes or reboots yet though.
[Huawei Ideos X5 U8800] nnkk:
confirmed, as the above mentioned, works with latest Oxygen.
[Huawei Ideos X5 U8800] dancer_69:
Same here,

Just about stereo, in fact I can hear sound from both earpiecies, but the volume is too low on the one and much louder on the other.

EDIT:

Here is the FM app from U900 rom if someone want to test it(doesn't work on CM7 though):

http://www.mediafire.com/download.php?8p6qmo64qulalc6
[Huawei Ideos X5 U8800] Invicta:
it works!!!
[Huawei Ideos X5 U8800] alex1301:
What works?

Sent from my IDEOS X5 with XDA Premium App
[Huawei Ideos X5 U8800] segulsen83:
I can`t make it work on the latest Miui rom. :(
[Huawei Ideos X5 U8800] Hayden18:
All I get is static on latest miui-pt
[Huawei Ideos X5 U8800] sport_billy:
I also confirm that it works!!!

I can hear FM radio stations!

Ideos U8800

Stock 2.2 Rom with overclocked kernel from here

Audio Method: qdsp5v2

Region: Greece

Bugs

Sound is much more louder at right speaker than left .

Volume control doesn't work

Force close and phone freezes and reboots sometimes.

Thank you very very much for your effort!

Edit

I accidentally got perfect stereo sound!

Just slightly remove the headphones jack from its place, having about the half of its length disconnected!
[Huawei Ideos X5 U8800] demolition23:
Mine, with the same rom and setup, always reboots.

Anyway, its a start!
[Huawei Ideos X5 U8800] alex1301:
it doesn't work with cm7
[Huawei Ideos X5 U8800] genti7:
Be patient guys now that we know that there is fm chip in our phones its only matter of time since we get it full working and bug free.
[Huawei Ideos X5 U8800] sanpsa:
Works with miui too, nice :eek:
[Huawei Ideos X5 U8800] yavuzyilmaz28:
working with stock rom and region Turkey. Navigation arrows don't work. Direct frequence entry works. It looks like the receive quality is poor.
[Huawei Ideos X5 U8800] dream4:
Really nice app,it's not working but seems you will improve it:

Bug report:miui rom

After 4-5 sec.later screen froze and rebooted.Then,when i try to run the app again,it's frozen and reboot again.Now i'm not even able to run the app again.
[Huawei Ideos X5 U8800] randomparanoia:
freezes phone with MIUI ROM.
[Huawei Ideos X5 U8800] valsam:
If it was to fully work without problems and bug free then why did'nt Huawei enable it from the begining on the phone?????
[Huawei Ideos X5 U8800] genti7:
first it might be a marketing thing, so they could sell u8800 pro in the future. second dont be surprised their developers suck. xda developers have fixed many issues that stock roms had, like laggy graphics driver and headphones icon not appearing and other performance issues. as you can see they couldnt even give us 2.3 in time. while we (months now) already have 2.3 from developers here
[Huawei Ideos X5 U8800] JanviN:
Thanx, Parrad11 ;) Got it :D
[Huawei Ideos X5 U8800] honking:
It's too slow for me to upload apk to xda. Can someone who got the apk upload it to this forum

---------- Post added at 10:31 AM ---------- Previous post was at 10:30 AM ----------

It's hard for me ,but I will have a try
[Huawei Ideos X5 U8800] Parrad11:
Here it is
[Huawei Ideos X5 U8800] kickban:
that would be awesome :D:D:D:D
[Huawei Ideos X5 U8800] geocheats2:
Does anybody knows how to make fm transmiter to work??????

Sent from my U8800
[Huawei Ideos X5 U8800] jegr6:
honking could you or somebody please explain why so many permissions are needed to install these Huawei_FMradio.apk like use accounts credentials and read SMS/MMS?

Sent from my Huawei Ideos X5
[Huawei Ideos X5 U8800] egul:
i have a doubt about this app.

why so many permissions needed?
[Huawei Ideos X5 U8800] Fri13:
Whaaat.... What kind malware this is?

Permissions required:

Your Personal Information

- Read contact data

- Read user defined dictionary

- Write contact data

Services that cost you money

- Directly call phone numbers

Your location

- Coarse (network-based) location

Network communication

- Control Near Field Communication

- Create bluetooth connections

- Full Internet Access

Your Accounts

- Use the authentication credentials of an account

Storage

- Modify / Delete SD card contents

Hardware controls

- Change your audio settings

Phone Calls

- Read phone state and identity

System Tools

- Bluetooth administration

- Change Wi-Fi state

- Change WiMAX state

- Change your UI settings

- Display system-level alerts

- Modify global system settings

- Mount and unmount filesystems

- Prevent phone from sleeping

- Retrieve running applications

- Write sync settings

Default

- Modify Battery Statics

Your personal information

- Write to user defined dictionary

Network communication

- View network state

- View Wi-Fi state

- View WiMAX state

Your accounts

- Read google service configuration

- View configured accounts

Hardware controls

- Control vibrator

System tools

- Automatically start at boot

- Read home settings and shortcuts

- Read sync settings

- Read sync statics

- Send sticky broadcast

- Write home settings and shortcuts

That is very serious abuse of features what just FM-radio application (receiver and transmitter) will demand......
[Huawei Ideos X5 U8800] honking:
I don't konw why this app require so many permission, and all I can do is just download the source and compile it. If you think it will break your phone ,you can ignore the app and download from others.

here is the source what I am working on, you can delete all the permission you hate and compile it yourself. OK?

I can not provide the source of the fmradio ported from u8860, because I don't have the source.
[Huawei Ideos X5 U8800] honking:
Maybe I found why it requires so many permissions, I mentioned it before.

When the radio is enabled , it will start a service called "fm_dl" to download the firmware for radio.It is defined in init.huawei.rc. It requires system or root user to do this action. Normal app does not run as system or root. So I add this code to the app (android:sharedUserId="android.uid.system"), it will let the app share the permissions with android.uid.system. The system user have many permissions. So when you check the fmradio's permission from system setting, it will show more than fmradio needs.

If you know how to start a service without system user, please let me know, I will change it
[Huawei Ideos X5 U8800] Tcm9669:
To all those people that are worried about permissions.. just block the oens you think are not necessary by using this app:

https://market.android.com/details?id=com.stericson.permissions

Although.. then don't complain if it doesnt work haha.

The Huawei 8860 FM Radio did not install :/ didnt give me any errors.. it just said "Application not installed".. but unlike the other one, it didnt say invalid package
[Huawei Ideos X5 U8800] mikereidis:
At least one person has said that about my app.

Unfortunately, those permissions are pretty common and normal for an FM app. My app has pretty much the same.

Heck, most people give my app SU and my app could thus do just about whatever it wanted, if I wrote the code. It could wipe the device of everything, probably brick it, or send every bit of data somewhere.

Heck, there are enough root giving apps out there that any normal app with no permissions could do it.

So all ya can do is not install apps, or rely on reports from other people, or just OK all permissions and hope all is OK like most people do, LOL.

Or you could get an iPhone and hope their vetting process works.
[Huawei Ideos X5 U8800] geocheats2:
??????????

Sent from my U8800
[Huawei Ideos X5 U8800] Lex_from_Belarus:
Does anybody knows how to make Radio to work on B522 Android 2.3.5?
[Huawei Ideos X5 U8800] JanviN:
I know there are many users running stock 2.3, looking for this. Myself included..

Edit:

Not to forget the good old stable .32 roms. (Like Oxygen, Miui and Elite)
[Huawei Ideos X5 U8800] JanviN:
I'll bump this one..
[Huawei Ideos X5 U8800] geocheats2:
Spirit fm with root privileges from market. No volume control although.

Sent from my U8800
[Huawei Ideos X5 U8800] jegr6:
i see that the FMradioV2 just needs normal permissions, nothing like use credentials of your account and read your SMS and others that seems unnecessary and V2 works just fine and with recording feature and fm transmitter (although i didn't get it to work). so i think there is no need for so many permissions at all. correct me if I'm wrong
[Huawei Ideos X5 U8800] JanviN:
Right now I did install Huawei_FMRadio.apk on stock 2.2 rom, this was possible. Why the heck not it 2.3?

Installation successful. No sound, lacking some libs I guess :p
[Huawei Ideos X5 U8800] geocheats2:
???!?????????

Sent from my U8800
[Huawei Ideos X5 U8800] dustofdeath:
So the cmfm is for 4.0 ? Cuz it wont install on. 35 .... any version for .35 cm7.2 the spirit ones lack of vol control sucks.
[Huawei Ideos X5 U8800] B K B:
Rom with Radio U8800

Give this a try, http://xdaforums.com/showthread.php?t=1492957

I'm running it on my device and it functions quite well, & it's the only rom I have found that enables the FM radio to work on a standard Huawei Ideos X5 /U8800
[Huawei Ideos X5 U8800] dustofdeath:
I did use it but it was eating too much ram... I had around 70mb free. While on cm 7.2 I have around 180 mb
[Huawei Ideos X5 U8800] JanviN:
I did try one fmradio app in oxygen 2.3.2. If I start the app no sound and no signal is received.

If I launch the app from adb-shell, I get an error.

In ADB Shell:

What does this mean?
[Huawei Ideos X5 U8800] TziMmysGr:
Which is the best app so far for our phone, asking for less permissions? Acording to me, this is anexaptable...
[Huawei Ideos X5 U8800] Alex2108:
i think this needed less permissions if i remember right.

http://xdaforums.com/showpost.php?p=23052867&postcount=358
[Huawei Ideos X5 U8800] TziMmysGr:
Thank you Alex, indid it needs the less permissions I have seen so far...
[Huawei Ideos X5 U8800] faizan_950:
hi honking

cau u add in fm recording option
[Huawei Ideos X5 U8800] zephyr1988:
Hello honking,

Is there any chance to update U8860 Fm app for latest Aurora version?

Thanks!
[Huawei Ideos X5 U8800] mikereidis:
I'm back. :)

HTC One X and One S appear to use a Qualcomm WCN3660 FM/BT/WiFi etc. combination chip.

I want to support those HTC devices so I will likely support the Tavarua / V4L better.

There is no guarantee that I'll be able to solve Huawei X5 specific audio issues but I'll be in a much better position to do so when the One X and One S are working OK.

And, in theory, it's possible that the HTC One X/S FM app may work on some X5 ROMs.

Don't expect too much too soon, but there might be some light at the end of the tunnel. :)
[Huawei Ideos X5 U8800] snc-tr:
good news, thank you.
[Huawei Ideos X5 U8800] Blefish:
You can also take a look at CAF source too, right? Aurora ROM uses 3.0.8 kernel which is working on that :).
[Huawei Ideos X5 U8800] mikereidis:
Over a year ago now, the first Java version of my app started with the CAF app.

Spirit is originally derived from that app. One of the first things I did though was remove the code for this weird Tavarua chip nobody had ever heard of.

CAF is also the original source of the original MIUI and CM7 FM apps.

But by now almost every line of original code is gone/replaced/rewritten, in Spirit at least.

Would be good to look at the latest code from CAF though. They were regularly fixing things last I looked quite a few months ago.
[Huawei Ideos X5 U8800] Be-Mine:
Good to hear from you again :)

I'm looking forward to your further improvements and good news.

Please keep us informed, thanks for all!
[Huawei Ideos X5 U8800] mythos_:
Yes, it would be nice to have a working FM app for those of us who are not on ICS.
[Huawei Ideos X5 U8800] mikereidis:
I'm supporting the HTC One X International version now.

Unfortunately I've found the more popular One X International uses a TI FM chip.

It appears the Qualcomm Tavarua FM (as in the u8800) is only in the HTC One XL, the so far less popular LTE version (for mostly AT&T/Rogers) with Qualcomm Snapdragon S4.

The Tavarua is also in the HTC One S.

I still want to support Tavarua and these devices but it will take a bit longer.
[Huawei Ideos X5 U8800] mikereidis:
June 18 test release only for Qualcomm FM chip devices: http://d-h.st/imk

It might help to set Debug->FM Chip to "QC V4L (HTC/u8800+)" and restart the app.

It might help to set Audio->Method to "HTC OneX". Huawei devices might work better with this than with the usual "Huawei Tavarua".

If it works and you have volume issues, try setting Audio->Volume Ctrl Stream to "10 - CM72/Sams/Huaw" and restart the app.

Working or not, please send me a debug log with Menu->Test->Email->Logs.

Note that the old method of u8800 support used the low level "V4L" API that only required a /dev/radio0 device to exist. You can try to force this mode by setting Debug->FM API to "Low Level".

The new method should start automatically if it's available (OEM Proprietary), and if that fails it will try the old low level API.

The high level OEM Proprietary API requires that framework files exist for "android.hardware.fmradio". Those framework files will likely require that libfmradio_jni.so exists in /system/lib .

But any Android version from 2.1 up is supported by the app.
[Huawei Ideos X5 U8800] VuDuCuRSe:
Not working at all here. No sound and can't change frequency.

Here's the log: https://www.sugarsync.com/pf/D7190426_719_767770437

It's nice to see you back here ;)
[Huawei Ideos X5 U8800] Experiences:
this guy can't be asian. pwned.
[Huawei Ideos X5 U8800] Parrad11:
If you have Aurora ICS with the open source FM app, then you can get Spirit to work again by turning on then off the FM in the open source app before starting Spirit (volume control works similar to the open source FM app now).
[Huawei Ideos X5 U8800] VuDuCuRSe:
Well that doesn't help this app development much, so besides possibly aiding mike understand why this latest release isn't working, I really don't care that I can make it work by doing that.