Or, after first boot :
# systemctl stop kodi
# mv /storage/.kodi /storage/.kodi.bak
# cp -r /var/media/DISK/.kodi /storage
# systemctl start kodi
I tried this option but couldn't find the backup folder in /storage.
Or, after first boot :
# systemctl stop kodi
# mv /storage/.kodi /storage/.kodi.bak
# cp -r /var/media/DISK/.kodi /storage
# systemctl start kodi
I tried this option but couldn't find the backup folder in /storage.
Is this option available now?
Also, one bit of confusion. After nand install, is it still possible to boot from SD for testing future versions in the same manner? Does installtointernal still work the same way in this case?
Not yet. I've modified the script but I need to test it first. If you want to take a look at it or test:
wget http://kszaq.libreelec.tv/s905/devel/2016-11-15-script/installtointernal
chmod +x installtointernal
./installtointernal
Yes, as long as you have SD card with LE insterted your box will boot from SD, no matter which system you have on internal memory. I do this at home for testing: stable version for family on internal memory, testing from SD.
Thanks. Worked fine (had to reboot and run again, but...)
Thanks. Worked fine (had to reboot and run again, but...)
"Old" script rebooted from internal :
echo "All done! Rebooting in 10s..."
sleep 10
rebootfromnand
And new script just prints this :
echo "All done! You can now continue using your LE system or type \"rebootfromnand\" to reboot from internal memory."
echo "WARNING: If your internal memory layout is different from standard Amlogic, you have to reboot and perform this operation again!"
That's because some people complained they don't want the box to reboot automatically. It's also easier to debug in case anything goes wrong.
I have Nexbox A95X with LE.008 version on SD. After reading this topic I think will instal LE to internal memory but first have questions - If something go wrong or i will change my mind in future can I install back android (stock firmware)? To make it just the same as upgrading stock firmware from SD?
I have Nexbox A95X with LE.008 version on SD. After reading this topic I think will instal LE to internal memory but first have questions - If something go wrong or i will change my mind in future can I install back android (stock firmware)? To make it just the same as upgrading stock firmware from SD?
Yes, you can find the Android firmware (current version is update_103.zip) here : Mini M8S II 4K Smart TV Box Amlogic S905X 2/8GB WiFi 10/100 LAN BT - FreakTab.com
You'll also need a Windows PC and the "Customization Tool" binary.
Ok so think will check nand install performance.
My version of A95X is 1/8GB S905 (without X). Now i have updated so already have current verson just in case:)
SD - 19.5 MB/s
Internal - 109 MB/s!!!!I think I need to move to internal
I use a 95 MB/s read/write microSD card and it is very fast, but I still think eMMC memory is faster. These premium microSD cards are used to record 4k video, therefore they need to be fast. Personally I prefer installing to eMMC rather than using a microSD card. I do that for testing purposes only, just to make sure everything works correctly before installing to eMMC.
In the LibreELEC settings create a system backup which will backup everything. Use the installtointernal command then go back into libreelec settings and restore from back.
Everything will be excatly the same.
After instal to Nand have problem with personal settings. I can not make backup when booting from SD. I have informaation - not enough space. Even if I try to use external hdd or usb always the same information - not enough space. Is there any other way to "copy" settings from SD to internal?
After instal to Nand have problem with personal settings. I can not make backup when booting from SD. I have informaation - not enough space. Even if I try to use external hdd or usb always the same information - not enough space. Is there any other way to "copy" settings from SD to internal?
Boot from NAND, and then insert your SD card (it will get mounted to /var/media/DISK)
Then :
# systemctl stop kodi
# mv /storage/.kodi /storage/.kodi.bak
# cp -av /var/media/DISK/.kodi /storage
# umount /var/media/DISK
# systemctl start kodi
Boot from NAND, and then insert your SD card (it will get mounted to /var/media/DISK)
Then :
# systemctl stop kodi
# mv /storage/.kodi /storage/.kodi.bak
# cp -av /var/media/DISK/.kodi /storage
# umount /var/media/DISK
# systemctl start kodi
Tried this already but have information - can't rename /storag/.kodi : no such file or directory
after trying more - cp: can't stat '/var/media/DISK/.kodi': No such file or directory
Tried this already but have information - can't rename /storag/.kodi : no such file or directory
after trying more - cp: can't stat '/var/media/DISK/.kodi': No such file or directory
Once booted from NAND, with your sdcard inserted, can you run this ?
# mount
# ls -al /storage
Once booted from NAND, with your sdcard inserted, can you run this ?
# mount
# ls -al /storage
Now I see my mistake - I send those commands when booting from SD - after rebooiting from sd all setings gone
but i see new .kodi bak folder - hope its with my setting but how to take it back to sd and then copy to internal?
To get your settings back, when booted from sdcard :
# systemctl stop kodi
# mv /storage/.kodi.bak /storage/.kodi
# systemctl start kodi
Then boot again from NAND, and follow the instructions on previous page.
Sorry for my stupid questions but after doing aboove settings not come back.
Search .kodi.bak and found it in /storage/.kodi (inside this folder)
i dont know linux? but maybe it should be like this?
mv /storage/.kodi.bak /storage
Can you run this, to be sure ?
# ls -al /storage/.kodi/
Can you run this, to be sure ?# ls -al /storage/.kodi/
total 8
drwxr-xr-x 8 root root 1024 Nov 24 22:58 .
drwxr-xr-x 15 root root 1024 Nov 24 22:58 ..
drwxr-xr-x 7 root root 1024 Jan 1 2015 .kodi.bak
drwxr-xr-x 10 root root 1024 Nov 24 22:42 addons
drwxr-xr-x 2 root root 1024 Nov 24 22:42 media
drwxr-xr-x 2 root root 1024 Nov 24 22:42 system
drwxr-xr-x 3 root root 1024 Jan 1 2015 temp
drwxr-xr-x 9 root root 1024 Jan 1 2015 userdata