FORUMS

Which Lockscreen Security Type Do You Use?

From pattern locks to the controversial face unlock, there are a number of different ways you … more

Xposed 3.0 Alpha 3 Released

A new alpha for the Xposed framework is out and brings several bug fixes. You’ll only need to flash … more

XDA Recap: This Week In Android (Apr 18 – 25)

Here in the digital XDA newsroom, we spend our days pouring over an average of … more

Sunday Debate: Custom ROMs vs. Modular Tweaks

Join us in a fun Sunday Debate on Mods and ROMs. Come with your opinions and feel free to … more
Post Reply Subscribe to Thread Email Thread

[DEV] 2nd-init Compiled and Running

24th November 2011, 10:17 AM |#1  
OP Senior Member
Thanks Meter: 444
 
Donate to Me
More
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, 154 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,981
 
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: 444
 
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: 444
 
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
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Nook Tablet Android Development by ThreadRank