vampirefo is correct. I could not have figured out packing the boot image without his assistance. Credit where credit is due. As far as why I'm running 6.4 and not 6.5, I just got the phone yesterday and didn't bother updating it before flashing TWRP, rooting and unlocking the bootloader. When going through that process, all of the tools seemed to be built for 6.4 firmware and I didn't want to risk losing the ability to do so. My general approach to any device is that OTA updates are BAD BAD BAD and you should never do them. Here's a blog post I wrote last year that explains my stance on OTAs
http://ryancuda.blogspot.com/2015/05/why-ota-updates-are-bad.html Besides, with any luck, I'll be flashing custom firmware on it soon. firmware 6.5 wasn't even a point release for Android (still build MRA58k, the FIRST release of Marshmallow which is nearly a year old now), so defer to rule #1 NEVER ACCEPT OTA UPDATES. And yes this is not my main phone. daily driver is a jailbroken iPhone 6S+, this phone is just for dev purposes.
I disagree OTA are the best, you get almost all the info you need from them, to develop on a particular device correct placement of partitions, correct permissions, security updates.
Thanks to the OTA I know the correct permissions to place in my update script for my flashable stock rom and or any custom rom.
Correct permissions are the key to successful flashing firmware.
As far as root tools and so forth.
How I rooted my device.
I unboxed the phone, charged phone, after an hour, started flash tool loaded unlock.img hooked phone up to computer pressed power.
Phone was immediately flashed, this was the first start of phone.
Now let phone boot up, skip everything that can be skipped only do the least possible to get to developer options, check USB debugging.
adb reboot bootloader,
fastboot oem unlock
reboot, setup phone.
adb reboot bootloader
fastboot boot twrp
make backup
Reboot system download OTA, after download copy OTA to computer, now allow OTA to install, after installed.
adb reboot bootloader
fastboot boot twrp
make backup
now flash SuperSU zip and reboot.
I now have two completely stock back ups one that came with phone other one 6.5 updated via OTA.
Now with rooted file manager remove, amazon crap, and anything else you want to remove.
If at anytime another OTA is available.
adb reboot bootloader
fastboot boot twrp
use twrp to restore the system and boot from 6.5, reboot.
Download new OTA save to computer, then install, once installed make a backup of it.
Just repeat the process for every OTA,
These backups can be transferred to your computer.
Always have the most current firmware without any problems.
Sent from my R1 HD using Tapatalk
---------- Post added at 09:45 AM ---------- Previous post was at 09:44 AM ----------
What's the next step now in development?
My next step is to make a flashable stock rom, I figured out adb remount last night.
Sent from my R1 HD using Tapatalk