yashsingh1/xdaforums huggingface dataset:
[Wear OS Software and Hacking General] tkgktyk:
Control Android phone/tablet from Android Wear

There are some apps to control your PC from Android Wear via Android phone/tablet. However I couldn't find apps to control Android phone from Android wear like mouse. This is just a challenge to do that.

Could you try this app and check performance on your smartwatch?

At first, you need to find your touch screen settings, /dev/input/eventX, see the last section of this post.

Note that this app requires root permission. I recommend uninstalling it and reboot after trial for security of your device.

2015.5.17

The latest version 0.4.0 gets Transfer Mode and Receiver apk. You can control another Android device running Receiver from Wear.

[YOUTUBE]_Xd0CTNc1C8[/YOUTUBE]

Download

Source code: https://github.com/tkgktyk/WearablePad

APK: https://drive.google.com/folderview...djaUt0Q25vRC1RbFlmZjZnUVlSbDdaUWs&usp=sharing

Description

Android has Input SubSystem, /dev/input/eventX the same as Linux, processing user input from input devices including touch screen. We can emulate user input by injecting input event to Input SubSystem, but normal user has no permissions and that is protected by SELinux. Therefore we need root permission and changing SELinux policy.

What is this app for? well... for tablet on stand:confused:

Select touch screen from eventX

Android device has some /dev/input/eventX, X is number from 0, so you need to know which X links to your touch screen. The number of touch screen is depending on device. The following page is helpful for X:

LMT Launcher's thread on XDA

For Nexus4, touch screen is /dev/input/event2, and RatioX = 200%, and RatioY = 200%.

More information is here (Readme.md on github).
[Wear OS Software and Hacking General] Humpie:
First of all, great idea for the app! I was looking for a way to control my phone completely from my watch!

Secondly I tried out your app on my LG G watch r and nexus 5 and noticed a few things.

The performance differs, sometimes I get almost no delay and sometimes it's over a second. At first I found the arrow moving a bit slowly but changing the speed to 200% helped! (although the delay did get bigger).

It is difficult to swipe with the app. When trying to move around my homescreen I pick up and move all the widgets in stead of swiping to the next page. I face less problems at swiping through for example the tapatalk app.

Aside from the delay I think you're off to a very good start! And I would like to test out future updates!
[Wear OS Software and Hacking General] tkgktyk:
Thank you very much for your feedback! Thanks to your report, I'll get a real Android Wear device! not emulator. (I obtained permission to buy it!)

I think that the main cause of the delay is the amount of data from watch to handheld. I'll reduce the data and improve accessibility by adjusting UI, and update app and movie as soon as possible.
[Wear OS Software and Hacking General] Humpie:
Nice! I'll be looking forward to it!
[Wear OS Software and Hacking General] Zenety:
Worked amazingly well on my moto 360 + N4! Any posibility to change the X into something else?

It's more of a show-off app for me at the moment, but it does show what wear is capable of, hope you keep updating it ;)

Might also be worth to post this app on www.reddit.com/r/AndroidWear/ Lot's of people there compared to here.
[Wear OS Software and Hacking General] tkgktyk:
Thank you for your help! I can't wait for my smartwatch, LG G Watch R, by your feedback. (moto 360 isn't sold in Japan...) I'll post at reddit too then I get a watch.

You can select the X, /dev/input/eventX, in setting of Wearable Pad.
[Wear OS Software and Hacking General] 1stGGMan:
Need some advice

Hi,

First of, nice to see this app being available.

I got a moto 360 and LG G2.

I can get the red X to move around but taping does not work, do I Need LMT app as well?

Double clicking screen on moto 360 brings up double click, task etc and the all work.

What am I doing wrong?

Regards

Thanks
[Wear OS Software and Hacking General] tkgktyk:
Thank you for your feedback. You don't need LMT app, only refer "input devices/touchscreen to screen factors".

Now, I got a real smartwatch device, LG G Watch R, and I updated Wearable Pad. Single tap also works on Nexus 4 + G Watch R.

Could you try latest apk? mobile-release_v0.2.0.apk is here:

https://drive.google.com/folderview...djaUt0Q25vRC1RbFlmZjZnUVlSbDdaUWs&usp=sharing

Note that the UI is changed, please see https://github.com/tkgktyk/WearablePad#pad-ui.
[Wear OS Software and Hacking General] Humpie:
Thanks for the update, I really like it! It's much more responsive than before and I really like the swipe buttons :), they make browsing internet or scrolling through my apps a lot easier! Also swiping away running apps is great! The only problem left is moving around my homescreens. The buttons don't move it far enough to get to the next page and by tap+swiping I get it to move about one tenth of the time. But I don't grab and move all my widgets like before so that's a big plus!
[Wear OS Software and Hacking General] tkgktyk:
Thank you for fast feedback. Now we can't start voice search triggered by "OK Google" on Wearable Pad. I'll append that capability and new mode to grab (press) without keeping on pressing watch for your issue.
[Wear OS Software and Hacking General] Humpie:
Again, looking forward to it!
[Wear OS Software and Hacking General] tkgktyk:
Version 0.2.1

This version works fine except "OK Google" and a tiny rotation issue.

Test device:

* Nexus 4 + G Watch R

* Nexus 9 + G Watch R

Download APK

Changes:

+ Support screen rotation

+ Grab Mode by triple tap

+++ can move icon and select text

+ Tested on Nexus 4 and Nexus 9

+++ Used NDK for 64bit support. Trouble occurs on your device maybe...
[Wear OS Software and Hacking General] Humpie:
Thank you for another great update! I can move around my homescreens with no problem now and the 3tap option is also very useful!
[Wear OS Software and Hacking General] tkgktyk:
v0.4.0

Skipped v0.3.x.

NEW:

+ Transfer Mode

+++ transfer touch event to receiver

+ Receiver APK

+++ install on non-paired Android devices

The movie is updated too.

Thanks to XDA and you, completed the first stage of implementing functions. I'm going to fix bugs for a while.
[Wear OS Software and Hacking General] crime_of_heart:
That is exacly what I was lookong for. Thanks!

By the way the input even number is 4 for international Optimus G (e975).
[Wear OS Software and Hacking General] crime_of_heart:
do you have any newer version [MENTION=5692104]tkgktyk[/MENTION] ? Because the existing versions wakes the screen per couple of minutes.

Regards,
[Wear OS Software and Hacking General] tkgktyk:
version 0.4.2 on Google Play is the latest. I'm not planning to update this app for now because I don't use it.
[Wear OS Software and Hacking General] cruzer blade123:
:)How to install apk to you android wear

=enable usb debugging on your wear

=connect it to the pc using cable

=download adb toolkit for your watch

=hold |shift| & right click on your mouse and select open command prompt here

=type these adb devices (enter) , adb install (app name without spaces).apk

=you will install the app on you android wear

Thanks#

Dont forget to like#

Sent from my Nokia_XL using Xposed Modules
[Wear OS Software and Hacking General] RJASSI21:
Hi I'm trying to use this app with Sony xperia z2 and Sony smartwatch 3 but the app keeps saying that it's not connected in the status bar and I hasn't asked for superuser permissions my device is rooted it just want working any help would be great if I could used this app
[Wear OS Software and Hacking General] mattwang3:
LOVE this app! Been looking for this app long long time ago, thanks tkgktyk!
[Wear OS Software and Hacking General] edda123:
Nice app, but I can not get single tap to work. Everything else seem to work though!

LG G2 with CM 13 and LG Watch Urbane
[G2 Q&A, Help & Troubleshooting] Artasdmc:
Greetings.

I want to root my G2 and I'm looking through applications/scripts for it and I want to ask with what do I root it?

I have SRK and DP tools, they both offer rooting through ADB, DP tools offer unrooting also.

What are other good options?

And one big question, If I unroot, can I update to stock lolipop OTA?

Since I saw a thread that updating a rooted G2 causes a brick.
[Motorola Droid 4] joefuf:
So I have bitten the bullet after all of the issues that I was having with my phone today and I did an SBF flash of my Droid 4's firmware. I rooted successfully and installed Busy Box, but I am unable to install Safestrap v3.72

I get to the 60/100 point where it is "Running Installation Script" but it never gets beyond that. I have also tried to Uninstall in case one of the several tries worked behind the scenes, but that also gets stuck at 60/100. This allegedly has something to do with Busy Box not being installed, but I have done that for sure.

Update: Just repeated the root process with SafeRoot and that installs Busy Box as part of the process. Completed successfully, and I'm still hanging at 60/100...

What else am I forgetting to do?
[Nexus Player Q&A, Help & Troubleshooting] phdzor:
Hello, can anyone recommend european power adapter that will work with Nexus player, or will any 12v 1.5a adapter work ?

Thanks.
[Desire 820 Q&A, Help & Troubleshooting] Richard15:
Hello! I have mega trouble, because I want to buy new phone. My current phone is Sony Xperia SP. Since the new phone I demand smooth operation, good quality camera and good speaker. I hesitate because I do not know which phone plays louder and who has a better camera. I read that HTC has a problem with noise during recording and it made me very worried. Nor do I know that your phone better talking. I always wanted to have a HTC, but now in the current situation, I was a little offended. My situation is that I have no choice other phones.

Thanks and I greet they all :)
[Desire 820 Q&A, Help & Troubleshooting] klemen241:
i had s4 and bought htc now. Let me put it in short story:

s4:

- **** laggy software

- great camera

- bad sound system

- nice colorful screen, but small

- good that buttons are not on screen

- removable battery

this htc:

- great super fast software

- colorful screen, little difference to s4, s4 has more aturated colors

- big screen

- bad that buttons are on screen

- super great speakers

- no removable battery

- nice power saving options

- super fast procesor-64 bit, which is the ffuture of processors and will be even faste in android 5.0

This is it for now. If you dont mind big phone and you want great performance, then definitly but htc. If you want crappy housing smaller phone, with better screen and camera, than buy s4. But s4 is realy outdated. Ask more if you want
[Desire 820 Q&A, Help & Troubleshooting] Richard15:
Thanks! You say that the HTC plays better than samsung, you can estimate how much?

The battery keeps better in HTC?

How does the quality of calls on both phones?

Do u you there is noise on recordings from a microphone?
[Desire 820 Q&A, Help & Troubleshooting] klemen241:
Thanks! You say that the HTC plays better than samsung, you can estimate how much? Yes, htc has 2 front speakers, s4 has one small on the back

The battery keeps better in HTC? Yes, you even have power saving mode, and i dont see any difference in performance with power saving on or off, just more battery

How does the quality of calls on both phones? hmm, dont know realy, i dont talk much. Didnt notice any diff

Do u you there is noise on recordings from a microphone? not realy, tried to record myself and not problems
[Desire 820 Q&A, Help & Troubleshooting] Richard15:
It reminded me of another question. If you are using throttling phenomenon occurs?
[Android Q&A, Help & Troubleshooting] mohdfaisal19:
Hello sir my phone model is GT-S7582 has shutting down when i opened it after 2 minutes its again shutting down please help me sort out this problem is a request
[8525, TyTN, MDA Vario II, JasJam ROM Development] stogats:
Seems to be hard to find! would love to find a wm6 rom with video calling and the office appz included,I dont need anything else!! I guess if the office 2007 cabs were easily found I could just install them after I flash to WM6

something stable preferred :D

here are the settings for Roger's internet and MMS I found off HoFo

Go into settings, connections, add a new modem connection under My work network. Then select cellular line (GPRS, 3G), access point name is: media.com, User name: media, password: mda01, domain leave empty. Go into advanced and keep use server -assigned IP address but tick off Use IP header compression.

Then go into messaging, menu, options, mms, leave everything as is and go into servers, edit the existing sample one and rename, gateway: 10.128.1.69, port: 80, server address: http://mms.gprs.rogers.com, connect via : My work network and the rest leave as is.

Your done.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Ogier:
I'm using the LVSW 19-5-07 ROM and it's reasonably stable. Much more so than the original ROM on my Australian "Imate JasJam", but I can make it crash when I start throwing a few odd bits of software at it.

Out of the box, I got my Video call function back on the dialler, plus Office Mobile is built in to the ROM.

I wasn't sure if it was Office 2007 as the Menu/About screen reports version 6.1, but it supports .DOCX files so I'm pretty sure that's 2007.

Cheers! Oggy.
[8525, TyTN, MDA Vario II, JasJam ROM Development] pumakkiotto:
in lvsw of 19-05 office is 2007 i'm sure
[8525, TyTN, MDA Vario II, JasJam ROM Development] stogats:
Thats great news.. Thanks for your help!!

I downloaded it and will install when my TyTns finally get here!

any other information i need?

I read the forums and i wasnt sure of one thing.. do i need to unlock the phone before i flash with Spl olipro 2?
[8525, TyTN, MDA Vario II, JasJam ROM Development] Ogier:
I became a frequent visitor on this forum about 3 days after getting my phone and I think I spent 6 hours a night for 4 nights reading as much as I could.

The safest way to flash your Hermes based phone (I think) is putting HardSPL 7 on your phone, then going through the rest of the flash procedure.

Read the Wiki and guide by MrVanx (sp?) especially, and follow that guide. It wasn't 100% matching my experience, but I got through it sucesfully and now think that it's a pretty easy process.

There seems to be a version 11 (or 1.11) SPL with new ROMs, so be careful if the ROM you end up loading uses that version, as I think the HardSPL V7 might not be compatable. As I said, read the latest news & discussions. The relevant info will probably be made sticky and/or added to the Wiki when if it is factual and not just me guessing.

Cheers & have fun. I am!

Oggy.
[8525, TyTN, MDA Vario II, JasJam ROM Development] thebeast:
jasjamming (JJ)'s rom Black 3.5 has both
[8525, TyTN, MDA Vario II, JasJam ROM Development] stogats:
Hey thanks for the advice and for taking the time to help out!! I look forward to joining all you "flashers" soon :cool:
[HTC One X] Sir_wilson87:
I have an htc one x i am trying to repair. The device won't turn on and when plugged into charger there is no recognition it is even plugged in. Nothing works at all, i tried holding volume buttons, bought a new power button and battery as they were a bit worse for wear and still nothing. The device is on stock rom. Before this happened the device used to turn on but went to the screen with the 3 android guys on it. Nothing seems to work and now i am getting frustrated any help would be greatly appreciated so please someone repky there must be someone who knows whats going on.
[Galaxy Note 4 Q&A, Help & Troubleshooting] k7t:
I have come across this issue with my recently purchased note 4, when switching off the wifi connection and connect to mobile data sometimes it will not connect to mobile data and Chrome or any other browsers will not load web pages but I am still able to send messages through facebook messenger and refresh my twitter feed. The strange thing is that searching on google will bring up search results but pressing on links/loading web pages will not work.

This problem does not always happen as sometimes I will be connected The connection will go back and fourth from H to H+,I have tried a factory reset and the problem still exists. I have found that switching on and off mobile data/airplane mode/ or a reboot would fix it for a while.

Has anybody else come across this issue?

Stock Lolipop 5.0.1

SM-N910F

Baseband: N910FXXU1BOC4

Build: LRX22C

Kernel:3.10.40-4596175
[Galaxy Note 4 Q&A, Help & Troubleshooting] yoniinfante:
Try flashing a different modem....cheers:fingers-crossed:
[G3 Q&A, Help & Troubleshooting] 28cliff:
I'm running cyanogenmod 12.1 nightly on my LG G3. When setting up OK google for every screen I get a Microphone ...reboot but reboot doesn't help. OK Google also doesn't work on search screen. The microphone has a clear center.

Help!!

CliffordS
[G3 Q&A, Help & Troubleshooting] natator99:
Upgrade to the G4? (the forum you're posting in)
[G 2014 Q&A, Help & Troubleshooting] udyannk5:
I flashed resurrection rom on my moto g 2014 successfully but the touchscreen stopped functioning. Then again i flashed back stock rom and now my phone is stuck in 'bootloader unlocked' screen and even the touch is not working. I can open the recovery menu but cant do anything coz touch is not working. I am stuck please someone help guys :(
[G 2014 Q&A, Help & Troubleshooting] Krishna Eyunni:
Go to fastboot mode by press and holding power and vol down and and reflash stock lollipop rom with correct commands and it should work ..!
[G 2014 Q&A, Help & Troubleshooting] udyannk5:
i did that but stuck in bootloader. I cannot wipe data by recovery as touch is not working. and i ried to flask stock again bt it is also not installing.. is it a kernel problem??
[G 2014 Q&A, Help & Troubleshooting] udyannk5:
thanks a lot. I re flashed kitkat and its working now
[G 2014 Q&A, Help & Troubleshooting] Krishna Eyunni:
Nope not a kernel problem ..

Make sure you are entering correct commands and you're flashing the correct zip for your model and try again it shouldn't happen coz it is stock their will be no problem..!! Make sure you're flashing the correct zip ...
[One (M7) Q&A, Help & Troubleshooting] TAiS46:
Hey,

I have an HTC One M7.

C:\android>fastboot getvar all
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0712000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3804mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0
all: Done!
Execution time is 82(ms)

It is not possible to flash the RUU:

C:\android>fastboot flash zip RUU.zip
sending 'zip'... (43286 KB) OKAY
sending time = 4.726 secs
writing 'zip'... (bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (status read failed (Too many links))
Execution time is 5(s)

How can I restore the RUU for the HTC?

Do I need to set an other CID? Is it than possible to flash the RUU?
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
your mid is wrong for the firmware on your phone, cid is fine as its is, then you can flash the 7.19.401.2 RUU.zip but need to use the htc_fastboot.exe to flash it, the normal fastboot.exe wont work (hence error 12)

change mid by flashing this in TWRP recovery, select international HTC one M7: https://www.androidfilehost.com/?fid=23622183712469376

https://www.androidfilehost.com/?fid=96042739161891970 htc fastboot

https://www.androidfilehost.com/?fid=95916177934554130 RUU.zip
[One (M7) Q&A, Help & Troubleshooting] TAiS46:
C:\android>htc_fastboot.exe flash zip RUU.zip
sending 'zip'... (43286 KB) OKAY
sending time = 5.229 secs
writing 'zip'... (bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (status read failed (Too many links))
Execution time is 6(s)

does not work with htc_fastboot

Edit:

Forget to change mid ... will try it now
[One (M7) Q&A, Help & Troubleshooting] TAiS46:
C:\android>htc_fastboot.exe getvar all
< waiting for device >
(bootloader) version: 0.5
(bootloader) version-bootloader: 1.55.0000
(bootloader) version-baseband: 4T.20.3218.13
(bootloader) version-cpld: None
(bootloader) version-microp: None
(bootloader) version-main: 6.09.401.5
(bootloader) version-misc: PVT SHIP S-OFF
(bootloader) meid: 00000000000000
(bootloader) product: m7_ul
(bootloader) platform: HBOOT-8064
(bootloader) modelid: PN0710000
(bootloader) cidnum: 11111111
(bootloader) battery-status: good
(bootloader) battery-voltage: 3771mV
(bootloader) partition-layout: Generic
(bootloader) security: off
(bootloader) build-mode: SHIP
(bootloader) boot-mode: FASTBOOT
(bootloader) commitno-bootloader: dirty-2da61e5e88
(bootloader) hbootpreupdate: 11
(bootloader) gencheckpt: 0

but still the same error!
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
you need to boot to RUU mode first

fastboot oem rebootRUU (black screen with silver htc logo)

htc_fastboot flash zip RUU.zip (or whatever the file is called that you want to flash)

fastboot reboot-bootloader

fastboot reboot
[One (M7) Q&A, Help & Troubleshooting] TAiS46:
Sure, I have done this command:

C:\android>fastboot oem rebootRUU
... (bootloader) Start Verify: 0
OKAY
Execution time is 51(ms)

C:\android>htc_fastboot flash zip RUU.zip
sending 'zip'... (43286 KB) OKAY
sending time = 5.141 secs
writing 'zip'... (bootloader) rom parsing start ...
(bootloader) rom parsing finish ...
(bootloader) zip header checking...
(bootloader) zip info parsing...
(bootloader) Read zipped android_info fail
FAILED (status read failed (Too many links))
Execution time is 6(s)

Edit:

The rar archive has an error! I will redownload it!
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
also change your cid to be on the safe side to HTC__001 (that's 2 underscores, cid is always 8 character long)

your android info fail means your cid isn't in the android info txt file, I never recommend using super cid, more trouble than its worth, and only takes 5 seconds to change it.

fastboot oem writecid HTC__001

fastboot erase cache

fastboot reboot-bootloader
[One (M7) Q&A, Help & Troubleshooting] TAiS46:
Ok, I'll try it tomorrow.

I am wondering, why I can't open the android info text file!

It says that the zip file is damaged. I have tried to open it with winrar.

unzip PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
Archive: PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip
warning [PN07IMG_M7_UL_L50_SENSE60_MR_HTC_Europe_7.19.401.2_Radio_4T.35.3218.16_10.33Q.1718.01L_release_421790_signed.zip]: 1165628545 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 1165628545
(attempting to re-compensate)
file #1: bad zipfile offset (local header sig): 1165628545
file #2: bad zipfile offset (local header sig): 215
(attempting to re-compensate)
file #2: bad zipfile offset (local header sig): 215
file #3: bad zipfile offset (local header sig): 1333647502
file #4: bad zipfile offset (local header sig): 1501681878
file #5: bad zipfile offset (local header sig): 1501683874
file #6: bad zipfile offset (local header sig): 1501686922
file #7: bad zipfile offset (local header sig): 1501689571
inflating: tp_HMX852XD.img
inflating: boot_signed.img
[One (M7) Q&A, Help & Troubleshooting] Seanie280672:
its encrypted I expect.