OnePlus One
Jump to navigation
Jump to search
Root
Unroot
TBD...
Restore
OnePlus offers fastboot images on their download site. Download a factory images and verify its checksum. We have to reboot into to bootloader, so that we can use fastboot to install the factory image.[1]
Unzip the ...-signed-fastboot.zip
image first, we should see something like this:
$ ls -trhgo total 1.2G -rw-r--r-- 1 783M Jan 1 2009 system.img -rw-r--r-- 1 7.4M Jan 1 2009 recovery.img -rw-r--r-- 1 5.5M Jan 1 2009 boot.img -rw-r--r-- 1 56M Nov 4 12:06 NON-HLOS.bin -rw-r--r-- 1 749 Nov 4 12:06 filesmap -rw-r--r-- 1 284K Nov 4 12:06 tz.mbn -rw-r--r-- 1 12K Nov 4 12:06 sdi.mbn -rw-r--r-- 1 296K Nov 4 12:06 sbl1.mbn -rw-r--r-- 1 186K Nov 4 12:06 rpm.mbn -rw-r--r-- 1 9.4M Nov 4 12:06 logo.bin -rw-r--r-- 1 377K Nov 4 12:06 emmc_appsboot.mbn -rw-r--r-- 1 10M Nov 4 12:06 static_nvbk.bin -rw-r--r-- 1 14 Nov 4 12:06 android-info.txt -rw------- 1 134M Nov 4 12:45 userdata.img -rw------- 1 138M Nov 4 12:45 userdata_64G.img -rw------- 1 11M Nov 4 12:45 cache.img -rw------- 1 253 Nov 4 12:45 flash-radio.sh -rw------- 1 780 Nov 4 12:45 md5sum-fastboot.md5
Reboot into the bootloader:
adb reboot-bootloader # Or via holding Vol-
while powering on the device.
Flash each via fastboot, the first steps can be done via flash-radio.sh
too:
fastboot flash modem NON-HLOS.bin
fastboot flash sbl1 sbl1.mbn
fastboot flash dbi sdi.mbn
fastboot flash aboot emmc_appsboot.mbn
fastboot flash rpm rpm.mbn
fastboot flash tz tz.mbn
fastboot flash LOGO logo.bin
# fastboot flash oppostanvbk static_nvbk.bin # This is included by flash-radio.sh
not not in any tutorials...?
Flash the rest of the sytem:
fastboot flash boot boot.img fastboot flash cache cache.img fastboot flash recovery recovery.img fastboot flash system system.img fastboot flash userdata userdata_64G.img
Reboot:
fastboot reboot
CyanogenMod
- Download CyanogenMod for "bacon" (Archive)
Download SuperSU, to enable root access[2]- not needed, as CyanogenMod brings its own permission manger.[3]- Download Google Apps (Archive), if needed
adb push cm-12-xxxx-bacon.zip /sdcard/adb push UPDATE-SuperSU-v*.zip /sdcard/# Really, skip it.[4] adb push gapps-kk-**.zip /sdcard/ adb push *.md5 /sdcard/ # The checksums will be verified upon installation!
Reboot into recovery:
adb reboot recovery
- Select "Recovery", we should now be in our recovery mode.
- Select "wipe" or "factory reset"
- Select "install from SDcard" and then point to the CyanogenMod zip file - and select install
- Repeat 4) for other zip files as well (e.g. the GoogleApps package)
- Reboot the phone, now CyanogenMod should boot.
Postinstall
...
Update
...
Links
- CM 11S 05Q OTA Released
cm-bacon-5fa8c79c0b-to-5229c4ef56-signed.zip (MD5:a796cb5712bb1a05b4c3931304cc39a1
)
OnePlus One: BACON Change Log12.0-YNG1TAS0YL - Cyanogen OS 12 based on AOSP 5.0 (2015-04-13)12.0-YNG1TAS17L - Cyanogen OS 12 based on AOSP 5.0 (2015-04-22)cm-12.0-YNG1TAS17L-bacon-signed.zip (MD5:075e5748582ff0ebcca1f334856d637c
)- CM12S YNG1TAS17L - INSTALLATION GUIDE, REVIEW, CHANGE LOG