Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
yarrimapirate
Old
(Last edited by yarrimapirate; 15th November 2012 at 03:02 AM.)
#1  
yarrimapirate's Avatar
Senior Member - OP
Thanks Meter 608
Posts: 178
Join Date: May 2009
Location: Vancouver, WA

 
DONATE TO ME
Default [HBOOT][11/14/12] JET - The Jewel/Evita Toolkit (Linux)

Disclaimer: This is BETA. It works well, but may still set fire to your house if you anger it.


UPDATE 11/14/12 - Updated OP with SLS's fix for device detection.


JET - The Jewel/Evita Tool "kit."

JET performs several useful functions, including:
  • Downgrading your HBOOT to 1.12, allowing the use of LazyPanda instead of DirtyRacun (S-OFF without having to wipe the phone if you already have root) Note that this is unsupported by Team Unlimited, however it works just fine.
  • SuperCID (For downgrading firmware via RUU)
  • Partition/IMEI backup.
  • Detection of eMMC partitions on a phone stuck in Qualcomm download mode
  • Possible unbricking of your device (depending on circumstances)


JET is and always will be 100% open source and with full support given here on XDA.

Changelog
Quote:
11/9/12 - Name change to better reflect the direction of this project. Ported to Evita. Rewrote device detection code.
11/1/2012 - Added SuperCID capability
10/24/2012 - Modified emmc_recover to catch stalls at "Wait device /dev/sdXXX......" and try to recover.
10/21/2012 - Added --recover and --unbrick command line options
10/19/2012 - Beta posted

Credits:
Quote:
Credit for the original downgrading idea belongs to Mac_Gyver as seen in this post:
http://forum.xda-developers.com/show....php?t=1932914

This post refined that process and can still be referenced for manual downgrading:
http://forum.xda-developers.com/show...&postcount=107

Closeone for code submissions and a steady flow of awesome ideas.

SouL Shadow for some slick logging code

Initial Testers (AKA People willing to let a total stranger intentionally brick their phone for SCIENCE!)
AZ Fadeout
benny3
kjcmusic17
michael.stollaire
My lovely wife (distract with shiny object, snatch phone, cackle wildly, proceed to brick)
Some local folks not on XDA


absolutelygrimm and 18th.abn for consulting on the Evita side of things.

The XDA community for rallying behind this project and offering support to your fellow members


Requirements
Quote:
  • Unlocked bootloader and a recent TWRP already flashed. (RegawMOD Rooter works well for this)
  • A NATIVE Linux installation, or a LiveCD/Wubi install. Virtual Machines are NOT SUPPORTED.
  • A 32 bit Linux installation/CD, or install ia32-libs or ia32-libs-multiarch
  • Linux Kernel v3.0 or higher (Ubuntu 12.04 LiveCDs meet this requirement)
  • USB Debugging turned on


FAQ
Quote:
Q: Help! The tool keeps saying "Failed to flash HBoot" repeatedly. What do I do?
A: This is a timing issue. If the tool can't get a good lock on your phone, it will give and error and then try again. It will keep trying until it locks onto the phone and can flash. In addition, it is safe to unplug and replug the USB cable during this step, even to another USB port.



Q: This thing is taking forever!! Is it supposed to?
A: The process usually takes about 10 minutes but can take 15 or longer depending. Unfortunately the process for flashing the bootloader is rather painful, and has to be done in very small pieces. Thank HTC for that one. Ubuntu is also partially to blame.



Q: Is this a bootable CD? Can I use this from Windows?
A: This is NOT a bootable LiveCD. A LiveCD version (with further enhancements) is in the works.


Q: Is there/Will there be a Windows version?
A: No. Nor are there plans to make a Windows native version. There are some inherent issues with the way Windows deals with USB devices that prohibits us from accessing QDL. If you're not comfortable trying/using Linux, I suggest you wait for the LiveCD to be finished.




Instructions:
Quote:
  1. Boot Linux.
  2. Download attached package.
  3. Unzip to somewhere you have write access (/home/ubuntu for Ubuntu LiveCD users)
  4. Open terminal.
  5. cd to working directory.
  6. $ chmod +x jet
  7. $ sudo ./jet
  8. Follow the onscreen instructions.
  9. /happydance
Command Line Options
Quote:
Code:
-b or --backup  :  Backup mode only  (make bakp4 and fsp4, don't force QDL)
-c or  --cidpreserve : Don't SuperCID the backup P4 file
-d or  --detect   :  Find device (/dev/sd?)
-r  or  --recover  :  Load HBOOT 1.12 and existing backup P4 (for people who stalled after QDL force)
-s or  --supercid : SuperCID mod for nonbricked phones
-u or --unbrick  :  Load existing backup P4 file ONLY.  (Quit QDL without downgrade)
To do:
Quote:
  • P4 file generation from user entered MEID.
  • Merge both HW versions of JET and detect device at load.
  • LiveCD


Source:
Quote:
You can follow code revisions for the shell script here:
https://github.com/yarrimapirate/JET

LiveCD Development is underway. You can follow the code here:
https://github.com/closeone/JET

I use a modified version of Fuses emmc_recover. I have forked his source here:
https://github.com/yarrimapirate/emmc_recover
A big Thank You to all who've sent donations! Caffeine and beer help generate code, and a few extra bucks convinces the wife it's worth the time I spend glued to my PC/phone. Your donation money is also being used to buy devices to further test/develop with.
Attached Files
File Type: zip jet-jewel-0.3.3b.zip - [Click for QR Code] (933.6 KB, 526 views)
The Following 70 Users Say Thank You to yarrimapirate For This Useful Post: [ Click to Expand ]
 
evo401
Old
#2  
evo401's Avatar
Senior Member
Thanks Meter 616
Posts: 2,982
Join Date: Nov 2011
Location: RI
o yut!!!! ill take 1#
ROM: MeanBean or what ever works
KERNEL: Reactor 0.4
RECOVERY: Twrp 2.4.1.0
SDCARD: Pny Class10-16Gig
CASE: Otter Box Defender
Lazy Panda S-Off
 
bobarune
Old
#3  
bobarune's Avatar
Senior Member
Thanks Meter 235
Posts: 560
Join Date: Nov 2010
Location: Lenexa, KS
i'll take #2!

I already have s-off but this is sweet!
I'm hiding it. te he te he...
 

HTC EVO 4G LTE
Hboot: 1.12.2222
ROM: Carbon w/ Komodo - Usually the latest build
Baseband: 1.12.11.1119
Recovery: TWRP w/ my own themes:

N7
BLoader: 4.18
ROM: RootBox

Computer
CPU: AMD FX-8350
RAM: 16GB of Ballistix by Crucial
GPU: EVGA GTX 670 FTW w/ EVGA GTX 550 Ti FPB
PSU: 750W Silencer Mk II
CASE: NZXT Phantom 410



Here's a dog...
 
eXplicit815
Old
#4  
eXplicit815's Avatar
Senior Member
Thanks Meter 843
Posts: 2,043
Join Date: Jan 2008
Location: Apopka, FL

 
DONATE TO ME
Fixin' to unlock mine. I might give this a shot.
 
Zarboz
Old
#5  
Zarboz's Avatar
Recognized Contributor / Recognized Developer
Thanks Meter 6251
Posts: 4,600
Join Date: Mar 2009
Location: Denver

 
DONATE TO ME
nice to have this around
Building a better droid is the purpose of today

Android History
G1->mytouch 3g -> Mytouch slide -> Mytouch 4g -> HD2 magldr -> Thunderbolt -> Evo 3D -> Sensation -> Evo 4g -> Evo 3D -> HTC vivid -> One X -> One S -> ( Evo LTE (thanks xda) -> Droid DNA
I stay HTC.

Checkout my new project at EasyDevStudio


[showp1984] Times of day and sleep are something for weak people - I am a cybernetic organism, and have a sleep mode.
ლ(ಠ益ಠლ)

Come hangout

irc.freenode.net
#teamblackout
The Following User Says Thank You to Zarboz For This Useful Post: [ Click to Expand ]
 
kjcmusic17
Old
#6  
Member
Thanks Meter 10
Posts: 58
Join Date: Oct 2012
Never done anything like this, but I understand all the terminology and I'm pretty sure I understand what happens every step along the way. Never used Linux, but I can follow directions, so I think I might try this...
 
yarrimapirate
Old
#7  
yarrimapirate's Avatar
Senior Member - OP
Thanks Meter 608
Posts: 178
Join Date: May 2009
Location: Vancouver, WA

 
DONATE TO ME
Quote:
Originally Posted by kjcmusic17 View Post
Never done anything like this, but I understand all the terminology and I'm pretty sure I understand what happens every step along the way. Never used Linux, but I can follow directions, so I think I might try this...
PM me.... I'm about to start round 2 of testing and I need a couple more testers.
The Following 5 Users Say Thank You to yarrimapirate For This Useful Post: [ Click to Expand ]
 
kjcmusic17
Old
#8  
Member
Thanks Meter 10
Posts: 58
Join Date: Oct 2012
Quote:
Originally Posted by yarrimapirate View Post
PM me.... I'm about to start round 2 of testing and I need a couple more testers.
Done and Done
 
om4
Old
#9  
om4's Avatar
Senior Member
Thanks Meter 883
Posts: 2,493
Join Date: Mar 2008
Location: In recovery waiting to be flashed

 
DONATE TO ME
I'd volunteer but my partitions are borked somehow and now I have to try and back up my data so I can reinstall everything. Somehow this has to be the gf's fault, I caught her running as root the other day just so she could change the font color on the time. *sigh*
DON'T PANIC: A relevant and useful guide to all things root
To anyone who has ever claimed something as idiot proof, clearly you have not met my father in law
The Following User Says Thank You to om4 For This Useful Post: [ Click to Expand ]
 
yarrimapirate
Old
#10  
yarrimapirate's Avatar
Senior Member - OP
Thanks Meter 608
Posts: 178
Join Date: May 2009
Location: Vancouver, WA

 
DONATE TO ME
Quote:
Originally Posted by om4 View Post
I'd volunteer but my partitions are borked somehow and now I have to try and back up my data so I can reinstall everything. Somehow this has to be the gf's fault, I caught her running as root the other day just so she could change the font color on the time. *sigh*
Take it out of that $200 you owe her.

The Following 3 Users Say Thank You to yarrimapirate For This Useful Post: [ Click to Expand ]
 
Post Reply+
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...