Android beta...

Dirk Hohndel dirk at hohndel.org
Sun Jul 9 08:28:19 PDT 2017


> On Jul 8, 2017, at 11:16 PM, Miika Turkia <miika.turkia at gmail.com> wrote:
>>> 
>>> I'll try with my Nexus at some point (if I can figure out how to
>>> enable the FTDI DCs). Hopefully it does not include the paranoid
>>> SELinux settings..
>> 
>> I spent quite a bit of time to get my apk compile env working again. So no coding at all today. My Nexus is using selinux settings that prevent dl from working. But I was able to test DL from Suunto D4 using OTG and one plus one (cyanogenmod). works just fine, so when these DCs are enabled from mobile ui, downloading is working!
> 
> After some more testing, I think I have good news :D
> 
> When I connect an official Suunto cable to Nexus 7, I am presented a
> question what app I want to use to access it. When I select
> Subsurface-mobile, the download works. So at least with these devices,
> it appears that the SELinux rules are updated on-the-fly allowing
> download.

Which Nexus 7 do you have? Gen 1 or Gen 2? Mine is a Gen 1 and
doesn't appear to support OTG.

I think the SELinux changes that prevent libusb access came as part
of Android 7 - but they weren't adopted by some of the non-Google
Android makers. Cyanogen works. Samsung and Google phones
running Android 7 don't appear to work. But that's all anecdotal at
this point.

/D


More information about the subsurface mailing list