yashsingh1/xdaforums huggingface dataset:
[Huawei Ideos X5 U8800] dancer_69:
I'm using 2.3 official beta2 rom with genocolar' s 2.35 kernel, and spirit fm works without crashes and reboots(with official kernel stack and device reboot from first run).

I tried Acer' s fm app too with same results. Tried to replace the "libfm_wan_api.so"(which seems to be the same file) on /system/lib, but didn't make any difference.

When fm app running trying forever to search for stations, and if I stop the searching I can change stations or volume(I have a new "fm volume" when pressing vol+/- buttons on this app), but no signal or noise at all.

This is the error logcat gives on Acer' s fm app:

E/android_hardware_fm.cpp( 1467): null pointer

And these errors appear when device boots for fm:

E/libhardware_fm.cpp( 107): can't get the ppModule

E/android_hardware_fm.cpp( 107): HAL init fails

E/android_hardware_fm.cpp( 107): register_android_hardware_fm_fmradio, ret is 0

E/libhardware_fm.cpp( 248): can't get the ppModule

E/android_hardware_fm.cpp( 248): HAL init fails

E/android_hardware_fm.cpp( 248): register_android_hardware_fm_fmradio, ret is 0

E/libhardware_fm.cpp( 258): can't get the ppModule

E/android_hardware_fm.cpp( 258): HAL init fails

E/android_hardware_fm.cpp( 258): register_android_hardware_fm_fmradio, ret is 0

E/libhardware_fm.cpp( 270): can't get the ppModule

E/android_hardware_fm.cpp( 270): HAL init fails

E/android_hardware_fm.cpp( 270): register_android_hardware_fm_fmradio, ret is 0

I hope that some of these info be helpful
[Huawei Ideos X5 U8800] freeko2:
It works on rooted 2.2
[Huawei Ideos X5 U8800] valsam:
Ι rooted and it works here to with the same known problems!

Please make a properly working app and i will buy it faster then the speed of light!
[Huawei Ideos X5 U8800] toeter80:
OK, I installed the Spirit FM free app on my u8800 with official 2.3.5 (rooted with DoomLord tool). The app starts up and I gave it root permission, then it shows me the introduction screen. Regardless if I tick Keep or Discard, it then tells me it works best with a headset plugged in, and then it hangs for about half a minute after which the phone reboots.

I hope you will continue working, I am absolutely willing to pay for an working fm radio.
[Huawei Ideos X5 U8800] Ps3udo:
Hi,

it works with U8800 Official 2.3.5 (28-12-2011) with the specs:

regional Band: Portugal

audio settings: method qdsp5v2

Volume stream: 7 -Huawei

But sometimes freezes.
[Huawei Ideos X5 U8800] manuelpimenta:
i wasnt able to get it to work. official 2.3 final release
[Huawei Ideos X5 U8800] VuDuCuRSe:
Maybe mikereidis should create a new SpiritFM topic in the development section to focus on the SpiritFM support to U8800 instead of using a thead like this, that questions if U8800 has a FM chip and that has some random SpiritFM links lost in a couple os pages.
[Huawei Ideos X5 U8800] freeko2:
Its not working with .35 kernal at stock or cm7 or minuit all same. I have tested version 30 Nov which was working find without seek
[Huawei Ideos X5 U8800] mikereidis:
If somebody else wants to do so, that's fine, and I'll subscribe and try to respond. But the thread in my sig is my main FM app thread, and everyone is welcome to post anything related to FM there.
[Huawei Ideos X5 U8800] mikereidis:
So newer versions of my app aren't working on ROMs/kernels that prior Spirit FM versions work on ?

Or did something change in the kernel/ROM that prevents all versions of my app from working ?

Or both ?

For anyone experiencing this, please send me a log log with Menu->Help->EM Logs and after a few seconds. enter "u8800 ROMx" or similar in the email text and press send.

And please let me know what ROM and kernel you are using, as well as version numbers or anything else you think might be helpful.

But first, install this mornings' test version of my app here: http://www.mediafire.com/file/gb8o9na2pb7zhlz/Spirit_FM_Radio_v120128.apk

I'll try to look at the balance and volume control issues this weekend.

If there are still stability issues, perhaps just disabling the RSSI or other polling will help; there's not too much else going on in my app while just playing, with no UI interaction or RDS. But it's possible the digital audio causes some problem; I don't have any control over that. Most phones have analog audio and I think these X5 and X6's use digital only. Perhaps record is easily do-able.
[Huawei Ideos X5 U8800] genti7:
in oxygen with francokernel it works fine no freezes or force closes. the only problem that exists is the ability to control volume and the stereo sound, you can only hear from one side
[Huawei Ideos X5 U8800] axistr:
Same here with latest .35 CM7. Works fine, no freezes. I hear from both sides but one side's volume is very low than the other side.
[Huawei Ideos X5 U8800] Mach III:
Oxygen R1, not franco kernel; working, but only one side and no volume adjust.
[Huawei Ideos X5 U8800] VuDuCuRSe:
Using 2.3.6 based on Honor and it still reboots the phone. Before, was using 2.3.5 normal and it still rebooted.

Actually I think the last and single time it worked for me was before updating to a 2.3 kernel, with the stock 2.2.
[Huawei Ideos X5 U8800] mikereidis:
Thanks for the reports.

I'm still waiting for anyone to send me a debug log in the last few days. I can't, and won't even try, to help you if you won't put a bit of effort in.

I have several leads about the audio issues.

But first, if you haven't already, set Audio->Method to Huawei/Tavarua.

And second, try setting Audio->Volume Ctrl Stream to "7 - Huawei FM".

These may not help on ROMs that don't have the stock audio libraries.

Next, has anyone tried the Huawei stock FM app linked early in this thread ? If so, what happened ? I think it depends on framework files that CM may not have.

After you've tried the Jan 28 release above, and especially if you are seeing stability issues, try Jan 29: http://www.mediafire.com/file/q4yd86ttftt22zc/Spirit_FM_Radio_v120129.apk

Since some have stability issues and some don't, my working theory is that some kernels have bugs in the FM driver. It would be useful to know if the stability issues are fixed just by updating your kernel to one that other's have said worked OK. Or if we can figure out what might be different.

IF you see stability issues, PLEASE send me a log, asap. I don't think I've seen one stability issue log yet, over months. If you can't use my app to send the log, try and use the Market logcat app, or run logcat and dmesg from a USB connected PC if you can.
[Huawei Ideos X5 U8800] mikereidis:
OK, so one side is very low volume. But can you tell if it's stereo or mono ?
[Huawei Ideos X5 U8800] VuDuCuRSe:
mikereidis, my app crashes as soon as it starts and the phone reboots 15 seconds later.

How can I capture a log? Is it written automatically somewhere in the sdcard?
[Huawei Ideos X5 U8800] axistr:
Since there is a difference between one side and the other side's volume it took a while to identify whether it's stereo or mono, lol. But i can confirm it is stereo. :)

I've tried all of the audio methods but nothing works other than gdsp5v2. Changed Audio Stream to 7 - Huawei FM, haven't noticed any difference.

I haven't got any problems other than sound volume difference and sound control. Do I need to send log? I'm on latest .35 CM7. Will try Jan 29 now.

---------- Post added at 04:57 PM ---------- Previous post was at 04:39 PM ----------

OK, I've installed Jan 29 version just now. I can say that, volume difference problem have gone now.:) Both side have the same volume now(max volume). Stereo works. There are no stability problem, freezes or FCs. Also, I can listen the radio from the phone's speaker. I'm not sure I could do that in previous versions.

Thanks for fixing this. Now, I only have volume control problem, it always play at max volume. :)
[Huawei Ideos X5 U8800] Mach III:
Same for me as with @axistr above here, sound ok in both channels with Jan 29. edition!:) But only sound with audio method set to qdsp5v2, and volume still not adjustable.
[Huawei Ideos X5 U8800] VuDuCuRSe:
Some extra (maybe useless) info I got is that, by individually allowing or denying root access, I noticed that on the 17th request the phone reboots if I allow it.

Also, if I deny the 17th, later on the 20th request, my phone reboots whether I allow or deny it.
[Huawei Ideos X5 U8800] jegr6:
with .35 kernel on miui no luck..freezes after requesting root even on the first time running the app
[Huawei Ideos X5 U8800] mikereidis:
Yes, that's a problem. No it doesn't get written. There are ways to do it and I'll add this capability for my app logs anyway.

For someone who has ADB installed on a USB connected PC, they can just run "adb logcat -v time > lc.txt" and the file gets saved on the PC.

There are some logcat apps in the Market and they can write to disk, but I don't know if they are fast enough. Here's one: https://market.android.com/details?id=org.jtb.alogcat and another: https://market.android.com/details?id=com.nolanlawson.logcat
[Huawei Ideos X5 U8800] mikereidis:
That's an interesting way to approximate the problem area. :) So you tell SU not to remember your choice. I'll see what I can find.
[Huawei Ideos X5 U8800] jegr6:
forgot to mention that the previous versions worked just fine (with the common problems). any idea what could be?
[Huawei Ideos X5 U8800] mikereidis:
Great ! :) Just need headphones with a volume control now. ;)

I'll see what I can do about volume. IDEOS X6 / u9000 was fixed with an ALSA control, but I guess the u8800 is different.

So far, only 1 app purchase from a user of this chip with a u8800/u9900 or Acer Liquid Metal. A few more might be motivating... :D

I don't recall if anyone has said if RSSI works. IE signal strength numbers at upper left. Jan 29 will always return 7 but earlier versions may work.
[Huawei Ideos X5 U8800] mikereidis:
No, but with more information I might be able to say.

Which previous versions ? Jan 28 ? I can provide a list of links to different versions if needed.
[Huawei Ideos X5 U8800] jegr6:
sorry didnt tried 28, only the others before. will try it now
[Huawei Ideos X5 U8800] jegr6:
damn! no luck with Jan 28...
[Huawei Ideos X5 U8800] jegr6:
yes a list of the links would be great. can try all of it and see how it goes
[Huawei Ideos X5 U8800] saccet:
I tried Jan 29, with no luck:

Starts-up with a white screen and “Spirit FM Free” on top. Grants SU permission, then after a few seconds FC.

I’m on MIUI 2.1.20 using .35 kernel.

The current market version worked with the common bugs: one-sided max volume. I installed the new one on top of this and then removed application data before trying the app.

Thanks a lot for mikereidis! If you make this work, I’ll definitely buy this!
[Huawei Ideos X5 U8800] jegr6:
yeah exactly the same here. November versions work ok. anyway great work. thanks mike!
[Huawei Ideos X5 U8800] VuDuCuRSe:
I feel the sorry for mikereidis since it seems like the only one which can't use the app, is the only one that actively supported the app development.

Too bad this isn't a private beta for donations only. This so called "great U8800 community" would totally deserve having only a lame and malfunctioning version and reading some "it's working great" news from the beta testers.

I'm already used to not having FM on my phone so I'm not that bothered with the app not working on my U8800, but I understand how it feels like being a developer in your spare time, trying to fix problems that you don't see on a device you don't have.

... and in the end of the day you still ***** slap a billion dollar company that sells a device that has a FM chip but that apparently can't play FM radio!

Kudos!
[Huawei Ideos X5 U8800] mikereidis:
Thanks. I don't think the donation model really works that well in most cases. I'm trying to "Champion the cause of OTA FM on Android", and hoping I can make at least a meagre income doing so.

I'm working 80 hours a week on this, for a tiny fraction of what I normally make. My current income is well below live-able but I think that will improve to at least live-able in the next 12 months.

For anyone thinking I should lower my Unlocker price, I've done extensive price experiments and my income is maximized at the current level; A marketing person would say I should experiment higher, but I think it's at limit.

The most valuable help I could get, most likely, would be interest and assistance from folks with technical skills, ROM devs in particular. My code isn't public or open (yet ?) but my development process mostly is, so any information gained won't be mostly for my benefit, IMO.

Beyond that, please keep testing and experimenting and reporting and send me logs. And have patience of course, because there are LOTs of other phones out there that make up the majority of the market and there's only one of me, more or less, so far. :D
[Huawei Ideos X5 U8800] mikereidis:
This is the earliest one I still have posted. Dec 13: http://www.mediafire.com/file/ad9wk19vn3z7mad/Spirit_FM_Radio_v111213.apk

Dec 23: http://www.mediafire.com/file/dgs9qggqon6h100/Spirit_FM_Radio_v111223.apk

Jan 4: http://www.mediafire.com/file/mjxtuin66bcb5kc/Spirit_FM_Radio_v120104.apk

Jan 13: http://www.mediafire.com/file/52jo7vwy63576da/Spirit_FM_Radio_v120113.apk

I have more but hopefully that's a good start at least.
[Huawei Ideos X5 U8800] mikereidis:
Still, nobody seems to try and answer my very simple question.

Does RSSI work ? That number at upper left. It should go higher when tuned to a good station.

Why can nobody answer this question ? Is it harder than just looking and poking a button or two and saying yes or no ?

Forgive my little "rant". I can imagine many posters and lurkers here don't have English as a first language, for example. And the "help us, but we can't help you much" issue is true on all phones.

But just understand that any progress will be VERY slow without people answering such simple questions and sending logs from rooted devices.

ANYBODY posting here, and with a device that my app at least partly works on, should be able to answer that within 1 minute. Do I need one post per question with bold text ?
[Huawei Ideos X5 U8800] Ozgurce:
Sorry @mikereids I didn't noticed your question.Its always seems "5" to me. Not changing between radios.
[Huawei Ideos X5 U8800] mikereidis:
Thank you ! I assume you sent me the log an hour ago.

You had problems because of some unrelated proprietary FM APIs I added support for recently. That MIUI ROM contains files for Motorola devices with FM.

Previously, these APIs were disabled by default. Now, they are enabled, so I can more easily see if there are devices such as this that they will cause failures on.

I'll do a new build right now with those disabled. Perhaps I'll disable some other things to. The more that's enabled, the more likely are problems.
[Huawei Ideos X5 U8800] mikereidis:
Good. The last release was intentionally fixed at 7.

5 means numbers between 100 and 1024 are being reported. I'll try dividing by 8 to see what that gets us.
[Huawei Ideos X5 U8800] mikereidis:
Jan 31: http://www.mediafire.com/file/havp6vv4ke7wm6t/Spirit_FM_Radio_v120131.apk

Please send me logs...
[Huawei Ideos X5 U8800] snake_boss:
To me the number is 7, always, in good or in bad stations. Regarding that, I guess this chip don't catch signal as normal radios, cause i can pick some stations in other radios and in the phone it have a lot of noise!

For now UI is working good, no FC,

In 2.3.7 MIUI - .32 Kernel

Method- qdsp5v2

Volume - 7 - Huawei FM

Regional Band - Portugal
[Huawei Ideos X5 U8800] saccet:
Thanks for the fast reply!

Ok, the new build started, but has the same old one-sided max-vol -problem.

The number in the left upper corner is 21-22 on a good channel and 20 when not tuned to a channel (only noise).
[Huawei Ideos X5 U8800] VuDuCuRSe:
Here's my logcat using adb with the Jan31 apk:

http://pastebin.com/raw.php?i=WsPEfh0Q

It still reboots.
[Huawei Ideos X5 U8800] Ozgurce:
try to remove app and reinstall it. Its worked fine here.

31January Report;

- Auto seek not works.

- The headphone issue still there. (Issue: Only one side have volume. Right on mine.)

- Can't get sound from speaker.

The number you asked before its changes over stations now.Mostly 23 but sometimes get 24,20,22 and 0.

I'm not home yet so I can't send you logs. sorry :(

---------- Post added at 04:42 PM ---------- Previous post was at 04:31 PM ----------

And I can't buy app from market even if I want it too :( because on my country its not yet availble, but I can donate. I think we can buy you a U8800 phone too. :) If you give a paypal email or any other way to donation.
[Huawei Ideos X5 U8800] saccet:
Another problem: when I got a call there was no ringtone and when I answered I didn't hear nothing. Had to take the battery out and it started working again.
[Huawei Ideos X5 U8800] axistr:
Just installed the Jan 31 version. The only difference between the 29 and this is RSSI. As you said Jan 29 always give 7, therefore I didn't mention in previous post. Now, it is changing between 21 and 24.
[Huawei Ideos X5 U8800] VuDuCuRSe:
Already installed (and erased app data/cache) many times/versions, including the unlocked, and the problem persists.
[Huawei Ideos X5 U8800] Blefish:
On the official B522 ROM with the Jan31 release, straight from installing and running. It freezes after the startup message. I did not have headphones, but with that, nothing changed.

Log: http://www.mediafire.com/?7756y1nddll2k1t
[Huawei Ideos X5 U8800] mikereidis:
Thanks for all the reports. Later tonight I'll try to collate them all. For now it's all a blur and I'm about to end my working day.

There's a 31B now:

http://www.mediafire.com/file/hd44q48pq0562my/Spirit_FM_Radio_v120131b.apk

I quickly put it together due to the disappointing reports of a return to single channel audio. It feels as if this chip or driver is just very picky or buggy.

My first priorities are to fix or work around crashing/freezing, and getting true stereo. Volume control can wait for those.

RSSI is important though as it gives an indication the FM is working even if there is no audio. (But I see I just re-disabled it, so it'll show -7 always now.
[Huawei Ideos X5 U8800] mikereidis:
My mikereidis {@} gmail.com email is always open for paypal sales or donations. :)

Jan 31 app showed 0 RSSI when driver returns 0.

20 RSSI = driver 168.

24 RSSI = driver 200.

So I guess generally, it ranges from 168 - 200 from the driver for whatever reason. RSSIs are often mapped in different ways.

We'll worry about the speaker later. Wasn't there at least one person who had speaker only and no headphones ?
[Huawei Ideos X5 U8800] mikereidis:
Exactly the sort of problem that's very difficult to figure out without hardware. I presume/hope this device has GSM support in the bands I need here, if I am able to get one for testing.

The app has support for this, and in the vast majority of cases it works on other phones. My app does an FM mute, and that generally works, but we are still trying to figure out the rest of the audio. And this is a rare device that seems to use digital audio...

And then you rebooted and even that didn't restore phone call audio ? So you had to pop the battery for a while ?
[Huawei Ideos X5 U8800] mikereidis:
Yes, something strange seems to happen right when the Introduction dialog is created.

But then on your next attempt, the app seems to freeze while it tries to change permissions on the FM radio device driver. Same as in my next post.
[Huawei Ideos X5 U8800] mikereidis:
Your logs seems to stop where the previous person's log stopped, when the app tries to change permissions on the FM radio device driver.

It tries to run this with root privileges:

chmod 777 /dev/radio0

It does so by running this:

echo "chmod 777 /dev/radio0" | su -c sh

Maybe the su utility hangs for some reason.

It's possible that if you deny SU/Root to my app, that this won't happen, It's worth a shot anyway.

It's the end of my day for perhaps 7 hours or so now...
[Huawei Ideos X5 U8800] saccet:
Well the basic reboot from the menu crashed the phone completely (black screen with buttons lit up). Don't know if it was a problem with my rom or what...

XDA Huawei U8800 Wiki says this about the frequencies:

2G GSM 850 / 900 / 1800 / 1900

3G HSDPA 900 / 2100

One other thing I noticed at least in Jan 29 version was that even after closing the app (normal exit, not killing in task manager), it kept popping "Superuser access granted".
[Huawei Ideos X5 U8800] Clevo89:
It's been interesting watching the developments of this thread but I'm afraid to say I missed a bit and it's a bit confusing now to follow.

Is the radio working?

If yes, would someone be so kind as to outline the steps needed to make this happen. Would be pleased to help test too but I don't know where to begin.

Thanks
[Huawei Ideos X5 U8800] haydnlj:
Hey - denying Root solved the sound problem for me (which was preventing the device to make sounds from other media/phone after running the Radio).

As mentioned in earlier posts, the volume from the right headset is much louder than the left with the right unbearably loud (probably a factor of 3) - tested all volume controls listening to both headsets independently to check if there were changes, but no. Also not working through phone's speaker (not a deal breaker).

version 31B

method - qdsp5v2

rom - MIUI

Oh - just purchased the unlock for this app too - I urge everyone else to do the same
[Huawei Ideos X5 U8800] Mach III:
Yes, it's working!:) You can download Spirit FM from market (v. 23. Jan?), but you will probably only get sound from one channel with it.

Or you can download latest 31B edition from @mikereidis links some post backwards here, working in both channels and speaker (for me), but still no volume adjust.

Download/extract the apk-file to your sd-card, use "ES file explorer" to navigate to the file and install it.

Start Spirit FM, and in the settings you can choose your country, and the audio output method should be set to "qdsp5v2".

This should at least got you starting.:)
[Huawei Ideos X5 U8800] samsungi5500:
Ok I can not make it work here. I run 2.3 beta 2 rom and I am not able to get it start. If I allow super user it just freezes the phone and restarts it after 20 seconds, if I denny super user then I am able to play with settings but app keep saying:

Error: No Fm accessible

Fm:SL Sh:1 Su:0 Bt:1 Ht:1 H2:0 Mo:SLS
[Huawei Ideos X5 U8800] selson:
Exactly the same goes for me with latest 2.3 stock ROM.