yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] MikeJ92YJ:
As Far As I Know His Scripts Are Written To Work On Every Device/Carrier. That's Why It's So Impressive.
[Android Software/Hacking General [Developers Only]] b-eock:
Ok trying to use V6 supercharger and V8 kickass kernel tweaks and 3G booster on Cappy on leaked KF1 GB. There is no init.d folder in /system/etc/

If i just add one will it work?
[Android Software/Hacking General [Developers Only]] bgs_piece:
I have the 3g turbocharger installed and running correctly, however when I manually add these lines:

ro.ENFORCE_PROCESS_LIMIT=false

ro.MAX_SERVICE_INACTIVITY=

ro.MIN_HIDDEN_APPS=

ro.MAX_HIDDEN_APPS=

ro.CONTENT_APP_IDLE_OFFSET=

ro.EMPTY_APP_IDLE_OFFSET=

ro.MAX_ACTIVITIES=

ro.ACTIVITY_INACTIVE_RESET_TIME=

ro.MAX_RECENT_TASKS=

ro.MIN_RECENT_TASKS=

ro.APP_SWITCH_DELAY_TIME=

ro.MAX_PROCESSES=false

ro.PROC_START_TIMEOUT=

ro.CPU_MIN_CHECK_DURATION=

ro.GC_TIMEOUT=

ro.SERVICE_TIMEOUT=

ro.MIN_CRASH_INTERVAL=

to the build.prop I have issues when switching from wifi to 3g or 3g to wifi. When I reboot, if I'm on 3g everything works perfectly but when I switch to wifi I lose data connection and can't access web or market but I can make phone calls or send texts. The same thing happens if I start on wifi and then switch to 3g.

Does anyone know which one of these added lines could be causing the issue or if it could be something else?

I have already tried switching the enable.dtm=1 and enable.a53=1 both to =0 and no change.

Any help is greatly appreciated!
[Android Software/Hacking General [Developers Only]] Braneless:
My supercharger settings won't stick, even when "run at boot" is checked. Any ideas?

Evo 4g Evo Deck 1.3b 2.3.5

SZ2.2.1 bfs sbc kernel
[Android Software/Hacking General [Developers Only]] MikeJ92YJ:
I Had To Create The init.d Folder On My X2.
[Android Software/Hacking General [Developers Only]] b-eock:
Thanks just wanted to make sure this would work!
[Android Software/Hacking General [Developers Only]] twistedumbrella:
These are the issues I am referring to. Certain things, such as minfree values, will work on (almost) every device, other things need to have multiple checks and attempts to cover scenarios. I was in no way bashing the work, just offering the extra help but only to a developer willing to accept it.
[Android Software/Hacking General [Developers Only]] gu5t3r:
Can't send you logs now, scripts got refreshed because I deleted them manually...

I even thought I'm going insane so I downloaded FYL again 3rd time... Again deleted scripts manually in /system/xbin ...same result...

Viber has some DexLib.apk in /data/data/com.viber........
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Not home yet but think I got the problem.

Was setting the ApkFile variable.

Either removing the quotes or adding another \ works

So there is only 1 copy of that apk?

Oh yeah it is intended to find apks about 4 levels deep.

I just don't want to do both the internal sdcard (in data/media/0) and it's symlink /sdcard or /sdcard0 so that the same files aren't processed twice.

So there is actually only the one issue, right?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
OK "quick fix" is up... I just updated the post from yesterday.

I changed the version number this time so all the scripts should update automagically.

And did you know that on the black dog download post, I had put "Changedog" instead of "Changelog"?

I didn't notice till yesterday lol
[Android Software/Hacking General [Developers Only]] pitastrudl:
awsuuuuuum

Sent from my GT-I9505
[Android Software/Hacking General [Developers Only]] gu5t3r:
Issue is that ownership of apk is messed up, Viber app was the owner of file, now it's root:root.

Wouldn't it be easier that zepalign script reads apk ownership and permission before processing with zipalign tool and then sets the same ones back. You would not need to use FixEmissions to fix apk permissions... FixEmissions and FixAlign scripts are not bullet proof and can sometimes mess thing up.

This way, zepalign would preserve same ownership and permissions of .apk file and would be bullet proof.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ah it's supposed to do that.

Black Dog did that yes?

Seems I fubarred the logic when taking into account asec and vfat file systems... goddammitsomuch...
[Android Software/Hacking General [Developers Only]] gu5t3r:
Can't remember, but it doesn't do it now...

zepalign zipaligned 3 apks, and on all 3 I needed to fix ownership and permissions... one was in /system/app one in /data/app and 3rd one was that viber one...

...at least I keep up to task...things get complicated when I show up XD
[Android Software/Hacking General [Developers Only]] zeppelinrox:
ok fixed it... I hope...

This is bloody embarassing :P

Remind me next time to go back to test releases... LOL
[Android Software/Hacking General [Developers Only]] El_Dark:
One little trick for you to avoid the search in /storage/sdcard and the /sdcard symlink, be a little more racist and exclude symlinks ;)

if [[ -L "$file" ]]; then echo "$file is a symlink!! DO NOT WANT!!"

Spoiler: Don't know if it can be mixed with the -D flag to tell it it's a directory.. let me test it :cool:

HTH!

EDIT: Congratz for the 3rd year!!! :D 11K lines of awesomeness!!!
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Actually it's more a case of /sdcard being a virtual drive of sorts on some devices ie. the internal sdcard.

If you go to /sdcard/DCIM for example, all the photos in there are not symlinks.

They are real files.

If you delete them, they are really gone.

However, their REAL location is /data/media/0/DCIM

I wouldn't want to process files on both an internal sdcard and data/media/0 since that would be doing the same thing twice.

I suppose that I can stat file to get ownership.

The very same file will have different permission/ownership depending on where you're checking it.
[Android Software/Hacking General [Developers Only]] milojoseph:
cant wait for the next easter egg you will put in your ulmiate jar tool lml :D for kitkat
[Android Software/Hacking General [Developers Only]] iZLeeP:
Oh, I've already deleted 99Supercharger and rebooted. Now logs are pointing to S99Supercharger, no errors whatsoever. Anyway, I'll do a nandroid restore and try to replicate the error. How do I get a log of the error BTW?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
heh.

It's ok. I found where the error occurred.

It's not anything to worry about.

It was just trying to clean up a bit when there was nothing to clean.

Usually I put a muzzle on the output if that were to happen but I missed that part of the code. :p
[Android Software/Hacking General [Developers Only]] iZLeeP:
Ok. Love how the script calls out your name! I might have to change my gmail for that. Thanks zep! Now my devices are crazy fast!!!:D
[Android Software/Hacking General [Developers Only]] phonetool:
Congrats on 3 years and many thanks for a new release!

Woiks loik a chom!

I can't imagine ever having an android phone and not putting your script on it. You just keep making it better and better!

-MROM on DInc2

**edit

I've been pretty lazy the last few months with not fixing up issues on my phone. (shh- don't tell anyone, they'll take away my xda membership card)

One of the biggest issues was not being able to get a gps lock. Annoying.

I did search around and found a long list of complainers on a Google bug list. No joy.

After running the latest V6 I got a second wind and thought I'd attack the issue again. Did some looking around xda this time. Good old xda! How did I not search you earlier?

In order to refine my search I thought I'd run navigation in order to see the actual error message that I was getting.

Lo and behold gps locked in and navigation functioned flawlessly - even announcing the street names.

I can only attribute the fix to V6.

So, thanks again, Zep. The magic you work makes me happy.

/csb

-MROM on DInc2
[Android Software/Hacking General [Developers Only]] sawaldibali:
Doctor [MENTION=3357461]zeppelinrox[/MENTION]

thanks for cancer tutor, nice reading, and i'm not finished yet:good:
[Android Software/Hacking General [Developers Only]] gu5t3r:
Thanks, also for update, a nice feature would be to control bootloop check on/off. I'm always disabling it by commenting line that creates a cookie.

It happened few times that I supercharged someones phone who doesn't know to do it himself, and that they probably manually restarted phone while booting and when I look SC status after few day it was disabled...

Also, does Super Duper DeDuper has only one setting or you can put it in power saving mode? What values you recommend for KSM? battery/normal

...

Also, for Ultimate Patcher think you should switch to smali2/baksmali2 because your current patch script does not work with smali v2...
[Android Software/Hacking General [Developers Only]] gu5t3r:
When using sd-ext, /sd-ext/app is same as /data/app (binded/reverse mount), so you are checking same apk twice.

Also in zepalign, do you avoid symlinks for compatibility with Link2SD (although I don't use it) because it creates symlinks in /data/app and real files are in root of /sd-ext.

Dunno if this is solvable, because if you avoid scanning /sd-ext then when using Link2SD apks won't be scanned and if you don't then when using Mounts2SD apks will be scanned 2 times...

Now when I started thinking about it, maybe it's best to leave it the way it is...

Also maybe to reduce zepalign search depth by 1, it's taking long for script to start...
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Knowledge is power... :) :good:

hmm... maybe I can tweak the bootloop checking so it checks to see how old the cookie is.

My current Z1 doesn't have much development going on kernel wise so I don't have KSM at the moment.

I chose numbers that would make it not so overactive while still getting good benefit from it.

I guess it can be disabled with the screen off but if that happens, I think it will have to start all over again.

I always pack ultimatic the most recent version at the time of its release and it should use the version that is packaged with it so whatever ultimatic you're using, it should still work as expected.

But I've already been using v2 for next version.

I found a bug or two and let jesusfreak know but I dunno if he addressed it in v2.03

ah I forgot about the sd-ext thing :p

Thanks

I actually don't use the find command for that because it can be slow in some cases.
[Android Software/Hacking General [Developers Only]] eushaun99:
Not sure about pleasantly, but I sure was surprised. Good thing I was alone that time. :p

Now about fixalign, I've got tons of chmod blah blah lines everywhere. Was that intentional or an error? Attaching the log here.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
No errors there.

chmod is the command to set permissions.

It runs invisibly but I echo it for teh geeks... and to mess with your head lol
[Android Software/Hacking General [Developers Only]] gu5t3r:
I wanted numbers, you use 15XX/6000 for ksm in SC, is that only setting or there should be a second pro battery one?

Last time I patched CM10 services.jar with latest patcher RC10 script I got some errors when smali-ing back the classes.dex with smali v2.

With smali v1 I didn't encountered those errors.

Your Ultimatic_Jar_Patcher_Tools_RC7_TEST6_ALL_DEX_ALL_OSes_NO_FLASH.zip has smali v1.4.1 bundled although newer v1 v1.4.2 exists.
[Android Software/Hacking General [Developers Only]] hhp_211:
[MENTION=3357461]zeppelinrox[/MENTION]

thanks for 3 years of hard work!!!

I'm trying out your new v6 supercharger on [AOSPA] PARANOIDANDROID 4.1 BETA 2 kitkat ROM for the Samsung Fascinate SCH-500 :good:

with all its glorious 512MB Ram :rolleyes: nearly 370MB usable :rolleyes:

I wanted to throw something out that I haven't really seen in your threads called the "extra free kbytes tunable"

we currently us a stock value of 4500 on the fascinate,

but I have tested at other values [8192, 10280, 12288] as well with varying success, but I was also manually tweaking other settings too [prior to installing the v6 scripts]...

I'm wondering if it will make any difference in how you calculate the "min_free_kbytes" and/or other settings of the V6 Supercharger

for those of us that do have this option in our kernels..

here is what a cm commit had to say about it

Add a userspace visible knob to tell the VM to keep an extra amount
of memory free, by increasing the gap between each zone's min and
low watermarks.

This is useful for realtime applications that call system
calls and have a bound on the number of allocations that happen
in any short time period. In this application, extra_free_kbytes
would be left at an amount equal to or larger than than the
maximum number of allocations that happen in any burst.

It may also be useful to reduce the memory use of virtual
machines (temporarily?), in a way that does not cause memory
fragmentation like ballooning does.

[ccross]
Revived for use on old kernels where no other solution exists.
The tunable will be removed on kernels that do better at avoiding
direct reclaim.

Here also is anlther article found that gives some good info as well...

http://events.linuxfoundation.org/sites/events/files/lcjp13_moriya.pdf

look @ page # 23

where it describes how to use it to::

"Users can make the delta between wmark_min and wmark_low bigger than

burst alloc size and We can avoid direct reclaim !!"

here is another discussion from 2011 about in the linux kernel

https://groups.google.com/forum/#!topic/linux.kernel/JE6vmdPZE94

.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I only implemented one set of values based on whether KSM or UKSM is used and should have much better battery performance than default values.

Have you compared yet or tested to see what suits you best?

If 1.42 was out when the latest ultimate was released, I stayed with 1.41 because there were java memory errors when using 1.42.

Like I said, if you unzip the package it will use the correct version that's bundled in the zip.

If you use differing smali, baksmali versions, that won't work as arrays are handled differently.

oh thanks for the links/homework. :p
[Android Software/Hacking General [Developers Only]] gu5t3r:
I know, but what I meant is that you update script to work with smali v2 when you will be updating UJP for KitKat...

My stock CM KSM values are 256/500 (scan/sleep) on LG OG e975 and 256/1500 on Sony Arc S LT18i...
[Android Software/Hacking General [Developers Only]] atif4ever:
Can i use it??

i have htc one with 4.4.2..KK..ViperOne rom..
[Android Software/Hacking General [Developers Only]] RaphaelHam:
Im sorry. But no, if u use it. This world will come to its end.

If that happen, human race will blame on you, madara uchiha will come to earth n release the tendo gedou mazou, n madara will give you his number and you call him maybe...
[Android Software/Hacking General [Developers Only]] atif4ever:
haha so funny brother..thanks for giving your precious time for me..

i dont want to flash my again by full wipe..

thats why i ask..

i hate bootloops.
[Android Software/Hacking General [Developers Only]] RaphaelHam:
Just make a back up.

If something happen just format system n advanced restore via cwm.

Just try, n u'll learn something.

Also, don't run it in ur class, some bad story happened to me when i ran it in class [emoji12]
[Android Software/Hacking General [Developers Only]] zeppelinrox:
yes I pointed out that I'd been working with v2

Maybe I'll quote you on the download post lol
[Android Software/Hacking General [Developers Only]] RaphaelHam:
Im very glad lol.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
done.

hah
[Android Software/Hacking General [Developers Only]] iZLeeP:
Hi [MENTION=3357461]zeppelinrox[/MENTION], on my 4.0.4 phone, my wallpaper returns to the default one on superclean. Any idea why that happens? I checked the logs but nothing there.
[Android Software/Hacking General [Developers Only]] iZLeeP:
EDIT: So, i re-downloaded your script as its the latest version and updated V6. Same error (on GB phone only), but this time it also included superclean, failed on cleaning logs, etc. I wasn't able to get a screenshot of it though.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Not sure.

From where does the wallpaper get loaded?

Seems the default rm applet doesn't have the -f parameter available.

Do:

rm --help
[Android Software/Hacking General [Developers Only]] iZLeeP:
Wallpaper is loaded from Gallery.

rm --help failed, No such file or directory
[Android Software/Hacking General [Developers Only]] adrianyujs:
Means u don't have busybox.
[Android Software/Hacking General [Developers Only]] iZLeeP:
Wrong. The same busybox I used on all my devices is installed on this GB phone, Busybox 1.22.1 by Stericson. My ICS, JB, Kitkat devices works just fine. Even on the former, V6 script works except for the error mentioned.

EDIT: And how the hell did I PASS the Test Drive Report if phone does not have busybox installed?
[Android Software/Hacking General [Developers Only]] zeppelinrox:
It's not using the busybox rm but the toolbox version which is less robust.

I get around it by aliasing it with:

alias rm="busybox rm"

But it doesn't seem to work for that device.

Do the above command then after that do:

alias rm
rm --help

Another fix would be to delete the toolbox version in /system/bin so that the busybox version is always used.
[Android Software/Hacking General [Developers Only]] revanthina:
Finally 100% superchargere zep

Nyuk...nyuk... [emoji51]

And your script not recommend on class room

Four your lag man for your lag

Nyuk..nyuk
[Android Software/Hacking General [Developers Only]] iZLeeP:
Busybox v1.22.1-Stericson (2014-01-25 02:20:31 CET) multi-call binary.

Usage: rm [-irf] FILE...

Remove (unlink) FILEs

-i Always prompt before removing
-f Never prompt
-R,-r Recurse

EDIT1: Re-run V6 script, on exit (option 35), the following appeared at the bottom

rm failed for -fr, Read only file system

EDIT2: Getting some random reboots. 3 times now after the update. Will do a logcat on the next reboot.
[Android Software/Hacking General [Developers Only]] Lord_Flaya:
Spent a few days scoping the forum and google, but can't seem to find a reliable answer.. Is v6 compatible with kk and would someone please point me in the direction towards installing it? Been using it on my other ROMs and I just love it, been following the thread since day one. But can't get it to work on my cm11 defy.
[Android Software/Hacking General [Developers Only]] small2cats482:
I just installed it on CM11 on my Xperia U, and I can tell it worked without any problems and my phone is actually significantly smoother than ever before
[Android Software/Hacking General [Developers Only]] DenisRonaldo798:
Is it compatible with Galaxy S2 Plus :confused:
[Android Software/Hacking General [Developers Only]] zeppelinrox:
doesn't work in Singapore.

Ha.

But you're a page or 2 late on teh rm error.

It's nothing to really worry about as it just didn't find a file to remove.

It's annoying how it's not aliasing rm to use busybox rm tho.
[Android Software/Hacking General [Developers Only]] DenisRonaldo798:
If you can't or don't want to help me just ignore me....Ok!?!
[Android Software/Hacking General [Developers Only]] rignfool:
If you had read the OP...

You'd see that it works on almost every android version and phone as long as it supports init.d...

If you had read ANY of the thread... You'd have seen it as well...

And you'd have seen the 10,000 answers to the same exact question
[Android Software/Hacking General [Developers Only]] hisname:
found some gimmicks.

if [ ! "`busybox --help`" ]; then username=Baby
else username=`busybox grep -m 1 "\@gmail" /data/data/com.android.vending/shared_prefs/vending_preferences.xml | busybox sed 's/.*_\|@.*//g'` 2>/dev/null
fi

so if i were to remove my gmail, you are gonna call me "baby"?

edit: still couldn't figure out how you played the song.

ninja edit:

if [ ! "$music" ] || [ "$music" -eq 1 ]; then
if [ ! -f "$storage/Download/For_Your_Lag" ]; then
mkdir $storage/Download 2>/dev/null
echo $line
echo " wGetting a suprise for you... heh..."
echo $line
echo ""
wget -qO $storage/Download/For_Your_Lag http://goo.gl/Mdz7vW
fi 2>/dev/null
fi
echo $line
echo " It's... SHOWTIME!!"
echo $line
echo ""
sleep 2
if [ ! "$music" ] || [ "$music" -eq 1 ]; then
if [ -f "$storage/Download/For_Your_Lag" ]; then
if [ "`busybox find /system -iname stagefright`" ]; then stagefright -ao $storage/Download/For_Your_Lag &
else
LD_LIBRARY_PATH=/vendor/lib:/system/lib am start -a android.intent.action.VIEW -d file://$storage/Download/For_Your_Lag -t audio/mpeg
echo ""
echo $line
echo ""
sleep 2
fi
fi
[Android Software/Hacking General [Developers Only]] Madaditya:
Yes, don't you know

Hey Hey Baby... :p

[MENTION=3357461]zeppelinrox[/MENTION]- if gmail account is hit it says <boolean=true username@gmail.com>

if you could just truncate the @ gmail.com part people will start scratching their heads on how the f** does zep know my name :P

Yes,reveal the Music Gimmick code plz
[Android Software/Hacking General [Developers Only]] zeppelinrox:
I like making people wonder how I do stuff...

It provokes learning and paranoia... heh.

I guess I can makes it so it finds any email address lol

The music gimmick works better if the device has the stagefright binary because it totally runs invisibly with that and doesn't run a music app :p

The hardest part was making a nice mix from the song tho and making a sensible story from the lyrics.

Dozens of edits, fade ins and outs, mixing, rearranging, etc.

At 45 seconds that's an extended/looped and layered riff (2 parts of the song blended together) that doesn't exist anywhere else :cool:

Other stuff too like I changed it so he says "do you wanna cook it" instead of "don't you wanna cook it".

Added a moan to the beginning :D

I had done it a couple of months ago when I wasnt feeling like scripting :p

Anyway there's lots different from the original.[YOUTUBE]r_JCEcHZZHs[/YOUTUBE]
[Android Software/Hacking General [Developers Only]] nagpalkapil:
Its really true... Will remain true... U really make everyone wonder how u do things & how u do them so beautifully & brilliantly.:)
[Android Software/Hacking General [Developers Only]] Lord_Flaya:
Anyone besides me having trouble downloading the starterkit? Can't DL anyway I try.
[Android Software/Hacking General [Developers Only]] hisname:
how about including the binary in the starter kit?
[Android Software/Hacking General [Developers Only]] iDynamics:
You are a gentleman and a scholar. Fantastic work as always.