[MOD][SHARE][SCRIPT]Enable Init.D On Stock Kernel - Galaxy Y GT-S5360 Themes and Apps

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
v1.0
init.d support through an app!!!​
Do I have init.d support?:
Well, here is a way to test:
1. Download the file from here: View attachment 1612958
2. Extract the file, you will get a file named 00test. DO NOT flash!
3. Paste it into /etc/init.d. If there is no init.d folder, most probably you DO NOT have init.d support. However, if you still wanna try, just create the folder named "init.d"
4. Change the permissions of the init.d folder and 00test into rwxrwxrwx.
5. Reboot.
6. If you see a file named Test.log in /data, you have init.d support. If not, you will have to run Uni-init, Term-init or Zip-init.
Requirements:
- a rooted phone of course...
- busybox with required applets (especially run-parts), if not sure what is this, just install this by Stericson: Link and please reboot after installing before running this script..use "normal install" method, don't use "smart install"...
Features:
- Utilises install-recovery.sh (if your kernel supports that, but of course, but most do...) to enable init.d scripts (busybox run-parts required)
- Will add lines in install-recovery.sh if it already exists (will not replace install-recovery.sh because certain apps such as Link2SD requires that to work), creates it if it doesn't
- Creates the init.d folder with correct permissions
- Adds 2 init.d scripts: one for testing (shows time of execution), another to ensure that the scripts in init.d folder always have the correct permissions
- Adds sysinit in /system/bin, will add the required lines if it already exists
- Deletes duplicate files and lines to ensure the least of errors
Instructions:
1. Download the apk.
2. Install the apk like any normal app.
3. Launch the app.
4. The rest are pretty self-explanatory...
5. You can uninstall the app after that...
Screenshots:
Download:
If you have already read all the instructions and understand them, then click here to download:
Uni-init v1.0.apk
Original Source
Credits: Ryuinferno​

nice !!! , fb later :thumbsup: :beer:

frooztreited said:
nice !!! , fb later :thumbsup: :beer:
Click to expand...
Click to collapse
nice,,,ill bm it.. :highfive::good::good:

why need app, if we have custom kernel?
no offence btw nice....

Reynaldi said:
why need app, if we have custom kernel?
no offence btw nice....
Click to expand...
Click to collapse
some people prefer stock sometimes for its stability
=========================================================================
For the OP, atleast make credits to original developer bigger? since u cant provide any updates to this app, can anyone consider this development? or app share?

ronnieryan said:
some people prefer stock sometimes for its stability
=========================================================================
For the OP, atleast make credits to original developer bigger? since u cant provide any updates to this app, can anyone consider this development? or app share?
Click to expand...
Click to collapse
app share.. make it move to proper section.. haha.. joke!
for the OP.. tq!
just found this days ago.. when i want enable init.d for my frend ace duos.. but no luck then use custom kernel..
i prefer stock kernel due to its stability.. since this app cant support his kernel thats y im using custom one..
btw.. did u try and did it work with our stock kernel? i meant did Test.log present in /data folder?
sent from my GT-S5360 via WeChat

init.d folder not showing on system/etc/ where find him ?
and when i press activate button then check for succesfully app say init.d not support why ?

Features:
- Utilises install-recovery.sh (if your kernel supports that, but of course, but most do...) to enable init.d scripts (busybox run-parts required)
- Will add lines in install-recovery.sh if it already exists (will not replace install-recovery.sh because certain apps such as Link2SD requires that to work), creates it if it doesn't
- Creates the init.d folder with correct permissions
- Adds 2 init.d scripts: one for testing (shows time of execution), another to ensure that the scripts in init.d folder always have the correct permissions
- Adds sysinit in /system/bin, will add the required lines if it already exists
- Deletes duplicate files and lines to ensure the least of errors
Click to expand...
Click to collapse
as stated by OP, in order to make this trick work the kernel must support install-recovery.sh script. too bad that SGY is not one of them. a simple test will prove it. you can make a script in init.d contain.
Code:
#/system/bin/sh
echo "kucing meong" > /data/kucing_meong.txt
if the trick really work. you'll find kucing_meong.txt in /data. in the past there are a lot of script and tweak claimed to be able add init.d support in any stock kernel but none of them work since samsung have disabled all the possibilities to add init.d support for SGY. the only way to add init.d support is by install a custom kernel with modified init.rc script.

kurotsugi said:
as stated by OP, in order to make this trick work the kernel must support install-recovery.sh script. too bad that SGY is not one of them. a simple test will prove it. you can make a script in init.d contain.
Code:
#/system/bin/sh
echo "kucing meong" > /data/kucing_meong.txt
if the trick really work. you'll find kucing_meong.txt in /data. in the past there are a lot of script and tweak claimed to be able add init.d support in any stock kernel but none of them work since samsung have disabled all the possibilities to add init.d support for SGY. the only way to add init.d support is by install a custom kernel with modified init.rc script.
Click to expand...
Click to collapse
in short, this app share is useless

Yeah and no development just an app
"Hate Me Till You Can"

Don't post like app share... because the original thread was in development section...
Sent from my Nexus 4 Using Tapatalk 2 Xparent Blue

Lets state the obvious ok,
at first it was in development section since the creator and developer of the app was the thread starter, and sharing that app to SGY section doesnt mean you developed it and placed in development section?
BTW, what makes it different is that a developer can post in development section because he can, develop,update, fix and whatever it is that he sees fine, but a sharer like you cannot

mod not working for our sgy

Related

[FIX] Run init.d scripts at startup (corrected sysinit along with run-parts)

[ info ]
the reason i created this thread is that many custom kernels for our X10 are having the feature of running init.d scripts at startup, BUT the problem is that some ROMS dont have the necessary/correct files in place for executing those scripts...
so i am attaching a easy to flash update.zip which contains these missing files required for full functionality of executing startup scripts...
use the following files only if u are not able to execute init.d startup scripts on ur current ROM
[ requirements ]
rooted device with recovery installed
kernel/other modifications which support init.d script execution (via sysinit) [exec /system/bin/sysinit]
[ download link ]
update.zip flashable via xRecovery-0.3-GBready (amend syntax)
init.d-autorunner-v01.zip
[ additional info ]
i have added the following things in the update.zip:
corrected /system/bin/sysint file
run-parts binary in /system/xbin/run-parts (which is basically busybox 1.16.2 binary)
test/example script /system/etc/init.d/99test
CM7-FreeXperia ROM already supports this execution so no need to flash it on that ROM
if ur startup script is not correctly working then u need to make sure that u have the correct permissions on the script (just tick all 9 boxes using RootExplorer permissions pop-up)
let me know how it goes!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
ENJOY!
reserved reserved
Hey Doom, Is this already implemented in Z's CM7 2.3.5 rom?
Aphex33 said:
Hey Doom, Is this already implemented in Z's CM7 2.3.5 rom?
Click to expand...
Click to collapse
i dont remember...
test it out...
if init.d scripts are getting executed w/o using this FIX then its already implemented
This solves the issues with wolf v4.0.4 with Doomkernel??
So i will retain back my init.d files...
Hey doom and other devs
How many copies of busybox we will have in roms
I mean why not just add special folder rtm ( run-time module ) and place our busybox there...
That would ensure that it is not overwritten and replaced by market or some external thing...
If you take look now we have devs placing busybox in /recovery/sh /xbin/sh /bin/busybox etc, etc ...
Let's not forget busybox has size 700 kB that is like almost 1 MB of wasted space per copy...
And all sh scripts can run using #!/path_to/busybox sh and let's not forget that run-parts are created by update-script in xbin or bin folder so making new copy of busybox as run-parts not needed
And sysinit can be as service in init file
service sysinit /path_to/busybox run-parts /system/etc/init.d
Hi Doom,
Thank you
aZuZu said:
Hey doom and other devs
How many copies of busybox we will have in roms
I mean why not just add special folder rtm ( run-time module ) and place our busybox there...
That would ensure that it is not overwritten and replaced by market or some external thing...
If you take look now we have devs placing busybox in /recovery/sh /xbin/sh /bin/busybox etc, etc ...
Let's not forget busybox has size 700 kB that is like almost 1 MB of wasted space per copy...
And all sh scripts can run using #!/path_to/busybox sh and let's not forget that run-parts are created by update-script in xbin or bin folder so making new copy of busybox as run-parts not needed
And sysinit can be as service in init file
service sysinit /path_to/busybox run-parts /system/etc/init.d
Click to expand...
Click to collapse
aZuZu u will have to check all busybox binaries... wht i found was NOT ALL busybox binaries support run-parts (u can check it ur self)...
there are symlinks created using update-script which are wrong... u should be using busybox --s -install command always...
anyways the problem is that some devs use busybox in /system/bin /system/xbin
some include busybox in ramdisk (/sbin)...
so simplest solution for run-parts is to use a small "<400kb" binary which handles this well...
BTW i already use the sysinit service for my other kernels (Arc/Play/etc...) [which is much more advanced]
the solution posted here is a generic one which should work for MOST kernels...
P.S.: having a small 400Kb file is not going to waste 350MB+ space of ur /system partition
DooMLoRD said:
aZuZu u will have to check all busybox binaries... wht i found was NOT ALL busybox binaries support run-parts (u can check it ur self)...
there are symlinks created using update-script which are wrong... u should be using busybox --s -install command always...
anyways the problem is that some devs use busybox in /system/bin /system/xbin
some include busybox in ramdisk (/sbin)...
so simplest solution for run-parts is to use a small "<400kb" binary which handles this well...
BTW i already use the sysinit service for my other kernels (Arc/Play/etc...) [which is much more advanced]
the solution posted here is a generic one which should work for MOST kernels...
P.S.: having a small 400Kb file is not going to waste 350MB+ space of ur /system partition
Click to expand...
Click to collapse
Hi my friend,
I think your idea is also based
so I want to try this script
Cheers,
tkymgr
thanks for your such nice information sharing with us in this forum so keep it up
@DooMLoRD: This does not seem to work on ICS.. any suggestions?
is sysinit 0755 or 0777 (chmod) ?
Is this supported for fera lab v20?
Sent from my Xperia X10 using xda premium
Works on any android device ?
Enviado desde mi GT-I9300 mediante Tapatalk

[MOD] Enable init.d scripts support on stock kernel

Hello!
This is a small mod, inspired by non other than our great DoomLord (so if it helped you, thank him/donate to him/worship him ) and his thread in the X10 section.
I am trying a lot of things on my phone, so I often switch back and forth from stock kernel to DoomKernel.
However, I use lots of init.d scripts (my favorite one being SuperCharger)
and I just don't want to lose this feature when I'm on stock.
So, without further ado, here are the steps that are needed to make init.d scripts run automatically at boot on stock kernel.
Requirements:
1. Stock Kernel
2. Root
3. Busybox
4. CMW Recovery for Stock Kernel by nAa.
5. Root Explorer or any other similar app.
Instructions:
1. Download the zip and place it in a folder in your SD card.
2. With Root Explorer, go to /system/etc. Press the Mount RW button on top right corner.
a. If the file install-recovery.sh is not there, then press Menu and create a New File.
Name it install-recovery.sh and then long-press on it and select Open in Text Editor.
Paste this text in it:
Code:
#!/system/bin/sh
# init.d support
busybox run-parts /system/etc/init.d/
Save it and delete any .bak file that Root Explorer might have created. Set the permissions as in the attached screenshot.
OR
b. If the file install-recovery.sh is already there, long-press on it and select Open in Text Editor. Paste this text in the end:
Code:
# init.d support
busybox run-parts /system/etc/init.d/
In both scenarios, don't forget to leave one empty line at the end of install-recovery.sh file. ***
3. Reboot into Recovery and flash the init.d-autorunner-stock.zip.
4. Reboot your phone and with Root Explorer go to /data/local/tmp.
There should be a txt file there named "init.d_log_test.txt" and once you open it, you should see the word "done".
5. Now you can use your favorite init.d scripts on stock kernel!
If you want to check if the scripts you want to use actually work, please refer to one of my older threads about how to test them.
*** I am not including an install-recovery.sh because this is the file that Link2SD depends on, so it's better if you modify it yourself, rather than use mine.
Let me know if it worked for you!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Good, nice to see this posted here too.
Sent from my MT15i using XDA App
great work!
Could this be used in other android devices?
kcthomlau said:
Could this be used in other android devices?
Click to expand...
Click to collapse
Yes, it should be works well on other devices, just try it and let us know.
Sent from my MT15i using XDA App
it´s necessary to have unlocked bootloader?
I have followed this tutorial and have not created the file "init.d_log_test.txt"
when i go to /data/local/tmp i only have init.rc file
sgj1 said:
it´s necessary to have unlocked bootloader?
I have followed this tutorial and have not created the file "init.d_log_test.txt"
when i go to /data/local/tmp i only have init.rc file
Click to expand...
Click to collapse
no. I have now locked bootloader and it is working
sgj1 said:
it´s necessary to have unlocked bootloader?
I have followed this tutorial and have not created the file "init.d_log_test.txt"
when i go to /data/local/tmp i only have init.rc file
Click to expand...
Click to collapse
This is working great on mine mate, just try it again maybe you left something, i tested it with init.d scripts from SE Tweaked and it works.
Sent from my MT15i using XDA App
hello guys!
what kind of script is the neo?
Confirmed, working
I tried this mod and it seems to be working. Before its application, Supercharger tells me that he cannot reach init.d or something like that. But with this mod it can use init.d without any problems, no more warning. So it is working. Thank you
iridaki said:
Hello!
This is a small mod, inspired by non other than our great DoomLord (so if it helped you, thank him/donate to him/worship him ) and his thread in the X10 section.
I am trying a lot of things on my phone, so I often switch back and forth from stock kernel to DoomKernel.
However, I use lots of init.d scripts (my favorite one being SuperCharger)
and I just don't want to lose this feature when I'm on stock.
So, without further ado, here are the steps that are needed to make init.d scripts run automatically at boot on stock kernel.
Requirements:
1. Stock Kernel
2. Root
3. Busybox
4. CMW Recovery for Stock Kernel by nAa.
5. Root Explorer or any other similar app.
Instructions:
1. Download the zip and place it in a folder in your SD card.
2. With Root Explorer, go to /system/etc. Press the Mount RW button on top right corner.
a. If the file install-recovery.sh is not there, then press Menu and create a New File.
Name it install-recovery.sh and then long-press on it and select Open in Text Editor.
Paste this text in it:
Code:
#!/system/bin/sh
# init.d support
busybox run-parts /system/etc/init.d/
Save it and delete any .bak file that Root Explorer might have created. Set the permissions as in the attached screenshot.
OR
b. If the file install-recovery.sh is already there, long-press on it and select Open in Text Editor. Paste this text in the end:
Code:
# init.d support
busybox run-parts /system/etc/init.d/
In both scenarios, don't forget to leave one empty line at the end of install-recovery.sh file. ***
3. Reboot into Recovery and flash the init.d-autorunner-stock.zip.
4. Reboot your phone and with Root Explorer go to /data/local/tmp.
There should be a txt file there named "init.d_log_test.txt" and once you open it, you should see the word "done".
5. Now you can use your favorite init.d scripts on stock kernel!
If you want to check if the scripts you want to use actually work, please refer to one of my older threads about how to test them.
*** I am not including an install-recovery.sh because this is the file that Link2SD depends on, so it's better if you modify it yourself, rather than use mine.
Let me know if it worked for you!
Click to expand...
Click to collapse
this is working for neo v?
It should on stock yes
Sent from my MT15i using Tapatalk
onlavu said:
Before its application, Supercharger tells me that he cannot reach init.d or something like that.
Click to expand...
Click to collapse
Have you checked original thread from zeppelinrox: http://forum.xda-developers.com/showthread.php?t=991276
where he shared his way(AutoStart Script) of enabling init.d for stock ROM/kernel: http://forum.xda-developers.com/showthread.php?t=1017291
kormatoes said:
It should on stock yes
Sent from my MT15i using Tapatalk
Click to expand...
Click to collapse
ok but i have a noob question,
how to change vm heapsize to 48?
Pandemic said:
ok but i have a noob question,
how to change vm heapsize to 48?
Click to expand...
Click to collapse
You need to edit build.prop in system folder.
Taptalked
Tenacius D said:
You need to edit build.prop in system folder.
Taptalked
Click to expand...
Click to collapse
hm ok and how will i do that with rootxplorer, what must i do and tick/untick?
Edit: Anyone know??
With rootxplorer go to system mount read/write (see screenshot)
long press build.prop open in text editor find vm heapsize change it to 48 save the change and reboot. Make buckup of build.prop just in case.
Taptalked
Pandemic said:
hm ok and how will i do that with rootxplorer, what must i do and tick/untick?
Click to expand...
Click to collapse
Have you tried long press on file, and select "Open in Text Editor"?
EDIT: was to slow
Tenacius D said:
With rootxplorer go to system mount read/write (see screenshot)
long press build.prop open in text editor find vm heapsize change it to 48 save the change and reboot. Make buckup of build.prop just in case.
Taptalked
Click to expand...
Click to collapse
i cant edit it when i open as text:S
Pandemic said:
i cant edit it when i open as text:S
Click to expand...
Click to collapse
Not open as text, scroll down and open in text editor.
Taptalked

[TOOL]One X One Click v2.1|Kernel&Modules|Recovery|RUU|MultiRepack|Root ing|AIO|

Hi All, This is my Proudest accomplishment and i though to share it with yous.
I've Made This Tool For The HTC One X, but it shouldn't work any differently on your Device,
If You Found A Problem That's One X+ specific, ill make a separate update that work specifically for the HOX+
I'm Thunder & This is My Flash.....er
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I Made this simple flasher because its really annoying flashing the modules & Kernel separately,
and as the name says One Click,
just choose your kernel & module and let it do the rest.
Download Link V2.1
Functions:​V1.0
Flash Kernels & Modules
Flash Recoveries
Reboot The Phone
Reboot Into Recovery/Bootloader
V1.1
Kernel Repack - Phone on Android with USB Debug Enabled - No Need For The Recovery
v1.2
MultiKernel Repack
Repacked output Format Kernel.Ramdisk.IMG
V1.3
One Click Root
V1.4
Reworked Module Flasher
Decreased/Removed some delays
Fixed Faux Module Unzipping Problem
V1.5
Added RUU Zip Flashing Ability - For Advanced Users
V1.6
Added Erase Cache
Added Basic Help Section
Added About
V1.7
Added Lock/Unlock Option
This Requires HTCDev's Unlock_Code.bin,
Which has to go into the unlock folder
Updated V1.8
PC Based Repack (Thanks To The Great Work Of XDA Member Langer Hans)
IMG/APK Flasher/Installer (With The Open With Command (will add an association option later on))
V1.9
Logger (Logcat/kmsg/last_kmsg retriever)
V2.0
Can Now Flash Modules Without Having To Flash The Kernel,
Modified The Logger (Debugger) To Show Logs In Console, As it's Much Better At Handling Text
Removed Log Limit
V2.1
Added Battery Stat Into Phone GroupBox
Can Log Logcat & KMsg at the same time (last_kmsg if you really want to go all out )​
Dont Touch The Apps Folder
Kernels/Modules/Recoveries go into there respective folders,
and they will appear in the app
Connect The Phone To The PC Via a USB Cable In Anymode (Android(With USB Debug)/Recovery/Bootloader) Though Preferably In The OS or The Recovery,
Choose The Option You Want, E.g. Flash Kernel
Choose The Option That Show Up, The Kernel & its Modules.
Choose What To Do On Completion
Click Perform Action, Site & Wait.
Requirements:
Unlocked Bootloader
CWM Recovery (Havent Tested other recoveries)
USB Debug Enabled (Settings --> Developers Tools --> USB Debug)
.Net Framework 3.5(Only need this if you get .NET framework initialization error)
Though i have tested it and its working fine and just to cover my ass....
Always have a nandroid backup incase things go wrong,
If anything goes wrong i would help you, but i'm not to be held responsible for any damange done (hopefully there wont be any)
Coming Soon​List Updated 25th Sept
ADB Based File Explorer
Backup
And Some More
Waiting For Your Suggestions​
if you find any problem or have a suggestion feel free to drop a comment
Please keep the suggestions/problems on this thread and not through my PM,
to avoid repeated suggestions/problems, see other reaction and get help from the community.
Also Leave A Comment To Keep This Post Alive.
Thank You
Credits:​Daekin - For Providing The Tools For Repack
ChainFire - For His SuperSU
Langer Hans - For His PC Based Repack Code​
​
you might want to remove the link pointing to the HOX recovery image dude
Lloir said:
you might want to remove the link pointing to the HOX recovery image dude
Click to expand...
Click to collapse
Done
Thanks
Nice tool
Just one comment regarding all AOSP based roms
from Lloir and myself which use the BLADE kernel
You dont need to do this for those roms!
The rom is taking care that the kernel modules are
in the correct location if required using an init.d script
But it will do no harm cause we are "smart" enough do detect it
maxwen said:
Nice tool
Just one comment regarding all AOSP based roms
from Lloir and myself which use the BLADE kernel
You dont need to do this for those roms!
The rom is taking care that the kernel modules are
in the correct location if required using an init.d script
But it will do no harm cause we are "smart" enough do detect it
Click to expand...
Click to collapse
cool, im guessing you're speaking of modules injector??
i was wondering why we aren't using something like that on the HOX,
im guessing you either have a bigger boot partition or that module's sizes are really small?
worst come to worst... this still have a logging feature which will come in handy...
and for the record, ill update and make it more usable
thunder07 said:
cool, im guessing you're speaking of modules injector??
i was wondering why we aren't using something like that on the HOX,
im guessing you either have a bigger boot partition or that module's sizes are really small?
Click to expand...
Click to collapse
The modules are included in the boot image in /lib/modules
and synced with /system/lib/modules on boot if required
Using xz compression for the kernel makes it small enough
So e.g. BLADE kernel has about 4.4mb including everything
Updated V2.0
Can Now Flash Modules Without Having To Flash The Kernel,
Modified The Logger (Debugger) To Show Logs In Console, As it's Much Better At Handling Text
Removed Log Limit
Get it in the 1st post
V2.1
Added Battery Stat Into Phone GroupBox
Can Log Logcat & KMsg at the same time (last_kmsg if you really want to go all out )
Get it in the 1st post
Help! I'm getting "Invalid Modules" when trying to flash kernel. This is what I did: unzipped boot.img and modules folder from elemental kernel, put those them in the respective folders under one x one click folder, ran the one click exe as administrator (win7), chose the kernel img and modules zip, it seems to run for a second and then the invalid modules and operation terminated. Obviously I'm not doing it correctly with the modules zip process.
jamesc760 said:
Help! I'm getting "Invalid Modules" when trying to flash kernel. This is what I did: unzipped boot.img and modules folder from elemental kernel, put those them in the respective folders under one x one click folder, ran the one click exe as administrator (win7), chose the kernel img and modules zip, it seems to run for a second and then the invalid modules and operation terminated. Obviously I'm not doing it correctly with the modules zip process.
Click to expand...
Click to collapse
can you link me to those module?

[KERNEL MODULE] For ICS .587 Stock Kernel with Locked Bootloader [SMARTASSV2/SIO]

First of all,
Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM/kernel/mods
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
now this is for anyone with stock kernel and can't or wont unlock bootloader due to certain reason only they knew.
but for anyone who already unlocked bootloader don't bother with this, u got many choices of great kernel to flash
anyway for now i've compiled smartassv2 cpu governor and sio disk io scheduler as module that can be loaded onto stock kernel. tested by anerik on his locked bootloader phone. module is compiled using .587 kernel source, against lww/coconut defconfig but since all xperia 2011 shared the same source i assume this would work on all xperia 2011 running .587 stock kernel.
requirement:
- rooted
- busybox installed.
- cwm recovery for flashing.
- rom support init.d sysinit to load the module script automatically on boot, or smanager installed for u to load the script using it yourself.
- running stock .587 kernel
howto:
just flash via cwm and reboot. then use nofrills cpu control to change to smartassv2 or sio.
changelog:
smartassv2 update1:
- added fix for sysfs interface by M66B. should be able to tune smartassv2 via setcpu in governor tab.
- modify init.d script to calculate kallsyms_lookup_name address automatically.
credits:
AnDyX who originally posted thread on neo v forum and giving source on his github
anerik for testing this on his phone.
another placeholder.
another one just to be sure
Re: [KERNEL MODULE] For ICS .587 Stock Kernel with Locked Bootloader
The 'NEW' Module-Man was born
:thumbup:
yes, i sent from my phone using Xda Premium, so what?
Click to expand...
Click to collapse
Can I put more than one governor? And how?
pojhe said:
Can I put more than one governor? And how?
Click to expand...
Click to collapse
don't quote whole op. Maybe if you got files and change the commands... That's what common sense tells me, but annonymus is dev here, just tryin to help
anerik said:
don't quote whole op. Maybe if you got files and change the commands... That's what common sense tells me, but annonymus is dev here, just tryin to help
Click to expand...
Click to collapse
sorry, thanks for remind me.. another one, I put the script in init.d but it not work after I reboot the device.. any advice?
Edit : Its working! thanx!!
pojhe said:
sorry, thanks for remind me.. another one, I put the script in init.d but it not work after I reboot the device.. any advice?
Click to expand...
Click to collapse
have you got init.d support?
anerik said:
have you got init.d support?
Click to expand...
Click to collapse
yes, I have it. I mistakenly copy the wrong script, and now its working. thanx for your concern..
added sio disk io scheduler module
hi there,
tried to add this to the LT18i of my wife, but i´ve got an error message right after the first command, that grep was not found any other way to find that number without this grep thingy?
thanks in advance
probably the phone doesn't have busybox installed.
grep is one of busybox applet. so no busybox=no grep.
ok i´ll check that, it is at least rooted so shouldn´t be a problem
if its already rooted then just install busybox installer from market eg this one
Works perfectly on my SK17i. Thanks! :good:
unable to chmod [...]/sio-iosched.ko: read-only filesystem
which is weird, as I'm already using your smartassV2 module.
edit: so I just opened /system/lib/modules/ and I set the file's permissions manually to 755 (aka rwx-rx-rx) and then typed:
su
insmod /system/lib/modules/sio-iosched.ko
Click to expand...
Click to collapse
and it worked, I made the init.d the script and the sio scheduler sticks, so everything's well. just two commands instead of four, so less geeky way but the most important thing is, I'm on locked BL with smartassV2 and sio!
honest question
Just an honest question guys,
i Admit im noob.
how can i create the init.d script.
im done in doing the smartass governor and it really works.
BIG thanks for that.! :thumbsup:
but i dont know how to create the init.d script. need more help!
thanks again more Power!
doesnt work for me when I write the lines on terminal emulator nothings happens
Edit: For a simple synthax error didn't work! Good job!! but y didnt undertand how to make for got always this governor!
in reply to above 2 posts
how to make init.d script, so that you'll have smartassV2/sio after reboot:
1. copy the text from OP which is said to be put in the script
2. paste to notepad
3. choose "Save as...", type any name and select "all files (*.*)" in file type, so your file won't have any extension
4a. if your ROM has got init.d support or if you enabled it, put the script in /system/etc/init.d and set permissions to... I'm not sure, ----rwxr-x seems to work fine for me, while when using rwxrwxrwx or rwx-rx-rx the modules didn't want to stick.
4b. if you don't have init.d support and for some strange reason you don't want to enable it (how to? SEARCH), download Script Manager from Google Play, open your script with it and in popup windows tap "su" (the icon turns green) and "boot" (this one turns blue),
5. reboot and check if the modules stick
I have tried with all methods to install init.d and couldn't do it.

[MOD][Open-Source] MaliveBooster Optimized Moto v1.0

Peace guys! ! !
First of all, this mod is a good friend of mine but is opensource, I just helped in doing something changes for the better Moto line support.
Credits:
JynAlek
Description:
Hello guys, this is my newest work for all android devices, is a simple engine focused on a good performance and battery saving, I know, it does a great job, but I did my best and I guarantee you will enjoy, you will not even see a LAG on your device.
Unlike many engines out there, the MaliveBooster is not based on AdrenalineEngine, or anywhere else, I created it from scratch to make the best of my device, she had several contributions of many of my friends who encouraged me to create it.
Features:
✔ Increase touchscreen sensitivity
✔ Less battery consumption
✔ Small and simple SD-Card read ahead script, configured to work with "4096 KB"
✔ Wireless Speed Tweaks
✔ Custom Sysctl (made by myself)
✔ Optimized overall performance
✔ Photo and video recording quality considerably increased
✔ New script to compress 3G/WiFi data, resulting in better network performance
✔ CWM/TWRP/PhilZ Touch Flashable
✔ Custom Hosts
✔ Easy to uninstall
✔ Turns your mobile phone into an incredible Galaxy S5. (joke , haha)
**Do a backup before your try anything as usual !!!​
Installation:
1.Delete all others ram scripts you have installed in "/system/etc/init.d"
2. Copy 'MaliveBooster' to your phone SD card
3. Reboot your phone to recovery mode
4. Mount /system
5. Flash MaliveBooster
6. Reboot your phone when finished installation
7. Done
==================================================
Downloads
V1.0 OptimizedMoto
Mirror Mediafire
Uninstall
==================================================​
Please, if you found a bug, tell me in the comments that I will fix, and please press THANKS instead of saying thank you, keep this topic clean.
Changelog:
Code:
20151030 v1.0
Release initial
Thanks @JynAlek and all testers on forum !
Hello, I have 2 questions:
1. Should I remove (backup) my default "fstrim" script?
Edit: yes as this mod has also one.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
2. What if I have a hosts file created by adaway already?
Edit: disable from adaway app (it will restore default system hosts file) and reboot.
lavero.burgos said:
Hello, I have 2 questions:
1. Should I remove (backup) "fstrim"?
#!/system/bin/sh
2. What if I have a hosts file created by adaway already?
Click to expand...
Click to collapse
Recommend not using other script if you want to see what it can, but I can not tell if something will go wrong ...
I believe that nothing will go wrong, but I can not help you if you have a problem after installation, since you flash this script upon others I do not know.
So... this is for stock, AOSP, custom ROMs, any of them...?
EsromG5 said:
Recommend not using other script if you want to see what it can, but I can not tell if something will go wrong ...
I believe that nothing will go wrong, but I can not help you if you have a problem after installation, since you flash this script upon others I do not know.
Click to expand...
Click to collapse
Checked inside the .zip and I see there is a fstrim script so I'll backup and remove my default fstrim script then.
EmilianoTalamo said:
So... this is for stock, AOSP, custom ROMs, any of them...?
Click to expand...
Click to collapse
yes, any roms...stock our custom..
Hi, this scrip works as both stock and cyanogenmod?
also it can be ironed while having mofificado kernel?
flopezm said:
Hi, this scrip works as both stock and cyanogenmod?
also it can be ironed while having mofificado kernel?
Click to expand...
Click to collapse
yes, work fine
how i can uninstall it?
requiiiem said:
how i can uninstall it?
Click to expand...
Click to collapse
Seems there's an uninstall zip in the first post, you should try flash it!
Going to flash over CM 12.1. Will share results here..
Does it work on locked bootloaders? (At&t, Verizon models) Thanks in advance.
Jinix0r said:
Does it work on locked bootloaders? (At&t, Verizon models) Thanks in advance.
Click to expand...
Click to collapse
No dude, in order to flash things, you need a custom recovery called twrp, which requires an unlocked bootloader to be installed... Also you'll need root to access the system partition and delete other init.d files, if necessary. Just read the OP, the instructions are clear.
Just wanted to say, these scripts seem to work well, even now on LineageOS 13 (6.0.1)! Thanks for porting this over to our X!
Work on Moto x 1056-1st gen(Ghost)?
does it work with MOto xt 1056 Ghost
jtflynnz said:
Just wanted to say, these scripts seem to work well, even now on LineageOS 13 (6.0.1)! Thanks for porting this over to our X!
Click to expand...
Click to collapse
Do the Hotspot and WiFi and Bluetooth work properly?
Gaburieru Pucho said:
Do the Hotspot and WiFi and Bluetooth work properly?
Click to expand...
Click to collapse
I personally haven't noticed any changes to these behaviors (installed/flashed on an existing LOS 13 install), but I haven't been explicitly testing them.
jtflynnz said:
I personally haven't noticed any changes to these behaviors (installed/flashed on an existing LOS 13 install), but I haven't been explicitly testing them.
Click to expand...
Click to collapse
I use Lineage OS 13 too. So, i guess it'll work out just fine.

Categories

Resources