Hi,
I want to root my Defy+, but I am not sure how to do it from a Linux box. I have read several threads on the topic, but all of them seem to assume that one is rooting from a Windows box. I run Linux myself and haven't found any good tutorial here.
To start with, I have downloaded the SDK and using adb I have connected to the phone and listed the devices. The phone is there.
I found a guide on how to root a Defy from Linux on this page: https:/ /www . ibm. com/developerworks/mydeveloperworks/blogs/coolwinding/entry/how_to_root_defy_on_linux1?lang=en
The page also contains a zip file called root_defy_tools.zip with some files that should be pushed to the phone (exploit.bin (psneuter), su, Superuser.apk, busybox).
I also took a look at a file called SuperOneClickv2.3.3-ShortFuse.zip which seem to be used when rooting a Defy from Windows. It contains - among others - the same files as the root_defy_tools.zip file.
Some questions:
- is there a difference in how to root a Defy and a Defy+? The page I linked to describes how to root a Defy. Can that instruction be used for a Defy+ as well?
- both root_defy_tools.zip and SuperOneClickv2.3.3-ShortFuse.zip contains psneuter ans Superuser.apk, but the files has different file dates and size varies. What difference can there be between the files? Does it matter which versions I use? How do I know which version to use?
- if I ever want to unroot my phone, how to I do it? Is is just to perform the steps in reversed order? Or do I need to do anything else?
After some struggling, I managed to use the instructions in http://forum.xda-developers.com/showthread.php?t=1595013 to root my Defy+ using Linux.
To flash the sbf, I used the utility sbf_flash: http://blog.opticaldelusion.org/
effo70 said:
After some struggling, I managed to use the instructions in http://forum.xda-developers.com/showthread.php?t=1595013 to root my Defy+ using Linux.
To flash the sbf, I used the utility sbf_flash: http://blog.opticaldelusion.org/
Click to expand...
Click to collapse
thanks for sharing this. do you mind giving some instructions for beginners may be including shell commands?
i'm not new to rooting, android n'or linux, just to motorola..
some info about my defy+:
complete stock
model: MB526
android: 2.3.6
baseband: EPU93_U_00.60.03
kernel-version 2.6.32.9-ge281b6e [email protected] #1
build-number: 4.5.1-134_DFP-231
thanks in advance
steveeJ what kind of shell commands do you want? ADB? And for what..?
Related
Guys,
Would you mind to write up a tutorial how you root your DHD ?
I'm a newbie for android and i have no idea.. been trying to read articles and i still cant understand.
I have downloaded the file called dhd_root.zip and now what ?
some people are mentioning about the gscript and blar blar blar.. what is all that about??
i have no idea what to do now... please help..
*please do not flame me for not using the search function as i read few of them and i do not understand at all*
Thanks
I personally used Evostance's guide, it was very simple and easy to follow: http://forum.xda-developers.com/showthread.php?t=834427
That's the link. I do believe there are simpler methods now using Visionary. Just check the Development sub-forum and they have more tutorials there
Sylpher said:
I personally used Evostance's guide, it was very simple and easy to follow: http://forum.xda-developers.com/showthread.php?t=834427
That's the link. I do believe there are simpler methods now using Visionary. Just check the Development sub-forum and they have more tutorials there
Click to expand...
Click to collapse
Hey Sylpher,
I did tried to read Evostance's guide but where is the guide?
Step By Step Guide - Download link below
11/11/10 V2
http://www.multiupload.com/KK66WUNUWS
See the main thread for details on the root:
http://forum.xda-developers.com/showthread.php?t=805327 ----> i do not understand at all... all those code like listed below
Go to adb shell, switch to root (su) and do the following:
insmod /sdcard/wp-(version).ko
for example: insmod /sdcard/wp_g5ed1769.ko
This will disable wp (will be enabled on reboot though...)
dd if=/sdcard/hboot_eng.nb0 of=/dev/block/mmcblk0p18
This will install engineering hboot
totally confused.
The link that he provides includes all the files + the tutorial (in a PDF file). So yeah just download that first and it should be quite straightforward from there on.
Sylpher said:
The link that he provides includes all the files + the tutorial (in a PDF file). So yeah just download that first and it should be quite straightforward from there on.
Click to expand...
Click to collapse
Sylpher,
Thank you so much for the info (The link that he provides includes all the files + the tutorial (in a PDF file).
I have no idea there is a tutorial file inside the zip.
I will give it a go when i got home and then pm you after that.
Thanks again.
No problems
You can try this too, a member here compile it. http://hemorrdroids.net/overclock-undervolt-your-desire-hd/
if you dont already have a file explorer then download astro from market place
download visonary r12 from here and copy apk file to sd card on the phone and install from there
http://android.modaco.com/content/h...722/10-nov-r12-test-visionary-one-click-root/
download superuser from market place and install on the phone
make sure usb debuggging is enabled on the, also unkown sources is allowed phone(settings/applications/development)
run visionary and don not check any of the 3 box on the screen
run temp root and let it finish
then attempt perm root it will ask for super user permission, allow this and the phone should root and reboot
to test it has work down load adfree from market place and see if it runs, if it does you have full root
simples
nmyseteroious said:
You can try this too, a member here compile it. http://hemorrdroids.net/overclock-undervolt-your-desire-hd/
Click to expand...
Click to collapse
that's a really good tutorial. I think i'll follow that one when i decide to root and s-off my DHD.
SupremeBeaver said:
that's a really good tutorial. I think i'll follow that one when i decide to root and s-off my DHD.
Click to expand...
Click to collapse
Although I wouldn't recommend anyone to rush into the act of rooting their device, do bare in mind, that the exploit we are using to obtain root will be patched sooner or later, so whilst thinking about it I would be very wary of applying any future OTA upgrades as so you may find you once more have an unrootable device
i try all the available ways like (hack4legend-v5.zip) the result not what needed look at pictures
and it doesn't work
(i don't wont to root i want just to go back to this rom
RUU_Legend_HTC_ISR_2.05.461.52_Radio_47.39.35.09_7.08.35.21_release_140015_signe
.exe
:- )
and my phone from cellcom Israel
___________
and i try this
- Temproot with VISIONary r13 (install the downloaded file as per a normal APK)
- Once you are temprooted, connect via 'adb' and do 'su' (to get root) then '/data/local/flash_image misc /data/local/misc1-2.img'
You should then be able to downgrade in the normal way.
_____________________________________________
also no way
and try the r4-legend-root no way ,, please helllllllllllllllp
___________________________________________
The HBoot version is :- 1.01.0000
my rom now is :-
Android :2.2
Baseband
47.51.35.17u_7.13.35.05
kernel
2.6.32.17
build number
3.15.707.3 CL291292
software
3.15.707.3
Helppppppppppppp Help please ...
Try using guide for downgrade.. then install the desired rom..
Sent from my Legend using XDA App
I have exactly the same problem. My Software Number is 3.15.405.3 (Stock Firmware). Bootloader and Radio Version are the same as yours. Tried the other tutorial with the manual downgrade, but adb commands won't work in the shell (adb:not found).
Any suggestions?
You have to downgrade in order to root.
If you don't need root, then why are you running root tools...?
Finally I managed to do it and am now rooted with 1.01 Bootloader.
You have to do exactly the things from Paul's tutorial. The only thing I made different is that I used z4root for temproot, after having executed the crackin.bat script from here: http://forum.xda-developers.com/showthread.php?t=725430 (REMEMBER: It is normal that it fails, but you can ignore this for the next steps.)
Then after you have the temproot it is important to execute the following commands in windows terminal:
1.) adb
2.) su
3.) /data/local/flash_image misc /data/local/misc1-2.img
Now you start your 1.31 RUU exe file in order to downgrade and afterwards you proceed with normal root from Modaco.
i have get confused little bit when to use this commands ??? after the crackin.bat or before and installing the z4root before crackin.bat or after ??? and when exactly did you use the gold card ??? or insert it ? i mean the steps , thanks again
thank you very much again ....
You keep your phone on the whole time, no restart.
First you execute the crackin.bat, then AFTERWARDS you use z4root to get temproot. Then you open a command shell in Windows (cmd.exe) and type in the commands one after one (phone has to be connected to USB).
After the execution of the last command, you can start the 1.31 RUU exe file and downgrade.
As for the goldcard: I had it in phone for the whole time.
FORCOMM said:
i try all the available ways like (hack4legend-v5.zip) the result not what needed look at pictures
and it doesn't work
(i don't wont to root i want just to go back to this rom
RUU_Legend_HTC_ISR_2.05.461.52_Radio_47.39.35.09_7.08.35.21_release_140015_signe
.exe
:- )
and my phone from cellcom Israel
___________
and i try this
- Temproot with VISIONary r13 (install the downloaded file as per a normal APK)
- Once you are temprooted, connect via 'adb' and do 'su' (to get root) then '/data/local/flash_image misc /data/local/misc1-2.img'
You should then be able to downgrade in the normal way.
_____________________________________________
also no way
and try the r4-legend-root no way ,, please helllllllllllllllp
___________________________________________
The HBoot version is :- 1.01.0000
my rom now is :-
Android :2.2
Baseband
47.51.35.17u_7.13.35.05
kernel
2.6.32.17
build number
3.15.707.3 CL291292
software
3.15.707.3
Helppppppppppppp Help please ...
Click to expand...
Click to collapse
i try all the available ways like (hack4legend-v5.zip) the result not what needed look at pictures
and it doesn't work
(i don't wont to root i want just to go back to this rom
RUU_Legend_HTC_ISR_2.05.461.52_Radio_47.39.35.09_7 .08.35.21_release_140015_signe
.exe
:- )
and my phone from cellcom Israel
___________
and i try this
- Temproot with VISIONary r13 (install the downloaded file as per a normal APK)
- Once you are temprooted, connect via 'adb' and do 'su' (to get root) then '/data/local/flash_image misc /data/local/misc1-2.img'
You should then be able to downgrade in the normal way.
_____________________________________________
also no way
and try the r4-legend-root no way ,, please helllllllllllllllp
___________________________________________
The HBoot version is :- 1.01.0000
my rom now is :-
Android :2.2
Baseband
47.51.35.17u_7.13.35.05
kernel
2.6.32.17
build number
3.15.707.3 CL291292
software
3.15.707.3
Helppppppppppppp Help please ..."
i too have the same problem ......
u got any solution
Is it possible to run a version of Debian Linux on the Milestone 2?
It seems people have had success on other devices, aided in part by the use of custom firmware that gives access to bash, etc.
lanrat.com/android/debian
Any information or ideas would be greatly appreciated.
Thanks
Well it depends on how you define "running debain". I have a debian chroot on my milestone2 I can run all of the programs in the debian suite. Openssh, openvpn, qemu-i386. I never thought I would have an arm processor in my cellphone that could run I386 software (ventrillo specifically)
Now running debian kernel and as a root file system... crack the bootloader first and then we can talk about this.
My recommendation is root your phone and learn about debootstrap.
As always, this isn't for the newbie. So, any damage to your phone, software or mental stability is not covered.
Sent from my MotoA953 using XDA App
I created a debootstrap image in ubuntu 10.10, but i'm not sure where to mount the image or how i'd go about chroot-ing it for use as a debian file system.
Do you have access to all ARM-compatible linux binaries on your phone now?
Haitala said:
Is it possible to run a version of Debian Linux on the Milestone 2?
It seems people have had success on other devices, aided in part by the use of custom firmware that gives access to bash, etc.
lanrat.com/android/debian
Any information or ideas would be greatly appreciated.
Thanks
Click to expand...
Click to collapse
Hi Haitala , I have successfully installed debian lenny in ME722(milestone2 chinese version),
please visit: h-t-t-p://bbs.gfan.com/android-1211243-1-1.html, (replace h-t-t-p with http), this post provided a quick install method which required just 2 files:debian.img and bootdebian script. Download and copy debian.img to /sdcard/, copy bootdebian to /data/local/bin/.
Some pics avaliable on: h-t-t-p://bbs.gfan.com/android-1193358-1-1.html
You'd better read it via google translation.
The major difference to before is that Milestone2 doesn't support ext2 but ext3, so I created an ext3 IMG file and mount to /data/local/debian/, and then it works!
Would you upload the chinese files on another server, like DropBox, MediaFire or MegaUpload? I can't download, the wait time is 27 days... ¬¬
dangpzanco said:
Would you upload the chinese files on another server, like DropBox, MediaFire or MegaUpload? I can't download, the wait time is 27 days... ¬¬
Click to expand...
Click to collapse
It will expire in 27 days, not waiting time, so pleanse click "backup download" link.
Not able to get it work
Hi,
I have a routed Moto A953 (from Expansys.com) The kernel version is : 2.6.32.9-gd2377eb
And I am trying to chroot Debian/Ubuntu in it..
I built the ubuntu.img rootfs for chroot in Ubuntu 11.04 via rootstock ! And I am not able to get it to work.. I am able to run all the mount commands, but when I try to chroot /data/local/ubuntu to /bin/bash, I get an error: "Segmentation Fault"
Any ideas?
I am thinking, may be its the kernel? Ubuntu Natty's kernel is 2.6.39+ any help?
Or could anyone, please share their working rootfs image?
thanks
PizzaRoll said:
Well it depends on how you define "running debain". I have a debian chroot on my milestone2 I can run all of the programs in the debian suite. Openssh, openvpn, qemu-i386. I never thought I would have an arm processor in my cellphone that could run I386 software (ventrillo specifically)
Now running debian kernel and as a root file system... crack the bootloader first and then we can talk about this.
My recommendation is root your phone and learn about debootstrap.
As always, this isn't for the newbie. So, any damage to your phone, software or mental stability is not covered.
Sent from my MotoA953 using XDA App
Click to expand...
Click to collapse
Could you please share your working rootfs ? tar.gz (it will be smaller, isn't it?) or .img ?
Update:
I downloaded debian.img from h-t-t-p://bbs.gfan.com/android-1211243-1-1.html
(I was not able download the bootdebian so I am not which commands he is using to chroot )
Anyway, the good news is I was able to "chroot", but the bad news is... something is wrong in the .bashrc of the debian.img ; So so none of the commands work in the debian shell.. I am currently trying to build a working Ubuntu rootfs myself !
And its working..
Finally I figured it out..
I have Ubuntu Chroot working in my Motoroala Milestone 2 A953 !!
It took a while, but working great now..
Anyone need any help, let me know !
cheers
Well, could someone post a step-by-step How To here? Because this topic is a little bit confusing...
Sent from my Milestone 2 XDA App
dangpzanco said:
Well, could someone post a step-by-step How To here? Because this topic is a little bit confusing...
Sent from my Milestone 2 XDA App
Click to expand...
Click to collapse
I started a new Thread with the tutorial: http://forum.xda-developers.com/showthread.php?p=13690183
im a noob and i installed adb and in adb the serial number of the mytouch is there or watever it is. n i just dont understand the part of put the frevo file inside the frevo zip file inside the platform tools n the misc version inside the misc zip file in platform tools.wat do i do with the rest misc files that were in the zip file its too downgrade n i dont thats only part dont understand to downgrade plz reply fast i alredy want to downgrade n already saw all the other forums of it
Did you install android sdk or just adb by itself?
Sent from my HTC Glacier using xda premium
You know that ZIP files contain other files?
You know you can extract those files?
You know that there are different folders on disk?
You know that folders are in a tree-like structure?
You know where platform-tools folder sits under SDK folder?
You know how to move ZIP files where you need?
You know how to extract ZIP files in place?
Answer all these, and you'll know what to do.
If you don't know the answer to one or two specific questions - ask away.
If you don't know some of the answers and can't or don't want to look for them - please refrain from rooting. Rooting isn't just for fun, it gives you some powers over your phone that you need to know how to use - otherwise your phone will have a great potential to end up screwed.
Whoa alexriio!
You can find a lot of people here to help you but you will need to do 2 things first :
1- Please write complete sentence. It's so hard to read you; a lot of people will skip you post.
2- Read these tutorial :
ADB from cyanogenmod
http://wiki.cyanogenmod.com/wiki/ADB
Newcomers please read me, a helpful little guide by neidlinger
http://forum.xda-developers.com/showthread.php?t=1281085
[GUIDE] Downgrade G2 (2.3.X) & DZ (2.3.X) & mT4g (2.3.4) & DHD w/ S-ON to Stock Froyo by Setherio
http://forum.xda-developers.com/showthread.php?t=1178912
My usual advice is :
1- Print all part of the tuto (tuto, downgrade to froyo, CM install...)
2- Read it carefully and come back here to ask questions
3- Prepare all file in distinctive folder (check all file with md5sum!)
4- Grab a coffee (or tea, or beer )
5- Attack!
Regards.
I installed everything n know how to root n flash. And I installed adb n sdk too. And I extraded the frevoo n misc zip file. n then it said put the files into the sdk platform tools so I did but on the misc file there's alot of files inside the zip. so which one do I put in the platform tools
Sent from my LG-E739 using xda premium
This is what I have in platform-tools :
$:>ls /opt/android-sdk/platform-tools
aapt*
adb*
aidl*
busybox
dexdump*
dx*
fastboot*
fixsu.sh
fre3vo
gfree*
hboot-eng.img
lib/
llvm-rs-cc*
misc_version*
NOTICE.txt*
PD15IMG.zip
psneuter*
recovery-clockwork-5.0.2.0-glacier.img
renderscript/
root_psn
source.properties*
su
SuperUser.apk
update-cm-7.1.0-glacier-signed.zip
Click to expand...
Click to collapse
The rest of the file in misc_version.zip are the source.
Thanks you that's wat I wanted
Sent from my LG-E739 using xda premium
Need help downgrading mytouch
Greetings. I've got a mytouch 4g. I have followed the instructions in http://forum.xda-developers.com/showthread.php?t=1178912. Excellent article. Every step works great. I have tried both the manual downgrade section and the fastboot downgrade section. Both methods appear successful. No error messages, etc... When the phone reboots it boots to a fresh 2.3.4. Im sure im skipping something simple. Any ideas greatly appreciated!
Hello!
How can one root official 2.3.5 rom without connecting to usb and adb?
The goal is to install custom ICS on U8800 that has no usb port - completely broken and even not charging phone. No warranty and repair cost is close to actual phone cost. So repairing is not an option.
Wireless adb app requires root first - so it is not an option for me also.
Any help is appreciated - I need ISC because I need ipsec vpn which is npt available in gingerbread.
I am ready to test any operation you suggest - I don't fear to brick the phone, need no backups.
It's impossible. I have one USB broken u8800 and that's why I use cm7 (.32) on it.
Sent from my U8800 using Tapatalk 2
Qqqxxxzzz said:
It's impossible. I have one USB broken u8800 and that's why I use cm7 (.32) on it.
Sent from my U8800 using Tapatalk 2
Click to expand...
Click to collapse
There is nothing impossible I believe
Maybe we could find the trick - gingerbreak works on some roms - another fine exploit maybe.
I don't know - worth a try I think.
tranced1 I might have 1 possible solution for you. I've rooted my 2.3.5 some time ago and I've done a backup of boot.img.
I remember with froyo we could root it with boot.img "rooted". I bet this won't work on 2.3.5, but who knows right?
If you want to give it a try, I upload that boot.img for you.
EDIT: darn! Totally forgot you can't access bootloader directory without root & damaged usb port
Can't remember another way out... sorry
tranced1 said:
There is nothing impossible I believe
Maybe we could find the trick - gingerbreak works on some roms - another fine exploit maybe.
I don't know - worth a try I think.
Click to expand...
Click to collapse
Gingerbreak and z4root doesn't work. Only solution is build your own exploit.
Sent from my U8800 using Tapatalk 2
Is there any way to flash zip from stock recovery? I saw this root method for some samsung phones.
Does anybody know how to compile such .zip file?
tranced1 said:
Is there any way to flash zip from stock recovery? I saw this root method for some samsung phones.
Does anybody know how to compile such .zip file?
Click to expand...
Click to collapse
compiling zip is easy. Your problem is that we don't know how to sign it correctly.
Sent from my GT-P1000 using Tapatalk 2
I believe that you can use terminal emulator and zergrush exploit to root the phone.
The automatic root methods basicaly push the needed files on /data/local change permissions etc... All can be done with linux commands which are available from a terminal emulator. So I don't think that you need the usb cable to root the device. You can try investigate the runme.bat file from doomlord's root method and give the commands manually after you have put the files from files directory on sdcard.
dancer_69 said:
I believe that you can use terminal emulator and zergrush exploit to root the phone.
The automatic root methods basicaly push the needed files on /data/local change permissions etc... All can be done with linux commands which are available from a terminal emulator. So I don't think that you need the usb cable to root the device. You can try investigate the runme.bat file from doomlord's root method and give the commands manually after you have put the files from files directory on sdcard.
Click to expand...
Click to collapse
adb can access the phone as root user - from terminal file system is read-only, so even first step permission denied
Yes, you have right about that.
But, check this thread:
http://forum.xda-developers.com/showthread.php?t=1716068
the last post.
EDIT:
After reading the discription on first post of gingerbreak, I had another Idea.
Seems that gingerbreak uses sd card to temporary store the necessary for root files. So, maybe you can replace these files(and especially the exploit) whith those of doomlord's root app, before you press the root button, so to use the working zergrush exploit.
This is the B528 root bat script:
http://pastebin.ca/raw/2163499
@adb wait-for-device
@echo --- DEVICE FOUND
@echo --- reboot to bootloader
@adb reboot-bootloader
@echo --- flash the rooted bootimage
@fastboot boot boot.img
@echo --- reboot to nomal mode
@fastboot reboot
@echo --- wait for adb connect
@adb wait-for-device
@echo --- DEVICE FOUND
@adb remount -t yaffs2 /dev/block/mtdblock3 /system
Click to expand...
Click to collapse
You're problem is in red... you have to flash the exploited boot image. The rest is just installing busybox, su and SuperUser.apk.
You have the stock recovery which allows you to flash .zip files, but they have to be signed correctly and I don't think that's possible.
VuDuCuRSe said:
This is the B528 root bat script:
http://pastebin.ca/raw/2163499
You're problem is in red... you have to flash the exploited boot image. The rest is just installing busybox, su and SuperUser.apk.
You have the stock recovery which allows you to flash .zip files, but they have to be signed correctly and I don't think that's possible.
Click to expand...
Click to collapse
To boot a different boot image, you have to use USB, atleast on fastboot.
dancer_69 said:
Yes, you have right about that.
But, check this thread:
http://forum.xda-developers.com/showthread.php?t=1716068
the last post.
EDIT:
After reading the discription on first post of gingerbreak, I had another Idea.
Seems that gingerbreak uses sd card to temporary store the necessary for root files. So, maybe you can replace these files(and especially the exploit) whith those of doomlord's root app, before you press the root button, so to use the working zergrush exploit.
Click to expand...
Click to collapse
Thanks for clues but seems there is no way - I cant execute exploit via ssh - permission denied I cant even chmod it.
Gingerbreak completely not working - no files created on sdcard.
Ι didn't find any other way on net. There are several discussions for this problem but not a solution. I think that the only way is to do it for an app. You can contact with the creator of gingerbreak or z4root to ask for it. Also I'll try to make an app myself, but my android developing knowledge is very basic, so don't count too much on this. If I have some kind of success I'll contact you via PM.
EDIT:
Try this mod, and if you are lucky...
dancer_69 said:
Ι didn't find any other way on net. There are several discussions for this problem but not a solution. I think that the only way is to do it for an app. You can contact with the creator of gingerbreak or z4root to ask for it. Also I'll try to make an app myself, but my android developing knowledge is very basic, so don't count too much on this. If I have some kind of success I'll contact you via PM.
EDIT:
Try this mod, and if you are lucky...
Click to expand...
Click to collapse
No I am obviously not the lucky one
My android development knowledge is zero, so if you can run zergRush from executable area it will be a very good start.
And I want to thank everybody for your support.
So, it doesn't work?
I just updated the file, so give it another try.
Also, check if you have logcat and usb debuging enabled(is needed for other methods, so maybe needed here too)
dancer_69 said:
So, it doesn't work?
I just updated the file, so give it another try.
Also, check if you have logcat and usb debuging enabled(is needed for other methods, so maybe needed here too)
Click to expand...
Click to collapse
Logcat: Cannot copy boomsh. : Permission Denied
I will revert to first beta now - and will test if it will work
I suppose this logat message is for z4root fail. Unfortunately I don't know what boomsh is. I just decompiled the apk and replaced the exploit, busybox, superuser, and su files with these from doomlord's root files directory.
So, easy solution didn't work. If I have something else I'll let you know.
EDIT:
I get some info about "cannot copy boomsh"
The exploit creates this file when run. This message appears when this file already exists and needed to be deleted from /data/local/tmp.
I checked z4root-mod on my device(which is already rooted and with ICS custom rom), and I get this message too.
The problem is that this file doesn't exist on my device, so I cannot delete it.
---------- Post added at 04:16 PM ---------- Previous post was at 03:17 PM ----------
I read on a forum that these apps(as z4root) run better after a fresh boot. So, install the latest apk(has newer files), reboot the device and run z4root again.
z4root is a froyo root exploit (I think) and seems "dead" for a long time.
Check Chainfire's Gingerbreak: http://forum.xda-developers.com/showthread.php?t=1044765