• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

standard android settings! generic bluetooth audio is working!!! thank you scottsdca!

Search This thread

tarvoke

Senior Member
Mar 8, 2011
161
50
Slightly Outside America
FRIGGIN CHAMPION GENIUS IDEA of scottsdca

get Settings.apk from here:
http://www.glassxe.com/2013/05/23/s...-from-the-hacking-glass-session-at-google-io/

UPDATE: original article is gone. check archive.org if you want to read it. but you can still get the Settings.apk here
don't bother with the Launcher2, all it does is crash immediately. although if you have a thing for apps that crash immediately, well then there you go. could be it's a year old and maybe we need to try a 4.2 launcher.

like the article mentions, nearly all of the Settings stuff just crashes (plus, some of it I'd be scared to mess with anyway for fear of messing up spamazon settings)

I don't have any 4.2 devices (aside from ~ firetv obvs), but if anyone else does (like standard-ish non-weird device... e.g. generic tablet or phone?) - would you mind pulling settings and launcher apks please? they might be more suitable and less crashy...

I haven't done much but so far I have a bluetooth speaker paired, connected, and WORKING - sound is coming out the BT speaker and not my TV.
even fired up PrimeTV and sound was as normal, only it was the BT speaker.

xbmc? darn right the sound is coming perfectly out of the BT speaker.

now I turned off the BT speaker, and sound is coming out the TV again. seamless as it should be.

turned the speaker back on, and it autoconnected, all fireTV audio is back on the BT speaker again.

no luck with BT keyboard just yet, and have other settings to still mess with...

(also: the spamazon settings are all still there and all still work as before)
 
Last edited:

tarvoke

Senior Member
Mar 8, 2011
161
50
Slightly Outside America
slightly more useless info:

it seems like anything that needs a PIN code still doesn't work.

which is hilarious for 2 reasons:
- the PS3/BD remote does not use a PIN. but so far every android device I have, asks for a PIN for it. the workaround app for anything up to android 4.1.x (i.e. bluez) is great. but firetv is 4.2 and that app doesn't work with the new bluedroid.
- my BT speaker that is currently working (BEM Cube), also does not use any PIN. but it is different somehow, in that android understands in this case, and pairs without asking for any PIN.

Settings shows the BEM Cube's profile as media audio, as expected.

if I try to pair my BT keyboard, the firetv BT settings gives me a PIN to type on the kbd. but the firetv pairing dialog sits there waiting forever no matter how many times I type ####+Enter on the kbd.

if I try to pair my phone, both the phone and the firetv pop up a dialog with matching numbers, but after I press OK on both dialogs, nothing happens. (sometimes the phone says incorrect / missing PIN, afterward. but not always)

if I try to pair my Supertooth Disco speaker, the firetv asks me for a PIN. in this case the PIN is most definitely 0000. but after entering that, nothing happens. not even any error message.

so it seems to be a generic passcode issue? I haven't looked at logcat yet...

I really wanted to try the Disco because it has some extra controls on it. the BEM Cube only has Play/Pause - which does work correctly in both xbmc and PrimeTV.

addition: I found my crappy old Arctic P311 headset (audio has 0.5s lag on every single desktop, laptop, console, phone, etc. I ever tried it on, that's how cheap+awful it is.) - it also happens to be PIN-less (in the good way like the BEM, not the bad way like the BD remote. whatever the hell that means.), and it paired right away with firetv. and then connected with no problem. it has a play/pause button, and also ff + rewind buttons. all the buttons worked as expected in PrimeTV and xbmc. whee.
also, the P311 shows up in Settings with both a media audio profile, and a phone audio profile. nice.

///

after a ton of times connecting/disconnecting the Cube (only because it was stupid fun and made me smile for some reason), started to get a few sound artifacts, some out of sync a/v, and eventually no sound at all on BT (but still perfectly normal sound on HDMI). probably also worth a look at logcat. I also wonder if all the messing around with the other BT devices that all failed, caused any instability.

restarting BT seemed to clean up the audio weirdnesses -

the settings app WILL let you turn BT off and on, just be careful lol. it scared the heck out of me the first time.
- turn BT off. BT goes off. settings app crashes. uh oh! wtf am I gonna do?
- run settings app again. toggle BT on. settings app crashes. oh no! am I seriously screwed now?!
- run settings app again. BT button is blue/on! waow! Thank Crom!
 
Last edited:

tarvoke

Senior Member
Mar 8, 2011
161
50
Slightly Outside America
have you tried to allow apps to install from unknown sources?

'developer options' was the very first thing I tried - sorry, no dice (

it, and most of the other settings items, only crash the app.

the only things that work (or semi-work), are:

bluetooth
sound (changing the ringtones is ok, but trying the volume setting crashes)
display (didn't try any of these)
battery (uh huh)
location services (uh huh)
security (but no way am I touching any of those)
dock (yeah, no...)
date&time (it's right, why mess with it)
about phone (tells us stuff we already know)

I haven't really tried to change anything in any of those (except bluetooth obvs) - nothing terribly useful to change, so, to me, nothing else there worth the risk of breaking anything.
 

tarvoke

Senior Member
Mar 8, 2011
161
50
Slightly Outside America
Damnit that would have been ideal. Thanks for trying

no worries it was definitely worth a try.

ok.

so.

I just had a really stupid idea.

even worse, it actually works. but not sure it's worth making a separate post about.

1. turn on adb wifi debugging

2. sideload your favorite terminal, e.g.
http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk

3. fire up said terminal

4. adb connect localhost
(LOL!)

5. profit? profit!

$ adb -s localhost:5555 install foobarbaz.apk
$ adb -s localhost:5555 shell
...

not as quick or classy as unknown sources, but you can do it all within the firetv and don't need an extra phone or computer. so... kinda not too bad?

///

edit:

the reason I use "-s localhost:5555" is that in some cases the firetv already had an existing device listed, "emulator-5554". which may have been the result of not disconnecting adb from my laptop, or just the fooling around I was doing running adbd and adb on the same device, or...?

once you are in the terminal app, run "adb devices" first. if it already shows emulator-5554, then you don't need to connect a second time and can just use adb normally. if it does not show any existing device, then you do need to "adb connect localhost" but then in that case you should not need to specify "-s whatever" and also just use adb normally.
 
Last edited:
  • Like
Reactions: kiddecks

dhayman11

Member
Mar 4, 2012
32
4
Prescott
no worries it was definitely worth a try.

ok.

so.

I just had a really stupid idea.

even worse, it actually works. but not sure it's worth making a separate post about.

1. turn on adb wifi debugging

2. sideload your favorite terminal, e.g.
http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk

3. fire up said terminal

4. adb connect localhost
(LOL!)

5. profit? profit!

$ adb -s localhost:5555 install foobarbaz.apk
$ adb -s localhost:5555 shell
...

not as quick or classy as unknown sources, but you can do it all within the firetv and don't need an extra phone or computer. so... kinda not too bad?

///

edit:

the reason I use "-s localhost:5555" is that in some cases the firetv already had an existing device listed, "emulator-5554". which may have been the result of not disconnecting adb from my laptop, or just the fooling around I was doing running adbd and adb on the same device, or...?

once you are in the terminal app, run "adb devices" first. if it already shows emulator-5554, then you don't need to connect a second time and can just use adb normally. if it does not show any existing device, then you do need to "adb connect localhost" but then in that case you should not need to specify "-s whatever" and also just use adb normally.

Awesome worked flawlessly for me. :good:
 
  • Like
Reactions: tarvoke

mjg59

New member
Nov 23, 2010
4
6
sorry brother, no dice :( I tried 4.1 and 4.2 versions too, but not really surprised it didn't do much

from what I remember of dmesg output, the firetv kept requesting a pin over and over, and not getting one

I tried pairing a keyboard and got a PIN dialog on the FireTV, but entering the PIN on the keyboard failed. adb logcat showed that the pairing request had been cancelled immediately after the dialog appeared. Perhaps some Amazon modification to the low-level Bluetooth stuff? Interestingly, despite being 4.2 based, Amazon are still using the BlueZ stack rather than Google's own implementation.
 

brownrt

Senior Member
Dec 1, 2008
159
21
Washington, DC
slightly more useless info:

it seems like anything that needs a PIN code still doesn't work.

which is hilarious for 2 reasons:
- the PS3/BD remote does not use a PIN. but so far every android device I have, asks for a PIN for it. the workaround app for anything up to android 4.1.x (i.e. bluez) is great. but firetv is 4.2 and that app doesn't work with the new bluedroid.
- my BT speaker that is currently working (BEM Cube), also does not use any PIN. but it is different somehow, in that android understands in this case, and pairs without asking for any PIN.

Crom!

It is my understanding that Android now tries to auto guess the PIN to make pairing simpler. Perhaps the pin on your cube is 0000 or 1234, the standard pins, hence the non need to pin pair it.
 

ILLESTNOIZE

Member
Jul 7, 2014
8
0
Install any APK!!! Unknown sources

Damnit that would have been ideal. Thanks for trying

Hi,

Every one the settings apk does work and you can check the unknown sources box to allow installation of any apk without sideloading!!
You need the settings.apk and you have to tweak a system app. Cant give out all my secrets but it works I can install apks from any market, drop box or even when downloading from a web browser.

Fire TV is the stuff!!! Hope fire tv 2.0 offers HD audio and 4k compatibility and of course more memory :good:
 

zahir32

Senior Member
Jan 17, 2011
152
34
Secrets?

Hi,

Every one the settings apk does work and you can check the unknown sources box to allow installation of any apk without sideloading!!
You need the settings.apk and you have to tweak a system app. Cant give out all my secrets but it works I can install apks from any market, drop box or even when downloading from a web browser.

Fire TV is the stuff!!! Hope fire tv 2.0 offers HD audio and 4k compatibility and of course more memory :good:

Can't give out your secrets?! What are you, a patent lawyer? This is a forum where we all help one another. If you don't want to help, don't prate or strut your little finds.
 

ILLESTNOIZE

Member
Jul 7, 2014
8
0
If you look on aftvnews you can find their guide to install any app. It's a small apk called market helper.

Anyone figure out fix for bt audio lag?

Hello all,

The market helper does allow for any installation of any Google Play Store app however does not allow installation from "unknown sources".
If you would like a tutorial on how to get this working please let me know and I can try to assist for a small donation to charity. Thanks.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 4
    FRIGGIN CHAMPION GENIUS IDEA of scottsdca

    get Settings.apk from here:
    http://www.glassxe.com/2013/05/23/s...-from-the-hacking-glass-session-at-google-io/

    UPDATE: original article is gone. check archive.org if you want to read it. but you can still get the Settings.apk here
    don't bother with the Launcher2, all it does is crash immediately. although if you have a thing for apps that crash immediately, well then there you go. could be it's a year old and maybe we need to try a 4.2 launcher.

    like the article mentions, nearly all of the Settings stuff just crashes (plus, some of it I'd be scared to mess with anyway for fear of messing up spamazon settings)

    I don't have any 4.2 devices (aside from ~ firetv obvs), but if anyone else does (like standard-ish non-weird device... e.g. generic tablet or phone?) - would you mind pulling settings and launcher apks please? they might be more suitable and less crashy...

    I haven't done much but so far I have a bluetooth speaker paired, connected, and WORKING - sound is coming out the BT speaker and not my TV.
    even fired up PrimeTV and sound was as normal, only it was the BT speaker.

    xbmc? darn right the sound is coming perfectly out of the BT speaker.

    now I turned off the BT speaker, and sound is coming out the TV again. seamless as it should be.

    turned the speaker back on, and it autoconnected, all fireTV audio is back on the BT speaker again.

    no luck with BT keyboard just yet, and have other settings to still mess with...

    (also: the spamazon settings are all still there and all still work as before)
    4
    Harlek

    You have not been a member long you probably helped Noone and people like you are why this world is going to crap. It's nice for people to get help from someone not wanting to gain anything from it. You're a loser and probably think you're owed something for everything you do. I'm glad you feel better for not wanting to help another person. But I am the opposite. If someone needs help and I can help someone I am glad to do it.

    Have a nice day
    2
    Wonderful example of a thread getting highjacked and pulled up after more than half a year of inactivity by someone looking for free support on an issue, four months ago - followed by another highjack attempt of someone thinking that the internet is there to product support his purchase order, when he/she is unsure , that what theyd bought actually works for them.

    But they spent money - so the internet has to help them. Really - I think its an unwritten rule.

    Not like the actual rule thats stickied on top of this thread that says, that your questions don't go into this forum - simply because help solicitation became so rampant in this subforum, that a mod had to put it here as a guideline, because normal users were revolting, facing nothing but help requests in all Fire TV forums across the board.

    So here is your primer on help solicitation.

    - People generally like to help others, mostly in two cases. If they provide a genuinely interesting problem to be solved. And if they just learned something for themselves and are eager to share it with the world.

    - People generally don't like to support lazy folks that try to get by not reading the freaking manual ("whats a manual -"), and people also don't like to support folks that show no real interest in the subject matter, just trying to pull up product support on their magic phones that connect them to the genie of the internet that jumps to solve their problems for free.

    - There is a subform of this, and its connected to product evangelism, where people think, just because they bought "device" ("it said Apple on the box"), they now immediately share values with the community of people at large, who also bought the same device. This works especially well - if a device is marketed as a "character extension" - so in a "if you buy this you are cool" marketing approach.

    Other reasons, why people might support you on the internet for free might include boredom, or "wanting to be of help" - but that usually wears of, as soon as they realize, that those are reasons, not even recognized by society as "sufficient enough to provide help" - even with the principle of reciprocity being at play (which is missing from internet help request solicitation entirely).

    So - when you pull up a four month old thread to ask people to help you with your impulse purchase - because you already bought it, and it is on its way - after another person pulled up the same thread six months after the discussion on topic came to an actual end, to solicit an app that probably doesnt exist -

    consider for a moment, that other people might read through this, because you pulled it up - under a false disguise, and find it extremely irritating to see you abusing peoples good will, for your own leanback post product purchase support - for a freaking bluetooth keyboard.

    And we are not talking in depth issues, we are talking about you wanting someone else to provide you with your own personalized step by step guide to basic setup, for your model of generic 5usd peripheral.

    If you don't understand the basic social code of internet forums - don't use them.

    As of now - you are just making this a worse experience, well at least for me.

    Also - suggest for a moment that -

    - you should consider the "is this working" part of a product question, before you buy said product via mail order.
    - the likelyhood that someone else bought the same BT keyboard as you and now is eager to support you in your effort not to RTFM is extremely low
    - and that it is also unlikely that someone springs into action at your lazy attempt to have someone else figure out if the product you bought works, with an entire Android settings replacement app - should it be needed.

    Lets get back to step one. Try having a problem first, before you ask the internet to solve it for you, while your gizmo is still in the mail. Once you have the problem - try solving it for yourself (read the manual, contact amazon product support (they are paid to tell you how to connect a keyboard, we are not)), then open your own thread - in which we can tell you interesting concepts like "if there is encryption put in by the keyboard vendor, you have to use their dongle" or "if pairing doesn't work for whatever reason, it might not work at all, ever", or (partly also to the gentleman above you -) when a hack stops working, it isn't a set thing, that you "just need a newer app - for it to work again".

    Also, for a moment - consider that people participating in this environement are actual people, and not "personal assistants" or even personal shoppers -

    So let me introduce myself - hi, my name is h. and I'll gladly not solve your problem for you, because I believe in you trying it for yourself - and also don't think its very interesting, entertaining, or easy to do over the internet. Also - I don't even know you.

    Here is the important difference - people on the internet will usually gladly support you with information (if you ask for yourself, in the appropriate forum, and they aren't already sick of doing so), if thats what you need or seek out. To tell them that its information you are looking for, and not a "personal support session" - you have to show signs of understanding the language and values of the group you are trying to tap into.

    If you are a technologically challenged individual unwilling to change that, or you are submitting your support request as a dudebro on your smartphone between Call of Duty matches, chances are, that you have not much in common with homebrew enthusiasts or the friendly Linux nerd at all, and that you know it.

    Communities arent run on the believe of cosmic karma. And allthough the administration of this forum might like it to stage this as an impromptu support environment, for all android devices, sorted by brand names and model numbers - segmented into 1000 subforums for easier navigation, and sell ads against it - it really isn't.

    TO part with, here is a final piece of good news for you - as a (probably) millennial that likes his support to be personable and come to him through a feed - you have other niches to turn to.

    Product bloggers for example have found it a lucrative field to sell themselves as "the helpful guy" and address even the most basic personal questions from people requiring all sort of assistance, as long as there is interest from other people in watching them answering those questions - and they can sell ads against it. The last part is probably the most important one, for understanding - why "if you don't unterstand it, the technology is to complicated" is even a thing right now. Think of it as pandering to your audience for add money ("please like and subscribe...").

    Also - because many people like you think, that personal support vial smartphone is, where "its at" companies have come to institute teams of people to cater to your needs - just ask your question on twitter - add a hashtag a pr department monitors, and write "how confusing this all is to you" and you are sure to get some attention in no time.

    If the product support the company provides doesn't get you anywhere - well, you can always send the device back, right? Which is why you bought it without checking if it works in the first place - right?

    Thank god for internet shopping legislation.

    Also thank gabe for netiquette.

    And may I add - i feel so much better now.
    2
    BEWARE!!!! The glassxe URL will take you to a phishing site that will take over your browser. DO NOT click on that link. Someone should disable that URL and munge it. I tried looking for the page in archive.org as well and it seems to no longer be there either.
    I was going to post the same thing because it just happened to me when I clicked it. You posted a month ago and yet the same malware link is still active. I recommend closing your browser as soon as you can using the task manager after you realize it's malware.
    Will a MOD please disable this link or at least look into it?
    2
    Bluetooth-only Settings APK

    I was also able to use the stock Settings.apk app that many others have had success with when adding Bluetooth devices.

    I figured since most of the app is not useful with the FireTV, and some of it could be dangerous to mess with - I updated the APK so that only the Bluetooth settings are available, nothing else. I also updated the app title to Bluetooth Settings (English only), and used the stock Bluetooth icon as the app default. So now instead of seeing two Settings apps, this one is better differentiated.

    Notes:
    - This will not fix any existing Bluetooth issues, this is the Settings.apk app but without the non-Bluetooth menu items
    - I've used this on a FireTV Stick to pair a Favi FE02BTBL touchpad/keyboard combo that needs the keyboard to enter a random code for pairing
    - The Bluetooth ON/OFF switch button was not removed, so you still need to be careful not to turn off Bluetooth

    Attached: FireTV-Bluetooth-Settings.apk