Aus Ordner eine Application machen

Roman78

Aktives Mitglied
Thread Starter
Dabei seit
02.10.2006
Beiträge
6.707
Reaktionspunkte
4.049
Ich bin gerade auf einem älteren Mini mit OSX 10.6.8 am herum spielen und wollte eine Anwendung starten. Leider ist die Anwendung nur noch ein Ordner mit Inhalt und keine Anwendung mehr. Wurde wohl mal auf irgendeinem nicht kompatiblem Filesystem kopiert. Wie bekomme ich diese nun wieder ausführbar?

Leider finde ich diese Anwendung auch nicht mehr im Internet....
 
Als .app benennen.
Und das Binary in Contents/MacOS im Terminal mit chmod a+x beglücken.

Eventuell musst du noch mit SetFile das Bundle Attribut setzen.
 
Soweit so gut, jetzt habe ich eine Datei mit einem Verbotsschild dadurch.
 
Was steht denn in der Info.plist?
Binary ist PPC oder Intel?
 
Müsste Intel sein. plist finde ich nicht, nut ein SH datei....
 
Da müsste eine Info.plist sein, die auf die .sh verweist.
Was steht denn in der .sh?
 
Ach was.... ist ein Shell Script und eine Application :faint:
 
Man kann im einer App auch ein sh zum Start der App nutzen.
 
Aha.. Also Script startet, aber läuft leider nicht durch. Ist ein Script um aus dem Mini 1.1 ein 2.1 zu machen.
 
ich hab mal grob drüber geschaut,

der Firmware Dump der da verpackt ist vom MM21 ist tatsächlich ein "lebender" dump eines Rechners mit Seriennummer, nvram Daten und CRC32 Fehler in Fsys. Hat wohl einer seinen 2.1 gedumped und die Seriennummer geändert ohne die Checksumme zu korrigieren.

Vermutlich egal, weil Fsys ausgetauscht wird beim Upgrade.

auf was will er raus?

Vermutlich funktioniert es, die Firmware manuell aufzubauen, ist ja ähnlich aufgebaut wie beim Mac Pro 4.1/5.1

Da ich @Roman78 es zutraue den Flash zu löten und zu programmieren könnte man das mit der Methode machen.

Ein Dump des jetzt- Zustands per Software wäre super, geht aber unter MacOs nicht weil die Flashrom Version die ich einsetze für einen Core2Duo kompiliert ist.
 
Ziemlich sicher sogar, wenigstens kann man beim Mini den Flash noch außerhalb flashen, weil das nicht so ein komisches Teil wie bei den MP1.1 bis 3.1 ist.

Man muss aber aufpassen, dass in dem Resources-Ordner die beiden Firmware-Dateien jeweils die falsche Modellbezeichnung haben, was wahrscheinlich nötig war, um den efiflasher zu täuschen.
 
yep, hier ist die Analyse des Firmware Files vom Dumper:

Code:
Mac-Pro-3:~ user$ test_nvram -a -shortserial /Users/user/Library/Mobile\ Documents/com\~apple\~CloudDocs/Firmware/Dumps\ \(not\ Mac\ Pro\ 3.1-5.1\)/MM21\ YM80/MM21.009A.B00_YM80_invalid_checksum.bin 
===================================================
test_nvram_shell_script 10-Dec-2023 by Macschrauber
scanning: /Users/user/Library/Mobile Documents/com~apple~CloudDocs/Firmware/Dumps (not Mac Pro 3.1-5.1)/MM21 YM80/MM21.009A.B00_YM80_invalid_checksum.bin
nvram.vol position: 0x1B0000, size: 0x30000, header size: 0x48
vss1_position: 001b0048: 2456 5353       $VSS
fsys_position: 001d8000: 4673 7973       Fsys
gaid_position: 001d8800: 4761 6964       Gaid
0x1b0048 first stream start position ok, stored in /tmp/VSS_Store1.bin, length: 0x0000ffb8
0x1d8000 Fsys start position ok, header: 040000 000008
0x1d8800 Gaid start position ok, header: 040000 000018
Firmware MM21.009A.B00
MM21, Serial from firmware: YM80
LBSN: J5847070U6K5A   BD: 081117081117
hwc: YL1
!!! CRC32 checksums: not ok !!!
CRC32: 5C255E59h, invalid, should be 75B89BE2h
in: 3 FFF12B8D-7696-4C8B-A985-2747075B4F50/4 Fsys store
Base_2 hardware descriptor
Fsys | Gaid headers: 040000 000008 | 040000 000018
fmm-computer-name: Mac Mini
MTC count (VSS1, normal): 94
BootOrder: 1:Boot0080
Boot0080: Mac OS X PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0x0,0x0)/HD(2,GPT,96E4AC3E-23BB-4148-89FD-F1D35DE26AC5,0x64028,0x9375938)
BootFFFF: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x2,0x0,0x0)/HD(3,GPT,040BDA28-4AA0-479B-9564-BFB1E336CC1A,0x93D9968,0x135F20)/\com.apple.recovery.boot\boot.efi
12 boots since last garbage collection, MTC counter: 82 - 94
12 (1 active) Memory Configs g (ok)
0 Microsoft certificates (ok)
3 (0 active) Boot PathProperties0000 (ok)
3 (1 active) NVRAM PathProperties0000 (ok)
2 (1 active) Boot00xx variables
0 (0 active) OCbt00xx variables
52500 bytes free space of 65464
VSS1 (Formatted) (Healthy), found 67 variables (33 valid, 34 deleted)
---------------------
all variables in VSS1:
1 (ACPI Variable):AcpiGlobalVariable (Normal)
1 (Alias Variable):copy (Normal)
1 (Alias Variable):cr (Normal)
1 (Alias Variable):del (Normal)
1 (Alias Variable):dir (Normal)
1 (Alias Variable):md (Normal)
1 (Alias Variable):rd (Normal)
1 (Apple Boot Variable):EFIBluetoothDelay (Normal)
1 (Apple Boot Variable):IOHibernateRTCVariables (Normal)
1 (Apple Boot Variable):SystemAudioVolume (Normal)
1 (Apple Boot Variable):boot-image (Normal)
1 (Apple Boot Variable):efi-boot-device (Normal)
1 (Apple Boot Variable):efi-boot-device-data (Normal)
1 (Apple Boot Variable):fmm-computer-name (Normal)
1 (Apple Boot Variable):platform-uuid (Normal)
1 (Apple Boot Variable):prev-lang:kbd (Normal)
1 (Apple NVRAM Variable):AAPL,PathProperties0000 (Normal)
1 (Apple NVRAM Variable):security-key (Normal)
1 (Apple Wireless Network Variable):current-network (Normal)
1 (Apple Wireless Network Variable):preferred-count (Normal)
1 (EFI Global):Boot0080 (Normal)
1 (EFI Global):BootFFFF (Normal)
1 (EFI Global):BootOrder (Normal)
1 (EFI Global):ConOut (Normal)
1 (EFI Global):ConOutDev (Normal)
1 (EFI Global):GFXVENDORSLOT0 (Normal)
1 (EFI Global):Lang (Normal)
1 (EFI Global):MemoryConfig (Normal)
1 (EFI Global):Timeout (Normal)
1 (MTC variable):MTC (Normal)
1 24a6edcb-ebb6-490b-a455-fc9e8fab5366:BluetoothUHEDevices (Normal)
1 4c19049f-4137-4dd3-9c10-8b97a83ffdfa:MemoryTypeInformation (Normal)
1 4dfbbaab-1392-4fde-abb8-c41cc5ad7d5d:Setup (Normal)
---------------------
1 (Apple Boot Variable):efi-boot-device-data (DELETED)
1 (Apple Wireless Network Variable):preferred-count (DELETED)
1 (Apple Wireless Network Variable):preferred-networks (DELETED)
1 (EFI Global):Boot0080 (DELETED)
1 (EFI Global):BootFFFF (DELETED)
1 (EFI Global):BootNext (DELETED)
2 (Apple NVRAM Variable):AAPL,PathProperties0000 (DELETED)
3 (Apple Boot Variable):AAPL,PathProperties0000 (DELETED)
11 (EFI Global):MemoryConfig (DELETED)
12 (MTC variable):MTC (DELETED)
-------------------------------------------------------------------
LBSN sector
-------------------------------------------------------------------
Type: Section
Subtype: Raw
Fixed: No
Base: 1FFEF0h
Header address: FFFFFEF0h
Data address: FFFFFEF4h
Offset: 570h
Type: 19h
Full size: 110h (272)
Header size: 4h (4)
Body size: 10Ch (268)
===================================================================
00000000: 1001 0019                                ....
-------------------------------------------------------------------
00000000: 0000 0000 0000 0000 0000 0000 ea00 2332  ..............#2
00000010: 1562 5a27 4a35 3834 3730 3730 5536 4b35  .bZ'J5847070U6K5
00000020: 4120 2020 2020 ffff ffff ffff ffff ffff  A     ..........
00000030: ffff ffff ffff ffff ffff ffff ffff ffff  ................
*
00000050: ffff ffff ffff ffff ffff ffff 3038 3131  ............0811
00000060: 3137 3038 3131 3137 0007 0fe1 0fff ffff  17081117........
00000070: ffff ffff ffff ffff ffff ffff 01ff ffff  ................
00000080: ffff ffff ffff ffff ffff ffff 0000 0000  ................
00000090: 0000 0000 0000 0000 0000 0000 0000 0000  ................
*
000000e0: 0000 0000 0000 0000 0000 0000 c402 feff  ................
000000f0: 0000 0000 0000 0000 0000 0000 0f09 e91b  ................
00000100: fc00 0000 0000 0000 0000 feff            ............
#2bZ'J5847070U6K5A     081117081117
===================================================================
MM21 MM21.009A.B00_YM80_invalid_checksum_781661fef1dd64dd5dea8e0ca5b2dc95.vol is already gathered
Mac-Pro-3:~ user$
 
Zurück
Oben Unten