FORUMS

Download Sony’s new AOSP-like concept for Xperia Z3

Over in our forums, Recognized Contributor Jozinek has posted a very … more

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the … more

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of … more

ZenFone 2 Lolliflash and ZenPower Giveaway!

We recently did an in-depth review of the Asus Zenfone 2 but one of the things people may … more

[DEV] 2nd-init Compiled and Running

209 posts
Thanks Meter: 446
 
By Loglud, Senior Member on 24th November 2011, 10:17 AM
Post Reply Subscribe to Thread Email Thread
So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.

Here are the files:
2nd-init.tar

To recomile with the NDK use the following command:
Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
(Thanks to Indirect)

GOOD LUCK
Attached Files
File Type: tar 2nd-init.tar - [Click for QR Code] (20.0 KB, 156 views)
Last edited by Loglud; 24th November 2011 at 08:51 PM.
The Following 5 Users Say Thank You to Loglud For This Useful Post: [ View ]
 
 
24th November 2011, 10:45 AM |#2  
Recognized Contributor
Flag Florida
Thanks Meter: 2,987
 
Donate to Me
More
Quote:
Originally Posted by Loglud

So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.

Here are the files:
2nd-init.tar

To recomile with the NDK use the following command:

Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
GOOD LUCK


Hmm, if only another developer told you how to cross compile. Oh wait! Haha, congrats Loglud.
25th November 2011, 01:44 AM |#3  
Junior Member
Thanks Meter: 1
 
More
Quote:
Originally Posted by Loglud

So I have been working on this for a while trying to get things to cross compile, and i got this to compile it is the Source and the program runs on the nook. Next we will have to write our new init.rc to mount our own os. Someone will have to help me with some research, but I just thought you should know.

Here are the files:
2nd-init.tar

To recomile with the NDK use the following command:

Code:
/home/<user>/Downloads/android-ndk-r7/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/bin/arm-linux-androideabi-gcc --sysroot=/home/<user>/Downloads/android-ndk-r7/platforms/android-14/arch-arm/ 2nd-init.c
(Thanks to Indirect)

GOOD LUCK

Awesome! Great job Log. Big Step in the right direction.
27th November 2011, 05:28 AM |#4  
zanderman112's Avatar
Recognized Themer
Flag SouthEast USA
Thanks Meter: 1,840
 
Donate to Me
More
Nice. 10char.
13th December 2011, 07:34 PM |#6  
diamond_lover's Avatar
Senior Member
Top Secret
Thanks Meter: 116
 
More
Quote:
Originally Posted by AdamOutler

So, did development stop on this? how is it installed?

I want know it too... >.<
13th December 2011, 07:44 PM |#7  
OP Senior Member
Thanks Meter: 446
 
Donate to Me
More
Jeeze idk, i completely forgot about this thread until you guys posted on it. I never did to much testing. This was mostly done in concurrence with the Kexec-Mod since i had the toolchain up and running. If i remember correctly it did generate the second init file, don't know if it ever loaded it, but i can work on it some more if people want. I was hoping some one would point me in the direction they needed me to go with this.
The Following User Says Thank You to Loglud For This Useful Post: [ View ]
13th December 2011, 10:03 PM |#8  
diamond_lover's Avatar
Senior Member
Top Secret
Thanks Meter: 116
 
More
Quote:
Originally Posted by Loglud

Jeeze idk, i completely forgot about this thread until you guys posted on it. I never did to much testing. This was mostly done in concurrence with the Kexec-Mod since i had the toolchain up and running. If i remember correctly it did generate the second init file, don't know if it ever loaded it, but i can work on it some more if people want. I was hoping some one would point me in the direction they needed me to go with this.

I prefer first a compatible Custom Recovery
I compiled, but I don't know how adapt the hijack...
13th December 2011, 11:05 PM |#10  
OP Senior Member
Thanks Meter: 446
 
Donate to Me
More
Quote:
Originally Posted by AdamOutler

what is 2nd-init? Is it a bootloader? kernel? recovery? where does it come in the boot sequence?

http://nookdevs.com/Dump_NookTablet_Partitions

http://and-developers.com/2ndinit
14th December 2011, 11:02 AM |#11  
diamond_lover's Avatar
Senior Member
Top Secret
Thanks Meter: 116
 
More
Quote:
Originally Posted by AdamOutler

what is 2nd-init? Is it a bootloader? kernel? recovery? where does it come in the boot sequence?

http://nookdevs.com/Dump_NookTablet_Partitions

Pratically.. it's the method with many motorola phone (with locked bootloader) can run custom roms like cyanogemod.

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

Advanced Search
Display Modes