Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,809,687 Members 40,259 Now Online
XDA Developers Android and Mobile Development Forum

Arduino does the wire trick

Tip us?
 
theodleif
Old
#1  
Junior Member - OP
Thanks Meter 3
Posts: 1
Join Date: Aug 2014
Default Arduino does the wire trick

In order to get their devices S-OFF a lot of people try the "wire trick". While some are lucky within minutes, others try for months until they get mad and throw their device or themselves out of the window.

Originally I tried to avoid to S-OFF my phone, but the unlock code I got from HTC revealed to be invalid.

Rumrunner didn't work as well and in the end I faced what I had tried to avoid: the wire trick.

Because I didn't want to run mad, I decided to get the job done with the help of an Arduino and a relay.

At first I tried 500 ms closed, 1750 ms open and 500 ms closed. That didn't work.

Then I tried 1000 ms closed, 1500 ms open, and 1000 ms closed. That worked instantly and now my Sensation is S-OFF.

The arduino performed very precisely. The relay caused a deviation of only 1 ms as I found out with the help of a second arduino.

I used Ubuntu 14.04 with 32 bit. ADB and Fastboot came from the distribution.

Here is the code:
Code:
#define RELAY1  3   // relay on pin 3                    
 
void setup() {    
  pinMode(RELAY1, OUTPUT);       
  digitalWrite(RELAY1,HIGH);    // high switches relay off
}

 void loop() {
   delay(15000);
   digitalWrite(RELAY1,LOW);          
   delay(1000);                                    
   digitalWrite(RELAY1,HIGH);    
   delay(1500);
   digitalWrite(RELAY1,LOW);           
   delay(1000);                                      
   digitalWrite(RELAY1,HIGH);         
 }
Attached Images
File Type: jpeg IMG-20140817.jpeg - [Click for QR Code] (149.0 KB, 103 views)
The Following 3 Users Say Thank You to theodleif For This Useful Post: [ Click to Expand ]
 
heavy_metal_man
Old
#2  
heavy_metal_man's Avatar
Recognized Contributor
Thanks Meter 703
Posts: 2,563
Join Date: Nov 2011

 
DONATE TO ME
Quote:
Originally Posted by theodleif View Post
In order to get their devices S-OFF a lot of people try the "wire trick". While some are lucky within minutes, others try for months until they get mad and throw their device or themselves out of the window.

Originally I tried to avoid to S-OFF my phone, but the unlock code I got from HTC revealed to be invalid.

Rumrunner didn't work as well and in the end I faced what I had tried to avoid: the wire trick.

Because I didn't want to run mad, I decided to get the job done with the help of an Arduino and a relay.

At first I tried 500 ms closed, 1750 ms open and 500 ms closed. That didn't work.

Then I tried 1000 ms closed, 1500 ms open, and 1000 ms closed. That worked instantly and now my Sensation is S-OFF.

The arduino performed very precisely. The relay caused a deviation of only 1 ms as I found out with the help of a second arduino.

I used Ubuntu 14.04 with 32 bit. ADB and Fastboot came from the distribution.

Here is the code:
Code:
#define RELAY1  3   // relay on pin 3                    
 
void setup() {    
  pinMode(RELAY1, OUTPUT);       
  digitalWrite(RELAY1,HIGH);    // high switches relay off
}

 void loop() {
   delay(15000);
   digitalWrite(RELAY1,LOW);          
   delay(1000);                                    
   digitalWrite(RELAY1,HIGH);    
   delay(1500);
   digitalWrite(RELAY1,LOW);           
   delay(1000);                                      
   digitalWrite(RELAY1,HIGH);         
 }
That's pretty cool! Thanks for sharing

Sent from my nexus 7 using Tapatalk

 
Devices
-> HTC wildfire (buzz)- currently testing all sorts.

-> HTC wildfire BEE
s-on HTC-dev unlocked
rom: my cooked rom
-> HTC sensation XE
Died a horrible overheating death
-> Nexus 7 32gb wifi
Bootloader unlocked
Rom: ParanoidAndroid 3.1
-> Htc desire s
xtc clip s-off/simunlocked/supercid
revolutionary hboot 7.00.1002
testing roms....
 
matekaneve
Old
#3  
matekaneve's Avatar
Senior Member
Thanks Meter 137
Posts: 334
Join Date: May 2011
Location: Stirling
Picture you attached is amazing! It looks pretty much like you're really going to hack your phone! I was lucky, did the wire trick and worked for the very first time, but here we go people, another option for everyone! Thanks for sharing!


Current Device: HTC One M7 - 6.09FW - SunShine S-OFF - Unlocked Hboot v1.57

Backup: HTC Sensation - 3.33FW - JuopunutBear S-OFF - JuopunutBear Hboot v1.27.1111
 
palm_pilot
Old
#4  
Junior Member
Thanks Meter 0
Posts: 12
Join Date: Nov 2009
Location: Warwickshire
Amazing! I'd have never found that out in a million years, thanks given!
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes