Online
		Pasos que tomé: 
1) Flash completo para comenzar a limpiar.
2) Último Twrp de Flash
descargar
3) Arranque inmediatamente en Twrp después de finalizar la descarga de Odin presionando el volumen hacia arriba y en casa tan pronto como reinicie desde Odin.
4) Formatee la partición de datos (no solo limpie, formato completo)
5) Reinicie en la recuperación
6) Instale magisk zip después de reiniciar en la recuperación
descargar
7) Reinicie al sistema
8) Después de reiniciar completamente, vuelva a la recuperación e instale Magisk zip una vez más
9 ) Reiniciar al sistema
10) Espere totalmente arrancado, abra la aplicación magisk e intente el comando adb shell su para aceptar la solicitud y permitir el acceso a adb su.
Tal vez haya una forma más fácil, pero esta es una forma en que probé que funciona.
Repair started
Unable to detect IMEI number.
Gathering phone info...
Collecting information. Be patient! Do NOT disconnect the phone!
Model: SM-J400M
Sales Code: COO
Country Code: Colombia
Timezone: America/Caracas
Android Version: 8.0.0 [R16NW] [SDK 26]
Build Date: Mon Jul 16 23:39:37 KST 2018
PDA Version: J400MUBU2ARG7 [july 2018, rev7]
Phone Version: J400MUBU2ARG1 [july 2018, rev1]
CSC Version: J400MOWO2ARF7 [june 2018, rev7]
Board Platform: EXYNOS5
Modem Platform: SHANNON305
Serial Number: R28K91P2SCK
Battery Status: 4.20V (89%)
Network Type: GSM
SIM Status: ABSENT
Multisim Config: SS
Knox Version: v30
Warranty Bit: 1
Security Patch: 2018-07-01
Data Encryption State: unencrypted
Repair imei...
Checking modem version.
Reading data. Be patient! Do NOT disconnect the phone!
Repaired IMEI: 352121454897875
If necessary, use the patch cert procedure.
Succeeded.
Successfully finished.
Finished at local time: [03.22.19 09:14:01]
WorkID: 55328044
Patch certificate started
Gathering phone info...
Collecting information. Be patient! Do NOT disconnect the phone!
Model: SM-J400M
Sales Code: COO
Country Code: Colombia
Timezone: America/Caracas
Android Version: 8.0.0 [R16NW] [SDK 26]
Build Date: Mon Jul 16 23:39:37 KST 2018
PDA Version: J400MUBU2ARG7 [july 2018, rev7]
Phone Version: J400MUBU2ARG1 [july 2018, rev1]
CSC Version: J400MOWO2ARF7 [june 2018, rev7]
Product Code: COO
HIDSw Version: J400MUBU2ARG7/J400MOWO2ARF7/J400MUBU2ARG1/J400MUBU2ARG7
Board Platform: EXYNOS5
Modem Platform: SHANNON305
Serial Number: R28K91P2SCK
Imei: 352121454897875
Unique Number: CQE001D3AF04475
Connections: AT,MTP
Battery Status: 4.17V (89%)
Network Type: GSM
SIM Status: ABSENT
Multisim Config: SS
Knox Version: v30
Warranty Bit: 0
Security Patch: 2018-07-01
Data Encryption State: unencrypted
Preparing...
Checking current patchcert.
Checking modem.
Checking root.
Checking boot image. Be patient! Do NOT disconnect the phone!
The knox is still valid. Because of the boot patch the warranty will void.
Writing boot image.
Restarting phone.
Waiting for ADB connection. Be patient! Do NOT disconnect the phone!
Reading data...
Checking modem version.
Restarting phone.
Waiting for ADB connection. Be patient! Do NOT disconnect the phone!
Reading data. Be patient! Do NOT disconnect the phone!
Patching certificate...
Communicating with the server. Be patient! Do NOT disconnect the phone!
After the phone starts, it switches to flying mode and then returns to normal mode after 20-70 seconds.
You can check the status of the imei using: *#0011#
The patchcert can be removed by repeating the process.
If a new firmware is used, the patchcert process must be repeated.
Succeeded.
Successfully finished.
Finished at local time: [03.22.19 09:38:21]
WorkID: 55328754
 1) Flash completo para comenzar a limpiar.
2) Último Twrp de Flash
descargar
	Debes estar registrado para ver los enlaces
3) Arranque inmediatamente en Twrp después de finalizar la descarga de Odin presionando el volumen hacia arriba y en casa tan pronto como reinicie desde Odin.
4) Formatee la partición de datos (no solo limpie, formato completo)
5) Reinicie en la recuperación
6) Instale magisk zip después de reiniciar en la recuperación
descargar
	Debes estar registrado para ver los enlaces
7) Reinicie al sistema
8) Después de reiniciar completamente, vuelva a la recuperación e instale Magisk zip una vez más
9 ) Reiniciar al sistema
10) Espere totalmente arrancado, abra la aplicación magisk e intente el comando adb shell su para aceptar la solicitud y permitir el acceso a adb su.
Tal vez haya una forma más fácil, pero esta es una forma en que probé que funciona.
Repair started
Unable to detect IMEI number.
Gathering phone info...
Collecting information. Be patient! Do NOT disconnect the phone!
Model: SM-J400M
Sales Code: COO
Country Code: Colombia
Timezone: America/Caracas
Android Version: 8.0.0 [R16NW] [SDK 26]
Build Date: Mon Jul 16 23:39:37 KST 2018
PDA Version: J400MUBU2ARG7 [july 2018, rev7]
Phone Version: J400MUBU2ARG1 [july 2018, rev1]
CSC Version: J400MOWO2ARF7 [june 2018, rev7]
Board Platform: EXYNOS5
Modem Platform: SHANNON305
Serial Number: R28K91P2SCK
Battery Status: 4.20V (89%)
Network Type: GSM
SIM Status: ABSENT
Multisim Config: SS
Knox Version: v30
Warranty Bit: 1
Security Patch: 2018-07-01
Data Encryption State: unencrypted
Repair imei...
Checking modem version.
Reading data. Be patient! Do NOT disconnect the phone!
Repaired IMEI: 352121454897875
If necessary, use the patch cert procedure.
Succeeded.
Successfully finished.
Finished at local time: [03.22.19 09:14:01]
WorkID: 55328044
Patch certificate started
Gathering phone info...
Collecting information. Be patient! Do NOT disconnect the phone!
Model: SM-J400M
Sales Code: COO
Country Code: Colombia
Timezone: America/Caracas
Android Version: 8.0.0 [R16NW] [SDK 26]
Build Date: Mon Jul 16 23:39:37 KST 2018
PDA Version: J400MUBU2ARG7 [july 2018, rev7]
Phone Version: J400MUBU2ARG1 [july 2018, rev1]
CSC Version: J400MOWO2ARF7 [june 2018, rev7]
Product Code: COO
HIDSw Version: J400MUBU2ARG7/J400MOWO2ARF7/J400MUBU2ARG1/J400MUBU2ARG7
Board Platform: EXYNOS5
Modem Platform: SHANNON305
Serial Number: R28K91P2SCK
Imei: 352121454897875
Unique Number: CQE001D3AF04475
Connections: AT,MTP
Battery Status: 4.17V (89%)
Network Type: GSM
SIM Status: ABSENT
Multisim Config: SS
Knox Version: v30
Warranty Bit: 0
Security Patch: 2018-07-01
Data Encryption State: unencrypted
Preparing...
Checking current patchcert.
Checking modem.
Checking root.
Checking boot image. Be patient! Do NOT disconnect the phone!
The knox is still valid. Because of the boot patch the warranty will void.
Writing boot image.
Restarting phone.
Waiting for ADB connection. Be patient! Do NOT disconnect the phone!
Reading data...
Checking modem version.
Restarting phone.
Waiting for ADB connection. Be patient! Do NOT disconnect the phone!
Reading data. Be patient! Do NOT disconnect the phone!
Patching certificate...
Communicating with the server. Be patient! Do NOT disconnect the phone!
After the phone starts, it switches to flying mode and then returns to normal mode after 20-70 seconds.
You can check the status of the imei using: *#0011#
The patchcert can be removed by repeating the process.
If a new firmware is used, the patchcert process must be repeated.
Succeeded.
Successfully finished.
Finished at local time: [03.22.19 09:38:21]
WorkID: 55328754