Open Androidx86 system.img to edit init.sh
in my experience, use this trick


just install the android os, and boot
open  root folder/etc/init.sh and copy init.sh
copy to another location and open using text editor
add rmmod i2c-hid and the modprobe i2c inside the function init_misc , make sure you just place the code and dont edit another code inside it, save in location you wanted
press alt+f1 and  type cat /etc/init.sh &gt; /(location you placed the edited init.sh)


sory for my english
hope it help you