[Android] StreetPass Riilay: The HomePass method on your phone

Discussion in '3DS - Tutorials & FAQs' started by Zurce, Aug 16, 2013.

  1. Zurce

    Newcomer Zurce Member

    Joined:
    Aug 16, 2013
    Messages:
    30
    Country:
    United States
    [​IMG]
    Hi! I'm Zurce (formerly DanteMx).
    I have developed an App for Android that cycles the method i use to change the Mac Address of our devices, It's called StreetPass Riilay and you can download it today.

    What are the requirements for this app?
    As far as i know, this app should work for anyone that can change it's mac by editing the file /data/etc/wlan_macaddr0, have mobile data and root. If you fulfill this requirements this app should work out of the box with you and you should be a Happy User.

    Ohh man! the app didn't work for me!
    Don't worry, that's the reason the app is here , if the method that the App use to change the Mac doesn't work for you (you should see a permission denied Toast) it's probably because you're on a different device or Android version that i am, I'm currently running Sony Jelly Bean on my Xperia Z, so anyone with that set up could make the app work, and if you have a different set up and you have found a way to change the mac, please explain it to me on an Image tutorial, since (I repeat) I don't have the device and it doesn't work for me if you tell me "hey bro edit this file in /data/ called nvum.something" if i don't have the device and I don't know what i should edit from that file.

    The app still a beta and most of the work that it needs to be done it's about the compatibility with the different kernels and their way to manage the Mac Address. If you guys help me we probably can get this working for most of device in 1 or 2 weeks.

    Cool! You Got Any Screens?
    I sure do:

    [​IMG][​IMG]

    Awesome, another question, Will this App work for Tablets?
    While i don't recommend to run this app on a Tablet it should run with no problem, most of the Tablets out there are Wi-Fi so i didn't take the time to adjust the layout for Tablet, it should work with no problems but it probably would look ugly as f*ck or really small, but this is something i'll fix in future updates.

    Hey I don't like "this" or "that", Change it!
    If you don't like something just tell me why and if I think you're right I'll probably change it, remember StreetPass Riilay is made by me for you guys so feedback is well received.

    Also if you want to help build my app better and you know how to do UI or have some tips for me, PM me, Any Help is well received too.

    Everything sounds great, Is This App on the Play Store?
    Unfortunately no, at least not right now, While it works for me , it probably doesn't work for a lot of people out there, so to upload it to the Play Store first i want to fix most of the problems and wide the compatibility with most devices, besides, right now I'm broke and i don't have money for the registration fee, i'll probably will in 1 week or 2 so be patient and if you wanna see this in the Play Store give me your feed back. (as well donation are super fine guys!)

    So if it's not in the Play Store , How do i download it?
    You need to side load the app to your phone, you simply go to Settings->Security->Unknown Sources and check that box, but you probably know this if you're already rooted.

    Then download the app from here:

    Google Drive Download V3.1:https://docs.google.com/file/d/0B5n38nW5GD0pSVJIQThjQ2hxM3M/edit?usp=sharing
    Dropbox Download V3.1 :https://www.dropbox.com/s/f3tedvc8sv0rmgj/SP Riilay V3.apk

    Awesome, Anything else?

    Well , I'll like to thank the original creator of the thread dicamarques and the people who helped it to make everything work, also if you like to donate it will be gladly appreciated and it will help me pay the registration fee for the Play Store :lol:

    [​IMG]
    How to use it:
    Start your mobile data.​
    Go to Settings->More->Tethering & Portable Hotspot (this may vary depending your phone)​
    Select Portable Wi-Fi hotspot settings.​
    and configure your hotspot with this settings:​
    SSID:attwifi
    Security:none
    if you use the "_The Cloud" SSID you'll have to configure the 3DS to use the hotspot as one of the three connections.​
    Start the App and configure your settings, most of the time the 1 minute cool down time works for me, but sometimes depending on your network speed you might need 2 or 3 minutes to get the StreetPass.​
    As for the starting Mac , I'll recommend it to let it as it is, but if you already streetpassed one of the macs start from there.​
    Press Start Riilay and it should automatically start your hotspot and change your mac, in this point, if you see a toast telling you "Permission denied" this does not work for you​
    and remember you need ROOT....
    UPDATE: StreetPass Riilay V2!:
    Hello! i have added a few methods more in the app, while i tested those with dummy files it probably works now in more devices, also i add a busybox method which in theory it should be compatible with all the devices out there but with sadly is not , if your device has a file with the Mac on it, like my case or hard code it in other file the busy box method will not work, but in those devices where the mac is nowhere to be found in theory it will work.
    The Methods i added are:

    /data/.nvmac.info
    /factory/wifi/.mac.info
    /data/etc/wlan_macaddr
    BusyBox wlan0 devices.

    Check out the new links.

    Also, i changed the reconnection code so now it takes 10 to 15 minutes to reconnect the device so the 1 minute cold down it's not gonna work at least you have very good Internet.
    Any doubt or question don't be afraid to ask, i'll probably update the app by Wednesday adding more Macs (i think there's 50 out there! ) a pause mode, and a notification mode where the app will notify you every 10 macs to check the Mii Plaza before to continue.
    Hope i can fix all the compatibility issues as soon as possible but at least i expect the people that can use the app (that should be at least people with Xperia Z/ZL, and LG LX series i believe) is enjoying it .
    PS: If the app looks uglier it's because i tried re doing the UI but failed , it shouldn't be that ugly next time.
    Greetings and thank you for using my app.!
    UPDATE: StreetPass Riilay V3!:
    New Updated, i added some new methods as well a randomizer for the macs and Mac address up to 5F, didn't have the time to test all of them but they should work, also i extended the time for the cooldown, now instead of using 60 seconds it use 75, because the reset method for the tethering it was taking 15 seconds of the actual connection time so, now 1 minute it's equivalent to 75 seconds of time and 60 seconds of actual connection. Also i extended the times up to 15 minutes if anyone needs that much cooldown time.​
    The new Methods i added are:​
    /system/etc/wifi/nvram.txt
    /data/misc/wifi/config
    These methods use in line mac (instead of files with only the mac) so if your setup needs to edit an specific line in a file just ask for it.​
    The app no automatically select the method you should use based on the location of the files, so you don't have to pick it manually anymore but the option still is there but probably is going to be gone in the next update.​
    The next update will probably be August 31 since I'm going back to my university so ask for features you wanna see in the next update (that probably would be the last one before Google Play :DD )​
    Also, busybox while it works in all phone or most of them, it doesn't always change the mac of some phones because they are hardcoded in some files on the system, try to search for those files if you see busybox is not working for you.
     


  2. zergslayer69

    Member zergslayer69 GBAtemp Fan

    Joined:
    Jan 24, 2008
    Messages:
    300
    Country:
    United States
    Awesome, was having no luck messing with wifi tether, so I'll give this a whirl. Do you need to change your mac back to the original value once you're done using the app or does it automatically switch back when you quit? Just want to make sure there are no permanent changes.
     
  3. jrk190

    Member jrk190 GBAtemp Advanced Fan

    Joined:
    Jul 5, 2009
    Messages:
    588
    Location:
    North Carolina
    Country:
    United States
    So... I hate to sound stupid, but what exactly does this do?
     
  4. Nathan Drake

    Member Nathan Drake King of Ecchi - Lord of Feels

    Joined:
    Jan 2, 2011
    Messages:
    5,884
    Location:
    Oregon
    Country:
    United States
    This automatically cycles the Streetpass MAC addresses so that you can get the most out of the streetpassing system without having to manually change settings every half hour.

    As a side note, it would seem I finally have an excuse to root this Android phone of mine.
     
  5. alexoso22

    Newcomer alexoso22 Newbie

    Joined:
    Dec 16, 2012
    Messages:
    9
    Country:
    Mexico
    hello sorry I get a message / data / etc / but if It detect the nintendo zone help
     
  6. TrapperKeeperX

    Member TrapperKeeperX GBAtemp Fan

    Joined:
    Dec 27, 2005
    Messages:
    441
    Country:
    United States
    For Android how do I get a Root File?
     
  7. Duo8

    Member Duo8 ~/

    Joined:
    Jul 16, 2013
    Messages:
    2,836
    Country:
    Vietnam
    Use attwifi please. Everyone agreed to use that and you can set password with any ssid.
    Also, please add this method:
    /data/misc/wifi and edit config.
    [​IMG]
     
  8. Nathan Drake

    Member Nathan Drake King of Ecchi - Lord of Feels

    Joined:
    Jan 2, 2011
    Messages:
    5,884
    Location:
    Oregon
    Country:
    United States
    There are a few different methods out there that are made to work for most anything. Five seconds of googling should reveal how you can root your personal phone.
     
  9. nukeboy95

    Member nukeboy95 Leave luck to heaven.

    Joined:
    Aug 24, 2010
    Messages:
    2,272
    Location:
    not sure
    Country:
    United States
  10. alexoso22

    Newcomer alexoso22 Newbie

    Joined:
    Dec 16, 2012
    Messages:
    9
    Country:
    Mexico
    /data/etc/wlan_maacaddro(no such file or directory) ???
     
  11. Duo8

    Member Duo8 ~/

    Joined:
    Jul 16, 2013
    Messages:
    2,836
    Country:
    Vietnam
    That's normal cuz the solution differs kernel to kernel.
     
  12. BerserkLeon

    Member BerserkLeon Not-so-new member

    Joined:
    Mar 22, 2010
    Messages:
    258
    Location:
    Pennsylvania
    Country:
    United States
    if you can look into the methods "mac address ghost" uses, it worked, but it changes back once I turn wlan off, which I have to do because I dont want it connected to any AP... with that app anyway
    If you can't get that method working, there'll probably be a number of devices that your app will never support.. I learned that my Gnex doesn't have any kernel that supports spoofing through any set way, CyanogenMod was asked if they'd do it but they refused because of the legal dubiousness of mac spoofing.
    The author of Tinykernel also doesn't want anything to do with it because its sketchy.
    I don't know about you but if I wanted to do illegal things with wireless it wouldn't be with my phone..
     
  13. Zurce

    Newcomer Zurce Member

    Joined:
    Aug 16, 2013
    Messages:
    30
    Country:
    United States
    Can you share an example of the file? like you had it right now but with the fake MAC so i can work with it, it's gonna take me more time though cause it's under a line and not in the whole config file like the other methods but it should be done pretty quick.
     
  14. Duo8

    Member Duo8 ~/

    Joined:
    Jul 16, 2013
    Messages:
    2,836
    Country:
    Vietnam
    Here.
    This one's 4E:53:50:4F:4F:46
     

    Attached Files:

  15. Zurce

    Newcomer Zurce Member

    Joined:
    Aug 16, 2013
    Messages:
    30
    Country:
    United States
    It shows me a error when i unzip the file. could you please re upload it
     
  16. Duo8

    Member Duo8 ~/

    Joined:
    Jul 16, 2013
    Messages:
    2,836
    Country:
    Vietnam
    My phone can unzip it just fine.
    If this matters, then I'm using ES explorer to zip it with compression set to "store".
    MD5: 9d6b9f71fd23d94eae20343aa78d6f93
     
  17. dreams062

    Newcomer dreams062 Member

    Joined:
    Jun 22, 2009
    Messages:
    33
    Country:
    Mexico
    it's say this method doesn't work for you in all methods o.O (samsung intercept V2.3)
     
  18. tophoos

    Newcomer tophoos Newbie

    Joined:
    Sep 12, 2009
    Messages:
    6
    Country:
    United States
    I couldn't get this to work yet on my Nexus 7 (I need to try with a USB OTG ethernet adapter since I don't have mobile data).

    But for the future, can you add a function to randomize the MAC cycle or randomize between two time sets? If I set my time too low, I always tend to trail behind someone and get the same streetpass over and over again.
     
  19. Omegadash

    Newcomer Omegadash Member

    Joined:
    Aug 16, 2013
    Messages:
    17
    Country:
    South Africa
    Anyone got this working on the Samsung Galaxy S2? I can't seem to get it working, on the Siyah kernel though
     
  20. pasc

    Member pasc GBATemps official GBA Freak

    Joined:
    Sep 9, 2006
    Messages:
    2,549
    Location:
    Germany
    Country:
    Germany
    now this for cydia on iOS and I'm happy.
     

Share This Page