0

I have an embedded system development board nxp MCIMX7ULP-EVK with Android BSP (Android 8.1) installed on it (link). The board by default does not have google play service on it. I downloaded open_gapps-arm-8.1-pico-20190525.zip from gapps and tried

./adb reboot bootloader
./fastboot.exe oem unlock
./fastboot  -S 300M flash recovery open_gapps-arm-8.1-pico-20190525.zip

And the response is

Sending 'recovery' (107081 KB)      OKAY [  3.681s]
Writing 'recovery'                  FAILED (remote: 'image too large for partition')
fastboot: error: Command failed

I tried

./adb reboot revcovery

it reboot the device but the device stuck on the splash screen. It does nothing.

I also pressed On+VolDown and turned on the device. It goes to black screen (with backlight on) and does nothing.

I also doubt if I on the right track. I am new in Android. Would anyone please help how to install google play service?


Update

Other tries:

> ./adb sideload open_gapps-arm-8.1-pico-20190525.zip

adb: sideload connection failed: closed
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: closed

and

> ./adb reboot bootloader
> ./adb sideload open_gapps-arm-8.1-pico-20190525.zip

adb: sideload connection failed: no devices/emulators found
adb: trying pre-KitKat sideload method...
adb: pre-KitKat sideload connection failed: no devices/emulators found

Another try:

Unzip open_gapps-arm-8.1-pico-20190525.zip on the sd card

> ./adb shell
$ su
# cd /sdcard/open_gapps-arm-8.1-pico-20190525
# sh ./install.sh

which fails as

grep: /g.prop: No such file or directory
grep: /g.prop: No such file or directory
./installer.sh[1187]: can't create : No such file or directory
./installer.sh[1187]: can't create : No such file or directory
./installer.sh[1188]: can't create : No such file or directory
./installer.sh[1188]: can't create : No such file or directory
./installer.sh[1189]: can't create : No such file or directory
./installer.sh[1189]: can't create : No such file or directory
./installer.sh[1190]: can't create : No such file or directory
./installer.sh[1190]: can't create : No such file or directory
./installer.sh[1191]: can't create : No such file or directory
./installer.sh[1191]: can't create : No such file or directory
./installer.sh[1192]: can't create : No such file or directory
./installer.sh[1192]: can't create : No such file or directory
./installer.sh[1193]: can't create : No such file or directory
./installer.sh[1193]: can't create : No such file or directory
./installer.sh[1194]: can't create : No such file or directory
./installer.sh[1194]: can't create : No such file or directory
./installer.sh[1195]: can't create : No such file or directory
./installer.sh[1195]: can't create : No such file or directory
./installer.sh[1196]: can't create : No such file or directory
./installer.sh[1196]: can't create : No such file or directory
./installer.sh[1197]: can't create : No such file or directory
./installer.sh[1197]: can't create : No such file or directory
./installer.sh[1198]: can't create : No such file or directory
./installer.sh[1198]: can't create : No such file or directory
./installer.sh[1199]: can't create : No such file or directory
./installer.sh[1199]: can't create : No such file or directory
./installer.sh[1200]: can't create : No such file or directory
./installer.sh[1200]: can't create : No such file or directory
./installer.sh[1201]: can't create : No such file or directory
./installer.sh[1201]: can't create : No such file or directory
./installer.sh[1202]: can't create : No such file or directory
./installer.sh[1202]: can't create : No such file or directory
grep: /etc/fstab: No such file or directory
grep: /etc/fstab: No such file or directory
grep: /etc/fstab: No such file or directory
grep: /etc/fstab: No such file or directory
./installer.sh[1209]: can't create : No such file or directory
./installer.sh[1209]: can't create : No such file or directory
./installer.sh[1210]: can't create : No such file or directory
./installer.sh[1210]: can't create : No such file or directory
./installer.sh[1211]: can't create : No such file or directory
find: /system/system: No such file or directory
touch: '/proc_gconf': Read-only file system
grep: /proc_gconf: No such file or directory
./installer.sh[1335]: install: not found
./installer.sh[1335]: can't create /logs/System_Files_Before.txt: No such file or directory
./installer.sh[1335]: can't create /logs/Device_Space_Before.txt: No such file or directory
./installer.sh[1338]: can't create : No such file or directory
./installer.sh[1338]: can't create : No such file or directory
./installer.sh[1339]: can't create : No such file or directory
./installer.sh[1339]: can't create : No such file or directory
./installer.sh[1354]: can't create /g.log: Read-only file system
./installer.sh[1355]: can't create /g.log: Read-only file system
grep: /recovery.log: No such file or directory
grep: /cache/recovery/log: No such file or directory
...

  • You should edit your post to include the exact make and model of board as well as what version of Android is installed. – Morrison Chang May 28 at 3:36
  • @MorrisonChang, I did. – alex May 28 at 4:06
  • Maybe certain "GAPPS installer" apps (installs directly, requires root - never tried those before) would help. On second thought though, if you're actively working on a dev board, shouldn't you try porting TWRP to it and do subsequent modding from there? – Andy Yan May 29 at 7:48
  • @AndyYan, The TWRP is device specific and the dev board provider does not provide multiple options for the images. There is only one option with no google play service on it. – alex May 29 at 7:51
  • Yeah I know TWRP is device-specific, that's why I asked if you would try to port to this device, since you know, dev boards are plenty open, and people working on dev boards should more or less have dev knowledge? Anyway, do you even have root in the OS in the first place? – Andy Yan May 30 at 2:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.