2014-01-31, 11:25
I have been trying to get my brand new Himedia box to run XBMC for a while now.
Finally, I managed to find a solution (permanent? I am not sure) to get XBMC running.
I am not a specialist so I might not be able to explain why it works, I've just tried and tried according to information I gathered from many sources.
This guide should help anyone having this box to get XBMC playing any video file locally and from any nfs folders (your NAS for example, my case)
Actually, the Himedia player cannot play video file through network! You will ask "but it works when it is used with the Himedia Media Center". Indeed, it does but there is a trick and I managed to find it and to reproduce it for other media managers as XBMC.
When you use the Himedia Media Center, it temporarily creates in /mnt/ nfs or smb folders. Which means the player thinks video files are local ones!!
What you need:
-XMBC Gotham alpha 11 (Frodo 12.3 does not launch HimediaPlayer whatever I do)
-A modified playercorefactory.xml to automatically launch the native Himedia player
-This FILE to root the box
-Busybox (if you cannot download it from google play, find the apk on google)
-Script Manager (if you cannot download it from google play, find the apk on google)
1. Install XBMC
2. Paste playercorefactory.xml in \sdcard\Android\data\org.xbmc.xbmc\files\.xbmc\userdata (show hidden files to see .xbmc)
At this point you should be able to play any local video.
Now for files on NFS folders.
3. Root you box (works with Q5 II and Q10 II)
-Connect your box to your router by ethernet and write down the IP
-Unrar the file
-Launch Q5-II ROOT.exe (you may have strange signs, don't worry)
-Press any key when prompt
-Type the IP address of your box and press enter
-The box will reboot and it is done
-Quit
4.Install Busybox and launch it to finalize the installation (choose normal installation)
5.Install Script Manager
6.Create a main folder where you want all your NFS folder(s) to be mounted. IT MUST BE ON THE SDCARD!
For example I have created:
/sdcard/nfs
And I have created a sub directory for my video:
/sdcard/nfs/NAS_Video
7.I have created this script:
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/video /sdcard/nfs/NAS_Video
Copy paste in a text file and change IP Address, directory etc etc
FOR SYNOLOGY NAS "volume1" must be added as I did.
If you want more NFS folders mounted (example music) you can add on sub directory and create one more script
Example for
/sdcard/nfs/NAS_Video
/sdcard/nfs/NAS_Music
The scripts should be
Script 1 :
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/video /sdcard/nfs/NAS_Video
Script 2:
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/music /sdcard/nfs/NAS_Music
I tried to put both lines in the same script but I don't why it does not work. I am pretty sure it is possible but as I said I am not a specialist.
Save it/them somewhere on your sdcard (at the root in my case)
8. Launch ScriptManager
-Select your script (when prompt select text script)
-Run it to test
-If nothing wrong check with a file manager (ES File Explorer for example) that you have you nfs folder(s) mounted
-Go back to Script Manager
-Select your script again
-Select Boot and SU
-Save
Do it again if you have more than one script
DONE!
Reboot you box and check again in ES File Explorer
Next time in XBMC to add new video files, choose Android root file and select your mounted folder(s).
I have this solution working for me for now.
I hope it will help a lot as it seems many have been trying to get XBMC on Himedia
And don't forget to directly launch XBMC at start up (use himedia application manager for that)
One issue is Internet streaming, the default XBMC player crashes all the time with Gotham while it works perfectly with Frodo (but Frodo does not work with HimediaPlayer)...Maybe in the coming beta it will be fixed.
Finally, I managed to find a solution (permanent? I am not sure) to get XBMC running.
I am not a specialist so I might not be able to explain why it works, I've just tried and tried according to information I gathered from many sources.
This guide should help anyone having this box to get XBMC playing any video file locally and from any nfs folders (your NAS for example, my case)
Actually, the Himedia player cannot play video file through network! You will ask "but it works when it is used with the Himedia Media Center". Indeed, it does but there is a trick and I managed to find it and to reproduce it for other media managers as XBMC.
When you use the Himedia Media Center, it temporarily creates in /mnt/ nfs or smb folders. Which means the player thinks video files are local ones!!
What you need:
-XMBC Gotham alpha 11 (Frodo 12.3 does not launch HimediaPlayer whatever I do)
-A modified playercorefactory.xml to automatically launch the native Himedia player
-This FILE to root the box
-Busybox (if you cannot download it from google play, find the apk on google)
-Script Manager (if you cannot download it from google play, find the apk on google)
1. Install XBMC
2. Paste playercorefactory.xml in \sdcard\Android\data\org.xbmc.xbmc\files\.xbmc\userdata (show hidden files to see .xbmc)
At this point you should be able to play any local video.
Now for files on NFS folders.
3. Root you box (works with Q5 II and Q10 II)
-Connect your box to your router by ethernet and write down the IP
-Unrar the file
-Launch Q5-II ROOT.exe (you may have strange signs, don't worry)
-Press any key when prompt
-Type the IP address of your box and press enter
-The box will reboot and it is done
-Quit
4.Install Busybox and launch it to finalize the installation (choose normal installation)
5.Install Script Manager
6.Create a main folder where you want all your NFS folder(s) to be mounted. IT MUST BE ON THE SDCARD!
For example I have created:
/sdcard/nfs
And I have created a sub directory for my video:
/sdcard/nfs/NAS_Video
7.I have created this script:
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/video /sdcard/nfs/NAS_Video
Copy paste in a text file and change IP Address, directory etc etc
FOR SYNOLOGY NAS "volume1" must be added as I did.
If you want more NFS folders mounted (example music) you can add on sub directory and create one more script
Example for
/sdcard/nfs/NAS_Video
/sdcard/nfs/NAS_Music
The scripts should be
Script 1 :
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/video /sdcard/nfs/NAS_Video
Script 2:
busybox mount -o nolock,hard,intr,vers=3 -t nfs YOUR.IP.ADDRESS:/volume1/music /sdcard/nfs/NAS_Music
I tried to put both lines in the same script but I don't why it does not work. I am pretty sure it is possible but as I said I am not a specialist.
Save it/them somewhere on your sdcard (at the root in my case)
8. Launch ScriptManager
-Select your script (when prompt select text script)
-Run it to test
-If nothing wrong check with a file manager (ES File Explorer for example) that you have you nfs folder(s) mounted
-Go back to Script Manager
-Select your script again
-Select Boot and SU
-Save
Do it again if you have more than one script
DONE!
Reboot you box and check again in ES File Explorer
Next time in XBMC to add new video files, choose Android root file and select your mounted folder(s).
I have this solution working for me for now.
I hope it will help a lot as it seems many have been trying to get XBMC on Himedia
And don't forget to directly launch XBMC at start up (use himedia application manager for that)
One issue is Internet streaming, the default XBMC player crashes all the time with Gotham while it works perfectly with Frodo (but Frodo does not work with HimediaPlayer)...Maybe in the coming beta it will be fixed.