This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| export LOCAL_NDK_BASE_URL='ftp://ftp.kaiostech.com/ndk/android-ndk' | |
| mkdir patches | |
| # Apply open PR for B2G repo | |
| wget https://github.com/kaiostech/B2G/pull/4.patch -O patches/b2g.patch && patch -p1 < patches/b2g.patch | |
| # Init |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| brew reinstall nasm yasm | |
| brew install autoconf@2.13 | |
| ccache sccache | |
| brew postinstall watchman | |
| subprocess.CalledProcessError: Command '['/usr/local/opt/python/bin/python3.7', '/Volumes/android/B2G/gecko/mach', 'artifact', 'toolchain', '--from-build', 'macosx64-minidump-stackwalk']' returned non-zero exit status 1. | |
| Could not find artifacts for a toolchain build named `macosx64-minidump-stackwalk`. Local commits, dirty/stale files, and other changes in your checkout may cause this error. Make sure you are on a fresh, current checkout | |
| of mozilla-central. If you are already, you may be able to avoid this error by running `mach clobber python`. Beware that commands like `mach bootstrap` and `mach artifact` are unlikely to work on any versions of the code |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 在 ImageNet 上预训练过的用于图像分类的模型: | |
| Xception | |
| VGG16 | |
| VGG19 | |
| ResNet, ResNetV2, ResNeXt | |
| InceptionV3 | |
| InceptionResNetV2 | |
| MobileNet | |
| MobileNetV2 | |
| DenseNet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 新b2g | |
| https://github.com/kaiostech/gecko-b2g/tree/3699cef0e5611cba4ecdcdfa4b59fa37e825caa3/dom/b2g/tethering | |
| https://github.com/kaiostech/gecko-b2g/commit/46b34c77149823e339f78c959e9efc155dd0d27c#diff-255ac02ce991ec5b067e127483bac18c | |
| 旧 b2g idl | |
| https://github.com/ittat/quic_lf_b2g_mozilla_gecko/commit/9ff955b12d2555ef78773c0f0b065b8a8337a415#diff-6589d35e15b2b6aba772fab9f6f7ca37 | |
| Note: 在gecko 层 jsm可以直接使用,默认jsm打包resource://gre/modules/ 或者XPCOMUtils.defineLazyServiceGetter(...) | |
| 在gaia 这需要api实现 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 资料: | |
| lxc: | |
| https://github.com/clondroid | |
| lxc-android https://github.com/ppoffice/lxc-android | |
| https://github.com/hybris-mobian/lxc-android | |
| 区别在Android上运行lxc 和 利用lxc运行Android | |
| anbox: | |
| !!!!!!!!!!!!!!!! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| + $(call inherit-product, $(SRC_TARGET_DIR)/product/go_defaults.mk) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Porting to your device | |
| if your device support AOSP-10,you can try to port B2G using the following method: | |
| 1. Fork kernel and device tree form aosp10 sources. | |
| For example, the `aosp10_manifest.xml` file of onyx device. like: [onyx's aosp10_manifest](https://github.com/OnePlus-onyx/android/blob/master/onyx/aosp-10.0/default.xml#L714-L716) | |
| 2. Modify device tree | |
| Add apply patches to your deviecs mainly, like: https://github.com/OnePlus-onyx/device_oneplus_onyx/commit/df19ecd958db26ddc301a29c94d108720e8fdd59 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| From 8c69882de236eddee83520d7d9dc1f636d86a319 Mon Sep 17 00:00:00 2001 | |
| From: ittat <ittat@live.com> | |
| Date: Sun, 21 Feb 2021 14:48:51 +0800 | |
| Subject: [PATCH] Display work for onyx part1 | |
| --- | |
| widget/gonk/libdisplay/GonkDisplay.cpp | 8 ++++---- | |
| 1 file changed, 4 insertions(+), 4 deletions(-) | |
| diff --git a/widget/gonk/libdisplay/GonkDisplay.cpp b/widget/gonk/libdisplay/GonkDisplay.cpp |