Closed ghost closed 5 years ago
Haven works on phones without SD cards, end of story. You’re confusing internal storage methods; and haven does indeed store local data. I’m using two nexus devices to work on sensor accuracy, both of which have no external storage and they communicate without issue to one another.
Pressing start begins logging data (locally) unless, as in your case, an error presents. Sounds like a hardware issue on your end
Also, did you try this without using a corrupt card and doing a proper format first?
The most proper format is to format the media using the device and OS that will access it. The option to unmount and the option to format were both grayed out. So the phone could not do anything with the card.
On debian, i created a type c partition and formatted w/mkfs.vfat (I'm assuming AOS 5.1 wouldn't be exfat-aware, but didn't check). The vfat card worked, and Haven also worked at that point.
Now I've removed the sdcard, and Haven still creates logs. So perhaps it's uniquely a problem with unformatted media.
I could not reproduce the problem. On the 2nd iteration of inserting a zero-filled sdcard, the phone offered to format this time (perhaps not letting the zero-fill operation complete the 1st time made a difference). I opted not to format, so the phone had a broken sdcard tray icon. Haven worked fine in that state, unlike what i saw initially.
Since I cannot reproduce this, and it's looking more and more like an obscure case if indeed there's a bug, I'll close this.
Reproducer:
dd if=/dev/zero of=/dev/$drive
Notice that you will have no logs, and yet no indication that anything happened in the app, and no indication of an issue. I was baffled at first, because nothing in the Haven configs suggested that it was dependent on an SD card and it hadn't occurred to me. Logcat helped me discover the problem, but normies won't be doing that.
Multiple bugs here:
/phonypot/
), and the user is not blocked from running the app, they would naturally conclude that internal storage is used. And perhaps it should be in that case.