xbmc 13.1 crash after preparing for first run
#1
Hi,
i installed xbmc 13.1 on android tvbox energy sistem: http://www.energysistem.com/en/products/...d_tv_boxr/ (android 4.03)

After the end of the preparing for the firts run, xbmc close.
in the log i found the error:

14:46:05 T:1694392 ERROR: CSettings: error loading settings definition from special://xbmc/system/settings/settings.xml, Line 0
Failed to open file

and i noted that during the fist run, the file is created and after deleted...
Thanks in advance for your help.

This is the full log:
14:46:05 T:1694392 NOTICE: special://profile/ is mapped to: special://masterprofile/
14:46:05 T:1694392 NOTICE: -----------------------------------------------------------------------
14:46:05 T:1694392 NOTICE: Starting XBMC (13.1 Git:20140604-84725b0). Platform: ARM Android 32-bit
14:46:05 T:1694392 NOTICE: Using Debug XBMC x32 build, compiled Jun 4 2014 by GCC 4.8.0 for ARM Android 32-bit API level 14
14:46:05 T:1694392 NOTICE: Running on Android 32-bit API level 15 (Android, 2.6.34 armv7l)
14:46:05 T:1694392 NOTICE: Host CPU: ARMv7 Processor rev 1 (v7l), 0 cores available
14:46:05 T:1694392 NOTICE: Product: c03ref, Device: c03ref, Board: c03ref - Manufacturer: MBX, Brand: MBX, Model: Android Smart TV Box, Hardware: amlogic
14:46:05 T:1694392 NOTICE: ARM Features: Neon enabled
14:46:05 T:1694392 NOTICE: special://xbmc/ is mapped to: /data/data/org.xbmc.xbmc/cache/apk/assets
14:46:05 T:1694392 NOTICE: special://xbmcbin/ is mapped to: /data/data/org.xbmc.xbmc/cache/apk/assets
14:46:05 T:1694392 NOTICE: special://masterprofile/ is mapped to: /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/userdata
14:46:05 T:1694392 NOTICE: special://home/ is mapped to: /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc
14:46:05 T:1694392 NOTICE: special://temp/ is mapped to: /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/temp
14:46:05 T:1694392 NOTICE: The executable running is: /system/bin/app_process
14:46:05 T:1694392 NOTICE: Local hostname: localhost
14:46:05 T:1694392 NOTICE: Log File is located: /mnt/sdcard/Android/data/org.xbmc.xbmc/files/.xbmc/temp/xbmc.log
14:46:05 T:1694392 NOTICE: -----------------------------------------------------------------------
14:46:05 T:1694392 NOTICE: load settings...
14:46:05 T:1694392 DEBUG: static int CAndroidFeatures::GetVersion(): android.os.Build.VERSION 15
14:46:05 T:1694392 NOTICE: aml_present, rtn(13)
14:46:05 T:1694392 ERROR: CSettings: error loading settings definition from special://xbmc/system/settings/settings.xml, Line 0
Failed to open file
14:46:05 T:1694392 FATAL: Unable to load settings definitions
Reply
#2
Aren't you running out of space on /data ?
Reply
#3
hi,
this is the output of a df command via adb:

Filesystem Size Used Free Blksize
/dev 179M 32K 179M 4096
/mnt/asec 179M 0K 179M 4096
/mnt/obb 179M 0K 179M 4096
/system 383M 289M 93M 4096
/data 511M 445M 65M 4096
/cache 63M 12M 51M 4096
/mnt/sda1 886G 363G 523G 4096
/mnt/sdcard 2G 492M 2G 4096
/mnt/secure/asec: Permission denied
Reply
#4
what's the minimun required free space on /data partition for xbmc?
Thanks
Reply
#5
XBMC takes ~50M on /data
Reply
#6
thanks Koying,
i have removed some app to free space and then xbmc has started, it asked for root permission (i don't know why) and , finally, the home screen appeared.
I noted that after some minutes the /data/data/org.xbmc.xbmc/cache folder was empty and the /data partition has new free space.
Now every time i open xbmc the "preparing for first run" is executed again.
Reply
#7
There is something wrong. Is some process clearing your cache automatically?
Reply
#8
Seems that /system/bin/installd process delete the xbmc files as soon after the app has started.
It uses the 100% of the cpu for some time after xbmc start and stops to work after xbmc's files are deleted
Reply
#9
So what's the solution here? How do I get it running again?

Cheers,
Thomy800
Reply
#10
I suspect that for some reason, when the free space on /data partition in my tvbox is too low, a backgroud process deletes the folder content in /data/data/org.xbmc.xbmc/cache, therefore i tried to install xbmc in /sdcard. (to do this i used the "pm -s install" command via adb).
All seemed to work fine, but now the problem is that after some heavy work of the app (es. use of a scraper or play of a movie) all my preferences and the content of the folder in /sdcard/Android/data/org.xbmc.xbmc/ is deleted.
Next i will try to put that data on an external usb card (may be there is a problem with my internal memory)
Reply
#11
Thx for the update. Let me know if you got it working Big Grin
Reply
#12
Hi,

Have you been able to solve this?, I also have the same machine (Energy Android TV, an Amlogic AML8726-M1 based tv box with 512MB of ram) and I've tried with several versions of XBMC and the machine's firmware to no avail, the contents of the folder /sdcard/Android/data/org.xbmc.xbmc/ vanish, even with XBMC running (I have an active FTP server on the box and have checked it).

I thought that it may be a space problem on the internal sd card, so what I did was to move all the userdata and other folders to the external SD Card, using advancedsettings.xml :

<advancedsettings>
<pathsubstitution>
<substitute>
<from>special://home/</from>
<to>/sdcard/external_sdcard/xbmc/home/</to>
</substitute>
</pathsubstitution>
<videoextensions>
<remove>.rar</remove>
<remove>.zip</remove>
</videoextensions>
</advancedsettings>

The data gets moved, but all the data on the internal SD card is still deleted (not the one on the external SD card though), and I have to remove the folder /sdcard/Android/data/org.xbmc.xbmc/ manually and start fresh again.

I don't believe that this is a problem with XBMC but if it can be fixed it would be great, because otherwise the machine is almost useless for me.

Best regards.
Reply
#13
Hi,
I finally found a working configuration for my tvbox.
I created 2 partitions on an external SD, the first fat16 and the second ext2.
To put XBMC files to that external SD, i swapped the internal and external SD modifying vold.fstab file in /system/etc.
Then i installed xbmc and prior to open it i have used link2sd to move and to link files in the /data folder to the ext2 partition of the external SD.
Now XBMC works well.
Reply
#14
Hi,

Can you share the vold.fstab file's content.?. Yesterday I did some tests, one of them was to rename installd, when I did it the data in the SDCARD wasn't deleted, but XBMC lost its configuration anyway and I had to start from scratch.

Wouldn't it be posible to just format the external SD card using ext2fs filesystem and use it with Link2SD (I'll try later).

Thank you.
Reply
#15
Hi,
in my case, leaving the userdata folder in the internal SD causes that they are deleted when i played a video, for this reason i mounted the the fat16 partition of the External SD as /sdcard and the internal as /sdcard/internal_sdcard.
I will post my vold.fstab file as soon as possible.
Regards
Reply

Logout Mark Read Team Forum Stats Members Help
xbmc 13.1 crash after preparing for first run0