yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] krstn4:
Hello XDA-DEV-Team :)

I have bought a HTC Sensation over Ebay a few weeks ago, no problems so far, and im excited to use it. Also means i dont know what is installed on the phone (for example, i dont know which recovery, if it is rooted, if it is s-on/off, and what ever could explain the problem I am describing below), but if you tell me what to look for, I'll do my best to find it out for you.

I am recently recieving an message that i need to update my System: The update is called: 1.45.163.4 (43,19 MB) - Android 2.3

If I update my HTC Sensation it says it has to restart, then it restarts and then after 5-6 seconds i can see the following picture: - ok i cant post links yet - i get a white triangle with a yellow exclamation mark and blue android guy beneath it.

img580 dot imageshack dot us/img580/7650/fone.png

Is there any chance that i can update my phone?
[HTC Sensation] ilostchild:
do you plan to root and gain s-OFF?

that is a a screen before recovery, you manually have to hit the key combo to go into recovery, or thats the screen to see its its progress updating,

if you can boot into the bootloader by pressing Vol down and power

if you see s-off or "revolutionay" means your s-off if you dont see that means your fully stock
[HTC Sensation] krstn4:
Hello Sir,

thanks for your fast answer.

i dont need root and no S-OFF on the phone!

i see following Screen:

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

-Revolutionary-

PYRAMID PVT SHIP S-OFF RL

HBOOT-1.17.1011

RADIO-10.11.9007.27_M3

eMMC-boot

Jun 2 2011,22:31:39

HBOOT

then the controls and a menu with:

FASTBOOT

RECOVERY

FACTORY RESET

SIMLOCK

IMAGE CRC

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

hope this helps

greetings krstn
[HTC Sensation] ilostchild:
what you have there is a s-off and rooted phone, if you go into recovery you should see a blue menu with a list of options at top should say "CWM recovery", go to the DEV section and choose a rom of your liking

(i recommend LEEdroid) and

thats the reason why you cant update, you are running a rooted phone with a custom recovery
[HTC Sensation] krstn4:
Hello Sir,

Thanks ALOT for your help! you really I helped me, i installed LEEdroid now and it looks really nice and smooth! :)

thanks alot, i am a diffrent person now thanks to you.
[HTC Sensation] Frasat:
Help

Sir,

The following appeaa on recovery screen

-REVOLUTIONARY-

PYRAMID PVT SHIP S-OFF RL

HBOOT-1.17.1111

RADIO-10.14.9035.01_M

eMMC-boot

Jun 2 2011,22:31:39

Please help i want to update my HTC Sensation 4g to Icecream sandwich.

Thanks
[HTC Sensation] rzr86:
first flash 3.33 universal firmware

http://xdaforums.com/showthread.php?t=1459767

follow the instructions to the letter

and before flashing check md5 sums(important)

after that you have to flash an ics or jb rom from recovery because your current rom won't boot with the new firmware
[Android Software Development] Terror_1:
This will also be the last update to this script for the foreseeable future. Someone else is more than welcome to take what is here and run with it though.

08-07-2012 fixed a few typos and problems with quotes.

01-29-2012 added some variables to check for the existence of things and get correct paths.

01-06-2012 fixed hostname path.

01-02-2012 Updated to truly work on all devices.

Check it out and let me know what you think.

Big thanks to cdesai for pointing out a nice little enhancement.

This is version 5 of this script.

This script is designed to change the hostname of your device so that you can access it through your network by name instead of android_0123456789ABCEDF.

Your device will also be able to be seen at your router by the new name as well.

#!/system/bin/sh
#change devName to whatever you want.
devName="changeMe"
#random variables
devHostPath=$(which hostname)
devGetPath=$(which getprop)
devSetPath=$(which setprop)

if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname does not need to be changed."
else
echo "Device hostname is being changed to $devName."
$devHostPath $devName
$devSetPath net.hostname $devName
if [ "$($devGetPath net.hostname)" != "$devName" ]
then
echo "Device hostname has not been changed."
else
echo "Device hostname has been successfully changed."
fi
fi

Download Hostname.sh

Download Hostname.sh to your device.

Use a text editor to change the "changeMe" in the script to whatever you want. [Keep the quotes]

Use Script Manager to run the script.

The script output will tell you if the command has completed successfully.

Once it has been run your device will be named whatever you change the "changeMe" to.

*Additionally, this script should be able to be run on any device without issues but I have only tested this on Galaxy Nexus AOKP and Droid Bionic Eclipse v3.0.

**Standard disclaimer, I am in no way responsible for ANYTHING that happens to your phone that you have done.

***This code is provided free of charge and is released with no warranty explicit or implied.

If you find this post useful or it helped in any way please hit the thanks button.
[Android Software Development] NeWcS:
Can anyone confirm this worked for them? Doesn't seem to be working for me.
[Android Software Development] Terror_1:
What's the output when you run it?

And when you run it a second time?

You can check at your router as well by logging into it and checking the DHCP leases.

Oh, I figured this was assumed, but you have to have root and run it as root.
[Android Software Development] ZaInT_:
It didn't work for me either, but your effort is much appreciated!
[Android Software Development] cdesai:
Not all roms will have bash, and even those which have it is mostly in /system/bin

Using /system/bin/sh would be the best way!

From my fingers to your eyez
[Android Software Development] Diablo67:
Thanks,works perfect for me on the HTC EVO.
[Android Software Development] Terror_1:
Good call.

I will get it fixed when I find a couple moments.

OP has been updated with the change, works fine on my bionic though untested on anything else.
[Android Software Development] cdesai:
Yet another idea, you can specify the host name while executing the script as an argument (quick changes :D)

You can use read devname and if it's empty you can get model no. From build.prop

From my fingers to your eyez
[Android Software Development] Terror_1:
I left it static so that it can be run at boot and will always have the same name. The model could work but it is more for changing the name to something you want rather than being dictated what it will be.

Oh and depending on your model you could have a space or other special in it.
[Android Software Development] le_manhpro:
Hi everybody !

in the old version I have to follow the instructions, but when starting the Script Manager notice shall not be allowed:( and notice was not found, I'm using xperia arc s, please tell me why:confused:? sr my english is not good:eek:
[Android Software Development] Terror_1:
Are you running this as root using the skull and crossbones icon?
[Android Software Development] le_manhpro:
I just running as root, :confused: pls check pic:eek:
[Android Software Development] Terror_1:
Let me work on this a little and get back to you. It looks like you don't have busybox installed, which you "shouldn't" need.

What is your device?

[EDIT] Give the new version a shot and let me know how you make out.
[Android Software Development] le_manhpro:
I just installed the update of your version but still does not work:confused:, do not know which step I did wrong, please guide the steps to install it?

I'm using the xperia arc S

I have attached pictures of my sr english is not good:eek:
[Android Software Development] Terror_1:
I have many swear words for this.

There is nothing that you have done. Can you provide me with a link to the ROM you are using and I will take a closer look. Even if it's the last thing I do I will get this working.

Challenge accepted.
[Android Software Development] le_manhpro:
I'm using the original rom android 2.3.4, you can check here, hope you find ways to overcome sorry my english is not good:eek:

http://xdaforums.com/forumdisplay.php?f=965
[Android Software Development] gumnaam.sur:
LG Revolution

On LG Revolution running GingerVolt 1.3, I had to change /bin/hostname to /system/xbin/hostname.

The script can be modified to determine the location of hostname command , rather than hardcoding the path.
[Android Software Development] Terror_1:
I am working on a V5 of this which should be released within the next 2 weeks that should address almost all issues. It works as is on some devices but not all.

I have also found from my testing that setting the hostname is inconsequential and will only appear when you run the hostname command.
[Android Software Development] VivianC:
Thanks! This is the path on the Galaxy Nexus (ICS 4.02) and i was able to get it to update successfully.

However, if this does not update the host name that is sent to my wireless router, the point of the exercise is moot to me. But at least I learned a little bit more about my phone!
[Android Software Development] lost_:
This has been posted elsewhere, but to set the name set for the Wifi DHCP request:

echo yourphonehostname > /proc/sys/kernel/hostname

Obviously, this needs root. You can stick that in a new or existing script in /etc/init.d.

No need to reboot the phone for this to take effect. Stop and start wifi to get the phone to request a new DHCP lease. Note that if your phone was already connected to a router, then the new name might not show up immediately. You'll need drop the previous name from the router dhcp client table by either waiting for the lease to expire, rebooting the router or expiring the lease manually (e.g., in Tomato Admin GUI, click on the remaining lease time under lease column in the Status -> Device List page.)
[Android Software Development] mrcarlos:
works great :) thanks
[Android Software Development] le_manhpro:
Hi Everyone !

first topic I would like to thank all wrote this app:D, it works very well on my xperia arc S, thank you again, sorry my english is not good:eek:, see pictures I have attached:)
[Android Software Development] Terror_1:
Apparently there is more than 1 way to skin a cat.
[Android Software Development] Terror_1:
OP Updated, I am fairly confident that with the additions I have made that this should work on most devices. Most paths have been turned into variables and pulls the information from the device rather than a static entry.
[Android Software Development] feed3:
Works great. SK17i.. Thanks man! Thanks button definitely will be hit for you. :)
[Android Software Development] ruvort:
Thank you VERY much for this. I can confirm it working on my Dinc2-miui and Xoom-ICS.
[Android Software Development] leo_ng:
It work but when i restart my phone, it replace back to the default hostname. >.<~~~

Can anybody help me???

Thanks button press already~^o^
[Android Software Development] Terror_1:
It needs to run on every startup. To get the name to change you need to turn off the wireless and turn it back on.
[Android Software Development] leo_ng:
thz for your kindly reply.

I can auto start your script now.

The following is my method，in order to test ,i reboot my HD2 many many times~^^"

but i have a question hope anybody can help me.

First.

Put the hostname script into system/etc/init.d/

if i rename as before 98cpu_voltage, etc:97hostname、08hostname，

The script will be invalid.

if i rename as after 98cpu_voltage, etc:99hostname、zzhostname，

The script will be valid.

Although the script is valid, if i turn on wifi before reboot, i need to on and off one time afer start the phone. And then the hostname will change.

So i open 98cpu_voltage and try to look what happen.

If i put like following, It can load the script even though i turn on wifi an then reboot.

#TRIGER on/off
fstweaks

ROTATIONAL=`ls -d /sys/block/*`;
for g in $ROTATIONAL
do
echo 0 > $g/queue/rotational;
done;
echo "DONE"

echo "Releasing CPU HALT"
killall com.android.vending
killall com.cooliris.media

sleep 15
echo "Releasing CPU HALT"
killall com.android.vending
killall com.cooliris.media

#!/system/bin/sh
#change devName to whatever you want.
devName=Leo-HD2-TEST
#random variables
devHostPath=$(which hostname)
devGetPath=$(which getprop)
devSetPath=$(which setprop)

if [ "$($devGetPath net.hostname)" = "$devName" ]
then
echo "Device hostname does not need to be changed."
else
echo "Device hostname is being changed to $devName."
if [ "$devHostPath" != "which hostname" ]
then
$devHostPath $devName
fi
$devSetPath net.hostname $devName
if [ "$($devGetPath net.hostname)" != "$devName" ]
then
echo "Device hostname has not been changed."
else
echo "Device hostname has been successfully changed."
fi
fi

#Boost swap release over time
renice 10 `ps | grep kprefetchd | cut -d " " -f7`

#Touch screen scroll boost
renice -15 `ps | grep htcleo_touch_wq | cut -d " " -f7`

if [ -e /sys/block/mmcblk0 ]
then
while [ ! -e /mnt/sdcard/phonePrioritizer/script.txt ]
do
sleep 15
echo "Waiting For SDCARD to be Mounted and file /sdcard/phonePrioritizer/script.txt to be located"
done
echo "Found SDCARD and /sdcard/phonePrioritizer/script.txt file"
fi

If i put the script upper one excerpt，will be invalid.

If i put the script lower one excerpt，will be valid, but if i turn on wifi before reboot, i need to on and off one time afer start the phone. And then the hostname will change.

If put Just like Above，It can work Perfect.

Can anybody tell me why?

Or are other people can work Perfect just put the script into system/etc/init.d/

and whatever the name is?
[Android Software Development] Thermaltake868:
My device said "device hostname does not need to be changed" I don't understand what to do ?

HTC Desire, Runnymede of sebastian 6.4.0.3 is on my device.
[Android Software Development] Terror_1:
Yeah, it does that, still works though.

:::EDIT::::

I still use this script BTW and I finally messed with it to get the error to stop. There was a typo someplace in it. I will upload a new version soon.
[Android Software Development] Terror_1:
Updated OP

Funny little things "should" be working.
[Android Software Development] NetSkipper:
Thank you very much. This script is worked for me like a charm.

The only question I have, is there any way to make the ID change permanent, without the need to run the script every boot? I know that there are some apps on the market that changes the ID permanently..
[Android Software Development] Terror_1:
I have yet to find a way. I know that if you are running AOKP/CM10 you can set the development ID in settings and it will stick, that's assuming it's available, and, in which case you wouldn't even need this script.

The other caveat is that if wireless is on when you boot the phone you have to turn off then on the wireless for the name to change. A small price to pay so you can see what is what though.
[General Questions and Answers] Zin0:
I was trying to to install and use adb shell for the first time. It didn't go out so well. I forgot to put a title so oh well lol.

This is for Windows 7.

Basically, I was trying to follow the instructions on this site: http://www.mydroidworld.com/forums/android-hacks/734-how-adb-windows-easy-way.html I have a Sprint Hero so i skipped the parts about downloading the Motorola drivers. When i got to this part,

"You should now be in the System Properties window.

Click on the Advanced tab.

Click on the Environment Variables... button

In the System variables(lower box), scroll through the list until you see Path under the Variable column.

Click on it to highlight it, click on the Edit... button.

We are going to add our path to adb, where we installed the SDK, in the Variable value: box.

Make sure your cursor is at the end of the last entry, and type this:

;C:\android\tools\"

I went to the path variable and for the variable value, I actually put "box" in for it. Then i went to the last variable on the list and put ";C:\android\tools\" as the value for it. The original value of it was the %SYSTEMROOT% stuff... I'm not sure if that was right or not. Anyway i pressed okay and exited. I noticed that ADB didn't work right, so i tried to go back into the Advanced system settings but i get this error message that keeps kicking me out. I noticed that i got it for all programs that required admin privileges. So, i don't know what to do. System restores don't work, even in safe mode. Any help would be appreciated.

Edit- I found out how to change the PATH variable back to default, but it's not saving. Can someone tell me how to make it stick? Also, if someone could check on their computer what the last variable is ( the environmental variables menu) I could probably how to change that back to default as well! Please hurry lol :p
[General Questions and Answers] Zin0:
Error- The file name or directory name, or volume label syntax is incorrect

This is also another error i get due to the mistake i made. Like i said, I get the first error only when trying to go into system settings, but i get this error when i try to run anything that needs admin privileges . Once again, all help and suggestions are appreciated.
[HTC Incredible S] qingmui:
I using the latest Virtuous Unity FROM virtuousrom website. everything is great. but when i called. there is no sound on the phone. I can not hear what other people say, there is not even have the carrier "du du" sound.

Does anyone have this problem too?
[HTC Incredible S] tpbklake:
Sounds like you need to flash a Gingerbread radio to go along with the Virtuous Unity ROM. If you had a stock Bell IncS with Froyo on it, then you need a GB radio.
[HTC Incredible S] qingmui:
isn't it when i flash unity, it including the all the Android 2.3(Gingerbread) thing?

My Android version : 2.3.4

HTC sense: 3.0

Software Number: Virtuous Unity 2.39

Kernel: 2.6.35.14

Baseband:20.23.30.0802U_38.02.01.17_M

Do I still need to flash Radio? If yes, and How?
[HTC Incredible S] qingmui:
I understand now. android 2.2 radio and android 2.3 radio is different. and you need to flash yourself. thanks

To Download Radio from here : http://xdaforums.com/showthread.php?t=1129014
[HTC Incredible S] shiningarmor:
roms doesnt include radios. u hv to flash them yourself. and make sure the radio matches ur rom build.
[T-Mobile Samsung Galaxy S II SGH-T989] Vinsane:
So I got this from Amazon seller LowerPriceUSA.

Total....under $6 shipped :)

Overall really nice feel for the little amount I paid. The clear back is hard shell...while the sides are softer TPU material.

Button are easy to push without much effort. All ports aligned very well. The charger port plug works nicely without any issues.

The case has a slight "ridge" that protects the screen from touching the surface if you flip it over face down.

Barely adds any bulk...still sleek and slim...gives a nice non-slip grip too.

I would recommended this case to anyone for a inexpensive alternative. I know I'll be getting a different style case later on for Christmas too...so I'll let you know how that one goes.

Here are some crappy pics from my older iPhone 3GS

Yes...still have the factory screen cling on until my protectors come in...hahaha

Sent from my SGS2
[T-Mobile Samsung Galaxy S II SGH-T989] AllGamer:
i've seen a lot of those on ebay

looks good

i'd have gone with a blue, or red, or yellow, or orange, or purple version :D
[T-Mobile Samsung Galaxy S II SGH-T989] kabuk1:
I have the purple one & while it LOOKS good, power button operation sucks. It's hard to find by feel & even then you have to press hard.
[T-Mobile Samsung Galaxy S II SGH-T989] Vinsane:
Mine take very little effort to find or push. I'm digging it so far. :)

Sent from my SGS2
[T-Mobile Samsung Galaxy S II SGH-T989] SoMuch2S@y:
Same problem with me, bought the red one, looked really good on but the power button was a pain in the butt to try and push. And way too hard to "find". Thought I would get used to it but ended up taking it off after a week or two.
[T-Mobile Samsung Galaxy S II SGH-T989] KillaHurtz:
This case was reviewed when the phone was 1st released.........

People with problems pressing the buttons, get an exacto and cut on both side of the buttons so it depresses easier.
[T-Mobile Samsung Galaxy S II SGH-T989] henrycheng:
I've been using this case since Day 3 of owning the T989, and I can say it has served me well, and as hard as I've tried to overlook the difficulty of locating the buttons (friends can never find them) and actually pressing them, I've decided to switch to a Diztronic case that should be coming in any day now :)
[T-Mobile Samsung Galaxy S II SGH-T989] sddale2001:
Have you guys used this case with a screen protector? Does it pull it up at all?

I am thinking about getting this case:

http://www.amazon.com/gp/product/B005OLZ26C/ref=ox_sc_act_title_1?ie=UTF8&m=A3V68UDPGK256K

Which looks like yours but seems to have the cutouts for power/volume buttons.
[T-Mobile Samsung Galaxy S II SGH-T989] henrycheng:
Does not have cutouts...trust me. And, yes, it does push up.
[HD2 Android Q&A, Help & Troubleshooting and Genera] elghandor:
How to install Android on HTC HD2

iam wondring if i can flash my phone into adroid system

i want to make my system is just android no more w 6.1

also

is this new android system will support the arabic

coz i use it in egypt

if so i need the instructions....

b.r

elghandor
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nigeldg:
Bloody hell, use the search function! It isn't difficult!

Having said that, this is a complete guide to doing so. And yes, the ROMs tend to be multi-lingual and a lot support RTL writing for Arabic. It should state in the OP if it does.
[HD2 Android Q&A, Help & Troubleshooting and Genera] elghandor:
i want to make my system is just android no more w 6.1

what about my asking for this

is the threads will answer it

yes, coz i tried b4

and when i just restart my phone w 6.1 appear again

if u just want to help maybe u should give alink for the right thread

b.r

elghandor
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nigeldg:
Well if you wanted the link for the right thread, read! Check my post and you will see the link posted clearly! Note that the word 'this' is highlighted as a link? Try clicking it ;)
[HD2 Android Q&A, Help & Troubleshooting and Genera] walidhazem:
Go to android nand development, over there u can remove wm6.1 and have android only
[HD2 Android Q&A, Help & Troubleshooting and Genera] gurdevb:
Does it never occur to you guys on here that we are not all technically savvy as you and just want simple answers to simple questions Nigeldg ?

I've clicked on the link you've suggested and I can't follow it myself, How's this poor fella in Egypt going to ????
[HD2 Android Q&A, Help & Troubleshooting and Genera] lunchmoney:
Google Video is your best friend!

Jayceooi hd2 video tutorials are very clear and simple to follow!

Download the videos and watch them over and over again until you get it!

Once you have had sufficient exposure to the process of installing nand android (like original) come back to xda and read the tutorials just to make sure the information is up to date!

Don't rush! Keep watching the videos until you "get it"!

Download the files needed to flash. Place them in folders numbered to the sequence required for installation.

I know you feel a little inundated now but once you watch the videos it will make sense!
[HD2 Android Q&A, Help & Troubleshooting and Genera] Nigeldg:
As you are a native English speaker (or have a bloody good translator) you should EASILY be able to follow that guide. I'm 14 and I could, and I had literally no experience of anything like this beforehand. @lunchmoney (lol) jayceooi's tutorials are indeed very good, and show the step-by step-with text + have links to the XDA threads for downloads and he also answers all his questions on his website.
[HD2 Android Q&A, Help & Troubleshooting and Genera] EXEC/JASJAR:
SD roms that load with haret

Do all sd builds load using haret? For example: Could I run ICS beta 2 using haret?

Thanks for the support...
[Android Q&A, Help & Troubleshooting] brunoshady:
is that possible/

need the script with full permission to run in tasker, and tasker only reads scripts from sdcard =/
[Android Q&A, Help & Troubleshooting] brunoshady:
nobody? =(