yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] farquep:
As soon as i plug in my Aria, it might catch it offline but then it will kick out and give me the hated red triangle. And it still needs Android 1.0 drivers? I only ask this because thats what it wants from my when I plug it in when I reach Bootloader.
[HTC Aria Android Development] judicious:
mine does the same thing..what i did was i installed all the drivers from sdk and even the random htc drivers into usb_driver in the sdk folder..still no luck..i tried to point to the driver folder...this is really a driver issue..not SD cards..
[HTC Aria Android Development] jaredcg:
got mine rooted thanks att1

its all in the timing it sucks but its worth it in the end

oh you guys need to install htc sync that will get you the drivers you need

just put your phone in debugging mode connect as charge only after you install sync then win will find them then to make shore you have adb seeing it run the loop with your phone booted up like it normally would be

ps theirs not sync for aria yet i installed it for the htc legend does not half to sync just need the drivers

hope this helps somebody
[HTC Aria Android Development] mrandyp69:
excellent work.

first time android user.. read up on this thread for what it seemed like hours.

its all about the timing guys. I used the stock sd card. everything words beautifully. no more bloatware! many many thanks from me.

took me about 60 tried all together. but i kept at it, and it worked.

for those with driver issues, im running win 7 bootcamped on mac.. i installed htc sync then uninstalled, but left the drivers. everything was smooth sailing from then on.

thanks thanks thanks!
[HTC Aria Android Development] judicious:
it's seriously not working for me...we got htc sync on..it still asks for drivers..what did you point it to? usb-driver folder in sdk
[HTC Aria Android Development] attn1:
What version of HTC Sync are you using?
[HTC Aria Android Development] judicious:
htc sync 2.0.38 it was last updated on june 22..the latest one right?

android sdk the latest one on the site..even as of today i re-download..

when i turn it off..and turn it to the recovery screen..that's when i know it's not detected..it's supposed to show your serial number or name of your device..

it keeps sayind attached devices or something..list of devices..but not the actual name..i dont know what else to do...wish there was an app for this
[HTC Aria Android Development] mjgreenjr:
I've tried every combination of different things I've read on this site except for going out and grabbing a 16 gig sd card. I've tried it with the stock 2gig. I've change the stock into a gold card. I've tried it with an 8 gig sd card (have data on that so I haven't tried changing that into gold yet.) I've tried it with the HTC Sync installed and with it uninstalled. I've tried plugging in the usb as soon as I hit power. I've waited until the screen recovery screen is loaded.

I'm not sure why sometimes I get the message about failing to find drivers for Android 1 and sometimes I don't. I can connect to the phone just about anytime that the recovery screen is not loaded, though. Is it really going to take a 16 gig card? I've seen plenty of people who've said they just used the stock card. I feel like I'm doing something wrong but I've tried every suggestion I can find here and even tried a few other sites with suggestions. This is getting frustrating...
[HTC Aria Android Development] judicious:
i second that thought..so far what i've seen thus far is that it loops constantly AT offline..

also, suggestion, make sure you're in debugging mode..are you defaulting on charger mode, usb drive mode, or htc sync mode?
[HTC Aria Android Development] mjgreenjr:
Default charger. Stick it in debug mode before I turn it off, but sometimes that seems to reset on its own.
[HTC Aria Android Development] armyengineer51:
I appreciate it, but there are actually a couple of AT&T things that I'd like to keep.
[HTC Aria Android Development] armyengineer51:
Exactly what I tried to do. Root worked flawlessly, but changing the settings.db did not.

I can 'sideload' apps through the sdk, just not from the SD card on the phone.
[HTC Aria Android Development] attn1:
When are you plugging in the usb cable? The stock recovery does not have adb available, unless you continue to use the exploit. Rooting doesn't change that.

If you want to push settings.db, do that with the phone up and running with usb debugging on. At that point, it should push easily if you are properly rooted.
[HTC Aria Android Development] attn1:
Okay, what if I take the stock rom and root it, and leave all the AT&T apps?
[HTC Aria Android Development] judicious:
I've done two ways:

1. i'm plugged in at all times, turn off phone, turn it in that recovery screen, loop.bat, then select recovery..no luck..

2. not plugged in, turn off phone, get to recovery screen, plug in, loop.bat, then select recovery..no luck...

I DO notice i get 'offline device' in cmd, if i select 'htc sync mode' instead of 'charging mode' or 'usb disk drive mode'..

where is settings.db? i didn't know i had to push that before the loop.. or am i misinterpreting what you are saying? the thing is, i'm not even rooted, i'm trying to get rooted, but i can't bc of all these driver pop ups when i go plug the phone back in when i put it to recovery.
[HTC Aria Android Development] froggyarts:
I just wanted to add my experience also.

My very first post was about ordering the Aria.I got my phone yesterday morning and messed with it all day at work. That same night I attempted to root my phone.

After reading so much about it on the forums, it took around five hours to get adb to read the phone in recovery. (if it helps anyone, I was using OSX, I used adb to reboot straight into recovery and as it rebooted I copy/paste adb devices over and over till it caught).

And to add to the discussion, I used the stock micro SD card, just reformatted it a couple times lol

Thanks everyone in this discussion and the slide discussions also, helped me get by till I rooted the phone.
[HTC Aria Android Development] judicious:
How u copy it over n over
[HTC Aria Android Development] Viper240:
Recovery access -- Alternate method

Thank you for posting all of this, I now have a much more useable phone :)

Alternate Method for steps 3-12: Based on WindowsXP

3. Install htc sync to make sure you have the right drivers

4. Start the phone (not plugged in).

5. Plug in the phone. It should auto-detect and install drivers and say everything is ok.

6. Run: adb devices It should list your phone (if it doesn't you need to fix the device drivers problem with windows first).

7. Run: adb reboot recovery Your phone should reboot and come up to the screen with the red triangle.

8. Run: adb devices It should list your phone in recovery mode. If not, try unpluggin the USB cable from the phone and plugging it back in.

9. Proceed with install from step#12.

I can't guarantee this will work for anyone except me, but I found it easier. My windows computer kept getting confused and thinking my phone in recovery mode was a storage drive. I had to install the drivers (via htc sync) to get it to work.
[HTC Aria Android Development] attn1:
Way #1 will not work.

Way #2 will not work.

Try another way - plug the usb port in IMMEDIATELY after pushing power to start recovery on the HBOOT screen.
[HTC Aria Android Development] froggyarts:
On OSX just command + c the adb devices command and hit command + v in the terminal when trying to get recovery, although I think a loop.sh will work too.
[HTC Aria Android Development] AndrewAmazed:
honestly this is really pissing me off =(

I've tried countless times and the best I got was that it got attached for maybe 3 times and then disappeared...

any reason why its happening? or how to fix it? =/
[HTC Aria Android Development] armyengineer51:
That might be worth a try. Would I be able to uninstall the AT&T apps that I don't want, or is there some other process for that?

BTW, thanks for all your work on this!
[HTC Aria Android Development] dahui9:
Well thanks attn1 I've been trying for 4 days now even to just get a root on my device. Without buying a 16g card I'm just going to wait now I haven't even gotten the phone to be recognized by adb (the first hurdle) I think I have tried 5 cards but all were class 2 all different sizes. I guess its just not meant to be for my aria.

I'll be checking the updater thread should we manage to get a easier root proccess
[HTC Aria Android Development] prata:
In OSX, you have a *nix shell. It's either bash or tcsh (which I think might be just a link to csh but that's not important for our purposes), but please don't c/p repeatedly. That sucks. Find out what shell you are using, as an example:

prata@crane:~$ echo $SHELL
/bin/bash

Then this is what you would do to create your infinite loop. If you get any other output, such as /bin/tcsh, or /usr/bin/tcsh or whatever, place that line in place of /bin/bash in the code below - keep the #! you need those. Hope this helps.

#!/bin/bash
while :
do
./adb devices
done

or

#!/bin/bash
while [ 1 ]
do
./adb devices
sleep 1 #You can remove the sleep statement if you like.
done

Pick one of these (it _really_ doesn't matter) put them into loop.sh and the execute it as such:

sh ./loop.sh

You can also make the script executable so you can just run ./loop.sh

chmod +x ./loop.sh
[HTC Aria Android Development] Joesalad21:
It doesn't seem to matter what I try, it showed up in adb devices two times and now it won't show at all. I've been at this for about 4 days now >_>. I may just wait for an easier root.

EDIT: I got it to show up in the terminal again but now it always fails to verify signature on step 18 :/

EDIT2: YES! I got into clockwork recovery and everything went smooth from there.

Just to verify with everyone, I rooted with the stock 2gb SDcard it came with (non goldcard) on Linux Mint x86_64. I give huge thanks to everyone that made this possible :D

Also, you HAVE TO make sure your microSD is formatted to FAT32. Every time I tried to format using my phone, it formatted it to FAT16 and wouldn't show up in adb devices.
[HTC Aria Android Development] sentinel79:
I've only had this happen to me with two apps so far but basically what goes down is I open "Android Mate" and when I first tapped the "File Explorer" tab I was asked to allow super user and I didn't click "always allow" but instead "allow" because I figured I could come back and set it to always later ... anyways now it doesn't ask me for that and when I click "File Explorer" tab I'm taken to a black screen with a grey bar at the top saying "SU Request" (in taskbar it read as "Super User" or something) and eventually I have to wait for it to time out so I can FC.

The other app that did this was "LED Effects" ... I'm thinking I could uninstall it and download from the market this time. Any ideas?
[HTC Aria Android Development] bipolarben:
Scripted it

I was fighting with the original howto for a few hours, so I wrote a bash script [I'm running Kubuntu Linux] to do the heavy lifting. With this script, I only had to hit the buttons on the phone to reboot it. The script took care of everything else. Here it is:

#!/bin/bash
while true; do
echo ""
echo "Rebooting into recovery"
while true; do
echo -n "."
sudo ./adb reboot recovery 2>/dev/null
if [ $? = 0 ]; then
break
fi
done
echo ""
echo "Checking for device"
COUNT=1
while [ "$COUNT" -lt "750" ]; do
DEVICES=`sudo ./adb devices`
DEVCOUNT=`echo $DEVICES | wc -c`
if [ $DEVCOUNT -gt 25 ]; then
echo "GOT IT!"
echo $DEVICES
exit 0
fi
echo -n .
let COUNT=COUNT+1
done
done

If the script doesn't see the device within a short time, it goes back to trying to reboot into recovery. All you have to do it select the reboot option from the recovery menu, and the script will start it all over again until it sees the device.

Also, note that Joesalad21's comment is 100% true. You MUST format the card FAT32. I used the mkfs.vfat command to do it. You don't need a card reader, you can do it with the card in the phone. Just see what device the card shows up as when you connect it to your computer and run 'mkfs.vfat /dev/[device]'. For me is showed up as sdb. I was beating my head on the wall for a long time before I did this. Adb would always show the device as 'unavailable', and only once.
[HTC Aria Android Development] prata:
Nice script. I never thought to script it out since I struggled relatively little with getting the device to show up. Right on.
[HTC Aria Android Development] Atlas15:
Does anyone have and idea why my device reboots when I try to copy anything to the /system partition.

Device is rooted and have uid(0) when trying it the command.
[HTC Aria Android Development] farquep:
I'm stuck trying to get my computer to recognize the Aria. I've tried both in Windows (Vista), and Ubuntu (10.04 LTS), neither of which work. I have the timing down but as soon as the Aria goes "off line" it kicks out and no longer sticks. I have had this happen with both the stock SD card and a 8GB SanDisk card.

Oh and windows continues to bug me for the "Android 1.0 Driver" I have installed both the SDK drivers from Google. And the HTC Synce drivers (but have not ran the program)

Now its connecting and immediately disconnecting the loop will never see the device.
[HTC Aria Android Development] judicious:
doesnt work..omg..will keep trying tomorrow..didnt get a 16gb yet..might try go to go Frys tomorrow.
[HTC Aria Android Development] judicious:
crap i just went all the way through and didn't see slideroot.zip..why!???? and great..permission denied..no!!!!! and i didnt see a pop up :( omg i'm getting close..someone help!
[HTC Aria Android Development] judicious:
dear lord..please tell me i have rooted..

adb shell

$ su

#

BUT when i got the prompt from superuser.apk i clicked allowed and it said permission denied..then i type in 'su' again and got #. what does this mean? the superuser.apk is no longer on my phone...how do i check if im rooted??? please someone tell me..anxious..

Edit: I tried to use estrong file app and go to root option it said deny...and my friend said if I'm rooted I automatically get a tether program but I don't see it..Omg am I rooted?
[HTC Aria Android Development] judicious:
I tried terminal back up app.and the supersede prompt came up but then after clicking on allow it says make sure your Rom is rooted and include busybox...so im not rooted but y?
[HTC Aria Android Development] dahui9:
Know if I can create this in notepad for us Windows users? It would make it much easier, kinda like making the boot loop.

-Charlie
[HTC Aria Android Development] sentinel79:
I've already flashed the ROM and it's all working 99% fine (SU Request error on my file browser app) ... but now I want to backup. How do I get back into Nandroid to do a backup ... do I have to do the whole loop.bat process and run those commands just to get back to clockwork?

basically ... is there an easier way to get to clockwork where I saw the nandroid option?

Also does Nandroid do a backup that will be compatible with Froyo or what's the procedure when moving to different builds like this (backing up the launcher and position of items and items to be re-installed)?
[HTC Aria Android Development] robonoob:
hahahahahahaahahahahahah i have root!!!!!!! for those of you who are having issues with windows 7 or vista, just be patient, it will work, here's what i did...

once you are running loop, put your mini usb into the phone but not all the way, cycle down to 'recovery' and press start as soon as the htc logo is up push the usb in all the way... trying to push the update files is a pain but it only took two tries, make sure you do the nanodroid backup, the rest is easy peasy lemon squeezy!!!! ha ha ROOOOOOOOOOTTTTTTTTTTTTT!!!!!!!!!!!!!
[HTC Aria Android Development] judicious:
says im rooted..

adb shell

$

su

#

kernal 2.6.29-885f0b88 htc kernel @and 18-2 #1

i'm rooted right? but im on stock att rom..y can't i delete att apps and install like the root apps like estrong or titanium back up etc...i'm not sure if im supposed to do anything AFTER i root...

i got the same screenshots as eugene as well...the unknown (2000) thing

thanks!...anything with settings.db or busybox? what are those for?
[HTC Aria Android Development] bowtieguy:
I made it through everything without a hitch last night (at last it looked like it) but superuser does now pop up on the phone when I su in adb shell... Guessing that I do not have root yet.

I will be trying the linux looping script that dahui9 posted above and see how that goes.
[HTC Aria Android Development] attn1:
Sounds like you have root - the behavior you describe depends on what option you press when su pops up. See the next post and try that next.
[HTC Aria Android Development] attn1:
Once you have root (either by pushing slideroot and installing superuser.apk or skipping those and installing my rooted ROM) do yourselves a favor and check out this thread: Unrevoked team: Recovery reflash tool (updated - Now for Aria/Liberty!)

Once rooted, you don't have to do the adb chase anymore; you can now flash custom recovery with the tool in that thread. It works!
[HTC Aria Android Development] armyengineer51:
If I had any hair, I'd be pulling it out.

There has got to be an easier method to get to Clockwork Recovery, after my initial success, I can't get back there to save my life.

I was going to go ahead and flash attn1's ROM, thought I might be able to use ROM Manager but have had no luck with that either. This is just painful.
[HTC Aria Android Development] bowtieguy:
That is the thing...

I adb shell and get the $

type: su

shell responds: "permission denied"

Nothing displays on the phone to actually get su, nothing pops up. I never get #

Do you think I still may have root?
[HTC Aria Android Development] judicious:
i'm totally confused..so after i root, i have to do a recovery flash? and then i can load third party apps and change settings on the phone? i thought after the root you can do it because you have su permission.

please help!
[HTC Aria Android Development] armyengineer51:
Thanks to attn1, Unrevoked & everyone else who has helped those of us not nearly smart enough to do this on our own!

Finally able to get back into Clockwork using Unrevoked and flashed att1's ROM. No more AT&T crap! Bonus - I had copied the apk for ATT Navigator and successfully installed only that after the flash, I use it quite heavily and didn't want to be without it. Bonus #2 - I didn't have to reset up any email accounts, etc., all my stuff was still intact. Makes me wonder why I waited so long to get away from WinMo.

Maybe now I can get some real work around the house done!
[HTC Aria Android Development] judicious:
so you have to use unrevoked to start installing 3rd party app and removing att apps? i'm confused..
[HTC Aria Android Development] judicious:
install 3rd party app

i cant adb remount..any idea why?
[HTC Aria Android Development] armyengineer51:
I used Unrevoked to get back to Clockwork because I couldn't manage to get back there after my initial success. I used Clockwork to flash attn1's ROM, which has all of the AT&T stuff removed.

I haven't tried to enable sideloading again, I used the SDK to install AT&T Navigator back on the device.
[HTC Aria Android Development] armyengineer51:
I couldn't either after I got root. Haven't tried again since flashing attn1's ROM.
[HTC Aria Android Development] atri:
Looks like it needs dhd.ko to run wifi tethering and that is not part of this image.
[HTC Aria Android Development] joshuo:
That's what happened to me after I FINALLY got it to show up in ABD! :confused:

It's getting really frustrating here.

I am a total android noob, so sorry if I missed something elemental.

Can anyone help me with this?

I' coming form an old iPhone so i guess i'm spoiled with the one-button-click-bam-jailbroken/rooted executeables.

Is this something that could come in the future on this phone? Or does nobody bother to write a simple program/script to root these devices after it's been done the hard way?

Thanks!
[HTC Aria Android Development] attn1:
From where are you trying to run adb remont? Are you using my repacked ROM?
[HTC Aria Android Development] attn1:
Easy to add, but doing that alone does not fix the problem. Does the kernel need to be linked to it?
[HTC Aria Android Development] judicious:
how did you copy att navigator app? i cant seem to do that..
[HTC Aria Android Development] judicious:
so basically what i did was this:

1. root (got the # symbol)

2. unrevoked (replaced stock recovery screen with the new one)

now i'm not sure what to do next..i want to get slideloading to work, but can't with that settings.db.txt file..

am i supposed to flash the phone with a rom now to get sideloading to work???
[HTC Aria Android Development] armyengineer51:
I used root explorer (well worth the price, btw!) to copy the apk from the system/app directory before I flashed. I imagine you could do the same with any of the other AT&T apps that you wanted to reinstall after flashing.
[HTC Aria Android Development] judicious:
finally..after 5 days..

ok finally..those instructions worked..

took me forever to figure this thing out..here's what i did..

1. I followed the instructions as mentioned above, i used a 8gb sd card (old one from my tp2), I also had both HTC Sync & PDA Net installed on my computer (Windows XP)

2. I then uninstalled HTC Sync

3. Installed Unrevoked (run it on your PC) with phone plugged in

4. To check if you have replaced the stock recovery screen, use the following command prompt and see if you're in clockwork recovery: adb reboot recovery

5. I did a nandroid to back up my phone

6. Install a ROM, I used the shipped Aria rom, place the zip in SD Card

7. adb reboot recovery --> install from sdcard --> select your Rom

8. After it runs, go back and select wipe/recovery (you have to do this to get the Rom installed)

8. That should be it..

whewww..
[HTC Aria Android Development] cranked:
Damn...I was hoping this would work. No dice. I can see the device in Windows 7, but nothing shows up at step 8 above...time to try some other SD cards.

Fuggin AT&T...I love the form factor of this phone, but am missing the root ease of my Google ION/HTC Magic! Arrrrrrggghhhhh!!!!
[HTC Aria Android Development] judicious:
try this:

1. uninstall htc sync

2. install pda net

3. adb devices (confirm you see the device)

4. adb reboot recovery

5. loop

6. select recovery

OR

1. uninstall htc sync

2. install pda net

3. adb devices (confirm you see the device)

4. adb reboot recovery

5. unplug

6. loop

6. select recovery, and right when you see the HTC logo, quickly plug it in
[HTC Aria Android Development] cranked:
Thanks for the ideas...still nothing...I am giving up for tonight. Will figure out a way to get after it again tomorrow. I am missing swype, ha ha ha.

Another question for everyone...is there a way to reboot from stock recovery back into Fastboot? I am doing battery pulls, but wondering if I am missing a way to reboot back into recovery?
[HTC Aria Android Development] bowtieguy:
Two days ago I was able to get recognized in recovery mode several times. My last attempt appeared as I had achieved rooting the phone via slideroot but when I tried adb shell and su, the superuser screen never popped up on my Aria, just "permission denied" in shell. I tried unrevoked and that also did not work yet. Figuring that something must not have gone right, I have been trying to slideroot and/or attn1's rom.

After several hours last night I finally gave up as I can not get into recovery again. (read above: I previously had no troubles getting into recovery)

Could I have goofed something up that is keeping me from getting into recovery again? Is there a way to make the phone like it just came out of the box?

I am good with linux and have tried getting to recovery in both Win7 and Ubuntu 10.04

Any ideas?

Thanks!
[HTC Aria Android Development] armyengineer51:
Glad you finally got it!