OnePlus 5 is a premium smartphone powered by a Qualcomm Snapdragon 835, 6 to 8 GB LPDDR4x RAM, 64 to 128 GB UFS 2.0 storage and a 5.5″ Full HD display, as well as the usual LTE, WiFi, Bluetooth, GPS.. connectivity. It was launched yesterday for $479 with 6GB RAM/64GB storage, $539 with 8GB RAM/128GB storage, and today, I’ve just read on XDA developers that the company had already released the source code for the phone. Beside the official Google Nexus/Pixel smartphones, many manufacturers will drag their feet before they eventually open the source code that they are legally required to release.
Some companies will release the source code as tarballs, which works, but OnePlus has done better with Linux 4.4.21 source code available on Github.
You should also be able to get the Android 7.1 Nougat source code as indicated here:
repo init -u git://github.com/OnePlusOSS/android.git -b oneplus/QC8998_N_7.1
The source code should lead to improvements by the community, as well as the eventual release of unofficial “ROM’s”. The company already released the Linux kernel and Android for their OnePlus 3 model on the day of the launch last year, so they are making an habit of it…