yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] Konikub:
I extracted all of mine to the tools folder...so when I open up tools there is a folder 'right there' and not in another folder. I had to kinda make it happen...lol.

Also when I pull up cmd...it won't let me navigate to the sdk/tools/sign folder...? Any clues...?
[Hero CDMA Android Development] Sporkman:
'java' is not recognized as an internal or external command,

operable program or batch file.

i have java installed im running windows 7 64bit
[Hero CDMA Android Development] bertman285@hotmail.com:
Hey I forget the exact name of the post but its by theresthatguy. It's has winsign and linxsign in it.

Haha I found it. xdaforums.com/showthread.php?t=629151
[Hero CDMA Android Development] theresthatguy:
Damn I'm awesome with my non-gossip, no bs threads.
[Hero CDMA Android Development] bertman285@hotmail.com:
If they'd make them sticky's it make things a lot easier...lol
[Hero CDMA Android Development] swears11:
When trying to sign my zip, i get:

'java' is not recognized as an internal or external command, operable program or batch file.

Any suggestions?
[Hero CDMA Android Development] sprintdude07:
i got my rom signed and tried to upload to phone... it said cannot find update script.... I didnt even use that kitchen method to sign the rom.. I had to manually do it via java also... what did I do wrong?
[Hero CDMA Android Development] pseudoremora:
Your positive that Java is installed and that you have your environment variables set up, right?

If not, to do this in Vista/Windows 7:

** You need to make sure you Java installed, go to C:\ProgramFiles(x86) or ProgramFiles\ *look for Java\ *then jre(#) \ *bin --- This is where you installation is.

1. Right click on My Computer - choose Properties.

2. To the left hand side, select Advanced System Settings

3. A screen will pop up, choose Environment Variables.

4. Another box with appear, for "User Variables for *username* -- Find PATH and choose Edit, then at END of Variable Value, enter the path of your Java installation is.

EXAMPLE: ;C:\Program Files (x86)\Java\jre6\bin

Do the same for System Variables, Find PATH, choose edit and again at the END of Variable Value, enter the path of your Java installation.

EXAMPLE: ;C:\Program Files (x86)\Java\jre6\bin

If this is the case, you need to verify that your ROM was infact signed properly. Open your rom with 7zip/Winrar and make sure the structure of your META-INF file has: MANIFEST.MF, CERT.SF, CERT.RSA and that you have a folder called com\google\android\updatescript.

If this all checks out, resign again and try to flash.
[Hero CDMA Android Development] swears11:
Aha.

That fixed it!

Thanks!
[Hero CDMA Android Development] pseudoremora:
Haha, no problem -- happy it worked!:D
[Hero CDMA Android Development] bertman285@hotmail.com:
Yay!!!!! Just flashed my own Rom that I built off of gumbo and Ttg. Will share soon as get home
[Hero CDMA Android Development] Cheeze[iT]:
So would i be able to create a cyanogenmod for hero cdma? or at least use the themes that are made for cyanogen? that's really all i want to do. these are the ones i want to use.

http://xdaforums.com/showthread.php?t=549733&highlight=alien

http://xdaforums.com/showthread.php?t=563525
[Hero CDMA Android Development] Sporkman:
thx for the info i have the 2nd path but not the first can i just add the patch in the first ?
[Hero CDMA Android Development] pseudoremora:
You would actually have to "Port" either of these themes to our phones. When I say Port, I mean that some of the theme files used for the GSM phones that these themes were developed for natively are different for our CDMA based phones -- the kernel has different functions and what not, so you would have to figure out what icon goes where when an action is performed (e.g. You get a message or a voice mail, there's an icon for that -- the framework files are in different places for both GSM and CDMA phones). Sorry if I'm making this sound hard, its probably not extremely difficult, but very tedious, if you can accomplish it -- all the more power to you, that would be exceptional!
[Hero CDMA Android Development] brian m:
I'm new to this stuff and I feel I kinda cheated.

1. I flashed pancake 0.1 just navi

2. rebooted, checked about phone. Got stovepipe and pancake to show up.

3. dragged a copy of the original zip. changed out what I needed by just dragging them to the open zip without unzipping (I changed the lockscreen, icons, widgets and nexus 1 boot by looking at the zip for each.)

4. opened kitchen, pressed sign a zip. renamed the file name by .1

5. put it on the sd card

6. reflashed

7. nexus boot, 2.1 icons, and clear widgets work.

Checked about phone again, all good.

If my phone works, then I did it correct, right? Just wondering why some have troubles. Maybe this will help?
[Hero CDMA Android Development] pseudoremora:
The java installation path will work for both the 1st and 2nd Variable Values that you need to input.

To test if java is installed correctly and running -- issue this command at command prompt:

java -version

This command should return something like this:

java version "1.6.0_17"

Java(TM) SE Runtime Environment (build 1.6.0_17-b04)

Java HotSpot(TM) Client VM (build 14.3-b01, mixed mode, sharing)
[Hero CDMA Android Development] pseudoremora:
I would say you have successfully created a version of your OWN ROM! Congrats! To test further, you can edit the build.prop.xml file and opening it with Notepad++ look for (Control + F) "build description" -- change that to your name or the name you want your ROM to be called and then save it. Resign, put back on SD CARD, reflash, reboot, and if everything works and you boot up -- check About Phone again and under Build, see if it displays the new info, if so -- then yes, you are now a ROM developer.:D
[Hero CDMA Android Development] Sporkman:
yea mines installed fine i got this

C:\>java -version

java version "1.6.0_18"

Java(TM) SE Runtime Environment (build 1.6.0_18-b07)

Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)
[Hero CDMA Android Development] brian m:
sweet, this site rocks:D

Can I add that to my resume?/sarcasm
[Hero CDMA Android Development] Cheeze[iT]:
so long story short, it's a bit of a process, right?
[Hero CDMA Android Development] pseudoremora:
If that's the case -- you should try to sign your ROM via Command prompt again and see if it works.

To do so, issue the command (Make you cd into the sign tools dir FIRST):

C:\sign_tools>java -jar signapk.jar testkey.x509.pem testkey.pk8 name-of-ROM.zip name-of-ROM-signed.zip

It might take a little while, but it returns the command prompt, then you're good to go. Check your Sign Tools dir and see if your signed ROM is there! Have fun signing ROMS!:)

Only if you feel it'll get you a job!:p

Indeed and thus the reason why many themes aren't created. Plus, it takes creativity/patience, which I'd like to say I have a bit of -- but not anything close to what Prash did -- that's amazing. Though, don't let me stop you!:rolleyes:
[Hero CDMA Android Development] Sporkman:
woot flashing new custom build atm will post back if any troubles
[Hero CDMA Android Development] pseudoremora:
Nice! Well, as before -- you get one of these.:D
[Hero CDMA Android Development] Sporkman:
well it flashed fine i in put all my google info email etc etc it went thou throu the loading pahse then i get the

com.htc.launcher stopped working and it repeats it self
[Hero CDMA Android Development] pseudoremora:
I just want to tell you that you've gotten further than I have with your ROM, hahaha. Looks like I'm better at giving advice than actually applying it, lolol!

Try to replace com.htc.launcher with one from a stock ROM, resign the ROM, reflash and reboot.
[Hero CDMA Android Development] Sporkman:
where can i get a stock rom :P
[Hero CDMA Android Development] pseudoremora:
Right, Here of course!:D When I had the Stock ROM, I pulled all the files from it, just in case -- seems I was right!:rolleyes:

1. Download file

2. Unzip

3. Copy both the .apk and .odex to your ROM and overwrite.

4. Resign

5. Reflash

6. Reboot
[Hero CDMA Android Development] Konikub:
2A. Signing in Windows

Attached to the first post is a zip file named WinSign.zip . Download and extract to your Android-SDK/tools directory. To sign a ROM.zip file (Have completed)

I.Copy the ROM.zip file to the Android-SDK\tools\sign folder. (Have Completed)

II.Open the Windows command prompt and navigate to your Android-SDK\tools\sign folder (Can't do) I can get to cmd...but that's where I don't know what exactly to type to get to the "sign folder" I know how to get to the tools folder...but when I put "/sign" after tools....it tells me no such place exists...?

I have to type this into it as a command, the presto....my ROM is signed PROPERLY!

III.At the prompt type:

Code:

java -jar signapk.jar testkey.x509.pem testkey.pk8 NAME-OF-ROM.zip NAME-OF-ROM-signed.zip

This will create a signed copy of your ROM, inject the rsa keys to allow flashing and place it in the folder alongside your original ROM.zip. The new file is ready to copy to the SD card for flashing and testing.
[Hero CDMA Android Development] pseudoremora:
The OP above you had the same problem, here's what I suggested -- which worked for him.

You don't actually have to have your Sign tools inside your AndroidSDK\Tools\ folder (though it shouldn't matter) -- I would take it OUT of that folder and just put on the root of your drive (e.g. C:\sign_tools) -- then try running the command again.

Also -- for "name-of-ROM.zip" that's just an example name I made up. You need to CREATE a ROM first, GIVE it a name (testrom is fine) and then when running the command, substitue "name-of-ROM.zip with

java -jar signapk.jar testkey.x509.pem testkey.pk8 testrom.zip testrom-signed.zip
[Hero CDMA Android Development] ccapasso:
Just a thought, as I saw some people requesting this to be a sticky, maybe for now the OP can put it on the Wiki Guide which is located here:

http://wiki.xda-developers.com/index.php?pagename=CDMA Hero Guides

After all, it is for CDMA Hero Guides :)
[Hero CDMA Android Development] Konikub:
Well I did it!!!!! :D:D:D:D Finally got a ROM I tweeked to kind of my liking....just a little to see if I could even DO it.

...finally I flash it and it has the changes I have made....."aside" from the name of my ROM, lol. I have changed the previous name of the ROM and saved it back to the ROM, however now instead of saying the previous name in "about phone" it says unknown.

I double checked and realized there is 2 ro.build.description=

Do I change both of them or are the numbers after the first one significant??

Below is what it says in my build.prop

fingerprint

# ro.build.description=1.56.651.2 CL85027 release-keys ro.build.description=Aloyisus ROM 1.0

ro.build.fingerprint=sprint/htc

**EDIT** Found my answer!!...........I just downloaded Pancake 1.1 and unzipped it and found the build=# to be left alone and he only changed the second "build="
[Hero CDMA Android Development] pseudoremora:
What ROM did you base yours off of? Also, what all did you take out and include?
[Hero CDMA Android Development] Konikub:
I based it off of Fresh and added a few apk/apps and Godzsons Blue Onyx Icons.....that were hard to pick through, cause they were not compatible with Fresh appearently.

I wanted to do Gumbo...but I don't like the rounded bottom where phone/+/Up is....I like Fresh's squared look to it.

Maybe I shouldn't have used Fresh....it's probably too signitured to be using as a base, lol. In which case.....................my bad :o

Somethings worked, but the renaming did not.
[Hero CDMA Android Development] pseudoremora:
Nice. I tried to base mine off Gumbo, but had problems with booting -- probably my own fault. I just decided to start from Stock instead, so hopefully sometime this week I'll have a ROM up, most likely based on Modaco or Gumbo, since I feel these two are the fastest ROMS. I'm hoping to build a custom kernel as well. I've made custom icons and a custom boot screen, I think its only natural I make a custom kernel and learn my entire way through all of this, that way come 2.1 -- I'll be able to really make something from scratch, hopefully!:rolleyes:
[Hero CDMA Android Development] Konikub:
Yeah....I hear you. I don't think what I'm doing is creating my OWN Rom....I'm just taking Fresh and tweaking it (like themes do) and signing it as my own. Not too fair imo....

Is there a STOCK ROM or a Rom close to stock as possible that I can just "make" my own.....and learn all this stuff in the process..?

If there is such a "stock" ROM out there....where can I download it from?
[Hero CDMA Android Development] ccapasso:
I know there is a Link around here somewhere that someone gave in which they uploaded the stock ROM files, but I can't remember where it is. It should be in the Wiki though, which it is not.

Everyone needs to start using that thing :). It helps keep things in one place
[Hero CDMA Android Development] pseudoremora:
I actually don't think there is a stock ROM. What I did last night was RUU'ed and started over from scratch. Then, upon booting and seeing the home screen, I rooted and installed the recovery image. Then I pulled EVERYTHING from the STOCK ROM and put it in a folder so I had it for future reference. If you can't find it, I'll upload the file I have later tonight -- currently at school/work.
[Hero CDMA Android Development] Konikub:
That would be greatly appreciated!!! :):D:)

Thanks so much, I can't find it....and I've been looking through out my computer/google/2 forums I use.
[Hero CDMA Android Development] ccapasso:
Yeah, I should have been a little more clear about what I meant. I used the term ROM loosely there as it isn't a ROM. The post I have seen has all of the Stock Files, same as what you did :)
[Hero CDMA Android Development] pseudoremora:
Here ya go. I tried to pull everything I could. I wasn't able to pull everything, because some files had "special permissions", whatever that means. But, you do have the stock "/system/" folder -- hope it helps!

http://uploading.com/files/1983b84a/stock.zip/

Don't worry about it. I understood.
[Hero CDMA Android Development] Sporkman:
after about 60 fails i finally got it :D my custom build to run boot and no errors lol .

now how do i add a krenel to it ( gumbos) a theme the stock theme blows monkey balls, and or clear widgets ( a mod by GODZON )
[Hero CDMA Android Development] pseudoremora:
If you wouldn't mind, would you PM me with the steps you took to get your ROM to boot up correctly and also mention what ROM you used, what you took out, put in, etc. Thanks.

In regards to how to add a kernel -- if you're wanting to build a "custom" kernel, in the Wiki Pages, there's a tutorial there I believe. Otherwise, search "custom kernel".

To add a theme, if you want Espresso, go to TTG ROM and on the front page, you'll find it there (its just an update.zip -- all you have to do is flash it). If you want to add it to your ROM, then you'll need to download the file and pull whats inside the /system/app/ folder to the same directory of your ROM.

To add clear widgets, its the same process as the theme -- if you just want to use it; just put it on your sdcard and flash, if you want to

add

it, apply the same steps from above, just make the file structure (/system/x/) is the same when you move it to your ROM.
[Hero CDMA Android Development] Sporkman:
pm sent to you
[Hero CDMA Android Development] Sporkman:
ok theme file added lock screen added just need to add the kernel thats the part im still stumped on lol
[Hero CDMA Android Development] pseudoremora:
The kernel can definitely be tricky, especially if its someone's first time working on something like this. The guide I was talking about though is Here You'll need Linux though to compile and what not. Hope that helps! Congrats on getting your ROM to work! I hope i'm as lucky as you! Thanks for the PM.
[Hero CDMA Android Development] Sporkman:
thx for the time being im going to just add it ontop after flash the new rom

can you PM the name of the files i was looking to remove again
[Hero CDMA Android Development] Konikub:
How do you add a kernel to a ROM so it has it all in one? Is that possible...?

I'm on my way to creating my own little happy ROM :D

Where would I put it?
[Hero CDMA Android Development] Sporkman:
im asking the same thing i have tried just coping the files over with no luck
[Hero CDMA Android Development] Konikub:
Next question...lol. Where can I go "inside" a ROM to change/add some wallpaper..?
[Hero CDMA Android Development] refthemc:
Good thread...
[Hero CDMA Android Development] darchstar:
It's totally possible, just do this:

copy the boot.img to the root of your work directory

copy all the modules that come with the kernel to system/lib/modules

then add these lines to your update-script

show_progress 0.2 0
write_raw_image PACKAGE:boot.img BOOT:
show_progress 0.2 10

See, that wasn't so hard :D
[Hero CDMA Android Development] Sporkman:
what update script :P i see many but i have to say TYVM for the info
[Hero CDMA Android Development] Konikub:
I got it Darch! Thank you Soooo much....

I didn't create my "own" kernel, but I added one of the fastest if not the fasted kernel "to" my ROM. So one doen't have to flash the kernel after flashing the ROM :)

You're right...easy as pie!!!
[Hero CDMA Android Development] pseudoremora:
The update script he is talking about is in your META-INF folder inside the com folder. The file structure is as follows: com/google/android/update-script.

You can open this file with notepad, but I would highly recommend you use Notepad++ as it'll keep the formatting of the code intact. Then to do what Darch said, grab the code posted and copy it at the bottom of the script, save it, and follow his beginning instructions as well. (Move the boot.img to your ROM basically)

I take it you added Gbhil's kernel? Nicely done.
[Hero CDMA Android Development] rockage:
I'm trying to use a different set of icons in the pancake rom. I got to the point where i need to sign the zip file. I open up prekitchen like you say but it says on there it is not for signing full rom files, only themes...what am i doing wrong ?
[Hero CDMA Android Development] tejasrichard:
rockage....do a search for autosign. should be able to find a thread with the download and a short tutorial. It is super simple and works like a champ.

Edit: here it is- http://xdaforums.com/showthread.php?t=473580
[Hero CDMA Android Development] javokhir:
Customize

Hi there

I need a help on HD2 rom flashing, hspl2 - 2.08 flashed. HD2 from T-Mobile USA

Need to flash different region rom, after flashing shows with red: you rom is not customized.

What should I do?
[Off-topic] BlackHawk6:
I Have about 600$ to spend on a good laptop, I have bought an hp mini which stopped working on me and a toshiba laptop that also stopped working so im starting to get a little mad can anyone give me some good names? I would like it to be pretty fast, have a cd drive, and have windows 7. Thanks
[Off-topic] bravo261:
those parameters are way vague, man
[Off-topic] Rudegar:
http://xdaforums.com/showthread.php?t=638796
[Off-topic] galaxys:
I'm very happy with my Sony Vaio VGN!
[Off-topic] N1c0_ds:
Asus Asus Asus Asus!

Best customer support ever (from other workmates) and they're pretty cheap for what they've got. Most of them pack great graphics card under 800$.
[General Questions and Answers] dhaut88:
help anyone could help me find software touchkeypad for o2 xda zinc .. really appreciate your help
[HD2 General] yosi199:
Hi guys. once more I'm trying to find whats preventing my email account to connect using the wifi connection. It seems as it will only connect through 3g data connection. I've tried everything. the only thing I can think of now is that there's a problem with the wifi modem driver because as you can see in the pic below it wont appear as a modem connection:

can anyone check is they have another option there that I dont?

It'd be very appriciated. Thanks!
[HD2 General] weynan:
i face the same problem, I couldnt send email using wifi except 3G.
[HD2 General] yosi199:
Well than lets find out whats wrong! Do you have those same options like I have?

I think that people that have a working email client should have another option there for the broadcom etherenet card and I want to compare.
[HD2 General] kilrah:
Why are you going so "deep" in the "useless" settings?

Set your network cards to connect to "the internet", not "work", and set the email client to use "the internet"... and everything will work together nicely.
[HD2 General] yosi199:
It does not work that way. When I send/recieve I get this messege:

Cannot connect

Dialed:

The answering modem has disconnected. To check your modem connection settings and change them if needed, tap settings.
[HD2 General] yosi199:
Bump.

Cant someone just look and tell me wheter he has the same options like the pic in the first post? maybe he has diffrent/more options?
[HD2 General] kilrah:
That would mean your 3G connection doesn't work either... but you did say it was working earlier, right?

I'm on WM 6.5 and the screen is different. But in the options I only have 3, Bluetooth is absent.

BUT that screen is not related to wifi at all, so your problem should not be there.

This connection screen is set by the configurator for your country/operator to get the data/mms connection settings. If those work, the problem is somewhere else.
[HD2 General] sarah72:
If it helps .... I only have the 3 options you have. BUT I am pretty sure that the screen shot you showed has nothing to do with your ability (or inability in this case) to establish a wifi connection.

I re-set up my Telstra WAP connection and then my Active Sync settings in order to connect to Exchange as it did not connect straight out of the box (gotta love Telstra!) but all is working now that I have selected "The Internet" and have the right Telstra settings ....

Sorry I cant help anymore ... hope you find a solution though!
[HD2 General] vince2773:
I had the same problem last night at home, and quick resolution was to reset the WiFi access point. I know for a fact that it's not the HD2 because occasionally I had the same problem with my old phone (Nokia E60).

However, I too was puzzled by the message you are quoting. If WiFi does not work, the HD2 should fall back on 3G / GPRS / GSM, which in this case it does not. :confused:

I'm not sure whether your problem too may be related to the access point. If I were you I would:

a) Turn WiFi off on the HD2 and check that mail works fine;

b) Check that you have set your WiFi connection and your email client on the HD2 as suggested by kilrah earlier (to connect to "the internet", not "work", and set the email client to use "the internet")

c) Turn WiFi on and check that the HD2 does indeed connect properly to the access point (green tick mark next to the SSID). If it doesn't try resetting the access point.

d) If it does, check that email works as expected (which at this point should be the case).

Hope this helps.
[HD2 General] antoniof:
The most "effective" -simplest- solution i was able to find to the problem is to "duplicate" the email account.

The "duplicate" accout was created "while i was connected to the internet via wifi".

Actually this "alternative" account was created - obviously with a different "name" - to be able to clearly identify it and different smpt - to be able to send messages via the adsl provider-.

Now when i want to check the mail via 3g i use one account while when i want to connect via wifi i use the "alternative" account.

This way you may have every now and than the problem of duplicate incoming messages which need to be manually erased but at least don't have to make too elaborate modifications to the settings prior to access the mail.
[HD2 General] nebuneli:
I have the same problem but the other way arround. I mean that my Gmail account won't sync unless I'm on Wi-fi . Through Gprs it won't work !! I get a "Cannot Connect" message. HELP ME
[Nexus One General] BlackHawk6:
What do you guys think about this? Would you trade your nexus one for it?

http://www.mobilewhack.com/google-nexus-two-pictured/
[Nexus One General] Eclair~:
Um.. unless it has a better processor, then.. I think I'm ok with my Nexus One.