• 版块
    • 热门
    • 最新
    • 标签
    • 关于
    • 捐赠
    • 注册
    • 登录
    1. 主页
    2. BirdZhang
    3. 帖子
    离线
    • 资料
    • 关注 0
    • 粉丝 20
    • 主题 214
    • 帖子 1,096
    • 群组 3

    帖子

    最新 最佳 有争议的
    • RE: 开个贴,记录给小米平板5移植sailfishos

      @kuailexs 太慢了,用arm机器打包10分钟,用qemu要2小时,效率奇慢。后面我去掉了scons编译部分才勉强接受,估计是转义太多了。

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      最近没在搞,因为agnos现在只能用arm机器打包了,我需要这个Ubuntu环境 undefined

      在想是不是把手头的没用手机出掉,把香橙派5买回来当小服务器了

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      然而还是启动不了,直接跳到miui的recovery了,清空了dtbo就没法启动了 undefined

      准备试试mainline了,讲道理kernel搞好,只需要rootfs和firmware就行了,适配起来更简单

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      @BirdZhang 在 开个贴,记录给小米平板5移植sailfishos 中说:

      报了一堆错误

      原来是重新同步源码后忘记打patch了 undefined (导致多了1万多模块要编译 undefined)

      我就说怎么3个月前能编译,现在怎么就不行了呢 undefined

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      报了一堆错误

      make: Leaving directory '/home/bird/data/hadk_18.1/kernel/xiaomi/sm8150'
      Installing Kernel Modules
      make: Entering directory '/home/bird/data/hadk_18.1/kernel/xiaomi/sm8150'
      make[1]: Entering directory '/home/bird/data/hadk_18.1/out/target/product/nabu/obj/KERNEL_OBJ'
        INSTALL drivers/char/rdbg.ko
        INSTALL drivers/media/platform/msm/broadcast/tspp.ko
        INSTALL drivers/media/platform/msm/dvb/adapter/mpq-adapter.ko
        INSTALL drivers/media/platform/msm/dvb/demux/mpq-dmx-hw-plugin.ko
        INSTALL drivers/media/rc/msm-geni-ir.ko
        INSTALL drivers/media/usb/gspca/gspca_main.ko
        INSTALL drivers/mmc/core/mmc_test.ko
        INSTALL drivers/soc/qcom/llcc_perfmon.ko
        INSTALL drivers/video/backlight/lcd.ko
        INSTALL fs/efivarfs/efivarfs.ko
        INSTALL techpack/audio/asoc/codecs/cs35l41/cs35l41_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/hdmi_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/mbhc_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/stub_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/tas2557/tas2557_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/tas256x/tas256x_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/tfa98xx/tfa98xx_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd934x/wcd934x_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd9360/wcd9360_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd9xxx_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd_core_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd_cpe_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wcd_spi_dlkm.ko
        INSTALL techpack/audio/asoc/codecs/wsa881x_dlkm.ko
        INSTALL techpack/audio/asoc/machine_dlkm.ko
        INSTALL techpack/audio/asoc/platform_dlkm.ko
        INSTALL techpack/audio/dsp/adsp_loader_dlkm.ko
        INSTALL techpack/audio/dsp/codecs/native_dlkm.ko
        INSTALL techpack/audio/dsp/q6_dlkm.ko
        INSTALL techpack/audio/dsp/q6_notifier_dlkm.ko
        INSTALL techpack/audio/dsp/q6_pdr_dlkm.ko
        INSTALL techpack/audio/dsp/usf_dlkm.ko
        INSTALL techpack/audio/ipc/apr_dlkm.ko
        INSTALL techpack/audio/ipc/wglink_dlkm.ko
        INSTALL techpack/audio/soc/pinctrl_wcd_dlkm.ko
        INSTALL techpack/audio/soc/swr_ctrl_dlkm.ko
        INSTALL techpack/audio/soc/swr_dlkm.ko
        INSTALL techpack/data/drivers/rmnet/perf/rmnet_perf.ko
        INSTALL techpack/data/drivers/rmnet/shs/rmnet_shs.ko
        DEPMOD  4.14.180-perf-g512d604a7
      make[1]: Leaving directory '/home/bird/data/hadk_18.1/out/target/product/nabu/obj/KERNEL_OBJ'
      make: Leaving directory '/home/bird/data/hadk_18.1/kernel/xiaomi/sm8150'
      depmod: WARNING: could not open modules.order at /home/bird/data/hadk_18.1/out/target/product/nabu/obj/PACKAGING/depmod_system_intermediates/lib/modules/0.0: No such file or directory
      depmod: WARNING: could not open modules.builtin at /home/bird/data/hadk_18.1/out/target/product/nabu/obj/PACKAGING/depmod_system_intermediates/lib/modules/0.0: No such file or directory
      [ 81% 238/293] build out/target/product/nabu/obj/PACKAGING/vendor-boot_intermediates/vendor-ramdisk.cpio.gz
      error: cannot open directory 'out/target/product/nabu/vendor-ramdisk'
      [ 81% 240/293] build out/target/product/nabu/obj/ROOT/hybris-boot_intermediates/init
      Fixing mount-points for device nabu
      08:24:29 Disallowed PATH tool "cpio" used: []string{"cpio", "-H", "newc", "-o"}
      08:24:29 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
      [ 82% 241/293] Making initramfs : out/target/product/nabu/obj/ROOT/hybris-boot_intermediates/boot-initramfs.gz
      "cpio" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
      [ 82% 243/293] build out/target/product/nabu/obj/ROOT/hybris-recovery_intermediates/init
      Fixing mount-points for device nabu
      08:24:29 Disallowed PATH tool "cpio" used: []string{"cpio", "-H", "newc", "-o"}
      08:24:29 See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
      [ 83% 244/293] Making initramfs : out/target/product/nabu/obj/ROOT/hybris-recovery_intermediates/recovery-initramfs.gz
      "cpio" is not allowed to be used. See https://android.googlesource.com/platform/build/+/master/Changes.md#PATH_Tools for more information.
      [ 89% 261/293] dexpreopt boot jars arm64
      FAILED: out/soong/nabu/dex_bootjars/system/framework/arm64/boot-WfdCommon.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-WfdCommon.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-WfdCommon.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ext.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ext.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ext.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework-atb-backward-compatibility.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework-atb-backward-compatibility.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework-atb-backward-compatibility.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-framework.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ims-common.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ims-common.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-ims-common.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-common.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-common.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-common.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-ext.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-ext.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-telephony-ext.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot-voip-common.art out/soong/nabu/dex_bootjars/system/framework/arm64/boot-voip-common.oat out/soong/nabu/dex_bootjars/system/framework/arm64/boot-voip-common.vdex out/soong/nabu/dex_bootjars/system/framework/arm64/boot.invocation out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-WfdCommon.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-ext.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-framework-atb-backward-compatibility.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-framework.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-ims-common.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-telephony-common.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-telephony-ext.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot-voip-common.oat
      mkdir -p out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64 && rm -f out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/*.art out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/*.oat out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/*.invocation && rm -f out/soong/nabu/dex_bootjars/system/framework/arm64/*.art out/soong/nabu/dex_bootjars/system/framework/arm64/*.oat out/soong/nabu/dex_bootjars/system/framework/arm64/*.invocation && ANDROID_LOG_TAGS="*:e" out/soong/host/linux-x86/bin/dex2oatd64 --avoid-storing-invocation --write-invocation-to=out/soong/nabu/dex_bootjars/system/framework/arm64/boot.invocation --runtime-arg -Xms64m --runtime-arg -Xmx64m --compiler-filter=speed-profile --profile-file=out/soong/nabu/dex_bootjars/boot.prof --dirty-image-objects=frameworks/base/config/dirty-image-objects --runtime-arg -Xbootclasspath:out/soong/nabu/dex_artjars_input/core-oj.jar:out/soong/nabu/dex_artjars_input/core-libart.jar:out/soong/nabu/dex_artjars_input/core-icu4j.jar:out/soong/nabu/dex_artjars_input/okhttp.jar:out/soong/nabu/dex_artjars_input/bouncycastle.jar:out/soong/nabu/dex_artjars_input/apache-xml.jar:out/soong/nabu/dex_bootjars_input/framework.jar:out/soong/nabu/dex_bootjars_input/ext.jar:out/soong/nabu/dex_bootjars_input/telephony-common.jar:out/soong/nabu/dex_bootjars_input/voip-common.jar:out/soong/nabu/dex_bootjars_input/ims-common.jar:out/soong/nabu/dex_bootjars_input/framework-atb-backward-compatibility.jar:out/soong/nabu/dex_bootjars_input/telephony-ext.jar:out/soong/nabu/dex_bootjars_input/WfdCommon.jar --runtime-arg -Xbootclasspath-locations:/apex/com.android.art/javalib/core-oj.jar:/apex/com.android.art/javalib/core-libart.jar:/apex/com.android.art/javalib/core-icu4j.jar:/apex/com.android.art/javalib/okhttp.jar:/apex/com.android.art/javalib/bouncycastle.jar:/apex/com.android.art/javalib/apache-xml.jar:/system/framework/framework.jar:/system/framework/ext.jar:/system/framework/telephony-common.jar:/system/framework/voip-common.jar:/system/framework/ims-common.jar:/system/framework/framework-atb-backward-compatibility.jar:/system/framework/telephony-ext.jar:/system/framework/WfdCommon.jar --boot-image=out/soong/nabu/dex_artjars/apex/com.android.art/javalib/boot.art --dex-file=out/soong/nabu/dex_bootjars_input/framework.jar --dex-file=out/soong/nabu/dex_bootjars_input/ext.jar --dex-file=out/soong/nabu/dex_bootjars_input/telephony-common.jar --dex-file=out/soong/nabu/dex_bootjars_input/voip-common.jar --dex-file=out/soong/nabu/dex_bootjars_input/ims-common.jar --dex-file=out/soong/nabu/dex_bootjars_input/framework-atb-backward-compatibility.jar --dex-file=out/soong/nabu/dex_bootjars_input/telephony-ext.jar --dex-file=out/soong/nabu/dex_bootjars_input/WfdCommon.jar --dex-location=/system/framework/framework.jar --dex-location=/system/framework/ext.jar --dex-location=/system/framework/telephony-common.jar --dex-location=/system/framework/voip-common.jar --dex-location=/system/framework/ims-common.jar --dex-location=/system/framework/framework-atb-backward-compatibility.jar --dex-location=/system/framework/telephony-ext.jar --dex-location=/system/framework/WfdCommon.jar --generate-debug-info --generate-build-id --image-format=lz4hc --oat-symbols=out/soong/nabu/dex_bootjars_unstripped/system/framework/arm64/boot.oat --strip --oat-file=out/soong/nabu/dex_bootjars/system/framework/arm64/boot.oat --oat-location=out/soong/nabu/dex_bootjars/system/framework/boot.oat --image=out/soong/nabu/dex_bootjars/system/framework/arm64/boot.art --instruction-set=arm64 --instruction-set-variant=generic --instruction-set-features=default --android-root=out/empty --no-inline-from=core-oj.jar --force-determinism --abort-on-hard-verifier-error --generate-mini-debug-info || ( echo 'ERROR: Dex2oat failed to compile a boot image.It is likely that the boot classpath is inconsistent.Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors.' ; false )
      dex2oatd64 F 03-03 16:26:40 131014 131014 hiddenapi_flags.h:187] Check failed: dex_flags_ == (dex_flags_ & kValueBitMask) | (dex_flags_ & kDomainApiBitMask) (dex_flags_=48, (dex_flags_ & kValueBitMask) | (dex_flags_ & kDomainApiBitMask)=16) 
      Runtime aborting...
      (Runtime does not yet exist!)
        native: #00 pc 0000000000956866  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libartd.so (art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)+134)
        native: #01 pc 0000000000a7434a  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libartd.so (art::AbortState::Dump(std::__1::basic_ostream<char, std::__1::char_traits<char> >&) const+362)
        native: #02 pc 0000000000a5f517  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libartd.so (art::Runtime::Abort(char const*)+567)
        native:   art::DumpNativeStack(std::__1::basic_ostream<char, std::__1::char_traits<char> >&, int, BacktraceMap*, char const*, art::ArtMethod*, void*, bool)
        native:    art/runtime/native_stack_dump.cc:337
        native: #03 pc 000000000002f83c  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libbase.so (android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)+60)
        native:   std::__1::__function::__value_func<void (char const*)>::operator()(char const*&&) const
        native:    external/libcxx/include/functional:1799
        native:   std::__1::function<void (char const*)>::operator()(char const*) const
        native:    external/libcxx/include/functional:2347
        native:   android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::operator()(char const*) const
        native:    system/core/base/logging.cpp:421
        native:   android::base::SetAborter(std::__1::function<void (char const*)>&&)::$_3::__invoke(char const*)
        native:    system/core/base/logging.cpp:421
        native: #04 pc 000000000002f069  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libbase.so (android::base::LogMessage::~LogMessage()+329)
        native:   android::base::LogMessage::~LogMessage()
        native:    system/core/base/logging.cpp:509
        native: #05 pc 000000000002a53e  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::hiddenapi::ApiList::ApiList(unsigned int)+350)
        native:   art::hiddenapi::ApiList::ApiList(unsigned int)
        native:    art/libartbase/base/hiddenapi_flags.h:187
        native: #06 pc 000000000003d55a  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_2::operator()(art::ClassAccessor::BaseItem const&, char const*) const+106)
        native:   art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_2::operator()(art::ClassAccessor::BaseItem const&, char const*) const
        native:    art/libdexfile/dex/dex_file_verifier.cc:1933
        native: #07 pc 0000000000037495  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()+853)
        native:   art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4::operator()(art::ClassAccessor::Method const&) const
        native:    art/libdexfile/dex/dex_file_verifier.cc:1941
        native:   void art::ClassAccessor::VisitMembers<art::ClassAccessor::Method, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4>(unsigned long, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4 const&, art::ClassAccessor::Method*) const
        native:    art/libdexfile/dex/class_accessor-inl.h:97
        native:   void art::ClassAccessor::VisitFieldsAndMethods<art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_3, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_3, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4>(art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_3 const&, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_3 const&, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4 const&, art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()::$_4 const&) const
        native:    art/libdexfile/dex/class_accessor-inl.h:118
        native:   art::dex::DexFileVerifier::CheckIntraHiddenapiClassData()
        native:    art/libdexfile/dex/dex_file_verifier.cc:1943
        native: #08 pc 000000000004104c  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (bool art::dex::DexFileVerifier::CheckIntraSectionIterate<(art::DexFile::MapItemType)61440>(unsigned long, unsigned int)+172)
        native:   bool art::dex::DexFileVerifier::CheckIntraSectionIterate<(art::DexFile::MapItemType)61440>(unsigned long, unsigned int)
        native:    art/libdexfile/dex/dex_file_verifier.cc:2186
        native: #09 pc 0000000000037bc8  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::dex::DexFileVerifier::CheckIntraSection()+792)
        native:   bool art::dex::DexFileVerifier::CheckIntraDataSection<(art::DexFile::MapItemType)61440>(unsigned long, unsigned int)
        native:    art/libdexfile/dex/dex_file_verifier.cc:2282
        native:   art::dex::DexFileVerifier::CheckIntraSection()
        native:    art/libdexfile/dex/dex_file_verifier.cc:2405
        native: #10 pc 000000000003c8a6  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::dex::DexFileVerifier::Verify()+214)
        native:   art::dex::DexFileVerifier::Verify()
        native:    art/libdexfile/dex/dex_file_verifier.cc:3321
        native: #11 pc 000000000003d0cb  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::dex::Verify(art::DexFile const*, unsigned char const*, unsigned long, char const*, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)+203)
        native:   art::dex::Verify(art::DexFile const*, unsigned char const*, unsigned long, char const*, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*)
        native:    art/libdexfile/dex/dex_file_verifier.cc:3694
        native: #12 pc 000000000002cb5e  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::DexFileLoader::OpenCommon(unsigned char const*, unsigned long, unsigned char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::unique_ptr<art::DexFileContainer, std::__1::default_delete<art::DexFileContainer> >, art::DexFileLoader::VerifyResult*)+686)
        native:   art::DexFileLoader::OpenCommon(unsigned char const*, unsigned long, unsigned char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::unique_ptr<art::DexFileContainer, std::__1::default_delete<art::DexFileContainer> >, art::DexFileLoader::VerifyResult*)
        native:    art/libdexfile/dex/dex_file_loader.cc:373
        native: #13 pc 000000000001f410  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/lib64/libdexfiled.so (art::ArtDexFileLoader::Open(unsigned char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::unique_ptr<art::DexFileContainer, std::__1::default_delete<art::DexFileContainer> >) const+320)
        native:   art::ArtDexFileLoader::OpenCommon(unsigned char const*, unsigned long, unsigned char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::unique_ptr<art::DexFileContainer, std::__1::default_delete<art::DexFileContainer> >, art::DexFileLoader::VerifyResult*)
        native:    art/libdexfile/dex/art_dex_file_loader.cc:555
        native:   art::ArtDexFileLoader::Open(unsigned char const*, unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, unsigned int, art::OatDexFile const*, bool, bool, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >*, std::__1::unique_ptr<art::DexFileContainer, std::__1::default_delete<art::DexFileContainer> >) const
        native:    art/libdexfile/dex/art_dex_file_loader.cc:170
        native: #14 pc 00000000001b4037  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/bin/dex2oatd64 (art::linker::OatWriter::OpenDexFiles(unix_file::FdFile*, bool, std::__1::vector<art::MemMap, std::__1::allocator<art::MemMap> >*, std::__1::vector<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> >, std::__1::allocator<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> > > >*)+903)
        native: #15 pc 00000000001b2c41  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/bin/dex2oatd64 (art::linker::OatWriter::WriteAndOpenDexFiles(unix_file::FdFile*, bool, bool, art::linker::CopyOption, std::__1::vector<art::MemMap, std::__1::allocator<art::MemMap> >*, std::__1::vector<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> >, std::__1::allocator<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> > > >*)+257)
        native: #16 pc 00000000000acaf2  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/bin/dex2oatd64 (art::Dex2Oat::Setup()+546)
        native: #17 pc 00000000000a7657  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/bin/dex2oatd64 (main+999)
        native:   art::linker::OatWriter::OpenDexFiles(unix_file::FdFile*, bool, std::__1::vector<art::MemMap, std::__1::allocator<art::MemMap> >*, std::__1::vector<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> >, std::__1::allocator<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> > > >*)
        native:    art/dex2oat/linker/oat_writer.cc:3709
        native:   art::linker::OatWriter::WriteAndOpenDexFiles(unix_file::FdFile*, bool, bool, art::linker::CopyOption, std::__1::vector<art::MemMap, std::__1::allocator<art::MemMap> >*, std::__1::vector<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> >, std::__1::allocator<std::__1::unique_ptr<art::DexFile const, std::__1::default_delete<art::DexFile const> > > >*)
        native:    art/dex2oat/linker/oat_writer.cc:685
        native: #18 pc 0000000000029d8f  /usr/lib/x86_64-linux-gnu/libc.so.6 (???)
        native: #19 pc 0000000000029e3f  /usr/lib/x86_64-linux-gnu/libc.so.6 (__libc_start_main+127)
        native:   __libc_start_main_impl
        native:    ./csu/../csu/libc-start.c:392
        native: #20 pc 000000000005f978  /home/bird/data/hadk_18.1/out/soong/host/linux-x86/bin/dex2oatd64 (???)
      Aborted (core dumped)
      ERROR: Dex2oat failed to compile a boot image.It is likely that the boot classpath is inconsistent.Rebuild with ART_BOOT_IMAGE_EXTRA_ARGS="--runtime-arg -verbose:verifier" to see verification errors.
      08:26:45 ninja failed with: exit status 1
      
      #### failed to build some targets (22:39 (mm:ss)) ####
      
      bird@ubuntu:~/data/hadk_18.1$ 
      
      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      @kuailexs 可以,simpleinit支持安卓启动,但是要后面再试了,现在我刷回原版固件,用最普通的方式先把系统搞起来

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      按照以前libhybris的方式给nabu打包了一个包,但是开机后立刻重启,猜测是因为装了uefi导致。
      方法有俩:

      1. 改为原先的分区,需要卸载uefi,可能存在需要重新解锁的问题(还没有尝试绕过解锁验证的包)
      2. 使用mainline kernel,覆盖现有的linux,难点是需要重新去掉libhybris打包,还没研究过
      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: GitLab 中国区服务关停:60 天迁移期

      @kuailexs 正常,国内代理都这么搞。

      发布在 灌水
      BirdZhangB
      BirdZhang
    • RE: 开个贴,记录给小米平板5移植sailfishos

      @kuailexs 在 开个贴,记录给小米平板5移植sailfishos 中说:

      顺便完善一下主线内核支持

      对我来说这可不是顺便的事情 😂

      主线目前不是完整的GPU以及高通dsp部分没有

      发布在 移植
      BirdZhangB
      BirdZhang
    • 开个贴,记录给小米平板5移植sailfishos

      其实这个坑在 3年前 就挖了,因为不小心把平板给刷坏了(bootloader都进不去),然后小米的刷机策略导致不能自己进9008刷回,只能售后。好在当时还在保,售后免费给救活了。

      最近又看到小米平板5的ubuntu已经接近完美了,又拿出来玩了。然后有人给搞了绕过小米刷机验证的firehose文件,这下可以放心大胆的搞机了

      重新继续挖坑,在想是用mainline还是用hybris 🤔

      发布在 移植
      BirdZhangB
      BirdZhang
    • RE: GitLab 中国区服务关停:60 天迁移期

      @kuailexs 在 GitLab 中国区服务关停:60 天迁移期 中说:

      什么是"正版"用户的受害者 undefined

      ba15f99a-e6a1-4a12-acc6-3f849c3bc61f-image.png

      发布在 灌水
      BirdZhangB
      BirdZhang
    • RE: GitLab 中国区服务关停:60 天迁移期

      用的国际版,不怕

      发布在 灌水
      BirdZhangB
      BirdZhang
    • RE: SailfishOS 5.0.0.21 发布

      本人维护的小米机型(vince、ginkgo、davinci)已全部更新到5.0.0.55版本

      同时,本人不再移植其他小米设备。一日解锁不变回,一日不买小米手机。

      发布在 新闻
      BirdZhangB
      BirdZhang
    • RE: 旗鱼俱乐部祝大家乙巳年新年快乐

      @天苯 再来一台

      发布在 公告
      BirdZhangB
      BirdZhang
    • 旗鱼俱乐部祝大家乙巳年新年快乐

      最近一年没怎么活跃(主要是Jolla也没啥新产出,除了一个jolla c2),然后之前想把站点帖子挪到QQ的频道,再加上百度索引了不知道哪条回复,让小伙伴误以为本站要关站了 :face_with_tears_of_joy:

      本站承诺,继续苟住2025年!

      最后祝大家在新的一年万事如意,有机可搞。

      发布在 公告
      BirdZhangB
      BirdZhang
    • RE: 2024年最後一日

      @Pay-Their-Debts :fearful_face:

      发布在 灌水
      BirdZhangB
      BirdZhang
    • 记录一下给红米note4x mido更新5.0版本的过程

      红米note4x mido的sailfishos是由piggz移植的,本人移植的红米5plus vince深受其影响(直接抄),鉴于两部机型几乎一致,然后又有粉丝想要5.0的旗鱼,于是简单试了一下,给续一下命

      由于是在原有移植基础上进行更新,理论上只需要更新一下内核参数,更新一下dhc、dhd、dhv的submodule就行了,事实也确实是这样。

      1.更新内核

      sailfishos使用 mer-kernel-check 对内核配置进行检查,如果有ERROR的就补上去,重新打包即可。这里我本地测试了一下,发现缺少下面几个,添加上git commit一下即可。

      CONFIG_QFMT_V2=y
      CONFIG_IP_NF_MATCH_RPFILTER=y
      CONFIG_NETFILTER_XT_MATCH_SCTP=y
      CONFIG_QUOTA_NETLINK_INTERFACE=y
      

      2.更新dhc、dhd、dhv

      你可能会问,这仨是啥玩意?
      dhc == droid-config-$DEVICE
      dhd == droid-hal-$DEVICE
      dhv == droid-hal-version-$DEVICE
      这三个又有各自的子模块,子模块是通用配置。你可以在https://github.com/mer-hybris 找到很多类似的仓库。

      关于dhc的,由于piggz弃坑的早,没有对patterns进行迁移,这里我fork了一份提交到我GitHub了 https://github.com/0312birdzhang/droid-config-mido/

      其他两个进入子模块目录 git pull origin master一下即可,或者fetch一下checkout到指定的版本号。

      3.打包

      没什么好讲的,一步一步来就行了,看我的ci吧 https://github.com/Sailfish-On-Vince/ci/tree/mido

      需要注意的是,mido和vince只能用32位,64位的lipstick启动有问题。也就是export PORT_ARCH="armv7hl"

      4.想伸手?没问题

      可以加Q群,在群文件里面有已经打包好的了. 在 https://sailfishos.club/about 这里可以找到群号码

      发布在 移植 mido port
      BirdZhangB
      BirdZhang
    • RE: Jolla Mind2 UI展示

      等开源了再买块rk3588来玩玩 undefined

      发布在 新闻
      BirdZhangB
      BirdZhang
    • Jolla Mind2 UI展示

      23da8b83-3ec6-4cda-b26a-0deea6e536f5-image.png

      1e9f8fab-6c1c-48fd-9efa-7189f1fa4cc3-image.png

      5c75ab0f-282f-4bbf-bb2e-1e961fd47d1d-image.png

      发布在 新闻
      BirdZhangB
      BirdZhang
    • SailfishOS 5.0.0.21 发布

      暂时只推送给了Jolla C2,但是熟悉移植的朋友,已经可以自己移植了。

      底层不需要做任何更改,只要改一下版本号,重新打包即可。

      放一张Five 2氛围的图

      bca887ea-8e64-4ff7-8ece-f930ecee6708-fbe5eb67d3ea25f21788138c4961efae.png

      发布在 新闻
      BirdZhangB
      BirdZhang
    • 1
    • 2
    • 3
    • 4
    • 5
    • 54
    • 55
    • 3 / 55