Thank me later... (engineering menu)

Mine has been tested with a dozen of my known codes over this year and matched them all.
The other one unfortunately didn’t.
Would it work embedded in html then loaded as a manual?
Unlikely but could you call up the serial from the device as well so it just outputs the password on screen?
 
Last edited:
Would it work embedded in html then loaded as a manual?
Unlikely but could you call up the serial from the device as well so it just outputs the password on screen?

To be honest, it was after midnight when I got that working and tested with my limited Java abilities, so I was just happy to have some working code!

I'll see if i can tidy something up, but to be honest, the main use for this is to turn on ADB. So you have to have a bit of technical knowledge to be going in there anyway.

BTW, I tested it this morning with today's code for my car and it worked perfectly. Straight into the factory menu.
 
Once you've achieved that, what can you actually do with it? Me, I'd like to stop the automatic central locking activating at 10 mph.
To be honest, for most people at the moment it doesn't help much.
It unlocks the a couple of extra options such as turning on ADB (Android Debugging from a PC)

That's probably the big one, since now a developer can connect their PC to their car and access Android in the same way as a phone.

It does also enable the option to turn off version checks, which is a plus for people who want to downgrade their software.
 
Yes, SHA256 is not needed.

I updated the code and also added:
if (serialNumber.length === 15) {
serialNumber += "0"; //Add 0 if lenght is 15
}

Now it should work as intended:
The serial number is not the VIN ... as I said earlier, my VIN is 17 characters. You may wish to update the text on your generator. :)
 
The serial number is not the VIN ... as I said earlier, my VIN is 17 characters. You may wish to update the text on your generator. :)
Ok updated. I passively converted the logic from Java to Javascript, but I didn't follow the discussion precisely. I also added info box.

Updated code at same url
 
Last edited:
Once you've achieved that, what can you actually do with it? Me, I'd like to stop the automatic central locking activating at 10 mph.
I always wondered why you wouldn’t want it to be automated: anyone can still open the door from the inside, it only prevents the door from being opened from the outside.
 
It's a phobia thing ... and if the Trophy has the option to disable it, why doesn't the SE? @Rolfe's position is that this is a bug in the SE.
 
I always wondered why you wouldn’t want it to be automated: anyone can still open the door from the inside, it only prevents the door from being opened from the outside.

The click when it activates drives me screaming bananas. And I'm sick of would-be passengers tugging at my doors until I realise why they can't get in.

Yes, I know it's supposed to fail safe and my reaction that I am locked in this car and I don't like it is not necessarily rational, but I should be able to choose whether it is activated or not. And there was a recent incident where this system would have caused the deaths of two young children if it hadn't been for a quick-thinking passing motorist who happened to have golf clubs in his car. That did not help, I can tell you.
 
there was a recent incident where this system would have caused the deaths of two young children if it hadn't been for a quick-thinking passing motorist who happened to have golf clubs in his car.
Be interested to know more about this. I’ve tried googling but there’s not enough key words to go on and get what you’re talking about specifically.
 
Sorry. It was an incident involving a Land Rover or Range Rover that caught fire (as they do...) It was being driven by a woman who had her two young children in the car, strapped into baby/child seats. The children were way too young to be able to get out of the car unaided. When she saw the flames coming from the engine compartment she leaped out of the car to get the children out through the appropriate passenger doors. However, as she was about to do that, some sort of fault caused by the fire (or that's what the article said) caused the automatic central locking to trip. (I don't know what happened about the driver's door, but it seems to have been closed too.)

She was trying to break windows and screaming for help, when another driver appeared and saw what was happening. He had a set of golf clubs in his car and was able to use one of these to break the car's windows and get the children out, as the car turned into a fireball. He was very self-effacing when interviewed, saying he was sure the mother would have got the kids out somehow if he hadn't been there, but from the story as told they could easily have died before anyone else managed to break a window.

ETA: Here you are. It seems the mother closed the driver's door, and that's what triggered the automatic central locking.

 
Since we've got easy access to the factory menu on the SE now, here's what I know:

The menu has a button that toggles between "Switch to OTG" and "Switch to Host"
That button does two things:

When set to OTG mode it sets the following in Android:
  1. adb_enabled=1
  2. persist.sys.service.otg_gadget=1
In host mode it sets both to 0.

The OTG USB port is port 2 (USB-C).

I haven't been able to get a computer to recognize the device when connected to that port yet.
 
Since we've got easy access to the factory menu on the SE now, here's what I know:

The menu has a button that toggles between "Switch to OTG" and "Switch to Host"
That button does two things:

When set to OTG mode it sets the following in Android:
  1. adb_enabled=1
  2. persist.sys.service.otg_gadget=1
In host mode it sets both to 0.

The OTG USB port is port 2 (USB-C).

I haven't been able to get a computer to recognize the device when connected to that port yet.
Does it recognize a keyboard or mouse?
 
Those aren't OTG devices though?

Though I guess you could with an OTG adapter.
I haven't read up on it, but I believe only one side needs to be an OTG device and it will act as the opposite type of device that is connected.

So plug a keyboard or USB stick into an OTG device and the OTG device acts like a host and can supply power.

Plug a simple PC in to an OTG device and the OTG device acts like a peripheral and may consume power.

Plug two OTG devices together and you may have to set something on one of the devices to assign a role to it (host or peripheral).

None of the above dictates what services are available over the USB. That is presumably dependant on the 2 device's capabilities and installed software.
 

Are you enjoying your MG4?

  • Yes

    Votes: 911 77.7%
  • I'm in the middle

    Votes: 171 14.6%
  • No

    Votes: 90 7.7%
Support us by becoming a Premium Member

Latest MG EVs video

MG Hybrid+ EVs OVER-REVVING & more owner feedback
Subscribe to our YouTube channel
Back
Top Bottom