Skip to content

rk29 device based (tablets etc) rom customization toolkit

Notifications You must be signed in to change notification settings

linkomnia/RK29kitchen

Β 
Β 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

51 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

development and testing in progress!!!

English:
This package is designed to automate operations firmware update for the devices based on processor RK2918.

Important!
Use of this software package can cause damage to your device!
This software package is supplied "as is" and without warranty.
This software package may not meet your expectations.

You can:
- Unpack the firmware file consisting of one kind update.img (img mode, used RKBatchTool)
- Unpack the firmware file consisting of a set RK29xxLoader.bin Image/boot.img Image/system.img etc (Image mode, used RKTool)
- Change the name of the device and partition sizes (parameter file)
- Install su and superuser (root access)
- Install busybox in /system/xbin and create symlinks for the utilities that comes with busybox (like busybox pro)
- Choose and install some system applications
- Change the file size system.img
- Create update.img

also
- Create their own plug-ins
- To create automated scripts based on an existing plugin library
- Modify the list of proposed system applications
- Plug-in to remove files from the "black list"
- build.prop fixes

and
- dump current flash from device

TODO

Notes
The package runs on Linux operating systems (development and testing on OpenSUSE 11.4/12.2)
With the user interface is implemented using utilities 'dialog'
Binary utilities (directory bin) can be compiled using:
# cd src /
# make all install
Dependences: libusb-1.0, libusb-1.0-devel, libssl, libssl-devel, dialog, sudo, gcc
To work actively used sudo (must be set up password-less mode) - need to modify the partition system

Use:
[full_or_partial_path/]menu.sh [workdir]
[full_or_partial_path/]batchImgRepack.sh [full_or_partial_path/]old.img
[full_or_partial_path/]batchImageRepack.sh [full_or_partial_path_to_Image]
flashdump

workdir may contain update.img (img mode) or set of files (Image mode)

Select a Folder
The directory-selection dialog displays a text-entry window in which you can type a directory, and above that a windows with directory names.
The directory window will display the contents of the path and the text-entry window will contain the preselected directory.
Use tab or arrow keys to move between the windows. Within the directory window, use the up / down arrow keys to scroll the current selection. Use the space-bar to copy the current selection into the text-entry window.
Typing any printable characters switches focus to the text-entry window, entering that character as well as scrolling the directory window to the closest match.
Use a carriage return or the "OK" button to accept the current value in the text-entry window and exit.

Select File
The file-selection dialog displays a text-entry window in which you can type a filename (or directory), and above that two windows with directory names and filenames.
Use tab or arrow keys to move between the windows. Within the directory or filename windows, use the up / down arrow keys to scroll the current selection. Use the space-bar to copy the current selection into the text-entry window.
Typing any printable characters switches focus to the text-entry window, entering that character as well as scrolling the directory and filename windows to the closest match.
Typing the space character forces dialog to complete the current name (up to the point where there may be a match against more than one entry).
Use a carriage return or the "OK" button to accept the current value in the text-entry window and exit.

Russian:
Π­Ρ‚ΠΎΡ‚ ΠΏΠ°ΠΊΠ΅Ρ‚ создан для Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·Π°Ρ†ΠΈΠΈ ΠΎΠΏΠ΅Ρ€Π°Ρ†ΠΈΠΉ ΠΌΠΎΠ΄ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΠΈ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΎΠΊ для устройств Π½Π° основС процСссора РК2918.

Π’Π°ΠΆΠ½ΠΎ!
ИспользованиС Π΄Π°Π½Π½ΠΎΠ³ΠΎ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½ΠΎΠ³ΠΎ ΠΏΠ°ΠΊΠ΅Ρ‚Π° ΠΌΠΎΠΆΠ΅Ρ‚ привСсти ΠΊ ΠΏΠΎΠ²Ρ€Π΅ΠΆΠ΄Π΅Π½ΠΈΡŽ вашСго устройства!
Π”Π°Π½Π½Ρ‹ΠΉ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½Ρ‹ΠΉ ΠΏΠ°ΠΊΠ΅Ρ‚ поставляСтся "ΠΊΠ°ΠΊ Π΅ΡΡ‚ΡŒ" ΠΈ Π±Π΅Π· ΠΊΠ°ΠΊΠΈΡ… Π»ΠΈΠ±ΠΎ Π³Π°Ρ€Π°Π½Ρ‚ΠΈΠΉ.
Π”Π°Π½Π½Ρ‹ΠΉ ΠΏΡ€ΠΎΠ³Ρ€Π°ΠΌΠΌΠ½Ρ‹ΠΉ ΠΏΠ°ΠΊΠ΅Ρ‚ ΠΌΠΎΠΆΠ΅Ρ‚ Π½Π΅ ΡΠΎΠΎΡ‚Π²Π΅Ρ‚ΡΡ‚Π²ΠΎΠ²Π°Ρ‚ΡŒ вашим оТиданиям.

Π’Ρ‹ ΠΌΠΎΠΆΠ΅Ρ‚Π΅:
- Ρ€Π°ΡΠΏΠ°ΠΊΠΎΠ²Ρ‹Π²Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΊΠΈ состоящиС ΠΈΠ· ΠΎΠ΄Π½ΠΎΠ³ΠΎ Ρ„Π°ΠΉΠ»Π° Π²ΠΈΠ΄Π° update.img (img mode, ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ RKBatchTool)
- Ρ€Π°ΡΠΏΠ°ΠΊΠΎΠ²Ρ‹Π²Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΊΠΈ состоящих ΠΈΠ·  Π½Π°Π±ΠΎΡ€Π° Ρ„Π°ΠΉΠ»ΠΎΠ² RK29xxLoader.bin Image/boot.img Image/system.img etc (Image mode, ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ RKTool)
- ΠΈΠ·ΠΌΠ΅Π½ΡΡ‚ΡŒ Π½Π°Π·Π²Π°Π½ΠΈΠ΅ устройства ΠΈ Ρ€Π°Π·ΠΌΠ΅Ρ€Ρ‹ Ρ€Π°Π·Π΄Π΅Π»ΠΎΠ² (parameter file)
- ΡƒΡΡ‚Π°Π½Π°Π²Π»ΠΈΠ²Π°Ρ‚ΡŒ su ΠΈ superuser (root доступ)
- ΡƒΡΡ‚Π°Π½Π°Π²Π»ΠΈΠ²Π°Ρ‚ΡŒ busybox Π² /system/xbin ΠΈ ΡΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ симлинки для ΡƒΡ‚ΠΈΠ»ΠΈΡ‚ ΠΈΠ· ΠΊΠΎΠΌΠΏΠ»Π΅ΠΊΡ‚Π° busybox (Π°Π½Π°Π»ΠΎΠ³ΠΈΡ‡Π½ΠΎ busybox pro)
- Π²Ρ‹Π±ΠΈΡ€Π°Ρ‚ΡŒ ΠΈ ΡƒΡΡ‚Π°Π½Π°Π²Π»ΠΈΠ²Π°Ρ‚ΡŒ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Π΅ систСмныС прилоТСния
- ΠΈΠ·ΠΌΠ΅Π½ΡΡ‚ΡŒ Ρ€Π°Π·ΠΌΠ΅Ρ€ Ρ„Π°ΠΉΠ»Π° system.img
- ΡΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ update.img

Ρ‚Π°ΠΊΠΆΠ΅
- ΡΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ свои ΠΏΠ»Π°Π³ΠΈΠ½Ρ‹
- ΡΠΎΠ·Π΄Π°Π²Π°Ρ‚ΡŒ  Π°Π²Ρ‚ΠΎΠΌΠ°Ρ‚ΠΈΠ·ΠΈΡ€ΠΎΠ²Π°Π½Π½Ρ‹Π΅ скрипты Π½Π° основС ΡΡƒΡ‰Π΅ΡΡ‚Π²ΡƒΡŽΡ‰Π΅ΠΉ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ ΠΏΠ»Π°Π³ΠΈΠ½ΠΎΠ²
- ΠΈΠ·ΠΌΠ΅Π½ΡΡ‚ΡŒ список ΠΏΡ€Π΅Π΄Π»Π°Π³Π°Π΅ΠΌΡ‹Ρ… систСмных ΠΏΡ€ΠΈΠ»ΠΎΠΆΠ΅Π½ΠΈΠΉ
- ΠΏΠ»Π°Π³ΠΈΠ½ для удалСния Ρ„Π°ΠΉΠ»ΠΎΠ² ΠΈΠ· "Ρ‡Π΅Ρ€Π½ΠΎΠ³ΠΎ списка"
- ΠΏΠ»Π°Π³ΠΈΠ½ ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠ΅ Π½Π΅ΠΊΠΎΡ‚ΠΎΡ€Ρ‹Ρ… настроСк build.prop

Π΅Ρ‰Π΅
- ΡΠ»ΠΈΠ²Π°Ρ‚ΡŒ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΊΡƒ с устройства

Π—Π°ΠΌΠ΅Ρ‚ΠΊΠΈ
ΠŸΠ°ΠΊΠ΅Ρ‚ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚ Π½Π° ΠΎΠΏΠ΅Ρ€Π°Ρ†ΠΈΠΎΠ½Π½Ρ‹Ρ… систСмах Linux (Ρ€Π°Π·Ρ€Π°Π±ΠΎΡ‚ΠΊΠ° ΠΈ тСстированиС Π½Π° OpenSUSE 11.4/12.2)
Π˜Π½Ρ‚Π΅Ρ€Ρ„Π΅ΠΉΡ с ΠΏΠΎΠ»ΡŒΠ·ΠΎΠ²Π°Ρ‚Π΅Π»Π΅ΠΌ Ρ€Π΅Π°Π»ΠΈΠ·ΠΎΠ²Π°Π½ с использованиСм ΡƒΡ‚ΠΈΠ»ΠΈΡ‚Ρ‹ 'dialog'
Π‘ΠΈΠ½Π°Ρ€Π½Ρ‹Π΅ ΡƒΡ‚ΠΈΠ»ΠΈΡ‚Ρ‹ (ΠΊΠ°Ρ‚Π°Π»ΠΎΠ³ bin) ΠΌΠΎΠ³ΡƒΡ‚ Π±Ρ‹Ρ‚ΡŒ скомпилированы ΠΊΠΎΠΌΠ°Π½Π΄ΠΎΠΉ:
# cd src/
# make all install
Зависимости: libusb-1.0, libusb-1.0-devel, libssl, libssl-devel, dialog, sudo, gcc
Для Ρ€Π°Π±ΠΎΡ‚Ρ‹ Π°ΠΊΡ‚ΠΈΠ²Π½ΠΎ ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΠ΅Ρ‚ΡΡ sudo (Π΄ΠΎΠ»ΠΆΠ΅Π½ Π±Ρ‹Ρ‚ΡŒ настроСн Π±Π΅ΡΠΏΠ°Ρ€ΠΎΠ»ΡŒΠ½Ρ‹ΠΉ Ρ€Π΅ΠΆΠΈΠΌ) - Π½Π΅ΠΎΠ±Ρ…ΠΎΠ΄ΠΈΠΌ для ΠΌΠΎΠ΄ΠΈΡ„ΠΈΠΊΠ°Ρ†ΠΈΠΈ Ρ€Π°Π·Π΄Π΅Π»Π° system

ИспользованиС:
[full_or_partial_path/]menu.sh [WorkDir]
[full_or_partial_path/]batchImgRepack.sh [full_or_partial_path/]old.img
[full_or_partial_path/]batchImageRepack.sh [full_or_partial_path_to_Image]

WorkDir ΠΌΠΎΠΆΠ΅Ρ‚ ΡΠΎΠ΄Π΅Ρ€ΠΆΠ°Ρ‚ΡŒ update.img (IMG Ρ€Π΅ΠΆΠΈΠΌ) ΠΈΠ»ΠΈ Π½Π°Π±ΠΎΡ€ Ρ„Π°ΠΉΠ»ΠΎΠ² (Image Ρ€Π΅ΠΆΠΈΠΌ)

Select a Folder
The directory-selection dialog displays a text-entry window in which you can type a directory, and above that a windows with directory names.
The directory window will display the contents of the path and the text-entry window will contain the preselected directory.
Use tab or arrow keys to move between the windows. Within the directory window, use the up / down arrow keys to scroll the current selection. Use the space-bar to copy the current selection into the text-entry window.
Typing any printable characters switches focus to the text-entry window, entering that character as well as scrolling the directory window to the closest match.
Use a carriage return or the "OK" button to accept the current value in the text-entry window and exit.

Select File
The file-selection dialog displays a text-entry window in which you can type a filename (or directory), and above that two windows with directory names and filenames.
Use tab or arrow keys to move between the windows. Within the directory or filename windows, use the up / down arrow keys to scroll the current selection. Use the space-bar to copy the current selection into the text-entry window.
Typing any printable characters switches focus to the text-entry window, entering that character as well as scrolling the directory and filename windows to the closest match.
Typing the space character forces dialog to complete the current name (up to the point where there may be a match against more than one entry).
Use a carriage return or the "OK" button to accept the current value in the text-entry window and exit.

About

rk29 device based (tablets etc) rom customization toolkit

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published