The reason you have to install the developer tools is to get an ADB-friendly driver. I have no clue how to do this on the Mac, but on Windows you absolutely have to install the driver or ADB/Fastboot won't see the phone at all.
Installing Paranoid Android on OnePlus 3
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.
- Edited
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?
- Edited
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.
- Edited
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.
- Edited
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.
- Edited
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.
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 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?
- Edited
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?
- Edited
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.
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...
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.
- Edited
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 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?