FORUMS
Remove All Ads from XDA

[MOD][APK+SCRIPT+ZIP] Enable Init.d for Any Phones w/o Need of Custom Kernels!!!

3,548 posts
Thanks Meter: 7,229
 
Post Reply Email Thread
7th April 2018, 05:07 PM |#561  
Junior Member
Thanks Meter: 1
 
More
Does this work on android 5.0.1? Verizon s4 PL1 firmware. I’m looking to disable ipv6 permanently by running startup script.
22nd May 2018, 04:35 PM |#562  
Senior Member
Thanks Meter: 127
 
More
does not work on Lollipop. because install-recovery.sh is executed with very restrictive selinux context.
– Source: Chainfire Google+
Try to set selinux permissive with SELinuxModeChanger first. Then try to install init.d

edit: app is no longer available on google play, is this project discontinued? May I suggest flashable Kernel init.d Support Injector - the author @osm0sis claims this zip is also signed, so could potentially be used with stock recovery on a locked bootloader.
22nd May 2018, 09:59 PM |#563  
osm0sis's Avatar
Recognized Developer / Recognized Contributor
Flag Halifax
Thanks Meter: 30,579
 
Donate to Me
More
Quote:
Originally Posted by aIecxs

does not work on Lollipop. because install-recovery.sh is executed with very restrictive selinux context.
– Source: Chainfire Google+
Try to set selinux permissive with SELinuxModeChanger first. Then try to install init.d

edit: app is no longer available on google play, is this project discontinued? May I suggest flashable Kernel init.d Support Injector - the author @osm0sis claims this zip is also signed, so could potentially be used with stock recovery on a locked bootloader.

You're better off using su.d (SuperSU) or post-fs-data.d (Magisk) than trying to get init.d to work.
The Following 5 Users Say Thank You to osm0sis For This Useful Post: [ View ]
1st June 2018, 03:55 AM |#564  
Senior Member
Thanks Meter: 89
 
More
Will this work on a LG V20 H91810q T-Mobile on magisk 16.0v root ?
1st September 2018, 12:44 PM |#565  
Junior Member
Thanks Meter: 4
 
More
Getting error "Read-only file system" when the script try to copy the sysinit and install-recovery.sh. For some unknown reason, the script failed to mount /system as rewritable due to "Device is busy".
Manually run -- "mount -o rw,remount /system" in adb shell.
Re-run the script "sh term-init.sh"
All executed properly.
The script seem to work fine.
Thanks.
7th September 2018, 09:24 AM |#566  
Senior Member
Thanks Meter: 4
 
More
Hello,
Is there a way to start the init script a bit earlier ? I see that UI starts before my scripts, but I need the script to start before UI.

Is there a way I can make it earlier ? Or do I need to find other method ?

Thank you very much for the init.d tool, it's very good.

ranran
26th September 2018, 01:17 PM |#567  
HemanthJabalpuri's Avatar
Senior Member
Flag Repalle
Thanks Meter: 240
 
More
hi..

My device successfully supports init.d...
Android v4.4.2 Device SamsungGalaxy S4 Mini GT-I9192(serranodsdd) ..ROM stock touchwiz...

I have a doubt..
When i enabled init.d through app the sysinit script is
Code:
#!/system/bin/sh
# Init.d support
# Ryuinferno @ XDA 2012

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
/system/bin/logwrapper run-parts /system/etc/init.d
and when I use term init script then the sysinit script is
Code:
#!/system/bin/sh
# init.d support

export PATH=/sbin:/system/sbin:/system/bin:/system/xbin
run-parts /system/etc/init.d
Which is better?
What is the additional use of that /system/bin/logwrapper ?
21st February 2019, 03:43 PM |#568  
Junior Member
Thanks Meter: 0
 
More
Hello.

My Android TV box(GF-WM28H, Android 4.4.2) successfully supports init.d through your script file, thanks!

(This box is a deep customization Android, can just use system app, but leave a usb cable can use adb directly connect. Use this script to auto open network adb connection port ((which dropped default

That's all, thanks again!
21st February 2019, 06:57 PM |#569  
Member
Thanks Meter: 10
 
More
The download page is somewhat broken.
Could you uodate the download site?
11th August 2019, 01:21 PM |#570  
Junior Member
Thanks Meter: 2
 
More
It works with script manager app or if i run sh /etc/install-recovery.sh at emulator.
But i have to run the command in each reboot or keep script manager app and i can not uninstall it.
Is there a better solution?
Device: Mi 4
Rom: Xiaomi eu
Kernel: ZeurionX
11th August 2019, 02:20 PM |#571  
edzamber's Avatar
Senior Member
Thanks Meter: 3,457
 
Donate to Me
More
Quote:
Originally Posted by clickmeplz

It works with script manager app or if i run sh /etc/install-recovery.sh at emulator.

But i have to run the command in each reboot or keep script manager app and i can not uninstall it.

Is there a better solution?

Device: Mi 4

Rom: Xiaomi eu

Kernel: ZeurionX

Hi

Yes

You need to add init.d support in your Kernel directly.

Ask to your Kernel dev to do it or edit your Kernel ramdisk.

https://mega.nz/#!7lFkjCoL!qliHaAMzF...-0NjXpcd-T9sAM
The Following User Says Thank You to edzamber For This Useful Post: [ View ] Gift edzamber Ad-Free
Post Reply Subscribe to Thread

Tags
app, init.d, stock kernel, terminal emulator

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes