Jump to content
cosmo1t

FileNVRAM 1.1.3 Released

80 posts in this topic

Recommended Posts

xZenue is proud to present

FileNVRAM.dylib

https://public.xzenue.com/downloads/

version 1.1.3

FileNVRAM Release Notes

 

========= Version 1.1.3 =======

* Fixed an potential issue where boot-args could get mangled.

* Fixed an issue where certain legacy variables were saved incorrectly.

* Fixed an issue where certain nvram variables not write to the file immediately.

 

========= Version 1.1.2 =======

* Fixed a regression in 1.1.1 causing sleep to break.

 

========= Version 1.1.1 =======

* Fixed an issue where non-root users could delete variables

* Fixed a potential issue with sleep

* Fixed a potential issue with 10.8.3

* Fixed an issue where boot-args remain after deleted on the command line.

* Update ROM generation to generate a random value.

 

===================

FileNVRAM.dylib

===================

 

FileNVRAM copyright xZeneu LLC.

FileNVRAM is licensed under the Attribution-NonCommercial 3.0 Unported license.

Please see the license file for details

 

 

===================

Bugs

===================

 

Please report any bugs at https://public.xzenue.com/bugzilla/

 

 

===================

Requirements

===================

 

- Chameleon r2181 or newer

 

===================

Usage

===================

 

- Install the FileNVRAM.dylib to /Extra/modules/

- Reboot

 

Use the nvram command to manipulate variables

Share this post


Link to post
Share on other sites
Advertisement

For anyone with a stuck boot-flag, you can do this;

sudo nvram -d boot-args

 

Or, while at the Chameleon GUI press the TAB key. Then remove any undesired boot args or flags from the command line and press enter to boot normally.

Click here for more information.

 

Also see here (thanks nyolc8).

Share this post


Link to post
Share on other sites

Just adding to what Gringo Vermelho said: or just start typing something at the boot menu, then the stored boot flags will appear and you can just delete them with the backspace key, finally typing the ones you want to use (or none at all, but in this case you'll need to do it every boot). I just learned it's fixed. :)

Share this post


Link to post
Share on other sites

With this version, my autogenerated ROM value is became this: "i%1b(%e0%96%00"

This is nothing related to my MAC address, none of the characters are in my MAC address, and what the hell is that "(" in it? :worried_anim:

 

Bug in the auto ROM value generator?

Share this post


Link to post
Share on other sites

With this version, my autogenerated ROM value is became this: "i%1b(%e0%96%00"

This is nothing related to my MAC address, none of the characters are in my MAC address, and what the hell is that "(" in it? :worried_anim:

 

Bug in the auto ROM value generator?

 

The autogenerated rom has never been your mac address. IT's randomnly generated. If this is causing things to not work for you please file a bug @ the link in post #1

Share this post


Link to post
Share on other sites

It's a random number. If it happens to be equivalent to an ascii printable character, it'll print out as that char (such as the '('). If not it'll print out as hex (%NN)

 

The value is the the same either way, it's just how nvram is printing it for human readability.

Share this post


Link to post
Share on other sites

The value is the the same either way, it's just how nvram is printing it for human readability.

 

Hi, meklort!

 

If it's that way for the sake of aesthetics (because it's not readable either way in the end), i really think printing as a hex string is a better choice.

 

Best regards!

Share this post


Link to post
Share on other sites

Hi, meklort!

 

If it's that way for the sake of aesthetics (because it's not readable either way in the end), i really think printing as a hex string is a better choice.

 

Best regards!

 

Tell apple that, they are the ones who wrote the nvram program

Share this post


Link to post
Share on other sites

Sorry, but i am a bit a "noob" for that nvram usage ;)

 

If i use nvram -p command - without that module installed - to show variables i get :

 

GA_EP35:~ andreasm$ nvram -p

SystemAudioVolume 0

fmm-computer-name GA_EP35

 

If i would use / install that nvram module (with chameleon 2181+) what new variables would exist / what would be changed / what things may work better?

Or, if no new nvram variables are automaticly created by the module, which variables maybe usefull to create + use?

Share this post


Link to post
Share on other sites

A little feedback:

 

Something is wrong. My Wifi no longer connects to a wifi network when it hits the desktop (it connects a few seconds after hitting the desktop). Not only this I have to wait between 45 seconds to a minute for my bluetooth dongle to work when I hit the desktop.

Share this post


Link to post
Share on other sites

A little feedback:

 

Something is wrong. My Wifi no longer connects to a wifi network when it hits the desktop (it connects a few seconds after hitting the desktop). Not only this I have to wait between 45 seconds to a minute for my bluetooth dongle to work when I hit the desktop.

if you have a bug to file please file it @ the link in post #1.

 

Try dleeting al the nvram variables that are related to wifi/bluetooth.

 

or boot -s, and dleete the nvram.{censored}.plist and reboot

Share this post


Link to post
Share on other sites

if you have a bug to file please file it @ the link in post #1.

 

Try dleeting al the nvram variables that are related to wifi/bluetooth.

 

or boot -s, and dleete the nvram.{censored}.plist and reboot

 

Disregard my bluetooth and wifi woes.

 

It was a hardware problem that has been taken care of

Share this post


Link to post
Share on other sites

Sorry, but i am a bit a "noob" for that nvram usage ;)

 

If i would use / install that nvram module (with chameleon 2181+) what new variables would exist / what would be changed / what things may work better?

Or, if no new nvram variables are automaticly created by the module, which variables maybe usefull to create + use?

 

Here's how I understand that (If I'm wrong please correct me):

OS X saves some settings in NVRAM (Non-Volatile RAM). PC doesn't have that. So every boot these settings are restored to default values. This module writes and restores them from a file created in /Extra directory. So for example, after reboot it will remember your volume settings, brightness value (on a laptop), etc. It can fix iMessage issues, probably also Find My Mac.

Share this post


Link to post
Share on other sites

Any chance the module will ever be able to detect when the boot-args stored in the plist differ from those in org.chameleon.boot.plist and give precedence to the boot.plist?

Share this post


Link to post
Share on other sites

The boot-args are in addition to whatever is in the plist. If you don't want one, just set it using nvram boot-args="-v other flags" or delete it with nvram -d boot-args. Alternatively you can update the boot args in chameleon by updating the command line.

Share this post


Link to post
Share on other sites
The boot-args are in addition to whatever is in the plist. If you don't want one, just set it using nvram boot-args="-v other flags" or delete it with nvram -d boot-args. Alternatively you can update the boot args in chameleon by updating the command line.

 

I get what you're saying but most people are used to updating boot args by editing org.chameleon.boot.plist. This module changes that process and it would be good if the module obeyed what has always been the way to set boot parameters instead of forcing users to learn a new way.

 

If its technically not possible based on the chameleon module architecture then that's one thing but if possible, it would be good to have the option. You could always open source the module and let other developers add that capability ;-)

 

Share this post


Link to post
Share on other sites

We do plan on eventualy releasing source for the module, however those plans are not for the immediate future.

 

In any case, enough information is distributed with the module to modify and extend it's behavior. We include the FileNVRAM.h header in the distribution to allow for any developer to create a module that extends this one. Three API function are defined, get, set, and delete NVRAM variable. Using these functions you can do things such as check if the machine has been locked by FMM, check the default partition that was set by the Startup Disk utility in os x, or anything else that you can think of.

 

In the case of boot-args, the FileNVRAM module registers for a notification to the BootOptions hook. If you wish boot-args to not be set (or to be set to a specific value), you can pose as the original caller of that hook and inject your own data.

Share this post


Link to post
Share on other sites

hello

 

off topic

 

@cosmo1t and @meklort

 

are the chameleon boot loader project dead ?

 

chameleon is a significant tool for hacking mac os x..

 

thanks

Share this post


Link to post
Share on other sites

i got this plist in the extra folder nvram.ffffffff-ffff-ffff-ffff-001xxxxxxx.plist. what does these ffff meaning?

Edited by nai22

Share this post


Link to post
Share on other sites

are the chameleon boot loader project dead ?

cosmo1t and I do not have much time to work on chameleon and took ourselves off of the project. There are still users with commit access who can develop it as needed, however commit activity is very low.

 

 

i got this plist in the extra folder nvram.ffffffff-ffff-ffff-ffff-001xxxxxxx.plist. what does these ffff meaning?

The UUID was read directly out of the machine's SMBIOS, it's whatever your computer's manufacturer set it to be.

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By JRevenge
      Buon pomeriggio!
      Sto avendo problemi di NVRam con qualsiasi combinazione possibile, ho provato AptioMemoryFix + Emuvariable + RC-Script, ho provato con solo Aptio, insomma le ho provate tutte, ma riscontro dei problemi cno la NVRam non da poco.
       
      In poche parole, se imposto uno sfondo, al riavvio o banalmente ad uno spegnimento serale per poi una accensione al giorno successivo, mi ritrovo con lo sfondo vecchio, mi capita di trovarmi col terminale con i vecchi comandi registrati o banalmente qualche cartella aperta. Mi sapreste aiutare?
       
      Vi lascio la mia EFI in descrizione.
      Grazie mille!
      CLOVER.zip
    • By Cyberdevs
      This is a tool for cleaning the NVRAM and Kext Caches and rebuilding the PrelinkedKernel.
      Please do not post/upload or redistribute this app to other sites or forums.
    • By ErmaC
      Enoch
      Latest revision of my Chameleon bootloader branch.
       
      Not able to boot AFPS yet....
       
      Please don't upload it on other servers and don't repack it, thank you.
      - Installer PKG
      - Binaries format (Manual install)
      Please don't upload it on other servers and don't repack it, thank you.
       
      Chameleon bootloader credits goes to Chameleon Team http://forum.voodooprojects.org
       
      Changelog: http://forge.voodoop...e/changes/HEAD/
       
      This revision of Enoch contain the upcoming FileNVRAM revision 1.1.5 (RC8)
      Credits to Micky1979
       
       
      Language Translation:

      For on-line Chameleon language package resource edit
      >> Pootle
       
       
      Pls translate/complete it.
       
      Link here on InsanelyMac (Italian only): Enoch Bootloader
       
      Enjoy
       
      ErmaC
    • By blackosx
      Do you want to quickly find your boot log, or ever wanted to know which version of bootloader is installed on your disk(s), had the need to dump your BIOS from OS X, just curious about your own system setup or been asked to provide your setup information to others when asking for assistance?
       
      DarwinDumper is a useful collection of readily available tools, and scripts wrapped in an application framework giving you a convenient method to quickly gather a system overview of your hack or Mac. And rest assured that enabling the privacy option will mask sensitive data like the IOPlatformSerialNumber, IOPlatformUUID, IOMACAddress(s), USB Serial Number(s), SystemSerialNumber, serial-number, fmm-mobileme-token-FMM, MLB and ROM efi vars and CustomUUID in the dumped files and report.
       
      Current Version: 3.0.4


      The system dumps are saved to a folder or your choice, but defaulting to the same directory as the main application. You can choose to setup a symlink to make it simple to run DarwinDumper from the Terminal.
       
      There is an option to create an html report showing a complete overview of the dumps. This report will mostly just contain the text dumps as you'll find in the main dump directory, but for some dumps there is extra processing to try to present the information in a better way. For example, the Disk Partitions and Unique ID's dump will show a visual map of the disk layout, and the DMI Tables (SMBIOS) dump will show the data split by table type.
       

       
      Note: The html report does not contain all files from a complete dump so if seeking assistance for a problem and you wish to send someone a DarwinDump then you will want to send the complete dump directory and not just the .html report file.
       
      The following can be read and dumped by DarwinDumper:
      - ACPI tables.
      - Audio codec and further info.
      - Boot loaders and configuration files.
      - CPU info.
      - Device-properties.
      - Disk partition structure / info.
      - Disk sectors (hex).
      - DMI (SMBIOS).
      - EDID.
      - I/O Kit Registry.
      - EFI Memory Map.
      - EFI vars (some).
      - Kernel information
      - Kexts - (list of currently loaded kexts).
      - Memory.
      - NVRAM (both Apple specific and UEFI firmware variables).
      - SMC Keys.
      - LSPCI (PCI vendor & device codes) dumps.
      - Power (Sleep/Hibernate) settings.
      - RTC.
      - System Profiler.
      - System BIOS.
      - System Log(s).
      - Video BIOS.
       
      License:
      DarwinDumper is licensed under GNU General Public License, version 3.0 (GPLv3).
       
      Tools included:
      AnalyseVBIOS
      Copyright: Not Known. License: Not known Source: http://www.insanelymac.com/forum/topic/211294-information-on-vesa-modes-in-atinvidia-bios/   AppleIntelInfo Copyright: © 2012-2017 Pike R. Alpha. All rights reserved. License: Creative Commons Attribution-NonCommercial https://github.com/Piker-Alpha/AppleIntelInfo   atomdis Copyright: Michael Larabel @ Phoronix.com License: GPL Version 2 Source: http://www.phoronix.com/scan.php?page=article&item=amd_atombios_dumper   bgrep Copyright 2009 Felix Domke <tmbinc@elitedvb.net>. All rights reserved.   Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:      1. Redistributions of source code must retain the above copyright notice, this list of       conditions and the following disclaimer.      2. Redistributions in binary form must reproduce the above copyright notice, this list       of conditions and the following disclaimer in the documentation and/or other materials       provided with the distribution.   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDER ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL <COPYRIGHT HOLDER> OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.   The views and conclusions contained in the software and documentation are those of the authors and should not be interpreted as representing official policies, either expressed or implied, of the copyright holder.   Source: https://github.com/tmbinc/bgrep   bdmesg Copyright 2010 by Islam M. Ahmed Zaid. All rights reserved. License: GPL Version 2 Source: http://forge.voodooprojects.org/p/chameleon/source/tree/HEAD/trunk/i386/util/bdmesg.c   cmosDumperForOsx Created by rafirafi, revised extensively by STLVNUB License: Information not available Source: http://www.projectosx.com/forum/index.php?showtopic=2432&st=0&p=21522&&do=findComment&comment=21522   csrstat Created by Piker-Alpha Copyright: © 2015-2017) by Pike R. Alpha License: Information not available Source: https://github.com/Piker-Alpha/csrstat   dmidecode http://www.nongnu.org/dmidecode/ License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2488   dumpACPI Created by blackosx. Idea taken from PHPdev32's MacIASL. Source: https://bitbucket.org/blackosx/dumpacpi   edid-decode Created by Adam Jackson, revised by Andy Vandijck License: Information not available Original Source: http://cgit.freedesktop.org/xorg/app/edid-decode Revised Source: http://bit.ly/1qAzqxb   fdisk440 Apple Computer, Inc. License: APSL v2.0 Source: http://forge.voodooprojects.org/p/chameleonApplications/source/tree/HEAD/trunk/fdisk.tproj   FirmwareMemoryMap script Amit Singh (showbootermemorymap) License: Information not available Source: http://www.projectosx.com/forum/index.php?showtopic=2447&st=120&p=19329&&do=findComment&comment=19329   flashrom http://flashrom.org/Flashrom License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2485&view=findpost&p=40285   getcodecid Copyright © 2012 AnV Software. All rights reserved. License: Information not available Source: http://www.insanelymac.com/forum/topic/285277-getcodecid-command-line-tool-to-detect-codec-id/   getdump Created by fassl?, modifications by Slice and AutumnRain? License: Information not available Source: https://svn.code.sf.net/p/voodoohda/code/tranc/getdump.c   gfxutil Copyright 2008 mcmatrix. All rights reserved. License: Information not available http://forum.netkas.org/index.php?PHPSESSID=q2isd338ihjjpcgbng7tne08pdv7tr4f&topic=64.0 Source: https://dl.dropbox.com/u/222155/gfxutil_source.zip   iasl Copyright © 2000 – 2014 Intel Corporation. License: Information not available Source: https://github.com/acpica/acpica   ioregwv Apple Computer, Inc. License: APSL v2.0 Source: https://bitbucket.org/blackosx/ioregwv   lzma Copyright © 2013 Igor Pavlov. License: GNU Lesser General Public License Source: http://www.7-zip.org/sdk.html   lzvn Copyright: © 2014 Apple Computer, Inc. All rights reserved. License: APSL Credit: Piker-Alpha, Andy Vandijck, MinusZwei. https://github.com/Piker-Alpha/LZVN   MacGap2 Created by Tim Debo. All rights reserved. License: MIT Source: https://github.com/MacGapProject/MacGap2   nvram Apple Computer, Inc. License: APSL v2.0 Source: https://bitbucket.org/blackosx/nvram   oclinfo Copyright © 2009 cmf License: GPL Version 2 Source: http://www.insanelymac.com/forum/topic/170796-opencl-info/   pciutils driver (DirectHW.kext) DirectHW is Copyright © 2008-2010 coresystems GmbH License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2480   pciutils lspci Copyright © 1997--2008 Martin Mares License: GPL Version 2 Source Code: https://kernel.googlesource.com/pub/scm/utils/pciutils/pciutils.git/+/master   Macpmem driver (Macpmem.kext) Copyright © 2007-2011 Volatile Systems. Copyright 2013-2014 Google Inc. All Rights Reserved. License: GPL Version 2 Source Code: https://github.com/google/rekall/tree/master/tools/osx/MacPmem]https://github.com/google/rekall/tree/master/tools/osx/MacPmem   RadeonDump Created by Dong Luo. Copyright 2008. All rights reserved. Modified by Andy Vandijck License: Information not available Source: http://www.insanelymac.com/forum/topic/282794-darwindumper/page__st__120?do=findComment&comment=1920068   radeon_bios_decode Created by Dong Luo. Copyright 2008. All rights reserved. License: Information not available Source: http://www.insanelymac.com/forum/topic/282794-darwindumper/page__st__120?do=findComment&comment=1920068   smbios-reader http://www.nongnu.org/dmidecode/ License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?showtopic=2208   SMC_util3 Copyright © 2006 devnull  License: GPL Version 2 Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2447&view=findpost&p=23230   VoodooHDA.kext Created by fassl?, modifications by Slice and AutumnRain? License: https://sourceforge.net/p/voodoohda/code/HEAD/tree/tranc/License.h]https://sourceforge.net/p/voodoohda/code/HEAD/tree/tranc/License.h Source: https://sourceforge.net/p/voodoohda/code/HEAD/tree/]https://sourceforge.net/p/voodoohda/code/HEAD/tree/   x86info Written to succeed CPUID by Phil Karn (KA9Q). Contributed to by various people. OS X compatability by Slice License: GPL Version 2 Original Source: https://github.com/kernelslacker/x86info Revised Source: http://www.projectosx.com/forum/index.php?s=&showtopic=2447&view=findpost&p=41134  
       
      Running DarwinDumper from the command line:
      From Terminal, you can initiate DarwinDumper by running the following script directly.


      /DarwinDumper.app/Contents/Resources/public/bash/script.sh To help with this, the UI has a Symlink option which you can click to create a symbolic link which points to the above script. DarwinDumper can then be subsequently run from the command-line by loading a new Terminal window and typing darwindumper followed by return.

      Credits (in alphabetical order):
      Adam Jackson, Amit Singh, Andy Vandijck, Apple Inc., arsradu, bcc9, blackosx, cmf, DieBuche, dmazar, Dong Luo, droplets, ErmaC, Felix Domke, Google Inc., Intel Corporation, InsanelyDeepak, JrCs, Kabyl, Kynnder, Martin Mareš, mcmatrix, Michael Larabel, Mickey1979, phcoder, Phil Karn, Piker-Alpha, rafirafi, гык-sse2, Slice ,sonotone, STLVNUB, THe KiNG, Trauma, Volatile Systems, xsmile, !Xabbu.
       
      DarwinDumper was originally inspired as an open project by Trauma, it has remained an open project and please keep it an open project, so if you make any changes or additions to it then please share your work here.
       
      Please report any feedback, requests or bugs.
       
      Please note:
      DarwinDumper v3 requires OS X 10.9 and newer to run in the Finder, though it should work from the command line okay on older OS versions.

      The following link retains the download for v2.9.9.2 for older OS versions.

      DarwinDumper Download
    • By ErmaC
      Latest revision of Chameleon bootloader.
       
      High Sierra(10.13.x), Sierra(10.12.x) and El Capitan(10.11.x) boot supported.
      Yosemite boot support starting from Chameleon revision 2381 (June 2014)
       
      Please don't upload it on other servers and don't repack it, thank you.
      - Installer PKG
      - Binaries format (Manual install)
      Please don't upload it on other servers and don't repack it, thank you.
       
      Credits to Chameleon Team http://forum.voodooprojects.org
       
      Changelog: http://forge.voodoop...e/changes/HEAD/
       
      Language Translation:

      For on-line Chameleon language package resource edit
      >> Pootle
       
       
      Pls translate/complete it.
       
      Link here on InsanelyMac: Chameleon 2.4svn Official PKG Installer
       
      Enjoy
       
      ErmaC
×