Android ROM source code for JingPad A1

The source code has been zipped into the 8 packages below, you have to download them all before you compile.

How to compile
Full compilation (take the userdebug version as an example, if you are editing the user version, just change the ud710_3h10_native-userdebug-native in the instruction to ud710_3h10_native-user-native)
全编(以userdebug版本为例,如果编user版本,只要把指令里的ud710_3h10_native-userdebug-native改为ud710_3h10_native-user-native即可)
cd vendor/sprd/release/IDH/Script/

Scenario 1: Full compilation without out directory
场景1:没有out目录情况下全编
./build_pac.sh -a ud710_3h10_native-userdebug-native -b build 2>&1 | tee build.log

Scenario 2: Completely compile and package PAC files without out directory
场景2:没有out目录情况下全编并打包PAC文件
./build_pac.sh -a ud710_3h10_native-userdebug-native -b all 2>&1 | tee build.log

Scenario 3: Compile and package the PAC file with an existing out directory
场景3:已有out目录情况下编译并打包PAC文件
./build_pac.sh -a ud710_3h10_native-userdebug-native -b remake 2>&1 | tee build.log

Scenario 4: need update-api to compile and package the PAC file
场景4:需要update-api再编译并打包PAC文件
./build_pac.sh -a ud710_3h10_native-userdebug-native -b updateapi 2>&1 | tee build.log

Scenario 5: Need to compile OTA and package PAC file
场景5:需要编译OTA并打包PAC文件
./build_pac.sh -a ud710_3h10_native-userdebug-native -b ota 2>&1 | tee build.log

Scenario 6: Just packaging the PAC file
场景6:仅仅打包PAC文件
./build_pac.sh -a ud710_3h10_native-userdebug-native -b pac 2>&1 | tee build.log

For more information, please refer to the compilation script
详细信息可参考编译脚本
vendor/sprd/release/IDH/Script/build_pac.sh

Download

2 Likes

Thanks …

hope some update of Android firmware (and sources…) !

is there any advice for rooting the JingPad with Android System ?
is there any advice for installing google apps on the JingPad with Android System ?

请问这些压缩包有损坏吗?
我在解压时出现错误:

caten@caten-GP62-6QF:/media/caten/EE8C395B8C391F8F$ cat /run/user/1000/gvfs/mtp:host=ZTE_ZTE_A7000_1946256163/SD卡/Download/source.tar.gz.a*|tar zx
tar: source/bsp/kernel/kernel4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.h: Cannot open: Invalid argument
tar: source/bsp/kernel/kernel4.14/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/aux.c: Cannot open: Invalid argument
tar: source/bsp/kernel/kernel4.14/include/soc/arc/aux.h: Cannot open: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/*: Cannot open: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/?: Cannot open: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**: Cannot mkdir: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**: Cannot mkdir: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**/b: Cannot mkdir: No such file or directory
tar: source/build/blueprint/pathtools/testdata/escapes/**: Cannot mkdir: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**/b/b: Cannot open: No such file or directory
tar: source/build/blueprint/pathtools/testdata/escapes/**: Cannot mkdir: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**/*: Cannot open: No such file or directory
tar: source/build/blueprint/pathtools/testdata/escapes/**: Cannot mkdir: Invalid argument
tar: source/build/blueprint/pathtools/testdata/escapes/**/a: Cannot open: No such file or directory
tar: source/external/autotest/server/site_tests/display_EdidStress/test_data/edids/weekly/SCT_272_STEELCASE_m\:s_HDMI.txt: Cannot open: Invalid argument
tar: source/external/autotest/frontend/client/src/autotest/public/Roboto+Light\:300.woff: Cannot open: Invalid argument
tar: source/external/autotest/frontend/client/src/autotest/public/Roboto+Bold\:700.woff: Cannot open: Invalid argument
tar: source/external/autotest/frontend/client/src/autotest/public/Roboto+Regular\:400.woff: Cannot open: Invalid argument
tar: source/external/autotest/frontend/client/src/autotest/public/Open+Sans\:300.woff: Cannot open: Invalid argument
tar: source/external/autotest/frontend/client/src/autotest/public/Roboto+Medium\:500.woff: Cannot open: Invalid argument
tar: source/external/kmod/testsuite/rootfs-pristine/test-loaded/sys/module/btusb/drivers/usb\:btusb: Cannot open: Invalid argument
tar: source/external/libunwind/aux: Cannot mkdir: Invalid argument
tar: source/external/libunwind/aux: Cannot mkdir: Invalid argument
tar: source/external/libunwind/aux/config.guess: Cannot open: No such file or directory
tar: source/external/libunwind/aux: Cannot mkdir: Invalid argument
tar: source/external/libunwind/aux/config.sub: Cannot open: No such file or directory
tar: source/external/libunwind/aux: Cannot mkdir: Invalid argument
tar: source/external/libunwind/aux/ltmain.sh: Cannot open: No such file or directory
tar: source/libcore/luni/src/test/resources/org/apache/harmony/tests/java/lang/test?.properties: Cannot open: Invalid argument
tar: source/frameworks/compile/slang/tests/P_str_escape/str\\\\escape.rs: Cannot open: Invalid argument
tar: Exiting with failure status due to previous errors

我已经检查过md5值,所以下载应该没有问题。

如果直接编译的话会出错:

[ 35% 49/138] test github.com/google/blueprint/pathtools
FAILED: out/soong/.bootstrap/blueprint-pathtools/test/test.passed
out/soong/.bootstrap/bin/gotestrunner -p ./build/blueprint/pathtools -f out/soong/.bootstrap/blueprint-pathtools/test/test.passed -- out/soong/.bootstrap/blueprint-pathtools/test/test -test.short -test.timeout=33m
--- FAIL: TestGlobEscapes (0.00s)
    --- FAIL: TestGlobEscapes/**/* (0.00s)
        glob_test.go:562: incorrect matches list:
        glob_test.go:562:  pattern: "**/*"
        glob_test.go:562:      got: []string{"a/", "b", "a/a"}
        glob_test.go:562: expected: []string{"*", "**/", "?", "a/", "b", "**/*", "**/a", "**/b/", "**/b/b", "a/a"}
        glob_test.go:562: incorrect deps list:
        glob_test.go:562:  pattern: "**/*"
        glob_test.go:562:      got: []string{".", "a"}
        glob_test.go:562: expected: []string{".", "**", "**/b", "a"}
    --- FAIL: TestGlobEscapes/**/\* (0.00s)
        glob_test.go:562: incorrect matches list:
        glob_test.go:562:  pattern: "**/\\*"
        glob_test.go:562:      got: []string(nil)
        glob_test.go:562: expected: []string{"*", "**/*"}
        glob_test.go:562: incorrect deps list:
        glob_test.go:562:  pattern: "**/\\*"
        glob_test.go:562:      got: []string{".", "a"}
        glob_test.go:562: expected: []string{".", "**", "**/b", "a"}
    --- FAIL: TestGlobEscapes/\*\*/* (0.00s)
        glob_test.go:562: incorrect matches list:
        glob_test.go:562:  pattern: "\\*\\*/*"
        glob_test.go:562:      got: []string(nil)
        glob_test.go:562: expected: []string{"**/*", "**/a", "**/b/"}
        glob_test.go:562: incorrect deps list:
        glob_test.go:562:  pattern: "\\*\\*/*"
        glob_test.go:562:      got: []string{"."}
        glob_test.go:562: expected: []string{".", "**"}
    --- FAIL: TestGlobEscapes/\*\*/**/* (0.00s)
        glob_test.go:562: incorrect matches list:
        glob_test.go:562:  pattern: "\\*\\*/**/*"
        glob_test.go:562:      got: []string(nil)
        glob_test.go:562: expected: []string{"**/*", "**/a", "**/b/", "**/b/b"}
        glob_test.go:562: incorrect deps list:
        glob_test.go:562:  pattern: "\\*\\*/**/*"
        glob_test.go:562:      got: []string{"."}
        glob_test.go:562: expected: []string{".", "**", "**/b"}
FAIL

Hi, I’m not able to make PAC file. It always shows some error (Scenario 6). Any advices?
image