Jump to content

FM Radio for ZTE Blade/SF


Guest andorko

Recommended Posts

Guest andorko
Before trying to make anything too pretty, I think it would be a good idea to make (and circulate) a little test app (type in a the frequency of a known local RDS station?) to display some RDS data, and prove that the 09 is widespread to universal.

I do take on board that you are tweaking things at kernel level, but it would be good to know (early) whether or not 09s were found in the different geographical markets, with the 5mp camera, only with TFT screens or whatever ...

Its no great shakes to ask people to do a nandroid, test something exciting, and restore their previous environment ...

You have to replace the kernel to test it, so i can't make a "little test app".

Link to comment
Share on other sites

Wow! That's awesome news, Andorko. You're a rockstar.

[the] ZTE guys were tricky and they hide an si4709 chip behind an si4708 driver

Anyone have any idea why they'd do this, though? It doesn't seem to make sense to me.

You have to replace the kernel to test it, so i can't make a "little test app".

I'd be up for carrying out any testing you, or anyone, eventually wants to do.

Link to comment
Share on other sites

Guest fonix232
You have to replace the kernel to test it, so i can't make a "little test app".

Well, you can still write some little stuff what reads the logs, looks for the specified entries of the RDS stuff, and then tells the user if it has the capability or not :D Of course supplied with your own kernel!

Link to comment
Share on other sites

Guest andorko
Well, you can still write some little stuff what reads the logs, looks for the specified entries of the RDS stuff, and then tells the user if it has the capability or not :) Of course supplied with your own kernel!

Ok. So i didn't sleep this night and i made an RDS test version with a test 2.2 kernel. Details are in the post #1.

Good night for me !!! ;)

Link to comment
Share on other sites

Guest lordofangels
Ok. So i didn't sleep this night and i made an RDS test version with a test 2.2 kernel. Details are in the post #1.

Good night for me !!! ;)

this is really taking shape, gonna try 0.5 later, getting late now,

thanks andorko

LoA

Link to comment
Share on other sites

Guest fonix232
Ok. So i didn't sleep this night and i made an RDS test version with a test 2.2 kernel. Details are in the post #1.

Good night for me !!! ;)

Thank you very much :) But the kernel does not work with JJ RLS7 :S Instant bootcrash, even before adbd started :S

Link to comment
Share on other sites

Guest andorko
Thank you very much ;) But the kernel does not work with JJ RLS7 :S Instant bootcrash, even before adbd started :S

I have an FLB froyo r6

I have mobile internet so i can't upload a whole rom. So please try with that rom

Link to comment
Share on other sites

Guest wishmasterf

hallo,

great work! i tested the rds implementation. It works, but not on every Radio station, but on some it works. some radio staions do have 2 lines like "*Live*" "*Radio*", but the secon line i get is FE *FE*. it should after the second line chagen back to the first, bt i stops.

Anything i could test?

Link to comment
Share on other sites

Guest andorko
hallo,

great work! i tested the rds implementation. It works, but not on every Radio station, but on some it works. some radio staions do have 2 lines like "*Live*" "*Radio*", but the secon line i get is FE *FE*. it should after the second line chagen back to the first, bt i stops.

Anything i could test?

Great. So you have RDS in your phone. Could you tell us what kind of phone do you have?

Link to comment
Share on other sites

Guest reallordx

Kinda works for me. As u said its really slow. RDS info is shown on supporting stations.

Text is corrupted, when station uses scrolling text. (See screenshots).

Station with static text (e.g. station name) works ok.

post-777090-1295081856_thumb.pngpost-777090-1295081870_thumb.png

*Used:

ClockworkMod 2.0.1.8 (nandroid first)

Paul's Modaco 2.2 R7

Your Kernel

Your 0.5RDS FM Radio

I have an uk oled blade.

Edited by reallordx
Link to comment
Share on other sites

Guest wishmasterf
Kinda works for me. As u said its really slow. RDS info is shown on supporting stations.

Text is corrupted, when station uses scrolling text. (See screenshots).

Station with static text (e.g. station name) works ok.

--- screenshots removed ---

ng]

*Used:

ClockworkMod 2.0.1.8 (nandroid first)

Paul's Modaco 2.2 R7

Your Kernel

Your 0.5RDS FM Radio

I have an uk oled blade.

sorry offtopic: what do you use to create that screenshots?

Edited by wishmasterf
Link to comment
Share on other sites

Guest reallordx
sorry offtopic: what do you use to create that screenshots?

An app called "ShootMe", needs root.

Install, start, allow su, switch to screen u want to take a screenshot from, shake phone.

And plz don't full quote ;) *ahh... better without the screenshots*

Also, screenshots will come out bottom up, due to the display being bottom up in the blade. I just turned the screens by 180° in paint. (and resized them a bit).

Edited by reallordx
Link to comment
Share on other sites

Guest andorko
Kinda works for me. As u said its really slow. RDS info is shown on supporting stations.

Text is corrupted, when station uses scrolling text. (See screenshots).

Station with static text (e.g. station name) works ok.

*Used:

ClockworkMod 2.0.1.8 (nandroid first)

Paul's Modaco 2.2 R7

Your Kernel

Your 0.5RDS FM Radio

I have an uk oled blade.

Thanks for your reply.

v0.5rdstest is not a working rds radio. This is just a test program to find out in which versions of the ZTE Blade has the RDS chip.

I have an UK oled SF too, so in this version there is an fm chip with RDS.

Edited by andorko
Link to comment
Share on other sites

Guest wishmasterf
Thanks for your reply.

v0.5rdstest is not a working rds radio. This is just a test program to find out in which versions of the ZTE Blade has the RDS chip.

I have an UK oled SF too, so in this version there is an fm chip with RDS.

do you plan to make the app including that feature stable?

Whats about the feature to ouput thjrough internal loudspeaker?

Edited by wishmasterf
Link to comment
Share on other sites

Guest andorko
do you plan to make the app including that feature stable?

Whats about the feature to ouput thjrough internal loudspeaker?

-i plan but it is a lot of work

-i still don't know how to do the loudspeaker feature

Link to comment
Share on other sites

Guest wishmasterf
-i plan but it is a lot of work

-i still don't know how to do the loudspeaker feature

Thats great! Loudspeaker would be nice, but i think RDS is great ;-)

Link to comment
Share on other sites

Until now the

*UK OLED and

*Hungarian (TFT)

Blades seem to be the only ones tested.

What are the exact kernel changes? Maybe those could be added to https://github.com/ZTE-BLADE/ZTE-BLADE-2.6.32/commits/master and be added to all the custom kernel builds as well?

What shall happen? A radio that stops to work?

Edited by _amano
Link to comment
Share on other sites

Guest andorko
Until now the

*UK OLED and

*Hungarian (TFT)

Blades seem to be the only ones tested.

What are the exact kernel changes? Maybe those could be added to https://github.com/ZTE-BLADE/ZTE-BLADE-2.6.32/commits/master and be added to all the custom kernel builds as well?

What shall happen? A radio that stops to work?

I just modified the fm radio driver. It's a very very ugly (you don't want to see it) hack to get RDS Program Service Name, and i set the RDS bit to enable. Also modified the radio app to get the RDS info from the driver. To make it useable the driver, the framework and the fm app have to be rewritten. Also TMC data comes on the RDS channel so maybe it could be used with the navigation applications.

Link to comment
Share on other sites

Guest andorko

Technical question (if somebody knows the answer): How could i find out (or set????) which IRQ is used by the FM chip?

Edited by andorko
Link to comment
Share on other sites

Guest StevenHarperUK

This any use ?

cat /proc/interrupts
CPU0
0: 197600 msm smd_dev
5: 1 msm smsm_dev
7: 95 msm gp_timer
8: 1809478 msm dg_timer
19: 74464 msm MDP
20: 84109 msm kgsl
21: 618520 msm msmdatamover
23: 11256 msm adsp
24: 107295 msm msm-sdcc (cmd), msm-sdcc (pio)
26: 1295700 msm msm-sdcc (cmd), msm-sdcc (pio)
34: 1111712 msm msm_i2c
47: 15 msm msm_otg
93: 64373 msmgpio cypress_touch
101: 30 msmgpio gpio_kp
104: 33 msmgpio gpio_kp
105: 0 msmgpio gpio_kp
106: 798 msmgpio taos
130: 1 msmgpio msm-sdccsdiowakeup
Err: 0[/code]

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.