yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] tkirton:
Didn't for me...I think it's not your script, but there seems to be limits on the packages that are available due to age.

in Ubuntu 9.10, the Java 1.5 package doesn't even list. Here's what I had to do to get it to load:

1. Access a repository from the previous build (9.04 Jaunty will work: commands to put into /etc/apt/sources.list -

deb http://mirrors.us.kernel.org/ubuntu jaunty main restricted universe multiverse

deb http://mirrors.us.kernel.org/ubuntu jaunty-backports main restricted universe multiverse

deb http://mirrors.us.kernel.org/ubuntu jaunty-security main restricted universe multiverse

deb http://mirrors.us.kernel.org/ubuntu jaunty-updates main restricted universe multiverse

2. Set the max age higher than the default. This can be accomplished by editing the /etc/apt/apt.conf.d/20archive. Here's what my lines in that file look like:

APT::Archives:MaxAge "2880";

APT::Archives:MinAge "2";

APT::Archives:MaxSize "1000";

Making these two changes should work...although I have the Intrepid, Hardy and Dapper repositories in mine as well (didn't know which one would work, so I overkilled it).

Run the script again after making the changes and let me know if it works.
[Hero CDMA Android Development] cteneyck:
This if for the git repo its just your name and google email. make sure you type in yes after and not just y.
[Hero CDMA Android Development] cteneyck:
or you could just uninstall java 1.6 using apt and download the 1.5 legacy version and run ./setup.sh or ./install.sh. cant remember which they use. but there installer is pretty self explanatory.
[Hero CDMA Android Development] Kcarpenter:
Simple crap gets me every time....:o
[Hero CDMA Android Development] Kcarpenter:
Welp, again sorry to bump... i have to do this all in small steps as I have time ;)

Just got the CreateAndroidRepo done and tried to run get-CDMAHEro-source and after "unpacking Tarball" i get Exiting with failure statues due to previous errors.... I don't have any previous errors that I know of...

I have started from the begining again wiping out everything that was created - still get the error...something to do with the unziping of the tar must be messed up. Any ideas to trouble shoot?
[Hero CDMA Android Development] gbhil:
Took a quick look.

The get-CDMAHero-source script has a typo on the last line. The file name is incorrect.
[Hero CDMA Android Development] cteneyck:
doh. cut and paste must have got me. ill take care of that when i get off work
[Hero CDMA Android Development] tkirton:
True...but I was trying to keep in the scope of your script.
[Hero CDMA Android Development] Kcarpenter:
-1 BOO!:D

Nah, just kdding. happens to the best of us. Thanks a million for streamlineing the process.
[Hero CDMA Android Development] gbhil:
LOL. If that's the biggest script error you'll ever make I suggest sending a resume to Sun or Apple :D Try pushing out a big update to several hundred users and forgetting to chmod a directory. If you don't fluck up sometimes, you're not trying hard enough!

I'm even more impressed than I was the first time I looked. While I don't like the run as root aspect (personal pref), this is quality work. Even those that won't use the scripts should be forced to read this thread to see the process broken down into understandable sections.
[Hero CDMA Android Development] cteneyck:
Fixed get-CDMAHero-source.sh script
[Hero CDMA Android Development] obelisk79:
Something to add to the guide, ensure before anyone conducts the flash that they do a fresh reboot. Otherwise they could wind up booting into fastboot mode and have to do a nandroid restore. Obviously a recoverable problem, but could provide quite a scare.
[Hero CDMA Android Development] cteneyck:
When are you booting into fastboot and at what point during the how to?
[Hero CDMA Android Development] obelisk79:
when you go to flash your new kernel you can get an out of memory error. It is due to what I can only imagine as the phone actually being out of memory, the kernel flash fails. Rebooting forces you into fastboot mode because you deleted the kernel right before trying to flash.

The out of memory issue is easily avoided by rebooting the phone before step 9.
[Hero CDMA Android Development] cteneyck:
LOL

Ok, I'll add it. thx for the info.
[Hero CDMA Android Development] eddieroger:
Nice guide! I followed it relatively easy (any troubles were my fault for not running as root, as you said, and changing working directories). I did want to suggest something, though. I ran in to the memory problem when flashing the new image despite having just rebooted (nandroid backup!). You suggest using /dev/zero to empty out the mtd, but catting /dev/null would do the same, and for me at least, got rid of the memory errors both when catting and flashing. Friendly suggestion - great guide!
[Hero CDMA Android Development] HeroMeng:
On #4, i wrote

export PATH=$PATH: ~/heroc/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0

It just gives me "/bin': not a valid identifier"

help!

EDIT: that's solved, but now when i type make menuconfig, it just says make: *** No rule to make target `menuconfig'. Stop.
[Hero CDMA Android Development] cteneyck:
what is the output of

# pwd
[Hero CDMA Android Development] tkirton:
You need to be in the Hero source directory:

cd ~/heroc/heroc_ef05d31a

make menuconfig
[Hero CDMA Android Development] HeroMeng:
Thanks, that worked!
[Hero CDMA Android Development] catpunt:
I found that if I just run

# cat /dev/zero > /dev/mtd/mtd2
# cat /dev/zero > /dev/mtd/mtd2

2x in succession, flashing the boot image never reports an out-of-memory error. This is quite a timesaver to avoid rebooting, but the extra flash writes might detract from the life of the flash memory.
[Hero CDMA Android Development] theresthatguy:
getting this error on step five:

Mint heroc_ef05d31a # make
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
/bin/sh: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2
[Hero CDMA Android Development] theresthatguy:
plus i'm not really sure what dir i'm supposed to be in when running what commands since not specified.

what dir?

# export ARCH=arm
# export CROSS_COMPILE=arm-eabi-
# export PATH=$PATH:~/heroc/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin

# make menuconfig

and what dir for step 5:

# make
[Hero CDMA Android Development] gators0223:
I didn't see it in the requirements section, but if you haven't already, you need the arm toolchain from hxxp://zzz.codesourcery.com/sgpp/lite/arm/portal/release1033 (can't post links but change 'xx' to 'tt' and 'zzz' to 'www')

There is a newer version on that site, but this is the one I used last night and it worked fine.

From reading step 4 it appears the guide assumes it is extracted to ~/heroc/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin. I just extracted mine to a new folder in my home directory and changed the export command to

#export PATH=$PATH:/home/{username}/toolchain/arm-2009q1/bin

Then type

#export CROSS_COMPILE=arm-none-eabi-

btw- all these commands should be executed from the base directory of the kernel source. I believe in this example it is /root/heroc/heroc_ef05d31a/

Hope this helps.
[Hero CDMA Android Development] theresthatguy:
thank you sir
[Hero CDMA Android Development] cteneyck:
Yes you should be in the hero source dir. thx gators. you shouldn't get any errors if you have downloaded the the entire repo. If you choose -b cupcake in your repo command it will not download arm-eabi-4.4.0 to the toolchain dir. this will cause the error that you are getting.
[Hero CDMA Android Development] theresthatguy:
heh making progress. read some pages back and realized i was using karmic repositories. so i added the jaunty ones and correctly installed jdk 1.5

ran all the above commands in the proper dirs. terminal started outputing lots of lines so I thought it was compiling but now it's back to the # prompt and there's no zImage in the arch/arm/boot.

maybe i could gtalk to one of you guys?
[Hero CDMA Android Development] theresthatguy:
I must just be something stupid and simple that I missed.

Here's exact details:

-logged in as root

-i used the createAndroidRepo.sh

-i have sources files placed in ~/heroc/heroc_ef05d31a

-repo is in ~/myandroid (created by the .sh)

I do the above commands and I'm still getting the "make: arm-eabi-gcc: Command not found" error

Mint heroc_ef05d31a # export ARCH=arm
Mint heroc_ef05d31a # export CROSS_COMPILE=arm-eabi-
Mint heroc_ef05d31a # export PATH=$PATH:~/heroc/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
Mint heroc_ef05d31a # make
make: arm-eabi-gcc: Command not found
CHK include/linux/version.h
make[1]: `include/asm-arm/mach-types.h' is up to date.
CHK include/linux/utsrelease.h
CC kernel/bounds.s
/bin/sh: arm-eabi-gcc: not found
make[1]: *** [kernel/bounds.s] Error 127
make: *** [prepare0] Error 2

I also tried downloading the newer toolchain source which I got the same error. It's gotta just be some little thing that I'm skipping?

edit: if i run it was one long command like

make ARCH=arm CROSS_COMPILE=~/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.2.1/bin/arm-eabi-

it works. not complaining just confused.
[Hero CDMA Android Development] PikkonX:
Have you tried running this on your third line?

# export PATH=$PATH:~/myandroid/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin
[Hero CDMA Android Development] david279:
bump 10char
[Hero CDMA Android Development] zippy-man:
Trying to get this working on my linux mint install but it keeps failing.

After running ./createAndroidRepo.sh It runs for quite some time then stops with this at the very end. The folder myandroid is also empty after this.

Fetching projects: 10% (17/165)

Initializing project platform/external/bsdiff ...

android.git.kernel.org[0: 204.152.191.45]: errno=Connection refused

android.git.kernel.org[0: 149.20.20.141]: errno=Connection refused

fatal: unable to connect a socket (Connection refused)

error: Cannot fetch platform/external/bsdiff

Import GPG key

gpg: key 9AB10E78: "The Android Open Source Project <initial-contribution@android.com>" not changed

gpg: Total number processed: 1

gpg: unchanged: 1

All Done.
[Hero CDMA Android Development] cteneyck:
That thats a connection error to the git repo's. try it again, maybe google is doing some maint.
[Hero CDMA Android Development] zippy-man:
That is what I figured I tried it a few times spanning over a few hours and it would fail every time.

I am gonna try again today and see what happens.
[Hero CDMA Android Development] kkruse:
Delete me..
[Hero CDMA Android Development] cteneyck:
ok well let me know.
[Hero CDMA Android Development] zippy-man:
It finally completed but I am having other problem compiling it.

Before I bug the smart people i wanna try to figure it out
[Hero CDMA Android Development] pseudoremora:
Hey guys, I thought I'd give this tutorial a try.

Anyways, I've been pretty successful so far - but at step #5, when I run the first make to compile the kernel... it seems like everythings compiling okay and then at the end, I get some error messages.

Any ideas?
[Hero CDMA Android Development] cteneyck:
What Linux Distro are you using. also do you have the file structure the same as mine?
[Hero CDMA Android Development] pseudoremora:
Currently, I'm running Ubuntu 9.10 (32 BIT), and yes, I've followed your guide the entire time, including the file structures.

I have a question, could I copy the folders (heroc, myandroid, bin, etc) somewhere temporarily, delete the old stuff that was in home, copy the the folders back and restart again? Thanks.
[Hero CDMA Android Development] cteneyck:
yes. it shouldn't hurt anything if you do that. I am looking into some other things . I think your getting this by a dependency issue.
[Hero CDMA Android Development] pseudoremora:
Dependency issues? Really? That sucks. I'll see what I can figure out. Thanks for the help.
[Hero CDMA Android Development] cteneyck:
when you ran the create android repo script did it say that it couldn't find any software
[Hero CDMA Android Development] pseudoremora:
No, I'm more than positive it didn't output any errors or say anything about missing software. I waited so long for that to complete.
[Hero CDMA Android Development] Jus10o:
Im using 64bit.. which everywhere i read says its harder, since not tested very much. But i think i finally got it all worked out.
[Hero CDMA Android Development] ihtfp69:
cteneyck, this is a great thread. I am trying to compile a new kernel for my dinc. Everything is going great up until the point where I need to compile the new wlan.ko. I get this error, "make[1]: arm-eabi-gcc: Command not found". Any idea what I did wrong? I double checked everything, but it's possible I typed something incorrectly.

root@censor-linux:/home/censor/myandroid/system/wlan/ti/sta_dk_4_0_4_32# export KERNEL_DIR=/home/censor/Kernel/incrediblec_cc1c2268/
root@censor-linux:/home/censor/myandroid/system/wlan/ti/sta_dk_4_0_4_32# make
rm -f ./libestadrv.a
make -C /home/censor/Kernel/incrediblec_cc1c2268/ M=`pwd` ARCH=arm CROSS_COMPILE=arm-eabi- modules
make[1]: arm-eabi-gcc: Command not found
make[1]: Entering directory `/home/censor/Kernel/incrediblec_cc1c2268'
CC [M] /home/censor/myandroid/system/wlan/ti/sta_dk_4_0_4_32/./common/src/core/data_ctrl/Tx/MsduList.o
/bin/sh: arm-eabi-gcc: not found
make[2]: *** [/home/censor/myandroid/system/wlan/ti/sta_dk_4_0_4_32/./common/src/core/data_ctrl/Tx/MsduList.o] Error 127
make[1]: *** [_module_/home/censor/myandroid/system/wlan/ti/sta_dk_4_0_4_32] Error 2
make[1]: Leaving directory `/home/censor/Kernel/incrediblec_cc1c2268'
make: *** [libestadrv.a] Error 2
[Hero CDMA Android Development] darchstar:
is arm-eabi-gcc in ur path???
[Hero CDMA Android Development] cteneyck:
thx Darch

10 char
[Hero CDMA Android Development] ihtfp69:
Re: [Guide] - How to compile the CDMA kernel source and Flash it to your phone

thanks, that makes sense. I will check it out and report back.

EDIT: good to go, thanks! :o

It was in my path, but it was not in root's path.
[Hero CDMA Android Development] applefanboylol:
can someone post a tutorial of how to flash this please?
[Hero CDMA Android Development] cteneyck:
Follow steps 8 - 10
[Hero CDMA Android Development] Asadullah:
I'm having somme crazy problems with this. I'm running ubuntu 10.04 64 bit. I cd into heroc and get armm-eabi-gcc command not found. Then just for ****s and giggles I cd into myandroid and run make and get this

Checking build tools versions...
build/core/main.mk:72: ************************************************************
build/core/main.mk:73: You are attempting to build on a 32-bit system.
build/core/main.mk:74: Only 64-bit build environments are supported beyond froyo/2.2.
build/core/main.mk:75: ************************************************************
build/core/main.mk:76: *** stop. Stop.

WTF
[Hero CDMA Android Development] :
Yea, so this thread is really old, and probably not smart to use anymore.

Check the 2nd post in decad3nce's thread for a how-to build his kernel sources, or the cyanogenmod wiki has a howto build their kernel sources.

You will need a full cyanogenmod repo sync (aosp would prob work too) for both. You will also need to complie the wifi driver as outlined in the cyanogenmod kernel build wiki.
[Hero CDMA Android Development] Asadullah:
Thanks it didn't even cross my mind. probably got a bad mixture of old and new
[Windows Mobile Apps and Games] deeznuts:
Can anyone please make this into cab format for my tilt2? I have this over in that sub-forum but no one is responding, it doesn't get visited half as much as over here. Its the best mod i've found to fully increase all speakers even bluetooth on the rhodium/tilt2 device! I have tested and used many but this set of reg edits works the best and loudest while still keeping the quality crystal clear! Can anyone please make these edits into a simple cab install please? Thank you.
[Windows Mobile Apps and Games] pupakota:
You know what funny is?

There is 351,464 threads, 4,637,131 posts, and 2,093,612 members here.

What do we see is GIGANTIC cash flow in that business(and HTC as PDA killer, etc, etc).

And noone made freeware CABMaker so far here.

All i wanted to say...this place lost all its character, it is just another phone forum now, practically.

Name it.

Cheerz,

nothin.

upd: you do not need cabs for this, imo, just make regs from these and use tc or taskmanager 3.x to import reg you need...until someone will make...cabs, or goddamn cabmaker.

upd2: before someone will ask: why i wont make cab for deeznuts instead of writing this:

i wont use stolen wincecabmanager, you do it, guys...
[Windows Mobile Apps and Games] deeznuts:
thanks for your help, much appreciated
[Windows Mobile Apps and Games] jsmith8858:
This sounds like SPAM, but check out the excellent CE RegEditor -- it is a nice remote reg editor that lets you view/edit/import/export your phone's registry from your PC, AND it lets you convert REG files to CAB files. It should do the trick for you.

http://ceregeditor.mdsoft.pl/
[Windows Mobile Apps and Games] pupakota:
i can agree, ceregedit is a-must-have tool.

idd, reg to cab is available in that soft, interesting discovery, i forgot about that, sorry...

until it is just reg, it will do the job.
[Windows Mobile Apps and Games] mtstmp:
here yah go. not sure what to do with the .csv file... :confused:
[Windows Mobile Apps and Games] deeznuts:
Which one is the .csv? Lol, sorry, dont know a thing about this stuff. I just copy the audiopara3 file in windows, overwrite, then import the other 3-4 reg files using the app posted above via my pc through usb. Just looking for a cab to do all this for less hassle of course. Appreciate your help here in making the cab. Where you able to get it all in there?
[Windows Mobile Apps and Games] twaneski05:
Hey here you Go
[Hero CDMA Themes and Apps] curtis8523:
i have 3 GV invites left and am willing to give 2 of them out, and i thought what better way to do it than here on good 'ol XDA. send me a PM as soon as you see this and i will send you the invite. just do me a favor anmake love not war craft
[Hero CDMA Themes and Apps] curtis8523:
only one left
[Hero CDMA Themes and Apps] curtis8523:
all gone.....sorry. every day i will do this so be prepaird to get in on it. will do it around 830 EST every night
[Hero CDMA Themes and Apps] notasimpleway:
I have some Google Wave invites if you'd like.
[Hero CDMA Themes and Apps] capitalr:
appreciate the offers and hope to become the recipient of one in the near future, so I'll be prepared for your next opportunity, thanks
[Hero CDMA Themes and Apps] wrx4memp:
For Hero Dev's and Users

got 3 invites... if you want one shoot me your info and ill send you the invite as long as i have them...
[Hero CDMA Themes and Apps] capitalr:
brenton.nelson gmail.com[email]

thank you very much, looking forward it!
[Hero CDMA Themes and Apps] laramiebates:
I could really use one if you still have them. laramie.bates @ gmail.com
[Hero CDMA Themes and Apps] blaknajee:
I need a Google voice invite pleeaaasse

blaknajee@gmail.com
[Hero CDMA Themes and Apps] nojump:
I have 3 invites also, anybody still need one?
[Hero CDMA Themes and Apps] razey:
Can i!

Can i have one please?
[Hero CDMA Themes and Apps] curtis8523:
just send me a PM to get one
[Hero CDMA Themes and Apps] ktynchy1:
I really need an invite plz someone, ktynchy@gmail.com...it will be appreciated...tnx
[Hero CDMA Themes and Apps] domiiniicano:
May i have one???
[Hero CDMA Themes and Apps] curtis8523:
all out for tonight. ill get some more for tomorrow. see you all then
[Hero CDMA Themes and Apps] jmhalder:
I keep missing when you're on, if you or ANYONE has a GV invite, i'm at "jmhalder AT gmail.com"
[Hero CDMA Themes and Apps] d12d:
If anyone has any available or gets one soon I would love one. dougdellinger@gmail.com

Thanks!
[Hero CDMA Themes and Apps] Moosehunter:
If anyone could please send me a Voice invite I would be extremely grateful.

thealebarney@gmail.com

Thanks!
[Hero CDMA Themes and Apps] djsplitimage:
I would really appreciate a Google Voice invite as well

djsplitimage "at" gmail.com

oh, I do have google wave invites as well if anyone is interested, PM me.
[Hero CDMA Themes and Apps] Vrekk:
Ill take a spare voice invite if anyone has one

Oh and if anyone wants a google wave invite i have 19 of them so feel free to ask :D

my email is vrekk (at) archlinux (dot) us
[Hero CDMA Themes and Apps] deadonarivalry:
I could def use a GV invite if anyone has one still!!

kceaglin(at)gmail(dot)com

Thanks in advance
[Hero CDMA Themes and Apps] makamobile:
Somebody got a google voice invite for me?

i got google wave invite msg me
[Hero CDMA Themes and Apps] dmitriandsnow:
I got three GV invites... PM email

Thanks.
[Hero CDMA Themes and Apps] mcfarlan:
Thanks....
[Hero CDMA Themes and Apps] Darkshneider:
Google voice will not work if youre in AK, HI or PR.
[Hero CDMA Themes and Apps] kingsplayer2:
I have 3 as well, pm me.
[Hero CDMA Themes and Apps] dmitriandsnow:
no more... sorry guys...
[Hero CDMA Themes and Apps] kkruse:
plz if anyone has a GW invite

[grin] fury1217 at gmail dot com [/grin]
[Hero CDMA Themes and Apps] bertman285@hotmail.com:
Big thanks for the invite
[Hero CDMA Themes and Apps] Kykiskly:
Please

Someone spare one for me :)

cris.alez.martinez@gmail.com

Many thanks in advance :D
[Hero CDMA Themes and Apps] nukeiscool:
I'd love an invite if anyone has any.

ductwork at gmail.com

Thanks in advance
[Hero CDMA Themes and Apps] jmoch2:
Me too! If anyone has an extra... thanks!

jasonmocherman at verizon.net
[Hero CDMA Themes and Apps] lidmut:
If any avaliable for Google voice.

lidmut06 <at> gmail <dot> com
[Hero CDMA Themes and Apps] lazyvegaskid:
I hate to beg but I really need one... My Visual VM is broken, I need GV to check my messages. Plz help a lazy brotha out :)

luismedrano2@gmail.com
[Hero CDMA Themes and Apps] shippbembl:
Invite

Invite no longer needed.

Thanks!
[Hero CDMA Themes and Apps] phillyboi47:
please?

I'd truly appreciate anyone out there who can hand me a Google voice invite

my email is javonmcgilberry@gmail.com
[Hero CDMA Themes and Apps] whatsleft4her:
Can someone shot one my way

Whatsleft4her@gmail.com
[Hero CDMA Themes and Apps] abcdfv:
I need one case I'm on 2.1.

Abcdfv@gmail.com
[Hero CDMA Themes and Apps] Vrekk:
Lol we all sound like losers begging for a google voice invite.

But we all need google voice! lol

Btw anyone who gets a google voice invite on this forum, can you give at

least

one invite back to someone else here when you can? If we do that we will all get one EVENTUALLY.

And at the risk of sounding like a loser, anyone got a spare one for me?
[Hero CDMA Themes and Apps] abcdfv:
Lol, I'm pretty sure once you accept you're invite you're given like 5 invites to give out.
[Hero CDMA Themes and Apps] Drizzzle01:
I'd also like one please. :p

crl1981@gmail.com
[Hero CDMA Themes and Apps] regaw_leinad:
I have 3 invites left.. pm me and they're yours :)

EDIT:

ALL GONE :p sorry guys
[Hero CDMA Themes and Apps] regaw_leinad:
double post sry
[Hero CDMA Themes and Apps] abcdfv:
Just set mine up, waiting to be elligable to send invites.
[Hero CDMA Themes and Apps] ysoserious:
Would love a GV invite if anyone has them to spare. TIA
[Hero CDMA Themes and Apps] jakeblues55:
Got mine, will report back when I get some invites
[Hero CDMA Themes and Apps] mrcharlesiv:
I'd really appreciate an invite... mrcharlesiv@gmail.com.
[Hero CDMA Themes and Apps] linkinx64:
Hello, can someone invite me? thanks

linkinxp@gmail.com
[Hero CDMA Themes and Apps] mcolburn:
I'd like to get one, please. And thanks!

mwcolburn@gmail.com
[Hero CDMA Themes and Apps] n388mm:
if anybody gots one would really love to have it sent my way

amdmatt@gmail.com
[Hero CDMA Themes and Apps] cweezyf:
Id like....well you know what i want:D

Cweezyf@gmail.com
[Hero CDMA Themes and Apps] Ambiong:
Hello, I would really appreciate it if I can get an invite. I filled out one of those forms awhile back and never got a response. Thanks in advance, my email is jan.borromeo@gmail.com