{"action":"created","issue":{"url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/21","repository_url":"https://api.github.com/repos/bigsinger/AndroidIdChanger","labels_url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/21/comments","events_url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/21/events","html_url":"https://github.com/bigsinger/AndroidIdChanger/issues/21","id":266471562,"number":21,"title":"Spoof MAC address","user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars1.githubusercontent.com/u/9989964?v=4","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-10-18T12:18:18Z","updated_at":"2017-10-18T15:17:04Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\n\r\nIn order to change the MAC address of Wireless, Wired, Bluetoooth networks, two options are available:\r\n\r\n1. Physical change of the MAC. This will change the effective Ethernet address, and the network will use this address. This implies to modify the value in the Kernel. I think this can't be done using Xposed.\r\n\r\n2. Change the value readed by Apps & SystemUI. This will not change the network address, but the App will think that the value is different.\r\n\r\nTo achieve the option 2 some examples (for wifi already in the code):\r\n\r\n```\r\nXposedHelpers.findAndHookMethod(\"android.net.wifi.WifiInfo\", loadPackageParam.classLoader, \"getMacAddress\", ...\r\nXposedHelpers.findAndHookMethod(\"android.bluetooth.BluetoothAdapter\", loadPackageParam.classLoader, \"getAddress\", ...\r\n```\r\n\r\nI'll search for wired connections."},"comment":{"url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/comments/337626239","html_url":"https://github.com/bigsinger/AndroidIdChanger/issues/21#issuecomment-337626239","issue_url":"https://api.github.com/repos/bigsinger/AndroidIdChanger/issues/21","id":337626239,"user":{"login":"lars18th","id":9989964,"avatar_url":"https://avatars1.githubusercontent.com/u/9989964?v=4","gravatar_id":"","url":"https://api.github.com/users/lars18th","html_url":"https://github.com/lars18th","followers_url":"https://api.github.com/users/lars18th/followers","following_url":"https://api.github.com/users/lars18th/following{/other_user}","gists_url":"https://api.github.com/users/lars18th/gists{/gist_id}","starred_url":"https://api.github.com/users/lars18th/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lars18th/subscriptions","organizations_url":"https://api.github.com/users/lars18th/orgs","repos_url":"https://api.github.com/users/lars18th/repos","events_url":"https://api.github.com/users/lars18th/events{/privacy}","received_events_url":"https://api.github.com/users/lars18th/received_events","type":"User","site_admin":false},"created_at":"2017-10-18T15:17:04Z","updated_at":"2017-10-18T15:17:04Z","author_association":"NONE","body":"> on my N9 device(Android N), i got \"02:00:00:00:00:00\"\r\n\r\nMe too! Add the permission and you will show the correct value.\r\n\r\n> > This implies to modify the value in the Kernel. I think this can't be done using Xposed.\r\n\r\n> can i change it by NDK(using c++)?\r\n\r\nMay be! However, I suggest to try this _after_ the support for Nougat is ready.\r\n"}}
{"actor":{"display_login":"lars18th"}}