If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.
Announcement
Collapse
No announcement yet.
Announcement
Collapse
No announcement yet.
How to change Splash Screen (NOT BOOTANIMATION) in 900Supersport ROM U30GTH ??
How to change Splash Screen (NOT BOOTANIMATION) in 900Supersport ROM U30GTH ??
Hi my friends !
I have installed this rom "Cube U30GT H 1.11 900 supersport". It's perfect, but (sorry 900 supersport), I don't like the Splash Screen on boot. That image with green "dragons".
NOT BOOT ANIMATION. This is simple to change --> bootanimation.zip
The splash screen, I think, is in kernel.img, but I don't know how to change it.
Graphic preparation, you need to know the size of the kernel image, it's often the same as the display resolution. Once you know that prepare a png of the image you want then follow these instructions from Finless
First this is a handy tool to have. It converts a PNG to CLUT data. This will work in windows as it uses CGI-Win dll's. But the scripts inhere should also work in Linux.
I have a working python script, by no means the finished product but it does a job. Use a follows
in a folder working ensure you have kernel.img, logo_clut and logo_data.
from the folder containing working (on up) execute the python script.
sign kernelout.img
Code:
rkcrc -k working/kernelout.img kernel.img
Code:
#!/usr/bin/python
#globals
cluto = 0 # clut offset
pl = 0 # palette length
datao = 0 # data offset
w = 0 # kernel data image width
h = 0 # kernel data image height
ds = 0 # kernel data image size
def findstring(f, s):
'''find the first occurance of the string s in the file f
'''
l = len(s)
o = 0
f.seek(o)
while f.read(l) != s:
o = o + 1
f.seek(o)
return o + l
def printkerneldata():
'''get kernel data '''
global cluto # clut offset
global pl # palette length
global datao # data offset
global w # kernel data image width
global h # kernel data image height
global ds # kernel data image size
with open('working/kernel.img', 'r') as fr:
o = findstring(fr,'ppllogo_RKlogo_clut')
fr.seek(o)
cluto = o
pl = int(fr.read(1).encode('hex'),16)
print '=================================================='
print 'ppllogo_RKlogo_clut offset:',
print "{0:x}".format(cluto)
print 'Palette length:', pl
print '=================================================='
o = findstring(fr,'logo_RKlogo_data')
fr.seek(o)
datao = o
w=int(fr.read(2).encode('hex'),16)
h=int( fr.read(2).encode('hex'),16)
ds = w * h + 4
print 'logo_RKlogo_data offset:',
print "{0:x}".format(datao)
print 'resolution: ',
print w,':',h
print 'data size: ',
print ds
print '=================================================='
def brandkernel():
global cluto # clut offset
global pl # palette length
global datao # data offset
global w # kernel data image width
global h # kernel data image height
global ds # kernel data image size
with open('working/kernel.img', 'r') as fr:
#fr.seek(8)
with open('working/kerneltmp.img', 'w') as fw:
fw.write(fr.read(cluto))
with open('working/logo_clut') as ft:
for c in iter(lambda: ft.read(1),""):
fw.write(c)
fr.read(1)
for c in iter(lambda: fr.read(1),""):
fw.write(c)
#print datao
with open('working/kerneltmp.img', 'r') as fr:
fr.seek(8)
with open('working/kernelout.img', 'w') as fw:
fw.write(fr.read(datao-8))
with open('working/logo_data') as ft:
for c in iter(lambda: ft.read(1),""):
fw.write(c)
fr.read(1)
for c in iter(lambda: fr.read(1),""):
fw.write(c)
printkerneldata()
brandkernel()
I'll do some tidying of the code but it works as is, my u30gt2 is now branded,
This was the test code I developed prior to integrating into my kitchen.
It doesn't work on Windows OS or I don't know how it works.
I tried with :
rkcrc -k working/kernelout.img kernel.img
did you "cd" to your working directory?
or tr to put whole path for kernel in and out.
also you may try cygwin if nothing work
in cygwin you need to use something like
cd pathtodirectory
./rkcrc -k working/kernelout.img kernel.img
Everything is possible if we work together! ApkFreak
Yes,
rkcrc create a new kernel.img file.
I flashed it on my Cube with ROM Flash Tool (kernel and recovery selected), but after flash, my tablet didn't boot anymore.
Yes,
rkcrc create a new kernel.img file.
I flashed it on my Cube with ROM Flash Tool (kernel and recovery selected), but after flash, my tablet didn't boot anymore.
Flash your original kernel back. When flashing a kernel you only need to flash the kernel. If you upload the kernel and the two files I'll see if I can brand and sign it for you.
You are very kind, Brian, but I like to learn.
I will try linux, maybe your script will work.
Can you post everything I need for this job ? Or your script renamed "rkcrc" is enough ?
We process personal data about users of our site, through the use of cookies and other technologies, to deliver our services, personalize advertising, and to analyze site activity. We may share certain information about our users with our advertising and analytics partners. For additional details, refer to our Privacy Policy.
By clicking "I AGREE" below, you agree to our Privacy Policy and our personal data processing and cookie practices as described therein. You also acknowledge that this forum may be hosted outside your country and you consent to the collection, storage, and processing of your data in the country where this forum is hosted.
Comment