yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] pikachu01:
LENAROX, let me give you a good advice for your future well being. If you don't know something, or unsure about something, don't claim you know well enough about it.

It's the internet here, so there's no harm even if you get something wrong. Though the harm is when spreading that kind of knowledge to other people. If your half-truths are accepted by other people, it'll become dangerous enough that people might see it as a gospel, denying the actual truth and preventing people from actualizing the best that they could have in whatever they are doing. This does a disservice to the society as a whole.

It is alright to be a person that doesn't know everything, but it's disgusting to be spreading knowledge you know very little and then claim you have full knowledge about it.
[Android Software/Hacking General [Developers Only]] hoholee12:
hmm... then you should already have done about how to workaround that problem if you claim yourself that you have a full knowledge about it.
[Android Software/Hacking General [Developers Only]] pikachu01:
It didn't work. What is "ginyf"?
[Android Software/Hacking General [Developers Only]] hoholee12:
yeah i wouldnt claim about sth that is wrong and giving myself an embarrasment. why would anybody want to do that?

and i actually do lots of research before claiming that i have full knowledge about it.
[Android Software/Hacking General [Developers Only]] pikachu01:
But you already did.

1. The problem with boot hangs in Cyanogenmod ROMs aren't because of exec/background.

2. Some ROMs will hang at boot for quite some time if the scripts are processing something long running (e.g. doing zipalign or sqlite3 optimization) due to scripts not loading in parallel. This is mostly fixed by background-ing the process using & which I am already using.

3. You thought exec processes are automatically background-ed when you posted the command. When I tried to enlighten you about what exec actually does, you posted "I already know about this"
[Android Software/Hacking General [Developers Only]] hoholee12:
i already know what exec does, and youre telling me that again twice.:(

whats your problem?

oh btw, your claim that i thought exec would use a background is false. read my first post please.

---------- Post added at 07:53 PM ---------- Previous post was at 07:52 PM ----------

hmm... then you should've already done about how to workaround that problem if you claim yourself that you have a full knowledge about it.
[Android Software/Hacking General [Developers Only]] pikachu01:
Man, I don't know what the heck your problem is.

You said:

My method uses:

method &

It's a direct function to send the process to the background. You are contradicting yourself when you said my method "doesn't move the process to background"

And you said "creating a new thread shared by the same process doesn't mean it goes to background". I don't get what you are saying here. You're mixing up process and threads. How can a "thread" be shared by more than one process?

And you were incorrect in saying exec solves the problem as exec results in spawning a new process. It doesn't create a background process unless you specify it with a ampersand (&)!!!

And the main problem of this is, you don't understand the problem!!! The problem is caused by wait_for_fb_*. I can't be sure which CM kernel/ROM has the problem as certain Cyanogenmod versions will hang even if you do this in Terminal Emulator:

cat wait_for_fb_sleep OR cat wait_for_fb_wake

IT ISN'T A SCRIPT PROBLEM GEDDIT??
[Android Software/Hacking General [Developers Only]] hoholee12:
uhh...there is a two meanings of a process what i wrote there.

first: process of doing sth

second: system process.

you dont need ampersand if the process is already respawned. i dont understand what you think about meaning of a "background".

haha okay. if you know so much about the kernel, why not create your own? so that we can have an awesome kernel that doesnt have any flaws?
[Android Software/Hacking General [Developers Only]] pikachu01:
And now you're resorting to cheap pot shots. Is there a reason I need to create a kernel? I would want my tweak to be as universal as possible. Creating a kernel would defeat that purpose ain't it?

Exec creates a process to replace the parent process. If the parent process is not in the background in the first place, the resultant child process won't be in the background as well.
[Android Software/Hacking General [Developers Only]] Mantulis:
Hey can you stop embarrassing yourself here! Thanks.
[Android Software/Hacking General [Developers Only]] hoholee12:
hey, sheesh quiet! im learning something from him to advance my knowledge a bit more:D
[Android Software/Hacking General [Developers Only]] pikachu01:
If you're serious in learning something, then please stop with the "I already know" or claiming that whatever you've mentioned is the gospel truth. Instead, phrase it as a question e.g.:

Hey pikachu01, I don't know what exec does, will exec solve the problem?

Better yet, PM me and ask.
[Android Software/Hacking General [Developers Only]] hoholee12:
what i learned: some kernels have flaws, and rubbish rubbish(what i already know;))...
[Android Software/Hacking General [Developers Only]] pikachu01:
Seems that the knowledge I've given to you is wasted. Perhaps I should just stop replying to any of your posts and just call you an ignoramus?

In case you didn't know, I've provided these few bits of knowledge:

Can you differentiate threads and processes?

Can you differentiate fork/exec/&?

Do you know how init.d script work?

Do you know how wait_for_fb_* work?

Do you know that anything after exec is ignored?

And the knack to call whatever I've posted in the last hour as rubbish? You sir have won the Internetz.
[Android Software/Hacking General [Developers Only]] hoholee12:
you can put me on ignore list if you'd like;)
[Android Software/Hacking General [Developers Only]] :
Hi,

... Hum...

pikachu01 is the boss... :D, he is bringing some concrete stuff that you Lenarox it seems you can't (wan't) brings a reply, I don't speak about your thread but only here in this thread...

No "devs" can stop to fight, always the same thing about, tweaks (in general), kernel, rom's, etc... :confused::(

Maybe a guy is wrong here, no name, stop flamming in public place....

;)

I go out... :D

PEACE please... :cool:

I love this one, for example... The response is....
[Android Software/Hacking General [Developers Only]] Mantulis:
Thanks clearing for me what are you capable and your knowledge.
[Android Software/Hacking General [Developers Only]] hoholee12:
your grammar sucks bro. say no moar

this is just the type of a useless post that causes flames grow up again which just got calmed down.

뷁
[Android Software/Hacking General [Developers Only]] pikachu01:
After running out of ideas, you're now making grammar the root of the discussion?

That's a poor choice.
[Android Software/Hacking General [Developers Only]] hoholee12:
pikachu01

This message is hidden because pikachu01 is on your ignore list.

just helping turns out to be a flaming war.. then i dont have to be in this thread lol.
[Android Software/Hacking General [Developers Only]] pikachu01:
Helping out is well and good, but not with the wrong information.
[Android Software/Hacking General [Developers Only]] Mantulis:
Ignorance is bliss.

---------- Post added at 03:39 PM ---------- Previous post was at 03:10 PM ----------

I respect you for how you behave in this thread. All ways helping noobs and other people in here. All ways providing and offering help and waisting your free time digging through logs :D .So yeah i really like your personality and what are you doing here.

Keep up the good work.
[Android Software/Hacking General [Developers Only]] yew123:
You know someone's been proven wrong when they resort to correcting another person's grammar (especially when their grammar and spelling is terrible).

Anyway, just wanted to thank pikachu for all his hard work :)
[Android Software/Hacking General [Developers Only]] hoholee12:
Yeah well you didnt need to rant all over just for thanking op.

wow, you guys are terrible. Im outta here.

뷁
[Android Software/Hacking General [Developers Only]] muktheo:
hello Pika..Im on SGSi9000 CM10.1 4.2.2 JB

Ive a question..after launch mounti9000, its said "mount : nosuch file or directory"

then after launch sqlite_optimize, its said "Error : File is encrypted or is not a database" whats wrong or any advice for me..?

on terminal emulator, the resul of sysctl -a | grep vm is :

dirty ratio = 15

dirty background ratio = 3

vsf cache pressure = 150

so is my HH thunderbolted succesfully..?:confused:
[Android Software/Hacking General [Developers Only]] sherpa25:
Where can I get previous versions of LMK_Others? I'd like to get 60mb and 80mb LMK_Others for v2.9. TIA.
[Android Software/Hacking General [Developers Only]] pikachu01:
Sorry for the late reply. Work related issues.

Mount errors are normal.

sqlite_optimize errors are normal.

Your VM values aren't ThunderBolt! values. You have conflicting scripts that are overriding the values.

I don't have older CWM zips of LMKs. I do have older versions of main CWM though.
[Android Software/Hacking General [Developers Only]] sherpa25:
Thanks [MENTION=317792]pika[/MENTION]. I'm hoping someone would still have them and share.

For those who would be familiar, what are the differences between v3.0, 3.1 and 3.1.1? Will these be significant for the i9000 still running GB 2.3.6? Thanks.
[Android Software/Hacking General [Developers Only]] Sh4rKo:
thanks for your work pikach...

a question ....i have a sgsgti9000 with jb slimrom 4.1.2 and i have installed the cwm package....are they already running or do I have to activate them somehow like using smanager?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
The changelog is in the OP.

THE DIFFERENCE BETWEEN 3.1 & 3.1.1 IS 3.1.1 SUPPORTS MORE DEVICES. THAT'S IT.

IT WILL WORK FINE WITH GB and YOU WILL DEFINITELY SEE A DIFFERENCE.
[Android Software/Hacking General [Developers Only]] pikachu01:
I've updated my changelog to be more verbose :)

The main CWM's file (s98system_tweak) is already running if all the values you see are reflected (check first post on how to check the values).

The Script Manager part includes the remount/CFS and other scripts. Those scripts need Script Manager to run them.
[Android Software/Hacking General [Developers Only]] awesomeandroid:
Different value

Hi im using Slimbean JB 4.2.2 and in the init.d folder there's only 1 file which is the s98tweaks,

I've used terminal emulator but the number are not the same as written in the OP,

I got vm.dirty background ratio = 5 instead of 10,

vm.dirty ratio = 20 instead of 30,

vfs.cache pressure = 100 instead of 50.

Anything wrong here? or it's normal?
[Android Software/Hacking General [Developers Only]] pikachu01:
The VM Background Ratio and Ratio depends on your device RAM. About vfs_cache_pressure, it might be the kernel or app in your device that's overriding ThunderBolt!'s value.
[Android Software/Hacking General [Developers Only]] ernestnwanu:
Just wanted to say I have this up and running on a stripped CM 10.1. Very happy.
[Android Software/Hacking General [Developers Only]] natdanai:
Hi I'm using android 4.1 on mtk 6575 chinese mobile device.

After I flash CWM and try run sqlite_optimizer

it shows following error screen

and so on

Is it normal?
[Android Software/Hacking General [Developers Only]] pikachu01:
No, the CWM zip must've detected the wrong OS version as your phone might be giving out different OS strings. You should extract the sqlite3 binary from system_jb directory in the CWM zip.
[Android Software/Hacking General [Developers Only]] natdanai:
Thank you for advice. Now running again but with different error

How do I fix?

Thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
The sqlite3 tries to find all *.db files. Some of them might be encrypted or is not a database at all. That's the error and it's normal. No need to fix.
[Android Software/Hacking General [Developers Only]] natdanai:
Thanks for quick reply.

Please help me woth another question.

Now I just tried flashing

ThunderBolt-CWM libsqlite 4.1 JB addon v3.0.2.zip

but now my mobile struck in boot logo.

I have to flash restore to make it boot normally again.

Do I flash correct file?

I want to try libsqlite addon.
[Android Software/Hacking General [Developers Only]] pikachu01:
What's your ARM version? ARMv7? If not, the libsqlite lib needs to be compiled to a different ARM version.
[Android Software/Hacking General [Developers Only]] natdanai:
It's ARMv7 Processor rev 10
[Android Software/Hacking General [Developers Only]] pikachu01:
Might be compiled differently on your OS. Would need the source code for your ROM to compile it for you.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'm interested in implementing "Seeder"-like improvements into ThunderBolt! without actually implementing "Seeder". Anyone interested in it? I'll probably release an addon for it. :)
[Android Software/Hacking General [Developers Only]] soham93:
i am interested :D
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Definetly. Please Add crossbreeder affects aswell. (Ad blocker, Dns thingy for faster internet browsing, entrophy, etc)

http://xdaforums.com/showthread.php?t=2113150
[Android Software/Hacking General [Developers Only]] pikachu01:
You can use AdAway to do Ad blocking. It has an update feature as well. I don't intend to duplicate something an app can do better.

The DNS client is unnecessary as DNS caching is already employed by applications themselves (those that access the internet anyways).

Running a DNS cache may prove to be counter productive as it leads to overhead, eating up memory as well as processor time slices and the speed improvement is negligible as at most we spend 1% of our time and bandwidth to resolve DNS.

And one more thing. Having a DNS client might be counterproductive as well if some applications use clever ways to DNS resolve that ignores any requests received from the DNS client itself.

As I've said, I wanted to replicate entropy/seeder based improvements without running seeding/havege/Seeder or whatever /dev/random poking application in the background.
[Android Software/Hacking General [Developers Only]] dark_knight35:
Interested. How would this work then?
[Android Software/Hacking General [Developers Only]] pikachu01:
If anyone understand how Seeder works to improve performance even though /dev/random is not used at all in OSes > Gingerbread, they'll know what I will focus on :)
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Okieeee dokie lol... How can seeder be improved???
[Android Software/Hacking General [Developers Only]] pikachu01:
By not using Seeder at all. :)

Seeder by itself doesn't do anything to improve overall performance of the system.
[Android Software/Hacking General [Developers Only]] Midomad:
I hope so soon :)

Envoyé depuis mon GT-I9100 avec Tapatalk
[Android Software/Hacking General [Developers Only]] pikachu01:
You betcha :)
[Android Software/Hacking General [Developers Only]] natdanai:
After apply your script for 2 days (signed_ThunderBolt-CWM v3.1.1.zip,signed_ThunderBolt-CWM screenstate_scaling addon v3.0.zip)

to my chinese mobile (Note 2 clone using mtk 6575)

I notice significantly battery boost and also speed.

Now it seems like new phone.

Can't wait for your new addon "seeder".

Thanks for your great work and great support.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll see if I can release it tonight ;)
[Android Software/Hacking General [Developers Only]] Kurre:
Looking forward to see what you're going to build up this time :) I hope it's something different than just bumping cpu freqs up like seeder/etc ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
The angle of attack is the same, it's all about frequencies vs load. Just that, Seeder actually achieves it by doing useless stuff like seeding the /dev/random.

There's no other way of achieving better performance other than that (aside from what ThunderBolt!'s done).

If you have other ideas, I'm all ears :)
[Android Software/Hacking General [Developers Only]] Kurre:
No better ideas here :D

Yeah, that's true, it's all about load vs. freqs and finding the sweetspot :)

And as you said, it should be done in a better way.. I'm sure you'll come up with some nice solution for it.. :p
[Android Software/Hacking General [Developers Only]] pikachu01:
Would be testing some ideas tonight with a test/alpha release. ;)
[Android Software/Hacking General [Developers Only]] pikachu01:
Screenstate Seeder Alpha v0.1

Come and get it while it's hot.

Take note that this will conflict with screenstate_scaling add-on. The add-on automatically deletes the screenstate_scaling addon when installing this.

If you would like to uninstall this add-on, delete the "/etc/init.d/s98screenstate_seeder" using Root Explorer/Root Browser etc.

You will need to use the Ondemand governor to test for this. I'll add other governors as the alpha progresses.
[Android Software/Hacking General [Developers Only]] Starsream88:
I think the phone feel smoother with this new addons

Thank you pika :D
[Android Software/Hacking General [Developers Only]] pikachu01:
Thanks for the feedback. Just one feedback so far?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
About to try it out right now :thumbup:

Also, why does this tweak conflict with screenstate?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Nvm. I see you combined screenstate and the seeder tweak together.

Coming from Thunderbolt + Crossbreeder its a very noticeable.

Its laggier with the seeder like tweak.

I'm not sure if you have tried your tweaks with crossbreeder, but the difference is VERY noticeable. Scrolling is way smoother and typing is a lot more accurate.
[Android Software/Hacking General [Developers Only]] pikachu01:
Are you using ondemand governor?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Indeed. Along with SIO as my scheduler.
[Android Software/Hacking General [Developers Only]] pikachu01:
Crossbreeder as in the haveged tweak or with DNS and Adblocking? Which app did you try to perceive your lagginess?
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Yeah. The haveged tweak (Whatever that is lol).The DNS and Adblocking had little to with it(maybe).

I get lag on the app drawer of trebuchet, twitter, youtube and instagram.

My phone starts to lag when i scroll through the widget section of trebuchet.

And the transitions are not smooth when scrolling from picture to picture in instagram, as well as the thumbnails in YouTube.
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll tweak the alpha some more to see if I can replicate it :) Let's wait for tonight's release.
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
Indeed. I'm here waiting to test :thumbup:
[Android Software/Hacking General [Developers Only]] diestarbucks:
Right, now both threads have been cleaned. It's depressing to watch a couple people act in such a childish way. If you are a mature, respectful adult, act like one. If you are an immature adult, act like a mature and respectful one anyway, if you are an immature child, at the least you had better learn to act like a mature, respectful child. Whatever combination of characteristics any of you require to act like a mature and respectful person, you need to start using them now. This isn't daycare and I sure as heck did not bring enough juice boxes, and cookies to pass out to everyone. I'd be cool with some quiet time though. :good:

Cheers

-DSB
[Android Software/Hacking General [Developers Only]] pikachu01:
Testing screenstate_seeder v0.2. Stay tuned :)
[Android Software/Hacking General [Developers Only]] pikachu01:
Attached. As always, use ondemand to test it out and let me know of any feedback.
[Android Software/Hacking General [Developers Only]] ernestnwanu:
Running fine here on On Demand like you said.

Edit: This is the only difference though.

not sure if this is supposed to happen
[Android Software/Hacking General [Developers Only]] pikachu01:
Hey, thanks for the feedback. The mount errors are unrelated. They are normal. How about performance wise?
[Android Software/Hacking General [Developers Only]] ernestnwanu:
It's been wonderful. Applied the regular bolt, the screenstate + seeder add-on and the libsqlite add-on. Everything is noticeably faster.
[Android Software/Hacking General [Developers Only]] pikachu01:
How about battery life? How about the performance vs seeder? Does it replicate the performance?
[Android Software/Hacking General [Developers Only]] ernestnwanu:
Battery life: same if not better, should be able to tell more tomorrow. Performance: not really sure, it's been so long since I tried seeder (not many recommended it). I can say that my phone is snappier now
[Android Software/Hacking General [Developers Only]] pikachu01:
Ok great. Let me know if you run into problems.
[Android Software/Hacking General [Developers Only]] natdanai:
Have been testing almost a day but I was in office so cannot test much. but as far as I can tell. It seems faster. About battery I'll check it tomorrow.
[Android Software/Hacking General [Developers Only]] pikachu01:
Great. Thanks for the feedback. I've been testing screenstate_seeder v0.3 for about ~ hours now. I'll release it soon.
[Android Software/Hacking General [Developers Only]] pikachu01:
Here it is.

Changelog so far:

v0.1/v0.2: Increase down_differential/ decreased up_threshold

v0.3: Revamped the whole screenstate_seeder, adding ondemand level based tweaking. Some ondemand governors have special features (early_demand, down_differential, io_is_busy while others might not have it). I tweaked ondemand based on this fact to downlevel the threshold according to features available.
[Android Software/Hacking General [Developers Only]] ernestnwanu:
These values aren't right... I know you can change those with ROM Toolbox, but do you recommend it? I ask this because I know it also has options to tweak threshold

Edit: nvm, conflicting tweaks found
[Android Software/Hacking General [Developers Only]] OmegaBlaze:
I can definitely feel the difference on this one. So far, so smooth! I'll report back later with battery life results.

Also Pika, I would suggest you update the title of this thread to a more current date anytime you make a major change. This is good stuff.
[Android Software/Hacking General [Developers Only]] denzel09:
Thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
I'll probably make a new thread for this. Separate it out from ThunderBolt!. Is it better than Seeder so far?
[Android Software/Hacking General [Developers Only]] pikachu01:
Here's the link for the new thread:

http://xdaforums.com/showthread.php?p=40694269#post40694269
[Android Software/Hacking General [Developers Only]] Groot:
i got problems flashing the tweak, it says Error in installation (Status 0) why is that?

---------- Post added at 12:47 PM ---------- Previous post was at 12:24 PM ----------

may i ask where is the zip file of Thunderbolt which is compatible with JB? i cannot find it anywhere and maybe the reason why am i encountering this problems @ installations is because i am flashing the wrong one from the OP? thanks
[Android Software/Hacking General [Developers Only]] pikachu01:
Can you post your /cache/recovery/* files here (directly after you flashed ThunderBolt!). The main CWM, screenstate_scaling, libsqlite is JB compatible. What phone/OS are you using?
[Android Software/Hacking General [Developers Only]] eushaun99:
You have to change the update-binary in the zip with the ones that works for you.
[Android Software/Hacking General [Developers Only]] Groot:
yeah but i didnt flashed it first as I downloaded the signed-Thunderbolt! CWM.zip from the OP, i also tried to configure the zip file by removing the system gbics because i am using Sony Ericsson Xperia X8/Jelly Bean