2. Copy the p4merge.app to your /Applications directory
3. Then run the following commands:
git config --global merge.tool p4merge
git config --global mergetool.p4merge.path /Applications/p4merge.app/Contents/Resources/launchp4merge
git config --global merge.tool p4merge
git config --global mergetool.p4merge.path /Applications/p4merge.app/Contents/Resources/launchp4merge
mkdir -p ~/workspace
cd ~/workspace
git clone https://github.com/thomas41546/rc_plane_arduino_joystick.git
make
NOTE: the ardjoy code may need to be modified for joystick other than a ps2 controller.
mkdir ~/nc
cd ~/nc
git clone https://github.com/CyanogenMod/android_kernel_bn_encore.git
git clone https://android.googlesource.com/platform/prebuilt
cd ~/nc/android_kernel_bn_encore adb pull /proc/config.gz . gunzip config.gz mv config .config
export ARMTOOLCHAIN=~/nc/prebuilt/linux-x86/toolchain/arm-linux-androideabi-4.4.x/bin/arm-linux-androideabi-
make ARCH=arm CROSS_COMPILE=$ARMTOOLCHAIN menuconfig
make ARCH=arm CROSS_COMPILE=$ARMTOOLCHAIN -j4 uImage
mkdir -p ~/nc/update
Download update zip from here: https://docs.google.com/open?id=0B471Nt_V1052eHpuS05oWTIzZ3M and place it into ~/nc/update
unzip *.zip rm kernel cp ~/nc/android_kernel_bn_encore/arch/arm/boot/uImage kernel
zip -r update.zip kernel MLO ramdisk.img u-boot.bin META-INF/
adb push ./update.zip /sdcard/update.zip
by Thomas Polasek
mkdir -p /mnt/sdcard
mount /dev/sdb1 /mnt/sdcard (Replace /dev/sdb1 with your sdcard device)
Part 3.tar xvzf ArchLinuxARM-omap-smp-latest.tar.gz rm -f ArchLinuxARM-omap-smp-latest.tar.gz
su
bash
cd /mnt/sdcard (this is the mounted directory of your MicroSD card with arch linux on it, yours might be different)
mount -o remount,rw,exec /mnt/sdcard
export mnt=/mnt/sdcard/arch (This is your Arch Linux distro location)
# mount linux essentials to our chroot environmentmount -o bind /dev $mnt/devmount -t devpts devpts $mnt/dev/ptsmount -t proc none $mnt/procmount -t sysfs sysfs $mnt/sys
# export environmental variables for our chrootexport PATH=/sbin:/bin:/usr/bin:/usr/sbin:/usr/local/bin:$PATH export TERM=xtermexport HOME=/rootexport USER=root
#chroot into our arch linux distrochroot $mnt /bin/bash
echo "nameserver 8.8.8.8" > /etc/resolv.confecho "nameserver 4.2.2.2" >> /etc/resolv.conf
pacman -Syu
Edit your /etc/X11/Xorg.conf filepacman -S xorg-xinit xf86-video-fbdev xf86-input-evdev lxde
cd /etc/X11
rm Xorg.conf
sudo wget http://y.uk.to/files/xorg.conf (or try http://pastebin.com/raw.php?i=8CM7NKhd)
You may need to edit the device references for the keyboard and mouse in Xorg.conf! (/dev/input/event5 and /dev/input/event4 might be different)Go on your Nook Tablet and Run the Nook Tweaks app
More information is found below
Turn on USB-Settings ---> USB Host ModeTurn on USB-Settings ---> External VBus
If you need to figure out what devices your keyboard and mouse are on, thenObtain a female to female usb connectorConnect a hub to one side of the female connectorConnect a usb keyboard/mouse to the hubConnect a mini-usb to the nook and then to the other side of the female connector
cd /dev/input
run the cat command on each input* .... and check if your keyboard/mouse input results in a change on the output from cat
for example, when I press a key on my keyboard cat /dev/input/event5 outputs some binary characters.
You can use "setprop ctl.stop media & setprop ctl.stop zygote" in adb shell to kill zygote server and media, if you want to return to android you can replace stop with start and run again, it's much better than chmod :)Now we will setup our linux framebuffer (hack)
Try pikpok's suggestion first, if it doesn't work then try out this hack of mine.
Temporary hack to stop the android system from accessing the frame buffer device. I plan on writing a patch that toggles access to this framebuffer from linux. But right now what I do is
I change permissions on the framebuffer and then wait for the android system to lose connection to the framebuffer device.
Once android loses the connection I run the Xorg server on the framebuffer, it hijacks the graphics output.
If anyone has any idea on a better way to this please feel free to post on the comments section.
Eventually (again this is a hack) the android system will appear to freeze (the screen stops updating)
cd /dev/graphicschmod 000 /dev/graphics/fb0chown root:root /dev/graphics/fb0
If the graphics don't freeze right away, then keep running and killing the xorg server over and over until it does.Start LXDE session (starts Xorg Server)
xinit /usr/bin/lxsession &
It is possible to chroot into any part of the filesystem of Nook as long as you have rwx access. For my personal usage I chroot into the 8th partition on the EMMC (~4GB) of space and run Arch Linux from there, I find the EMMC runs faster than the SD Card.****UPDATE 1****
Working on making a full bootable Arch Linux image with the Android Kernel, and without all the Android system fluff.