[Tutorial][Pics]Run Synergy on your RPI2 to share your Keyboard and Mouse - Raspberry Pi General

Alright so I thought I would do a nice little right up regarding setting up Synergy with raspberrypi. This is with the latest version V1.7.5 at the moment.
Synergy is basically a KVM switch (crudely) which allows you to share your keyboard and mouse from a 'server' pc (usually your main desktop) with the 'client' pc (in this case your raspberrypi). This program will work on multiple operating systems. I paid $10US for it for the basic version which is all you really need. I believe if your fluent with source you can download it straight from their git and build it all (which I probably should have done anyway)
To learn more, see here
http://synergy-project.org/
anyway,
So I downloaded the .deb file for my ubuntu machine which was extremely easy and it install via ubuntu software centre. Piece of cake. The harder part was to compile the source for the raspberrrypi.
I am not running the raspbian release. I chose to run the latest Ubuntu Mate 15.10 release on the pi. But any ubuntu distro you have installed on your pi will take these steps as well as a slight modification for raspbian as well.
Initially I set about googling to see how I could compile it.
I stumbled on some steps for an old version here - https://learn.adafruit.com/synergy-on-raspberry-pi/compiling-synergy-for-raspbian
we will be using some of these steps, but not all of it as some parts have not been updated.
Firstly;
From here we should make sure we have all the required packages installed to build the source
Code:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install cmake gcc libssl-dev libx11-dev libxtst-dev curl
Now,
Download the latest source from synergy.
You will get a tar.gz like – synergy-v1.7.5-stable-fa85a24-Source.tar.gz
this is in your Downloads folder
from there we need to extract it
Code:
cd ~/Downloads
sudo tar -xzf synergy-v1.7.5-stable-fa85a24-Source.tar.gz
you will get a folder within ~/Downloads like this
synergy-v1.7.5-stable-fa85a24-Source
we now need to get into this source folder
Code:
cd synergy-v1.7.5-stable-fa85a24-Source
this should mean your full directory your in is - ~/Downloads/synergy-v1.7.5-stable-fa85a24-Source/
Now that is done, we need to do a couple of things to ensure that it will compile correctly
Jump back out of terminal (leave the window open)
and go into the file explorer
navigate to ~/Downloads/synergy-v1.7.5-stable-fa85a24-Source
in here you will see some further folders and files.
Go into
/ext
within here you will see some zips and tar.gz
gmock-1.6.0.zip
gtest-1.6.0.zip
openssl-1.0.2.tar.gz
extract all of them so they are now within the directory (these are needed in the build process)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now,
Go back to your terminal window
We need to run a small command to ensure that the build will be optimized for the raspberrypi arm architecture.
Code:
sudo nano CmakeLists.txt
within here you will see at about line 80
Code:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef")
what you want to do is add the -march=armv7-a flag, which will compile better with the raspberrypi2
so it will now look like
Code:
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Werror -Wno-unused-local-typedef -march=armv7-a”)
you can now save and close that file
back at your terminal window
run the command
Code:
sudo make .
This will take a while (about 20 minutes for me).
Once that is completed you need to transfer the /bin directory within the source to your machines /bin directory so run this command
Code:
sudo cp -a ./bin/. /usr/bin
Now that is done I recommend rebooting your pi
Once it is rebooted we need to setup a way for it start.
So go to the server computer (the pc you have your mouse and keyboard attached) and make sure that the program is open. You will also have to note your IP address, your local LAN one. It does not matter if this is via ehternet or wifi you will have a local IP. I would suggest using a static IP for your local LAN ip. Go into your router and set your server PC to a static ip. You dont have to, but if you dont, everytime you turn on your server pc you may get a different IP address. This in turn means that everytime you want to use this software with your PI you have to find your IP address and run the following command again.
Once you have your server PC IP. Run this command from your pi in terminal
Code:
synergyc -n pi 192.168.1.1
Substitute the name of your login for your PI into 'pi' and sub in your local IP address into the IP address above.
Now go back to your Server PC and within the synergy progam and click on 'configure server'
now on the top right hand side your will see a PC screen, this is going to be the pc that your wishing to control with your server PC mouse and keyboard.
Drag this screen to your desired location beside the middle screen, which is your 'server' pc.
Now right click the newly moved screen and give it the same name that you selected for the command above.
Now you can go back out of this area by clicking ok and click start
Notes – if your using wifi connection from your PI you may get some stuttering at times. I am going to try and use a ethernet cable connection myself. I find though I get better throughput than the bluetooth combo keyboard and mouse that I was using with my RPI.

Thanks for share
Gửi từ SM-N910C của tôi bằng cách sử dụng Tapatalk

Related

Possible to run HTC Hero in an emulator?

I remember that there was a video originally released on Youtube demonstrating the Rosie UI of the HTC Hero in an emulator. Would anyone happen to know what emulator was being used to do that and how one would go about to get it to run in the emulator?
Thanks.
the emulator that i believe was from the android sdk. you can download it http://developer.android.com/sdk/1.5_r3/index.html
Im not sure if hero is on the emulator because it requires some files which are not in 1.5 database.
modaco got the emulator to run cyanogen's mod http://forum.xda-developers.com/showthread.php?t=534580
if you want to run it here are the steps for Windows
1. download sdk
2. extract it to the C: or root of any drive to make it easier to acess
3. Download Java SDK http://java.sun.com/javase/downloads/index.jsp "Java SE Development Kit (JDK)" JDK 6 Update 14 will do
4. Install, and open command prompt (start > run > cmd)
5. navigate to the tools folder of android sdk
ex if you extracted it to C:\android, type
Code:
cd c:\android
cd tools
Next type to create avd
Code:
android create avd -n NAME -t 2
To test and run it
Code:
emulator -avd NAME
Image for visual learners
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
it should look like this when your done
cool
x9f said:
the emulator that i believe was from the android sdk. you can download it http://developer.android.com/sdk/1.5_r3/index.html
Im not sure if hero is on the emulator because it requires some files which are not in 1.5 database.
modaco got the emulator to run cyanogen's mod http://forum.xda-developers.com/showthread.php?t=534580
if you want to run it here are the steps
1. download sdk
2. extract it to the C: or root of any drive to make it easier to acess
3. Download Java SDK http://java.sun.com/javase/downloads/index.jsp "Java SE Development Kit (JDK)" JDK 6 Update 14 will do
4. Install, and open command prompt (start > run > cmd)
5. navigate to the tools folder of android sdk
ex if you extracted it to C:\android, type
Code:
cd c:\android
cd tools
Next type to create avd
Code:
android create avd -n NAME -t 2
To test and run it
Code:
emulator -avd NAME
Image for visual learners
it should look like this when your done
Click to expand...
Click to collapse
This looks cool I would like to try anyway I could use my nandroid backup and how if yes
can someone give use commands for lunix? those commands aren't working on Ubuntu..
You can run a nandroid backup image through the emulator, so you'd have to install hero on your phone first.. which I assume would defeat the object of emulating hero in the first place.
AdrianK said:
can someone give use commands for lunix? those commands aren't working on Ubuntu..
Click to expand...
Click to collapse
sorry forgot to mention this is for windows
i'm not fluent in linux
you can try the webpage and scroll down for linux
http://developer.android.com/sdk/1.5_r3/installing.html
Renegade_R said:
I remember that there was a video originally released on Youtube demonstrating the Rosie UI of the HTC Hero in an emulator. Would anyone happen to know what emulator was being used to do that and how one would go about to get it to run in the emulator?
Thanks.
Click to expand...
Click to collapse
What's your goal for doing this? You know there are Hero ROMs?
Deathwish238 said:
What's your goal for doing this? You know there are Hero ROMs?
Click to expand...
Click to collapse
i guess he wanted to try it on the computer
Thanks works well but slow
try adding more memory to it.
modaco web page said:
1. Download the Android SDK (which includes the emulator) from here.
2. Extract the downloaded zip.
3. Run a command prompt, and change to the 'tools' directory of the SDK (or add the tools directory to your path).
4. Type 'android list target'
5. Note the 'id' number of the '1.5' target (in my case it's '2')
6. Type 'android create avd -n enhanced -t 2' (substitute 2 with the target number determined above if required)
7. You will be prompted to create a hardware profile. This is optional, but I selected 'yes' and accepted the defaults for everything except RAM, where I gave it 256MB. wink.gif
8. Download and unzip this image file.
9. Copy the above file to the location of the enhanced.avd directory ('C:\Documents and Settings\<user>\.android\enhanced.avd' on Windows XP, and 'C:\Users\<user>\.android\enhanced.avd' on Windows Vista).
10. You're ready! Type 'emulator -avd enhanced' to run! Note: inital boot may take a few minutes!
Click to expand...
Click to collapse
I have the leaked Hero ROM. Is there any way to, say, load it in the SDK emulator?
I'm also interested in this topic.
Does anyone have a system.img from a hero rom?
Did you ever get the Hero Rom working in the emulator?

Some help with Eclipse and ADB in Linux

Hey, did a search but couldnt find a solution. I'm having problems getting my device to pull up in adb remount on Ubuntu. When I try remount it says no command 'adb' found sometimes or permission denied when it does work, I have root and USB debugging enabled on the devices (a Nexus One and G1). When I try adb devices I just get ?????????????? unknown.
Also, and I don't know if it's related, but in Eclipse, I can't get the SDK location loaded, I have the directory right, but when I hit Apply or OK nothing happens, it just doesnt load. So if I try to start a project I have no Build Targets to select from.
Any help would be appreciated. I have everything running fine in Windows but I'm fairly new to Linux I haven't used it in years. I'm running Ubuntu distro if that matters. Thanks.
i'm with you. i picked up the android sdk tarball, and am a little lost too . i tried getting adb to work in windows 7, but i can't get that going either. dangit. if someone could put up some good reference material, it'd be appreciated
Hello,
The problem with linux having trouble with adb probably lies with a permission issue try adb kill-server && sudo start-server.
The other issue is most likely because you did not download any targets yet. goto windows in eclipse and select android sdk and adv, then at available packages or something like that download your target
i can't even get that far. i switch to my androidSDK/tools and then "adb devices" all i get is 'no command adb found'
I did the first couple times too, then I went to command and did:
su
<enter password>
cd
export PATH=${PATH}:<your_sdk_dir>/tools
then when I adb remount or adb devices it gives me the unknown device thing
but I think the next secret is here
http://forum.xda-developers.com/showthread.php?t=613217
in like the 3rd post. However I think the export PATH is a temp fix because the ~/.bashrc needs to be modified with the path settings and I have no idea how to do that. I just get lots of permission errors or file not found for everything I try, even with root. I'm just using Eclipse in Windows for now, and hopefully someone can help us out cause I'd like to work on roms but I guess I need to brush my Linux up first.
http://forum.xda-developers.com/showthread.php?p=5377103
i found some help elsewhere on the net, and posted it up at the end of this thread. they were having similar issues with the dream, apparently.
i also found this
that link there will probably get you hooked up
adb devices now has a readout!
and, you're right about adding the export PATH=${PATH}:<your_sdk_dir>/tools to
~/.bashrc
i think this command will do it. run in terminal
gksudo gedit ~/.bashrc
i just made a comment line that says
# android sdk export path
and another line underneath it that says
export PATH=${PATH}:/home/timmyd/androidSDK/tools
because that's where i have the extracted sdk
all good, i think. now, let's see what's going on ...
oh yeah, don't forget to enable usb debugging on the device itself.
settings>applications>development
allow usb debugging
screeny works at least
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Cool, I'll try that out tomorrow.
timothydonohue said:
i'm with you. i picked up the android sdk tarball, and am a little lost too . i tried getting adb to work in windows 7, but i can't get that going either. dangit. if someone could put up some good reference material, it'd be appreciated
Click to expand...
Click to collapse
Hi all!!!!
I have a problem with my HTC Tattoo, can't connect the tatto with adb in ubuntu and eclipse Helios.
/android-sdk-linux_86/platform-tools$ ./adb devices
List of devices attached
???????????? no permissions
Thank you very much.
Hi, I have tha same problem with ????? and can't connect to eclipse my galaxy, so the solution is just use the instructions from the h**p://developer.android.com/guide/developing/device.html
I solve this problem with
1. Log in as root and create this file: /etc/udev/rules.d/51-android.rules.
For Gusty/Hardy, edit the file to read:
SUBSYSTEM=="usb", SYSFS{idVendor}=="0bb4", MODE="0666"
For Dapper, edit the file to read:
SUBSYSTEM=="usb_device", SYSFS{idVendor}=="0bb4", MODE="0666"
2. Now execute:
chmod a+r /etc/udev/rules.d/51-android.rules
Click to expand...
Click to collapse
The USB Vendor IDs foreach manufacturer
Manufacturer USB Vendor ID
Acer 0502
Dell 413c
Foxconn 0489
Garmin-Asus 091E
HTC 0bb4
Huawei 12d1
Kyocera 0482
LG 1004
Motorola 22b8
Nvidia 0955
Pantech 10A9
Samsung 04e8
Sharp 04dd
Sony Ericsson 0fce
ZTE 19D2
Click to expand...
Click to collapse
Hope to help you!

Linux Window Manager on Android.

Do any of you think it's possible to run a full blown Window manager on our phones?
Not anything like gnome or kde, but awesome or lxde.
I have grown increasingly tired of all of Android's home applications.
Look forward to seeing comments
Well, I know you can run Debian Linux on our phones... I don't really think there is a point though because our CPU isn't powerful enough to make it very functional. The Droid may have a chance, and the Nexus One or Evo probably could.
Our phones should be powerful enough. Awesome and similar window managers use very little cpu.
wow, I'm no where near able to answer your question but what an interesting idea!! That would be very cool!
Thanks to REGAW helping me learn I used my new gnome bootable usb last night, how cool!!
Only downside is it doesn't save ANYTHING from the session, I'm going to partition some space for it on my hdd
id love to see ubuntu ported to our heros. the tp2 users have it, why not us?
I'd say Ubuntu is a bit too much I think a Debian port would be much more friendly.
Now that I think about it, I wonder if gentoo could be compiled on the phone and used as a phone.</off topic>
This topic is about running a *Window Manager* on the phone, not another operating system. I was reading about Android on the Wikipedia page earlier, and I read that there was no X support, so I dont think it would be very easy to get it working :/
Some of those manager are deathly simple. I guess they could potentionally be ported.
if you were running one of these overclocked roms would this change anything, I found this elsewhere, I didn't write it, you may have read it before:
OK, here's howto get Debian up and running on your HTC Hero running the MoDaCo Custom Rom 2.9:
1. Download this archive:
androidfanatic.com/cms/unofficial-app-repo.html?func=fileinfo&id=21
2. Extract the archive, resulting in a folder 'debian'. Inside this folder
replace 'installer.sh' and 'bootdeb' by the files provided with this howto.
Make sure they are replaced, delete the old ones first!
3. copy the folder 'debian' to the root of your sdcard. The root is the highest level, e.g.
drive E:\ if you are on a windows pc. Unmount sdcard on pc and phone.
4. Download ConnectBot from the market. See included QR-Code for use with Barcode Scanner app.
5. Start ConnectBot and open a local shell. To do so click on the drop down menu on the lower left
that says 'ssh' and select local.
6. As this is your first start of Debian you need to "install" it first. Execute the following
commands (press enter at the end of each line, always allow root access if asked):
su -
cd /sdcard/debian
sh installer.sh
bootdeb
At this point you are changing into the Debian environment. From now on do not restart
your phone or kill ConnectBot without executing 'exit' first. Now continue with commands:
/scripts/onetime.sh
exit
That's it, you are done! Now you can do whatever you want with your Debian installation.
7. To go into Debian from now on you use the following commands in a local shell in ConnectBot:
su -
bootdeb
You can automate that by passing these two commands as 'post-login automation' in ConnectBot,
long click the 'Local' entry in ConnectBot and edit the host.
Remember to leave with 'exit'! Alternatively you can click the trackball once and then press 'd'
on the keyboard. This resembles 'Ctrl+d', which is the logout command for unix shells. Do this
two times more to shut down the local shell in ConnectBot.
8. If you want to access your Debian by ssh execute the following command:
/etc/init.d/ssh start
9. To free some space in your image file execute the following command in the Debian environment:
apt-get clean
Do this also after every usage of 'apt-get upgrade' or 'apt-get install'.
10. For additional information here is howto resize your debian.img (for Linux only):
androidfanatic.com/cms/community-forums.html?func=view&id=1610&catid=9
And see here howto install a graphical desktop enviroment, in this case lxde or icewm:
(Note that i had to resize my debian.img first!)
wiki.lxde.org/en/Android
I'm not going to quote the entire post
@tmachovec: thanks for the info, but I'm looking to see if we can actually run it on the phone. Not connect to a fake X11 server over local ssh. I appresicate the input. But I'd like to run this on the phone
http://www.gentoo.org/main/en/where.xml
Gentoo has an ARM build, so it's possible.
noidea` said:
I'm not going to quote the entire post
@tmachovec: thanks for the info, but I'm looking to see if we can actually run it on the phone. Not connect to a fake X11 server over local ssh. I appresicate the input. But I'd like to run this on the phone
Click to expand...
Click to collapse
Gnome, KDE, IceWM or LXDE Desktop on your Android! 1 Year, 2 Months ago Karma: 9
IMPORTANT UPDATE: Many comments on sites that have blogged this post seem to be getting the wrong end of the stick. This is not connecting to a remote desktop on another machine! This is x11 and LXDE Desktop running LOCALLY on the G1 device, the reason I had to connect back to LOCALHOST using VNCViewer (also running LOCALLY on the device) is because there are no drivers available. This circumnavigates the need for any special drivers.
Now back to business!
It's official you can run X-Windows and your choice of GUI (Gnome, KDE, IceWM etc on an Android device!
Screenshots are below!!
androidfanatic.com/community-forums.html?func=view&catid=9&id=1620#1620
wow im lost in all this (NOT linux savy)
what does this mean?
Ok, so I've been trying to do this and I can never manage to get it working. When debian boots, it gives me an array of errors, but its too quick to reboot so I can't read whats wrong. I'm 99% sure it has something to do with the image being read off the sdcard. I read the installer script and manually moved all the necessary files because the script would not do it.
Yes, I ran everything as su
Has any one else had problems with this?
Thanks tmachovec
Any one have info on my problem?
I couldn't get it to load either, same problems with getting Debian to boot. I know a little about linux but not enough solve these issues.
noidea` , I have no idea.
just wondering has any one been able to do this successfully on their Hero's?
noidea` said:
just wondering has any one been able to do this successfully on their Hero's?
Click to expand...
Click to collapse
Have you tried doing some of the stuff from this site
http://android.modaco.com/content/htc-hero-hero-modaco-com/292093/debian-lenny-now-running-on-hero/
Its the gsm htc hero.. Different phone, but some of the stuff might definitely apply.
Heres a post I made after i got it to work
http://forum.xda-developers.com/showthread.php?p=6438126#post6438126
I GOT IT WORKING
here is a screen shot.. Im willing to do any kind of screen shot to prove it
Ill zip up my exact files that I use and the simple command to get it up and running.
Ill open up something and type my name and post a screen shot in a bit.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

[APP] Compiled lynx binary for android - Shell or ADB

I've searched the web, and found no lynx binaries for android, so I set out to compile it myself.
For the uninitiated, lynx is a text-based browser. No images, no javascript, no flash. Just pure content.
You can use it by connecting to your phone through adb, telnet, ssh or a shell on the phone itself.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
This is lynx version 2.8.8 with ncurses 5.9
I pretty much just followed the instructions at http://www.embedu.org/Column/Column294.htm, and added a flag to make the linking static. No code changes were required.
Installation instructions
Root is not required.
You need to unzip the file on the /sdcard folder. The following files must exist:
/sdcard/lynx/lynx.cfg
/sdcard/lynx/lynx.lss
/sdcard/lynx/cache/
Then you need to move the binary to /data/local (or /system/xbin if you want something more permanent. Then you'd need root)
and run this command:
chmod 755 /data/local/lynx
Then run :
/data/local/lynx
and enjoy!
Additional information
If you want to put these files somewhere else, you must redefine the following variables, respectively:
LYNX_CFG (eg: export LYNX_CFG=/system/etc/lynx.cfg)
LYNX_LSS (eg: export LYNX_LSS =/system/etc/lynx.lss)
TMPDIR (eg: export TMPDIR =/cache)
If you receive an error message about the terminal, you need to configure a terminal.
Here are some instruction (for nano, but it works the same)
Sources are at the following addresses:
http://lynx.browser.org/
http://www.gnu.org/s/ncurses/
reserved
soon get the flash-able package
Thanks! I installed this on my ZTE Blade with 2.3.4 Gingerbread, but after setting everything in Terminal Emulator, I get these errors:
Alert!: Unable to connect to remote host.
Looking up lynx.isc.org
Unable to locate remote host lynx.isc.org.
lynx: Can't access startfile http://lynx.isc.org
Click to expand...
Click to collapse
As if there were no internet connection...
Awesome
Will be testing on my thunderbolt later today. I'll let you guys know how it goes.
However, would you mind reposting this on RW, or would you mind if I were to repost it and link back?
[EDIT] In having just configured everything, I also get the error from the post above. It seems as though lynx thinks it doesn't have internet access. This is the case on 3g and wireless networks. Let me know if you want me to test anything for you.[/EDIT]
All the best,
-HG
Looks great.
May I add that to my script ?
http://forum.xda-developers.com/showthread.php?t=1191984
Well, I was able to install it from a chrooted ubuntu 10.10 distro on my device. It's already compiled for ARM on ports.ubuntu.com, so maybe it's not so exclusive.
Sent from my Milestone 2 XDA App
Sure
sebsch1991 said:
Looks great.
May I add that to my script ?
http://forum.xda-developers.com/showthread.php?t=1191984
Click to expand...
Click to collapse
Sure, go ahead. It's open-sourced after all, I just built it.
dangpzanco said:
Well, I was able to install it from a chrooted ubuntu 10.10 distro on my device. It's already compiled for ARM on ports.ubuntu.com, so maybe it's not so exclusive.
Sent from my Milestone 2 XDA App
Click to expand...
Click to collapse
Nice. Can you point me to the correct file? I got as far as http://ports.ubuntu.com/pool/universe/l/lynx-cur/, but I don't know which one contains the binary.
While this is quite cool, why lynx? Why not elinks? It has much better layout capabilities. It has tabs! It even has javascript.
Code:
[email protected]:/# apt-get install lynx
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
lynx
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/215kB of archives.
After this operation, 254kB of additional disk space will be used.
Selecting previously deselected package lynx.
(Reading database ... 66275 files and directories currently installed.)
Unpacking lynx (from .../lynx_2.8.8dev.2-1_all.deb) ...
I installed it that way.
Search for opkg (i think this is the name) if you are curious. It's a way of using deb packaging on Android (G1), but not in development anymore...
Sent from my Milestone 2 XDA App
I would be nice if someone could compile the HTTPS version of this so I could browse my banks mobile site
norti said:
Thanks! I installed this on my ZTE Blade with 2.3.4 Gingerbread, but after setting everything in Terminal Emulator, I get these errors:
As if there were no internet connection...
Click to expand...
Click to collapse
any solution ? i got the same problem...
hawkeyexp said:
any solution ? i got the same problem...
Click to expand...
Click to collapse
Can you ping any web address from the shell? What about wget, can you try that?
both pissble without problems
I am getting the following error
Looking up <url>.
Unable to locate remote host <url>
Alert!: Unable to connect to remote host.

Everything on the Windows Phone 8 Emulator

The Windows Phone 8 Emulator is installed as a part of the Windows Phone 8 SDK. You can follow some steps below to begin hacking the emulator.
Things to do:
everything....
InteropUnlock
BCD Editing
Well, first thing is first. Getting the WP8 SDK to install.
PREREQUISITES:
A SLAT capable CPU and BIOS. Some OEMs have only enabled the virtualization feature, but missed the SLAT feature.
Your computer needs to support hardware DEP (No execute bit for AMD).
An OS that supports Hyper-V: Server 2008, 2008R2, 2010, 2012, 2012R2, or Windows 8 Pro.
Note: AFAIK, the only officially supported OS for this is Win8Pro-x64
Access to a user account that has Administrator rights.
Steps for "Getting Ready!"
Set the date to 10/5/13 - one day before expiration (thanks to mister2d.)
Install the SDK normally. (Note: the complete SDK should be installable on any 64bit OS that has the OS version at 6.1 or newer, just follow the tutorial in my signature.)
Install the Visual Studio Update 4.
Install the Windows Phone Emulator - Update 3
Now, most of you can launch the emulator by opening the Windows Phone Deployment Tool (or Windows Phone Power Tools) and deploy to the resolution of choice and to either RTM or GDR3.
I seemed to hit a bug where XDE (the emulator shell) can't create a Virtual Machine properly. It seems to be surrounding the disk being attached improperly.
So.... You can skip the entire part above if you have the Flash.vhd and the desired resolution vhd.
Using the WP8 emulator only using Hyper-V Manager
Open Hyper-V Manager
Click on New, then Virtual Machine
Name the VM what ever you like.
Set RAM at 512 or 1024. 2048 me be a little finicky.
Leave Networking on Not Connected unless you have fully configured Hyper-V.
Select "Attach a virtual hard disk later"
Click Finish.
Right click on the VM you have just created and go to settings.
Click on DVD Drive and press remove.
Click on Hard Drive and paste the location of the desired resolution vhd.
e.g. C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0GDR3\Emulation\Images\Flash.480x800.vhd
Double click on the VM to bring up the control interface and press the blue-green "start" button.
Controls for the VM:
Back - Escape/F1
Start - F2
Search - F3
Vol UP - F9
Vol Down - F10
Camera full-press? - F7
Mouse left & right click - tap
NOTE: THE CURSOR DISAPPEARS WHEN MOVED INTO THE VM SCREEN.
Things disable out of box.
Microsoft accounts
dialer (I can't seem to get any of the dialer codes to work yet.)
camera (kinda...just displays a colored box running around the edges.)
Steps to InteropUnlock:
Attach the vhd
type diskmgmt.msc at the start screen. click attach vhd. paste the location of the vhd and press ok.
e.g. C:\Program Files (x86)\Microsoft SDKs\Windows Phone\v8.0GDR3\Emulation\Images\Flash.480x800.vhd
right click on blue disk shown and click on detach vhd once done with working on it.
type regedit.exe at the start screen.
Navigate to HKEY_LOCAL_MACHINE
Click File, Load Hive.
Go to the main partition (the one that has all the links to the other drives...)
and go down to Windows\System32\config (it will ask for permission to enter...)
Hmm....Seems to be interopunlocked already...
More soon!
reserved
Just saying this in case you didn't know this: You can mount the VHD file as a hardware and explore/edit emulator system files.
That's exactly what's in the op, but I'm not sure what persists and there's a few others too, but I ran out of time to mess with it. Just highlight the text and you'll see that the directions are there.
Essentially this should be able to operate like a real device, but it needs a few tweaks. Also its funny to see in settings for it to say i386 under the SoC.
Sent from my Lumia 928 (RM-860) using Tapatalk
Convert VHD into vmdisk, then you can run the emulator in VMWare directly with CPU without SALT or VT and can also without win8
Saw this over on the winbeta site. Didn't really check it out but may be useful in backing up any work done on the emulators. As I said I didn't take much time checking it out but may be worth a look. http://go.altaro.com/?LP=WinBeta-30...tm_medium=banner-300x250&utm_campaign=winbeta
What would be really nice is to make it so you can connect your MS account from the emulator.
jordanmills said:
What would be really nice is to make it so you can connect your MS account from the emulator.
Click to expand...
Click to collapse
Yeah it might just need an easy tweak, but then again I simply don't know.
Skin WP-Emulator
Skin WP-Emulator from MS Dev Center.
Maybe someone needs
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Nokser

Categories

Resources