Author Topic: The Ultimate Zaurus Software: Picsel Browser  (Read 31537 times)

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
The Ultimate Zaurus Software: Picsel Browser
« Reply #30 on: January 23, 2007, 12:54:37 pm »
Quote
I am stumbling towards the solution for unmarrying picsel browser from the sd card. If anyone would like to help, can they run this command when the picsel card is inserted, and private message me the result; I will keep the answers in confidence.

cat /proc/driver/mmcsd/00/raw

thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152161\"][{POST_SNAPBACK}][/a][/div]
I would love to help but, I can't find a copy of it to buy.  

I even offered, Picsel, money for a copy and they just blew me off.  There is something wrong with a commercial software oufit that refuses to sell it's product to eager consumers.  
« Last Edit: January 23, 2007, 12:57:27 pm by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
The Ultimate Zaurus Software: Picsel Browser
« Reply #31 on: January 25, 2007, 11:56:30 am »
Quote
I am stumbling towards the solution for unmarrying picsel browser from the sd card. If anyone would like to help, can they run this command when the picsel card is inserted, and private message me the result; I will keep the answers in confidence.

cat /proc/driver/mmcsd/00/raw

thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152161\"][{POST_SNAPBACK}][/a][/div]

Someone kindly gave me their hex card id.

I tried a binary patch on the picsel browser to change the file name it reads, and put a file there with the hex in it.

Unfortunately, patching the binary using "sed" caused it to run and crash, and the strace output looks completely different.

Hmmm. Is it possible to change the ID value of a card by writing to this file? Can I destroy an SD card doing so? I've not found much information about the file other than it seems to be an indicator of vendor + card ID.
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

Antikx

  • Hero Member
  • *****
  • Posts: 1147
    • View Profile
    • http://tyrannozaurus.com
The Ultimate Zaurus Software: Picsel Browser
« Reply #32 on: January 25, 2007, 01:10:58 pm »
Quote
I even offered, Picsel, money for a copy and they just blew me off.  There is something wrong with a commercial software oufit that refuses to sell it's product to eager consumers.   
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152164\"][{POST_SNAPBACK}][/a][/div]
Sadly it does not seem to be uncommon these days. Quality service is being replaced with the promise of low prices... Don't get me started.  
But I digress.
Kanpai,
-Antikx (Twitter, Mugshot and PodNova)
C1000 - pdaXrom R198 (Celestial Environment)
tyrannozaurus.com
[img]http://www.tyrannozaurus.com/files/category_pictures/general_1.png\" border=\"0\" class=\"linked-sig-image\" /]
Zaurus news/blogs feed from Zaurus users
Free Windows, Linux, or Web RSS readers.
Featured pages at tyrannozaurus:
Sharp Petition, ScummVM, Cacko, pdaXii13, and Celestial Environment

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
The Ultimate Zaurus Software: Picsel Browser
« Reply #33 on: January 25, 2007, 01:51:38 pm »
Quote
Quote
I am stumbling towards the solution for unmarrying picsel browser from the sd card. If anyone would like to help, can they run this command when the picsel card is inserted, and private message me the result; I will keep the answers in confidence.

cat /proc/driver/mmcsd/00/raw

thanks!
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152161\"][{POST_SNAPBACK}][/a][/div]

Someone kindly gave me their hex card id.

I tried a binary patch on the picsel browser to change the file name it reads, and put a file there with the hex in it.

Unfortunately, patching the binary using "sed" caused it to run and crash, and the strace output looks completely different.

Hmmm. Is it possible to change the ID value of a card by writing to this file? Can I destroy an SD card doing so? I've not found much information about the file other than it seems to be an indicator of vendor + card ID.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152410\"][{POST_SNAPBACK}][/a][/div]

The safest way to test this would be to acquire a Panasonic Normal Speed SD card because all Picsel Browser for Zaurus copies shipped on these cards.  Your safest bet would be to use either a 256MB or 512MB one depending on whether your ID dump came originally from a 256MB or 512MB card.

Matsushita (Panasonic's parent) approached Picsel about bundling their program locked onto SD cards.  It was an experiment for the two to test the market for software locked to SD cards.  The Z was the first platform and others were to have followed (Palm, WinMob, Symbian, etc...) dependent of the market test results.  By the looks of things it appears the experiment failed.  
« Last Edit: January 25, 2007, 01:56:11 pm by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
The Ultimate Zaurus Software: Picsel Browser
« Reply #34 on: January 25, 2007, 01:54:00 pm »
Quote
Quote
I even offered, Picsel, money for a copy and they just blew me off.  There is something wrong with a commercial software oufit that refuses to sell it's product to eager consumers.  
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152164\"][{POST_SNAPBACK}][/a][/div]
Sadly it does not seem to be uncommon these days. Quality service is being replaced with the promise of low prices... Don't get me started.  
But I digress.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152419\"][{POST_SNAPBACK}][/a][/div]
Amen, brother.  Amen.  
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
The Ultimate Zaurus Software: Picsel Browser
« Reply #35 on: January 26, 2007, 08:35:29 am »
Some interesting developments.

Two people both with the 512MB version of picsel, the cards have different ID (if indeed /proc/driver/mmcsd/00/raw is the card ID (nothing else in the /proc/driver/mmcsd/00 directory looks especially interesting, and this file is read by pic-browser not long before it pops up the insert picsel card message).. the IDs are 60% the same though, the latter half varies.

You can't change the value in /proc/driver/mmcsd/00/raw, and since the Sharp's mmcsd driver is closed source I don't think there's a way to hack the module to allow you to spoof the value (or write to it even if it doesn't actually touch the card).

The binaries, as installed, both have the same md5sum, which I didn't expect.


--edit, fixed typos. seem to be making a lot recently
« Last Edit: January 26, 2007, 08:42:54 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
The Ultimate Zaurus Software: Picsel Browser
« Reply #36 on: January 26, 2007, 10:39:57 am »
Quote
Some interesting developments.

Two people both with the 512MB version of picsel, the cards have different ID (if indeed /proc/driver/mmcsd/00/raw is the card ID (nothing else in the /proc/driver/mmcsd/00 directory looks especially interesting, and this file is read by pic-browser not long before it pops up the insert picsel card message).. the IDs are 60% the same though, the latter half varies.

You can't change the value in /proc/driver/mmcsd/00/raw, and since the Sharp's mmcsd driver is closed source I don't think there's a way to hack the module to allow you to spoof the value (or write to it even if it doesn't actually touch the card).

The binaries, as installed, both have the same md5sum, which I didn't expect.


--edit, fixed typos. seem to be making a lot recently
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152533\"][{POST_SNAPBACK}][/a][/div]

That makes alot of sense that the binaries would have the same md5sum.  The updates would would need to be generic so that they could be distributed to the users.  

Panasonic was manufacturing the cards themselves so they would know what the card ids would be on the cards so, it sounds like they basically gave Picsel a list of reserved card ids that would be dedicated for the Picsel product.  Then Picsel would include a look up table of some sort at start up for the card ids in the browser.  Picsel would then issue a new update when a new batch of card ids were sent to them from Panasonic.  The production started on 256MB cards.  When that reserved stock ran out, the 512MB card edition was released and I believe at around the same time the last update was released.
« Last Edit: January 26, 2007, 10:42:07 am by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.

speculatrix

  • Administrator
  • Hero Member
  • *****
  • Posts: 3707
    • View Profile
The Ultimate Zaurus Software: Picsel Browser
« Reply #37 on: January 26, 2007, 11:57:46 am »
Quote
That makes alot of sense that the binaries would have the same md5sum.  The updates would would need to be generic so that they could be distributed to the users. 

Panasonic was manufacturing the cards themselves so they would know what the card ids would be on the cards so, it sounds like they basically gave Picsel a list of reserved card ids that would be dedicated for the Picsel product.  Then Picsel would include a look up table of some sort at start up for the card ids in the browser.  Picsel would then issue a new update when a new batch of card ids were sent to them from Panasonic.  The production started on 256MB cards.  When that reserved stock ran out, the 512MB card edition was released and I believe at around the same time the last update was released.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=152546\"][{POST_SNAPBACK}][/a][/div]

Well, it would be possible to have unique binaries too {edit - but unlikely, too much administrative burden}. There's a license file on each card, and I will get the md5 hash to compare against.

One owner has suggested that the sd card ID has to match the license file for picbrowser to work... thus copying the files is insufficient. Also, even doing a raw block copy of the whole card didn't work either (i.e. to copy over the dead space on the card) so that's probably not involved.

So, either a patched binary or spoofing the card ID is probably the only solution.
« Last Edit: January 26, 2007, 11:58:16 am by speculatrix »
Gemini 4G/Wi-Fi owner, formerly zaurus C3100 and 860 owner; also owner of an HTC Doubleshot, a Zaurus-like phone.

HoloVector

  • Hero Member
  • *****
  • Posts: 533
    • View Profile
    • http://
The Ultimate Zaurus Software: Picsel Browser
« Reply #38 on: January 26, 2007, 01:44:55 pm »
Quote
Well, it would be possible to have unique binaries too {edit - but unlikely, too much administrative burden}. There's a license file on each card, and I will get the md5 hash to compare against.

One owner has suggested that the sd card ID has to match the license file for picbrowser to work... thus copying the files is insufficient. Also, even doing a raw block copy of the whole card didn't work either (i.e. to copy over the dead space on the card) so that's probably not involved.

So, either a patched binary or spoofing the card ID is probably the only solution.
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
It would interesting to find out what are the contents of the license.pli file.  I always wondered if that file is watermarked in some way.  

At one point the SD organization was promoting digital watermarking of MP3 files through the [a href=\"http://www.sdmi.org/]SDMI[/url] (Secure Digital Music Initiative). The algorithym was cracked after a hack challenge was issued by the group.  It is possible that Panasonic could have locked Picsel to the SD using this technology with a few extra lessons learned to make sure it wasn't so easy to crack.

I agree patching the binary is the way to go since, that would give the owners of the cards the most flexibility to use the program as they see fit.
« Last Edit: January 26, 2007, 01:46:06 pm by HoloVector »
I think I'm coming down with what kahm's got!  I now have 3 Zaurii in house!  ;)
Current: Zaurus SL-C3200 -  Bobby (Configuring pdaXii13 Akita with Full 5.4.9 upgrade running IceWM)
Zaurus SL-C1000 - Hachiko (Configuring Cacko 1.23 with evilJazz's new kernel)
Zaurus SL-C860 - Fett (Customized Cacko 1.23 with handmade Boba Fett Theme)
Symbol WiFi CF card|Buffalo WiFi CF Card|Buffalo Ethernet CF Card|Red Piel Frama Case|PDAir Case|Black Pelican 1020 Case|Pentopia Stylii|SaruTek Protectors|Transcend SDs (4GB 150X, 1GB 80X, 256MB 45X, 128MB 45X)|2GB PNY SD|2GB SanDisk SD|Transcend CFs (1GB 80X, 512MB 80X)|Sandisk CFs (4GB, 512MB, 256MB)|256MB Netac USB-CF|RH-1 Remote
Check out the ScummVM@tyrannozaurus page if you are an "adventurer" type of person.