• Announcements

    • PaulOBrien

      Reminder - MoDaCo position on illegal content   07/30/15

      ILLEGAL CONTENT I'd like to just reaffirm MoDaCo's position regarding piracy and illegal content in the light of some recent questions / postings. Posts will be censored by myself or my moderation team if the contain or link to: Illegal / pirated / cracked software or sites that host such software Nintendo emulators / ROMs or sites hosting them (in light of Nintendo's legal stance) CUSTOM ROMS You may discuss and post links to custom device ROMs on MoDaCo, provided the following rules are adhered to: ROMs must not contain any illegal 3rd party software (this includes trial versions included without permission) ROMs must give full credit to the original author ISSUES If you have any issues with this policy, please contact PaulOBrien directly via PM.
    • PaulOBrien

      Reminder: Selling items on the forum directly is not allowed   07/30/15

      Please note that selling items on the forum directly is not allowed by the forum rules. There is a forum for eBay auctions whereby you can list the items on eBay and link to them there. This is the ONLY forum for this type of activity. You may also advertise links to the eBay forum in your signature. Please note that selling directly in contravention of these rules will result in a warning / suspension / ban.

Init.d & userinit on STOCK ICS ROMs

4 posts in this topic


Some of you know my post for add userinit & S2e capabilities to the INFUSION ROM. Now good news for users of STOCK ICS ROMs:

If you like to add INIT.D & USERINIT support WIHTOUT flashing a new ROM (without any change over boot.img) you can do!

This guide is based on information from: http://forum.xda-developers.com/showthread.php?t=1772616

Here the guide:

1) You need to go to the console as root (with ADB, SSHd, TERMINAL, etc.)

2) Make "/system" writable ("mount -o remount,rw /system")

3) Decompress the attached file from the root directory

4) Reboot.... That's all!

Now, you can, for exemple, use "S2e" like in any CM ROM: if you use the 2 partition of your EXTERNAL SD you don't need to do any trick. If you like to use the INTERNAL SD, see my guide on: http://www.modaco.com/topic/356275-how-to-enable-s2e-in-g300/

Here the explanation about this mod:

* At boot, the "init.rc" calls to "/system/etc/install-recovery.sh" as a service. This file don't exists and it is our entry point.

* We add "/system/xbin/busybox" and one script at "/system/bin/sysinit". With this, we start the execution of all scripts in "/system/etc/init.d"

* Moreover, we add one script "/system/etc/init.d/20userinit" to also execute scripts on "/data/local/userinit.d/". To write here you don't need to touch the system partition, and several apps use this directory.

I hope some of you will appreciate this work. Perhaps someone of you likes to prepare a .ZIP for install this mod from CWM.




Share this post

Link to post
Share on other sites

I am interested in doing this, but the description is too brief for a non-expert :)

When you say decompress, is that by copying it to the phone, or via adb, or?


Share this post

Link to post
Share on other sites


I'll appreciate if someone creates a .ZIP file for CWM with the files of this thread.

In my case I do all my work from adb/ssh, and as consequence I think only on experienced users.

If someone creates the ZIP file, it can be used on any STOCK rom.

Several programs uses "init.d" support to execute scripts at boot!



Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2016. MoDaCo uses IntelliTxt technology.