Creating an update.img?

robertut

Senior Member
May 11, 2007
284
48
0
Yes, it should be possible to just update these.
I guess you should look at how they build an image to install recovery only. Like when they install custom recoveries.
 

Goose247

Senior Member
Oct 6, 2009
690
356
0
Strathdon
Yes, it should be possible to just update these.
I guess you should look at how they build an image to install recovery only. Like when they install custom recoveries.
Yeah I thought so. I'll be brave and try it as it'll be a damn sight easier to build the update with just recovery and kernel when I'm doing the 1st boot logo's and easier for everyone that wants a boot logo.
 

Malaysk

Senior Member
Jan 31, 2011
1,653
5,678
153
Does anyone know if it's possible to build an update.img but to just update the kernel and recovery? I'm pretty sure it must be possible.
Yes, you can !! Simply replace kernel and recovery :) Everything will be fine. But all the rest should be for your processor RK3188 or RK3066. ( system.img and boot.img )
 

robertut

Senior Member
May 11, 2007
284
48
0
Yes, you can !! Simply replace kernel and recovery :) Everything will be fine. But all the rest should be for your processor RK3188 or RK3066. ( system.img and boot.img )
We're thinking about creating an update.img containing only the kernel.img and recovery.img, and without the system and boot. Just to replace the boot logo, and not the whole system completely.
 

Malaysk

Senior Member
Jan 31, 2011
1,653
5,678
153
We're thinking about creating an update.img containing only the kernel.img and recovery.img, and without the system and boot. Just to replace the boot logo, and not the whole system completely.
Oh I understand - it will not work, I think. :( In recovery is to check if all the files - kernel , recovery.img, system.img and boot.img.
 
Last edited:

robertut

Senior Member
May 11, 2007
284
48
0
Oh I understand - it will not work, I think. :( In recovery is to check if all the files - kernel , recovery.img, system.img and boot.img.
It should be possible. The recovery will only update the files that exist. If it doesn't find boot.img for example, it will skip it.
 

p_mike83

Senior Member
Jan 16, 2008
119
36
0
It should be possible. At least when using custom recovery.

Anyway, There is a way to flash a recovery IMG without using recovery using a shell script, maybe this should work for kernel also...stg like this http://forum.xda-developers.com/showthread.php?t=2102679
I have use that method before on an android tv box. You should find a correct recovery.IMG for those devices though
If the kernel could not be flashed that way, you can install a custom recovery and install the kernel and the stock recovery.img using a flashable zip.
 
Last edited:

Goose247

Senior Member
Oct 6, 2009
690
356
0
Strathdon
Unfortunately, this is the only Android system I've worked on where updates have to be done with .img updates. It's not really for my benefit, it's for all the peeps I'm creating boot logo's for. Asking them to use a custom recovery or installing it using terminal emulator is more hassle than the way they have to do it at the minute. Not to worry :(
 

doctorman

Senior Member
Feb 16, 2010
923
284
0
how do you guys compile the update.img ?

I tried few times with
RK3xxx_firmware_tools_5.99.07.00

extract, change kernel, build
the update.img does not install

RK3188
 

jakejm79

Senior Member
Jan 29, 2010
1,053
152
0
how do you guys compile the update.img ?

I tried few times with
RK3xxx_firmware_tools_5.99.07.00

extract, change kernel, build
the update.img does not install

RK3188
RK3066 IMG Mod Tool
works, despite it's name it will unpack and pack the update.img for both RK3066 and RK3188, since they are packed the same.
 

pa.ko

Senior Member
Dec 4, 2010
512
154
63
any link to it?

found this
http://rockchipfirmware.com/developer-tools

but I guess that program is only for linux and not windows
There is lot resources on rk3188 around there

https://www.entertainmentbox.com/droidsticks-latest-rk3188-q7-firmware-download/

http://www.cnx-software.com/2014/11/10/android-5-0-lollipop-now-boots-on-rockchip-rk3188-tablets/

http://www.rockchipfirmware.com/forum-library

I used first two links and played with some generic Lollipop AOSP. Managed to install kernel and system partitions and to boot.

In third link you have rs232 low level integration described. It is used for MCU integration.

Didnt bother to extract libs and stock apps and try to rebuild with them. It would take some time and I have none to spare.

Anyhow, LP (and even MM) is not hard to get running on these units. Problem is with mumbo-jumbo stock apps that need to be rebuilt in order to comply with changed API and security model in LP/MM.

But even that is not too hard. Reverse engineer, get code / libs for rs232 and just change handlers in apps to confirm with new standards.

---------- Post added at 08:11 AM ---------- Previous post was at 08:00 AM ----------

any link to it?

found this
http://rockchipfirmware.com/developer-tools

but I guess that program is only for linux and not windows
Here you have Windows tools

http://www.rockchip.nl/downloads/

Also you may contact their NL division. They are I EU so they should provide more support in accordance to good business practices.
 

doctorman

Senior Member
Feb 16, 2010
923
284
0
how do you guys compile the update.img ?

I tried few times with
RK3xxx_firmware_tools_5.99.07.00

extract, change kernel, build
the update.img does not install

RK3188

My problem seems to be the image I was using had white background and in ASCII PPM format that increases the size and kernel does not install

made the background black
and indexed the colors to 224 colors in the image and the kernel was created without error

but after install my own logo nor malaysk logo shows
it now reverts to the original head units boot logo.
 

djshotty

Senior Member
Oct 7, 2008
1,059
529
143
East Maitland, NSW, Australia
A note to anyone considering cooking an update.img for RK3188 800x480 devices in particular ('cos that's what I've got) but for any 2DIN car stereo head unit device really. It's more a request, but something I feel is a must-have for every ROM.

ADD A NOTIFICATION BAR SHORTCUT
THAT SWITCHES OFF THE SCREEN!

Essentially what I'm looking for is what came with the OEM KitKat 4.4.2 ROM preinstalled in my Eonon G2110F. During night driving, I could slide the Notification bar down, tap an icon that looked like a X in a box, and the screen would switch off. If I had a music app. or the AM/FM radio going, they would continue to play, and turning a knob or clicking a button on the unit would light the screen.

Thanks for listening!
 

doctorman

Senior Member
Feb 16, 2010
923
284
0
A note to anyone considering cooking an update.img for RK3188 800x480 devices in particular ('cos that's what I've got) but for any 2DIN car stereo head unit device really. It's more a request, but something I feel is a must-have for every ROM.

ADD A NOTIFICATION BAR SHORTCUT
THAT SWITCHES OFF THE SCREEN!

Essentially what I'm looking for is what came with the OEM KitKat 4.4.2 ROM preinstalled in my Eonon G2110F. During night driving, I could slide the Notification bar down, tap an icon that looked like a X in a box, and the screen would switch off. If I had a music app. or the AM/FM radio going, they would continue to play, and turning a knob or clicking a button on the unit would light the screen.

Thanks for listening!
It is called Malaysk ROM.. does what you want with screen saver and button

now please reduce the size of the font you used
 

doctorman

Senior Member
Feb 16, 2010
923
284
0
See attached, you can ignore the parameter file in the archive. If you want to mount the system.img files or others then you will want linux to mount them.
how do I use that in windows?

I just heard back from the developer of RK3xxx_firmware_tools_5.99.07.00 that the update.img I make with that tool can not be flashed in Recovery. and that is my problem, so I can use RK3xxx_firmware_tools_5.99.07.00 to modify the logo in kernel.img and package it all up with another program I guess

so what is the easiest way to repackage the update.img for flash in recovery of the device?

Question for our developers that have made recovery flashable update.img @Goose247 @Malaysk @dsa8310
Watched few videos on how to use the mod tool and they all use RK batch tool to flash the image... can the .img be flashed in recovery?
 
Last edited:

djshotty

Senior Member
Oct 7, 2008
1,059
529
143
East Maitland, NSW, Australia
It is called Malaysk ROM.. does what you want with screen saver and button

now please reduce the size of the font you used
Well that's just silly! I've gone through every Settings menu in the latest Malaysk ROM I'm still to find how to place a 'button' on the Notifications bar to switch the screen off. I only ask questions when I've exhausted all avenues of research. With that, do you have a way of enabling such a shortcut on my unit's Home screen, or even better, the Notification bar?
 

Goose247

Senior Member
Oct 6, 2009
690
356
0
Strathdon
how do I use that in windows?

I just heard back from the developer of RK3xxx_firmware_tools_5.99.07.00 that the update.img I make with that tool can not be flashed in Recovery. and that is my problem, so I can use RK3xxx_firmware_tools_5.99.07.00 to modify the logo in kernel.img and package it all up with another program I guess

so what is the easiest way to repackage the update.img for flash in recovery of the device?

Question for our developers that have made recovery flashable update.img @Goose247 @Malaysk @dsa8310
Watched few videos on how to use the mod tool and they all use RK batch tool to flash the image... can the .img be flashed in recovery?
When I did the boot logo changing service (when it worked), everyone I did it for installed the rom through recovery. I did a LOT of boot logos for other people and they all installed through recovery (choosing not to wipe to keep their settings, installed apps etc.) and I am pretty sure I had a 100% success rate with no complaints.

Perhaps the problem is you are trying to change the boot logo for a new rom and it simply won't work. Trying to change the boot logo for any Malaysk rom built after Feb (I think), it simply won't work. If you try mix and match and use stock kernel's and/or recovery's with Malaysk's rom you run the risk of bricking your unit. You are just going to have to accept the fact that you cannot change the boot logo on newer built roms.

I personally use an older rom so that using a custom boot logo will work.