[Q] myTouch 4g Unlock/Root using Ubuntu/Linux? - General Questions and Answers

Hello, all. First thread here on Xda, so I apologize if I missed something.
I own a myTouch 4g 2.3.4 and use an Ubuntu 11.04 desktop. I have the official SDK and ADB installed.
I'm looking to root my myTouch 4g and understand that as of now there is no method available for devices running 2.3.4... This means I need to downgrade in order to root... I've searched and searched and searched but am unable to find any guides on downgrading for those who use Linux.
wiki[dot]cyanogenmod[dot]com/wiki/HTC_Glacier:_Full_Update_Guide
I reviewed the above guide but was faced with quite a few programs in the rooting process that are available only for Windows.
Any help?
Looking to use Cyanogen as my rom, and therefore need to be running Android version 1.17.531.2

Okay, due to me being a noob I quickly discovered after more research that the platform is not a matter of concern when using the guide above.
HOWEVER...
I have a new problem...
Towards the bottom of the first section (this part
"Now that misc version has been downgraded, the HTC Glacier is ready to have the firmware downgraded. On the computer, open terminal and run the following commands:
adb push PD15IMG.zip /sdcard/PD15IMG.zip
adb shell md5sum /sdcard/PD15IMG.zip
NOTE: The md5 should match up the provide the original download location. If not, redownload & try again.
adb reboot bootloader
Use Volume up/down keys on the HTC Glacier for navigation and Power key for confirmation. Select Fastboot to flash the 1.17.531.2 firmware.
Once finished you can can continue to the next section.
I get an error when performing the following command:
adb shell md5sum /sdcard/PD15IMG.zip
md5sum: not found
Any help?

Related

Fastboot configuration issue

I've searched the forums and the internet for a solution to my issue, but have thus far been unsuccessful in finding one that works. The problem itself has been covered online, but I can't seem to get the fix to work. I think I am missing a key step in all of this.
The problem: fastboot does not read my device, when the device is in fastboot mode.
$ ./fastboot devices
$
Click to expand...
Click to collapse
If I try to run a fastboot command, it sits eternally on <waiting for device>.
I am running a fresh install of Ubuntu 9.04 and have followed the instructions for getting the source build and all of that went great (after opening the git port in my firewall). So, I have the source build now and it compiled fine, after commenting a line (637) out of external/qemu/sockets.c. Also, I have the Java version of Eclipse 3.4 (Ganymede) and ImageMagick (current) installed.
Mainly, I want to get everything working correctly so that I can dev on the device and create custom builds, but I figured I would start small. Splash screen flashing. No joy. I got the image resized and converted correctly, but I cannot seem to get my G1 to show up in fastboot or adb. One site said I needed to tweak the UDEV, which I did, but I am not sure if I did so correctly. I think I need to reset the drivers, most likely, but I haven't a clue how to go about that. Most of the tutorials I find are for Windows/Cygwin.
Anyone have any suggestions? Thanks in advance.
My sig is outdated, so here is what I am working with:
G1 with JF's ADP1 cupcake build, rooted with HSPL, busybox & Debian, JF's cupcake radio.
Ubuntu 9.04 with sun-java5-jdk, eclipse 3.4, Android source build (master manifest) [compiled], ImageMagick
make sure that you do "adb remount" as root and all other commands too. Even if you load the adb deamon as non root and use root for following commands it will still not work. You will have to kill the adb server and start again.
"su adb kill-server"
(I think that will kill the server for you)
if fastboot says waiting for device then there's no device it can recognize...
can you use adb under normal system?
I found the problem. I forgot to run the following command:
Code:
chmod a+rx /etc/udev/rules.d/50-android.rules
That is all that was holding me back the last day and a half! Sorry if I wasted anyone's time and thanks pixel-painter, who reminded me of something else I was doing wrong.

Advice for how to get my HTC Magic working again?

Hi.
I recently tried to root my Magic to install CyanogenMod, but it didn't work. I can't remember exactly what I did, but I followed various tutorials that I found on this site and other similar ones. I couldn't find a tutorial that went all the way from unrooted phone to rooted with CyanogenMod installed, so I switched between a couple of different ones that seemed easy to follow.
Since breaking my Magic I have tried various methods to get it working again and used google and XDA posts, but I can't do it and I'm getting quite frustrated.
Please can someone provide steps to follow that will let me access my Android OS (preferably with the latest CyanogenMod installed, but that isn't as important).
At the moment I can access fastboot on the phone, but not the main OS or the Recovery ROM I installed (cm-recovery-1.4).
I have '32B' (not sure what it means though) and 'G'
Thank you in advance for any help.
first, download recovery rom here:
http://forum.xda-developers.com/showthread.php?t=530492
Latest :
RAv1.2.1H if it's an htc phone
RAv1.2.1G if it's a google (marked with google behind)
then download android sdk and install it.
then type in a command window:
fastboot boot adressofyourrecoveryrom.img
once your phone has booted in recovery:
adb shell mount /sdcard
adb push adressofyourupdate.zip /sdcard
and on your phone:
wipe data
apply: update.zip
it's ok :-D
kiltaiga said:
first, download recovery rom here:
http://forum.xda-developers.com/showthread.php?t=530492
Latest :
RAv1.2.1H if it's an htc phone
RAv1.2.1G if it's a google (marked with google behind)
then download android sdk and install it.
then type in a command window:
fastboot boot adressofyourrecoveryrom.img
once your phone has booted in recovery:
adb shell mount /sdcard
adb push adressofyourupdate.zip /sdcard
and on your phone:
wipe data
apply: update.zip
it's ok :-D
Click to expand...
Click to collapse
Thanks for your quick reply.
RapidShare is being incredibly annoying and won't let me download the file. Do you have a mirror?
google branded
for htc branded, i've not mirror

Upgrading with Rogers Updater (RUU) on W7, a how to

Just for notice, for all of you running stock firmware and who want to update to the latest Rogers rom but are using Windows 7, there is actually a way to make it work.
For this you will require the android sdk and the installer, obviously.
1. Start the RUU installer, keep it open.
2. In console, run adb.exe kill-server
3. Then run adb.exe start-server
4. Make sure the device is seen by using adb.exe devices
5. Proceed with the install.
Apparently the installer does something to the service that prevents it from seeing the devices (yes, that's lame). No need to say this will prevent you from using Cyanogen or other rooted distros.
If you have a rooted Rogers HTC Dream. Ignore these instructions and follow: http://forum.xda-developers.com/showpost.php?p=5440198&postcount=6
Doing this allows you to preserve your SPL
Yes, indeed. I thought it might be interesting for people who don't run root such as the friend who asked me how to upgrade his phone to unrooted but has no access to a Vista box.
This method upgrades your phone the same.
It is actually a modified version of the official method for unzipping the image to an SDCard and flashing from there directly and you get to avoid installing anything.
Dream image: http://www.rogers.com/dream-zip
Magic image: http://www.rogers.com/magic-zip1 AND http://www.rogers.com/magic-zip2
Both of these images kill your SPL.

[Q] Incredible S radio flash issues

Hey all,
I recently decided to root my Incredible S and install the new release of Cyanogenmod 7 for the device. Achieving S-OFF and installing Clockworkmod went without a hitch. However, I remain unable to flash the radio, even after closely following the guide on the cyanogenmod wiki. When I attempt to use
adb with the following command
adb push PG32IMG.zip /sdcard/PG32IMG.zip
the console returns a cannot stat PG32IMG.zip: no such file or directory. When I try to unzip the file through Clockworkmod, it simply fails with an installation aborted. What can I do to remedy this?
My Incredible s is with Virgin Mobile, the radio i'm attempting to flash is 38.02.01.11
Thanks!
UPDATE Well, I took the plunge and installed the mod without flashing the radio. Everything is working except I have no volume in calls. Data, SMS/MMS work just fine. Is this a radio issue? I read that older radios may have this issue, but when I downloaded the recommended radio, I'm still unable to flash it.
Just a bump for the new issue...
Yes, the no audio during calls is a radio issue.
When you're in the terminal, make sure you're in the same directory as the file location before issuing the following command:
adb push PG32IMG.zip /sdcard/PG32IMG.zip
Useful guide: http://forum.xda-developers.com/showthread.php?t=1129014
Any idea what the right radio to use for a Virgin Mobile/Bell Canada user? I tried the "recommended" one (from the guide on the xda forum) , and when I try to install the update via the bootloader, I get a "Model ID incorrect" and an "Update Failed" error. I don't wanna mess up the SMS/Data functions with the wrong radio.
http://droid.neolobster.com/roms/PG32IMG_vivo_radio_3805.04.03.22_M.zip
MD5sum: dd73eafe12010e19e753ea831653a460
I currently have a Bell HTC Incredible S and the "recommended radio" works fine for me.
gu1dry said:
How to Flash:
In order for this to work, the HTC Incredible S needs to be S-OFF. Flashing the radio with a corrupt file or interrupting the flash, can brick the device, please proceed with caution.
Download the your choice of radio for the HTC Incredible S.
Make sure the filename is PG32IMG.zip exactly or it will not work and copy it to the same folder as adb (the /platform-tools folder within the Android SDK folder).
Connect the HTC Incredible S to the computer via USB.
On the computer, open terminal and run the following commands:
Code:
adb push PG32IMG.zip /sdcard/PG32IMG.zip
adb shell md5sum /sdcard/PG32IMG.zip
NOTE: The md5 should match up the provide the original download location. If not, redownload & try again.
Code:
adb reboot bootloader
The HTC Incredible S will reboot & usually boot into fastboot. Pressing the Power button will put the device into the bootloader.
The bootloader will scan for the radio update. Once it finds the update, select Yes.
Allow the bootloader to finish flashing the updated radio, and reboot the HTC Incredible S normally.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1129014
Turns out there was another PG32IMG hiding out on the sd card, that was probably what was confusing it. Works great now, thanks to everyone for the help!
I do have a Virgin HTC IS (virtually, idem toa bell one).
The recommended radio installs well on my device, but it does not wrok properly - no voice during in/out calls!
By the way, have you updated the divece to gingerbread 2.3.x? If yes and it it works well, do you mind to let me know which one you have installed ?
Thanks

Dream G1 Flash Error

I was trying to downgrade from RC30 to RC7. Pressed Camera+Power button, after gray screen popped, it checks something and then an error popped..."Not allow"
What happened here?
*should be in q&a thread*
you may not be flashing the right dreaming.nbh or you may need to make a gold card first - don't have a link handy but google "cyanogen g1 root wiki" here you will have all the info you need as well as links to the proper downloads
Sent from my HTC Vision using xda premium
Actually, I really don't know where to begin. I cannot get into phone w/out register with google. But then, no wifi. Cannot run adb because everytime I plug in phone to pc, it reads the sd card. Already put all necessary files for rooting. Install everything but still end up with nothing.
DREA100 PVT 32B
HBOOT-0.95.0000
CPLD-4
RADIO-2.22.19.261
SEP 2 2008
SERIAL 10
I tried all the bypass methods but nothing... no reboot, nothing.... Going around in circles as there are many guides on how to root this phone. Also applied the method where you code in the commands to activate developement w/out going into the phone.... that too cannot get thru. So far, I've tried 3 different ways to root. None of them worked.
Thanks....
well if you downloaded adb through the xda package and you followed the link in there to bypass and you still can't, I suggest finding someone with a tmobile sim card to bypass, then remove their card after you get wifi on and continue the steps
Sent from my HTC Vision using xda premium
I have T-Mobile simcard. Problem is there's no tmobile here on the islands. Now how do I activate wifi so I can register? At the moment, still cannot get pass the google registration because of no wifi.
the steps listed in the cyanogen g1 root wiki will do it, if you read through the wiki you will see a link explaining it very well
if you still have problems report back exactly what you have done, and you'll get more help
Sent from my HTC Vision using xda premium
Ok, I tried this link but got stuck at the following:
Rooting your RC29 or lower phone:
On RC29 phones and lower, anything you type into your keyboard is also being run in a hidden console with root permissions. More information regarding that at the bottom of this post. But, to get root access, do the following:
Instructions:
Download recovery.img or the new version by Amon recovery-RA-dream-v1.5.2.img and copy it to your SD card (see the previous instructions on how to copy from your computer to your Phone's SD card).
Download the Hard SPL and copy the zip file to the SD card.
All files must be on the root of your SD card.
Restart your phone. Wait for your phone to start up fully and show the home screen.
After your phone starts up, hit the enter key twice, type "telnetd" and press enter. (Yes, it will start up a contact search, don't worry. Just type it.)
Download an Android "Telnet" application from the Market and connect to localhost.
If you connect successfully, you will have a root prompt "#".
Type the following into Telnet (these commands will give you root access easier in the future):
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
cd sdcard
flash_image recovery recovery.img
cat recovery.img > /system/recovery.img
Now you have root!
Cannot accept "telnetd"....
so you are in the android os now? if so do you have telnet app downloaded onto phone?
Sent from my HTC Vision using xda premium
Not in android os. Tried adb devices and no devices shown. I tried this link but cannot enter "setprop persist.service.adb.enable 1". It doesn't change to adb development mode. Tried a thousand times. Could it be because this phone is network locked? But then I am using TMobile Sim which goes directly to the main screen.
Any other possible ways to activate the wifi?
I am very sorry guys. I just put up this computer and forgot to install android drivers but I plug in the phone. After numerous attempts, I decided to try other computers. Wallah, it reads phone as adb. All is fine now. Phone working perfectly.
Once again I am very sorry for all this.
Jabbacks said:
I am very sorry guys. I just put up this computer and forgot to install android drivers but I plug in the phone. After numerous attempts, I decided to try other computers. Wallah, it reads phone as adb. All is fine now. Phone working perfectly.
Once again I am very sorry for all this.
Click to expand...
Click to collapse
I was just about to mention the adb android drivers, as I recently had to perform the same steps (using a different xda guide tho, telnetd is weird). Congratulations.
Everything working?

Categories

Resources