Hi,
I'm a dev for the Optimus S. Would anybody be able to point me to what files the Optimus one uses for the FM radio? I know there is the FMRadio.apk but I'm looking for library and bin files.
Thanks,
Nick.
Ohh. When I get some time ill try to find some info on libs to try out.
Sent from my LS670 using Tapatalk
nfd77 said:
Hi,
I'm a dev for the Optimus S. Would anybody be able to point me to what files the Optimus one uses for the FM radio? I know there is the FMRadio.apk but I'm looking for library and bin files.
Thanks,
Nick.
Click to expand...
Click to collapse
From building lg's from aosp the fm radio will need parts from the bcm4325 stack (both in kernel and userspace bt libs) and it is also embedded in framework and you will need the apk(s) too. Not just a simple copy the libs & apk.
drellisdee said:
From building lg's from aosp the fm radio will need parts from the bcm4325 stack (both in kernel and userspace bt libs) and it is also embedded in framework and you will need the apk(s) too. Not just a simple copy the libs & apk.
Click to expand...
Click to collapse
Okay, thanks for you help. I'll work with a kernel dev and try to get this running on the Optimus S.
Related
Ok, here we are. I opened this thread because i want to port the HTCfmRadio.apk app on the MCR r21 build of nexus one.
Could anyone help me ? If yes, send me a pm with your gtalk
Diary:
13/07/2010 9.42 PM
Successfully de-odexed htcfmradio.apk
13/07/2010 10.22 PM
Added link of Fm-radio-APK's of Droid X & HTC Desire & T-Mobile pulse mini
13/07/2010 11.30 PM
Added some logcats
14/07/2010 6.46 PM
Obtained ByteCode of app
16/07/2010 6.01 PM
Obtained Java Code + Added 2 Logcats
22/07/2010 10.49 AM
Added HTC Aria FmRadio.apk
If you like our work and the time that it tooks us, consider buying me a coffee!
== LogCats with HTC Desire FMradio apk ==
http://pastebin.com/kpanRCHr
http://pastebin.com/870fXGy2
http://pastebin.com/YJQj5xUY
http://pastebin.com/D5YMbVwR
== LogCats with Motorola Droid X FMradio apk ==
http://pastebin.com/AB48xDNz
http://pastebin.com/nJjHdNi9
http://pastebin.com/PmSF19nE
== LogCats with T-Mobile pulse mini FMradio apk ==
http://pastebin.com/Qd4DGWty
== LogCats with HTC Aria FMradio apk ==
== Links ==
HTC-FM-Radio.apk + De-compiled files @ Rapidshare
Droid X Radio FM apps de-odexed @ RapidShare.com
T-Mobile Pulse Mini FmRadio.apk @ SendSpace
HTC Aria Fm Radio apk
== Team Working On ==+
- MrNameless
- Daneshm90
- tjsimmons
Quick question, considering at the time when i ported moto's fm radio over, we didnt' have a kernel that supports fm, has anyone tried the moto fm radio app with ir's kernel ?
I know its a different chip and what not, but we cant close a case w/o trying it.
What about the effort already going on here -- http://forum.xda-developers.com/showthread.php?t=707404&page=29 by Daneshm90? If you guys are willing to join forces, it would be great
FWIW, I installed your APK and it has the same behaviour as Daneshm90's -- it FCs on startup after displaying the sliders for a while. Here is the logcat -- http://pastebin.com/FW4KW6NQ
Here is the try with droid x fmradio app
http://www.postimage.org/image.php?v=TsMhonS
MrNameless said:
Here is the try with droid x fmradio app
http://www.postimage.org/image.php?v=TsMhonS
Click to expand...
Click to collapse
That just looks like an Italian (?) force close. I think posting the logcat would be more helpful.
rohandhruva said:
That just looks like an Italian (?) force close. I think posting the logcat would be more helpful.
Click to expand...
Click to collapse
yeah , I'm Italian
edited firs post with all logcat
I also Italian.
I test in different way Motorolaradio fm but with no lucky.
Fc on boot or if I remove radio service it wait radio service
It's radio service that give fc
www1 said:
I also Italian.
I test in different way Motorolaradio fm but with no lucky.
Fc on boot or if I remove radio service it wait radio service
It's radio service that give fc
Click to expand...
Click to collapse
Can you post a logcat ?
|||||||||||||||||||||||||||
Puoi postare un logcat ?
Added new logcats
I grabbed the FM Radio App from the T-mobile Pulse Mini and deodexed and signed the app. I got this from MoDaCo's kitchen ROM so thanks to Paul for that
I've pushed the APK here for people to grab if they want:
http://www.sendspace.com/file/zsln28
and the logcat is here on pastebin
http://pastebin.com/Qd4DGWty
as soon as you run the app it force closes.
I'm running CM6-RC1 with iR's FM Kernel of course
I did try to decompile it apk manager but i'm a n00b and got stuck as I couldn't figure out how to get tag the correct framework from the rom :S
bewA said:
I grabbed the FM Radio App from the T-mobile Pulse Mini and deodexed and signed the app. I got this from MoDaCo's kitchen ROM so thanks to Paul for that
I've pushed the APK here for people to grab if they want:
http://www.sendspace.com/file/zsln28
and the logcat is here on pastebin
http://pastebin.com/Qd4DGWty
as soon as you run the app it force closes.
I'm running CM6-RC1 with iR's FM Kernel of course
I did try to decompile it apk manager but i'm a n00b and got stuck as I couldn't figure out how to get tag the correct framework from the rom :S
Click to expand...
Click to collapse
ok, i'm adding it at the 1st post, we have to have all fm radio apk's and see which can be ported
I dont know if there are any other non sense android rom's that have radio or even the same chipset *shrugs*
but i suppose the more the better
bewA said:
I dont know if there are any other non sense android rom's that have radio or even the same chipset *shrugs*
but i suppose the more the better
Click to expand...
Click to collapse
huawei phone , but i don't know if they have the same chipset
Any updates on this? Something new we "testers" can try?
rohandhruva said:
Any updates on this? Something new we "testers" can try?
Click to expand...
Click to collapse
Not from me as i'm not a coder!
I wouldn't even know where to start tbh
Unless something needs to be deodexed there's not much else i can do!
What be involved in porting just the sense/rosie framework so we don't need to necessarily change the app?
Is that worth pursuing?
Guys, we're working on! Just be patient...
this is so we can use the FM radio on a non sense rom.
bewA said:
this is so we can use the FM radio on a non sense rom.
Click to expand...
Click to collapse
right! On stock froyo ROM
Good luck, I hope you guys can get this working!
I was wondering if anyone could provide a clean /system dump for the stock Gingerbread ROM update. I would need a an English version. I would like to try to port it to the CDMA device, Optimus S.
I cannot extract the files from the official downloads in this thread: http://forum.xda-developers.com/showthread.php?t=1140862. If you could tell me how to extract that would be just as good.
Thank you!
You need simply unyaffs2 to extract the contents of the system.mbn from downloaded .kdz file, when success you have all the contents of the rom - no language specific files,
its compiled in APKs, JARs and libraries. to get a gsm rom to work on a CDMA phone you
need cdma libraries at least, possibly another phone-,sms and other apps because all these files are compiled for GSM.
Uploading V20E for Europe. It is ready for kitchen modifications and untouched
http://www.multiupload.com/NB0IGE2UFP
andy572 said:
You need simply unyaffs2 to extract the contents of the system.mbn from downloaded .kdz file, when success you have all the contents of the rom - no language specific files,
its compiled in APKs, JARs and libraries. to get a gsm rom to work on a CDMA phone you
need cdma libraries at least, possibly another phone-,sms and other apps because all these files are compiled for GSM.
Click to expand...
Click to collapse
Ok, I learned something new! Thanks! I thought the .mbn was some special format that was unreadable by PC, lol
yasingedik said:
Uploading V20E for Europe. It is ready for kitchen modifications and untouched
Click to expand...
Click to collapse
Even better!
Thank you both!
I have re-written the ICS camera HAL module to be a thin wrapper for the gingerbread libcamera.so and hence it will only work with the 2.6 kernel. The advantage is that getting to gingerbread level functionality should be quick Creating a new thread because there is a slight chance that this will work for all qualcomm devices with existing libcamera.so files (with slight mods ofcourse )
http://www.mediafire.com/download.php?wjf035mz2vzunw4
Here is a zip file which contains the new camera HAL module. README file accompanying it has instructions on the locations for the files. If you already have the previous version of camera HAL working, all you have to do is replace camera.qsd8k.so and libcamera.so with the ones in the zip file.
What works:
1) Preview works.
2) Taking a picture works pretty well.
3) Size of picture is no longer huge.
4) Software zoom works.
5) Most of the other knobs like focus, file size etc. seemed to work as well in my testing.
6) Pretty stable as far as I can see
Not working yet:
Video and other fancy stuff.
If people have requests for other qualcomm devices after having tried the HAL included in the zip file, kindly include the following information.
1) logcat from having used the HAL module.
2) build.prop
3) libcamera.so from gingerbread ROM for the device.
4) liboemcamera.so from gingerbread ROM.
Currently known to work on the following devices:
1) Nexus One.
2) HTC Desire
3) HTC HD2
Enjoy and thanks for all the feedback.
Updates:
02/09/2012
Working barcode scanner mode
Flashable zip file (should work with texasice's ROMs)
http://www.mediafire.com/?w4fu0u05qtxq3tu
01/30/2012
Working Panorama mode
Flashable zip file (should work with texasice's ROMs)
http://www.mediafire.com/?5r599m5jg5yfaqn
Known issues:
Sometimes screen has some garbage while in Panorama mode viewfinder. Quitting completely from the app and restart or invoking Gallery from inside the app and returning back to camera app should mostly fix it.
Video enabled version:
Fastboot compatible images compiled from evervolv base:
For Stock hboot :
http://www.mediafire.com/?wdlip7h6necetia
For HBoot(s) supporting larger /system partition
http://www.mediafire.com/?f6rz3sz2r97qln0
Source code is now available at
https://github.com/rapmv78/
Your upload doesn't include a HAL, and from your instructions I am not sure if you are implying to use the HAL and the GB libcamera and liboemcamera, or the ones included.
please show me what i have to type in adb to push these files? (sorry i'm noob)
is camera.qsd8k.so not included?
sorry for my english..
Sorry wrong link. Now updated. Please re-download. And yes the files need to pushed through adb.
One step closer!
Thank you!
twistedumbrella said:
Your upload doesn't include a HAL, and from your instructions I am not sure if you are implying to use the HAL and the GB libcamera and liboemcamera, or the ones included.
Click to expand...
Click to collapse
Link fixed. The files included in the zip are the ones to be used. The generic libs part is only for people with non nexus one devices and would want help enabling camera on them. Hope this clarifies better.
Is the code specific to qsd8 or just a generic wrapper function? On most "newer" devices you are looking at msm7x30, but generic qsd8 code, much like the gralloc, would still work with a rename.
Sent from my ADR6400L using Tapatalk
rapmv78 said:
Sorry wrong link. Now updated. Please re-download. And yes the files need to pushed through adb.
Click to expand...
Click to collapse
if i have installed the previous version, is it right what i have to type in adb?
Code:
adb remount
adb push libcamera.so /system/lib/libcamera.so
adb push camera.qsd8k.so /system/lib/hw/camera.qsd8k.so
adb reboot bootloader
fastboot flash boot boot-new.img
fastboot reboot
please help, i don't know what to do..
thanks..
mulerokeh said:
if i have installed the previous version, is it right what i have to type in adb?
Code:
adb remount
adb push libcamera.so /system/lib/libcamera.so
adb push camera.qsd8k.so /system/lib/hw/camera.qsd8k.so
adb reboot bootloader
fastboot flash boot boot-new.img
fastboot reboot
please help, i don't know what to do..
thanks..
Click to expand...
Click to collapse
If you have previously working camera, you can skip flashing the boot-new.img file. It is there for people who do not have existing ics camera hal. Rest looks fine to me.
twistedumbrella said:
Is the code specific to qsd8 or just a generic wrapper function? On most "newer" devices you are looking at msm7x30, but generic qsd8 code, much like the gralloc, would still work with a rename.
Sent from my ADR6400L using Tapatalk
Click to expand...
Click to collapse
It is just a wrapper, but is dynamically linked with the libcamera.so file. So, if kernel change does not change structs and constants, things will work fine with a rename as you suggest. Otherwise it will not.
Maybe you should ask @charnsingh_online help for video, as he already works on 720p for N1
rapmv78 said:
It is just a wrapper, but is dynamically linked with the libcamera.so file. So, if kernel change does not change structs and constants, things will work fine with a rename as you suggest. Otherwise it will not.
Click to expand...
Click to collapse
So what were the kernel changes?
twistedumbrella said:
So what were the kernel changes?
Click to expand...
Click to collapse
There are none in this hal, that is why it works. What I was intending to say was that if MSMx30 kernel uses different size structs/constants it will not work.
rapmv78 said:
There are none in this hal, that is why it works. What I was intending to say was that if MSMx30 kernel uses different size structs/constants it will not work.
Click to expand...
Click to collapse
That is why I asked if it was generic code or specialized to qsd8. If the kernel code was not edited, that will be irrelevant because the source is not built (at least not by anyone other than CAF) using an inline kernel.
twistedumbrella said:
That is why I asked if it was generic code or specialized to qsd8. If the kernel code was not edited, that will be irrelevant because the source is not built (at least not by anyone other than CAF) using an inline kernel.
Click to expand...
Click to collapse
The hal code itself is generic, but it depends on libcamera.so, which inturn depends on kernel structs and constants to match the running kernel for successful control ioctls/pmem etc.
Can confirm this works on HTC Desire exactly as mentioned in OP.
Sent from my HTC Desire using XDA App
I tried it with (Texas)Ice ICS ROM and network not work. Failed to load driver! Need flash another kernel?
sucon said:
I tried it with (Texas)Ice ICS ROM and network not work. Failed to load driver! Need flash another kernel?
Click to expand...
Click to collapse
it works for me, but sometimes not responding after take 2 or 3 photos..
but great work!!
Sent from my Nexus One using xda premium
sucon said:
I tried it with (Texas)Ice ICS ROM and network not work. Failed to load driver! Need flash another kernel?
Click to expand...
Click to collapse
Works both fine with texasice ICS!
i want to use the radio that comes with orijinal rom when i flash jb custom roms. is it possible? if yes which app should i use?
as i know htc evo 3d has the radio hardware. thanks
Would be curious to know about that as well, maybe try just flashing the apk of the stock Rom radio app...
Sent from my Evo 3D GSM using xda app-developers app
Schrubbi said:
Would be curious to know about that as well, maybe try just flashing the apk of the stock Rom radio app...
Sent from my Evo 3D GSM using xda app-developers app
Click to expand...
Click to collapse
i d like to. But dont know where & how to find that apk. i havent seen it anywhere.waiting for someone to share it or inform me.
xwardenx said:
i d like to. But dont know where & how to find that apk. i havent seen it anywhere.waiting for someone to share it or inform me.
Click to expand...
Click to collapse
U can use file explorer with system acces (es file explorer is what I use). App is in system/app folder and it's easy to extract it and push in your ROMs system. I'm not sure if it will work though
Hi again,
I just tried the option with flashing the old htc fm radio app into the system/app folder. From what I've seen it doesn't work.
I extracted the apk from a previous backup with the stock 4.0.3 rom. I didn't find any additional libs or anything but after rebooting the app didn't show up.
Also on a AOSP Rom as CM10.2 it is not very likely to get a HTC/Sense app running. Therefore I looked around and found another option: thr Spirit FM app
http://forum.xda-developers.com/showthread.php?t=1059296
But here as well I wasn't lucky and didn't get any positive results...
If anybody has better luck or experience with the Spirit FM let me know, I'd be happy to have a simple FM radio back
is there anyone, succeeded to use fm radio on sprint lg g3(ls990)?
You know there's a Q & A section, this is the development section
required apk's for lg fm radio are in zip. extract and put folders into system>apps using file explorer of your choice to mount r/w, then reboot. is working for me on BareCee rom
imranrony said:
is there anyone, succeeded to use fm radio on sprint lg g3(ls990)?
Click to expand...
Click to collapse
the version in this zip file I know works on stock lollipop. Its flashable
Download MEGA