I mean, you connect a phone to a USB-C Hub and the phone can gets power and the SDD /hard drives can get plugged into the USB hub, but I was wondering if there’s any apps that can sort of open up your phone’s to the internet so that you can access the files (via the phone) from another location?

I know its probably gonna be slow, but is it possible? Maybe “NAS” is the wrong term for it, I’m thinking like a personal “Cloud Drive” except I control the hardware.

  • COASTER1921@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    18 hours ago

    Even if possible, a $50 old office PC will be more reliable with no risk of the Android OS killing whatever software you end up running on it. And you can use SATA HDDs directly with such a setup. The power consumption is likely a bit higher than running on a phone, but for the ability to run any docker container out there it’s likely a worthwhile tradeoff. Alternatively if you can hunt down an Atomic Pi or similar old atom based SBC you can trade some performance for power savings while still running an OS truly intended for networking.

  • LoreSoong@startrek.website
    link
    fedilink
    English
    arrow-up
    20
    ·
    edit-2
    2 days ago

    You can use mixplorer (6$ google play store) to quickly launch a local ftp or smb server. attach a hdd or ssd to the charging port, buy a dongle (<25$) that allows data transfer, charging, and ethernet. And you basically just made a nas. You could even port forward the ftp to make it accessible outside your network (i dont recommend this unless you are hosting a vpn).

    do not expect good transfer speeds but as far as a persistant redundant secure storage this is a great solution. The phone used would optimally have usb c for better data tranfer speeds. But the phone itself may limit these speeds refer to your phones specifications data for that (just google it).

    The phone might overheat so maybe slap a usb fan on it and remove the case. If possible make it “float”(put rubber feet on the phone or smthn idk) to allow airflow on both surfaces of the device.

    Very cool Idea. Please make an update post and link it in this thread if you make it and test speeds <3

    Edit no idea how i forgot to mention this, but ADB can also be used to send commands directly to the device over the network you have alot of fine tune control over the device, you can run, close, install and uninstall apps, run scripts, remove default unessary bloat and even the launcher! After setup you may never have to touch the phone again, barring power loss etc. If that seems like alot there are also methods of remote desktopping into the phone. But in my expereince those solutions are laggy and slow. But if you just need it for simple tasks this might be optimal for you.

    • jnod4@lemmy.ca
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 days ago

      Any phones that can run from the socket without the battery installed? Like Samsung game mode when it bypasses the battery and just feeds the processor directly when it detects you’re gaming while charging?

      • LoreSoong@startrek.website
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        I was assuming that the user would be using an older phone that would otherwise become ewaste (most phones have built in batteries now), some phones do clock down when at low battery but if you are consistantly plugged in it shouldnt be an issue. Alot of modern devices will draw from wall power before battery, but that doesnt solve the battery issue entirely since the l-ion batts are kinda dangerous when overheated or punctured so unless you have the skills to remove the battery and wire a bypass you are taking a minor risk. but imo ive used phones as permenent gps or as a wifi reciever and in those applications, i did not encounter battery expansion and or major overheating.

        • Shady_Shiroe@lemmy.world
          link
          fedilink
          English
          arrow-up
          2
          ·
          1 day ago

          What would be super cool is to remove back cover, cut out a hole, and put a heat sink on some of the components, literally just buy the cooling stuff for raspberry Pi. Hot rod phone NAS!

          • LoreSoong@startrek.website
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Dont forget the speed lines, flames and arbitrary number for the extra horsepower!

            in all seriousness though the heatsink could attach directly to the backplate with thermal cement. since alot of phones are designed to disapate heat from there, great idea!

  • 18107@aussie.zone
    link
    fedilink
    English
    arrow-up
    14
    ·
    edit-2
    2 days ago

    I just discovered CopyParty. This video does a good job of explaining it.

    Internet access is more difficult and less secure than LAN access. It can be done with a VPN hosted from a device on your LAN, but it’s not trivial.
    Port forwarding may also work, but be very careful with security. Opening ports to the internet is generally not recommend.

    • LifeInMultipleChoice@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      2 days ago

      Copyparty has been great for me for the less than a week or so I’ve used it. I copied a 44.8gb virtual machine there to get it to another machine earlier tonight just because I wanted to test a larger file. Came down on the other machine and worked fine. (Clearly this would have been easier to do by just making one folder shared on the receiving device or using a flash drive, but I was curious.

  • PrivateNoob@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    edit-2
    1 day ago

    Well I’ve tried once using a mini PC with 1 hdd being connected to it through USB as a pilot test if it works, but the OS consistently shut off or didn’t want to boot at some time, cause the HDD got voltage issues. But maybe it could be different for a phone, who knows.

    EDIT: For clarification. My pilot test was for seeing if a HDD can be ran through an USB 24/7 without any issues, rather than buying a proper PC and inserting said HDD into it’s intended SATA port. The HDD got undervoltage issues from the terminal, because the USB port couldn’t supply enough voltage to the HDD, which is not only unreliable for a 24/7 NAS solution, but also may damage the HDD (or the USB port I don’t remember anymore) whilst trying to run it under it’s required voltage. Also I set my HDD to be auto mounted on boot, and as a safety mechanism Rocky Linux doesn’t boot if it has undervoltage issues for one of it’s components.

    • alaphic@lemmy.world
      link
      fedilink
      English
      arrow-up
      9
      ·
      2 days ago

      Ok, so I’m confused here… I get why you would attribute the issues you were having to a faulty HDD - that much makes sense - but I’m kind of at a loss as to why you seem to think any of that would apply to OP making a phone into a ‘private cloud’ for himself?

      • LoreSoong@startrek.website
        link
        fedilink
        English
        arrow-up
        3
        ·
        1 day ago

        Hes saying that a HDD or SSD draws too much power for the usb port to handle on his mini pc. This would not be an issue if the drive was externally powered or, for example of he used a dongle that has a power input, the usb hdd or ssd “should” (maybe check the specs of the dongle) draw power directly from the wall and transfer data to the phone, so it shouldnt be an issue. This is actually very useful input even if the user does not plan to boot off the hdd. Definitely could have been worded better tho

        • alaphic@lemmy.world
          link
          fedilink
          English
          arrow-up
          3
          ·
          1 day ago

          Ah, ok, I see. I guess I just got it in my head that OP intended to just throw a high-cap SD card into the phone and call it a day (prolly because I’m lazy and this would be my solution lol) for some reason as opposed to using the phone as more or less a controller for some usb external drives.