Finally found some spare time to find out what is difference between genuine and not genuine adapter cables and why on non genuine adapters you cannot change diodes lights and id is readed with faults. Take logic analyzer and make some captures to see where are differences. This is screenshot of communication between mac and cable..
On logic analyzer there is option to export in csv and here is csv
Time [s], Analyzer Name, Decoded Protocol Result
0.032112584000000,1-Wire,READ ROM command: [0x33]
0.032972514000000,1-Wire,FAMILY CODE section from ROM: [0x85]
0.033844892000000,1-Wire,ROM CODE section from ROM: [0x1003C085FA77]
0.039132810000000,1-Wire,CRC section from ROM: [0x9B]
0.041093412000000,1-Wire,SKIP ROM command: [0xCC]
4.806852970000000,1-Wire,SKIP ROM command: [0xCC]
After that sniff communication between arduino and magsafe adapter and find differences.First reset is 480 ms on mac it is 600 ms. It looks that emulation in chineese adapters is not flexible as ds2431 so if we wanna to make tester to read non genuine adapters we must tweak onewire library to read non genuine adapters. After some tweak of times in library finally all is done and you here can download changed arduino library that can be used to read non genuine apple adapters.
Replace Onewire.cpp with this one and you will read non genuine cables.