yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Oh I see... can you do a little summary?

At least for that last part :)

Also, by doing that, busybox will still be available at boot for init.d scripts, yes?

Yep... you must recall that I'm liking the 2's... v1.16.2, v1.17.2... etc... hehe

And yes, as you can see, I'm often asking questions and learning more all the time :)
[Android Software/Hacking General [Developers Only]] ashclepdia:
Yeah and it isn't just u. I have seen many many recommended version of busybox for different things and almost ALL of em had a 2 at end.

But u are definitely the most specific/pushy/in-love-with 2 lol

not that its a bad thing. I have fallen for 2 also. Never did me wrong(and neither did 1.19.0git adrenalyine...but that's just one of.many ;)
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Hey Zep I have no clue what zipalign is... is this something your going to add? sound interesting......
[Android Software/Hacking General [Developers Only]] wraithdu:
As long as /data is mounted when the init.d scripts run, then yes (and I assume that it should be).

This assumes busybox is installed in /system/xbin.

Essentially do this:

mount -o remount,rw /system
# remove busybox symlinks
cd /system/xbin
# the magic
busybox find . -type l | busybox xargs busybox ls -l | busybox grep busybox | busybox awk '{print $9}' | busybox xargs busybox rm -f
# create new busybox before removing old
cp /system/xbin/busybox /data/local/
chown 0.0 /data/local/busybox
chmod 06755 /data/local/busybox
/data/local/busybox rm /system/xbin/busybox
# create the main busybox symlink in /system/xbin
/data/local/busybox ln -s /data/local/busybox /system/xbin/busybox
# install applets
/data/local/busybox --install -s /system/xbin
busybox mount -o remount,ro /system

Make a backup before trying it to be safe... it is kinda late here :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It optimizes apk files

apps from market should already be zipaligned but sometimes system apps aren't... anyway it doesn't hurt to zipalign :D

Which reminds me... maybe I can also include the fix permissions... heh

Thanks dude... btw that includes that clean up command near the top right?

The one that you mentioned the other day...
[Android Software/Hacking General [Developers Only]] wraithdu:
Yep that long ass line. I used to use a shorter version, but some commands (like mount and ls) already exist in /system/bin symlinked to toolbox. Those come before the busybox symlinks in /system/xbin in the PATH, so they will be executed instead of the busybox versions and have slightly different output. So I played it safe and explicitly call everything from busybox.

Which brought to mind a neat trick... create a script anywhere, sdcard, /data, whatever like so...

/sdcard/bbenv.sh

#!/system/bin/sh
BB="busybox"
MOUNT="$BB mount"
GREP="$BB grep"
LS="$BB ls"
# etc for all commands you want

Now in any script you write you can dot source this script and setup some nice environment shortcuts to your busybox applets to save yourself some keystrokes and be certain you are using the correct commands (busybox vs toolbox). Like so...

# any script
# NOTE the space after the dot, very important
. /sdcard/bbenv.sh
$BB
$MOUNT
# etc
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yeah that is neat... just grepab the all the variables from the first script and use in any script :)
[Android Software/Hacking General [Developers Only]] jukalo:
yeah zepp the 6.3 work like a charm but the rc1 no stik, i dont know why but no stik and yes my launcher is die hard but the minfree and oom dont stik at all, y running with system as r/w and nothing, i hope you can help mi zepp i like so much this script make my poor wildfire fly like a superman with diarrhea xD
[Android Software/Hacking General [Developers Only]] pikachu01:
Hey Zepp,

My ThunderBolt! already has a working zipalign and sqlite VACUUM (to optimize the *.db sqlite files). You can just extract it and use it with Script Manager if you don't want for it to run every reboot. The zipalign script is intelligent enough to skip zipaligning already zipaligned files making it faster.

And REINDEX is not useful to optimize the database. Just VACUUM is enough.

http://www.mail-archive.com/sqlite-users@sqlite.org/msg06775.html

In my sig, as always :)
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Yeah if you modify the sequences then it makes sense to reindex. We're not sure what work is being done on all of those dbs. On my Nexus One I have about 150 sqlite db files. Running reindex on those takes a matter of seconds and if there were sequence updates then we're optimized. If not, we just lost 2 seconds of our life staring at script output. Since you're vacuuming, might as well reindex just in case a dev is doing more complicated db work than the usual inserts/deletes.
[Android Software/Hacking General [Developers Only]] chepphim:
Thanks you@!!!
[Android Software/Hacking General [Developers Only]] pikachu01:
Well, with VACUUMING, the phone already takes 15 seconds longer to boot (I run these at boot :P)

And changing the collation sequence, not the sequence. IMHO, changing a collation sequence is not commonly done after a database is created. In fact, I don't think any app would change its database's collation sequence without it being a major upgrade of the app itself.

For more info on collating sequence:

http://publib.boulder.ibm.com/infocenter/iseries/v7r1m0/index.jsp?topic=/db2/rbafzsortsequence.htm
[Android Software/Hacking General [Developers Only]] avgjoemomma:
Yep, I agree but I've had some apps go through major updates so you never know :p Try adding reindexing and you'll see it doesn't take up that much more time anyways. Who's going to complain about losing 2 seconds when they can sleep soundly knowing their databases are vacuumed and indexed to perfection i.e. optimized ;) The only thing better would be devs learning how to properly utilize databases but that's a loooooong argument nobody wants to get into :p
[Android Software/Hacking General [Developers Only]] ashclepdia:
I am sure a LOT would LLLLOOOVVVEE to get into that argument. Lol ;)
[Android Software/Hacking General [Developers Only]] avgjoemomma:
LOL yeah I've gotten into it a few times as I'm the guy that runs java app servers, hence my love of tweaks :p If I had a penny for every time a developer tried to blame bad app performance on the app server or even the server itself then come to find out it was just bad progamming...I'd be billionaire :D
[Android Software/Hacking General [Developers Only]] rast4man:
Just took the latest version for a test drive and WOW, what a difference. Kick ass job dude!

Regards,

rast4man
[Android Software/Hacking General [Developers Only]] pee-wee:
Little report (sory if it has posted before): Glitches fix fail work in sense 3.0, glitches shown again after apply supercharger...
[Android Software/Hacking General [Developers Only]] imported0:
Is this working on Hd2? I think i heard somewhere that it works untill phone reboots. :eek:
[Android Software/Hacking General [Developers Only]] Brignoud:
Please, what's changed? Since report log is "Last edited by zeppelinrox; Today at 04:01 AM. "

Attached files seems to be the same as longtime.

Thks
[Android Software/Hacking General [Developers Only]] sinkster:
quick question: I edit my build.prop with max events at 250. Which would take priority, the build.prop edit I add or the one in your script?

sinkster©
[Android Software/Hacking General [Developers Only]] gatorz77:
Is there a certain reason my phone won't let the minfrees stick?
[Android Software/Hacking General [Developers Only]] Balino:
Tried everything... It won't let minfrees stick!
[Android Software/Hacking General [Developers Only]] dereknas:
I think the values doesn't stick because we're running CM7. That's what I'm currently running now.
[Android Software/Hacking General [Developers Only]] HGhertel1:
The KAK - I/O Tweaks doesn`t fit to my phone.. terrible :p

Hopefully you can fix this zep ^^

Maybe it would be an idea to make this script easier to launch an app like

V6 SC APP.apk with a lot of scripts to activate with one or two/three clicks
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well... if REINDEX doesn't hurt anything I guess it wouldn't hurt to use it...

Kinda like showering after VACUUMING... not necessary but can feel good lol

Also regarding database optimization, I seem to recall that exporting the data and re-importing it will make it squeaky clean and fast. (But this may have been in regards to a foxpro database)

If so, is there an easy way to do that and would it actually be useful?

Dunno what that is... screen tear?

The one in the script.

I did a test and the one in the script ran later and is the one that stuck.

Use getprop command in terminal to verify.

NICE!

Regarding the non-stick... did you try VACUUMING?

bazinga!!

Now seriously folks, I think it has to do with busybox choking tripping on the #sleep 60 command in 99SuperCharger.

Some busyboxes (v1.19.1 for sure) will die right there with exit code 2 and not do anything after that.

So for those that have the non-stick situation try a busybox that ends with a 2.. like 1.18.2 or 1.19.2 OR gimme a few minutes and I'll upload something for testing...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep I want to make an app... have it market even!

Can you explain a little about how KAK don't fit? :p
[Android Software/Hacking General [Developers Only]] Shatterproof313:
Ive been out for a min but I see uve been WRKIN!! Wish you were apart of the devs working on cracking this phone I have ;). I was getting bootloops before with KAK but not with the new RC1, I cant wait to see what else you put together thanks.
[Android Software/Hacking General [Developers Only]] pee-wee:
Yes, every sense 3.x on HD2 has this problem and its fixed by glitches fix file...

But after I apply RC1 the glitch apear again (never happen in previous supercharger build)

I attach glitches file file
[Android Software/Hacking General [Developers Only]] HGhertel1:
I would love it if there were any app of your work on these Scripts :D

(The Idea you have only to check some checkboxes to start a script without script manager or something so that the options would be thinner) - my english is so baaad :)

eeehm and the KAK dont fit because i`ll get a screenfreeze after the I/O Presets and then when i restart the phone there are bootloops so i dont know why i can´t set the I/O tweaks :D

I love my Stone but the RAM ist so ugly-small.. that´s why i test many scripts of your work :p
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Yep!

Glad the new KAK is workin for you :)

What phone do you have again?

Yes it's the debug.sf.hw=1 that are in the supercharger entries (in local.prop or build.prop)

I've taken it out already so just delete that line.

BUT I see in your build.prop...

debug.performance.tuning=1
video.accelerate.hw=1

/me haz evil grinz!

muhwahahah...

You have a Milestone?

That's weird that you get bootloops because I don't... which ROM are you using?
[Android Software/Hacking General [Developers Only]] ashclepdia:
I also have those build.prop lines on my x2 running 2.3.4
[Android Software/Hacking General [Developers Only]] HGhertel1:
Yes, i use a Milestone in that way. Normally i use CM7 from nadlabak.. don´t know what happend..maybe i have to test it more often ^^ only once and then i get bootloops so i test it know again

And so a new test is ending in screenfreeze and restore nandroid.. thats horrible :(
[Android Software/Hacking General [Developers Only]] avgjoemomma:
No need to export and import thanks to the vacuum and reindex . Everything will be as optimized as possible. That's about all we can do from our side :)
[Android Software/Hacking General [Developers Only]] Balino:
I tested it on SenseOnFire too. Same thing.
[Android Software/Hacking General [Developers Only]] pee-wee:
Thanks for the clue heheheheh... ;)
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Hey Zep,

I found this link to a kernel with CWM but the guy that posted it says you have to adb into recovery from a PC to do a recovery, does that sound right?

http://xdaforums.com/showthread.php?t=991276&page=517

Appreciate any comments.....
[Android Software/Hacking General [Developers Only]] zeppelinrox:
If you pull the battery and try again it should work... as long as it doesn't bootloop... you can also clear dalvik and cache partition...
[Android Software/Hacking General [Developers Only]] Gage_Hero:
Yeah your right, wrong link how about this one Zep?

http://xdaforums.com/showthread.php?p=18754105&posted=1#post18754105
[Android Software/Hacking General [Developers Only]] Balino:
Currently using 1.18.2 busybox version. In the previous versions the script ran, actually it doesn't stick in Cyanogenmod 232, JokerDroid and SenseOnFire, all using 1.18.2 version.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Well it seems that the problem is that "the /system partition will not unmount properly"

I have no way to confirm that either way.

But if his method works... what the heck :p

Of course, I'd probably try and figure out a way to get it to unmount properly LOL

Oh... if you run /system/etc/init.d/99SuperCharger with script manager, will it give a green exit 0 or an error?
[Android Software/Hacking General [Developers Only]] dj-basher:
I cant get this running at all.

Followed instructions but no avail.

I selected option 0 then option 1 and it come up about lock home stuff so i said NO as im havent a clue if ive got that (im running Thiai3O3D rom) then it just went back to options 1-17 again. I tried to add widget to desktop but its not in there.

Im also running busybox v1.17.2

Someone please help and sorry for being a noob lol. Thanks.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So you selected 0 for scrolling speed and 1 to get status... didn't you try 2 to 9 to actually supercharge?
[Android Software/Hacking General [Developers Only]] amalio357:
I never saw a 1000HP option during the process....really dont know what has changed lol.
[Android Software/Hacking General [Developers Only]] dj-basher:
Help needed asap!

Followed this guide HERE as i couldnt get it working following this thread and now stuck in a bootloop. Just keeps comign up with LG logo then black screen, then LG logo again.

HELP NEEDED ASAP Please.
[Android Software/Hacking General [Developers Only]] Gage_Hero:
You need to select something from 2 to 9, the script tells you how mauch memory you have and what you should use but you do need to actually apply it before it will work.

---------- Post added at 04:08 PM ---------- Previous post was at 04:07 PM ----------

Pull the battery and then put it back in and reboot....