There was a time a few years ago when the first Android phones made it to market, that they seemed full of promise as general purpose computers. Android is sort of Linux, right, or so the story went, so of course you must be able to run Linux on an Android phone and do all sorts of cool stuff with it.
As anyone who tried to root an Android phone from 2010 will tell you, it was a painful and unrewarding process. There was normally a convoluted rooting process followed by somehow squeezing your own Linux filesystem tree onto the device, then chroot-ing into it. You’d then have to set up a VNC server and VNC into it, and eventually you’d feel immensely proud of your very slow tiny-screen Linux desktop that you’d slaved over creating. It was one of those things that’s simple in theory, but extremely convoluted in practice.
But six years have passed since those days, phones have gotten much faster and so has the software for tasks such as rooting, so maybe it’s time to return to the topic of Linux on an Android device. [Pete Scargill] gave it a try when a friend gave him a Chinese quad-core Android phone with a broken screen. He proceeded to put a Debian installation on it, upon which he runs his collection of server processes.
Rooting the phone was straightforward process using the KingRoot app, a sideloaded version as it seems there’s a bogus copy on the Play Store. Then bringing a Linux system to it could be achieved with the LinuxDeploy app. The result is surprisingly useful, after some installation steps upon which he goes into detail.
You might ask what would be the point of this exercise, given that you can do the same thing much more easily with a single board computer such as a Raspberry Pi. But to buy a Pi, SD card, screen, and UPS, as he points out you’d have to spend a lot more than you would for a second-hand phone from eBay — or a free, slightly broken, one from friends or family.
If getting more from your Android phone is your thing, perhaps you’d like to know about installing Busybox on it. We’ve also advocated for using old Android phones for ARM dev.
Oh Nexus 5X, how could you? I found my beloved device was holding my files hostage having succumbed to the dreaded bootloop. But hey, we’re hackers, right? I’ve got this.
It was a long, quiet Friday afternoon when I noticed my Nexus 5X was asking to install yet another update. Usually I leave these things for a few days before eventually giving in, but at some point I must have accidentally clicked to accept the update. Later that day I found my phone mid-way through the update and figured I’d just wait it out. No dice — an hour later, my phone was off. Powering up led to it repeatedly falling back to the “Google” screen; the dreaded bootloop.
Stages of Grief
I kept my phone on me for the rest of the night’s jubilant activities, playing with it from time to time, but alas, nothing would make it budge. The problem was, my Nexus still had a full day’s video shoot locked away on its internal flash that I needed rather badly. I had to fix the phone, at least long enough to recover my files. This is the story of my attempt to debrick my Nexus 5X.
Continue reading “Fix-a-Brick: Fighting the Nexus 5X Bootloop”
The world’s first public installation of a solar roadway caught fire or something.
Hey hardware nerds in the UK! Nottingham is having its first monthly hardware meetup. This get together is being put together by [Spencer], creator of the extremely popular RC2014 Homebrew Z80 computer kit. The meetup is free, and it’s happening this Tuesday.
[danjovic] sent in a link to this YouTube channel of a guy building stuff out of PVC sheets and CA glue. There’s a lot of stuff in here from a PVC tripod to instructions on how to get PVC sheets out of PVC pipe. Small warning: this is PVC, and it will kill you instantly, for reasons we can’t yet determine. Additionally, he’s heating PVC, which means cancer for your yet-unborn great-grandchildren. How it both kills you while still allowing you to breed is beyond our comprehension. That’s how bad PVC really is.
NASA has updated their available software catalog. If you want to go to Saturn, you first have to go to Venus three times. Here’s a tool that packs batteries. You should build a router for the interplanetary Internet.
[jlbrian7] is Breaking Android over on Hackaday.io
Last week, we had a Raspberry Pi Hack Chat with [Roger Thornton], the principal hardware engineer at Raspberry Pi. We talked about the hardware that goes into the Raspberry Pi (and the new Pi Zero W), and gave away a few Pi Zero Ws to a few people on hackaday.io that had great ideas for a project. One of the winners of a free Raspberry Pi Zero W was [arsenijs] for his Raspberry Pi Project. This is a really great project that uses a Raspberry Pi and Raspberry Pi accessories. It’s pushing the envelope of what a Pi can be, and a free Raspberry Pi Zero W couldn’t have gone to a more worthy project.
What are you doing the weekend of March 31st? We’re going to New Jersey for the Vintage Computer Festival East. This is one of the better cons we go to. Maybe this year we’ll organize a trip to the pinball museum in Asbury Park.
For the less than highly-driven individuals out there — and even some that are — sometimes, waking up is hard to do, and the temptation to smash the snooze button is difficult to resist. If you want to force your mind to immediately focus on waking up, this Nerf target alarm clock might get you up on time.
Not content to make a simple target, [Christopher Guichet] built an entire clock for the project. The crux of the sensor is a piezoelectric crystal which registers the dart impacts, and [Guichet]’s informative style explains how the sensor works with the help of an oscilloscope. A ring of 60 LEDs with the piezoelectric sensor form the clock face, all housed in a 3D printed enclosure. A rotary encoder is used to control the clock via an Arduino Uno, though a forthcoming video will delve into the code side of things; [Guichet] has hinted that he’ll share the files once the code has been tidied up a bit.
Continue reading “How Good Is Your Aim First Thing In The Morning?”
Using your smartphone to control your home automation system gives you a lot of flexibility. But for something as simple as turning the lights on and off, it can be a pain to go through the whole process of unlocking your phone, choosing the right browser page or app, and then finally hitting the button you need. It’d be much simpler if it could all be done at the touch of a single, physical button – but phones don’t have many of those anymore. [falldeaf] brings the solution – a four-button Bluetooth remote for your smartphone that’s wearable, to boot.
The project is built around the RFDuino, an Arduino platform used for quickly and easily building Bluetooth compatible projects. So far, so simple – four buttons wired into a microcontroller with wireless capability onboard. The real trick is the 3D-printed clothespin style case which allows you to clip the four-button remote onto your clothes. [falldeaf]’s first attempt was a palm-mounted setup that they found got in the way of regular tasks; we agree that the wearable version offers a serious upgrade in utility.
The smartphone side of things is handled with a custom app [falldeaf] coded using PhoneGap. This is where actions for the buttons can be customized, including using the buttons to navigate a menu system to enable the user to select more than just one function per button. It adds a high level of flexibility, so you can create all kinds of macros to control your whole home automation system from your button clip.
It’s really great to see a project that considers ergonomics and usability above and beyond just creating the baseline functionality. Follow this train of thought and you’ll find yourself enjoying your projects in the use phase well beyond the initial build. Another great example is this self-charging electrically heated jacket. Video after the break.
Continue reading “Bluetooth Automation Remote Hangs Around”
18 months ago, [Jameson Rader] didn’t know how to code. He had an economics degree and worked for a minor league hockey team. He did have a dream, though. Broadcasting data through sound. When we say broadcast, we mean broadcast – as in one sender and thousands of receivers.
[Jameson] didn’t have the money to hire a team to build his application. So he did what any self-respecting hacker would do. He bought a few books and taught himself to code. We’re talking about a smartphone app here, so Java and Objective-C were necessary to cover Android and iOS devices. The result is XT Audio Beacons.
[Jameson] has created a light show for stadiums which requires no new hardware infrastructure. Ultrasonic cues are added to a pre-recorded soundtrack and played over the PA system. Fans attending the show simply run an app and hold up their smartphone. The app listens for the cues and turns on the camera flash. The result is a light show which can be synchronized to music, sound effects, or whatever the event calls for. Since the system relies on sound, the App only needs permissions to access the microphone. The system would still work even if the phones were in airplane mode.
Transmitting data to smartphones via ultrasonics isn’t exactly new. Amazon uses it in their Dash Buttons, and Google uses it in their OnHub. Using it as a broadcast medium in a stadium is a novel application, though. [Jameson] also has demos showing XT Audio Beacons being used for more mundane purposes – such as troubleshooting electronics, or even as an acoustic version of an iBeacon.
Most important here is that [Jameson] isn’t keeping all this new knowledge to himself. He’s published the source to his application on Github under the MIT license.
You can see the system in action – and even try it yourself, in the video after the break.
If you want to learn more about [Jameson] and his journey, definitely check out his AMA on Reddit.
Continue reading “Stadium Sized Cellphone Light Show Is Controlled By Sound”
If you are an Android user and a big fan of Super Mario beware: there is no Android version! There has been no official news on the Android version yet, let alone a version of the game. There is, however, a version circulating outside of Google Play market that will steal your bank account.
Right now attackers are taking advantage of the game’s popularity and Android users despair to spread malware posing as an Android version of Super Mario Run as they did in the past for Pokemon GO. The trojan is called Android Marcher and has been around since 2013, mostly targeting mobile users financial information. After installation, the application attempts to trick users with fake finance apps and a credit card page in an effort to capture banking details. The malware also locks out Google Play until the user supplies their credit card information.
In this new variant of Marcher, it can monitor the device and steal login data of regular apps, not just banking and payment apps, and send the stolen data back to command and control (C&C) servers. Facebook, WhatsApp, Skype, Gmail, the Google Play store are all vulnerable. Criminals can exploit these stolen accounts to carry out additional fraud.
Zscaler researchers advice is:
To avoid becoming a victim of such malware, it is a good practice to download apps only from trusted app stores such as Google Play. This practice can be enforced by unchecking the “Unknown Sources” option under the “Security” settings of your device.
We may add to turn on “App Verification”. Verify Apps regularly checks activity on your device and prevents or warns you about potential harm. Verify Apps is on by default, as is Unknown Sources turned off. Verify Apps also checks apps when you install them from sources other than Google Play. Of course, there is a privacy trade-off. Some information has to be sent about the apps you install back to Google.
The main advice is: use common sense. It’s common practice for companies to release official apps versions through Google Play and highly unlikely to do it via any other way.