[GUIDE][UBUNTU]Unruu HTC RUUs - XDA-University

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!

Also good this guide for some new guys!

Amazing!!! SD is Rocking the house :thumbup:
SkyDragon© You Are Not Allow To Lick My Banner, Stay Away!

some one can share compiled unruu ?
Thanks.

pashaa said:
some one can share compiled unruu ?
Thanks.
Click to expand...
Click to collapse
you mean if somebody could ubruu a RUU for you? i can, just link me to the file

matt95 said:
you mean if somebody could ubruu a RUU for you? i can, just link me to the file
Click to expand...
Click to collapse
my mean i need unruu binary
can u give me?

no body cant compiled this?
in our country i cant git that source(because of https protocol).
i need that.

pashaa said:
no body cant compiled this?
in our country i cant git that source(because of https protocol).
i need that.
Click to expand...
Click to collapse
you need a ruu.exe? if not explain what you mean by unruu binary please

matt95 said:
you need a ruu.exe? if not explain what you mean by unruu binary please
Click to expand...
Click to collapse
sudo ./unruu name_of_the_RUU.exe
hi
i need this unruu
not exe,just for ubuntu
i cant compile in ubuntu.
Thanks

pashaa said:
sudo ./unruu name_of_the_RUU.exe
hi
i need this unruu
not exe,just for ubuntu
i cant compile in ubuntu.
Thanks
Click to expand...
Click to collapse
Now i got it sorry, it took a bit
I've attached the file

thanks but i cant compile!
this package also have library but i cant dl that.
please just send to me compiled unrru.
thanks

pashaa said:
thanks but i cant compile!
this package also have library but i cant dl that.
please just send to me compiled unrru.
thanks
Click to expand...
Click to collapse
what kind of errors did you get?

Thanks for this helpful thread!:good:

blaze_cv said:
Thanks for this helpful thread!:good:
Click to expand...
Click to collapse
glad to see that somebody looks at this guide it has been pretty hidden for days

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

desire hd?
hi matt95,
will this work for Desire HD? thank you!

tqf said:
hi matt95,
will this work for Desire HD? thank you!
Click to expand...
Click to collapse
As far as i know yes, it should work for every recent RUU i guess

Use my method
Sent from my HTC One X using xda app-developers app

found answer

Related

[TUTORIAL] The Step-By-Step guide to build Cyanogenmod7 for the LG Optimus 2X

aMpeX proudly presents:
The Step-By-Step guide for building CM7
for the Optimus 2X​
Disclaimer:
I'm taking no responsibility for any damage that might occur to your phone or your PC
This guide illustrates how to setup an UBUNTU 11.04 equipped PC to build CM7 from source
It does not provide any support beyond that operating system, so if you insist on using other
Linux distributions, either adapt the guide yourself or look elsewhere.
Moreover I'm not providing any support for any problems that might occur during the course
of this guide, if they are not introduced by faults within the guide itself. I will only
troubleshoot the activities that this guide is based upon and won't be able to help with your
general linux problems. Feedback however is greatly appreciated.
Reposting this on other forums:
Feel free to post this guide on other forums. I'd like to be given credit though. Thanks
I am new to this myself, but I thought I'd share my findings after successfully building my first kang.
News & changelog:
v0.92 2011/06/01 Fix:
Added "change directory" before init repository (thanks to peewster)
v0.91 2011/05/31 Fix:
Fixed PATH exports (thanks to bhanvadia)
v0.9 2011/05/31 Initial release:
Still much formatting to be done, typos possible. Leave me some feedback if you encounter them.
Alright, so you want to build your own CM7 KANG's ?
Step 0: The starting point + info
When you start this guide, I assume that you just installed your Ubuntu 11.04 copy to your PC and set up all the drivers to your hearts content.
All commands are supplied, as they would be typed in from a USER ACCOUNT, if you operate from the root account, you will
have to add /home/<yourusername> to the most commands. I suggest, after performing the actions required by root, that you log out by typing
Code:
exit
What you need:
A working copy of Cyanogenmod7 installed on your phone
A PC with Ubuntu 11.04 installed (NOTE: If you're about to install Ubuntu from scratch, use the 64Bit version.
I can build CM7 on a 32Bit OS just fine. But AOSP for example won't build beyond Froyo on 32Bit.
At least 20GB of free space (including space required for the operating system itself)
A considerably fast internet connection (syncing the repo takes everal Gbs)
At least 3 hours of time.
All done? Then let's get started:
Step 1: Install the Java JDK
Go to System → Administration → Synaptics Package Manager
Here, we have to enable the partner repositories.
Go to Settings → Repositories → Other Software → Tick Canonical Partners and hit Close
Now push the „Reload“ button, and use the Search button to find the sun-java6-jdk package
tick the box in front of it and choose „Mark for installation“ and accept the following dialogue.
Click the „Apply“ button. Accept the dialogues, you now have the Java JDK installed.
Step 2: Install the Android SDK
Go here and download this.
Extract the archive to a directory of your choice.
Open a Terminal, navigate to the „tools“ subfolder and run the AVD Manager using ./android
In the new Window hit „Available Packages“ tick the „Android Repository“ and select „Install selected“
Once thats done, close everything up, time for step 3.
Step 3: Set up udev
The description from the CyanogenMod wiki struck me as being a slightly bit overkill, and, while it might be necessary for other devices, for LG phones this works just fine:
Create a new file on your desktop named
Code:
99-android.rules
and fill them with the following content:
Code:
SUBSYSTEM=="usb", SYSFS{idVendor}=="1004", MODE="0666"
This will enable the debugging for LG devices, if you have time, it won#t hurt to add the other vendors. Just add another line
like above and replace the „1004“ with the appropriate vendor ID from http://developer.android.com/guide/developing/device.html (scroll to the bottom)
Log in as root using
Code:
sudo su
and paste our file to
Code:
/etc/udev/rules.d
using the terminal (cp)
Set permissions for the file using
Code:
chmod a+r /etc/udev/rules.d/99-android.rules
Now would probably be a good time to check if adb is working correctly.
But first, lets update the PATH so we can type „adb“ anywhere on the file system.
Navigate to your user home directory, press CTRL+H to show hidden files and edit the
Code:
.bashrc
file by adding the following
Code:
export PATH="/home/<yourusername>/<path to the android SDK >/platform-tools/:${PATH}"
export PATH="/home/<yourusername>/bin/:${PATH}"
(The 2nd line is necessary for later)
NOTE:This only enable the use of adb everywhere when logged in with your username. When working as root, you'll have
to add a separate line with /home/<yourusername> in front of the path above.
You have to log out and in again for the changes to take effect.
Now check if you can see your phone with
Code:
adb devices
Alright, still awake? Good, because now it gets interesting
Step 4: Install build packages and create directories
Since we already installed the JDK this command differs a bit from the Cyanogen Wiki:
For 32 and 64 Bit
Code:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.6-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev pngcrush schedtool
For 64 Bit only
Code:
sudo apt-get install g++-multilib lib32z1-dev lib32ncurses5-dev lib32readline5-dev gcc-4.4-multilib g++-4.4-multilib
Now we need 2 directories
Code:
mkdir -p ~/bin
mkdir -p ~/android/system
Almost there ….
Step 5: Install the repository
Now we need our repo binary:
Code:
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
(credits to p.valenta for notifying me of the adress change)
NOTE: You may need to reboot now
Change to your previously created directory:
Code:
cd ~/android/system/
Initialize the repository:
Code:
repo init -u git://github.com/CyanogenMod/android.git -b gingerbread
Enter your Name, eMail adress and select if you want colors or not.
AND NOW THE FINALE
Code:
repo sync -j16
Get yourself a BIG coffee, because this is going to take MUCH MUCH time, because basically you are now checking out all there is to CyanogenMod.
But wait, we're not done yet. Hang on
Step 6: Getting proprietary files for the Optimus 2X
For this step, you need an O2X with a running Cyanogenmod build, so if you're still on stock, this is the time to flash Cyanogenmod for the first time.
Connect your phone to your PC via USB and
navigate to the device tree in your repo folder:
Code:
cd ~/android/system/device/lge/p990/
and run
Code:
./extract-files.sh
This will extract some libs from your device. But sadly, not all of them (build will still fail) but we will fix this now.
Go to
Code:
https://github.com/koush/proprietary_vendor_lge/tree/gingerbread/p990
and click the download button on the right.
Extract the „p990“ folder located in the subfolder
Code:
/koush-proprietary_vendor_lge-a43238f/
in the archive to
Code:
~/android/system/vendor/lge/
Step 7: Get latest ROMManager
I know I must be annoying the sh** out of you by now, but hang in there
Code:
~/android/system/vendor/cyanogen/get-rommanager
Step 8: BUILD F***ING EVERYTHING
Now this is what you've been waiting for huh?
Sync the repository again:
Code:
cd ~/android/system/
repo sync
Build the ROM
Code:
. build/envsetup.sh && brunch p990
Wait
When everything is finished, your KANG will be stored in
Code:
~/android/system/out/target/product/p990/
And THATS IT!
Congratulations, you have just built your own CM7 KANG, don't forget to share it to other nightly testers
Cheers aMpeX
Useful stuff and tools:
SH script by bhanvadia, tailored to the directories introduced by this tutorial:
Download here
Extract anywhere and make it executable by typing
Code:
chmod +x kang.sh
Create shortcut to the output directory of your KANGs
Type
Code:
ln -s ~/android/system/out/target/product/p990/ <your desired shortcut location>
nice guide, really liked it.
too bad there were none when I started making my kangs.
btw: I use mac it is bit different for mac. but nothing its missing.
Here is file you keep on you desktop to make it work without any typing of commands after you setup your computer working directory as per guide by aMpeX.
and check post #2 for making that file executable.....
kang.sh
bhanvadia said:
nice guide, really liked it.
too bad there were none when I started making my kangs.
btw: I use mac it is bit different for mac. but nothing its missing.
add "~/android/bin/" to path too so you can "repo sync" from anywhere.
just a suggestion... can upload build.sh file on here to make it easy.
something like
1. for clean and build
2. for repo sync
open file and press your options.
thats what I use...
Click to expand...
Click to collapse
That's why the guide states its for ubuntu. I found that even the Cyanogenmod Wiki entries don't work completely for the latest ubuntu (with g++ and gcc 4.3 not being available anymore, also hat huge problems with the java jdk at first)
I'll add the additional PATH variables as you suggested. Thank you.
aMpeX said:
That's why the guide states its for ubuntu. I found that even the Cyanogenmod Wiki entries don't work completely for the latest ubuntu (with g++ and gcc 4.3 not being available anymore, also hat huge problems with the java jdk at first)
I'll add the additional PATH variables as you suggested. Thank you.
Click to expand...
Click to collapse
Here is file you keep on you desktop to make it work without any typing of commands after you setup your computer working directory as per guide by aMpeX.
PS: aMpeX can you just test that file??? just repo sync or rom manager update options.
awesome guide !!! thanks aMpeX !
seems to be working, after you chmod+x the sh file that is. My Repo Sync is stuck at 1%, but I doubt its related to your file.
I'll add it to the 2nd post
aMpeX said:
seems to be working, after you chmod+x the sh file that is. My Repo Sync is stuck at 1%, but I doubt its related to your file.
I'll add it to the 2nd post
Click to expand...
Click to collapse
modified my mac file i use to fit to your setup of directories, just changed directories. ...
yeah then it would work, hope it make it more easy
GET the KANGs flowing...........
aMpeX said:
Useful stuff and tools:
SH script by bhanvadia, tailored to the directories introduced by this tutorial:
Download here
Extract anywhere and make it executable by typing
Code:
chmod +x kang.sh
Create shortcut to the output directory of your KANGs
Type
Code:
ln -s ~/android/system/out/target/product/p990/
Click to expand...
Click to collapse
Download link is sending to wrong post still....
now it should work like this....
http://forum.xda-developers.com/showpost.php?p=14310172&postcount=5
copy
http://forum.xda-developers.com/showpost.php?p=14310172&postcount=5
Can you please also state that it only works on 64bit builds of ubuntu and not 32bit...
Renegade_Rulez said:
Can you please also state that it only works on 64bit builds of ubuntu and not 32bit...
Click to expand...
Click to collapse
Aside from what you can read on the net, my KANGs build perfectly fine on Ubuntu 32Bit
No reason to not install 64Bit though. I'll add a remark in the first post.
Edit: After some asking and digging, read this:
http://twitter.com/#!/CM_arcee/status/75677847712309249
So while standard Gingerbread cannot be built by 32Bit, the CyanogenMod7 repository can.
is this meant to download a lot of stuff for different phones? mine is downloading a lot of stuff at step 5 and it's taking forever..
Imperticus said:
is this meant to download a lot of stuff for different phones? mine is downloading a lot of stuff at step 5 and it's taking forever..
Click to expand...
Click to collapse
It will download files for each and every phones supported by CyanogenMod, thats why its called cyanogen repo, not just P990 repo, but mostly you will use stuff thats required by your phone.
and its suggested to have 15 - 20 GB free, as it takes a lot....
3.5 GB is just "out" folder when it compiles for one device (P990)......
bit of a noob.. done everything..when I try to make the build using build/envsetup.sh i get permission denied
Any help please?
copy/paste the command from the tutorial
there is a leading dot and space before "build
Code:
. build/envsetup,sh && brunch p990
Thank's for the tutorial but i allways get no gsm function build
logcat -b radio
RIL_REQUEST_REPORT_STK_SERVICE_IS_RUNNING error: com.android.internal.telephony.CommandException: RADIO_NOT_AVAILABLE
Click to expand...
Click to collapse
or
Couldn't find 'rild' socket; retrying after timeout
Click to expand...
Click to collapse
What baseband are you using? Make sure that the lge-ril.so is in your proprietary files
aMpeX said:
What baseband are you using? Make sure that the lge-ril.so is in your proprietary files
Click to expand...
Click to collapse
Thank's for repy.
lge-ril.so is in and generally i flash my build coming from cyano #31 (405) and mcr18 (405)
So...405
Possibly (if you synced the proprietary repository by koush AFTER you ran extract-files.sh) your ROM still includes the lge-ril for 0218.
Try reflashing the ril with the methods provided in this forum.
Other than that, I have no idea what might be causing your problems.
old ril file from koush files do work on 405 baseband too, but you feel better performance with new ril. with old ril you may loose signals sometime.
delete your vendor/lge/p990 folder, and download again from koush's files and put it back there. make sure your directories are in order
example: for lib-ril.so in as below
like ~/android/system/vendor/lge/p990/proprietery/lib/

Kernel Source DROID Incredible by HTC (Verizon) – GB MR - 2.6.35 now available!!!!

http://dl4.htc.com/RomCode/Source_and_Binaries/incrediblec-2.6.35-gb-mr.tar.gz
Go get it boys!!!
wildstang83 said:
http://www.htcdev.com/devcenter/downloads
Go get it boys!!!
Click to expand...
Click to collapse
I Beat ya to it posted in my thread.
Sent from my ADR6300 using Tapatalk
Does this include the source for the TV Out functionality? If so, can we port that to AOSP?
Awesome sauce
Sent from my ADR6300 using XDA App
tiny4579 said:
I Beat ya to it posted in my thread.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
Who cares? Somebody needs to just build the durn thing already, lol
I can't do it, I'm working on other junk right now.
Was just about to post this ..bout damn time HTC
Sent from my Incredible using XDA App
wildstang83 said:
Who cares? Somebody needs to just build the durn thing already, lol
I can't do it, I'm working on other junk right now.
Click to expand...
Click to collapse
I can. Monday at the earliest. They picked the wrong weekend to release it.
Sent from my ADR6300 using Tapatalk
tiny4579 said:
I can. Monday at the earliest. They picked the wrong weekend to release it.
Sent from my ADR6300 using Tapatalk
Click to expand...
Click to collapse
Yea that is for sure. Your not even lying there. I might try to build it right now for a test run. I ain't gotta clue what I'm doing so wish me luck, lol All I know at this point is I gotta have a computer to compile on and I have a couple so Im good there
About damn time lol
wdfowty said:
About damn time lol
Click to expand...
Click to collapse
About damn time we saw you around here again I know you've been through some hard times, glad to see your posts sprinkled around.
00McD00 said:
About damn time we saw you around here again I know you've been through some hard times, glad to see your posts sprinkled around.
Click to expand...
Click to collapse
Thanks man. Been slowly getting back into the swing of things around here again now that life is becoming less hectic.
I'll compile this thing once the damn toolchain finishes downloading lol
Code:
/home/tcberg2010/kernel/inc/arch/arm/include/asm/dma-mapping.h:442: error: implicit declaration of function 'arch_has_speculative_dfetch'
make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 1
Anyone else running into this error? Saw on Evo 3D forums that it was an HTC issue. I sure hope not in our case.
Hey guys can someone please look over my instructions and see if I'm correct or not? I'm trying to learn something new here since I've never done this before.
Download http://dl4.htc.com/RomCode/Source_and_Binaries/incrediblec-2.6.35-gb-mr.tar.gz from HTC's website.
This is the correct size and MD5:
88.8 MB (93,175,808 bytes) 67c01623ff73415a99e5f8cd1d8ef11a
Enter “root” mode so we dont have to do 'sudo' so much.
Code:
sudo /bin/bash
1. Untar your incrediblec-2.6.35-gb-mr.tar.gz file
Code:
tar xvf incrediblec-2.6.35-gb-mr.tar.gz
Next, you can move the directory to /kernel for easy naming.
Code:
mv incrediblec-2.6.35-gb-mr.tar.gz /kernel
2. Next, let’s go to your SDK Tools directory android-sdk-linux/tools
Code:
cd android-sdk-linux/tools
3. Next, connect your HTC Droid Incredible to your computer and make sure it’s in USB Debugging Mode under Settings->Applications->Development.
4. Next, we will pull the current configuration from your existing kernel on the HTC Evo 4G, so we don’t break anything
Code:
adb pull /proc/config.gz .
5. Let’s gunzip the config.gz:
Code:
gunzip config.gz
6. Let’s move this config file into our kernel directory as .config:
Code:
cp config /kernel/.config
7. Go into your kernel directory:
Code:
cd /kernel
8. Let’s download the compiler for ARM on linux. (Select the latest version and download the one that says “A32 GNU/Linux TAR”. e.g. https://sourcery.mentor.com/public/...-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
Just do in Terminal:
Code:
wget https://sourcery.mentor.com/public/gnu_toolchain/arm-none-linux-gnueabi/arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
9. Untar the compiler
Code:
tar xvf arm-2010q1-202-arm-none-linux-gnueabi-i686-pc-linux-gnu.tar.bz2
10. Let’s edit the Makefile to use the downloaded ARM compiler:
Code:
gedit Makefile
Next, change the CROSS_COMPILE ?= arm-eabi- line to:
Code:
CROSS_COMPILE ?= arm-2010q1/bin/arm-none-linux-gnueabi-
11. (Optional) You can now edit .config file to add your hacks such as enabling loop devices for mounting.
Uncomment the CONFIG_DEV_BLK_LOOP and write:
Code:
CONFIG_DEV_BLK_LOOP=y
to enable loop devices.
12. Let’s compile it by doing:
Code:
make
Once that’s done, you need to copy over the “compiled” wifi drivers to your HTC Droid Incredible to make it along with your new kernel.
Let’s copy over the new kernel and drivers to your android-sdk-linux/tools directory for easy installation.
Code:
cp /kernel/drivers/net/wireless/bcm4329_204/bcm4329.ko /android-sdk-linux/tools/
cp /kernel/arch/arm/boot/zImage /android-sdk-linux/tools/
13. Go to your SDK tools directory again and push the new files!
Code:
cd /android-sdk-linux/tools
adb push bcm4329.ko /system/lib/modules/bcm4329.ko
14. You will need fastboot to flash the new kernel image so do:
Code:
wget http://android-dls.com/files/linux/fastboot
chmod 755 fastboot
(For Windows, download this file and put into your SDK tools directory!)
Next let’s flash the new kernel image, zImage by doing:
Code:
fastboot flash zimage zImage
It should actually be waiting, now you need to turn your phone off, then boot it back up into bootloader mode by pressing the Power button WHILE holding down the volume button. Wait 3 seconds and hit the Power button to enter the fastboot mode.
15. Now you should see fastboot flashing the image and you can reboot it to try out your new HTC Droid Incredible kernel you built yourself!
wildstang83 said:
Who cares? Somebody needs to just build the durn thing already, lol
I can't do it, I'm working on other junk right now.
Click to expand...
Click to collapse
You cant not build it because I doubt you have even compiled a kernel before. You are just a drag and drop dev. None if your roms are orginal, tweaks of others!. Not trying to flame, but its the truth.
Well, its whatever. People on XDA would much rather bash those that need help than to actually help them. I'm still learning but I can't get anywhere with these types of comments. So until then I'll be over at themikmik.com.
Follow me if you truely care. If not, nice knowing ya.

Help in Linux

What software do I need so I can use fastboot cmds? or is it ADB?
I'm wanting to load a ROM =)
MazinDLX said:
What software do I need so I can use fastboot cmds? or is it ADB?
I'm wanting to load a ROM =)
Click to expand...
Click to collapse
did you follow the directions to unlock your bootloader? if so, you already have all the tools you need
I was on a wind0ze box..
I am running gentoo only now.
You also need eclipse to flash hboots and at least 3 ubuntus to compile and flash baksmalis.
Sent from my HTC PH39100 using xda premium
I just want to flash a ROM.. do I really need 3 ubuntus to do that??
At least 3. Do you alreadiy have a flash-resistant USB cable?
Sent from my HTC PH39100 using xda premium
I just want to install the ROM... I dont understand where it got so complicated??
lol, KX
OP, just set up ADB SDK for linux...
no u need 2 ubuntu distros first to use compiler and compile 16 bit kernel then ubuntu 64 bit to make 32 arm kernel then u need again 32 bit linux, altho ubuntu is bit buggy for diff byte calc. but you can try so you need do diff on both kernels and diff apply to 16 bit kernel to get 18 bit kernel.
or
or you could use fastboot flash tool to flash new kernel or rom to your device...
aZuZu said:
no u need 2 ubuntu distros first to use compiler and compile 16 bit kernel then ubuntu 64 bit to make 32 arm kernel then u need again 32 bit linux, altho ubuntu is bit buggy for diff byte calc. but you can try so you need do diff on both kernels and diff apply to 16 bit kernel to get 18 bit kernel.
or
or you could use fastboot flash tool to flash new kernel or rom to your device...
Click to expand...
Click to collapse
Chumby, this is a dual core phone, so you have to diff twice for 36 bit.
Sent from my HTC PH39100 using xda premium
Ok, I'm on Gentoo Linux
I was following the guide here.
But I'm unsure how to make the program "android" actually start.
If anyone could help me I'd appreciate it.
http://developer.android.com/sdk/installing.html
Sent from my HTC PH39100 using xda premium
Ok, I have Android SDK installed, Platform Tools added.
Now when I try to get ADB or Fastboot going, It says permission denied.
But if I try to start Fastboot or ADB in SU/Root it says command not found.
WTF?
Once again, I'm on the newest Gentoo && 3.1.6 Custom Kernel.
Thanks for your time.
sudo ./adb devices
you either have to be in the same directory as the adb binary or you need to have platform tools in your PATH. if you added your PATH, you need to log out and log back in or reboot it
or restart bash....i prefer the log out
I don't know what the PATH is so i'm assuming I didn't add it.
Care to explain ?
Do I need to add my root/su account to a certain profile?
Like I said it works under my regular account, just not as root.. which is like sudo in ubuntu.
Sent from my HTC PH39100 using xda premium
http://developer.android.com/sdk/installing.html
How to update your PATH
Adding both tools/ and platform-tools/ to your PATH lets you run command line tools without needing to supply the full path to the tool directories. Depending on your operating system, you can include these directories in your PATH in the following way:
On Windows, right-click on My Computer, and select Properties. Under the Advanced tab, hit the Environment Variables button, and in the dialog that comes up, double-click on Path (under System Variables). Add the full path to the tools/ and platform-tools/ directories to the path.
On Linux, edit your ~/.bash_profile or ~/.bashrc file. Look for a line that sets the PATH environment variable and add the full path to the tools/ and platform-tools/ directories to it. If you don't see a line setting the path, you can add one:
export PATH=${PATH}:<sdk>/tools:<sdk>/platform-tools
On a Mac OS X, look in your home directory for .bash_profile and proceed as for Linux. You can create the .bash_profile if you don't already have one
Click to expand...
Click to collapse
MazinDLX said:
Do I need to add my root/su account to a certain profile?
Like I said it works under my regular account, just not as root.. which is like sudo in ubuntu.
Sent from my HTC PH39100 using xda premium
Click to expand...
Click to collapse
well that doesnt make sense. why are you trying to run as root? thats completely not necessary
You're enabling, PG.
kxhawkins said:
You're enabling, PG.
Click to expand...
Click to collapse
i love you
#nohomo

[Q] <<< Missing suchecker.apk ? >>>

Hi,
I followed the tutorial of ROOTING all thru to the final steps and could not download suchecker.apk from the link of dropbox.
Is it relocated somewhere else, please.
Wallace.
wclwong said:
Hi,
I followed the tutorial of ROOTING all thru to the final steps and could not download suchecker.apk from the link of dropbox.
Is it relocated somewhere else, please.
Wallace.
Click to expand...
Click to collapse
Code:
adb shell ls /system/xbin/su
The only "suchecker" you'll ever need
soupmagnet said:
Code:
adb shell ls /system/xbin/su
The only "suchecker" you'll ever need
Click to expand...
Click to collapse
thanks, but I am completely NEW
so do you mean i can ignore command "./stuff/adb install suchecker.apk" from the instruction, please.
./stuff/adb kill-server
./stuff/adb start-server
./stuff/adb devices
./stuff/adb install suchecker.apk
./stuff/adb reboot
What tutorial are you using?
soupmagnet said:
What tutorial are you using?
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=2074565
wclwong said:
http://forum.xda-developers.com/showthread.php?t=2074565
Click to expand...
Click to collapse
linux or mac ?
Yeah, you don't really need that. Root your device and use the command posted previously to check if it worked.
persano said:
linux or mac ?
Click to expand...
Click to collapse
Mac, sir !
wclwong said:
Mac, sir !
Click to expand...
Click to collapse
well, a pc is better for make it, or linux, obiusly, mac is horrible with this, it can do it, but i dont like to make this thinks in a mac, or linux, dont know why but windows for me is the best, i use it for all love short windows commands. mac is horrible, it is great, but for me, for making things in android isnt the best, obiusly, linux is the best for developing, but some people found windows simplier to use scripts

Install a recovery without a pc?

Hi everyone, I searched but didn't found but if any thread out there about installing a recovery without a pc(rooted with towelroot and installed super su and busybox and recovery-less). I know it's irrelevant but if there is a way to do it, it'll be super-awesome!!
As far as I know a PC is needed. This because we cant flash anything without a PC or a recovery..
Perhaps a developer can create a script that can be used with a script thing on the phone?
~~ Regards
This might be a revolutionary idea, @MrSteve555 introduced flash tool on the go and if this also happens, we might not need pc every time.
pranavthombare said:
This might be a revolutionary idea, @MrSteve555 introduced flash tool on the go and if this also happens, we might not need pc every time.
Click to expand...
Click to collapse
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
You are awesome buddy. Thanks
Help
MrSteve555 said:
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
Click to expand...
Click to collapse
Can you plz elaborate extraction step..
i m confused,which file to be extracted to the phone at which path!
You can use terminal emulator. .or mobile uncle tool to install recovery without pc
Press thanks
pradip.108 said:
You can use terminal emulator. .or mobile uncle tool to install recovery without pc
Press thanks
Click to expand...
Click to collapse
Actually the recovery partition is missing (I think so.).
How to use terminal emulator for installation ??
Then, download a terminal emulator onto your
and fire it up.
Once in the terminal emulator, type the following
commands one line at a time, waiting after each
line for the appropriate prompt:
$ su
# dd if=/sdcard/recovery.img of=/dev/block/
mmcblk0p18
# reboot recovery
Your device should then boot into the custom
recovery, which serves as immediate confirmation
that you did things correctly.
Sent from my GT-I8262 using XDA Free mobile app
No need to type commands just use root browser and just click on step1.sh and execute script as root and its done.
Hit " Thanks " if helpful.. :good:
Ok done?
Sent from my GT-I8262 using XDA Free mobile app
MrSteve555 said:
It's easy .
Download the latest recovery-flashable recovery package from dssmex.
Extract /data/local/tmp from the zip to same path on your phone.
Then run these commands from terminal:
Code:
chmod 755 data/local/tmp/step1.sh
sh /data/local/tmp/step1.sh
This way you can do pretty much everything without PC
Click to expand...
Click to collapse
After executing the script in the logs i have :
installation : OK
Model Number : C5303
Version : Unknow --> (ERROR: NOT COMPATIBLE)

Categories

Resources