Help test Companion app bugfixes for Android 14

Hello all,

This thread is for tracking bugfixes to the extension loading issue affecting some devices running Android 14. The gist of it is that Android 14 requires that dynamically loaded code (e.g., extensions) to now be read-only. Companion version 2.72 implements this change, however, it seems like it does not work correctly on all phones. Experimental versions of the companion are posted here to offer people affected by this change to test potential fixes.

companion272d4

Testing version 2.72d4 Link

When prompted to upgrade by App Inventor, click "Not Now" to continue the connection process.

When testing, please report the Android version number, the device manufacturer and model, and any specific error messages that appear either in the companion app or in the web interface.

Thanks,
Evan W. Patton, Ph.D.
Lead Software Engineer, MIT App Inventor

1 Like

Hi @ewpatton,

unfortunately also with 2.72d3 no improvement... tested with sqlite272Test4_1 and sqlite272Test4_11 from TIMAI2 on a Samsung S6 lite Android 14.
Since 2.72d2 I'm getting an error message in the editor:

Do you need any further information about the android version (Kernel-Version, Build, One-UI etc.) ?

1 Like

Hello,

after installing the new Version the following Message appers:

"Your Companion App is out of date. Restart the Companion and use it to scan the QRCode below in order to update"

I use Samsung Galaxy s24+, Android Version 14

Greetings

(added to FAQ)

Click on "Not Now"

Hi,

I am still having no luck with the BLE, attached is a very simple app that allows for a bluetooth connection to be made to a known bluetooth address.

If the app is run in the companion (version 2.72d3) it works correctly, if however I build it and attempt to run on the same android device if fails to connect with ConnectWithAddress,ACCESS_FINE_LOCATION error message

I am using the following:

Built: August 18 2024 Version: nb198
Use
SIMPLEAPP (1).aia (237.7 KB)
Companion: Use Companion: 2.72 or 2.72u

Companion 2.272d3

Android 14 (Google Pixel 8a)

Try this version.

SIMPLEAPP_1.aia (238.8 KB)

App Companion 2.72D3 does not resolve the problem with RegisterForStrings causeing a crash. Tried both App Companion and compile .apk. Same results.
Samsung S24 with OS 14. This worked fine on App Companion 2.71

Did you upgrade the BLE extension to 20240822?

If you have adb set up, run adb shell on your machine and then in the shell run

ls -alR /storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/assets/external_comps

I'd like to see what the output of that command looks like.

Hi ewpatton,
I got this output:

gta4xlvewifi:/ $ ls -alR /storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/assets/external_comps
/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/assets/external_comps:
total 9
drwxrwx--x 3 u0_a287 sdcard_rw 3452 2024-08-27 20:49 .
drwxrwx--x 3 u0_a287 sdcard_rw 3452 2024-08-27 20:49 ..
drwxrwx--x 2 u0_a287 sdcard_rw 3452 2024-08-27 20:49 uk.co.metricrat.simplesqlite

/storage/emulated/0/Android/data/edu.mit.appinventor.aicompanion3/files/assets/external_comps/uk.co.metricrat.simplesqlite:
total 14
drwxrwx--x 2 u0_a287 sdcard_rw 3452 2024-08-27 20:49 .
drwxrwx--x 3 u0_a287 sdcard_rw 3452 2024-08-27 20:49 ..
-rw-rw---- 1 u0_a287 sdcard_rw 7499 2024-08-27 20:49 uk.co.metricrat.simplesqlite.jar
gta4xlvewifi:/ $

Very interesting... What is the output of the mount command?

Also, does your device have a physical SD card inserted, if applicable?

1 Like

Well, I had to google to find out if the tablet had a card slot
I checked the slot and there's no additional SD card.

gta4xlvewifi:/ $ mount
/dev/block/dm-4 on / type ext4 (ro,seclabel,relatime,i_version)
tmpfs on /dev type tmpfs (rw,seclabel,nosuid,relatime,size=1790000k,nr_inodes=447500,mode=755)
devpts on /dev/pts type devpts (rw,seclabel,relatime,mode=600,ptmxmode=000)
proc on /proc type proc (rw,relatime,gid=3009,hidepid=2)
sysfs on /sys type sysfs (rw,seclabel,relatime)
selinuxfs on /sys/fs/selinux type selinuxfs (rw,relatime)
tmpfs on /mnt type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755,gid=1000)
tmpfs on /mnt/installer type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755,gid=1000)
tmpfs on /mnt/androidwritable type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755,gid=1000)
/dev/block/sda24 on /metadata type ext4 (rw,sync,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
/dev/block/dm-5 on /product type ext4 (ro,seclabel,relatime,i_version)
/dev/block/dm-6 on /vendor type ext4 (ro,seclabel,relatime,i_version)
/dev/block/dm-7 on /odm type ext4 (ro,seclabel,relatime,i_version)
/dev/block/dm-8 on /prism type ext4 (ro,seclabel,relatime,i_version)
/dev/block/dm-9 on /optics type ext4 (ro,seclabel,relatime,i_version)
tmpfs on /apex type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755)
none on /dev/blkio type cgroup (rw,nosuid,nodev,noexec,relatime,blkio)
none on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime)
none on /dev/cpuctl type cgroup (rw,nosuid,nodev,noexec,relatime,cpu)
none on /acct type cgroup (rw,nosuid,nodev,noexec,relatime,cpuacct)
none on /dev/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset,noprefix,release_agent=/sbin/cpuset_release_agent)
none on /dev/memcg type cgroup (rw,nosuid,nodev,noexec,relatime,memory)
none on /dev/stune type cgroup (rw,nosuid,nodev,noexec,relatime,schedtune)
none on /dev/freezer type cgroup (rw,nosuid,nodev,noexec,relatime,freezer)
tracefs on /sys/kernel/tracing type tracefs (rw,seclabel,relatime,gid=3012)
none on /config type configfs (rw,nosuid,nodev,noexec,relatime)
binder on /dev/binderfs type binder (rw,relatime,max=1048576,stats=global)
none on /sys/fs/fuse/connections type fusectl (rw,relatime)
bpf on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime)
pstore on /sys/fs/pstore type pstore (rw,seclabel,nosuid,nodev,noexec,relatime)
/dev/block/sda28 on /cache type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
/dev/block/sda22 on /vendor/firmware_mnt type vfat (ro,context=u:object_r:firmware_file:s0,relatime,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sda18 on /vendor/firmware-modem type vfat (ro,context=u:object_r:firmware_file:s0,relatime,gid=1000,fmask=0337,dmask=0227,codepage=437,iocharset=iso8859-1,shortname=lower,errors=remount-ro)
/dev/block/sda6 on /mnt/vendor/efs type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
/dev/block/sda9 on /efs type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
/dev/block/sda17 on /vendor/dsp type ext4 (ro,seclabel,nosuid,nodev,relatime,i_version,data=ordered)
/dev/block/sda5 on /mnt/vendor/persist type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
/dev/block/sda29 on /omr type ext4 (rw,seclabel,nosuid,nodev,noatime,journal_checksum,noauto_da_alloc,i_version)
tmpfs on /storage type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755,gid=1000)
/dev/block/dm-50 on /data type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
tmpfs on /linkerconfig type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755)
tmpfs on /data_mirror type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=700,gid=1000)
/dev/block/dm-50 on /data_mirror/data_ce/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data_mirror/data_de/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data_mirror/misc_ce/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data_mirror/misc_de/null type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data_mirror/cur_profiles type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data_mirror/ref_profiles type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-43 on /apex/com.android.media.swcodec@341711000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-42 on /apex/com.android.adbd@341520010 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-43 on /apex/com.android.media.swcodec type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-42 on /apex/com.android.adbd type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-44 on /apex/com.android.ondevicepersonalization@341812000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-44 on /apex/com.android.ondevicepersonalization type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-45 on /apex/com.android.tethering@341810050 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop20 on /apex/com.samsung.android.shell@342405171 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-45 on /apex/com.android.tethering type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop20 on /apex/com.samsung.android.shell type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop8 on /apex/com.samsung.android.spqr@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop22 on /apex/com.android.apex.cts.shim@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop8 on /apex/com.samsung.android.spqr type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop18 on /apex/com.android.vndk.v30@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop18 on /apex/com.android.vndk.v30 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop11 on /apex/com.samsung.android.wifi.broadcom@300000000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop25 on /apex/com.android.rkpd@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop11 on /apex/com.samsung.android.wifi.broadcom type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop25 on /apex/com.android.rkpd type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop22 on /apex/com.android.apex.cts.shim type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-39 on /apex/com.android.adservices@341913040 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop19 on /apex/com.android.virt@2 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-39 on /apex/com.android.adservices type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop21 on /apex/com.google.mainline.primary.libs@341553000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop19 on /apex/com.android.virt type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop28 on /apex/com.samsung.android.lifeguard@332017701 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop17 on /apex/com.android.runtime@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop17 on /apex/com.android.runtime type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop28 on /apex/com.samsung.android.lifeguard type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-48 on /apex/com.android.healthfitness@341811030 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop14 on /apex/com.android.i18n@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-33 on /apex/com.google.mainline.primary.libs@341919000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-48 on /apex/com.android.healthfitness type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop14 on /apex/com.android.i18n type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-40 on /apex/com.android.neuralnetworks@341510000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop12 on /apex/com.android.devicelock@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-26 on /apex/com.android.os.statsd@341812000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-40 on /apex/com.android.neuralnetworks type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop12 on /apex/com.android.devicelock type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-26 on /apex/com.android.os.statsd type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-41 on /apex/com.android.cellbroadcast@341810000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-41 on /apex/com.android.cellbroadcast type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop24 on /apex/com.samsung.android.camera.unihal@301742001 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop24 on /apex/com.samsung.android.camera.unihal type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop30 on /apex/com.android.btservices@340090000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-24 on /apex/com.android.media@341917000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop30 on /apex/com.android.btservices type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-24 on /apex/com.android.media type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop29 on /apex/com.android.vndk.v34@1 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop29 on /apex/com.android.vndk.v34 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop31 on /apex/com.android.wifi@341011010 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop31 on /apex/com.android.wifi type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-18 on /apex/com.android.appsearch@341810000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-20 on /apex/com.android.resolv@341810000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-18 on /apex/com.android.appsearch type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-20 on /apex/com.android.resolv type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop33 on /apex/com.android.tzdata@341510050 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop33 on /apex/com.android.tzdata type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop40 on /apex/com.samsung.android.biometrics.face@311722300 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-17 on /apex/com.android.mediaprovider@341914020 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-31 on /apex/com.android.permission@341810000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/loop40 on /apex/com.samsung.android.biometrics.face type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-17 on /apex/com.android.mediaprovider type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-31 on /apex/com.android.permission type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-16 on /apex/com.android.configinfrastructure@341510000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-29 on /apex/com.android.extservices@341911003 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-16 on /apex/com.android.configinfrastructure type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-29 on /apex/com.android.extservices type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-11 on /apex/com.android.sdkext@341710000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-13 on /apex/com.android.ipsec@341611000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-11 on /apex/com.android.sdkext type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-30 on /apex/com.android.uwb@340090000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-13 on /apex/com.android.ipsec type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-30 on /apex/com.android.uwb type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-32 on /apex/com.android.art@341913000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-12 on /apex/com.android.scheduling@341510000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-14 on /apex/com.android.conscrypt@341911000 type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-32 on /apex/com.android.art type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-12 on /apex/com.android.scheduling type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
/dev/block/dm-14 on /apex/com.android.conscrypt type ext4 (ro,dirsync,seclabel,nodev,noatime,i_version)
tmpfs on /apex/apex-info-list.xml type tmpfs (rw,seclabel,nosuid,nodev,noexec,relatime,size=1790000k,nr_inodes=447500,mode=755)
/dev/block/dm-50 on /data_mirror/data_ce/null/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
/dev/block/dm-50 on /data/user/0 type f2fs (rw,lazytime,seclabel,nosuid,nodev,noatime,background_gc=on,discard,no_heap,user_xattr,inline_xattr,acl,inline_data,inline_dentry,extent_cache,mode=adaptive,active_logs=6,reserve_root=32768,resuid=0,resgid=5678,usrquota,grpquota,inlinecrypt,alloc_mode=default,fsync_mode=nobarrier,compress_algorithm=lz4,compress_log_size=5,flush_group=5666)
adb on /dev/usb-ffs/adb type functionfs (rw,relatime)
diag on /dev/ffs-diag type functionfs (rw,relatime)
diag_mdm on /dev/ffs-diag-1 type functionfs (rw,relatime)
diag_mdm2 on /dev/ffs-diag-2 type functionfs (rw,relatime)
mtp on /dev/usb-ffs/mtp type functionfs (rw,relatime)
ptp on /dev/usb-ffs/ptp type functionfs (rw,relatime)
/proc/6041/fd/16 on /data/incremental/MT_data_app_vmdl192/mount type incremental-fs (rw,seclabel,nosuid,nodev,noatime,read_timeout_ms=10000,readahead=0)
/proc/6041/fd/16 on /data/app/~~1I3PDSUU53TLGqGvn2Z6sg== type incremental-fs (rw,seclabel,nosuid,nodev,noatime,read_timeout_ms=10000,readahead=0)
/data/media on /mnt/runtime/default/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/runtime/read/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=23,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/runtime/write/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/runtime/full/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal,unshared_obb)
/dev/fuse on /mnt/installer/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/androidwritable/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /mnt/user/0/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/dev/fuse on /storage/emulated type fuse (rw,lazytime,nosuid,nodev,noexec,noatime,user_id=0,group_id=0,allow_other)
/data/media on /mnt/pass_through/0/emulated type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/androidwritable/0/emulated/0/Android/data type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/installer/0/emulated/0/Android/data type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/user/0/emulated/0/Android/data type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /storage/emulated/0/Android/data type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/androidwritable/0/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/user/0/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /storage/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=1015,multiuser,mask=6,derive_gid,default_normal,unshared_obb)
/data/media on /mnt/installer/0/emulated/0/Android/obb type sdcardfs (rw,nosuid,nodev,noexec,noatime,fsuid=1023,fsgid=1023,gid=9997,multiuser,mask=7,derive_gid,default_normal,unshared_obb)
gta4xlvewifi:/ $

fyi: I will be offline now for about 8h (living in timezone UTC+2)

Ok, thanks for that info. I'm working on a possible fix and will update the initial post once I'm done.

Hi Evan

I tried your SIMPLEAPP_1.aia and it works fine - both in debug and build versions.

I then when back to the version I sent you which still does not work!,

I now see the difference is I need to use Permission.FineLocation instead of "PERMISSION_FINE_LOCATION", has this syntax been changed recently?. I have been using text strings for over a year with no problems!

Kind regards,

Ian

I've updated the QR code above to point to a new version of the companion, version 2.72d4, that includes a potential fix.

1 Like

The proper string you wanted was "ACCESS_FINE_LOCATION" but you had put in "BLUETOOTH_FINE_LOCATION", which doesn't exist. Using the Permission blocks prevents these types of errors. The blocks themselves have been in App Inventor for a few years now.

Note that if the device you're connecting to isn't a location beacon, you could try ticking the NoLocationNeeded property in the BluetoothLE1 component, which should prevent it from needing to ask for location permission.

Hi @ewpatton, the version 2.72d4 works fine!
I tested it with various projects that didn't work before, now the sqlite extension of Tom Bennedum works the same as the sqlite extension of TIMAI2 - also tested the Taifun file extension.
Thank you very much!

1 Like

Hello,

when ignoring the Message Compagnion is now running!

2.71 MIT_BLE_controller12.aia on my Xiaomi Pad 6 Android 14 device is OK.

next, 2.71 -> 2.72d4 import project SIMPLEAPP_1.aia is NG.
In logcat, SIMPLEAPP_1 process will not be.
yyy.txt (3.2 MB)