yashsingh1/xdaforums huggingface dataset:
[LG Optimus 2x] TrymHansen:
I stumbled into this thread by accident, but now that I'm here: Those of you who have init.d troubles, make sure you have installed busybox.
[LG Optimus 2x] ryaneu:
Hi TrymHansen, just to check with you, does your ramscript-fix happen to change the partition to ext4?
[LG Optimus 2x] TrymHansen:
No, I removed all of that. It does nothing but install the boot-image with the fixed ramdisk.
[LG Optimus 2x] ryaneu:
Thats strange indeed, I flashed your ramdisk-fix and then the HP RC8 kernel ,

noticed that my partition became ext4.
[LG Optimus 2x] TrymHansen:
I can find nothing in RC8-R which converts anything, the ramdisk-fix installer does not convert anything, and just to check I installed the ramdisk-fix+RC8-R on 20L, and my partitions are... ext4.

So I looked closer at the init.tegra.rc in the ramdisk, and it does mount the partitions as ext4, but the physical layout is still ext3 (no actual conversion has taken place), so I wouldn't worry about it.
[LG Optimus 2x] Craxx:
Hy TrymHansen, perhaps you can make a update for the ramdisk-script:)?
[LG Optimus 2x] TrymHansen:
That would be redundant I think, the way spica is doing it with this mod is much more elegant. He could just add some options for different configs. (The ramdisk-fix thing was just a quick and dirty fix for long boot times, I never dreamed it would get this much attention.)
[LG Optimus 2x] Craxx:
ok, if it is only cosmetic, i wait until spica fix the broken init.d support.
[LG Optimus 2x] -rumburak-:
Getting more screen/launcher redraws after install (using ADW launcher). Anyone else with this issue?

Spica, Trym, thanks!
[LG Optimus 2x] fire3d:
any news about the broken init.d ?

before i applied the perfomance pack init.d (oc via pimpmycpu) works ok, after performance pack oc is gone

after reboot

thx

fire3d
[LG Optimus 2x] antec123:
just flashed the HP performance pack, and it's so smooth. and yes the i/o scheduler switched to bfq. i bench the antutu read/write of sdcard: 16.1/9.1

so it's seems problem after applying this performance pack in init.d my supercharger script is broken too, and my internet tweak does too. i do install busybox ver 1.9.2 is that because the version of busybox too high??? busybox version not a problem, will wait spica to fix the performance pack ;) or maybe because v20j
[LG Optimus 2x] ryaneu:
I suspect it could be some of the changes he made to init.rc that caused this, but I might be wrong.
[LG Optimus 2x] spica1234:
Init.d fixed version uploaded on first post with auto-e2fsck during boot to prevent file system corruptions:)
[LG Optimus 2x] Lo_RaT_PeNaT:
thank you very much, downloading and installing, a question spica, has added the file to use andrew_OC, and thus pass the application of Trym, I was rather more practical than pimp my cpu, thanks again
[LG Optimus 2x] spica1234:
Nope i was in hurry but I'll sure:)
[LG Optimus 2x] spica1234:
Sorry but re-download please. There was an error in one line. ReUploaded:)
[LG Optimus 2x] spica1234:
Check new fixed version on first page. I've used ramdisk from 20L. And there was no init.d support in it. Added and recompressed ramdisk:)

Now this will add an init.d support even to those ext3 stock roms which doesnt have an init.d support:)
[LG Optimus 2x] Lo_RaT_PeNaT:
no problem to continue with the pimp that you can implement andrew_OC thanks.
[LG Optimus 2x] hotte001:
use of kernel

Sorry I am new

Spica can I use This Kernel with

http://xdaforums.com/showthread.php?t=1327949

thx for help

Hotte
[LG Optimus 2x] spica1234:
You mean with this ROM, yes obviously:)
[LG Optimus 2x] hotte001:
Thx will give it a try

works fine thx for that good work
[LG Optimus 2x] antec123:
great support you are, will test it.

edit:

my inet tweak script and supercharge is working thx for your fix spica
[LG Optimus 2x] ULJ:
How does one go back to EXT3?
[LG Optimus 2x] spica1234:
Good question, i will create an undo pack soon:)
[LG Optimus 2x] Dac0908:
Could this reboot issue be caused by mod: http://xdaforums.com/showthread.php?t=1333567 ?
[LG Optimus 2x] spica1234:
Nopeay be that app is in deny list of superuser:)
[LG Optimus 2x] parthabhatta:
Spica any plans for a mod or kernel for MIUI / CM7 as you said in one of your threads earlier.
[LG Optimus 2x] Dac0908:
You're right, thank you!

Deleted Superuser data, after restart asked me for all apps including Reboot, everything works now.. don't know how that happened :o
[LG Optimus 2x] fire3d:
After installing the fixed version i cannot enable Wifi after it was switched off.

before it works
[LG Optimus 2x] rosmarcelino:
Did you try to reboot?
[LG Optimus 2x] fire3d:
yip, but i think that this has to do with juice defender, after installing juice defender it seems ok.....
[LG Optimus 2x] Craxx:
No here same wifi takes too long to wake up. Spica perhaps you could degrease the timeout for wifi.

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] spica1234:
Toomorrow:)
[LG Optimus 2x] Craxx:
Hy spica which build.prop settings changes do you have in the pack? i think you take a lot from your 999switch (especially rescan wifi 180sec). Am i right?

and please how is the mount in a script before i can use the setprop?

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] spica1234:
Check /init.rc and init.tegra.rc to check setted setprop:)
[LG Optimus 2x] parthabhatta:
Thanks. Will wait eagerly for it.
[LG Optimus 2x] keiheep17:
thanks for hardwork

but when i patch it i just have a reboot loop.im using v10F rom
[LG Optimus 2x] Craxx:
Thx spica i find what i want:)

Wy do you make it this way and not like bpp with a init.d script??? so if you make a update for 999switch i think it would be comfortable for most users to adjust for their need.

...and please make a restore script to get back without cwm restore;)

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] diegonando22:
Fixed pack installed:

+ Faster responsive, wifi, gps ok, quadrant is ok 3400 with 1,2 oc

- I see slow scrolling lags on launcher, it doesnt happen on apps

Thanks for hard work!
[LG Optimus 2x] Craxx:
Hy spica,

what do you think abaut to use other ramscripts or supercharger? Could they give problems?:

1. setprop ro.HOME_APP_ADJ 1

With this setting supercharger is not so pretty, because the launcher should, when supercharger is used not keep in memory.

2. setprop ro.HIDDEN_APP_MIN_ADJ 25

It could be also some crashing, but the most time it works. I need it that Navigon keeps in Ram when a phone call is coming;)

http://xdaforums.com/showpost.php?p=16065977&postcount=1316

http://xdaforums.com/showpost.php?p=18252034&postcount=6764

Please correct me if i am wrong.

So to use setprop in int.d i could use a script like this:

#!/system/bin/sh

# Craxx

/system/bin/mount ext2 /dev/block/mmcblk0p1 /system nodev noatime wait;

/system/bin/mount ext3 /dev/block/mmcblk0p1 /system nodev noatime wait;

/system/bin/mount ext4 /dev/block/mmcblk0p1 /system nodev noatime wait;

# =========

#Default Aosp LockScreen

# =========

setprop user.feature.lock_andy false;

/system/bin/umount /dev/block/mmcblk0p1;

Is that right? Hope you correct me:)
[LG Optimus 2x] spica1234:
/System/bin/umount doesn't work.make an init.d script with #!/sbin/sh

/sbin/umount /system

Just bcoz partitons are removed with sync.set priority of mount aftr extracting ramdisk and edit init.tegra.rc for mount priority. Although if ext3 has removed journalism it will mount as ext2. add journalism to let it be auto mounted in ext3:)
[LG Optimus 2x] Craxx:
Hy spica, thx for answer:)

Like this?

#!/sbin/sh

# Craxx

/sbin/umount /system;

# =========

#Default Aosp LockScreen

# =========

setprop user.feature.lock_andy false;

/sbin/mount /system;

or

#!/sbin/sh

# Craxx

/system/bin/mount ext2 /dev/block/mmcblk0p1 /system nodev noatime wait;

/system/bin/mount ext3 /dev/block/mmcblk0p1 /system nodev noatime wait;

/system/bin/mount ext4 /dev/block/mmcblk0p1 /system nodev noatime wait;

# =========

#Default Aosp LockScreen

# =========

setprop user.feature.lock_andy false;

/sbin/umount /system;

I am a light noob on linux;)

.... and the journalism thing i dont understand....

Perhaps you can post the script if i ask kindly;)
[LG Optimus 2x] diegonando22:
is it posible to get performance pack with sr1?
[LG Optimus 2x] Flix123:
The performance pack is really good, scrolling in V20L is much better than before.

But the boot time is still long.

Maybe you can fix boot time and make scrolling even better than now, when V20 kernel sources are out.

But one thing:

In the settings it shows only LG Version "poweredby Horse Power Performance pack" instead of "V20L".
[LG Optimus 2x] antec123:
yes spica, the boot time take a long time i use your HP performance pack with GR4
[LG Optimus 2x] Flix123:
Root Explorer etc. is slower with ext2, I think.

Is there a way to use Performance Pack on EXT3 without wipe data and system?
[LG Optimus 2x] rosmarcelino:
Only two things to complain:

1° - The Wifi error that is solved by rebooting,but a real fix would be great.

2º - Is there a way to get a reboot button/option? Cause if I need to do it,I need to shutdown the phone and than start it again..
[LG Optimus 2x] Craxx:
Hy spica,

what is about a little help about the setprop init.d script;)
[LG Optimus 2x] spica1234:
Setprop works with init.d script. If you want to apply and need not to be changed by any app. Just add ro b4 it:)
[LG Optimus 2x] Craxx:
Hy spica

First or second script?

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] spica1234:
Those mount s ext2/3/4 only works in init.rc not in init.d scripts cause init.rc first executes:)
[LG Optimus 2x] antec123:
in my opinion, the performance pack doesn't slow the apps data. it's faster than ext3
[LG Optimus 2x] yukkio:
I have problems with youtube and video streaming like YouTube mobile version or vimeo, I can't play any video. No problem without this patch.

Enviado desde mi LG-P990
[LG Optimus 2x] yukkio:
Here's the logcat for the youtube app crash:
[LG Optimus 2x] wapz:
after applying this my phone's screen went black twice coming from sleep in one evening, not responding anymore having to pull battery. restored backup of stock v20l, still have to find any custom kernel or mod ever for the LG o2x that improves stability. never ever been able to run 50+ hours with any mod.
[LG Optimus 2x] spica1234:
I will check it thanks for reporting:)
[LG Optimus 2x] TrymHansen:
Morning Spica. I was checking out something entirely different, and had a look at your tegra.init.rc. There are a few mistakes in there.

setprop persist.sys.purgeable_assests 1

should be

setprop persist.sys.purgeable_assets 1

ro.debug.performance.tunning 1

should be

ro.debug.performance.tuning 1

...which brings me the the next matter. I don't know if you know something I don't, but I also think a lot of the properties you set, like ro.debug.performance.tuning should be without the "ro.", in other words "debug.performance.tuning". Please correct me if I'm wrong.
[LG Optimus 2x] Craxx:
Hy TrymHansen,

i decided to restore a backup without performance pack. So i use only v20l with hp rc8-r and your ramdisk-fix for faster booting. I don't want to adjust settings in build.prop i want a init.d script to make the settings. Perhaps you can help me to do the settings right. So please give me a little script to use setprop with your ramdisk-fix. Without i get it to work....

Best regards and thanks in advance

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] diegonando22:
+1

V20l + ramdisk + SR1 = :D ... Ive just missed supercharger and other tweaks from topos'room :p
[LG Optimus 2x] Craxx:
Me to, hope his father get health and he finding time to go further...I wish him the best.

Craxx;)

Send from my 2x with Tapatalk :)
[LG Optimus 2x] TrymHansen:
I'm not quite sure what you're trying to achieve. I looked at your example at the top of the page where you try to change lockscreen.

I mimicked your setup, ramdisk-fix + SR8-R. I then made a simple script which set the user.feature.lock_andy to false and user.feature.lock_sui to false (I have the last one set to true in my build.prop.)

So if it was possible to do this via an init.d-script I should get the stock lock-screen. I got the sui one. (I assume the values are read from build.prop or the properties quite early in the boot process and used later, so changing them via init.d, if possible at all, is probably too late.)

I verified that the script had run, and indeed upon running "getprop | grep user.feature" it returned the values I had set in the script.

Can you please tell what you're trying to achieve, and why you don't want to edit build.prop?
[LG Optimus 2x] Craxx:
....sorry TrymHansen,

now i recognized that all init.d scripts don´t work. Maybe because i am on odexd Version. But i thought with HP RC8-R init.d support should be integrated? Hmm at the moment i don´t know why it isnt working...? I fashed your ramscript and after that the HP RC8-R Kernel....

So maybe you have a advice, that i have a mistake?

Otherwise a i have time this evening to check again and flash another version like Hell_97´s V20L with init.d suppert.
[LG Optimus 2x] TrymHansen:
If you have installed ramdisk-fix, then SR-8, then init.d should work (it does here. Installed on top of completely stock 20L.)

Have you installed busybox?
[LG Optimus 2x] Craxx:
Yes i have installed. But in wrong directory, now busybox 1.19 is installed in system/xbin and init.d works. But only the OC scripts..?

Please could you post your test script to change the lockscreen for example:)
[LG Optimus 2x] TrymHansen:
There are a few things you must observe to make working scripts.

1) They must start with this line: "#!/system/bin/sh"

(In linux you can run several different shells. The first line defines which shell the script is to be run in, in this case the "sh" shell.)

2) When editing the files you must use an editor which uses the right encoding and end-of-line characters. On linux any editor will do, on Windows do not use Notepad, use for example Notepad2 or Notepad++.

3) You need to set the "execute"-bit in the permissions for the file for the owner. You can use "adb shell chmod 755 /etc/init.d/yourscript" for this.

4) Similarly, the owner of the file must be set to root, do this with "chown" if it's not already set. (You can see current permissions and owner by typing "ls -l".)

5) You can see which sequence your scripts will run in by typing "adb shell run-parts -t /etc/init.d". You can also run them for real (to check for error messages etc.) by typing "adb shell" then "run-parts /etc/init.d".

6) It's always best to start with a working script and modify that than to start with a new one. So you can type "adb pull /etc/init.d/bpp myscript" to get the "bpp" script in a new file called "myscript", then edit that before pushing it to the phone.

Here's a testscript which will set the property "init.d.works" to "1".

#!/system/bin/sh

setprop init.d.works 1

After phone has booted, type

adb shell "getprop | grep works"

If you see the property listed, the script was executed. If not, start debugging.
[LG Optimus 2x] Flix123:
Hey Spica,

will you make an even better performance pack with even better scrolling and shorter boot time on V20L?

Maybe you can fix gps is only working if it's activated at boot in V20L?

You could make the V20L perfect!;)
[LG Optimus 2x] Craxx:
Hy TrymHansen

very much thx for answering:)

Now i installed adb and make some tests:) and lerned very much;)

1) They must start with this line: "#!/system/bin/sh"

= ok

2) When editing the files you must use an editor which uses the right encoding and end-of-line characters. On linux any editor will do, on Windows do not use Notepad, use for example Notepad2 or Notepad++.

= i use Notepad++

3) You need to set the "execute"-bit in the permissions for the file for the owner. You can use "adb shell chmod 755 /etc/init.d/yourscript" for this.

= i do it with adb

4) Similarly, the owner of the file must be set to root, do this with "chown" if it's not already set. (You can see current permissions and owner by typing "ls -l".)

= yes it is root

5) You can see which sequence your scripts will run in by typing "adb shell run-parts -t /etc/init.d". You can also run them for real (to check for error messages etc.) by typing "adb shell" then "run-parts /etc/init.d".

= good for check and there i get

---> can´t execute ´system/etc/etc/init.d/999test`: No such file or directory

---> after that i do it like you wrote in 6.) and it work to make a setprop:) !!!

6) It's always best to start with a working script and modify that than to start with a new one. So you can type "adb pull /etc/init.d/bpp myscript" to get the "bpp" script in a new file called "myscript", then edit that before pushing it to the phone.

= goog advice!!!

I made a small script "999test" for testing:

#!/system/bin/sh

setprop user.feature.lock_andy false

After reboot in adb i get with:

adb shell "getprop | grep andy"

[user.feature.lock_andy]: [false]

=> so the setprop was correct working. BUT the unlockscreen is the normal unlockscreen....

Where is my fault????
[LG Optimus 2x] TrymHansen:
Yes, that's why I wrote it, I've seen the same myself. You don't have to worry about setting the right encoding in the editor if you start with an existing file. (You will also get that error if /etc/init.d is your current directory. So first type "cd .." or "cd /" to cd out of it, then do the run-parts thing again.)

Nowhere. Your script is working. The thing you are trying to do does not, and will not.

You are modifying the property *after* it has been read by the system, and you cannot do anything about that. To change these properties so that the system will actually *use* the changes, you need to modify build.prop.
[LG Optimus 2x] Craxx:
hmmm but with the 999switch from spica times ago it works....?

So perhaps i need a mount before setprop?
[LG Optimus 2x] TrymHansen:
Really? Ok, I take that back then.

I'll do some investigating...
[LG Optimus 2x] Craxx:
Hy TrymHansen,

perhaps there is a solution...:)

Nice to hear about your investigating...

When i am thinking right was this BEFOR the ramdisk thing. I don´t know if that changes the things...?
[LG Optimus 2x] TrymHansen:
I am not able to replicate what you describe, sorry.

I've installed the performance pack on top of stock, i've run the 999switch-script. The script sets the properties, but many of them have no effect. (Spica says it will disable the boot-animation, but it's there. Enabling/disabling lock_andy - no effect. However, properties like persist.adb.notify work - as expected, as that likely gets read when the UI starts, not early in the boot.)

I'm probably missing something basic, but I just cannot duplicate what you're saying is possible.
[LG Optimus 2x] Craxx:
ok TrymHansen i think it is possible that i not recognized that it was with no effect, but the settings was in the 999switch.

Anyhow i changed the build.prop:)

THX for your help very much, because now i learned the adb things;)
[LG Optimus 2x] KillerbeeNL:
Installed the HP PP and all was okay until i woke up from nightshift and want to go from 2G to 3G ...no service...flightmode on/of and reboot..no service on both 2g/3g.

Okay restore from CWM and all is fine i tought.

Bootloop because ext3-ext2 conversion i think so back to your kernel and at least booting and 2g/3g is fine again.

If i want to go back to orginal kernel is there an uninstall version like ext2 to ext3 ??

EDIT i have v20L odexed rom with root...

thanks
[LG Optimus 2x] Craxx:
you can flash this with cmw:

http://xdaforums.com/showthread.php?t=1126842&highlight=ext3+back
[LG Optimus 2x] KillerbeeNL:
So far all is good now with ext2 but this is great , downloaded already to sd if i need it THANKS !!!
[LG Optimus 2x] Flix123:
I'm using Performance Pack V1 now. Can I flash V2 now without any "risks"?

Is that a final version? Why the bad smileys?;)

And please give the changelog.:)
[LG Optimus 2x] yukkio:
Gonna try ext4 version, I hope YouTube bug is gone:)

Enviado desde mi LG-P990
[LG Optimus 2x] spica1234:
Yes without risk:)

changelogs:

about performance pack v2:

fixed some previously errors thanks trym hansen for reporting

Wifi scan interval to 30secs

Faster boot than version1. forced false declaration of dev.lge.ccd.clean=1 and on property:dev.lge.cvd.clean 1 only chmod 0771 to dalvik cache

Changelogs of sr2.

merged changes from rc7 & rc8 except jrcu

More battery optimization through rfkill power saving on suspend function

It will reduce battery drainage on wifi and 2g/3g

Changelogs
[LG Optimus 2x] Flix123:
Thank you very much, will test this!:)

Spica, you're the best! You make V20L useable.:D
[LG Optimus 2x] Lo_RaT_PeNaT:
Spica error in installation, tks
[LG Optimus 2x] spica1234:
Which file gives error?
[LG Optimus 2x] Lo_RaT_PeNaT:
in cwm, ext2/ext3 file, do not let me install the kernel I have not noticed that message does, but it is installed

---------- Post added at 07:02 PM ---------- Previous post was at 06:52 PM ----------

spica error 6, my rom is ext3
[LG Optimus 2x] Flix123:
I got an error too, when I want to install V2 ext2/3.

Damn, I want V2.;)
[LG Optimus 2x] yukkio:
I think you have to overwrite update-binary with your ROM update-binary

It didn't work

Enviado desde mi LG-P990
[LG Optimus 2x] Flix123:
Thank you, I test it.;)

Edit: Yes, it works.

If you would manage it to make scrolling like on froyo, it would be perfect.;)
[LG Optimus 2x] Striatum_bdr:
Great Spica!

I was waiting for ext4 version..

Installation flawless.

Do you think I nee minfreemanage file in init.d as I have Supercharger?
[LG Optimus 2x] yukkio:
Still youtube bug, back to neoblaze :(
[LG Optimus 2x] TrymHansen:
I've extracted the necessary files from Topogigi, attached in this post as CWM-flashable .zip.
[LG Optimus 2x] diegonando22:
Totally agree

---------- Post added at 05:56 PM ---------- Previous post was at 05:48 PM ----------

Great, thank you, Could I use daemon sleeping options?
[LG Optimus 2x] Craxx:
new Performance Pack since 1 hour works really great, seems to be very very nice:)

...i also can not play youtube videos:(
[LG Optimus 2x] TrymHansen:
Yes, that's what it's for.
[LG Optimus 2x] yukkio:
Does anyone have problems with YouTube? I can't play any video.

Enviado desde mi LG-P990
[LG Optimus 2x] diegonando22:
I downloaded and installed latest busybox, rebot.. and wifi issues are still present
[LG Optimus 2x] Lo_RaT_PeNaT:
tks, very grateful, I missed your application so that it is practical and comfortable, thank you very much again
[LG Optimus 2x] diegonando22:
I installed the patch, but on status the app says andrev oc daemon is present in your system, but not running at the moment. what could it be?

Im on stock v20l, ramdisk, spica rc8 and supercharger (no hp pack)
[LG Optimus 2x] TrymHansen:
Probably the startup-script detects another overclocking app. It will not start if other overclocking apps are present, to avoid conflicts.

Possibility #2 is that init.d is not working, but it should if using the performance pack from this thread.
[LG Optimus 2x] diegonando22:
You are absolutely correct sir!, andrev oc adjuster is running ok right now! THANKS!!;)

---------- Post added at 09:36 PM ---------- Previous post was at 09:31 PM ----------

Unfortunatly Hp Pack doesnt work in my device, sometimes doesnt boot, sometimes does but wifi shows error ... so right now Im on stock v20l, gps fix from topogigi, your ramdisk, spica rc8 and supercharger script. Like you said the problem was cpu master!, Now everything is working good!, thank you very much, you app is very comfortable!!
[LG Optimus 2x] spica1234:
You can remove it:)
[LG Optimus 2x] fuxmen:
i want to go back to SR1 kernel, but when i restore my backup without HP Performance pack, and flash SR1 kernel have bootloop ;(