Disable "OnePlus Drivers" Drive? - OnePlus 5 Questions & Answers

Hey,
I have a rooted OnePlus 5 using stock OOS 4.5.6 and I was wondering if it was possible to disable the OnePlus Drivers drive. Maybe a Magisk module or something?
Drives me nuts on Windows 10 where the drivers didn't even install properly anyway and I had to manually select the proper MTP Device in Device Manager.
Thanks a bunch

Try deleting "usb_drivers.iso" from /system/etc folder via a root file explorer and then restarting your phone. It should work.

Related

The Viewsonic G Tablet Super Thread (w/Market, Gmail, and Maps!)

I've tried this twice already with a factory reset in between each try, and it's worked both times!
Attached is a bunch of files you will need to make this work.
Download the attached Zip file and extrat the contents to your desktop
Mount your G and upload the "G Tablet" folder to your G's internal SD card
Using AndRootFile or any other file manager that supports root access, mount as R/W, and copy the contents of G Tablet\permissions to System\etc\permissions.
Copy the contents of G Tablet\framework to System\Framework
Copy the contents of G Tablet\lib to System\lib
Copy all the APK's found inside G Tablet\APK into your system\app folder.
Install them in this order:
GoogleServicesFramework.apk
OneTimeInitializer.apk
SetupWizard.apk
Talk.apk
Vending.apk
Gmail.apk
Maps.apk
Make sure you remount it as R/O when you're done!
Restart your G, Connect to Wifi, then launch Market.
Follow the standard Google Account setup procedure and enjoy your newly installed Market.
PROOF THAT IT WORKS (the guide might be broken at some point though, see explanation below): http://www.youtube.com/watch?v=3dm2Kax8RQM
Someone please test this and let me know if you have any problems. Factory resetting doesn't delete any files I might have moved into the system folder so I might be missing something in this guide.
Feel free to donate to my beer fund if this helped you
Copying the following over from my thread over at Overclock.net (best computer enthusiast community, ever!)
Guides:
Setting Up ADB:
The ADB drivers do not recognize the Tegra hardware by default. You need to modify the USB inf file in order for it to recognize it and install the proper hardware.
Go to the usb_driver folder inside your Android SDK folder
Open up android_winusb.inf
Add the following under [Google.NTx86] and save (or if you prefer, download my pre-modified android_winusb.inf attached to the bottom of this post, and replace your existing android_winusb.inf with mine).
Code:
;NVIDIA Tegra
%SingleAdbInterface% = USB_Install, USB\VID_0955&PID_7000
%CompositeAdbInterface% = USB_Install, USB\VID_0955&PID_7100&MI_01
If you are running a 64 bit version of Windows, you need to add that code to the [Google.NTamd64] section as well.
Next, open a command prompt and type
Code:
echo 0x955 >> "%USERPROFILE%\.android\adb_usb.ini"
On your G, go to Settings -> Applications -> Development, and check "USB Debugging"
Plug in your USB cable, it will tell you that some drivers were not installed. That's okay! Point it to your usb_driver folder and it'll install the proper drivers.
Make sure ADB is working by opening a command prompt, navigating to your android sdk "tools" folder, and typing
Code:
adb devices
You should see a bunch of numbers if everything is set up correctly.
Click to expand...
Click to collapse
Rooting:
You need to have ADB fully working before proceeding. The easiest way to root is by using CLShortFuse's SuperOneClick. If you can spare the money, consider donating a buck or two to his beer fund
Connect your G and make sure USB debugging is enabled/ADB is working.
Extract the contents of SuperOneClickv1.5.2-ShortFuse.zip to a folder of your choice.
Run SuperOneClick.exe and click on Root. Wait for the process to finish, and you're rooted! Easy as pie.
Click to expand...
Click to collapse
Installing Launcher Pro/ADW:
It's actually really easy.
Download the Launcher Pro APK from here: http://www.launcherpro.com/apk/LauncherPro-0.8.1.1.apk
Connect your G and move the Launcher APK over to your Tablet's internal/external SD card.
Using whatever file manager you prefer (on your G), execute the Launcher Pro APK and install it.
Upon completion, hit the Home button and choose LauncherPro as your default launcher.
Reboot and feel the speed!
Click to expand...
Click to collapse
Fixes:
Wifi Fix:
If your Wifi "errors" upon enabling, try one of the following methods
Method 1:
Reboot. Seriously, it fixes the problem a large portion of the time.
Click to expand...
Click to collapse
Method 2:
Download Wefi from here: http://www.wefi.com/download/android/
Install the APK on your G.
Run WeFi, hit the menu button (button between back and home), and hit Settings
Make sure Automatic Startup is checked. Click on "Wi-Fi on WeFi start" and choose "Always Turn On"
Restart your G and pray.
Click to expand...
Click to collapse
Method 3: Master Reset (you will lose all your apps)
Go to settings -> Security and do a Factory Wipe.
This works only SOMETIMES, but is not a guaranteed fix, so only use this as a last ditch resort
Click to expand...
Click to collapse
nicely done, sir
Awesome job. OCN FTW
Fantastic.. worked like a champ!
Thanks!
Where did you find the USB drivers to mount the device?
Can i also include the contacts, mail, and calendar gapps?
mattmanion said:
Where did you find the USB drivers to mount the device?
Click to expand...
Click to collapse
By mounting I mean connect the USB cable, then under the Notification Icon, Tap "USB Connected, Select to copy files to/from your computer"
insight3fl said:
Can i also include the contacts, mail, and calendar gapps?
Click to expand...
Click to collapse
Go for it, let us know what you find
r34p3rex said:
By mounting I mean connect the USB cable, then under the Notification Icon, Tap "USB Connected, Select to copy files to/from your computer"
Click to expand...
Click to collapse
Do you know if there is a tutorial out there for installing the Root Explorer or Astro file manager on this thing? Sorry, I'm a newbie.
VERY NICE WORK!
FYI I reposted this on the slatedroid.com forum gave you credit and linked back to this thread. If you don't want it on there let me know and I will take it down.
by the way.. All I did to get this working was install the apk's in order and reboot. I do have a problem .. I can't find some apps on the market.. for example winamp doesnt show up..just the winamp 3rd party app.
Anyone else?
Does anyone know why live wallpapers aren't available?
tri0xinn said:
by the way.. All I did to get this working was install the apk's in order and reboot. I do have a problem .. I can't find some apps on the market.. for example winamp doesnt show up..just the winamp 3rd party app.
Anyone else?
Click to expand...
Click to collapse
I will look into that. The most likely reason is the lack of a unique Android ID.
does the regular nullsoft winamp show up for you?
great work man. Just saw the video.
I'm still trying to get adb access. First thing I did was modded the usb files but not the 64bit cuz I didn't see it. Guess I didn't look hard enough. Modded the 32bit one and added the Nvidia tegra info. Then tried adb and the oneclickroot and it didn't work. I then went in and found the amd64 area and added the lines to that portion of the usb.ini file also.
I don't have adb working to root. I'm on Win 7 64bit. any idea's. Then I'll try your guide.
xguntherc said:
great work man. Just saw the video.
I'm still trying to get adb access. First thing I did was modded the usb files but not the 64bit cuz I didn't see it. Guess I didn't look hard enough. Modded the 32bit one and added the Nvidia tegra info. Then tried adb and the oneclickroot and it didn't work. I then went in and found the amd64 area and added the lines to that portion of the usb.ini file also.
I don't have adb working to root. I'm on Win 7 64bit. any idea's. Then I'll try your guide.
Click to expand...
Click to collapse
Gunth you want me to help over Teamviewer?
My files are in place, but the APK files are not "installing" on boot and the tablet sets up normaly and gmail app is not there. I have tried going back in and changing R/O in root explorer, but still not go.. what am I missing? Can these files be pushed to the tablet via adb or do you have to use root explorer? Seems I had the same problem when I did this with my Odroid T.. I tried root explorer but ended up pushing with adb.
Thanks for your work on this
hmmm... it says "install"... I need to launch them from explorer and actualy "install" them? then reboot?
insight3fl said:
My files are in place, but the APK files are not "installing" on boot and the tablet sets up normaly and gmail app is not there. I have tried going back in and changing R/O in root explorer, but still not go.. what am I missing? Can these files be pushed to the tablet via adb or do you have to use root explorer? Seems I had the same problem when I did this with my Odroid T.. I tried root explorer but ended up pushing with adb.
Thanks for your work on this
hmmm... it says "install"... I need to launch them from explorer and actualy "install" them? then reboot?
Click to expand...
Click to collapse
You need to run each APK manually through Root Explorer (or any package installer of your choice). Placing them there does not do anything
xguntherc said:
great work man. Just saw the video.
I'm still trying to get adb access. First thing I did was modded the usb files but not the 64bit cuz I didn't see it. Guess I didn't look hard enough. Modded the 32bit one and added the Nvidia tegra info. Then tried adb and the oneclickroot and it didn't work. I then went in and found the amd64 area and added the lines to that portion of the usb.ini file also.
I don't have adb working to root. I'm on Win 7 64bit. any idea's. Then I'll try your guide.
Click to expand...
Click to collapse
I'm having the same issue Gunth so when you get it working let me know
Just finished up installing the apks. Got a problem though. Now my home and search buttons don't work. Also lost Airplane mode when powering off.
*EDIT* Just watched your video. I don't think that's a finicky button. I think this hack causes the problem.
*EDIT 2* Just did a reset. Home button and search work again. So, it's got to be the hack.
Doc

my easy root based off the easy root script

ive created a walkthru for rooting the htc thunderbolt, based off the easy root script.
the adb folder is already setup, sdk is there, and the downgrade and upgrade. where should i host the file that this forum will allow me to post?
BTW if your running 64bit windows 7 i have included the ADB drivers, but not 32bit. i think they are installed with 32bit windows, but im not certain.
let me know if anyone is interested.
DOWNLOAD > Link 1
if anyone has any trouble please just post here, ill be on all day.
these steps will only work with the DL i have linked. if anyone wants to PM me a mirror it'd be greatly appreciated
steps:
THIS ONLY WORKS WITH A Thunderbolt running 605.6 or 605.9 Firmware
1. copy the root folder to the C: drive.
2. first, install the android SDK in the ZIP file. reboot if needed. plug in your phone, ADB most likely will not install. once or if it fails, search for the driver manually in the ADB+driverX64 folder though device manager.
3. now run the oneclickroot.bat file. dont worry about the prerequisites, they are all setup in the root folder i had you copy to the C drive.
4. after you reboot, plug your phone in. make sure adb drivers are istalled and working.
5. run the oneclickroot.bat file again, and follow all the directions. if you follow the steps slowly and correctly, all will work fine.
************************************************** *******************
REMEMBER! when it tells you to rename some lare file to PG05IMG, that is the PG05IMG_downgrade file. just copy to the root of your SD card, and rename it to PG05IMG after it finishes copying.
also if things freeze up make sure u have USB debugging enabled. DO NOT UNPLUG THE PHONE. just disable and re-enable if it hangs up when it says "this process may take w while".
************************************************** *******************
Ive also added the kernal to OC the phone to 1.5Ghz, you can do that with rom manager, or though clockwork recovery if your familiar with it. if u do it just copy the zip to the root of your SD card on the phone
Might want to throw a disclaimer in there just to cover your ass. Just saying.
Sent from my ADR6400L using XDA App
Am i missing the link???
Am I missing the credit? Thread Locked

[Q] Nexus 4 File Transferring Issue

My computer recognizes my nexus 4, but I can't seem to copy a large amount of files. Or to be honest copy certain files. For example, pictures on my nexus 4 show up fine, but if I connect it to my computer and copy it to my computer it will show up as 0 bytes. Can't open the file at all. I have switched between MTP and PTP. (Only MTP allows me to access my nexus 4, but not PTP.)
I've made a nandroid back up for my phone ( just in case ) but can't back it up to my computer. File size on the device is 896 MB and when copied to the computer it only shows up as 22.0 MB. I have tried airdroid, es file explorer, and even wifi file explorer to try to copy these files to my computer, but when it does copy over it still shows up as 22.0 MB. I also did try copying with usb debugging off and on and same problem. Different usb ports and even a different computer still the same problem happens.
I'm stock on 4.3, rooted, boot loader unlocked, and have twrp recovery. Thanks in advance for any help!
edit : adb pull worked fine. ( just needed to install the correct drivers ) thanks!
Zip your nandroid backup folder in your phone and then send it across to your PC.. You can use adb pull command to copy files from your device to PC.. Obviously, you need to enable USB debugging and installed proper drivers for this to work
Sent from my Nexus 4 using Tapatalk 4
Which Operating system ?
ytv said:
My computer recognizes my nexus 4, but I can't seem to copy a large amount of files. Or to be honest copy certain files. For example, pictures on my nexus 4 show up fine, but if I connect it to my computer and copy it to my computer it will show up as 0 bytes. Can't open the file at all. I have switched between MTP and PTP. (Only MTP allows me to access my nexus 4, but not PTP.)
I've made a nandroid back up for my phone ( just in case ) but can't back it up to my computer. File size on the device is 896 MB and when copied to the computer it only shows up as 22.0 MB. I have tried airdroid, es file explorer, and even wifi file explorer to try to copy these files to my computer, but when it does copy over it still shows up as 22.0 MB. I also did try copying with usb debugging off and on and same problem. Different usb ports and even a different computer still the same problem happens.
I'm stock on 4.3, rooted, boot loader unlocked, and have twrp recovery. Thanks in advance for any help!
Click to expand...
Click to collapse
Which operating system are you in ? For windows you need proper drivers, for OSX you need not have any drivers. Since you don't talk about Android file transfer app, I think you must be on Windows. In that case take a look at Nexus 4 tool kit, they might have different USB drivers .
Hm. I did install 4.3 manually (used adb to install) so I can only assume that I have correct drivers. I did try adb pull, but same results. I'll try to zip the directory for the backup and then adb pull. Will post back tomorrow with results ty!
Sent from my Nexus 4 using xda app-developers app
ytv said:
Hm. I did install 4.3 manually (used adb to install) so I can only assume that I have correct drivers. I did try adb pull, but same results. I'll try to zip the directory for the backup and then adb pull. Will post back tomorrow with results ty!
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
You must have used fastboot while installing 4.3, I think in windows fastboot drivers are different. In other words, with wrong USB drivers fastboot could work on windows I guess. I'm not Mac. So I'm not certain, sorry.

Mistake after Gaining root on HD 8 2017. Please Help.

So, I tried This on my hd 8 2017 after rooting it. it didn't work and i ended up deleting /system/priv-app/FireTabletSettings instead of just the apk (when it didn't work) so i couldn't/can't open settings. this was my first time rooting, so i don't know anything, and thinking factory resetting would fix it, i reset it using recovery. turns out that doesn't do anything to system modifications. not even if i can get a settings apk, i can't enable ADB because i can't go into settings to enable it. i think i still have root at least. Any help?
D Miller said:
So, I tried This on my hd 8 2017 after rooting it. it didn't work and i ended up deleting /system/priv-app/FireTabletSettings instead of just the apk (when it didn't work) so i couldn't/can't open settings. this was my first time rooting, so i don't know anything, and thinking factory resetting would fix it, i reset it using recovery. turns out that doesn't do anything to system modifications. not even if i can get a settings apk, i can't enable ADB because i can't go into settings to enable it. i think i still have root at least. Any help?
Click to expand...
Click to collapse
If you have a copy of your settings APK, you'll just copy it back to its place. You can use any root file explorer e.g. FX or ES File Explorer to do this job. I have the same device so I could provide you my version.
Amazon also offers factory images for recovery that will restore your system partition.
lassemacchiato said:
If you have a copy of your settings APK, you'll just copy it back to its place. You can use any root file explorer e.g. FX or ES File Explorer to do this job. I have the same device so I could provide you my version.
Amazon also offers factory images for recovery that will restore your system partition.
Click to expand...
Click to collapse
I can't copy it though, because I can't install any uknown apps, because I can't enable it through settings. Edit: i also don't have a copy.
D Miller said:
I can't copy it though, because I can't install any uknown apps, because I can't enable it through settings.
Click to expand...
Click to collapse
Download a factory image from Amazon and flash it via recovery. https://www.amazon.com/gp/help/customer/display.html?nodeId=202144610
lassemacchiato said:
What if you copy a file explorer to the /system/app directory and reboot?
Click to expand...
Click to collapse
I don't think i can get to the root directory to put it there...
Download the latest software for your device from Amazon (the US site seems to have the latest version) or at least use a version no lower than your current one. Copy it to the same folder as your ADB driver. Reboot to recovery mode, connect to your PC by USB cable and do an ADB sideload of the software. When it is done you will have to re-root and disable unwanted system apps etc.
Edit. Same solution as post #4

How to fix 5g unavailable on Aosp, OOS11

Hi ladies&gentlemens
I'm going to leave a guide here, on how to fix 5g on oos11 or custom ROMs, I'll try my best to be noob friendly
You can skip the first step, if enabling diag mode through engineeringmode.apk, dial *#801# works for you
1. You will have to root your phone, as engineeringmode.apk/dial *#801# does not work on this rom
go to the official magisk site, and download magisk 25.1 apk, make it zip by changing the file extension from apk to zip, after that flash it using ADB sideload, after how the device will boot up, open the magisk app (let it update), open settings, turn on zyigsk and enforce denylist, open configure denylist, and hide Google pay, google play services, google play store, and pretty much any banking apps
2. you will need to enable diag mode: enable USB debugging in developer options after that open cmd, terminal, PowerShell whatever you prefer on your pc, and enter ADB commands:
ADB devices
ADB shell
su
setprop sys.usb.config diag,adb
now your phone is in diag mode
3. google for qualcomm diag drivers and install it after that open the device manager and you will see 2 unknown devices there (model of your device *IN2013* for example) update them(by picking disk, driver urself) to Qualcomm HS-USB MDM Diagnostics 90B6
4. google for qpst tool and download it and install it after that, Open QPST, and you should see devices in ports and active phones list, click Start Clients -menu -> QPST EFS Explorer and select your device (SDX55) and wait a few minutes, then go to policyman directory and copy carrier_polixy.xml , carrier_polixy.xml_Subscription01 , lte_feature_restrictions file to your desktop or somewhere safe, it will be your backup just in case, after how you copied it, you will need to delete the same files (NOT FROM YOUR PC! FROM YOUR PHONE, ON QPST TOOL IN POLICYMAN DIRECTORY!)
5. download the zip from here, extract the files from the zip and copy them to the policyman directory, drop and drag them one each time
6. Congratulations now you can close qpst tools etc, and reboot your phone
links to useful sources will be in USEFUL.txt
DISCLAIMER: I DO NOT GUARANTEE THAT THIS WILL WORK ON ALL CUSTOM ROMS, I'VE TESTED IT ONLY ON PROJECT ZEPHYRUS AND OOS11, AND I AM PRETTY SURE THAT IT WILL WORK ON MOST OF THE CUSTOM ROMS IF NOT ALL, ALSO YOU AGREE THAT YOU WILL DO IT ON YOUR OWN RISK!!!

Categories

Resources