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

2nd-init for the Droid X2!

OP edgan

22nd July 2011, 04:46 AM   |  #1  
OP Member
Thanks Meter: 370
 
97 posts
Join Date:Joined: Apr 2011
Donate to Me
I have just finished porting 2nd-init to the Droid X2. It was a clean port from the Atrix. I didn't modify the code, just compiled it. The work was in the install/wrapper.

This opens up custom ROMs, like CM7. This does not unlock the bootloader or allow custom kernels.

It has been tested on one Droid X2 so far. I recommend only developers play with this for now. It is not that useful be itself, but expect to see lots of new things happen based on this.

I welcome feedback. Also feel free to Donate via the "Donate to me" link under my username, top left, on XDA. Donate out of gratitude for this work, not for promises of future work.

I would like to give a special thanks to religi0n/relax. He stepped up to help me test 2nd-init, and worked with me across multiple days. Since I don't own a Droid X2, this wouldn't have happened without him.

Enjoy!


This apk requires SuperUser.apk to already be installed, and working. Ignore any references to the Atrix. This apk is custom for the Droid X2, but I didn't change all references to the Atrix in the apk. I will be working on an updated apk that doesn't mention the Atrix.

Steps for the apk:

1. Get it on the phone however you like
2. Install the apk
3. Open 2ndinit
4. Click Install
5. Click OK when the dialog comes up
6. Install Android Terminal Emulator from the Market
7. Open Android Terminal Emulator
8. type ls /sys/kernel/debug<enter>


This is only for Froyo. We know it breaks in it's current form with Gingerbread.

Thanks to religi0n!
Thanks to eval!
Thanks to Brandon15811!
Thanks to xfinrodx!
Thanks to xvilka!
Thanks to PAuly!
Thanks to Skrilax_CZ!
Thanks to BravoMotorola!
Thanks to NFHimself!

DOWNLOADS
2nd-init Droid X2 apk

Developers only:
Tarball

Info:
This method starts 2nd-init via mount_ext3.sh.

Warning! This conflicts with Tenfar's ClockWorkMod(aka CWM) Recovery
If the phone is wall charging, you shut down the phone, and start it, it will boot CWM
To avoid this, open System Recovery and hit Charge Mode.
It may also conflict with other recovery tools, or other things that tweak the normal boot process.

Tweaks:
/sys/kernel/debug mounted

Checking for successful installation:

ls /sys/kernel/debug

Good Output:




If the Output is good, then Congradulations you have control over init now!


Last edited by edgan; 22nd July 2011 at 05:00 AM.
The Following 10 Users Say Thank You to edgan For This Useful Post: [ View ]
22nd July 2011, 04:54 AM   |  #2  
Senior Member
Flag Independence Ohio
Thanks Meter: 23
 
412 posts
Join Date:Joined: Dec 2006
More
Great work Thank you
22nd July 2011, 05:17 AM   |  #3  
juhde's Avatar
Senior Member
Flag Carlsbad, NM
Thanks Meter: 39
 
337 posts
Join Date:Joined: Mar 2010
More
This is really great news. Now we just need someone to get cracking on the CM7 port.

Thanks for your hard work edgan and all testers!

Sent from my DROID X2
The Following User Says Thank You to juhde For This Useful Post: [ View ]
22nd July 2011, 06:14 AM   |  #4  
DJJasonK's Avatar
Member
Thanks Meter: 3
 
70 posts
Join Date:Joined: Jul 2011
More
Thumbs up Great job.
Thank you. I'll throw u a couple bones Tuesday.
22nd July 2011, 07:05 AM   |  #5  
Senior Member
Thanks Meter: 7
 
241 posts
Join Date:Joined: Oct 2010
More
I can't seem to get it to work, I installed the App, installed 2nd-init, terminal emulator, typed in ls /sys/kernel/debug, pressed enter and then nothing happens

Sent from my DROID X2 using XDA App
22nd July 2011, 07:17 AM   |  #6  
Recognized Developer
Wichita
Thanks Meter: 1,364
 
264 posts
Join Date:Joined: Jun 2011
Donate to Me
More
Quote:
Originally Posted by juhde

This is really great news. Now we just need someone to get cracking on the CM7 port.

Thanks for your hard work edgan and all testers!

Sent from my DROID X2

I've started tearing apart CM7. I've been using part of the code of the X and part from the LG Star (which appears to be the only other tegra2 device available through the git repository).

Needless to say, I'm going to need some help. I have a git repository set up right now that will eventually hold what I'm working on, but like I said, without help, I'm kinda slow at this.

I do have the build and system props switched in and a few other things, but not much now.
Last edited by dragonzkiller; 22nd July 2011 at 07:19 AM. Reason: updated a few stuff
22nd July 2011, 07:31 AM   |  #7  
juhde's Avatar
Senior Member
Flag Carlsbad, NM
Thanks Meter: 39
 
337 posts
Join Date:Joined: Mar 2010
More
Quote:
Originally Posted by dragonzkiller

I've started tearing apart CM7. I've been using part of the code of the X and part from the LG Star (which appears to be the only other tegra2 device available through the git repository).

Needless to say, I'm going to need some help. I have a git repository set up right now that will eventually hold what I'm working on, but like I said, without help, I'm kinda slow at this.

I do have the build and system props switched in and a few other things, but not much now.

Look into Atrix, it's tegra2 and I believe they already have a unofficial port for CM7. It may need minimal tweaking since nearly every hack for the X2 this far has been modified atrix stuff.
Sent from my DROID X2
22nd July 2011, 07:32 AM   |  #8  
OP Member
Thanks Meter: 370
 
97 posts
Join Date:Joined: Apr 2011
Donate to Me
Quote:
Originally Posted by KurioHonoo

I can't seem to get it to work, I installed the App, installed 2nd-init, terminal emulator, typed in ls /sys/kernel/debug, pressed enter and then nothing happens

Do you have Superuser.apk installed? Did it pop up when you opened 2nd-init?

Check for /data/two.log. If it is there, post the contents here.
22nd July 2011, 07:42 AM   |  #9  
ericerk's Avatar
Senior Member
Thanks Meter: 60
 
896 posts
Join Date:Joined: Jun 2010
More
Quote:
Originally Posted by juhde

Look into Atrix, it's tegra2 and I believe they already have a unofficial port for CM7. It may need minimal tweaking since nearly every hack for the X2 this far has been modified atrix stuff.
Sent from my DROID X2

Isn't everything atrix now 2.3.3? so wouldn't you need to work from old cm with out gingerbread... i hope i'm wrong
22nd July 2011, 07:45 AM   |  #10  
Senior Member
Thanks Meter: 7
 
241 posts
Join Date:Joined: Oct 2010
More
Yes, I have super user access, and no such file exists in my data folder

Sent from my DROID X2 using XDA App

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

Advanced Search
Display Modes