Chameleon > Spin-Off Projects

[Utility] Lizard: a little app for Chameleon (update 0.62)

(1/13) > >>

sonotone:
hi,

I've just released a Beta of a little cocoa application, designed to manage Chameleon.

You can edit com.apple.Boot.plist, smbios.plist and build a bootable ISO.

This is a beta, and this is my first cocoa project, so don't be surprise if it contain some bugs or need more options... i'm still learning and need some time (i'm not a dev).

It can't (and probably never) grab files from the "efi" partition.

However, you can specify a custom path for smbios.plist, or use the Apple's default location for com.apple.Boot.plist (seem's necessary for RAID).

The avanced Theme part is able to read some new informations
- You can add two keys in the theme.plist

--- Code: ---key>Author</key>
<string>Me</string>
<key>Version</key>
<string>1.0</string>
--- End code ---
- And add a thumb named "thumb.png" with other files.

If you're not familiar with Chameleon, the application is shipped with detailled help files.

Hope Lizard will makes your chameleon's experience better...

Credits:
Prasys for Smbios Help content
Distemperus for Boot Help content
Trauma, Kabyl, JrCs, BlackOsx for their advices and expertise.

Download (0.62 beta):
http://darwinx86.net/software/

Ugly sources: http://code.google.com/p/lizard-app/

Blackosx:
What a fantastic, slick application. Marvellous work :)
I will supply revised theme.plists to support this in my future themes.

Well done Sonotone :)

rzooff:
Great idea, looks also great, but it is not working like it should.
All issues are confirmed on other hacks...

Critical:
1. Unable to update or create smbios.plist (yes, I wrote down password ;) )
2. Application doesn't read (all?) data from existing com.apple.Boot.plist - device properies. So after edit & save, for ex. EFI String, disapears.

Cosmetic:
3. In smbios menu, I'd like to choose "DDR2" memory type rather then "19" etc.
4. Maybe it is possible to "move" password request funcion? I think it should appear just after pressing "save" button.

But, as I wrote above, the idea is great. And I'm really gratefull that you're doing this app. So I hope it will be fully funcional soon :)

sonotone:

--- Quote from: rzooff on October 08, 2009, 11:40:24 AM ---Great idea, looks also great, but it is not working like it should.
All issues are confirmed on other hacks...

Critical:
1. Unable to update or create smbios.plist (yes, I wrote down password ;) )
2. Application doesn't read (all?) data from existing com.apple.Boot.plist - device properies. So after edit & save, for ex. EFI String, disapears.

Cosmetic:
3. In smbios menu, I'd like to choose "DDR2" memory type rather then "19" etc.
4. Maybe it is possible to "move" password request funcion? I think it should appear just after pressing "save" button.

But, as I wrote above, the idea is great. And I'm really gratefull that you're doing this app. So I hope it will be fully funcional soon :)

--- End quote ---


Thanks for report.

1. smbios.plist permissions can only be overwritten in /Extra/smbios.plist (from pref window). If the Extra as no write permissions for your account, then you can't create a new smbios.plist inside.
the explanation is i've not implemented permissions elevations into the app. This is not a simple task for cocoa/objective-c, and the Apple's documentation is quite complex about that, and i need to manage security risk. (if someone can help with that...).
So, the best way at this moment is to allow read/write to /Extra and children's for you account with finder or terminal if you want to rebuild files. Chameleon doesn't care about that.

2. I can't reproduce you issue with dev-props. Make sure you don't have Chameleon graphics ou ethernet injections activated in same time, cause chameleon will ignore dev-props. So i've followed this rule, if dev-props are found, you can't add GraphicsEnabler or EthernetBuiltIn...etc
I've just made an update to warm about that at startup.
Non vaild entries are removed during saving, if i miss a valid one, let me know.

3. Yes, it's totally possible

4. This is connected to the first problem. Actually, i prefer users change file's permissions themself instead of Lizard, because i want they know what's happening. As soon i found the way to save with root privileges, i mean without modifying permissions, it will be like that.

rzooff:
I confirm - smbios.plist edition works after:

--- Code: ---sudo chmod -R 777 /Extra
--- End code ---

But issue 2 really exists. This is my orginal plist:

--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Graphics Mode</key>
<string>1920x1200x32</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Timeout</key>
<string>3</string>
<key>Instant Menu</key>
<string>Yes</string>
<key>USBBusFix</key>
<string>Yes</string>
<key>device-properties</key>
<string>6a02000001000000010000005e0200000d00000002010c00d041030a000000000101060000010101060000007fff04000e0000004e00560050004d0000002000000001000000000000000000000000000000000000000000000000000000220000005600520041004d002c0074006f00740061006c00730069007a006500000008000000000000201c0000006400650076006900630065005f00740079007000650000000f0000004e5644412c506172656e740e0000006e0061006d00650000000b000000646973706c617922000000400030002c006400650076006900630065005f00740079007000650000000b000000646973706c617922000000400031002c006400650076006900630065005f00740079007000650000000b000000646973706c6179100000006d006f00640065006c000000190000004e5649444941204765466f7263652038343030475320000000400031002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d616314000000400030002c006e0061006d0065000000120000004e5644412c446973706c61792d4114000000400031002c006e0061006d0065000000120000004e5644412c446973706c61792d4220000000400030002c0063006f006d00700061007400690062006c00650000000e0000004e5644412c4e564d6163100000004e00560043004100500000001800000004000000000003000400000000000007000000001e00000072006f006d002d007200650076006900730069006f006e0000002d0000004e5649444941204765466f72636520383430304753204f70656e474c20456e67696e65205b4546495d</string>
</dict>
</plist>
--- End code ---

When I open Lizarg all looks like this - in "current injection" there is my encoded string:




But after pressing "save" button, my plist become like this:

--- Code: ---<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Graphics Mode</key>
<string>1920x1200x32</string>
<key>Instant Menu</key>
<string>Yes</string>
<key>Kernel</key>
<string>mach_kernel</string>
<key>Kernel Flags</key>
<string></string>
<key>Timeout</key>
<string>3</string>
<key>USBBusFix</key>
<string>Yes</string>
</dict>
</plist>
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version