The Windows drivers might be on the phone's memory and you could install them right from the connected phone that shows up as a drive.

  • AGI replied to this.

    Thanks to both. I installed the two drivers found at

    https://gsmusbdriver.com/oneplus-3

    but it did not work.
    I already tried with a virtual machine on Mac. It can't see anything, neither an external hard disk.
    I will see if I can find a Windows 7 machine.

    KM The Windows drivers might be on the phone's memory and you could install them right from the connected phone that shows up as a drive.

    Interesting point. However, it is not that my Mac or Windows machine can't see the phone in fastboot mode only, they can't see it all.

    Gurm The reason you have to install the developer tools is to get an ADB-friendly driver.

    Do you mean I shall install the 1GB Android Studio from https://developer.android.com/studio?

    • KM replied to this.

      AGI I still think using Linux could solve this issue the fastest.
      With Ubuntu: open a console, type
      sudo apt update
      sudo apt install android-tools-adb android-tools-fastboot

      Manjaro:
      sudo pacman -Sy android-tools

        KM Uh, thanks, that sounds quite a stretch for my limited competences, and, also, I have only business devices around, so I need to watch out what I install...

        I just tried on a Windows 7 laptop, and the phone is not recognized because malfunctioning. Even after installing the driver. Same as on the Windows 10 machine.

        Other weird thing. I can't get online using internet data, as I said before. If I click on an existing APN setting, I am given the option to edit, I just realized, but the edits are not effectively taken into account. So, no improvement. However, to my surprise, I called myself from Skype and the phone rang. Maybe to an expert it is obvious why, but with my T-Mobile Samsung this sim card was not good at anything.

        KM Versions of Android SDK tools from distributions are often disturbingly out of date.

        (Mainly referring to Debian/Ubuntu, no idea about Manjaro)

        Guess what?
        I used a different USB-to-USB-C cable and the phone got recognized!

        ./fastboot devices
        c0dcc5f0 fastboot

        However, I am encountering another issue which is not detailed in the tutorial

        ./fastboot flash recovery twrp.img
        Sending 'recovery' (27529 KB) OKAY [ 0.631s]
        Writing 'recovery' FAILED (remote: 'Partition flashing is not allowed')
        fastboot: error: Command failed

        Any idea what is wrong this time?
        Shall I unlocked the bootloader before flashing TWRP? I would think so, although I do not exactly know what I am doing and in the instructions I am following the unlocking is not mentioned in such order. On the phone screen I read DEVICE STATE - locked in red.

        • KM replied to this.

          AGI You must enter "fastboot oem unlock" first, or you can't do anything.
          Edit: I think it would delete all data but I guess you don't have important data on the phone's memory yet.

          • AGI replied to this.

            KM Thanks! I had proceeded meanwhile! I am wiping partitions with TWRP. In all the tutorials I have watched I can't see a partition called USB-OTG, which I do have in the list. I guess wiping it is meaningless since, if I understand, USB-OTG is just an external device connected to the phone via USB? None in my case!?

            Doubt before wiping. Shall I back-up something? I mean, I have not used the phone yet, so I have nothing mine. But I wonder, if something goes wrong with PA, is there an easy way for beginners like me to reinstall oxygenOS using the created backup?

            NOTE: In my case there has been a difference to the tutorials I went thru. After unlocking the device via fastboot, I could not turn the phone on in fastboot mode anymore. I had to restart the phone in normal mode as post-factory reset (go thru the choice of the language, fingerprint protection and all that) and tap again 7 times on the Build Number to re-gain developer privileges. Then Developer Options re-appeared among the settings. Inside I saw the OEM resulted unlocked, but USB debugging had turned to off.

            • KM replied to this.

              AGI if I understand, USB-OTG is just an external device connected to the phone via USB? None in my case!?

              Right, it's any device connected by cable.

              Make a backup if in doubt. It would take a while and need a lot of space on the internal memory but I think you could move it to your PC later. All you'd need additionally is the recovery partition which you just rrplaced with TWRP but it can be downloaded from OnePlus ("recovery link"): https://www.oneplus.com/support/softwareupgrade/details?code=4

              Edit: Never ever OEM lock the device again (via fastboot) unless both OxygenOS and the original OnePlus recovery partition are installed, or you will get a black screen at boot. There is a way out of this though but better avoid this.

              • AGI replied to this.

                KM Crap, I forgot about it and wiped. I am a bit nervous...

                But luckily from what you say I could get back to the original OS anyhow by downloading stuff from the net...

                On a different note, my AOSPA zip and Gapps zip files are on my Mac. How do I have TWRP access them? People on youtube flash them from the phone's internal storage. I tried to connect the Mac to the phone via USB but I can't read it. Thanks!

                • KM replied to this.

                  AGI With adb. While TWRP is running, you can push files to the phone with "adb push file.xyz /sdcard"

                  You might need to copy the files over to your Windows if the phone is only accessible from within Windows.

                  • AGI replied to this.

                    KM Thanks! I found another solution meanwhile. I cannibalized an USB-OTG cable from somewhere, and I can now read the relevant zip files from an USB stick.
                    However, the first attempt of flashing the custom ROM failed. I had ticked the two given options
                    1) Zip signature verification (no clue what it is)
                    2) Reboot after flashing
                    The signature could not be verified. Is it important?

                    Okay, I succeeded! I just skipped the zip signature verification. Thanks a lot for your patience!

                    The OS looks quite unstable, though. For instance, when I select WiFi settings, Bluetooth settings open. Or, if I select a wifi provider, a different one is shown. Windows appear double or in multiple quantities covering the whole screen, and in some cases keep moving up and down. Have you experienced anything similar?

                    Do you know how to take a screenshot? If it works, I can show examples of what I mean...

                    Is there something I need to do at the end of the flashing, like locking the device again? Shall I use fastboot for that?

                    • KM replied to this.

                      AGI I never had such things before. The OS is pretty stable. You can take a screenshot by holding the Power button a little until a menu pops up.
                      You flash the ROM first, then immediately Gapps without a Reboot in between.
                      I'd wipe everything again (without the data partition), then use TWRP's file browser to delete all folders on the data partition, especially "Android", but leave the zips there. Make sure to clean the dalvik cache, too. I will tak a look into TWRP to remember if I skipped a step. And you did download exactly this file: http://download.paranoidandroid.co/roms/oneplus3/pa_oneplus3-7.3.1-RELEASE-20171030-signed.zip ?

                      Edit: OK I'd do the advanced wipe in which you select everything except for "Internal storage". It seems the standard wipe didn't include the system partition. The go in TWRP' main menu, Advanced - File Manager and delete everything in the /sdcard directory manually, except for your Paranoid Android and Gapps files or other downloaded stuff. Then you should be able to do a proper clean install.

                      • AGI replied to this.

                        KM I downloaded from http://paranoidandroid.co/downloads/oneplus3

                        I think I had a reboot between flashing the ROM and the Gapps.

                        You are suggesting to wipe everything but Data. Why is that? And via TWRP? So I should wipe twice?

                        Thanks. I will see if I can get some photos. The phone is unusable right now...

                        • KM replied to this.

                          AGI I just confused the exact terms. When you wipe, data is different from internal storage. Internal storage is the /sdcard directory where you saved your downloaded files onto. Maybe the reboot did mess things up. I remember having frequent "play store has stopped" errors when I once flashed Gapps after using the OS. But not the things you describe.

                          Just to make sure we are on the same page. My files are on an external memory stick which I connected to the phone via USB-OTG. I did not wipe the internal storage via TWRP before installing the ROM. That is what I read in multiple tutorials. Is that correct?
                          I watched a video in which both zip files, for ROM and GApps, were selected and installed together. I could try that.

                          EDIT: I saw your EDIT now. Thanks. I could not take photos to illustrate the issues. Funnily, whenever I pressed screenshot the anomalies disappeared. But believe me, everything is weird. For instance, upon shutting down, there were 4 "shutting down" windows, a big, central one, and three in a row at the top of the screen. Some for Wifi and anything else.
                          I have begun another install. This time I have got "Unable to mount storage" in red after each wiped partition wiped, but the wipe was considered successful. I could not delete files from the internal storage manually nor I could wipe it.
                          I re-installed loading both zip files, ROM and GApps, simultaneously. I am still facing the same troubles though ☹️

                          • KM replied to this.

                            AGI OK if they are on a separate stick you could safely tick everything in the Advanced Wipe dialogue (except for USB-OTG of course). Just to be sure there are not leftovers of any kind anywhere. That's what I'd do in this situation.

                            • AGI replied to this.

                              KM I tried multiple times but no changes!

                              I would like to re-install OxygenOS, at least to see if I can revert. I found the below link.

                              https://www.oneplus.com/support/softwareupgrade/details?code=4

                              I would expect to download a zip file but my Mac extracts a folder, and TWRP does not like. I will try with a Windows PC. Is the procedure the same as for the custom ROM, is not it, except I will not have to flash GApps?

                              • KM replied to this.

                                AGI No need for Gapps, just wipe first and then install the zip.

                                • AGI replied to this.
                                  dev