I'm trying to bring up a 4.4 android build for my droid razr HD. It compiles cleanly, but when I try to install it fails with the following error in the recovery log:
ApplyParsedPerms: removexattr of /system/xbin/zipalign to 0 failed: Operation not supported on transport endpoint
script aborted: set_metadata_recursive: some changes failed
set_metadata_recursive: some changes failed
E:Error executing updater binary in zip '/external_sd/MSI/update-XenonHD-11-07-13-signed-xt926.zip'
Error flashing zip '/external_sd/MSI/update-XenonHD-11-07-13-signed-xt926.zip'
So... I did a fair amount of research into the changes made by AOSP in build and bootable/recovery, including comments others have made on this issue, and I'm thinking it's a missing seandroid configuration for /system/xbin. It's definitely something about items in /system/xbin because when I remove zipalign from the build, it errors out on tcpdump, and so on.. Is this indeed a sepolicy configuration that's missing? Is there something else I need to check? Can anyone tell me how to include xbin without having to mess with the files residing there? Thanks, appreciate your time!
I fixed this issue on my Nexus 7 (2012) by upgrading to the latest ClockworkMod Recovery from http://www.clockworkmod.com/rommanager.