Author Topic: Cacko -change Startup Screen?  (Read 3719 times)

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Cacko -change Startup Screen?
« on: January 07, 2006, 12:30:53 pm »
Okay, knocking those problems off one after another.     Fixed the game problem...now....I had a custom startup screen on my Sharp ROM C1000 setup.  It was fairly easy to do,  but it appears that the Cacko ROM will not allow me to delete or change its startup screen.

The startup is called Startup_screen.bmp.bz2 and can't be deleted or renamed or copied even with root privileges.  Is it impossible to put your own custom startup screen in the Cacko ROM?

This is on a C1000.

Thanks.
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

ThC

  • Sr. Member
  • ****
  • Posts: 259
    • View Profile
    • http://
Cacko -change Startup Screen?
« Reply #1 on: January 07, 2006, 01:19:10 pm »
try doing "mount -o remount,rw /" before trying to change the file ... it may help
SL-C3000 - pdaXrom 1.1.0Beta1
SL-C860 - pdaXrom 1.1.0 RC8 (charging circuitry dead :( )
CF RamStar 512 Mb / Hitachi 4Gb microdrive (thanks to creative's muvo² :p)
SD Sandisk 1Gb / Viking 256 Mb
Linksys WCF13 CF wifi card

Anyone willing to donate for my work, please consider donate to pdaXrom and/or OE/OZ projects instead, I wouldn't have been able to do anything without them ...

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Cacko -change Startup Screen?
« Reply #2 on: January 07, 2006, 05:04:00 pm »
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??  

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cacko -change Startup Screen?
« Reply #3 on: January 07, 2006, 06:11:24 pm »
Quote
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??   

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109940\"][{POST_SNAPBACK}][/a][/div]


The startup screen is loaded by /home/QtPalmtop/qpe.sh


you could edit this file to load another image from an alternate location
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Cacko -change Startup Screen?
« Reply #4 on: January 08, 2006, 09:18:43 am »
Thanks,  Meanie!    You come through again.  I'll try that.

Quote
Quote
I went to the terminal and typed in your command but got a message that the device was busy so I typed the following:
su
 mount / -o rw,remount

and it accepted it but then I went into Advanced file manager and I STILL could not rename or delete the file.

Did you mean I had to move files and copy them at the terminal after entering those commands...not sure I can manage all that.

Is there an easier way to just change the startup screen??   

Quote
try doing "mount -o remount,rw /" before trying to change the file ... it may help
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109920\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109940\"][{POST_SNAPBACK}][/a][/div]


The startup screen is loaded by /home/QtPalmtop/qpe.sh


you could edit this file to load another image from an alternate location
[div align=\"right\"][a href=\"index.php?act=findpost&pid=109948\"][{POST_SNAPBACK}][/a][/div]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Cacko -change Startup Screen?
« Reply #5 on: January 08, 2006, 11:05:48 am »
Meanie (or any other knowledgeable person):

I'm a cautious person so before I do this I have made several copies of the current file /home/QtPalmtop/qpe.sh and will rename it in its current location and then copy my modified qpe.sh to /home/QtPalmtop/

BUT, before I do this I want to check if this would be a correct modified file below.  I have placed my rotated bmp in the /usr/QtPalmtop.rom/pics144/ folder and it is named "Startup_screen.bmp".

Existing code:
Code: [Select]
while true; do
 Â   bzcat /usr/QtPalmtop.rom/pics144/Startup_screen.bmp.bz2 > /tmp/Startup_screen.bmp
 Â   sdisp /tmp/Startup_screen.bmp &
 Â   rm -f /tmp/Startup_screen.bmp

Proposed NEW code inserted into qpe.sh in place of that code:
Code: [Select]
while true; do
 Â   bzcat /usr/QtPalmtop.rom/pics144/Startup_screen.bmp > /tmp/Startup_screen.bmp
 Â   sdisp /tmp/Startup_screen.bmp &
 Â   rm -f /tmp/Startup_screen.bmp

Will this give me my start screen without trashing my system?  Actually,  I think I'll be even MORE cautious and use a known good startup screen which I made that worked in the Sharp ROM.

Thanks in advance.
« Last Edit: January 08, 2006, 11:09:15 am by tombraider »
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

jfv

  • Sr. Member
  • ****
  • Posts: 437
    • View Profile
Cacko -change Startup Screen?
« Reply #6 on: January 08, 2006, 11:25:16 am »
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
SL 5000 D  and C860 Sharp ROM
Too many accessories...

tombraider

  • Sr. Member
  • ****
  • Posts: 409
    • View Profile
    • http://atoah.com/zaurus/
Cacko -change Startup Screen?
« Reply #7 on: January 08, 2006, 12:24:23 pm »
Felipe,  thank you!

I now have my custom startup screen back that I had in the Sharp ROM on my C1000.
Without your help on the "bzcat" difference there,  I could have had a fatal error.
It would not allow me to copy my bitmap into that pics144 folder and so I had to put my startup bitmap in a different location and put the path in the
qpe.sh code like this:

Code: [Select]
while true; do
    cat /home/zaurus/startup/Startup_screen.bmp >

/tmp/Startup_screen.bmp
    sdisp /tmp/Startup_screen.bmp &
    rm -f /tmp/Startup_screen.bmp

I would advise extreme caution if someone else wants to try this though.
 
Quote
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110031\"][{POST_SNAPBACK}][/a][/div]
Learning Chinese?  Have a Mac?  Try Hanzi Master: Download for free

Tombraider's Zaurus C1000 Tips Web Site

SL-3200 from Conics.net: Sharp ROM| SL-C1000: Pdaxrom Beta 3

Meanie

  • Hero Member
  • *****
  • Posts: 2803
    • View Profile
    • http://www.users.on.net/~hluc/myZaurus/
Cacko -change Startup Screen?
« Reply #8 on: January 09, 2006, 05:24:47 am »
Quote
Felipe,  thank you!

I now have my custom startup screen back that I had in the Sharp ROM on my C1000.
Without your help on the "bzcat" difference there,  I could have had a fatal error.
It would not allow me to copy my bitmap into that pics144 folder and so I had to put my startup bitmap in a different location and put the path in the
qpe.sh code like this:

Code: [Select]
while true; do
    cat /home/zaurus/startup/Startup_screen.bmp >

/tmp/Startup_screen.bmp
    sdisp /tmp/Startup_screen.bmp &
    rm -f /tmp/Startup_screen.bmp

I would advise extreme caution if someone else wants to try this though.
 
Quote
No. The orginal picture is compressed (hence the file type .bz2). The command bzcat decompresses and moves the picture to the /tmp directory simultaneously. As your picture is not compressed, you should replace bzcat by cat in your script.

Felipe
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110031\"][{POST_SNAPBACK}][/a][/div]
[div align=\"right\"][a href=\"index.php?act=findpost&pid=110044\"][{POST_SNAPBACK}][/a][/div]


The idea of using bz2 is to compress the image so conserve space. However, it also takes some time to extract during the startup.

You could also do the following:

Code: [Select]
   sdisp  /home/zaurus/startup/Startup_screen.bmp &
to just load your image directly and not worry about the bzip2 thing since your image isnt compressed anyway.
SL-C3000 - pdaXii13 build5.4.9 (based on pdaXrom beta3) / SL-C3100 - Sharp ROM 1.02 JP (heavily customised)
Netgear MA701 CF, SanDisk ConnectPlus CF, Socket Bluetooth CF, 4GB Kingston CF,  4GB pqi SD, 4GB ChoiceOnly SD, 2GB SanDisk SD USB Plus, 1GB SanDisk USB Plus, 1GB Transcend SD, 2GB SanDisk MicroSD with SD adaptor, Piel Frama Leather Case, GoldX 5-in-1 USB cable, USB hub, USB mouse, USB keyboard, USB ethernet, USB HDD, many other USB accessories...
(Zaurus SL-C3000 owner since March 14. 2005, Zaurus SL-C3100 owner since September 21. 2005)
http://members.iinet.net.au/~wyso/myZaurus - zBook3K