5,595,918 Members 30,808 Now Online
XDA Developers Android and Mobile Development Forum

2nd-init for the Droid X2!

Tip us?
 
edgan
Old
(Last edited by edgan; 22nd July 2011 at 04:00 AM.)
#1  
Member - OP
Thanks Meter 370
Posts: 97
Join Date: Apr 2011

 
DONATE TO ME
Default 2nd-init for the Droid X2!

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!


The Following 10 Users Say Thank You to edgan For This Useful Post: [ Click to Expand ]
 
tlgem
Old
#2  
Senior Member
Thanks Meter 23
Posts: 410
Join Date: Dec 2006
Location: Independence Ohio
Great work Thank you
 
juhde
Old
#3  
juhde's Avatar
Senior Member
Thanks Meter 39
Posts: 334
Join Date: Mar 2010
Location: Carlsbad, NM
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
iPhone - You're holding it wrong
The Following User Says Thank You to juhde For This Useful Post: [ Click to Expand ]
 
DJJasonK
Old
#4  
DJJasonK's Avatar
Member
Thanks Meter 2
Posts: 64
Join Date: Jul 2011
Thumbs up Great job.

Thank you. I'll throw u a couple bones Tuesday.
 
KurioHonoo
Old
#5  
Senior Member
Thanks Meter 7
Posts: 241
Join Date: Oct 2010
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
 
dragonzkiller
Old
(Last edited by dragonzkiller; 22nd July 2011 at 06:19 AM.) Reason: updated a few stuff
#6  
Recognized Developer
Thanks Meter 1355
Posts: 262
Join Date: Jun 2011
Location: Wichita

 
DONATE TO ME
Quote:
Originally Posted by juhde View Post
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.
 
juhde
Old
#7  
juhde's Avatar
Senior Member
Thanks Meter 39
Posts: 334
Join Date: Mar 2010
Location: Carlsbad, NM
Quote:
Originally Posted by dragonzkiller View Post
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
iPhone - You're holding it wrong
 
edgan
Old
#8  
Member - OP
Thanks Meter 370
Posts: 97
Join Date: Apr 2011

 
DONATE TO ME
Quote:
Originally Posted by KurioHonoo View Post
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.
 
ericerk
Old
#9  
ericerk's Avatar
Senior Member
Thanks Meter 49
Posts: 783
Join Date: Jun 2010
Quote:
Originally Posted by juhde View Post
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
Click Here!!!
 
KurioHonoo
Old
#10  
Senior Member
Thanks Meter 7
Posts: 241
Join Date: Oct 2010
Yes, I have super user access, and no such file exists in my data folder

Sent from my DROID X2 using XDA App

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes