Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,811,404 Members 48,638 Now Online
XDA Developers Android and Mobile Development Forum

SpiritFM on Oneplus One

Tip us?
 
tixatixa
Old
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Jul 2013
Tablet SpiritFM on Oneplus One

This is a topic to talk about a possible support of SpiritFm to Oneplus One...
How is the situation? Can we aspire to have RadioFM?
 
mikereidis
Old
#2  
Recognized Developer
Thanks Meter 3,158
Posts: 6,240
Join Date: Jan 2011
Location: Ottawa/Gatineau, Canada
Quote:
Originally Posted by tixatixa View Post
This is a topic to talk about a possible support of SpiritFm to Oneplus One...
How is the situation? Can we aspire to have RadioFM?
No, I don't think 1+1 is FM capable because I think the CM folk would have said something positive about FM by now, and similar Oppo devices would also have FM.

First step to test further than people have already is to load a kernel that supports the Qualcomm V4L Iris FM driver. The stock kernel does not support it.

At this point, Spirit1 should start without error.

Then, we can see if RSSI at top left of Spirit1 is over 10-20 when tuned to a good station, while a wired headset is plugged in to act as the antenna.

Next post is copied from Spirit1 main/general thread.
==================================================
__________________________________________________ _______
Doing taxes, LOL ...

Spirit Transmit:
Only ROOTED Xperia T, Z & Z1:
http://forum.xda-developers.com/show...59296&page=825

Spirit2 Real FM Radio
; Root + AOSP: https://play.google.com/store/apps/details?id=fm.a2d.s2
Spirit2 XDA: http://forum.xda-developers.com/show....php?t=2537861

Spirit1 Real FM Radio: https://play.google.com/store/apps/d...cros.fm_unlock
Spirit1 XDA: http://forum.xda-developers.com/show...php?p=13379669
 
mikereidis
Old
#3  
Recognized Developer
Thanks Meter 3,158
Posts: 6,240
Join Date: Jan 2011
Location: Ottawa/Gatineau, Canada
Quote:
Originally Posted by nicesoni_ash View Post
So that means Kernel wasn't built with proper commits or changes? What should I ask the kernel dev to do now so we can be sure?

_____________
Sent from my GT-I9300 powered by Temasek Rom & Boeffla Kernel
Fueled by 7000mAh ZeroLemon Battery
From a USB connected PC run "adb shell". Or use a terminal or terminal emulator app to open a shell command prompt. You should get a shell prompt like this:

Code:
shell@m8:/ $
Run "lsmod". If the kernel does not have modules support, you should see this error message:

Code:
shell@m8:/ $ lsmod
/proc/modules: No such file or directory
1|shell@m8:/ $
If there is no "lsmod" command, try "ls /proc/modules". This is bad:

Code:
1|shell@m8:/ $ ls /proc/modules
/proc/modules: No such file or directory
1|shell@m8:/ $
This would be good, but indicate no iris transport module loaded:

Code:
shell@m8:/ $ lsmod
1|shell@m8:/ $
This is what you REALLY want:

Code:
root@evita:/ # lsmod
radio_iris_transport 2286 0 - Live 0x00000000
root@evita:/ #
If there is no error, but also no iris transport module loaded, look for the module with "ls -l /system/lib/modules":

Code:
 root@evita:/ # ls -l /system/lib/modules
-rw-r--r-- root     root         5992 2008-08-01 08:00 radio-iris-transport.ko
-rw-r--r-- root     root         2559 2008-08-01 08:00 scsi_wait_scan.ko
root@evita:/ #
Then do "su" and "insmod ...":

Code:
 255|root@evita:/ # su
root@evita:/ # insmod /system/lib/modules/radio-iris-transport.ko  
255|root@evita:/ #
To see what might have happened, run "dmesg" and look at the last few lines.
==================================================
__________________________________________________ _______
Doing taxes, LOL ...

Spirit Transmit:
Only ROOTED Xperia T, Z & Z1:
http://forum.xda-developers.com/show...59296&page=825

Spirit2 Real FM Radio
; Root + AOSP: https://play.google.com/store/apps/details?id=fm.a2d.s2
Spirit2 XDA: http://forum.xda-developers.com/show....php?t=2537861

Spirit1 Real FM Radio: https://play.google.com/store/apps/d...cros.fm_unlock
Spirit1 XDA: http://forum.xda-developers.com/show...php?p=13379669
 
tixatixa
Old
#4  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Jul 2013
I tested on Terminal Emulator:
lsmod
/proc/modules: No such file or directory

and

ls /proc/modules
/proc/modules: No such file or directory

With: Franco Kernel and MAHDI rom
 
mikereidis
Old
#5  
Recognized Developer
Thanks Meter 3,158
Posts: 6,240
Join Date: Jan 2011
Location: Ottawa/Gatineau, Canada
Quote:
Originally Posted by tixatixa View Post
I tested on Terminal Emulator:
lsmod
/proc/modules: No such file or directory

and

ls /proc/modules
/proc/modules: No such file or directory

With: Franco Kernel and MAHDI rom
That means that kernel modules are not enabled. In most cases so far*, the FM driver can't work if built into the kernel. It MUST be a loadable module or a Qualcomm bug arises and may cause reboot. (*Only exception in years is HTC One M8, presumably bug is fixed in it's kernel.)


Here is the crux of what hi_cannon posted here: http://forum.xda-developers.com/show...postcount=8097

Quote:
Originally Posted by hi_cannon
You just need to change three lines in the kernel config file which re-enables module support and to build the iris module itself.
Here's the link: https://github.com/hicannon/android_...4afd9c15b4b3c3

These are the 3 lines:

CONFIG_MODULES=y
CONFIG_RADIO_IRIS=y
CONFIG_RADIO_IRIS_TRANSPORT=m
==================================================
__________________________________________________ _______
Doing taxes, LOL ...

Spirit Transmit:
Only ROOTED Xperia T, Z & Z1:
http://forum.xda-developers.com/show...59296&page=825

Spirit2 Real FM Radio
; Root + AOSP: https://play.google.com/store/apps/details?id=fm.a2d.s2
Spirit2 XDA: http://forum.xda-developers.com/show....php?t=2537861

Spirit1 Real FM Radio: https://play.google.com/store/apps/d...cros.fm_unlock
Spirit1 XDA: http://forum.xda-developers.com/show...php?p=13379669
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes