Installation Instructions for Nougat AOSP
Here is are brief instructions to install custom ROM via TWRP. For a full tutorial, go to: How to Install Custom ROM using TWRP?
Firstly, Get the latest TWRP build for your device from our TWRP download page. or TWRP website.
Read more: http://www.androidsage.com/2016/01/29/how-to-install-twrp-recovery-on-your-android-device/#ixzz4JFxKorKd
http://www.androidsage.com/2016/03/06/download-latest-twrp-3-0-0-for-your-android-device/
https://twrp.me/Devices/
安装方法
1、把手机关机
2、同时按住电源键+音量下键,进入bootloader界面
3、连接数据线连接手机
4、打开下载的镜像文件夹,按住Shilt+鼠标右键,并选择-《在此处打开命令窗口》(路径不能有中文本----教程的路径:C:\twp\twp.img)
5、在dos命令窗口输入下面的命令:
Step 1: Download the AOSP ROM and the compatible Google Apps from above. For root access, download the SuperSU file from above.
AOSP ROM(including the bellow):http://forum.xda-developers.com/nexus-4/orig-development/wip-aosp-7-0-nougat-t3448444
Google Apps:http://opengapps.org/
SuperSu zip Stable for TWRP: http://download.chainfire.eu/supersu-stable
http://forum.xda-developers.com/showthread.php?t=1538053
Step 2: Transfer all the necessary files to your device’s internal storage or SDcard.
Step 3: Reboot into TWRP recovery. Power off completely and then press and hold the power button and volume down key for a few seconds.
Step 3: Take full android backup: Backup partitions- system, data, boot, recovery, EFS and cache(optional).
Step 4: Wipe the current system.
Step 5: Tap Install, navigate to the AOSP ROM zip file and select it. Confirm action.
Step 6: Similarly, flash the compatible Google apps and SuperSU zip files.
Step 7: Reboot to system
Read more: http://www.androidsage.com/2016/08/27/install-android-7-0-nougat-on-nexus-4-port-from-official-aosp-rom/#ixzz4JFfWGPc7