Replies: 2 comments
-
|
Thanks for the write up! This was the final info needed to get my K1 SE fully converted to a K1C. K1 SE to K1C steps
Motherboard Pin diagram: https://guilouz.github.io/Creality-Helper-Script-Wiki/others/boards-layout-k1/
SSH into the printer (requires root)
Read the partition number containing the info of the model: Read the size of the disk (change the 2 with the partition number previously read): Make a backup file of the partition (change the partition number 2 if your printer is different): Examine backup file for Serial and MAC info sn_mac format: Generate the new sn_mac partition file. Replace "xxxxxxxxxxxxxx" with data from your printer. Make sure to update the truncate line if the partition is a size other than "1048576" Double check files are ok and the right size (1048576): Write the new file
|
Beta Was this translation helpful? Give feedback.
-
|
J'ai update le procédure avec la suppression de la copie du fichier backup.bin et l'ajout de : et de : |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
!!! JE DÉCLINE TOUTES RESPONSABILITÉ EN CAS DE PROBLÈME LORS DE VOS MANIPULATION MAIS DANS MON CAS TOUT S'EST TRÈS BIEN PASSÉ !!!
Changer Modèle K1 SE vers K1C
Contrôle du modèle :
/usr/bin/get_sn_mac.sh modelValeur reçue "K1 SE"
Lire le numéro de partition contenant les infos du modèle :
fdisk -l | grep 'sn_mac' | awk '{print $1}'Valeur reçue "2"
Lire la taille du disque (changer le 2 par le numéro de partition lue précédemment) :
fdisk -l /dev/mmcblk0p2Valeur reçue "1048576"
Faire un fichier de backup de la partition (toujours changer le numéro de partition 2 par celui trouvé) :
dd if=/dev/mmcblk0p2 of=/usr/data/sn_mac_backup.binModifier le fichier hexadécimal pour changer la valeur K1 SE par K1C et création du fichier sn_mac_custom.bin :
printf -- "$(cat /usr/data/sn_mac_backup.bin | sed 's/K1 SE/K1C/')" > /usr/data/sn_mac_custom.binRedimensionner le fichier pour correspondre à la taille demandée :
truncate -s 1048576 /usr/data/sn_mac_custom.bin(Thanks @TomTheGeek for this :) )Contrôle de la taille de fichier (doit correspondre à la taille de la partition ici 1048576) :
ls -l /usr/data/sn_mac_custom.binÉcrire le nouveau fichier :
dd if=/usr/data/sn_mac_custom.bin of=/dev/mmcblk0p2 bs=512 count=1Modifier les valeurs pour changer l'interface :
sed 's/1011/1007/' /usr/data/creality/userdata/config/system_config.jsonsed 's/K1 SE/K1C/' /usr/data/creality/userdata/config/system_config.jsonSi vous voulez l'ajouter dans le script je vous donne le feu vert
!!! JE DÉCLINE TOUTES RESPONSABILITÉ EN CAS DE PROBLÈME LORS DE VOS MANIPULATION MAIS DANS MON CAS TOUT S'EST TRÈS BIEN PASSÉ !!!
Beta Was this translation helpful? Give feedback.
All reactions