• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
MagicMirror Forum
  • Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
A New Chapter for MagicMirror: The Community Takes the Lead
Read the statement by Michael Teeuw here.

Running Linux Environment on Android Device via USB for MagicMirror

Scheduled Pinned Locked Moved Unsolved Hardware
8 Posts 4 Posters 571 Views 4 Watching
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    sdetweil @GalaChen
    last edited by sdetweil Dec 7, 2024, 1:00 PM Dec 7, 2024, 12:59 PM

    @GalaChen you are leading on this. No one has done it

    Css styles are set for screen size 1920x1024 and do not adjust for portrait orientation

    MagicMirror is just a browser w JavaScript running inside

    Don’t double post. All users w reputation below 2 have their posts reviewed. This stops all the junk, but can take time til a review

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    S J 2 Replies Last reply Dec 7, 2024, 2:48 PM Reply Quote 0
    • S Offline
      sdetweil @sdetweil
      last edited by Dec 7, 2024, 2:48 PM

      @GalaChen I installed userland/ubuntu and tried to install MagicMirror but the session disconnected

      Quite difficult to move around, and tiny text

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • J Offline
        jakabasej4 @GalaChen
        last edited by Feb 25, 2025, 10:54 AM

        @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.

        1 Reply Last reply Reply Quote 0
        • J Offline
          jakabasej4 @sdetweil
          last edited by Mar 18, 2025, 11:50 AM

          @sdetweil said in Running Linux Environment on Android Device via USB for MagicMirror:

          Css styles are set for screen size 1920x1024 and do not adjust for portrait orientation

          MagicMirror is just a browser w JavaScript running inside

          Don’t double post. All users w reputation below 2 have their posts reviewed. This stops all the junk, but can take time til a review

          CSS doesn’t adjust for portrait

          S 1 Reply Last reply Mar 18, 2025, 12:43 PM Reply Quote 0
          • S Offline
            sdetweil @jakabasej4
            last edited by Mar 18, 2025, 12:43 PM

            @jakabasej4 css can adjust
            MagicMirror default css does a pretty good job

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • A Offline
              Alannow @GalaChen
              last edited by Mar 18, 2025, 2:54 PM

              @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!

              @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!

              I worked on a project that involved building a cross-platform fitness app with real time data syncing, and I hit a wall with performance issues on animations and state management. I spent weeks trying different solutions, but nothing felt smooth enough. Eventually, I found flutter app development companies that provided expert insights, and their best practices saved me a ton of time. Just sharing this in case someone else is stuck like I was!

              I managed to run MagicMirror on an Android device using UserLAnd, and ADB over USB worked fine for me, i could install and manage the Linux environment without issues. However, performance was a bit sluggish, and getting the resolution right was tricky. I had to tweak the CSS manually to make it display properly. Has anyone found a way to improve performance, maybe by optimizing the Linux setup? I actually came to the forum looking for answers to the same question

              S 1 Reply Last reply Mar 18, 2025, 3:24 PM Reply Quote 0
              • S Offline
                sdetweil @Alannow
                last edited by Mar 18, 2025, 3:24 PM

                @Alannow I think you are on the bleeding edge

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Sam, technical setup by Karsten.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy