yashsingh1/xdaforums huggingface dataset:
[myTouch 4G Android Development] mfouco:
Well, i'm using Version 11 of Visionary+. The regular one just jumps into rooting without options (Version 1.0 in other post) and the forcecloses. I flashed the OP zip twice again and i'm running once more to see if i can get it to stick...

thanks for your help, i'll keep posting.
[myTouch 4G Android Development] mfouco:
Thanks, i was able to download them after i switch the http://dl. to http://www.
[myTouch 4G Android Development] slhpss:
@mfouco I will be glad to work this out with you over your im app of choice. I should be home from work in no more than 2 hours.
[myTouch 4G Android Development] mfouco:
Great, i'll PM you the info.. Thank you so much...
[myTouch 4G Android Development] stoute:
Error Installing Update.zip

I tried to install the posted update zip and am getting an error message.

***ClockworkMod Recovery v2.5.1.2***

--Install from sdcard...

Finding update package...

Opening update package...

Installing update...

assert failed: file_getprop("/system/build.prop", "ro.build.fingerprint") == "tmobile/htc_glacier/glacier/glacier:2.2/FRF91/265542:user/release-keys" || file_getprop("/system/build.prop", "ro.build.fingerprint") == "tmobile/htc_glacier/glacier/glacier:2.2.1/FRG83/277036:user/release-keys"

E:Error in /sdcard/update.zip

(Status 7)

Installation aborted.

Any thoughts. I'm sure its something simple to fix or something I did wrong.

Thanks
[myTouch 4G Android Development] slhpss:
Are you flashing it in clockwork?
[myTouch 4G Android Development] stoute:
Yes, I am flashing using clock work. thats how I got the test quoted above.
[myTouch 4G Android Development] stoute:
I attached a zip video of what happens when I try to flash
[myTouch 4G Android Development] grankin01:
What is your hboot version?

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] slhpss:
I'm working with him... I just found out he was on version 1.13.... so we had to upgrade him to stock then run it from there
[myTouch 4G Android Development] stoute:
Thanks again for the assist! Works like a charm. Apparently Having the 1.13 threw off the whole process.

Many thanks to SLHPSS
[myTouch 4G Android Development] slhpss:
now for mfouco... that guy has been hard at it... hopefully he is working... I think we figured out his problem, just waiting on him to verify whether or not it's working
[myTouch 4G Android Development] grankin01:
Glad it worked. Wasn't trying to step on any toes. :D

Hope you did figure it out I know mfouco has been pulling his hair out on it. What do you think it was if you don't mind me asking?

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] stoute:
Not sure if you were asking me but when we were going through it we had to "flash" using clockwrok a second update file. The first one changed 9 items and bypassed item number 7. the second updated only 4 items. since that second update it worked flawlessly.

we also had to edit an misc.img file using a hex editor.

lots of switching from disk drive to charge only but well worth it.

Thanks again guys.
[myTouch 4G Android Development] slhpss:
he (mfouco) uninstalled some of the protected system apps before flashing which was screwing it all up... I dunno how he got to where he was. He got help from coachmai to get to 2.2 and root working, but that's where it was when I got home from work... I had him rework through the downgrade back up because he said that it was saying there was an error with the maps apk while trying to update... which is when I found out he deleted the stuff and suggested a restart from stock... should solve the problems...

stoute's issue was related and it wasn't... his files were different because he was running pre release software... 1.13... so the files weren't what was expected and he upgraded to 1.14 then to 1.17 so basically the same process

Please everyone else, use nandroid backups before removing software OR us titanium backup and backup the system apps you're removing it will make update processes that expect those files to be there easier in the future :D
[myTouch 4G Android Development] dcwiker05:
So after doing the second part of this I rebooted my phone and now sense keeps force closing...
[myTouch 4G Android Development] stoute:
I had the same issue before and needed to hop into hboot mode and preform a factory reset then start over again.
[myTouch 4G Android Development] grankin01:
If you can get into clockwork (not the recovery the app) do the "fix permissions" step and reboot when it tells you to. Sometimes the permissions get jacked up and this option will fix the force closes (sometimes). Invasive point to start at though. :D

Otherwise, yes I would suggest the wipe and start over like the post above this one.

Edit: clockwork recovery has the "fix permissions" option too if you can't use the app.

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] slhpss:
@grankin01 thanks for picking up my slack... I think mfouco may have it... but now he's gone silent on yahoo

and don't worry about stepping on my toes... I enjoy having members of this community enthusiastic and willing to help
[myTouch 4G Android Development] dcwiker05:
I already did a factory reset and that fixed everything. Wish I would have tried this first though cuz now I have to redo all my apps lol.
[myTouch 4G Android Development] stoute:
When this happened to me i tried the fix permissions option and it didn't seem to fix the force close issue that you were talking about. I had to factory reset.

But if anyone else has the issue please try that first.
[myTouch 4G Android Development] pklee:
i'm getting this far, now when i try to run rage it says "opendir fail, permissions denied" this is driving me crazy... uninstalled both visionary+ and superuser as well and wiped the device... pulled battery and restarted, ran visionary+ again.. says my device is already rooted... any ideas?
[myTouch 4G Android Development] grankin01:
At that point do you have # prompt or $ prompt?

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] pklee:
$

verified that i'm s-off as well....
[myTouch 4G Android Development] grankin01:
Uninstall/reinstall superuser.apk without doing anything else and see what that does.

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] pklee:
tried that, none of my apps are requesting su permissions
[myTouch 4G Android Development] coachmai:
@pklee

instead of running rage from /data/local/rage

adb push rage /data/local/tmp/rage

then

adb shell chmod 0755 /data/local/tmp/rage

now see if rage will run from that directory from your term emulator - if that works continue with procedures you were following.
[myTouch 4G Android Development] grankin01:
I just sent him a pm to do the same thing but within /data/local. Lol:D

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] CaliCL9:
Is there any way to do the 2nd step of re rooting after installing the update? i cant get adb to work right on my computer
[myTouch 4G Android Development] grankin01:
You have to use adb to be able to copy to /data/local. You can't do it on your phone until you get root. (paradox)

What is wrong with your adb?:confused:
[myTouch 4G Android Development] CaliCL9:
damn im so screwed is there anyway to get the original rom back on there now?
[myTouch 4G Android Development] CaliCL9:
when i try to install the update i just get a screen with an exclamation point on it? is this suppose to happen?
[myTouch 4G Android Development] grankin01:
Are you talking about the update.zip or the pd15img.zip?
[myTouch 4G Android Development] CaliCL9:
the update so i could get wifi to work
[myTouch 4G Android Development] grankin01:
Sounds like the clockwork recovery didn't flash to the device. The ! means that is a stock recovery image. You need to install the clockwork recovery to flash the update.zip and fix your wifi. Then you can move forward with the rest of the rooting process.
[myTouch 4G Android Development] CaliCL9:
k let me try.. sorry im a noob.. lol thanks for working with me
[myTouch 4G Android Development] CaliCL9:
ok i got it to install.. now im trying to get my adb to work
[myTouch 4G Android Development] CaliCL9:
ok so can someone show me how to use android sdk.. i had it installed before when i was messing aroundwith my g2, but havnt used it in a while. i know its located in my c drive but i dont know what to do with it now
[myTouch 4G Android Development] grankin01:
Check this out. Its a really good tutorial. http://xdaforums.com/showthread.php?t=834748
[myTouch 4G Android Development] mfouco:
I want to thank grankin01, coachmai, and slhpss for helping me out through this rooting process and for their patience with me. These guys are Rock starts and are more than happy to help the community out. Glad I'm part of it.

So if you're sure that you're doing the steps correctly maybe you have the same problem i had. For some reason, after i ran the root.sh script ( or you sync with the old method) after pushing the new hboot, the sync would not stick, so i never got S=Off. I thought it was a problem with my update, so i did the downgrade procedure by travisjames and the update procedure for downgraded phones by slhpss. I still had no luck. As coachmai pointed out, the sync might take some time and i would benefit from waiting 30 minutes to an hour after sync, before i checked S. So i tried waiting for android to sync for 30 minutes and no luck. I did the procedure again waiting for 1 hour after sync, alternating between using my phone and randomly entering terminal and typing 'sync' and after 1 hour i turned off my phone and booted into hboot and i finally got it.

coachmai explained it, if I'm not mistaken, as a lag in when android applies the sync. Kid of waiting for the garbage collection (for you .net guys) before the new hboot could be loaded in. I know some people only have to wait 2 minutes, others a bit more, but I had to wait an hour. I was sure i was executing the steps correctly, so i was a little frustrated. The only sync i had in my phone was my google account, and that is a pretty contact heavy account so i could guess that the wait is related to how bloated with apps and contacts your phone is.

Anyways, I'm posting this thanks on both threads. Thanks a lot for helping me out. Wifi Tethering and Brut Maps for my area are a must, among other things.

keep up the good work. and thanks to grankin01, coachmai, and slhpss. They really went out of their way to help me.
[myTouch 4G Android Development] dinan:
ok just wondering (and to be absolutely certain), i'm on a bone stock mt4g with 2.2 (no OTA it seems), will this guide work for me upgrading to 2.2.1 and rooting my phone?
[myTouch 4G Android Development] coachmai:
the sync is actually a unix command to flush the write cache of data to disk. the disk in this case is actually the flash. I was thinking that the driver has a delay cache write, thus i asked him to just use his phone for at least 30 mins before rebooting. the other thing is if the dirty bit is not set, the write cache may not flush even if sync was forced thus the longer wait the better. at least that was my theory. Glad he finally got it though
[myTouch 4G Android Development] slhpss:
what's the problem with ADB? make sure you installed the drivers that came on the sd card with the phone. if you didn't you can grab them from HTC's web site... http://member.america.htc.com/download/RomCode/T-Mobile_My_Touch_4G/HTCDriver.exe
[myTouch 4G Android Development] slhpss:
I've noticed a few people have had to install clockwork recovery twice, that will prolly work out for you
[myTouch 4G Android Development] slhpss:
Yes, it will and is stated as such in the original post
[myTouch 4G Android Development] CaliCL9:
ok i got adb running and it found my hardware(MT4G) and installed. but now im getting stuck on this part

Open up Command Prompt (Go to run, type in cmd, press enter)

Type in

Code:

cd C:\android-sdk-windows\tools === Press Enter

adb devices === You should see your device listed

adb shell === you should see # in the next line

Now you are all set to run adb commands

Note: for a list of commands type in 'adb' in cmd

i get to adb shell but then i see a $ in the next line not a #
[myTouch 4G Android Development] JWhipple:
Silly question... Has anyone figured out how to force the OTA update onto the phone WITHOUT root before OR after the OTA?
[myTouch 4G Android Development] myrdhyn:
I had to install it 4 times >.>
[myTouch 4G Android Development] slhpss:
I'm confused you can root, force the update, restore the recovery and turn hboot back on... you won't have root, will have stock recovery, and stock hboot... but you will have to root at least temporarily in order to force the update at this point
[myTouch 4G Android Development] slhpss:
you have a $ means you don't have root... and in adb you will never see a # on your first connection you will always have to type su to elevate rights and change your $ into a #... that's the way it is for me anyways
[myTouch 4G Android Development] CaliCL9:
when do i type su?
[myTouch 4G Android Development] CaliCL9:
and i keep getting permission denied.. am i suppose to install visionary so i could get temp root and get this thing to work?
[myTouch 4G Android Development] CaliCL9:
ok so i installed visionary just to try it.. it says im already rooted but im not.. prolly because im using rom manager and im on the second part. I went into bootloader and it says s-off. So what am i suppose to do to get this thing working.. thanks for the help i really appreciate it
[myTouch 4G Android Development] grankin01:
Run the commands in the re-root section in terminal and post your output if possible.
[myTouch 4G Android Development] grankin01:
@Cali,

Which adbbat file did you dl? adbbat.bat or adbbat.sh. You need adbbat.bat if you are doing it in windows. And did you copy all the files from the re-root procedure to the sdk tools directory.

I think the command you were looking for for the device is "adb devices"
[myTouch 4G Android Development] CaliCL9:
oh damn thats prolly what it was this is where im at

Microsoft Windows XP [Version 5.1.2600]

(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Administrator>cd c:\android-sdk-windows\tools

C:\android-sdk-windows\tools>adbbat

C:\android-sdk-windows\tools>adb push su /sdcard/su

failed to copy 'su' to '/sdcard/su': Permission denied

C:\android-sdk-windows\tools>adb push Superuser.apk /sdcard/Superuser.apk

failed to copy 'Superuser.apk' to '/sdcard/Superuser.apk': Permission denied

C:\android-sdk-windows\tools>adb push rage /data/local/rage

337 KB/s (0 bytes in 5392.000s)

C:\android-sdk-windows\tools>adb push busybox /data/local/busybox

1353 KB/s (0 bytes in 1926944.001s)

C:\android-sdk-windows\tools>adb push temp.sh /data/local

0 KB/s (0 bytes in 661.001s)

C:\android-sdk-windows\tools>adb push wpx.ko /data/local

1133 KB/s (0 bytes in 108820.000s)

C:\android-sdk-windows\tools>adb push hboot_dhd.nb0 /data/local

1394 KB/s (0 bytes in 1048576.000s)

C:\android-sdk-windows\tools>adb shell cd /data/local; chmod 0755 rage busybox t

emp.sh

C:\android-sdk-windows\tools>
[myTouch 4G Android Development] grankin01:
Don't worry about the two permission denials on su and superuser.apk. When you ran visionary it installed both of those.

Now type "adb shell" + enter. Then when you get the $ prompt type "/data/local/rage" + enter and see how it works for you.:D
[myTouch 4G Android Development] CaliCL9:
oh wow so i did everything you said and fallowed the rest of the instructions its working great thanks man..! id buy you a beer if i could! lol
[myTouch 4G Android Development] CaliCL9:
so after everything.. im not sure what happend at the end... what exactly is a soft boot? i saw my phone hard boot and the phone restarted but i never saw the hboot screen. But my s-off still and should i re install superuser again then? to get root permissions?
[myTouch 4G Android Development] Kline:
No. Still elusive!
[myTouch 4G Android Development] CaliCL9:
6. Start terminal back up, again. This time it should stay open and you should have a "#" prompt instead of a "$" prompt. Then type "/data/local/temp.sh.

Between these two steps.. teriminal tells me o "powerdown and reboot into hboot to check if s=off" so do i do that then reboot my phone then go into terminal again to type in step 7?

7. When the script finishes run /data/local/rage again and sit tight. The phone should start acting weird and do a soft reboot. Then right after everything loads it should do a hard reboot. After the hard reboot reboot and check S.(If it doesn't do the two reboots just reboot into hboot yourself after rage finishes with the "forked xxxxxxxx children" message.
[myTouch 4G Android Development] CaliCL9:
actually since i ran through everything i just ran step 6 over again but rebooted this time instead of typing in step 7 and now its sticking :D
[myTouch 4G Android Development] grankin01:
Good to hear man. Running rage in step 7 is whats supposed to make it stick but sometimes it takes a few times. :D

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] slhpss:
for everyone else if you get permission denied writing to /sdcard that means your card is currently mounted on your computer... you need to change it from "disk drive" to charge only.
[myTouch 4G Android Development] slhpss:
no don't listen to the terminal output, just follow the steps and you will be fine. What i would do though is if it doesn't force close go into settings>applications>manage applications>terminal and force close it from there and start it again... at that point you should have a # prompt
[myTouch 4G Android Development] fh47qu:
This worked perfectly on my pre-ota mt4g. I have full root and s-off and everything is sticking. Followed these steps and the s-off guide. Used visionary r12 to perm root after forcing the ota. I also did everything from my phone. Didn't need adb or my cpu for anything. Phones been running beautifully since. Oh and it took me literally 20 minutes to do everything. It was easier rooting this than my g1. A huge thanks to everyone who took time from their everyday lives to figure all this out and post nice and easy guides to go about it. Thank you. This is why the android community is the best out there.

P.S. According to tmobile, everyone should receive an ota within 48 hours of making their first phone call. If you haven't gotten it yet and don't want to force it using the guide, call tmo technical support and they can force it to your phone. If for some reason they can't force it, you will get it within 7 days of your complaint. 2 of my friends got their ota this way. When I called and complained tech support told me the same thing, that I would get it within 7 days since they couldn't force it. I didn't want to wait 7 days though. Well written guide. Thank you very much.
[myTouch 4G Android Development] Jayrod1980:
I have sboot=off or whatever its called but when I try "su" after completing the steps after rage reboot I get "unknown root user." instead of busybox prompting me to root. It's frustrating. I can flash the rom in another thread and have perfect boot, but I don't like the animations on there, and I like having the stock 2.2.1 and root until CM or something nice comes out...

Any ideas? I know it took me forever to get adb to work on my computer. Probably because I have a mess of Vibrant adb stuff on here. The computer doesn't see my phone as a MyTouch4G. It sees it as "SH0AYT700319." However, I can do all the commands even with it calling my phone that. Prior to installing the HTC drivers, the computer couldn't send any adb commands to the phone, regardless of how the USB was connected.
[myTouch 4G Android Development] Jayrod1980:
Wow, nevermind! It works! I repushed that adbbat command and repeated the steps. Thanks so much for the leg work on this! I'm kicking myself but I sent back my white phone because I didnt know it was glossy (scratches easily, like my vibrant).

I assume I never got OTA because my account had already received the OTA on the white, and I hadn't sent it back yet when I had my red.

Since then, I've had two replacement red Mt4g's and the first had a loose ear speaker that buzzed and the one I'm on now has two pieces of dust under the screen and a slight blemish in the paint. I should have just sucked it up with the white... it was perfect in its function and build quality.
[myTouch 4G Android Development] slhpss:
awesome so you didn't need to do the rage version? justing visionary 12 worked after the update push??? that's nice it takes like 7 steps out of the picture
[myTouch 4G Android Development] Matt105:
I know this might be a stupid question, but will this interfere with any future updates that may come out?
[myTouch 4G Android Development] slhpss:
I can't say for sure we will know when a new update comes out and whether or not we get it... but with custom recovery installed we should be able to flash the file once it's pulled from someone else's device
[myTouch 4G Android Development] krazy_smokezalot:
For those of you who can't get through the re-root process well I found a work around that does not require adb! Download Z4root (the one withe Japanese letters not the English version but that may also work, I used the one with Japanese letter!) from the market, click root and just let it sit and then your screen should blink or act weird, after that it will say "finishing rooting process and will reboot when complete" after its done but for me it never rebooted but only said that message and does not continue from there. Let it sit at that screen with that message for about 10min to be sure. Then open terminal emulator while z4root is running, and type su it should ask you for root permission if it does then you are PERM-ROOTED! Pull battery out then put back in check if you have root access by opening an app that requires root access if it works uninstall z4root only and pull battery once more. Then boot to see if you still have root access!

PS make sure visionary is uninstalled also su must be uninstalled before attempting this. I am not a dev i just like messing with my phone alot. I tried this method after doing the force 2.2.1 update method!

Also please let me know if this works for you! As i hope it does

Sent from my HTC MT4G 2.2.1 Rooted
[myTouch 4G Android Development] Kline:
This is AFTER you got S-OFF, correct? I'm struggling to get my wife's phone to accept ANY method of S-OFF. It's even shown the engineering hboot and STILL had S-ON...So lost :(. My phone worked perfectly on the first try!
[myTouch 4G Android Development] slhpss:
@geno you should be able to repush the original rom from the downgrade thread without having s-off... and retry with the forcing update...
[myTouch 4G Android Development] krazy_smokezalot:
@ geno yes this is after you get s-off! Like I said I had a pre-ota device I force 2.2.1 update using the method in this forum....I stopped following the forum direction when I got to the re-root process! Try it again do exactly what the steps tell you to do in order to get s-off. Ill help you step by step. Just pm me
[myTouch 4G Android Development] ringnutz:
Ok, so i got S-Off and am now trying to install clockwork recovery. I have root access and visionary is uninstalled, but clockwork says it installs and when i reboot to recovery it is the stock recovery with the red triangle/exclamation point. I have no wifi since i cant install the update.zip. Any ideas?
[myTouch 4G Android Development] grankin01:
Sometimes you have to install clockwork multiple times to get it to stick.

My MyGlacier 4G MINE!!!
[myTouch 4G Android Development] ringnutz:
I have installed it about 20 times now and nothing... So I'll keep trying i guess
[myTouch 4G Android Development] Kline:
Well I've followed it, it worked perfectly first try for my phone. So that's why I'm stumped on my wife's after grankin has been helping me a bit in the other thread.
[myTouch 4G Android Development] ringnutz:
Also, it says that the recovery is installed when I open rom manager, (the most current version of the recovery is installed). So I try to reinstall, it tells me that it has been successfully installed, but I still get the stock recovery when I reboot to recovery