yashsingh1/xdaforums huggingface dataset:
[Touch HD Windows Mobile ROM Development] harry_dinh:
Seems something wrong with your device. Try to hard reset and do it again?

Or if you still cant connect to usb. there is another way to upgrade without connecting to pc. After upgrade to new ROM, try it again whether it can connect to pc or not? Here is some tips for you.

Connect your SD card to PC through microSD card. Copy all files from your SDcard to new folder in your PC. Then, right click on the microSDcard disk-->full Format by FAT32 (this step is very important).

After formatting SDcard, copy back all files to SDcard . Rename .nbh to BLACIMG.nbh (for Blacktone) and copy it to SDcard.

Insert your SDcard back to Touch HD. Turn off your device by Power button.

Go to Boot loader mode. Push and hold Vol. Down + press Power button.

After that your device with have a white screen with text " Press to power button for continue upgrade" press power button and it will start upgrade Rom.

You can check this video for more practical actions on youtube.(this video for HTC diamond2 but it's almost the same with Blacktone just different in rename step)

Hope it helps and cheer
[Touch HD Windows Mobile ROM Development] supadupa111:
Thanks for the tips =)

I've did a hard reset twice and still no luck.

I've tried to flash through SD but since I use USPL, it just hangs when I try.

If I have SPL 1.54.0000, is there something that can be flash through the SD without USPL?
[Touch HD Windows Mobile ROM Development] harry_dinh:
I have not tried this. I am on HSPL 1.56olinex but you can try my suggestion cause I think it's the only one you can choose now. I never ever use USPL. I think you can do it step by step and carefully.

Regard
[G1 Android Development] Amon_RA:
1. Download testsign.jar

2. Create the following script in your Nautilus script directory and name it sign :

#!/bin/sh
# Update the Loc var to where YOU stored the testsign.jar file !

Loc=/home/ra/android-sdk-linux_x86-1.5_r2/tools/SignApp/

for arg
do

java -classpath "$Loc"testsign.jar testsign "$arg" "$arg"-signed
gdialog --title "signapk" --msgbox ""$arg"-signed created" 200 200

done

3. Right-click the file you want to sign, navigate to script and select sign ^^

Important :

The Nautilus script directory is probably ~.gnome2/nautilus-scripts (Prior to Nautilus release 1.0.5, the scripts directory was ~/Nautilus/scripts).

Make sure that you chmod u+x both script and testsign.jar !

Don't forget to update the Loc var in the script !
[G1 Android Development] alritewhadeva:
Nice, I miss this feature coming from Windows didn't know how to do it haha :D Thanks
[G1 Android Development] Nismo300zx:
thanks just finished setting it up
[G1 Android Development] Amon_RA:
Updated the script so it's just adding signed in front of the file.
[G1 Android Development] wddglr:
Great!

Added a link to the top of my how-to.
[G1 Android Development] wddglr:
"-signed.zip" be added to the end. I get this after the script is executed with the script:
[G1 Android Development] nk02:
thanks, my debian box is happy :D
[G1 Android Development] wddglr:
okay, renaming the archive and removing the zip extension and using the original script seems to work.
[G1 Android Development] AdrianK:
I thought I had set this all up correctly, but when I right click on a zip and choose "Sign" I get a popup about encryption keys :-S

I'm really not sure what I did wrong.

I pasted testsing.jar in /home/adrian/android

then made the script - sudo gedit /home/adrian/.gnome2/nautilus-scripts/sign

#!/bin/sh
# Update the Loc var to where YOU stored the testsign.jar file !

Loc=/home/adrian/android/

for arg
do

java -classpath "$Loc"testsign.jar testsign "$arg" signed-"$arg"
gdialog --title "signapk" --msgbox "signed-"$arg" created" 200 200

done

and finally chmodded the jar and script

cd /home/adrian/android/
chmod u+x testsign.jar
cd /home/adrian/.gnome2/nautilus-scripts/
chmod u+x sign

Any help is appreciated, I feel like such a n00b right now :-/
[G1 Android Development] AdrianK:
Bump

I assume I'm doing something wrong, as I've tried the same thing on my netbook and the exact same thing happens.
[G1 Android Development] alcahuete:
It looks like you're selecting the Sign option that does gpg/pgp signing. There should be a "Scripts" submenu when you right click and then your script name should be listed under that.
[G1 Android Development] AdrianK:
I feel like such a n00b, I just saw saw sign and assumed it was the correct option ;-) Where do the signed files actaully end up? They don't appear in the original directory :-S

This doesn't change anything for me :-S

Does this also work for Apk's?
[G1 Android Development] Binary100100:
I'm having the same problem as Adrian.

I followed the directions to the letter and I get the scripts submenu with the sign option.

after I select "sign" I get the "signapk" message that says "signed! /home/greg/desktop/hero.zip created. OK

But when I check my archive there is nothing in the META-INF file (except the com directory).

PS. I'm a Linux noob too.
[G1 Android Development] Chinpokomon:
You could actually do something like this in Windows; you could write a batch (cmd) file and modify the registry for shell open commands. It might take a little more effort and use components of Windows most users wouldn't touch with a 10 foot pole, but it works pretty well. I "wrote" a pdf creation system based on ghostscript and used a similar technique.
[G1 Android Development] Amon_RA:
Changed the first post a bit, check if it's working now for you.
[G1 Android Development] Binary100100:
I somehow managed to get it to work by creating a folder called "signing" in my androidsdk directory. For some reason it won't work from the Desktop.
[G1 Android Development] temporizer:
Thank you so much for this! I wasn't sure how to do it, couldn't find an answer, then you pop up! Thank you for your hard work.
[G1 Android Development] beartard:
Much obliged, RA.
[G1 Android Development] darthlukan:
Great work! It works on Gentoo/Sabayon with nautilus installed under e17.
[G1 Android Development] Binary100100:
Not working for me...

So I was able to get the to work through VirtualBox but not on my PC using a fresh install of 9.04. I did everything that I did on VirtualBox but for some reason it's not working.

I've also tried the following method:

java -jar testsign.jar update.zip update_signed.zip

but got this:

and I was told that the error means that it can't locate my testsign.jar file as instructed by my sign script that is located in the /home/greg/.gnome2/nautilus-scripts directory.

This is what everything looks like as copied from terminal:

and this is my sign script:

and of course I chmod u+x both files.

Anyone knowledgeable enough to tell me just what is going wrong?
[G1 Android Development] temporizer:
Where it says "$Loc" (as I bolded in your above script) must be changed to your testsign.jar location.

"Dir/testsign.jar/is/in/" **keep the quotes** [color=red]edit: just the path, do not put testsign.jar in the path because its already there after the *[/color]

Hope that works.
[G1 Android Development] Binary100100:
Nope. Same thing.
[G1 Android Development] ccriffman:
I finally created a dual boot with windows and Ubuntu 9.0.4 running and am trying to learn the linux world, so I hope you can "bear with me"- I did a search with *nautilus* and got 124 files. I however couldn't find a script directory. What am I doing wrong?- signed, "Old time MCSE trying to sever the windows stigma"

BTW- Your recovery images are the best- hands down- Chris
[G1 Android Development] bkmo:
I usually just right-click in the right pane window of Nautilus, select scripts, and then at the bottom it says "Open Scripts Folder"

it is located in /home/username/.gnome2/nautilus-scripts if the other method doesn't work. First you need to "ctrl-h" in nautilus to see hidden files and folders.
[G1 Android Development] behnaam:
Worked before my harddrived crashed. Dont work now on my new ubuntu computer. It says the the file is signed but no file is created.
[G1 Android Development] Marine6680:
Is there a way to do this with KDE4 and dolphin? I do not have a scripts option in my right click menu.
[G1 Android Development] Meltus:
edit: nvm i'm an idiot.

Works flawlessly (unless you misread stuff :D)
[G1 Android Development] ccriffman:
Amon- First off, let me say that your recovery pgms are the only ones I use- they are awesome.

Now to the problem- I have struggled a lot learning ubuntu; especially with adding things. A lot of bashrc not knowing the command, files not found, ya da ya da. As a result, my tools directory, where my adb executable is, and all my crucial files, is in /home/ccriffman/android/tools. Could you pm me or send to ccriffman@gmail.com an exact method for your right click signing, including the exact commands in terminal? I know it sounds very anal, I am just struggling. I was able to get stericsons ( stephen) method to right click signing in windows to work first time without a hitch. I am just trying to use linux as much as possible and stay away from my windows partition- thanks in advance- chris
[G1 Android Development] Amon_RA:
Follow the steps in the first post and change the Loc variable in the script to

Loc=/home/ccriffman/android/tools
[G1 Android Development] faithnolonger:
Not that i'm aware of, but as you can see the commands pretty simple, just hit F4 in dolphin crab yourself a terminal and testsign.jar input output. works a charm
[G1 Android Development] skrki:
Hi, I've just given testsign a try like this:

java testsign.jar com.myapp.apk signed_copy.apk

And got this:

Exception in thread "main" java.lang.NoClassDefFoundError: testsign/jar
Caused by: java.lang.ClassNotFoundException: testsign.jar
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:316)
Could not find the main class: testsign.jar. Program will exit.

'java --version' shows this on my system (Linux OpenSuse... so, NOT Gnome, but KDE):

java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) Server VM (build 14.3-b01, mixed mode)

I realize this may be some dumb problem, I'm just totally new to this, so I was wondering if there's anything I screwed up, or maybe using this the wrong way.

I have also tried both 32 and 64 bit alternatives of Java installed on my system, but got the same error.

By the way, I saw the previous post, but that's not working. Anyone care to shed some light please?

Thanks!
[G1 Android Development] cloverdale:
Try

java -classpath testsign.jar testsign com.myapp.apk signed_copy.apk
[G1 Android Development] skrki:
Nice :D That worked, thanks a ton!

Jeez, my Java's rusty.... haven't touched it in 5yrs! Gotta get it cranking again...
[G1 Android Development] cloverdale:
Happy to help. I am just now learning Java, and fortunately I had learned yesterday how to sign :)
[G1 Android Development] Amon_RA:
The classpath is actually mentioned in the first post... :p
[G1 Android Development] dumfuq:
here's a simple change that takes a file named file.zip and creates file-signed.zip instead of file.zip-signed.

you should change any lines with zenity to use gdialog or whatever you use though as well as setting path for your system.

#!/bin/bash
# Update the Loc var to where YOU stored the testsign.jar file !

SUCCESS=
Loc=/usr/local/lib/android/tools/

for arg
do
TMP=$(ls $arg | sed 's/\(.*\)\..*/\1/')
EXT=${arg##*.}

java -classpath "$Loc"testsign.jar testsign "$arg" "$arg"-signed 2> /tmp/signTmp
SUCCESS=$?
if [ $SUCCESS -eq 1 ]
then
zenity --info --title "Sign APK" --text "signing FAILED! \n`cat /tmp/signTmp`"
exit 1
fi

mv $TMP.$EXT-signed $TMP-signed.$EXT
done

zenity --info --title "Sign APK" --text "signing completed!"
[G1 Android Development] smackdown85146:
It doesn't seem to work for me. Even while signing it manually in Terminal, I get an error.

earl@earl-laptop:~/android-sdk-linux_86/sign$ java -classpath testsign.jar testsign nexusone-beta1.zip signed-nexusone-beta1.zip
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
[G1 Android Development] philicibine:
Has anyone fixed this??

it seems lots of us are having the same error...

I can do this in windows... but why should i?!!! it`s hassle!!

Can anyone offer a solution to these errors??

I`m getting this

signing FAILED!
Exception in thread "main" java.lang.NoClassDefFoundError: testsign
[G1 Android Development] boldfilter:
Thanks! Had trouble until I chmod u+x
[G1 Android Development] xrCore:
Thanks, very quick and simple!
[G1 Android Development] starbuck79:
This is Chinese!!!
[G1 Android Development] AdamOutler:
I developed the script a bit. I figured i'd commit it back upstream.

#!/bin/sh
# Update the Loc var to where YOU stored the testsign.jar file !

Loc=/home/adam/android-sdk-linux_86/tools/SignApp/

if [ ! -e "$Loc/testsign.jar" ]; then
gdialog --title "signapk" --msgbox "Could not find testsign.jar in $Loc"200 200
exit 1
else
gdialog --title "signapk" --msgbox "Please wait while signing $Loc"200
fi

for arg
do

java -classpath "$Loc"testsign.jar testsign "$arg" "$arg".signed
if [ $? = 0 ]; then
gdialog --title "signapk" --msgbox ""$arg"-signed created" 200 200
exit 0
else
gdialog --title "signapk" --msgbox "Failed!
Attempted to execute the following command:

\"java -classpath "$Loc"testsign.jar testsign $arg Signed-$arg\"

Run this command from shell to gain more information " 400 400
exit 2
fi
done
exit 4 #Should not exit here

I was going to make the result called "arg.signed.zip"... but then i realized that it would require bash or sed and not just sh.
[G1 Android Development] AdamOutler:
I'm unfamiliar with the signing process. How do I sign a zip which will pass signature verification in clockwork mod?
[G1 Android Development] Firerat:
cli only, as tbh I don't see any need to sign files with a filemanager, I can do stuff with cli much faster than a gui filemanager

#!/bin/bash
prefix=FR-
suffix=_S

for file in $@;do
if [ "`echo $file|grep -iqE ".apk$";echo $?`" = "0" ];
then
ext=apk
elif [ "`echo $file|grep -iqE ".zip$";echo $?`" = "0" ];
then
ext=zip
else
ext=skip
fi

if [ "$ext" = "skip" ];
then
echo "skipping $file"
else
echo "signing ${file}..."
zip -d ${file} META-INF/MANIFEST.MF META-INF/CERT.RSA META-INF/CERT.SF
FILE=${prefix}`basename $file .${ext}`${suffix}.${ext}
java -jar ~/bin/signapk.jar ~/bin/testkey.x509.pem ~/bin/testkey.pk8 $file $FILE &
SIZE=`du $file|awk '{print $1}'`
size=0
rm $FILE
touch $FILE
while [ "`expr $size \/ 1024`" -lt "`expr $SIZE \/ 1024`" ];do
size=$(du $FILE|awk '{print $1}')
echo "$FILE"|awk '{printf "\r"'$size'"/"'$SIZE'" ""%.1f %s %s",('$size'/'$SIZE')*100,"%",$0}'
sleep 1
done
echo "signing ${file} complete"
if [ "$ext" = "apk" ];
then
mv $FILE $file
else
echo "signed file : $FILE"
fi
fi
done

stick it in PATH, chmod 700 , then

signzip.sh ../../somedir/deeper/unsigned.zip

zips will end up in the pwd, signed apks will replace the original

oh, signapk.jar testkey.x509.pem and testkey.pk8 are assumed to be in ~/bin/

want to stick that zip onto your phone?

adb shell 'if [ "`grep -q sdcard /proc/mounts;echo $?`" != "0" ]; then mount /sdcard;fi'
for i in $@;do
adb shell 'rm /sdcard/$i 2> /dev/null'
adb push $i /sdcard/ &
SIZE=`ls -l $i|busybox awk '{print $5}'`
while [ "$size" != "$SIZE" ];do
size=$(adb shell ls -l /sdcard/`basename $i`|awk '{print $5}')
echo "/sdcard/`basename $i`"|awk '{printf "\r"'$size'"/"'$SIZE'" ""%.1f %s %s",('$size'/'$SIZE')*100,"% ",$0}'
sleep 1
done
echo -e "\n"
done

tbh, if adb is not connected, it goes a little funky

I could fix it, but its not important

but maybe one day I will get round to fixing it, and check that there is enough space on the sdcard
[G1 Android Development] Firerat:
errm, like use the script

tbh, I have sign checks off with cwr, I only bother signing stuff which I 'release' because some people are still using ra
[myTouch 3G, Magic Android Development] Amon_RA:
1. Download testsign.jar

2. Create the following script in your Nautilus script directory and name it sign :

#!/bin/sh
# Update the Loc var to where YOU stored the testsign.jar file !

Loc=/home/ra/android-sdk-linux_x86-1.5_r2/tools/SignApp/

for arg
do

java -classpath "$Loc"testsign.jar testsign "$arg" signed-"$arg"
gdialog --title "signapk" --msgbox "signed-"$arg" created" 200 200

done

3. Right-click the file you want to sign, navigate to script and select sign ^^

Important :

The Nautilus script directory is probably ~.gnome2/nautilus-scripts (Prior to Nautilus release 1.0.5, the scripts directory was ~/Nautilus/scripts).

Make sure that you chmod u+x both script and testsign.jar !

Don't forget to update the Loc var in the script !
[myTouch 3G, Magic Android Development] avigan:
Great! This was really handy
[myTouch 3G, Magic Android Development] dferreira:
Thanks Amon_RA ;)
[myTouch 3G, Magic Android Development] free-sidux:
thx, nice solution.
[myTouch 3G, Magic Android Development] fxn:
Thanks for this Amon_RA, if it's not already in the Wiki can we add it there please otherwise this post will get lost
[myTouch 3G, Magic Android Development] :No-Frost::
Hi Amon_Ra, is there a way to do this on windows???
[myTouch 3G, Magic Android Development] feicher:
Yes

WWW.modmygphone.com/forums/archive/index.php/t-10591.html
[Tilt, TyTN II, MDA Vario III General] DomenicoCil83:
hi boys. led FN don't goes on when press FN key. i've dissassembly ppc, and if I powwer led it goes on. now, what's the problem???? please help me
[Touch HD Windows Mobile ROM Development] forcetranquille:
hi all,

i installed this rom and all is working but when i try to change the clock, i lost the calendar appointement

there is only the section : call history

any idee ?
[Touch HD Windows Mobile ROM Development] djcedric:
the clock you trying to install is not for your version of manila,try to find a clock that is compatible with your manila.

wich kind of clock your searching?

you can use ttmax theme

or just simpel clock like this
[Touch HD Windows Mobile ROM Development] forcetranquille:
i would like a clock like "digital transparent clock"
[Touch HD Windows Mobile ROM Development] djcedric:
if you want a cab to install then i cant help you,or with background then try whiteglow with transparant background.

if you use max ttm go here

hope this helps

edit:you can also refer to THIS thread,cabs for easy install
[Touch HD Windows Mobile ROM Development] forcetranquille:
nobody use this theme with an another clock that the default ?
[General Questions and Answers] goatus:
I can't unlock my phone for some reason. Pressing unlock doesn't work. I have spb mobile shell 3 installed, I'm not sure if that has anything to so with anything.

I can answer a call with the mouse button but as soon as the call ends it goes back into lock mode.

I have no idea what to do. I took the battery out but it's still the same, unless I need to take it out for a certain amount of time. Can someone please help me out here, I think I'm going crazy.

:confused:
[General Questions and Answers] orb3000:
Welcome to the forum

As this is an HTC devices only forum you won´t have too much atention, however in off topic there is a thread regarding samsung

Good luck,
[General Questions and Answers] -PiLoT-:
what he meant to say was

"sorry this forum is for htc devices only there is a thread in the offtopic forum but this is for OMNIAS only

go to winmodevs.com
[General Questions and Answers] orb3000:
LOL

That´s correct!

I forgot about winmo:p

But he asked about omnias...

Next one:D

http://xdaforums.com/showthread.php?p=4161814#post4161814
[General Questions and Answers] -PiLoT-:
true true

except the i910 is the american verizon wireless version of the omnia the htread in off topic is for the i900

not one to be an arse normally though :p
[myTouch 3G, Magic Apps and Games] Johan_Kred:
Hello

I have a big problem with the drivers to my phone in both Vista and XP, when I connect my phone it is not recognized by the computer.

It shows up as an unknown device and I am unable to update the drivers, it says that I already have the best avaliable drivers.

I can not access the phone thru the computer.

I have searched for answers and nothing has worked I have even formated my computer but still the same problem.

Does anybody have any solutions or thoughts about this problem?

//Johan
[myTouch 3G, Magic Apps and Games] ClintonH:
Have you tried downloading the Android sdk and directing Windows to the drivers supplied? It's weird you have a problem with XP, my Dell recognized the phone first time.

Clinton
[myTouch 3G, Magic Apps and Games] Johan_Kred:
Yeah I have tried that it just says that the best available drivers are installed.

Yeah it is weird, it worked for a while and then it just stopped working after playing around with som tethering apps. But I thought that it would work again after formatting the computer, but no.
[myTouch 3G, Magic Apps and Games] Radix999:
Check the Sapphire wiki in my signature - fezza added some info on how to fix driver issues in there yesterday.
[myTouch 3G, Magic Apps and Games] Johan_Kred:
Solved it by Hard-reset on phone, just plugged it in and BAM ... :)
[Touch Diamond, MDA Compact IV ROM Development] racerx_:
hey all.. sold my diamond and got a diamond 2.. just giving a last little shout out to all you diamond owners out there. Thanks for all the help and for making the forum awesome
[Touch Diamond, MDA Compact IV ROM Development] XDA-Geek:
hope u enjoy ur new XDA , pm me if u get android for the same.
[Touch Diamond, MDA Compact IV ROM Development] Mandragore:
Thank you too and enjoy your Diamond 2!
[Touch Diamond, MDA Compact IV ROM Development] donsalari:
WO... Enjoy diamond 2..!!
[Touch Diamond, MDA Compact IV ROM Development] liamhere:
all the best

have fun with your new toy!
[Touch Diamond, MDA Compact IV ROM Development] R3PUBL1K:
Thanks Racerx_

For all your input to the Diamond section. No doubt your will be as helpful that section.

Will you be making a modmydiamond2 site :D

For me I am of to the Hero when out in 2 weeks. My Diamond has gone to my Brother and I am using a SE w995. :eek: I did consider the iphone but decided I will wait until its on the Orange network as O2 is pants.

See ya around :cool:
[Touch Diamond, MDA Compact IV ROM Development] cyron_at:
..welcome to a new world!
[Touch Diamond, MDA Compact IV ROM Development] liamhere:
i really am not stalking you ;) but hero...here i come to as soon as orange have it...i will too......fingers crossed :)
[Touch Diamond, MDA Compact IV ROM Development] matrix77:
what is your opinion for diamond vs diamond 2?
[Touch Diamond, MDA Compact IV ROM Development] R3PUBL1K:
How Cool :cool: see ya there Bud;)
[Touch Diamond, MDA Compact IV ROM Development] liamhere:
good news

new hero arrives on thursday....see you in the new threads :)
[XPERIA X1 General] Firefall!:
I don't know what English X1 keyboards look like, but on my Swiss X1 there are three keys for ä, ö and ü. I think these keys do their job in a different way than the other keys, because I have noticed that when I slide the keyboard out and start typing, the phone is too slow to show the text in the first few seconds, and if I write a word caontianing ä ö or ü, that letter will not appear at the position where it is supposed to be according to the typing order, but at the beginning of the phrase. I therefore think that those keys trigger a special function which passes the correct key to the system, and this function is obivously way faster than the normal IRQ. So, first I would like to know whether there is a solution of this problem and if my assumptions are right, and second if there is a way to apply this behaviour to other keys or change the existing one, so that maybe we could get a ctrl key.