[Tutorial] How to Setup Eclipse 3.5 & Android SDK 2.1 - Android Software Development

There are many ways to develop for Android and because of all the options it is sometimes a little daunting getting your environment setup. I found myself bouncing from web page to web page, not really sure if I had the right tools and if they were setup correctly. I wanted to document the process that worked for me.
Goal: Step by step instructions to install and configure your Android development environment for Windows.
Environment/tools: Here is the setup I have chosen to use.
* Windows (I'm using Windows 7, but any flavor of windows will do)
* Eclipse IDE for Java Developers (v3.5 Galileo)
* Java Platform (JDK 6 Update 18 )
* Android SDK Tools, Revision 4
Step 1. Install Eclipse IDE
I chose to use the Eclipse IDE for Java Developers (v3.5 Galileo). You can download the it here
* Download "Eclipse IDE for Java Developers (92 MB)"
* This is a zip file and does not require installation. Just copy the eclipse folder into your programs directory
* Download the installation file from Sun
* Select your platform
* Now run the JDK installation. I did not change any of the default installation options. When complete continue to step 3.
Step 3: Install the Android SDK Tools, Revision 4
* Download the install package "android-sdk_r04-windows.zip"
* This does not require installation. Just unzip and copy the files. You can install the package anywhere but remember where you put as you will need to reference it in Eclipse. I happen to install it inside my eclipse folder.
Step 4: Configure Android SDK
* Launch "SDK-Setup.exe" located in the Android SDK install folder"
* If you receive the following "Failed to Fetch Error" we need to change the link to not use SSL. Close the error dialog.
* Press "Cancel" on the "Choose Packages to Install" Dialog
* Select "Settings" in the left pane
* Check "Force h t t p s://.. sources to be fetched using over h t t p://"
* Press "Save and Apply"
* Select "Available Packages" in the left pane
* Select "Documentation" (at the top of the list)
* Select "Usb Driver Package, rev 3 (at the bottom of the list)
* And then select any platform you want to develop. You can select all (be prepared for a long download) or you can select only the platfrom for you phone. The Nexus One uses 2.1 and the Droid for Verizon uses 2.0.1.
* Check "Accept All" and Press "Install Accepted"
* When done press "Close"
* Now we are going to create a virtual device (AVD)
* Select "Virtual Devices" in the left pane
* Select "New..."
* Create the following new Android Virtual Device
o Name: Android2.1
o Target: Android 2.1 API Level 7 (Or which ever API you installed)
o SD card Size: 4000 MiB to 32000MiB (16000 MiB shown)
o Leave the rest at the default settings
* Press "Create AVD". Be patient it may take a few minutes to create your new AVD.
* Close the SDK setup.
Step 5: Configure Eclipse
(These instructions are for Galileo version of Eclipse. Please see this page for instructions if you downloaded the Ganymede version of Eclipse)
* Launch Eclipse for the first time. You will be asked where you want to your workspace folder to be located.
o I used the default location.
o Check "Use this as the default and do not ask again" so you don't have to answer this question every time.
o Press "OK".
* Select "Help > Install New Software..."
* Press "Add..."
* Fill out the Add Site information
o Name: Android
o Location: (URL blocked)
o Press "OK"
If you get an error don't use SSL. change location from "(URL blocked)" to "(URL blocked)"
* After a connection is made and available tools are retrieved expand "Developer Tools" and select "Android DDMS" and "Android Development Tools"
* Press "Next"
* Press "Next" again.
* Check "I accept the terms of the license agreements"
* You may receive a Security Warning about unsigned content. Press "OK"
* Done. Now you should restart Eclipse.
* After rebooting we need to tell Eclipse where we copied the "Android SDK" in step 3.
* Select "Windows > Preferences"
* Select "Android" from the left pane.
* For the SDK Location, browse to where you installed the SDK.
* Press "OK"
* A dialog box will appear. If you want to send usage data to Google leave it checked, other uncheck it and press "Continue".
* Close Eclipse
You are now ready to build your first application.
I have this entire tutorial (with screen captures) and others on my blog AndroidCodeMonkey.

What do you mean by this?
" Just copy the eclipse folder into your programs directory
* Download the installation file from Sun
* Select your platform
I am a "noob" but I want to learn and do things right the first time so I can put time into quality work and not time into trying to figure out how to work the system, etc... Can you be a tad more specific please? Thank you

cgingermany said:
" Just copy the eclipse folder into your programs directory
Click to expand...
Click to collapse
By this I mean you open the zip file and copy the contents of the zip file into your programs directory. If you visit my blog you will see some screen captures that might help you.
cgingermany said:
* Download the installation file from Sun
Click to expand...
Click to collapse
Follow the link to Sun's website and download JAVA JDK.
cgingermany said:
* Select your platform
Click to expand...
Click to collapse
Select *Windows* if you using Windows.

Related

[Request] Video Screen Recording

thats it....
i need a program / app / way to video recording the screen of the phone.
sorry if i posted this on the wrong section, but i dont know if this go to the app and them section or in this one.
Thanks
Budske
no one know how to do it??
man that would be nice to have.
never heard of anything.
or maybe help me making an AVD emulator with my nandroid or rom zip file
no one know??
Budske said:
no one know??
Click to expand...
Click to collapse
Here's an tutorial:
I can't post links, but try here for pictures and more details.
www[dot]lgoptimusone[dot]net/?p=42
First of all you need to download and install the following software:
* Java Development Kit 1.6+ (i have used this version)
1. Click Download button.
2. Select your Windows version from menu and click Continue. User name and password are optional.
3. Click on the link to start download. Size ~ 80MB.
4. Run jdk-6u21-windows-i586.exe and follow instructions on the screen. You may accept all the defaults.
* Android SDK (download link here)
1. Download installer_r09-windows.exe.
2. Run installer_r09-windows.exe.
3. After the setup is completed press Next
4. Uncheck "Start SDK Manager" and press Finish
* Windows USB driver & Platform Tools
1. Your phone must NOT be connecter to your computer.
2. Run SDK Manager.exe (Default path “C:\Program Files\Android\android-sdk-windows\”)
3. ONLY THIS TIME PRESS CANCEL IN THIS WINDOW.
Press Cancel
4. Click Available packages on the left menu.
Select "Available packages"
5. Expand the Android Repository and check “Android SDK Platform-tools” box.
SDK Manager
Check "Android SDK Platform-tools"
6. Expand Third party Add-ons then Google Inc. add-ons and check “Google USB Driver Package” box.
Check "Google USB Driver Package"
7. Click Install Selected.
Click "Install Selected"
8. Click Accept All to accept License and then click Install.
Click Accept All to accept License and then click Install.
9. When install finishes, the USB Driver will be in “C:\Program Files\Android\android-sdk-windows\google-usb_driver“.
10. Close SDK Manager.
11. Connect your phone. You will be prompted for driver, which is located in the path mentioned above.
12. For more details installing driver click here.
* It’s not over yet, you need to set-up another few things:
1. Make sure that standard SDK tool ddms.bat (location: “C:\Program Files\Android\android-sdk-windows\tool”) launches successfully. Otherwise Screen Capture Tool won’t work either. If ddms won’t launch even after you have accomplished the step above, try disconnecting your phone, then launch ddms and then connect your phone back.
2. Copy adb.exe from platform-tools to tools folder.
3. Also copy AdbWinApi.dll and AdbWinUsbApi.dll from platform-tools to tools folder.
4. Enable USB Debugging on your phone.
Enable usb debugging on Lg Optimus One.
Press Settings
Enable USB debugging on Lg optimus one
Press Applications
Enable usb debugging on lg optimus one
Press development
Enable usb debugging on lg optimus one
Check "USB debugging" box
* Last step!
1. Download Android Screen Capture from here.
2. Run AndroidScreenCapureSetup.vX.X.exe.
3. Follow installer instructions.
4. When finished, run application and go to File -> Set Android SDK folder to set SDK path.
Look up shootme in the market
Sent from my Nexus One using XDA App

Penetration Testing Using Android Tab

I ran across this link to a penetration testing tool (well, actually a debian 'chroot') called DebDroid:
http://www.pentestit.com/2011/02/18/debdroid-run-network-sniffing-debian-system-android/
The text on the site reads:
Debroid helps you run a Debian system with a lot of utilities that help you sniff packets. In addition to various other tools and libraries, it contains tools such as:
* openssh
* libpcap
* libpcap-dev
* ettercap
* wireshark
* carwhisperer
* btscan
* NMAP
* ntbscan
These come pre-installed with the Debian image. To install, simply download the image from the links provided and follow these steps:
1. Unzip the .zip and .7z files and copy all the contents to /sdcard/debian/
2. Run your preferred terminal emulator and run bash with su.
3. Install debroid with – sh ./sdcard/debian/debian.sh
4. Boot into debian with the following command – debroid and voila!
Hello,
Just found this post, and i want to try it on my Galaxy Tab,
but the links are dead on the site postet in the first thread
The links are ending in such useless sedo parking trash site
Has anyone the two files needed ?
- debdroid_release-2-11-11.zip
and
- debian.7z
Greetings
chris

[UTILITY][1/8] Build CM10.1 or AOKP on OS X - OS X Build Set Up 1.2

OS X Build Set Up 1.2 - By Kyle Frost (frostincredible)
So you want to build AOKP or CM10.1 on OS X? Well worry no longer my friends,
it is about to get a whole lot easier. Why is that? Because this script I've written will do pretty
much everything for you, from creating the case sensitive DMG to installing the required files,
to setting up all the folders. The best part? It also will initialize the AOKP or CM repo (depending
on your choice) and you can also build them straight from the script! How fantastic is that?!
Simply read on to see how! Make sure to follow all the instructions (there aren't many)!​
Follow these steps:
Go here and download OS X Build Set Up 1.2 (OSX_Setup-1.2.zip) - DOWNLOAD
Place the ZIP file on your Desktop.
Extract the ZIP to your Desktop.
Here comes the only tricky part. Open the file located at OSX_Setup/scripts/advanced_scripts/build_cm or build_aokp, whichever you're going to build.
Find this line -
Code:
# BELOW IS THE ONLY LINE YOU SHOULD BE EDITING. REPLACE *YOUR DEVICE* WHITH YOUR DEVICE'S CODE NAME. EX - NEXUS 7 = "grouper"
Just below that, edit this line with the instructions in the one I just posted -
Code:
cp /Volumes/Android/OUT/target/product/*YOUR DEVICE*/aokp_*YOUR DEVICE*-ota-eng.$ME.zip /Volumes/Android/Builds/AOKP_$ME.$NOW.zip
IT IS IMPORTANT THAT YOU DON'T EDIT ANYTHING ELSE.
Open your favorite Terminal application (the default on is Terminal located at /Applications/Utilities/Terminal).
cd to the OSX_Setup folder on your Desktop.
Code:
cd /Users/YOUR NAME/OSX_Setup
Run the following -
Code:
./runme
After running this, you will be presented with the following menu -
Code:
============================================================
OS X Build Set Up 1.2 - by Kyle Frost
============================================================
---Main Menu---
1 - Create DMG
2 - Install required files (MUST install MacPorts first)
MacPorts available free at www.macports.org
3 - Set up folders
WARNING: DO NOT RUN ADVANCED MENU UNTIL
YOU HAVE RUN ALL 3 ABOVE, OR HAVE DONE
THEM ALL MANUALLY. THANK YOU.
0 - Advanced Menu
x - Exit
Enter option:
As you can see, you need to go here and install MacPorts before proceeding - MacPorts
After installing MacPorts you can go ahead and run everything.
Create DMG will give you the options of creating a 25GB, 30GB, 40GB, 50GB, or 60GB DMG. 25GB is the lowest recommended by the Android Team.
Install required files will simply do just that, it will install the files needed as specified in the AOSP documents. This can take a while, so go take a nap while it runs.
Set up folders will give you the option of setting up the folders for AOKP or CM10.1. Simply choose which you want and the folders will be created.
Choosing Advanced Menu will give you this -
Code:
============================================================
OS X Build Set Up 1.2 - by Kyle Frost
============================================================
---Advanced Menu---
MUST INSTALL XCODE BEFORE BUILDING!
XCODE IS FREE IN THE MAC APP STORE!
1 - Initialize AOKP Repo
2 - Initialize CM10.1 Repo
When building, it will give you a list
of devices. Enter the number for your device
configuration and the build will continue.
It will take a while the first time, as the
source must first completely download.
3 - Build AOKP
4 - Build CM10.1
Note: When the build is complete, you can
find the finished ZIP in the Builds
folder on your Android disk image.
0 - Go to Main Menu
Enter option:
There you can see you need to install Xcode, if you haven't already. It is free in the Mac App Store (this script is for OS X, you know).
All the options are pretty self explanatory. Make sure you have run the folder set up for the ROM which you wish to build first. Run the initialize option for your desired ROM before running the build option.
That is it! After the build has done (takes a while the first time you set all this up, much faster the next few times) you will be able to build your own nightly's, or whatever you so desire! Have fun!
NOTE: If you have an error regarding "Xcode" and the "10.6 SDK" when trying to build, download the MacOSX10.6.sdk.zip, decompress it, and place it in "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/".
Disclaimer: This will only work with devices that are officially supported by AOKP or CM10.1. If your device is not supported by their official repos, either wait to see if it is, try to edit my script to get the repo your device's tree is on, or wait until I get around to writing a tutorial on how to add custom repos.
Please do not redistribute this without my permission,
and feel free to hit that thanks button if you liked this.​
Version 1.0 - Initial Release
Version 1.1 - Bug Fixes
Version 1.2 - Bug Fixes
Reserved for future tips and tricks.
Thanks mate..
Sent from my A99 using Tapatalk 2
What Mac OS version is this for?
This is sweet and appreciated. I can't wait to try this tonight.Thanks for the script and tutorial.
What Mac OS X is this for? I assume Mountain Lion. I'm run 10.8.2 at work and thinking about updating my home computer to the same. I have a build environment setup for OS X 10.6.8 at home, but Mac Ports was giving me issues and this will help me in getting my build environment back up and going. Thanks again.
I have mountain Lion, will it work on it? I am surely gonna give it a try when i get home! I was thinking on installing ubuntu. but nahh!
Make sure you mount the sparse image before trying to install the folders
I unfortunately do not own a fast enough computer can someone build aokp for xoom?
Which Version of xCode is requirement? (4.4, 4.0 or a older Version)
emd2009 said:
I unfortunately do not own a fast enough computer can someone build aokp for xoom?
Click to expand...
Click to collapse
Wingray stingray, everest ?
---------- Post added at 08:33 PM ---------- Previous post was at 08:33 PM ----------
heubergen said:
Which Version of xCode is requirement? (4.4, 4.0 or a older Version)
Click to expand...
Click to collapse
just follow the instructions at macports to get the latest updated.
grad061980 said:
This is sweet and appreciated. I can't wait to try this tonight.Thanks for the script and tutorial.
What Mac OS X is this for? I assume Mountain Lion. I'm run 10.8.2 at work and thinking about updating my home computer to the same. I have a build environment setup for OS X 10.6.8 at home, but Mac Ports was giving me issues and this will help me in getting my build environment back up and going. Thanks again.
Click to expand...
Click to collapse
I'm running OS X 10.8.2 and that's what I build on.
sonymsam said:
I have mountain Lion, will it work on it? I am surely gonna give it a try when i get home! I was thinking on installing ubuntu. but nahh!
Click to expand...
Click to collapse
Mountain Lion should be fine. I run 10.8.2
wildestpixel said:
Make sure you mount the sparse image before trying to install the folders
Click to expand...
Click to collapse
Did you have to? Mounting should be a part of the script. I will look into that.
heubergen said:
Which Version of xCode is requirement? (4.4, 4.0 or a older Version)
Click to expand...
Click to collapse
I have the developer beta, but the newest in the App Store should work fine.
any way we can build on windows? without emulation?
Thanks for making this easy! Is there a way to leverage this to also cherrypick patches or revert official merges that don't work well for me?
ross231 said:
any way we can build on windows? without emulation?
Click to expand...
Click to collapse
Not at the moment, and not that I know of at all, actually.
ahpatel said:
Thanks for making this easy! Is there a way to leverage this to also cherrypick patches or revert official merges that don't work well for me?
Click to expand...
Click to collapse
Not currently, not a bad idea though.
Fantastic tutorial. Cant wait to figure out how to compile AOKP for my unsupported i777.
i screwed up and mistakenly ejected the Android DMG and it won't let me create a new one,,,,what should i do?
Plays2 said:
i screwed up and mistakenly ejected the Android DMG and it won't let me create a new one,,,,what should i do?
Click to expand...
Click to collapse
Remount it. It is located in your home directory.
---------- Post added at 07:54 PM ---------- Previous post was at 07:38 PM ----------
Trying to compile for the SGS2 i777 and I get the following error:
Code:
---This is where you choose your device config---
You're building on Darwin
(ohai, koush!)
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_mips-eng
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. mini_mips-userdebug
8. mini_x86-userdebug
9. full_panda-userdebug
Which would you like? [full-eng] 6
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
Device armv7a not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for armv7a not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
** Don't have a product spec for: 'mini_armv7a'
** Do you have the right repo manifest?
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
cp: /Volumes/Android/OUT/target/product/i777/cm_i777-ota-eng.xxxxxxx.zip: No such file or directory
Followed the instructions to the letter, but Im not sure whats wrong.
biontc said:
Remount it. It is located in your home directory.
---------- Post added at 07:54 PM ---------- Previous post was at 07:38 PM ----------
Trying to compile for the SGS2 i777 and I get the following error:
Code:
---This is where you choose your device config---
You're building on Darwin
(ohai, koush!)
Lunch menu... pick a combo:
1. full-eng
2. full_x86-eng
3. vbox_x86-eng
4. full_mips-eng
5. mini_armv7a_neon-userdebug
6. mini_armv7a-userdebug
7. mini_mips-userdebug
8. mini_x86-userdebug
9. full_panda-userdebug
Which would you like? [full-eng] 6
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
Device armv7a not found. Attempting to retrieve device repository from CyanogenMod Github (http://github.com/CyanogenMod).
Repository for armv7a not found in the CyanogenMod Github repository list. If this is in error, you may need to manually add it to your local_manifest.xml.
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
** Don't have a product spec for: 'mini_armv7a'
** Do you have the right repo manifest?
build/core/combo/HOST_darwin-x86.mk:62: *****************************************************
build/core/combo/HOST_darwin-x86.mk:63: * Cannot find SDK 10.6 at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.6.sdk
build/core/combo/HOST_darwin-x86.mk:65: * If you wish to build using higher version of SDK,
build/core/combo/HOST_darwin-x86.mk:66: * try setting BUILD_MAC_SDK_EXPERIMENTAL=1 before
build/core/combo/HOST_darwin-x86.mk:67: * rerunning this command
build/core/combo/HOST_darwin-x86.mk:69: *****************************************************
build/core/combo/HOST_darwin-x86.mk:70: *** Stop.. Stop.
cp: /Volumes/Android/OUT/target/product/i777/cm_i777-ota-eng.xxxxxxx.zip: No such file or directory
Followed the instructions to the letter, but Im not sure whats wrong.
Click to expand...
Click to collapse
Same here compiling for grouper and tried 5 and 6.
It would appear that I've completely screwed it up. After creating a twenty-five gig partition, I began to try to build, and was met with an error about Xcode. I fix it, and continued. However, I ended up deleting the created partition through Disk Image. Whenever I try using the program to create another, it says one already exists (which it doesn't). I don't know what to do now.
DinoSoup said:
It would appear that I've completely screwed it up. After creating a twenty-five gig partition, I began to try to build, and was met with an error about Xcode. I fix it, and continued. However, I ended up deleting the created partition through Disk Image. Whenever I try using the program to create another, it says one already exists (which it doesn't). I don't know what to do now.
Click to expand...
Click to collapse
You could try:
Code:
rm -f ~/Android.dmg.sparseimage
then try recreating it through the app.
Disclaimer: This is undoable and use it at your own risk.

[GUIDE]extract kernel and change bootclasspath[noob friendly][video guide]

Kernel modification GUide​
Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
it is a guide for those who want to port roms from devices of another manufactures.....
they port whole rom but sometimes stuck at kernel modification path....
so now guys u dont have to worry becoz i made a guide easy to understand and
also made a video guide which is uploading at a moment
Click to expand...
Click to collapse
SO LEt get STARted​
Things required:-
kitchen files
cygwin
notepad++ (recommned)
a brain:good:
some time
Click to expand...
Click to collapse
Steps​
1. Set up cygwin and kitchen USe Nero young's guide -->>>Guide
2. u need to make 2 folders on ur desktop
(a)base kernel(YOur device kernel)-->> copy ur whole rom files(meta-inf,system,boot-.img) in that folder..
(b)port kernel (Kernel from other device)--->> boot.img of other device....
3.now open cygwin and type :- cd kitchen then ./menu
4. it will now open kitchen
5. now go to c:/cygwin/home/{USER NAME}/kitchen/original update/WORKING_XperiaNeroROM/ copy all things here from base kernel folder..
6. now open kitchen (REMEMBER NEVER CLOSE KITCHEN UNTILL WRITTEN HERE)
7. press 1 and it will set up current working folder press enter whole the way
8. now when your working folder is set up press 0 to go to advance options
9. press 20 to open kernel modification menu...
10. press 'w' it will extract ur kernel to c:/cygwin/home/{USER NAME}/kitchen/Boot-Extracted
11. now for extracting other device boot.img press 'a' on kitchen. it will ask u to place ur boot.img to c:/cygwin/home/{USER NAME}/kitchen/boot-img.xxxxx
12.now for changing bootclasspath.. open boot-img.xxx go to boot-img ramdisk and open init.rc with notepad++
13. copy the whole line 'export bootclasspath x/x/x/'
14. now go to boot-extracted folder find init.rc and replace the boot class path
15. save init.rc of boot-extracted
16. press 'b' on kitchen menu
17. close ur kitchen now
18. your new modified kernel will be in your working folder
​press thanks if i helped you​
Video Guide

[HOW TO] Install GNU/Linux on Nook HD+ (CM11 support) No shell commands needed!

Here's a quick/simplified guide to bring Debian Linux (you can choose another distro if you will) to Nook HD+.
It's for those that don't want to get their hands dirty with shell commands to set the thing up.
You have to run CM11 (the later the version the better), you also have to give root permissions wherever asked:
1) Download and Install Meefik's Busybox
a) Install the app
b) Open it
c) Tap install -> OK in the lower right corner​2) Update ENV settings on LinuxDeploy:
a) Install LinuxDeploy
b) Open it
c) Go to settings (three-dot icon -> Settings)
d) Tap Update ENV​3) Download and place config files
a) Download the Config Files
b) Extract and place the files to your Download folder in your tablet (/sdcard/Download).​4) Install LinuxCanvas companion up (it's an app I made to solve some bugs of LinuxDeploy)
a) Download it
b) Install the apk (tap it)
c) Open it and give it root permissions​5) Install a Linux image:
a) Open LinuxDeploy
b) Go to properties (icon showing an "arrow down")
c) Use the follow settings (everything else you leave it as is):
To Distribution Suite: Wheezy
To Installation Path: change the "/storage/emulated" part to "/data/media" (everything else stays as is)
To Select Components: Tick X server and untick VNC Server
To Graphics subsystem: choose Framebufer
To GUI Settings: On Freeze Android UI, choose Pause
To Custom Mounts: Tick it
To Mount Points: Delete the extant mount points and add ("plus" sign) the following:
/data/media/0
/mnt/media_rw/sdcard1
d) Tap install on properties' main menu and wait (quite) a bit (until it reads "<<< install")​
With the installation finished do as follows to run the thing:
1) Turn Bluetooth on
2) Pair bluetooth devices to Android, so that to control Linux later (typically keyboard and mouse, you only need to do that once)
3) Go to LinuxCanvas and press "Volume up"
4) Voila!
The only way to get back to Android is to reboot. To do that double click the reboot.sh file and press "Execute" (you can find it to /mnt/0/Download, copy it to desktop for easier access).
I'll try to find a better solution, I'm open to suggestions.
Pro Tip: If the elements are too small for you change the DPI from LinuxDeploy -> Properties -> GUI Settings
If you tried the above guide please post feedback (i.e. "where the guide can become better/easier?" and/or "how did Linux work for you?").
Note: The guide is checked to work with CyanogenMod-11 February 2016's nightlies running internally and LinuxDeploy v1.5.6 . Any other versions of either may not work as intended.
Also you need at least 4GB of Internal storage to make it work (of course you can choose a different image size from LinuxDeploy's Properties or opt to use the whole of your external SDcard/partition).
thank you for this post it works great

Categories

Resources