 So, unser nächster Talk ist about a smart phone in a lunchbox, and our speaker is Bücherratte. Please have a very warm welcome for her. Ja, hallo schön, dass ihr alle da ist. Hello and welcome. Erst mal ist es so, dass es ja auch andere Talks gibt. Es gibt viele andere Talks. Es gibt einen Talk, den Hacking ist sehr leicht. Ich würde es gerne sehen. Aber jetzt bin ich hier. Aber vielleicht ist ein anderer interessierter Talk, eine Konkurrenz-Large-Nummer, die ich denke, auch sehr interessant ist. Vielleicht willst du da hin? Es gibt noch Zeit. Und dann Talk 3 ist robust reparable, vital parameter monitoring. Es ist ein Freund von mir. Ich denke, es ist sehr interessant. Und Talk 4 ist die Webpage in 3 Acts, die ist eine wichtige Performance. Oh nein, es gibt noch Leute im Raum. Also, ich glaube, ich bin mit dem Talk gestylt. So, let's get started. Who am I? Who am I? I am 34 years old. I'm a free software activist. And I work a lot as a volunteer with the Free Software Foundation Europe. I'm active on the board of the Linux User Group in Berlin. I like hanging out with the User Group Linux Works, and I'm very active in that one. For work I do a technical year. And my place where I am working is the ITD set, which is a big IT company in Berlin. My dream is to get a VAT training in the IT area. So, what is this going to be about? I will tell you about the idea I had, what I started to make and what I fidgeted with. Then there's a little bit about the software and look into the future what I'm still planning for this project. And then I will talk a little bit about who helped me with this project and then it's your turn with Q&As. Let's get to the idea. So, I was thinking about a smartphone, that's a nice thing. And the things you can buy in the store, there is maximal tracking installed, and that's not the nicest thing. So, what other features are there, which I don't really like? There is little control about the software, which I can buy in a store. There is little to learn. There are little opportunities to learn about the technical stuff behind the scenes. So, what is there to learn besides operating the device? And there is little room to change it around or fidget with it. It's even hard to just change the batteries. So, let's be real. Boring and it's expensive. So, it's nothing for people who don't have a lot of money. A lot of spare money. And a big feature against just buying a phone is that what's app is able to be installed and I don't just want to sell my data to Facebook. I'm not interested in that. Another disadvantage is you're always available. God and the world can just reach you via a lot of different channels. And I don't really want to have this. And for the last point, just everyone has it. Everyone has a phone they bought in a store. So, yeah. So, I was looking at what do I need if I build this myself. I need a Raspberry Pi. That's kind of easy. Next. I need devices to cool it down. Heat sink to cool it down because the Raspberry Pi 3B produces a lot of heat. This can be a bit dicey. If you're cool as a cucumber, then you don't need them. You can complain to me if you break your Raspberry Pi. You're also going to need a touch display. And I opted for the WaveShare 4-inch model. I also tried the 2.8-inch model, but that was way too small. So, 4 inches. Now, it also needs a hard drive. I took the microSD card with 32 Kigs. That is most okay. You can do a lot of stuff with that. Then you need a cable. You need to connect that thing somehow. But if you're going to build that yourself, don't buy a cable with angled connectors like this. If you buy it like this, it'll last forever. If instead you buy the straight connectors, you have to buy new ones every two or three weeks, which means you can support the economy. For this project, it's important that you're going to need a headset. You could also do that using Bluetooth. At some point I heard a talk saying that it wasn't that safe. So, let's go with the cable instead. Then you need power, mobile power. Everyone who owns a smartphone knows that power banks are something really cool. The more capacity they have, the longer you can play around with them. Then I thought I'll need some sort of case. I opted to go with a Tupperware container made from plastic, because it's easily adaptable. There's a little bit of software. That's also missing for the whole recipe. So, let's talk about the problems I encountered. From the factory, the Raspberry Pi doesn't have audio in. It has an audio jack with a bit of noise. It's very nice if you want to listen to some music on the train and turn it up way high so you don't hear the noise. But you might need to solder a bit. So, there was the option to solder a USB sound card into this. With soldering, beginning can be quite easy. It's not that easy if you start using surface mount devices. I started doing that last year at Congress and didn't know what it was before. But even with bigger pieces, soldering is not that easy. So, you should practice a couple of times if you managed to build mountains with your solder. The most difficult thing you can do in terms of soldering is desoldering things. What I had to do in this case was desolder a USB port. As you can tell, it's not perfect. I kind of scratched the board a little bit and I didn't quite do that myself. I had a bit of help because I think on my own I might not have managed. The trick in the end was to use a lot of solder which is a bit confusing. Now moving on to the case. You can use an acrylic case but the problem is the touch screen doesn't quite fit. And you're probably going to chip one of the corners and parts and bits and pieces fall off and you're stuck with the Raspberry Pi in your hand. So, no, not quite. So, what you can do is use a Tupperware Container which has a lot of advantages. It's really easy to just cut open some parts with a packing knife. One thing you should really avoid. Don't do that. Do not solder the plastic. If you solder the plastic, you're going to break your soldering iron. It works very well but you're going to break the soldering iron. So, having fixed the Raspberry Pi in the Big Tupperware Container, that kind of moves around and what I tried was getting started with a racer gum and it kind of worked but the small pieces of gum that came off were rattling around in the box, which was not optimal. What I went for in the end was I used screws and just screwed the Raspberry Pi into the Tupperware Container. I used a rainbow kit to get the right screws to fix it in there which turned out to be helpful because I was able to fix the USB sound card. So, let's talk about a little bit of software so, let's just install it and configure it and have fun but it turned out to not be quite as easy. You just get into a bunch of problems. It's not as easy as I first have thought. So, let's start at the beginning. I decided against Resbian, I wanted to have a little bit more complex to learn something. So, I was thinking about Resbian and then I would have to deinstall a lot of the software and I didn't think that was a nice idea because there is a lot of packages and I might not hit all of them so all the configurations I needed to write myself and there is like typos you need to make they are important this way you sometimes have a long information you otherwise wouldn't have found this way I managed to configure a right click which was very nice actually so, just not all types of software in repositories and in some cases there is literally nothing so, for example, for the calendar that was the case because there are calendars for Linux but there is also touchable calendars for Linux, but for my project they were too big because with the Raspberry I only have one gigabit of RAM so you have to think a lot if you want GNOME for example yeah, rather not because it's very slow if you are trying to use it so, what I've been saying earlier is the typos yeah, you also have to do a lot of research and I think that's a lot of fun because you get a lot of additional information and you can learn a lot you are searching for one thing and you find a completely different thing you can use for something else cool so, with some software it's a case there is not only AUR but in some cases you actually have to compile stuff and that's actually easy enough to do it's not that hard so, let's look at the display that was also an adventure because the first thing you get is a national flag of Friesland which is great fun if you want to operate some programs on the go or the next thing I ran into when you have the mouse not in the right place as you were touching the screen it's great if you want to type in a password you have to learn it so, I actually figured it out this was a configuration which worked for me and for the options I used the access for X and Y and I just tried random numbers which ones were going to work because that's individual for every device and it's really a trying error around so, who of you actually needs a manual you're all experts you know well that's what I thought but the device never read this stupid config file because I didn't listen to the manual I didn't take this one step and this step was essential I don't know why but after I copied this file it actually worked it read the configuration file very nice sorry, kleine Fehler sorry, some mistake so it's actually possible to have a look at what others did similar things and this example I got from Waveshare from their example documentation for what to do with the touch screen and I was able to just copy that down from their examples that worked really well it worked up until the next update damn and again, I had this wonderful white eagle auto white flag the problem was that Xorg had installed an update and the fb turbo driver I was using didn't want to speak to it damn so what I did was switch to the frame buffer driver for the touch screen and my feeling was the resolution improved by a lot subjective seemed more clear but I'm not sure whether anything changed really but it worked for me now if you complete a project like this you might want to enter something while on the road on this keyboard sorry most guides will tell you you should use a matchbox keyboard the problem when using Arch Linux is you can't get that small anymore so we have a tiny display and a huge keyboard it's not usable I found an alternative in the end xv kbd and they say it's really hackable I haven't had a chance to test that yet but I had a look at the manual and it looks very good and I can get this to be really small and it fits on the display so it's very nice now after soldering this usb soundcard in there I also want the device to output the sound using that soundcard I think I searched for four days until I got the idea that I could just possibly use the driver that I've been using for the audio jack and just comment that out from the config file and it worked didn't say so anywhere but it worked it took me a lot of time to figure that out reminding that line out worked if you're on the road you probably want to have a possibility for applications to open applications on the display like your music player now what you can do is work with a launcher and write desktop files it's a possibility just take a doc and I opted for plank because it's quite slim it also looks a bit slim on screen here but it works very well and I can access the important programs quite quickly and for me these important programs are document manager and the shell now you're going to need something to make calls I did a bit of research and tried a couple things and was trying to do an info which wasn't available there was also a ring which I found which was really easy to install there was one issue it was too big and you see here is a screenshot of an open ring window and it was a bit difficult to configure that because after entering the sign-in data there is also another tab but it's impossible to access that tab because the screen is just too small alright so I looked for another alternative oh there was another issue ring absolutely requires a certificate of the zip provider and you have to get that and you have to find it and that's not that simple but you really really need it or else ring doesn't work and there was another problem every time I tried to do anything with a ring I did this one touch input that one tap and then I could go make a coffee because it took a long time so I continued my research and found something called blink and found a working pack a reasonable package but wasn't able to get it to compile so back to linfo there is an AUR package but the package requires 64 bit even if I tell it while compining to use minus A so ignore the architecture that didn't work and the manual for linfo told me you could use flat pack a package for xdg but that was the error message which is not available for ARM devices now one thing that you should keep in mind for such a project don't trust any manual you haven't faked yourself what's possible is to build AUR without the GUI was stupid because I wanted to have a user interface there was also an option to cross oh there is an option to cross compile the program and it searches for the gcc cross compilation option but I wanted to compile it entirely on the phone which didn't work so tried as the final step is adding this sys parameter which tells the system to use the dependencies that are already installed because if you don't provide this then it builds a database that doesn't work it's also important to disable WebRTC because that just doesn't work on the phone so and other dependencies also aren't working great in this case it was the file the program minisub and when I started compiling it it's throughout this error imitrin dot h I couldn't find as a header file I have no idea about c or c++ I'm a newbie so I found it on my 64-bit desktop computer so maybe it's not available for 32-bit I learned that it is probably because the recipe has a different configuration so it isn't available maybe only on the Raspberry Pi I haven't finished researching this I found out via github that it's possible to figure it out in a way it can be compiled so I found the repo of minisub and it's a bit more up to date than the one by linfo and there was this exclusion which was very nice because once I copied it over into the old code it worked I deleted the other part and compiled very nice so I wanted to use SSHX because I'm able to learn I wanted to use linfo via fodder ring through x and I tried to configure it and there was another error message and I was like shit what's going wrong now it had been working before so I was not able to use it so what's wrong here so I searched for two days until I realized that maybe on the recipe I should have enabled x forwarding and yeah you can just play through that so that's the other programs I used I can listen to music I can surf the net I can connect to the wifi I have the system management for my files and I can do juban via xmtp so I have just for fun I have a screenshot here from the browser so you so you get an idea how small it actually is once you are trying to use the keyboard there's a couple of issues one is I have a subgate rate so I have a landline from Berlin so when I'm on the go and I have great wifi and when I'm on the go with my smartphone and if I want to call let's say the fire department or the police it would work but I would actually end up in Berlin not here in Leipzig so it's actually a problem because they just aren't prepared for that and there's just no solution currently available another problem I wasn't able to realize to notice calls if I'm not right now looking at the display or have the headphones plugged in graphic configuration as you've seen earlier on is kind of difficult I actually once had a camera inside but the display cable broke and for UVC view the pictures are extremely small and I wasn't able to fix that yet look into the future I want to have a touchable calendar because I need that from myself I I looked at an old phone and I found this one and I was looking for a vibration motor and I found this and what is it actually it's a speaker which can vibrate but even though I looked around a lot I wasn't able to figure out how to connect to the speaker so I would like to read the QR codes which would be nice and as a last step I want to say thank you to everyone who helped me with this project the idea came up helped by Paul Hench I got a lot of support from the Afra which is a hacker space In Berlin und auch C-Base, das ist eine andere Hackerspace in Berlin, die viel mit soldiering hilft. Und Thomas hat mir viel geholfen, mit den Fotos in den Slides zu machen, damit ihr sie schön seht. Danke für das Lesen. Danke für den super Vortrag. Willst du mir nicht vielleicht dein Telefon mal zeigen? Ja, klar. Ich glaube, das war eine tolle Sprache. Willst du eigentlich dein Telefon zeigen? Wir haben nur auf Chance eine Kamera auf der Stelle. Was du brauchen, ist das Headset. Denn sonst wird es schwierig, einen Telefon zu machen. Ich werde das jetzt einfach mal anschließen. Ich werde alles connectieren, damit du es einfach benutzen kannst. Und dann werde ich dich von meinem Telefon telefonieren. Sieht gut aus. Ich bin jetzt in meinem Passwort. Ich würde nicht, dass jeder das sieht. Du kannst es versuchen. Du hast mich auch tatsächlich geschafft, nicht durcheinander zu bringen. Du hast mich auch tatsächlich geschafft, nicht durcheinander zu bringen. Du hast mich auch tatsächlich geschafft, nicht durcheinander zu bringen. Hier geht es auch mit Penz. Lass uns mal ein Wifi anfangen, muss es funktionieren. Ja, das sieht gut aus. Ich würde du einfach mal die Koffer aufmachen. Ich würde einfach mal die Koffer aufnehmen. Geht es? Geht es? Dann rufe ich dich jetzt einfach mal an. Ich will einfach mal dran. Ja, es geht. Ja, es funktioniert. Ich glaube nicht, dass das den EU-Richtlinien Ich denke nicht, dass es in der Linie mit den EU-Guytons für Maximum und Volumen ist. Würdest du etwas zeigen oder wollen wir Q&A? Also ihr wisst das Spiel. Es gibt Mikrofone im Raum. Könnt ihr in der IRC? Und wenn ihr auf der Internet seid, fragt eure Fragen via IRC oder auf Twitter. Wir haben hier die Translation zu Englisch gemacht. Und der Signalangel hat die Frage in Englisch angefangen. Die Frage ist, ob ihr eine SIM-Karte für eine SIM-Karte mit einem UNTS-Modul anstatt der SIM-Gate geplant habt. Ja, ich glaube das. Aber für mich war das das, dass die GSM nicht wirklich frei ist. Wir wissen nicht wirklich, was das ist, according to what I heard. Und ich habe dann dann mit einem UNTS-USB-Stick und dann mit SIM geplant. Aber vor der Congress war ich nicht ablehnt, das zu implementieren. Hat mir nicht vorhin jemand in der Drei? Was ist eine Person mit Mikrofon 3? Die Person ist zurück. Jemand anderes? Eine andere Frage aus der Internet? Es gibt eine Person. So, zwei bitte. Hallo. Wenn du Angst hast, dass die Software nicht frei ist, warum benutzt du Recipe? Wenn es eine Sache ist, dass du es aufbaut, dann sind wir eigentlich nicht in voller Information, was es tun kann. Ja, du bist richtig, natürlich. Meine main consideration war, dass ich nicht etwas zu schwierig machen wollte. Es war schon ziemlich schwierig, alles zusammen zu machen. Das Projekt ist noch nicht fertig, und ich habe noch eine andere Plattform PC. Aber ich bin noch nicht da. So, ein Raspberry Pi braucht viel Energie, v.a. für das Display. Wurde du in irgendetwas gebaut, dass es automatisch by geht? Und wie lange dauert das Powerbank zu Ende? So, das Powerbank habe ich jetzt seit zwei Tagen, das ist ziemlich gut. Ich habe es nicht mit dem Powerbank geklappt. Nein. Das Raspberry Pi 3B Plus braucht zu viel Energie für das Powerbank. Ich habe das versucht. Das funktioniert nicht. Aber das 3B, das ich benutze, funktioniert ziemlich gut. Ich habe mir auch gedacht, ob ich mit einem ACPI etwas benutzen könnte. Das Powerbank-Level könnte ich checken, aber ich konnte nichts finden. Das ist noch mehr Batterie-Life als mein iPhone. Du bist gut. Microphone Nr. 1. Danke für das Gespräch. Meine Frage ist, ob du das Device, das du benutzt, durchführen kannst. Wenn das Powerbank durchführen kann, dann ist es möglich, wenn es möglich ist, wenn es nicht möglich ist. Wir haben noch vier Minuten. Wir haben noch ein bisschen Zeit, vier Minuten und ein paar Sekunden. Wir haben noch ein paar Sekunden. Wir haben noch ein paar Sekunden. Wir haben noch ein paar Sekunden. Vielleicht das Internet noch. Also Leute auf der Internet. Vielen Dank für das Gespräch. Danke für dieses Gespräch. Danke für das Gespräch. Du hast gesagt, du hast es nicht benutzt, die GSM oder so. Und ich dachte, ob es eine Option ist, zu Verkaufs zu bekommen. Und vielleicht hast du das mit deiner Forschung stammelt. Ansonsten gibt es jemanden in dem Raum, wie du das Desktop benutzen kannst, um ein Verkauf zu machen. Das ist genau das, was ich mit der SIP-Fone gemacht habe. Du weißt, was für eine Software es ist, mit einer Netze zu kommen? Ich habe das nicht mehr angeschaut. Vielen Dank. Welche Antworten von den Audiensten? Jemand sagt, es gibt es, das ist ja schon mal gut. Ja, es ist möglich. Also, das ist gute News. Es gibt noch eine Frage. Bei einem Angel. Also, ich dachte, ob es jemand anderes ist. Ich gehe forward. Hast du gedacht, dass du etwas anderes benutzt? Ja. Aber dann würde das ganze Projekt größer sein. Es ist schon ziemlich dick. Nein, nein. Gut, dann bitte noch einen großen Applaus. Also, einen großen Applaus.