yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] ludetn93:
Help with root

Hello everyone,

This is my first Android device and am having trouble with the rooting process.

I have Windows Vista 32-bit and I have installed all the packages with the Android-SDK.

I can not seem to get the phone to connect to the computer using the loop. I have followed the instructions on the other post.

Thanks in advance.
[HTC Aria Android Development] ko0ky:
also is this normal?

D:\android-sdk-windows\tools>adb devices

adb server is out of date. killing...

* daemon started successfully *
[HTC Aria Android Development] eugene373:
More than Happy to Help :)

Yes that Okay, I get that from time to Time..

If you have Followed the Step, Try Reformatting, then Make the Goldcard again & let windows format if need be!

I had trouble as well & after I made teh goldcard windows no longer ( via sd adapter card ) would Read it... After format the Hex was still the same.

I can't say this will work for you, but it did work for me.. It by no means easy to begin with and it took me around 45 minutes to root my Cousin Dad Phone!!

Just keep trying & you will get it..

~Eugene
[HTC Aria Android Development] MeNaCe2s0cieTy:
alright so im a noob, lol this is my first post.. a lot of this is kinda of topic.. i was wondering if you could make like a video tutorial on how to root this phone. im not very tech savvy and I rooted my G1 from watching a video tutorial on youtube. also so does wireless tether work or not. i would really like to know because i currently use my g1 as a wifi hotspot. and finally im thinking of picking an aria up this week, how easy is the keyboard to use especially coming of a G1 with a physical keyboard? thanks
[HTC Aria Android Development] ko0ky:
yah, i'm stuck.. or maybe just mentally. :)

just before putting my phone into recovery mode the computer is looking for android 1.0 drivers. I figured I just ignore that and continue, after going into recovery, I noticed the computer searching for adb driver.. so Im not sure if im on a dead end or just continue and keep trying..
[HTC Aria Android Development] eugene373:
Yes you need the Driver installed... I recommend using the Latest SDK install utility.. Worse case, just down the latest sdk & run the setup.. If using Win7 > ( Right-click ) Run as Admin!!
[HTC Aria Android Development] ko0ky:
hmm, I dont know what i'm doing wrong. I did install the latest SDK and I used it to grab the usb drivers.. when prompted to locate the drivers I pointed to that location I could hit ok (you know its normally greyed out if there's no driver .inf).. but then it said couldn't find drivers for my device. ( im using windows xp pro) tried one two machine now.

maybe im just tired and anxious.
[HTC Aria Android Development] hocplyr98:
So is this a 100% working, official root? And if so, can you sticky a guide? I'm new to rooting and Android itself. In fact, my phone hasn't even come in yet, but I want all of AT&Ts crap off my phone and the ability to install 3rd party apps right when I get it :D.
[HTC Aria Android Development] eugene373:
yes :rolleyes:
[HTC Aria Android Development] hocplyr98:
Are there any bugs?
[HTC Aria Android Development] eugene373:
Okay guys... Gold Card may not be Needed & likely not what let me Root the aria... Been Helping other people & After Formatting the SDCARD using windows it lets them see the Device.. Might be how the Phone is Formatting the scard, idk at this point!!
[HTC Aria Android Development] shark0807:
I did not have to do anything to my microSD card to root my Aria. It just seems like it is random whether or not the phone shows up in adb devices when in recovery mode or not.
[HTC Aria Android Development] elguapo84:
Mine only shows up as an offline device for a few seconds, then the USB makes the standard connect/disconnect, and it's gone...using a gold card, but now wondering what's going on...

Am I supposed to press volume up and power to get to the recovery screen or just leave it on the red caution icon screen and let it do it's thing?
[HTC Aria Android Development] shark0807:
If it doesn't show up in adb devices as in recovery when you are in recovery mode, then you just gotta reboot and try again. There's really no way to guarantee it to happen, it just will one of your tries.
[HTC Aria Android Development] elguapo84:
I've tried like 30 times lol...

tried every combination of order of events...if lucky, it says I have a device offline (sometimes two even)...but this is only for a few seconds...unlucky I guess
[HTC Aria Android Development] jasonyump:
Alright I think I know what the problem is with people who can't get adb in recovery.

When you boot your phone in the bootloader open device manager

Check what your phone is detected as.

If your phone is detected as a disk drive with the name Android phone you need to uninstall the driver and reinstAll the adb usb driver

If its detected as "Android 1.0" install the usb driver from the sdk.

Check that device manager detects it as Android phone.

Then start your loop and proceed with recovery.

It seems to mount recovery as a disk drive. Probably due to unmounting it as a disk drive.

It's worked fine since. But I've had to do this twice now.

Let me know if this works for you.
[HTC Aria Android Development] shark0807:
Also since it hasn't been mentioned more than once for clarification. Your phone definitely will not show up if you do not have USB debugging enabled!
[HTC Aria Android Development] elguapo84:
debugging definitely enabled...this just isn't fair...possibly vista 64 issue?
[HTC Aria Android Development] jasonyump:
No its not a 64 bit issue, because Im using 64 bit

-------------------------------------

Sent via the XDA Tapatalk App
[HTC Aria Android Development] elguapo84:
So I've discovered this is what's happening...once switching to recovery mode, my device turns into Android Phone, then the F: drive. When attempting to reinstall the driver, I get three options, Android ADB Interface, Android Bootloader interface, and Android composite ADB interface...which one should I choose?
[HTC Aria Android Development] jasonyump:
Android bootloader interface. I don't even think the goldcard is needed but I haven't tried without it yet.

-------------------------------------

Sent via the XDA Tapatalk App
[HTC Aria Android Development] elguapo84:
Tried that...turns into Microsoft WPD Filesystem Volume driver, and eventually F:

As soon as I switch to recovery the driver defaults to a disk drive mount EVERY TIME...I've tried uninstalling and reinstalling several times, and I am logged in in test mode.
[HTC Aria Android Development] Clienterror:
Yea that's my problem. Now the issue is when I DL the SDK USB drivers then point to the location to install the driver it tells me there's no drivers there. Do I need to turn off Digital driver signing or something?
[HTC Aria Android Development] panda703:
Super User

So I got to clockwork without a goldcard then tried to do the last part with the Super user shell and did not get the popup is my only option to redo the whole process from here?
[HTC Aria Android Development] jasonyump:
When you uninstall the driver check delete driver.

BTW make sure your in the bootloader screen when your installing the driver NOT fastboot or the recovery screen as it won't work right.

Just for clarification make sure when installing the driver you are manually doing it with the "have disk.." method. It will then show 3 options. Choose adb bootloader. Then let it install. Run the loop and select recovery. It should then work fine. Also make sure not to unplug it from usb until adb shows the phone in recovery.

-------------------------------------

Sent via the XDA Tapatalk App
[HTC Aria Android Development] jasonyump:
@panda703 did you "adb install superuser.apk"?

-------------------------------------

Sent via the XDA Tapatalk App
[HTC Aria Android Development] attn1:
Instead of slideroot.zip, you can just flash my rom.

That includes root, superuser.apk and strips AT&T applications.

Check out this thread: http://xdaforums.com/showpost.php?p=6909467&postcount=1
[HTC Aria Android Development] elguapo84:
Didn't work...still changes into F drive. So angry. No root for me
[HTC Aria Android Development] Joesalad21:
In an extreme noob when it comes to the android business as i just got my Aria yesterday >_>. No matter what I do, I can't get my device to not show up as "Android 1.0" in the device menu :( Any advice?
[HTC Aria Android Development] jasonyump:
dont worry ill try to find the exact problem. i had this problem all day since the root was originally posted this morning and then got it working. have you tried taking out the sd card and using an sd card reader to make a goldcard.
[HTC Aria Android Development] elguapo84:
Tried, but earlier in this thread, someone mentioned it wouldn't matter anyway
[HTC Aria Android Development] jasonyump:
well i encountered it again. so ill see if i can get some better steps at getting it working faster,
[HTC Aria Android Development] elguapo84:
It's gotta be a vista 64 issue
[HTC Aria Android Development] panda703:
yes i did and i got "permission denied" i have the actual program on my phone and when i open it up its just a black screen?

*note this is my first android phone :)

*EDIT*redid the process took 2 reboot's to get into recovery WITHOUT gold card. and phone is rooted "#" :D
[HTC Aria Android Development] Clienterror:
Verification failed? Feel like such a noob being so new to android OS lol.
[HTC Aria Android Development] jasonyump:
hm i would say just try starting from scratch again.
[HTC Aria Android Development] attn1:
You need to load clockwork recovery to flash it.
[HTC Aria Android Development] elguapo84:
If anyone lives in the Seattle area, I could use some help with this...won't seem to work on my computer at all!
[HTC Aria Android Development] jasonyump:
after installing htc sync it updated my drivers and worked fine.

havent used htc sync just installed it.
[HTC Aria Android Development] Clienterror:
Ahhhhh ok, guess I'm still stuck then =( When I boot into recovery I get a "!" in device manager in windows for Android 1.0. I've downloaded HTC sync, SDK (downloaded USB drivers that don't seem to contain any drivers?). Tried installing with "I have disk" Dont seem to have all the options you guys have and the ones I have don't work lol. Ah well I'm going to bed.

*edit*

Ok I got it to show the phone in recovery mode in the cmd prompt sweet. Now am I just timing the "adb push update.zip /sdcard" at the wrong time? It says "Failed to verify whole-file s1 gnature"
[HTC Aria Android Development] eugene373:
You Push the ota.zip to the sdcard as ( update.zip )

Run the update from zip & right when you see the progress bar you push the update.zip to the sdcard fast!
[HTC Aria Android Development] attn1:
Page one update here: POST#2

This works reliably for me - with a good sdcard.
[HTC Aria Android Development] judicious:
Does it matter to have gold card? Like, what would a gold card be needed for in the future? Or is it only good for rooting?
[HTC Aria Android Development] Corporate Dog:
I think Step 14 of the update post (#2) has a typo.

If I'm not mistaken, the command should read: push ota.zip /sdcard/update.zip

Right now it reads as: push ota.zip /

Regards,

Corporate Dog
[HTC Aria Android Development] Shad0wguy:
I hope so, cuz that is where I am getting an error.
[HTC Aria Android Development] alton987:
That got me past that point, know i can't get past the next part wheere you need to time the cmd prompt with the phone sdcard update.
[HTC Aria Android Development] alton987:
Next error

on the next step i get "E:Failed to verify whole-file signature"
[HTC Aria Android Development] Atlas15:
I followed the tutorial and managed to get root on my device.

Then I went on and replaced "/data/data/com.android.providers.settings/databases/settings.db", and rebooted.

My device shows the HTC logo, then the at&t animation, then goes back to the HTC logo and so on, infinite loop.

Anyone have an idea why it's doing this and how to fix it.
[HTC Aria Android Development] Rock3nrenigade:
Going to attempt my first root on this device... Should be interesting? Just follow the MT3G video and I should be okay?
[HTC Aria Android Development] cegna09:
i followed the instructions. installed superuser.apk, but no root. i have to be missing something.

now i can't get adb to see the device in recovery
[HTC Aria Android Development] attn1:
Thanks - corrected. Don't know how I missed that.
[HTC Aria Android Development] attn1:
keep at it. You haven't touched the recovery, so if it worked the first time it will work again.
[HTC Aria Android Development] attn1:
Try a wipe in Clockwork. If that fails, wipe then flash my rooted ROM.
[HTC Aria Android Development] bobj:
I had this happen as well, no idea what caused it but it was a bad setting or transfer.

If you get to the recovery screen (screen with the phone and triangle logo) and push "volume up + power" you can access another screen with a wipe/reset data option. I had to do this and upon reset the phone would boot again.

I tried using the restore rom utility on the HTC page but it would not work, glad this did i thought i bricked it.

The good news was installing the new stripped rom update then applying this with the ADB in SU by default i had no problems the next time and it worked fine.
[HTC Aria Android Development] Atlas15:
Thank you guys for the reply.

Will this delete what I have installed and configured on my phone? I don't mind installing all the apps all over again, I just want to know what the wipe/reset data option will do.
[HTC Aria Android Development] cegna09:
i'm hitting power to select recovery and plugging the USB in at the same time, and i get the "device plugged in" noise, then "device dissconnected" noise. loop never catches it. annoying as hell since it worked first time when i tried origionally.
[HTC Aria Android Development] prata:
You can use a loop in bash to create the same effect for *nix

#!/bin/bash
while [ 1 ]
do

./adb devices

sleep 1

done

Also, I managed to get root with the updated instructions. Worked like a champ. Thanks so much (no that's totally not sarcasm, you're rockin'.) ^_^
[HTC Aria Android Development] bobj:
From what i saw it deleted the DATA and another directory and upon restart it prompted to set the phone up again. Since i have all my pictures/music on the SD card and did not really download any apps plus all my contacts synced with google i had no issues.

I think this is basically a hard reset, wipes the phone to fresh but should not touch your SD card.
[HTC Aria Android Development] vincecr:
If I do decide to root my device is there a way to un-root it?
[HTC Aria Android Development] attn1:
Just flash the RUU found on the HTC website from stock recovery.

Or, do a nandroid backup from Clockwork before you root or flash a new ROM.
[HTC Aria Android Development] _Opiate_:
I swear Im never taking my amon recovery on my nexus one for granted EVER again lol....I just flashed your ROM my man!
[HTC Aria Android Development] attn1:
Groovy... what do you think?

dont forget to flash the settings.db patch
[HTC Aria Android Development] modest_mandroid:
Question regarding rooting a device (bear with me, I've never owned an android phone).

If you root your phone, what do you do in the event of OTA updates? Do you ignore them or is it safe to install? If you do install, will your phone become locked again?

Also, are OTA updates usually full rom images or just OS patches?
[HTC Aria Android Development] attn1:
Sometimes they are full ROMs and sometimes just patches. They can be either.

I'd ignore them as they could unroot the phone again and plug up any known root exploits.

Someone will repack any updates almost as soon as they are available.
[HTC Aria Android Development] HDCS:
If I'd like to back up my current setup before pushing on the new ROM with the procedure given here. Is it possible to do it as an additional step within the process?

I'm having a bear of a time getting my phone recognized during the recovery boot phase. I got it recognized at one point last night but failed during the first adb push. If I manage to get far enough along again I want to try backing it up too. So at what point and with what command could I do that?

And by the way, thanks for your work on this to all the guys who've worked on this rooting and the ROMs thus far. Much appreciated!
[HTC Aria Android Development] attn1:
Nandroid.

Step #19
[HTC Aria Android Development] HDCS:
No extra parameters necessary then? Sweet. Thank you again!
[HTC Aria Android Development] judicious:
no gold card

is it really possible to do it without a gold card? any potential bugs?
[HTC Aria Android Development] attn1:
It works or it doesn't. When I first did the root, I had problems with the one supplied with my Aria, so I tried my gold card and it worked.

Some are not having problems with a regular sdcard. I don't know what's going on - it may be how the card is formatted. First I used the card as supplied in the Aria - no reformat - no go. The goldcard was formatted and created in my GSM Hero. I didn't use a PC reader to apply the gold card image.
[HTC Aria Android Development] judicious:
this may be a dumb question, but what exactly is the gold card for? i've read a lot and people said it's for rooting. can i use the sd card that's supplied from Aria to make a gold card?

the gold card doesn't wipe out the phone right? it's just needed to root the phone?

also, after rooting, all it is, it's just granting admin access right? not formatting the phone? i just want to know if all the apps and settings will be the same after i root the phone.
[HTC Aria Android Development] Yoshiofthewire:
You don't need a gold card to root. You just need the right SD card.

making a gold card just changes the SD card formatting.

You will lose whats on the SD card.
[HTC Aria Android Development] attn1:
Just rooting is granting superuser access. That's it. Everything remains the same, except that.
[HTC Aria Android Development] mh333:
Can this be done on a mac?
[HTC Aria Android Development] attn1:
yes. use ./adb instead of adb
[HTC Aria Android Development] judicious:
do i need superuser access in order to select networks? for some reason i can't seem to toogle to use edge only, it always default to 3g.
[HTC Aria Android Development] attn1:
Should not need root for that.
[HTC Aria Android Development] kaiser_tytnii:
do you think the same process will work for Nexus One?

other than the recovery image that i need to change, do you think there is anything else that i need to change from your files if i were to do it for Nexus?
[HTC Aria Android Development] attn1:
Just make sure you aren't using this method to flash a FroYo update. That requires a radio flash, and I am not sure how robust this version of Clockwork is going to be on a Nexus One. I wouldn't want to be the first to do that. Before I rooted the Aria, I made sure I was not messing with the spl, radio or stock recovery so that I could flash back with a copy of the ROM from shippingroms.com.
[HTC Aria Android Development] judicious:
any idea why the 'select network' option is grayed out? or do you know how i can toggle between edge and 3g?
[HTC Aria Android Development] kaiser_tytnii:
thanks for your heads up;)
[HTC Aria Android Development] judicious:
how do you flash on the aria?
[HTC Aria Android Development] judicious:
should i have a bootloader in case the rooting doesn't work right? so i can recover?
[HTC Aria Android Development] cropythy:
How can i create a gold card this running through the loop over and over is getting on my nerves...
[HTC Aria Android Development] Yoshiofthewire:
What you need to try is a different Flasm Memory card, formated Fat32.

I suggest a 2gb card. But Your Milage may vary.

Also, make sure you can ADB into the phone normaly.

The HTC Aria is *****y when it comes to USB ports.

You may need to try a different USB port.
[HTC Aria Android Development] fluffyarmada:
Maybe this is specific to the Mac OS version of adb and usb drivers... but I have the best luck getting adb to find the device in recovery mode by doing the following:

1) disconnect from USB

2) turn off phone

3) hold volume+down and press power

4) select 'recovery' and press power

5) connect the usb cable to the phone right as the htc logo pops up (be very quick about it)

-- this works every time for me, but this is obviously a strange little beastie and your milage may vary
[HTC Aria Android Development] cegna09:
seems to be really arbitrary with SDcards. I made a gold card, didn't help my problem. tried the origional, didn't help. Tried a 16gig card i had on a recomendation from the mytouch thread, and now it works.

still won't root. i'm following the instructions and nothing. when i type "su" in the shell, i get permission denied. trying the liberated rom now.
[HTC Aria Android Development] mythgarr:
After much trial and error with my Aria not showing up in adb devices, I stumbled upon a method that seems to always work. After getting to the recovery menu, select apply sdcard:update.zip and press the power button. It will fail. At THAT point either plug in or unplug and reconnect your USB cable and it should show up as in recovery. It's worked for me every time I've tried it - can somebody else confirm?

I'm still having an issue with the update failing. I show:

I think I'll try reformatting the SDcard and retrying - others seem to have had some luck with that.

EDIT: After wiping the SD Card from the recovery menu I had to go back into the phone and switch the USB connection mode to HTC Sync (which has a side effect of enabling USB Debugging). If you can't get adb devices to show it when regularly booted as a device, it WILL NOT WORK in recovery mode! While in "standard" mode I did mount the device as a drive and use windows explorer to format the drive using FAT32.

EDIT2: It seems that an unlisted prerequisite for getting the post2 to work is to have followed the tutorial. I downloaded the slideroot.zip from the Slide tutorial and unzipped into my tools folder. After that everything went just fine - I was able to flash the ROM posted.
[HTC Aria Android Development] cropythy:
The unplugging and replugging still didn't get me into recovery mode, oh well picking up a 16gb sd card tomorrow, hopefully that will work
[HTC Aria Android Development] mythgarr:
When booted regularly, does adb devices show your phone? If not, you probably haven't installed the HTC Sync software (and the included drivers). I know - bloatware stinks. You can probably safely remove the software once you have your phone being recognized.

If it IS showing up when booting normally I guess it's back to the drawing boards for that issue.
[HTC Aria Android Development] judicious:
help! i see a big red exclaimation mark on my phone and it won't do anything!
[HTC Aria Android Development] mythgarr:
That was my first reaction =) You are just at the recovery screen - press vol+ and power at the same time and you'll get to the recovery menu (I'm making these terms up off the top of my head). You can reboot or proceed with the instructions from there.
[HTC Aria Android Development] cropythy:
Shows up regularly when my phone is on...in every usb port on my computer...yes I have tried to get to clockwork to flash to the new rom half a dozen times in each of 14 ports...yeah...also I got to clockwork two days ago first try and rooted my phone with the same sd card...so thats why I am going to try with the 16gb sd card I'm buying tomorrow
[HTC Aria Android Development] judicious:
whew..ok..well..it doesn't work..for some reason it doesn't detect my phone..all it says is 'list of devices attached'..is that what it's supposed to say?

am i supposed to have the 2gb sd card transformed into a gold card?
[HTC Aria Android Development] hocplyr98:
I've done everything correctly until step 18. From there it won't let me load up clockwork. I have liberated_aria_b002_signed.zip in the root of mem stick (unzipped) and have the same file unzipped in SDK\tools along with unzipped Clockwork files (ota.zip, update.zip, loop.bat). I keep trying to simultaneously press power and enter to start the clockwork, but it won't work. Any help?