Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,807,179 Members 41,451 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT/ZIP][N9005][4.4.2] Init.d Support without need of use Custom Kernel

Tip us?
 
_alexndr
Old
(Last edited by _alexndr; 16th September 2014 at 09:50 AM.)
#1  
_alexndr's Avatar
Senior Member - OP
Thanks Meter 994
Posts: 262
Join Date: Mar 2013
Talking [SCRIPT/ZIP][N9005][4.4.2] Init.d Support without need of use Custom Kernel

Firstly a big thanks to @Ryuinferno for this very interesting thread:

http://forum.xda-developers.com/show....php?t=1933849

Unfortunately, above script does not work in case of Samsung Qualcomm (Snapdragon) devices running 4.4.2 KitKat stock kernel.

Fortunately @shazzl in post #438 suggested a very interesting idea to start run-parts using /system/etc/init.qcom.post_boot.sh

I tuned, nuanced and implemented this idea in real life by creating my add_initd.sh script. I have created also a CWM/MOP flashable file to apply this modification as simple as possible

Requirements:
- a rooted Samsung Qualcomm (Snapdragon) device
- custom recovery (CWM/TWRP) or Mobile Odin
- Busybox installed (every custom ROM should contains it, in case of (CF-Auto-)rooted pure stock - just install it using THIS APP from Play Store)

Download link:
add_qcom_initd.zip

Installation:
1. Custom recovery (KNOX 0x1) - open file using "Install Zip" option and confirm "Yes - install..."
2. Mobile Odin - open file using "OTA/Update ZIP" option. UNTICK Everroot! This type of installation let you keep KNOX 0x0 if you still kept this flag (thanks to udating every ROM by Mobile Odin PRO only)
The Following 20 Users Say Thank You to _alexndr For This Useful Post: [ Click to Expand ]
 
firasusman
Old
#2  
firasusman's Avatar
Senior Member
Thanks Meter 11,101
Posts: 2,100
Join Date: Sep 2011
Location: Dubai

 
DONATE TO ME
Thanks mate.
Done.


Sent from my SM-N9005 using Tapatalk
LiquidBlack ROM N7000
Liquid ROM N7000
Assassin ROM N7100
Swift ROM N7100
Assassin theme your Rom N7100
Assassin ROM N9005
Script/Fix Soft_Brick Loop_ EFS partition

 
HSD-Pilot
Old
#3  
HSD-Pilot's Avatar
Recognized Contributor
Thanks Meter 2,043
Posts: 3,333
Join Date: Jan 2012
Location: NRW
Nice work, i was going crazy by trying all Scripts 4 init.d support, to get it going on Stock Kernel. Your idea is great and i'll try it next time, when i'm going back 2 Stock.

Gesendet von meinem hlte
 
futchy4u
Old
#4  
futchy4u's Avatar
Senior Member
Thanks Meter 65
Posts: 472
Join Date: Jun 2012
Location: Egypt - Cairo
Looks interesting, can this be done to note 2 running 4.4.2 ?
Phone: Samsung Galaxy Note II GT-N7100.
ROM: [wesam.othman ROM 4.4.2][XXUFNG4]
Kernel: Stock
------------------------------------------------------------------------------
Old Device:
Phone: Sony Ericsson Xperia Arc.
ROM: [ROM][JB][Arc/S] Slim Bean 4.0 [ The Ultimate Jelly Bean Experience ]
Kernel: FusioN v5.0
 
ANDROIDXFOREVER
Old
#5  
ANDROIDXFOREVER's Avatar
Senior Member
Thanks Meter 23
Posts: 147
Join Date: Mar 2014
Quote:
Originally Posted by _alexndr View Post
Firstly a big thanks to @Ryuinferno for this very interesting thread:

http://forum.xda-developers.com/show....php?t=1933849

Unfortunately, above script does not work in case of Samsung Qualcomm (Snapdragon) devices running 4.4.2 KitKat stock kernel.

Fortunately @shazzl in post #438 suggested a very interesting idea to start run-parts using /system/etc/init.qcom.post_boot.sh

I tuned, nuanced and implemented this idea in real life by creating my add_initd.sh script. I have created also a CWM/MOP flashable file to apply this modification as simple as possible

Requirements:
- a rooted Samsung Qualcomm (Snapdragon) device
- custom recovery (CWM/TWRP) or Mobile Odin
- Busybox installed (every custom ROM should contains it, in case of (CF-Auto-)rooted pure stock - just install it using THIS APP from Play Store)

Download links:
add_qcom_initd.zip (MEGA)
add_qcom_initd.zip (Mirror cps)

Installation:
1. Custom recovery (KNOX 0x1) - open file using "Install Zip" option and confirm "Yes - install..."
2. Mobile Odin - open file using "OTA/Update ZIP" option. UNTICK Everroot! This type of installation let you keep KNOX 0x0 if you still kept this flag (thanks to udating every ROM by Mobile Odin PRO only)
great work Thanks mate
 
bogdan1980
Old
#6  
Senior Member
Thanks Meter 527
Posts: 1,386
Join Date: Sep 2012
Location: Bucharest greatest city ever
Another mirror pls. Second one is down, and mega is not working on so me Europeans countries.

Sent from my SM-N9005 using Tapatalk
S2 oficial rom Xwlsn 4.1.2, Dorimanx 8.40/or latest beta
Optimus G
 
_alexndr
Old
#7  
_alexndr's Avatar
Senior Member - OP
Thanks Meter 994
Posts: 262
Join Date: Mar 2013
Quote:
Originally Posted by bogdan1980 View Post
Another mirror pls. Second one is down, and mega is not working on so me Europeans countries.

Sent from my SM-N9005 using Tapatalk
add_qcom_initd.zip (Dropbox)
Always the latest prerooted ROMs for most countries [Multi CSC][KNOX 0x0]:
[ROM] Samsung Galaxy Note 3 (SM-N9005)[ROM] Samsung Galaxy S5 (SM-G900F)
 
Geofferey
Old
(Last edited by Geofferey; 11th August 2014 at 07:51 PM.)
#8  
Junior Member
Thanks Meter 4
Posts: 13
Join Date: Jan 2011
Location: BellFlower, CA

 
DONATE TO ME
Default Thanks

Hey Alex, thanks for creating this init.d enabler I was trying to enable init.d on my stock Galaxy Tab 3 running KitKat with KNOX & nothing was working. I even tried adding support to kernels init.rc with no success. Not only that it taught me more about enabling init.d support & inspired me to write a script that utilizes your method, Ryuinferno's and one I came up with on my own combined with Ryuinferno's. It will also add a 2nd-init.d for ROMs with kernels that execute scripts too early and hang the system (I had one that did this). So you can have two init.ds one that came with ROM and another. If you could check it out, I'd really appreciate your input. It's still a WIP & definitely needs improvement.

Uni-init.d.sh
- Geofferey Eakins - "What we post on these webs will one day become our legacy's."

The Following User Says Thank You to Geofferey For This Useful Post: [ Click to Expand ]
Tags
init.d, kernel, snapdragon, stock, support
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Schedule is up for xda:devcon ’14

With xda:devcon ’14 just around the corner, and the venue close to selling out, there is a lot … more

aLogcat Returns Thanks to XDA Love

The developers of Android, that is Google, gave users several great debugging tools that can be used in … more

And the Winners in the XDA Pebble Development Challenge Are…

Almost two months ago, we set out with Pebble to findthree amazing … more

MediaTek Releases Full Kernel Source for First Android One Devices

Those who might have thought that MediaTek wouldnever release working … more