[Android] AndroidPass, an alternative for the StreetPass Riilay

Discussion in '3DS - Tutorials' started by Ismaw34, Oct 7, 2013.

  1. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    Hello,

    Its been a while since i wrote i was doing an app for me to use the streetpass on my 3ds.
    I used the Riilay app, and didn't worked for me, and seems the dev has halted the development of his app.

    I present you a new app, with basic gui, but works for me.

    Working methods (tested by me):
    /data/.nvmac.info
    /efs/wifi/.mac.info
    /data/misc/wifi/hostapd.conf

    Working methods (tested by users):
    /data/misc/wifi/WCNSS_qcom_cfg.ini
    /persist/WCNSS_qcom_wlan_factory_nv.bin

    To be tested methods:
    /data/misc/wifi/config
    /system/etc/wifi/nvram.txt
    /data/etc/wlan_macaddr0
    /factory/wifi/.mac.info
    /data/etc/wlan_macaddr

    (BusyBox methods dont work or are kernel dependant)
    BusyBox: ifconfig
    BusyBox: ip link
    BusyBox: Old tether softAP method (added, but not sure if it would work, maybe i will remove it later if no one uses it or not working)

    Want to add more methods?
    Send me a pm with a sample file for the file to be edited, and ill work to implement it asap.
    Don't be afraid to send any "original macs" or try to edit out the macs with A,B,C,D,E or F.

    I would want to add more methods and a BusyBox method, but i dont have more Androids with me and my pc is old and cant run the emulator.

    The app needs root, and is stright forward.

    The app works with the SD card mainly:
    /"sd"/macs/...
    macs.txt : a list of macs to be readed. (Yes, is needed to run the program and can be customized)
    config.properties : The config from the app, i hate when phone data is used to store config.
    On this file you can edit the "original_mac" and when the app is closing it will restore the mac you provided, useful with a whitelisted network. Ex: 00:11:22:33:44:55
    on the /"sd"/
    AndroidPass-Log.txt : Do not exists always, but it contains crash log(s) for the app.

    The program features an auto updater.
    And no need to wait X minutes to change MACs, just dont wait to timeout and when the 3DS disconnects (or no more clients are connected), it will change the mac right away.

    If your AndroidPass has stopped working for some reason, post the crash log file.

    Im thinking to release the source somewhere on the net, and then anyone who wants to implement some features could, in theory, work with me and make it more "compatible". If there is some devs that want to be involved in this, contact me and if i get some, ill publishit somewhere.

    Donations are much apreciated.

    Download link: https://dl.dropboxusercontent.com/s/hvrqikrqp3cs4ck/StreetPass.apk

    If for some reason the link above is not the current version, use the workspace version https://www.dropbox.com/s/c0sy8e7i1s5u1mh/StreetPass.apk (this file is used for testing, keep in mind that this version is the work in progress one, and may contain not working things or major crashes)

    Later on i will feature a stable or debug release, the current link will be the debug release.

    -Ismaw34

    WARNING
    * Some kernels need special "magic" features (specially the 4.3+) that i dont know how to work with.
    * If you need to patch any "binary" file, i can edit the mac too, refer to the methods /data/misc/wifi/WCNSS_qcom_cfg.ini and /persist/WCNSS_qcom_wlan_factory_nv.bin
    * If you are using the /data/misc/wifi/hostapd.conf method, and you change the HotSpot name on your phone but it doen't change, is a usual bug, that is that on the current state i cant read root files inside the java code and i need to manage them via shell. Just delete the /data/misc/wifi/hostapd.conf.bak file, edit your config and then it would be ready to go.
     
    Last edited by Ismaw34, Jan 22, 2016


  2. Duo8

    Member Duo8 I don't like video games

    Joined:
    Jul 16, 2013
    Messages:
    3,414
    Country:
    Vietnam
    That "To be tested" method will hardly ever be tested, as so far the only device I've seen using it is LG-P350 with MiniCM7 (which I own. But it's broken)
     
  3. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    You can always suggest to add more methods on the app.

    -Ismaw34
     
  4. Duo8

    Member Duo8 I don't like video games

    Joined:
    Jul 16, 2013
    Messages:
    3,414
    Country:
    Vietnam
    Try catching up with the other app first. Ask people if it's working or not. After that, add more methods per request.
    I'd suggest doing the busybox method first.
     
    filfat likes this.
  5. chmurqab

    Newcomer chmurqab Member

    Joined:
    Sep 13, 2009
    Messages:
    11
    Country:
    Poland
    I just wanted to say thanks, because this is the only app that worked for my rubbish Samsung Gio.
     
    Ismaw34 likes this.
  6. KaleoOmega

    Member KaleoOmega I just don't know what to do with myself...

    Joined:
    Apr 17, 2013
    Messages:
    386
    Country:
    Brazil
    Need to say thanks too. Even before Ismav34 made this post, I was able to test the app, and always worked perfectly on my old Samsung Galaxy Mini (S-5570L).
     
    Ismaw34 likes this.
  7. sjeps

    Newcomer sjeps Advanced Member

    Joined:
    May 10, 2008
    Messages:
    84
    Country:
    Italy
    thanks a lot for this.. it is the only method i got working.. i used my galaxy next - mini
     
  8. MachinegunNorm

    Newcomer MachinegunNorm Newbie

    Joined:
    Jun 21, 2009
    Messages:
    1
    Country:
    United States
    the app crashes when i try to open it. i use a galaxy nexus running android 4.4 a custom rom
     
  9. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    With that kind of data, i cant fix anything.
    Things i need to know:
    1. The method you need (if known).
    2. Tryed the other android app?
    3. A sample file for the method (if 1 & can access the file)
    4. Maybe the log could help more

    If i know the details, i could fix the app asap.

    Thanks,
    -Ismaw34
     
  10. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    Fixed it testing on a CM11 4.4.2. Appears to be a failed to read SD card.
    You can try it now.

    -Ismaw34
     
  11. zhdarkstar

    Member zhdarkstar GBAtemp Advanced Fan

    Joined:
    Jan 30, 2008
    Messages:
    567
    Country:
    United States
    Installed and ran it on my HTC One running 4.4.2. "No compatible method found"
     
  12. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    Try the StreetPass Riilay app instead.
     
  13. slowshutterfilms

    Newcomer slowshutterfilms Member

    Joined:
    Dec 16, 2008
    Messages:
    14
    Country:
    United States
    I've been trying to get any form of Homepass to work on my S4 (4.4.2), and from what I've seen, there is no way of MAC spoofing on KitKat as of yet
     
  14. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    Important notice to users that have the app on version 2.01

    I broke the auto-update feature on that version, and its fixed now on version 2.011
    I added a new method "/efs/wifi/.mac.info" (Works on 4.1.2 Galaxy Young)

    Thanks.
     
  15. ryuragnas

    Newcomer ryuragnas 3DS FC: 0173-2593-8777

    Joined:
    Jun 2, 2007
    Messages:
    47
    Country:
    Australia
    This app works on my SGS3 GT-I9300 running Temasek Unnofficial v99, using AgniCM Kernel 2.8.0. Temasek v99 is 4.4.3 based. I likey
     
  16. lucame

    Newcomer lucame Member

    Joined:
    Dec 2, 2004
    Messages:
    25
    Country:
    Australia
    final update: how i make it work:

    - reboot phone with only 3g on, NO WIFI ON
    - start your app, the MAC changes and all works until you...press stop. When you stop it, the wifi TURNS ON, and from this moment you WILL NOT be able to change your mac again until you reboot as above. I still get no passes or anything tho....

    UPDATE your app is the only one that really manages to change my wifi MAC. Riilay and wifi tether claim to change it but upon verification i still have the original mac, whereas your app works. I also noticed it connecting to the 3ds, staying connected about 10 seconds max, then changing MAC successfully. I still got no streetpasses or whatever but now its a matter of time i guess, i put it on random MAC cycles every 2 minutes since i noticed it took barely 30 seconds from changing mac for the 3ds to connect to the new mac.

    Sadly after a i stopped the app to do something, and restarted it, without any change in anything, it is no longer changing my mac properly. I dunno wtf.

    old msg below

    hi, i am using samsung S3 rooted, 4.3 android. You app is the only one that manages to connect to my 3ds. However when i close the 3ds into sleep mode, it disconnects from the hotspot, and it only reconnects to it when i reopen the 3ds. Is it normal? I left the 3ds closed for a good 5 minutes and i never got the message that it logged into the hotspot (it would have a toast saying 1 device connected)....but as soon as i reopen the 3ds it connects to hotspot without problems. EDIT to add i never got any hits or people visiting or whatever it is...
     
  17. Ismaw34
    OP

    Member Ismaw34 GBAtemp Regular

    Joined:
    May 23, 2009
    Messages:
    100
    Country:
    Spain
    I disabled the auto-wifi enable, sorry for the other users :(
    For the timer, you can "Wait until timeout" and will wait until the minutes you give.
    For the streetpasses, make sure your ap's name is "attwifi" and if you want to use the NZone you cannot put any pass. I you dont want to use the NZone, you can put a pass for better security.

    Test the new version and give feedback ;)

    -Ismaw34
     
  18. lucame

    Newcomer lucame Member

    Joined:
    Dec 2, 2004
    Messages:
    25
    Country:
    Australia
    tried emailing the app to my phone and gmail said virus detected in your apk :(

    but i doubt its true... so i installed anyway.
    Yes the hotspot is attwifi and no security, the 3ds sees it properly.
    As before, your app works and now you solved the wifi thing, very nice. However i never got ANYTHING. I close the 3ds, after about 20 seconds your app says that the 3ds is connected, the mac is correct, 3ds stays connected about 15 seconds but nothing comes thru. I tried running it for 20 minutes changing mac every 2 and got zero. Now trying with longer timeouts. Will report back if i get anything. I believe that the android 4.3 has some hidden shit that is giving troubles.

    PS maybe upon exiting the app you can have a popup asking to turn on wifi so that your mac goes back to the original one, else it will stay the fake one even after reboot. Only turning on wifi will revert it back.
     
  19. lucame

    Newcomer lucame Member

    Joined:
    Dec 2, 2004
    Messages:
    25
    Country:
    Australia
    mate i got bad news

    even if your app shows the mac changed in the device properties, the hotspot still broadcasts the original mac, that is why im not getting shit. Basically the only difference between this and riilay for me is that you have the right path to the mac file, and change it in the properties (rillay does not) but in reality i still have the phone mac.

    I am downgrading to a 4.1.2 build of android, goddamn it i will make it work
     
  20. Jayro

    Member Jayro MediCat DVD and Mini Windows 10 Developer

    Joined:
    Jul 23, 2012
    Messages:
    4,349
    Location:
    Octovalley
    Country:
    United States
    Samsung Galaxy S4 here, running CyanogenMod 11 (4.4.2 nightly builds), and confirmed working flawlessly.
     
    Ismaw34 likes this.

Share This Page