Getting a Shell on any Android Device

If you’re an Evil Customs Agent or other nefarious Three Letter Agency Person, you’re probably very interesting in getting data off people’s phones. Even if the screen is locked, there’s a way around this problem: just use the Android Debug Bridge (ADB), a handy way to get a shell on any Android device with just a USB cable. The ADB can be turned off, though, so what is the Stasi to do if they can’t access your phone over ADB? [Michael Ossmann] and [Kyle Osborn] have the answer that involves a little-known property of USB devices.
Getting a Shell on any Android Device
USB mini and micro plugs have five pins – power, ground, D+, D-, and an oft-overlooked ID pin. With a particular resistance between this ID pin and ground, the USB multiplexor inside your phone can allow anyone with the proper hardware to access the state of the charger, get an audio signal, mess around with the MP3s on your device, or even get a shell. To test their theory, [Michael] and [Kyle] rigged up a simple USB plug to UART adapter (seen above) that included a specific value of resistor to enable a shell on their test phone. Amazingly, it worked and the thought of having a secure phone was never had again.

The guys went farther with some proprietary Samsung hardware that could, if they had the service manual, unlock any samsung phone made in the last 15 years. They’re working on building a device that will automagically get a shell on any phone and have built some rather interesting hardware. If you’re interested in helping them out with their project, they have a project site up with all the information to get up to speed on this very ingenious hack.

read the rest of article...

Project Lucidity Wants YOU!

Do you lucid dream? Do you want to? [Dinesh Seemakurty] has just started something called Project Lucidity, which is the first(?) open source, developer friendly, fully featured, lucid dreaming sleep mask. And he’s looking for hackers to help! We’ve covered lots of projects on lucid dreaming before, like making your own homemade lucid dreaming goggles, or modifying a commercial EEG headset for lucid dreaming. We also can’t forget the LucidScribe project either, the one that seeks to communicate from within dream state!
Project Lucidity Wants YOU!
Anyway, what’s different about Project Lucidity? Well, first of all, it’s open source. Second of all, it’s based on an ATMEGA328P, meaning it’s fully compatible with the Arduino IDE. It looks like a great start, and [Dinesh] is planning on taking everything open source very soon — but before then he wants you to try it out!
If this sounds like a project you want to get behind and help develop, check out his site and sign up. Or ask away in the comments section!
read the rest of article...

Elinchrom EL-Skyport Triggered by Arduino

[Toby] has an Elinchrom EL-Skyport, which is a wireless flash trigger. He decided to see if he could trigger it using an Arduino, and came up with a nice proof of concept. This little device was not meant to be user serviceable, as can be seen in what [Toby] uncovered while taking it apart. But once he had it disassembled, he cataloged everything inside, and then he awesomely went to the trouble of drawing up a schematic. With that knowledge, he began reverse engineering the SPI protocol used, which almost deserves an article by itself.
Elinchrom EL-Skyport Triggered by Arduino
It was a long road to get there, but in the end [Toby] built a prototype Arduino shield that houses an nRF24L01+ module. These are very cheap to pick up on eBay. He gives us the details on hooking up the module, though he had to go through extra hoops since he was using the Arduino Leonardo. Still, once you’re up and running, you can make use of one of the existing libraries specifically for this module.
read the rest of article...

Taiko no Tatsujin Bluetooth Controller Drum Set

No doubt, Taiko no Tatsujin is a wonderful rhythm game. If you also like playing the game on your iPhone or iPad, you may like to use the Bluetooth controller drum set for perfect gaming experience. This is a very interesting Bluetooth-enabled drum set designed for Taiko no Tatsujin.
Taiko no Tatsujin Bluetooth Controller Drum Set
As we can see from the images, the game controller features transitional Japanese style, and contains a drum, a self-assembly stand and a pair of drum sticks. Using built-in Bluetooth technology the drum set game controller is able to pair with your iOS device in order to offer you arcade gaming experience for Taiko no Tatsujin. Moreover, the game controller is powered by 3 AA batteries, and works with numerous iOS devices including iPhone 5/5s/5c/4S, iPad 4/3/mini and iPad Air.
Taiko no Tatsujin Bluetooth Controller Drum Set
The Taiko no Tatsujin Bluetooth controller drum set is priced at $106 USD. If you’re interested, jump to Japan Trend Shop for more details.
read the rest of article...

Felix HandHold iPhone 5s Case

Felix recently released HandHold, an interesting protective case for iPhone 5/5s. If you need a slim iPhone 5s case to hold your iOS device and credit card, let’s go on checking. The HandHold is a cute and practical form-fitting protective case designed for iPhone 5 and iPhone 5s.
Felix HandHold iPhone 5s Case
As we can see from the images, the iPhone 5 case features ultra slim design, and the cleverly designed “fingers” and “thumb” wraps around the side of the protective case in order to hold your credit card, cash, or license. Moreover, the iPhone 5s case is made from high-strength engineering thermoplastic to protect your iPhone 5/5s from impacts and scratches.
Felix HandHold iPhone 5s Case
The HandHold iPhone 5s case is available in 6 colors, each one costs $29.99 USD. If you’re interested, jump to Felix official site for more details.
read the rest of article...

DCF77 Powered Clock is a Work of Art

[Brett] just completed his DCF77 Master Bracket Clock, intended to be a backup to an old logic controlled clock he made. For our readers that don’t know, DCF77 is a German longwave time signal whose transmitter is located near Frankfurt (Germany). Every minute, the current date and time are sent on the 77.5kHz carrier signal.
DCF77 Powered Clock is a Work of Art
The result, which you can see above, is made using an Ikea lantern, a skeleton clock, an ATmega328 (for Arduino compatibility), a voice recording playback IC (ISD1730), a cheap 20×4 LCD display, a DCF77 receiver module, and many LEDs. We’re pretty sure that it must have taken [Brett] quite a while to get such a nice looking clock. In case the clock loses power from the power supply, 3 AA cells provide battery backup. On the firmware side, making the platform Arduino-compatible allowed [Brett] to use its libraries so the coding was quickly done. Embedded after a break is a video of the final result.
read the rest of article...

Tiny 3x3x3 SMD LED Cube

LED cubes are cool, but they’re usually pretty big and clunky. [One49th] set out to make one of the smallest LED cubes we’ve seen yet, and he’s shared how he did it in his Instructable!
Tiny 3x3x3 SMD LED CubeHis first LED cube was the traditional kind, and it turned out pretty nice. But he wanted to go smaller — what about using SMD’s? What he did next was no simple feat — in fact, we’d be willing to call him an artist with a soldering iron. The array is just over one centimeter across. Using a combination of vices and pliers he soldering each SMD onto his structure one by one. Each LED anode is tied together on each horizontal layer.

Each cathode is tied together on each vertical column. This allows the TinyDuino to control any one LED by knowing which of the 9 columns and 3 layers the LED is on. Send a high signal to chosen layer, and a low signal to the column to light the LED. Doing this quickly allows you to create the illusion of different LEDs being on at the same time. Take a look through his image gallery to see just how tight the soldering quarters were, it’s definitely not something we’re planning on doing anytime soon!
read the rest of article...

DRM Chair Only Works 8 Times

Download a song from iTunes, and you can only add that song to the music library of five other computers. Grab a copy of the latest Microsoft Office, and you’d better hope you won’t be upgrading your computer any time soon. Obviously DRM is a great tool for companies to make sure we only use software and data as intended, but outside planned obsolescence, there isn’t much in the way of DRM for physical objects.
DRM Chair only works 8 times
This is where a team from the University of Art and Design in Lausanne, Switzerland comes in. They designed a chair that can only be sat upon eight times. After that, the chair falls apart necessitating the purchase of a new chair. Somewhere in the flat-pack furniture industry, someone is kicking themselves for not thinking of this sooner while another is wondering how they made a chair last so long.

The design of the chair is fairly simple; all the joints of the chair are cast in wax with a piece of nichrome wire embedded in the wax. An Arduino with a small switch keeps track of how many times the chair has been used, while a solenoid taps out how many uses are left in the chair every time the user gets up. When the internal counter reaches zero, a relay sends power through the nichrome wire, melting the wax, and returning the chair to its native dowel rod and wooden board form.

Melting wax wasn’t the team’s first choice to rapidly disassemble a chair; their first experiments used gunpowder. This idea nearly worked, but it was soon realized no one on the team wanted to sit on a primed and loaded chair. You can see the videos of the wax model failing after the break.



read the rest of article...

Wireless Pinball Controller for Tablet Gaming

This wooden box is a wireless pinball controller and tablet stand. The idea is to set it on a workbench to give you some of the thrill of standing and playing the real thing. [Jeff] has been rather addicted to playing a pinball app on Android lately, and started the journey because he needed a way to give his thumbs some relief.
Wireless pinball controller for tablet gaming
An Arduino monitors buttons on either side of this wooden controller. [Jeff] is new to working with hardware (he’s a Linux Kernel developer by trade) and was immediately struck with button debouncing issues. Rather than handle this in software (we’ve got a super-messy thread on that issue with our favorite at the bottom) he chose a hardware solution by building an SR latch out of two NAND gates.

With the inputs sorted out he added a BlueSMiRF board to the project which allowed him to connect a Nexus 7 tablet via Bluetooth. At this point he ran into some problems getting the device to respond to his control as if it were an external keyboard. His stop-gap solution was to switch to a Galaxy Tab 10.1 which wasn’t throwing cryptic errors. Hopefully he’ll fix this in the next iteration which will also include adding a plunger to launch the pinball, a part which just arrived in the mail as he was writing up this success.
We’ve embedded his quick demo video after the break.

read the rest of article...

Carry a Git server in your pocket

We love using Git for its superior version control. We often host our more advanced projects in a public Github repository. But the bulk of our little experiments are simply local repos. This is fine if you’re always at home, but if we are away from home we find ourselves having to SSH into our server to copy over the Git files. [Andrew] found a way around this slightly awkward process. He used an old Android phone as a Git server.
Carry a Git server in your pocket
This actually makes a lot of sense when you start to think about it. Most Android phone have a microSD card slot to provide a huge storage bin (the lack of this on the Nexus 4 is baffling) so you don’t need to worry about running out of space. All of these devices have WiFi, making it easy to use them as an AP when there isn’t any other WiFi around. And the web-connected nature of the device will make syncing your repo over the Internet a snap.

Most of the behind the scenes work is done using Debian packages. This provides a few issues which [Andrew] walks through one by one. We also like his pointers like using ‘noatime’ on your EXTx file systems to avoid wear on the SD card.
read the rest of article...

WiFi & Bluetooth Bot Control

Looking for an easy way to control that Arduino powered robot you built? We just caught wind of a pair of apps for Android that look pretty handy! WiFi Bot Control and Bluetooth Bot Control.
WiFi & Bluetooth Bot Control

So, what are they?  They’re configurable apps that are capable of taking in an IPCam video signal, and sending various commands via a URL string (or a bluetooth signal) for an Arduino to interpret. It comes standard with a joystick control protocol and 8 customizable command buttons.



On the robot end of things you’re looking at a fairly basic setup consisting of an Arduino, a WiFi module, a motor shield and motors, and an IP Camera. The rest is up to you! It looks pretty easy to set up, and the lite version is free! That’s good enough reason for us to try it out. The full version is $1.99 which isn’t a bad price to pay for a nice GUI for your project. See it in action after the break with a robot called Eddie.
read the rest of article...

Running a Laundromat with an Arduino

[Hubert] sent us a tip about a friend’s project to rescue a laundromat from its failing electronics. We’re not entirely sure what went wrong with the old control center, but considering a replacement would have cost nearly 25,000 EUR, we think [Stefan] found the perfect solution: he gave it an Arduino and Android overhaul (translated).
Running a Laundromat with an Arduino
Although [Stefan] explains that the boards were defective, perhaps one of our German readers can help us out with a more specific translation. More clear, however, are the steps taken to upgrade the system. The situation at the laundromat was a bit of an emergency:

there was no way for customers to pay for use of the machines. As a result, [Stefan] had free reign to overhaul things as he saw fit. He decided to remove the complex button setup in favor of a touchscreen Android tablet, which provided users with a simple interface to make selections. The tablet serves only as an input device. The heavy lifting is handled by an Arduino Mega 2560, which hooks up to what remains of the original system and controls the 27 machines in the laundromat.

[Stefan] admits that he isn’t a particular fan of the Arduino, but that for the price, it’s a tough solution to beat. He’s not the only one overhauling with Arduinos.
read the rest of article...

EmuDroid 4: An Android Gaming Controller

[Carnivore] over at Droid Build is working on a very awesome Android Gaming Controller called the EmuDroid 4.
EmuDroid 4: An Android Gaming Controller
It’s a work in progress at the moment, but so far it looks utterly fantastic. He is combining an android tablet with a USB SNES controller, an OTG adapter, and an inductive charging unit. He’s cramming them all into a custom designed, 3D printed controller body, which is semi-reminiscent of an Xbox 360 controller — minus the joysticks.

The forum posts go over his current progress and outline the ups and downs of 3D printing a project as precise as this. There is everything from designing it in segments to suit the small build volume of his UP 3D printer, to dealing with issues like delamination from the print bed, and seamlessly bonding the parts together.

It’s a great learning experience, and we love to see projects in progress like this. Best of all, he’s planning on giving it away for FREE when it’s complete!
read the rest of article...

ODB-II Hacking Using an Android Tablet

What a strange message to read on the digital dashboard display of your car. This is proof that [Kristoffer Smith] was able to control the ODB-II bus on his Eagle Grand Cherokee.
He’s not just doing this for the heck of it. It stems from his goal of adding an Android tablet on the dashboard which has been a popular hack as of late. This left [Kristoffer] with steering wheel controls that did nothing. They originally operated the radio, so he set out to make them control the tablet.
ODB-II Hacking Using an Android Tablet
He had seen an Arduino used to control the CAN bus, but decided to go a different route. He grabbed a USB CAN bus interface for around $25. The first order of business was to use it with his computer to sniff the data available.



From there he was able to decode the traffic and figure out the commands he needed to monitor. The last piece of the puzzle was to write his own Android code to watch for and react to the steering wheel buttons. You can check out the code at his repository and see the demo after the break.
read the rest of article...

External Pinball Controls For an Android Tablet

This hack, which adds external flipper controls to Android pinball, is a great way to cut your teeth at Android hardware hacking.
External Pinball Controls For an Android Tablet
[Ruben] decided to go with the TI Launchpad for this project. The MSP430 dev board offers serial communications via a USB connection, but it’s not quite as easy as just finding the right cable. His tablet does support USB On the Go (OTG), but the board identifies itself as an ACM device which needs to be handled differently. In order to get the tablet talking to the Launchpad he compiled a CDC_ACM module for the Linux underpinnings that make up every Android OS.



In this case the module is tailored for the Allwinner A10 chip inside his model of tablet, but it shouldn’t be too hard to adapt his guide for other processors.
Of course you could go a different route and use Bluetooth for connectivity.
read the rest of article...

Android Pen Plotter Snaps, Processes, and Prints Pictures

Here’s an Android powered pen plotter that does it all. It was built by [Ytai Ben-Tsvi] to take with him to Maker Faire. He’s the creator of IOIO, a hardware interface module designed to communicate with an Android device via USB (host or OTG are both supported).
Android Pen Plotter Snaps, Processes, and Prints Pictures
The physical hardware is simple enough. He draws on a pad of white paper using a felt-tipped marker. Located at the top of the easel are two wheels with stars etched on them. They are reels which spool and dole-out string to control the pen’s movements. The pen tip can be lifted by a ball bearing mounted just below it.



But the project really takes off when you watch [Ytai's] demonstration. The Android tablet controlling the device captures a picture of an object — in this case it’s a toy truck. The app then processes it using edge detection to establish how to plot the image.
read the rest of article...

Wireless Rover With Android Control

[Radu] spend the first portion of this year building and improving upon this wireless rover project. It’s actually the second generation of an autonomous follower project he started a few years back. If you browse through his old postings you’ll find that this version is leaps and bounds ahead of the last.
 Wireless Rover With Android Control
He purchased the chassis which also came with the gear-head motors and tires. Why reinvent the wheel (har har) when you’ve got bigger things on your plate? To make enough room inside for his own goodies he started out by ditching the control board which came with the Lynxmotion chassis in favor of an AVR ATmega128 development board. He also chose to use his own motor controller board. Next he added a metal bracket system to hold the battery pack.



Things start to get pretty crowded in there when he installed his own Bluetooth and GPS modules. Rounding out his hardware additions were a set of five ultrasonic sensors (the grey tubes on top), a character display, as well as head and tail lights. The demo video shows off the control app he uses. We like that tic-tac-toe design for motion control, and that he added in buttons to control the lights.
read the rest of article...

Turning a Phone into a Geiger Counter

We’re no stranger to radiation detector builds, but [Dmytry]‘s MicroGeiger prototype is one of the smallest and most useful we’ve seen.The idea behind the MicroGeiger comes from the observation that just about every modern smartphone can provide a small bit of power through the microphone jack. Usually this is used for a microphone, but with the right circuit it can be stepped up enough to power a Geiger tube.
Turning a Phone into a Geiger Counter
[Dmytry]‘s circuit uses a hand-wound transformer but keeps the part count low; there’s only a few dozen caps, resistors, and diodes in this build, making the circuit much smaller than the Geiger tube itself.
Since [Dmytry] is powering a Geiger tube with a phone, it only makes sense that he should also record clicks from the tube with an Android app. Right now, the entire project is still in the prototype stage, but everything works and his app can detect radiation from one of [Dmytry]‘s sources.



The code and schematics for the MicroGeiger are available on GitHub, with a video of the project in action below.
read the rest of article...

Two-way Bluetooth Communication Made Easy

It’s hard to imagine an easier way to set up communications between an Android device and an Arduino using Bluetooth than by following this guide. In the center of the breadboard you can see the cheap and ubiquitous HC-05 Bluetooth module.
Two-way Bluetooth communication made easy
Having picked up one of these ourselves we can attest that after opening the package and holding one in your hand you may be struck with a “where do I start?” conundrum. If you’ve got an Android handset and an Arduino you start right here, then methodically replace one side of the equation at a time until your own project has a Bluetooth component and you actually understand how it works.

Hardware for the project comes in a couple of parts. The Bluetooth module wants 3.3v logic levels so that is taken into account. The image above shows a buffer chip doing the conversion, but the Fritzing schematic on the post uses a voltage divider.

The software end of things consists of an Arduino sketch and an Android app. Check out all the controls on that screen. With bi-directional communications and a slew of already-configured commands this should get you up and running quickly on pretty much any possible project.
read the rest of article...

Galaxy Note 2 Gets Three And a Half Months of Standby Time

In the quest for the ultimate Android device, [白い熊] on the XDA developers forum created an awe-inspiring monstrosity that gives his Galaxy Note II 288 Gigs of storage and enough battery to theoretically last three and a half months.
Galaxy Note 2 Gets Three And a Half Months of Standby Time
First, the storage: the phone can now store movies, videos, apps, and music on an incredibly capacious 256 Gig SD card. Yes, this card currently sells for about $500, but having that much storage space effectively turns the Note into a portable hard drive running Android.
The battery comes direct from an eBay listing that advertises 8500 mAh inside a huge Li-ion battery. It’s extremely doubtful this battery will live up to the stated rating, but even if the new battery has twice the capacity as the stock battery [白い熊] is looking at about 10 weeks of standby time.
Yes, it’s just parts bought online and thrown together, but you really have to admire the sheer ostentatiousness of this phone.
read the rest of article...