root@TinaLinux:~# swapon --show
swapon: invalid option -- '-'
Usage: swapon [-s] [-a] [[-p pri] DEVICE]
Start swapping on [DEVICE]
-a Start swapping on all swap devices
-p pri Set priority of swap device
-s Show summary
root@TinaLinux:~# swapon -s
block: failed to open /proc/swaps
Cat /proc/swaps
Not a valid switch.
I’ve been noticing this quite a bit. Every common utility program is stripped down and missing options.
root@TinaLinux:~# ps --help
BusyBox v1.27.2 () multi-call binary.
Usage: ps
Show list of processes
w Wide output
Doesn’t exist
mqtt perhaps?
All right, instead of filling this post i created a tg group if someone want to join.
There we can discuss about and once we unlock/find something important we can post results here in this topic.
Group is closed atm. Advanced programming user can still join: dm @Matm8p (tell who you are here to gain access)
Thanks
if there is an M8XXX code to run arbitrary shell code why cant we use that to get root access?
In 3.0.3 they added decription keys (@daksimpson found it on Jan 21st), and from 3.0.5 onward they started encrypting the firmware (and also closed down the serial). And I would guess it comes with a mechanism to prevent downgrading, or flashing unsigned images. If it doesn’t, they will implement it soon.
I guess someone at anycubic doesn’t like people tinkering with the firmware…
Nothing prevented me downgrading from 3.0.5 to 2.3.9 (may have incorrectly stated 2.3.6 earlier) using a USB flash drive with unzipped OTA firmware.
But as you say, that may not hold for future updates.
Small update. Looks like I found some interesting things from our chinese friends. AFAICS it is the full SDK to develop FW for HiFi4 DSP in T113: CODING | 一站式软件研发管理平台
It is subrepo of https://gitee.com/weidongshan/eLinuxCore_100ask-t113-pro.git a complete SDK for linux developing on T113… I’ve ordered a T113 dev board on Aliexpress and when it arrive I’ll start to tinkering with.
Still have no spare time to check thoroughly.
What? There is?
Any more info on that? Sounds interesting… I haven’t been active lately.
I wanna check it out.
Bingbada boom that encryption has been dealt with!!!
EDIT: I didn’t see that it was already done! Lol but it was a fun challenge!
Hello All,
I just recently purchased a Kobra 2 Max. I would love to help in any way I can with this project. I had joined the telegram group and was following along but looks like I was removed? Not sure if its because I wasn’t a member here or not but again would love to contribute in any way possible.
Honestly feel free to post here. We mostly use the telegram for advanced programming stuff and all that really technical stuff.
But feel free to share here if you find anything interesting!
Hi guys! I just wanted to share our progress.
You can now replace a system partition with the dd
command.
You just extract your rootfsA
from /dev/by-name/rootfsA example:
ls -lah /dev/by-name/
rootfsA → /dev/mmcblk0p5
Now you just do
dd if=/dev/mmcblk0p5 of=/mnt/exUDISK/rootfsA
Now move that USB stick to your PC and then run:
unsquashfs rootfsA
Now modify any files you want inside the filesystem.
Now when you’re done you run:
mksquashfs squashfs-root filesystem.squashfs -comp xz
After that move it to a USB stick and put it into your printer with uart root access.
Now run:
dd if=/mnt/exUDISK/filesystem.squashfs of=/dev/mmcblk0p5
Now you need to switch to the A partition by doing:
fw_setenv root_partition rootfsA
fw_setenv systemAB_next A
Now reboot and see your changes!!!
You can also do it with the B partition. Just make sure you aren’t on that partition when modifying with dd.
yea hence following along and was looking to contribute with anything I can
It is better first to do:
fw_printenv -n root_partition
in order to find out which is the current partition (rootfsA or rootfsB).
Sorry for interraption but please some one can explane to us, mortals, is it going good, does it seems like we will able to use klipper? I have rpi does it helps , and sorry for my bad English.
Nearly the same question. I do own a K2M and would like to use it with Klipper as I do with my Vyper and my i3 Mega S. Do you see any chance achieving this? No problem to run Klipper or parts of it on a Raspberry Pi and connect it however to the printer.