yashsingh1/xdaforums huggingface dataset:
[Desire HD General] glevitan:
had_xman, I will try to be polite saying this: READ! you have been spamming the thread with questions that have already been answered in this forum more than twice. You even have my guide to read. Don't expect people to do what is your job. We point you in the right direction and give you the tools to start. Then you read, learn and just then ask. If instead of using your time to spam the thread you used it to google the answers you probably would be running ICS in your device right now.
[Desire HD General] Teichopsia:
So, we are not so noob friendly after all :P

I was going to ask what the differences between - were:

Linux x64	118.8 MB	jdk-7u7-linux-x64.rpm

Linux x64	91.59 MB	jdk-7u7-linux-x64.tar.gz

With a little reading you can go a long way.

Installation of the 64-bit JDK on RPM-based Linux Platforms

This procedure installs the Java Development Kit (JDK) for 64-bit RPM-based Linux platforms, such as Red Hat and SuSE, using an RPM binary file (.rpm) in the system location. You must be root to perform this installation.
[Desire HD General] bananagranola:
Arch: .pkg.tar.gz using pacman

Debian: .deb using apt-get

Red Hat and SuSE: .rpm using yum and yast

Gentoo: .ebuild using portage

Generic: .tar.gz manually

And of course Android: .apk using... no idea!
[Desire HD General] Teichopsia:
I need help with this part. Thank you Miss bananagranola :D

TIP: You can set the PATH environment to point to your Android SDK tools directory so that you can start the 'android' program anywhere. Edit the .profile file in your home directory and add the following lines to the end of the file:

# set PATH so it includes user's Android SDK if it exists

if [ -d "$HOME/android-sdk-linux" ] ; then

PATH="$HOME/android-sdk-linux:$HOME/android-sdk-linux/tools:$PATH"

fi

This will only take effect on the next logout/login or restart.

I can't find the ".profile"
[Desire HD General] bananagranola:
You can just create it. It's in your home directory, so

<texteditor> /home/teichopsia/.profile

And by the way, anything prepended with a "." is a hidden file in Linux. So it could be there, you just aren't showing hidden files. To see them, navigate to the folder and:

ls -a
[Desire HD General] Teichopsia:
Got it. Is this code correct?

if [ -d "$HOME/android-sdk-linux" ] ; then
PATH="$HOME/android-sdk-linux:$HOME/android-sdk-linux/tools:$PATH"
fi

Last line? fi - ? I'm assuming I can skit the rest from the previous code.

Edit: Just noticed it is by comparing it with the code that appears there.
[Desire HD General] bananagranola:
I'm assuming yes because it looks right, though I've never tried it (if you installed Android SDK in your home folder). In bash scripting, oftentimes they close things with the reverse of the first word. Like, if-fi and case-esac.

EDIT: I'm going to explain the code to you so next time you know.

prepending something with $ in bash makes it a variable.

$HOME is a global variable set as your home directory, I'm assuming /home/teichopsia.

$PATH is a global variable where Linux looks for executables, so you can just run them without prepending them with their location.

if [-d $variable] checks if a variable exists and is a directory.

So the code means:

if "android-sdk-linux" exists in $HOME, then

$PATH is "$HOME/android-sdk-linux", "$HOME/android-sdk-linux/tools", and $PATH (whatever was originally in $PATH)

end of if.
[Desire HD General] Teichopsia:
It seems to be under home/teichopsia/adroid-sdk-linux

I guess I would have to copy the android-sdk-linux folder and move it under home for that script to work, right?

First screen shot is where it's located.

Second screen shot would be placing the folder next to "teichopsia"

So far so good?
[Desire HD General] Teichopsia:
edit: double post.

2nd edit: I think I got it, in a way at least. So then it wouldn't matter that "teichopsia" is in between those two folders.

$home would look for everything that comes after. For example.

Home/teichopsia/folder2/folder3/android-sdk-linux

With the $home and well, rest of the code it will search form android-sdk-linux without it mattering how many folders come before it.
[Desire HD General] bananagranola:
Wait, no, android-sdk-linux should be in /home/teichopsia. So, /home/teichopsia/android-sdk-linux. The code won't recursively search folders.

EDIT: I think...(about the recursive search)

But for sure, the code as you have it assumes your $home is /home/teichopsia/. If another person logs in, &$home gets updated to /home/otherperson/. /home is a partition/folder. $home is a system-set global variable.
[Desire HD General] glevitan:
haha...we are noob friendly, but noobs should be willing to learn...reading is a good way to do it, isn't it?
[Desire HD General] Teichopsia:
I'm done setting it up and Im going to reboot to see if it works. Thanks again Miss B.

Definitely. After a while I got confused with his issue and was unsure how to proceed. First he said his hboot was in chinese, then it was the recovery. I opted to sit that one out and wait for someone more experienced (I was hoping it was you) give him an answer.

It's Wednesday,done with work? Are you more relaxed now?

[TOOL][9-5-12] Aroma App Package Creator v1.0.3 Seems interesting for anyone who wants to give it a shot.
[Desire HD General] Teichopsia:
I thought I had it all set and ready, but I don't know why it's not working.

Maybe I'm missing the drivers? htc sync? Anyone?
[Desire HD General] bananagranola:
EDIT: Ignore what I said earlier.

Try navigating to android-sdk-linux and finding the adb executable. Run "./adb" from the folder where it's saved and see what happens.

ANOTHER EDIT: and try modifying "tools" to "platform-tools" in the code.
[Desire HD General] Teichopsia:
that worked. No idea how to set the enviorenmental path. I tried changing it but to no avail.

~/android-sdk-linux/platform-tools

If Im reading this correctly it should be

home/teichopsia/android-sdk-linux/platform-tools

Edit: I did try that earlier, it looks like this.

# set PATH so it includes user's Android SDK if it exists
if [ -d "$HOME/teichopsia/android-sdk-linux/platform-tools" ] ; then
PATH="$HOME/teichopsia/android-sdk-linux/platform-tools:$PATH"
fi

2nd edit: Rebooted, in the terminal where it says "teichopsia@teichopsia ~ $ ./adb devices

didn't work. It returns "bash: ./adb: No such file or directory"

3rd edit: Got it working.

4th edit: Next step is to install windows so I can get netflix. I really hope I don't mess it up, especially after three days of trying to set this up.
[Desire HD General] bananagranola:
~ is a synonym for $home, so that's right. Nice job getting it working! You could image your hard drive before messing with Windows. There's a live CD called Ping that images a hard drive to another external hard drive. Also, there's another Live CD called GParted that makes partioning super easy.
[Desire HD General] Blasphemer666:
Thanks~

Many thanks~ :highfive: Been lurking on XDA for a long time but only now feeling right at home.

Another contribution....hope it helps~

http://androidadvices.com/info/htc/desire-hd/#.UCX4-p3iZZI
[Desire HD General] Teichopsia:
Thanks. Feel free to ask us any question you may have. If we can, we will try to help the best we can.
[Desire HD General] Muikkuman:
I'm here don't worry. I'm not from Sweden but I'm currently living there. Um well I do know a lot af android and I want to learn more. I'm currently working on a new game for pc which I may do a android version for.

---------- Post added at 11:55 AM ---------- Previous post was at 11:54 AM ----------

Why do you want to restore your nanodroid backups trought adb?
[Desire HD General] Teichopsia:
I don't have much experience with adb. When I had wiped my sd card after the full wipe, I wanted to restore a backup thinking it could be flashed like a normal zip file. Then I learned I needed to create the appropiate folders before it could work. The adb is method is merely curiosity. If it can be done.

Now that I know you are creating pc games, wow, that's wicked cool. Is there a way to create an hboot interface for those who's physical buttons are damaged? One that can be used via pc?

your english is extremely good. What do you mean with the wall of text?

Sent from a dream.
[Desire HD General] Muikkuman:
Yes I'm from Finland :) and I'not so good on android hboot =\
[Desire HD General] Teichopsia:
@Xeleth, I see what you mean regarding the index. How can I solve that?

Sent from a dream.
[Desire HD General] Andy:
If you want to link directly to a post, look for the post number ----> Mine should be #46

Click that and it should create a page with just that post. That maybe helpful to you.
[Desire HD General] Teichopsia:
I forgot about that, thanks.

So, any hopes of placing you on the team? :D

On a side note, later on, could you help us by deleting/cleaning up the thread? It seems to me there are too many posts talking about how to create this thread. I don't know about the rest, what they think.

@everyone - I'm leaving for the beach in an hour, I'll see you guys tomorrow night unless I decide to pay for a days worth of data :p, which I'll probably do.

Sent from a dream.
[Desire HD General] GuyInTheCorner:
On a random note @teichopsia it was a good thing I flashed 4ext touch, my volume rocker broke today :'(

Sent from my Desire HD with BlackIce.

Thanks don't hurt ya know?! :)
[Desire HD General] Andy:
What team is that? Sure, just let me know the post numbers and I'll get rid of them.
[Desire HD General] GuyInTheCorner:
He means the team on the op to help out all the guys that come here for help

Sent from my Desire HD with BlackIce.

Thanks don't hurt ya know?! :)
[Desire HD General] Teichopsia:
On the road - bump! :D

Sent from a dream.
[Desire HD General] Muikkuman:
I have been thinking. Does anyone know how the CPU in the desire HD is cooling itself?
[Desire HD General] Blasphemer666:
Smartphone CPU Cooling

As far as I know, strictly heat sinks. Given the thickness of most any smartphone a 'CPU cooler' such as a fan is impractical.
[Desire HD General] Muikkuman:
Yeah I know there no CPU fan but then there is no good to overclock really as there no kind of cooling, and it gets even worse of you got some kind of shell on it I.E utterbox.
[Desire HD General] Blasphemer666:
CPU Cooling

I understand and agree completely. I've never overclocked my CPU beyond 1.2 GHz max. When I play games or watch full HD movies on my DHD I can definitely feel the heat but I've never had any troubles with it. I'd think 1.2 is probably the max safe limit. Have you had any problems from over-heating on yours?
[Desire HD General] Muikkuman:
Nope because I don't overclock it over 1.2 GHz as you say. Yes you can definitely feel the heat when playing games like asphalt 6, I was just thinking freely :)
[Desire HD General] GuyInTheCorner:
I managed to push mine to 1.8 and I didnt feel any difference when it got hot (im using it without a case)

Sent from my Desire HD with BlackIce.

Thanks don't hurt ya know?! :)
[Desire HD General] Muikkuman:
My one seem to freeze at 1.6
[Desire HD General] GuyInTheCorner:
I had a similar problem. It depends on the CPU Governor and ROM but on BlackIce I got it to 2GHz for about 15 mins before it froze on me (Gave me quite a scare cause it got REALLY hot so I'm not doing thar again)

Sent from my Desire HD with BlackIce.

Thanks don't hurt ya know?! :)
[Desire HD General] Teichopsia:
It's hard not to call you sweetheart with all the help and knowledge and sweetness about you :D

Sent from a dream.
[Desire HD General] bananagranola:
Haha, okay, I guess I can get used to it? Just not quite used to it. :)
[Desire HD General] glevitan:
Kinda...something has come up, but I guess I will seat and relax until sunday =)
[Desire HD General] Teichopsia:
Sashank, I was going to link that from the original thread but you beat me to it :)

Glevitan, rest buddy. Spend time with your wife (which you probably already do).

Op updated. Could someone go through it to check for spelling, wording, syntaxis, links, etc., and what else could be improved?

I'll be running a 'background check' later to see which team members to remove.

Edit:

Members updated.

What's up with the goldcard rush all of a sudden?

2nd edit: sashank, you rock. You edited the guide!!!

3rd edit: Miss B, I don't know if you've ever seen a logcat. http://pastebin.com/mY3CuzUa this one is from clearD with wifi issues. I still don't know how to read one

Sent from a dream.
[Desire HD General] bananagranola:
I only know some... The first letter in a logcat is what type of log it is. D is debug, I is info, V is verbose, and I believe E is error. The rest, at least to me, is guesswork. What is he doing while the logcat is running?

EDIT: was he turning the wifi on and off? It looks like this might be the problem:

E/WifiStateTracker( 1340): Could not stop DHCP

and then

V/WifiMonitor( 1340): Event [CTRL-EVENT-TERMINATING - signal 15 received]

. Try doing the *#*#526#*#* thing. What does the "Wi-Fi information" section say under status and config?

EDIT 2: and keep in mind, I'm basically poking around in the dark here...
[Desire HD General] harisharun:
How to flash via hboot the downloaded system update file saved via OTA. My dhd is s-on Android 2.3.3 sense 2.1. downloaded nd saved file is OTA update in zip format. as I entered hboot and tried to update but got error parsing zip now what to do.
[Desire HD General] Teichopsia:
Ehrmmm.... member for almost four years with 227 posts? Your previous rom was niks project?

Maybe it's becuase I just woke up and haven't had my coffee yet. Luckily I waited before answering with my first reaction.

Connect the phone to the computer and flash it that way. Run the program via pc. However, it should be .exe and not .zip

Go to the htc website and read the instructions. I believe when downloaded directly to phone it ahould do it automatically? Not sure since I've never have done that.

@bananagranola - he is trying to make a rom but wifi doesn't work. It doesn't connect. However that was only for informational purposes. You see, I knew you would understand the code :p

Sent from a dream.
[Desire HD General] hdorius:
@Teichopsia : WaccoPedia link is working normal.,why u stated it the link is dead??
[Desire HD General] Teichopsia:
It wasn't working. I updated the link a few days ago but I forgot to edit that part out. Thanks.

Edit: updated.

Sent from a dream.
[Desire HD General] bananagranola:
ADB is getting found when you run as teichopsia, it's just not finding permission to access the device. For that, I think you need to kill the server (adb kill-server) and try it as root (sudo adb devices).

As for doing it from root, remember how we wrote a /home/teichopsia/.profile that added adb's location to teichopsia's PATH? You need to do the same thing in /root (root's home) to be able to find it from anywhere as root too.
[Desire HD General] Teichopsia:
The thing is, when I set up adb that day, that it wasn't working and we went through all those commands, the last thing I tried was instead of using ./adb devices to test it I tried adb devices and that worked. Now, for some reason I have to go through those commands to get it working.

In either case, when I do the .profile thing, (when I start calling things "thing" it's a clear indication I don't know what I'm talking about :p) all I do is go to the exact same .profile we modified and add a line for /root?

Let's see if this old brain of mine is working. So then, it would look like this?

if [ -d "$ROOT/android-sdk-linux" ] ; then
PATH="$ROOT/android-sdk-linux:$ROOT/android-sdk-linux/tools:$PATH"
fi
[Desire HD General] bananagranola:
Nope. You just need to copy the .profile file as-is from /home/teichopsia/.profile to /root/.profile. The PATH doesn't change unless you've moved the folder in which you installed adb. You'll need to do this as root, with su. So:

$ su -
$ <password>
$ cp /home/teichopsia/.profile /root/.profile
$ exit

What the PATH does is tell the computer where to find executables, so you can run them directly from anywhere in the command line without "./" at the front. There's a global profile at /etc/profile; there's a PATH there too, and that tells the computer where to find most executables (like in /usr/bin). What you're doing in .profile in a user's home folder is saying that, for this user, I want some extra locations where the computer looks for executables, in addition to the global ones in /etc/profile. You've already said that for yourself in your own home folder's .profile; now you need to let the computer know that root needs those locations as well.

EDIT: Oh, and from what I can figure out, some ROMs force you to access adb as root and some don't. No idea why or how...
[Desire HD General] bananagranola:
You need to use sudo. ”sudo adb devices"
[Desire HD General] Teichopsia:
Stupid linux (in reality stupid user). In windows I could just type "adb devices" :p

Gonna reboot one more time see if it sticks (in my head).

Edit: rebooted.

teichopsia@Teichopsia ~ $ sudo adb devices
[sudo] password for teichopsia:
sudo: adb: command not found
teichopsia@Teichopsia ~ $ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
????????????	no permissions

I simply don't get it. And it was working before the reboot.

2nd Edit: I flashed a backup I had, rebooted the pc, no issues.

teichopsia@Teichopsia ~ $ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
HT17XT204537	device

conclusion, it's the rom.
[Desire HD General] bananagranola:
Try doing su as root and "cat .profile" and show me what it says.
[Desire HD General] Teichopsia:
I edited my previous post. I don't know if you saw it.

teichopsia@Teichopsia ~ $ su
Password:
Teichopsia teichopsia # cat .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's Android SDK if it exists
if [ -d "$HOME/android-sdk-linux" ] ; then
PATH="$HOME/android-sdk-linux:$HOME/android-sdk-linux/platform-tools:$PATH"
fi
Teichopsia teichopsia #

2nd edit: Flashed a different rom, same issue.

eichopsia@Teichopsia ~ $ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
????????????	no permissions

teichopsia@Teichopsia ~ $ su adb devices
Unknown id: adb
teichopsia@Teichopsia ~ $ su
Password:
Teichopsia teichopsia # adb devices
No command 'adb' found, did you mean:
[Desire HD General] bananagranola:
HA. I know what's wrong. Change $HOME in the root profile to "/home/teichopsia"
[Desire HD General] Teichopsia:
erhmmm.... :) what?

Remember, old brain and new at this. How do I get there?

hahahaa..... shucks. I'm looking at the xda app wondering why I didn't see this post. I forgot to hit submit on my pc :p
[Desire HD General] bananagranola:
# set PATH so it includes user's Android SDK if it exists
if [ -d "[B]/home/teichopsia[/B]/android-sdk-linux" ] ; then
PATH="[B]/home/teichopsia[/B]/android-sdk-linux:[B]/home/teichopsia[/B]/android-sdk-linux/platform-tools:$PATH"
fi

EDIT: that 3rd $HOME needs to change too.
[Desire HD General] Teichopsia:
Once I change the .profile will it link automatically to the root thingy we did earlier today? Or do I need to change that again with a line to delete it and then add it again linking it to the root thingy we did in terminal?

Sent from a dream.
[Desire HD General] Teichopsia:
So I changed it to

# set PATH so it includes user's Android SDK if it exists
if [ -d "/home/teichopsia/android-sdk-linux" ] ; then
PATH="/home/teichopsia/android-sdk-linux:/home/teichopsia/android-sdk-linux/platform-tools:$PATH"
fi

did the

$ su -
$ <password>
$ cp /home/teichopsia/.profile /root/.profile
$ exit

but got the

teichopsia@Teichopsia ~ $ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
????????????	no permissions
[Desire HD General] bananagranola:
Wait, you still need to use

$ [B]sudo[/B] adb devices
[Desire HD General] Teichopsia:
teichopsia@Teichopsia ~ $ sudo adb devices
[sudo] password for teichopsia:
sudo: adb: command not found
teichopsia@Teichopsia ~ $ adb devices
List of devices attached
????????????	no permissions

teichopsia@Teichopsia ~ $ ./adb devices
bash: ./adb: No such file or directory
teichopsia@Teichopsia ~ $ cd android-sdk-linux
teichopsia@Teichopsia ~/android-sdk-linux $ cd platform-tools
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb devices
List of devices attached
????????????	no permissions

teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ adb remount
error: insufficient permissions for device
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb remount
error: insufficient permissions for device
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb kill-server
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb start-server
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ adb devices
List of devices attached
????????????	no permissions

teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb devices
List of devices attached
????????????	no permissions

teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb remount
error: insufficient permissions for device
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb kill-server
teichopsia@Teichopsia ~/android-sdk-linux/platform-tools $ ./adb remount
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
error: insufficient permissions for device

teichopsia@Teichopsia ~ $ cat .profile
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
# include .bashrc if it exists
if [ -f "$HOME/.bashrc" ]; then
. "$HOME/.bashrc"
fi
fi

# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi

# set PATH so it includes user's Android SDK if it exists
if [ -d "/home/teichopsia/android-sdk-linux" ] ; then
PATH="/home/teichopsia/android-sdk-linux:/home/teichopsia/android-sdk-linux/platform-tools:$PATH"
fi
[Desire HD General] bananagranola:
Show me this:

$ su -
$ echo $PATH
$ cat .profile
$ exit
[Desire HD General] Teichopsia:
$: command not found.

Sent from a dream.
[Desire HD General] bananagranola:
Nono, the "$" only denotes that it's commands run from the console/command line, distinct from stuff entered into a file or something. The stuff after the $ is the command.