[Q] Mytouch 4g Downgrade - myTouch 4G Q&A, Help & Troubleshooting

Hello, Im new to the forum and im trying to root my HTC glacier. Im using this guide here to downgrade from 2.3.4. http://forum.xda-developers.com/showthread.php?t=1178912 Well I started the downgrade process and got to the step where I have fre3vo look for the dubug/exploit address and it wouldnt do anything. So I went searching and found a guide that suggested using factory reset beforehand, so I did. Ok, now, I redownloaded aall the files I needed and made sure it was placed correctly in my platform_tools folder. The first step went smooth, but the second step it now says fre3vo is not found.. I know its there, the file, not the fre3vo folder. Ive tried on both vista and windows seven, same problem after factory reset =[
Microsoft Windows [Version 6.1.7600] Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Twitch>C:/platform-tools/adb shell cat /dev/msm_rotator * daemon not running. starting it now on port 5037 * * daemon started successfully * /dev/msm_rotator: invalid length
C:\Users\Twitch>C:/platform-tools/adb push fre3vo /data/local/tmp cannot stat 'fre3vo': No such file or directory
C:\Users\Twitch>C:\platform-tools\adb push fre3vo \data\local\tmp cannot stat 'fre3vo': No such file or directory
C:\Users\Twitch>C:/platform-tools/adb push fre3vo /data/local/tmp cannot stat 'fre3vo': No such file or directory

Do you have adb updated properly? And check the md5 sums on your downloaded files, you may need to delete them and re-d/l
Sent from my HUAWEI MediaPad using XDA

Not 100% on this, but when you open command, type "cd c:\android\platform_tools" then try pushing the files. Also, make sure the fr3evo file from inside the extracted fr3evo.zip is in platform tools and not the entire.zip folder
If it still doesn't work for you, pm me and i'll try walking you through it as I've successfully downgraded my own glacier followed by root and rom flash
Sent from my HUAWEI MediaPad using XDA

andee777 said:
Not 100% on this, but when you open command, type "cd c:\android\platform_tools" then try pushing the files. Also, make sure the fr3evo file from inside the extracted fr3evo.zip is in platform tools and not the entire.zip folder
Click to expand...
Click to collapse
This. You're working from another directory, and not giving full path to the files you want to push.

Actually to make the downgrade easier on myself I put my tools folder in C:\ directly

andee777 said:
Do you have adb updated properly? And check the md5 sums on your downloaded files, you may need to delete them and re-d/l
Sent from my HUAWEI MediaPad using XDA
Click to expand...
Click to collapse
Im new to this but I learn qickly, what are md5 sums? and about adb I just downloaded the one provided on the guide.. Is it up to date?

DerangedDave said:
Im new to this but I learn qickly, what are md5 sums? and about adb I just downloaded the one provided on the guide.. Is it up to date?
Click to expand...
Click to collapse
great guide for ADB here: http://forum.xda-developers.com/showthread.php?t=879701
And md5sum:
md5sum is a computer program that calculates and verifies 128-bit MD5 hashes. The MD5 hash (or checksum) functions as a compact digital fingerprint of a file. By comparing the MD5 checksum of a file you've downloaded to an MD5 checksum value supplied by the original sender/uploader, you can make sure that files you download are free from damage and tampering. MD5 values are frequently supplied along with downloadable files.
Download this neat little tool:
http://www.winmd5.com/download/winmd5free.zip
unzip the folder and place the .exe file wherever you want, and run it. Once running, browse to the downloaded file/rom. Once it's completed computing the file, you'll see the the md5sum in the "current file md5 checksum value" window. Copy and paste the original md5 sum value(either from the website you downloaded from, or in the .md5 file usually)into the bottom text window and click "verify".
If the md5sums match(the one provided by the sender/uploader and the one of the file/rom you downloaded), it will tell you that they match and you know your file is good.
Hope this helps!

Related

[How To] Fix md5 mismatch nandroid restore

I figured I would post this fix here in case anyone else ran into this problem. This is assuming you did not change the folder names and let Clockworkmod create them. I haven't had it happen until today, but it's not a nice message to see when you are trying to do a restore.
Code:
Checking MD5 sums...
MD5 mismatch!
To fix this problem use the code below. Substitute the final folder name for the backup you need to fix.
Code:
adb shell
# cd /sdcard/clockworkmod/backup/2010-06-29.20.22.53
# rm nandroid.md5
# md5sum *img > nandroid.md5
When that finishes, re-run the restore and everything should be fine.
NOTE: As rpearl stated, there could be something really wrong with your nandroid, so use this tutorial as a learning experience and not a fix-all. In my case, everything was fine after restoring. However, that may not always be the case. Do this with caution.
I had a md5 mismatch and was freaking out. Turned out that the folder name for my backup couldn't have spaces in it...
This also works for anyone that wants a to make a 100% stock image but keep recovery.
just replace the boot.img and system.img with the ones from the RUU and recalc.
i just got this problem. do i need the "#" for each command?
Any idea what causes this? Is it just the folder name with spaces?
zeke1988 said:
i just got this problem. do i need the "#" for each command?
Click to expand...
Click to collapse
No the # simply means you are logged in as root or Su
If its showing $ then you may need to type /system/bin/Su
I believe or could be /system/lib/su I'm still pretty new to Linux / Android
Sent from my ADR6300 using Tapatalk
s197 said:
Any idea what causes this? Is it just the folder name with spaces?
Click to expand...
Click to collapse
Spaces aren't allowed but it could also be caused by corrupted data or sometimes even simply renaming the folder
Sent from my ADR6300 using Tapatalk
Be warned: If the nandroid was legit broken, then this will restore it *anyways* and your system won't boot / will have weird errors / whatever was wrong with the nandroid will be wrong with your system now.
Obviously you can just restore a previous nandroid if that happens.
i did this and still cant fix the md5. making me to use the older backup
For n00bs could you elaborate on this post, i'm having the same problem.
"To fix this problem use the code below"
I know this is through cmd, but what needs to be where when i'm typing exactly that in (changing the folder name etc) what screen do I need to be on. If it was more detailed, and thank you so far because this is the only post on the net, it could be very useful!
jinkzuk said:
For n00bs could you elaborate on this post, i'm having the same problem.
"To fix this problem use the code below"
I know this is through cmd, but what needs to be where when i'm typing exactly that in (changing the folder name etc) what screen do I need to be on. If it was more detailed, and thank you so far because this is the only post on the net, it could be very useful!
Click to expand...
Click to collapse
If you're messing with nandroid backups by now, we'd hope you would know how to get adb shell started.
So basically you start up adb shell in a command prompt on your computer, this connects to your phone, then you follow those commands following "adb shell"
A brief overview of getting to the adb commands >> http://forum.xda-developers.com/showthread.php?t=709220
permission denied error
I'm using windows 7 CMD to connect to my hero for resolving this md5 mismatch issue.
But when i type in the last command, which is -
md5sum *img > nandroid.md5
it gives me an error -
md5sum: permission denied
I tried running the cmd as administrator also but I dont know in windows how to do a 'SU' like in ubuntu.
can you please give a tip what to do ?
Sean.
Ok wow you guys rock thanks this works great.
THANK YOU!!!!!!!!!!!!!
I had this happen to me today... I woulda had to spend a crapload of time getting things all set up on my phone if I hadn't found this thread. It was my fault, I changed the name of the Nandroid backup folder... I had no idea you couldn't do this.... went to restore and BOOM MD5 mismatch.... noooooooooooo.
Thank you again OP for posting this you really saved my day today.
Jacked up Dell Streak/ US ver. build 6601 MD5 Checksum error
After screwing up my brand new Streak, I turned to XDA and MoDaCo to fix my screw-ups. Read this and did that, and nothing would work. The buttons would flash the Dell logo would come up and freeze. So here is another solution that worked for me Step by step.
Installed the fast boot using Windows 7 64 bit I downloaded Fastboot and followed there instructions. Not sure what it did for me, but I did it.
Now as the phone was, I was unable to do any kind manipulation of the SD card. I tool the micro SD card and put it into an SD adapter and added the files via my lap top. See instructions here
Technically you don't need to worry about flashing cache.img and data.img but i performed this backup after a factory reset so your not taking any of my personal info/data
fasboot didn't work for me for so i restored with nandroid
Nandroid
+Create a folder named "Clockworkmod" on your storage card
+In that folder create a folder named "backup"
+Create a folder in "backup" named whatever you want and place boot.img, system.img, cache.img, data.img, recovery.img and nandroid.md5 in that folder.
+Flash Clockworkmod Recovery
2.5.0.1 didnt work on mine but 1.8.1.7 did :/
+Enter clockworkmod recovery
-Power on device while holding both volume keys, then select "2. Software upgrade via Update.pkd on SD Card"
Now you should be in ClockworkMod Recovery
-Scroll down to nandroid using the volume keys and press the camera button to select it
-Select Restore and choose your folder (the one you placed in the backup folder)
thanks fone_fanatic 28th August 2010, 03:14 AM
DO NOT PUT ANY SPACES IN YOUR FILE STRUCTURE. I did and it gave me an "MD5 Check Sum Error" took the space out and bam it worked.
Rebooted the phone and so far every thing works. GPS, WiFi etc and no dam flashing lights or self reboots or O2 stuff Hope this helps ya....Good luck you will need it.
Ihtfp69 to the rescue again!
Man, I can never repay you for how much you've helped me out and saved my bacon! Other dev's, take note, this is an exemplary developer here and his SkyRaider rom is beyond compare!
seansin said:
I'm using windows 7 CMD to connect to my hero for resolving this md5 mismatch issue.
But when i type in the last command, which is -
md5sum *img > nandroid.md5
it gives me an error -
md5sum: permission denied
I tried running the cmd as administrator also but I dont know in windows how to do a 'SU' like in ubuntu.
can you please give a tip what to do ?
Sean.
Click to expand...
Click to collapse
I do not have ABD on my Win 7 machine so I had to use CMD as well. I too received an error, however mine basically said that md5sum was not a recognized command. Not sure where you got md5sum for your win 7 machine, but I got mine at the following website... (fourmilab.ch/md5/) and this one worked just fine. Unzip and copy md5.exe to the system32 folder.
If you are still working through this... good luck. Hopefully it can be helpful to someone else either way. --Josh
OMG ihtfp69!! You're a life-saver!
cscimmia said:
I do not have ABD on my Win 7 machine so I had to use CMD as well. I too received an error, however mine basically said that md5sum was not a recognized command. Not sure where you got md5sum for your win 7 machine, but I got mine at the following website... (fourmilab.ch/md5/) and this one worked just fine. Unzip and copy md5.exe to the system32 folder.
If you are still working through this... good luck. Hopefully it can be helpful to someone else either way. --Josh
Click to expand...
Click to collapse
Hmmm...I just used md5sum from the phone's shell. No need to get anything for Windows.
hey i tried the steps you guys gave buy i get
# cd /sdcard/clockworkmod/backup/2010-10-30.08.23.53
cd: can't cd to /sdcard/clockworkmod/backup/2010-10-30.08.23.53
this is what i did.
I opened terminal in OSX and typed "adb shell" after that i typed "cd /sdcard/clockworkmod/backup/2010-10-30.08.23.53" but it didnt work.
anyone know what i did wrong??
i also did "adb devices" in terminal and it detects my device. i check the su on my sgs and i see my computer, it sees it as unknown.

[Error] Unable to apply PUSH Command in ADB

Hello mates,
I am trying to Copy the BUSYBOX file to my /data/local/bin directory. But when i use the 'push' command it say adb: command not found. Hereby i have attached the image of my terminal.
Would you please help me in copying my files to the directory "/data/bin/local"
Also, where should i put the files which i need to copy. Eg. Since i need to copy 'busybox' to the /data/local/bin/, should i put the busybox in my Desktop, i.e. /home/android/platform-tools directory?
You should've not run the command from within the adb shell. Just go to the tools folder and type "adb push busybox data/local/bin" ofcourse without the ""
The busybox should be indeed be present in the folder from witch you run adb, in your case the "tool" folder.
Good luck!
Erwin
Sent from my HTC Wildfire using XDA App
@ErwinP.
Thanks for rectifying this mistake.
It worked.
You're welcome! I had to learn it the hard way myself, so I'm happy ik I can help someone! ;-)

[Q] Error: adb is not recogzined as an internal or external command

Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Has winxp, tmobile GT
I had this same exact problem, but I was just able to get it working. First, this website is helped a lot:
http://www.londatiga.net/it/how-to-use-android-adb-command-line-tool/
Also, make sure you download the Java SDK package from the link given on that website.
Second, when the website says to "Run Windows command line tool (cmd) and go to D:\android-sdk-windows\tool" open command prompt and enter this code:
cd (enter the path to where the android SDK was installed), for example:
cd C:\android\android-sdk-windows\platform-tools
Notice how I entered "platform-tools" instead of just "tools" because this is the folder where the adb file is download with the android SDK. After you do this, you should then be able to apply adb codes (make sure the screen on your tab is on because you will have to accept superuser prompts, therefore your tab needs to be rooted).
Every time you open command prompt, you will have to enter:
cd thentheplacewheretheandroidSDKisinstalled
as stated above before you are able to enter adb commands.
Hope this helps!
@caveman999 is giving good advice. Working in the command window is weird to those who did not use old pc-dos environment.
You have to be in the tools directory or you have to edit your PATH in windows so you can use adb from any prompt.
thnaks for both of you guys i installed the java jdk and also specified the path in environment variables but still error message!
I could only get adb to work error-free when I was in the same directory as adb.exe program. Just change directories cd..(enter) etc until you are in that directory.
tabing said:
Error: adb is not recogzined as an internal or external command, operable program or batch file???
i successfully installed the android sdk 08 and still got this message.
Click to expand...
Click to collapse
I had the same error, until I downloaded and placed the .adb files accordingly.
Source: http://theunlockr.com/2009/10/06/how-to-set-up-adb-usb-drivers-for-android-devices/
"UPDATE: If it says adb not found or something similar, download the ADB files and extract them into the Tools folder of the SDK (they were taken out by Google in the R08 version for some reason and need to be put back)."
download adb files from here: http://www.megaupload.com/?d=RTEY0Q97
The important thing is to put the files really under the "tools" folder.
When you check out above Source I am sure your problem will be solved
Thank you all problem solved
tabing said:
Thank you all problem solved
Click to expand...
Click to collapse
Glad to here it. Why not hit a few thanks buttons?!

[Root] One-click rooting Epic 4G Froyo in Mac OSX Snow Leopard

This thread (http://forum.xda-developers.com/showthread.php?t=770388) provides a zip file for rooting. However, two mods have to be made to the run.sh file to work on a Mac.
Line 3 and 14 needs to be edited to:
adb="/<full path>/adb.osx"
instead of
adb="./adb"
I'd post this there, but xda won't let me until I post at least ten things...
Thanks for this...but how do I use the chmod +x run.sh in the terminal.
I'm trying to root EC05 on my mac and struggling right now.
papio2chi said:
Thanks for this...but how do I use the chmod +x run.sh in the terminal.
I'm trying to root EC05 on my mac and struggling right now.
Click to expand...
Click to collapse
In the terminal window, make sure you are in the proper directory -- let's assume your user name is "me" and the zip was downloaded and unzipped to your desktop (it unzips into a folder named "one").
Start with cd /Users/me/Desktop/one
Check with pwd -- that should return your current directory. You can also check the directory contents with ls -al.
The chmod command is chmod +x run.sh. You can make it excuteable before or after you edit it as I noted above (I use vi for editing, any basic text editor will work).
Once all that is done, execute the run.sh script by entering ./run.sh -- that worked for me. One problem others have noted is the USB port not picking up the phone for data sharing, and I had trouble too until I got a USB port to recognize the phone. I could not get it to mount on my iMac, but it did mount on my laptop.
Thanks! It worked.
My pleasure. Have fun!
nuclear_android said:
In the terminal window, make sure you are in the proper directory -- let's assume your user name is "me" and the zip was downloaded and unzipped to your desktop (it unzips into a folder named "one").
Start with cd /Users/me/Desktop/one
Check with pwd -- that should return your current directory. You can also check the directory contents with ls -al.
The chmod command is chmod +x run.sh. You can make it excuteable before or after you edit it as I noted above (I use vi for editing, any basic text editor will work).
Once all that is done, execute the run.sh script by entering ./run.sh -- that worked for me. One problem others have noted is the USB port not picking up the phone for data sharing, and I had trouble too until I got a USB port to recognize the phone. I could not get it to mount on my iMac, but it did mount on my laptop.
Click to expand...
Click to collapse
OK, I followed your directions, but when I execute run.sh I get "Phone is not connected" error. I mounted it as a mass storage device, it that not correct? It shows on my desktop as a drive with NO NAME as the name.
Here is the entire message from the Terminal
Original one click made by joeykrim and one click installer made by noobnl and firon
busybox by skeeterslint
Press any key to continue...chmod: /<full: No such file or directory
chmod: path>/adb.osx: No such file or directory
Starting adb server
./run.sh: line 23: /<full: No such file or directory
./run.sh: line 26: /<full: No such file or directory
./run.sh: line 33: /<full: No such file or directory
./run.sh: line 35: /<full: No such file or directory
Phone is not connected. Press any key to continue.\n./run.sh: line 35: /<full: No such file or directory
Thanks!
ewiesner said:
OK, I followed your directions, but when I execute run.sh I get "Phone is not connected" error. I mounted it as a mass storage device, it that not correct? It shows on my desktop as a drive with NO NAME as the name.
Here is the entire message from the Terminal
Original one click made by joeykrim and one click installer made by noobnl and firon
busybox by skeeterslint
Press any key to continue...chmod: /<full: No such file or directory
chmod: path>/adb.osx: No such file or directory
Starting adb server
./run.sh: line 23: /<full: No such file or directory
./run.sh: line 26: /<full: No such file or directory
./run.sh: line 33: /<full: No such file or directory
./run.sh: line 35: /<full: No such file or directory
Phone is not connected. Press any key to continue.\n./run.sh: line 35: /<full: No such file or directory
Thanks!
Click to expand...
Click to collapse
Replace <full path> with the actual path. As in the example above, it would become /Users/me/Desktop/one/adb.osx.
Basically, when the script is calling adb.osx, it doesn't know where to look for it unless you tell it. Linux will only look in the known directories in the $PATH system variable, so it can't find the executable. I know, it seems dumb, when your user session is already set to the directory, but that's the way it is.
UNZIPPING one.click.root
Is it just me, or is anyone else having trouble unzipping/extracting the one.click zip file?? I tried on my Mac, and it unzips as "one.click.root.exploitv2.5.5.zip.cpgz" I tried extracting that, and it brings me back to a .zip file again. Weird.
Also tried on PC, Windows 7 x64, and run into errors each time (used both built-in Windows extractor and StuffIt). However, if I open the zip with Windows Explorer, it will display all the contents... I'm stuck.
Help ???
spyteris said:
Is it just me, or is anyone else having trouble unzipping/extracting the one.click zip file?? I tried on my Mac, and it unzips as "one.click.root.exploitv2.5.5.zip.cpgz" I tried extracting that, and it brings me back to a .zip file again. Weird.
Also tried on PC, Windows 7 x64, and run into errors each time (used both built-in Windows extractor and StuffIt). However, if I open the zip with Windows Explorer, it will display all the contents... I'm stuck.
Help ???
Click to expand...
Click to collapse
If you download with Safari by just clicking on it, it almost always unzips the archive. If you download by right-clicking, and doing a "save linked file as" it won't automatically unzip. Give that a try.
Why are you rezipping it?
thank you! worked like a charm
This work with EXT4?
Btw, Snow Leopard 10.6.7 is okay, right?
you guys might want to take this and just edit it a bit more, its set up to run the root and flash cwm2
http://forum.xda-developers.com/showthread.php?t=792058
if you brick your phone, good luck. currently, at least no that I know of, is there a way to return to stock on a mac.
b15love said:
if you brick your phone, good luck. currently, at least no that I know of, is there a way to return to stock on a mac.
Click to expand...
Click to collapse
Lol I'm sorry but can't help and laugh...there's a program called Heimdall which is exactly like Odin. And its not like we don't have friends with a PC or one at work.
Sent from my Samsung Epic
acer1096xxx said:
Lol I'm sorry but can't help and laugh...there's a program called Heimdall which is exactly like Odin. And its not like we don't have friends with a PC or one at work.
Sent from my Samsung Epic
Click to expand...
Click to collapse
Have u got heimdall to work on your Mac? Cuz I got to start and all but it won't pick up my phone
Sent from my SPH-D700 using XDA Premium App
Estewa_619 said:
Have u got heimdall to work on your Mac? Cuz I got to start and all but it won't pick up my phone
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Well I haven't had to use it so I'm not sure. What version OSX is your Mac?
Sent from my Samsung Epic
acer1096xxx said:
Well I haven't had to use it so I'm not sure. What version OSX is your Mac?
Sent from my Samsung Epic
Click to expand...
Click to collapse
10.6 snow leapered
Sent from my SPH-D700 using XDA Premium App
Estewa_619 said:
10.6 snow leapered
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Hmm, I'm running 10.6.7. Hooked my phone up to Heimdall to test it and everything; it picked it up but I didn't download anything.
acer1096xxx said:
Hmm, I'm running 10.6.7. Hooked my phone up to Heimdall to test it and everything; it picked it up but I didn't download anything.
Click to expand...
Click to collapse
Well the problem is when u put all the files where they go and then u put ur phone in download mode and hit start it says to plug in the phone or something like that I intalled the libusb cuz that's what's makes comunication with the phone but still nothing. So I'm stumped I've tried asking people for help on this and no one ever resopnds to my thread
Sent from my SPH-D700 using XDA Premium App
Estewa_619 said:
Well the problem is when u put all the files where they go and then u put ur phone in download mode and hit start it says to plug in the phone or something like that I intalled the libusb cuz that's what's makes comunication with the phone but still nothing. So I'm stumped I've tried asking people for help on this and no one ever resopnds to my thread
Sent from my SPH-D700 using XDA Premium App
Click to expand...
Click to collapse
Hmm, I think I had the same problem, although I wasn't sure if it was my phone or Heimdall.
Becauseee, I've bricked my phone before a couple of times (had to get it replaced) and before doing so, I tried using Heimdall to see if I could unbrick it. My phone goes into download mode and all, and Heimdall just doesn't recognize it after putting the files in the correct spot. I didn't bother using Odin because I'd have to wait like a week before I got my hands on a PC. xD

Problem Downgrading

So I'm trying to follow this guide to downgrade: http://forum.xda-developers.com/showthread.php?t=1178912 (Don't have enough posts to comment there)
Whenever I enter "adb push fre3vo /data/local/tmp" into terminal it says "cannot stat 'fre3vo': No such file or directory"
What am I doing wrong? I'm a huge noob at this...
did you download the fre3vo .zip file? you need to unzip that file and move into into the platform-tools folder that's in the sdk developer folder for it to be able to find the file and work.
inourstars said:
did you download the fre3vo .zip file? you need to unzip that file and move into into the platform-tools folder that's in the sdk developer folder for it to be able to find the file and work.
Click to expand...
Click to collapse
Yes, I even tried re-downloading it to make sure there wasn;t something wrong with it.
By the way, I'm doing this on a mac. Would that make any difference?
U need to unzip the file inside the platform tools. Not in any fre3vo folder. Same thing for the rest of the file.
Sent from my HTC Vision using XDA App
I dont think its a problem with the file, i had the same issue and it was because i didnt really understand how to use cmd.exe on my PC. Do what i did and read up on how to use cmd and maybe watch some youtube cmd help videos.
Sent from my HTC Vision using XDA App
Im having the same problem before this. When i unzip the file not inside the folder, the problem solve. U also can change the directory manually from platform-tools to fre3vo.
Sent from my HTC Vision using XDA App

Categories

Resources