Need help on last step of getting Streakbuntu 1.0! - Streak 5 General

I entered all the correct info in the terminal emulator, then pressed home and opened up the vnc viewer. I typed in:
Nickname:ubuntu
Password:ubuntu
Address:localhost
Port:5900
chose 24 bit color
Then I clicked "connect"
Then I recieve an error msg saying
"vnc connection failed
Localhost/127.0.0.1:5900 - connection refused"

Seanzy35 said:
I entered all the correct info in the terminal emulator, then pressed home and opened up the vnc viewer. I typed in:
Nickname:ubuntu
Password:ubuntu
Address:localhost
Port:5900
chose 24 bit color
Then I clicked "connect"
Then I recieve an error msg saying
"vnc connection failed
Localhost/127.0.0.1:5900 - connection refused"
Click to expand...
Click to collapse
I had the same problem, but I was using the Gscript emulator that DJ_Steve supplies with StreakDroid. So I uninstalled that and installed the free Terminal Emulator from the market and it connected just fine

Related

runtime error on my shift

Hi guys,
I don't know why when I close the IE or explorer everytime now. There's a error message pop up, and also a box pop up trying to open the IE or explore again.
What have I done wrong? or Did I install somthing in conflict?
eken said:
Hi guys,
I don't know why when I close the IE or explorer everytime now. There's a error message pop up, and also a box pop up trying to open the IE or explore again.
What have I done wrong? or Did I install somthing in conflict?
Click to expand...
Click to collapse
eken,
Please post the error message exactly to be able to help you further. The second popup is a Vista feature: when Vista detects that an application have stopped abnormally, it offers to troubleshoot or restart it.

[SOLVED] openvpn on DHD? tun.ko?

Has anyone managed to get openvpn going? compiling custom tun.ko file for DHD?
It's probably possible, now that we have the source. Don't have a DHD just yet, so can't try
Sent from my HDfied HTC Desire
Thread moved to General.
hello
i'm interesting too for the kernel mod tun.ko for the DHD
any reponse ?
Hello,
i'm very interesting in this file too...
My NAS awaits the phone "call".
Hey everyone. First time poster, so hoping its a happy reply
Has anyone had any luck with this ? i also require the tun.ko file for DHD. been searching the net for hours
looking forward to your replies.
I heard that tun.ko file has to be specifically compiled for each kernel version. Is that right?
Is it also linked to the radio version?
If we could have a link for kernel source, i might be able to follow tutorial and publish it here.
I have 2.6.32.21 -g66cfb7a kernel version and you? (not sure if the second part is part of the kernel version)
Lionel
Attached is tun.ko for the Desire HD (for kernel 2.6.32.21-gf3f553d). Built it today & it seems to insert OK and work fine with VPN Connections.
thedji said:
Attached is tun.ko for the Desire HD (for kernel 2.6.32.21-gf3f553d). Built it today & it seems to insert OK and work fine with VPN Connections.
Click to expand...
Click to collapse
Perfect! Thanks!!
Very thanks for the module.
DHD - tun.ko for 2.6.32.21-g66cfb7a
EFCAugure said:
I heard that tun.ko file has to be specifically compiled for each kernel version. Is that right?
Click to expand...
Click to collapse
Yes. After trying other people's tun.ko modules, it wasn't until I checked the output of dmesg that I learnt this (got my first Android 3 weeks ago - so I'm still a n00b).
EFCAugure said:
If we could have a link for kernel source, i might be able to follow tutorial and publish it here. I have 2.6.32.21 -g66cfb7a kernel version and you? (not sure if the second part is part of the kernel version)
Click to expand...
Click to collapse
Lionel, it would appear that my Desire HD has the same kernel.
2.6.32.21-g66cfb7a
2.6.32 is the base kernel version
I assume 21 is the revision or build number.
The hex string on the end seems to vary by which ROM you have installed. This was what was stopping me from loading these other tun.ko modules - including the one posted by @thedji
I've just compiled the tun.ko module for 2.6.32.21-g66cfb7a (on a headless Pentium 2 400 MHz lol). It loads fine and can be seen in the output of lsmod. I've attached it below.
Edit: I was able to use this module successfully to connect to a Cisco VPN with vpnc.
Mike
@MikeMelbourne
Can you explain to me how and with what Software you connected to a Cisco VPN?
C.K. said:
Can you explain to me how and with what Software you connected to a Cisco VPN?
Click to expand...
Click to collapse
First - applications.
1) You're going to need a terminal/console app. I used one called Terminal Emulator.
2) You're going to want an app called "VPN Connections". I downloaded a patched APK in post #4 here:
hxxp://code.google.com/p/get-a-robot-vpnc/issues/detail?id=122&q=patch
Alternatively, you might get it from here: hxxp://code.google.com/p/get-a-robot-vpnc/downloads/list (although YMMV).
Second - setup.
1) You're phone needs to be rooted.
2) You need to have the appropriate tun.ko module (for your phone's kernel) loaded. Load up the Terminal Emulator then:
a) Type 'su' without quotes and hit enter.
b) Type 'insmod /path/to/tun.ko' without quotes and press enter. If your tun.ko is on your sdcard in the root, the path would be /mnt/sdcard/tun.ko
c) If the step above worked, you should be able to type 'lsmod' and see the tun module loaded.
Note: I didn't have any luck running the "VPN Connections" app directly - the connection kept failing (possible due to the configuration of the VPN I was connecting to). So I start it from the command line. You might want to try using the GUI first as it would make things so much easier if it works.
Third - connecting to the VPN by a command line.
1) The command to enter is quite long (and I got sick of typing it), so I put it into a file called 2.sh in the root of the sdcard.
2) Inside the file /mnt/sdcard/2.sh, I entered the following:
Code:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1 --gateway AAA.BBB.CCC.DDD --id groupid --username mike --enable-1des
Note that the gateway is the IP address of the VPN you are connecting to. The username for me is just my username - it isn't prefixed by my company's active directory domain.
3) Open the Terminal Emulator.
4) Enter 'su' without quotes and press enter.
5) Enter 'sh /mnt/sdcard/2.sh' without quotes and press enter.
6) You will be asked to provide the group password, then the personal password for your username. Then it should attempt to connect.
You can change the debug value to 2 or 99 if you want to get more information (if it doesn't connect successfully).
If you want to know what command line options are available, enter the following at the Terminal Emulator:
Code:
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --long-help
I think that's it - I hope this helps. After disconnecting I tend to do a long reboot (takes 1-2 minutes) to get the network back to the way it was; although I'm not sure this is necessary.
Mike
Edit: seems like you need to create a directory and a symbolic link. This is my working script:
Code:
mkdir /dev/net
insmod /mnt/sdcard/download/tun.ko
lsmod
ln -s /dev/tun /dev/net/tun
/data/data/org.codeandroid.vpnc_frontend/files/vpnc --script /data/data/org.codeandroid.vpnc_frontend/files/vpnc-script --no-detach --natt-mode cisco-udp --debug 1 --gateway AAA.BBB.CCC.DDD --id groupid --username mike --enable-1des
Damn I hoped it woulld be easier. As I have never worked with Android that sounds like a challenge to me. So there is no easy switching on and off of the VPN connection? I always have to use the scripts?
C.K. said:
Damn I hoped it woulld be easier. As I have never worked with Android that sounds like a challenge to me. So there is no easy switching on and off of the VPN connection? I always have to use the scripts?
Click to expand...
Click to collapse
Because the "VPN Connections" GUI app didn't connect for me, I had to resort to the script - you may not need to (depending upon the configuration of your Cisco VPN box).
I just need to run the final script (the 5 liner above) to connect to the VPN - good enough for the time being. You just need to modify the path to tun.ko, set your gateway server, groupid & username.
I hadn't worked with Android before the weekend just past - I've just rooted my first Android phone. It's all a learning experience - I guess it depends how badly you want VPN access? Hopefully it will get easier in time as the apps improve.
Good luck!
Mike
You can use something GScript to make it a two-click process (open app, click script). It's just as efficient as using VPN Connections (open app, click connect).
For me personally, I use VPN Connections to connect (successfully) but the traffic is routed down the wrong interface (i.e. not tun0).
After connecting I have to run
Code:
ip ru del table wifi
or
Code:
ip ru del table gprs
to fix the issue.
You should definitely try VPN Connections first. If that doesn't work, try the long method above.
thedji said:
You can use something GScript to make it a two-click process (open app, click script). It's just as efficient as using VPN Connections (open app, click connect).
Click to expand...
Click to collapse
GScript is a great idea - it will save me doing any typing to connect to the VPN.
Once I added these VPNC flags (--natt-mode cisco-udp --enable-1des) to "VPN Connections" I was able to successfully connect after running the script in GScript.
It doesn't say I'm connected, however my IP address has been assigned and I can Remote Desktop to my work PC. My routing already seems to be ok, so I don't to run the 'ip ru del' commands that you do.
I'm pretty satisfied with this now... no typing - just point and press.
-Mike-
What about tap.ko? (needed for OpenVPN bridge mode)
Exposure said:
What about tap.ko? (needed for OpenVPN bridge mode)
Click to expand...
Click to collapse
What kernel version are you running? If you have '2.6.32.21-g66cfb7a' I could compile tap.ko for you?

CHevron WP7 USB device connections problem FIX!

1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
Attention: if port 443 is used (see on your list) stop IIS or exit Skype program
Links dead
DJTJ said:
Links dead
Click to expand...
Click to collapse
Link has an ellipsis in the middle of it.
Regardless, this "fix" did not work for me.
ilijan said:
1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
Attention: if port 443 is used (see on your list) stop IIS or exit Skype program
Click to expand...
Click to collapse
eureka!!! it worked!!!!
Now it just gets the error later
DJTJ said:
Now it just gets the error later
Click to expand...
Click to collapse
I mentioned this in the original thread:
DanielNTX said:
I had the same connection problem as everybody and then out of desperation I set my computer and phone date to the 1/10/11 and tried and it worked!
Click to expand...
Click to collapse
meletios said:
Guys.. finally..atleast I had my phone unlocked by chevron..
change the date to a future date(as a post earlier suggested, thanks ) , for me it was 01/Oct/2011...it worked finally..dont know how everything else pans out....will update..
Click to expand...
Click to collapse
Set the time and date of the phone and computer back to like 1/10/2011 and it should work.
For some reason the spoof'ed developerservices.windowsphone.com address to your local machine rejects the HTTPS 443 request if the date is correct. I think it was a built in kill switch by the original devs of ChevronWP7. Because the program can tell whether if the phone is pin-locked or not and will display a message accordingly meaning it definitely has a connection.
Setting the date back seems to have no effect here. I changed the date of the computer and the phone to the 1st of january 2011. Reconnected the phone, waited until sync to zune finished and retried. Still the same problem.
ilijan said:
1. Have Winphone developer tools installed. Download it for yourself
2. Connect Phone via USB
3. Wait till zune starts and sync completes
4. Verify that zune is not in a guest relationship
5. open a command prompt, type netstat -a to confirm that port 443 is not being used
6. open an admin command prompt, navigate to c:\windows\system32\drivers\etc\ then type notepad hosts and delete any references to windowsphone developer services
7. go to the settings on the phone and turn airplane mode on (so that the phone is forced to use internet via zune)
8. While the phone is still on the settings page, run Chevron with admin privileges
Attention: if port 443 is used (see on your list) stop IIS or exit Skype program
Click to expand...
Click to collapse
Thanks! Was the developer services in the HOSTS file that fixed for me.
it work properly for me ... if you sync with zune its automatickly broke the chevron unlock... just go step by step and you can unlock your phone withou connection issus usb error...GL & HF
what helps is just to sync for example one mp3 with zune before,t hen run chevron
doesn't works for me :s :s
How do you clear port 443? And how do you delete the host file after typing in cmd.exe?
yes....i do it....but...it's the same error...aaarrrhhhhh....
For two days the same error....I can not understand why, and I have done everything ... sure ...
please, help me...
P.S.
My os is a 64 bit, but i tried also a 32 bit so....windows 7 ultimate in both case...
i think its enught try this step:
connect hd2 to pc via usb ,
zune start and sync.
you must have UNLOCKED SCREAN not black screen not lock screan!!
your devie must be on.
navigate to c:\windows\system32\drivers\etc\hosts double click and open with NOTEPAD...
look down and REMOVE!!!!!all this text from the host file:
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
if its removed put X to close the notepad, its open dialog windows and you click to yes save it.
after that go to chewron and run as administrator
and just unlock the device
for me it worked only when I closed all the messenger clients (skype, ym, oovoo, live), not only skype...you can try this too
Very helpful, Im assuming it worked because it gave me the option to "relock" the phone?
Doesn't change anything for me with Xp pro. Always same error but it's certainly normal caus' i'm not able to instal wP7 sdk
Success!
My problem was that I had no internet connection in Zune.
I only use my Android phone to tether to the internet, and this whole time I wasn't tethered online.
It seems Zune MUST have an internet connection, and the phone MUST be in airplane mode for this to work.
ilijan said:
i think its enught try this step:
connect hd2 to pc via usb ,
zune start and sync.
you must have UNLOCKED SCREAN not black screen not lock screan!!
your devie must be on.
navigate to c:\windows\system32\drivers\etc\hosts double click and open with NOTEPAD...
look down and REMOVE!!!!!all this text from the host file:
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
192.168.1.102 developerservices.windowsphone.com
if its removed put X to close the notepad, its open dialog windows and you click to yes save it.
after that go to chewron and run as administrator
and just unlock the device
Click to expand...
Click to collapse
I connect hd2 to pc via usb ,
I zune start and sync.
I have UNLOCKED SCREAN not black screen not lock screan!!
My device is be on.
I navigate to c:\windows\system32\drivers\etc\hosts double click and open with NOTEPAD...
look down and REMOVE!!!!!all this text from the host file:
169.254.194.227 developerservices.windowsphone.com
Close and save...
But still the problem
Me too...same problem...
The error says "make sure it's connected using usb"....
Damn

[Best Solution] ChevronUnlocker connection issue.

Drakosha said:
Hello to all!
I think, I've finally found the reason why Chevron almost never works. After a few days of struggle, I managed to successfully unlock my HD2 three times in a row, all by the same trick.
The idea is to change the IP which Chevron emulates DURING the process of jailbreak. Here's step-by-step.
1 - Disable LAN card in your PC (Control Panel\Network and Internet\Network Connections\ right click on "Local Area Connection" and choose "disable"). It is very important to disable ALL connections, but you MUST remember which one is used for Internet access (see below, why).
2 - Do all the standard steps of unlock - install certificate, start WPConnect e.t.s. When Chevron fails to unlock - LEAVE IT OPEN.
3. Start Notepad and open hosts. Delete lines added by Chevron (at the bottom). Save. LEAVE NOTEPAD OPEN.
4. Press Win+R and enter IPConfig /flushdns , press "enter". CMD window will blink for a second - that's normal.
5. Press Win+R again (there will be IPConfig /flushdns typed already), but DO NOT PRESS "ENTER", just leave this window open.
6. Now the trick. Start WPConnect. WHILE it connects, continue to repeatedly press "Unlock" button in Chevron, until the black CMD window of WPconnect disappears. Chevron will fail to do its job, but that's in fact is the very thing we need.
7. Now, do not touch Chevron window, just return to Network Connections and ENABLE yor LAN card.
8. Go to Notepad and JUST CLICK "Save", do not alter anything inside.
9. Return to the window with the typed command IPConfig /flushdns . Press Enter.
10. Start WPConnect, WAIT until it disappears, and press "Unlock" button in Chevron. You're done - this time unlock would work.
At least, it worked for me 3 times in a row, while NO other ways worked.
Best regards - Draco.
P.S. If you have firewall - disable it before doing anything.
P.P.S. Win7 from NAND + MDJ Desire HD 4.4 from SD = best phone in the world
Click to expand...
Click to collapse
I have followed other guides posted here before, but none is as reliable as this one. Flawless. (Note that Zune is not required at all during this process, WPConnect is used)
Extra precautions :
1) Make sure port 443 is not used. You can open command prompt and type netstat -aon. From there, check which ip ends with 443 and check its PID number.
Once you have acquired the PID, go to command prompt and type tskill <PID number>.
2) Close skype.
3) Turn off your antivirus / firewall.
4) Make sure that during executing WPconnect.exe you're phone should NOT in be in sleep-mode/locked.
5) Make sure your host file located in C:\Windows\system32\drivers\etc\ is not read-only.
Credits to member Drakosha.
Thanks for the guide.
I am a noob.. so... what is WPConnect? Sorry for the stupid question.
Thanks in advance.
dissa said:
Thanks for the guide.
I am a noob.. so... what is WPConnect? Sorry for the stupid question.
Thanks in advance.
Click to expand...
Click to collapse
WPconnect is an executable used to connect your PC to wp7 devices without having to open ZUNE.
You can find out more about it here http://forum.xda-developers.com/showthread.php?p=10609273#post10609273
I test all solution, why not these one? I will reflash WP7 and test
Thanks for the TIP !
Ok.. now I know.. but the major problem is that I have Windows Xp.. so no chance to try tha trick... :-(
As I click on WPConnect.exe it just blinks for 1 second an closes then. What am I doing wrong?!
birel3107 said:
As I click on WPConnect.exe it just blinks for 1 second an closes then. What am I doing wrong?!
Click to expand...
Click to collapse
Can you read what is says in the window before it closes? Usually WPconnect just opens for 2-3 seconds and after a connection is established it will close back. If it says "Connection is established" or something like that, means you're good to go.
Read the steps carefully.
Ahah, i remove WP7 from my device but i test WPConnect, got the same problem... So i made a quickscreenshot, to see the error message, this is it !!
or this one!
yeah, that's just the same as I get when running WPConnect.
Yes but does it solve your problem?
I post 2 screenshot;
-Compltly close Zune
-Connect the device
Here's what i did, connect the phone to PC via USB, let zune opens and sync. Then close zune. Rune WPconnect.exe. It should say "Trying to establish a connection with blablabal" then "Connection established" and it will close. Try that.
G-ThGraf said:
Ahah, i remove WP7 from my device but i test WPConnect, got the same problem... So i made a quickscreenshot, to see the error message, this is it !!
Click to expand...
Click to collapse
You mean you dont have WP7 on your HD2 and you try WPconnect with it? That wont work. Anyways also make sure you're not in sleep mode or lock mode when you use wpconnect.
Niglet said:
You mean you dont have WP7 on your HD2 and you try WPconnect with it? That wont work. Anyways also make sure you're not in sleep mode or lock mode when you use wpconnect.
Click to expand...
Click to collapse
No it was for help birel !
Sent from my HTC HD2 using XDA App
I made it 3 times and it works !
BIG BIG Thanks!
G-ThGraf said:
I made it 3 times and it works !
BIG BIG Thanks!
Click to expand...
Click to collapse
how was the setting on the phone? Language, region, flight-mode (on/off), wlan, date/time (automatic).
I'm from Russia. sorry for my english. stll, not working for me, i'v done all steps, but can't unlock my hd2.
birel3107 said:
how was the setting on the phone? Language, region, flight-mode (on/off), wlan, date/time (automatic).
Click to expand...
Click to collapse
Hum, only (no lock--> set to never..)
I did, step by step what |OP| Posted !
I got so excited when I found this particular thread. Of all the hacks and mods for Chevron out there this one seemed to be the most realistic solution. I have to XP machines. I managed to install Windows Phone Development Tools on one(everything works except emulator and debuger) I downloaded the WPDTOctober2010Update_en.msp, and insured it installed to C:\Program Files\Microsoft SDK's\Windows Phone\v7.0\Tools\WPConnect.exe.(REBOOTED)
After I set up my HD2(again) Followed all the sugested settings, and downloaded Chevron cert via WIFI email. I began the steps on the 1st post.
1) I disabled all connections
2) I plugged in phone and through file explorer double clicked on WPConnect.exe and I got this error
" C:\Program Files\Microsoft SDK's\Windows Phone\v7.0\Tools\WPConnect.exe is not a valid Win32 application."
I bet if I had WINDOWS 7 this would not be the case. Any help, advise solutions would be appreciated. Thanks.
Improve said:
I got so excited when I found this particular thread. Of all the hacks and mods for Chevron out there this one seemed to be the most realistic solution. I have to XP machines. I managed to install Windows Phone Development Tools on one(everything works except emulator and debuger) I downloaded the WPDTOctober2010Update_en.msp, and insured it installed to C:\Program Files\Microsoft SDK's\Windows Phone\v7.0\Tools\WPConnect.exe.(REBOOTED)
After I set up my HD2(again) Followed all the sugested settings, and downloaded Chevron cert via WIFI email. I began the steps on the 1st post.
1) I disabled all connections
2) I plugged in phone and through file explorer double clicked on WPConnect.exe and I got this error
" C:\Program Files\Microsoft SDK's\Windows Phone\v7.0\Tools\WPConnect.exe is not a valid Win32 application."
I bet if I had WINDOWS 7 this would not be the case. Any help, advise solutions would be appreciated. Thanks.
Click to expand...
Click to collapse
This is the one that i use on Windows Seven 64 bits Ultimate

Can't get MSL code(Shows blank, screenshots)

Hello! im stuck on the step where i type in getprop ril.MSL i only get a blank space
i.imgur.com/ZaKBhQO (DOT) jpg
here a screenshot of the cmd line
I made sure to type in the wrong code first before running the commands
I tried running from the computer after connecting to the phone and command line emulator on the phone itself, same thing, blank.
Phone is jailbroken and is downgraded to MDC
Samsung Galaxy S4 Sprint
Update: I installed Get My MSL and it gives me this error "could not get property ril.msl"
Bump:
Anyone? any ideas at all? I don't need a sim card in the phone for this process right?
Try this one and I'm not sure about having the sim but you need a data connection.
w7excursion said:
Try this one and I'm not sure about having the sim but you need a data connection.
Click to expand...
Click to collapse
Wow it worked, thanks so much.

Categories

Resources