2013-03-20, 06:32
(2013-03-11, 16:08)kemonine96 Wrote:(2013-03-10, 23:31)cyberguerilla Wrote: bump
Real life has tripped me up some. I'll take a closer look at the code you posted soon. Feel free to PM me if I don't have something posted by the end of the week.
(2013-03-19, 16:15)kemonine96 Wrote:(2013-03-17, 14:22)cyberguerilla Wrote: Thanks, eagerly awaiting anything you find.
So far I've found nothing. I was poking at this yesterday some and I can't seem to find the spot where it loses the SD Card location.
Anyone willing to post the output of "env" from a command line (on device) on a working and non-working ROM? That might help me find the right spot to go digging.
I am posting the env settings that do not work at the bottom of this post.
That being said, I am not sure if looking at losing SD Card location is necessarily the problem here. I have run some tests before:
SD Card on, XBMC app installed on the card ---- special://home and special://masterprofile mapped to /.xbmc/..... so failed to start.
SD Card on, XBMC app installed on device local memory ---- special://home and special://masterprofile mapped to /.xbmc/..... so failed to start.
To me, I don't care if we lose the SD Card or not. As long as special://home and special://masterprofile are mapped to a non-root path that Android device user actually have access to without rooting, then it's fine. Maybe looking at it from another perspective: how much do we know, in the code, where special://home and special://masterprofile are mapped to?
Does not work
uid=10042 gid=10042 groups=1015,3003@android:/mnt/sdcard $ env
_=/usr/bin/env
ANDROID_BOOTLOGO=1
ANDROID_PROPERTY_WORKSPACE=8,32768
LOOP_MOUNTPOINT=/mnt/obb
PS1=$(precmd)$USER@$HOSTNAME:${PWD:-?} $
PATH=/bin:/usr/bin:/usr/sbin:/system/bin:/system/xbin
USER=uid=10042 gid=10042 groups=1015,3003
EXTERNAL_STORAGE=/mnt/sdcard
ANDROID_DATA=/data
RANDOM=466
TERM=screen
SHELL=/system/bin/sh
MKSH=/system/bin/sh
HOME=/
LD_LIBRARY_PATH=/vendor/lib:/system/lib
ASEC_MOUNTPOINT=/mnt/asec
HOSTNAME=android
BOOTCLASSPATH=/system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar:/system/framework/wmt.applib.jar:/data/wmt/framework/metro8lib.jar
ANDROID_ROOT=/system
ANDROID_ASSETS=/system/app
ANDROID_SOCKET_zygote=9