yashsingh1/xdaforums huggingface dataset:
[XDA Assist] kschang:
With Android L and M, this problem seem to be more prevalent.

I have a Bluetooth headset, 4.1 and all that. it works fine, except on Android, it registered itself as an HID device, not as BT headset. (In BT settings, it shows as keyboard) though it works fine as a headset it is very problematic as this also means the phone will not show me the soft keyboard until I go into IME and turn off hardware keyboard.

I've since seen other people reported this happening with Selfie sticks (BT version) and possibly other devices.

How can this be resolved permanently, i.e. ignore hardware button on device X? Or does this require a patch, Xposed module, etc.? If replacing the device is not practical? Or is there something in Bluetooth settings that can be manipulated? Root / tasker / Xposed?
[XDA Assist] GuestK0087:
Greetings,

Thank you for using XDA Assist. For further assistance, please ask your questions here:

Android Q&A, Help & Troubleshooting

Good luck!
[XDA Assist] kschang:
Actually I answered my own question:

Regarding the headset, I went into bluetooth device settings (the little gear next to the device in Bluetooth) and turned off "input device" profile.

Selfie stick is another problem. Turns out those are ONLY meant to work inside camera apps, preferably Stock camera (not Google Camera, which can be a problem on Nexus devices). They HAVE to act as input device. No other way around it, unless Bluetooth SIG want to define a category just for remote triggers / selfie sticks. :D
[Nexus 5 Q&A, Help & Troubleshooting] vesperknight:
Sorry for the noob question but someone helped me root and install ElementalX many months ago and I've just been keeping it up to date using the ElementalX Ex Kernel Manager software which has been awesome and super easy to use. One-click updates and so on.

I'm already rooted and running a custom rom so my wishful thinking tells me it should be easy to update to the latest Marshmallow version of ElementalX.. IE I'm hoping I don't have to flash back to stock first.. get adb working again and run a bunch of commands etc. Plus lose all my configuration settings?

Maybe that's the only way but I thought I would ask first just in case there is in fact a dead easy way to do it considering my circumstances.

Many thanks to any who take the time to school me :)
[Nexus 5 Q&A, Help & Troubleshooting] Primokorn:
At first, do you have a Marshmallow build? If you are on Lollipop, you can't install ElementalX 6.

Do you have a custom recovery?

You won't lose anything by flashing a new kernel.
[Xposed Framework Modules] F43nd1r:
Does anyone know where I can find code handling the current live wallpaper engine / view? I am trying to extract the live wallpaper for further processing (e.g. blurring).

I already found an entrance point: If the LWP used the standard com.android.internal.view.BaseSurfaceHolder supplied by the base class android.service.wallpaper.WallpaperService.Engine i can hook into lockCanvas and unlockCanvas to grab the image. But most LWPs do not use this, so I need another (more general) solution.

I thought about hooking all subclasses of android.service.wallpaper.WallpaperService, but AFAIK that's not possible without loading every single class and check if it's a subclass.

Any ideas?

Implementation for reference:

public class Hook implements IXposedHookLoadPackage {

@Override
public void handleLoadPackage(XC_LoadPackage.LoadPackageParam loadPackageParam) throws Throwable {
final Class<?> engingeClass = findClass("android.service.wallpaper.WallpaperService.Engine", loadPackageParam.classLoader);
final String packageName = loadPackageParam.packageName;
final Class<?> surfaceHolderClass = findClass("com.android.internal.view.BaseSurfaceHolder",loadPackageParam.classLoader);

findAndHookMethod(engingeClass, "getSurfaceHolder", new XC_MethodHook() {
private boolean isFirstCall = true;

@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
Field field = findField(param.thisObject.getClass(), "this$0");
WallpaperService service = (WallpaperService) field.get(param.thisObject);
WallpaperManager wallpaperManager = WallpaperManager.getInstance(service);
if (isFirstCall && wallpaperManager.getWallpaperInfo().getPackageName().equals(packageName)) {
isFirstCall = false;
XposedBridge.log("Got context. Set up hooks...");
hook(surfaceHolderClass,service);
}
}
});
}

Bitmap bitmap;
Canvas internalCanvas;
Canvas originalCanvas;

private void hook(Class<?> clazz, final Context context) {
hookAllMethods(clazz, "lockCanvas", new XC_MethodHook() {
@Override
protected void afterHookedMethod(MethodHookParam param) throws Throwable {
originalCanvas = (Canvas) param.getResult();
bitmap = Bitmap.createBitmap(originalCanvas.getWidth(),originalCanvas.getHeight(), Bitmap.Config.ARGB_8888);
internalCanvas = new Canvas(bitmap);
param.setResult(internalCanvas);
XposedBridge.log("Locked Canvas");
}
});
findAndHookMethod(clazz, "unlockCanvasAndPost", Canvas.class, new XC_MethodHook() {
@Override
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
originalCanvas.drawBitmap(bitmap,0,0,null);
param.args[0] = originalCanvas;
Intent intent = new Intent("com.faendir.lwpextractor.WALLPAPER_CHANGE");
ByteArrayOutputStream bs = new ByteArrayOutputStream();
bitmap.compress(Bitmap.CompressFormat.PNG,100,bs);
intent.putExtra("bmp",bs.toByteArray());
context.sendBroadcast(intent, "com.faendir.lwpextractor.RECEIVE_WALLPAPER_CHANGE");
XposedBridge.log("Unlocked Canvas");
}
});
}
}
[Xposed Framework Modules] F43nd1r:
bump
[Xposed Framework Modules] F43nd1r:
anyone?
[Xposed Framework Modules] Spott07:
Try asking in the Xposed Development forum, that's a better place for code-related questions.
[X Style (Pure) Q&A, Help & Troubleshooting] lesdense:
Articles I've read stated that the Droid Turbo 2 is Verizon's beefed up (and bloated) Moto X Pure. If that's true, if the devices are truly mostly compatible, is it possible that the battery of the Turbo 2 would fit into the MXPE? 3000 mAh to 3760 mAh would be a BIG jump in capacity that would address one of the most talked-about shortcomings of the Moto X Pure. I did this once with a Droid Razr HD and the battery and back cover of an otherwise-destroyed Droid Razr Maxx HD. I see that the overall dimensions of the two phones are slightly different. The Turbo 2 is a little wider. The Moto X Pure is a little taller. But the Moto X Pure is slightly DEEPER than the Turbo 2 (.44" vs .36"), which might mean some adaptation is possible. Just curious. I'm underwhelmed by the MXPE battery life like everyone else but otherwise I love the phone.
[X Style (Pure) Q&A, Help & Troubleshooting] Doktaphex:
I keep hearing about this phone's bad battery, but I regularly get 2.5 days between charges whilst running the indian marshmallow rom.

Typical usage involves BT streaming to my car stereo to and from work (1hr each way) and around an hour of wifi/4g browsing each day, random phone calls etc...

This phone has the best battery I have ever had in a smart phone!

Droid 2 turbo disassembly:

https://www.youtube.com/watch?v=eCKaVSUANXs

X Style/Pure disassembly:

https://www.youtube.com/watch?v=vuewklttaSc

Looks like the battery connector for the 2 phones is of a different type and in a different location!
[X Style (Pure) Q&A, Help & Troubleshooting] countryfolk07:
I wondered the same about using the Moto X play as a retrofit also. The play phone is physically smaller. But I have yet to see a disassembly video of that to compare.
[X Style (Pure) Q&A, Help & Troubleshooting] T-Keith:
When people say the turbo is "basically" a pure, they mean on paper. They are two completely different phones, the battery won't just swap out.
[X Style (Pure) Q&A, Help & Troubleshooting] IamPro:
Its a possibility it might if the Pure was a 'prototype' or ref they made the Turbo 2 from. Its unlikely but not out of the realm of possibilities.
[Wing, P4350 Herald Upgrading] xjiggy:
Is there any way to get streaming video on the Wing? I have been trying for a while now, the only thing i have come up with is HTC's streaming video player, but my wing wont install it. I copied a file called RvBCrS_HTC_Streaming_Media.cab to my memory card and then ran it from the file explorer and it said the the installation was unsuccsessful. Any ideas or tips on how to get it working? thanks
[Wing, P4350 Herald Upgrading] falconeyez:
Not at the moment

There was a release out that used TCMP and a flash bundle kit that used to play Youtube videos, only now that youtube is changing their file format, it doesn't work. I'm not sure if it'll work with any other site.
[Wing, P4350 Herald Upgrading] xjiggy:
Thanks, ive been working on this for this for days and its giving me a headache. I think ill try TCPMP in a couple of days. As long as it plays RTSP streams, Ill be happy.
[LG V10 General] MO3iusONE:
I wish I could have ticker style notifications slowly moving from right to left on the second screen.

Upcoming calendar events... Right to left..

Breaking news.... Right to left.

Some Google now cards.. Right to left.

Etc. Etc.

Back when I had my galaxy s3 years ago there was a news style ticker at the unlock screen and you'd get news headlines. It was great.. Wish this phone did the same.
[LG V10 General] Abominabel:
I second this. It's what I imagined the functionality would've been. Honestly if you have a second screen there is no reason for its exclusion.
[LG V10 General] :
Omg yws! $20 bounty here.
[LG V10 General] erney1:
I'll pledge 10$ for this bounty!
[LG V10 General] blfolson:
10 here too
[LG V10 General] mynameistory:
I was hoping the second screen would be more configurable in this way too.

Even receiving a text message, it doesn't scroll for longer than a few seconds, often not enough to see past the first few words.

A configurable notification ticker would be amazing. If anyone takes it up I'll plunk some down on the bounty. Ten dollars American.

-Tory
[LG V10 General] mrwinkle:
Could OP change title of thread to include words bounty? Put me down for $10 USD as well.
[LG V10 General] :
bump
[LG V10 General] haymow7:
I would like to see this done
[LG V10 General] wblteen:
Is this close enough?

https://play.google.com/store/apps/details?id=com.silverfinger.ticklr
[LG V10 General] :
If it worked on second screen yes.
[LG V10 General] blfolson:
I emailed the developers to find out if it works on the second screen
[LG V10 General] gammaRascal:
Would be great if it worked with the V10 second screen.
[LG V10 General] snipersquad8:
The best I could do was disable heads up. Seems that the adb command adb shell settings put global heads_up_notifications_enabled 0 works for that. But other than that, no idea how to make it stick around longer
[LG V10 General] greekunit690:
When I play music it scrolls through like a ticket notification...I don't get whyot won't do so with messages or any other notifications... [emoji782] [emoji782] [emoji782]
[LG V10 General] :
Id sell a developer a LG v10 with a hairline crack for 150 if they could figure this out! Or even less lol
[LG V10 General] :
Bump,......
[LG V10 General] :
Bump. Any dev wanna try?
[LG V10 General] planetbeen:
You could try asking in the t-mobile v10 section since that's really the only rooted version maybe someone would be interested in trying it...

Sent from my pretty nifty brand new LG V10
[LG V10 General] :
Actually, I just grabbed a s6 active so no interest, and my v10 is listed of crapslist for 3 bills lol
[LG V10 General] :
Bump
[LG V10 General] techrider6262:
I was in a Tmobile store today and their demo model had a scrolling message on the second screen.
[LG V10 General] mrwinkle:
Video please or this never happened!
[LG V10 General] SaintCrispin:
It would be awesome to have news or stock quotes streaming on the second screen.
[LG V10 General] MattOnYourScreen:
Working partial solution

It doesn't create a ticker style notification, but if you open signboardtest (available on all variants except Tmo afaik) you can change how long notifications last, including that of scrolling text messages presumably.

Root not required. Only thing you need is Nova Launcher or some other way of accessing the Activities list. Takes about a minute.

I made a youtube video a few weeks ago demonstrating this, but this is a new account so I can't post the link.

It's the second video I uploaded (3:09 is where I open the time-out menu). Same username as here. Enjoy.
[LG V10 General] melorib:
I do get scrolling notifications on the second screen, but they dont stay long...
[LG V10 General] mrwinkle:
How did you do it? Please share with the world![emoji2]
[LG V10 General] melorib:
I didnt do anything for it that I am aware :rolleyes:

I do have xPosed with the second screen fix, maybe thats it :confused:
[LG V10 General] greekunit690:
Like I said...when using spotify and switching to music in the second screen it will scroll the name and artist 3 times before staying stationary...I wish I knew how to do that with other notifications
[LG V10 General] mohsinraza:
For me, only text messages have ticker style notifications. It'll be freakin' great to have them for every notification. Personally, I'm a bit disappointed how the support of second screen has gone uptil now. Could made a lot of use but LG hasn't done enough. May be in next updates...

Sent from my LG V10
[LG V10 General] SxySmore:
Bump
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] jebll:
Hi, over the last year, been noticing that my power button doesn't always function.... esp. When trying to turn on the screen.

Anyone else experiencing something similar.

Fix..... can DIY cleaning solve prob?

Samsung service centre?

Thanks

sent from n8000 on gnabo v7 rom
[Galaxy Note 10.1 Q&A, Help & Troubleshooting] LowPolyMan:
Fortunately, no. Cleaning is not a very good idea, because to access power button you have to take off screen borders which means taking off display.
[Galaxy S6 Q&A, Help & Troubleshooting] jringo13:
I had rooted my phone relatively easy with the stock image, however, before I was going to do anything further, I wanted to make sure I had a backup. I looked into my choices being TWRP or CWM. I went with TWRP and had followed all the steps. I followed this seemingly easy tutorial (technobuzz.net/easiest-way-to-install-twrp-recovery-on-galaxy-s6-or-s6-edge/), installed flashify on my phone, flashed the TWRP .img for "All Other Models" and my phone reset. When it did, it would not boot up past this screen.

imgur.com/C5dzITJ.jpg

Then I thought "Oh, well it must not be the right one because it's not working, I better flash one that's meant for it" and flashed this this one (galaxys6root.highonandroid.com/cwmtwrp-recovery/) (the tar file) via Odin v3.1 instead of through my phone like last time (because it was inoperable). I just wanted to make a backup before anything bad happened. Now it's stuck on this screen without any of the button being operable. I even connected an OTG cable and it worked for like 5 seconds and the mouse would disappear.

imgur.com/OHpAbLW.jpg

So I thought "Alright, well let's clean the slate" and I proceeded to download the stock with the most updated image(sammobile.com/firmwares/database/SM-G920R4/) (just noticed I had downloaded the one at the top that has "Kies" listed next to it, I will download the other one and hopefully it become flashable) and proceeded to flash it via Odin v3.1 and I would get this far

imgur.com/Pulkv3O.png

On my phone it says "SW REV. CHECK FAIL. DEVICE: 3, BINARY: 2" Any help would be greatly appreciated, thanks!

UPDATE: Flashed TWRP v2.8.6 followed by v2.8.7.1 and finally v2.8.7.0 (The one that supposed to be for Sprint only) and it worked with my US Cellular device. Touch is working and I'm currently backing it up.

UPDATE #2: WE'RE GOOD. TWRP 2.8.7.0 IS THE ONLY ONE THAT WORKS FOR US CELLULARS SAMSUNG S6 (SM-G920R4) HOPE THIS HELPS SOMEONE ELSE! :D
[Galaxy S6 Q&A, Help & Troubleshooting] aman@addis:
I have the same problem as u my phone also says "SW REV. CHECK FAIL. DEVICE: 3, BINARY: 2", I installed twrp 2.8.7.0 and Now I need custom rom. Could u please post the link where u got a custom rom from? Please please please..save my phone. I am student and I can't afford to buy a new one.
[Android Software Development] kleytonhunter:
hi,somebody could point me a gaaps that have standard google apps like nexus 5 or 6,compatible with cm13 please,i'am very confuse about gaaps and don't know how is the right,thanks in add :good:
[Droid Turbo 2 Q&A, Help & Troubleshooting] bigbee8492:
I know this might be a bit to early of a question but, the first Droid turbo is over a year old now, and there are no practical root methods for it, or any custom roms, is the Droid turbo 2 to suffer the same fate or worse end up like the Droid xyboard ? will there be any real android development on it,or should i just look into getting another phone ?
[Droid Turbo 2 Q&A, Help & Troubleshooting] sabindaman:
http://xdaforums.com/showpost.php?p=64027688&postcount=4064

They don't discuss current projects.

I'm hoping this is a stepping stone to the turbo 2. If they do get root I'll be going out to buy the Turbo 2 that day.
[Droid Turbo 2 Q&A, Help & Troubleshooting] Zeljko1234:
If Verizon LTE is NOT must for you, consider to get Moto X Force. The same phone, bl unlockable, rooted already...
[Droid Turbo 2 Q&A, Help & Troubleshooting] ChazzMatt:
You posted this yesterday? WOW.

Your haven't been keeping up. Droid Turbo XT1254 now has unlocked bootloader, TWRP, root custom ROMs, custom kernels. They are using TWRP for Quark, CM12.1 and Resurrection Remix for Quark.

http://xdaforums.com/droid-turbo/general/cm-12-1-13-status-t3259209

http://xdaforums.com/droid-turbo/general/prepare-bootloader-unlock-t3254781

http://xdaforums.com/droid-turbo/general/resurrection-rom-unreal-t3260119

http://xdaforums.com/droid-turbo/general/bootloader-twrp-root-links-t3258356

http://xdaforums.com/droid-turbo/general/rom-suggestion-bl-unlocked-turbo-t3258127

http://xdaforums.com/droid-turbo/orig-development/moto-maxx-xt1225-droid-turbo-xt1254-t3260253
[Droid Turbo 2 Q&A, Help & Troubleshooting] bigv5150:
Just unlocked my wife's turbo
[Droid Turbo 2 Q&A, Help & Troubleshooting] teookie:
Honestly it's a really decent phone w/o having root. I disabled all the blote and about the only thing I'm missing is adblock.
[Droid Turbo 2 Q&A, Help & Troubleshooting] Kc0r8y:
I pray they get the samething for the Turbo 2.
[Droid Turbo 2 Q&A, Help & Troubleshooting] mjones73:
The X Force was rooted, give em some time to see what happens..
[Droid Turbo 2 Q&A, Help & Troubleshooting] fletch33:
i agree and with Adguard i have adblock too :) great product!
[Droid Turbo 2 Q&A, Help & Troubleshooting] madscientist_42:
That's nice. It's not a Turbo 2, is it? If it's not, we're talking about those... :D

---------- Post added at 09:59 PM ---------- Previous post was at 09:55 PM ----------

Have a bit of reading comprehension issues? What part of 'droid turbo *2*' did you miss...? To the best understanding of most, there are no solutions for the Turbo 2 yet- which is not the same beast as the Turbo except for the name...
[Droid Turbo 2 Q&A, Help & Troubleshooting] ChazzMatt:
What part of "the first Droid Turbo" did you miss? [MENTION=5761186]bigbee8492[/MENTION] specifically said the FIRST Droid Turbo was a year old and was still locked. It's not.

I even QUOTED HIS POST and bolded the important part in my reply. Here it is again, even bolder and larger -- since you are the one with reading comprehension issues. :rolleyes:

I corrected his inadvertent misinformation and posted relevant links, in case he or others wanted to know more about the Droid Turbo boot unlock. I said nothing about the Droid Turbo 2. My whole reply was in response to [MENTION=5761186]bigbee8492[/MENTION]'s comments on the FIRST Droid Turbo.

By the way, same NO reading comprehension issue on your part for the other guy you blasted, [MENTION=3462404]bigv5150[/MENTION]. He was also responding to the statement the FIRST Droid Turbo was still locked. He said he just unlocked his wife's Droid Turbo.

As for the differences between the two phones -- Droid Turbo (Quark) and Droid Turbo 2 (Kinzie) --- what would you like to know? I could educate you. ;) Believe me, I know more these two Motorola phones than most.

But thanks for the laugh of the day! Ha. Next time try actually reading before responding.
[Droid Turbo 2 Q&A, Help & Troubleshooting] bigv5150:
Thanks chazz this joker obviously has the reading comprehension issue. I love when some tool wants to put someone on blast and gets served like the chump he is.

---------- Post added at 05:03 PM ---------- Previous post was at 05:02 PM ----------

I think chazz summed it up nicely so I won't kick a man when he down.
[Droid Turbo 2 Q&A, Help & Troubleshooting] Digital DJ:
Wow so feisty in here. Lol I'm definitely interested in root fit the turbo 2 but it's a great phone without it
[Droid Turbo 2 Q&A, Help & Troubleshooting] Zeljko1234:
Yeah, this is probably the first time since I'm using Android (started with first HTC Nexus/Desire) that I didn't need root. Sure, to be future proof unlockable bl is needed and probably over time (maybe with MM) to edit some system files.
[Droid Turbo 2 Q&A, Help & Troubleshooting] Digital DJ:
Dude I have the charcoal gray dt2 32gb with a 128gb card. Love it plus I can move apps to sd without root. This phone flies has fantastic battery life (which I'm sure root would only improve) so I almost don't see a need for root. But still interested...
[Droid Turbo 2 Q&A, Help & Troubleshooting] dinkoh:
Root is essential. I miss my ad blocker.
[Droid Turbo 2 Q&A, Help & Troubleshooting] JasonJoel:
If root is 'essential' , then you should never buy a phone that doesn't already have root... Which the D2 does not.
[Droid Turbo 2 Q&A, Help & Troubleshooting] Digital DJ:
Haha I don't mean to be a smart-ass, but that was funny...
[Droid Turbo 2 Q&A, Help & Troubleshooting] mjones73:
You might wanna re-read the original post before you put someone on blast.. just an FYI...
[Droid Turbo 2 Q&A, Help & Troubleshooting] Zeljko1234:
It is funny but he's right. When we install desktop OS, we can have account with root/admin rights. Should be the same for our phones but I understand why is different. For average Joe is better.
[Droid Turbo 2 Q&A, Help & Troubleshooting] sneakchic:
so, just to verify

I see the xforce has root, but im guessing the verizon one doesn't? I've got a moto x 2014 which i love other than its battery life but i live in the middle of nowhere, so i know its using a lot of it cuz the signal strength changes so much. Was thinking of switchin because i cannot get the freaking voicemail icon to go away. I have no voicemails, tried the trick where i leave myself a msg, even tried factory wiping it this wknd. got one more thing to try.

but yea, so answer me this and then i dont have to cruise around all the threads. is it possible to root the verizon version of this phone, and can you get the tether bypass, as I've got an unlimited data plan and I'm not switchin off this moto x (tho i could get a new one for cheaper now..) unless i can.

Thanks :)
[Droid Turbo 2 Q&A, Help & Troubleshooting] waterninja21:
You should be able to USB tether or Bluetooth tether. Turbo 2 can use USB to go connection
[Droid Turbo 2 Q&A, Help & Troubleshooting] phontek642:
Have you tried to end the VM session with the * button I find that I need to do that to get rid of the VM icon on my Maxx and the BB from work.
[Droid Turbo 2 Q&A, Help & Troubleshooting] sneakchic:
Aye, tried that 2. It seems to be behaving for now. wiped and flashed 5.1 onto it again. Now to do some more flashing. Thanks for the info and the tips! Battery seems to be behaving better too with the wipe so mbby it just needed a clean slate
[Droid Turbo 2 Q&A, Help & Troubleshooting] JulesJam:
Lol! No. Verizon LTE is mandatory if you are on Verizon. It is the ONLY reason to pay Verizon's high prices. Verizon's 3G network SUCKS.

---------- Post added at 05:04 AM ---------- Previous post was at 05:02 AM ----------

Moto X Pure Edition you can WiFi tether on UDP for free out of the box.
[Droid Turbo 2 Q&A, Help & Troubleshooting] JulesJam:
Moto X Pure Edition you can WiFi tether on UDP for free out of the box.