Please help me modifying update.img for RK2816

Diabolito

Member
Dec 5, 2011
3
0
Hello

(I'll probably sound like a newbie, but I am.) I want to modify the update.img for my device, a Onda VX570R with RK2816 chip.

This update is 2.3.1 and comes from the manufacturer. The reason I want to modify it are :

- I don't like the partitions they make. Though the device has 4GB space, they give it only 256Mo space for storing games and apps, and leave the rest as flash memory for storing files. I want to change this, and gave it 1GB for games and apps. I guess it's not just partitions and I'll need to tell the system the size somewhere in a config file.

- Some games are installed with the update, games that I don't want and that waste the already poor games storing space, and they can't be uninstalled. So I want to delete them from the update.


When I try to uncrampfs system.img it says "superblock magic not found". :\
I read somewhere that it could be ext3 image instead of cramfs, si I tried to mount it in DiskInternals Linux Reader (which permit mounting ext3 image in windows) but it can't open it.

Please help.


Else, do you know any alternative image I could use instead on this device ? All images from the manufacturer have serious bugs anyway, and nearly no game can work because the sensor is often not detected or the screen is shifted...
 
Last edited:

Diabolito

Member
Dec 5, 2011
3
0
I found this in HWDEF :
BEGIN PARTITIONS
# Flash partitions info must be order of offset
# Don't change the partitions name, but you can change the partition offset and size.
# You can Insert new partitions.

mtd_id=rk28xxnand

#Format: part_name offset:size
parameter 0x00000000:0x00002000:fh
misc 0x00002000:0x00002000:f
kernel 0x00004000:0x00004000:f
boot 0x00008000:0x00002000:f
recovery 0x0000A000:0x00004000:f
system 0x0000E000:0x00046000:f
backup 0x00054000:0x00046000:
cache 0x0009A000:0x00046000:
userdata 0x000E0000:0x00080000:
user 0x00160000:0xFFFFFFFF:
END

So here is where I can change the size of the partitions. I understand these are hexadecimal values, but it look nonsense... some partitions seem to end before their start, some space seem not used.... Please tell me the values I should use to just take some space from the user partition and give it to the game-storing-partition.
 
Top