bohdan-s / WanWay-Tech-S20

GNU General Public License v3.0
38 stars 8 forks source link

2G VERSION FW downgrade #7

Open diego-cr opened 8 months ago

diego-cr commented 8 months ago

WARNING We are not responsible for any damage, bootloop, bricked or broken and Relationships.

Thanks nop0x900 for Y2517_GW005A_V03_2022.10.21_17 dump and testing.

2G VERSION ONLY

On new fw versions can't change server address but can downgrade it.

FlashTool Drivers

REMOVE TE SIM CARD

First install MediaTek Preloader USB VCOM Drivers Connect device to pc, when turn it on detect mt6227 phone preloader com port and seconds later MediaTeck inc product. Need both ports, first one is to backup and flash and other one to sends AT commands.

BACKUP IMEI Turn on device and connect to comX at 9600 (HyperTerminal, PuTTy....) and read your IMEI AT^GT_CM=IMEI Don't continue if can't do it

Make a full backup. Run FlashTool and open scatter file (WW_S20.cfg), go to READ BACK and add a new file, hex start 0x00000000 length 0x00400000. Press read back, connect device and turn it on or restart. Wait OK message. Reboot device, press power button until reboot.

backup ok

Flash. Run FlashTool and open scatter file, select ROM and VIV, press Download button, turn on device or restart and wait.. Wait OK message. Reboot device, press power button until reboot.

flash

Now your device have 000000000000000 IMEI, restore it. Connect device, open comX 9600 (HyperTerminal, PuTTy....) AT^GT_CM=IMEI,yourimei Test AT^GT_CM=IMEI

Done!

Can send commands to configure it. AT^GT_CM=server,1,your.server,port,0# AT^GT_CM=LJDW# AT^GT_CM=APN,yourapn#

Turn it off and inster the SIM CARD

Optional disable OTA AT^GT_CM=OTASVR,1,no.server.here,1234,0# AT^GT_CM=OT,OFF#

Don't ask me for drivers installation

Y2517_GW005A_V03_2022.10.21_17.zip

pawlak2 commented 8 months ago

Great job! Tested on my Y2517_S20_DS_1_V02_2023.05.02_1, downgraded to Y2517_GW005A_V03_2022.10.21_17 and it works fine with traccar.

voltane commented 8 months ago

I can also confirm that this method works on brand new trackers (bought here: https://www.amazon.pl/dp/B0B4VQY6ZS?ref_=pe_25095781_587124791_302_E_DDE_dt_1) The only thing i had to do is to run FlashTool in compatibility mode with Windows XP Service Pack 3. Otherwise i got BROM ERROR: S_BROM_CMD_STARTCMD_FAIL (2005) whenever wanted to do a backup or flash.

SzymonZy commented 8 months ago

Confirming working.

jocavidal commented 8 months ago

Obrigado, funciona 5 estrelas!!!!

fabryhtml commented 7 months ago

Thank for your works! i've one problem, install driver, flash tool not recognize com port

fabryhtml commented 7 months ago

Confirming working.

can you explain me, the procedure for preloader driver installation? i see only one com port, not two...thx i can't flash or read

Screenshot 2024-04-04 202217

fabryhtml commented 7 months ago

Great job! Tested on my Y2517_S20_DS_1_V02_2023.05.02_1, downgraded to Y2517_GW005A_V03_2022.10.21_17 and it works fine with traccar.

Screenshot 2024-04-04 202217

i see only one com port, can you tell me the procedure for preloader driver installation?

pawlak2 commented 7 months ago

Great job! Tested on my Y2517_S20_DS_1_V02_2023.05.02_1, downgraded to Y2517_GW005A_V03_2022.10.21_17 and it works fine with traccar.

Screenshot 2024-04-04 202217

i see only one com port, can you tell me the procedure for preloader driver installation?

To flash new/old firmware You need only one COM port (after connecting with USB do GPS).

fabryhtml commented 7 months ago

Great job! Tested on my Y2517_S20_DS_1_V02_2023.05.02_1, downgraded to Y2517_GW005A_V03_2022.10.21_17 and it works fine with traccar.

Screenshot 2024-04-04 202217

i see only one com port, can you tell me the procedure for preloader driver installation?

To flash new/old firmware You need only one COM port (after connecting with USB do GPS).

ok,but receive error in flashtool software when read or write device gps

sgtpepper72 commented 7 months ago

Hello friends, I am facing the same problem as Fabry. First, I have always only one Mediatek com port on device manager (Windows10) but I 've also tried with Windows7 Pro. with the same unsuccessful result: always a question mark on MediaTek PreLoader USB VCOM port (no problem on the other MediaTek USB Port). Furthermore, when I load the ROM into the Flash Tool software and I perform the Read Back, the final length presents a different hexadecimal value (0x00000800) than the one reported on this Github page. In any case, once I try nothing happens despite having selected the only available Mediatek com port. Is there perhaps any jumper (pins) on the electronic board that needs to be bridged/jumpered to enable the possibility of updating/flashing the firmware with the previous one (in order to finally be able to unlock the tracker and insert the new ip server)? Thanks in advance for your help. Cheers.

Sanafan commented 7 months ago

thanks for this great tutorial, the files etc. saved me a ton of time!

For your information: The cable that was included doesn't have a data-part so you need another cable. The included one is only for charging. Also the comment from @voltane helped, i had the same problem!

sgtpepper72 commented 7 months ago

Hello, I didn't use the black cable included with the S20 Wanway gps tracker but a Samsung phone data cable. I think it's not a cable issue because I can comunicate to the GPS device via putty with AT comands . Did you succeed in updating (downgrading) the firmware of your WanWay tracker? What about the PreLoader MediaTek port ? Thanks in advance. Rgds

Sanafan commented 7 months ago

Hello, I didn't use the black cable included with the S20 Wanway gps tracker but a Samsung phone data cable. I think it's not a cable issue because I can comunicate to the GPS device via putty with AT comands . Did you succeed in updating (downgrading) the firmware of your WanWay tracker? What about the PreLoader MediaTek port ? Thanks in advance. Rgds

Yes i suceeded. Just follow the steps in the manual, everything works. :)

sgtpepper72 commented 7 months ago

Hi, thanks for your message. Please may you kindly tell me what OS did you use for the procedure? Because I have only one MediaTek port ( not the preloader port: on device manager I have a question mark on it).

fabryhtml commented 7 months ago

Hi everybody, one port is sufficient to flash, no other port needed, follow the procedure with cable data, finished successfully

fabryhtml commented 7 months ago

319725941-0a02457d-47cd-4273-8778-d90e7f3991d3 ONLY ONE PORT IS NEEDED, IMPORTANT: USE DATA CABLE (I'VE USED SAMSUNG ORGINAL DATA CABLE) NO CHARGING CABLE, CONNECT TO PC (VIEW THE PORT COMXX) OPEN FLASHTOOL, FOLLOW THE GUIDE, POWER ON GPS OR RESTART GPS (3 SEC POWER BUTTON) FLASHING START WITHOUT PROBLEM, I'VE USE WINDOWS 11 PRO ON MY PC.

sgtpepper72 commented 7 months ago

Hi Fabry and Sanafan, thanks for your messages and support. I have just successfully downgraded it some minutes ago. Now, I can modify the server ip as I wish... (their locked is gone! :) Thanks again. Cheers.

MARIOP69 commented 7 months ago

Non riesco ad inviare neppure i commandi AT con Putty - nessun segno di vita - mi riconosce senza problemi la porta MTK USB Port (COM6) ma non risponde - chi mi può aiutare?

sgtpepper72 commented 7 months ago

Are you using the right data cable? You must connect a data cable because with only a power cable doesn't work.

MARIOP69 commented 7 months ago

Ho provato con 3 diversi cavi che funzionano per perfettamente con un cellulare

fabryhtml commented 7 months ago

For flashing use data cable,no power cable, power on with cable attached on pc and FLASH starting without problem, install first the driver

Sanafan commented 7 months ago

Kommentiert am besten auf Englisch... macht überhaupt keinen Sinn, wenn hier jeder in seiner Landessprache kommentiert, unglaublich...

fabryhtml commented 7 months ago

Kommentiert am besten auf Englisch... macht überhaupt keinen Sinn, wenn hier jeder in seiner Landessprache kommentiert, unglaublich...

sorry!

MARIOP69 commented 7 months ago

Sorry. They are 3 data cables that work perfectly with other equipment

MARIOP69 commented 7 months ago

ok now work at comand. Where is scatter file WW_S20.cfg ?

MARIOP69 commented 7 months ago

image

MARIOP69 commented 7 months ago

the version is Y2517_S20_DS_1_V02_2023.05.02_1 - It does not work

sgtpepper72 commented 7 months ago

the version is Y2517_S20_DS_1_V02_2023.05.02_1 - It does not work

Mine, it was the same version as your and I flashed it with previous version (Y2517_GW005A_V03_2022.10.21_17). You must follow the procedure indicated, step by step, clearly with the data cable and turn on the device from the appropriate button just before the flash. You will notice that the bottom of the flash program will change color. Use the program indicated in the procedure for flash: you have to strictly follow the step by step procedure.

MARIOP69 commented 7 months ago

image I did everything as per the procedure using the two highlighted files for backup - I'll try with another PC tonight

sgtpepper72 commented 7 months ago

for example, I used this flash tool to downgrade by flash the device. Your version seems to be different! flash_tool

sgtpepper72 commented 7 months ago

This was the scatter file I used. Is it the same as your? WW_S20_cfg.txt

Have you downloaded the right ROM and VIVA files?

PS: please note, in order to upload it on Github, I had to rename it from WW_S20.cfg to WW_S20_cfg.txt

MARIOP69 commented 7 months ago

image now whith versione 5.1624

sgtpepper72 commented 7 months ago

Have you read or already tried what suggested on this comment? https://github.com/bohdan-s/WanWay-Tech-S20/issues/7#issuecomment-2010566447 It seems he had the same problem as your.

MARIOP69 commented 7 months ago

I have tried what suggested on this comment! https://github.com/bohdan-s/WanWay-Tech-S20/issues/7#issuecomment-2010566447

sgtpepper72 commented 7 months ago

If you've followed the steps and all the advices above, then it looks like we've fired all the bullets! Does anyone have any other suggestions for our friend?

MARIOP69 commented 7 months ago

I'm about to give up. Isn't it a new version (I just bought it)? s20_202404

Player1234521 commented 7 months ago

Hello, Im stuck on Flash step, when i ''Open Scatter/Config File'' i can only select one file (VIVA or ROM, i cant select both files), when i select one file of them an, Flash Tool says me ''Invalid scatter/config file''

sgtpepper72 commented 7 months ago

Hello, Im stuck on Flash step, when i ''Open Scatter/Config File'' i can only select one file (VIVA or ROM, i cant select both files), when i select one file of them an, Flash Tool says me ''Invalid scatter/config file''

Hi, are you using the suggested flash version tool ?

Player1234521 commented 7 months ago

Hello, Im stuck on Flash step, when i ''Open Scatter/Config File'' i can only select one file (VIVA or ROM, i cant select both files), when i select one file of them an, Flash Tool says me ''Invalid scatter/config file''

Hi, are you using the suggested flash version tool ?

Yes, i tried latest version and some older

sgtpepper72 commented 7 months ago

I'm about to give up. Isn't it a new version (I just bought it)?

I opened the case of my S20 device and it is the same version as your. s20_

sgtpepper72 commented 7 months ago

Hello, Im stuck on Flash step, when i ''Open Scatter/Config File'' i can only select one file (VIVA or ROM, i cant select both files), when i select one file of them an, Flash Tool says me ''Invalid scatter/config file''

Hi, are you using the suggested flash version tool ?

Yes, i tried latest version and some older

tried this cfg file? https://github.com/bohdan-s/WanWay-Tech-S20/issues/7#issuecomment-2074626022

Player1234521 commented 7 months ago

Hello, Im stuck on Flash step, when i ''Open Scatter/Config File'' i can only select one file (VIVA or ROM, i cant select both files), when i select one file of them an, Flash Tool says me ''Invalid scatter/config file''

Hi, are you using the suggested flash version tool ?

Yes, i tried latest version and some older

tried this cfg file? #7 (comment)

-No, I thought the file was good and that it was a problem with the Flash Tool application. -Finally managed to change the firmware. Even though an error occurred when trying to open the ROM or VIVA file, somehow both files were in the application and all I had to do was click Download. -So, as for my ''problem'', probably when making the Backup, by selecting the WW_S20.cfg file, Flash Tool automatically detected the VIVA and ROM files and added them as a scatter/config file? Idk I don't know anything about computers :D I tried to do the whole flashing process again to see after what operation the VIVA and ROM files were in the FLASH TOOL program, but I can't. I only leave a screenshot of my final step? When these files appeared in this column, all you had to do was press DOWNLOAD

Thank you very much for your help sgtpepper72 <3 WanWayIssue1

sgtpepper72 commented 7 months ago

-No, I thought the file was good and that it was a problem with the Flash Tool application. -Finally managed to change the firmware. Even though an error occurred when trying to open the ROM or VIVA file, somehow both files were in the application and all I had to do was click Download. -So, as for my ''problem'', probably when making the Backup, by selecting the WW_S20.cfg file, Flash Tool automatically detected the VIVA and ROM files and added them as a scatter/config file? Idk I don't know anything about computers :D I tried to do the whole flashing process again to see after what operation the VIVA and ROM files were in the FLASH TOOL program, but I can't. I only leave a screenshot of my final step? When these files appeared in this column, all you had to do was press DOWNLOAD

Thank you very much for your help sgtpepper72

No worries, you're welcome my friend! I'm glad to read you succeeded with it. Well done! I hope this information can also be useful to our friend "MarioP69": maybe by trying to follow your steps he can also be able to update (downgrading) the firmware with the unlocked one.

MARIOP69 commented 7 months ago

Immagine1 Immagine2 It just doesn't work from me - the procedure is correct

sgtpepper72 commented 7 months ago

It just doesn't work from me - the procedure is correct

Hi Mario, did you also try with others computer and/or also different versions of Windows OS? Is there someone in the community who can help Mario solve this odd hw or sw issue he's facing?

MARIOP69 commented 7 months ago

I tried with another PC but still with Windows 10 by starting the app in Windows XP mode. It did not work

dominikwachow commented 7 months ago

After the flash device doesn't work. The number is not reachable. Does anyone know how to solve it?

MARIOP69 commented 7 months ago

Works !!!! Thanks for everything. I was wrong because the device was already turned on before pressing "Download" - It must be turned on only after pressing "Download" - I used the "Flash Tool v.5.1624.00.00"

sgtpepper72 commented 7 months ago

Well done Mario! I am glad you succeeded on it. Yes, device must be off before flashing and only after on for flashing, as you reported.

NiklasEhrlichAkkodis commented 5 months ago

Hey! Downgrading with all these Instructions worked fine for me, also replys the right firmware via SMS. BUT i am not able to get my device online in traccar. When sending the server via SMS it responds "OK", but not getting online in Traccar.

When Sending LOCKIP,WWDS20,UNLOCK# or LOCKAPN,WWDS20,UNLOCK#, it respondes with ERROR:101

What am I doing wrong?