How to configure Android for IMX6Quad SABRE SD

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

How to configure Android for IMX6Quad SABRE SD

394 次查看
And9686
Contributor II

I have the demo Android from the official website (Android for my iMX6Quad Sabre SD. I wanted to root in this but saw in another forum from 2016 (they were talking about Android 5) that the demo versions are only compiled in user mode, this means that there is no support for a root mode and I needed to build an android image with "userdebug" option so I could access with root priviledges.

As I couldn't find an image with these kind of priviledges, I started following the tutorial in "Android User's Guide" section 3 (Building the Android platform for i.MX), where I got the source code, installed all the necessary packages (section 2), installed repo, and then when executing this command:

source ~/imx-o8.0.0_1.0.0_ga/imx_android_setup.sh

It starts fetching stuff, but after an hour, 40% completion, and failed:

...


remote: Compressing objects: 100% (17747/17747), done.
error: 1725 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
error: Cannot fetch uboot-imx from https://github.com/nxp-imx/uboot-imx
Fetching: 100% (4/4), done in 10m4.611s
Updating files: 100% (2859/2859), done.
Updating files: 100% (38/38), done.
Updating files: 100% (14442/14442), done.
Updating files: 100% (14578/14578), done.
Updating files: 100% (9234/9234), done.
Updating files: 100% (7295/7295), done.
Updating files: 100% (914/914), done.
Updating files: 100% (5916/5916), done.
Checking out: 0% (4/596) device/google/accessory/arduinoUpdating files: 35% (4Checking out: 1% (7/596) device/google/contexthubUpdating files: 36% (4295/119Checking out: 1% (9/596) device/google/dragon-kernelUpdating files: 37% (4415/Checking out: 1% (11/596) device/google/marlin-kernelUpdating files: 38% (4534Checking out: 2% (16/596) device/google/wahoo-kernelUpdating files: 39% (4653/Checking out: 4% (27/596) platform/docs/source.android.comUpdating files: 40% Checking out: 5% (32/596) platform/external/abi-dumperUpdating files: 41% (489Updating files: 100% (11930/11930), done.
Updating files: 100% (8/8), done.
Checking out: 21% (128/596) platform/external/cros/system_apiUpdating files: 15Updating files: 100% (21719/21719), done.
Updating files: 100% (9128/9128), done.
Updating files: 100% (5501/5501), done.
Checking out: 26% (160/596) platform/external/javassistUpdating files: 89% (429Updating files: 100% (477/477), done.
Checking out: 32% (192/596) platform/external/libexifUpdating files: 98% (172/1Updating files: 100% (175/175), done.
Checking out: 37% (224/596) platform/external/littlemockUpdating files: 72% (30Updating files: 100% (223/223), done.
Updating files: 100% (4191/4191), done.
Updating files: 100% (8982/8982), done.
Checking out: 42% (256/596) platform/external/okhttpUpdating files: 97% (740/75Updating files: 100% (756/756), done.
error: Cannot checkout aosp_platform_frameworks_base: ManifestInvalidRevisionError: revision refs/tags/o8.0.0_1.0.0-ga in aosp_platform_frameworks_base not found
Checking out: 42% (256/596), done in 1m28.483s
error: in `sync`: revision refs/tags/o8.0.0_1.0.0-ga in aosp_platform_frameworks_base not found
---------------------------------------------------
------Repo sync failure
---------------------------------------------------

 I need help figuring this out. I'd like to have an already built image with this kind of acces, but if not I would want to solve how to make one and pass though this error messages.

标签 (3)
0 项奖励
回复
1 回复

362 次查看
AldoG
NXP TechSupport
NXP TechSupport

Hello,

I see no problem with the script or the repos where it is trying to fetch, from the logs you have shared I see that it complains about a disconnection while trying to fetch, even having an error while fetching uboot.

Could you please try again?
Also, please check that you do not have any kind of firewall blocking the fetching.

Best regards/Saludos,
Aldo.

0 项奖励
回复