{"id":1277,"date":"2015-01-13T17:11:24","date_gmt":"2015-01-13T11:41:24","guid":{"rendered":"http:\/\/ravi.rajiniravi.com\/blog\/?p=1277"},"modified":"2015-01-13T17:08:39","modified_gmt":"2015-01-13T11:38:39","slug":"cyanogenmod-12-on-oneplus-one-india","status":"publish","type":"post","link":"https:\/\/ravi.rajiniravi.com\/blog\/2015\/01\/cyanogenmod-12-on-oneplus-one-india\/","title":{"rendered":"CyanogenMod 12 on OnePlus One &#8211; India"},"content":{"rendered":"<p>I started off trying to get official Lollipop (<a title=\"OPO Lollipop alpha\" href=\"https:\/\/forums.oneplus.net\/threads\/rom-official-5-0-android-lollipop-alpha-preview-is-over.223252\/\" target=\"_blank\">alpha<\/a>) working on my OPO. Unfortunately, the preview was closed by the time I got to know about it and didn\u2019t want to download this on non-trusted mirrors. So, I decided to install <a title=\"CyanogenMod 12\" href=\"http:\/\/www.cyanogenmod.org\/blog\/the-l-is-for-lollipop\" target=\"_blank\">CM 12<\/a> on my OPO. Though many install guides exist, writing this in bullet style while installing it in parallel.<\/p>\n<p>Before you begin the process, ensure that you have atleast 50-60% battery and know how to boot into fastboot and recovery modes.<\/p>\n<p>Apart from being aware of known bugs and the <a title=\"CM12 Bacon changelog\" href=\"http:\/\/www.cmxlog.com\/12\/bacon\/\" target=\"_blank\">changelog<\/a>, the other important thing you should be aware is that since these are nightly builds, to update the OS, you\u2019ll have to download and manually install the full zip file (about 250MB+). Workaround at the end of the post.<\/p>\n<ul>\n<li><strong>Download<\/strong> the necessary files. Copy into a handy folder or remember the exact path especially of TWRP and SuperSU files\n<ul>\n<li><a title=\"XDA Minimal ADB and Fastboot setup\" href=\"http:\/\/forum.xda-developers.com\/showthread.php?t=2317790\" target=\"_blank\">Minimal (Android Debug Bridge) ADB and Fastboot<\/a> for Windows (If you don\u2019t want to install the full SDK)<\/li>\n<li><a title=\"Bacon (OPO) recovery image\" href=\"http:\/\/techerrata.com\/browse\/twrp2\/bacon\" target=\"_blank\">Team Win Recovery Project (TWRP) <\/a>for custom recovery image (<span style=\"text-decoration: underline;\"><em>recoveryfile.img<\/em><\/span>); ClockWorkMod (CWM) works as well \u2013 I used TWRP<\/li>\n<li><a title=\"SuperSU\" href=\"http:\/\/download.chainfire.eu\/641\/SuperSU\/UPDATE-SuperSU-v2.40.zip\" target=\"_blank\">SuperSU<\/a> to root(<span style=\"text-decoration: underline;\"><em>supersufile.zip<\/em><\/span>)<\/li>\n<li><a title=\"Download CM12 for Bacon\" href=\"https:\/\/download.cyanogenmod.org\/?device=bacon\" target=\"_blank\">CM12<\/a> for OPO (<em>bacon<\/em>)<\/li>\n<li><a title=\"GAPPS\" href=\"https:\/\/www.androidfilehost.com\/?fid=95784891001614821\" target=\"_blank\">GAPPS<\/a> \u2013 Check the <a title=\"GAPPS package comparison\" href=\"http:\/\/forum.xda-developers.com\/paranoid-android\/general\/gapps-official-to-date-pa-google-apps-t2943900\" target=\"_blank\">comparison<\/a> and download one of your choice<\/li>\n<\/ul>\n<\/li>\n<li><strong>Backup<\/strong> necessary stuff\n<ul>\n<li>App data to Google servers<\/li>\n<li>Images and important files to your computer or onto Drive<\/li>\n<li>Whatsapp of any other messaging software<\/li>\n<li><a title=\"SMS backup & restore\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.riteshsahu.SMSBackupRestore\" target=\"_blank\">SMS messages<\/a> and <a title=\"Call log backup and restore\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.riteshsahu.CallLogBackupRestore\" target=\"_blank\">Call log<\/a> if you so desire<\/li>\n<\/ul>\n<\/li>\n<li>Installing necessary programs in windows\n<ul>\n<li>Install minimal ADB and Fastboot and let the installer create a shortcut for easy access<\/li>\n<\/ul>\n<\/li>\n<li>Know the boot modes on OPO\n<ul>\n<li>Fastboot mode: volume up + power (You\u2019ll see an icon with fastboot written)<\/li>\n<li>Recovery mode: volume down + power<\/li>\n<\/ul>\n<\/li>\n<li><strong>Unlock boot loader<\/strong>\n<ul>\n<li>Turn the phone off<\/li>\n<li>Boot into fastboot mode<\/li>\n<li>Plug the phone into your PC and type the following command check if the phone is properly connected. If connected, the phone serial number should be returned\n<ul>\n<li>Command prompt > <em>fastboot devices<\/em><\/li>\n<\/ul>\n<\/li>\n<li>Reset and unlock -Note:\u00a0 Entire data will be wiped and the phone will be reset to factory settings\n<ul>\n<li>Command prompt > <em>fastboot oem unlock<\/em><\/li>\n<li>Command prompt > <em>fastboot reboot<\/em><\/li>\n<\/ul>\n<\/li>\n<li>Once the phone reboots, directly enable Developer options and disable CM recovery protection in the phone settings\n<ul>\n<li>Settings > About phone > Tap on Build number 7 times<\/li>\n<li>Settings > Developer options > Enable USB debugging<\/li>\n<li>Settings > Developer options > Uncheck\/disable the \u2018Update recovery with system updates\u2019 option<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Install custom recovery<\/strong>\n<ul>\n<li>Turn off the phone off<\/li>\n<li>Boot into fastboot mode and install custom recovery and reboot\n<ul>\n<li>Command prompt > <em>fastboot flash recovery <span style=\"text-decoration: underline;\">recoveryfile.img<\/span><\/em><\/li>\n<li>Command prompt > <em>fastboot reboot<\/em><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li><strong>Rooting<\/strong> with SuperSU binary to root with stock ROM\n<ul>\n<li>Boot into recovery mode and you should be at TWRP home page<\/li>\n<li>Copy SuperSU binary onto the phone\n<ul>\n<li>Command prompt > <em>adb push <span style=\"text-decoration: underline;\">supersufile.zip<\/span> \/sdcard\/<\/em>\n<ul>\n<li>Alternately, you should be able to browse your phone folders using windows explorer. Copy the necessary files into \/sdcard\/<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<\/li>\n<li>Install SuperSU\n<ul>\n<li>On phone browse to <span style=\"text-decoration: underline;\"><em>superfile.zip<\/em><\/span>\u00a0 location, select it and swipe to confirm the installation<\/li>\n<\/ul>\n<\/li>\n<li>You are done<\/li>\n<li>Reboot into recovery mode to install custom ROM<\/li>\n<\/ul>\n<\/li>\n<li><strong>Installing <\/strong>CM12 and GAPPS\n<ul>\n<li>Copy CM12 and GAPPS files either via <em>adb push<\/em> or using windows explorer<\/li>\n<li>On phone, TWRP home page, press <em>wipe<\/em> > <em>advanced wipe<\/em> > select <em>dalvik cache<\/em>, <em>cache<\/em>, <em>data<\/em> and <em>system <\/em>and swipe to confirm wipe<\/li>\n<li>Press <em>back<\/em> and go to <em>install<\/em> > Select ROM and GAPPS files and swipe to flash<\/li>\n<\/ul>\n<\/li>\n<li>Reboot to a fresh install of CM 12<\/li>\n<\/ul>\n<p>The above process shouldn\u2019t take you more than 10-15 minutes maximum.<\/p>\n<p>To install nightly updates in small incremental chunks rather than download and install the full\u00a0 nightly, install <a title=\"Cyandelta installer\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.cyandelta\" target=\"_blank\">Cyandelta <\/a>from Play store and give root permissions to it.<\/p>\n<hr \/>\n<p>Credits for the above instructions go to all the AOSP, CM and OnePlus fans who have put up detailed steps in their blogs and product forums.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started off trying to get official Lollipop (alpha) working on my OPO. Unfortunately, the preview was closed by the time I got to know about it and didn\u2019t want to download this on non-trusted mirrors. So, I decided to install CM 12 on my OPO. Though many install guides exist, writing this in bullet [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":3979,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"book_review_cover_url":"","book_review_title":"","book_review_series":"","book_review_author":"","book_review_genre":"","book_review_isbn":"","book_review_publisher":"","book_review_release_date":"","book_review_format":"","book_review_pages":"","book_review_source":"","book_review_rating":"","book_review_summary":"","_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[8],"tags":[86,84,85],"class_list":["post-1277","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-technology","tag-android-lollipop","tag-cyanogenmod","tag-oneplus-one"],"jetpack_featured_media_url":"https:\/\/ravi.rajiniravi.com\/blog\/wp-content\/uploads\/2021\/01\/photo-1547139559-c89c59d117611.jpg","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1277","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/comments?post=1277"}],"version-history":[{"count":3,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1277\/revisions"}],"predecessor-version":[{"id":1280,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/posts\/1277\/revisions\/1280"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media\/3979"}],"wp:attachment":[{"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/media?parent=1277"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/categories?post=1277"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ravi.rajiniravi.com\/blog\/wp-json\/wp\/v2\/tags?post=1277"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}