• 版块
    • 热门
    • 最新
    • 标签
    • 关于
    • 捐赠
    • 注册
    • 登录

    开个贴,记录给小米平板5移植sailfishos

    已定时 已固定 已锁定 已移动 移植
    20 帖子 2 发布者 519 浏览
    正在加载更多帖子
    • 从旧到新
    • 从新到旧
    • 最多赞同
    回复
    • 在新帖中回复
    登录后回复
    此主题已被删除。只有拥有主题管理权限的用户可以查看。
    • kuailexsK 离线
      kuailexs
      最后由 编辑

      如果主线和hybris 功能完备程度差的不多就搞主线呗。顺便完善一下主线内核支持

      挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

      BirdZhangB 1 条回复 最后回复 回复 引用 0
      • BirdZhangB 在线
        BirdZhang 船长 @kuailexs
        最后由 编辑

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

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

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

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

        ———扬帆起航🚢

        1 条回复 最后回复 回复 引用 0
        • BirdZhangB 在线
          BirdZhang 船长
          最后由 BirdZhang 编辑

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

          1. 改为原先的分区,需要卸载uefi,可能存在需要重新解锁的问题(还没有尝试绕过解锁验证的包)
          2. 使用mainline kernel,覆盖现有的linux,难点是需要重新去掉libhybris打包,还没研究过

          ———扬帆起航🚢

          kuailexsK 1 条回复 最后回复 回复 引用 0
          • kuailexsK 离线
            kuailexs @BirdZhang
            最后由 编辑

            @BirdZhang 是否可以编译支持用uefi 引导的安卓内核呢?

            挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

            BirdZhangB 1 条回复 最后回复 回复 引用 0
            • BirdZhangB 在线
              BirdZhang 船长 @kuailexs
              最后由 编辑

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

              ———扬帆起航🚢

              1 条回复 最后回复 回复 引用 0
              • BirdZhangB 在线
                BirdZhang 船长
                最后由 编辑

                报了一堆错误

                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 1 条回复 最后回复 回复 引用 0
                • BirdZhangB 在线
                  BirdZhang 船长 @BirdZhang
                  最后由 编辑

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

                  报了一堆错误

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

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

                  ———扬帆起航🚢

                  1 条回复 最后回复 回复 引用 0
                  • BirdZhangB 在线
                    BirdZhang 船长
                    最后由 编辑

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

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

                    ———扬帆起航🚢

                    1 条回复 最后回复 回复 引用 0
                    • BirdZhangB 在线
                      BirdZhang 船长
                      最后由 编辑

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

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

                      ———扬帆起航🚢

                      kuailexsK 1 条回复 最后回复 回复 引用 0
                      • kuailexsK 离线
                        kuailexs @BirdZhang
                        最后由 kuailexs 编辑

                        @BirdZhang 用qemu呀。不必用真实arm机器。
                        qemu + chroot 就是arm环境了

                        挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

                        BirdZhangB 1 条回复 最后回复 回复 引用 0
                        • BirdZhangB 在线
                          BirdZhang 船长 @kuailexs
                          最后由 编辑

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

                          ———扬帆起航🚢

                          kuailexsK 1 条回复 最后回复 回复 引用 0
                          • kuailexsK 离线
                            kuailexs @BirdZhang
                            最后由 kuailexs 编辑

                            @BirdZhang 几乎每条指令都要转当然慢了哦。只是能用而已。编译ubt的包我就配置的qmu环境编译,我没有arm机器高点的性能的,就只能忍了。

                            挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

                            BirdZhangB 1 条回复 最后回复 回复 引用 0
                            • BirdZhangB 在线
                              BirdZhang 船长 @kuailexs
                              最后由 编辑

                              @kuailexs Mobian OS交流群 里面很多人用手机当服务器玩的,我估计都比用qemu快

                              ———扬帆起航🚢

                              kuailexsK 1 条回复 最后回复 回复 引用 0
                              • kuailexsK 离线
                                kuailexs @BirdZhang
                                最后由 编辑

                                @BirdZhang 需要找一个有主线内核,wifi驱动正常工作,有人改直供电的机子。配合一个自动控制开关。给Jenkins搞个插件,然后就可以用的时候上线。不用就下线了。

                                挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

                                1 条回复 最后回复 回复 引用 0
                                • BirdZhangB 在线
                                  BirdZhang 船长
                                  最后由 编辑

                                  成功第一步,显示界面 ✌

                                  c9be0964-cdda-4791-98b0-d8915e3a409a-42fd5e424f8571387500d7651eeaa681.png

                                  感谢 sailfishos-porter 里的记录 https://t.me/sailfishos_porters/156697

                                  ———扬帆起航🚢

                                  1 条回复 最后回复 回复 引用 1
                                  • BirdZhangB 在线
                                    BirdZhang 船长
                                    最后由 编辑

                                    忘记更新了

                                    已工作

                                    • 显示
                                    • 触摸
                                    • 蓝牙
                                    • WiFi
                                    • 相机、闪光灯
                                    • 视频播放
                                    • 光线、陀螺仪等传感器
                                    • 等等

                                    不工作

                                    • 声音
                                    • 高刷(目前还是60Hz)
                                    • 键盘
                                    • 触摸笔(没有笔无法测试
                                    • 等

                                    ———扬帆起航🚢

                                    1 条回复 最后回复 回复 引用 1
                                    • BirdZhangB 在线
                                      BirdZhang 船长
                                      最后由 编辑

                                      关于如何刷入,放到了这里 https://github.com/sailfish-on-nabu/.github/blob/master/profile/README.md

                                      不知道还有没有时间去修复bug,先这样吧

                                      ———扬帆起航🚢

                                      kuailexsK 1 条回复 最后回复 回复 引用 1
                                      • kuailexsK 离线
                                        kuailexs @BirdZhang
                                        最后由 编辑

                                        @BirdZhang 鸟张大大威武

                                        挖自己的坑。让别人踩去。走别人的路。让别人无路可走。

                                        1 条回复 最后回复 回复 引用 0
                                        • 1 / 1
                                        • 第一个帖子
                                          最后一个帖子
                                        Copyright © 2017-2024 旗鱼俱乐部 旗鱼系统交流论坛
                                        🐟🐠🐡论坛客户端下载🐟🐠🐡
                                        友情链接 SailfishOS.org | Jolla | 官方论坛 | 移植wiki| 第三方商店 | BirdZhang的博客| Securest
                                        除非另有声明,本网站采用知识共享“署名 4.0 中国大陆”许可协议授权。
                                        根据相关法律法规,本站不对欧盟用户提供服务。
                                        Powered by NodeBB