|
Posted at 12/1/2015 05:11:46
Only Author
recommend
Last edited by sghazagh In 12/1/2015 05:19 Editor
It's not that hard.
You need to compile the Android from source code.
Follow the Firefly instruction and you can do the compile. Use the 4.4.2 version as the 5.1.1 version is not officially released.
I have compiled both but have found the 4.4.2 version better.
Here is the WiKi page: http://wiki.t-firefly.com/index. ... 88/Build_android/en
Just enable this in "rk3288/BoardConfig.mk" file if you need Google Play be included as 'gkmbinh' explained above.
- BUILD_WITH_GOOGLE_MARKET := true
Copy the code After a successful compile, and running the ./mkimage.sh command explained in instruction, you will get all the images in rockdev/Images folder.
For example:
system.img, recovery.img, resources.img, boot.img, kernel.img.
They are all you need to flash to your device.
You can do it one by one, like:
- rkflashkit flash @system system.img
Copy the code This one will load the system.img at system partition address.
Do the same for other images and you are done
Another option is to copy all your images in 'rockdev' tool folder (explained in instruction) and make a update image.
Then load the 'update' image as per instruction to load all the images in one place. This tooil available for both Linux and Windows.
But I do suggest use the Windows version as the Linux version is glichy and cannot make the image file properly if the size of your images are more than one GB.
NOTE: The most important part is that, there is another partition called 'parameter'.
This parameter partition or in fact parameter.txt file, holds the partition names, addresses and sizes.
You have to first customize it as per your need or use the default setting to make the partitions prepared at the time of boot.
Then you can load the images one-by-one.
For making the 'parameter.txt' file, you have option to manually calculate the addresses and modify the existing parameter.txt file to load, or use my Windows Application which I had developed few months ago to make the job easy.
You can read and download the application from here:
http://bbs.t-firefly.com/forum.p ... =637&extra=page%3D4
If you need to download the current parameter file from your device to modify and reupload again do this:
Download from device:
- rkflashkit backup @parameter parameter.txt
Copy the code modify and upload it agian by using:
- rkflashkit flash @parameter parameter.txt
Copy the code I am sure you know that you need to be in UADF mode and also have all 'rkflashkit' and other necessary tools installed on your Linux machine first to be able to make backup/flash of an image from/to your device. If not, first read the wiki to see how you can install them in your Linux machine.
Good luck,
http://www.elar-systems.com
http://www.elar-systems.com.au
|
|