1. Current Location: Home >  Comprehensive classification >  Flashing the N1 box without disassembling the system: Four quick taps to open ADB, then four steps to flash the Armbian bypass router

Flashing the N1 box without disassembling the system: Four quick taps to open ADB, then four steps to flash the Armbian bypass router

N1 box flash Armbian four-step flowchart: Four-tap to enable ADB, fastboot downgrade, USB boot , write emmc

My N1 has been running as a bypass router for over two years. In the previous post, discussing whether it's worth buying, I mentioned "It's not troublesome to farm yourself." Several people in the comments asked me to explain the word "not troublesome." Alright, today I'll lay out the entire process I did in the living room flashing my phone in early 2024—no disassembly, no short-circuiting, no soldering pins, a 50-yuan box, four steps to switch to Armbian.

Let me clarify the most intimidating thing: flashing an N1 device is not the same as Wankeyun. The unit I later acquired Wankeyun had to disassemble the case and short-circuit two contacts with tweezers before it would recognize the cable and flash the package. The hardware is the main barrier to getting started. The N1 is completely the opposite: the official system leaves a debugging backdoor, and the software is fully controlled, so you don't even need to open the case. This is also why the N1 has long held the position of "entry-level flashing device" on Xianyu: the cost of tinkering is low, trial and error is a remedy for regret.

First, distinguish between the three brushing methods; don't start by installing a wiring brush tool

There

are three types of farming circles in N1: match the numbers first, then act:

? , for , .
What is the flashing method for? Should I disassemble the device
Four-press activating adb + fastboot to downgrade is the right path. Official system switches to Armbianno need
USB Burning Tool cable flashingDedicated for brick rescue, if the system is scrapped and you can pull it backyou don't need
TTL solder pinsReal bricks are a backup. The first two types don't recognize the equipment when disassembled

Out of ten online tutorials, eight immediately ask you to install a USB Burning Tool, but actually, it's meant for scrapped boxes. You won't need it in the normal process. If you follow the fastboot path smoothly, you'll most likely never encounter a wire brushing tool in your lifetime. My car has been over two years old, except for three times when the power went out and restarted, and not a single brick has changed.

Step 1: Four-hit to activate ADB, all the lag points are on the network

The

official system of the N1 system has hidden the ADB switch, but it's surprisingly easy to open: use the remote or connect a USB mouse, go to Settings, find the firmware version number, and tap four times. The screen will pop up a notification saying ADB is enabled. Just like that, the back door opened.

There's a detail I didn't know about back then, so I took a half-hour detour: before enabling ADB, it's best to connect N1 to a WiFi network that can't access the internet—for example, if the router blocks it in the background, or connect to a hotspot without an Ethernet cable. The reason is that the official system secretly upgrades the firmware, and with the new firmware, the ADB switch might be soldered shut again, and you can't even trigger the four-hit combo. If you cut off food first, it won't be able to rise.

Then it was the computer's turn. After installing platform-tools (the same command-line tools as adb and fastboot), plug in the box to connect to the internet, and check the router's backend to see which IP it has taken. My device was 192.168.31.77 at the time, and the computer typed:

adb connect 192.168.31.77

Press Enter and it shows connected to 192.168.31.77:5555, and it works. There are two common mistakes at this step: first, typing the adb prompt "Not an internal or external command" means platform-tools doesn't enter the environment variable, so cd goes to the tool directory and then enters it; Second, the connection keeps timeout, and in most cases, the box and computer are not on the same network segment, or the router is isolated by an AP. My own mistake was the third one—the box was connected to the IoT private network, so the computer couldn't see each other. Moving both back to the mainnet made it work immediately.

After connecting, don't rush to continue. Try typing an adb shell first. If you can access the command line of the box (prompt turns to #), it means the channel is truly open, and then fastboot will be possible. Just type cat /etc/version to check the version. If it matches the settings, you'll know whether you need to downgrade.

Step 2: fastboot to downgrade the firmware to 2.19

After adb, everyone followed the same way. First, check the firmware version of the box: 2.19 and below. Congratulations, you can skip the entire downgrade; if it's above 2.19 (mine was 2.2.63), you'll need to flash three key partitions back to the old version. Why lower it? From version 2.2.19 onward, firmware locks the USB boot door. If you don't downgrade, the Armbian USB drive ignores it and will enter the official system again after booting.

Advance the box to fastboot mode:

adb shell reboot fastboot

The box will screen black and restart, and an unknown device will pop up in Device Manager. After installing the driver, you can find it by typing fastboot devices. Then download the 2.19 degradation package (the Dreamrover/phicomm-n1 repository on GitHub has it), and there are three imgs inside, flashing them one by one

fastboot flash bootloader bootloader.img fastboot flash boot boot.img fastboot flash recovery recovery.img

All three revert to OKAY, then press fastboot and reboot to restore the box to normal system. The whole process takes three minutes, faster than waiting for a firmware package download. One pitfall to remind you of: make sure the downgrade package is dedicated to the N1, don't use other Amlogic box packages to fill in the numbers. If the partition table doesn't match, after flashing it you'll find it a real brick, which means it's time to disassemble the device and start soldering the pins.

There's also a minor experience gap: after downgrading and returning to factory settings, the WiFi and apps you've installed are gone. Just reconnect to the internet, since it's about to be completely overwritten by Armbian, so there's nothing to worry about.

Step 3: Start from a USB drive with a command

After the downgrade, the system remains the official setup, and Armbian is only now making its debut. I pulled out a USB drive. I was using an 8GB Kingston that had been sitting in a drawer for years, and I used the writing tool to write the entire Armbian image into the computer. For mirroring, focus on the N1 version—the Armbian with the N1 device tree maintained by ophub on GitHub is mainstream in the community. Download aarch64, don't just slide down to x86.

You don't have to pick which tool to use for a drive—balenaEtcher or Rufus are both fine. Choose a mirror, choose a USB drive, and then proceed to the next step. You can install it starting at 2GB, but don't force a drive over 32GB. Old boxes are actually less compatible with large USB drives, and 8GB is the most reliable.

After writing the drive and plugging it into the N1 USB port, the crucial step is still using adb:

adb shell reboot update

After knocking on the box and rebooting, this time I didn't read the official system in EMMC, just pulled Armbian directly from the USB drive. The screen would scroll with code. At first glance, it was a bit scary, but it was actually self-indulgent. After running, a login prompt appears. The default root password is 1234. When you log in, it will force you to change your password first. Just change it.

If you still enter the official system after rebooting, it means the USB drive hasn't been recognized. There are two ways to check: one is the location of the dtb file in the image. For N1, you need to use your own device tree (Ophub's new images are usually set up, but old ones need to be placed manually); Second, try switching to a USB drive. I absolutely refused to use my first generic drive, but switching to Kingston worked immediately. These old boxes are very picky about USB drives—the more expensive the generic brands, the easier it is to fail.

Step 4: Enter eMC and unplug the USB drive to finish

At this point, Armbian was still on the USB drive; after unplugging, it would revert to its original state. Bypass routers require running around the clock, and having a USB drive plugged in year-round is ugly and easy for family members to pull out, so the system has to be written to the box's built-in 8GB storage.

The old process is to write directly in dd

dd if=Armbian.img of=/dev/mmcblk2 bs=4M

For the N1's onboard storage, it's called mmcblk2. The new Ophub mirror is even more convenient. After logging in, it comes with an installation menu, and you can choose to install it into eMMC. It covers the DD step for you, and the principle is the same. After writing PowerOff, I removed the USB drive and powered it on—this time, I was up with Armbian living in emmc. The official system has been completely overridden with no turning back, so before writing, I confirmed that the system on the USB drive is convenient for you to use.

During writing, it depends on the USB drive's speed—sometimes three to five minutes, sometimes about ten minutes. When the code runs on the screen, it will stop automatically. Some people ask if you should back up the official system first. My opinion is no need to bother. The official firmware packages for the N1 are everywhere online, so if you ever want to return to the official system, just flash back with a dual male cable—it's much easier than fussing over backups.

After flashing the device at this point, the rest is pre-job training: switch to domestic software sources, install Docker (I flashed it because it could hold more things than routers; what is Dockerdiscussed here), and pin down the IP. My device's destination is the bypass router, IP is fixed at 192.168.31.20, I turn off DHCP and only remove ads and DNS. I covered the connection and pitfalls in the bypass routing article, so it doesn't take up space.

What if you ruin your farming? Who shouldn't farm it themselves

?

Three out of the four steps are exactly like the knocks; the real risk is the fastboot partition flash. If you really mess up the flash—the box gets stuck with the boot logo, reboot update doesn't respond, or Fastboot won't work—don't panic, and don't rush to disassemble the system. The USB Burning Tool adds a dual-male USB cable, paired with the official N1 cable for flashing. Click 'Start' on the tool, plug in the cable with the box off and power it on, and most 'bricks' can be pulled back. This tool is the same one used for flashing devices on Wankeyun (both are Amlogic's chips). I had a cable I prepared back then but it didn't come in handy at first. Only when the wiring brushes can't even recognize the device is the real time to disassemble TTL solder pins. the brick rescue article covers the entire process.

if , . .
In your case, suggest:
you get the firmware below 2.19just downgrade it and skip the whole section—four steps becomes three
If you find it troublesome, buy a seller's version with "already flashed Armbian," which costs about ten yuan more
. You don't have a computer on hand Don't flash ads, both adb and fastboot depend on your computer
If you just want to hang up downloading the official system, installing a downloader is enough, no need to bother with
it

One more thing to be confident about: since I finished using my system, except for three power outages and restarts, the system has never been reinstalled. Ads are as steady as a brick. A box priced at 50 yuan has this level of stability; these four steps are worth spending an entire night.

Read More


Copyright Notice Scan to read on mobile
All Rights Reserved: 《SHUNOT》 => 《Flashing the N1 box without disassembling the system: Four quick taps to open ADB, then four steps to flash the Armbian bypass router》
Article URL: https://www.shunot.com/en/zhonghe/1266.html
Unless otherwise stated, all articles are original by 《SHUNOT》. Reposting is welcome! Please indicate the original URL when reposting, thank you.

Contact Us

Online Consultation: Click here to send me a message

WeChat ID: master_135

Scan to follow