yashsingh1/xdaforums huggingface dataset:
[HTC Aria Android Development] thejrah:
You're joking, right? I've been reading your posts since your first in this section, you got a root and custom rom super fast!
[HTC Aria Android Development] bowtieguy:
Linux

Can you write a quick tutorial on how to do this in Linux?

Are there any pros or cons to doing it in Linux?
[HTC Aria Android Development] _Opiate_:
It's so nice being able to boot right in to clockwork recovery. Mad props to attn1 for working hard to bring us root and making sure Aria didn't get ignored! It's a great little device, hell I even favor it to my n1!

Mad props to everyone that made this possible!
[HTC Aria Android Development] Yoshiofthewire:
+1

Yes, thank you all
[HTC Aria Android Development] ibussa:
vmplayer

Hi everyone, for those that don't want to install Linux on a partition, I have done in vmplayer with ubuntu.
[HTC Aria Android Development] prata:
I can confirm this is also true for me. I flashed with the Windows version =-( as the linux version told me the Liberty was unsupported. =-/

It's fine with me though, the phone works, it charges etc. I was just curious if I could replicate the "problem" as it were.

Werd.
[HTC Aria Android Development] Joesalad21:
Thank you guys so much! I've installed ClockworkMOD as my recovery using the linux version and am currently doing a nandroid backup!
[HTC Aria Android Development] rpearl:
I am confused. The source code we build from is the same on all three platforms.

Can you go to the same Linux computer and get the following for me:

adb shell getprop ro.build.product

(exact string, capitalization matters)
[HTC Aria Android Development] breakeven:
Not that I see a lot of mac users on here but I just used it. It took me a couple of tries, the hiccup was after the aria would reboot it would just say waiting to reboot. I don't know what I did to make it go, but the last thing I did was reboot my mac. After that things went perfect.

I can confirm that my phone goes into clockworkmod now when powered off and connected to a power source.
[HTC Aria Android Development] Joesalad21:
I can also confirm this happens after having used the linux version.
[HTC Aria Android Development] _Opiate_:
It's really a small price to pay to be able to reach clockwork so easily. Plus I never charge my phone when it's off so.....
[HTC Aria Android Development] prata:
As requested:

prata@crane:~/code/android/sdk/tools$ ./adb shell getprop ro.build.product
liberty
prata@crane:~/code/android/sdk/tools$

Also, just for posterity, I ran the linux version of reflash again (the same one I used just before moving to a windows VM (downloaded them just about 5-7 minutes apart after I saw people were having success using it), and I have a screen capture of the error. It asks me to run it as root, which seems odd as I can interact with adb without being root, and can interact with the phone as my non-privileged user but I didn't dig too far into why that may be.

This is an ubuntu box -

prata@crane:~$ uname -a
Linux crane 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux

prata@crane:~$ lsb_release -a
LSB Version: core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description: Ubuntu 10.04 LTS
Release: 10.04
Codename: lucid
prata@crane:~$
[HTC Aria Android Development] Joesalad21:
Two extremely valid points. Agreed
[HTC Aria Android Development] rpearl:
Thanks, I will look into that.

The program requires root because: we don't require ADB to be installed, and didn't want people mucking about udev rules just to run reflash, if they hadn't used ADB before. We also require USB communcation at several different points, at which the device may sometimes identify itself differently. Thus some devices, but not all, would require multiple udev rules.

Thus, we decided it was simpler to add a simple getuid()==0 check.

We think it may be possible you have a cached version due to slow DNS updates, if you downloaded it quite early. Can you check the md5sum?

94a96b7abe82f2e5d97b725bd48b7076 reflash.tar.gz
[HTC Aria Android Development] Yoshiofthewire:
FYI: Norton AV marks unrevoked^2 with a false positive
[HTC Aria Android Development] attn1:
I am guessing that's the case. There are other reports of the Linux version running fine.

I'll see if I can set up a poll.

Edit: Poll is up.
[HTC Aria Android Development] attn1:
livecd is a far better idea. You still don't need to install Linux anywhere, and the guys supporting this don't have to deal with fouled up USB configurations with VMware.
[HTC Aria Android Development] prata:
Thanks for that run down. And the md5sum is different, so it would appear your theory is correct. Thanks for clearing that up. It's possible this was a browser issue too, because I did hit the site earlier in a new tab once I saw the announcement earlier in the night. I refreshed the page before downloading, but that doesn't mean the browser was completely "honest" about that. It also stands to reason I failed in some way. There is no discounting that ever. Either way...it's all better, I can verify the provided md5sum against a redownloaded tar archive and they match. The original tar I used wasn't even remotely correct.

Really appreciate your feedback concerning root permissions with regards to the *nix application. I'd have gotten back to you earlier, but I was ermmm...playing MAG and hadn't checked the forums. My bad.
[HTC Aria Android Development] judicious:
newbie question

sorry for the newbie question, but, what exactly is the recovery reflash tool for? so last night i finally rooted the phone, or so it says i am rooted. i can't load any 3rd party app that requires root rights or su rights. is this correct? i.e. titanium back up doesn't work. so i've rooted, can't install 3rd party app, and remove ATT apps. did i do something wrong here?
[HTC Aria Android Development] judicious:
ok so i did the unrevoked thing, got it to the clockwork screen, so what do i do? it seems like it just went to the screen rebooted my phone..went back to the screen...so i didn't know what else to do but do a reboot...a bit confused..
[HTC Aria Android Development] farquep:
i can verify that the linux version works, on Ubuntu 10.04. i have linux installed to a 8GB flash drive. Great work guys, now to get HTC/att to get froyo built for us.
[HTC Aria Android Development] breakeven:
Everyone needs to make sure that you don't use the clockworkmod recovery screen that boots up when your phone is off and you plug it into power. It doesn't do anything. Make sure when you use it that you do a boot into clockwork via hboot.

I had this problem earlier when I tried to install livewallpapers and it was because I tried to use it when the phone wasn't even on, LOL. Anyway thanks to attn1 with the problem.
[HTC Aria Android Development] mjgreenjr:
Unrevoked stuck waiting for reboot...

Ok, I'm trying to run the windows version.

I am rooted by using the liberated2 rom.

The first 3 or 4 times I ran it I got the following:

Unrevoked goes through "Pushing recovery", "Waiting for bootloader", "Waiting for HBOOT", "Running pre-boot sequence" but then hangs on "Waiting for reboot..."

This last time I ran it to make sure I got all the steps and while rebooting it popped up "Flashing recovery image. Do not touch your phone!" Well that has been up on my screen for about 20 minutes now and the phone continued all the way through to the point it is now fully rebooted.

I assume it failed again? Is this just a processes I have to keep running until it works? And how do I know when it is finished?

Thanks for all the work and advice.
[HTC Aria Android Development] attn1:
did you ininstall HTC sync and install the drivers that came with the unrevoked reflash package for windows? if you did, then try linux. You don't have to install it anywhere - just download a Ubuntu livecd (desktop cd) and run it from the cd. You can run the linux version of the flash tool from that.

Windows drivers can be problematic with this process; linux and os x have no such issues.

link to download page here: http://www.ubuntu.com/desktop/get-ubuntu/download
[HTC Aria Android Development] mjgreenjr:
Thanks for the further advice.

It finally worked though. I'm not sure what I did other than let the phone sit in the hboot screen for about an hour over lunch. Then I noticed a window saying it had installed some more drivers and I needed to reboot my pc. After doing that, it went right though and I've got clockwork. Apparently I didn't have the right drivers to begin with but it ended up fixing itself somehow.
[HTC Aria Android Development] yaswanth.y.s:
I have rooted my device and installed the reflash tool sucessfully. Now when I start the "reflash.exe" my phone reboots into "Android System recovery <2e>", I thought I was supposed to get to clockwork recovery?

What do I do now?
[HTC Aria Android Development] corolla90:
Hey guys when I install apps third party I get an error with Su sayin it takin too long n asking me if I want to force close or keep waiting. I use the guide by att1n n clockwork recovery is inSTALLED. ANY IDEAS?
[HTC Aria Android Development] attn1:
Evidently you didn't install the reflash tool successfully. Are you on windows?
[HTC Aria Android Development] attn1:
what rom are you using? did you flash one of mine or did you just root the original?
[HTC Aria Android Development] corolla90:
Yes on Windows and I.used your Rom its the stock that's rooted that I got from ur post
[HTC Aria Android Development] corolla90:
i also have the unrevoked app on my phone i clicked and clicked start and it said root successful.
[HTC Aria Android Development] sfernandez:
So how do we fix this? when my phone is off and charging I get the Clockwork Mod Recover..instead of the bubble charger..it was fine yesterday and just started today.
[HTC Aria Android Development] attn1:
We're hopeful the next version of clockwork will work a little differently. In the meantime, charge with phone on and sleeping.
[HTC Aria Android Development] sfernandez:
OK cool Thank you :)
[HTC Aria Android Development] SysAdmNj:
I get all the way to done and it goes right back to the red triangle phone screen. Not sure what to do next so I go into the android recovery screen. Definitely not clockwork and I did see clockwork earlier when I rooted. I uninstalled htc sync as well. Any suggestions?

Edit: So this morning I tried again, I rebooted my pc and tried again and this time when it said it was done it took me to the clockwork recovery screen. I'm going to assume it was successful this time. I wonder if all I needed was a pc reboot to refresh they system. Either way, will I always get this clockworkmod recovery screen when I go into recovery? Also, what shall I try next? Attn1's liberated rom? Should I back up with nandroid first? Thanks, I'm still new at this :D
[HTC Aria Android Development] -Vampyre-:
This worked fine for me after I had done the work to get Attn's rooted rom on my aria.
[HTC Aria Android Development] justince:
I'm having some trouble installing unrevoked's drivers...i am merging the usb_driver folder with the standard sdk one and windows keeps telling me that it cannot find the drivers when i do it manually.
[HTC Aria Android Development] seboj:
Got it to work first try on Windows using attn1 and shadowmite's instructions.

Good stuff. :)
[HTC Aria Android Development] Googa:
I've given this several tries (OSX), on two different computers even. Like SysAdm's, problem, it leaves me without clockwork recovery installed. I find myself at android's e2 recovery system every time without fail.

Help?

EDIT: Fixed. I was trying this with the stock ROM. After flashing with attn1's liberated_aria_b003_signed ROM (via manually entering clockwork recovery), I was able to use the unrevoked recovery reflash tool. Clockwork recovery then stuck.
[HTC Aria Android Development] darkstarinc:
Took all of 30sec on Mac OSX 10.6.4. Now making a nandroid backup. Love it! So much more fun than my iPhone!

Tossing a few bucks for this one!
[HTC Aria Android Development] progenocide:
got clockwork on after flashing Liberated, didn't work prior but can cofirm this works after flashing attn1 Liberated rom.
[HTC Aria Android Development] reddog:
OK this is a good heads up..

I thought I did something wrong during the flashing process.

attn1 does anyone know why it comes up in the recovery mode like this. "After a power down then plugging it up to charge"

Thanks for the good work on the ROM's.
[HTC Aria Android Development] attn1:
I really don't know why, except that perhaps the big green battery meter was part of the old recovery program. When plugged in before, the phone was not actually off. I suggest just leaving the phone on and charging the phone. That's what I always did anyway.
[HTC Aria Android Development] Bantam Bytes:
I came here searching for an answer to this as well. I guess there is no answer for this "feature". I thought it might bother me but I was thinking I never turn my phone off to charge it anyway. So it doesn't matter.

Other than that the flash went perfect...almost. I uninstalled htc sync as suggested but I also uninstalled the driver. Bad idea. I had to reinstall htc sync to get the driver back then uninstall just htc sync. After that I was able to proceed with the instructions with no problems. I did this on a Windows Vista machine too.
[HTC Aria Android Development] modest_mandroid:
Is there any way to reflash the stock recovery after flashing unrevoked (for returning/warranty purposes)? Will the stock rom on HTC's site also flash the stock recovery?
[HTC Aria Android Development] jschaefer313:
hey i dunno if im doing something wrong or if i missed a step

I installed the hboot drivers

I got the unrevoked reflash thing to work it went through all the things and said

Done!

I unpluged rebooted

booted back into recovery and it just keeps into fastboot when i try to go to recovery

I feel like i'm missing something

any ideas?

Im running liberated 2 i wanna test 5 and froyo
[HTC Aria Android Development] jznomoney:
Clockwork has been updated to version 2.0.2.0
[HTC Aria Android Development] attn1:
Updated: This now includes a root tool. You no longer need root to run this - this tool will provide root and custom recovery - simply.

See page post #1 in this thread.

Great job, unrevoked team!
[HTC Aria Android Development] friedice:
So now that it gives root, is step 2 from the original post required? :

"2. You will also want to at some point do a adb shell into the phone and su if you have not. Superuser if installed will prompt you to give access. This must be done before the tool will work."

Since the device won't be rooted to begin with, it won't have a superuser installed on it and thus won't give access to adb?

I'm sorry I'm totally new in this and just want to clarify everything before I attempt anything. In case I'm completely wrong, I have no clue what adb is. Can you lead me to a link where it shows how to install it? Thanks.
[HTC Aria Android Development] attn1:
That's correct, step 2 is no longer required.
[HTC Aria Android Development] _Opiate_:
That's good news for everyone that couldn't get the My Touch Slide root method to work for them.
[HTC Aria Android Development] psychoace:
So when I get my aria all I have to do is run through an installation with this app, with my phone then I will have root and custom recovery installed right? If I don't have to do the whole plugging unplugging my phone a million times thing I will be in love with a shadow
[HTC Aria Android Development] -Vampyre-:
Would there be any point in updating Clockwork Recovery from 2.0.2.4 to 3.0 if I am already rooted and side loading enabled with Attn's custom ROM?
[HTC Aria Android Development] -Vampyre-:
I just realized that unrevoked is the tool to flash clockworkmod 2.0.2.4. I also realized you can freely upgrade your version clockwork with ROM Manager.
[HTC Aria Android Development] attn1:
Right. I am running 2.5.0.1.
[HTC Aria Android Development] domin8:
wow that was stupid simple now!
[HTC Aria Android Development] kaschenberg:
This is getting annoying for me. I get part way through this process and then unrevoked app says "Communications with phone unexpectedly interupted. Try again." Then my phone shows Clockwork Recovery loaded up with several options, reboot, apply update.zip, wipe, install zip from sdcard, nandroid, etc...

Has my phone been rooted at this point by chance?? What am I doing wrong here? Thanks!
[HTC Aria Android Development] domin8:
this is a shot in the dark, but do you have usb debugging enabled.
[HTC Aria Android Development] kaschenberg:
Yep........................ :)
[HTC Aria Android Development] kaschenberg:
Also, when the hboot screen shows up it does a few things and says its looking for some zip file.. but it's not found it says.. then the screen goes away.

Question, in the unrevoked app, do I need to click File and choose an .img file??

This program is very vague!!

But nice work none the less guys.
[HTC Aria Android Development] kaschenberg:
Ok, how about this... since I'm able to get in to Clockwork can I just run attn1's rom from the sdcard if I put it on there?? Or will this screw up the phone??
[HTC Aria Android Development] kaschenberg:
Well I got it, the ghetto way!!

I just waited for Clockwork Recovery to load up.. even though unrevoked app said it lost communication with my phone. I then proceeded to load the custom rom .zip (Liberated rom) and viola, it worked! I got SU permissions and all my ****ty ATT apps are gone. Live wallpapers, next!
[HTC Aria Android Development] attn1:
Yes, you can.
[HTC Aria Android Development] terwine:
props

Thanks so much to attn1 for the work you've done with the Aria. Your guide/ROM has been working flawlessly!

Also, thanks to opiate for the tip in another forum about installing HTC sync to get windows drivers working for the unrevoked3 tool.
[HTC Aria Android Development] drwatson1234:
Firstly, thank you to everyone who's worked to free up this device thus far. I'm a recent iPhone convert and will never go back! I've read through many, if not all, of the pages and just want to make sure I understand everything before I attempt to root & load clockwork. Can someone confirm my method below?

1. Download Unrevoked3 (running Mac OS 10.6.3)

2. Plug-in Aria via USB & enable "USB Debugging" on the phone

3. Follow the instructions from the program to root & add clockwork

Questions:

1. To load attn1's Liberated 005 ROM, do I download it directly from the phone & save to the SD Card, re-boot to Clockwork, do a 'nandroid' backup, & then load the Liberated 005 ROM.zip from the SD Card?

2. Or, do I need to do some variation of the above on the computer & then transfer it to the SD Card?

3. If I'm interested in trying the 'Cheap & Dirty Froyo' ROM, can I switch between that and the Liberated 005 ROM easily? If so, best method to do so?

Again, thank you all so much! I'm really looking forward to this. I've only side-loaded Swype via HTC Sync last weekend, but I haven't yet made the leap and rooted, etc. yet.
[HTC Aria Android Development] oahceasgnikgneas:
That is correct. I tried rooting this morning on OS X [just for fun, I don't really care for it] using the above method. It took about 3-5 minutes total.

As for your third step it's even easier than that since the process is completely automated by the program. Just run the Unrevoked 3.1 application after step 2 and wait.

I downloaded from the computer and transfered to the SD card. I don't think it matters how you obtain the file as long as it's on the SD card.

My personal experience was multiple failures when I tried to load the Liberated 005 ROM directly from Clockwork. Instead I downloaded ROM Manager from the Marketplace (it requires you to already have root) and then used that to initiate the process.
[HTC Aria Android Development] trewang:
I installed the Android USB drivers but when i plug in my phone it says ADB still requires drivers. Did i just mess up the USB driver install?
[HTC Aria Android Development] hashbrown:
did you get the Hboot drivers from unrevoked3?

http://www.unrevoked.com/rootwiki/doku.php?id=public:windows_hboot_driver_install
[HTC Aria Android Development] trewang:
Yeah i installed that driver from unrevoked. No HTC Sync on my computer. Android Bootloader interface shows up on my Device Manager. When I plug the phone in, it says "New Hardware Found - ADB" and cant find a driver anywhere, even when it direct it to the unrevoked usb driver folder or android sdk folder
[HTC Aria Android Development] xdafly:
when looking for the usb drivers, be sure to include the full path to look, ie. \android\tools\usb-drivers\ is not enough, you need to include \i386 as full path
[HTC Aria Android Development] trewang:
it wont let me select those folders... do i need more components of Android SDK installed ?
[HTC Aria Android Development] hashbrown:
Does the computer see your phone in adb devices?

Example:

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

List of devices attached

HTXXXXXXXXXX device
[HTC Aria Android Development] trewang:
It does not detect my device. Strange
[HTC Aria Android Development] hi2u2:
Try installing HTC sync.
[HTC Aria Android Development] trewang:
it appears htc sync worked! awesome!
[HTC Aria Android Development] OJsakila:
Ok it seems like the unrevoked flash tool said everything was done and my phone showed a green typed screen that said Clockwork Recovery v2.5.0.1 and some choices below it....Am I rooted? Can I now try to do this "Liberated" thing?
[HTC Aria Android Development] Frrrrrrunkis:
Usb drivers

OK I am stuck at the point of reinstalling the USB drivers. I go to the SDK USB directory and it tells me it cannot find any drivers. I removed PDA net, HTC SYNC because it said these programs can get in the way. Where is this 'different' USB driver that is supposed to be here?
[HTC Aria Android Development] OJsakila:
Ok heres what I did 10 mins ago....Install HTC Sync and youll notice that it also installs HTCDrvers...Now manually UNinstall JUST HTC Snc, leaving the drivers alone...

That did the trick.
[HTC Aria Android Development] oahceasgnikgneas:
If you used the newest unrevoked application (3.0 and above I think) to install clockwork then you are rooted, and thus able to install the liberated (or any other custom rom for the Aria, for that matter) if you wish.
[HTC Aria Android Development] OJsakila:
Heck ya! I'm goofing with it now,,,SuperUser showed up in my apps, too. Plus this program I downloaded last night, Rom Manager is now working..it wasnt before the flash
[HTC Aria Android Development] Frrrrrrunkis:
OK well, that apparently won't work for me, because that is EXACTLY how its set up. I uninstalled the HTC Syn, but left the drivers there. grrrr.

Oh, when I am done with this, I can then go into the flasher thing and flash the 'Liberated Rom' or is there another rom automatically installed.
[HTC Aria Android Development] OJsakila:
Yea thats where im at...I dont know if im supposed to wipe my data before flashing the b003 rom...i hope not..I also downloaded a super cool program on the market called Rom Manager...im assuming its stable to use..?
[HTC Aria Android Development] hashbrown:
Yes, its stable, so do yourself a favor and do a nandroid backup. And flash b005 afterward. Because its better and faster than stock.
[HTC Aria Android Development] OJsakila:
HA! I did it. First try using Rom Manager..I'm officially on Liberated b005...

This so cool..Thank you everybody..I'm going to really have fun now!
[HTC Aria Android Development] Frrrrrrunkis:
I cannot install the USB drivers. It keeps telling me THat it is unable to install the drivers. WHAT AM I MISSING WITH THIS????????? ARGH!!!!! :eek:
[HTC Aria Android Development] jaredcg:
what os r u running (computer)