faywong / veency

VNCServer for IOS
Apache License 2.0
46 stars 45 forks source link

iOS7? #2

Open dubcanada opened 10 years ago

dubcanada commented 10 years ago

Hello,

Any ideas when iOS7 will be supported?

radj commented 10 years ago

I am testing it on iPod Touch and iPad Mini on jailbroken iOS 7.0.4. The VNC server runs and can serve but the image is distorted. Keyboard and mouse events also don't work.

zeroepoch commented 10 years ago

Veency doesn't even start for me on an iPhone 5s running 7.0.4. The port is not even opened.

usingsystem8 commented 10 years ago

When I start sharing screen with my jailbroken iPod Touch 5G running 7.0.4, its springboard crashes and it requires respring. I would like the developer to support iOS7.

niknah commented 10 years ago

I only have an iPod 4th gen so I can't install IOS 7.

Veency uses GSSendEvent to send the mouse/keyboard events. But this doesn't work in iOS 7 anymore.

You need to install simulatetouch, couldn't find this in Cydia but it's in the bigboss website... http://apt.thebigboss.org/onepackage.php?bundleid=kr.iolate.simulatetouch&db=

Here's my version using simulatetouch instead of SendEvent, works on iOS6, haven't tried on iOS7... https://github.com/niknah/veency

usingsystem8 commented 10 years ago

Thanks, I tried compiling it. However, I got this error:

(Reading database ... 5191 files and directories currently installed.)
Preparing to replace veency 0.9.3379 (using veency_0.9.3379_iphoneos-arm.deb) ...
Unpacking replacement veency ...
dpkg: dependency problems prevent configuration of veency:
 veency depends on libsimulatetouch; however:
  Package libsimulatetouch is not installed.
dpkg: error processing veency (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 veency

What I've done is: 1.login root 2.dpkg -i simulatetouch_0.5-2.deb 3.dpkg -i veency_0.9.3379_iphoneos-arm.deb

niknah commented 10 years ago

Sorry, maybe I named it wrong. It should be "simulatetouch" instead of "libsimulatetouch" in the DEBIAN/control file.

You can try dpkg --ignore-depends=libsimulatetouch -i veency...

usingsystem8 commented 10 years ago

Thanks, I succeeded in installing it. However, veency still crashes when it is enabled.

niknah commented 10 years ago

Does it crash when you click the "enable" toggle? Or after you login? Does it ask you if you want to accept/reject?

Sorry, I don't have iOS7.

usingsystem8 commented 10 years ago

https://www.dropbox.com/s/y87hbkqchuq9zqe/Veency_iOS7.mov This is the video that I recorded when I tried enabling veency.

You will see that it crashes when I click the "enable" toggle.

usingsystem8 commented 10 years ago

And I realized that Veency crashes when I try connecting to my iPod's vnc port for the first time. Veency stopped crashing when I tried it again, and succeeded in connecting to my iPod, but the shared screen was broken. (Sorry to talking like a baby) The screenshot of iPod: https://www.dropbox.com/s/0pd5okr3o60bij4/Veency_ScreenShot.png And I couldn't operate my iPod remotely.

niknah commented 10 years ago

I was playing around with this earlier, I noticed that veency doesn't quit after restarting springboard. Instead multiple veencys are running. So it's best to power off the device when updating veency. Don't know if that's your problem.

You can try out this alternative version which dumps the screen into /tmp/vnc_...rgba, https://app.box.com/s/0772u2vanga4mw97yaq7 Then you can copy those files to your computer and look at them to see if they're broken. You'll need gimp to open the files, rename to .data and choose .data format in gimp and pick RGB alpha, and change the width to the width in pixels of your device.

I've put fastscreenshot here https://app.box.com/s/dwejgwryntoioqwtn0o7, copy it to the device and run in the terminal/ssh window. It should make a file in /var/root/Documents. Should be a screenshot.

Veency is using CoreSurfaceAccelatorTransferSurface to grab the screen. fastscreenshot uses CARenderServerRenderDisplay.

I tried to use CARenderServerRenderDisplay in Veency but it seems to freeze the display when I do it. Sorry, just offering alternatives. No solutions.

prhoads commented 10 years ago

I tried in "view only" mode and it does not crash although the image is garbled. I also tried another tweak called isynergyclient that uses the same mousesupport tweak as veency and it too crashes as oon as I connect, so I think the issue is with Mousesupport as far as the crashing. As far as the garbled image, not sure on that one, I tried all of the setting to no avail. In my case I don't really need the image since I use win2vnc and control the iphone offscreen.

chadobado commented 10 years ago

Any updates on this? Thanks

faywong commented 10 years ago

Hi all,

I am so sorry, the original veency repo was created by me in the condition that I don't have any IOS device(and i even haven't used it yet, :-1: the house price of China is extremely high), don't have an Mac. I just collect, refine the code & build up the code(in an Mac OS virtual machine), no resource to verify it. I am sad for can't join you.

The gmail is not always available in my country, so late to reply.

@niknah Thanks for relaying this repo.

Thanks, fay

niknah commented 10 years ago

@faywong Thanks for putting your repo up, it was the only one that I could find that didn't have missing bits. I'm only running iATKOS too. And I brought my iPod for $50 on ebay(broken home button). I know about the Shanghai house prices cause I visited there late last year. IMO it's a silly pyramid scheme.