@GalaChen said in Running Linux Environment on Android Device via USB for MagicMirror:
Hello everyone!
I’m currently working on a project to modify an Android-based “magic mirror” device, which connects to my desktop via USB. My goal is to run MagicMirror on the Android device by setting up a Linux environment. I plan to use tools like UserLAnd to simulate a Linux system on the Android device and then run MagicMirror, but I have a few questions and would appreciate some advice from the community:
USB Connection Issue: My device has a USB port that is identical to the USB port on my desktop. Once I connect the device to my desktop via a USB cable, will I be able to directly interact with the device (such as using ADB or other debugging tools) and install a Linux environment on it?
Using UserLAnd: I plan to use the UserLAnd app on the Android device to run a Linux distribution (like Ubuntu) and then install MagicMirror in that environment. Has anyone tried this approach? Are there any performance or compatibility issues I should be aware of?
Running the Linux Environment: Once I have Linux running via UserLAnd and MagicMirror installed, will I need to make any special adjustments (like screen resolution or MagicMirror configuration) to ensure it displays properly on my mirror screen?
I would appreciate any insights or advice from experienced developers in the community. Thanks in advance for your help!
Yes, ADB should work fine over USB. UserLAnd can get Linux running, but performance might not be perfect. Resolution tweaks may be needed for MagicMirror.