Re: x compact can't connect to camera - aosp 6.0.1 and 7.0

so I have tested two other cards. One is 2GB, quite old, different manufacturer. This one seems to work fine, gets formated both as internal storage (with warning that sd card is slow) as well as portable storage.The second one is 32GB (pulled out from our camera), the same model as the other 32GB that did not work. This does not work again. It seems like the card is not even touched - the data staied there after the unsucessful format process. Also, the other 32GB seems to work all right in my old phone (android 2.4 I think). Btw, these are quite fast (reading) cards - continuous read is ~40MB/s, write should be at least 10MB/s.

Re: x compact can't connect to camera - aosp 6.0.1 and 7.0

So finished a few compiles. Camera works on the stable 7.1 guide. with test-keys and signed. Only thing that is weird, is the selfie camera, which is upside down. I think I found a post for this and will get to that.

Re: x compact can't connect to camera - aosp 6.0.1 and 7.0

there are two things that I had to do:1) copy the "external/toybox" to "out/target/product/kugo/utilities/" (one of the last commands of the script)2) "modify" my "/bin/cp" - copy the original "/bin/cp" to e.g. "/bin/cp~" and create script "/bin/cp" that contains:

#!/bin/bash
/bin/cp~ -r "$@"

- this calls the original cp command but with the "-r" parameter

then you need to download the correct binaries to the root of the AOSP source and run the script below: