Hello all!

Due to the recent statements by Google (as well as their track record the last few years) I’ve decided I do not want to use Android as a phone operating system anymore. But Apple is just as bad, if not worse. So I’ve decided to build my own custom device.

I am working on building a phone using a single board computer, right now I’m using the raspberry pi 5. This is still a proof of concept, but I want to share my ideas with others, so like minded individuals can start messing around with this idea in their own homes to further this goal.

You can view more images of the device here, as well as the step by step instructions here (these are still very rough and incomplete) https://github.com/muhammadmanwar/cheaphone OR https://codeberg.org/muhammadmanwar/cheaphone

Right now it just runs raspberry pi OS, with a different desktop look and feel. Everything that normally works in a pi 5 works on this device, additionally I am experimenting with a Mobile Broadband modem, to allow the device to text and call, as well as access internet, like a normal phone off wifi

The total cost is around 200 dollars, not including the 3d printer to make the custom case.

This project is barely off the ground, and I’ve got a lot to learn before I can stop relying strictly on the raspberry pi 5, my end goal is to custom design SBCs, and release those designs for free alongside the plans for the device, so that interested parties can select their own System on a Chip to use for the device. I need to get into designing boards, I’m interested in trying Stephen Hawes’ Lumen PnP (https://www.youtube.com/watch?v=JlkTcxh-9gA) for that phase.

But that’s for the future, for now, I’m hoping to get more people interested in the prototype so that I’m not the only one noodling around on this idea. I’d love some feedback, and if anyone was willing to put one together for testing, I would appreciate it greatly!

  • buddascrayon@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 days ago

    If you’re really going to do this you need a RISC-V processor SOC. If you look around online there’s a few places where you can obtain these.

      • buddascrayon@lemmy.world
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        6 days ago

        SOC has a small form factor which can fit neatly in a phone sized device (this us why all phones have them) and RISC-V is a completely open source processor instruction set that can be customized to whatever function you wish to implement.

        • Crozekiel@lemmy.zip
          link
          fedilink
          English
          arrow-up
          0
          ·
          5 days ago

          Are the processors good? Like, does performance compare to the alternatives? (I’m assuming these are alternatives to like an ARM based SOC?)

            • Crozekiel@lemmy.zip
              link
              fedilink
              English
              arrow-up
              1
              ·
              4 days ago

              Oh cool. Thank you for the info. I hear people talking about RISC-V a lot, but was nearing the parks and rec meme of “I don’t know and am too afraid to ask”, lol.

              • buddascrayon@lemmy.world
                link
                fedilink
                arrow-up
                2
                ·
                4 days ago

                This is Lemmy not reddit. Unless it’s a political thing on .ml feel free to ask and most people will be happy to answer your questions, especially if it has to do with Linux or FOSS.

  • lefthandeddude@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    4 days ago

    This is a really cool idea. Any work in the direction of more linux phone technology is always good. There are some linux phones out there already, and these devices have had some problems which is why there hasn’t been more adoption. If there is a way to do this with RISC and have decent battery life, that would be really exciting. Have you tried installing Phosh on it?

    The newest, and most exciting, option right now is flx1s (https://furilabs.com/flx1s-update-2/).

    One of the biggest problems is that, to my knowledge, there is no standard linux mobile App standard or, if there is, it’s not often used. There is a group working on this issue right now (https://www.fierce-network.com/wireless/mobile-linux-standards-group-formed).

    For example, if I am using mobian or something similar and download thunar using sudo apt install thunar, then if I run thunar, it will run, but certain menus won’t display easily. In phosh, any sub-menu boxes will also pop up as a smaller pop-up box and to close it, you have to scroll through Apps to find the pop-up box and then close it. Generally I may be able to see the file structure on the left in Thunar but have a hard time seeing what’s on the right.

    There are also things that can happen in which default panels (like the side panel) take up so much room that you can’t see what’s going on. For instance, if you try running gimp in phosh, you can barely see the image panel by default.

    There are some Apps designated as mobile-friendly but even these sometimes don’t display correctly. Perhaps there should be a way to make it harder for Apps to be installed that don’t meet mobile standards and have weird menu glitches, such as making it harder to download Apps from repositories that are not mobile.

    I’d really like to be able to run something like “flatpak-mobile install librewolf” and just get something that at least had a file with it to tell phosh how to display menus in the best way, if not a slightly altered librewolf.

    Many people who used phosh would say “well just use waydroid” but the problem is that with play integrity api, many of those Apps won’t work.

    In order for banking Apps and other Apps to run on linux and people to develop software, there really needs to be more adoption of mobile linux.

    And yes, battery life was atrociously bad and completely unusable on the linux mobile devices I tested, which were a few years ago. It also got way too hot when just not doing anything, which was terrible. (In other words, if I took the device with me to Starbucks and got a coffee, it might get way too hot in my pocket; if I took it out and used the Internet for 20 minutes, the battery could die, and even if it didn’t, if I were waiting for a call during that time there was a good chance I wouldn’t get it. After getting back home, it would be totally dead and need a full recharge.)

    Right now also, the main competitor to linux phones is Graphene OS with FOSS Apps and Graphene OS has better security features if someone is worried about their phone being stolen or seized. Data security is important to me and Graphene OS has a rate-limiting throttle to the password entry that even cellebrite can’t easily bypass and a function to auto-reboot. If the political situation in my country deteriorated even more, and arbitrary arrests started to happen more often, I would much rather be arrested with a Graphene phone than a typical linux mobile phone. Mobile linux for certain distros such as Mobian still offers robust encryption in before first unlock (bfu) if the password can withstand brute force attempts, but since there’s no hardware rate-limiter, the password has to be much more complex. Also, most people who use their phone frequently are not in BFU mode.

    Graphene OS also requires a Pixel which does not have hardware switches and so a person must trust that there’s no exploit allowing certain components to be turned on or off which can be concerning when there is no way to definitively measure what the cellular modem is transmitting. Call me paranoid, but given what I know about how easy it is for someone smart to exploit computers, I actually don’t want a cell phone microphone to have power when I am talking about sensitive things or inputting passwords into computer systems and I do not want a camera that is built into the lcd part of the glass screen and can’t be easily covered because of the need to swipe up nor turned off without a switch, even if the cell phone has an incredible operating system that is very secure. Graphene, unlike most mobile linux distributions, is mostly very usable with no battery life issues, no weird display problems where Apps don’t display correctly and menus don’t work correctly, and no random reliability problems, mostly. I understand not wanting to rely on anything involving Android, however, given Google’s recent aggressive anti-privacy stances.

    I’m excited about FuriPhone (https://furilabs.com/) and Purism’s Librem 5v2.

    The thing that I believe would help Mobile Linux most right now is people having conferences and getting to know each other and discussing standards, specifically on user experience, linux mobile app standards, battery life, and reliability.

    There are so many smart people in mobile linux and eventually it will get great but right now there are major problems with the user experience because of how Apps are displayed and battery life as well as things like reliability.

    So any way to gather people to discuss the mobile linux user experience and to come up with standards to reduce these issues would help, or even to help list all the different problems so that they can just be enumerated and acknowledged and worked on would help.

    Another way that would help is to have a mobile linux security group or conference to discuss things like standards for making mobile linux more secure from brute-force attacks if stolen or seized after being unlocked.

    • thethunderwolf@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      I’d really like to be able to run something like “flatpak-mobile install librewolf” and just get something that at least had a file with it to tell phosh how to display menus in the best way, if not a slightly altered librewolf.

      This is a great idea

  • Mwa@thelemmy.club
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 days ago

    since the rpi5 cannot make phone calls and sms, i wonder if you or someone would design a attachment to add calls and sms (like to gpio pins for example)

    • digitalRights4All@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      Right now I’m using this “Gravity: CAT1 A7670G Global 4G IoT Communication Module”, connected through USB-C https://www.dfrobot.com/product-2802.html I am able to text reliably using a chat software, and connect to mobile data unreliably using ModemManager and mmcli. I haven’t been able to make a call yet, but I think this is due to a software issue, I’m still trying to get everything working reliably. Once I figure out how to do all of these things, I will add it to the guide in the repo https://codeberg.org/muhammadmanwar/cheaphone

      • Mwa@thelemmy.club
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        6 days ago

        i never knew that was a thing,may come handy.
        would be cool if it also supported 5G.

  • GarboDog@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    6 days ago

    Been wanting to do something similar in a small pelican case for my friend and us. Couldn’t figure out what to do for phone signal though which stumped us.

    • digitalRights4All@lemmy.zipOP
      link
      fedilink
      arrow-up
      2
      ·
      6 days ago

      Sorta copying my comment from another response, but it may answer your question as well: Right now I’m using this “Gravity: CAT1 A7670G Global 4G IoT Communication Module”, connected through USB-C https://www.dfrobot.com/product-2802.html I am able to text reliably using a chat software (it came preinstalled with gnome or KDE, not sure which), and connect to mobile data unreliably using ModemManager and mmcli. I haven’t been able to make a call yet, but I think this is due to a software issue, I’m still trying to get everything working reliably. Once I figure out how to do all of these things reliably, I will add it to the guide in the repo https://codeberg.org/muhammadmanwar/cheaphone

      • GarboDog@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        4 days ago

        Nice, now we just gotta build it 😎 lol Fr tho this project is really cool and would be super fun to work on once we have money to do so

  • wiki_me@lemmy.ml
    link
    fedilink
    English
    arrow-up
    0
    ·
    7 days ago

    I suggest adding a license . i recommend a copyleft license (there are copyleft licenses for hardware. for example the cern licenses).

    I also suggest setting up a open collective. i suspect people might be more inclined to donate to a non profit then to for profit companies like purism and Pine64.

    • digitalRights4All@lemmy.zipOP
      link
      fedilink
      arrow-up
      1
      ·
      6 days ago

      Thanks for the suggestions! I’m not actually looking for any donations though. It probably sounds weird, but I don’t want to derive value from this, or even assign value to it, in the interest of keeping the information as freely accessible as possible. Not too get too ideological, seeking money often causes people to make a good idea bad, or to make a simple process inefficient, to make more money from it. I’m thankfully in a position where I can keep (slowly) working on this project in my free time, while still keeping my head above water.

      That isn’t to say that no one else should make money from this idea. I just don’t want to personally.

      I do like the idea of a copyleft license. I’ll have to look into it a bit more. Thanks again for your suggestions!

      • wiki_me@lemmy.ml
        link
        fedilink
        English
        arrow-up
        0
        ·
        6 days ago

        Thanks for the suggestions! I’m not actually looking for any donations though. It probably sounds weird, but I don’t want to derive value from this, or even assign value to it, in the interest of keeping the information as freely accessible as possible. Not too get too ideological, seeking money often causes people to make a good idea bad, or to make a simple process inefficient, to make more money from it. I’m thankfully in a position where I can keep (slowly) working on this project in my free time, while still keeping my head above water.

        If you want to not get paid that is fine. but donating is the only way some people will be able to help make this happen. you could hire people using something like fiverr to do some of the boring stuff. money is just an efficient way to store and transfer economic resources. There is a significant difference often between a how a non profit allocates a economic resources vs a company that is owned by pension funds and mutual funds and is just trying to maximize a return on investment. Some of the best open source projects (e.g. blender signal thunderbird etc) hire full time workers.

        • digitalRights4All@lemmy.zipOP
          link
          fedilink
          arrow-up
          0
          ·
          6 days ago

          I don’t necessarily disagree with you. And people do seem excited about the concept. I’m not even sure I’m far enough along to justify taking in donations though. So far I feel like all I’ve done is compile information that’s already available online into one document. I appreciate your perspective

          • wiki_me@lemmy.ml
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 days ago

            Sounds reasonable. maybe take 3 months. spend about 30-50 hours working on this and see you can sustain the motivation to do this. then decide what to do next.

  • balsoft@lemmy.ml
    link
    fedilink
    arrow-up
    0
    ·
    8 days ago

    I’m sure you are already aware, but just in case, there’s a lot of prior work in getting a truly Linux mobile phone.

    There are ready-made devices like PinePhone (the PinePhone Pro looks the most promising one of the bunch), Librem 5, and Liberux Nexx. I think at least some of those companies publish schematics for their boards, you should probably check those out if you want to design your own.

    There is also another direction, taken by postmarketOS and the like, to install Linux on a phone that shipped with Android out of the box.

    It should be easy enough to install postmarketOS on your device, since it seems to have support for raspberry pi. The benefit of postmarketOS here is that it makes it really easy to install mobile Linux UI shells, like phosh, gnome-mobile, plasma-mobile, or sxmo. This will let you try all of them out and maybe pick one as a starting point for your software stack.

    • hendrik@palaver.p3x.de
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      8 days ago

      And the software side of it is the really annoying part. We’re missing so many components: Connected standby, an app lifecycle management, maybe sandboxing and a detailed, user-facing permission system. And then we need to go ahead and rewrite all the important Linux software to use these (not yet existing) interfaces.

      I own a Pinephone, and I feel the Linux phone is within reach since the Nokia 900 (and its predecessors) and that was in 2009, so 16 years now. I believe any effort is very welcome, though. We badly need a good and free operating systems for this important device we all carry around and use hundreds of times each day.

  • Kraiden@piefed.social
    link
    fedilink
    English
    arrow-up
    0
    ·
    8 days ago

    What I wouldn’t give (or pay) for a 1. sleek, modern smartphone 2. running a pure Linux distro 3. that’s feature complete enough to daily drive

    All of the current options available fall down in one of the three areas. Usually 2. and 3… mostly 3.

    • leavemealone@sh.itjust.works
      link
      fedilink
      arrow-up
      0
      ·
      8 days ago

      Considering their recent hardware reveals, I want a valve steamphone with a fully open system and modularity a la fair phone (or like their new VR headset) One model every 4/5 years would be perfectly ok for me.

      • kuhli@lemmy.dbzer0.com
        link
        fedilink
        arrow-up
        0
        arrow-down
        1
        ·
        7 days ago

        A valve / framework / fairphone teamup would be a dream. It’ll never happen but I’d pay unreasonable amounts of money to see it

      • digitalRights4All@lemmy.zipOP
        link
        fedilink
        arrow-up
        1
        ·
        6 days ago

        That was actually one of the things I was interested in as well. The pi 5 comes with two micro hdmi ports, which allows the device to be plugged into a monitor and used “as a desktop”. You can even have the device propped up next to the monitor for a dual monitor experience. Some people already use a pi 5 for web browsing or document editing. I can easily imagine people using a single device for both personal home PC use as well as on the go computing and calling, and only having a dedicated device at home for heavy gaming or potentially home server use.

          • psud@aussie.zone
            link
            fedilink
            English
            arrow-up
            1
            ·
            4 days ago

            My PC has water cooling and 64 GB ram, and 32 GB vram. The video card has a half kilogram heat sink and two 10cm fans

            Phones, even laptops, can’t compete, especially if they are running on batteries

            • Valmond@lemmy.world
              link
              fedilink
              arrow-up
              1
              ·
              4 days ago

              Not yet, bit give it five ten years and your PC will be behind a cheap smartphone. At least that is what history have teached me.

              And of course there will always be specific needs that a phone can’t handle, some years ago we had a client with a PC that had 1TB RAM, but that’s not what I had in mind, a desktop usually can be quite okay with a quadcore +16GB RAM, hence the comparison with a phone.

              Why do you have that big a heatsink 😲 ?

          • Scoopta@programming.dev
            link
            fedilink
            arrow-up
            0
            ·
            6 days ago

            8 phone cores are not 8 laptop cores which are not 8 desktop cores but if it meets your use case that’s cool. I need more compute then that myself

            • Valmond@lemmy.world
              link
              fedilink
              arrow-up
              0
              ·
              6 days ago

              Sure, I prefer my PC cores & faster bus to my incredible SSD, but I feel we’re getting phones that might be enough for many people.

              Just out of curiosity, are you doing heavy lifting like CAD or such, or why do you need more power? Again I’m only currios, we all have wildly different needs!

              • Scoopta@programming.dev
                link
                fedilink
                arrow-up
                0
                ·
                5 days ago

                Software development and gaming are the 2 main things I do with my computer. The more compute you have the faster your software compiles so you can iterate faster, and then games need no explanation.

                • Valmond@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  5 days ago

                  Old video game dev so compiling needs no explanation either :-D I dreamed of those 20 cores cpus back in the day… Feels like at 8-10 cores you’re hitting a reduced returns though.

                  And obligatory have you accepted the lord and saviour CCache?

                  Cheers

    • Lucidlethargy@sh.itjust.works
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      7 days ago

      I don’t care about this at all. This is a niche interest.

      I just want a phone that isn’t backed by assholes that want to sell my data.