# Unable to install custom app, Herelink read-only

**URL:** <https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890>\
**Category:** HereLink\
**Created:** [12 May 2022 15:05 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890 "2022-05-12T15:05:09Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [12 May 2022 15:05 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/1 "2022-05-12T15:05:09Z")

</div>

I am trying to install a custom version of QGC. When I try to install using "adb install \<name.apk\> it fails. And the Herelink goes offline.

I also tried "adb push \<name.apk\> \<name.apk\> and it fails saying the device is read-only.

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [12 May 2022 23:23 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/2 "2022-05-12T23:23:19Z")

</div>

use adb install, not push

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [13 May 2022 03:04 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/3 "2022-05-13T03:04:18Z")

</div>

I have tried “adb install \<name.apk\>”, many times. Also tried “adb install --no-streaming \<name.apk\>” and that also did not work.

I only tried push to see if I could get the apk file to the device. And that is when it gave me the read only error.

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [13 May 2022 17:24 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/4 "2022-05-13T17:24:27Z")

</div>

Just another data point. I was able to successfully install the same apk onto an old Samsung Galaxy 6 device. This was done using the same command that does not work with my Herelink: adb install \<name.apk\>

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [14 May 2022 10:28 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/5 "2022-05-14T10:28:48Z")

</div>

you need to at least provide the exact error you are getting.

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [14 May 2022 15:35 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/6 "2022-05-14T15:35:16Z")

</div>

Below is captures from attempting the install with streaming and no streaming. And log captures afterwards. Note the exceptions in each case.  
I have more complete logs but this site will not let me upload them.

Device SW Version: LATEST: BRU01211104

C:\apk\>adb devices  
List of devices attached  
d7934778 device

C:\apk\>adb install android-build-release-signed.apk  
Performing Streamed Install  
adb: failed to install android-build-release-signed.apk:

C:\apk\>adb devices  
List of devices attached  
d7934778 offline

\*\* Unplugged USB cable and plugged back in

C:\apk\>adb devices  
List of devices attached  
d7934778 device

C:\apk\>adb logcat

05-14 08:09:27.423 262 262 I usbethx : POWER\_SUPPLY\_CURRENT\_MAX=500  
05-14 08:09:27.423 262 262 I usbethx : POWER\_SUPPLY\_TYPE=USB  
05-14 08:09:27.423 262 262 I usbethx : POWER\_SUPPLY\_CHARGE\_TYPE=N/A  
05-14 08:09:27.423 262 262 I usbethx : SEQNUM=2215  
05-14 08:09:27.431 746 825 V UsbDeviceManager: USB UEVENT: {USB\_STATE=DISCONNECTED, SUBSYSTEM=android\_usb, SEQNUM=2216, ACTION=change, DEVPATH=/devices/virtual/android\_usb/android0}  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:334): avc: denied { write } for name=“0.modem” dev=“sysfs” ino=6182 scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=dir permissive=1  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:335): avc: denied { add\_name } for name=“charger\_status” scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=dir permissive=1  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:336): avc: denied { create } for name=“charger\_status” scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=file permissive=1  
05-14 08:09:27.438 746 1978 W FastPrintWriter: Write failure  
05-14 08:09:27.438 746 1978 W FastPrintWriter: java.io.IOException: write failed: EIO (I/O error)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.IoBridge.write(IoBridge.java:501)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at java.io.FileOutputStream.write(FileOutputStream.java:316)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flushBytesLocked(FastPrintWriter.java:336)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flushLocked(FastPrintWriter.java:359)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flush(FastPrintWriter.java:394)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.ShellCommand.exec(ShellCommand.java:113)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18409)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.shellCommand(Binder.java:468)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.onTransact(Binder.java:367)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3056)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.execTransact(Binder.java:565)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: Caused by: android.system.ErrnoException: write failed: EIO (I/O error)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.Posix.writeBytes(Native Method)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.Posix.write(Posix.java:273)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:319)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.IoBridge.write(IoBridge.java:496)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: … 11 more  
05-14 08:09:27.439 262 262 I usbethx : change@/devices/virtual/android\_usb/android0  
05-14 08:09:27.439 262 262 I usbethx : ACTION=change  
05-14 08:09:27.439 262 262 I usbethx : DEVPATH=/devices/virtual/android\_usb/android0  
05-14 08:09:27.439 262 262 I usbethx : SUBSYSTEM=android\_usb  
05-14 08:09:27.439 262 262 I usbethx : USB\_STATE=DISCONNECTED  
05-14 08:09:27.440 262 262 I usbethx : SEQNUM=2216  
05-14 08:09:27.440 262 262 I usbethx : change@/devices/platform/soc/fa300000.usb/udc/fa300000.usb  
05-14 08:09:27.440 262 262 I usbethx : ACTION=change  
05-14 08:09:27.442 262 262 I usbethx : DEVPATH=/devices/platform/soc/fa300000.usb/udc/fa300000.usb  
05-14 08:09:27.442 262 262 I usbethx : SUBSYSTEM=udc

C:\apk\>adb devices  
List of devices attached  
d7934778 device

C:\apk\>adb install --no-streaming android-build-release-signed.apk  
Performing Push Install  
adb: error: failed to read copy responseease-signed.apk  
android-build-release-signed.apk: 1 file pushed, 0 skipped. 4.9 MB/s (26079780 bytes in 5.108s)  
adb: error: failed to read copy response

C:\apk\>adb devices  
List of devices attached  
d7934778 offline

\*\* Unplugged USB cable and plugged back in

C:\apk\>adb devices  
List of devices attached  
d7934778 device

C:\apk\>adb logcat

05-14 08:09:27.423 262 262 I usbethx : SEQNUM=2215  
05-14 08:09:27.431 746 825 V UsbDeviceManager: USB UEVENT: {USB\_STATE=DISCONNECTED, SUBSYSTEM=android\_usb, SEQNUM=2216, ACTION=change, DEVPATH=/devices/virtual/android\_usb/android0}  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:334): avc: denied { write } for name=“0.modem” dev=“sysfs” ino=6182 scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=dir permissive=1  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:335): avc: denied { add\_name } for name=“charger\_status” scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=dir permissive=1  
05-14 08:09:27.432 1 1 I init : type=1400 audit(0.0:336): avc: denied { create } for name=“charger\_status” scontext=u:r:init:s0 tcontext=u:object\_r:sysfs:s0 tclass=file permissive=1  
05-14 08:09:27.438 746 1978 W FastPrintWriter: Write failure  
05-14 08:09:27.438 746 1978 W FastPrintWriter: java.io.IOException: write failed: EIO (I/O error)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.IoBridge.write(IoBridge.java:501)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at java.io.FileOutputStream.write(FileOutputStream.java:316)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flushBytesLocked(FastPrintWriter.java:336)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flushLocked(FastPrintWriter.java:359)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.internal.util.FastPrintWriter.flush(FastPrintWriter.java:394)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.ShellCommand.exec(ShellCommand.java:113)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.server.pm.PackageManagerService.onShellCommand(PackageManagerService.java:18409)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.shellCommand(Binder.java:468)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.onTransact(Binder.java:367)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.content.pm.IPackageManager$Stub.onTransact(IPackageManager.java:2387)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at com.android.server.pm.PackageManagerService.onTransact(PackageManagerService.java:3056)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at android.os.Binder.execTransact(Binder.java:565)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: Caused by: android.system.ErrnoException: write failed: EIO (I/O error)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.Posix.writeBytes(Native Method)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.Posix.write(Posix.java:273)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.BlockGuardOs.write(BlockGuardOs.java:319)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: at libcore.io.IoBridge.write(IoBridge.java:496)  
05-14 08:09:27.438 746 1978 W FastPrintWriter: … 11 more  
05-14 08:09:27.439 262 262 I usbethx : change@/devices/virtual/android\_usb/android0  
05-14 08:09:27.439 262 262 I usbethx : ACTION=change  
05-14 08:09:27.439 262 262 I usbethx : DEVPATH=/devices/virtual/android\_usb/android0  
05-14 08:09:27.439 262 262 I usbethx : SUBSYSTEM=android\_usb  
05-14 08:09:27.439 262 262 I usbethx : USB\_STATE=DISCONNECTED  
05-14 08:09:27.440 262 262 I usbethx : SEQNUM=2216  
05-14 08:09:27.440 262 262 I usbethx : change@/devices/platform/soc/fa300000.usb/udc/fa300000.usb

---

<div class="post-metadata">

**Author:** ![Jesus](https://discuss.cubepilot.org/letter_avatar_proxy/v4/letter/j/ac91a4/32.png) [@Jesus](https://discuss.cubepilot.org/u/Jesus)\
**Post date:** [15 May 2022 07:24 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/7 "2022-05-15T07:24:56Z")

</div>

Android versions may not match so you can try to update different versions or here link?

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [16 May 2022 03:55 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/8 "2022-05-16T03:55:40Z")

</div>

as @Jesus has mentioned, what android version are you targeting? needs to be 7.1 or bellow. you can use a newer sdk, just need to target the lower value

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [16 May 2022 16:38 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/9 "2022-05-16T16:38:36Z")

</div>

Thanks for the suggestions. But that does not seem to be the issue. I am setting the Target to be “API 25: Android 7.1”. The Herelink device Android version is 7.1.2.

Here is some info from the apk file.  
Android manifest:  
N: android=http://schemas.android.com/apk/res/android  
E: manifest (line=2)  
A: android:versionCode(0x0101021b)=(type 0x10)0x494d3  
A: android:versionName(0x0101021c)=“3.0.0-243-gd759437” (Raw: “3.0.0-243-gd759437”)  
A: android:installLocation(0x010102b7)=(type 0x10)0x0  
A: package=“gov.nasa.arc.aol.qgroundcontrol” (Raw: “gov.nasa.arc.aol.qgroundcontrol”)  
A: platformBuildVersionCode=(type 0x10)0x19 (Raw: “25”)  
A: platformBuildVersionName=“7.1.1” (Raw: “7.1.1”)  
E: uses-sdk (line=8)  
A: android:minSdkVersion(0x0101020c)=(type 0x10)0x10  
A: android:targetSdkVersion(0x01010270)=(type 0x10)0x19

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [16 May 2022 23:58 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/10 "2022-05-16T23:58:30Z")

</div>

ok, so i dont see anything that should be blocking it initialy. we dont stop you installing custom apps at all, so there must be something else going on here.

can you  
reboot the unit  
do a  
“adb install android-build-release-signed.apk”  
then after it fails  
“adb bugreport”  
and upload the file it generates

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [17 May 2022 00:06 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/11 "2022-05-17T00:06:22Z")

</div>

[bugreport-N2G47J-2022-05-16-17-02-56.zip](https://discuss.cubepilot.org/uploads/short-url/kKunV2onBQfOJ7WSFeWhwo9yeuD.zip) (823.5 KB)

I have followed the steps you provided and uploaded the file. To note is that once the install fails the device appears to go offline. So I had to unplug the device from USB and then plug back in to generated the bugreport.

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [17 May 2022 10:12 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/12 "2022-05-17T10:12:05Z")

</div>

ok so couple of questions  
do you have a microsd card intalled?  
and is there enough free space on both the internal storage? apk size \* 2  
and how big is the apk?

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [17 May 2022 10:44 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/13 "2022-05-17T10:44:51Z")

</div>

does that mean it rebooted? or just usb stopped responding?

i can see the install attempt  
Session 1815042004:  
userId=0 installerPackageName=null installerUid=2000 createdMillis=1652745733621  
stageDir=/data/app/vmdl1815042004.tmp stageCid=null  
mode=1 installFlags=0x70 installLocation=1 sizeBytes=26079780 appPackageName=null appIcon=false appLabel=null  
originatingUri=null originatingUid=-1 referrerUri=null abiOverride=null volumeUuid=null  
grantedRuntimePermissions=null  
mClientProgress=0.0 mProgress=0.0 mSealed=true mPermissionsAccepted=true mRelinquished=false mDestroyed=true  
mBridges=1 mFinalStatus=-115 mFinalMessage=Session was abandoned

also have you tried installing any other apk?  
just want to narrow down if its something to do with the system as a whole, or just this one apk in question.

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [18 May 2022 15:41 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/14 "2022-05-18T15:41:28Z")

</div>

To answer your questions:

- No microsd card installed
- I believe there is enough space. From device Settings, Storage shows 876 MB of 4.85 GB used.
- My APK that I am trying to install is 25 MB.
- Following the install attempt ADB shows the device as “offline”. I am not rebooting the device. Simply unplug/plug the USB cable.
- I tried another APK for one of the Android Sample apps. And it fails the same way. Its size is 75 KB.

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [18 May 2022 16:45 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/15 "2022-05-18T16:45:36Z")

</div>

[app-release-unsigned.zip](https://discuss.cubepilot.org/uploads/short-url/p8SO20JylJwbJPJZtdtcV2zDurc.zip) (69.0 KB)

This is the sample app that also fails to install.

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [24 May 2022 19:32 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/16 "2022-05-24T19:32:00Z")

</div>

> [@Bill\_McCarty](#):
>
> This is the sample app that also fails to install.

This is the same sample app that also fails to install. But this one is signed.  
[app-release.zip](https://discuss.cubepilot.org/uploads/short-url/9ZvXnr9TcXcbMav4DeTZC3o5Ao4.zip) (70.2 KB)

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [25 May 2022 01:43 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/17 "2022-05-25T01:43:18Z")

</div>

my attempt at your app

C:\Users\mich1\Downloads\>adb install app-release.apk

- daemon not running; starting now at tcp:5037
- daemon started successfully  
Performing Streamed Install  
Success

and i see and can launch app shortcut example

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [25 May 2022 01:45 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/18 "2022-05-25T01:45:04Z")

</div>

an unsigned app i think will always fail eg

C:\Users\mich1\Downloads\>adb install app-release-unsigned.apk  
Performing Streamed Install  
adb: failed to install app-release-unsigned.apk: Failure [INSTALL\_PARSE\_FAILED\_NO\_CERTIFICATES: Failed to collect certificates from /data/app/vmdl1698006144.tmp/base.apk: Attempt to get length of null array]

---

<div class="post-metadata">

**Author:** ![Michael\_Oborne](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/michael_oborne/32/13_2.png) [@Michael\_Oborne](https://discuss.cubepilot.org/u/Michael_Oborne)\
**Post date:** [25 May 2022 01:49 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/19 "2022-05-25T01:49:46Z")

</div>

so it looks like its a system wide state.

so my next questions are  
is a new and valid windows adb driver installed?  
is the version of adb you using up to date?  
whats is the oem build number of the herelink fw you are on? (settings \> about phone)

for me

 ![image](https://discuss.cubepilot.org/uploads/default/original/2X/f/fceaad0f56146ec804bb351388ed4af255aee7a5.png)

adb version  
Android Debug Bridge version 1.0.41  
Version 31.0.3-7562133  
Installed as C:\Program Files (x86)\Android\android-sdk\platform-tools\adb.exe

---

<div class="post-metadata">

**Author:** ![Bill\_McCarty](https://discuss.cubepilot.org/user_avatar/discuss.cubepilot.org/bill_mccarty/32/5469_2.png) [@Bill\_McCarty](https://discuss.cubepilot.org/u/Bill_McCarty)\
**Post date:** [25 May 2022 16:47 UTC](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890/20 "2022-05-25T16:47:34Z")

</div>

is a new and valid windows adb driver installed?

**Yes** , the driver was installed using the SDK Manager. It currently shows the status is “installed” and the version is “13”. See screenshot. ![sdk-tools](https://discuss.cubepilot.org/uploads/default/original/2X/f/f60adada8fbcf1595195c8ea034d0b4ecc8d50ab.jpeg)

I also tried updating following the steps at [https://www.drivereasy.com/knowledge/install-the-adb-driver-on-your-windows-pc-easily/#d](https://www.drivereasy.com/knowledge/install-the-adb-driver-on-your-windows-pc-easily/#d) and it said the best driver was already installed.

is the version of adb you using up to date?

**Yes** ,

> adb version  
> Android Debug Bridge version 1.0.41  
> Version 33.0.1-8253317  
> Installed as C:\Users\wmmccart\AppData\Local\Android\Sdk\platform-tools\adb.exe

whats is the oem build number of the herelink fw you are on? (settings \> about phone)

**OEM Build Number: BRU01211104**

[Next page](https://discuss.cubepilot.org/t/unable-to-install-custom-app-herelink-read-only/8890.md?page=2)
