RomFlasher
Rom Flasher tool

Flash Any ROM From Termux, No PC LineageOS 22 Demo Run

Rom Flasher · POCO X7 Pro · LineageOS · 26 Oct 2025 · 1275 views

TagsLineageOSPOCO X7 ProFlashRecoveryKernel

Part of POCO guides, LineageOS guides, 2025 guides.

You can flash a custom ROM from Termux on a second Android phone, without a PC in the room. The tool talks ADB and fastboot over a USB cable, checks that your phone is visible, reboots it to fastboot, pushes recovery to both slots, then handles the sideload. LineageOS 22 is just the demo subject here.

The video starts muted so it does not blast at you — tap the speaker to hear it, or open it on YouTube.

No PC in the room?The free Rom Flasher tool runs the whole flash from the phone in your hand — USB-OTG cable, no laptop, no command line.
Download the free Rom Flasher tool

Your laptop is dead, you are away from home, or you need to flash a ROM on someone else's device and you are not installing ADB drivers on their machine. That is the situation this method is for. It is not really about LineageOS. LineageOS 22 is simply the ROM I used on camera to prove the route works.

The idea is simple. Termux on one Android device runs the tool. A USB cable connects that device to the phone you want to flash. From there you get a menu that speaks ADB and fastboot, and you do the same job a PC would do.

What the tool does

What you need

Step 1 - check the phone before you flash anything

Plug the phone into the flashing device with the cable and open the tool's menu. The first item checks the ADB device. Do that first, every time. If the phone does not appear here, nothing later in the menu will work, and you have saved yourself a failed flash.

Step 2 - reboot to fastboot from the menu

Pick the option that reboots the phone into fastboot. Using the menu instead of a key combo is the small quality-of-life win in this method, especially if the phone's buttons are stiff.

Step 3 - confirm the fastboot list

Once the phone is in fastboot, run the fastboot check in the menu. You want to see your device listed before you write anything to it. This is the second checkpoint, and it is the one that tells you whether your driver setup in Termux is right.

Step 4 - flash recovery to both slots

Flash the recovery image to both slots. On this phone there are A and B slots, and if recovery only goes to one of them, you land in the wrong one sooner or later.

Step 5 - sideload the ROM

The tool takes you into the sideload step. This is where you pick the ROM zip from your Download folder and let it push. Keep the cable still and leave the screen on.

Step 6 - first boot

Reboot to system from the menu and wait. The first boot after a clean install is slow. Let the phone settle before you decide whether the ROM is any good.

What this route does not do

One honest paragraph

This is boring when it works and confusing when it does not. The tool removes the typing but not the thinking. Every checkpoint in the menu exists because I hit that exact failure while testing, so resist the urge to skip the first two checks to save thirty seconds. When your phone does not appear, it is nearly always the driver inside Termux rather than anything wrong with the phone or the cable.

Being able to do this from another Android device is genuinely handy. If your PC dies, or you are on the road, or you simply do not want to install drivers on a borrowed laptop, this route still gets a ROM onto the device. The same steps work on other Android phones as long as your files are right.

The Termux setup itself is a separate job with its own steps. Once that is in place, this is the everyday flashing route.

The free Rom Flasher tool is the same tool used on the PC side, and the Termux flash file in the downloads section is what you put on the flashing device.

Full description from the video

Flashing a custom ROM from Termux on the POCO X7 Pro — the tool, the menus and the LineageOS 22 demo, done end to end without touching a PC.

Here's the honest version of this video. It's not really about LineageOS specifically — LineageOS 22 is just today's test subject. The point is the method: once Termux is set up, you can push a recovery and a ROM to your phone from another Android device, and that's a genuinely useful thing to have in your pocket when your laptop isn't around.

I walked through the tool's menu in the order I actually used it, checking the ADB device first, rebooting to fastboot, confirming the fastboot list, then flashing recovery to both slots before touching the ROM. It's boring when it works and confusing when it doesn't, so I kept the checks in the video. If you want the theory behind the setup, that's in the Termux setup video, linked below.

🎯 What It Does

  • Connects your phone to a second Android device over USB and talks ADB and fastboot
  • Checks whether the phone is visible before anything gets flashed, so failures show up early
  • Reboots the phone into fastboot mode from a menu instead of a key combo
  • Flashes recovery, then handles the sideload, so the ROM install stays in one place
  • Works with the files you already have in your Download folder

💡 Best Part

The whole process runs off a phone in your pocket. If your PC dies, or you're away from it, or you just don't want to install drivers on someone else's laptop, this route still gets a ROM onto the device. I used LineageOS 22 as the demo, but the same steps work for other ROMs and other Android phones.

🚫 What It Doesn't Do

  • It won't unlock your bootloader — that still has to be done properly first.
  • It won't fix a wrong vendor file or a mismatched ROM. Bad files stay bad.
  • It doesn't skip the wipe. A clean flash still means format data.
  • It needs a cable and a working ADB driver in Termux, otherwise nothing shows up.

❓ Common Questions

Can I flash without a PC at all? Yes, that's the point of the tool. Termux does the flashing.

Why does my device not show up? The ADB driver inside Termux is the usual culprit, not the phone.

Is this only for Poco? No, it works across Android devices, as long as the files are right.

Common questions

Can I flash a ROM without a PC at all?

Yes, that is the whole point of this method. Termux on a second Android device runs the tool and does the flashing over USB, so no computer is involved.

Why does my phone not show up in the tool?

The ADB driver inside Termux is the usual culprit, not the phone. Check that the ADB device appears in the menu before you try anything else.

Does this work on phones other than the POCO X7 Pro?

Yes. The method works across Android devices as long as the ROM, recovery and vendor files are correct for the phone you are flashing.

Will this unlock my bootloader?

No. Unlocking the bootloader has to be done separately, and it is a step that wipes the phone. Do that first, then come back to this method.

Can I use files that are already on my phone?

Yes. The tool picks the ROM zip from your Download folder, so you do not need to move anything around before you start.

More for POCO X7 Pro