FORUMS

Huawei To Sell Honor Smartphones Via Indian Retail Outlets

World’s fourth largest smartphone maker Huawei plans to now sell its … more

Sunday Debate: Are Smaller Bezels Better or Worth It?

Bezels have been getting smaller and smaller as the years go by, and while devices … more

LG G4 First Impressions and Unboxing – XDA TV

The latest in LG’s signature line of “G phones” has been released. … more

Galaxy S6 Weekly Shooting Challenge

Over in our forums this weekend, XDA Forum member DevonSloan has started a thread for talented … more
Post Reply Subscribe to Thread Email Thread

FM Radio

Modding.MyMind
9th April 2014, 12:40 AM |#1  
Guest
Thanks Meter: 0
 
More
FM Radio won't let you play music from your device to an FM station unless you have headsets plugged in to be used as an antenna.

I have already begun sorting through all the smali files to fix this.

While I am doing this, I am posting here in case someone has already gained knowledge on how to take care of it.

Need this fixed so I can listen to music while in my work truck.

If any of you know anything let me know.

-- Happy Hunting!!

Sent from my C525c using Tapatalk
The Following User Says Thank You to For This Useful Post: [ View ]
 
 
9th April 2014, 06:23 AM |#2  
xpirt's Avatar
Recognized Contributor
Thanks Meter: 4,851
 
Donate to Me
More
I'll look into as soon as I have some time.

xpirt
The Following User Says Thank You to xpirt For This Useful Post: [ View ]
9th April 2014, 08:56 AM |#3  
Krsmqn's Avatar
Senior Member
Thanks Meter: 202
 
More
Why not use the headphones as antenna, and just push the speaker button.

... Unless yours doesn't come with one. (?)


HTC ONE SV K2_PLC_CL
The Following User Says Thank You to Krsmqn For This Useful Post: [ View ]
Modding.MyMind
9th April 2014, 02:26 PM |#4  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by Krsmqn

Why not use the headphones as antenna, and just push the speaker button.

... Unless yours doesn't come with one. (?)


HTC ONE SV K2_PLC_CL

I don't have headphones, and even if I did it would just be one more thing to keep track of in my work truck lol. I would rather limit my things. So, I would prefer to bypass the headset so Radio FM will just play regardless. My phone sits literally right by the stereo so transmitting and receiving won't be an issue when not using a headset as a antenna.

I believe I have narrowed it down to FMRadioMain.smali

But still digging. (i am focusing on any and all syntax similiar to - (if-eqz v? :cond?)

Sent from my C525c using Tapatalk
Modding.MyMind
9th April 2014, 03:11 PM |#5  
Guest
Thanks Meter: 0
 
More
@rollon76

You willing to take on this challenge? Haha :P

Sent from my C525c using Tapatalk
9th April 2014, 04:04 PM |#6  
Senior Member
Flag Moscow
Thanks Meter: 132
 
More
Quote:
Originally Posted by Modding.MyMind

@rollon76

You willing to take on this challenge? Haha :P

Sent from my C525c using Tapatalk

http://www.xda-developers.com/androi...th-smali-edit/
May be this will help you
The Following User Says Thank You to rollon76 For This Useful Post: [ View ]
Modding.MyMind
9th April 2014, 04:13 PM |#7  
Guest
Thanks Meter: 0
 
More
Quote:
Originally Posted by rollon76

http://www.xda-developers.com/androi...th-smali-edit/
May be this will help you

Yea, using that guide as a base to figure this out. Ours is different from theirs so I am sorting through the smali files trying to trace where it is being called from so I can disable it lol.

Sent from my C525c using Tapatalk
Modding.MyMind
9th April 2014, 04:13 PM |#8  
Guest
Thanks Meter: 0
 
More
My logcats are pointing to FMRadioMain.smali

Sent from my C525c using Tapatalk
Modding.MyMind
9th April 2014, 05:18 PM |#9  
Guest
Thanks Meter: 0
 
More
Getting closer lol. Its now trying to turn on FM but then turns back off. There is probably one or two more lines of code I must delete and then it will be up and running the way I want it to. More logcats I guess haha.

Sent from my C525c using Tapatalk
Modding.MyMind
9th April 2014, 06:17 PM |#10  
Guest
Thanks Meter: 0
 
More
Very VERY close to getting this to work lol



Sent from my C525c using Tapatalk
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes