Inital Setup
Well, we have to start somewhere right? Let's start with the basics
What do you need?
- A copy of the repository in a local directory:
git clone https://github.com/reviveMC74/reviveMC74.git
cd reviveMC74
- A USB-A <-> USB-A cable (Amazon)
- A Meraki MC74 Cloud Phone (A-duh, that's why you're here)
- A way to power the phone, either via PoE (Power over Ethernet) or 12v adapter
- A computer with Python3 installed, preferibly Python27 for compatability reasons
I Personally recommend installing Debian in a VM and passing the ADB interface through to it. I've found it easier to get the dependancies listed in the installer this way. The directions to get a VM with Debian running are outside the scope of this guide, but you can google it.
- The dependancies listed in the installer:
- UNPACKBOOTIMG/MKBOOTIMG/CPIO/CHMOD
- GZIP/GUNZIP
Extract
usr/local/wbin/gunzip.exe
andusr/local/wbin/gzip.exe
from that download and place in a PATH directory.
- A reasonable amount of experience with ADB (Android Debug Bridge)
Preparing the phone
After you've gathered the required components / software, you need to perform the following to get started:
These steps put the phone into fastboot, allowing you to flash a custom recovery.
- Remove the USB cable from the side of the MC74 (If you've already connected it previously.)
- Remove the ethernet/PoE cable from the LAN port on the back of the MC74
- Reconnect the USB cable to the right-side USB port of the MC74 (Not the back) and the other end to your PC
Before you move onto the next step, be prepared to do the following after continuing:
- Press and hold the mute button (before the backlight flashes)
- Keep pressing it until the Cisco / Meraki logo appears and the vibrator audibly sounds
- Apply power with your PoE ethernet cable to the LAN port (It looks like a LAN icon, not the PC icon port.)
- Release the mute button after step 3-B occurs.
If the phone boots like normal, you've done something wrong and must try again. Please return to step 1.
Option 1: Running the script
Now that the phone is ready, we can finally run the script!
BUT, hold your horses, we have a few ways of doing it depending on how you installed Python:
From inside the reviveMC74-main
directory, type:
- C:\python27\python.exe revive-Mc74.py
- Or python revive-Mc74.py
It should run as desired, and give a few more prompts. Just follow them as directed.
When finished, you should have a modded MC74!
Open the app drawer and tap wPhone
and configure as desired.
Don't worry if something breaks when running the script, not everyone's phone is built the same, so the script may fail in some places and succeed in others. The following options are for you!
Option 2: replaceRecovery Failure
Let's say the script failed after flashing recovery and now your phone is just sitting there in CWM, there's a way to manually do the rest of the work.
My first phone failed here, and I had to do a bunch of tinkering to the /system
partition to get it to allow access to ADB. Let's skip that and flash a pre-built image instead that I built from my phone:
- Download the following
.zip
file which is a backup of my/system
partition, preconfigured to allow ADB access upon boot, and already has the Meraki dialer pre-uninstalled. - From CWM, press
install zip from sideload
- In your ADB shell type
adb sideload {directory/to/downloaded/zip}
- After it pushes and restores, wipe
/data
and/cache
to prevent potential issues. - Reboot to system.
- When it boots, it may look like it's "bootlooping" but it should be operational, ensure the device has vibrated as that is an indicator of a successful boot.
- Then, run the script with the following arguments:
python revive-Mc74.py installApps
- That should install (and uninstall if I missed anything) the custom dialer, led controls, and button redirections.
- From there, just press and hold the mute button and it should prompt you to pick a home application, choose TeslaLauncher and be sure to hit
Always
. - And finally, from the app drawer run
wPhone
to get started on setting up your SIP softphone.
Again, don't worry if that doesn't work either, there's always an option 3.
Option 3: installApps Failure
So, you've got CWM flashed to recovery, you've flashed my custom /system
backup, or you've managed to get through the script up until this point, and now you're stuck:
This is how my second phone failed, and here's how I manually did the work:
- Ensure you have ADB access to the phone (It's booted, and sitting on the Cisco Meraki screen, or you're on the homescreen.)
- from the
/installFiles
subdirectory, run the following:adb install com.teslacoilsw.launcher-4.1.0-41000-minAPI16.apk
adb install -t revive.MC74-debug.apk
adb install revive.SSMService-debug.apk
adb root
This may result in a "hang" and do absolutely nothing. Don't worry, if this happens, press
ctrl-c
and then unplug the USB cable from the phone, and plug it back in. Then proceed as normal.adb remount
adb push hex /system/bin/hex
adb shell chmod 755 /system/bin/hex
adb push lights /system/bin/lights
adb shell chmod 755 /system/bin/hex
From there, you should be able to reboot the phone, and then run an application called wPhone
from the launcher drawer.