[Q] Best/easiest temproot method for Desire HD 2.3.3? - Desire HD Q&A, Help & Troubleshooting

Hi, I need to temproot my DHD for some school work in order to run some commands via ADB Shell in superuser mode. IMPORTANT: I need to root it only TEMPORARILY, not permanently. I've got my reasons.
I was wondering if someone can recommend the best and EASIEST method out there to temproot the DHD. Here is my situation in point form:
My phone
=======
-Desire HD
-2.3.3 Gingerbread
-S-ON
I need to
=======
-Gain # access via adb shell (in workstation) in order to run some commands
-It doesn't matter if the temporary root is removed when i reboot the device, I only need to run a few commands in superuser mode and that's it
IMPORTANT: My Limitations
=====================
-I AM NOT ALLOWED TO PERMANENTLY ROOT THE DEVICE
-I need to keep modification of the device and its data to a bare minimum, the less the better
-I am not allowed to downgrade the device
-I don't need, and am not allowed, to flash custom ROMs onto the device
I've read about VISIONary, Gingerbreak and Advanced Ace Hack Kit, but VISIONary was not designed for 2.3.3, the Gingerbreak thread states that it doesn't work with S-ON devices and AAHK results in permanent rooting, not temporary.
Any advice/recommendations would be IMMENSELY appreciated, I really need to carry this out within the given limitations.
Thanks

You have a few option their is the frevo exploit,zergrush,and taco root.
Jkoljo root guide uses the frevo exploit in a more manual way so that might be your best bet. You'll will probably just need the beginning part of it.
http://forum.xda-developers.com/showthread.php?p=8927

try tacoroot exploit
it helps you gain temproot in adb shell to run the commands you want and can help you later on get permroot if u decide to

Related

gfree

Hi
Is it possible to use gfree on a non-rooted phone just to do the SIM unlock?
I guess I could do temp root + SIM unlock, right?
Bell Desire Z
I'm wondering the same thing. I just wanted a sim unlock for the time being so can I just temp root the phone?
The phone needs to be temp rooted (use rage) and then you can do the subsidy unlock method. Once that is complete it will stick with the phone after reboot if I'm not mistaken. You will just lose your temp root. But why wouldn't you want full root? Its really not that much more work. Especially if you already have adb on your computer.
Sent from my HTC Vision using XDA App
If you don't disable the NAND write protection via a permanent root method, then any changes you make via a temp root will not be written to permanent storage. So you'll lose those changes after a reboot.
So you need perm root to use gfree and make it stick. In fact gfree makes the root permanent for you. See the Wiki for details.
so I need to do s-off + sim unlock?
gfree_verify returns simlock=00, even without S-OFF
So I think it means it worked, no? Anyways why would there be an option to do only SIM unlock in gfree if you can't do it without S-OFF?
zorxd said:
gfree_verify returns simlock=00, even without S-OFF
So I think it means it worked, no? Anyways why would there be an option to do only SIM unlock in gfree if you can't do it without S-OFF?
Click to expand...
Click to collapse
You're right. Sorry, I misunderstood the question, at least partially. gfree turns off the NAND write-protection so that it can make its changes, so you can run it with temp root if you really want. But then you've very nearly achieved permanent root, all you need are the su and Superuser.apk files, plus running the "root" script.
I know, thanks
But I am a minimalist. I only enable features that I use.
There should be a simpler "how to". It's as easy as:
on computer:
get gfree and rage executables
adb push gfree /data/local/tmp
adb push rage /data/local/tmp
adb shell chmod 777 /data/local/tmp/*
on phone:
download and open terminal emulator
/data/local/tmp/rage
menu->reset terminal
open terminal emulator (force close)
open terminal emulator again
/data/local/tmp/gfree -S
reboot
zorxd said:
I know, thanks
But I am a minimalist. I only enable features that I use.
There should be a simpler "how to". It's as easy as:
on computer:
get gfree and rage executables
adb push gfree /data/local/tmp
adb push rage /data/local/tmp
adb shell chmod 777 /data/local/tmp/*
on phone:
download and open terminal emulator
/data/local/tmp/rage
menu->reset terminal
open terminal emulator (force close)
open terminal emulator again
/data/local/tmp/gfree -S
reboot
Click to expand...
Click to collapse
Your right, you are a minimalist
And this is exactly what you need to do to get sim-unlocked
I still would recommend you to -s off -c 11111111 too to get radio s-off and super-cid. In case you install the newer firmware versions by OTA you will not be able to:
- temp-root anymore because htc patched the exploit that rage used.
- not be able to change s-on/s-off perm-root because wpthis and gfree do not work on higher radio firmware versions
- not be able to downgrade to a lower firmware version (because this needs either radio s-off/super-cid or temp-root to be able to edit the version info in the misc partition 17
Just my suggestion - have fun - Guhl
Ok so basically if I do S-OFF and remove carrier id now you are saying that it would be permanent, even if I upgrade to a newer firmware?
zorxd said:
Ok so basically if I do S-OFF and remove carrier id now you are saying that it would be permanent, even if I upgrade to a newer firmware?
Click to expand...
Click to collapse
Yes for now this is permanent, the new updates to not change this.
But the new updates prevent you from rooting and changing any of these.
But if you are S-OFF you can downgrade and then you can change everything you want again.
Or let me summarize it like this:
- If you are radio s-off/super-cid you are safe because you will keep it and you still can downgrade
Thanks for the info. I ended up doing all three options with gfree.
Quick question: if I ever have to send my phone in for warranty, is there a way to reverse these things?
Goozy said:
Thanks for the info. I ended up doing all three options with gfree.
Quick question: if I ever have to send my phone in for warranty, is there a way to reverse these things?
Click to expand...
Click to collapse
Yes. gfree has options to un-do those actions, see the Wiki for details.

have S-OFF but no root access

I have S-OFF but now temp root visionary won't work for me and I can't get root access. Can only $ using adb so I can't push files. Any help would be apperciated
Try the method in the Wiki - http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
You should still be able to push files via adb though, I don't understand your comment about getting $ with adb (don't do an "adb shell" before you run "adb push", adb is a command for running on your PC, not your phone).
Same here. I did the wiki instructions. but /data/local/root gave me the cp:not found
and /su no a directory. visionary doesnt work. and rage never works right. my "root shell" doesnt let me do su. i think i might have no su. i'm really confused why this wont work. I've done four factory resets trying the rage method and the visionary method. I have S-OFF but nothing else as far as I can tell.
EDIT: I've read a bunch of threads on this and still can't find a solution
I've read in the Rage thread that there were issues with Visionary seeing root access. I would honestly give rage another shot. It worked brilliantly for me, you just have to have ADB configured first.
I did. i get temp root but gfree wont work. i have cid and sim unlock and s off but not system r/w. and when i run /data/local/tmp/root. also my phone will randomly restart now.
steviewevie said:
Try the method in the Wiki - http://forum.xda-developers.com/wik...sion#Rooting_the_Vision_.28G2.2FDZ.29_and_DHD
You should still be able to push files via adb though, I don't understand your comment about getting $ with adb (don't do an "adb shell" before you run "adb push", adb is a command for running on your PC, not your phone).
Click to expand...
Click to collapse
I tried this and it didn't work for me.
Can I reflash somehow to the stock rom? I think visionary somehow messed up my phone.
I reflashed to 1.12 and rage worked!
So if visionary has messed up your /su you need to reflash to stock because your /system is messed up.
http://forum.xda-developers.com/showpost.php?p=10966727&postcount=63
had the same problem. had s-off and all that fun stuff. had to do this.

Flashing Help

I am trying to flash my rom to this rom
http://forum.xda-developers.com/showthread.php?t=1054574&page=10
However, when I go into the bootloader and then into recovery I get a phone with a red triangle and a !. I'm a little confused what to do to get to my sdcard and push the new rom.
Any help is greatly appreciated.
are you rooted? need to be rooted to flash rom,
if you are, when you get that screen
you pres hold vol Up and press power
Nope, I am not rooted.
Would you recommend these steps for rooting a G2
http://forum.xda-developers.com/showthread.php?t=835777
HOW TO ROOT and S-OFF
- For rooting questions, please refer to the proper thread (rooting methods).
- Rooting an HTC Vision is a pain in the arse because there are many variants/versions, and not all rooting methods can be used on all of them.
- There are many ways to get root access: "rage" (ADB command line type) "visionary" (an APK installable app by paulobrien from Modaco) and "gfree". Using "Rage" is safer, "visionary" is simpler but many problemshave been reported, so "gfree" is the betterway to go.
- After using any of these, you can go further and turn S-OFF, CID-unlock and SIM-unlock the phone with "gfree", a safe and neat script written by scotty2 et al @ #G2root IRC. Sounds confusing ?? Just follow the instructions on the Wiki.
- TO ROOT, FOLLOW THE STEPS IN THE WIKI
VISION WIKI: ROOTING
- To check if your phone can be rooted you can check this neat thread:
[GUIDE] Root AND Downgrade ANY Desire Z or G2
Thanks to Aegishua
- Before "gfree" was available, transitory ("fake") S-OFF was achieved by flashing an engineering hBoot, but it is not safe and not recommended for newbies.
- As for reference, qpop made a neat a simple guide to get root S-OFF and CID unlock with visionary and gfree. It works a treat with Bell-NAM phones, but visionary sometimes doesn't work for some Asia/Voda versions.
The thread is located here: http://forum.xda-developers.com/showthread.php?t=857390, download the "UberRoot" package from the post footer, and follow qpop's guide.
(thanks scotty2 for your hard work and qpop for the guide !!)
- fattire has another neat and clear guide/tutorial for using gfree version 2, the thread is located here: [Guide] Subsidy Unlock, SuperCID, and Radio S-OFF
- More instructions and several methods to root in the WIKI:
WIKI - Rooting the HTC Vision,
and HTC Vision Permanent Root,
- You will need an ADB shell to run gfree and for other stuff. Please read the FAQ if you don't know what this is. If you don't have an ADB shell already set up and running, download the ADB drivers and the Mini ADB from this post's footer or download the full Android SDK (which includes ADB) and the HTC Sync software (to install the USB drivers on your PC).
- The older rooting guide and the older (and not so safe) "hBoot" way to ("fake") S-OFF have been moved to post 3 for reference purposes only. Plese scroll down to post 3 should you want to read the older guides.
no i recommend using the wiki method, with gree .5
http://forum.xda-developers.com/wiki/index.php?title=HTC_Vision
Ok, first I want to thank you guys for your help. I am using this guide;
http://forum.xda-developers.com/wik..._Root_.2F_.22Permaroot.22.29_using_gfree_v0.5
I have two questions. First does "Having the proper USB drivers installed - Windows USB Drivers for the Vision" - does this apply only for the vision or both the vision and the G2
And the second question is for step "2. Copy the files to the phone" I have downloaded all the files to my desktop and I want to unpack them in the folder called "root" from there I go into start->run and type cmd to go into command prompt
C:\root adb push psneuter /data/local/tmp/
C:\root adb push gfree /data/local/tmp/
C:\root adb push busybox /data/local/tmp/ ...etc and so on correct?
I am trying to setup ADB using this guide
http://forum.xda-developers.com/showthread.php?t=865685
INSTALLING ADB ON WINDOWS - METHOD B, THE "QUICK" WAY, NO SDK
However, the link for the file appears to be gone for step two. Curious as to where I could find it.
best to install sdk in C:/ then if you can set adb.exe in your windows enviroment
Ah neato, that guide links to mine =P
Anyways you should try following this guide to set up ADB and fastboot. Then from there you are free to choose any method for rooting your device. I personally would use psneuter to temp root and then permanent root via gfree. Its just safer overall and a lot easier if you just follow the steps.

[Q] rooted G2 adb shell defaults to user, not root with eng boot

I have a rooted G2 with ENG S-OFF and when I log into shell via "adb shell", it starts as user ($) as opposed to root user (#). Once I'm running in adb shell, su won't work until phone is fully booted and permission is granted from superuser app. This seems like I don't have eng boot and/or S-OFF, but I do according to HBOOT and gfree_verify.
I did perm root a while back and I think S-OFF at the same time, and then later on I used gfree to do the other options (sim unlock and super CID). Doing some searching I came accross the command getprop ro.secure ... if I run this from adb shell as user ($), it returns 1, as (#), it returns 1, and from terminal on phone as root (#) it also returns 1. From my light understanding, this should be 0.
Does anyone have any thoughts as to what is going on? A potential fix is to redo everything with gfree (?) ... not sure what else to try. Any help/advice would be appreciated. Thanks much.
Are you running a custom rom.... because I know the stock rom doesn't stick root very good....
I am running stock rom...sorry I forgot to mention that. Since root doesn't stick well with stock, does that mean I should try process again? Thanks.
It seems that what I described as my problem is actually expected behavior since I am running stock rom. The ro.secure flag located in the default.prop file at / is typically 1 for stock roms where as if someone were to customize a rom, they would set that flag to 0 most likely. Changing it from the OS won't do anything since it gets loaded from the boot.img image at startup. One could extract boot.img, modify, and re-flash, but I'm OK with it for now.
I wanted to give an update on my findings in case anyone else was curious about this. I had recently rooted a Thunderbolt and as a result of that method, ro.secure = 0, so I was confusing myself as to why it was 1 on my G2...but now I know.
Thanks needs to go to Guhl over at #G2Root on Freenode for helping explain this to me.

[Q]come in, if you are the super expert on DHD.

I have a DHD recently. it's repaired from HTC factory.
Backgroud:
In order to break it, I've upgrated it from 2.36 to SoftBank_JP 2.37. and rooted with gingerbreak already.
I connect to the mobile under "adb shell" and got the "#".
the system was remounted with RW.
Boot was remounted with RW.
sdcard was writable.
I tried to set the version with the tool "misc_version -s 1.31.707.1" it displayed successful. but failed in the bootloader with " the mail version is older".
so I tried to rewrite the partition misc (/dev/block/mmcblk0p17), but no luck.
I remount the system with RW, push Superuser.apk, busybox, su in sysytem, granted with proper permission. but they will missed after the mobile reboot.
So I need a special help me to unlock the partition. since the phone now is ship s-on rl. I think if we have a way just like "insmod wpthis.kp" I think that will be much easier.
look forward a super expert can help me this. I am a ROMer in the Chinese too,
I wrote lots of guide to root DHD, no matter its version is 1.32 or 1.78 or 1.84 even 2.36 and 2.37, I write the guide too. But this time is really hard to me. it's beyond my capability. need help!!! greatly help...
What I need finally? I need to downgrade to 1.32 or s-off the mobile directly.
still no one can helps. why....
So you want to root your dhd? No one replied probably due to various guides on here.
Downgrade to 1.32 then use visionary + tool.
Sent from my HTC Desire HD using xda premium

Categories

Resources