FORUMS
Remove All Ads from XDA
Honor 7x
Win an Honor 7X!

[MOD][Magisk][Universal] A simple init.d enabler v2.2 (system-less)

436 posts
Thanks Meter: 454
 
By korom42, Senior Member on 23rd September 2017, 12:41 AM
Post Reply Email Thread


Introduction
I noticed that old init.d enabling methodes aren't working anymore with latest firmwares on the Xperia Z5
I tried many of available traditional methodes (that relies on init.qcom.post_boot.sh, install-recovery.sh ... I believe they stopped working because a lot of them used SuperSU ), also tried many magisk init.d emulators but none of them worked as well. My mod uses simpler and modern method I thought I'd share it with you to help those who still have troubles activating init.d especially newbies


What is init.d ?
Quote:

Init.d plays an important role in the world of Android development and customization It allows users to install scripts and mods to be run at boot—everything from battery tweaks to performance tweaks..



Compability
Code:
- Any device
- Tested with Magisk v14 but should work on all V12+


Bugs
Code:
- You tell me


Downloads
Second post


Credits
@topjohnwu for making this possible
RXSMB Team

Version Information
Status: Stable
Current Stable Version: 2.2
Stable Release Date: 2017-09-27

Created 2017-09-23
Last Updated 2017-07-29
The Following 8 Users Say Thank You to korom42 For This Useful Post: [ View ] Gift korom42 Ad-Free
 
 
23rd September 2017, 12:41 AM |#2  
korom42's Avatar
OP Senior Member
Thanks Meter: 454
 
Donate to Me
More
[MOD][Magisk][Universal] A simple init.d enabler (system-less) [Fixed*]
Downloads
Please use remover before updating to new versions


How to make sure it's working ?
Code:
- Go to /data/ if you find the file "initd_test.log" then congrats it's working 

Changelog
Code:
2.2 | 29/09/2017
- Bug fixes for some devices

2.1 | 27/09/2017
- Removed sleep for 30 sec post boot (to avoid conflicts with some scripts)

2.0 | 24/09/2017
- Changed permissions from 777 to 755 (standard)
- Added writing permissions to init.d folder too

1.0 | 23/09/2017
- First release



DO NOT STEAL MY WORK!!
FEEL FREE TO USE MY MOD IN YOUR ROM, JUST GIVE PROPER CREDITS !
The Following 7 Users Say Thank You to korom42 For This Useful Post: [ View ] Gift korom42 Ad-Free
23rd September 2017, 05:26 AM |#3  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 2,299
 
More
Flashed buh phone stuck at bootlogo, had to flash uninstaller zip before phone boots up.....
23rd September 2017, 11:02 AM |#4  
Senior Member
Flag Ho Chi Minh City
Thanks Meter: 58
 
More
Flashed the mod in Magisk and rebooted, the mod made the fingerprint option unavailable in Settings. (stock 7.1.1 140)
Disabled the mod Magisk and rebooted, fingerprint appeared again.
Can you look into it?
P/s: flash the mod directly in TWRP will get you stuck at boot logo.
23rd September 2017, 04:21 PM |#5  
korom42's Avatar
OP Senior Member
Thanks Meter: 454
 
Donate to Me
More
Quote:
Originally Posted by whalesplaho

Flashed buh phone stuck at bootlogo, had to flash uninstaller zip before phone boots up.....

Quote:
Originally Posted by colorado48

Flashed the mod in Magisk and rebooted, the mod made the fingerprint option unavailable in Settings. (stock 7.1.1 140)
Disabled the mod Magisk and rebooted, fingerprint appeared again.
Can you look into it?
P/s: flash the mod directly in TWRP will get you stuck at boot logo.

Please update to new fixed version I updated the link now for second time nothing hardcoded it's working perfectly for me on 32.4.A.0.160 should do same for all roms/devices
Do not forget to use remover before updating .. enjoy
The Following User Says Thank You to korom42 For This Useful Post: [ View ] Gift korom42 Ad-Free
23rd September 2017, 05:57 PM |#6  
Senior Member
Flag Ho Chi Minh City
Thanks Meter: 58
 
More
New version works now 👍
Fingerprint works now too.
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20170923-225324.png
Views:	362
Size:	44.0 KB
ID:	4281030  
The Following User Says Thank You to colorado48 For This Useful Post: [ View ] Gift colorado48 Ad-Free
23rd September 2017, 10:30 PM |#7  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 2,299
 
More
I still dnt have tha log file.... But test file inside init.d folder!!
Woooooooppppppssss......
24th September 2017, 01:11 AM |#8  
korom42's Avatar
OP Senior Member
Thanks Meter: 454
 
Donate to Me
More
Quote:
Originally Posted by colorado48

New version works now
Fingerprint works now too.

good bro enjoy
Quote:
Originally Posted by whalesplaho

I still dnt have tha log file.... But test file inside init.d folder!!
Woooooooppppppssss......

how is that, what kernel/rom you are using.. working fine on stock here
Also note that you might need to wait 30sec at least after boot before init.d takes effect
So try to refresh in your file manager and check the result in /data/
24th September 2017, 05:40 AM |#9  
whalesplaho's Avatar
Senior Member
Flag Treasure Island
Thanks Meter: 2,299
 
More
Quote:
Originally Posted by korom42

good bro enjoy


how is that, what kernel/rom you are using.. working fine on stock here
Also note that you might need to wait 30sec at least after boot before init.d takes effect
So try to refresh in your file manager and check the result in /data/

Im on crdroid lineage os and using stock kernel too brov.. 30secs? Okay will try again.
27th September 2017, 04:39 PM |#10  
korom42's Avatar
OP Senior Member
Thanks Meter: 454
 
Donate to Me
More
New version is up ! .. minor changes but better update
2.1 | 27/09/2017
Code:
- Removed sleep for 30 sec post boot (to avoid conflicts with some scripts)
28th September 2017, 08:51 AM |#11  
Pandemic's Avatar
Senior Member
Cyber City On Cybertron
Thanks Meter: 22,320
 
Donate to Me
More
Bro @korom42 there is no initd_test.log in the data folder on my XZ

Verstuurd vanaf mijn F8331 met Tapatalk
Post Reply Subscribe to Thread

Tags
init.d enabler, initd, magisk, script, systemless
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes