Resolved init.d Scripts not working!

Discussion in 'Bugs' started by sebsch1991, May 22, 2012.

  1. sebsch1991

    sebsch1991Members

    Sep 23, 2011
    1,141
    2,138
    297
    Male
    Using latest MIUI Builds with either stock Kernel or Custom Kernel (in this case Franco Kernel with my Galaxy Nexus) I am not able to run init.d scripts.

    Is this a general MIUI problem/bug/feature ???

    They just wont get executed..running manually from /etc/init.d works just fine...
     
  2. sebsch1991

    sebsch1991Members

    Sep 23, 2011
    1,141
    2,138
    297
    Male
    *push* .... no idea ???
     
  3. iBotPeaches

    iBotPeachesScript Gatekeeper

    Oct 31, 2011
    3,811
    1,112
    335
    Kansas
    As in on boot?

    They definitely run on boot as you can tell by running "adb logcat" during boot.
     
  4. MatthewChen

    Feb 23, 2012
    133
    5
    28
    check permissions :)
     
  5. aatjitra

    aatjitraMembers

    Apr 12, 2012
    15
    7
    15
    Male
    I also encounter this with 2.6.1... I have made some scripts which are running perfectly on previous build.. but since yesterday, I noticed those scripts are not running... Check permission, busybox and they seems normal... Even repack it also no success..
     
  6. Pele

    PeleGuest

    We can not provide support for third party prods.
     
  7. aatjitra

    aatjitraMembers

    Apr 12, 2012
    15
    7
    15
    Male
    Even it is not running with MIUI stock kernel...

    Sent from my Galaxy Nexus using Tapatalk 2
     
  8. Pele

    PeleGuest

    are you trying to inject init scripts yourself ?
     
  9. aatjitra

    aatjitraMembers

    Apr 12, 2012
    15
    7
    15
    Male
    Yes. I don't know if this is considered as external/3rd party product.

    Sent from my Galaxy Nexus using Tapatalk 2
     
  10. Pele

    PeleGuest

    Im afraid you have just answered your question. You should take this up with the init dev(s) to make the scripts compatible.
     
  11. aatjitra

    aatjitraMembers

    Apr 12, 2012
    15
    7
    15
    Male
    Alright then.

    Although it is a bit confusing here. If the script is not running because of error, yes it is not responsibility of MIUI dev team.

    But in the OP (and same as me), we found that script is not being executed by the ROM.

    So the question is whether MIUI support init.d or not. And why only in 2.6.1 this behavior happened.

    So I would assume MIUI ROM doesn't support init.d.

    Anyway, thanks a lot for your reply.

    Sent from my Galaxy Nexus using Tapatalk 2
     

Share Our Site