Hi everyone,
I will be a little paranoid over here so don't take it hard on me =)
I've been using a i-mate k-jam for a long time and switched to touch hd on january. Interestingly the biggest similarity and annoyance for me was the softwares pre-installed to download some sort of data over internet and bugging every week to download new signatures/data and bugging even more if you fail to download.
eTrust found out to be useless and I can't really pinpoint why most handheld GPS devices doesn't really require to update this kind of information (Please correct if I'm wrong).
We might assume the transaction is a simple wget/http download which wouldn't carry any other information to the other party that someone from that IP downloaded something. But if there is a handshaking or at least some kind of a http post is inplace, it could be also sending a unique device idea which would let the guys in Taiwan track our devices our a map.
As I said I'm just being paranoid and making almost a conspiracy theory here but still the possibility exists.
So how can we be sure they are not sending any information out?
We can set up a proxy and mirror incoming traffic from a source ip (phones ip) and dump it with wireshark. Then we will need to define the proxy on our phone and click download.
Is there a wireshark/ethereal kind of packet capture software which can run on these devices? It could ease the job.
Reverse engineering the code? Not experienced in that but It should be quite small when the you think the job it supposed to do.
Any comments, thoughts, help, information - greatly appreciated.
BR, Kaya
You can disable Quick GPS if you want because it isn't necessary for the GPS.
It just speeds up the process of finding satellites.
why don't you just use a nokia 3210? that way you should be pretty safe lolol
philocritus said:
why don't you just use a nokia 3210? that way you should be pretty safe lolol
Click to expand...
Click to collapse
Only if you leave BT off JK
I've sort of resigned myself to the fact that using a smartphone exposes someone to a lot of security gaps. The best advice is to keep your bluetooth off / in hidden mode, as this is one of the easiest ways to get at your handheld's data. Moving up the paranoia scale, you can use that NoData program to disable your data connection except for when you really need at - that will prevent most third-party programs from dialing home. And if you're really worried about being tracked, I'd recommend just shutting off your phone when you have something private to do.
Hello everyone,
I'm a computing student and Ive got the task to develop a basic version of the WiFi router found here: http://code.google.com/p/android-wifi-tether/
Ive learned to program in Java during my 3 years of college and I consider that Ive got the basics covered but Im really bad at programming.. I am willing to learn a lot more to complete this project and in the process Im also planning to learn some serious programming skills considering the complexity of the application development.
Can someone please bring some light on this and help me with it? I actually dont even know where to start coding for this. All I managed to do in the last 24h is to find the below websites but I dont know how to put everything together and start coding. Ah, and I want to mention that once I finish it I will share it with the open source community, not looking for any profit. Its just a college project for me. Thanks in advance for any help that anyone can give me!
Android Developers
http://developer.android.com/
Wireless Tether for Root Users (Opensource)
http://forum.xda-developers.com/showthread.php?t=486767
Tethering my laptop with android
http://forum.xda-developers.com/showthread.php?t=577590
Tetherbot
http://graha.ms/androidproxy/
Tethering VIA USB - Install and troubleshooting
http://forum.xda-developers.com/showthread.php?t=443025&highlight=tether
tether Wifi
http://www.androidactivity.com/tetherWifi.html
iptables
http://www.netfilter.org/projects/iptables/index.html
Dnsmasq
http://www.thekelleys.org.uk/dnsmasq/doc.html
and of course wikipedia
http://en.wikipedia.org/wiki/Tethering
Well this is a functionality scenario for it. Id appreciate if one of the experienced programmers would give an opinion on it. Thanks!
#1 User starts the program by tapping the app icon.
#2 Code to check for Internet connection over GSM network (check gsm state. if off, go to 3. if on go to 7)
#3 Code to send instructions to the GSM modem to establish an internet conection.
#4 If the connection cant be established due to various technical errors like no signal, wrong APN settings etc then 5
#5 Code to show info message on the screen to inform user
#6 Once the device has a valid internet connection(check) then 7
#7 Code to show settings to user and allow customization of SSID (network name). [and security key(optional for now, we'll do it later if we have time)]
#8 The user presses the start button.
#9 Code to activate the wifi card in adhoc mode and broadcast the adhoc chosen SSID
#10 Code to accept connection from a valid device and communicate with it over wifi
#11 Code to share the established internet connection over GSM network with the device connected over wifi
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry, I appreciate the reply, thanks a lot!
"a basic version of the WiFi router" means a functional application that will run on an android phone (hopefully not rooted), will accept an ad-hoc connection with another wifi device over wifi and share its built in Inet conneciton with the device that connects to it. If I manage to get this running within 3 weeks I will complete the project in time.
I didnt know about the android wifi-interface-drivers..I was planning to try and develop this (hopefully successful app) into a proper wifi router (the full version) as my last year project, but now that plan is down the drain
Could you please help me start this? Where did u start when u actually started coding for this project? Any advice you can give me will be very welcome!
Cheers m8, have a good weekend!
harry_m said:
Hi!
I'm one of the authors of "Wireless Tether for Root Users".
What means "a basic version of the WiFi router"?
You know that most wifi-interface-drivers of android-devices do not support master-mode which would be mandatory to implement a "wifi router/access-point" (that's the reason why we support adhoc-mode only)?
Harry
Click to expand...
Click to collapse
Hi Harry,
By ad-hoc mode do you mean that the phone has to be rooted?
My understanding is that there is no way to have GPRS/3G running at the same time as a WiFi connection on the normal Android OS on a non rooted phone?
@atl4ntys,
Nice to see another Irish developer on Android
What your trying to do in 3 weeks seems like a big task and the normal Android SDK wont be much help for the reason I have stated above unless you root the phone.
cheers draffodx, I appreciate the interest!
Abt your question, to my knowledge wifi can run at the same time with 3g on a stock non rooted phone but it will not run in adhoc/ap mode. Unless some found a workaround that.. I'd prefer to develop a very basic app that will run on any android but if it proves to be an impossible task (also given the dev time available) then I will be happy with a function one on a rooted android. Dont need security and fancy graphics I just need it to work, so Im sure between me and my project partner we'll get it done (hopefully with a bit of help from the android devs)
Have you got any resources for how to run 3G and Wifi at the same time?
Its something I need to be able to do and from a few days research it seems that the OS only switchs between Wifi and 3G and never runs both at the same time.
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Can you also define what you mean by adhoc/ap mode?
Thanks
draffodx said:
Have you got any resources for how to run 3G and Wifi at the same time?
Click to expand...
Click to collapse
No, not yet.
draffodx said:
From the SDK API's I cant find anything allowing me to turn both 3G and Wifi on.
Click to expand...
Click to collapse
I havent looked into it properly yet. Maybe Harry will answer or if not, try here: http://forum.xda-developers.com/showthread.php?t=474470
draffodx said:
Can you also define what you mean by adhoc/ap mode?
Thanks
Click to expand...
Click to collapse
Adhoc is computer to computer connection, without an access point. Info here: http://compnetworking.about.com/cs/wirelessfaqs/f/adhocwireless.htm
ap is an access point
The difference is(wiki):
Wireless Access Point vs. Ad-Hoc Network
Some people confuse Wireless Access Points with Wireless Ad-Hoc networks. An Ad-Hoc network uses a connection between two or more devices without using a wireless access point: the devices communicate directly when in range. An Ad-Hoc network is used in situations such as a quick data exchange or a multiplayer LAN game because setup is easy and does not require an access point. Due to its peer-to-peer layout, Ad-Hoc connections are similar to Bluetooth ones and are generally not recommended for a permanent installation.
Internet access via Ad-Hoc networks, using features like Windows' Internet Connection Sharing, may work well with a small number of devices that are close to each other, but Ad-Hoc networks don't scale well. Internet traffic will converge to the nodes with direct internet connection, potentially congesting these nodes. For internet-enabled nodes, Access Points have a clear advantage, being designed to handle this load.
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
draffodx said:
Thanks for that atl4ntys!
If you get wifi & 3G working at the same time let me know it would be very interesting.
Good luck with the project
Click to expand...
Click to collapse
hey draffodx, wifi and 3g do work in the same time but the wifi works in client mode not adhoc. the catch is to find out how to get it to work in adhoc mode while an inet connection is established over gsm
*1st post edited. Added possible functionality scenario opinions anyone? Thanks!
Hey atl4ntys,
How are you getting on with this?
draffodx said:
Hey atl4ntys,
How are you getting on with this?
Click to expand...
Click to collapse
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
atl4ntys said:
hey draffdox,
I managed to get it working in the end but I had to base my code on harry's 9.3 http://code.google.com/p/android-wifi-tether/source/browse/#svn/branches/0.9.3
If u want to see my final report, wait a few days as I will upload it online somewhere.
cheers, have a good weekend!
Click to expand...
Click to collapse
Thanks for that atl4ntys, excellent read, its a pity it still cant be done on a non rooted phone
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
harry_m said:
I'm one of the authors of "Wireless Tether for Root Users".
Harry
Click to expand...
Click to collapse
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible.
The problem is Poxoid is written in java, and slow down the internet connection from the phone. I'm downloading at about 100kB without proxoid, and only 20-30KB with.
I'm asking you if you know another program that does same thing (user agent rewriting) , easy to install for rooted android phones, or why not include that fonctionnailty to Wifi Tether?
Thanks for Wifi Tether, nice program !
is this - (the above posts)
a form of uma or gan???
mikob2d said:
Hi Harry, i'm using your software, all work fine except i have to use "proxoid" to re-write the user-agent. When not using it, no web surfing for my computer is impossible....
Click to expand...
Click to collapse
Hey mikob2d, I think its best if u send him a private msg or if u contact him here http://code.google.com/p/android-wifi-tether/
Don't think he's monitoring this thread anymore
Rptynan said:
Hey guys,
It's nice to meet some Irish People on this forum,
good luck with the project.
Sorry I can't add anything but I am an Android Developement newbie.(aswell as a java newbie)
I can't wait to see the app.
Click to expand...
Click to collapse
hey 2u2 and welcome here but I finished this project and will not release an open source or a commercial app. The project was way harder than I expected and I had to base my app on Harry's harry's 9.3 version of the app.
I sent u2 a pm with a link to the final technical specs. Hope you'll find the info useful
hello all
i dont even know how to ask…
but this is the project i would like to start:
develop an that will be able to track another phone or gps device based on phone number or some sort of imei or sn
the both devices know about each other… its not something that will run without the knowledge of this devices.
is there a way to do this?
would i need a separate server witch will receive the gps info an pass on to the other device?
Sent from my SGS2 on SB4.4.2
ripnix said:
hello all
i dont even know how to ask…
but this is the project i would like to start:
develop an that will be able to track another phone or gps device based on phone number or some sort of imei or sn
the both devices know about each other… its not something that will run without the knowledge of this devices.
is there a way to do this?
would i need a separate server witch will receive the gps info an pass on to the other device?
Sent from my SGS2 on SB4.4.2
Click to expand...
Click to collapse
I think yes, you need some communication node here.
One device should send id(imei) and position to server, and second will request last position(or all previous positions) by id.
I don't know any other way that can help to archive your goal(direct connection between devices also possible, but you need server anyway )
thank you,
any other suggestions/thoughts ?
I have successfully ported Quectel M95 GSM modem with android 4.0.4 and I can receive and send sms, make calls all phone functionality but to turn on radio I am doing this change in RIL.java file
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
I changed this condition to true
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == true)
so that my radio hardware may turn on and it works for me but I know its not a proper way , my question is why isNetworkSupported() function ever returns false even I have now ported gsm modem and my second question is how I can enable phone functionality so that my tablet will configure as phone so that this
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
returns true.
Quick response will be highly appreciated.
If I'm understanding this correctly - you're trying to get an external USB modem working on a Wifi-only tablet, to make it behave as a device with a mobile radio?
Interesting. A lot of the mobile radio stuff is intentionally left out of builds for wifi devices to save space/build time/reduce number of running services. You might need to take a look at the device tree for a mobile-enabled tablet for hints.
It's only recently that having wifi-only/mobile-capable variants of a device were possible (I believe this is the case with Nexus 9 builds) - you might want to look at this and possibly the recently unified castor+castor_windy trees in Sony AOSP (Omni does not support these devices, but they can be found in sonyxperiadev github)
Entropy512 said:
If I'm understanding this correctly - you're trying to get an external USB modem working on a Wifi-only tablet, to make it behave as a device with a mobile radio?
Interesting. A lot of the mobile radio stuff is intentionally left out of builds for wifi devices to save space/build time/reduce number of running services. You might need to take a look at the device tree for a mobile-enabled tablet for hints.
It's only recently that having wifi-only/mobile-capable variants of a device were possible (I believe this is the case with Nexus 9 builds) - you might want to look at this and possibly the recently unified castor+castor_windy trees in Sony AOSP (Omni does not support these devices, but they can be found in sonyxperiadev github)
Click to expand...
Click to collapse
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
adeelkhan09 said:
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
Click to expand...
Click to collapse
I used debug logs inside isnetworksupported function and now I came to know that in x210_ics_rtm_v13/out/target/common/obj/JAVA_LIBRARIES/framework_intermediates/src/core/java/android/net/IConnectivityManager.java isnetworksupported functions is returning me false following is a part of this code
public boolean isNetworkSupported(int networkType) throws android.os.RemoteException
{
android.os.Parcel _data = android.os.Parcel.obtain();
Log.d("FLOW","mservice.isNetworkSupported " + _data); // added
android.os.Parcel _reply = android.os.Parcel.obtain();
Log.d("FLOW","mservice.isNetworkSupported " + _reply); // added
boolean _result;
try {
_data.writeInterfaceToken(DESCRIPTOR);
_data.writeInt(networkType);
mRemote.transact(Stub.TRANSACTION_isNetworkSupported, _data, _reply, 0);
_reply.readException();
_result = (0!=_reply.readInt());
}
finally {
_reply.recycle();
_data.recycle();
}
Log.d("FLOW","mservice.isNetworkSupported " + _result); // added
return _result;
}
in the above last log I got false value of _result , so If you tell me that how this function gets parcel values and how it is connected with parcels then it would be very helpful for me.
Waiting for your response.
Thanks
adeelkhan09 said:
Thanks for your response.
Yes you understand it correctly but only difference is that I am using UART of my modem.
I didn't understand that where is the device tree for mobile-enabled tablet..?
Is there any simple way where I just change some flag to get whole mobile functionality? like by changing TYPE_MOBILE etc;
Thanks
Regards,
Adeel
Click to expand...
Click to collapse
It's exactly what I said it was - look at the device trees for other tablets with mobile radios (LTE or GSM) for examples. flounder (Nexus 9) is an example of one that I believe supports both LTE and wifi-only in a single build. In fact it's the only one I know of. Nearly all other devices need a special build for LTE vs wifi-only - see device-sony-castor vs. device-sony-castor_windy in sonyxperiadev's github.
Entropy512 said:
It's exactly what I said it was - look at the device trees for other tablets with mobile radios (LTE or GSM) for examples. flounder (Nexus 9) is an example of one that I believe supports both LTE and wifi-only in a single build. In fact it's the only one I know of. Nearly all other devices need a special build for LTE vs wifi-only - see device-sony-castor vs. device-sony-castor_windy in sonyxperiadev's github.
Click to expand...
Click to collapse
Today I followed android_device_sony_castor/ device tree and make some changes on my system.prop, boardconfig.mk and device.mk files according to caster but unfortunately I am not successful then i try to follow device tree of android_device_moto_everest and made some changes accordingly but didn't get success
adeelkhan09 said:
I have successfully ported Quectel M95 GSM modem with android 4.0.4 and I can receive and send sms, make calls all phone functionality but to turn on radio I am doing this change in RIL.java file
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
I changed this condition to true
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == true)
so that my radio hardware may turn on and it works for me but I know its not a proper way , my question is why isNetworkSupported() function ever returns false even I have now ported gsm modem and my second question is how I can enable phone functionality so that my tablet will configure as phone so that this
if (cm.isNetworkSupported(ConnectivityManager.TYPE_MOBILE) == false)
returns true.
Quick response will be highly appreciated.
Click to expand...
Click to collapse
i need your help i also using lineage 16 in grand prime and i get message receiving problem please help me to find out RIL i also want to fix it tell me how to port RIL from other rom please help me tell me file name help me