This is outdated. You can still use this procedure if you want, but there is now a flashable zip that can be used for upgrades, or clean installs in this thread, unless you have an AT&T H900.
If you have an AT&T H900 and would like to upgrade to stock Nougat, then you can follow the procedure below. You only need to flash the kernel (boot.img) and system (system.img). Nougat works OK with the rest of the MM firmware.
I have not gotten verification that the modem firmware is OK for the H900. On a lot of other devices, the modem is the same for the AT&T and T-Mobile versions, but need to be sure.
If you have an H900, follow the procedure below, but do not flash the modem, or rpm for now. Nougat works with the MM modem, and rpm. Once I find a brave soul that is willing to test the modem, and rpm on the H900, I will update this post. If you are willing, I can give you the instructions to backup your modem and rpm partitions. This is something that will either work, or won't, but you can revert -- it isn't going to brick your phone, but you MUST have backups of those partitions. I don't have them since I don't own an H900.
Here is the quick and dirty on how to upgrade to Nougat and keep root. Edited to add modem, and rpm...
First the usual disclaimers:
You blow up your phone, that is on you.
This method has only been tested on STOCK rooted MM v20L -- anything else, and you are in uncharted territory.
* Download boot.img
SHA1: 0ac43ba62c7bd548bf25f4f3125dc07dbf49a859
* Download system.img
SHA1: 7916482970b2c4113b79d41ff89f00c41f783008
* Download modem.img NOT FOR H900
SHA1: 76e4a1dc098b1497f31ed7de3fc21d8365ebc025
* Download rpm.img NOT FOR H900
SHA1: 90a98e04c2083303378898d37857766fdfb01525
Until I (or someone else) makes a flashable zip, you will have to do it manually:
* adb reboot recovery
* adb push boot.img /sdcard
* adb push system.img /sdcard
* adb push modem.img /sdcard
* adb push rpm.img /sdcard
* adb shell
* cd /dev/block/bootdevice/by-name
* dd if=/sdcard/boot.img of=boot
* dd if=/sdcard/system.img of=system
* dd if=/sdcard/modem.img of=modem
* dd if=/sdcard/rpm.img of=rpm
* exit
* adb reboot system
It will complain about running out of space when you are flashing system -- you can safely ignore this.
Once you reboot, it will upgrade you to Nougat. I have deleted the recovery-from-boot.p so you will not lose TWRP, but you will lose root (temporarily). Also, all the crapware will come back if you debloated.
Once the upgrade is complete and you are back, you can reboot to recovery and flash your su binary of choice to regain root, and then proceed to clean all the crap up again.
In the event that you don't want to go through all this crap, I will be posting (unless someone beats me to it) an update.zip that is debloated and pre-rooted this weekend (don't have time till then).
I have tested this on my own phone, so I know it works. Again, I was running stock v20L that had been rooted with dirtycow, and SuperSU for my su bin.
Lastly, make sure you enable developer mode and disable automatic updates
-- Brian
If you have an AT&T H900 and would like to upgrade to stock Nougat, then you can follow the procedure below. You only need to flash the kernel (boot.img) and system (system.img). Nougat works OK with the rest of the MM firmware.
I have not gotten verification that the modem firmware is OK for the H900. On a lot of other devices, the modem is the same for the AT&T and T-Mobile versions, but need to be sure.
If you have an H900, follow the procedure below, but do not flash the modem, or rpm for now. Nougat works with the MM modem, and rpm. Once I find a brave soul that is willing to test the modem, and rpm on the H900, I will update this post. If you are willing, I can give you the instructions to backup your modem and rpm partitions. This is something that will either work, or won't, but you can revert -- it isn't going to brick your phone, but you MUST have backups of those partitions. I don't have them since I don't own an H900.
Here is the quick and dirty on how to upgrade to Nougat and keep root. Edited to add modem, and rpm...
First the usual disclaimers:
You blow up your phone, that is on you.
This method has only been tested on STOCK rooted MM v20L -- anything else, and you are in uncharted territory.
* Download boot.img
SHA1: 0ac43ba62c7bd548bf25f4f3125dc07dbf49a859
* Download system.img
SHA1: 7916482970b2c4113b79d41ff89f00c41f783008
* Download modem.img NOT FOR H900
SHA1: 76e4a1dc098b1497f31ed7de3fc21d8365ebc025
* Download rpm.img NOT FOR H900
SHA1: 90a98e04c2083303378898d37857766fdfb01525
Until I (or someone else) makes a flashable zip, you will have to do it manually:
* adb reboot recovery
* adb push boot.img /sdcard
* adb push system.img /sdcard
* adb push modem.img /sdcard
* adb push rpm.img /sdcard
* adb shell
* cd /dev/block/bootdevice/by-name
* dd if=/sdcard/boot.img of=boot
* dd if=/sdcard/system.img of=system
* dd if=/sdcard/modem.img of=modem
* dd if=/sdcard/rpm.img of=rpm
* exit
* adb reboot system
It will complain about running out of space when you are flashing system -- you can safely ignore this.
Once you reboot, it will upgrade you to Nougat. I have deleted the recovery-from-boot.p so you will not lose TWRP, but you will lose root (temporarily). Also, all the crapware will come back if you debloated.
Once the upgrade is complete and you are back, you can reboot to recovery and flash your su binary of choice to regain root, and then proceed to clean all the crap up again.
In the event that you don't want to go through all this crap, I will be posting (unless someone beats me to it) an update.zip that is debloated and pre-rooted this weekend (don't have time till then).
I have tested this on my own phone, so I know it works. Again, I was running stock v20L that had been rooted with dirtycow, and SuperSU for my su bin.
Lastly, make sure you enable developer mode and disable automatic updates
-- Brian
Last edited: