@oga83
dans un fichier autorun.sh comme celui-ci tu les placerais ou les commande pour lancer HM en embarquer
j'ai essayer juste avant et après la dernière ligne mais ça ce lance pas alors que en telnet j'y arrive
#!/system/bin/busyboxx sh
mkdir bin
ln -s /system/bin/sh /bin/sh
ln -s /system/bin/busyboxx /bin/passwd
busybox echo 0 > /proc/sys/net/netfilter/nf_conntrack_checksum
/system/bin/insmod_ctf_ko.sh
/app/webroot/webui_init1.sh
insmod /system/xbin/kpatch.ko addr=g_bAtDataLocked data=0,0,0,0 2> /dev/null
/system/etc/fix_ttl.sh
/etc/huawei_process_start
mv /sbin/adbd /sbin/adbd~
grep -q "root::" /system/etc/passwd
if [ $? -eq 1 ]; then
if [ ! -d /data/root-home ]; then
mkdir /data/root-home
fi
if [ ! -f /data/root-home/.profile ]; then
echo "cd /" > /data/root-home/.profile
fi
echo -e "#!/bin/sh\n\nbusyboxx login -p" > /sbin/login.sh
chmod 777 /sbin/login.sh
busyboxx telnetd -l /sbin/login.sh
else
busyboxx telnetd -l /bin/sh
adbd &
fi
uid=busyboxx cut -d : -f3 /system/etc/passwd
if [ $? -eq 0 ]; then
if [ $uid != "0" ]; then
mount -o remount,rw /system
busybox sed -i "s/$uid/0/" /system/etc/passwd
mount -o remount,ro /system
fi
fi
/app/webroot/webui_init2.sh