If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
file is saved in /etc/init.d/ and called "66cifs"
if i open op terminal and write
./66cifs it runs and script just fine, but no auto mount on startup.. Did i miss something ?
file is saved in /etc/init.d/ and called "66cifs"
if i open op terminal and write
./66cifs it runs and script just fine, but no auto mount on startup.. Did i miss something ?
If it works fine from terminal but not from the init.d then it probably hasn't mounted the partition in time when the script has run or your init.d isn't working at all.
Try the following just as a test. You can change the sleep later and also make this the last script to run so 99mounts etc.
If it works fine from terminal but not from the init.d then it probably hasn't mounted the partition in time when the script has run or your init.d isn't working at all.
Try the following just as a test. You can change the sleep later and also make this the last script to run so 99mounts etc.
Restart the machine and go to root data/local/tmp and look if there is an init.d_log_test.txt there. If there is then init.d is working.
Are you also making sure that you are setting the correct RW permissions for the file? Just set them all to 777 to test.
Testing now.
Manual both files work before reboot.
And permissions is 777 yes!
Will be back in 2..
Edit: That works just fine..
Edit2: could it be that simple as i just need to be "root" in my script ? Cant do the mount command without su in terminal
Testing now.
Manual both files work before reboot.
And permissions is 777 yes!
Will be back in 2..
Edit: That works just fine..
Edit2: could it be that simple as i just need to be "root" in my script ? Cant do the mount command without su in terminal
Well init.d should be running as root anyway but there's nothing stopping you putting a su command at the beginning to try if you want.
This still doesn't make sense tho.. If it works from terminal and the test script is working. Try changing the sleep time to 120 and then wait 2 minutes after the OS has started and then take a look.
Is the busybox part also needed in this rom? I normally just put sleep 90 in my roms.
Here is an example of a script I made for transformer prime data2sd.. I just noticed I have su in this myself lol so it might be worth trying.
Code:
#!/system/bin/sh
sleep 90
su
mkdir -p /Removable/MicroSD/InternalSD
chmod 777 /InternalSD
chmod -R 777 /InternalSD
mount -o bind /InternalSD /Removable/MicroSD/InternalSD
Well init.d should be running as root anyway but there's nothing stopping you putting a su command at the beginning to try if you want.
This still doesn't make sense tho.. If it works from terminal and the test script is working. Try changing the sleep time to 120 and then wait 2 minutes after the OS has started and then take a look.
Is the busybox part also needed in this rom? I normally just put sleep 90 in my roms.
Here is an example of a script I made for transformer prime data2sd.. I just noticed I have su in this myself lol so it might be worth trying.
Code:
#!/system/bin/sh
sleep 90
su
mkdir -p /Removable/MicroSD/InternalSD
chmod 777 /InternalSD
chmod -R 777 /InternalSD
mount -o bind /InternalSD /Removable/MicroSD/InternalSD
Busybox is from playstore.
I see you have "sleep 90" and i have "busybox sleep 90" - should i change that ?
Well init.d should be running as root anyway but there's nothing stopping you putting a su command at the beginning to try if you want.
This still doesn't make sense tho.. If it works from terminal and the test script is working. Try changing the sleep time to 120 and then wait 2 minutes after the OS has started and then take a look.
Is the busybox part also needed in this rom? I normally just put sleep 90 in my roms.
Here is an example of a script I made for transformer prime data2sd.. I just noticed I have su in this myself lol so it might be worth trying.
Code:
#!/system/bin/sh
sleep 90
su
mkdir -p /Removable/MicroSD/InternalSD
chmod 777 /InternalSD
chmod -R 777 /InternalSD
mount -o bind /InternalSD /Removable/MicroSD/InternalSD
Yes busybox is full implemented and working in the rom, I don’t understand why it is not working too, I am not a expert mounting smb points but the script looks good for me.
leolas
REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
My devices: Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
MK902 & MK902II(Sponsored by RKM)
Beelink M8B & Beelink R89 (Sponsored by Beelink)
Tronsmart VEGA S89H (Sponsored by Gearbest.com)
MELE-PCG03 (Sponsored by Gearbest.com)Discount Coupon:MPCG03
Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
Thanks to them I can try to support your deviceshttp://freaktab.com/core/images/smilies/wink.png
SPDIF problem solved in my unit, we was obsessed to change libmedia.so and looking at something wrong in the rom, but like mxplayer was working great with spdif output and the problem was only in xbmc it was estrange for us. Shame on me!, I configured wrong xbmc I am a noob in xbmc stuff and I did it wrong.
Solution:
-In Settings select ROCKCHIP-SPDIF PASSTHROUGHT
-In xbmc:
-Go to System, system again, Audio Output and, There we must configure:
-Audio Output Optical/Coax
-Speaker configuration machin to your setup, mine is 5.1
-Enable Dolby Digital (AC3) capable receiver;DTS capable receiver ; AAC capable receiver.
-And a little down You must set Audio output device and Passthrought output device to android/audiotrack(PT)
With this I got DTS and Dolby films working great.
Of course TrueHD Dolby dont work. Rockchip says that rk3188 dont have enough i2c channels to handle TrueHD sound, they said that in rk32 platform they will solve it.
Tested using beyond xbmc by Flumpster, but it must work in minix xbmc too. I will post a link to this from the firsts posts so everyone can access this information easy.
Some screen-shots of the process. Some pictures will explain it better:
I hope it will help If any of you have problems with SPDIF after follow this tips, please tell me and i will make a cwm zip with my libmedia.so to be installed.
leolas
Attached Files
REMEMBER, YOUR FEEDBACK IS VERY IMPORTANT TO US.
My devices: Minix Neo X7; Minix Neo X8-H , Minix Neo Z64W & Z64 (Sponsored by Minix)
MK902 & MK902II(Sponsored by RKM)
Beelink M8B & Beelink R89 (Sponsored by Beelink)
Tronsmart VEGA S89H (Sponsored by Gearbest.com)
MELE-PCG03 (Sponsored by Gearbest.com)Discount Coupon:MPCG03
Ainol Intel Z3735 MiniPC(Sponsored by Gearbest.com)
Thanks to them I can try to support your deviceshttp://freaktab.com/core/images/smilies/wink.png
SPDIF problem solved in my unit, we was obsessed to change libmedia.so and looking at something wrong in the rom, but like mxplayer was working great with spdif output and the problem was only in xbmc it was estrange for us. Shame on me!, I configured wrong xbmc I am a noob in xbmc stuff and I did it wrong.
Solution:
-In Settings select ROCKCHIP-SPDIF PASSTHROUGHT
-In xbmc:
-Go to System, system again, Audio Output and, There we must configure:
-Audio Output Optical/Coax
-Speaker configuration machin to your setup, mine is 5.1
-Enable Dolby Digital (AC3) capable receiver;DTS capable receiver ; AAC capable receiver.
-And a little down You must set Audio output device and Passthrought output device to android/audiotrack(PT)
With this I got DTS and Dolby films working great.
Of course TrueHD Dolby dont work. Rockchip says that rk3188 dont have enough i2c channels to handle TrueHD sound, they said that in rk32 platform they will solve it.
Tested using beyond xbmc by Flumpster, but it must work in minix xbmc too. I will post a link to this from the firsts posts so everyone can access this information easy.
Some screen-shots of the process. Some pictures will explain it better:
I hope it will help If any of you have problems with SPDIF after follow this tips, please tell me and i will make a cwm zip with my libmedia.so to be installed.
leolas
Good News, any chance you could fix hdmi also? :-)
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment