yashsingh1/xdaforums huggingface dataset:
[Hero CDMA Android Development] laie1472:
Will all the new updated Zips make the screen size smaller ??? I didn't like that aspect of the 187 Zip. So I went back your old one. Hopefully I can please ask that you post a updated 187 with the normal screen size. Still an awsome mod.

Thanks for the hard work.
[Hero CDMA Android Development] :
yeah in this tweak i changed the screen size but i'll upload the same version just with the normal screen size for those of you who want the normal screen size ;)

i like the smaller screen so i wanted to know if some of you like but guess i should've made the v0.6 with the small and normal screens so you could choose :D

that is the quick fix bud nice job :D if you don't like the small screen size just change the dpi in the build.prop to 160 save and then delete the rsa, sf, and mf files from the meta-inf folder rezip and resign and reflash and reboot :D takes about 1 minute to do all of that :D (a lot of re's going on there loll :p)

no its just in this specific update i decided to change the screen size :) but i'll upload a version with the normal screen size and still has the up-to-date v0.6 changes :)
[Hero CDMA Android Development] laie1472:
Thanks man I appreciate it I like the normal size of the screen. I wear glasses and the new size really have me staring at the screen really hard lol. Thanks for the updates and I look forward to getting the 187 updates.
[Hero CDMA Android Development] :
THE LATEST AND GREATEST IS HERE! v0.6 (small dpi) and v0.6​

If you like the small screen tweak then use the zip file for your rom that has (small dpi) within the name

If you do not like the small screen tweak then use the zip file for your rom that doesn't have (small dpi) within the name. This version is the same as the on above it has all the latest and greatest tweaks of v0.6 just it doesn't contain the small dpi tweak.

EDIT: This version (v0.6) if freakishly fast on my phone for some reason....I like this one the best.

- kifno :cool:
[Hero CDMA Android Development] laie1472:
I got E failure no go on the zip on the regular size 187 zip

Edit I had to sign the zip. But after that all is well thanks for a great mod
[Hero CDMA Android Development] aplacetorest:
i flashed but didnt really notice a difference in anything at all..
[Hero CDMA Android Development] il Duce:
kifno, did you ever dl the JB redglass 12/31 and test? Also, I know you're busy, but if you could pm me at some point and let me know the tweaks, I'd appreciate it. Like I said I have already made some of my own tweaks and I don't want it to be redundant. Thanks.
[Hero CDMA Android Development] :
I'm at a wrestling tournament.....so I'll be busy today.

EDIT: I think I forgot to sign the normal v0.6 build.props I uploaded this morning. Sorry I'll sign them when I get home tonight everyone. As of now I'm focused on doing well in my tournament
[Hero CDMA Android Development] :
Just an FYI d/l the nfinite Stk.2 and got verification failure

Really appreciate all the time and work you are putting into this.For me this is a whenever I'll get this flashed when you have the time.Might have been on my part:(
[Hero CDMA Android Development] :
Check above post bro...
[Hero CDMA Android Development] :
Sorry must of missed that! Focus brother we all be here.Good Luck!!:D
[Hero CDMA Android Development] laie1472:
Good luck man.

Root-Hack-Mod-Always™
[Hero CDMA Android Development] :
I took 4th place! :cool: I'll be home and working on this tweak again in about 4-5 hours from now. I'm staying to watch my team now.
[Hero CDMA Android Development] dsMA:
I see you have a number of versions for the build file, as you went up in version number what were you changing and what were the results. Also what are the "small dpi" versions?
[Hero CDMA Android Development] :
Congrats!

Sent FromMy Pedal-to-the Metal Hero
[Hero CDMA Android Development] madeSICC:
Does aospGB already have this tweak in the newsest update or do we need new version

Congrats on your tournament too

Gingerbread is my only Hero!
[Hero CDMA Android Development] Drunkpilot:
60677. I use nfx and did a nandroid b/u to speed up the process a bit. I don't use firerat's for that because I would have to do a big mtd change as the system partition needs to be expanded. What radio do you have? That was updated too since the prl was 60671 I would think.
[Hero CDMA Android Development] :
Hmm ill compile deca's kernel again for myself and flash it and hopefully that works
[Hero CDMA Android Development] Pyr0TeK:
Status on upload or can you at least put the link up for v1.2 or something some of us can use that have had to recently rebuild our phones please?
[Hero CDMA Android Development] Pyr0TeK:
Radio version in my signature... also my MTD settings. I was able to use KifnoSense with my current MTD settings and was able to nandroid, flash KifnoSense, update PRL, nandroid back... simple and smooth. :)
[Hero CDMA Android Development] silberj:
Try this. It's from his universal scripts page.
[Hero CDMA Android Development] Pyr0TeK:
Thanks for that link... trying the [BL] v0.1 now... we'll see how it runs.
[Hero CDMA Android Development] oostah:
edit wrong info
[Hero CDMA Android Development] silberj:
response to above removed due to removal of comment :-)
[Hero CDMA Android Development] bobloiy:
does this tweak make your phone smoother?
[Hero CDMA Android Development] oostah:
im sorry i looked at his wrong it.:confused:
[Hero CDMA Android Development] silberj:
No worries, I was on the verge of freaking out. Been on vacation and thought I missed something. (Still a flashaholic, it's worse than a crack addiction).
[Hero CDMA Android Development] oostah:
i no what you mean look back a couple pages i posted where i had to flash the Verizon eris radio and evo prl to get my phone to get descent service. that was a today flash Marathon.:rolleyes:
[Hero CDMA Android Development] :
Enjoy post feedback
[Hero CDMA Android Development] :
Will update change log later I'm busy
[Hero CDMA Android Development] METHOD1911:
Cannot download getting 404 error

Hijacked aospCMod Darkhorse GB Hero
[Hero CDMA Android Development] oostah:
cool man i will see if it helps me out i havent really posted much feed back sense i moved and my coverage was bad. now i have a different radio and prl.
[Hero CDMA Android Development] Pyr0TeK:
Same... link has like a space in it or something...
[Hero CDMA Android Development] oostah:
i get 404 error two
[Hero CDMA Android Development] XGodOfModzX:
yaay kifno posted it on my birfday. thanks for the gift! :P

Sent from a delicious CDMA HTC Hero baked with Gingerbread covered in honey......mmmmm.....
[Hero CDMA Android Development] :
Yup ill check link lol
[Hero CDMA Android Development] Pyr0TeK:
It's like sitting down at a nice restaurant... they bring you steak, mashed potatoes, etc... and then tell you that you can't eat! LOL

also... add a close bracket ] after the [/CENTER :D
[Hero CDMA Android Development] :
Try new link copy and paste into browser

TESTING ONLY!!!!!!!!7

Balanced

691 Capped

http://db.tt/Vm26W59

Uncapped

http://db.tt/d7NF54d

Performance

Capped

http://db.tt/oh6ziWB

Uncapped

http://db.tt/x0manX5

Battery

http://db.tt/q2zdkUd
[Hero CDMA Android Development] Pyr0TeK:
I just flashed the [UNCAPPED] Balanced v1.5 and my phone is stuck on the white HTC boot screen for the last 4 or 5 minutes so far. :(

UPDATE: I pulled the battery... went back and flashed the 691 capped balanced... testing now... so far... stuck on white HTC boot screen. Going to let it sit for a few minutes...
[Hero CDMA Android Development] oostah:
i flash the performance uncapped and stuck on the splash screen two. cant get cmd to find device to try and fix permissions like i did before.
[Hero CDMA Android Development] Pyr0TeK:
I'd remove these links while oostah and I test these builds... :)
[Hero CDMA Android Development] Pyr0TeK:
You running Firerat's? Shouldn't be an issue, just wondering...
[Hero CDMA Android Development] jasonmaloney:
I just flashed the 691 capped balanced version on CM7 final and got stuck on the boo screen as well. So I took apart the zip and confirmed that THERE IS STILL AN INFINITE LOOP IN THE SCRIPT!
[Hero CDMA Android Development] Pyr0TeK:
I've tried 3 different ones now... all stuck on white HTC boot screen...
[Hero CDMA Android Development] oostah:
no im running UC's data2ext
[Hero CDMA Android Development] Pyr0TeK:
Thanks JM... :)
[Hero CDMA Android Development] Pyr0TeK:
I could never get that sheet to work for me for some reason... hmm...
[Hero CDMA Android Development] oostah:
i tried to flash the v1.4 over it to see if it would remove the the new script i thought they did. but it didnt work.
[Hero CDMA Android Development] Pyr0TeK:
I'm nandroiding back now... until something is resolved.
[Hero CDMA Android Development] oostah:
try this one you dont need to do any commands just flash and go.

http://xdaforums.com/showthread.php?t=957645
[Hero CDMA Android Development] Pyr0TeK:
Will give it a shot. Running Firerat's is sort of a pain in the @ss sometimes... lol.
[Hero CDMA Android Development] oostah:
that why i stopped using firerats.
[Hero CDMA Android Development] Pyr0TeK:
Yup... going to setup data2ext now. Thanks for that link... different from the one I was using.
[Hero CDMA Android Development] :
It's the sleep time take it apart and make it 80 in io and ssgs files :) my phone works with it just have to wait 4+ minutes on boot. Please test and report
[Hero CDMA Android Development] oostah:
any time :cool: just back everything up with titanium to be safe.
[Hero CDMA Android Development] oostah:
whats the path to get to to the io and ssgs files to make it 80?
[Hero CDMA Android Development] Pyr0TeK:
I flashed the Firerat remove .zip file... used the partition script for my sd card to get it ready for data2ext... flashed data2ext... white HTC boot screen! Freakin figures... time to dig in and see what screwed up...

UPDATED: hboot flashed Clockwork 3.0.2.4 to wipe out Firerat's... nandroided back to earlier this morning, flashed data2ext... booting up CM7 now...
[Hero CDMA Android Development] oostah:
what rom are you using and on the 1st part he has a apps2sd and a data2ext remover. for roms that you are all ready running. and did you have you sdcard partitioned before. i use ra recovery to partition my sdcard then mount sdcard in recovery put my files back from back up from pc them reboot then switch back to 2.5.0.7 recovery. its the long way but it works for me. i tried his partition and had issues with it. if you have cmd on pc i found some times if you get stuck on htc white screen you can do

adb shell

fix_permissions

after it runs then input reboot and it will work on some issues.

edit did you flash this unCoRrUpTeD-a2sd-copy-and-blast.zip: then this data2ext-V1: its for roms you are all ready running. if its a fresh rom install you only need to flash the data2ext-V1: then boot up some times you need to reboot phone for it work
[Hero CDMA Android Development] Pyr0TeK:
Updated my previous post... yeah booting up for first time now... then will reboot again.
[Hero CDMA Android Development] oostah:
you may not need to reboot cheek to see how muck space you have in manage apps. either way it should matter. lol
[Hero CDMA Android Development] :
/sys/class/power_supply/

shows 3 files in root explorer:

- ac

- usb

- battery

and in es file explorer that folder is empty!

how can i work with something i can't see :(
[Hero CDMA Android Development] oostah:
kifno i changed the ssgs file to 80 but could not find the io file. i reziped and flashed it its been on the splash screen for 6min now.
[Hero CDMA Android Development] oostah:
it shows up for me with cmd. i will look with rootexp and let you no when i get my phone rebooted.
[Hero CDMA Android Development] Pyr0TeK:
Now it's just bootlooping... damn... I may need to do a total wipe and rebuild with CM7.
[Hero CDMA Android Development] il Duce:
root exp = win

es file exp = fail

"developing" on your phone = bad

"developing" on a comp = good
[Hero CDMA Android Development] oostah:
try and flash both of the files first. the first one will remove any thing that may be making it boot loop.
[Hero CDMA Android Development] oostah:
i like the way you put things duce lol:D
[Hero CDMA Android Development] fowenati:
I'm afraid to flash this and get loops because I have to have my phone functioning sgabily this whole week
[Hero CDMA Android Development] :
This is in the testing stage but if you want i have an idea I KNOW will work. make the sleep time 160 in the ssgs file instead of 40. First boot will take forever but the 2nd boot and so on will be much faster compared to the first.

Its up to you though but 160 would make me scream b/c first boot would take terribly long. Because it'd hang at the white screen for a whlie as the phone keeps trying to execute the loop script on the boot process though the script keeps saying "wait fool i need to prepare myself for greatness" and the phone is saying "no start doing your job now!" and this goes on back and forth and eventually the phone leaves and moves on to the next script while the ssgs file continues to wait until the specified time is up. Hopefully 160 (2 and 2/3 minutes of wait time is longer than your boot process). If it is then you'll have to wait the leftover amount of time after the time it took for your phone to boot for the script to actually start :D
[Hero CDMA Android Development] :
anyone up for helping with the script (experienced heroc modifiers/tweakers/and devs only) please pm me :D

this is going into public developement :D
[Hero CDMA Android Development] Pyr0TeK:
That's why "nandroid" is your best friend. :)
[Hero CDMA Android Development] oostah:
did you get data2ext working?

kifno im going to try editing the files and see what happends
[Hero CDMA Android Development] Pyr0TeK:
Will let you know shortly... I partitioned my SD card completely and loading everything up from the ground up.
[Hero CDMA Android Development] oostah:
let me no please and sorry you had to start fresh but in the long run it will be easier plus its faster.:)

kifno it worked but this time i had to delete the ssgs backup file it made. will test more and see how it runs.
[Hero CDMA Android Development] jasonmaloney:
I'm curious as to where you found this information, because I was under the impression that this isn't how busybox works.
[Hero CDMA Android Development] Pyr0TeK:
Going to PM you... to keep this off Kifno's thread.
[Hero CDMA Android Development] oostah:
ok good idea
[Hero CDMA Android Development] :
Knowing how to use bash scripts and how to make them and how they work :)
[Hero CDMA Android Development] :
I knew it was sleep time
[Hero CDMA Android Development] laie1472:
Sup kifno hope all is good. Glad to see your still at it. Since your the bp man. Wondering if you will save me some time. I'm trying to raise the font size in the bp. Its at 160 is it up or down to make the font bigger??? I broke my glasses and have to wait until next week for the replacement pair. And this small as font is pissing me off. Thanks

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
its up 180 to make it bigger and therse a app int the market that will do it so you dont have to change your build prop.
[Hero CDMA Android Development] laie1472:
Thanks man. I just did 180 and it make the phone look stupid and not in a good way. Tried 175 165 and 180 all look crazy. I'll try the app and see how it works. This is one reason I'm looking forward to an upgrade

Yea its Me Again With The

Modified Hero
[Hero CDMA Android Development] oostah:
you have a pm
[Hero CDMA Android Development] 33hfl:
using LS 2.1.1 691 trying to install 691 performance . with recovery amon_ra 1.6

E:No signature ( 18 files )

E: verification failed
[Hero CDMA Android Development] jasonmaloney:
That doesn't really answer the question, considering Android uses the Almquist shell, which still has nothing to do with Android init.d behavoir.

Rather than being snotty, and since I wasn't sure of the flow of execution myself, I looked ut what it was actually doing.

Android doesn't natively have support for init.d scripts. CyanogenMod adds this by having init.rc call /system/bin/sysinit, which is just an sh script that calls busybox run-parts on /etc/init.d.

So here's the flow of execution:

init.rc calls sysinit

sysinit calls busybox run-parts on init.d

run-parts enumerates the files in init.d and executes them, one-by-one.

The source to run-parts shows that the run-parts function itself is blocking, meaning that it won't return until it is done executing. So let's go up another step.

run-parts is executed by /system/bin/sysinit:

/system/bin/logwrapper /system/xbin/run-parts /system/etc/init.d

So run-parts itself is being wrapped by logwrapper. The source to logwrapper shows it is also blocking by design. It has to be so it can log output. Let's go another step higher.

The sysinit script is executed by a line in init.rc:

exec /system/bin/sysinit

According to the Android init readme file:

exec <path> [ <argument> ]*

Fork and execute a program (<path>). This will block until

the program completes execution. It is best to avoid exec

as unlike the builtin commands, it runs the risk of getting

init "stuck". (??? maybe there should be a timeout?)​

But that's a little ambiguous. Did they ever add a timeout?

The relevant source from init in builtins.c says no (do_exec function in that file).

------------------------------------

Someone said they edited the sleep duration and this fixed their boot process. The only way I can think of that this would happen is for editing the file to also change owner/permission, which would prevent run-parts from being able to execute it. I would suggest also adding a verbose message to the script and looking for it in logcat to verify that the script is indeed still executing.

TL;DR -- knowledge of bash scripting syntax in no way explains how you know how init.d works with busybox and CyanogenMod.

EDIT: As stated previously, all you need to do is create a service. Read more about the Android Init Language to figure out how.
[Hero CDMA Android Development] :
Thanks :) JM glad to see we're helping each other. I in no way knew about ALL of this but I knew about most of it. So yeah I should create some messages and logcat and see if I see it changing values correctly if screen on or off. Also I'm probably going to ditch the simple-er method than I planned, infinite loops, and go another simple method to do this once on my desktop hehehe. Also can someone pm me good prices for a replacement Toshiba satellite l305-s5899 laptop AC charger and also prices for a battery? I got a new laptop but no battery or charger lol time to shop online. Then I can script, and compile, build, mod, tweak, and develop all day!!! BUT on topic again I'm going to make two types for next test release. Infinite loop and my other method. Still using bash scripting though to do so :)
[Hero CDMA Android Development] :
Receiving a new laptop charger in 4 business days :D OOOOOOOOOH S#%* THAT MEANS YOU'LL SEE MORE WORK IMPROVEMENT FROM ME THAN EVER!!!!!!! :D It'll be so I can use my laptop as a desktop because dog chewed my old charger and battery is like 4 years old and is dead I can't charge it anymore :( so I'm just going to use charger to run laptop as desktop! ! can't wait but on topic now I know how to make profiles now that all work and they'll be screen state based :D I have the script typed in my head but when my charger gets here ill have the script up and ready. Meanwhile I'm working on gathering a hero cdma tweak script team :)
[Hero CDMA Android Development] Bierce22:
Are download speeds more stable now I'm still on 9.4
[Hero CDMA Android Development] :
V1.2 is the best stable release everything above v1.2 is for testing purposes
[Hero CDMA Android Development] oostah:
kifno i think your older builds where faster this one dropped my speeds from other builds any thing after v9 is hard for me to compare sense i moved. i would like to get some of your older builds to comparer to i may have some on old sd backup on my pc. but here is what i got from this one
[Hero CDMA Android Development] :
Yeah this version sucks now compared to my new idea ill be releasing the day my charger arrives ;)
[Hero CDMA Android Development] Bierce22:
Wow oostah I thought my dl was,bad....,ouch lol
[Hero CDMA Android Development] jaybob413:
Agreed. There are plenty of examples of this including the SS4N1 scripts that append a service definition to /system/etc/init.local.rc as Jason previously recommended. First rule of software development, use what already works, and extend as needed. Plagiarize early and often (with proper credits). In my experience, the number one cause of defective software comes from moving too quickly to "Gentlemen......., start your keyboards!". The SS4N1 scripts are probably a very good place to analyze and leverage what works into a design for what you are trying to accomplish. If you completely understand what is going on there, you can probably design a solution that will do what you want, based on practices that are known to work.

<incoherent_rambling>

The challenge in learning SD (or any discipline) and the greatest obstacle is not "what you know you don't know", but "what you don't know you don't know". It is really easy to get to a sense of certainty as your knowledge of a particular domain begins to grow. When you are a master of the hammer, there can be a tendency to want to use it to pound in screws and rivets as well. It is difficult to see how much of the iceberg is still below the surface while you are focusing on the visible.

Being too sure of what you think you know can be dangerous (it is intuitively obvious that the world is flat after all). It has definitely had me tilting at windmills more than once (along with people much smarter than I am). Remember that seeing or hearing something doesn't make it true.

So I recommend that you question what you think you know, and reflect early and often on what you see and hear from others. Children learn faster than adults because they have less certainty and more curiosity. On the road to mastery, a mood of childlike awe and wonder will carry you along much further and faster than one of certainty.

The structure of your viewpoint is ultimately based on the domains:

What you don't know you don't know

What you know you don't know

What you know you know (or THINK you do)

The more you can move from the red to the blue and green, the more choices you will have. When you are convinced something is in the GREEN when it is actually in the RED, you will struggle accordingly. The problem for a lot of people is that they aren't even aware of the RED

and work as hard as they can to deny the existence of the BLUE.

</incoherent_rambling>

Anyway, apologies for the rambling, and good luck with your continuing efforts.
[Hero CDMA Android Development] oostah:
that was with the v1.5 lol but they are low you should have seen them before i did the radio and prl update ugh i could not talk on the phone or download any thing. :rolleyes:
[Hero CDMA Android Development] Bierce22:
I'm in the same situation I've tested every radio possible and .27 is my favorite I'm biggining to think sprint botched download speeds with prl 60677 because they were no were near this bad before and its wierd when I'm tethered it hits 1400kbs sometimes but then drops to 400-250kbs and hangs it drives me crazy I don't know what to do anymore I'm at a loss for words
[Hero CDMA Android Development] il Duce:
jaybob413 for VILLAGE ELDER !!!!

I love your zenlike posts and the nice comparisons you make. Awesome. I love you.
[Hero CDMA Android Development] fowenati:
I just randomly started hitting nearly 2mbps down and.5 up earlier today. Il post screenies in a min. Running v1.4

now at my house im only getting .5 down .7 up. Odd. I had 2 bars both times...
[Hero CDMA Android Development] fowenati:
I was getting this regularly
[Hero CDMA Android Development] unCoRrUpTeD:
FYI: There is a new app in the market called Battery Calibration that will reset your batterystats.bin file once the phone is fully charged, so you can use it and forget about it and not boot back into recovery..