Tutorial  Updated

AndroidPass, an alternative for the StreetPass Riilay

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,

TidusWulf

Real Aloha
Member
Joined
Jul 27, 2007
Messages
653
Trophies
1
Location
Hawaii
XP
775
Country
United States
I have an HTC M8 with 5.0.1 and it doesn't work for me, it seems. Only OLD TETHER will turn on mobile hotspot, but I'm not gettign any streetpasses.
 

izy

Advanced Tech Pleb
Member
Joined
Sep 17, 2010
Messages
2,311
Trophies
2
XP
4,022
Country
United Kingdom
Confirmed working LG G2 on 4.4.4 Had to force busy box old tether for wifi to auto activate and the app not to crash.busy box will auyo change the wifi but not the IP address if i set IFconfig. so i have to turn on wifi hotspot ever 30 seconds lol.
old tether refreshes it fine though
 

Ismaw34

Well-Known Member
OP
Member
Joined
May 23, 2009
Messages
100
Trophies
0
XP
261
Country
Update surprise!
Added /data/misc/wifi/hostapd.conf method for users like me in the 4.4.2 kitkat and the old methods aren't working.
I think that method is the most requested over time and i didn't had any phone like that... but, now it works at it should.

Any feedback on this would be appreciated.

-Ismaw34
 

Sno0t

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
223
Trophies
0
XP
1,217
Country
Gambia, The
Sadly didnt work on my Nexus 5 (custom rom CM 13, Android 6 - Marshmallow)
Thought the added hostapd.conf would work..
No method seems to work for me.
Still: thank you for your contributions and your hard work.
Its pretty much appreciated.
Kind regards :)
 

Ismaw34

Well-Known Member
OP
Member
Joined
May 23, 2009
Messages
100
Trophies
0
XP
261
Country
Sadly didnt work on my Nexus 5 (custom rom CM 13, Android 6 - Marshmallow)
Thought the added hostapd.conf would work..
No method seems to work for me.
Still: thank you for your contributions and your hard work.
Its pretty much appreciated.
Kind regards :)

Hello, there are many hostapd.conf paths, if yours is not the same, i can try to edit your path as well.

King regards.
 

Sno0t

Well-Known Member
Member
Joined
Aug 20, 2015
Messages
223
Trophies
0
XP
1,217
Country
Gambia, The
Hello, there are many hostapd.conf paths, if yours is not the same, i can try to edit your path as well.

King regards.
Thank you for your answer. Actually my path is already handled by your tool, however, when I start tethering, the mac changes again and the hostap.conf seems to be obsolete or overwritten.Already tried configuring it manually. ..kind regards
 

mhdsw

New Member
Newbie
Joined
Feb 26, 2016
Messages
4
Trophies
0
Age
29
XP
68
Country
Indonesia
this app works like a charm!, thank you very much, but somehow I only get streetpass tag after a few hours even though this app should be cyling mac address, I leave it for entire night and only get 4 people in mii plaza
 

Ismaw34

Well-Known Member
OP
Member
Joined
May 23, 2009
Messages
100
Trophies
0
XP
261
Country
After using your app, my wifi on my LG G3 no longer works and does not even start. Is there a fix?
Is there a AndroidPass-log on the sd card or internal memory root?

this app works like a charm!, thank you very much, but somehow I only get streetpass tag after a few hours even though this app should be cyling mac address, I leave it for entire night and only get 4 people in mii plaza
Make sure is cycling the mac.

I'm gonna make some changes when i get time to reorder the hostapd method.
 

honey001

New Member
Newbie
Joined
Mar 1, 2016
Messages
1
Trophies
0
Age
30
XP
41
Country
Australia
A BIG thank you for still working on this project!
Most information I dug up was from 2013, which is of course outdated.

Sadly, I couldn't get it to work.
I tried it on my Note 3, but whenever the app would switch macs (automatically or manually) the grey bar would not turn yellow.
Also when pressing stop the app just froze with the stop bar turned yellow.

So I tried my old Galaxy S3 LTE (I9005 or so) and it actually worked there.
The macs were cycling and for every new adress I could see 3 connected devices (3ds, 3ds XL and new3dsxl)
Yet, no street passes.
I had my router off, so there was no wireless network for the DS's to connect with, yet they showed internet connection on the homescreen.
I did not try opening the browser, as all my devices cry for an update which I can't do atm.

Riilay did not work because the mac data is somewhere in an efs folder, which riilay doesn't offer.
Your app does :)

Anything I am missing?
SSID attwifi, open,...
Both phones are on like android 6.0, custom roms etc.
Cycling worked seemlessly on my S3, and I can't think of what might cause the problem.

Any help? :)
 

Ismaw34

Well-Known Member
OP
Member
Joined
May 23, 2009
Messages
100
Trophies
0
XP
261
Country
A BIG thank you for still working on this project!
Most information I dug up was from 2013, which is of course outdated.

Sadly, I couldn't get it to work.
I tried it on my Note 3, but whenever the app would switch macs (automatically or manually) the grey bar would not turn yellow.
Also when pressing stop the app just froze with the stop bar turned yellow.

So I tried my old Galaxy S3 LTE (I9005 or so) and it actually worked there.
The macs were cycling and for every new adress I could see 3 connected devices (3ds, 3ds XL and new3dsxl)
Yet, no street passes.
I had my router off, so there was no wireless network for the DS's to connect with, yet they showed internet connection on the homescreen.
I did not try opening the browser, as all my devices cry for an update which I can't do atm.

Riilay did not work because the mac data is somewhere in an efs folder, which riilay doesn't offer.
Your app does :)

Anything I am missing?
SSID attwifi, open,...
Both phones are on like android 6.0, custom roms etc.
Cycling worked seemlessly on my S3, and I can't think of what might cause the problem.

Any help? :)

The first thing you need to do, is ensure that the mac is changing.
If the app is crashing, its probably that a log file is located on the root of the internal sd memory, or in the sd card.

I could debug it easier.

Regards.
 

Hypnotizing

Well-Known Member
Newcomer
Joined
May 30, 2015
Messages
88
Trophies
0
Age
32
XP
225
Country
Mexico
So i used this app with my android tablet, didnt work and got uninstalled but left my device with no wifi, no way to turn it on .

Did a factory reset, flashed stock firmware and still no results.

Is there a way to fix that ?
 

Ismaw34

Well-Known Member
OP
Member
Joined
May 23, 2009
Messages
100
Trophies
0
XP
261
Country
So i used this app with my android tablet, didnt work and got uninstalled but left my device with no wifi, no way to turn it on .

Did a factory reset, flashed stock firmware and still no results.

Is there a way to fix that ?

If the method used it the hostapd, just restore the file that was backed up by the app on the same directory.
If is other method, tell me, and i'll figure it out.
 

Hypnotizing

Well-Known Member
Newcomer
Joined
May 30, 2015
Messages
88
Trophies
0
Age
32
XP
225
Country
Mexico
If the method used it the hostapd, just restore the file that was backed up by the app on the same directory.
If is other method, tell me, and i'll figure it out.


Thanks, i fixed the problem editing my /efs/wifi/.mac.info file , i know my device can change macs but i cant get this to work.

While thetering i changed my wifi hotspot name to "attwifi" and security to open , i already set my 3ds with those settings and it connects but fails while doing the internet connection test
 

Doopl

Active Member
Newcomer
Joined
Dec 1, 2015
Messages
34
Trophies
0
XP
157
Country
Thanks for this app, I've been using it to change MACs on my Nexus 5, first with CM12.1 and now CM13 after updating (both hammerheadcaf). My experience has been similar on both versions. The only practical difference is that I had to install busybox on CM13 as it comes with the stripped down toybox. I used this installer as it seems to add only the missing functions while leaving the toybox ones alone. Here's how it's gone:
  • (AndroidPass 2.48; network:attwifi, security:none)
  • It defaults to /data/misc/wifi/hostapd.conf which is a file that exists on my phone but I don't get any streetpasses that way. The working methods for me have been busybox->ifconfig and busybox-> lazypop.
  • Pressing Start turns off the wifi connection to my router but doesn't turn on tethering. It only works if I enable the hotspot manually before pressing the button (I just use the Quick Settings tile).
  • The number of connected clients is correctly shown and streetpasses normally come through within a couple of minutes.
  • It's unable to switch from one IP to the next. Pressing Next stops the timer bar at its current position, letting it fill up has it stick at one step from the end. With the "wait timeout" feature even after all devices disconnect the bar just keeps going up.
  • Pressing STOP freezes the app (with the button still highlighted) and eventually an "AndroidPass isn't responding" message pops up. I normally swipe it away from recent apps to close it (but press STOP first, otherwise the notification that AndroidPass is running in the background sticks around).
  • When opening the app after this the previously used IP is still selected, so I manually change it to the next one in the list and it's ready to be activated again.
Hopefully that info is helpful to someone.
 

calebsw

Well-Known Member
Member
Joined
Jul 25, 2015
Messages
113
Trophies
0
XP
151
Country
United States
I have similar experiences to doopl. Following his tips, here's how I've managed to make the app work on my phone:

Open Android Pass, and set the first MAC I want to start at. Open quick settings in my phone and enable tether. Let AP's progress bar go about halfway, it will show one client connected, and then the streetpass led will come on just before the app says zero clients connected.

At this point, the app seems to do nothing. It doesn't cycle to the next MAC, even with custom delay set to a low value, and wait timeout set to no. Clicking next doesn't seem to work. Clicking stop freezes the app.

In order to go to the next MAC and continue streetpassing, I have to open quick settings, disable tether, and then re-enable tether. When I do this, AndroidPass cycles to the next MAC, and will continue trying to streetpass. If it works or doesn't work, I disable tether, then re-enable it, and keep doing this until I'm satisfied.

Basically, I just start AndroidPass, then I just keep manually enabling/disabling my tether in order to make the app work. It's kinda tedious, and the app seems a little fickle, but I've found a nice rhythm that works, and honestly I can't complain since this is the only solution that works for me on Android.
 
  • Like
Reactions: Doopl

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    realtimesave @ realtimesave: I have it in my hands