Firefly Open Source Community

Title: Firefly RK3288 Android "system" image with 'Google Play Store' enabled [Print This Page]

Author: sghazagh    Time: 7/31/2015 21:12
Title: Firefly RK3288 Android "system" image with 'Google Play Store' enabled
Last edited by sghazagh In 9/1/2015 07:35 Editor

Hi all,
I successfully have compiled Android 4.4.2 with Google Play store included and have loaded to Firefly RK3288 device successfully.
Here are features:
- Android Version 4.4.2 (Customised Boot Animation)
- Includes Google Play Store
- Rooted (Fully rooted and can install different paid apps through AppToid or Google Play)
- TWRP Recovery Image ( Optional-Latest TWRP has been loaded into Recovery Partition)

I can provide the "system.img" + "recovery.img" + "parameter" files and instruction to build your custom "release_update" image to load to your device if you are interested.

Just leave a reply to this post and I will upload if the requests passe the five.
Author: Rodolfo    Time: 8/15/2015 16:36
Great Job!

How I can get the image?

Thanks in advance!
Author: sghazagh    Time: 8/15/2015 18:25
Hi Rodolfo,
Thanks for your reply...
The Android image I can provide already has been "rooted" and have Google Play Store installed. A Custom boot animation logo is in place too.
Let see if more people are interested and I will upload the file and will instruct you...
I just do not want to upload such a big file for just one person.

Thanks anyway...
Author: gkmbinh    Time: 8/18/2015 10:54
for rk3288 just enable build with google in rk3288/BoardConfig.mk

# google apps
BUILD_WITH_GOOGLE_MARKET := true


Author: chenycs    Time: 11/28/2015 16:51
Hello sghazagh,

I need to know how to build those images by myself. Please share your experience.

Thanks
Author: sghazagh    Time: 12/1/2015 05:11
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.
  1. 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:
  1. 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:
  1. rkflashkit backup @parameter parameter.txt
Copy the code
modify and upload it agian by using:
  1. 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



Author: psycmos    Time: 12/19/2015 07:51
You can share one flashable update for try?

I haven't any linux installed in my machine.

I wanna try your system because 5.1 not works well yet.




Welcome Firefly Open Source Community (https://bbs.t-firefly.com/) Powered by Discuz! X3.1