android
  #1  
Old 10-25-2007, 06:12 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default Switching H3MOD themes with rockbox

Hi Everyone.
It kinda sucks that you have to use a computer to switch a H3MOD theme, and not able to switch a theme like you'd do in Rockbox.
Since for changing a H3MOD theme (change firmware), all you have to do is to place a file in the root directory of the player,
I thought that maybe by storing all themes in some sub-directory, and moving them to root directory with rockbox's file manager, then booting into OF, one can change the firmware of the player.
Is it true?
Thanx.
Reply With Quote

Advertisement [Remove Advertisement]

  #2  
Old 10-25-2007, 06:46 PM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Sort of. You're looking for the MultiBL bootloader, which would allow you to do this. http://e200.digerati1338.googlepages.com/multibl is the link and there's instructions on the site for using it. While I haven't tested it personally, others have, and it should work fine.
Reply With Quote

  #3  
Old 10-25-2007, 06:54 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

Thanks chrisjs, but that's not what I'm looking for.
First, you have only five (or six) themes to choose from.
Second, you need to remember which button is which theme.
What I'm looking for is a way to change themes on the fly, and make the switch permanent so there will be no need to hold a particular button when booting the player.
I'll try this later, and maybe I'll make a plugin for that (but I'll need to learn hot to do one first - any help would be appreciated).
BTW: Does this multibl fixes the bad pixels thing?
Reply With Quote

  #4  
Old 10-25-2007, 07:06 PM
dap_pad dap_pad is offline
Junior Member
 
Join Date: Sep 2007
Posts: 29
Default

Wow... I didn't even know you could use H3MOD themes in Rockbox...
Reply With Quote

  #5  
Old 10-25-2007, 07:09 PM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Quote:
Originally Posted by dap_pad View Post
Wow... I didn't even know you could use H3MOD themes in Rockbox...
You can't. All the MultiBL does is allow you to boot a different firmware, as if each theme was a different firmware. Because h3mod themes are completely different from Rockbox, there's no other way to boot them, except at the bootloader level.
Reply With Quote

  #6  
Old 10-25-2007, 07:12 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

How can you move files using rockbox?
Reply With Quote

  #7  
Old 10-25-2007, 07:15 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

Quote:
Originally Posted by dap_pad View Post
Wow... I didn't even know you could use H3MOD themes in Rockbox...
As chrisjs said - you can't. what I seek is a way to change the original firmware/theme, while booted in rockbox.
Reply With Quote

  #8  
Old 10-25-2007, 07:22 PM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Select the file in the file browser, press down, select copy/cut, go to where you want to copy/move it to, press down, select paste.
Reply With Quote

  #9  
Old 10-25-2007, 07:44 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

all I see when pressing down is "Shuffle OFF", "repeat ALL" & "Show files ALL"
Reply With Quote

  #10  
Old 10-25-2007, 07:55 PM
cpchan's Avatar
cpchan cpchan is offline
Ultra Senior Member
 
Join Date: Feb 2007
Location: Toronto, Ontario
Posts: 2,012
Default

Quote:
Originally Posted by Mikomraz View Post
all I see when pressing down is "Shuffle OFF", "repeat ALL" & "Show files ALL"
You must be using my build. Do a short press and not a long press.

Charles
Reply With Quote

  #11  
Old 10-25-2007, 08:12 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

Nope. copying PP5022.MI4 from a sub-folder to root and restarting doesn't work. Although the file is deleted by the player, like when it install the firmware.
Any idea?
Reply With Quote

  #12  
Old 10-27-2007, 03:55 AM
Bal_Zac Bal_Zac is offline
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default

Well, there is an easy way to switch themes, but it can be a little bit dangerous. First off, let me explain how rockbox and the original firmwares are loaded. When you install rockbox, you install a new bootloader and I think that it moves the original firmware to a different location in memory. When you turn on the player, it loads the rockbox mi4, or alternatively, if you press the left button, it loads the firmware from memory.

With this being said, there is an unofficial installation process which I stumbled upon in my exploration of the rockbox source. If the bootloader fails to find the original firmware in flash memory, or wherever it is stored (I can't recall ATM), then it searches in /system/ for OF.mi4, which is any version of the firmware, just renamed to OF.mi4.

This being said, you can compile your own bootloader, by choosing B for bootloader, rather than N for normal, when configuring the build. Then plug your player in, put the created mi4, PP5022.mi4 IIRC, in the root directory, and MAKE SURE to put some kind of firmware, renamed to OF.mi4 in the system directory of the player BEFORE disconnecting. Failure to have this in there will result in a partially bricked payer, and you will have to enter recovery mode and do a bunch of stuff. It will install the new bootloader, reboot and you're all set.

As a result of all of this hard work, you can really easily change themes, just rename the file to OF.mi4 and put it in the /system/ directory. However, you have to have a bt of technical proficency in order to preform this task, and it is not supported by the official forums or me.
Reply With Quote

  #13  
Old 10-27-2007, 11:09 AM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

So I need to make a PP5022.mi4 (which is an altered rockbox boot loader), that once it will be installed it will load original firmware from /system/OF.mi4 and not the default place whee original firmware is usually stored.
After that, each time I would like to change a theme all what I will have to do is put some kind of firmware as /system/OF.mi4, even using rockbox, and just restarting.
Did I understand you right?
and what are the risks? can I permanently damage the player this way?
BTW: are you sure it's OF.mi4 and not OF.bin?
Reply With Quote

  #14  
Old 10-27-2007, 11:32 AM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Quote:
Originally Posted by Mikomraz View Post
So I need to make a PP5022.mi4 (which is an altered rockbox boot loader)
Yes
Quote:
Originally Posted by Mikomraz View Post
that once it will be installed it will load original firmware from /system/OF.mi4 and not the default place whee original firmware is usually stored.
Provided you don't use sansapatcher to install the rockbox bootloader, yes.
Quote:
Originally Posted by Mikomraz View Post
After that, each time I would like to change a theme all what I will have to do is put some kind of firmware as /system/OF.mi4, even using rockbox, and just restarting.
Did I understand you right?
Yes
Quote:
Originally Posted by Mikomraz View Post
and what are the risks?
Messing up and needing to use Recovery mode?
Quote:
Originally Posted by Mikomraz View Post
can I permanently damage the player this way?
This has always confused me. While overclocking would be different, how can software permanently damage hardware?
Quote:
Originally Posted by Mikomraz View Post
BTW: are you sure it's OF.mi4 and not OF.bin?
It can be either one, but OF.bin requires you decrypt the firmware first. So you have to decide whether you want to:
1. Decrypt every theme you plan to use, so that you will have a faster boot time.
or
2. Leave the mi4 as it is, and instead have the OF boot a second or two slower.
Reply With Quote

  #15  
Old 10-27-2007, 11:59 AM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

Where can I get the source of the sansa rockbox bootloader and a tool to alter it? and how do I decrypt firmware?
Reply With Quote

  #16  
Old 10-27-2007, 12:27 PM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Quote:
Originally Posted by Mikomraz View Post
Where can I get the source of the sansa rockbox bootloader and a tool to alter it?
The bootloader is in SVN. Use any wordpad etc. to modify the files.
Quote:
and how do I decrypt firmware?
Mi4code.
Reply With Quote

  #17  
Old 10-27-2007, 02:02 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

I entangled with that SVN and what file I need. Can someone help me? or maybe even compile it the way Bal_Zac described?
Reply With Quote

  #18  
Old 10-27-2007, 02:14 PM
chrisjs162216 chrisjs162216 is offline
Ultra Senior Member
 
Join Date: Oct 2006
Location: Somewhere
Posts: 1,515
Default

Here's a copy of the bootloader:
http://download.rockbox.org/bootload...200/PP5022.mi4
Reply With Quote

  #19  
Old 10-27-2007, 03:04 PM
Mikomraz Mikomraz is offline
Junior Member
 
Join Date: Sep 2007
Posts: 19
Default

How can I change this file? I believe I have to build the bootloader from scratch, am I right? If so, is there any tutorial on how to do this (how to compile a rockbox e200 bootlader)?
Thanks, especially you chris .
Reply With Quote

  #20  
Old 10-27-2007, 03:52 PM
Bal_Zac Bal_Zac is offline
Junior Member
 
Join Date: Sep 2007
Posts: 5
Default

http://download.rockbox.org/bootload...200/PP5022.mi4

This link is the bootloader. It is already precompiled, so you don't need to worry about compiling. Also, don't worry about decrypting the firmware, its a lot of trouble for not a lot of reward.

Here's what you do: If you already have rockbox installed, then look in the manual for how to uninstall it. You don't have to remove the .rockbox folder, however. Download the file from the above link and put it into the root of your player. Don't disconnect until you have a firmware file, renamed to OF.mi4 , in the /sytem folder. That's all to it.
Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 11:36 PM.