Hi, could somebody help me on skype or facebook to set up ubuntu for that? Or just unruu a file for me?
Hey can you please help me!?!?? I get to the ./bootstrap part then it says not found and nothing works can you help me please!?
If you are having problems compiling and it is saying you need libunshield 0.9 or higher this what I did.
create a .bashrc file and put the following in this file
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
then save it, source .bashrc
and ./configure --prefix=/usr
then make
make install
and you should be good
What this does it takes the pkg_config for libunshield that is in /usr/local/lib and tells the configure program that the version is > 0.7
I have already installed libunshield by using git.. but still ve got same error:
checking for UNSHIELD... no
configure: error: unruu requires at least version 0.9 of libunshield
Im running ubuntu i think it's version 12.. could somoene tell me what command i should run to fix that issue, please
I've tried procedure in first quote but still get same error with zlib if i try and continue the process any way i get the same problem as in second quote really dont know what to do at this point
Maybe somebody is able to Unruu this for me? http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_353143_signed_2-exe/
I just need to extract Recovery System and if possible firmware from this ruu
Thanks for any help in advance
Hi @matt95 I've been trying to set this up on ubuntu but have a problem installing libunshield.
checking for printf format string that works with size_t values... zi
checking if zlib is wanted... yes
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking zlib in /usr... failed
configure: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib
I've tried as the error suggests adding --with-zlib=DIR and --with-zlib=usr but still get the same where am i going wron?
Thanks in advance
Are you sure you created that bash file with code contents and sourced it if you're error is about version complaining otherwise you might need to update your zlibs
---------- Post added at 06:21 PM ---------- Previous post was at 06:17 PM ----------
Please try the following as you do not have the correct zlib installed
sudo apt-get install --reinstall zlibc zlib1g zlib1g-dev
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for UNSHIELD... no
configure: error: unruu requires at least version 0.9 of libunshield
Thanks man that seems to have done the trick but now i get this
Code:checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for UNSHIELD... no configure: error: unruu requires at least version 0.9 of libunshield
so i guess i messed up with the .bashrc file
Thanks once again, there was a typo in my previous bashrc so I copied and pasted it in and sourced it and it seems to have done the jobNow you need to see my previous post regarding the .bashrc file and include this in it
PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/local/lib/pkgconfig
export PKG_CONFIG_PATH
then save the file
and make sure to run source ~/.bashrc
and ./configure --prefix=/usr
then make
make install
and it should be set for you.
/bin/bash ../libtool --mode=install /usr/bin/install -c libunshield.la '/usr/lib'
libtool: install: /usr/bin/install -c .libs/libunshield.so.0.0.0 /usr/lib/libunshield.so.0.0.0
/usr/bin/install: cannot remove `/usr/lib/libunshield.so.0.0.0': Permission denied
make[3]: *** [install-libLTLIBRARIES] Error 1
make[3]: Leaving directory `/home/daniel/android/unshield/lib'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/daniel/android/unshield/lib'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/daniel/android/unshield/lib'
make: *** [install-recursive] Error 1
sudo make install
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for UNSHIELD... no
configure: error: unruu requires at least version 0.9 of libunshield
$ git clone https://github.com/twogood/unshield.git
$ cd unshield/
$ ./bootstrap
$ ./configure --prefix=/usr
$ make
$ sudo make install
root::k-five ~/unruu # ./unruu RUU_ENRC2B_U_JB_45_hTC_Asia_WWE_1.17.707.1_Radio_3.1204.168.32_release_299722_signed.exe
Extracting temporary files...
Extracting rom zip files...
Extracting rom.zip...done.
Cleaning up...
Done!
root::k-five ~/unruu/romhtc # unzip rom.zip
Archive: rom.zip
warning [rom.zip]: 384 extra bytes at beginning or within zipfile
(attempting to process anyway)
file #1: bad zipfile offset (local header sig): 384
(attempting to re-compensate)
file #1: bad zipfile offset (local header sig): 384
file #2: bad zipfile offset (local header sig): 941686
(attempting to re-compensate)
file #2: bad zipfile offset (local header sig): 941686
file #3: bad zipfile offset (local header sig): 942275
file #4: bad zipfile offset (local header sig): 942406
inflating: recovery_signed.img
error: invalid compressed data to inflate
inflating: system.img
error: invalid compressed data to inflate
inflating: userdata_32g.img
error: invalid compressed data to inflate
inflating: splash1.nb0
inflating: tp.img
inflating: ramdisk.img
inflating: wlan.img
inflating: rawpt_16g.img
inflating: rawpt_32g.img
inflating: pg3fs_spcustom.img
inflating: u32g.hdr
inflating: u32gr.hdr
inflating: u64g.hdr
inflating: userdata_64g.img
error: invalid compressed data to inflate
inflating: userdata_32g_resv.img
error: invalid compressed data to inflate
inflating: rawpt_64g.img
$ git clone https://github.com/kmdm/unshield.git
$ cd unshield/
$ git checkout -t origin/v18\_wip
$ ./bootstrap
$ ./configure --prefix=/usr
$ make
$ sudo make install
$ mkdir htc_tools
$ git clone https://github.com/kmdm/unruu.git
$ ./autogen.sh
$ ./configure
$ make
$ sudo make install
$ ./unruu name_of_the_RUU.exe
Thanks man that seems to have done the trick but now i get this
Code:checking for pkg-config... /usr/bin/pkg-config checking pkg-config is at least version 0.9.0... yes checking for UNSHIELD... no configure: error: unruu requires at least version 0.9 of libunshield
so i guess i messed up with the .bashrc file
sudo ./unruu name_of_the_RUU.exe
hi
i need this unruu
not exe,just for ubuntu
i cant compile in ubuntu.
Thanks
I've tried procedure in first quote but still get same error with zlib if i try and continue the process any way i get the same problem as in second quote really dont know what to do at this point
Maybe somebody is able to Unruu this for me? http://www.htc1guru.com/dld/ruu_m7_..._10-38r-1157-04l_release_353143_signed_2-exe/
I just need to extract Recovery System and if possible firmware from this ruu
Thanks for any help in advance
Hi @matt95 I've been trying to set this up on ubuntu but have a problem installing libunshield.
checking for printf format string that works with size_t values... zi
checking if zlib is wanted... yes
checking for inflateEnd in -lz... no
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking zlib in /usr... failed
configure: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib
I've tried as the error suggests adding --with-zlib=DIR and --with-zlib=usr but still get the same where am i going wron?
Thanks in advance