Requirements:
A relatively new phone with decent power! I tested with a Samsung Galaxy Nexus.
A rooted phone and busy box installed!
https://play.google.com/store/apps/deta ... on.busybox
Please first visit the following pages for light reading:
http://forum.xda-developers.com/showthr ... ?t=1585009
http://wiki.openkore.com/index.php/How_to_run_OpenKore
You'll also need a terminal emulator for your phone.
Personally, I'm using Android Terminal Emulator by Jack Palevich (Google play store). It's free and functional. You're free to use any one you like of course, but I have not tested those.
https://play.google.com/store/apps/deta ... ndroidterm
From the XDA link, you'll need the following files:
(Optional) Ubuntu Installer Free (Android APK)
•Boot Script
•Ubuntu 12.04 v2 Core/Small/Full
The Ubuntu Installer free is more or less a mini-guide that breaks everything down step-by-step for getting Ubuntu on Linux.
The boot script is mandatory
The Ubuntu image... You've got a choice really, depends if you'll be using linux for anything else. I went for core, since openkore is all text and I really don't need a GUI for it.
At this point, if you have installed the Ubuntu Installer Free, feel free to use it as a guide for installing Ubuntu, or continue reading.
Extract the Ubuntu image and bootscript into the same folder named Ubuntu in your root.
Now, open the terminal emulator and enter the following
Code: Select all
su
cd sdcard/ubuntu
sh ubuntu.sh
Once the wall of text finishes, you should be left with:
Code: Select all
root@localhost:/#
Installing openkore:
Now, I only tested with Ubuntu core image, and it didn't have many of the libraries that openkore needs. But I'll go ahead and list them all out. Alternatively, they are available at the How to run Openkore link from above.
1. C++ compiler
- Check by entering
Code: Select all
g++ -v
Code: Select all
sudo apt-get install build-essential g++
2. Perl
- Check by entering
Code: Select all
perl -v
Code: Select all
sudo apt-get install perl
3. Perl module: Time::HiRes
- Check by entering
Code: Select all
perl -e 'use Time::HiRes;'
Code: Select all
sudo apt-get install libtime-hires-perl
- Check by entering
Code: Select all
perl -e 'use Compress::Zlib;'
Code: Select all
sudo apt-get install libcompress-zlib-perl
- I was too lazy to follow the guide on checking if it exists. So I went ahead and just tried installing it anyways
Enter
6. Pythonsudo apt-get install libreadline5-dev
- Enter
Code: Select all
sudo apt-get install python
- Enter
Code: Select all
curl-config --version
Code: Select all
sudo apt-get install libcurl3-dev
Download the openkore source code, as well as the config, table, and field files.
Extract all of them to a folder named openkore and place it into the root of your phone.
In ubuntu, enter
If everything goes well, you should see the familiar wall of text openkore has. Otherwise, you screwed up somewhere with the libraries.perl ./openkore.pl
If you closed the terminal, you'll have to get back into Ubuntu before running openkore! That means you'll need to do this
Code: Select all
su
cd sdcard/ubuntu
sh ubuntu.sh
Code: Select all
cd sdcard/openkore
perl ./openkore.pl
maplogin 12 to maplogin 30.
Give it some time, you know.
Good luck!
Edit:
Also, it is HIGHLY recommended you turn "Take WifiLock" on inside the terminal emulator.
Tested working in Samsung Galaxy Nexus, AOKP B38, Lean Kernel 3.8.0
Tested working in HTC Thunderbolt, iKReaM.605.19 no sense, Lean Kernel 6.2.1.