gat3way / AirPirate

Android 802.11 pentesting tool
86 stars 28 forks source link

Power init failed (poll3) #4

Open vincekirkov opened 7 years ago

vincekirkov commented 7 years ago

I get an error Power init failed (poll3) using COMFAST CF-WU825N which uses RTL8192EU. Can you give an example model of a wifi card that works? The device is a non-rooted Samsung Galaxy Tab S3 (SM-T825) running Android 7.0.

gat3way commented 7 years ago

You can increase the maximum pollretries in rtl8192card.java in rtl8192_power_init() from 100 to like 1000 as 100 ms might not be enough for proper hardware initialization (although I've never seen that happen myself). If you are lucky, that would solve your problem.

But it might also be due to some USB OTG problem (either bad cabling or USB power limit or software stack). Unfortunately, OTG support especially on older hardware is really really bad.

gat3way commented 7 years ago

Ah since its the third poll, should be from 200 to like 2000.

vincekirkov commented 7 years ago

Tried increasing to 2000 but it didn't work. Also tried another USB OTG but I am getting the same error. I believe there is an issue with the dongle itself as it is unable to start on a Linux machine.

gat3way commented 7 years ago

Might be defective unit. I guess RMA is an option?

qiwiled commented 3 years ago

Screenshot_2020-11-21-21-34-44-82_9bde489fb18d43e8729607528f1e9d52

where value the maximum pollretries to can change ?

qiwiled commented 3 years ago

You can increase the maximum pollretries in rtl8192card.java in rtl8192_power_init() from 100 to like 1000 as 100 ms might not be enough for proper hardware initialization (although I've never seen that happen myself). If you are lucky, that would solve your problem.

But it might also be due to some USB OTG problem (either bad cabling or USB power limit or software stack). Unfortunately, OTG support especially on older hardware is really really bad.

Screenshot_2020-11-21-21-34-44-82_9bde489fb18d43e8729607528f1e9d52

where to change maximum pollretries