[Q] init.d support on Cyanogenmod 12.1 topic

SOCIALIZE IT ⇨


Hi,

I'm trying to run a custom init.d script on my HTC One (m7) which is running on Cyanogemod 12.1 (The problem existed already in 12.0). The problem is that none of the scripts are executed at boot time.

Looking at the "init.cm.rc" script i found the following snippets that look like the "sysinit" command should be triggered at boot time.


Code:


[...]

on post-fs-data
    [...]

    # Run sysinit
    start sysinit

[...]

# sysinit (/system/etc/init.d)
service sysinit /system/bin/sysinit
    user root
    oneshot
    disabled



I even tried removing the "disabled" parameter but the "sysinit" command is still not executed at boot time.

If I run the "sysinit" command on a root shell the scripts are executed as the should.

Anybody an idea what I'm missing?

Thanks in advance!




xda-developers


  1. [Q] Do Lollipop TouchWiz variants support Camera to SD Card? topic
  2. [q] otg support ? topic
  3. [Q] Any build having Dual-SIM support ? topic
  4. [Q] Any build having Dual-SIM support ? topic
  5. [Q] Any build having Dual-SIM support ? topic
  6. [Q] can anyone compile a kernel with otg support topic
  7. Loop device support topic
  8. Does the galaxy s6 edge support VoLTE? topic
  9. 64gb card support topic
  10. [Q&A] CyanogenMod 12.1 for Photon Q topic
  11. how to sim unlock LG ls980 running Cyanogenmod 12 nightly topic
  12. Service Menu on Note 4 with cyanogenmod 12.1 topic
  13. [Q] cyanogenmod topic
  14. [Q] can I apply micromax yu yureka cyanogenmod 12.1 for micromax canvas A 210 topic
  15. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Droid DNA (dlx) topic
  16. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the HTC One m8 topic
  17. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Verizon LG G3 (vs985) topic
  18. [ROM][OFFICIAL] CyanogenMod 12.1 Nightlies for the Oppo N3 topic
  19. [ROM/UNOFFICIAL] CyanogenMod 12.1 topic
  20. [Q] init.d support on Cyanogenmod 12.1 topic

0 commentaires:

Enregistrer un commentaire