yashsingh1/xdaforums huggingface dataset:
[Nexus 7 Themes and Apps] quack3d:
My method to get ShareKM working on my rooted Galaxy S4 with Cyanogenmod nightlies:

Use the normal ShareKM from Google Play. Hardware keyboard option will then work. Remember to replace adb.exe in installation folder with newest adb.exe.

Use SuperSU 1.80 (newer versions is not found by ShareKM). When asked to update binary in SuperSU, choose the one that's NOT 'Normal'.

Clear the checkbox in SuperSU saying 'Respect CM root settings'.

Install Xposed framework and the module called Per App Hacking. Find ShareKM there and set Time Machine to 2014-01-01 11:00.

Customize keys (if you use other languages than English) like in this thread: http://xdaforums.com/showthread.php?t=2382479

This setup works perfectly, but thanks for the tip about MPE, I will try that too for fun.
[Nexus 7 Themes and Apps] Rajnus:
I have installed it on my office PC and office scanner did not show anything. It works quit well! It has cons and pros compared to ShareKM, but

it is nice substitute. I only miss that when I go away from mobile phone to screen turns off like in SKM.
[Nexus 7 Themes and Apps] quack3d:
Finally got to test MPE a bit but it's not a replacement for ShareKM. It's not possible to use the device as an extra monitor. You have to use the mouse on a live image of the device. Any VNC server would do the same.
[Nexus 7 Themes and Apps] Rajnus:
yep, but it is better then nothing....
[Nexus 7 Themes and Apps] easiuser:
Same results.

Samsung S4 SGH-I337

Android 4.4.2
[Nexus 7 Themes and Apps] Azzelio:
This root also works with the bluetooth and wifi
[Nexus 7 Themes and Apps] TheGoD:
Strange, I have no hardware keyboard option with the Playstore version.
[Nexus 7 Themes and Apps] synchromasterjv:
Hi all;

could anyone give me a link for the usb server, i can not see the said file on the sharekm home page...seems the file is only for wifi. many thanks
[Nexus 7 Themes and Apps] Regii:
As far as I know, the setup installs every server, you can choose them from the start menu then, they're different .exes

Another thing though. On my Xperia Z2 (unrooted) I tried to get ShareKM to work with USB, however ADB always sees my device as offline when I plug it in. Don't know how to fix that. =/
[Nexus 7 Themes and Apps] quack3d:
Did you replace the adb.exe with a new adb.exe from the SDK?
[Nexus 7 Themes and Apps] jdegreef:
I just installed from play store (version1 .0.21) and it says "beta 1 expired. Do you want to a update?" If we click yes, it opens Google Play where there's no update, if we click no it exits.

Is this project still alive ?
[Nexus 7 Themes and Apps] Miker1029:
Nope No longer Supported

And It hasn't been for Awhile, If you haven't, You Might Want to Check Back Through the Thread.. As I remember there wqas some success with getting it working....

Mike
[Nexus 7 Themes and Apps] mattartweb:
Android 5.0 Lollipop

Running the modified APK and the executable with updated adb.exe while using Android 5.0 Lollipop is now throwing a "Position Independent Executables (PIE) are supported" error. I found this similar issue with Lollipop on stackoveflow. Is there anyway we can get someone to make a change to Cthulu's version to include the change noted in the stackoverflow thread?

http://stackoverflow.com/questions/24818902/running-a-native-library-on-android-l-error-only-position-independent-executab
[Nexus 7 Themes and Apps] sorinilidan:
Ok guys,did some searching on the internet,if cthulu or anyone has decompiled the source code or is in possesion of it read this:

http://stackoverflow.com/questions/18339552/edittext-cursor-becomes-invisible-in-jellybean

The program wasn't made for 4.3 Jelly bean hence,since then,is not displaying the cursor. In the link above its the answer to the invisible cursor,if that someone whom has the code can put that line into it,the program should then display the cursor on versions newer than 4.3. I'm using the xposed route for the program and yes,its annoying without that cursor.
[Nexus 7 Themes and Apps] Ysy:
We sorely miss SmartUX and I guess we did not take good care of him.

Each of my devices at stake here is rooted. The good part is that CthulhuTheOne's patched version runs nicely for me on ICS v4.0.4 (Sony Xperia.U), as well as on JB v4.1.1 (Medion X4701).

Unfortunately it ~doesn't~ quite run here on an nVidia/evga TegraNote 7 tablet with Kitkat v4.4.2. Both USB and WiFi ("Connecting..." forever) as well as Bluetooth fail sorely in any attempt to connect PC and tablet through ShareKM.

ShareKM when it works is bloody terrific, fantastic, magnificent, almost extra-terrestrial !

Wouldn't rebuilding and updating and improving ShareKM be a hell of an ultimately useful university project ?
[Nexus 7 Themes and Apps] BEBU1:
Hi guys, is there any chance to start and connect automatically to PC via WiFi as soon as my WiFi is available?
[Nexus 7 Themes and Apps] zaper4life:
uds Connection is failed.

I have stock Galaxy S4 GT-i9500 KitKat 4.4.2

I rooted using TWRP

I installed the amazing CthulhuTheOne APK. (Thanks bro your'e the man)

I installed the desktop SHare KM application.

I replaced all (3) ADB relate files with filed from SDK.

All I get is uds connection is failed error.

I dont have exposed or anything like it as far as I know (removed/ uninstalled).

Please help me understand how to solve it I'v been reading the thread over and over and I seem to be missing some thing.
[Nexus 7 Themes and Apps] Twmade:
Why hasn't anyone made an alternative to this yet? I'd definitely pay money to use this app again without all the hassle. Seems like lots of people would!
[Nexus 7 Themes and Apps] Fenny:
Okay, the cursor still does not show up, but I have got it working on android L (API21):
[Nexus 7 Themes and Apps] prshkr07:
any fix for this...
[Nexus 7 Themes and Apps] 11wallace11:
Uninstall Xposed
[Nexus 7 Themes and Apps] dave7802:
Thank you for this version :)

I have been able to Remove the PIE message using a flashable file.

I now have ShareKM working fully on CM12 Lollipop :) (Note 3)

Thanks

(I have included the ZIP, but i cannot link back to Source as this was a old ZIP on my SD Card,

Will update with Source to File sorry)

Notes:

Android Version: 5.0.1

Kernel: SaberMod

CM12 - ZOINs Build

Latest SuperSU

APK Provided by Fenny

Patch Provided by XXXXXXX to fix Pie message

Cursor of the Mouse on my phone screen is there and working.
[Nexus 7 Themes and Apps] Rajnus:
Cursor ide working on lolipop?

sent from mobile
[Nexus 7 Themes and Apps] dave7802:
My mouse cursor is showing on my phone screen when the mouse is idle and the take control screen is activated
[Nexus 7 Themes and Apps] Rajnus:
Can anybody else can confirm that cursor works on lolipop?

sent from mobile
[Nexus 7 Themes and Apps] dave7802:
Kinda busy in work but a quick vid to show you

[YOUTUBE]watch?v=HihW1O58c5w[/YOUTUBE]

https://www.youtube.com/watch?v=HihW1O58c5w
[Nexus 7 Themes and Apps] Rajnus:
What modified app did you install? Any patch? Pls describe :)

sent from mobile
[Nexus 7 Themes and Apps] dave7802:
Please see attached two files.

the APK from a previous post

And a Flash-able Zip file.
[Nexus 7 Themes and Apps] Rajnus:
I can't wait official L for my OPO :)

Txn

sent from mobile
[Nexus 7 Themes and Apps] that1guyty:
I flashed both of these, and while sharekm is working on Lollipop 5.0.1 Nexus7 (2013) wifi, i can't see the cursor. Guess its not nexus ready? Or maybe its the rom you're using.
[Nexus 7 Themes and Apps] 薄井浩司:
I tried searching everywhere for a similar solution, but I couldn't find anything like ShareKM. Thank you for uploading a more functional version of ShareKM. I can't see my mouse on the screen either, but just being able to use my computer keyboard via Bluetooth is amazing! Other apps are limited by wifi or a USB cable, but with this, I can type on my computer anywhere and send it straight to my phone. Really convenient.
[Nexus 7 Themes and Apps] dave7802:
Just running CM12 build. Must be something to do with Stock
[Nexus 7 Themes and Apps] Rajnus:
It Works also on my opo on CM 4.4.4!

Mouse pointer is now visible! Wow what a gift for the Christmas :)

sent from mobile
[Nexus 7 Themes and Apps] that1guyty:
Makes sense. Maybe i'll wait for a CM12 nightly and try again. Thanks.
[Nexus 7 Themes and Apps] Fenny:
Glad y'all like it. The sneaky sneaky original dev hid some the method calls in encrypted strings, so I decrypted them, and updated the method-call for "isScreenOn" (which no longer exists as of the latest API) to "isInteractive".
[Nexus 7 Themes and Apps] dave7802:
Would you consider sharing this on GIT for Future reference. As the Developer stopped this along time ago and its the community that are keeping it going.
[Nexus 7 Themes and Apps] Fenny:
I sure could, but the code is not java. I decompiled it to smali and did the modifications there. You can get that easily enough from the modded apk with baksmali.
[Nexus 7 Themes and Apps] Ysy:
Does not seem to work on nVidia Shield Tablet running Lollipop 5.0 (rooted)

I flashed "patch-pie.zip" and installed "ShareKM_Fix_For_L-Fenny.apk" to no avail.

"error : only position independent executables (PIE) are supported"

for both WiFi and Bluetooth, and USB doesn't work out either.
[Nexus 7 Themes and Apps] elwin1010:
Nexus 5, Invisible pointer...

Hi, I'm on 5.0 Lollipop right now, and with the patch the app works great! Thanks for that!

Anyway, as the title suggests, I also can't see the pointer location on my device... I hope you can fix it. It should make things a lot easier to see XD. Anyway, thanks for updating it to work with 5.0!

I'll keep this thread in mind, and hopefully you (@Fenny) could update the app so the pointer would show up... I roted my N5 especially for this app, and so far, that's the only nasty bug i found.

Thanks in regard!
[Nexus 7 Themes and Apps] gfunk006:
how can i flash the zip on my LG G2 mini?

with fastboot?
[Nexus 7 Themes and Apps] Ysy:
Is there a way to check if the pie.zip flashed correctly ?

I copied patch-pie.zip to my nVidia Shield tablet on the internal emulated SD.card, and I_flashed it from there using CWM Recovery. But whether I use Fenny's ShareKM on USB or WiFi or BT, I always get "error: only position independent executables (PIE) are supported."

Therefor : is there a way, aside from running ShareKM, to check whether pie.zip flashing has been effective ?
[Nexus 7 Themes and Apps] Klainer:
Hi everyone, im a spanish guy who follow your work since sharekm is not working xD. I dont know how to flash the zip file to fix sharekm, I would get a modified version with this changes made cause Im a newbie when it refers to android (I can do simple things as root or code things). Would be very grateful If you could upload a working apk (or a simple tutorial for me).

Thank you guys, I really appreciate that you continue showing interest in reviving this application, like me.
[Nexus 7 Themes and Apps] gfunk006:
i have a unrooted phone
[Nexus 7 Themes and Apps] elwin1010:
You'd need to have a custom recovery installed to be able to flash anything to your device. Root your phone and install custom recovery, there are plenty of turorials out there that explain step-by-step how to install a custom recovery.

Hope I helped :)
[Nexus 7 Themes and Apps] Sparco_92:
What other apps do you mean?
[Nexus 7 Themes and Apps] prshkr07:
Maybe synergy...

Sent from my Micromax A310
[Nexus 7 Themes and Apps] Fenny:
Okay, it is now working on android L with a cursor on my nexus devices as well as CM12. :D

I basically had to overhaul the dl.smali class so that it would use the android.view.SurfaceController class rather than the android.view.Surface class to create the drawable layer, then added a couple method calls from android.view.Surface to clone that into a Surface object we could manipulate.

Would have been a lot faster, but no java source = programming in smali. ;P
[Nexus 7 Themes and Apps] Ysy:
Absolutely impressive work by Fenny

1) However, on Android v4.4.2 (my EVGA TegraNote7) the missing mouse cursor issue still persists, because I can't use the Lollipop-tailored .apk on_v4.4.2, since time and again it would tell me : "/!\ Error" :: "ERR,code=58,msg=java.lang.NoSuchMethodException: isInteractive []".

2) Moreover on v5.0 (nVidia Shield tablet) I still have the PIE error, and all connectivity continues failing. If anyone gets ShareKM working on_a_Shield tablet, I'd like to hear about it.
[Nexus 7 Themes and Apps] Fenny:
I can fix your problem with the PIE error easily enough, if you can get root.

All you must do is patch your /system/bin/linker binary as so: http://xdaforums.com/showpost.php?p=57288086&postcount=1861

then replace it on your device:

First get a copy of your linker binary:

adb pull /system/bin/linker

Now make the changes in a hex editor at the appropriate offset, and save the file as linker.patched

Now to install it. and make a backup on-device just in case.

adb push linker.patched /sdcard/linker.patched
adb shell
su
mount -o remount,rw /system
cp /sdcard/linker.patched /system/bin/linker.patched
chmod 755 /system/bin/linker.patched
chown root:shell /system/bin/linker.patched
cp /system/bin/linker /system/bin/linker.backup
mv /system/bin/linker.patched /system/bin/linker

If you wish you can send your linker binary to me to modify, and I can do it for you.

As for the other problem, I think I can add a quick and dirty android API_Version check to make it work on 4.4.2 devices as well.
[Nexus 7 Themes and Apps] Sparco_92:
Does it works in stock rom without root? It should work over USB right?

I dont know why i'm getting 'Device initialization is failed.'
[Nexus 7 Themes and Apps] Ysy:
Thanks a lot Fenny !

1) Following your instructions, ShareKM now basically works through WiFi at Lollipop 5.0 with mouse pointer visible on_my nVidia Shield tablet.

2) If we could achieve the same for Android v4.4.2 on my evga TegraNote7, that would be equally great.

3) Most problematic at this point beyond basic connectivity is my PC keyboard being Belgian Azerty. First_off there's a mixup at the top row of numeric keys and special characters above the main keyboard area.

I thought "External Keyboard Helper" would be most helpful, but it can't redefine required keys by_lack of scan codes (all keys return 0 there).

--------------------------------

2015.01.30.Fr.16.21. Update :::

Checkmarking External Keyboard Helper's own ShareKM option (!) essentially solves the above issue, which means I was able to create a highly reasonable custom layout for my P7818 Belgian Azerty laptop keyboard – leaving just a few acceptable malfunctions.

Bottom line : the overall result at this point on Android v5.0.1 for me is nothing short of a super high satisfaction rate of let me say 99% !!
[Nexus 7 Themes and Apps] prshkr07:
Making it work on rooted aosp 4.4.2 would be really great. [emoji4]
[Nexus 7 Themes and Apps] 薄井浩司:
There are many solutions for computer to phone wireless typing (such as Wifi Keyboard), but typically my phone and computer need to be on the same network for it to work. This is not ideal because I travel around a lot and would like to access my phone everywhere. ShareKM is the only polished app I've seen that does the job for Bluetooth. It's a real shame the original developer stopped working on it.

YAY!! Just installed Fenny's apk!! Cursor and keyboard work on my Nexus 4, Lollipop 5.0. Will try to send beer moneys.
[Nexus 7 Themes and Apps] e7d:
Nexus 9 missing 64-bit library

First of all, i'd like to thank you for this amazing piece of work.

Then i'd like to add a new question on the pipe that i could not find being discussed anywhere. I'm a new owner of an HTC Nexus 9, and obviously, i'd like to use ShareKM on that device too. I had the PIE error that i fixed thanks to this post. But now, i have a second different error (that i guess is not derectly related to PIE, but still with the "linker" executable), reported as following by ShareKM:

WARNING: linker: could not load library "libsigchain.so" from LD_PRELOAD for "/system/bin/app_process"; caused by "libsigchain.so" is 32-bit instead of 64-bit

As the message says, i guess it's 64-bit related. Do you have any idea how to solve that ?
[Nexus 7 Themes and Apps] Fenny:
Yeah, sadly without some sort of 32 bit compatibility libraries, or the source code for the native libraries in the application there is no way to get the native libraries to load.
[Nexus 7 Themes and Apps] climb1289:
Problem with Sony Xperia V

Hello everybody,

I've got an Sony Xperia V Smartphone with Adroid 4.3.

I'm able to run the program and to use the keyboard for writing texts with my smartphone.

But I've got the same problem as many people here, I can not see the mouse on my smartphones display.

I tried some apk-files which were postet here in the last days, but nothing worked. With this programs I didn't get a connection between my smartphone and my computer.

Is there an apk-file I can use for my type of smartphone or did I something wrong with the other ones?

For your support I thank you in advance.

climb1289
[Nexus 7 Themes and Apps] SchecterRocker:
!!!! Broadcom drivers emulate sharekm !!!!!

I CAN'T BELIEVE IT.

I bought the Asus BT400 (Bluetooth 4.0 dongle) a while back. Using the Windows 8 drivers from the Asus BT400 website (which are apparently related to Broadcom), I have the option to control my phone through Bluetooth using keyboard and mouse! (see screenshot below)

The only thing it doesn't have is auto edge-detect, but you won't see me complaining. It doesn't require a separate desktop app running in the background, because the drivers apparently take care of it!

It works like a charm using my Windows 8 desktop and my AT&T Note 2 loaded with Lollipop 5.0.2 !!!

Somebody may want to try installing the drivers - it may not even require purchasing the dongle. Let me know if it works for anyone else. How's that for a Christmas present ... Merry Christmas btw!
[Nexus 7 Themes and Apps] Sparco_92:
Do you mean this one?

Im downloading them (more than 500MB for a driver). I'll update if I manage to make it work with a Stock N9

EDIT: it says that no bluetooth device were found, but i have my N9 connected, so it may need the dongle to work.
[Nexus 7 Themes and Apps] SchecterRocker:
That's a shame it didn't work. Thanks for trying it out so others know though. Yeah the drivers are insane huge at 500MB, but I have to say, they are the most thorough, awesome Bluetooth drivers I've ever used.

If you're serious about getting something almost exactly like ShareKM back (sans edge detect, as mentioned above), I believe $15 is a small price to pay to get that functionality back.
[Nexus 7 Themes and Apps] Ysy:
No success with Asus USB BT400 drivers without that dongle

The problem on my Win8.1/x64 regarding the Broadcom Wireless Bluetooth *instructions* as_shown on SchecterRocker's post #338 in the attached help screen image there is that "2._Double-**** the Bluetooth icon in the Windows Taskbar notification area" on my machine brings up the ~Metro style interface~ for "PC Settings / PC and Devices / Manage BT devices", where "then double-**** the icon for your device, or right-**** the icon and select Control" won't work out at all, neither with nor without having installed Asus/Broadcom bluetooth drivers for the Asus USB BT400 .

As to installing those drivers without having an Asus USB BT400 in place, the driver pack can easily be installed from :::

UT_USB_BT400_6513400\ 60G1D4302 04(5.6.0.8700_6.5.1.3400_12.0.0.2700)\WIN8\Setup\ BTW12\Win64\inst.exe, which won't complain about "No Bluetooth device detected".

But no, while not having an actual Asus USB BT400 in place it didn't work out on my machine to effectively get ShareKM-like behaviour.
[Nexus 7 Themes and Apps] Sparco_92:
That 'Control' context menu appears in 'Control Panel/Devices and Printers' (you can't get it from the Metro UI).

After installing the drivers as you said, Remote Keyboard and Mouse appears, but it fails to connect (asks you to check the device is connected and capable of bluetooth keyboard and mouse). I don't know if it is because I haven't the dongle, as a simple File Transfer or Music and Audio fails to connect too (Yes I have bluetooth enabled in the N9 and paired with the PC).

It may be some kind of problem with Android Lollipop and Windows 8.1 bluetooth drivers because when you click the gear in android bluetooth setting it only sows 'Contact Sharing' with the PC but nothing about 'Media audio' or something about keyboard. (And the Nexus 9 shows as a PC in devices, but my N4 for example, have a phone icon)

I don't know if someone have the same problem with N9 or Android L and Windows 8.1 as I haven't found anything searching (just Android 4.4 or below info)
[Nexus 7 Themes and Apps] Ysy:
A bit out of scope regarding ShareKM, but

in order to verify standard Windows 8.1 Bluetooth functionality as an alternative, I meanwhile ordered an_Asus USB BT400 dongle (22€, delivery included) and hope to be able to check things out somewhat_further soon then, in the early days of 2015.

--------------------------------

2015.01.31.Sa.01.38. Update.

I can't say the Asus USB BT400 dongle on Windows 8.1 Pro at my P7818 FullPC has been a great success in_providing replacement functionality for ShareKM. Admittedly I've seen this standard Windows 8.1 Bluetooth remote control functionality working indeed now and I was impressed at first, but that positive part of the experience has paled dramatically in view of subsequent harsh bluetooth connection failures.

Conclusion : ShareKM rules ! And the latest sparkles of genius to make this possible again have been from Fenny.
[Nexus 7 Themes and Apps] Fenny:
Just to clear up a couple of things on the bluetooth option:

Any device that supports the WIDCOMM bluetooth stack (Broadcom BT) will work as described. Not sure on the specific requirements, but I am guessing it at the very least needs to support "RFCOMM" This works by connecting as a HID (Human Interface Device), and passing mouse and keyboard events as if it were a real bluetooth keyboard/mouse. It will work as well as a real bluetooth mouse and keyboard would (Both the good and the bad sides of that I.E. better for gaming, but no clipboard sync). The bluetooth chipset in that particular dongle is BCM20702A0 which happens to be the same one used in the $20 "insignia" BT4.0 dongles you can pick up at BestBuy. The insignia branded model works exactly the same way!!!!! Even better than that, it will allow you to use your PC speakers as a BT headset. :P I picked one up just last week, and like a fool was using the default drivers from the Microsoft Update Catalog.

You can snag the full installer here: http://www.broadcom.com/support/bluetooth/update.php and it will just fail if your hardware is not compatible. :D

*EDIT*

After playing with it for a bit, I am quite sure I still prefer ShareKM. But this bluetooth stack ROCKS. Can't go wrong with the money spent there.
[Nexus 7 Themes and Apps] Ysy:
If I'm not mistaking, then in Fenny's #344 screen shot, "[v] Remotely Controllable Device" is the crucial service for ShareKM-like Bluetooth functionality.

On a Medion Akoya P7818 laptop I only have "[v] Remote Control" and cannot seem to remotely control Android this way on Bluetooth for using the laptop's keyboard/mouse as remote input devices.
[Nexus 7 Themes and Apps] Sparco_92:
I have installed the drivers, both "[v] Remotely Controllable Device" and "[v] Remote Control" are shown and have paired my PC with my N9 and still can't control it. The connection fails and I think it's because of lollipop. I can't even play music or transfer files, the N9 appears as disconnected.
[Nexus 7 Themes and Apps] Fenny:
Just a crazy thought, but you did reboot after installing the bluetooth stack, right? I know from past experience BT device drivers don't like to uninstall fully without a reboot. Also, if your device was paired before installing the new stack, you may need to delete the settings on both devices, and re-pair. It is also possible that your actual vendor for the bluetooth hardware modified broadcom's chipset somewhat before they released it.
[Nexus 7 Themes and Apps] maged.ahmed:
where should I write this code, I'm trying to get shareKM to work with my xperia Z2, but all I get is your device is connected but offline.