GSM Shop GSM Shop
GSM-Forum  

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 .

Go Back   GSM-Forum > Other Gsm/Mobile Related Forums > GSM Programming & Reverse Engineering


GSM Programming & Reverse Engineering Here you can post all Kind of GSM Programming and Reverse Engineering tools and Secrets.

Reply
 
LinkBack Thread Tools Display Modes
Old 09-18-2011, 22:36   #91 (permalink)
No Life Poster
 
fr3nsis's Avatar
 
Join Date: Oct 2005
Location: Rome , Italy
Posts: 1,530
Member: 190882
Status: Offline
Sonork: BB PIN: 7C83D9CE
Thanks Meter: 1,282
Donate money to this user

Quote:
Originally Posted by salmawy2 View Post
If i use winapi i must use c++ and i only know vb.net so pleaseeeeee help me .
thanks in advance
U are wrong

Inviato dal mio HTC Desire S usando Tapatalk
  Reply With Quote
Old 09-18-2011, 22:38   #92 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Quote:
Originally Posted by fr3nsis View Post
U are wrong

Inviato dal mio HTC Desire S usando Tapatalk
the on;y tutorial i can find is in C++
if there's any othe solution please help me with it.
btw i really want to thank you for the huawei algo i used it to do a calculator for blackberry devices so i can calculate any code even if i'm out.
Thanks and please help me to find a solution
  Reply With Quote
Old 09-19-2011, 03:51   #93 (permalink)
No Life Poster
 
fr3nsis's Avatar
 
Join Date: Oct 2005
Location: Rome , Italy
Posts: 1,530
Member: 190882
Status: Offline
Sonork: BB PIN: 7C83D9CE
Thanks Meter: 1,282
Donate money to this user
Find my source about Nokia connection over usb need only to change virtual path

Inviato dal mio HTC Desire S usando Tapatalk
  Reply With Quote
The Following User Says Thank You to fr3nsis For This Useful Post:
Old 09-19-2011, 16:43   #94 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Quote:
Originally Posted by fr3nsis View Post
Find my source about Nokia connection over usb need only to change virtual path

Inviato dal mio HTC Desire S usando Tapatalk
hello
i kept searching for 3 hours for this but i didn't fin anything in vb.net except
Code:
Imports Microsoft.Win32.SafeHandles
Imports System.Runtime.InteropServices
Imports System.Threading

'//////////////////////////////

  Friend Const FILE_ATTRIBUTE_NORMAL As Int32 = &H80
    Friend Const FILE_FLAG_OVERLAPPED As Int32 = &H40000000
    Friend Const FILE_SHARE_READ As Int32 = 1
    Friend Const FILE_SHARE_WRITE As Int32 = 2
    Friend Const GENERIC_READ As UInt32 = &H80000000UL
    Friend Const GENERIC_WRITE As UInt32 = &H40000000
    Friend Const OPEN_EXISTING As Int32 = 3
Please help
Thanks in Advance
  Reply With Quote
Old 09-19-2011, 16:49   #95 (permalink)
No Life Poster
 
Join Date: Feb 2008
Posts: 838
Member: 715596
Status: Offline
Thanks Meter: 244
This soft is not working
  Reply With Quote
Old 09-19-2011, 16:59   #96 (permalink)
No Life Poster
 
fr3nsis's Avatar
 
Join Date: Oct 2005
Location: Rome , Italy
Posts: 1,530
Member: 190882
Status: Offline
Sonork: BB PIN: 7C83D9CE
Thanks Meter: 1,282
Donate money to this user
http://forum.gsmhosting.com/vbb/f83/...5/#post4808463

path is

Code:
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000#{80375827-83b8-4a51-b39b-905fedd4f118}\MAIN 
  Reply With Quote
The Following User Says Thank You to fr3nsis For This Useful Post:
Old 09-19-2011, 20:13   #97 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Quote:
Originally Posted by fr3nsis View Post
http://forum.gsmhosting.com/vbb/f83/...5/#post4808463

path is

Code:
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000#{80375827-83b8-4a51-b39b-905fedd4f118}\MAIN 
Please how to add to add the "\MAIN" part
Thanks in Advance
  Reply With Quote
Old 09-19-2011, 20:17   #98 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Quote:
Originally Posted by salmawy2 View Post
Please how to add to add the "\MAIN" part
Thanks in Advance
Finally did it but trying to continune
Thanks
  Reply With Quote
Old 09-19-2011, 20:19   #99 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
but i get this device path
Quote:
\\?\usb#vid_0fca&pid_8004&mi_00#6&291ced08&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN
no the one you wrote
is that normal??
Thanks
  Reply With Quote
Old 09-21-2011, 12:26   #100 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Please any one help
Thanks in Advance
  Reply With Quote
Old 09-21-2011, 12:26   #101 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Please any one help
Thanks in Advance
  Reply With Quote
Old 09-23-2011, 14:19   #102 (permalink)
Freak Poster
 
josedavido's Avatar
 
Join Date: Apr 2005
Location: Inside Vb.Net
Age: 41
Posts: 374
Member: 140822
Status: Offline
Sonork: 100.1594493
Thanks Meter: 1,010
Tnahks to Mr, Francesco i can connect using USB, BUT still have problems.
exist some differences between the founded path and the fr3ncis one.

Mr. Fr3ncis one: \\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN
Founded one: \\?\usb#vid_0fca&pid_0001#5&1865e169&0&2#{80375827-83b8-4a51-b39b-905fedd4f118}

so, i allwayse get the same error : "Phone not found"
i am using just a part of string: {80375827-83b8-4a51-b39b-905fedd4f118}
cause GUID don't let me put the full path (format not accepted)

i try to add this string :
Dim devicePathName As String = find_device()
deviceHandle = CreateFile(devicePathName & "\MAIN", GENERIC_READ Or GENERIC_WRITE, FILE_SHARE_READ, IntPtr.Zero, OPEN_EXISTING, _
FILE_ATTRIBUTE_NORMAL, 0)

but still NOT WORKING


What can I do??


thanks in advance

Last edited by josedavido; 09-23-2011 at 14:24.
  Reply With Quote
Old 09-23-2011, 14:40   #103 (permalink)
Freak Poster
 
Join Date: Aug 2009
Location: E G Y P T
Age: 26
Posts: 347
Member: 1102520
Status: Offline
Sonork: 100.1617999
Thanks Meter: 94
Quote:
Originally Posted by josedavido View Post
Tnahks to Mr, Francesco i can connect using USB, BUT still have problems.
exist some differences between the founded path and the fr3ncis one.

Mr. Fr3ncis one: \\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN
Founded one: \\?\usb#vid_0fca&pid_0001#5&1865e169&0&2#{80375827-83b8-4a51-b39b-905fedd4f118}

so, i allwayse get the same error : "Phone not found"
i am using just a part of string: {80375827-83b8-4a51-b39b-905fedd4f118}
cause GUID don't let me put the full path (format not accepted)

i try to add this string :
Dim devicePathName As String = find_device()
deviceHandle = CreateFile(devicePathName & "\MAIN", GENERIC_READ Or GENERIC_WRITE, FILE_SHARE_READ, IntPtr.Zero, OPEN_EXISTING, _
FILE_ATTRIBUTE_NORMAL, 0)

but still NOT WORKING


What can I do??


thanks in advance
you have to add "/MAIN" in this part
Code:
        devicePathName = Marshal.PtrToStringAuto(pDevicePathName) + "\MAIN"
this is in the find-device part
if i am wrong please anyone tell us what's the right solution
Thanks
  Reply With Quote
Old 09-23-2011, 16:40   #104 (permalink)
Freak Poster
 
josedavido's Avatar
 
Join Date: Apr 2005
Location: Inside Vb.Net
Age: 41
Posts: 374
Member: 140822
Status: Offline
Sonork: 100.1594493
Thanks Meter: 1,010
Still persist the same problem.

Here with device connected:
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- fr3ncis
\\?\usb#vid_0fca&pid_0001#5&23991be5&0&1#{80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- Device answer

Here with device disconnected
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- fr3ncis
픑㨊ĉ疐秫锰#㰈$数$Ď疐秫提$땰!䕐$ ij㹨$䕄䉐\MAIN <-- Device answer

in both cases, wrong answer


.... I love programming, cause when we get succes, it makes me really happy
i will keep working on it till i finish
  Reply With Quote
The Following User Says Thank You to josedavido For This Useful Post:
Old 09-24-2011, 12:49   #105 (permalink)
Product Manager
 
orbita's Avatar
 
Join Date: Apr 2002
Location: nckDongle
Posts: 13,325
Member: 11170
Status: Offline
Sonork: 1603694
Thanks Meter: 6,944
Quote:
Originally Posted by josedavido View Post
Still persist the same problem.

Here with device connected:
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- fr3ncis
\\?\usb#vid_0fca&pid_0001#5&23991be5&0&1#{80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- Device answer

Here with device disconnected
\\?\usb#vid_0fca&pid_8004&mi_00#7&34ebb32b&0&0000# {80375827-83b8-4a51-b39b-905fedd4f118}\MAIN <-- fr3ncis
픑㨊ĉ疐秫锰#㰈$数$Ď疐秫提$땰!䕐$ ij㹨$䕄䉐\MAIN <-- Device answer

in both cases, wrong answer


.... I love programming, cause when we get succes, it makes me really happy
i will keep working on it till i finish

why you not use detect by GUID?
in this way you will have right device path when windows will detect new device with specified guid '80375827-83b8-4a51-b39b-905fedd4f118' .
it's not recomended to use constant's when you conecting device, conection path will not be same all times.
  Reply With Quote
The Following 3 Users Say Thank You to orbita For This Useful Post:
Show/Hide list of the thanked
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
MEPSERVER - 1ST IN WORLD - BLACKBERRY MEP READER built for MAC users FuriouS TeaM FuriousGold 35 06-09-2010 09:56
ALL BlackBerry Meps Level & HTC qualcomm/Omap code reader ! Professional Services !! MB code Main Sales Section 0 03-03-2010 02:33

 



All times are GMT +1. The time now is 06:16.



Powered by Searchlight © 2024 Axivo Inc.
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
- GSM Hosting Ltd. - 1999-2023 -
Page generated in 0.26283 seconds with 10 queries

SEO by vBSEO