Weird LED sequence [SOLVED]

Hey has anyone had this issue.

I was flashing my spark and after awhile of cyan flashing the led goes dead. no response after reset.
I then do a factory reset with holding mode and reset and does the whole sequence.

But when it restarted it now flashes white about 5 times then goes blue then flashes blue then the led is off for about 4 seconds and its starts it all over again.

I have factory reset it twice and tried pushing connection details to it but is not responding as usual. It has the latest firmware on it

anyone know how to solve this?

Ok seem to have solved the issue. held down the mode button for a few secs before it goes yellow and it went back to flashing blue.

Ive been able to send wifi details to it.