Only tablet is going to know if its a Samsung cable is if pins 5 & 4 of micro USB connector are connected together either with straight connection or through resistor similar to OTG cable.... And I don't think that is a given....
Guys over on XDA developers forum have been all through this, and conclusion is some aftermarket chargers are just crappy units even if made by Apple or whoever....
There is no "codes" transmitted between charger and table so it IS a voltage & amperage issue...
Another thing if cable conductors are to small, there is actual voltage drop due to resistance in cable so tablet is undernourished,,,, Only use heavy duty cable...
Alternatively I have a 5 volt 2.4 amp Rocketfish mobile charger (off 12 volt DC) for table when I am mobile and it charges tablet just fine....
Dale