Oct 13, 2017

Flashing new Android - how I did it for my htc One m7 :-)

These are the steps I noted down when flashing custom ROM to update from HTC (Android 5.0) to Lineage OS (Android 7.1). Yours should be pretty much similar. Cyanogen OS is now replaced by Lineage OS.

   1.   Unlock Bootloader from htcdev site for HTC using fastboot and adb
You can also get ADB files from Android SDK

a.       fastboot oem get_identifier_token
b.       fastboot flash unlocktoken Unlock_code.bin

   2.       Download latest TWRP https://twrp.me/ and SuperUser flashable ZIP http://www.supersu.com/
Install TWRP recovery using fastboot and adb

a.       fastboot flash recovery twrp-3.0.0-2-m7.img
b.       fastboot erase cache

You should now have these files in your folder
adb.exe
AdbWinApi.dll
AdbWinUsbApi.dll
fastboot.exe
Unlock_code.bin
openrecovery-twrp-2.5.0.0-m7wls.img
SuperSU-v2.79-201612051815.zip

   3.       Backup data


   4.       Root the phone by flashing latest SuperSU via TWRP Install. Remember you are still in old OS only now unlocked and rooted.


   5.       Download the custom ROM OS and openGapps (for google apps)
b.       http://opengapps.org/


   6.       Wipe and then Flash Lineage OS followed by opengapps



   Happy Android folks! 
   I am using for my phone for last few months and it works great, except at few times when it crashes :-) 

9 comments:

aaradhana said...

USEFULL DETAILS
https://www.youtube.com/edit?o=U&video_id=xyBNcL3xldY

aaradhana said...

இனிய புத்தாண்டு நல்வாழ்த்துக்கள்...
https://www.youtube.com/edit?o=U&video_id=kCEcmA_JA9I

aaradhana said...

அருமை
https://www.youtube.com/edit?o=U&video_id=TEwlc-Az-3s

aaradhana said...

அருமை https://www.youtube.com/edit?o=U&video_id=44JiJPaFwEM

Unknown said...

https://youtu.be/XOhXLoHtRSQ

aaradhana said...

https://www.youtube.com/edit?o=U&video_id=TiUW_1Q7blQ

aaradhana said...

excellent post
https://www.youtube.com/edit?o=U&video_id=DHjNC-t4iZs

aaradhana said...

excellent post
https://www.youtube.com/edit?o=U&video_id=-ayAOu1QPnw

Vignesh said...

Thank you for post and your blog. My friend showed me your blog and I have been reading it ever since.
Ayurveda
Ayurveda Resorts
Ayurveda Kovalam
Ayurveda Trivandrum
Ayurveda Kerala
Ayurveda India