Skip to content

Instantly share code, notes, and snippets.

@thoaster
Last active April 7, 2024 16:22
Show Gist options
  • Star 35 You must be signed in to star a gist
  • Fork 13 You must be signed in to fork a gist
  • Save thoaster/2e7a29e522dc60be8bd673f79c5959b6 to your computer and use it in GitHub Desktop.
Save thoaster/2e7a29e522dc60be8bd673f79c5959b6 to your computer and use it in GitHub Desktop.
MAMP PRO 4 Trial Reset

MAMP PRO 4 Trial Reset

A simple script that resets latest MAMP PRO 4 trial validity, and keeps your data safe.

How to use

  • Copy the code into a file OR download the script and save it as reset_mamp4.sh
  • Open the Terminal app and write chmod +x then drag and drop the file on the Terminal. You should have something like chmod +x reset_mamp4.sh. Press Enter to run it.
  • Now, run the file itself by dragging and dropping it on the Terminal (something like reset_mamp4.sh) then pressing Enter.
  • Open MAMP PRO and check if you have 14 days left now.

Didn't work?

Try using superpowers and run it as root sudo reset_mamp4.sh.

Did it work?

Let me know, or improve it by yourself.

#!/bin/sh
# Reset MAMP PRO 4 Trial
# Let me know if it works
set +e
rm ~/Library/Preferences/de.appsolute.mamppro.plist
rm ~/Library/Application\ Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/de.appsolute.mamppro.sfl
rm -rf ~/Library/Caches/de.appsolute.mamppro
rm -rf ~/Library/Saved\ Application\ State/de.appsolute.mamppro.savedState
sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd
@thoaster
Copy link
Author

@User235478234, wondering how'd you get that magic string... 🤔 Nice one tho! 💯

@fouedmoussi
Copy link

Any updates for v 5.x?

@mendaparadarshit
Copy link

trial reset 5.x

1) Remove Trial Data from files:

rm -rf ~/Library/Preferences/$'.\xe2\x80\xa6\x45\xcc\x80\x7c\x56\x49\xcc\x80\x67\x53\xc2\xa0'
defaults write ~/Library/Preferences/de.appsolute.mamppro.plist regData -data 00

2) Remove other Folders and Files (not required)...

rm -rf ~/Library/Application\ Support/de.appsolute.mamppro
rm -rf ~/Library/Caches/de.appsolute.mamppro

3) Restart Services...

sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd

Thanks, Its worked for me v5.3

@ecr007
Copy link

ecr007 commented May 13, 2020

sudo launchctl remove de.appsolute.mampprohelper

@poconoguy17
Copy link

Anyone have an update for 6.1 ?

@learn2reid
Copy link

+1

@learn2reid
Copy link

trial reset 5.x

1) Remove Trial Data from files:

rm -rf ~/Library/Preferences/$'.\xe2\x80\xa6\x45\xcc\x80\x7c\x56\x49\xcc\x80\x67\x53\xc2\xa0'
defaults write ~/Library/Preferences/de.appsolute.mamppro.plist regData -data 00

2) Remove other Folders and Files (not required)...

rm -rf ~/Library/Application\ Support/de.appsolute.mamppro
rm -rf ~/Library/Caches/de.appsolute.mamppro

3) Restart Services...

sudo killall de.appsolute.mampprohelper
sudo killall cfprefsd

Thanks, Its worked for me v5.3

Thanks, it works for me v6.3

Exactly like this?

@evchibo
Copy link

evchibo commented Apr 20, 2021

I just cracked mamp pro 5.7.
If someone want to get this cracked version, donate me via btc.
bc1qlk7xfa40kesd0mpje8fqn55d4c6yrrehua28uu

Screen Shot 2021-01-20 at 3 41 54 AM

Man this is TNT version found all over the internet for free, why are you asking for btc, crack the latest version and I will be the first to send you huge BTC donation

@rferreira98
Copy link

6.6 not working

@antoineguilbert
Copy link

No working too :(

@frankazoid
Copy link

frankazoid commented Nov 9, 2023

Just reset demo for 6.8 - there was a lot of files. run "sudo find / | grep mamp" and delete all the files/folders that match. some of them were quite hidden. re-install mamp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment