Skip to content

Commit

Permalink
🚁v2.8.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevelopment committed Apr 8, 2020
1 parent 8e05a44 commit 255fa84
Show file tree
Hide file tree
Showing 45 changed files with 140 additions and 107 deletions.
11 changes: 6 additions & 5 deletions app/assets/js/build-tweaks.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
|** MZD-AIO-TI **|
|** By: Trezdog44 - Trevor Martin **|
|** http://mazdatweaks.com **|
|** ©2019 Trevelopment **|
|** ©2020 Trevelopment **|
|** **|
|** build-tweaks.js - The main 'builder' component copys neccesary files to **|
|** a temporary folder for copying to a usb additionaly **|
|** gives the option to copy files directly to an available usb drive. **|
|** **|
|** ************************************************************************ **|
\* ************************************************************************** */
/* jshint esversion:6, -W033, -W117, -W097 */
/* jshint esversion:8, -W033, -W117, -W097 */
// First line of AIO log
var AIO_LOG = `# __MZD-AIO-TI__ ${app.getVersion()}| MZD All In One Tweaks Installer\n#### AIO COMPILATION LOG - ${Date()}\r\n___\n- *START!*\n`
var AIO_LOG_HTML = `<button class="w3-btn w3-hover-teal w3-display-bottomright w3-margin" onclick="saveAIOLogHTML()">Save Log (HTML)</button><div id="aio-comp-log" class="aio-comp-log"><h1><b>MZD-AIO-TI ${app.getVersion()}</b> | MZD All In One Tweaks Installer</h1><br><h4> AIO COMPILATION LOG - ${Date()}</h4><hr><div><ul><li><b><i>START!</i></b></li>`
Expand Down Expand Up @@ -801,7 +801,7 @@ function tweakVariables (user) {
case 8: themeColor = 'SmoothRed'; break
case 9: themeColor = 'SmoothAzure'; break
case 10: themeColor = 'SmoothViolet'; break
case 11: themeColor = 'CarOS'; break
case 11: themeColor = 'carOS'; break
case 12: themeColor = 'StormTroopers'; break
case 13: themeColor = 'Poker'; break
case 14: themeColor = 'Mazda'; break
Expand Down Expand Up @@ -1379,6 +1379,7 @@ function casdkAppOptions (apps, inst) {
casdkapps += `CASDK_SD=`
casdkapps += (apps.sdcard) ? `1\n` : `0\n`
if (inst) {
mkdirp.sync(`${tmpdir}/casdk/apps`)
addCASDKapp(apps.simpledashboard, 'simpledashboard')
addCASDKapp(apps.gpsspeed, 'gpsspeed')
addCASDKapp(apps.multidash, 'multidash')
Expand All @@ -1400,10 +1401,10 @@ function addCASDKapp (add, app) {
if (add) {
copydir(`${builddir}casdk/apps/app.${app}`, `${tmpdir}/casdk/apps/app.${app}`, (err) => {
if (err) {
aioLog(`File Copy Error: ${err}`, err.message)
aioLog(`File Copy Error: ${app}: ${err}`, err.message)
return
}
aioLog(`Files for CASDK copied successfully!`)
aioLog(`Files for ${app} copied successfully!`)
})
}
}
Expand Down
8 changes: 4 additions & 4 deletions app/assets/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** MZD-AIO-TI **
** By: Trezdog44 - Trevor Martin **
** http://mazdatweaks.com **
** ©2019 Trevelopment **
** ©2020 Trevelopment **
** **
** index.js - Helper javascript functions for the main view using electron **
** renderer process modules. **
Expand Down Expand Up @@ -51,7 +51,7 @@ var dataURL = ''
var aioURL = ''
process.env.ELECTRON_DISABLE_SECURITY_WARNINGS = true
var helpClick = false
var updateVer = 285
var updateVer = 286
// require('./lib/log')('MZD-AIO-LOG')
// var output = process.stdout
// var errorOutput = process.stderr
Expand All @@ -63,7 +63,7 @@ console.debug("speedcamfiles: "+hasSpeedCamFiles) */
// Manage unhandled exceptions as early as possible
process.on('uncaughtException', (e) => {
console.error(`Caught unhandled exception: ${e}`)
dialog.showErrorBox('Caught unhandled exception: ' + (e.message || 'Unknown error message'), 'You can report this error to [email protected]\nor open in issue in the repo https://github.com/Trevelopment/MZD-AIO')
dialog.showErrorBox('Caught unhandled exception: ' + (`${e}` || 'Unknown error message'), 'You can report this error to [email protected]\nor open in issue in the repo https://github.com/Trevelopment/MZD-AIO')
app.quit()
})
lang = persistantData.get('lang', 'english')
Expand Down Expand Up @@ -103,7 +103,7 @@ function saveMenuLock () {
}
/* Create Temporary Folder To Hold Images Before Compiling */
if (!fs.existsSync(varDir)) {
fs.mkdirSync(varDir)
mkdirp.sync(varDir)
}

function helpMessageFreeze (item) {
Expand Down
22 changes: 21 additions & 1 deletion app/changelog.htm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,27 @@ <h1 id="changelog">MZD-AIO-TI v2 CHANGELOG</h1>
}
</style>
<h1>AIO + CASDK</h1>
<h1>AIO</h1>
<h3>v2.8.5</h3>

<h4>Android Auto Headunit App v1.12</h4>

<ul><li>HUD Improvements</li><li>Wifi Mode: IP Address Detection for Android v9 Pie</li><li>Button Remaps: (Long Hold = Press for 3+ seconds, action on key up)<ul><li><em><strong>Exit AA</strong></em>: Long Hold <code>Call End</code> or <code>Back</code> (No longer single click Call End)</li><li><em><strong>Take Video Focus</strong></em>: Long Hold <code>Home</code> (If AA has controller focus and loses video focus for any reason)</li><li><em><strong>Release Audio Focus</strong></em>: Long Hold <code>Fav</code> (Single click Fav is now Play/Pause for AA audio only)</li></ul></li></ul>

<h4>Speedometer v6.1</h4>

<ul><li>Websocket rework (for faster update rates)</li><li>Digital clock font rework (numbers are fixed width like a real digital clock)<ul><li><img alt="Digital Clock Before" src="files/img/11-11.jpg"/> ==&gt; <img alt="Digital Clock After" src="files/img/11-11_fixed.jpg"/></li></ul></li></ul>

<h4>Autorun &amp; Recovery (&amp; Serial)</h4>

<ul><li>Updated for v70.00.335+ <strong>(Must perform DURING update or reinstall)</strong><ul><li>Make sure to make the serial connection <strong>BEFORE UPDATING TO v70.00.335</strong></li><li>If you have already updated to v70.00.335 <strong>you can reinstall the same version over it.</strong></li></ul></li><li>Added Serial Instructions Screen (From help drop-down menu and left side pop-out menu)</li><li>Autorun installer will use &quot;Skip Confirmation&quot; Option</li></ul>

<h4>For Unknow FW &gt; v70.00.352</h4>

<ul><li>Riskier tweaks will individually prompt to &quot;Install&quot; or &quot;Skip&quot; (At your own risk)<ul><li><em>No More Disclaimer</em></li><li><em>Order of Audio Source List</em></li><li><em>Date 2 Statusbar</em></li></ul></li><li>All other tweaks compatible with v70.00.335 will install but <em>check the forums for more compatibility info</em> &amp; <em><strong>use caution</strong></em></ul>

<h4>Improvements</h4>

<ul><li>🐛 Bug Fixes</li><li>☑️ Integrity Checks</li><li>🌐 Safety Nets</li></ul>
<h3>v2.8.4</h3>
<h4>Android Auto Headunit App v1.11</h4>
<ul><li>Tweaked Linux Stack TCP Buffers</li><li>More Stable HUD support (It is not perfect yet)<ul><li>Detects if HUD is present, if not available the feature is not used</li></ul></li><li><strong>Buttons Remapped:</strong><ul><li>Home: AA Home screen</li><li>Ent: AA Music screen</li><li>Nav: AA Navigation screen</li><li>Fav: Switch Audio Focus (MZD &lt;-&gt; AA)</li><li>Call End (Steering Wheel): Exit AA (when not in active call otherwise reject/end call)</li></ul></li></ul>
Expand Down
2 changes: 1 addition & 1 deletion app/controllers/home.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** MZD-AIO-TI **
** By: Trezdog44 - Trevor Martin **
** http://mazdatweaks.com **
** ©2019 Trevelopment **
** ©2020 Trevelopment **
** **
** home.js - The main AngularJS module & controller used to connect the main **
** process and in the build process. **
Expand Down
8 changes: 4 additions & 4 deletions app/files/tweaks/00_intro.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
# tweaks.sh - MZD-AIO-TI Version 2.8.5
# tweaks.sh - MZD-AIO-TI Version 2.8.6
# Special thanks to Siutsch for collecting all the tweaks and for the original AIO
# Big Thanks to Modfreakz, khantaena, Xep, ID7, Doog, Diginix, oz_paulb,
# Albuyeh, VIC_BAM85, lmagder, ameridan, anderml1955 & Tristan-cx5
Expand All @@ -11,10 +11,10 @@
hwclock --hctosys

# AIO Variables
AIO_VER=2.8.5
AIO_DATE=2020.02.02
AIO_VER=2.8.6
AIO_DATE=2020.04.04
# Android Auto Headunit App Version
AA_VER=1.12
AA_VER=1.13
# Video Player Version
VP_VER=3.7
# Speedometer Version
Expand Down
7 changes: 5 additions & 2 deletions app/files/tweaks/00_start.txt
Original file line number Diff line number Diff line change
Expand Up @@ -720,8 +720,11 @@ log_message "====================== resources ${USED_RESOURCES}% used ==========

if [ $USED -ge 80 ]
then
rm -f /tmp/mnt/data_persist/log/dumps/*.bz2
log_message "================== Over 80% Used Delete Dump Files ====================="
find /tmp/mnt/data_persist/log/dumps/ -name '*.bz2' | xargs rm -f
DATA_PERSIST=$(df -h | (grep 'data_persist' || echo 0) | awk '{ print $5 " " $1 }')
USED=$(echo $DATA_PERSIST | awk '{ print $1}' | cut -d'%' -f1 )
log_message "========================= Delete Dump Files ============================="
log_message "======================= data_persist ${USED}% used ==========================="
fi
if [ $APPS2RESOURCES -eq 1 ]
then
Expand Down
13 changes: 6 additions & 7 deletions app/files/tweaks/13_boot-i.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ LOOP_LOGO="/jci/resources/LoopLogo.ivf"
if [ -e /jci/resources/newLoopLogo.ivf ]
then
LOOP_LOGO="/jci/resources/newLoopLogo.ivf"
else
backup_org /jci/resources/TranLogo.ivf
backup_org /jci/resources/TranLogoEnd.ivf
fi
[ -e /jci/resources/TranLogo.ivf ] && backup_org /jci/resources/TranLogo.ivf
[ -e /jci/resources/TranLogoEnd.ivf ] && backup_org /jci/resources/TranLogoEnd.ivf
backup_org "$LOOP_LOGO"
# backup_org /jci/resources/ExitLogo.ivf
# Disable Boot Animation
Expand Down Expand Up @@ -47,10 +46,8 @@ then
else
log_message "=== LoopLogo.ivf was not changed ==="
fi
if [ -e /jci/resources/newLoopLogo.ivf ]
if [ -e /jci/resources/TranLogo.ivf ]
then
log_message "=== Found newLoopLogo.ivf, other boot animations will be skipped ==="
else
if [ $BOOTLOGO2 -eq 0 ]
then
cp -a "${MYDIR}/config/bootanimation/jci/resources/LoopLogo.ivf" /jci/resources/TranLogo.ivf
Expand Down Expand Up @@ -90,7 +87,9 @@ else
else
log_message "=== TranLogo.ivf was not changed ==="
fi

fi
if [ -e /jci/resources/TranLogoEnd.ivf ]
then
if [ $BOOTLOGO3 -eq 0 ]
then
cp -a "${MYDIR}/config/bootanimation/jci/resources/LoopLogo.ivf" /jci/resources/TranLogoEnd.ivf
Expand Down
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -226,13 +226,13 @@
transform: translate(-50%, -50%);
position: fixed;
color: white;
font-size: 35px;
font-size: 30px;
text-align: center;
white-space: nowrap;
visibility: visible;
opacity: 1;
left: 560px;
bottom: 140px;
bottom: 130px;
transition: .6s ease-in-out .3s;
}
#speedBarContainer #vehdataMainDiv [class*="vehDataMain"].pos0 span.idlePercent {
Expand Down
4 changes: 2 additions & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
|** MZD-AIO-TI **|
|** By: Trezdog44 - Trevor Martin **|
|** https://mazdatweaks.com **|
|** ©2019 Trevelopment **|
|** ©2020 Trevelopment **|
|** **|
|** An Installer And Uninstaller for 50+ 'Tweaks' For the **|
|** Mazda MZD Infotainment System. **|
Expand Down Expand Up @@ -89,7 +89,7 @@
<a class="download" onclick="externalLink('nots');"><i class="icon-stop_screen_share"></i> Disable Touchscreen All The Time</a>
<a class="download" onclick="externalLink('unwifi');"><i class="icon-portable_wifi_off"></i> Uninstall WiFi AP</a>
<a class="download" onclick="externalLink('cmu-autorun');"><i class="icon-directions_run"></i> CMU-Autorun Repository</a>
<a class="doenload" onclick="checkForUpdate()" id="check4updates"><i class="icon-cloud-check"></i> Check For Update</a>
<a class="download" onclick="checkForUpdate()" id="check4updates"><i class="icon-cloud-check"></i> Check For Update</a>
<a class="dev-menu-item" onclick="openDlFolder();"><i class="icon-download"></i> View Downloaded Files</a>
</div>
</li>
Expand Down
2 changes: 1 addition & 1 deletion app/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
** MZD-AIO-TI **
** By: Trezdog44 - Trevor Martin **
** http://mazdatweaks.com **
** ©2019 Trevelopment **
** ©2020 Trevelopment **
** **
** main.js - The main process to run in electron. **
** **
Expand Down
2 changes: 1 addition & 1 deletion app/opts/10options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Pause on Mute Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/11options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For USB Audio MOD
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/13options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Boot Animation Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/14options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Bigger Album Art Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/15options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Remove Background Overlays Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/16options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Blank Album Art
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/17options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For The VideoPlayer App
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/18options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Swapfile (Just Warning Message)
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/19options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Speedometer Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/1options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Touchscreen Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/20options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Statusbar Tweak
- Custom Options For Date_To_Statusbar_Mod Tweak
Expand Down
2 changes: 1 addition & 1 deletion app/opts/22options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Fuel Consumption Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/23options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Speedcam Patch Tweak
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/24options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Castscreen Reciever Tweak
-
Expand Down
4 changes: 2 additions & 2 deletions app/opts/25options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For Android Auto Tweak
-
-->
<div class="w3-hover-pale-blue w3-row w3-col">
<!--ng-hide="user.aaBetaVer"-->
<div class="aa-side w3-col w3-third" style="font-size:15px;padding:10px;">
<span class="icon-android"></span><strong style="padding-left:10px">AA v1.12</strong>
<span class="icon-android"></span><strong style="padding-left:10px">AA v1.13</strong>
</div>
<div class="aa-side w3-col w3-third" style="font-size:15px;">
<input class="w3-check" id="aaWifi" type="checkbox" name="aaWifi" ng-model="user.aaWifi" ng-value="user.aaWifi">
Expand Down
2 changes: 1 addition & 1 deletion app/opts/26options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For USB Audio MOD
-
Expand Down
2 changes: 1 addition & 1 deletion app/opts/27options.htm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
- MZD-AIO-TI
- By: Trezdog44 - Trevor Martin
- http://mazdatweaks.com
- ©2019 Trevelopment
- ©2020 Trevelopment
-
- Custom Options For AIO Tweaks App
-
Expand Down
Loading

0 comments on commit 255fa84

Please sign in to comment.