5,600,335 Members 35,479 Now Online
XDA Developers Android and Mobile Development Forum

[GUIDE][UBUNTU]Unruu HTC RUUs

Tip us?
 
matt95
Old
(Last edited by matt95; 9th March 2014 at 05:45 PM.)
#1  
matt95's Avatar
Recognized Contributor - OP
Thanks Meter 2292
Posts: 5,765
Join Date: Aug 2010
Location: Verona

 
DONATE TO ME
Prompt [GUIDE][UBUNTU]Unruu HTC RUUs

Hello guys, this is a very small guide on how to Unruu HTC official RUUs...
the tool that we are going to use is not mine so all credits go to kmdm, he made this tool!
i will just explain you how to install it and use it



WHAT DO I NEED? (I won't explain how to install 3-4-5-6-7, you can retrieve all the infos you need here)

1- Ubuntu (i'm actually using Ubuntu 13.04 but pretty much every Linux based distro should work!)
2- libunshield v0.7 or higher
3- ADB & Fastboot installed (install the SDK and you're done)
4- Python 2.6 or 2.7 (Android supports only this one)
5- GNU Make 3.81 or higher ( i have the 3.82 version)
6- JDK 6 (obviously!)
7- Git 1.7 or higher

8- Some experience with the terminal

HOW TO INSTALL THE PACKAGE

First we need to make sure that libunshield is installed on our system
to install it you just have to type these commands
Code:
$ git clone https://github.com/kmdm/unshield.git
$ cd unshield/
$ git checkout -t origin/v18\_wip
$ ./bootstrap
$ ./configure --prefix=/usr
$ make
$ sudo make install
after that you should have that package installed and you're ready to install the real tool

HOW TO INSTALL THE TOOL

Create a folder and name it htc_tools (just to make it easier) or whatever you want
Code:
$ mkdir htc_tools
At this point you need to copy the folder of the tool from sources
Code:
$ git clone https://github.com/kmdm/unruu.git




Now you want to type these commands
Code:
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
You should get something like this





Ok now you're pretty much done!
if you want to unruu a RUU you have to paste the RUU itself in the unruu folder and then you simply have to run the following command
Code:
$ ./unruu name_of_the_RUU.exe

OK! you're done! now you should have a file in the unruu directory named rom.zip and that's the file you are looking for
GOOD LUCK DEVS!


Donate and support my studies at the MIT University! Unruu HTC RUUs | Setup Android Development Environment on Ubuntu | Decrypt HTC RUUs
The Following 11 Users Say Thank You to matt95 For This Useful Post: [ Click to Expand ]
 
Guich
Old
#2  
Guich's Avatar
Recognized Contributor
Thanks Meter 2972
Posts: 4,195
Join Date: May 2012

 
DONATE TO ME
Also good this guide for some new guys!
The Following 3 Users Say Thank You to Guich For This Useful Post: [ Click to Expand ]
 
dragonesdenano
Old
#3  
dragonesdenano's Avatar
Senior Member
Thanks Meter 9764
Posts: 8,903
Join Date: Jan 2011
Location: Lanus, Buenos Aires

 
DONATE TO ME
Amazing!!! SD is Rocking the house :thumbup:

SkyDragonİ You Are Not Allow To Lick My Banner, Stay Away!
The Following User Says Thank You to dragonesdenano For This Useful Post: [ Click to Expand ]
 
pashaa
Old
#4  
Member
Thanks Meter 9
Posts: 71
Join Date: Jun 2007
Location: Iran
some one can share compiled unruu ?


Thanks.
 
matt95
Old
#5  
matt95's Avatar
Recognized Contributor - OP
Thanks Meter 2292
Posts: 5,765
Join Date: Aug 2010
Location: Verona

 
DONATE TO ME
Quote:
Originally Posted by pashaa View Post
some one can share compiled unruu ?


Thanks.
you mean if somebody could ubruu a RUU for you? i can, just link me to the file


Donate and support my studies at the MIT University! Unruu HTC RUUs | Setup Android Development Environment on Ubuntu | Decrypt HTC RUUs
 
pashaa
Old
#6  
Member
Thanks Meter 9
Posts: 71
Join Date: Jun 2007
Location: Iran
Quote:
Originally Posted by matt95 View Post
you mean if somebody could ubruu a RUU for you? i can, just link me to the file


my mean i need unruu binary
can u give me?
 
pashaa
Old
#7  
Member
Thanks Meter 9
Posts: 71
Join Date: Jun 2007
Location: Iran
no body cant compiled this?
in our country i cant git that source(because of https protocol).

i need that.
 
matt95
Old
#8  
matt95's Avatar
Recognized Contributor - OP
Thanks Meter 2292
Posts: 5,765
Join Date: Aug 2010
Location: Verona

 
DONATE TO ME
Quote:
Originally Posted by pashaa View Post
no body cant compiled this?
in our country i cant git that source(because of https protocol).

i need that.
you need a ruu.exe? if not explain what you mean by unruu binary please


Donate and support my studies at the MIT University! Unruu HTC RUUs | Setup Android Development Environment on Ubuntu | Decrypt HTC RUUs
 
pashaa
Old
#9  
Member
Thanks Meter 9
Posts: 71
Join Date: Jun 2007
Location: Iran
Quote:
Originally Posted by matt95 View Post
you need a ruu.exe? if not explain what you mean by unruu binary please
sudo ./unruu name_of_the_RUU.exe

hi
i need this unruu
not exe,just for ubuntu
i cant compile in ubuntu.


Thanks
 
matt95
Old
#10  
matt95's Avatar
Recognized Contributor - OP
Thanks Meter 2292
Posts: 5,765
Join Date: Aug 2010
Location: Verona

 
DONATE TO ME
Quote:
Originally Posted by pashaa View Post
sudo ./unruu name_of_the_RUU.exe

hi
i need this unruu
not exe,just for ubuntu
i cant compile in ubuntu.


Thanks
Now i got it sorry, it took a bit

I've attached the file
Attached Files
File Type: zip unruu-master.zip - [Click for QR Code] (16.9 KB, 130 views)


Donate and support my studies at the MIT University! Unruu HTC RUUs | Setup Android Development Environment on Ubuntu | Decrypt HTC RUUs

The Following 2 Users Say Thank You to matt95 For This Useful Post: [ Click to Expand ]
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes