Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[Q] init.d scripts not working with Cataclysm rom

OP Lownita

21st March 2014, 06:10 PM   |  #1  
Lownita's Avatar
OP Senior Member
Flag Germany
Thanks Meter: 215
 
1,585 posts
Join Date:Joined: Jun 2011
More
I can't get init.d scripts to work with cataclysm rom. They simply do nothing. Permissions are correct, I double checked everything. What is going wrong?
21st March 2014, 06:12 PM   |  #2  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,807
 
24,990 posts
Join Date:Joined: Aug 2010
More
Does the kernel have init.d support?
21st March 2014, 06:16 PM   |  #3  
Lownita's Avatar
OP Senior Member
Flag Germany
Thanks Meter: 215
 
1,585 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by rootSU

Does the kernel have init.d support?

Yes, it is latest franco kernel. I think something may have gone wrong with the rom itself, but I have no idea what it might be. Perhaps busybox got borked from updating it over the playstore?
21st March 2014, 06:24 PM   |  #4  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,807
 
24,990 posts
Join Date:Joined: Aug 2010
More
Have they ever worked on the ROM?

How does the ROM call root? Some ROMs call root via init.d - I'm not sure in this case if init.d scripts that run before that are causing an issue.

You can crate init.d scripts that don't require root. Thinks like:

Code:
echo "hello" > /sdcard/hello.txt
And check they can do that.

As for specifics, I'm not familiar with the rom or kernel.
21st March 2014, 06:37 PM   |  #5  
Lownita's Avatar
OP Senior Member
Flag Germany
Thanks Meter: 215
 
1,585 posts
Join Date:Joined: Jun 2011
More
That doesn't work either. The roms FAQ says that init.d support would rely on kernel. So I guess it should be able to do it. Strange.
21st March 2014, 06:53 PM   |  #6  
rootSU's Avatar
Senior Member
Flag Oxenhope, West Yorkshire, UK
Thanks Meter: 13,807
 
24,990 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by Lownita

That doesn't work either. The roms FAQ says that init.d support would rely on kernel. So I guess it should be able to do it. Strange.

And franco definitely has support? I only ask cause I cant see any feature list for it.
21st March 2014, 07:54 PM   |  #7  
Lownita's Avatar
OP Senior Member
Flag Germany
Thanks Meter: 215
 
1,585 posts
Join Date:Joined: Jun 2011
More
Quote:
Originally Posted by rootSU

And franco definitely has support? I only ask cause I cant see any feature list for it.

Yep, for sure! They are even sharing some scripts in the thread
21st March 2014, 08:08 PM   |  #8  
Ben36's Avatar
Senior Member
Thanks Meter: 2,037
 
6,694 posts
Join Date:Joined: Jun 2012
You probably need a helper app as Cataclysm is pretty much stock rom. Just with some added extras

Sent from my Nexus 5 using Tapatalk

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes