yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] fowenati:
I've been using kifnos tweaks since .8 and I actually disagree with some of the points stated above. His posts are for the most part stable and if they aren't he pulls them. He can't test these on every Tom and configuration so how can he know. I'll admit though he should have the GPL stuff all done and give a disclaimer at the front as well as tell them to check the comments before flashing a new version. I also agree copying work is wrong, but this tweak is good and he should just give credit and link to the author of the original. Alnost Everything on xda can brick your phone, or bootloop, this isn't very different, alot of times its from minor things that kifno helps resolve in quick time. He is among some of the more knowledgeable devs in this forum and he is also very active. I don't believe you giving him so much insults and hate is going to help. Even if you stand against everything he does, him, as an aspiring Devdeserves some respect because he at least contributes, and he doesn't troll or put down others or insult or leech like many others who join just to leech and don't even provide feedback.

Don't hate, appreciate. Constructive criticism is the way to go
[Hero CDMA Android Development] asmanthebell:
If you have private problems with another XDA member bring it up with a moderator dont hate spam on the forums its inexcusable and quite frankly childish. if somebody has breached a copyright then file a lawsuit otherwise stop complaining. final point android on the whole is open source and with a bit of research you didnt look hard to find your so called stuff, so just beware what goes around comes around "dont poke a stick in the behive". as for the developmeng process i believe 99.9% do that, reseach, develop, impliment, modify, this process is in fact part of software development fyi
[Hero CDMA Android Development] :
Read bold kifno edits in the quote.
[Hero CDMA Android Development] asmanthebell:
Kifno You dont need to justify yourself it will just make things worse, just ignore him and carry on with life.
[Hero CDMA Android Development] jbrawley1:
Hmmm... I am very interested in using this, about to uninstall everything ive got Autokiller, set cpu. Should help fix my battery issue until the evo 3D comes out!!!

thanks so much!!
[Hero CDMA Android Development] davec1234:
Might want to read the last few pages first.

Then again you may well like a Coca-Cola bottle filled with brown colored water.
[Hero CDMA Android Development] :
True because now I have a feeling he will respond and then this will cause others too respond too and people will disagree with certain things and it will start a big debate which I don't want to happen. So I'll be the bigger man and end that now and carry on. A cycle only ends where the cycle had first begun.
[Hero CDMA Android Development] Pyr0TeK:
I agree... bashing devs IN PUBLIC is VERY childish and accomplishes ABSOLUTELY NOTHING, except for the self-satisfaction of the person posting it gets I guess. Grow the hell up and go take care of your own threads and keep your lip buttoned when it comes to others if you have nothing constructive to say. So what if he copied work, he should just post credit to it... this is why "copy and paste" was invented. I use it at least 100 times a day and I guarantee you 99% of the devs on XDA do this also, including jasonmaloney, cyanogen, jaybob, koush...
[Hero CDMA Android Development] :
Yup always do some reading of at least five pages before you ask questions about it.

But this weekend , saturday night/sunday all issues will be fixed. Shouldn't take me terribly long to fix.
[Hero CDMA Android Development] davec1234:
I'll copy/paste this:

But the following line found in two different places in your most recent post is inexcusable:

mount -t yaffs2 -o remount,rw /dev/block/mtdblock1 /system

Take a look at the partition map:

# cat /proc/mtd
cat /proc/mtd
dev: size erasesize name
mtd0: 000a0000 00020000 "misc"
mtd1: 00500000 00020000 "recovery"
mtd2: 00280000 00020000 "boot"
mtd3: 0aa00000 00020000 "system"
mtd4: 08200000 00020000 "cache"
mtd5: 09f80000 00020000 "userdata"

You're very lucky that in the places this command is run, the /system partition is already mounted, because you've just told the phone to mount the recovery partition at /system, and in a rewritable mode at that.
[Hero CDMA Android Development] :
It does accomplish nothing but self satisfaction. Lol so next time I'll get my self satisfaction by making some peanut butter chocolate oatmeal cookies :D
[Hero CDMA Android Development] davec1234:
Not busy...

sorry everyone i'm busy with school at the moment there will be a big update this weekend that I GARENTEE will fix ALL booting issues with the rom....as for the minor issues with facebook, tethering, etc. i'll answer those this weekend too sorry but i have papers to type and projects to do and business and family matters to handle. for now i'm more than sure the xda community can help you out until i return from my busy week...if you have personal problems that you'd like to personally ask me just pm and i might answer sometime during the week but i won't really be available until the weekend. until then guys
[Hero CDMA Android Development] :
I'm in school right now on xda app chatting through pm and replireader reading up on c++ in ap english lol :)
[Hero CDMA Android Development] Pyr0TeK:
Cool... thanks for the copy and paste but I do have a college degree and can READ and did actually read through the previous 5 or 6 pages...
[Hero CDMA Android Development] il Duce:
Just gotta say that it's good jm posted the fail. Had the kifno code been a digit off there may have been some bricking. That's the point. Kifno will learn - obviously he wants to, but I think the point was learn FIRST, then share. You see if you share first THEN learn you end up doing silly things that could likely be harmful. I've got no qualms with people using Kifno's work, I just won't use it, because I know he's not actually a developer - YET. I could probably put up some awesome **** that I've done for my own personal use that others would think made me a dev, but no, it doesn't, and no, I won't.

Kifno) keep learning kid, you'll get there, I think I told you that last time you put something up. Your method is getting better, but you still kinda suck at credit and explanation, in that you always want people to like "your" work, but w/e.

Happy trails all.
[Hero CDMA Android Development] :
We're just joking around lol :D
[Hero CDMA Android Development] :
Everything you said is true, jm's post was VERY useful and I thank him for that, but he AND I in my opinion went about our conversation wrong. But the moral of the situation is I still have things with my work with the addition of other help and how I go about sharing it. I just need everyone's time and faith in me to eventually put up some truly awesome **** and become a dev.

Listen to:

Time - Edwin Starr
[Hero CDMA Android Development] krook6023:
Back on topic...

I have been monitoring this thread wondering when I need to jump in and the time is now. XDA is a place for leaning and developers should be responsible when releasing their work.

Having said that, kifno is free to release his work as long as he abides by the forum rules. Members SHOULD post feedback about the work released in this thread…BUT...the bickering back and forth needs to stop. This is a PUBLIC forum and it is not the place for arguments. I have cleaned this thread (a little) and I ask that this thread gets back on topic and stays there.

Members should carefully research anything before they even consider putting them on their device. In other words....FLASHER BEWARE. ;)

If anyone feels the need to respond to me please do not do it in this thread send me a PM.

Thanks in advance.

krook6023 (mod team)
[Hero CDMA Android Development] :
hey everyone i have another test version for 1.5 and MAJOR changes have been applied since versino 1.2 :D this update is awesome and its safe to install i just want feedback on it so i can make more changes before releasing v1.5 officially...pm me or post here
[Hero CDMA Android Development] oostah:
Can't wait to try it out. What feed back are you looking for. I will give you some when you release v1.5 :)
[Hero CDMA Android Development] Pyr0TeK:
PM the link and I'll be glad to test it... currently I have no tweak applied.
[Hero CDMA Android Development] asmanthebell:
pm me too please XD
[Hero CDMA Android Development] oostah:
i will test it for you man. let ma no where to get it at.
[Hero CDMA Android Development] :
Hey I have a list of who I'm going to pm the test to but I found something I must fix before I send the test .....I love troubleshooting bash scripts of mine :) this is truly where the fun begins. :D
[Hero CDMA Android Development] Pyr0TeK:
ME ME ME!... My 3G speed sucks arse currently...
[Hero CDMA Android Development] :
I'm working on it. So far you can boot into the rom after flashing new tweak but reboot causes you to be stuck at the splash screen. Though after the flash the phone is amazingly faster. So much that I rejected an evo even though I have the money to get it. But enough rambling and back to fixing this problem in bash. I just wanted to give you all a small update on things.
[Hero CDMA Android Development] fowenati:
This tweak is the reason why I am holding out for the evo3d after my epic4g got stolen
[Hero CDMA Android Development] oostah:
im watching this thread close man lol
[Hero CDMA Android Development] bravo1565:
Kifno your torturing us lol I can't wait
[Hero CDMA Android Development] oostah:
Kifno pm
[Hero CDMA Android Development] Pyr0TeK:
Thanks... let me know ASAP... I have no idea why but my USB tether on 3G is extremely slow, and that is the main reason I use your tweaks. Seems to always help that for me so that is really what I am interested in... I have to tether my Hero at work to get on sites like this and Facebook that are blocked... :cool:
[Hero CDMA Android Development] fowenati:
Try wifi tether, or get new drivers for ur hero, or maybe your work uses USB 1.1 ports.
[Hero CDMA Android Development] rundmcarlson:
Usb 1.1 could handle anything your 3G could deliver. 4G would be a different story, but 3G should be fine on old usb ports.
[Hero CDMA Android Development] fowenati:
Although theoretically you're right, that hasn't been my experience with the Hero
[Hero CDMA Android Development] unCoRrUpTeD:
What rom?
[Hero CDMA Android Development] bravo1565:
Anyone know how 1.5 is coming along
[Hero CDMA Android Development] :
I FINALLY got my modded screen state governor switcher...now its time to try to fix my io tweaks too then I can upload
[Hero CDMA Android Development] :
Screen state switch and io tweaks work :) now I just have to put it together and sign and upload
[Hero CDMA Android Development] bravo1565:
Awesome keep up the good work kifno
[Hero CDMA Android Development] :
I would release v1.5 but I need to find a app other than terminal that can run shell script if possible and lock terminal or the other app in memory so my task killer wont kill it. That's the only way my extra additions will work until I learn more about scripting as time passes.
[Hero CDMA Android Development] :
Got it figured out will upload tonight :D

Edit : I'd recommend being able to read and follow directions and know how to memorize a few things for future purposes
[Hero CDMA Android Development] oostah:
Makes sense to me lol :)
[Hero CDMA Android Development] :
v1.5 is here but i have to come up with some user friendly instructions.....it involves knowing how to run scripts manually and locking terminal or gscript in memory so that the infinite loop script won't get killed until you reboot (which is why you'll have to memorize how to run the scripts :D)

give me a moment please :D
[Hero CDMA Android Development] oostah:
no we want it now. lol take your time man :cool:
[Hero CDMA Android Development] :
thanks i'm still coming up with these instructions and finding what exact apps will make the process easier but making sure the memory management app is free ( i need the memory management app to lock terminal in memory so that...you'll find out later :D)
[Hero CDMA Android Development] oostah:
try gscript its easy to use and if you want you can make a short cut on your the home screen used it for dualbooting roms ;)
[Hero CDMA Android Development] :
It isn't looping infinitely like if I was to make it a init.d script
[Hero CDMA Android Development] :
Now I have to post pone the release....read my thread I had a bash question about. I have to edit the init.rc file ....so I have to get to scripting everyone hopefully I can finish init edit script tonight
[Hero CDMA Android Development] oostah:
:confused:

what happed man.
[Hero CDMA Android Development] :
For some reason it has to be ran at start up. And since init.d script causes roms to get stuck on the splash screen, my only other option is to compile my own kernel and then flash my kernel with the correct governors I need for the tweak while also appending some lines to the boot.img's init.rc and writing the new boot.img with my kernel and tweak added to the init.rc, then ill have the script modify the build.prop and last but not least echo some important values. This is huge because v1.5 is literally battery life and performance in one tweak working equally!!!!!! Its epic and I'm going to make it happen. :)
[Hero CDMA Android Development] :
I have yet to figure out a way to run infinite while, for or until loop scripts on boot without the phone getting stuck on the splash screen :(

looks like i'll stick with changing the values of some files for now :(

all that time spent making the scripts for nothing *sigh* at least i learned somethings in the process :D
[Hero CDMA Android Development] fowenati:
Try stop looping the scripts after like 5 or something.
[Hero CDMA Android Development] :
i know how to use loop control its just i need the screen state cpu script to run infinitely after the phone has booted. i even tried locking terminal in memory (since gscript can't find my .sh files :() and then running the scripts manually they still close out :( only way they run infinitely is through init.rc or init.d scripts......this is a huge bummer b/c i had a fusino of bl&mp in one script :(
[Hero CDMA Android Development] fowenati:
Aw mann, I'm not an expert in this kind of stuff so I can't really help much
[Hero CDMA Android Development] theimpaler747:
What are you trying to get to run?
[Hero CDMA Android Development] :
It's a screen state governor & CPU switcher that moddified and I added to this tweak. Just since it is a infinite loop bash script it will loop forever during the boot process and I need it to loop forever after the phone has booted.
[Hero CDMA Android Development] waffle_:
Add a wait time of 30 seconds and then begin the infinite loop. End the loop when the Power Off option is selected or the phone shuts off.
[Hero CDMA Android Development] :
So this would cause it to wait during the boot process but start once the phone has booted and end once phone is powering off. Nice ill work on that and hopefully that works :)
[Hero CDMA Android Development] Pyr0TeK:
IN the meantime while you are working on a complete build with multiple tweaks... do you have something you can PM me to help my 3G speed? I rebuilt last week with AOSP GB and it is horribly slow and seems to be faster when I have used your previous builds... if not, I guess I can wait... *sniff sniff*
[Hero CDMA Android Development] :
Ill just take down v1.3-1.5 and leave v1.2 on down BC those were stable and provide link to my script folder on my mediafire account :) while in the mean time I'm working on my newest version :)

Edit: will do that tonight
[Hero CDMA Android Development] jasonmaloney:
There's such a thing as an init.local.RC, and it doesn't live in the boot.img. That's what you need.
[Hero CDMA Android Development] Pyr0TeK:
I just loaded the official CM7 release this morning just to see if my data speed got any better. Still slow... seems to flip/flop between 1x and 3G often which is odd. Never really had this problem until recently. Hmmm... I have not changed my radio or anything... they could be messing with the towers around here I guess but I highly doubt it.
[Hero CDMA Android Development] jasonmaloney:
Make sure your PRL is up to date. Newest is 60677 if I recall correctly.
[Hero CDMA Android Development] waffle_:
Yep. The reason I said 30 seconds is because sometimes it takes awhile for the phone to actually boot. You can adjust the wait time to you see fit, but I wouldn't lower it below 15-20 seconds.
[Hero CDMA Android Development] Pyr0TeK:
Mine is 60671 currently... hmm... guess I would need to flash a sense rom to update correct? Fresh rom or what do you suggest?
[Hero CDMA Android Development] laie1472:
Try one if ninfinity's roms. Always works for me.

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] Pyr0TeK:
What PRL you on?
[Hero CDMA Android Development] :
Thanks will try your idea along with jm idea tonight :)
[Hero CDMA Android Development] fowenati:
Wow, my PRL is 60669... is there a way I can update with CM7
[Hero CDMA Android Development] laie1472:
60677

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
i moved to an area where im roaming. for two days i have been flashing radios and prl updates i found the best prl on evo forum. im on alltel in a Verizon market. im using the eris radio2.32.40.11.09 Verizon and evo 01337 prl.:eek:
[Hero CDMA Android Development] laie1472:
Nope. You have to go stock or use a rooted sense rom. Update profile/prl.

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] laie1472:
Gambling man I see. Glad its working for you though.

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
i had to do something i couldn't hardly make or receive calls:D now i have 3 bars:cool: ok data speeds
[Hero CDMA Android Development] laie1472:
Lol. Yea I remember your post when you were outta town and it messed up on you. Are you using kifno's tweak @ all for the increase data speeds??

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
yes but it did or dose not make any change when roaming i could not see any change with it or with out. now that i have a diffident set up im going to test some speeds.
[Hero CDMA Android Development] Pyr0TeK:
Think I'll flash KifnoSense 2.1 ... that should allow me to update PRL and then nandroid back to CM7.

EDIT: Worked like a champ... PRL updated and back up with CM7. :)
[Hero CDMA Android Development] :
Cool :)
[Hero CDMA Android Development] fowenati:
Great idea, I wasn't sure if nandroid would out my PRL back to 60669, but now I know thanks
[Hero CDMA Android Development] laie1472:
Which version???

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
i have tried v1.2 and 1.4 not sure whats up. i think it was i had been running dac's kernel. before and was running the stock kernel that came with cm7.
[Hero CDMA Android Development] :
Hey psss...you! Yeah you. Guess what I got!?!?
[Hero CDMA Android Development] oostah:
:eek:what!!!!!
[Hero CDMA Android Development] :
V1.5 with working screen state CPU and kernel optimization switcher so now MP version has good battery life. And battery life version has better battery life ;) but I won't release it I need to know two things. What file list CPU and/or battery temperature. And what file list battery percentage?

Then I can really get down and release something epic. :D

Edit: no need for setcpu and if only I knew how to remove cm7 performance settings CPU control :rolleyes: then I'd have no worries at all about problems
[Hero CDMA Android Development] oostah:
what about all heros are different. some run at 264 for music and 352 for gps.
[Hero CDMA Android Development] :
No worries about that :) I need help finding files that display cpu/battery temperature and battery %
[Hero CDMA Android Development] :
If someone or myself can tell me their file names and location I can release today. :D
[Hero CDMA Android Development] oostah:
look up Perfect System Monitor on appbrain is that what you are looking for.
[Hero CDMA Android Development] :
I need to find a file in the root directory that keeps track of those values. I don't know how to use a app to tell the script what the value is so it can performn an action best for your phone based on the phones cpu/battery state
[Hero CDMA Android Development] lukieray2310:
Flashed new rom, back to cm7

I flashed kifno's gingersense but didn't quite like it as much as my regular cm7 v 7.0.0 but i was just curious if i have to flash my MP tweak v1.2 again. I had already flashed it before
[Hero CDMA Android Development] oostah:
i under stand now lol.
[Hero CDMA Android Development] :
Not everyone likes sense ui it's fine but yes you will need to flash that over. Now I found out how to display battery stats in terminal now I need to take that and use it to my advantage for my v1.5 script the light on v1.5 is finally shining and its getting brighter as I work on implicating new things to my working cpu script to optimize cpu clock speed and kernel settings and virtual memory based on screen state, or battery temperature, or battery percentage :)

If you all really want ill release v1.5 and it'll just be minor improvements to scripts and io tweak (MP version only) and screen state cpu & virtual memory & kernel optimization :) then ill continue work on v1.6 which will contain battery temp and percentage profiles ;)

Its up to you all
[Hero CDMA Android Development] :
The command to show battery stats is:

dumpsys battery

I'm trying to use its output values to my advantage if I can figure out how to dump its contents to a file. Then I'll use that file to create battery temp and percentage profiles ;) doesn't sound too hard just time consuming when working on script from phone :p
[Hero CDMA Android Development] :
Found out how to dump battery and cpu stats to phone. But!!! The files are too large to read on mobile. So I'm done scripting on mobile tonight until I can get on my desktop to read the file ;( but good news is I'm going to release v1.5 in the meantime I wouldn't want to keep you all waiting. I'm going to make 3 types of builds with 768 and 691 caps. Battery, Balanced, Performance. This will be awesome. Give me about 30 minutes to do so :)
[Hero CDMA Android Development] oostah:
cool man :D
[Hero CDMA Android Development] jaybob413:
Might be easier to just read the values from:

/sys/class/power_supply/battery/batt_temp - temp in C * 10 (i.e. 334 = 33.4 C)

/sys/class/power_supply/battery/capacity - charge percentage

These are both links to other sysfs files, but this is the non device specific path.
[Hero CDMA Android Development] :
/sys/class/power_supply is just an empty folder :(
[Hero CDMA Android Development] :
Will upload v1.5 tomorrow phone is dying and friend has charger :(
[Hero CDMA Android Development] jaybob413:
Should be present with kernels based on Decad3nce 2.6.29 and s0be 2.6.35. This includes any CM6/CM7 stock release or any other release using those.

Shows up using either for me.

# uname -a

Linux localhost 2.6.29.6-CyanogenMod #1 PREEMPT Wed Mar 9 16:21:31 EST 2011 armv6l GNU/Linux

# cat /sys/class/power_supply/battery/batt_temp

357

# cat /sys/class/power_supply/battery/capacity

100
[Hero CDMA Android Development] :
THE LATEST AND GREATEST UPDATE IS HERE! v0.6

a few more rom's are now added to the tweaked build.prop list and more tweaks have been done :)

hope you all enjoy :)​
[Hero CDMA Android Development] laie1472:
Im booting up now. About to download it and take it for a test drive. This mod is off the chain man. Major Thanks.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] Neo31697:
Ok I installed the new build prop for aosp 9.9.2 and my screen size is completely different. Is it supposed to be that way?
[Hero CDMA Android Development] hunterd13:
the dpi was changed to 140, i just changed it back to 160.