yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] ziggy682:
Thanks. I guess is should clarify that anyone trying it should already have the gumbo.sh file in /system/init.d.

I don't have any idea how Gbhil's kernal, or Darchstar's rom calls the gumbo.sh file, but it seems there's something not working quite right.
[Hero CDMA Android Development] menzo44:
I just installed the gumbo.sh rebooted my phone and saw your post when I replied :D so I would say you are right and its not holding :(
[Hero CDMA Android Development] daafisch:
I can also confirm this is happening.
[Hero CDMA Android Development] watzone69:
Just trying to slip in here...

I started a new thread for those of us who want to get apps2sd working.

http://xdaforums.com/showthread.php?p=5709818#post5709818
[Hero CDMA Android Development] akijikan:
Calling is where I believe the issue lies.

Gumbo.sh is called by the init in the ramdisk in the bootimg of the ROM.

I would guess that the current rom doesn't have the call in its bootimg.
[Hero CDMA Android Development] knx2:
Does the gumbo.sh have to have an executable mode? mode +777?
[Hero CDMA Android Development] ziggy682:
I already tried changing the permissions, and it doesn't make a difference.

I don't know a lot about linux, and didn't think it would need execute permissions, but I tried it anyway. No go.
[Hero CDMA Android Development] akijikan:
I think the necessary permissions are set by init at boot with the right init in the bootimg
[Hero CDMA Android Development] skola28:
Confirmed: Gallery MT and Back fixed!

Awesome work! Gallery now works (after pushing the Gallery3D.apk) with multi-touch AND the back button doesn't crash the device anymore! PERFECT!
[Hero CDMA Android Development] sleejay:
Just as a temporary bandaid to the gumbo.sh problem

search market for MinFreeFix

i made an app to fix ... you have to run it on boot but its better than shell commands every time you reboot.
[Hero CDMA Android Development] 5tr4t4:
In Linux, init scripts (and services) go in /etc/init.d. "/system/etc/init.d" (not /system/init.d) is the Android equivalent. So try pushing gumbo.sh to /system/etc/init.d, the directory should already be there.

adb push gumbo.sh /system/etc/init.d/
[Hero CDMA Android Development] Tikerz:
I thought it was the HOME button that was crashing the Gallery, not the BACK button.
[Hero CDMA Android Development] sleejay:
i tried both.

no dice. the boot.img is a little whacked, darch can fix it im sure.

until then see my sig in your device browser or search minfreefix in market.
[Hero CDMA Android Development] ziggy682:
Ditto, I had tried the gumbo.sh file in the /system/etc/init.d directory before I ever posted about it.

Edit: I just tried your minfreefix from the market. It is not changing the memory settings on my phone.
[Hero CDMA Android Development] kraminc:
Im using autokiller and i confirmed it is loading the memory settings after reboot.
[Hero CDMA Android Development] Tikerz:
I'm using the same program. Works great.
[Hero CDMA Android Development] Kykiskly:
I used Task-panel (the widget) and it shows that it is auto-launching random apps even when you kill them all. If I sit my phone on the table, with no apps running, 5 minutes later you see on the task panel a bunch of random apps that auto launched.

With no apps running, available memory is 109mb -117mb (depends) but after those 5 minutes, you see it dropping to 30mb-60mb.
[Hero CDMA Android Development] amot:
Can you add a ROSIE to this?

What I mean by this is something like....

- CLEAR TASKBAR NOTIFICATION

- BOTTOM DOCK ( UP ARROW, PHONE, + )

stuff like that...
[Hero CDMA Android Development] akijikan:
That's HTC proprietary software isn't it?

I think dach wants to keep this AOSP
[Hero CDMA Android Development] darchstar:
Yea, you're right. It does need to go to /system/etc/init.d. Thanks for correcting me in my haste.

Let me clarify a bit more. If you had, before making the directory /system/init.d, symlinked /system/etc/init.d to /system/init.d then that would've been fine. but as you see we didn't so it'd be more safe to put it there
[Hero CDMA Android Development] amot:
Oh, just asking, I don't know these things sorry.

Is there anyway I can add it on my own?
[Hero CDMA Android Development] akijikan:
Does the bootimg have the right call in the init?

It's okay, I'm just kinda guessing from things he's said previously.

As to how to do it yourself, I'm sorry but I don't know enough about it to say.
[Hero CDMA Android Development] skola28:
If I recall correctly, it was the BACK button; regardless, both BACK and HOME work in the gallery without crashing the phone. (After re-rooting and pushing the new Gallery3d.apk)
[Hero CDMA Android Development] gbhil:
Neat fix. Now we know who to turn to for quick apps :)

It goes wherever the init.rc tells it to. system/ect/init.d could be hardcoded by the init.rc, but it's not by default. Not sure what differences are in the boot image, but unless you made changes to the services and calling them it should be /system/init.d . FWIW it works here on the last version before the cyanogen framework and the last kernel I sent you.
[Hero CDMA Android Development] darchstar:
Damn, i honestly need to be facepalmed. jumping bandwagons way too many times. lol. at least im learning :D
[Hero CDMA Android Development] feefeeboomboom:
openGL questions

so how is it openGL isnt working with the GK-2.1a #4 kernel but the live wallpapers work? i was also woundering what els is lost using this kernel vs the openGL kernel. does the rom run better useing openGL?:confused::confused:
[Hero CDMA Android Development] amot:
So there is no way to add SENSE UI or do they call it ROSIE? to this ROM?
[Hero CDMA Android Development] ebuechler3:
gallery works, but as soon as i loaded "earthrot", a live wallpaper from the marketplace, my gallery got blurry and quit working... hmmm? im using the latest rom with the latest kernal for live wallpapers
[Hero CDMA Android Development] akijikan:
are you going to check the boot image of the ROM you have on the front page right now?

I would do it myself but I have nary a clue as to how to go about that.
[Hero CDMA Android Development] darchstar:
Don't worry, thats exactly what I'm doing right now
[Hero CDMA Android Development] darchstar:
Yea, i can't guarantee every lwp you will come across in the market will work, just most
[Hero CDMA Android Development] Ysos3rious:
Pushing .Apks

So I'm tottaly confused on how to "push" and .apk onto the phone... is it the same process as loading a .zip file onto the sd card and lkoading it in recovery mode?:eek:
[Hero CDMA Android Development] darchstar:
no.........

EDIT: Lol, sorry for the rash response. it's not. do you have the android sdk? if not go get it. Then make a new thread about it so it doesn't clutter this thread
[Hero CDMA Android Development] someonenewhere:
i don't care about BT ...but MMS and Camera....those two I do ...

I'll give it a try later on tonight and if I do run into probs, I'll comeback and post them..
[Hero CDMA Android Development] kmartburrito:
alright, I kinda feel like a tard...

If we were already rooted prior to installing this rom, do we still have to perform the asroot2 method in order to get setCpu and the like working if that's how we rooted in the first place?
[Hero CDMA Android Development] samrozzi:
see i need BT...

i LOVE all thes roms darch really do. but i cant use any of them, they are nice, new and quick. but without BT im still on a 1.5 rom :/

just hoping your 2.01 or 2.1 gets BT soon

and also any tweaks going to be done on gallery? pretty slow, or is that because no opengl
[Hero CDMA Android Development] darchstar:
its so you can root the phones shell so apps will be able to su

Have you tested bt on here and confirmed it to not work?? I've had someone earlier say it did work, and the gallery is because we don't have open gl 1.1

EDIT: wait, nvm you already said you tested it. hmm weird
[Hero CDMA Android Development] azprogrammer:
Troubles downloading googlestuff.zip

Anybody else getting stuck on about 3.1 MB downloaded?
[Hero CDMA Android Development] PRGUY85:
Here's hoping Wifi works soon.
[Hero CDMA Android Development] Avalaunchmods:
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ill test and see if i can do anything about it if it doesnt work. crossing my fingers here
[Hero CDMA Android Development] darchstar:
If anybody is having any troubles downloading, check this mirror out too

http://www.4shared.com/file/225070914/4989b28b/aosp21-darchstar-rel2_signed.html
[Hero CDMA Android Development] kmartburrito:
Well, I'm having hella problems then. I can push asroot2 to /data/local/, but when I do chmod on that directory, it says it's not a directory, and I can't cd to local. Anyone else run into this?

also, I tried this both from recovery, and from inside the 2.1 rom. Should this matter?
[Hero CDMA Android Development] darchstar:
chmod 0755 asroot2, not /data/local

no it shouldnt matter,

EDIT: actually yea it does because this rom is missing some linux tools
[Hero CDMA Android Development] ktynchy1:
I'm downloading now tell you how it went as soon as i get it installed :)
[Hero CDMA Android Development] david279:
do this first

cd /system/xbin

./busybox --install -s /system/xbin
[Hero CDMA Android Development] Avalaunchmods:
------------UPDATE------------

BT works? Perfectly and sounds great.
[Hero CDMA Android Development] darchstar:
ok, i think i almost got wifi to work. just needed to fix some permissions.

yup, wifi works now, i'll post a screenshot
[Hero CDMA Android Development] kmartburrito:
Yeah, inside of the rom I'm getting chmod: not found. I should be using recovery instead then?

and I just misspoke when I said I was chmod'ing the directory, I knew it was the file, but i'm getting this message from inside recovery:

/ # chmod 0755 /data/local/asroot2

chmod 0755 /data/local/asroot2

chmod: /data/local/asroot2: Not a direcotry

and then when I'm inside adb from the rom, it can't find chmod.

Am I missing something really obvious?
[Hero CDMA Android Development] david279:
ok i just rebooted and it stuck at the android boot screen??? it keeps repeating!!!
[Hero CDMA Android Development] samrozzi:
wait so your BT works? you can detect and pair with a HEADSET, NOT A PC, but a wireless bt headset? and pair AND talk on it?

I cant even pair?
[Hero CDMA Android Development] darchstar:
do it from recovery, i forgot this rom is lacking some linux tools, sorry
[Hero CDMA Android Development] Avalaunchmods:
Yes with 3 different BT devices, car stereo (Sony) Jabra BT8040 Single Headset with A2DP support for mono music, and my moto DC800

and darch can you hook us up with an update.zip or something for wifi?
[Hero CDMA Android Development] darchstar:
yea, i'll do that tomorrow, right now i need to get some hw done and sleep
[Hero CDMA Android Development] gbhil:
LOL. Don't worry bout it man. You clearly state this is a development rom and things may break. I don't think any of these guys are trying to bust yer balls.

much.

:p
[Hero CDMA Android Development] Ysos3rious:
Its cool!.. I'm a noob so I don't understand any of the .zip, .apk., kernel blah..blah.. lingo.. I just search for a thread about android sdk... thanks Darch!
[Hero CDMA Android Development] darchstar:
I think i got flac to work in the native music app, just need to have a flac file to test it out. :D
[Hero CDMA Android Development] Ysos3rious:
So yeah... The whole SDK.. things scary and overly complicated!! :eek:

http://www.talkandroid.com/android-sdk-install-guide/

So i'll just wait to you finish this rom with the 3d gallery and all the other things needed to be "pushed"...
[Hero CDMA Android Development] jwbagelesq:
Wow that's great about the flac darchstar. I have plenty of flac files so I can test it out when you release your next build.
[Hero CDMA Android Development] darchstar:
Damn, flac files are huge, i'm trying to download this legally free album online, and its near 300 mb rarred!
[Hero CDMA Android Development] WhiteWidows:
Yea all my favorate albums are in flac format...But I wonder how our device will handle them. And will streaming via BT work???
[Hero CDMA Android Development] jwbagelesq:
There is already a flac player for download on xda which works fine on the hero... similar battery life and doesn't slow down the system so the default android media player should perform at least as well. As for bluetooth, I'm not sure.
[Hero CDMA Android Development] sleejay:
fixed it

forgot a carriage return :( it works now [update in sig]
[Hero CDMA Android Development] XAnimal:
Just a quick question is there anyway to update the OpenGL to the version required by the LWP to have the best of both worlds?
[Hero CDMA Android Development] icm714:
not yet as soon as darch gets it i know he will post it asap
[Hero CDMA Android Development] PRGUY85:
Posting after another day of testing:

ROM works great and battery usage has been good. I noticed I turned off Wifi and somehow when I got home it automatically connected...so is Wifi turned off or what?

Also, I supposedly push gumbo.sh yet my free RAM after 15-16 hours of regular usage is at 29-32 MB RAM. Again...are these numbers indicative that gumbo.sh and aggressive memory killing are not in place at least on my configuration? Any way to check this? When I turn on the phone, its at 89-92 free MB RAM.
[Hero CDMA Android Development] darchstar:
Try pushing the gumbo.sh to /system/etc/init.d and see if that helps

also, wifi passwords are usually remembered when you enter them so that when you turn wifi on again and are near your router it'll automagically connect.

I've been consistently getting above 100 mb free and battery life from 7 am to 5 pm drained to about 75%. Not bad if you ask me.

I need some more confirmations that gps works, it seems that people are mixed on whether or not its fine
[Hero CDMA Android Development] PRGUY85:
Will do...any way to know if gumbo.sh is active somehow?
[Hero CDMA Android Development] Decad3nce:
gps

I can tell you that I have lost signal during navigation with both the gps.conf in the ROM and with the updated gps.conf that was posted earlier.

I did however get a faster lock on with the second gps.conf, but just like the first, after you start driving the signal is quickly lost.
[Hero CDMA Android Development] PRGUY85:
By the way, those are impressive numbers. Any tips on getting that kind of usage? Do you use browser or apps alot or make a lot of calls? Do you turn EVDO/3G off? Do you have any additional apps besides the ones you already included? I've never come close to 100MB RAM.
[Hero CDMA Android Development] CandyElephant:
GPS is definitely not working for me. It's not accurate and slow to update.
[Hero CDMA Android Development] akijikan:
This is what I get with GPS too
[Hero CDMA Android Development] darchstar:
ok guys. thanks for the responses
[Hero CDMA Android Development] darchstar:
try pushing this build.prop to /system/ and tell me how gps goes whenever you guys drive again

EDIT: heres how you push it without needing to rename it

adb push build.prop.txt /system/build.prop
[Hero CDMA Android Development] akijikan:
After pushing gumbo.sh to /system/etc/init.d I still got "1536,2048,4096,5120,5632,6144" including after a reboot.
[Hero CDMA Android Development] ziggy682:
Here's what I noticed with the GPS. It seems to always lock on in the maps for me, but I will lose the GPS signal shortly after starting the actual navigation portion of the program.

I removed it from the phone, and reinstalled from the market. I will test navigation tomorrow, and see if anything changes. I'm sure several other people will be testing the new build.prop file that darchstar posted, so hopefully one of these two things will work.
[Hero CDMA Android Development] akijikan:
I'm about to head out here in a bit and will have results in about 30 minutes.
[Hero CDMA Android Development] darchstar:
hmm, it's surviving reboots for me, maybe its because i edited the boot.img. let me check the current kernel ot see if it's looking for the script at boot

how convenient. Thanks man :D
[Hero CDMA Android Development] ziggy682:
There were a few of us earlier in the thread that pushed the gumbo.sh to /system/init.d and /system/etc/init.d and confirmed that it does not change the lowmemorykiller settings.

I don't know how the rom calls that file, but it seems like something isn't calling the settings in the file.

What does work in the meantime, is the Autokiller program from the market that someone posted earlier in the thread. We confirmed that it definitely changes the lowmemorykiller settings, and it survives a reboot.
[Hero CDMA Android Development] darchstar:
yup, just found out the issue, its not looking for the gumbo script in the init.rc, flash this kernel and tell me if it works for you guys
[Hero CDMA Android Development] trapharder4844:
my gps wprks fine an for some reason i am getting outstanding battery life like i have a extened battery but i dont
[Hero CDMA Android Development] PRGUY85:
Only way I can get 80mb of free RAM after some usage is by closing some services and background apps by Astro.
[Hero CDMA Android Development] akijikan:
heh, so my suspicions were confirmed...very cool, I think I'm started to get how some of this works, lol
[Hero CDMA Android Development] topherthehidden:
screen rotation

any update on how to rotate the home screen? any help would be appreciated
[Hero CDMA Android Development] akijikan:
I can confirm after flashing the updated kernel:

cat /sys/module/lowmemorykiller/parameters/minfree

returns "1536,3072,4096,21000,23000,25000"

So it looks like the aggressive memorykiller configuration is working correctly!
[Hero CDMA Android Development] Decad3nce:
Sweet

This script is definitely working with this kernel.

Opened every app(25+) on my phone, without closing. Checked RAM and I had 83mb available still. Awesome.

And I can confirm that the memory killer configuration "1536,3072,4096,21000,23000,25000" is working correctly, even after reboot.

The speed increase is easily noticeable.
[Hero CDMA Android Development] ziggy682:
Confirmed, the updated kernal allows the gumbo.sh to enable the aggressive memory settings. Thanks darchstar.
[Hero CDMA Android Development] jayjay7411:
Does this kernel have gumbo.sh included so no need to push it just flash kernel darch???
[Hero CDMA Android Development] akijikan:
I can now report that the build.prop seems to have solved my GPS issues with Google Navigation.

In my little 15 minute 4 mile trip I did not lose GPS once in Google Navigation!

Wow dach, in one fell swoop you have resolved my two biggest issues with this ROM. Anything else will be icing on the cake for me!
[Hero CDMA Android Development] darchstar:
The Nexus Launcher doesn't rotate, but regular home does

Yes it does
[Hero CDMA Android Development] darchstar:
Thats great news man. Glad to be of assistance.
[Hero CDMA Android Development] KERKEDAGAIN:
I think it safe to say that after completing the following posts:

and

i now have agressive mem settings (aka a blazin' fast ROM) and APPS2SD THAT SURVIVES REBOOT..life just gets sweeter and sweeter!! Mad thanks to all
[Hero CDMA Android Development] Gregalous:
Nevermind :o
[Hero CDMA Android Development] icm714:
hey i tried flashing and says failure at line 2: copy_dir Package:system installation aborted
[Hero CDMA Android Development] gernade23:
Yeah new kernel made my phone go boom too haha. Just hangs at the android logo during the boot up. Also got an error when reflashing the rom. Gonna try doing a nandroid restore
[Hero CDMA Android Development] chubbzlou:
confirmed works yea :D

1536,3072,4096,21000,23000,25000
[Hero CDMA Android Development] jayjay7411:
That kernel i flashwd it then booted but got stuck at boot screen had to nandroid restore
[Hero CDMA Android Development] darchstar:
For those of you that are having troubles with flashing the new kernel, i'm going to update my rom once i get usb tethering to work, which will be soon. so ya, hold on there :D
[Hero CDMA Android Development] Gregalous:
Sweet man! You're on a roll!

Out of curiosity, what's next on your to-do list?
[Hero CDMA Android Development] aauussttiinn88:
after you update it everything will work legit minus the cameras and mms and bt? awsome job btw
[Hero CDMA Android Development] daviss:
does Auto Brightness control work for anyone?
[Hero CDMA Android Development] nebenezer:
Wow... it has been amazing watching this ROM come together over the last week. I can't wait to check it out this weekend.

Darch, please point us to a donate button once you catch your breath!
[Hero CDMA Android Development] chubbzlou:
If I had to guess it would be the 3D graphic. :D
[Hero CDMA Android Development] VoXHTC:
I've only been wrong 3 times in my life but I'm going to say no, because our little Hero's don't have the Jiggawattz or Gigahertz or the Flux Capacitor necessary to run anything in 3D
[Hero CDMA Android Development] Avalaunchmods:
i have tried and tried to get him to post a donate button he just wont :(

throw us a P.O box and we will get you the hook up darch
[Hero CDMA Android Development] watzone69:
Holy f*ckn $hizzle! Lookin forward to the updated ROM. I think I'm actually salivating!
[Hero CDMA Android Development] aauussttiinn88:
yea he is pretty much "chuck-norrising" this rom
[Hero CDMA Android Development] nebenezer:
lol

Chuck Norris had Android 2.1 on his StarTac in 1996
[Hero CDMA Android Development] chubbzlou:
I believe it can run anything in 3D. Once the 3D.apk is working properly. If not then it was good hoping. :p
[Hero CDMA Android Development] kkruse:
I only have issues with google nav, trapster is fine.
[Hero CDMA Android Development] aauussttiinn88:
Man i loved my startac...and the timeport...like oh yay a screen with three different colors.haha that brought back memories
[Hero CDMA Android Development] VoXHTC:
Dude, my skytel pager was cool. it had phone numbers AND text! I'm so old.
[Hero CDMA Android Development] aauussttiinn88:
i know as soon as i go to the store for more cigs hes gonna upload this masterpiece haha
[Hero CDMA Android Development] RVDigital:
LOL, this Meme never gets old.

I drive all day for work and will give this a good beating tomorrow.

Like everyone else, I can confirm a dramatic difference in performance with this latest update. Darchstar, you sir ARE the Chuck Norris of Heroc ROMs! Thanks again!
[Hero CDMA Android Development] watzone69:
I just flashed the kernel and I can confirm that apps2sd IS surviving reboot!:D
[Hero CDMA Android Development] icm714:
man i cant flash this kernal urrr
[Hero CDMA Android Development] akijikan:
Neocore runs just fine...4 times.
[Hero CDMA Android Development] Noirad:
Froze

So I go threw everything on my phone rooted it and everyhting pushed the flash rom on and flashed it, got into root pushed on the update.zip and did the update but not its stuck at the android boot screen, did i need to wipe it? >< is there anyway to fix it i haven't restarted it or anything
[Hero CDMA Android Development] akijikan:
if you were coming from another ROM then yes you should have wiped.
[Hero CDMA Android Development] Avalaunchmods:
just throwing this out there. the BT problem resides in /system/etc/bluez

something is not allowing a connection. this is just what logcat has told me when trieng to start a connection with headset so anyone that knows what the files in bluez do would be great.
[Hero CDMA Android Development] Noirad:
do I reboot it by removing the battery now or any ideas on what I should do now?
[Hero CDMA Android Development] akijikan:
yeah just pull the battery out and boot into recovery and wipe
[Hero CDMA Android Development] watzone69:
The kernel is available here.

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

The ROM will be coming soon.
[Hero CDMA Android Development] icm714:
still cant flash thru recovery mmmm maybe i should try thru adb shell mmm
[Hero CDMA Android Development] gernade23:
Anyone have an idea as to why the new kernel is only working for some people? I tried flashing it off a nandroid backup without luck and also after a fresh wipe and still no luck.