yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] alexthearmo:
Darch, I edited the values to the ones in the above post and pushed the file back via ADB, but I'm not sure if I was supposed to "uncomment" the file or not. Before any of the coding there was: #! Did I do it right? Or was I supposed to get rid of the #!? Any help is much appreciated.

PS: any idea on the timeframe for the next release? You're the man! :D
[Hero CDMA Android Development] darchstar:
ya, i may release my next update in prob in a couple of days. it's like starting from scratch again. lol. i mean i could release it right now, it just would be a tad bit downgrade in terms of speed. i could give you a testing build if you want
[Hero CDMA Android Development] looneylu:
please do! :D
[Hero CDMA Android Development] alexthearmo:
naw...it's cool. I'll wait till the fully functioning/fast one comes out. I am liking the build as of now. I was just curious. Also...any advice on my Memkill settings question that I posted above? Thanks!
[Hero CDMA Android Development] darchstar:
oh ya, no don't uncomment it. It's just to let whoever is looking at the script to know that its a shell script event
[Hero CDMA Android Development] alexthearmo:
thank you sir!
[Hero CDMA Android Development] dcdave63:
Is it me, or are none of the access programming and service menus working on this ROM? Maybe that's why the Mobile Network crashes are occurring?

None of the Sprint Codes found here http://xdaforums.com/showpost.php?p=4809013&postcount=8 work, and they should. One of the screens sets up the EVDO, 1X or Hybrid modes. The Mobile Networks settings in the menu actually point to this "secret" hidden screen, and that is most likely the reason why this keeps crashing. I believe these settings are stored on the network server, but accessed through these radio and chip related files.

Any thoughts?
[Hero CDMA Android Development] KERKEDAGAIN:
All I'm saying is I dloaded both darchs and trevs version and had no auto-backlight til i pushed the /hw folder i posted..auto-backlight now works..could be lights.so causing problems but something in there works fer me
[Hero CDMA Android Development] TrevE:
I can confirm same, seems the buttons light now but the trackball still doesnt. Still an improvement. Pushed these back, fixed the market banner & a few stray icons. if coming from another rom probably need a wipe, possibly ext. backup first.

my mods v2 download (see &postcount=363 for more details)

http://www.megaupload.com/?d=ONJ8KR35

removed apps didnt bother rebundling (friendstream,twitter,facebook,gallery,stocks,footprints)

http://www.megaupload.com/?d=V5TWVEOC
[Hero CDMA Android Development] TrevE:
What mobile network crashes? I get a fc when i open the menu item but havent experienced any other data problems. Does any other 2.x rom have the secret codes?
[Hero CDMA Android Development] dcdave63:
Yes, the last three I used had them. Even when I do a nandroid restore to before this ROM and the one from January, I can still access them.

And when the fc happens (or crashes), the mobile network and location services turns off then back on for 1 or 2 seconds. In effect, losing the connection.
[Hero CDMA Android Development] TrevE:
I just did a wipe & flashed fresh 2.0b2, tried ##debug# and still no go. Going t try damagecontrolv1 now. I dont have v1 of darchlegend, if you can point me in the right direction of a 2.1 rom it works on ill take alook at what broke.
[Hero CDMA Android Development] mindctrl:
I can't make calls again. I'm hoping this is just a Sprint tower issue and not a rom issue and it just happens to be a coincidence. I've never had this happen before using any rom.

I rebooted phone, wiped dalvik cache again, and still can't make outgoing calls. I can receive them, though. When I try to call out it immediately hangs up. The end call button turns gray and the call disconnects.

I've searched these forums and the net and came up with nothing definitive. Some suggested it was just a tower issue in the area.

Any ideas?
[Hero CDMA Android Development] jumaaneface:
Those codes have only worked on fresh 2.0b but if u try to edit they force close

It's not properly roaming on Sprint*edit
[Hero CDMA Android Development] Gregalous:
How did you change the memkiller settings? I pulled the 02memkill file, changed the numbers to 1536,3072,4096,21000,23000,25000 and pushed it back, and when I do

cat /sys/module/lowmemorykiller/parameters/minfree

it's still spitting out the low numbers :(
[Hero CDMA Android Development] alexthearmo:
I haven't even checked the log cat. I better check now that you mentioned it.
[Hero CDMA Android Development] alexthearmo:
Anyone know if the Desk Clock app (if you click on your clock widget it takes you there, and you can choose night mode or day mode) is supposed to time out? I thought it is supposed to stay on the whole time....displaying the time constantly, without going to a black/blank screen/sleep mode. Is this a glitch in the ROM? Or is there a way to change the settings...I couldn't find a way to.

Anyone, please let me know. Thanks!
[Hero CDMA Android Development] gomorrah:
No offense to Darch, but I dont think that script is running correctly. I changed the values also, and it didn't change anything. But what I did, was take the version that TrevE posted(it has a different script setup that runs well) and it runs freakin awesome. I ended changing the theme a bit. Check it out, I posted it in the Homescreen thread. I love it, and runs super fast.
[Hero CDMA Android Development] KERKEDAGAIN:
I don't think it's a glitch..it's just an oversight by HTC. I thought the same thing since the first time I tried it in a 2.1 ROM..makes no sense for it to turn off, cuz when you turn it back on it switches back to the BLINDING DAY MODE!!!
[Hero CDMA Android Development] Gregalous:
TrevE, would you mind sharing how you just managed to change the memkiller settings/scripts? I'm not interested in all the new themes and such, just wanting to up the speed. Thanks.
[Hero CDMA Android Development] gomorrah:
He put the gumbo script in it. Just download it and flash the stock framework files over it and you'll have the stock DarchLegend just running faster.
[Hero CDMA Android Development] dmc971989:
do you have a link to the zip?

also, i need opinions... what runs smoother/faster? DC v1.0 or DarchLegend v3?
[Hero CDMA Android Development] alexthearmo:
lame.

10chars...
[Hero CDMA Android Development] KERKEDAGAIN:
Is anyone able to use gallery? It just sits there w/ a black screen for me..also any idea why the nexus launcher keeps force closing (anyone else having this issue)
[Hero CDMA Android Development] alexthearmo:
ya...can you upload gbhil's 02memkill file for us to download? Or, just copy and paste the code, so we can edit the file ourselves. Thanks so much!
[Hero CDMA Android Development] gomorrah:
I can do it when I get home tonight, or just download that file and pluck the scripts out. Hope that helps.
[Hero CDMA Android Development] HERNANDEZ4LIFE:
+1 on the gallery thing.
[Hero CDMA Android Development] gomorrah:
Oh, and DarchLegendv2 rules them all. :D
[Hero CDMA Android Development] akijikan:
Hrm, I changed the values in /system/etc/init.d/02memkill and it made a big difference for me. Where after running 12 hours I could only round up about 45mb free after closing all apps, I applied the changes to /system/etc/init.d/02memkill, rebooted, and haven't rebooted since, I can still get between 80-90 free when I kill all apps.

I did notice when I do cat /sys/modules.../minfree that I do get the stock numbers, but I'm still seeing a huge difference in the amount of free RAM after making the changes to /system/etc/init.d/02memkill.
[Hero CDMA Android Development] gomorrah:
I dunno, man. I tried it twice and it didnt work. But if it works for you, thats awesome. Would've been a lot less work if it had for me. Either way, we both have it working, so kudos to us.:D
[Hero CDMA Android Development] alexthearmo:
same with me. when I clear all apps, I'm getting a higher number of free MB...around 80 (instead of 50)...but still...when I was running fresh 1.1 with the gumbo mem settings I was at like 80mb even when I was running apps. Maybe the ROM was just smaller? Not sure.
[Hero CDMA Android Development] Gregalous:
The script is supposed to change the parameters of the minfree module and make it stay that way. So if you do the cat /sys/ thing and it says the stock numbers, the script has done nothing. Prolly just placebo. Not to be a debbie downer or anything... :D
[Hero CDMA Android Development] alexthearmo:
Ya. That's why we're hoping someone will post the memkill file, or at least the code/script to Gumbo's memkill file.

PS: Nice Signature. :)
[Hero CDMA Android Development] chococrazy:
How do we push this?
[Hero CDMA Android Development] MotherMayI:
can someone post the link to v2? i cant find it. and i deleted it by accident when v3 came out...i have damage1.0. should i wait for darch's next update?
[Hero CDMA Android Development] gabby538:
darchstar

Senior Member

Join Date: Dec 2009

Posts: 818

| Sprint CDMA Hero

| DamageControl 2.1

--------------------------------------
[Hero CDMA Android Development] gomorrah:
He said not only did he change the script, but I noticed he moved the init.d folder to /system/ and out of /system/etc. And apparently he messed with the boot.img also. I didn't do any of the work, so I dont know the specifics. But I can vouch for the fact the script is executing properly. If you flash his version over what you're running right now its gonna change the taskbar and give you a clear lockscreen, but it'll also "fix" the memkill issue. YMMV, as they say.
[Hero CDMA Android Development] Bielinsk:
I thought a V4 was going to go up last night.

Waiting on the new version on the new leaked legend rom before giving this a go.
[Hero CDMA Android Development] ItsDon:
Me too.

10char
[Hero CDMA Android Development] alexthearmo:
Sorry for the retarded question, but from where exactly did you get the .zip file to flash over this ROM to fix the memkill problem?

Thanks! PS: What taskbar do you get when you flash?
[Hero CDMA Android Development] HERNANDEZ4LIFE:
Run a search on this tread... key word Darchtrev.:)
[Hero CDMA Android Development] chococrazy:
Here I uploaded it to megaupload

http://www.megaupload.com/?d=O0ZCIZ30

Edit this is V2
[Hero CDMA Android Development] chococrazy:
+1

10char
[Hero CDMA Android Development] MotherMayI:
thanks, is this the stock v.? or is that what i get by running the stock sense and then this over it? cuz i would like stock if possible.

edit: says temporarily unavailable
[Hero CDMA Android Development] chococrazy:
It's the stock v.2 (same as the one darch posted)
[Hero CDMA Android Development] alexthearmo:
Thanks...but I don't want the whole DarkTrev ROM. I just want the 02memkill file....or the right script to make it work. Anyone know which gumbo zip to flash to get the right memkill script? Any help is much appreciated. Thanks!

-alex
[Hero CDMA Android Development] MotherMayI:
awesome, thanks a lot!
[Hero CDMA Android Development] KERKEDAGAIN:
I use either Droid Explorer (Windows file browser type program) or SU File Browser & Terminal (allows you to copy files to root from your phone) to just copy that folder to you /system/lib folder
[Hero CDMA Android Development] chococrazy:
Oh I though we had to use ADB for it thanks!

Although, I've always wondered is ADB set to always rewrite files if there are 2?
[Hero CDMA Android Development] dmc971989:
so ive wiped/flashed three times now... and my phone wont shut off withoug pulling the battery, the loading screen just keeps rotating
[Hero CDMA Android Development] KERKEDAGAIN:
it seems so..i've checked it a few times and it seems to.

*I ask again..anyone able to use the Nexus Launcher/Live Wallpapers?
[Hero CDMA Android Development] mindctrl:
Same here. And others too.
[Hero CDMA Android Development] akijikan:
definitely not placebo, real free memory differences to the tune of about 40 mb
[Hero CDMA Android Development] MotherMayI:
megaupload says its temporarily unavailable since you posted it... :(
[Hero CDMA Android Development] alexthearmo:
memkill script comparison

Check out the difference between Darch's Memkill script:

#!/system/bin/sh echo "1536,3072,4096,21000,23000,25000" > /sys/module/lowmemorykiller/parameters/minfree echo "performance" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

and

Gbhils (Gumbo) which DarchTrev uses:

echo "1536,3072,4096,21000,23000,25000" > /sys/module/lowmemorykiller/parameters/minfree

It looks like Darch's has cpu frequency scaling...as in...it gives you processing power only if you need it, and if you don't need it, it scales down so it saves you battery. The gumbo one doesn't seem to have this function. Am I right?

Maybe that's why people think DarchTrev's settings are faster...cuz the processor is always running full speed. Am I way off base here? I don't really know the innards of all this stuff. Let me know.

Also, I'm assuming simply replacing Darch's script with the gumbo script will not do anything, am I right?
[Hero CDMA Android Development] darchstar:
it won't do anything, nor will it change much. our .29 kernel if i'm not mistaken does not have cpu scaling. also, just to educate you, performance governor is what it sounds like. Best performance, so even if we did have a cpu scaling governor in our kernel, that would be giving you best performance, though wouldn't be nice on battery life. so trying to replace my script with a gumbo one will probably do nothing

Lol, sorry for being so redundant in my post.

hmm. maybe the reason people's memkill script isn't working is because it's not being given executable permissions. try chmod'ing it to see if that helps

and I'll edit this post once again to let everyone know that once i fine tune some stuff on my next darchlegend release, it will be released. I'm aiming for tomorrow night or thursday morning
[Hero CDMA Android Development] MrWicked1:
Do i just flash v3 and apps2sd auto enabled? Or how do i enable it?
[Hero CDMA Android Development] alexthearmo:
Thanks for the answer Darch! I am trying to learn all this stuff. I knew there was more going on than meets the eye. I didn't think replacing it would work...and even if it did, I wasn't sure what the results would be. Now I know! Thanks so much! I'm looking forward to your next release.

By the way...you might want to implement the Audio Repository hack thingy in your next ROM http://xdaforums.com/showthread.php?t=642501 It freed up 30 or so MB of system memory for me, and gave me a ton more options of sounds for notifications/ringtones/alarms.

I hope that's useful. God bless! I'm looking forward to your next release. :)
[Hero CDMA Android Development] MotherMayI:
i meant stock w/rosie scroll, but its not :(
[Hero CDMA Android Development] darchstar:
how is that possible? the media folder in this rom isn't even located in /system...
[Hero CDMA Android Development] aauussttiinn88:
i dont even see how that audio repository thing is considered a hack...more consmetical than anything IMO...loving this rom darch but just to confirm on v3 you cant shut it off without battery pull
[Hero CDMA Android Development] alexthearmo:
i dunno...but I now when I start my phone I have 100 mb free...where before I was around 87mb.

@Austin...you're right...it's not really a hack, but I didn't know what else to call it.

Anyway...I just thought you might want to implement it...not cuz your ROM isn't awesome (it's my favorite ROM so far)...just cuz I thought it might help.
[Hero CDMA Android Development] aauussttiinn88:
haha yea..but im interested in how it freed up mem. for you..thats quite an impressive improvement in my book for any rom...BTW love your sig alex
[Hero CDMA Android Development] Decad3nce:
Darch is the man.

Still running V2 over here, and it's a dream. So smooth so nice.

Removed Friendstream, HTC_IME(put the stock android keyboard in), removed a lot of stuff.

I'm currently running at 120mb free at boot. lol.

Blazing fast.

Thank you Darch for your hard work!
[Hero CDMA Android Development] darchstar:
I don't know, but if anything it'd take up more space seeing as it has a ton of notifications and ringtones. that it very weird
[Hero CDMA Android Development] alexthearmo:
well...no, it doesn't go into the system library. It goes on your SD card and stays there...and you delete the audio files in your system library by RMing them through ADB. That's why it saves space. You should try it.

Austin...you should try it too. See if you see an improvement.

Maybe I'm just crazy? It's very possible.

Austin...I'm glad you like the sig. I'm a wretched sinner whom God has saved and transformed by His grace and love. I'm super indebted to him and want to live my life to please Him and tell other people how awesome He is! Cuz He really is awesome! :D
[Hero CDMA Android Development] aauussttiinn88:
couldnt agree more...he is the way and the light....didnt register in my head that your removing it off the system then to the sd card....how big is all of it?
[Hero CDMA Android Development] Vrekk:
The audio thing makes you have more room in the system because you are moving all the files to your sdcard. It adds more files so it dose take up more space in the end, just on all the sdcard
[Hero CDMA Android Development] darchstar:
ahh, ok. i see. that makes much more sense (no pun intended). I'll look into making a shell script to make the media partition go on the sdcard. couldn't be too hard. also, though i now realize how you may be getting more space on your system, it still doesn't make sense how your gaining a 20 mb increase
[Hero CDMA Android Development] akijikan:
Yeah how does clearing space in ROM allow for more free RAM?
[Hero CDMA Android Development] dcdave63:
Ok, just re-re-re-flashed, can't get apps2sd to work. What am I missing? flashed v3 each time.
[Hero CDMA Android Development] alexthearmo:
I might be mistaken on exactly how much more space it gave me...but it definitely is in the teens maybe possible 20mb. :) I don't remember exactly what I was getting before...but I'm pretty sure it was somewhere around 87. Now when I start my phone and use task killer to kill all the tasks, I have about 99mb.
[Hero CDMA Android Development] rukshmani:
Still no apps2sd

I partitioned my sd card for apps2sd. Then installed this rom. Then installed anycut. Then I reinstalled this rom ( i did wipe and dalvic wipe). Now I still do not see anycut. I thought apps2sd support means it should be there. Am I missing something?
[Hero CDMA Android Development] athlet1c:
Amen You Rock , but he is the Rock
[Hero CDMA Android Development] dcdave63:
I just noticed in the "About Phone", "Software Information", "Software number", that v3 actually says "DarchLegend-v2". I am wondering if you either A.) didn't update v3 to say v3, or B.) I downloaded a version that I thought was v3 but was v2? I don't know, just asking since I can't get apps2sd to work and many others have, while others have not. It's a little frustrating.
[Hero CDMA Android Development] MotherMayI:
if someone has a copy of v2 with the rosie scroll could you please upload it?
[Hero CDMA Android Development] looneylu:
I hope this is what you need.

file is too big... i will pm you
[Hero CDMA Android Development] rukshmani:
Atleast update the main page

Its okay if apps2sd and other stuff are not working. But update the first page, where people download. That page still says app2sd working.
[Hero CDMA Android Development] daryelv:
It's working on mine... I'm running V2. I can't remember what I had to do exactly to get it working though.
[Hero CDMA Android Development] chococrazy:
I think I might have pushed the HW folder to the wrong place. I think I pushed it straight into /system so can anyone tell me if their /system has sensors.heroc.so, and the other sensor files outside of the HW folder?
[Hero CDMA Android Development] david279:
I have apps2sd in this rom working. I just flash kkruse v3 boot image after flashing this rom and its automatic.
[Hero CDMA Android Development] bikcmp:
Seems to not wanna shutdown; is this me or a bug?
[Hero CDMA Android Development] dmc971989:
common problem...
[Hero CDMA Android Development] darchstar:
ok guys, i'm putting the finishing touches on my next release. hopefully tomorrow afternoon i will push it out
[Hero CDMA Android Development] mrchu001:
what can we expect from this update?
[Hero CDMA Android Development] chococrazy:
Which version if it's V3 it's known flash V2 it's the stablest version of the rom.

I reuploaded it to megaupload it's stock V2

http://www.mediafire.com/?dmnzwog5lyg
[Hero CDMA Android Development] darchstar:
google maps now works 100%, light sensors, no more force closes with the news reader, a more up to date legend leak.

Also, i'm going to make sure 100% that it is more stable than my last release
[Hero CDMA Android Development] chococrazy:
Can we get a sneak peak of it :O I really wanna try it!
[Hero CDMA Android Development] Vrekk:
does light sensors mean auto backlight?
[Hero CDMA Android Development] zippy-man:
Yes it does work correct now.
[Hero CDMA Android Development] Tikerz:
Sounds great! Can't wait!
[Hero CDMA Android Development] alexthearmo:
Athletic, what is your music group? I am a singer/songwriter/producer: www.myspace.com/alexonmusic ...let me know what you guys do. And also let me know what you think of the music. :) God bless. Pm me if you want.
[Hero CDMA Android Development] chococrazy:
Found a weird glitch with the android Google search when you click on the widget and before the widget goes all the way up. You switch screens it freeezes them sense fcs

Posted from hero took like 10m
[Hero CDMA Android Development] zhj910:
why I can't open the download page?
[Hero CDMA Android Development] scmastertech:
I made the jump to this rom last night and I was wondering which themes would work on this rom? Taskbar and such

Thanks
[Hero CDMA Android Development] tmidle8575:
Uh, 99-87=12 :p

Hehe, not quite 20, almost teens. I'm just messing with you though since no one else pointed it out. Darch, I'm waiting on v4 to flash. I couldn't stick with the previous ones because of navigation/google maps not working. Keep up the good work and hurry up that release (but make sure it's good ;))
[Hero CDMA Android Development] Merckle:
can't wait !

keep up the hard work
[Hero CDMA Android Development] alexthearmo:
Ya...I loathe math! haha.
[Hero CDMA Android Development] athlet1c:
We are a Full Label with Distribution on all levels. I Produce as well Music I like "Don't Wait" is my Favorite of your tracks . Here are some tracks for Artist in Developement now. I also need to update the tracks. www.myspace.com/siremusicgroup
[Hero CDMA Android Development] ItsDon:
Guys, use PM please.
[Hero CDMA Android Development] MrWicked1:
How do i get a2sd enabled? I flashed v3 it was a no go so then i also flashed the a2sd fix and still nothing i tried the busybox command but it gives me a bunch of file doesnt exist
[Hero CDMA Android Development] jerrygon:
Sweet to hear. Been looking to give this a try. No disrespect to damage, I've been using his 1.0 since it came out but the battery drain is just to much.
[Hero CDMA Android Development] akijikan:
Exactly why I skipped v3. Was happy with V2, knew V4 was coming from newer legend ROM.
[Hero CDMA Android Development] chococrazy:
Ok everyone I wouldn't recommend V3 to many glitches use the V2 I posted in an earlier post. It would be awesome if Darch could update the first post, but V4 is coming out so I don't think it really matters :)
[Hero CDMA Android Development] Sporkman:
really wanting the release of V4 :P
[Hero CDMA Android Development] x99percent:
I've had no issues with the battery on Damage v1. I would suggest taking another look at what apps you have running.

Looking forward to the Darch v4 release myself... the residual Verizon stuff in the Damage ROM bugs me a little.
[Hero CDMA Android Development] Moguledyouth:
Eagerly waiting V4! Keep up the good work Darchstar!
[Hero CDMA Android Development] chococrazy:
Rawr I want V4 !