[Q] Problem with overclocking - LG Optimus L9 P760, P765, P768, P769

Hello.
I have problem with overclocking. I copied files to /system/lib/modules and script file to /etc/init.d/ but it's not overcloking at boot. When I writing commands in terminal manually it works, but it doesn't work in smanager.
Please help me to fix this problem.

I just used the autostart oc it sets up init for you.
Sent from my LG-P769 using xda app-developers app

Problem solved. There was a space beetwen #! and /system/bin/sh
Now working perfect. Please close thread.

Related

Need help with callboost and zram

Hey guys, i know im new here so please bare with me. My phone: fascinate. Running on PWGB with tksgb 10/27, vm heap 48, andrel shot ix, auto mem killer.
I try to set the callboost but unable to get it to set up. Im using Better terminal pro.
$ us
$ callboost enable
Plug in 2,0,0,0 "enter"
In-call boost values set.
Mount: permission denied (are you root?)
Boot script could not be installed!
Displaying current setting...
So, that is the message im getting.
I have root explore. Looked under system, etc, init.d (mount r/w)..
No 91callboost or 05zram folders. So i create 2 new folder inside init.d.
One for callboost, one for zram.
Restart,
Tried again
Same result..
What else can i do.. Ive tried all the step From this thread
http://forum.xda-developers.com/showthread.php?t=1279153
From pages 54-57. Ppl tried different thing, i also tried them but still cant get it to work.
Even tried mkdir -p /etc/init.d from terminal.. I get:
Mkdir failed for -p, File exists.
What does that mean??
inside init.d folder i saw the script for my voltage scheduler, or boot setting but i do not see any script(s) for callboost or zram. So i know it did not get created from terminal.
Thanks
Nsx93 said:
Hey guys, i know im new here so please bare with me. My phone: fascinate. Running on PWGB with tksgb 10/27, vm heap 48, andrel shot ix, auto mem killer.
I try to set the callboost but unable to get it to set up. Im using Better terminal pro.
$ us
$ callboost enable
Plug in 2,0,0,0 "enter"
In-call boost values set.
Mount: permission denied (are you root?)
Boot script could not be installed!
Displaying current setting...
So, that is the message im getting.
I have root explore. Looked under system, etc, init.d (mount r/w)..
No 91callboost or 05zram folders. So i create 2 new folder inside init.d.
One for callboost, one for zram.
Restart,
Tried again
Same result..
What else can i do.. Ive tried all the step From this thread
http://forum.xda-developers.com/showthread.php?t=1279153
From pages 54-57. Ppl tried different thing, i also tried them but still cant get it to work.
Even tried mkdir -p /etc/init.d from terminal.. I get:
Mkdir failed for -p, File exists.
What does that mean??
inside init.d folder i saw the script for my voltage scheduler, or boot setting but i do not see any script(s) for callboost or zram. So i know it did not get created from terminal.
Thanks
Click to expand...
Click to collapse
Why are you typing "us" ?. You should be typing "su". That's why permission is denied
PWGB,TKSGB10-15, adren shot xix honeycomb2.03, ec09 radio.
Laureanop,
Thanks for pointing that out. Im such a dumbass.
Tried it, didnt work.
Restart
Didnt work
Flash beedingedge kernal
Now i got it to work..
I notice i had to make sure to click on (Mount R/W) so it can be mounted as r/w.
Sorry for being such a noob..
This thread can now be close. Problem solved.
Nsx93 said:
Laureanop,
Thanks for pointing that out. Im such a dumbass.
Tried it, didnt work.
Restart
Didnt work
Flash beedingedge kernal
Now i got it to work..
I notice i had to make sure to click on (Mount R/W) so it can be mounted as r/w.
Sorry for being such a noob..
This thread can now be close. Problem solved.
Click to expand...
Click to collapse
We've all been there bro
tsm res1.2, TKSGB 11-06, lag fix
laureanop said:
We've all been there bro
Click to expand...
Click to collapse
Amen
Sent from my SCH-I500 using xda premium
Thanks for looking out guys.
Feel good to get pass this little issue.
Ive mustve spend 3days searching google for callboost, zram. It was like reading a different languages. Root terminal? I keep thinking, wtf is root terminal or how the hell do i access it.
Youtubed it, someone had a vid of them using the terminal app from market. Thats when it started to make sense.
I hated the low incall volume. Love the rom and kernel though. Now its perfect. Volume is loud again. Zram set!
Running smooth.

Insert SCRITP

Hi! How can i insert a executable script in the boot or better when the phone is shutting down!?
I've the script, but where i have to put this file to execute it when the phone is shutting down or turning on?!
TNX GUYS!
I guess it's to be posted in /system/etc/init.d
Btw, the title of your post has a typo
Don't curse me for editing the post,I knew it was init.d,but the location slipped outta my mind
Sent from my Droidiser using xda premium
Why?!
However, all script in that are in /system/bin are executed in the boot?
If you want the script to be executed at boot put it in /system/etc/init.d
However, it will only work if there is kernel support for that. idt there js a way to execute a script at shutdown though
Sent from my SGH-I777 using xda premium
Dont you know how to do it at shutdown??
However, how can i know if my script work on ICS?

How to insmod a module on every boot?

Hello,
I have Pershoot's kernel installed in my HC 3.2. I use my tab to connect to my company VPN using Cisco Anyconnect. In order to stablish the VPN connection y need the tun.ko module loaded, so everytime I need to start the connection I must manually load that module (using a terminal emulator and running insmod /data/local/modules/tun.ko). This works fine but I am wondering if I can modify some system file to load that module everytime y boot the tab.
I did that on my old Xperia X8 modifying init.rc, I tried adding the insmod command in the init.rc file but it didn't worked.
Any advise about how can I load tun.ko on every boot?
Regards,
Patricio
patriciocs said:
Hello,
I have Pershoot's kernel installed in my HC 3.2. I use my tab to connect to my company VPN using Cisco Anyconnect. In order to stablish the VPN connection y need the tun.ko module loaded, so everytime I need to start the connection I must manually load that module (using a terminal emulator and running insmod /data/local/modules/tun.ko). This works fine but I am wondering if I can modify some system file to load that module everytime y boot the tab.
I did that on my old Xperia X8 modifying init.rc, I tried adding the insmod command in the init.rc file but it didn't worked.
Any advise about how can I load tun.ko on every boot?
Regards,
Patricio
Click to expand...
Click to collapse
Inatall script manager. Then create a script and make script manager run it at boot.
Sent from my MB860 using xda premium
d3athsd00r said:
Inatall script manager. Then create a script and make script manager run it at boot.
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Thanks for your answer but I was looking for something more straightforward, I mean something that doesn't involve installing another app. Isn't that possible in the GT 10.1?
In CM9, you can create a script in /data/local called userinit.sh, add execution permission (chmod +x) and it will run at boot. A simple userinit.sh could be like this:
Code:
#!/system/bin/sh
insmod /data/local/modules/tun.ko
But I don't think you can do the same in your ROM. In your case (this can be done in CM9 too), add a script in /system/etc/init.d , it can be something like 91modules . Add execution permission and it can contain the same code as before. Reboot and it should load your module at boot (be sure that the path to your module is right).
Also, you can do that in one line as root in a terminal. First, be sure that your /system is mounted as rw, not ro. If you don't know how to do that, as root, in a terminal, execute:
Code:
mount -o remount,rw /system
Then:
Code:
echo -e \#\!/system/bin/sh'\n'insmod /data/local/modules/tun.ko > /system/etc/init.d/91modules | chmod +x /system/etc/init.d/91modules
Thanks MapleSyrup for your reply,
First I tried with this in the Terminal:
Code:
mount -o remount,rw /system
echo -e \#\!/system/bin/sh'\n'insmod /data/local/modules/tun.ko > /system/etc/init.d/91modules | chmod +x /system/etc/init.d/91modules
But I received a "No such file or directory Bad mode" error. So I tried creating the module in the init.d directory, but I found that directory doesn't exist in my tablet file system. If I go to /system/etc there is no init.d directory (don't even a file with that name). I am using the stock ROM, could this be the reason why I don't have the init.d directory?
patriciocs said:
I am using the stock ROM, could this be the reason why I don't have the init.d directory?
Click to expand...
Click to collapse
Yes, that's the reason. The easiest way (without using ScriptManager) is using a custom ROM. The other way is modifying the boot image. I'm not really sure how to do this, but maybe this is a start.
My recommendation, if you want to keep the stock ROM without further modification (just rooting), use ScriptManager, is simple, practical and once installed, is out of your way if you only use it to load the module at boot.
Pershoots hc3.2 has init.d support I believe, just need to make the dir for it. Ask in the kernel thread.
Sent from my SPH-D700 using XDA

[Q] Changing ownership / permissions

I use to have an issue with my wifi not turning on.. Fixed that problem then I had the issue of it not remembering new networks.. Fixed that too..
The problem is the fix I found is simply changing the permissions of a few wifi files. While that is not hard to do... Getting those changes to stick is the problem.
I've rooted my phone obviously and I've played around with Ubuntu in the past so I remember something like sudo su... Well just su because I already have root.. I have terminal emulator on my phone I just need to know how to make these permissions stick... Chmod or chown I don't remember..
Any help would greatly be appreciated
Sent from my PantechP9090 using xda app-developers app
Oh and I know this topic has probably been discussed before but haven't really found where it is at.
Sent from my PantechP9090 using xda app-developers app
I'm assuming upon booting up there is a file that tells Linux/android which files should have which permissions... I've looked through some files and haven't found anything.... I tried changing the permissions through terminal with su access... Restarted and still reverted back.
Sent from my PantechP9090 using xda app-developers app

[Q] Logcat with PACman Rom

Hello,
I was working on an app with my device (YP-G70) running PACman Rom when I found out logcat would not work. When I try to run it logcat returns:
Code:
Unable to open log device '/dev/log/main': No such file or directory
Does anyone know why logcat is not working?
Clethan said:
Hello,
I was working on an app with my device (YP-G70) running PACman Rom when I found out logcat would not work. When I try to run it logcat returns:
Code:
Unable to open log device '/dev/log/main': No such file or directory
Does anyone know why logcat is not working?
Click to expand...
Click to collapse
you may need to either mount system as writable or run logcat with su permissions
I did try mounting read-write and running logcat as superuser, but it still did not work. I checked and it turns out the file is missing. Does anyone know why?
Sent from my YP-G70 using xda app-developers app
I could be wrong but I think that some kernel developers remove log cat for speed. Perhaps it has been removed from your kernel.
Sent from my SAMSUNG-SGH-I577 using xda app-developers app
Meticulus said:
I could be wrong but I think that some kernel developers remove log cat for speed. Perhaps it has been removed from your kernel.
Sent from my SAMSUNG-SGH-I577 using xda app-developers app
Click to expand...
Click to collapse
That is a possibility. You may want to use a different kernel
Sent from my Kindle Fire running CM10.1/SGT7
I removed it from my kernel for 2MB of more RAM and some extra speed :silly:
Okay, thanks for the help.

Categories

Resources