yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] darchstar:
Hey guys, I'm been trying to port Aosp 2.1 onto our heroes too. I've got most the stuff to work, except camera. If someone wants to tag along and help, that'd be great. And now that i finished porting aosp 2.1 mostly i can now officially give it a name :D

I have to give credit to jnwhiteh over at the modaco board for giving me a platform on which to work on, gbhil for the kernel. maejrep toast flipz quietcblongs and gang who work on the 2.1 sense build and aosp for getting a lot of the functions such as data and radio and sensors to work. Without all these devs, this would have never been possible

What works

Making calls

3G

Wifi

Network location (both cell and wifi)

Trackball

Market including ALL applications

Accelerometer

Lights

GPS

Bluetooth (minus audio during calls)

Voice transcription option on keyboard

Live Wallpapers from market, and the spectrum live wallpaper

SU Whitelist

Mms Send and Receive. Can't Download the Picture though :(

What doesn't work:

CAMERA

Downloading Mms Picture

Live Wallpapers are being **** with the new openGL

Bluetooth audio during call doesn't work (I think i got it fixed, can someone plz test it for me)

a2sd isn't starting at boot

*Quirks*

Launcher2 does not render properly due to missing mdpi graphics and flexible layout (the 3d rollout effect)

Gallery3D graphics get 'messed up' slightly if you switch orientation. Either one works.. just switching messes it up.

This is still a developmental release guys, i cannot guarantee you will not run across bugs not listed in the what works/what doesn't list

Download

darchroms.pocketdevelopers.com/darchroms/darchdroidv2.zip

Google ****s : http://www.4shared.com/file/217385112/84f34581/GoogleStuff.html

Kernel without openGL, but with Nexus LWPs working: http://xdaforums.com/showpost.php?p=5691932&postcount=996

For those that want JIT enabled, do this:

ChangeLog

current testing - moved system apps to data to free some space for system memory, major benefit for a2sd users. cleaned and polished rom. very more light weight than before. added backuptool.sh, so you'll need to flash google ****s before flashing this rom

v5 - fixed SU whitelist, lights under hard buttons work, a bit more polished of rom with less holes in it. Last to be of gsm hero source

v4 - Based on Cyanogen Framework, OpenGL ES Lite is added for improved 3d gfx, no more live wallpapers due to it depending on openGL ES 1.1

v3 - Multitouch is added, wifi

v2.5 - sensors work

v2 - radio, BT, gps, and sms now work

v1- it boots! that is all

If you find any bugs, please follow these simple guidelines in placing a bug report for me to efficiently help you

Which version of my rom are you using:

Whats the Problem:

What did you expect to happen:

What were the steps in which you encountered this problem:

Did You Wipe:

What did your logcat say (make a logcat.txt by issuing this command "adb logcat -d > logcat.txt" and attach it to post):

What version of recovery are you using:
[Hero CDMA Android Development] mrcharlesiv:
O....M....G.... Haha! Darch, you're the man! I can't wait!
[Hero CDMA Android Development] Ska8erMush:
THIS. :eek::eek::eek:
[Hero CDMA Android Development] giovannizero:
Cool

Great start!

I assume opengl doens't work either?
[Hero CDMA Android Development] Leukay:
Once this gets all of the features of your cyanogen-like rom, I will be using this EVERYDAY of my LIFE!!! or at least until it gets updated or the official update comes out lol. Nice work Darch!
[Hero CDMA Android Development] mrchu001:
Absolutely amazing!

Thank you!
[Hero CDMA Android Development] Vrekk:
Do the protected apps show in the market? Does Multi touch? Open-Gl?
[Hero CDMA Android Development] casperlt1:
Yummy...full 2.1 goodness is right around the corner :D
[Hero CDMA Android Development] HeroMeng:
Woah. That's a lot of stuff that doesn't work.... calls don't? Can you try importing the call driver-thingies from flipz' 2.1?

Anyway.... YOU'RE THE MAN! Downloading now :D
[Hero CDMA Android Development] darchstar:
Calls work, just flash gbits. Btw, now up for download!!!!
[Hero CDMA Android Development] HeroMeng:
The 1.6 bits should work, right?
[Hero CDMA Android Development] darchstar:
nah, use the ones i uploaded
[Hero CDMA Android Development] HeroMeng:
I don't know why, but your 2.0.1 ROM and this ROM are taking hella-long to download. Much longer than any other rom....
[Hero CDMA Android Development] darchstar:
please define long?? Lol! idk, i am just using mediafire because majority like it

So i just tried downloading it myself, got it in a minute
[Hero CDMA Android Development] HeroMeng:
Takes like 15 minutes. Happened with your 2.0.1 and now this. Firefox says 6 mins remaining.... I'm impatient to try your 2.1 out

*5 seconds later*

JBEFDOIUYHKJLBVCUYEHJKDSBCUYISHKBHKZJSHIOUHLbfC

I'm calm.....

JDSBOHIULKEDJBHVXOINUKJDLBFVIUODVB
[Hero CDMA Android Development] statianzo:
Downloaded in about 30 seconds. Giving it a shot now.
[Hero CDMA Android Development] Vrekk:
Mine took about 2 mins to download, backing up and about to flash

Can't wait :D
[Hero CDMA Android Development] HeroMeng:
Finally downloaded, flashing now. Review to come.
[Hero CDMA Android Development] HeroMeng:
Kind of chuggy and slow, Nexus wallpaper touches register way to the right of where you actually touched, but hey, it's your first shot at this.
[Hero CDMA Android Development] darchstar:
Chuggy and Slow? You gotta be kidding me? its going pretty smooth and fast for me. And I think thats how the Nexus wallpaper should work, it does random shizz at touch. idk though becuz i've never seen it really at work. hmm, ahh well. Thanks for showing interest.

On another note, I think i may almost have sensors working
[Hero CDMA Android Development] Konikub:
*up to step 3, everything the same. In step 3, do an adb push to the "/" rather than "/data/local" I had a helluva time trying that...anyway, that will be fine, it just puts asroot2 on the root of the device instead of that dir.

this is the command I am putting in... adb push asroot2 /

is that correct.....?

I need to download busybox, put it on my sd car and install or flash before I do all of this??
[Hero CDMA Android Development] Konikub:
Oh yea....lol, and where do I find busybox? I looked on the market and couldn't find anything
[Hero CDMA Android Development] regaw_leinad:
follow this.... it should work. worked for me.. oh wait. I wrote that. :p

EDIT:

Let me know how it goes as well
[Hero CDMA Android Development] Konikub:
Thank you very much...WHATEVER I JUST DID....lol, got my SetCPU to work!

However it's stuck on 528 max and 245 min even though I have it set at 480 max and 245 min with "ondeman"

This was the case before when I had fresh 1.1 and I just can't remember what I did to get it to work properly again!
[Hero CDMA Android Development] Konikub:
My gallery is still whacked....when I go to look at pictures I really can't. Looks like it would be a wonderful viewing display, but it fades away slowly until I can't see any photo.

any ideas?
[Hero CDMA Android Development] gqukyo:
Is your work email through exchange? Cuz i can't seem to set it up through my work's exchange... :confused:
[Hero CDMA Android Development] regaw_leinad:
No prob :p

Now by "stuck" do you mean the sliders wont move? or that when you hit refresh it's always saying 528?

Explain what you mean by stuck...
[Hero CDMA Android Development] ktynchy1:
how long does it take the phone to boot after wipe+install, its been in the android boot screen for about 5 min and counting???

Hope it desnt stay on a boot loop, i flashed aosp2.1+google stuff
[Hero CDMA Android Development] gqukyo:
Oh this could be a noob question but I'm so used to sense ui... is there a clock/alarm app or option in these builds without sense or do I need to download an app? :P
[Hero CDMA Android Development] Konikub:
When I hit refresh it always stays at 528....the slider moves beautifuly :)
[Hero CDMA Android Development] regaw_leinad:
When in ondemand, it usually stays up there.. try the msmk7, seems to not have the powersave option this time..

You picked the right device the first time you entered setCPU?
[Hero CDMA Android Development] Konikub:
Yes the Hero was in the same catagory as msmk7....I do believe. I've set up SetCPU several times wiping and flashing....

...don't know, it's not going to kill my phone hopefully at 528max
[Hero CDMA Android Development] chags007:
Just loaded the new rom. LOVE IT!! Went from the 2.0.1 ver. to this. Having a funny problem though. I did a wipe then flashed. rebooted then flashed the google ****z, then rebooted just in case again. Everything looks good BT seems to be working for me however wasn't so lucky on the WIFI. When I enabled it the phone started to go into this rebooting cycle like it was on CRACK! Had to rewipe to stop this process. Did it twice so each time I had to rewipe to make it stop. So now I guess I sit and WAIT for instructions. THanks guys. BTW GREAT JOB on the ROM!
[Hero CDMA Android Development] JustShim:
The current ROM upload does not have wifi working. The provider, whose name escapes me, got it working last night but was too sleepy to upload it at that very second. We will have to wait for him to wake up.
[Hero CDMA Android Development] HeroMeng:
Downloading the sensors version now. Saw it before I went to bed, but I was too tired to wait 20 minutes for it to download.....
[Hero CDMA Android Development] darchstar:
wifi

Hey guys, i'm probably not going to be back until later tonight to upload the wifi fix, but if you are impatient, all you need to do is unzip any 2.x build, then push the /system/bin/setprop in that build into /system/bin, then fix permissions with dhcpcd. do this all from recovery

adb shell mount /system
adb push setprop /system/bin
adb shell
cd /system/bin
chmod a+x setprop
cd /system/etc/dhcpcd
chmod a+x dhcpcd-run-hooks
reboot

you should now have wifi working

also, if you guys install busybox, you shall also have apps2sd, forgot to mention that. lol. to enable apps2sd just do this

busybox --install /system/xbin
a2sd
[Hero CDMA Android Development] PikkonX:
Something seems to be wrong with Busybox (at least on my phone). It'll install fine, but after rebooting, the phone just boot loops.
[Hero CDMA Android Development] durhamite:
So, everything works except for the camera now, however, the ROM that has everything work is not update on the first page. I think I will flash and try to do the wifi fix.

I think I am a ROM flashing addict!
[Hero CDMA Android Development] durhamite:
oh, can anybody comment on protected apps in the market? Is this working too?
[Hero CDMA Android Development] PRGUY85:
Interested in knowing this as well.
[Hero CDMA Android Development] xtkxhom3r:
ok so i flashed the phone, booted up and set my rom up and then i flashed the openGL kernel ontop of it... that didnt work

so i tried flashing the rom then the opengl kernel right after then booting up that also didnt work they get stuck at the bootup

so obviously i have no idea how to update the kernel to the one that lets me have live WP so can someone please tell me how thx!
[Hero CDMA Android Development] Kykiskly:
Hey David,

That Home++, is that an app, can you provide the apk if you have it :)
[Hero CDMA Android Development] Brutus2TheMax:
It's in the market, just go download it...
[Hero CDMA Android Development] Kykiskly:
It is called Home++ beta
[Hero CDMA Android Development] Vrekk:
Ya that's the app you want. Its an awesome home replacement, but its a little different.
[Hero CDMA Android Development] REDFOCZ:
Just installed home ++ it is different then anything else I've used but its kinda cool
[Hero CDMA Android Development] Kykiskly:
Yep. I downloaded it and mastered it. I like it better than the regular launchers so far. This gives me the option to eliminate more icons from the scree, like the phone, contacts, browser, etc. I like that :)
[Hero CDMA Android Development] durhamite:
Home++ is awsome. No major issues so far. I was having battery drain issues with the old version and the same is true with this one. I think it is because I get 0 cell signal in my office at work and I am using wifi.
[Hero CDMA Android Development] Kykiskly:
I've been using it for 2 hrs already, exchange is running, txt messaging and AIM, a few calls as well, battery still showing 82%, using Mini Info Widget. :D
[Hero CDMA Android Development] topherthehidden:
3g loss

hey guys i been having a problem lately. for no reason why or how all of a sudden i loose then 3g icon next to the signal bar which then means i loose my mobile network. if i go to settings settings it says:

Network sprint

signal strength: -101 dBm 0 asu //dont know what this means

mobile network type evDo rev.A

service state : in service

mobile network state : Disconnected

i have to reflash a back up rom to get it to pick up my mobile network.

if anyone can help me i would appreciate it...

*theory* did sprint realize i been flashing roms and some how block my 3g connection?

Topher.
[Hero CDMA Android Development] gomorrah:
Is this a Home++ thread or the DarchDroid thread? Cause I'm tired of reading about this.
[Hero CDMA Android Development] KERKEDAGAIN:
"Extended" Music apk..

found that the music app in the new build lacks the "Settings" portion allowing unpause on re-connect of headphones..granted, that apk had the old-school music icon..so i've repackaged it a bit to stay on theme but also have the extended options if anyone wants..(remove the .zip and push to /system/app)

*hopefully not steppin' on your toes Darch, please lemme know if i am..
[Hero CDMA Android Development] someonenewhere:
I flashed it last night to play around with it for a bit..

I had google account signing in problems....after a few tries it worked..but then it asked me again to sign in....
[Hero CDMA Android Development] icm714:
Mine does that to I have to reboot when that happens. Haven't found an answer for it either
[Hero CDMA Android Development] topherthehidden:
if i task kill the "phone" it comes back the 3g icon and mobile connection....but the bad thing is that sometimes the "phone" application that is running isn't there to task kill.....is this a wide error? i havnt seen it talked about
[Hero CDMA Android Development] aauussttiinn88:
mine does it occasionally but it is still in service i can still do everything just doesent show the 3g....in my office i get horrible recepetion and it seems to happen alot when im at work so i think the trigger is if your going in and out of service frequently...but none the less have you tried seein if the 3g works when its missing...?
[Hero CDMA Android Development] taicor:
Is this most recent ROM rooted, or would I still need to root after flashing?
[Hero CDMA Android Development] gomorrah:
Mine was doing this on the last build. I was just using the Beautiful Airplane widget to toggle into Airplane mode and back and then my mobile connection would return.
[Hero CDMA Android Development] topherthehidden:
when i lose the 3g icon i lose all mobile data stuff. ie cant dl from market or use browse. i also cant update widgets and stuff...
[Hero CDMA Android Development] tyrnight:
all apps requiring root function fine.
[Hero CDMA Android Development] Kykiskly:
Its DarchDroid threat but we were talking about an alternative Launcher available in the Market called Home++ Beta.
[Hero CDMA Android Development] taicor:
I'm more concerned about booting in to recovery to flash back if I don't like it. I'm not at a place where I can flash back atm.
[Hero CDMA Android Development] tyrnight:
it works fine.. I swap between roms all the time and use my backups ... no problems here
[Hero CDMA Android Development] giovannizero:
Bummer, no JIT.
[Hero CDMA Android Development] darchstar:
just go to airplane mode and out should be a quick fix for it. i don't know why this happens due to it never happens to me when im by my computer, so i can't debug it

you guys need to understand what rooting actually does to your phone when you first do it. the are two sets of binaries in which the phone reads, one for recovery which are located at /sbin, these are never affected when flashing roms. the binaries your phone reads when your in the actual system are in /system/bin or /system/xbin, these are changed whenever you flash a rom. The reason we weren't able to su was because the binary wasn't being read by the phone correctly, in which then we had to asroot2 the shell then cat what was in sh to su so that when programs ran su, it could actually su correctly. what i did to fix this was there was already a busybox symlink for su in /system/xbin. so i just updated the update-script to correctly change permissions so that it would be read by the phone when need be.
[Hero CDMA Android Development] darchstar:
also, for those wanting to make their own cyanogenmod rom from source, follow these instructions:http://android.modaco.com/index.php?s=&showtopic=301857&view=findpost&p=1179830

EDIT: though these are instructions for the gsm hero, the same should apply for our hero's due to we aren't that much different of a phone
[Hero CDMA Android Development] icm714:
just enable it works great
[Hero CDMA Android Development] xtkxhom3r:
can that be done from the phone? how do i do that
[Hero CDMA Android Development] darchstar:
this........
[Hero CDMA Android Development] xtkxhom3r:
lmao i can get as far as downloading the file and booting into the recovery...
[Hero CDMA Android Development] KERKEDAGAIN:
sweet..only feature i'm actually lookin' for is the reboot option..racking my brain trying to find it (tho i have found other very helpful things along the way)
[Hero CDMA Android Development] giovannizero:
Will it not flash? I don't understand your problem. Did you put on the custom recovery needed to flash roms?
[Hero CDMA Android Development] jaytavarez91:
How come I still have the drawer icon that you drag up to see your App and not the Cube_?
[Hero CDMA Android Development] XAnimal:
black taskbar or that transparent one would be sexy
[Hero CDMA Android Development] xtkxhom3r:
no i ment i dont know how to do the rest of the stuff. lol.... not very familiar with all this stuff a friend told me to use root explorer...
[Hero CDMA Android Development] Kykiskly:
MMs Question

Hey Darchstar,

When you said "Mms Send and Receive. Can't Download the Picture though", first post, are you saying we CAN send/receive mms but can't download the picture, right?
[Hero CDMA Android Development] darchstar:
exactly

copy the dusted donuts folder to your tools directory for the android sdk then

adb shell reboot recovery #wait until phone finishes getting into recovery
adb shell mount /system
adb push dusted-donuts/lib /system/lib
adb shell chmod 644 /system/lib/libdvm.so
adb shell reboot

choose nexus launcher instead of home
[Hero CDMA Android Development] catpunt:
do you need to have an ext partition on your sdcard to use the jit dalvik?
[Hero CDMA Android Development] darchstar:
no you don't.
[Hero CDMA Android Development] catpunt:
seems like every time i try to clear dalvik cache, it gives me an error about not finding the ext partition on the sdcard
[Hero CDMA Android Development] darchstar:
thats because the option in recovery is looking to clear it from an ext partition and not from the actual phone, it assumes you do use a2sd. obviously you don't so you'll have to go into adb shell to do it. from shell do "rm -r /data/dalvik-cache"
[Hero CDMA Android Development] rjj1976:
My Bluetooth connects to the phone but all I get is static. So far the ROM is working good just really would like to see the Bluetooth working. Great Job.
[Hero CDMA Android Development] darchstar:
bluetooth should work in everything except calls, audio doesn't get pushed through the headset for some reason
[Hero CDMA Android Development] Tipharet:
hey darch can you upload the wallpaper you are using in the screenshots?
[Hero CDMA Android Development] catpunt:
thanks much :)
[Hero CDMA Android Development] darchstar:
ahh yes, here you go

http://img704.imageshack.us/img704/656/abstractart5.jpg
[Hero CDMA Android Development] pseudoremora:
Did you make this wallpaper -- cause DAMN! this is sick!:D
[Hero CDMA Android Development] Tipharet:
Thanks dude, oh do you think you could point me in the direction of the nexus drawer launcher?

What about the voicemail icon, has anyone figured out how to get rid of that yet?
[Hero CDMA Android Development] Tipharet:
lol yeah it is sick.
[Hero CDMA Android Development] pseudoremora:
You can't delete the VM icon, its in an .apk file named Sprint Core -- and it shouldn't be deleted. It'll cause a lot of FC's.

Isn't it!?
[Hero CDMA Android Development] ebuechler3:
since i love live wallpapers, should i flash the nopengl kernal, or not? And thanks a million for a great rom!
[Hero CDMA Android Development] Vrekk:
Only if you want to N1 wallpapers. Some of the live wallpapers run fine with the Kernel built into the rom

Btw not trying to steal the thread, but you can get live wallpapers on home++ if you use the .apk here and if you turn workspace looping off :D
[Hero CDMA Android Development] Tipharet:
Yeah I dont want to "delete: it from the apk I just want it to alert me accurately. So when I mean get rid of it , I mean function properly..:D
[Hero CDMA Android Development] Kykiskly:
Dar,

For some reason when I tried sending an attached pic, the photo doesn't go through, any suggestions.

The Picture's been sitting there for almost 2 hrs.

See Attached screenshot.

Also, is there a work around to get the reboot option when holding down the power key?
[Hero CDMA Android Development] darchstar:
haha, no i didn't. I got it from an app called zedge, they have a lot of cool wallpapers

press hoome and select nexus launcher to get the nexus launcher

idk about the vm icon becuz i never got it, so can't debug it

i got it to send, check attachment
[Hero CDMA Android Development] watzone69:
On the a2sd topic, flashing this kernel from earlier DOES allow a2sd to survive reboots.

http://xdaforums.com/showpost.php?p=5712377&postcount=1406

Is this kernel still OK to use or is it a step backwards?

Also, did you ever figure out what happened to the power button reboot option?

I'm really liking this ROM!
[Hero CDMA Android Development] Kykiskly:
Resending another one. Worse case it doesn't work, any fix for this?

Edit - Nope, the picture doesn't go :(
[Hero CDMA Android Development] Brutus2TheMax:
Just in case anybody liked the smart dialing from the 1.5 based roms...

Some guy on the Nexus One forum released a dialer that has it. You can get it in the market. It's called "Dialer One."
[Hero CDMA Android Development] Tipharet:
Yeah I was wanting the launcher draw from the nexus not all that fancy-ness you included! :cool:
[Hero CDMA Android Development] blankd3ckskat3r:
darch, gumbo scripts are in this rom correct? just asking because when i check advanced task killer, its usually around 80-84 free, once in awhile i notice it goes down to 74.
[Hero CDMA Android Development] darchstar:
What fancyness are you talking about?

Yes it does have the scripts in it

the kernel is fine to flash, it is in no way backwards progress. the only mods i made to it were in the init.rc to show services for usb-tethering (though it does not work as of yet)
[Hero CDMA Android Development] ebuechler3:
How do I turn workspace looping off in home ++?
[Hero CDMA Android Development] asapelectric:
If I'm understanding right, I'm just one of a few people that have the VM icon stuck in the notification box. Not everyone has this problem? :eek: I thought it was part of something we have to live with.
[Hero CDMA Android Development] darchstar:
Lol, you guys should definitely make a "home++ on darchdroid" thread instead of talking about it here. Sorry, I'm not trying to sound mean, it's just getting real annoying having two pages just dealing with this, when this thread should explicitly be about "darchdroid"