2004 to 2020 Mazda 3 Forum and Mazdaspeed 3 Forums banner
5141 - 5160 of 6534 Posts

· Registered
Joined
·
407 Posts
Perhaps I wasn't clear - creating an SSH tunnel from Android phone does NOT require root. That's why I asked. It is a far more convenient solution than adb, especially for people (like myself) who use their usb jack for a wireless charging patch.

I was not implying that SSH is better than adb because adb requires root - I know it doesn't. It's just more convenient altogether.
I guess you will have to develop it yourself. The source is available in github. not sure if it is the latest.

https://github.com/JonesChi/CastScreen
 

· Registered
Joined
·
24 Posts
So, I deinstallieren everything and reinstalled castscreen usb version from early February. USB now working. What am I doing wrong with new WiFi version?
With new version of CastScreen receiver, you need to enter receiver ip '127.0.0.1' manually instead of server mode. Or if you want to using WiFi, you need to enter the WiFi ip of your car.
 

· Registered
Joined
·
216 Posts
Perhaps I wasn't clear - creating an SSH tunnel from Android phone does NOT require root. That's why I asked. It is a far more convenient solution than adb, especially for people (like myself) who use their usb jack for a wireless charging patch.

I was not implying that SSH is better than adb because adb requires root - I know it doesn't. It's just more convenient altogether.
Ok then yes you can use a ssh tunnel to do the same as adb. The last version of CS use reverse adb (port of the system is ported to the Android device) previous version was a forward. I don't know the exact ssh command and who will start the tunnel but I know that it possible. (Can help if you don't find by yourself on google)

Now stay the speed of usb vs wifi. That I'm not sure. My system have a poor wifi connection and I'm sure it will be too slow but I think some people success to have good wifi.

Note also that when you connect your phone and use adb using usb, your phone is charging too. I alway plug my phone in the car... That why I don't search hard to make good wifi connection.

Sent from my Nexus 6P using Tapatalk
 

· Registered
Joined
·
24 Posts

· Registered
Joined
·
81 Posts
Unbrick my CAR

I successfully unbrick my car !!!

I make some mistake in sm.conf and my system stuck at animated Mazda logo
My luck is:
a) I disabled the watchdog before. So the system is not in reboot loop
b) I not upgrade to 511/512 Firmware. Remaining on 56.230 I know the root password -- THIS IS IMPORTANT !!!

I try before:
- usb->ethernet not work -- I not got link on Ethernet
- usb uninstall not take effect

From external sources I got information about serial console of CMU (pic 1)

I buy a Arduino programmer USB TTL for 2Euro (pic 2)
Test it with a raspberry PI (PI3 have some problem with serial console ! google it).

I go to my favorite car stereo/alarm/GPS service and ask him to solder two wire to RX/TX of CMU (pic 3) + a third wire for ground
That 3 wire cable (RX/TX/GND) I want to be ended at fuse box (pic 4) to be closed in fuse box when not used
Connect it to arduino programmer (pic 5)
Optionally lengthen it with a USB cable and connect it to your laptop (pic 6)

Connect to USB/serial converter's COM port (COM12 for me) with your preferred terminal client software at 115200 8,N,1
I use SecureCRT because have integrated Zmodem transfer

If you press ENTER the system answer with "cmu login:"
You can log in with root / jci like in ssh

like in ssh you can use rz / sz linux commands to receive(send to cmu) or send from CMU multiple files via Zmodem protocol

After connecting to CMU using the serial console, "repairing" is easy.
In my case:
Code:
cd /jci/sm
sz sm.conf
MODIFY sm.conf on my computer with my preferred editor
Code:
mount -o rw,remount / 
rm sm.conf
rz
CHOOSE sm.conf on my computer (rz not overwrite existing files)
Code:
ls -la
chmod 755 sm.conf
ls -la
sync
reboot
 

Attachments

· Registered
Joined
·
157 Posts
I successfully unbrick my car !!!

I make some mistake in sm.conf and my system stuck at animated Mazda logo
My luck is:
a) I disabled the watchdog before. So the system is not in reboot loop
b) I not upgrade to 511/512 Firmware. Remaining on 56.230 I know the root password -- THIS IS IMPORTANT !!!

I try before:
- usb->ethernet not work -- I not got link on Ethernet
- usb uninstall not take effect

From external sources I got information about serial console of CMU (pic 1)

I buy a Arduino programmer USB TTL for 2Euro (pic 2)
Test it with a raspberry PI (PI3 have some problem with serial console ! google it).

I go to my favorite car stereo/alarm/GPS service and ask him to solder two wire to RX/TX of CMU (pic 3) + a third wire for ground
That 3 wire cable (RX/TX/GND) I want to be ended at fuse box (pic 4)
Connect it to andruino programer (pic 5)
Optionally lengthen it with a USB cable and connect it to your laptop (pic 6)

Connect to USB/serial converter's COM port (COM12 for me) with your preferred terminal client software at 115200 8,N,1
I use SecureCRT because have integrated Zmodem transfer

If you press ENTER the system answer with "cmu login:"
You can log in with root / jci like in ssh

like in ssh you can use rz / sz linux commands to receive(send to cmu) or send from CMU multiple files via Zmodem protocol

After connecting to CMU using the serial console, "repairing" is easy.
I my case:
Code:
cd /jci/sm
sz sm.conf
MODIFY sm.conf on my computer with my preffered editor
Code:
mount -o rw,remount / 
rm sm.conf
rz
CHOOSE sm.conf on my computer (rz not owerwrite existing files)
Code:
ls -la
chmod 755 sm.conf
ls -la
sync
reboot

Amazing!

Please the keeper of the index list this as a method to unbrick will be useful for a lot that had to buy a new cmu
 

· Registered
Joined
·
216 Posts
I successfully unbrick my car !!!

I make some mistake in sm.conf and my system stuck at animated Mazda logo
My luck is:
a) I disabled the watchdog before. So the system is not in reboot loop
b) I not upgrade to 511/512 Firmware. Remaining on 56.230 I know the root password -- THIS IS IMPORTANT !!!

I try before:
- usb->ethernet not work -- I not got link on Ethernet
- usb uninstall not take effect

From external sources I got information about serial console of CMU (pic 1)

I buy a Arduino programmer USB TTL for 2Euro (pic 2)
Test it with a raspberry PI (PI3 have some problem with serial console ! google it).

I go to my favorite car stereo/alarm/GPS service and ask him to solder two wire to RX/TX of CMU (pic 3) + a third wire for ground
That 3 wire cable (RX/TX/GND) I want to be ended at fuse box (pic 4) to be closed in fuse box when not used
Connect it to arduino programmer (pic 5)
Optionally lengthen it with a USB cable and connect it to your laptop (pic 6)

Connect to USB/serial converter's COM port (COM12 for me) with your preferred terminal client software at 115200 8,N,1
I use SecureCRT because have integrated Zmodem transfer

If you press ENTER the system answer with "cmu login:"
You can log in with root / jci like in ssh

like in ssh you can use rz / sz linux commands to receive(send to cmu) or send from CMU multiple files via Zmodem protocol

After connecting to CMU using the serial console, "repairing" is easy.
I my case:
Code:
cd /jci/sm
sz sm.conf
MODIFY sm.conf on my computer with my preferred editor
Code:
mount -o rw,remount / 
rm sm.conf
rz
CHOOSE sm.conf on my computer (rz not overwrite existing files)
Code:
ls -la
chmod 755 sm.conf
ls -la
sync
reboot
That's one small step for man, one giant leap for mankind. ;)

Can't wait to brick mine lol

Sent from my Nexus 6P using Tapatalk
 

· Registered
Joined
·
81 Posts

Attachments

· Registered
Joined
·
15 Posts
You will now need SSH access over WIFI. Then you can rollback some original files with PC to the MZD. A German driver has the same issue some days before.
But I don't know which file(s) are the reason for the USB disabling. I know it is annoying. But without SHH and PC it is unsolvable.
Any idea which original files to rollback and where can i get the source .
Or maybe any command line to re-enable the USB. thanks
 

· Registered
Joined
·
891 Posts
Any idea which original files to rollback and where can i get the source .
Or maybe any command line to re-enable the USB. thanks
It must be only the /jci/lib/libmc_user.so

You can find the two original version for .100/.230/.753 and .511/.512 here:
choose\config_org_all\media-order-patching\jci\lib\libmc_user.so.230
and
choose\config_org_all\media-order-patching\jci\lib\libmc_user.so.511
 

· Registered
Joined
·
409 Posts
So there is no pinout for these RX/TX lines? Soldering the lines is a bit of a letdown, but better than paying $1,000~ or pinging Mazda with false warranty claims.
The signals are carried out the CMU blue connector. Find or buy off Ebay a CMU harness that includes the blue (2) connector and punch out a couple of connector sockets and put in 2S/2T and pick up ground somewhere.






 

· Registered
Joined
·
48 Posts
Just letting you guys know there is a new updated FACTORY FIRMWARE for ALL North America.

55_00_760A
And sorry I don't have a change-log yet.

See my post in All Firmware Versions thread here
 

· Registered
Joined
·
79 Posts
there are are ton of references to carplay as well as some folders, but i installed it and i'm not seeing visually much difference. hopefully the images are still in the same place or I'm going to have to update the infotainment colors again.
 

· Keeper of the Index
Joined
·
111 Posts
5141 - 5160 of 6534 Posts
Top