yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I'll give it a shot and see what happens. There are some lines that I don't have at all. Were these already in your build.prop or did I miss something along the way?

max_recent_tasks=false

min_recent_tasks=false

app_switch_delay_time=false

max_processes=false

proc_start_timeout=false

cpu_min_check_duration=false

gc_timeout=false

service_timeout=false

min_crash_interval=false
[Android Software/Hacking General [Developers Only]] hazard209:
Like I said before, rafalo came up with it originally. I just added the missing lines to build.prop like I did when I originally typed in the null values.
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Rodger dodger, I wasn't sure if that was part of his tweak. Thanks, I missed the additions along the way.
[Android Software/Hacking General [Developers Only]] PieceKeepr:
Zep, I hadn't done this before but when I ran this ...

I don't see anything in brackets. It has to be using something right or you think that might be why I got the boot loop originally?
[Android Software/Hacking General [Developers Only]] hazard209:
Look at the last 7 lines of that screen cap that you posted. See where it says "[noop]"? There's brackets right around it.
[Android Software/Hacking General [Developers Only]] bgs_piece:
The brackets are in yellow:
[Android Software/Hacking General [Developers Only]] PieceKeepr:
OOOK, I was looking for something that resembled his example, with brackets at the end. So I only have one option right and there would be no point in trying to get the first version of the terminal tweak to work?
[Android Software/Hacking General [Developers Only]] pikachu01:
There are custom kernels that tweak other different schedulers like sio, vr and bfq and even cfq to be more efficient than deadline and noop.
[Android Software/Hacking General [Developers Only]] mayurh:
my issue is with the browser also

no matter which browser i use, it doesnt seem to stay in memory?

someone help us please?
[Android Software/Hacking General [Developers Only]] gersto:
Hmmm.... So why would option 12 be unable to change that to 0 but yet option 6 could. I like the settings that Zach put in xtrSENSE, and i was wondering if just adding in bulletproof would make it that much better.

Where would the file be that would have the launcher setting for "locked into memory". It doesn't exist in the GUI settings so i can't change it there.

I know here's probably a hack way of forcing it to 0 and keeping the rest as is but i'd rather do it cleanly.
[Android Software/Hacking General [Developers Only]] hazard209:
Well no. Technically you have 3 other options. But you have one of the preferred ones selected, I don't know if you want to change it. Which terminal tweak are you talking about?
[Android Software/Hacking General [Developers Only]] PieceKeepr:
I'm confused. According to what Zep posted here the one in brackets is the one that you are using and the others are options. I see the same line repeated with "noop" in brackets on each line. I was thinking that meant I have only one option and that might have been why the original 98KickAssKernelTweaksInstaller caused my phone to boot loop.

I was just trying to educate myself, not necessarily change anything, but I think I only succeeded in confusing both of us. :o
[Android Software/Hacking General [Developers Only]] sxg75:
Well it would be great to have all fixes applied to the script also in AOR-variant, which dates - from what I've checked - may 2011.
[Android Software/Hacking General [Developers Only]] hazard209:
Lol. Maybe just a little bit. :p

You're right about the one in brackets is the one being used. Noop and deadline are the preferred ones. I'm not exactly sure why multiple lines come up for that terminal command, but you should be able to choose any of the other options in that list. I was getting the bootloop as well when I ran the kickasskernel script, so I removed the io scheduler and replaced it with the lines I posted on the previous(or page before that) page at Zepp's recommendation. It worked fine for me, no more bootloops.
[Android Software/Hacking General [Developers Only]] matisraw:
Hi im new to supercharger, and i am running simply stunning for my OG Droid. And when i try to uncheck "Lock home in memory" its greyed out and it says, "If property file contains HOME_APP_ADJ=1, this will be unselectable" what does that mean? :confused: and what would be a recommended setting to use for the OG Droid.
[Android Software/Hacking General [Developers Only]] gidkid:
I must say, I've tried out many different purported "3G speed boosters" before, and none of them have helped much - some have hurt. This one, however, seems to help - SIGNIFICANTLY. With a very weak Sprint connection, I rarely get fast speeds, so this took my data from ~40 kB/s to ~85 kB/s - more than double.

I have yet to see how this impacts battery life, if at all, but so far, I'm impressed.

I'm running the 3G tweaks with the extra build.prop edits, in addition to the regular V6 SuperCharger update-8 tweak.
[Android Software/Hacking General [Developers Only]] drigerott:
this line in 98KickAssKernelTweaksInstallerUpdate2.sh.txt make boot loop in o2x like autokiller cfq tweak

i just edit those line in manual echo:

and all works perfectly hope this help ;-)

i think the real problem is that o2x don't like:
[Android Software/Hacking General [Developers Only]] csmoore88:
[MENTION=3357461]zeppelinrox[/MENTION] I didn't install any fix. Just new black dog 63457. Sorry if I missed a fix...was merely sharing what I experienced in case it helps. But all is well so. THANKS AGAIN!!

(clever signature_here)
[Android Software/Hacking General [Developers Only]] eushaun99:
I think he meant bd 63457_fix. It was posted in the same post of bd 63457.
[Android Software/Hacking General [Developers Only]] access9:
Nevermind

Edit: disregard, I'm a noob. I ran a old version by accident. Ran the new fix and it's all good now.

Performed a re-supercharge using the fix script and saw a lot of read-only filesystem errors. In addition, several files were created in /system with ${ro.hardware} in the filename. Screenshot attached.
[Android Software/Hacking General [Developers Only]] mixednuts:
weak Launcher woes...

ok... brought this up long time ago, however, new release of the ROM with new release of the kernel. After patching with Ultimatic the V6 script still says that the launcher isn't patched.

Even though I patched as DieHard, the bOOM Stick shows it as Bulletbroof LOL

Maybe the ADJ are OK the way they are?
[Android Software/Hacking General [Developers Only]] jader13254:
Using a old version of supercharger for the moment, it runs just brilliant... :D

Fixaligning etc is done via seperate scripts :p
[Android Software/Hacking General [Developers Only]] mixednuts:
weak Launcher woes (con't)...

Here is the same services.jar patched as BTP along with its Ultimatic log.

I've also attached the bOOM Sticks for both the unpatched and Bulletproofed services.jar

I don't see much of a difference, between the OOM of the DieHard and BTP, in this instance at least, is there?

EDIT: Also tried HTK - V6 script shows it as Web patched :D
[Android Software/Hacking General [Developers Only]] otterbvrn:
Your fixed update is nice...

No fc from launcher and gapps...

Not needed reflashing rom

I'll keep monitoring for couple days :D

---------- Post added at 06:13 PM ---------- Previous post was at 06:05 PM ----------

Your fixed update is nice...

No fc from launcher and gapps...

Not needed reflashing rom

I'll keep monitoring for couple days :D
[Android Software/Hacking General [Developers Only]] VnnAmed:
Does the order in which I install KAK, 3G, V6 matter?

BTW. Error?
[Android Software/Hacking General [Developers Only]] defiant07:
See attached. gl & ty :fingers-crossed:

[MENTION=5113073]eushaun99[/MENTION] - I dunno if it matters much, but your fixfc file starts somewhere in the middle of app 57 of 150.

[MENTION=4270387]VnnAmed[/MENTION] - I am quite certain order does not matter as each script is independent, totally autonomous of the others (i.e. you could use any one or any combination of the said scripts in any order at any time as desired).
[Android Software/Hacking General [Developers Only]] gu5t3r:
No. V6 always runs last...
[Android Software/Hacking General [Developers Only]] VnnAmed:
Fixed. Nite OOM fixes are not in effect...
[Android Software/Hacking General [Developers Only]] jasonkhoo87:
I have this S70darky_zipalign on x.init. Do i need to remove this? Scared is there any conflict to blackdog v6.. :)
[Android Software/Hacking General [Developers Only]] zeppelinrox:
Ignore that ro.hardware thing.

It's referenced by init.rc (an import command).

Looks like that's reference in init.rc isn't going away so I'll get rid of that.

So many files.

Just post the before and after smali files.

Oh... and it ain't patched - just like the script says and the boom stick shows

hah... you're missing out :cool:

Ok both of you edit the fixalign/fixemissions scripts.

Near the end you'll see

busybox find $file -type f -maxdepth 2 ! -perm $PERM -exec chmod $PERM {} ';'
busybox find $file -type f -maxdepth 1 ! -user $NEWID -exec chown $NEWID {} ';'
busybox find $file -type f -maxdepth 1 ! -group $NEWID -exec chown :$NEWID {} ';'

Change "chmod" to "busybox chmod" so it looke like this:

busybox find $file -type f -maxdepth 2 ! -perm $PERM -exec [COLOR=Red]busybox [/COLOR]chmod $PERM {} ';'
busybox find $file -type f -maxdepth 1 ! -user $NEWID -exec [COLOR=Red]busybox [/COLOR]chown $NEWID {} ';'
busybox find $file -type f -maxdepth 1 ! -group $NEWID -exec [COLOR=Red]busybox [/COLOR]chown :$NEWID {} ';'

Seems some toolbox chmod applets don't work the same as it used to.

I actually don't like that part of the script (it's from jrummy's fix permissions script) but that quick fix will do for now.

How did you fix? I would have suggested a reboot.

Looks like the OOM fix is in effect to me.

no conflict - V6 SuperCharger will take care of it by renaming it if you do fixalign or zepalign.

Thanks.

Yeah I was very tired last night but felt I had to get it figured out.

It was quite a bummer having such a bad bug after a big build up.

I feel better now that it doesn't cause havoc.

But still tired so I better hit the sack early tonite.
[Android Software/Hacking General [Developers Only]] mixednuts:
Strange that they weren't patched... didn't get any errors with Ultimatic.

ok... attached are the before and after for the HTK patch.
[Android Software/Hacking General [Developers Only]] gu5t3r:
[MENTION=3357461]zeppelinrox[/MENTION]

I think I suggested it once before, but wouldn't it be easier to distribute your busybox along with script?

/system/xbin/zeppbox ? And use it for all commands ?

Script would be easier to write (less code) as you wouldn't need to make it compatible with all roms and busyboxes?

You would just use your own, as most system apps use...

It would make life simpler... Less bugs and compatibility issues...
[Android Software/Hacking General [Developers Only]] robbayani:
ok.. i download fix and try again..

yesterday BD63457 also make my apps lost after zipalign..

report later..thx..
[Android Software/Hacking General [Developers Only]] defiant07:
Wow my toolbox is a pos, first rm now these. At any rate, so far, so good...calling busybox seems to have fixed the fix :good:! Although some apps were still buggy following reboot (e.g. Icon Themer), clearing the data and cache of the misbehaving apps squashed the remaining few insects.

Dunno if it is of interest, but the second chown values are still mismatched and most of the chmod values do not match. However, on the plus side there are no more "no such user" errors. lmk if you want the logs or any other info.

Many thanks :highfive:...get some well deserved quality sleep :angel:.
[Android Software/Hacking General [Developers Only]] eushaun99:
Well as [MENTION=5146220]defiant07[/MENTION] said, no more 'no such user' error, but there is still something wrong with chown/chmod especially with chrome. Here's the Ran_FixAlign.log. http://db.tt/mIm9Gr48

Really? It took me 10 mins to paste that stuff into a file using my tab lol. All the text editors I used crashes except for smanager's text editor. When I saw the ending part, I just hit save. Furthermore the file was almost 500kb, so I thought it was complete. :p
[Android Software/Hacking General [Developers Only]] defiant07:
Did you try clearing the data and cache of the misbehaving apps? It solved my problems.

Yeah, it started in the middle of Temple Run and it was a bit of a pita to get all that output...I ended up emailing it to myself via terminal emulator and copying and pasting that into a text file :silly:.
[Android Software/Hacking General [Developers Only]] eushaun99:
You're right, clearing data solved the problems. But I forgot to tell you that I still have 2 lines of 'no such user' error with SuperSU.

Edit: nvm, something's wrong with SuperSU. Uninstalled and installed koush's superuser and no more errors finally. Thank you [MENTION=3357461]zeppelinrox[/MENTION] and [MENTION=5146220]defiant07[/MENTION] for all your help. :)
[Android Software/Hacking General [Developers Only]] huseinn:
excuse me everyone., want to ask, I update my last V6 to blackdog edition yesterday (fixed one) , after I reboot, everytime I open the blackdog,

it say it found the outdated scripts and automagically run the smart script re-generator.., this happen everytime I run the blackdog., and at the

end of the 34 number option., it say the Fentropy Enforcer NOT in effect (after reboot, and this script say my kernel support it) :cowboy:

thanks before, kindman :D :) hehehe

:highfive:
[Android Software/Hacking General [Developers Only]] hoholee12:
heres a simple fix i made to get my busybox commands run first before the others.

#busybox applet generator
busyboxloc=$(which busybox | sed 's/\/busybox//g')
n=0
for i in $(echo $PATH | sed 's/:/ /g'); do
n=$(($n+1))
export slot$n=$i
if [ "$i" == "$busyboxloc" ]; then
busyboxenv=slot$n
fi
done
if [ "$busyboxenv" != slot1 ]; then
export PATH=$(echo -n $busyboxloc
for i in $(seq -s ' $slot' 0 $n); do
v=$(eval echo $i)
if [ "$v" != 0 ] && [ "$v" != "$busyboxloc" ]; then
echo -n ":$v"
fi
done)
fi

I find that this might be helpful for you, so im just posting it here.:)
[Android Software/Hacking General [Developers Only]] acestars:
maybe i found a bug on fix emission

if directory "lib" is on first list then the next directories will be chown-ed with 1000 maybe you should need other variable to save the original PKGUID.

i got FC on Titanium Backup after Fix Emission. On logcat it cannot access files inside "files" directory because the owner is 1000.

DIRS=\`busybox find \$DATAPATH -mindepth 1 -type d\`
for file in \$DIRS; do Get_PWN \$file
FNAME=\`busybox basename \$file\`
FPERM=771
case \$FNAME in
lib)PERM=755; PKGUID=1000; PKGUID=1000; FPERM=755;; <== PKGUID will be set 1000 for the next directories
shared_prefs|databases)PERM=660;;
cache)PERM=600;;
files)PERM=775;;
*)PERM=771;;
esac
if [ "\$PWN" != "\$PKGUID \$PKGUID \$FPERM" ]; then apply_permissions \$PKGUID \$PKGUID \$FPERM \$file; fi
busybox find \$file -type f -maxdepth 2 ! -perm \$PERM -exec chmod \$PERM {} ';'
busybox find \$file -type f -maxdepth 1 ! -user \$PKGUID -exec chown \$PKGUID {} ';'
busybox find \$file -type f -maxdepth 1 ! -group \$PKGUID -exec chown :\$PKGUID {} ';'
done

here is my workaround

DIRS=\`busybox find \$DATAPATH -mindepth 1 -type d\`
for file in \$DIRS; do Get_PWN \$file
FNAME=\`busybox basename \$file\`
FPERM=771; XPKGUID=\$PKGUID; <== my fix
case \$FNAME in
lib)PERM=755; XPKGUID=1000; XPKGUID=1000; FPERM=755;; <== my fix
shared_prefs|databases)PERM=660;;
cache)PERM=600;;
files)PERM=775;;
*)PERM=771;;
esac
if [ "\$PWN" != "\$XPKGUID \$XPKGUID \$FPERM" ]; then apply_permissions \$XPKGUID \$XPKGUID \$FPERM \$file; fi <== my fix
busybox find \$file -type f -maxdepth 2 ! -perm \$PERM -exec chmod \$PERM {} ';'
busybox find \$file -type f -maxdepth 1 ! -user \$PKGUID -exec chown \$PKGUID {} ';'
busybox find \$file -type f -maxdepth 1 ! -group \$PKGUID -exec chown :\$PKGUID {} ';'
done

I hope you can understand what i mean :D
[Android Software/Hacking General [Developers Only]] VnnAmed:
Re-flashed, deleted V6 folder, run the script again.

I know, but V6 says differently. Also since I switched fixalign and detailing to run on boot it seems like supercharging takes place after boot.
[Android Software/Hacking General [Developers Only]] justrhian:
Got this error running the scripts

Try using starterkit with busybox 1.19+zipalign+sqlite installed also the same

Ace2 on deodex jb 4.1.2 customrom,root and swap memory. Symlink system/app to preload

Any advice?
[Android Software/Hacking General [Developers Only]] hisname:
I am busy yo!!!still haven't played with the _fix script.till I finish my science homework first!!
[Android Software/Hacking General [Developers Only]] gu5t3r:
BUG on Applying Permissions on directories with space (you don't use quotes)

com.opera.browser (/mnt/asec/com.opera.browser-2/pkg.apk)
chown 1000:10135 /mnt/asec/com.opera.browser-2/pkg.apk ( was 1000:0 )
chown 1000:10135 /mnt/asec/com.opera.browser-2/pkg.apk ( was 1000:0 )
chmod 640 /mnt/asec/com.opera.browser-2/pkg.apk ( was 555 )
chmod 640 /mnt/asec/com.opera.browser-2/pkg.apk ( was 555 )

chown 10135:10135 /data/data/com.opera.browser/app_opera/Local ( was : )
chown 10135:10135 /data/data/com.opera.browser/app_opera/Local ( was : )
chmod 771 /data/data/com.opera.browser/app_opera/Local ( was )
chmod 771 /data/data/com.opera.browser/app_opera/Local ( was )

chown 10135:10135 Storage ( was : )
chown 10135:10135 Storage ( was : )
chmod 771 Storage ( was )
chmod 771 Storage ( was )

In live display I get error because non existing dirs and also find errors too...

I solved the problem for myself by changing for loop to echo "$DIRS" | while read file;

and by quoting all variables for files...

---------- Post added at 03:38 PM ---------- Previous post was at 03:37 PM ----------

Dir is "/data/data/com.opera.browser/app_opera/Local Storage"

---------- Post added at 03:50 PM ---------- Previous post was at 03:38 PM ----------

Found easier way to solve by IFS trick =)

No quoting needed XD

if [ -d $DATAPATH ]; then Get_PWN $DATAPATH
if [ "$PWN" != "$PKGID $PKGID 755" ]; then apply_permissions $PKGID $PKGID 755 $DATAPATH; fi
DIRS=`busybox find $DATAPATH -mindepth 1 -type d`
SAVEIFS="$IFS"; IFS="$(busybox echo -en "\n\b")";
for file in $DIRS; do Get_PWN $file
FNAME=`busybox basename $file`
FPERM=771
NEWID=$PKGID
case $FNAME in
lib)PERM=755; NEWID=1000; FPERM=755;;
shared_prefs|databases)PERM=660;;
cache)PERM=600;;
files)PERM=775;;
*)PERM=771;;
esac
if [ "$PWN" != "$NEWID $NEWID $FPERM" ]; then apply_permissions $NEWID $NEWID $FPERM $file; fi
busybox find $file -type f -maxdepth 2 ! -perm $PERM -exec busybox chmod $PERM {} ';'
busybox find $file -type f -maxdepth 1 ! -user $NEWID -exec busybox chown $NEWID {} ';'
busybox find $file -type f -maxdepth 1 ! -group $NEWID -exec busybox chown :$NEWID {} ';'
done
IFS="$SAVEIFS"
fi
[Android Software/Hacking General [Developers Only]] gu5t3r:
Update:

IFS="$(busybox echo -en "\n\b")"; can be replaced with IFS=$'\n\b';

Update2:

probably also can be replaced by only IFS=$'\n' as seems that \b isn't recognized by android sh...
[Android Software/Hacking General [Developers Only]] 1droidmod:
very nice.. great work!!!

XT912 RaZR SpYdEr CDMA PAC-manVO5
[Android Software/Hacking General [Developers Only]] joke19:
Hi,

can someone patch my service..jar please?

I have no pc in the moment .

https://docs.google.com/file/d/0B42aODIeRP-3N2F6WFBGNlJFaTA/edit?usp=docslist_api

Thanks

gesendet von jokey
[Android Software/Hacking General [Developers Only]] Jar3112:
Don't double post please. You already asked that in Ultimatic thread

Sent from my Galaxy Nexus
[Android Software/Hacking General [Developers Only]] gu5t3r:
DOH

After last test fix installation, I disabled FixAlign, FixEmissions and WheelAlignment on boot...

After first restart, Phone Boots BUT everything is LAGGY and Finally it just turns screen OFF... (I ran FixEmissions few times before reboot...)

And I can't turn it on again...

Restored Backup and tried again with unmodified script...same result...

I was using Black Puppy RC2 from the release day and it worked fine with no errors whatsoever...
[Android Software/Hacking General [Developers Only]] joke19:
Hi,

but not the wrong threat.

SO PLEASE HELP

with patching my service.jar.

https://docs.google.com/file/d/0B42aODIeRP-3N2F6WFBGNlJFaTA/edit?usp=docslist_api

Thanks

gesendet von jokey
[Android Software/Hacking General [Developers Only]] Prasad:
Stop spamming the thread.. PM me the file. I can help you.
[Android Software/Hacking General [Developers Only]] defiant07:
Seems I spoke too soon again...

Everything was working perfectly last night following several full reboots. However, this morning some bugginess reemerged - not as many as before, but still quite a few.

After conducting some experiments, I determined the act of powering off/on causes bugs to reemerge, but rebooting does not (e.g. when using Icon Themer the applied icons stick following multiple reboots, but they do not stick following power off/on).

I compared the bootlogs following reboot and power off/on and the only noticeable differences I could find were the order in which the apps were processed and that there were a few apps like Great Little War Game (line 149) and Anomaly Warzone Earth (line 196/219) that do not have any chown/chmod text in the power off/on log. I also found it interesting the only difference between the log contents for Icon Themer was the order in which it was processed (201 following power and 200 following reboot). I attached the logs should they be of any use.
[Android Software/Hacking General [Developers Only]] zeppelinrox:
So last time that it happened that your jar didn't patch, what was the problem?

Well in this case, it's toolbox's chown/chmod being difficult.

Any busybox version would be ok.

But I'm gonna redo that code so it's more "normal" and to my liking.

ok has to do with spaces in file names as gu5t3r pointed out.

Still happens?

well that fixalign/zepalign bug wasn't busybox related as mentioned above.

It's not that hard to have code that works will all busybox builds once you know the differences between desktop and non-desktop compiles.

eg the busybox versions with many "stat" options are compiled with the desktop option turned on.

hah... you were a day or 2 late on that one :p

check my fixed version lol

Do:

cat /sys/module/lowmemorykiller/parameters/adj

It's not busybox there either.

Did that happen before and still happens?

Ya I used the IFS trick when searching for services.jars on sdcard. ;)

ah interesting.

does IFS="\n" work?

Maybe I go too deep with the find command.

busybox find $file -type f -maxdepth 2 ! -perm $PERM -exec chmod $PERM {} ';'

maybe should be

busybox find $file -type f -maxdepth 1 ! -perm $PERM -exec chmod $PERM {} ';'

Would also avoid the spaces in folder name issue.
[Android Software/Hacking General [Developers Only]] VnnAmed:
Says: 0, 176, 352, 588, 705, 1000
[Android Software/Hacking General [Developers Only]] gu5t3r:
No, it needs to be IFS=$'\n'

But if you meant that, yes it works only with IFS=$'\n'

IFS="$'\n'" and IFS='$'\n'' and IFS="\n" and IFS='\n' DOES NOT WORK
[Android Software/Hacking General [Developers Only]] huseinn:
yep, still happen, this was my last screenshot when it Re-Generate the script...,

thanks before :) :D

:highfive:
[Android Software/Hacking General [Developers Only]] justrhian:
it happen after i upgrade using rc12. v6 running fine when i use rc11

but now this error happens when i try on both :(

i try using SuperCharger_Starter_Kit_RC12, but still got this error

any idea?
[Android Software/Hacking General [Developers Only]] Benjowee:
I always stock at freeze boot! :( In any rom everytime I patch services.jar, I try to remove everything baterry and sim card but nothing happen its stay the same :(

Anyone facing the same problem? :3
[Android Software/Hacking General [Developers Only]] hoholee12:
i dont understand what you mean by 'stat', but this code just edits $PATH of the current shell. nothing more.