Skip to content

Instantly share code, notes, and snippets.

@silent27121984
Created June 8, 2018 02:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save silent27121984/06e693c21706bb031ab6f4824ca12a7c to your computer and use it in GitHub Desktop.
Save silent27121984/06e693c21706bb031ab6f4824ca12a7c to your computer and use it in GitHub Desktop.
[ 99% 87953/87954] build /home/silent2...antoni/aosp_santoni-ota-9de86ed947.zip
FAILED: /home/silent27-4pda/pe/out/target/product/santoni/aosp_santoni-ota-9de86ed947.zip
/bin/bash -c "(echo \"Package OTA: /home/silent27-4pda/pe/out/target/product/santoni/aosp_santoni-ota-9de86ed947.zip\" ) && (PATH=/home/silent27-4pda/pe/out/host/linux-x86/bin/:\$PATH MKBOOTIMG=/home/silent27-4pda/pe/out/host/linux-x86/bin/mkbootimg ./build/tools/releasetools/ota_from_target_files -v --block --extracted_input_target_files /home/silent27-4pda/pe/out/target/product/santoni/obj/PACKAGING/target_files_intermediates/aosp_santoni-target_files-9de86ed947 -p /home/silent27-4pda/pe/out/host/linux-x86 -k build/target/product/security/testkey --backup=true /home/silent27-4pda/pe/out/target/product/santoni/obj/PACKAGING/target_files_intermediates/aosp_santoni-target_files-9de86ed947.zip /home/silent27-4pda/pe/out/target/product/santoni/aosp_santoni-ota-9de86ed947.zip )"
Package OTA: /home/silent27-4pda/pe/out/target/product/santoni/aosp_santoni-ota-9de86ed947.zip
running: openssl pkcs8 -in build/target/product/security/testkey.pk8 -inform DER -nocrypt
--- target info ---
blockimgdiff_versions = (str) 3,4
blocksize = (int) 131072
boot_size = (int) 67108864
build.prop = (dict) {'persist.audio.dirac.speaker': 'true', 'ro.sys.sdcardfs': 'true', 'vendor.audio.offload.buffer.size.kb': '64', 'vendor.voice.record.conc.disabled': 'false', 'dalvik.vm.isa.arm.variant': 'cortex-a53', 'ro.product.cpu.abilist': 'arm64-v8a,armeabi-v7a,armeabi', 'debug.enable.sglscale': '1', 'ro.build.product': 'santoni', 'vendor.audio.dolby.ds2.enabled': 'true', 'vendor.audio.pp.asphere.enabled': 'false', 'ro.build.id': 'OPM6.171019.030.B1', 'persist.audio.fluence.speaker': 'true', 'persist.radio.VT_ENABLE': '1', 'ro.product.cpu.abilist32': 'armeabi-v7a,armeabi', 'ro.qc.sdk.audio.fluencetype': 'fluence', 'ro.qualcomm.cabl': '0', 'af.fast_track_multiplier': '1', 'vendor.audio.offload.passthrough': 'false', 'dalvik.vm.lockprof.threshold': '500', 'persist.vendor.radio.custom_ecc': '1', 'ro.build.fingerprint': 'Xiaomi/santoni/santoni:8.1.0/OPM6.171019.030.B1/4pda:userdebug/test-keys', 'ro.product.manufacturer': 'Xiaomi', 'vendor.audio.flac.sw.decoder.24bit': 'true', 'persist.vendor.audio.fluence.voicecall': 'true', 'vendor.vidc.enc.disable_bframes': '1', 'ro.bionic.ld.warning': '1', 'persist.data.netmgrd.qos.enable': 'true', 'ro.build.description': 'santoni-userdebug 8.1.0 OPM6.171019.030.B1 4pda test-keys', 'ro.expect.recovery_id': '0x325c0e9e49427ec2c43b446fdf8f7e30c9e65372000000000000000000000000', 'ril.ecclist': '100,101,102,108,112', 'ro.product.brand': 'Xiaomi', 'wifi.interface': 'wlan0', 'persist.data.iwlan.enable': 'true', 'ro.qualcomm.svi': '0', 'ro.product.model': 'Redmi 4X', 'vidc.disable.split.mode': '1', 'ro.vendor.audio.sdk.fluencetype': 'fluence', 'camera.hal1.packagelist': 'com.skype.raider,com.google.android.talk,com.whatsapp,com.google.android.GoogleCamera', 'persist.cne.feature': '1', 'vendor.voice.conc.fallbackpath': 'deep-buffer', 'persist.vendor.audio.fluence.speaker': 'true', 'persist.dbg.vt_avail_ovr': '1', 'ro.audio.flinger_standbytime_ms': '300', 'ro.build.host': 'silentmod', 'ro.build.version.security_patch': '2018-06-05', 'telephony.lteOnCdmaDevice': '1', 'vendor.audio.offload.track.enable': 'true', 'persist.camera.gyro.android': '1', 'ro.product.locale': 'en-US', 'audio.offload.min.duration.secs': '30', 'persist.radio.csvt.enabled': 'false', 'persist.radio.DROPSETENABLE': '1', 'audio.offload.video': 'false', 'dalvik.vm.isa.arm64.variant': 'generic', 'camera.display.lmax': '1280x720', 'vendor.audio.parser.ip.buffer.size': '262144', 'vendor.voice.path.for.pcm.voip': 'true', 'ro.vendor.qti.sys.fw.trim_enable_memory': '6442450944', 'org.pixelexperience.build_date': '20180607-1813', 'persist.dbg.volte_avail_ovr': '1', 'ro.qcom.adreno.qgl.ShaderStorageImageExtendedFormats': '0', 'vendor.audio_hal.period_size': '192', 'ro.product.cpu.abilist64': 'arm64-v8a', 'persist.radio.calls.on.ims': 'true', 'drm.service.enabled': 'true', 'persist.radio.multisim.config': 'dsds', 'dalvik.vm.stack-trace-dir': '/data/anr', 'rild.libpath': '/vendor/lib64/libril-qc-qmi-1.so', 'ro.build.flavor': 'aosp_santoni-userdebug', 'dalvik.vm.isa.arm.features': 'default', 'audio.deep_buffer.media': 'true', 'ro.build.version.release': '8.1.0', 'ro.build.version.codename': 'REL', 'vidc.enc.narrow.searchrange': '1', 'audio.offload.disable': '1', 'net.bt.name': 'Android', 'ro.build.type': 'userdebug', 'persist.vendor.audio.speaker.prot.enable': 'false', 'persist.radio.VT_HYBRID_ENABLE': '1', 'ro.opengles.version': '196610', 'persist.data.mode': 'concurrent', 'ro.build.display.id': 'OPM6.171019.030.B1', 'ro.treble.enabled': 'true', 'persist.vendor.radio.rat_on': 'combine', 'persist.hwc.enable_vds': '1', 'persist.radio.force_on_dc': 'true', 'vendor.vidc.disable.split.mode': '1', 'org.pixelexperience.version': 'PixelExperience_santoni-8.1.0-20180607-1813-UNOFFICIAL', 'persist.vendor.radio.sib16_support': '1', 'ro.build.version.preview_sdk': '0', 'ro.bluetooth.sap': 'true', 'persist.vendor.bt.enable.splita2dp': 'false', 'ro.build.date': '\xd0\xa7\xd1\x82 \xd0\xb8\xd1\x8e\xd0\xbd 7 21:13:28 MSK 2018', 'vendor.audio.offload.multiaac.enable': 'true', 'ro.use_data_netmgrd': 'true', 'qcom.bluetooth.soc': 'smd', 'ro.build.date.utc': '1528395208', 'vendor.audio.playback.mch.downsample': 'true', 'persist.dbg.wfc_avail_ovr': '1', 'vendor.vidc.enc.disable.pq': 'true', 'debug.mdpcomp.logs': '0', 'ro.bluetooth.dun': 'true', 'persist.dbg.ims_volte_enable': '1', 'ro.build.version.all_codenames': 'REL', 'mm.enable.smoothstreaming': 'true', 'vendor.voice.voip.conc.disabled': 'true', 'vendor.audio.dolby.ds2.hardbypass': 'true', 'dev.pm.dyn_samplingrate': '1', 'org.pixelexperience.build_type': 'UNOFFICIAL', 'persist.sys.dalvik.vm.lib.2': 'libart.so', 'ro.product.cpu.abi': 'arm64-v8a', 'ro.vendor.qti.sys.fw.trim_cache_percent': '100', 'camera.display.umax': '1920x1080', 'ro.product.name': 'aosp_santoni', 'ro.build.version.base_os': '', 'ro.telephony.call_ring.multiple': 'false', 'ro.vendor.extension_library': 'libqti-perfd-client.so', 'vendor.audio.safx.pbe.enabled': 'true', 'ro.telephony.default_network': '20', 'ro.wifi.channels': '', 'org.pixelexperience.fingerprint': 'PixelExperience/8.1.0//20180607-1813', 'persist.camera.HAL3.enabled': '1', 'vendor.voice.playback.conc.disabled': 'true', 'ro.build.characteristics': 'default', 'persist.camera.is_type': '1', 'vendor.audio.hw.aac.encoder': 'true', 'persist.qfp': 'false', 'ro.fm.transmitter': 'false', 'ro.build.version.incremental': '9de86ed947', 'persist.vendor.audio.fluence.voicerec': 'false', 'ro.vendor.qti.sys.fw.empty_app_percent': '50', 'ro.build.tags': 'test-keys', 'vendor.audio.use.sw.alac.decoder': 'true', 'ro.sf.lcd_density': '320', 'ro.build.version.sdk': '27', 'service.qti.ims.enabled': '1', 'persist.radio.jbims': '0', 'persist.demo.hdmirotationlock': 'false', 'ro.bluetooth.hfp.ver': '1.7', 'ro.vendor.qti.sys.fw.trim_empty_percent': '100', 'DEVICE_PROVISIONED': '1', 'ril.subscription.types': 'NV,RUIM', 'persist.radio.mt_sms_ack': '20', 'ro.build.user': 'silent27-4pda', 'vendor.audio.use.sw.ape.decoder': 'true', 'dalvik.vm.isa.arm64.features': 'default', 'org.pixelexperience.device': 'santoni', 'ro.qualcomm.bt.hci_transport': 'smd', 'ro.product.device': 'santoni', 'sys.display-size': '3840x2160', 'vendor.audio.tunnel.encode': 'false', 'persist.radio.VT_CAM_INTERFACE': '2', 'debug.gralloc.enable_fb_ubwc': '1', 'vendor.audio.offload.gapless.enabled': 'true', 'ro.vendor.audio.sdk.ssr': 'false', 'ro.vendor.qti.sys.fw.use_trim_settings': 'true', 'persist.radio.apm_sim_not_pwdn': '1', 'persist.radio.aosp_usr_pref_sel': 'true', 'persist.hwc.mdpcomp.enable': 'true', 'vendor.audio.offload.multiple.enabled': 'false', 'persist.radio.ignore_dom_time': '5', 'media.aac_51_output_enabled': 'true'}
cache_fs_type = (str) ext4
cache_size = (int) 268435456
default_system_dev_certificate = (str) build/target/product/security/testkey
ext_mkuserimg = (str) mkuserimg.sh
extfs_sparse_flag = (str) -s
fs_type = (str) ext4
fstab = (dict) {'none': <common.Partition object at 0x7fd242137950>, '/cache': <common.Partition object at 0x7fd2421376d0>, '/boot': <common.Partition object at 0x7fd242137590>, '/system': <common.Partition object at 0x7fd242137610>, '/dsp': <common.Partition object at 0x7fd242137750>, '/frp': <common.Partition object at 0x7fd242137910>, '/persist': <common.Partition object at 0x7fd242137710>, '/recovery': <common.Partition object at 0x7fd2421375d0>, '/firmware': <common.Partition object at 0x7fd242137690>, '/data': <common.Partition object at 0x7fd242137650>, '/misc': <common.Partition object at 0x7fd242137790>}
fstab_version = (int) 2
mkbootimg_args = (str) --ramdisk_offset 0x01000000 --tags_offset 0x00000100
mkbootimg_version_args = (str) --os_version 8.1.0 --os_patch_level 2018-06-05
multistage_support = (str) 1
ota_override_device = (str) auto
recovery_api_version = (int) 3
recovery_as_boot = (str)
recovery_mount_options = (str) ext4=max_batch_time=0,commit=1,data=ordered,barrier=1,errors=panic,nodelalloc
recovery_size = (int) 67108864
selinux_fc = (str) /home/silent27-4pda/pe/out/target/product/santoni/obj/PACKAGING/target_files_intermediates/aosp_santoni-target_files-9de86ed947/META/file_contexts.bin
squashfs_sparse_flag = (str) -s
system_size = (int) 3221225472
tool_extensions = (str) device/xiaomi/santoni/../common
use_set_metadata = (str) 1
userdata_size = (int) 25765043200
vendor_fs_type = (str) ext4
vendor_size = (int) 536870912
unable to load device-specific module; assuming none
using prebuilt recovery.img from IMAGES...
Total of 786432 4096-byte output blocks in 2509 input chunks.
Finding transfers...
Generating digraph...
Finding vertex sequence...
Reversing backward edges...
0/0 dependencies (0.00%) were violated; 0 source blocks stashed.
Improving vertex order...
Revising stash size...
Total 0 blocks (0 bytes) are packed as new blocks due to insufficient cache size.
Reticulating splines...
1690722304 1690722304 (100.00%) new __DATA 0-32766 32768-32769 32961-32962 33475-65533 65536-65537 66050-67317 98304-98305 98497-98498 99011-131070 131072-131073 131586-131916 163840-163841 164033-164034 164547-196606 196608-196609 197122-197171 229376-229377 229569-229570 230083-262142 262144-262145 262658-294909 294912-294913 295105-295106 295619-327678 327680-327681 328194-360445 360448-360449 360962-393213 393216-393217 393730-425981 425984-425985 426498-458749 458752-458753 459266-483756 491520-491521 492034-524285 524288-524289 557056-557057 589824-589825 622592-622593 655360-655361 688128-688129 720896-720897 753664-753665
max stashed blocks: 0 (0 bytes), limit: 214748364 bytes (0.00%)
Compressing system.new.dat with brotli
running: bro --quality 6 --input /tmp/tmpPk8gwR/system.new.dat --output /tmp/tmpPk8gwR/system.new.dat.br
using prebuilt boot.img from IMAGES...
Total of 131072 4096-byte output blocks in 1370 input chunks.
Finding transfers...
Generating digraph...
Finding vertex sequence...
Reversing backward edges...
0/0 dependencies (0.00%) were violated; 0 source blocks stashed.
Improving vertex order...
Revising stash size...
Total 0 blocks (0 bytes) are packed as new blocks due to insufficient cache size.
Reticulating splines...
329875456 329875456 (100.00%) new __DATA 0-32765 32768-32769 32801-32802 65536-65537 66050-81590 98304-98305 98337-98338 98851-131069
max stashed blocks: 0 (0 bytes), limit: 214748364 bytes (0.00%)
Traceback (most recent call last):
File "./build/tools/releasetools/ota_from_target_files", line 1602, in <module>
main(sys.argv[1:])
File "./build/tools/releasetools/ota_from_target_files", line 1557, in main
WriteFullOTAPackage(input_zip, output_zip)
File "./build/tools/releasetools/ota_from_target_files", line 548, in WriteFullOTAPackage
vendor_diff = common.BlockDifference("vendor", vendor_tgt)
File "/home/silent27-4pda/pe/build/make/tools/releasetools/common.py", line 1443, in __init__
_, self.device = GetTypeAndDevice("/" + partition, OPTIONS.info_dict)
File "/home/silent27-4pda/pe/build/make/tools/releasetools/common.py", line 1680, in GetTypeAndDevice
return (PARTITION_TYPES[fstab[mount_point].fs_type],
KeyError: '/vendor'
ninja: build stopped: subcommand failed.
04:20:07 ninja failed with: exit status 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment