Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bled82
Old
#1  
Senior Member - OP
Thanks Meter 8
Posts: 272
Join Date: Nov 2009
Location: Dallas
Default [Q] Convert FMRadio app from the HTC desire Z to G2 ?

Pulled the apk from the Desire Z dump and tried to run it on my G2 but it failed , Wondering what else i would need to get this to work
Attached Files
File Type: apk HtcFMRadio.apk - [Click for QR Code] (1.32 MB, 308 views)
 
Smokuevo
Old
#2  
Smokuevo's Avatar
Senior Member
Thanks Meter 9
Posts: 541
Join Date: Apr 2008
Location: Schaumburg
i don't think it will work just like that. you need a lot of sense or such to make it work that's why it never made its way to cyanogenmod .. miui guys from japan know how to do it but i don't think they want to tell how to do it.
 
rune222
Old
#3  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Jun 2010
Location: houston
You can't run any sence app on anything besides the rosie launcher. You can sometimes install it but it won't work, the app is written deep in the framework.
\thread
Sent from my T-Mobile G2 using XDA App
 
shivers316
Old
#4  
shivers316's Avatar
Member
Thanks Meter 3
Posts: 71
Join Date: Mar 2006
Location: Ridgefield Park

 
DONATE TO ME
Kernel most likely doesn't support it.

Sent from my T-Mobile G2 using XDA App
 
mtrausch
Old
#5  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: Sep 2008
Location: Lithonia, GA
Default Something is definitely missing

Just to see what I got, I downloaded the attached APK and used adb to install it, and then ran “adb logcat” while trying to launch it. The result is that it force closes right away, and from the output of logcat it looks like it is definitely missing some sort of libraries.

I'd post the thing but it's huge. Essentially, though, it winds up crashing because it expects something to be present that isn't; that's likely this sense thing that others have mentioned.
 
jfwfreo
Old
#6  
Junior Member
Thanks Meter 0
Posts: 19
Join Date: Jun 2010
I suggest reading (and following along with) the thread in the Nexus One forum about getting FM Radio going on that phone. My guess is that whatever those guys come up with should also allow FM Radio on the G2 once it becomes possible to modify the G2 kernel to get the relavent drivers running.
 
legendary1022
Old
#7  
Senior Member
Thanks Meter 14
Posts: 200
Join Date: Jan 2010
Location: Kansas City, MO
Like its been mentioned it usually requires sense and the kernel to support it. Only the sense roms on the nexus one could use it. Not a developer at all but from what I understand so far, it is what is required.

Sent from my T-Mobile G2 using XDA App
Devices:
Phones = Nexus One --> T-Mobile G2 --> HTC Sensation --> Samsung GS3
Tablets = Motorola Xoom --> Asus Transformer Prime --> ASUS Transformer Infinity --> Nexus 7

Currently Running:
CM10.1 RC2 (Samsung GS3)
SmoothROM (Nexus 7)

Twitter: http://twitter.com/BallChief
Website: http://ballchief.com
 
legendary1022
Old
#8  
Senior Member
Thanks Meter 14
Posts: 200
Join Date: Jan 2010
Location: Kansas City, MO
@cyanogen:

The amazing guys at MIUI are contributing FM radio support to CM! Support them at http://miui.com

--
shared via Twidroyd http://twidroyd.com

Sorry for posting twice in a row but as soon as I wrote that last post this was posted by the man himself. Should be promising.

Sent from my T-Mobile G2 using XDA App
Devices:
Phones = Nexus One --> T-Mobile G2 --> HTC Sensation --> Samsung GS3
Tablets = Motorola Xoom --> Asus Transformer Prime --> ASUS Transformer Infinity --> Nexus 7

Currently Running:
CM10.1 RC2 (Samsung GS3)
SmoothROM (Nexus 7)

Twitter: http://twitter.com/BallChief
Website: http://ballchief.com
 
Smokuevo
Old
#9  
Smokuevo's Avatar
Senior Member
Thanks Meter 9
Posts: 541
Join Date: Apr 2008
Location: Schaumburg
it's working on the n1.. i assume you will need root to use it so if u plan not to root then don't expect to see it. for now thanks miui for the help.
 
mejorguille
Old
#10  
mejorguille's Avatar
Senior Member
Thanks Meter 33
Posts: 793
Join Date: Dec 2009
Location: Florida
Isn't the FM Radio a system app? That means that we won't be able to use it until we have write access to /system. So if you want to be able to even install it properly, you need to wait until we have root. From there we have to disassemble and find all the dependencies on the sense framework and port them back in. Also, I am sure that you'll need to use some of the corresponding libs.


Currently using: RETIRED: White T-Mobile G1
| ROM: CM7 | RADIO: 2.22.28.25 | SPL: 1.33.0013d
RIP: G2! ROOT! HELLZ YEAH!!

| ROM: CM7 | RADIO: 26.04.02.17(S-OFF) | THEME: Mixer Theme | MODS: Screen Color Calibration | Minimum Brightness Patcher | Kernel: Pershoot |

Thanks to all the devs that make me love my phone!

 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...