Question Can't find the Virtual CD with the USB Drivers - OnePlus 9 Pro

Hiya folks.
I am feeling like kind of an idiot here but I can't find this magical virtual CD that allegedley contains the USB Drivers I need to allow ADB to play nicely with my phone.
The phone is connected, I can see and browse the internal storage on the "OnePlus 9 Pro 5G" folder - But there's no virtual CD showing up at all. I have tried with and without developer mode in all of the connection options (Charge only, Files, Photos).
I wouldn't mind except I want to unlock the bootloader, and I can't find any USB drivers that will work. There are a lot of dodgy looking sites, but none of them seem legit at all.
I am using Windows 11, and it's an unlocked North American T-Mobile phone.
[Update, tried on Windows 10 as well but that didn't have it either]

Lorry said:
Hiya folks.
I am feeling like kind of an idiot here but I can't find this magical virtual CD that allegedley contains the USB Drivers I need to allow ADB to play nicely with my phone.
The phone is connected, I can see and browse the internal storage on the "OnePlus 9 Pro 5G" folder - But there's no virtual CD showing up at all. I have tried with and without developer mode in all of the connection options (Charge only, Files, Photos).
I wouldn't mind except I want to unlock the bootloader, and I can't find any USB drivers that will work. There are a lot of dodgy looking sites, but none of them seem legit at all.
I am using Windows 11, and it's an unlocked North American T-Mobile phone.
[Update, tried on Windows 10 as well but that didn't have it either]
Click to expand...
Click to collapse
Are you talking about USB drivers for the OnePlus phone?

TheGhost1951 said:
Are you talking about USB drivers for the OnePlus phone?
Click to expand...
Click to collapse
Yes... I have managed to install it using somebody else's suggestion of installing "Driver Booster" which found and corrected it for me - But I'd still like a proper install package for it and I have no idea where that magical Virtual-CD is!
(Also I just noticed that my signature is about a decade or more out of date )

Lorry said:
Yes... I have managed to install it using somebody else's suggestion of installing "Driver Booster" which found and corrected it for me - But I'd still like a proper install package for it and I have no idea where that magical Virtual-CD is!
(Also I just noticed that my signature is about a decade or more out of date )
Click to expand...
Click to collapse
Just do a Google search for latest OnePlus USB drivers and you will find them very easy. Make sure to disable driver signature verification on PC and reboot before installing drivers and reboot after installing. Done!

Here are the drivers provided by support along side the MSM tool:
https://mega.nz/file/2cACiDgS#9U1K2-2WAu7lqp9ErX4C3eSdWJG0VnKIqbVRrLFxbWU

Give a man a fish and you feed him for the day! Teach a man to fish and you feed him for life!

Related

How to use SDK to root the phone?

Hi all,
I have just switched from the HD2 to the MT3G Slide and want to root the phone.
I knew how to do all the stuff on the HD2 from reading but cannot find any information here. The sticky placed on the top isn't much help because I know you need to use the Android SDK tool but I do not know how to set that up. & when I try to use the command line I cannot type in it. Please can someone give me some help on how to do this so I can get started on rooting my phone.
Thanks for reading!
you claim you read the sticky but yet if you had you would have seen the link on the first page i believe that tells you to get sdk from [link] and then on that page there is a link that says setting up SDK on your [OS] computer. then just follow the steps in there(which is really more like download file and double click setup) after that you can open up a terminal/console/cmd and type in cd \path to sdk\tools
if you are on mac or linux(unlikely since you can't read or search) you would type in
cd /path/to/sdk/tools notice how the slash between directories(folders) is the other way around
then follow the directions in the root thread(incredibly difficult i know but you should still try to do this part on your own)
tubaking182 said:
you claim you read the sticky but yet if you had you would have seen the link on the first page i believe that tells you to get sdk from [link] and then on that page there is a link that says setting up SDK on your [OS] computer. then just follow the steps in there(which is really more like download file and double click setup) after that you can open up a terminal/console/cmd and type in cd \path to sdk\tools
if you are on mac or linux(unlikely since you can't read or search) you would type in
cd /path/to/sdk/tools notice how the slash between directories(folders) is the other way around
then follow the directions in the root thread(incredibly difficult i know but you should still try to do this part on your own)
Click to expand...
Click to collapse
Okay I have downloaded all of the Android SDK already. I have read it but my issue is when I try to type in the command it will not let me type. I also read that Anroid SDK is for xp & vista only and that windows 7 was not listed, so it this my issue? The command line you speak of is the one with the SDK tools and not the acutal windows CMD line?
I have followed everything to the line but still cannot seem to get this to work.
and to be clear I did read and there is nothing on there that states you need to have SDK to root the MT3GS. It says to download the slide_root
what operating system are you doing this on? that would be more helpful so i could tell you how to set this up correctly
tubaking182 said:
what operating system are you doing this on? that would be more helpful so i could tell you how to set this up correctly
Click to expand...
Click to collapse
windows 7. I have android SDK and I have downloaded the 2.1 Android pack.
if you are using windows 7 x64(very likely) then you cannot use that computer and you should try using ubuntu(same as using mac for 99% of the steps and there is a thread in q and a talking about this right now) or setting up a virtual machine and installing xp and using that to hack your phone. virtual machines are easy to setup and use if you can use virtualbox
tubaking182 said:
if you are using windows 7 x64(very likely) then you cannot use that computer and you should try using ubuntu(same as using mac for 99% of the steps and there is a thread in q and a talking about this right now) or setting up a virtual machine and installing xp and using that to hack your phone. virtual machines are easy to setup and use if you can use virtualbox
Click to expand...
Click to collapse
download virtual box right now. will that come with xp installed on it or would I need to download that onto it?
thanks for all of your help.
you will need to get an xp install cd or iso to install xp on it. if you have any friends with xp install disks or you can find one online and use it as a trial(no key=no activation=30 day trial) then you can use it for a day and root with that.
disclaimer: i suggest totally legal versions of windows xp, any install disk you download or get illegally is your fault when the FBI/Bill Gates comes to the door
tubaking182 said:
you will need to get an xp install cd or iso to install xp on it. if you have any friends with xp install disks or you can find one online and use it as a trial(no key=no activation=30 day trial) then you can use it for a day and root with that.
disclaimer: i suggest totally legal versions of windows xp, any install disk you download or get illegally is your fault when the FBI/Bill Gates comes to the door
Click to expand...
Click to collapse
Instead of suggesting that he commits a felony why don't you tell him to use Ubuntu in the virtual machine? It'll take a little longer but it's less likely he'll be fined.
i didn't say commit a felony, and if you are going to use ubuntu then you don't need a virtual box(dumbass) you can use a live cd. i have been told by microsoft on MANY occasions that if you have a friend with XP install disks then you may use those, as well as the fact that installing it for one day in a virtual box is not illegal if you are not using a cracked key/re-used key, you can choose not to use a key and it is a temporary install for yourself to use either until you get a key, or the 30 days is up. much like you can buy vista/7 and install a different version if you like, but you will have to uninstall it and reinstall using the version i bought a key for once the trial has expired. read up and do your homework before you jump down someone's throat, it makes you look like an ass when i have to come back in here and teach you what a computer is
I set up and rooted two phones with windows 7.. I installed the sdk and pdanet drivers and thats it..
using 64-bit? last i knew there was no 64-bit adb driver so i didn't even try with my win7 x64 machine, i used my vista x32 box to root my phone.
http://forum.xda-developers.com/showthread.php?t=532719 this exact guide and links
tubaking182 said:
using 64-bit? last i knew there was no 64-bit adb driver so i didn't even try with my win7 x64 machine, i used my vista x32 box to root my phone.
Click to expand...
Click to collapse
I'm using Windows 7 x64 Bit Ultimate Edition..
The Guide was written from using Windows Machine Yes, it works just fine
eugene373 said:
I'm using Windows 7 x64 Bit Ultimate Edition..
The Guide was written from using Windows Machine Yes, it works just fine
Click to expand...
Click to collapse
Is there anyway that you could give me a little help on getting this to work. When ever I try to type in the command line when i pull up the SDK it doesn't do anything. and when I try to pull up abd it just pops up a CMD for a quick two seconds.
look at link I posted
turboyo said:
look at link I posted
Click to expand...
Click to collapse
thanks. didn't see it. saw the last post was posted by eugene and scrolled down as fast as i could lol.
So the Command line is the CMD program through windows? I don't understand why someone wouldn't set me straight on that since I was saying the command line in SDK wasn't letting me type anything
Installing Drivers
Plug in your phone through USB and DO NOT MOUNT IT!!!!!
Your computer should see a new device and try to install Android 1.0 driver (If it doesnt, scroll down to the "Im not getting a notification of Android ADB when i plug in my USB" section)
Let it load
Once it cant find them select "Install drivers from my pc"
The drivers you need are in the Android SDK 1.5r2 folder (C:\android-sdk-windows\usb_driver)
Depending on your OS pick x86 or amd64
You ADB Android Device should now be installed! Good Job
When I do this part it doesn't find the ABD driver but it does not have anywhere to install drivers from my pc at all on my windows 7
edit: found where to go to add the usb drivers but when I select the folder all I get is "windows cannot find driver software on your pc"
edit 2: Found out what driver I needed, thanks for the guide source going to try to root this thing finally
tubaking182 said:
using 64-bit? last i knew there was no 64-bit adb driver so i didn't even try with my win7 x64 machine, i used my vista x32 box to root my phone.
Click to expand...
Click to collapse
Lol seems to me another dumb ass MAC user with nothing more to than make fun of people for not buying a. Crappy MAC. Unless you edit video for a movie company. Don't buy mac. Steve Jobs is a jobber. Plus macs. Suck. Win 7 rocks. Hate vista. Stfu mactard....
Sent from my T-Mobile myTouch 3G Slide using XDA App
Ps not everyone should have a rooted phone. If after about a million tries. Just quit. There are plenty of how toos in the forums. They work read slowly and then read slowly again.
Sent from my T-Mobile myTouch 3G Slide using XDA App

How to use Bitpim with the Kin 2(tutorial)

I have seen many people asking about bitpim and the kin phones and many with no solutions or answers to their questions. It IS possible to use bitpim to view the file system with these devices. I haven't seen any tutorials on how to do it so I've decided to post a step by step guide.
The things you will need:
Kin Two or Kin TwoM(I have not been able to test this on a Kin One or OneM)
A micro usb data cable
Bitpim
Drivers for the Kin available below
http://rapidshare.com/files/439206164/KinPixiPreCentroTreo800w_etc_DiagDrivers.zip
Don't worry about fixing the error in the qcser.inf, since I have already done this for you.
I would like to thank jennydevil for reminding us that these drivers are for 32-bit not 64-bit operating systems.
Step 1
On your kin device go to the phone application. Once there dial ##77647266488 and call. It will ask you for your Service Programming Code. The default code is 000000. You will now be in a menu labeled "SETTINGS". Navigate to OTHER and then swipe to the left. Here you will see PPro, USB Pass-Through, and USB VID Stream. All of these options will be off. You will want to turn USB Pass-Through on.
Step 2
Now connect your phone to your Windows PC. Your pc will try to find a driver called "Pink CDMA diagnostics" and will fail. Fear not. Open the start menu and right click on Computer then Manage. On the menu to the far left click device manager. In other devices you will see the Pink CDMA diagnostics. Right click it and press "Update Driver Software". Click "Browse My Computer for Driver Software". Browse for the location of the drivers downloaded earlier and click next. It will show a warning that the drivers are not signed. Continue anyways.
Step 3
Now you are ready to open up bitpim. Set it to the same COM as the phone and make sure in the View menu that View Filesystem is checked. Now feel free to browse through the file system of your kin.
If you run in to any problems feel free to ask questions. If you have any ideas or information to make this tutorial more useful feel free to speak your mind.
Fantastic!!
This is a great start to making our kin experience much better! Thank you, and keep up the solid work! Your friends at Microsoft Kin Forums thank you aswell! Check our sites for updates that could help, and together we can make KIN the phone it truely can be!
social.answers.microsoft.com/Forums/en-US/pmxphone/threads
link to MS kin forums (gotta add http)
Thank you for putting the tutorial together (and posting the pre-fixed drivers)! In case anyone else runs into the same hiccup I did - the drivers are for 32-bit OS, not 64-bit OS. Once I used the right system, the drivers and BitPim worked like a champ.
Thanks again!
I can see filesystem
Hey thanks, I can see the filesystem, I think? It says nothing is detected when I manually set the phone. I cannot "get phone data" but can read the filesystem.
.efs_private
CGPS_ME
CGPS_PE
DMU
...etc
But what does this all mean? Can I access ringtones/sounds to edit the list? Please all I want is to add and delete ringtones! Ugh why is this so difficult. Anybody know how to do this?
sabernat said:
Hey thanks, I can see the filesystem, I think? It says nothing is detected when I manually set the phone. I cannot "get phone data" but can read the filesystem.
.efs_private
CGPS_ME
CGPS_PE
DMU
...etc
But what does this all mean? Can I access ringtones/sounds to edit the list? Please all I want is to add and delete ringtones! Ugh why is this so difficult. Anybody know how to do this?
Click to expand...
Click to collapse
No at the moment you can't do that with BitPim but you can email a ringtone to your phone.
Help in step two
Can not find driver location on Windows Vista. I can get to Windows32 file/ then to driver file but new downloaded drivers as in step two.
Thanks
Ah ok, dang. Problem is...Kin has no function to delete ringtones. So once its on, its on forever. I just can't commit to that.
Moved to KIN two forum and stickied.
Also, fix the rapidshare link, the file seems to be unavailable.
jekikeyes said:
Can not find driver location on Windows Vista. I can get to Windows32 file/ then to driver file but new downloaded drivers as in step two.
Thanks
Click to expand...
Click to collapse
Download the drivers extract them somewhere like a folder on your desktop. Let's call the folder kindrivers. Then when you are browsing to the files you would go to C: (or the drive vista is located on)/Users/Yourusername/desktop/kindrivers
Hope that helps.
Any chance we'll be able to get 64-bit drivers soon?
activesack said:
Any chance we'll be able to get 64-bit drivers soon?
Click to expand...
Click to collapse
Not unless someone wants to take the time to write them.
After trying it myself I am not convinced that "we" are seeing anything. It states no phone is connected. There are no signs that I see anything from the phone. Keep trying and keep posting.
dezgrz said:
Not unless someone wants to take the time to write them.
Click to expand...
Click to collapse
someone please do
Kin_Two 2
I am at a lost, I did all the steps, plus the driver download. Everything went fine. I can see what port the phone is using, and have it set on bitpim. When I go to detect the phone on bitpim, it can not find the phone. Have tried on two different computers and can not get it to work. Bitpim can not find the phone, any thoughts?
Ron
phoneinu said:
I am at a lost, I did all the steps, plus the driver download. Everything went fine. I can see what port the phone is using, and have it set on bitpim. When I go to detect the phone on bitpim, it can not find the phone. Have tried on two different computers and can not get it to work. Bitpim can not find the phone, any thoughts?
Ron
Click to expand...
Click to collapse
Bitpim won't find the phone you have to manually set it to the correct COMM port.
I found the com port in device manager. It has been set, but it says it can not still detect phone. When I do go to settings in bitpim, I go to Verzion Wireless, Motorola, and then Kim? Is that correct, there is no Kin just Kim,so is that the same thing?
Ron Fone
phoneinu said:
I found the com port in device manager. It has been set, but it says it can not still detect phone. When I do go to settings in bitpim, I go to Verzion Wireless, Motorola, and then Kim? Is that correct, there is no Kin just Kim,so is that the same thing?
Ron Fone
Click to expand...
Click to collapse
It won't detect it. Just show the file system. Just set it to other cdma.
Hey, I'm about to be forced to get the Kin TwoM (its the best phone on Verizon without a data plan). Has there been any progress on the ROM dumping front? It seems like you would know. Thanks...
Just wanted to post in here saying that I just got myself a Kin TwoM this weekend without knowing anything about it's limitations or potential. I got it working with BitPim using this tutorial, but... yeah, I have no idea what to do now. I'll certainly be watching this board for anything cool that comes of this, though!
Well I have had my Kin Twom for more then a week. I am probably going to return it, its a shame because it is not a bad little phone. Microsoft and Verizon will be the death of this thing. Know what to do about my cell phone?
Ron

[Q] Really nervous about accidentally bricking, so just some cautionary questions...

So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
JustAk said:
So I have an Optimus G LS970, added a couple apps, but other than that it's pretty basic. I'm wanting to root this device and eventually add a custom rom on it perhaps, but I've very new to this and don't want to accidentally brick my device.
1) I've been looking for stable linux rooting methods, the only one I've found that looks promising is here, but it's 2 years old. Does anyone know anything about it's stability for android 4.1.2, kernel 3.4.0?
2) In order to transfer files (music, pictures, pdfs/ebooks) to/from my device it needs to be mounted, but I haven't been able to mount it for this (or any other) purpose at all. It shows up as connected (command "lsusb" shows "Bus 002 Device 028: ID 1004:631d LG Electronics, Inc.") but it won't mount. Will this be possible once rooted, or is there some other cause to this?
3) Once rooted, I want to get rid of some of the Preinstalled apps but I'm not sure which will lead to instability and which would be fine to remove, does anyone know where I can check this, or would I just need to list all the apps I don't want on my phone and have you all tell me on an app-by-app basis which is safe to remove?
4) Lastly, when it comes to using alternative app markets, I haven't had much luck. I was trying to test using alt stores with f-droid and nothing showed in the lists, so I don't know if that's a thing with f-droid or my device. Is there anything you need to do to use alt app stores aside from enabling it in the system settings, and installing the app store's .. app?
Thanks in advance!
Click to expand...
Click to collapse
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
All of your questions are answered here. http://forum.xda-developers.com/showthread.php?t=2050582
And the FAQ.
1. See above
2. Install the LG drivers, link is in that OP, then tick MPT. That should transfer your files. If not, you may need to uninstall, then reinstall them.
3. DO NOT remove any apps unless you unlock! Info is in that link also.
4. I have no idea on that one.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
JustAk said:
1) *EDIT* [Doesn't say anything about linux rooting, how am I supposed to install a windows drive on a linux system?] I overlooked the linux mention. Thanks! Can't find something. How/where do I find adb?
2) Ignore, see 1) [Again, how am I supposed to install the Windows driver in linux?]
3) Thanks for that. I didn't know the importance of unlocking the bootloader.
Click to expand...
Click to collapse
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
engine95 said:
Sorry bout that. Linux drivers are native, so they're anyway installed.
You use either fiddy629 root for Linux, or Framaroot.
Sent from my LG-LS970 using XDA Premium 4 mobile app
---------- Post added at 10:53 PM ---------- Previous post was at 10:51 PM ----------
Edit. You don't have to have ADB, but there's alot of info if you google it.
Sent from my LG-LS970 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
JustAk said:
I tried fiddy619's thing here using the universal linux one. It asked me for ADB. Found that debian has "android-tools-adb" so I installed that, now there's this:
Code:
Using: /usr/bin/adb
Waiting for device... Connect your LGOG via USB in Charge Only Mode
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
Device found
Beginning Root Process
Disconnect your phone from USB
Disable USB Debugging
Enable USB Debugging
Press enter to Continue
I can't tell if this is telling me to do these things, or if it's saying it already did them. Any idea?
Click to expand...
Click to collapse
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
JustAk said:
Nevermind that, I got it working just fine. took o nly a couple seconds and it was done. Now I have "SuperSU" in my apps menu, so I'm guessing it worked.
Click to expand...
Click to collapse
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
HPTesla said:
Awesome, glad to hear it worked! Which if you have SuperSU it should have. I too only use linux(Linux Mint specifically) and while most guides are made for Windows, things are usually easier from the linux terminal because we don't need to download drivers, android uses a modified linux kernel, etc. Welcome to the forums, glad to have you here! All the info you need is here and plenty of people will be glad to help(as engine has already demonstrated). As for the alternative app markets, Ive read plenty and tested a few but really, nothing comes close to the play store. On our phone Banks Gapps is the standard google apps package to install if you are flashing a custom rom. Just make sure you get the correct version of gapps for the version of android your rom is based on.
Click to expand...
Click to collapse
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
This may or may not help, but when I've had issues with Linux hooking up I've had to format my SD. Something gets stuck in there that Linux just didn't like.
Sent from my LG-LS970 using XDA Premium 4 mobile app
JustAk said:
Ah. brilliant, thanks!
The only problem I'm now having is getting the phone to connect to my computer so I can transfer music or ebooks or whathaveyou to/from my device. I've gone through the arch wiki for android (even though I'm running debian) and this forum postt but I keep getting an error:
Code:
$ android-connect
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. V909 G-Slate.
Found 1 device(s):
LG Electronics Inc.: V909 G-Slate (1004:61f9) @ bus 2, dev 8
Attempting to connect device
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: (Look this up in ptp.h for an explanation.)
Listing File Information on Device with name: (NULL)
LIBMTP_Get_Storage() failed:-1
I can start a separate thread regarding this issue, but if you have any insight, figured it couldn't hurt to ask real quick.
Click to expand...
Click to collapse
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
HPTesla said:
Are you doing this with the phone turned on and booted into the os? It gives you a PTP error first, make sure the phone is in MTP. At the bottom you also have a LIBMTP error tho. I don't have much experience with debian but from what I understand it is extremely stable but the downside is that it can be a bit out of date at times. Ubuntu and all ubuntu derivatives had a major mtp flaw awhile back but it has since been fixed. Im not sure if it has been fixed in debian. Yes ubuntu is based off of debian, but just like linux mint will add things to the ubuntu base, ubuntu will do the same to the debian base. So LIBMTP MAY be out of date, Im not sure. I know that I have no problem seeing my phone from either the terminal or file browser. Check this out and see if it helps any.
If not you may have to follow engine's advice and format the sd.
EDIT: Also this might work, it is for linux mint but adding the repository and installing it should work on debian(I think) since they all use .deb files. Before ubuntu officially supported mtp by default this was the most popular work around.
Click to expand...
Click to collapse
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
JustAk said:
The first thing you linked to (steneteg.org or somesuch) was another avenue I went down trying to solve this, but alas it resulted with much the same problems. The second link to the linuxmint forums looked very promising, the only problem with it is the ppa has been dropped by webupd8 so it no longer is available (404s).
I have just discovered earlier today that adb push/pull works for getting things onto/off of my device, but I can't use adb to mount the device to allow it to be seen with a filemanager (thunar in this case). So, that's progress I think.
EDIT : I just saw mention somewhere of androidair, have yyou any experience with this app's reliability/security?
Click to expand...
Click to collapse
You can try searching for other places where go-mptfs is located, other ppas where it still might be. The ubuntu forums also has this as a possible solution. I haven't used androidair but I have moved files over wifi using the sshdroid app and an ssh server on my pc with great success. If you have any experience with ssh that could be a possible solution although it is obviously slower than usb. But ssh in general is a simple and great tool, also pretty secure since you are simply connected to your home wifi - as long as your wifi is secure you should be fine.
On my pc I believe its openssh that I use - plenty of tutorials out there for that - and here is the link to sshdroid in the play store. Hope this helps!
EDIT: I will also be at work until 2p.m. EST so may not be able to reply back until then - don't worry, I will as soon as I get home if you have any other issues.

TP-LINK Android Phone / ADB Device

Ok so i'm pulling whats left of my hair out as I cannot seem to be able to remove this pest of a driver , windows 8.1 Pro is insisting my Nexus 5X is a TP-Link Android Phone and keeps over writing my google adb drivers so my fastboot / adb no longer works , has / is anybody having this problem? wugfresh install wont overwrite the TP-Link either all universal adb installers wont work either
MKD73 said:
Ok so i'm pulling whats left of my hair out as I cannot seem to be able to remove this pest of a driver , windows 8.1 Pro is insisting my Nexus 5X is a TP-Link Android Phone and keeps over writing my google adb drivers so my fastboot / adb no longer works , has / is anybody having this problem? wugfresh install wont overwrite the TP-Link either all universal adb installers wont work either
Click to expand...
Click to collapse
Kind of surprised you're still running Windows 8.1. Windows 10 is free for you and better in just about every way, regardless of the UI changes. Just a recommendation, though I doubt it'd fix your issue.
There's an easy way to tackle this but it depends on how the driver is being installed. If you're connecting your phone to your computer and Windows is insisting on downloading and installing this "TP-Link" driver from Windows Update, there is a way to disable this in a few easy steps. If you're connecting your phone to your computer and Windows just assumes that it's a "TP-Link Android Phone" and applies the wrong pre-loaded driver (usually gives you a notification near the clock) then we're gonna have to get a bit crafty.
EDIT: Silly question. You don't have USB tethering or any wacky app that would be causing this issue, right?
Alcolawl said:
Kind of surprised you're still running Windows 8.1. Windows 10 is free for you and better in just about every way, regardless of the UI changes. Just a recommendation, though I doubt it'd fix your issue.
There's an easy way to tackle this but it depends on how the driver is being installed. If you're connecting your phone to your computer and Windows is insisting on downloading and installing this "TP-Link" driver from Windows Update, there is a way to disable this in a few easy steps. If you're connecting your phone to your computer and Windows just assumes that it's a "TP-Link Android Phone" and applies the wrong pre-loaded driver (usually gives you a notification near the clock) then we're gonna have to get a bit crafty.
EDIT: Silly question. You don't have USB tethering or any wacky app that would be causing this issue, right?
Click to expand...
Click to collapse
Yeah we will have to get a bit crafty, i hid the TP-Link update in windows update god knows how it got installed but its in and i removed it but its still insisting its a TP-Link Android Phone , man its bugging me out . No tether app or other apps no, thats why im lost as to why its started this BS , windows i know can be tricky WIN10 was not for me plus the free upgrade has past now (29July) anyway.
MKD73 said:
Yeah we will have to get a bit crafty, i hid the TP-Link update in windows update god knows how it got installed but its in and i removed it but its still insisting its a TP-Link Android Phone , man its bugging me out . No tether app or other apps no, thats why im lost as to why its started this BS , windows i know can be tricky WIN10 was not for me plus the free upgrade has past now (29July) anyway.
Click to expand...
Click to collapse
Would you mind doing something for me before performing the steps I'm going to list below? Go into Device Manager with the phone plugged in and installed as the stupid "TP-Link" BS and find it in the list of devices. Should probably be under Portable Devices or something. Right click it and click Properties, go to the Driver tab and click "Driver Details". All of the drivers should be located in the 'system32/DRIVERS' folder. Mind giving me the names of those drivers listed? Naming convention is typically driverName.sys.
Additionally, we're going to try a Group Policy change. Hit Windows Key + R and type 'gpedit.msc' and hit enter. A window labeled "Local Group Policy Editor" should come up. Then do the following:
Expand Computer Configuration (Left hand side, the navigation panel)
Expand Administrative Templates
Expand System
Expand Device Installation
Click Device Installation Restrictions
On the right hand side, now, there should be a list of restrictions. Somewhere in that list there should be an item "Prevent installation of devices not described by other policy settings". Double-click that and another window named the same thing should pop up. In the top left, set it to enabled and click Apply, then OK.
Unplug your phone and get rid of that ****ty driver if you haven't already and then restart and try connecting the phone again to see if the same incorrect driver install occurs.
@MKD73 You ever get this sorted out?
Sorry been away on holiday for the weekend , I'll be taking a look in the morning :victory:
Please give update
Have you resolved this issue? My laptop is acting the same. Device manager sees my phone as "TP-Link Android Phone" with sub category of "Android Bootloader Interface." I can't use ADB with it, not recognized.
I tried doing what Alcolawl said but nothing happens. When I right click the "TP Link--- it just says general properties, no 'drivers' etc. I saw the 'driver' option in the "Andoid bootloader Interface" . It says the driver is: winusb.sys, wdfCoInstaller01009.dll and WinUSBInstaller2.dll. When I tried to edit the group, it says "Windows can not find gpedit.msc
Hope you can help me. My phone is stuck in fastboost mode- LG D838
kalikotpepot said:
Have you resolved this issue? My laptop is acting the same. Device manager sees my phone as "TP-Link Android Phone" with sub category of "Android Bootloader Interface." I can't use ADB with it, not recognized.
I tried doing what Alcolawl said but nothing happens. When I right click the "TP Link--- it just says general properties, no 'drivers' etc. I saw the 'driver' option in the "Andoid bootloader Interface" . It says the driver is: winusb.sys, wdfCoInstaller01009.dll and WinUSBInstaller2.dll. When I tried to edit the group, it says "Windows can not find gpedit.msc
Hope you can help me. My phone is stuck in fastboost mode- LG D838
Click to expand...
Click to collapse
Hi Kalikotpepot,
Got the same issue here., Nexus 5x keeps on rebooting, no way to get to recovery and shows as TP Link on my computer. Did you manage to sort it out somehow?
loeage said:
Hi Kalikotpepot,
Got the same issue here., Nexus 5x keeps on rebooting, no way to get to recovery and shows as TP Link on my computer. Did you manage to sort it out somehow?
Click to expand...
Click to collapse
I did it. Execute :
Code:
rundll32.exe newdev.dll,DeviceInternetSettingUi 2
and prevent driver from being installed.
Help me please!
Did you guys manage to fix it? I tried everything you people said but it didn't work. I have a Blu Vivo Xi+ and my PC only recognizes it as TP-LINK Android Phone. I dumbly deleted it's OS and all it's data when trying to update it. I only have access to TWRP and fastboot, is there a way to fix it? I would love if someone could assist me ?.

How to: Modify Google's USB driver to work for fastboot

So, I have a OnePlus 8 Pro (IN2025) running stock 11.0.4.4.IN11AA, but whenever I booted into the bootloader, Windows 10 device manager said no driver found, even though I had the current Google USB drivers installed. I checked the hardware ID of the fastboot device, and for me it's "USB\VID_18D1&PID_D00D&REV_0100". I looked in the driver INF, and of course that hardware ID is nowhere to be found. Here's what I did to modify Google's driver to work with my phone instead of trusting random shady downloads from the internet:
1.) Download current Google USB driver and unzip into a folder. currently: https://dl.google.com/android/repository/usb_driver_r13-windows.zip
2.) Disable driver verification. Run the following commands in an elevated command prompt and reboot Windows:
bcdedit /set testsigning on
bcdedit /set nointegritychecks on
bcdedit /set loadoptions DISABLE_INTEGRITY_CHECKS
3.) Open android_winusb.inf (from the USB driver folder) in your favorite text editor, like Notepad++. Look for a section labeled "[Google.NTamd64]". Scroll to the bottom of that section, you'll see hardware IDs for ";Project Tango (generic)". After those entries add this section:
;OnePlus 8 Pro
%SingleBootLoaderInterface% = USB_Install, USB\VID_18D1&PID_D00D
Save the modified INF file. Right-click and install it. Now you have a working fastboot driver. These instructions are for x64, for x86 do the same thing in the appropriate section. Cheers.
P.S. OEM unlocking from developer menu doesn't actually do anything in this OS build. You have to "fastboot oem unlock" to actually unlock the bootloader. This will also wipe your phone, so be prepared.
After you're finished it's probably best to turn driver verification back on. Run the following commands in an elevated command prompt and reboot Windows:
bcdedit /deletevalue loadoptions
bcdedit /set testsigning off
bcdedit /set nointegritychecks off
Even with a clean installation of windows I've always been able to plug and play with my phone's, including the 8 pro.
I know this issue happens so Windows 7 so if it helps with that then that's great.
So many seem to have issues though.. Hope this helps them
Right now my only source of internet connectivity is thru my OP8 Pro, so while in fastboot I didn't have internet. There may very well be a Windows Update driver that's downloaded and installed for USB\VID_18D1&PID_D00D for people with normal internet =)
Ideally Google would just add the hardware ID to their INF and re-sign it.
xenoglyph said:
Right now my only source of internet connectivity is thru my OP8 Pro, so while in fastboot I didn't have internet. There may very well be a Windows Update driver that's downloaded and installed for USB\VID_18D1&PID_D00D for people with normal internet =)
Ideally Google would just add the hardware ID to their INF and re-sign it.
Click to expand...
Click to collapse
Connect to a neighbours WiFi?
what about the drivers that are offered from the OnePlus phone when it's connected? Not sure if it does that anymore..
I'm a voluntaryist out in the middle of nowhere in the high desert of southern cali.... off-grid, self-designed 48v 15kw solar system, well, garden, chickens, goats, ducks, etc. I don't have neighbors with wifi, but i've got an almost decent Verizon signal. I'll get around to StarLink after higher priority projects are done.
And....regarding the driver option which I think typically showed up as a CD drive or another device....I don't recall seeing that option for any of the OS builds since I've had mine. Because obviously if I did, I probably wouldn't have created this thread =)
OP a much simpler method would be to create a bootable usb with the latest Ubuntu and install adb through apt (making sure you set up a persistent filesystem to retain adb) and just use Ubuntu for your Fastboot and adb needs. Linux is much more reliable when it comes to flashing in fastboot compared to windows
xenoglyph said:
I'm a voluntaryist out in the middle of nowhere in the high desert of southern cali.... off-grid, self-designed 48v 15kw solar system, well, garden, chickens, goats, ducks, etc. I don't have neighbors with wifi, but i've got an almost decent Verizon signal. I'll get around to StarLink after higher priority projects are done.
And....regarding the driver option which I think typically showed up as a CD drive or another device....I don't recall seeing that option for any of the OS builds since I've had mine. Because obviously if I did, I probably wouldn't have created this thread =)
Click to expand...
Click to collapse
Sounds lovely, I'd love to take some shots in the desert on my Telescope.
Can't remember if my phone gave the driver install option on the 8 pro as I never needed it.
I think in your situation I'd probably have downloaded the driver on my phone first then copied it over to windows directly.
Defo check our starlink, your situation is essentially what it was designed for..
Id be interested to see how well it works.
superchilpil said:
OP a much simpler method would be to create a bootable usb with the latest Ubuntu and install adb through apt (making sure you set up a persistent filesystem to retain adb) and just use Ubuntu for your Fastboot and adb needs. Linux is much more reliable when it comes to flashing in fastboot compared to windows
Click to expand...
Click to collapse
yah, i actually just cleared out a spare 2tb portable HD last night and stuck Kali on it. I'm so used to developing on Windows that sometimes I forget about Linux. The embarrassing thing is I actually admin a dedicated Linux server on an unmetered gigabit connection, lol
dladz said:
Sounds lovely, I'd love to take some shots in the desert on my Telescope.
Can't remember if my phone gave the driver install option on the 8 pro as I never needed it.
I think in your situation I'd probably have downloaded the driver on my phone first then copied it over to windows directly.
Defo check our starlink, your situation is essentially what it was designed for..
Id be interested to see how well it works.
Click to expand...
Click to collapse
the thing is, I couldn't find a driver on the internet for "USB\VID_18D1&PID_D00D" which I actually trusted. Not one from OnePlus, not one from Google. A couple shady looking ones that I wouldn't personally touch. That's why I modified the Google one (after downloading it via my USB tethered phone). Like superchilpil said tho, Linux is probably the sanest option of all.
Considering the fact that OnePlus now forces you to factory reset your device upon bootloader unlock....I'm guessing they're not exactly enthusiastic about supporting fastboot...Also, the big scary warning message on every cold boot regarding the unlocked bootloader lends further credence to the idea they're not too keen on the whole fastboot thing.
edit:
I mean, i did see listings for supposedly compatible drivers on various driver download sites...and I could have taken the time to verify the security certificates on said drivers....but I just have a pretty strict policy of avoiding those sites like the plague
haha !
that worked perfectly on windows 11
many thanks bro
Wish I would have seen this before I wiped and went back to Win10...
Thanks!
THANK YOU!!! This is exactly what I needed.
I've attached the signed drivers to the post. This driver can be installed and used for different Oneplus devices. You can directly install the INF file without modifying it. Also, since this driver is signed, there is no need to use bcdedit commands.
falcont said:
I've attached the signed drivers to the post. This driver can be installed and used for different Oneplus devices. You can directly install the INF file without modifying it. Also, since this driver is signed, there is no need to use bcdedit commands.
Click to expand...
Click to collapse
THANKS, dude!
Your driver is working well on Win10x64 for Xiaomi devices (Mi Max 3, Mi 11) as well.

Categories

Resources