|
Welcome to the GSM-Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Only registered members may post questions, contact other members or search our database of over 8 million posts. Registration is fast, simple and absolutely free so please - Click to REGISTER! If you have any problems with the registration process or your account login, please contact contact us . |
|
Register | FAQ | Donate | Forum Rules | Root any Device | ★iPhone Unlock★ | ★ Direct Codes ★ | Direct Unlock Source |
GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets. |
| LinkBack | Thread Tools | Display Modes |
02-18-2012, 02:55 | #1 (permalink) |
Freak Poster Join Date: Oct 2009
Posts: 283
Member: 1144205 Status: Offline Thanks Meter: 75 | vb.net adb search usb connection for angel25dz in this section and search some "try catch" Imports System.Threading PublicClass Form1 PrivateSub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) HandlesMyBase.Load EndSub PrivateSub adb() Dim startInfo AsNew ProcessStartInfo("CMD.exe") startInfo.Arguments = "shell" startInfo.UseShellExecute = False startInfo.RedirectStandardInput = True startInfo.RedirectStandardOutput = True startInfo.CreateNoWindow = True Dim adbProcess As Process = Process.Start(startInfo) Thread.Sleep(5000) Dim adbInput As IO.StreamWriter = adbProcess.StandardInput Thread.Sleep(5000) Dim adbOutput As IO.StreamReader = adbProcess.StandardOutput Thread.Sleep(5000) adbInput.WriteLine("CD..") adbInput.WriteLine("C:\adb\adb.exe start-server") Thread.Sleep(5000) adbInput.WriteLine("C:\adb\adb.exe reboot recovery") Thread.Sleep(5000) adbInput.WriteLine("C:\adb\adb.exe kill-server") Thread.Sleep(5000) adbOutput.Close() EndSub PrivateSub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click adb() EndSub EndClass reset gmail account |
The Following 2 Users Say Thank You to smithjhon For This Useful Post: |
Bookmarks |
| |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
5110 v 6.0 after unlocking problem with net | cole | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 2 | 01-10-2001 16:11 |
Nokia 6110 Net Monitor | gsmxc | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 1 | 12-04-2000 21:28 |
Nokia 6110 without net. couldnīt call 911 either! | DennisT | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 3 | 05-09-2000 11:37 |
"Menu 11"? after Net monitor | Pyron | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 1 | 08-09-1999 10:07 |
Nokia 6110 Net Monitor | Frickles | Nokia Legacy Phones ( DCT-1 ,2 ,3 ,L ) | 3 | 07-26-1999 13:05 |
|