7 ms·
ZeroPhone: a phone for tinkerers and hackers using a Raspberry Pi
- ossguy 9y agoIt's great to see projects like this as they provide an excellent starting point for neat hardware add-ons, such as long-range radios using unlicensed bands (as in https://wiki.soprani.ca/ThePlan#Long-range_radios https://wiki.soprani.ca/ThePlan#Long-range_radios for example). I'm hoping that efforts like https://soprani.ca/ https://soprani.ca/ work out - it would be great to not have to use the cellular network for simple communication with people that are only a few kilometres away from you.
- Melanie343 9y agoI get paid over $95 per hour working from home with 2 kids at home. I never thought I'd be able to do it but my best friend earns over 10k a month doing this and she convinced me to try. The potential with this is endless. Heres what I've been doing, •••••••••>>http://www.joinmate2.com http://www.joinmate2.com
- CRImier 9y agoYep, that's one of the side effects - you can plug some 2.4G transceivers (like NRF24L01, using an adapter) in the expansion port to talk to 2.4GHz stuff, or use some TI sub-GHz chips for 433/900/868. Also, I'm wondering about POGSAC (the networking standard that pagers use) - somebody on Hackaday suggested it to me, and soon, when I'll have some free time, I'll get some POGSAC receivers and will make a test environment (as in, imitate a POGSAC basestation for testing).
- ossguy 9y agoAwesome! I'm really curious to hear how that goes. Is it best to follow https://crimier.wordpress.com/ https://crimier.wordpress.com/ for such things and/or do you tend to post about your projects elsewhere?
- CRImier 9y agoI generally post all things ZeroPhone on Hackaday.io - https://hackaday.io/project/19035 https://hackaday.io/project/19035 - the blog is just for short random notes that might be useful to someone.
- contingencies 9y agoInteresting project. No apparent mention of battery life. If funding presents an issue, it could be marketed on darknet markets as a hack-resistant burner phone.
- CRImier 9y agoThe battery life is still unoptimized - I haven't even played with CPU clock scaling, WiFi is always on and its power management is at default settings, and there are a couple more things I can do that'll improve battery life (like, putting GSM modem in low power mode and adapting my GSM code to work with it). Right now, it lives for about 20 hours from a 4000mAh battery - playing music all the time, WiFi connected to something, with SSH open on my laptop. I just put it on a charger overnight, and like that, its uptime is 6 days now - if I ever forget to charge the batteries, I can just use spares to get through another day =)
- aphextron 9y agoDid you ever consider an e-ink display? Are displays even a big power draw from mobile or is it mostly cpu/wifi/GSM? My ideal phone would be iPhone 5 form factor with an e-ink display running FreeBSD with nothing but calling, SMS, a text based browser, and a terminal. Minimize absolutely everything and jam a 6000maH battery in there.
- CRImier 9y agoThe display is an OLED, and its power draw is kinda negligible - so the worst offenders are still CPU, WiFi and GSM. I'm going to add an E-Ink display someday - mostly for experimentation, as hardware upgrades like this will require somebody developing and maintaining the softwaree, but it could very well be a really good addon. As for "your ideal phone" - something similar might just be my next year's project, though sourcing the parts will be hard, for sure =)
- squarefoot 9y agoYou may want to consider for future development other boards such as the NanoPI Neo Air and other similar H2/3 based boards. Availability aside, some folks at Armbian forums have done experiments with cpu throttling and the results are very promising: H2 and H3 CPU are a lot faster than the BCM in the RPI but can be optimized to draw less power. If you get one of these boards, don't use the images at the manufacturers site but go straight to Armbian where they host highly optimized images for most known boards.
- mscdex 9y agoThe 2G GSM modem seems like a non-starter for those in the U.S. since AT&T (and apparently T-Mobile too, at least locally) has disabled such technology on their towers. I'm a bit surprised a 3G modem wasn't made standard, with an option to upgrade to LTE (even if it were to cost a tad more).
- CRImier 9y agoI'm working on a 3G modem board this week, based on SIM5320 (as suggested in a HackerNews comment, IIRC) - the way I'm designing it, it's pin-compatible with 2G modem I have now, so should be a drop-in replacement. Hope to have the PCBs in a month, and I'm also planning to release a timelapse of me drawing this board (with comments) - for educational value.
- digi_owl 9y agoWeirdly here in Norway we are taking a different approach. Turning off UMTS but leaving GSM in place. Apparently this is because there are a whole lot of "IoT" installed that use GSM.
- kichuku 9y agoDoes this phone have a IMEI number? In my country, it is not possible to use a phone without a valid IMEI, let alone the fact that that it is illegal. How does the process of assigning IMEI work?
- willstrafach 9y agoThis would be a part of the SIM800L modem, so yes.
- CRImier 9y agoThe GSM module manufacturer has taken care of IMEI, same with certification, AFAIK =)
- pgug 9y agoSo at least if you are concerned about the IMEI number because of privacy it's easier to change than on a regular phone.
- osense 9y agoFor me, it needs a qwerty keyboard to be of any interest at all. Still, quite impressive!
- AckSyn 9y agoWith the Bluetooth or USB port you can certainly add one.
- CRImier 9y agoYou can use a spare Bluetooth keyboard (or even a USB one), and I hope to produce a QWERTY keyboard attachment for ZeroPhone this year. In general, this is going to be one of the most important addons I'll be working on this year - both in hardware and in software.
- osense 9y agoAh, good to know. Best of luck!
- bobwaycott 9y agoFirst thought is this would be more fun to use for sending SMS messages than Twilio and other services.
- Rjevski 9y agoMore fun but definitely not reliable. Twilio interconnects directly with carriers and handles most of the gory details to make sure your texts reach their destination unmolested. Sending directly from a SIM can have undesired side effects, deliverability issues, mangled text, etc.. and the carrier probably won't be too happy with you "abusing" their service (you'd be surprised how fussy they can be about 160 bytes of data).
- awinter-py 9y agoIs this any more open source than AOSP? Guessing the SIM5320 doesn't have an open source GSM distro or verified builds.
- CRImier 9y agoI don't think that any commercially available GSM modems actually have open-source GSM implementations - SIM5320 isn't an exception, sadly =( So, compared to AOSP, the main difference is that this project is open hardware (excluding the Pi Zero, mainly).
- swiley 9y agoThere is one open source baseband firmware for some obsolete TI GSM modem chip from a /long/ time ago. But that's about it.
- ensiferum 9y ago"Pi Zero-based open-source mobile phone (that you can assemble for 50$ in parts)" 50$ for parts and 5000$ for your time. Oh well.. I'm sure some nerds will be excited ;-)
- CRImier 9y agoMy estimates show about 5 hours for the assembly time, so unless you get paid $1000/hour, this is not going to cost that much =) As for the time invested in software and hardware development - yep, it takes time, like any project is going to.
- ensiferum 9y agoAnd getting the sw stack to work without a million bugs. But it's good to have hobbies ;-)
- CRImier 9y agoHey, other programmers manage to write software that isn't riddled with bugs, I hope to be able to keep up with them =)
- ensiferum 9y agoIt's a mighty goal and you're probably more than capable developer but even bigger organizations have failed to produce working phone sw stacks while leveraging open source components. Therefore while it's a great tinkering project I'm really sceptical about the actual value this could have for "end users" unless the value is the tinkering itself ;-)
- jancsika 9y agoWhat's the relationship between the baseband OS and the Linux-based OS running on the RPI? Could the baseband OS be toggled on and off by a command from userland running on the RPI? edit: typo
- CRImier 9y agoThe baseband OS is separate from the Linux running on the Raspberry Pi, the modem can be put in hardware RESET state - so, there's unlikely to be a way to execute malicious code on the Linux side by using a modem exploit, if that's what you're interested in =) And yes, the OS has access to GPIOs that control the GSM modem, so that's entirely possible.
- jancsika 9y agoWell, I was thinking more that I would want to set up the phone so that the baseband OS is only operational at the time I decide I want to make a phone call. Would something like that be possible and practical?
- CRImier 9y agoThere's a GSM hardware switch - https://hackaday.io/project/19035/log/60071 https://hackaday.io/project/19035/log/60071 - so this is the way to go then, simple as that =) So far, the software is going to assume that the modem is on at all times - however, I'll solve that in the next PCB revision.
- rsync 9y agoWe need a "gnu-phone-coreutils" package for telephony on the command line ... We should be able to do things like: grep steve numbers_file | dialer echo "process complete" >> sms -n 303-555-1212 -mms=0 ... and we need a GSM firewall ... and a SIM card firewall ... and quite a few other basic command line tools to manipulate a mobile phone from the command line ...
- CRImier 9y agoOh, I do agree. The problem is - who's going to write it? I'm an one-man army so far, this is going to change once people get their hardware from the first batch I'm finishing now, but for now the project still needs contributors.
- subway 9y agoI'm curious what you'd consider a GSM or SIM firewall to look like. Typically from the perspective of Linux, a "old and busted" telephony devices will appear as a TTY which a (relatively) privileged process can use as a control channel and/or to set up a PPP interface. On devices supporting "the new hotness", you get a special character device that speaks the MBIM or QMI protocols for a control channel, and an "ethernet" interface for IP traffic. In both cases, access to the SIM is limited to processes that can speak to the telephony device's control channel, and the data side is firewalled with iptables like any other network interface. To further restrict access to telephony device capabilities you can break out ModemManager or oFono along with Polkit. Things get a little wonky when you start to talk about voice calls, as there isn't a lot of standardization in how to get the audio channel in/out of linux on telephony devices yet, but ofono and telepathy seem to have made strides in that direction.
- squarefoot 9y ago~$ gsmsendsms -h gsmsendsms: [-b baudrate][-c concatenatedID][-C sca][-d device][-h][-I init string] [-t][-v][-X] phonenumber [text] -b, --baudrate baudrate to use for device (default: 38400) -c, --concatenate ID for concatenated SMS messages -C, --sca SMS service centre address -d, --device sets the destination device to connect to -h, --help prints this message -I, --init device AT init sequence -r, --requeststat request SMS status report -t, --test convert text to GSM alphabet and vice versa, no SMS message is sent -v, --version prints version and exits -X, --xonxoff switch on software handshake phonenumber recipient's phone number text optional text of the SMS message if omitted: read from stdin (it's in the gsm-utils package)
- grizzles 9y agoA few other recent ones that I've bookmarked: https://liliputing.com/2017/07/noodle-pi-diy-pocket-computer-kit-raspberry-pi-brains-crowdfunding.html https://liliputing.com/2017/07/noodle-pi-diy-pocket-computer... https://liliputing.com/2017/03/orange-pi-2g-iot-10-single-board-pc-cellular-modem.html https://liliputing.com/2017/03/orange-pi-2g-iot-10-single-bo... https://liliputing.com/2017/03/zero-terminal-diy-handheld-linux-pc-made-raspberry-pi-cheap-iphone-keyboard-accessory.html https://liliputing.com/2017/03/zero-terminal-diy-handheld-li...