Default [Guide][How-To]Fix (Eaccess) Permission Denied error when writing data on sd card

Hi, after updating to android 4.2.2, I encountered the Eaccess Permission Denied error when an app tried to write into the sd card, making the card read-only. So this is a guide to fix that problem.

Requirements:
Device must be rooted
Root Explorer installed

Fixing the problem:
Using root explorer navigate to System/etc/permissions
Open platform.xml using root explorer's Text Editor
Find the permission "Write_External_Storage" and there will be the permission group: "sdcard_rw"
Add another group directly under that one: <group gid="media_rw" />
Save changes made in the file and exit
Reboot your device
Done! Now apps have the permission to write data on the external sd card.