Originally Posted by Phantom Shadow
The device isn't encrypting on first boot so it won't be that. Well, it doesn't seem to have the forceencrypt flag, and I still have the option to encrypt my phone in the settings.
I did notice that in the zip file and before first boot the system folder only has the bin folder, and is then populated with build.prop and all other folders/files upon first boot. CM11 zip has it all already. Slow first boot could just be because it is extracting all the files?
Yep, I mentioned a few posts back that it's not encryption. My release notes were written before paulb_nl found that out.
Maybe but I think the following recovery function is already extracting those files directly to the block device. This is what I mentioned earlier as block mode flashing and there are already commit in review to disable it and use the previous zip file structure: http://review.cyanogenmod.org/#/c/78370/
block_image_update("/dev/block/platform/msm_sdcc.2/by-num/p25", package_extract_file("system.transfer.list"), "system.new.dat", "system.patch.dat");
I don't know C very well so feel free to correct me if I have misunderstood it.
I'll see if disabling that or odexing helps with the boot time and investigate it more thoroughly as my spare-time allows. Every theory this far has been just a theory. ADB auth didn't allow checking logcat while it was booting for the first time.