[PROJ] Porting HtcFMradio.apk on Nexus One - Nexus One Android Development

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!

Related

FM Radio .apk?

I'm running CyanogenMod 6.0.0 port and it doesn't have the FM Radio app. Could anyone get the apk somehow, and would it work if I installed it?
I've extracted it from my phone:
http://www.mediafire.com/?70xc0gkv2u3tdm5
Thanks
Keeps fc-ing though, so I guess it won't work. Maybe someone will get it working later.
Is there any working Version without HTC Sense needed?
redlabour said:
Is there any working Version without HTC Sense needed?
Click to expand...
Click to collapse
No, all HTC sense apps need HTC framework to function
Sent from my HTC Hero running froyo: take that, Sprint!

[DEV Q] FM Radio

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.

Discontinued - Kumar's Simple GB ROM- Sense & No Sense [Base 1.43][Stock Kernel]

Discontinued as i sold amaze and got galaxy note now. Im very happy with note now.
[B][/B][​SIZE="4"][ROM][Soon] Kumar's Simple ROM Series for HTC Ruby [Base 1.43][Stock Kernel][/SIZE]​
INTRODUCTION
O.k. This is actually my second attempt in ROM making.Was cooking WM ROMs for HD2 for sometime earlier. However, iam very much new to android. Just started trying to do something for my own use. Wanted to share with others who have same liking of mine. Basically, iam not a develeoper or coder. So, expect some bugs & issues. However, iam trying to keep it as minimum. Your opinions and bug findings are welcome to be posted in the thread and if possible with some solutions
I'll try to keep my ROM look and feel as close to stock as possible with less or no bugs.
Starting with GB ROM in two flavors,
1. Minimal Sense version &
2. No Sense Version
Feel free to try and report
Thanks:
Xboarder, Dxida, Baadnewz and to everyone who have contributed their mods,tweaks,tools in XDA.
1. MINIMAL SENSE VERSION
Kumar's Simple GB Sense ROM Details
Based on Official Tmob HTC Ruby ROM
Deodexed
Rooted
Busybox
Removed Tmob Bloatware
Removed Twitter
Removed Maps
Removed Adobe reader
Removed Reporting Agents
Removed HTC Hub
Removed Carrier IQ
Updated Market, Adobe reader, Facebook, and other apps
Updated Superuser
Increased maximum allowed tabs in Browser to ten
Init.d support
Hardware acceleration enabled
Increased JPEG quality for camera
Memory tweak & other tweaks
Wifi tweaks
Removed boot sound
Changed boot & shutdown animations to default HTC
Added multiple languages support
GPS quick fix tweak
Some other things which i might have forgot to mention...
Disclaimer:
Iam not responsible for any bricks or what so ever.
If you are new to ROM flashing, please read the FAQ and this thread before proceeding further.
DOWNLOADS
Version 0.1
Kumar's Simple GB Sense ROM V 0.1(Last Updated 9Feb2012)
Reuploaded Kumar's Simple GB Sense ROM V 0.1
http://www.4shared.com/zip/tGhxcCZV/Kumars_Simple_GB_Sense_ROM_V01.html
MD5 Checksum - DA822E052C64F2AC06A94A6B724975B5
ROM Flashing Instructions:
1. Check the MD5 checksum
2. Full wipe recommended
3. And flash with CWM recovery 5.0.2.7 (MD5: 62E764ECB6977B2D3B30A34A848B7F38)
CHANGE LOG
Initial Release
KNOWN BUGS
None
2. NO SENSE VERSION
Kumar's Simple GB Vanila ROM Details
CHANGE LOG
Initial Release
Disclaimer:
Iam not responsible for any bricks or what so ever.
If you are new to ROM flashing, please read the FAQ and this thread before proceeding further.
DOWNLOADS
(Soon ....)
KNOWN BUGS
None
optional mods & add ons
faq, bugs & solutions
*************** Reserved
Thread in making ******************
Nice, looking forward to checking it out!
charlatan01 said:
Nice, looking forward to checking it out!
Click to expand...
Click to collapse
Thansk for the support. Uploading the ROM tonight........
When you say No sense version, do you mean AOSP based or Vanilla based rom?
Screenshots would help. and BTW, it's great to have a desi developer on board
funkadesi said:
When you say No sense version, do you mean AOSP based or Vanilla based rom?
Screenshots would help. and BTW, it's great to have a desi developer on board
Click to expand...
Click to collapse
Thansk for support. No sense will be vanila ROM. Way to go for AOSP based
Screenshots will be up once the ROM is ready for upload. Sense version should be up by tonight
Status on upload
Sent from my HTC Amaze 4G using Tapatalk
Patiently waiting for minimal sense. This ROM is going to be awesome.
Yes please!
Anything with no sense for the love of michael jackson!!!
AJ26T said:
Status on upload
Sent from my HTC Amaze 4G using Tapatalk
Click to expand...
Click to collapse
Got some issues with uploading in multiupload.
Upload broken in between so delay
Minimal Sense ROM is up now
babymatteo said:
Patiently waiting for minimal sense. This ROM is going to be awesome.
Click to expand...
Click to collapse
Thanks.
ROM is up now> Waiting your feedback
xologist said:
Yes please!
Anything with no sense for the love of michael jackson!!!
Click to expand...
Click to collapse
Thanks. No sense version should be up hopefully by tonight.
1. MINIMAL SENSE VERSION
Kumar's Simple GB Sense ROM Details
Based on Official Tmob HTC Ruby ROM
Deodexed
Rooted
Busybox
Removed Tmob Bloatware
Removed Twitter
Removed Maps
Removed Reporting Agents
Removed HTC Hub
Removed Carrier IQ
Updated Market, Adobe reader, Facebook, and other apps
Updated Superuser
Increased maximum allowed tabs in Browser to ten
Init.d support
Hardware acceleration enabled
Increased JPEG quality for camera
Memory tweak & other tweaks
Wifi tweaks
Removed boot sound
Changed boot & shutdown animations to default HTC
Added multiple languages support
GPS quick fix tweak
Some other things which i might have forgot to mention...
Disclaimer:
Iam not responsible for any bricks or what so ever.
If you are new to ROM flashing, please read the FAQ and this thread before proceeding further.
DOWNLOADS
Version 0.1
Kumar's Simple GB Sense ROM V 0.1 (Last Updated 9Feb2012)
Link seems to be corrupted. Reuploading now....
CHANGE LOG
Initial Release
No Sense... by that do you mean AOSP? or something close to that?
can we get a mirror file factory is being dumb
Sent from my HTC Amaze 4G using Tapatalk
ElChibo said:
No Sense... by that do you mean AOSP? or something close to that?
Click to expand...
Click to collapse
That's the idea lol
Sent from my Energized HTC Amaze 4G using XDA-Premium App
Awesome downloading now.
But dl speeds seems slower than usual...is this because of filefactory? Im only dl @ 124kbps :-(
---------- Post added at 09:57 AM ---------- Previous post was at 09:01 AM ----------
Kumar: i tried flashing but it gave me a Status 1 installation aborted. Any thoughts?
---------- Post added at 10:15 AM ---------- Previous post was at 09:57 AM ----------
Another Edit: even though it gave me an installation aborted, rom still booted just fine. Went through the setup and google sign-in just fine...so data works. But one major bug i found, is that the capacitive buttons don't work. Home, back, menu, and search all do not respond nor are they lit up at all. Also the power button doesn't seem to work, all it does when pressed down is reset sense.
But everything else seem to work fine. Also tested usb drive and its good.
ElChibo said:
No Sense... by that do you mean AOSP? or something close to that?
Click to expand...
Click to collapse
Yes. Like that.
AJ26T said:
can we get a mirror file factory is being dumb
Sent from my HTC Amaze 4G using Tapatalk
Click to expand...
Click to collapse
babymatteo said:
Awesome downloading now.
But dl speeds seems slower than usual...is this because of filefactory? Im only dl @ 124kbps :-(
---------- Post added at 09:57 AM ---------- Previous post was at 09:01 AM ----------
Kumar: i tried flashing but it gave me a Status 1 installation aborted. Any thoughts?
---------- Post added at 10:15 AM ---------- Previous post was at 09:57 AM ----------
Another Edit: even though it gave me an installation aborted, rom still booted just fine. Went through the setup and google sign-in just fine...so data works. But one major bug i found, is that the capacitive buttons don't work. Home, back, menu, and search all do not respond nor are they lit up at all.
But everything else seem to work fine. Also tested usb drive and its good.
Click to expand...
Click to collapse
The ROM is fine without any issues. Iam using it from yesterday night. had a trip with GPS running for 300kms and back now. May be corrupted upload or corrupted download or corrupted installation
Can others please confirm?
On another note,
I have tried many file servers with error or limited file size issue
Can someone suggest some free file upload servers?
Rightnow, iam reuploading in 4shared now.

How to use offline radio comes with stock rom on custom rom such as cyanogenmod 10.2

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

FM radio app for H2OS Marshmallow 2.0

The point below is for Lollipop based H2OS 1.3 only. There is no available flashable zip file for H2OS 2..0 (Marshmallow)
I've found something unusual. The one plus site gives hardware specs for all variants (E1001,1003 and 1005) as having a working FM radio ..... But while Oxygen OS has a working FM app (FM2), there is no software (app) available on Chinese ROMs (H2OS or even on COS which is for the Oppo clone of the OPX, the A30). So I tried to port FM2 with the app just getting installed on H2OS but doesn't run (FC on starting...and won't install at all on COS.
On this other thread http://forum.xda-developers.com/showthread.php?t=3261992, a friendly XDA user @RJDTWO helped with a CM13 FM radio app but that failed to install as a system priv-app due to apk signature errors.
So my aim is this: To install a FM radio app on H2OS and /or COS. It is preferred to install the stock app from OOS (FM2), but if a workaround can be found for CM app its good too.
And one last word about Spirit FM...while the app is good and I respect the dev of the app (have paid version), the app gives a much noise-filled and weaker reception compared to stock FM app, and I want this to be a "anybody can use" kind of solution.
Add Edit:
The Problem of a working FM Radio zip file (FM2.apk) is still unresolved. I will have to delete the LP apk files and add MM apk+library files in the FM2.zip attached file, to check.
Any dev /modder who can help and contribute to this effort? My expertise in android app development and modding is weak to push this project forward... Thanks in anticipation
Dead Cookies leave no trails...
I will definitely look deeper into this issue. I don't know why it doesn't work with Chinese ROMs unless there is something that the market there isn't allowed access to
Its free-to-air VHF FM radio, with a short area of reach( Line-of-Sight, 60-100 Km from transmitting station). Nothing that the Chinese would like to firewall / deny access to. In fact, there were plenty of local FM stations during my last visit to Hong Kong / Shanghai...thanks for assisting in this effort...
Dead Cookies leave no trails...
I am posting two logcats, the first from COS with a working FM radio app, and the second from H2OS where the same FM 2 app installs but crashes on running. Requesting any dev to compare both and suggest modifications,or additional files to flash on H2OS to get FM2 app running. Thanks
Adding another logcat of a working app FM2 radio from CM 12.1 on the one plus x.. @RJDTWO, are you still willing to help?
Cookie Ninja said:
Adding another logcat of a working app FM2 radio from CM 12.1 on the one plus x.. @RJDTWO, are you still willing to help?
Click to expand...
Click to collapse
Yeah. I'll have a look at the logcat
---------- Post added at 09:09 PM ---------- Previous post was at 08:51 PM ----------
Take the library (not the folder) libfmjnj.so and Copt it to "system/lib"
Take the folder "lib" and the apk and place them in /system/priv-app/FMRadio
This should work. If not, post a log cat
https://drive.google.com/file/d/0B7CLqaEGT92AZFJua09CQklNYzA/view?usp=sharing
Thanks. Will try this weekend (need a working phone during the week). Btw, can I use the FM2.apk from cm12.1 instead? The file is as attached. Directory listing is as shown in zip file.
Dead Cookies leave no trails...
CM 12 app also seems to have installation issues due to apk signature mismatch.....see logfiles...
CM 13 FM app will be tested tomorrow.
Thanks @RJDTWO...
Dead Cookies leave no trails...
Double post....sorry.
Cookie Ninja said:
Thanks. Will try this weekend (need a working phone during the week). Btw, can I use the FM2.apk from cm12.1 instead? The file is as attached. Directory listing is as shown in zip file.
Dead Cookies leave no trails...
Click to expand...
Click to collapse
It should work. You just seem to be missing the lib for FM2..
Thanks to @RJDTWO, @mobilism and @Danish66 (last two from the H2OS thread), the solution is simply to flash a zip file containing the FM2 app (with lib files) from COS onto a fresh install of H2OS using TWRP...that's all. I'm attaching a TWRP flashable zip file containing the complete FM2 app for others to use... Details available on the H2OS thread here...http://forum.xda-developers.com/showthread.php?p=66952287 and
http://forum.xda-developers.com/showthread.php?p=66960198
Dead Cookies leave no trails...
Cookie Ninja said:
Thanks to @RJDTWO, @mobilism and @Danish66 (last two from the H2OS thread), the solution is simply to flash a zip file containing the FM2 app (with lib files) from COS onto a fresh install of H2OS using TWRP...that's all. I'm attaching a TWRP flashable zip file containing the complete FM2 app for others to use... Details available on the H2OS thread here...http://forum.xda-developers.com/showthread.php?p=66952287 and
http://forum.xda-developers.com/showthread.php?p=66960198
Dead Cookies leave no trails...
Click to expand...
Click to collapse
Can someone please try to extract the radio app and libs from OOS 3.1 for use in H2OS 2.0. The previous one does not work.
MarkSparks said:
Can someone please try to extract the radio app and libs from OOS 3.1 for use in H2OS 2.0. The previous one does not work.
Click to expand...
Click to collapse
Yup. Still stuck on H2OS LP due to the same
guys i like the fm app in cm13 can any one gide me how to install it to the stock oxygen os 3.1.3
jagaka said:
guys i like the fm app in cm13 can any one gide me how to install it to the stock oxygen os 3.1.3
Click to expand...
Click to collapse
May not be possible. CM uses different sources as compared to Stock OOS /H2OS. you can try, though...... or even better, flash CM13 and be happy.
Finally a working FM app for H2OS 2.0. http://forum.xda-developers.com/showpost.php?p=69404782&postcount=3
Cookie Ninja said:
Thanks to @RJDTWO, @mobilism and @Danish66 (last two from the H2OS thread), the solution is simply to flash a zip file containing the FM2 app (with lib files) from COS onto a fresh install of H2OS using TWRP...that's all. I'm attaching a TWRP flashable zip file containing the complete FM2 app for others to use... Details available on the H2OS thread here...http://forum.xda-developers.com/showthread.php?p=66952287 and
http://forum.xda-developers.com/showthread.php?p=66960198
Dead Cookies leave no trails...
Click to expand...
Click to collapse
Hello Mr ##Cookie Ninja. Please Do something on this issue..! The Zip not working I flashed it on H2OS V2.00
You need to flash the one quoted towards the end.... This one.... The second / third post after the OP has the fm radio zip file from OOS3
http://forum.xda-developers.com/showthread.php?p=69404782
Dead Cookies leave no trails...
Dear it was Working on Lolipop but Crushing on Marshmallow (H2os 2.0.0)

Categories

Resources