Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
Custom ROM for MXQ 4K
Collapse
This is a sticky topic.
X
X
-
Originally posted by 251643711 View PostI am the only problem to complete the x1II. zidoo transplant is illegal equipment tips
ifconfig eth0 down 192.168.1.22
iptables -A INPUT -d 203.90.239.13 -j DROP
iptables -A INPUT -s 203.90.239.13 -j DROP
iptables -A INPUT -d 106.75.199.228 -j DROP
iptables -A INPUT -s 106.75.199.228 -j DROP
ifconfig eth0 up 192.168.1.22
I did a crutch. In the very firmware to the beginning of the script /sytem/bin/zidoopreinstall.sh put these rules to iptables. The first boot is proceeding normally. Also, I added in the firmware support the init.d, but the scripts are in the folder for some reason do not start (Permission denied). The idea, then it would be possible to establish from zidoopreinstall.sh /etc/init.d/01_zidooauth.sh:
ifconfig eth0 down 192.168.1.22
iptables -A INPUT -d 203.90.239.13 -j DROP
iptables -A INPUT -s 203.90.239.13 -j DROP
iptables -A INPUT -d 106.75.199.228 -j DROP
iptables -A INPUT -s 106.75.199.228 -j DROP
ifconfig eth0 up 192.168.1.22
But in fact, the option to ifconfig, I have not tried yet. So just deleted /data/system.notfirstrun, original zidoopreinstall replaced the one in which there are rules when you turn off the set-top box to chop off ethernet. Need help with init.d
Comment
-
Lonix transplanted X6 firmware perfect solution to the problem of activation, there is a patch preinstall.sh activation, but 3229 on the useless
script:
#!/system/bin/sh
iptables -A INPUT -d 203.90.239.13 -j DROP
iptables -A INPUT -s 203.90.239.13 -j DROP
iptables -A INPUT -d 106.75.199.228 -j DROP
iptables -A INPUT -s 106.75.199.228 -j DROP
echo "do preinstall job" >> /data/log.txt
touch="/system/bin/touch"
PM="/system/bin/pm"
if [ ! -e /data/system.notfirstrun ]; then
APKLIST=`ls /system/preinstall/*.apk`
rm -r /data/dec_out.h264
rm -r /mnt/sdcard/contorl
for INFILES in $APKLIST
do
echo setup package:$INFILES >> /data/log.txt
$PM install -r $INFILES
done
touch /data/system.notfirstrun
fi
if [ ! -e /data/kodi.installed ]; then
/system/bin/pm uninstall org.xbmc.kodi
/system/bin/pm install /system/kodi/kodi.apk
touch /data/kodi.installed
fi
echo "preinstall ok" >> /data/log.txt
Comment
-
Originally posted by buba5473 View Post
The solution is to drop from packets authorization servers zidoo. But there is a problem: power on the box should be disabled with ethernet. Perhaps the solution would look like this:
ifconfig eth0 down 192.168.1.22
iptables -A INPUT -d 203.90.239.13 -j DROP
iptables -A INPUT -s 203.90.239.13 -j DROP
iptables -A INPUT -d 106.75.199.228 -j DROP
iptables -A INPUT -s 106.75.199.228 -j DROP
ifconfig eth0 up 192.168.1.22
I did a crutch. In the very firmware to the beginning of the script /sytem/bin/zidoopreinstall.sh put these rules to iptables. The first boot is proceeding normally. Also, I added in the firmware support the init.d, but the scripts are in the folder for some reason do not start (Permission denied). The idea, then it would be possible to establish from zidoopreinstall.sh /etc/init.d/01_zidooauth.sh:
ifconfig eth0 down 192.168.1.22
iptables -A INPUT -d 203.90.239.13 -j DROP
iptables -A INPUT -s 203.90.239.13 -j DROP
iptables -A INPUT -d 106.75.199.228 -j DROP
iptables -A INPUT -s 106.75.199.228 -j DROP
ifconfig eth0 up 192.168.1.22
But in fact, the option to ifconfig, I have not tried yet. So just deleted /data/system.notfirstrun, original zidoopreinstall replaced the one in which there are rules when you turn off the set-top box to chop off ethernet. Need help with init.d
Asked him to help do not answer me, do not know how to solve
Comment
-
Is it possible to make auto pppoe connection work? because when i set up pppoe after pover on/off device need again to manualy check up again
and other issue is when make connectio box with tv via AV port on older TV only black/white screen, this is fixed only if in tv mod option i set from PAL to NTSC but after power on/off device there is no picture at all, only on HDMI but via AV there n picture, any solution for this
Comment
What's Going On
Collapse
There are currently 3530 users online. 1 members and 3529 guests.
Most users ever online was 37,478 at 04:14 on 26 June 2024.
Comment