Forum switched to read-only as of 2020/06/01
Latest product reviews |
---|
![]() |
![]() |
Smartphones ![]() |
TV Connect ![]() |
![]() |
ClockworkMod (CWM) Recovery easy install for RK3066 and RK3188 -- TWRP/CWM Flash-Tool and root for RK3288
Please donate to support OMA and CrewRKTablets firmware work, thank you !


Firmware Guru
2012/01/06

Building CyanogenMod 10.1 based [Android 4.2.1] From source for all rk2918
------------------------------------------------------------------------------------------------------------------------------------
Requirements:
Linux - Ubuntu 12.10 - 64bit (a 64 bit host is needed to compile JB)
About 14GB of storage for the repository plus about 25GB for building
1 - Install Ubuntu Packages
In Terminal Add Source Packages:
sudo add-apt-repository "deb http://archive.canonical.com/ lucid partner"
Add source Java Packages & Update :
sudo add-apt-repository ppa:webupd8team/java && sudo apt-get update
Install all Ubuntu Packages:
sudo apt-get install git-core gnupg flex bison gperf libsdl1.2-dev libesd0-dev libwxgtk2.8-dev squashfs-tools build-essential zip curl libncurses5-dev zlib1g-dev python openjdk-6-jre openjdk-6-jdk pngcrush schedtool
sudo apt-get install g++-multilib lib32z1-dev ia32-libs lib32ncurses5-dev lib32readline-gplv2-dev gcc-multilib g++-multilib xsltproc libc6-dev x11proto-core-dev libx11-dev libgl1-mesa-dev mingw32 tofrodos python-markdown libxml2-utils
Install Oracle Java 6
sudo apt-get install oracle-java6-installer cmake
sudo apt-get purge openjdk-* icedtea-* icedtea6-*
sudo update-alternatives --config java
java -version
Create the Directories
mkdir -p ~/bin
mkdir -p ~/android/system
You can make this change to the path permanent for all future Terminal sessions :
gedit ~/.bashrc
Add and save bashrc file :
#Android Toolchain PATH
export ARCH=arm
export CCOMPILE=$CROSS_COMPILE
export CROSS_COMPILE=arm-eabi-
export PATH=$PATH:/home/User-Name/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin# Java PATHs
# export JAVA_HOME=/usr/lib/jvm/java-6-oracle
# export PATH=$PATH:$JAVA_HOME/bin#Android repo PATH
export PATH=${PATH}:~/bin
Install the Repository
curl https://dl-ssl.google.com/dl/googlesource/git-repo/repo > ~/bin/repo
chmod a+x ~/bin/repo
Get Repository
repo init -u git://github.com/CyanogenMod/android.git -b cm-10.1
Add kernel for build with model tabs
Get kernel http://crewrktablets.arctablet.com/?page_id=240
For this example I use the Model arnova 8g2
Replace http://crewrktablets.arctablet.com/?wpfb_dl=179 with url your model tabs
curl -0 http://crewrktablets.arctablet.com/?wpfb_dl=179 > kernel.7z
7z e kernel.7z
mv kernel.img ~/android/system/device/rockchip/rk29board/kernel
Get device-specific code :
curl https://raw.github.com/Morka-59/cm_device_rockchip_rk29board/patch-1/local_manifest.xml > ~/android/system/.repo/local_manifests.xml
Or Create file local_manifests.xml
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<?-- Source 1 -->
<project path="device/rockchip/rk29board" name="Morka-59/cm_device_rockchip_rk29board" remote="github" revision="patch-1"/>
<?-- or Source 2 -->
<project path="device/rockchip/rk29board" name="crewrktablets/android_device_rockchip_rk29board" remote="github" revision="cm-10.1"/>
<?-- or Source 3 -->
<project path="device/rockchip/rk2918" name="CM9-Pascal2/android_device_rockchip_rk2918" remote="github" revision="cm10.1"/>
</manifest>
Select source and save ~/android/system/.repo/local_manifests.xml
Start repo
repo sync -j15
If the terminal window is stuck at ( Fetching projects: 99% (352/354) )
Force close and open news terminal
cd ~/android/system/
repo sync -j1
debugger mod > -j1
Get prebuilt apps directory :
cd ~/android/system/vendor/cm
Prebuilt :
./get-prebuilts
cd ~/android/system/
Get Device Specific Repos:
. build/envsetup.sh && breakfast rk2918
Close and open new terminal.
2 - Configure Build & Compile Now, the environment must be configured to build and the ROM compiled, from code, for the rk2918.
cd ~/android/system
. build/envsetup.sh && brunch rk2918
Finish get directory build
/home/User-Name/android/system/out/
-------------------------------------------
For news building and update source
cd ~/android/system
make installclean
find ./out/ -name 'build.prop' | xargs rm
find ./out/ -name 'cm_*.zip' | xargs rmmake clobber
repo sync
------------------------------------------
My building CyanogenMod 10.1
source used https://github.com/CM9-Pascal2/android_device_rockchip_rk2918 by vurrut
Download :
md5sum : fda5b8df060ef4e992b6e6a22bdd5f49 cm-10.1-20130207-UNOFFICIAL-rk2918.zip
older ota file cm_rk2918-ota-eng.morka.zip
The following users say thank you to Morka for this useful post:
admin, davis150
2012/09/27


2013/01/15

Hello, I have a tab alcatel t10 which I think is cloned after pacal2 or vice versa, and I want to mention if I use the original firmware for pascal2 in my tab works perfectly. but with the cm10.1 made by you fail to pass the bootanimation.What :kernel, recovery, boot, misc, parameter. you use? thanks


Firmware Guru
2012/01/06

@lolloarnova and @Blackyx007
Test could be replaced all the files included in the folder /home/User-Name/android/system/device/rockchip/rk29board/prebuilt by your firmware files 10G2 and kernel.img rename kernel
>copy kernel.img /home/User-Name/android/system/device/rockchip/rk29board
I read that the kernel 2.xx are compatible as Samsung ect ..
@synescu
I had this problem, I'm preparing the patch with the boot.img
Edit fix the cm10.1 fail to pass the bootanimation ( compatible Oma's cm10.1 and older cm10.1 with rk29board
The following users say thank you to Morka for this useful post:
synescu, Blackyx007
2012/09/27



Firmware Guru
2012/01/06

lolloarnova said
For test i use file from Morkamod rom?Please help to make a test!
I have been download the rom Cm , please indicate wich rom use to take file for replacement.
Thanks thanks thanks!!!
With the original firmware will be optimized on your tablet model
starts at the beginning of the tutorial, after the command repo sync-j15 all the files for the build will download to your pc
you can replace your files and resume the tutorial here cd ~/android/system/vendor/cm
Edit : Forget my other hand I think we should change the patch toolchain, I'll look if we change this patch to make it compatible with kernel 2.xx
export PATH=$PATH:/home/User-Name/android/system/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin

2012/09/27



Firmware Guru
2012/01/06

lolloarnova said
Dear Morka, can you help to bild this CM for us???
I have poor experience with linux.......
Please i prey you!!!!!!!!!!!!!!!!!!!!!!!
I will test these build with news pages github for kernel 2.x.x
The following users say thank you to Morka for this useful post:
lolloarnova
2012/09/27

Morka said
lolloarnova said
Dear Morka, can you help to bild this CM for us???
I have poor experience with linux.......
Please i prey you!!!!!!!!!!!!!!!!!!!!!!!
I will test these build with news pages github for kernel 2.x.x
You are the last hope for us, thanks thanks!!!!!!!!!!!!!!!!!!!!!!!!

2012/02/25

i am trying to port to arnova 9 g2 but in the compiling i have this error:
Target boot image: /home/david/android/system/out/target/product/rk29board/boot.img
error: could not load kernel '/home/david/android/system/out/target/product/rk29board/kernel'
make: *** [/home/david/android/system/out/target/product/rk29board/boot.img] Error 1
make: *** Se espera a que terminen otras tareas....


Firmware Guru
2012/01/06

davis15 said
i am trying to port to arnova 9 g2 but in the compiling i have this error:
Target boot image: /home/david/android/system/out/target/product/rk29board/boot.img
error: could not load kernel '/home/david/android/system/out/target/product/rk29board/kernel'
make: *** [/home/david/android/system/out/target/product/rk29board/boot.img] Error 1
make: *** Se espera a que terminen otras tareas....
Open terminal.
Use url your model tabs with code :
curl -0 http://crewrktablets.arctablet.com/?wpfb_dl=195 > kernel.7z
7z e kernel.7z
mv kernel.img ~/android/system/device/rockchip/rk29board/kernel
Recompile Now
cd ~/android/system
For Source --> Morka-59/cm_device_rockchip_rk29board use code ;
. build/envsetup.sh && brunch rk29board
For Source --> crewrktablets/android_device_rockchip_rk29board use code ;
. build/envsetup.sh && brunch rk29board
For Source 3 --> CM9-Pascal2/android_device_rockchip_rk2918 use code ;
. build/envsetup.sh && brunch rk2918
The following users say thank you to Morka for this useful post:
davis15
2012/02/25

Morka said
davis15 said
i am trying to port to arnova 9 g2 but in the compiling i have this error:
Target boot image: /home/david/android/system/out/target/product/rk29board/boot.img
error: could not load kernel '/home/david/android/system/out/target/product/rk29board/kernel'
make: *** [/home/david/android/system/out/target/product/rk29board/boot.img] Error 1
make: *** Se espera a que terminen otras tareas....
Open terminal.
Use url your model tabs with code :
curl -0 http://crewrktablets.arctablet.com/?wpfb_dl=195 > kernel.7z
7z e kernel.7z
mv kernel.img ~/android/system/device/rockchip/rk29board/kernel
Recompile Now
cd ~/android/system
For Source --> Morka-59/cm_device_rockchip_rk29board use code ;
. build/envsetup.sh && brunch rk29board
For Source --> crewrktablets/android_device_rockchip_rk29board use code ;
. build/envsetup.sh && brunch rk29board
For Source 3 --> CM9-Pascal2/android_device_rockchip_rk2918 use code ;
. build/envsetup.sh && brunch rk2918
Is solve thank so much, i rename kernel.img to kernel and put it in ~/android/system/device/rockchip/rk29board/ .
i have compiled and i have these files system.img(262mb), boot.img(7.5mb), kernel(7mb), userdata.img, recovery.img i trying to flash it in the rktool but the arnova 9g 2 don t start. If i use the zip of the compiliation, how install it? like update.zip?
Most Users Ever Online: 749
Currently Online: astosenix
74 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Devices in use: Desktop (66), Phone (9)
Top Posters:
finless: 604
DarthJabba: 551
maikal: 394
mussonero1: 350
alex: 252
damo: 243
DanielVd: 237
Mark06: 222
Newest Members:
grielgryel
klaus1255
neverever007
favorit
Альфвоф
kevbez
Forum Stats:
Groups: 10
Forums: 185
Topics: 6037
Posts: 60500
Member Stats:
Guest Posters: 43
Members: 262194
Moderators: 5
Admins: 1
Administrators: admin
Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech
CrewRKTablets moderators: JochenKauz and Astralix