作者: luke123 時間: 2024-8-21 13:32 標題: GL.iNet MT3000 改區 code?
本帖最後由 luke123 於 2024-8-21 13:48 編輯
Hi
Reading about MT3000 改區 from cn to us.
I found online two versions of the code to do so, after connecting via SSH.
1
echo “US” | dd of=/dev/mtdblock3 bs=1 seek=136
sync
reboot
Source:
https://lxnchan.cn/mt3000.html
2
echo "US" | dd of=/dev/mmcblk0p2 conv=notrunc bs=1 seek=136
sync
reboot
Source:
https://forum.openwrt.org/t/conv ... to-global/165159/36
Given the risk of bricking the MT3000, with no chance of unbricking with U-boot, I wonder if CHings who have done this conversion can point out which version is correct: 1 or 2?
Thanks in advance!
作者: chpyeung 時間: 2024-8-21 14:46
Hi
Reading about MT3000 改區 from cn to us.
I found online two versions of the code to do so, afte ...
luke123 發表於 2024-8-21 13:32
唔好信任何人, 只信自己! 你首先 check 下你部MT3000 有冇上面個兩個 partition (即 /dev/mtdblock3 和 /dev/mmcblk0p2), dump 落來睇下果個位係咪寫住 CN, 係你先改做 US 就唔會 brick 咗隻 router 啦.
作者: luke123 時間: 2024-8-21 14:59
唔好信任何人, 只信自己! 你首先 check 下你部MT3000 有冇上面個兩個 partition (即 /dev/mtdblock3 ...
chpyeung 發表於 2024-8-21 14:46
Thanks.
Can I perform the checking in a Windows explorer-like environment? Using software like Putty? Or WinSCP?
Thanks again.
作者: robotmaster 時間: 2024-8-21 15:01
回覆 1# luke123
1. GL-MT3000 入面的 /dev 目錄, 我見到只有前者 /dev/mtdblock3
抓圖: https://imgur.com/uit3Xop
2. 第二個建議的 device partition: /dev/mmcblk0p2 , 應屬於另一款 GL.iNET 設備型號。
3. 像樓上師兄的建議, 將個 partition image 用 dd 指令 dump 下來, 然後用 hex editor 工具檢視一下確認, 便會清楚。
作者: chpyeung 時間: 2024-8-21 15:02
Thanks.
Can I perform the checking in a Windows explorer-like environment? Using software like Pu ...
luke123 發表於 2024-8-21 14:59
用返最簡單的 command, 如 ls, cat 之類就可以睇到啲 partition 和 裏面的 content. 如果唔識就唔好攪了.
作者: luke123 時間: 2024-8-21 15:09
用返最簡單的 command, 如 ls, cat 之類就可以睇到啲 partition 和 裏面的 content. 如果唔識就唔好攪了 ...
chpyeung 發表於 2024-8-21 15:02
Thanks, chpyeung & robotmaster CHings.
Are these commands to be issued after connecting to the router via SSH?
I'll start learning. :)
作者: luke123 時間: 2024-8-21 15:11
I see /dev/mmcblk0p2 referred to in the following post, but maybe this applies only to MT6000.
https://www.hkepc.com/forum/view ... ;page=7#pid41936531
作者: chpyeung 時間: 2024-8-21 15:12
Thanks, chpyeung & robotmaster CHings.
Are these commands to be issued after connecting to the ro ...
luke123 發表於 2024-8-21 15:09
Yes.
作者: luke123 時間: 2024-8-21 15:13
Thanks again.

