Sony SmartEyeglass SDK Developer Preview Released

A little over a month ago in Tokyo, Japan, Sony unveiled its new SmartEyeglasstechnology. … more

XDA and Leaseweb: Server Trial/Moto 360 Contest (Winners!)

About a month ago, we held a contest along with XDA’s host, Leaseweb, to … more

Updated Android Lollipop Preview Images – XDA TV

The Android Lollipop Preview Images are now available! That and much more news is … more

Get a Complete Set of Logs with Andy Log

The importance of proper logging is undeniable. No, we’re not talking about lumberjack work. … more
Post Reply

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

OP _alexndr

29th March 2014, 02:31 PM   |  #1  
_alexndr's Avatar
OP Senior Member
Thanks Meter: 1,199
 
292 posts
Join Date:Joined: Mar 2013
More
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)
Last edited by _alexndr; 16th September 2014 at 09:50 AM.
The Following 22 Users Say Thank You to _alexndr For This Useful Post: [ View ]
29th March 2014, 06:40 PM   |  #2  
firasusman's Avatar
Senior Member
Flag Dubai
Thanks Meter: 11,121
 
2,100 posts
Join Date:Joined: Sep 2011
Donate to Me
More
Thanks mate.
Done.


Sent from my SM-N9005 using Tapatalk
29th March 2014, 07:19 PM   |  #3  
HSD-Pilot's Avatar
Recognized Contributor
Flag NRW
Thanks Meter: 2,117
 
3,362 posts
Join Date:Joined: Jan 2012
More
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
29th April 2014, 03:07 PM   |  #4  
futchy4u's Avatar
Senior Member
Flag Egypt - Cairo
Thanks Meter: 66
 
483 posts
Join Date:Joined: Jun 2012
More
Looks interesting, can this be done to note 2 running 4.4.2 ?
29th April 2014, 03:48 PM   |  #5  
ANDROIDXFOREVER's Avatar
Senior Member
Thanks Meter: 23
 
147 posts
Join Date:Joined: Mar 2014
Quote:
Originally Posted by _alexndr

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
9th August 2014, 01:47 PM   |  #6  
Senior Member
Flag Bucharest greatest city ever
Thanks Meter: 532
 
1,395 posts
Join Date:Joined: Sep 2012
More
Another mirror pls. Second one is down, and mega is not working on so me Europeans countries.

Sent from my SM-N9005 using Tapatalk
10th August 2014, 02:36 PM   |  #7  
_alexndr's Avatar
OP Senior Member
Thanks Meter: 1,199
 
292 posts
Join Date:Joined: Mar 2013
More
Quote:
Originally Posted by bogdan1980

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)
The Following User Says Thank You to _alexndr For This Useful Post: [ View ]
11th August 2014, 08:26 AM   |  #8  
Junior Member
Flag BellFlower, CA
Thanks Meter: 6
 
13 posts
Join Date:Joined: Jan 2011
Donate to Me
More
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
Last edited by Geofferey; 11th August 2014 at 07:51 PM.

The Following 2 Users Say Thank You to Geofferey For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
init.d, kernel, snapdragon, stock, support
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Galaxy Note 3 Original Android Development by ThreadRank