set_metadata_recursive failing on Android install

use*_*066 13 installer android selinux rom

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' 
Run Code Online (Sandbox Code Playgroud)

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!

sch*_*mar 17

我通过从http://www.clockworkmod.com/rommanager升级到最新的ClockworkMod Recovery,在我的Nexus 7(2012)上解决了这个问题.

  • 升级发条到6.0.4.3然后去安装zip就好了. (5认同)
  • 即使将我的Nexus 4更新为Android 4.4,这对我也有用.问题似乎来自先前CWM版本中的`set_metadata_recursive`函数的不完整/错误实现,该函数在Google的新更新脚本中使用,而不是旧的`set_perms_recursive`函数. (4认同)