Latest product reviews
ARCHOS 50 Diamond
ARCHOS GamePad2
ARCHOS
Smartphones
ARCHOS
TV Connect
ARCHOS 101 XS

A A A
Avatar

Please consider registering
Guest

Search

— Forum Scope —






— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters

Register Lost password?

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 !

sp_Feed sp_TopicIcon
[TUTO] Building CyanogenMod 10.1 based [Android 4.2.1] From source for all rk2918
Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
1
2013/02/08 - 15:58
sp_Permalink sp_Print sp_EditHistory

Building CyanogenMod 10.1 based [Android 4.2.1] From source for all rk2918

Screenshot-from-2013-02-08-00_17_43.pngImage Enlarger

Screenshot-from-2013-02-08-01_00_54.pngImage Enlarger

Screenshot-from-2013-02-08-01_11_35.pngImage Enlarger

Screenshot-from-2013-02-08-01_12_09.pngImage Enlarger

Screenshot-from-2013-02-08-01_14_21.pngImage Enlarger

------------------------------------------------------------------------------------------------------------------------------------

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 rm

make 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
Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
2
2013/02/08 - 16:14
sp_Permalink sp_Print

Reserved..................

Avatar
lolloarnova
ROME - ITALY
Regular Member
Forum Posts: 94
Member Since:
2012/09/27
sp_UserOfflineSmall Offline

Thanks Received: 32
3
2013/02/08 - 21:07
sp_Permalink sp_Print

Hi Morka,

This project will work on Arnova 10 G2 ?

Thanks in ad ance.

Bye

Avatar
Blackyx007
Member
Forum Posts: 19
Member Since:
2012/01/07
sp_UserOfflineSmall Offline

Thanks Received: 2
4
2013/02/10 - 17:12
sp_Permalink sp_Print

Please let this work for the arnova 10 G2 :(


Avatar
synescu
New Member
Forum Posts: 2
Member Since:
2013/01/15
sp_UserOfflineSmall Offline
5
2013/02/12 - 11:50
sp_Permalink sp_Print

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

Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
6
2013/02/13 - 14:10
sp_Permalink sp_Print sp_EditHistory

@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

Download boot.img_.zip

The following users say thank you to Morka for this useful post:

synescu, Blackyx007
Avatar
lolloarnova
ROME - ITALY
Regular Member
Forum Posts: 94
Member Since:
2012/09/27
sp_UserOfflineSmall Offline

Thanks Received: 32
7
2013/02/13 - 14:20
sp_Permalink sp_Print

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!!!

The following users say thank you to lolloarnova for this useful post:

synescu

Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
8
2013/02/13 - 14:33
sp_Permalink sp_Print sp_EditHistory

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

Avatar
lolloarnova
ROME - ITALY
Regular Member
Forum Posts: 94
Member Since:
2012/09/27
sp_UserOfflineSmall Offline

Thanks Received: 32
9
2013/02/13 - 15:34
sp_Permalink sp_Print

Dear Morka, can you help to bild this CM for us???

 

I have poor experience with linux.......

 

Please i prey you!!!!!!!!!!!!!!!!!!!!!!!

 

Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
10
2013/02/13 - 15:41
sp_Permalink sp_Print

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
Avatar
lolloarnova
ROME - ITALY
Regular Member
Forum Posts: 94
Member Since:
2012/09/27
sp_UserOfflineSmall Offline

Thanks Received: 32
11
2013/02/13 - 15:44
sp_Permalink sp_Print

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!!!!!!!!!!!!!!!!!!!!!!!!

Avatar
davis15
New Member
Forum Posts: 9
Member Since:
2012/02/25
sp_UserOfflineSmall Offline
12
2013/02/17 - 19:11
sp_Permalink sp_Print sp_EditHistory

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....

 

Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
13
2013/02/18 - 02:32
sp_Permalink sp_Print

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
Avatar
davis15
New Member
Forum Posts: 9
Member Since:
2012/02/25
sp_UserOfflineSmall Offline
14
2013/02/18 - 13:29
sp_Permalink sp_Print sp_EditHistory

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?

Avatar
Morka
Lille

Firmware Guru
Forum Posts: 203
Member Since:
2012/01/06
sp_UserOfflineSmall Offline

Thanks Received: 75
15
2013/02/18 - 14:06
sp_Permalink sp_Print

@davis15

system.img, userdata.img is file for emulator .

your file is cm-10.1-2013xxxx-UNOFFICIAL-rk29board.zip copy in sdcard with recovery use update on SDcard

Forum Timezone: Europe/Paris

Most Users Ever Online: 749

Currently Online: Wizard13gr, pldmich
230 Guest(s)

Currently Browsing this Page:
1 Guest(s)


Devices in use: Desktop (196), Phone (31), Tablet (5)

Top Posters:

Oma7144: 5664

globula_neagra: 2424

finless: 604

DarthJabba: 551

exelletor: 450

JochenKauz: 450

cracktech: 430

maikal: 394

Newest Members:

orange05

tablette11

edigarry6

jendo

dubi123

vrata

Forum Stats:

Groups: 10

Forums: 185

Topics: 5884

Posts: 58444

 

Member Stats:

Guest Posters: 43

Members: 255403

Moderators: 5

Admins: 1

Administrators: admin

Moderators: globula_neagra, exelletor, JochenKauz, Oma7144, cracktech


CrewRKTablets moderators: JochenKauz and Astralix