2nd-init for the Droid X2!

Search This thread

DJJasonK

Senior Member
Jul 12, 2011
85
6

KurioHonoo

Senior Member
Oct 18, 2010
269
17
Please give me the output from the commands below.

ls /system/xbin
ls /system/bin
ls -R /system/rootfs


export PATH=/data/local/bin:$PATH
$ $su
# ls /system/bin
nvmm_aacdec.axf
vpnclientpm
keystore
nvmm_jpegenc.axf
tcmd
lsmod
find
nvmm_manager.axf
mountosh
encryption_test
ps
ip
dmhdcp
app_process
pppd-ril
tcmdhelp
bluetoothd
nvmm_mp3dec.axf
nvmm_wavdec.axf
uncompress
modemlog
id
mount_pia.sh
tuncfg
nvmm_vc1dec.axf
ls
vi
df
netcfg
dlnasrv
traceroute
watchprops
disp_util
gkilogd
secclkd
smd
nvddk_audiofx_core.axf
touch
ap_gain.bin
getprop
check_sdc.sh
sendevent
input
netstat
dund
grep
nvmm_wmadec.axf
bugreport
touchpad
egrep
schedtest
bt_init
tc
nvrm_daemon
killall
load_pia.sh
pppd
tegrastats
batch
resize2fs
route
fbread
fdisk
stop
dmt
omx_tests
surfaceflinger
linker
sleep
umount
mount
which
less
top
setconsole
ioctl
ap_gain_mmul.bin
motobox
hijack
notify
bmgr
ping
enc_mgt_tool
tune2fs
dmesg
installd
cat
fmradio
ndc
e2fsck
system_server
dexopt
racoon
battd
ifconfig
tstmetainfo
unzip
chat-ril
renice
nvmm_sw_mp3dec.axf
nvmm_adtsdec.axf
fsck_msdos
dumpstate
dbus-daemon
rm
sync
chown
dhcpcd
chmod
sed
loadpreinstalls.sh
tar
Hostapd
[
more
nvmm_h264dec.axf
bt_downloader
ime
pgrep
vdc
wipe
reboot
iftop
rild
hd
ril-routing-bringup-chum.sh
factory_reset
tty2ttyd
whoami
logwrapper
kill
nvmm_wmaprodec.axf
rmmod
nandread
pm
monkey
am
dbvc_atvc_property_set
bootanimation
dumpsys
dmgles
chgrp
mediaserver
nvmm_reference.axf
testpppd
ril-ip-bringup-chum.sh
start_enc_mgt_tool.sh
mke2fs
servicemanager
hexdump
awk
toolbox
mtpd
nvmm_mpeg4dec.axf
nvmm_jpegdec.axf
test
dumpe2fs
service
brcm_patchram_plus
cp
wpa_supplicant
date
memtest_mode
bugtogo.sh
printenv
mkdir
getevent
bt_test_exec
gzip
debuggerd
dnsmasq
pkill
mdm_panicd
svc
start
xargs
nvrm_avp.axf
schedtop
applypatch
firewall.sh
nvmm_sorensondec.axf
nv_hciattach
nvtest
newfs_msdos
usbd
du
gunzip
sdptool
diff
ionice
dd
ln
mv
mount_ext3.sh
rmdir
netd
charge_only_mode
head
dvz
updater
nvmm_service.axf
nvddk_audiofx_transport.axf
tund
audio_ecns_param.bin
iptables
vold
logcat
insmod
tdc
fmradioserver
setprop
nvmm_mp2dec.axf
ftmipcd
tee
qbp-port-mgr
akmd2
pand
remountpds
dmhdcp_up
nvmm_audiomixer.axf
napics.sh
tail
dalvikvm
hciattach
nvdmmultidisplay
log
cmp
mot_boot_mode
run-as
sh
vmstat
masterclear
su
charge_only_mode.bin
#

export PATH=/data/local/bin:$PATH
$ $su
# ls /system/bin
nvmm_aacdec.axf
vpnclientpm
keystore
nvmm_jpegenc.axf
tcmd
lsmod
find
nvmm_manager.axf
mountosh
encryption_test
ps
ip
dmhdcp
app_process
pppd-ril
tcmdhelp
bluetoothd
nvmm_mp3dec.axf
nvmm_wavdec.axf
uncompress
modemlog
id
mount_pia.sh
tuncfg
nvmm_vc1dec.axf
ls
vi
df
netcfg
dlnasrv
traceroute
watchprops
disp_util
gkilogd
secclkd
smd
nvddk_audiofx_core.axf
touch
ap_gain.bin
getprop
check_sdc.sh
sendevent
input
netstat
dund
grep
nvmm_wmadec.axf
bugreport
touchpad
egrep
schedtest
bt_init
tc
nvrm_daemon
killall
load_pia.sh
pppd
tegrastats
batch
resize2fs
route
fbread
fdisk
stop
dmt
omx_tests
surfaceflinger
linker
sleep
umount
mount
which
less
top
setconsole
ioctl
ap_gain_mmul.bin
motobox
hijack
notify
bmgr
ping
enc_mgt_tool
tune2fs
dmesg
installd
cat
fmradio
ndc
e2fsck
system_server
dexopt
racoon
battd
ifconfig
tstmetainfo
unzip
chat-ril
renice
nvmm_sw_mp3dec.axf
nvmm_adtsdec.axf
fsck_msdos
dumpstate
dbus-daemon
rm
sync
chown
dhcpcd
chmod
sed
loadpreinstalls.sh
tar
Hostapd
[
more
nvmm_h264dec.axf
bt_downloader
ime
pgrep
vdc
wipe
reboot
iftop
rild
hd
ril-routing-bringup-chum.sh
factory_reset
tty2ttyd
whoami
logwrapper
kill
nvmm_wmaprodec.axf
rmmod
nandread
pm
monkey
am
dbvc_atvc_property_set
bootanimation
dumpsys
dmgles
chgrp
mediaserver
nvmm_reference.axf
testpppd
ril-ip-bringup-chum.sh
start_enc_mgt_tool.sh
mke2fs
servicemanager
hexdump
awk
toolbox
mtpd
nvmm_mpeg4dec.axf
nvmm_jpegdec.axf
test
dumpe2fs
service
brcm_patchram_plus
cp
wpa_supplicant
date
memtest_mode
bugtogo.sh
printenv
mkdir
getevent
bt_test_exec
gzip
debuggerd
dnsmasq
pkill
mdm_panicd
svc
start
xargs
nvrm_avp.axf
schedtop
applypatch
firewall.sh
nvmm_sorensondec.axf
nv_hciattach
nvtest
newfs_msdos
usbd
du
gunzip
sdptool
diff
ionice
dd
ln
mv
mount_ext3.sh
rmdir
netd
charge_only_mode
head
dvz
updater
nvmm_service.axf
nvddk_audiofx_transport.axf
tund
audio_ecns_param.bin
iptables
vold
logcat
insmod
tdc
fmradioserver
setprop
nvmm_mp2dec.axf
ftmipcd
tee
qbp-port-mgr
akmd2
pand
remountpds
dmhdcp_up
nvmm_audiomixer.axf
napics.sh
tail
dalvikvm
hciattach
nvdmmultidisplay
log
cmp
mot_boot_mode
run-as
sh
vmstat
masterclear
su
charge_only_mode.bin
#


export PATH=/data/local/bin:$PATH
$ $su
# ls -R /system/rootfs
/system/rootfs: No such file or directory
#

I'm sorry, i wasn't sure how else to paste those there, im probably going to get yelled at for making such a huge post
 

edgan

Senior Member
Apr 13, 2011
98
368
export PATH=/data/local/bin:$PATH
# ls /system/bin
mount_ext3.sh

mount_ext3.sh is good, but 2nd-init is missing.

This should be /system/xbin.

# ls -R /system/rootfs
/system/rootfs: No such file or directory
#
This was my typo. It should be /system/etc/rootfs.

As a workaround for now, try the tar file.

1. Get the tar on the phone, and put it in /data
2. Become root
3. cd /
4. mount -o remount,rw /dev/mmcblk0p12 /system
4. tar xf /data/2nd-init-DroidX2-1.0.6.tar
5. mount -o remount,ro /dev/mmcblk0p12 /system
6. Reboot

If the instructions work, but /sys/kernel/debug still has nothing, then show me the output of these commands again.

ls /system/bin
ls /system/xbin
ls /system/etc/rootfs
 

Sandso9

Senior Member
Jun 5, 2010
368
16
IL
put the script in and its not showing any output it just makes a new line is that good?
 
Last edited:

garywojdan81

Senior Member
Aug 10, 2010
3,541
1,038
Koush will never support this, ever EVER, sucks right

Why? I'm new to the x2 & trying to get up to speed. On the fascinate, most everything was unsupported at first but our devs got most things to work on their own & then the official support showed up. Thatdudebutch & Nitroglycerine33 did some fantastic work for us, just to drop some names.

Sent from my DROID X2 using XDA Premium App
 

zsg1313

Senior Member
Sep 4, 2010
73
11
Why wont he

Sent from my DROID X2 using XDA App

Probabaly because most devs are flat out sick and tired of moto/verizon bullshit.

I will never purchase one again, only reason im on an x2 is because it was company provided. They told me not to mess with it and I laughed

Sprint GSII here i come...if it ever hits the states
 

Antob125

Senior Member
May 23, 2011
386
52
Probabaly because most devs are flat out sick and tired of moto/verizon bullshit.

I will never purchase one again, only reason im on an x2 is because it was company provided. They told me not to mess with it and I laughed

Sprint GSII here i come...if it ever hits the states

Samsung Galaxy 2 is coming to Verizon

Sent from my DROIDX using Tapatalk
 

zsg1313

Senior Member
Sep 4, 2010
73
11
Samsung Galaxy 2 is coming to Verizon

Sent from my DROIDX using Tapatalk

Verizon offers 10gb for 80 dollars...Ill never go back to them again. DX2 is in my hands because the company gave it to me and i pay 27$ a month for unlimited.

If and when I leave work I do have to give it back though, so onward to Sprint!!
 

Antob125

Senior Member
May 23, 2011
386
52
Verizon offers 10gb for 80 dollars...Ill never go back to them again. DX2 is in my hands because the company gave it to me and i pay 27$ a month for unlimited.

If and when I leave work I do have to give it back though, so onward to Sprint!!

If you were in before 7/7/11 then you're grandfathered into unlimited data with verizon.

Sent from my DROIDX using Tapatalk
 

Xyzodiac

Senior Member
Jul 9, 2011
92
8
Ocala, FL
Probabaly because most devs are flat out sick and tired of moto/verizon bullshit.

I will never purchase one again, only reason im on an x2 is because it was company provided. They told me not to mess with it and I laughed

Sprint GSII here i come...if it ever hits the states

Well that doesn't hurt Verizon or Motorola it just hurts the people that desperately want some developer support for their devices. Honestly I would take it as a challenge rather a deterrent.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    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! :D


    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:

    cO54DH.png



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


    h4MYc4.png
    6
    2nd init working on Gingerbread :) Thanks goes to me and Edgan.
    1
    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
    1
    Yes you're wrong

    Sent from my DROID X2

    Goood!! can't wait to see some cm7
    1
    That is basically right. As of now, the few ROMs we have are based off of the default kernel. CM7 has already been ported successfully to devices running 2nd-init hacks written for those devices. Dragonzkiller has been working on tearing CM7 apart to see if he can get it to work. Now that 2nd-init is confirmed working, all we need to do is wait for the devs to work together and port CM7 and other ROMs that use custom kernels to work with the default kernel via 2nd-init... So again, its just a waiting game now...

    EDIT: here is a link to what 2nd-init is and how it works... It is a little technical but it should help u get the jist of how it does what is does... http://cvpcs.org/blog/2011-06-14/2nd-init._what_it_is_and_how_it_works

    That is also posted earlier I believe by MikeJ aka Caps lol. And even if I don't understand the complete tech wording that explanation makes more sense than a 99¢ store....hadtoto say it..sorry getting late and just keep checking and waiting for an " I've DONE IT" post lol