I think your problem is with this step from your post above:
Quote:
Next i think that i should install the main kernel to for 5.1.2 version and im using this command: dd if=/mnt/us/mmcblk0.img of=/dev/mmcblk0 bs=4K
|
The main kernel should be installed using fastboot, only the command line is different.
The above copy command would just trash your main file system.