Hi All,
I am relatively a new user to Android and have recently bought my new Samsung Galaxy Fit mobile phone.
I have my Broadband connection for my PC and am able to make it as a wireless router. So my only job would be connect my phone to my PC's network.
But, I got to know about the limitations we have in Android phones with Ad-hoc networking and hence will have to tweak the settings, which first requires rooting into the phone.
So, what I am looking for is a way to root into my mobile and if available a complete reference on how to connect to any ad-hoc network that is available.
Thanks so much..! Any response is highly appreciated.
Balachandra said:
Hi All,
I am relatively a new user to Android and have recently bought my new Samsung Galaxy Fit mobile phone.
I have my Broadband connection for my PC and am able to make it as a wireless router. So my only job would be connect my phone to my PC's network.
But, I got to know about the limitations we have in Android phones with Ad-hoc networking and hence will have to tweak the settings, which first requires rooting into the phone.
So, what I am looking for is a way to root into my mobile and if available a complete reference on how to connect to any ad-hoc network that is available.
Thanks so much..! Any response is highly appreciated.
Click to expand...
Click to collapse
You could use an app such as the one attached. Download and install the attached file and try it. Hope it helps.
Thanks Theonew for your response, but unfortunately the Z4root doesn't seem to work.
I installed it and tried runnin the app, it runs for a while and then auto disappears. I assume that this should have worked but unfortunately when I type "su" in the Terminal it shows Permission denied again.
Little more help..
Balachandra said:
Thanks Theonew for your response, but unfortunately the Z4root doesn't seem to work.
I installed it and tried runnin the app, it runs for a while and then auto disappears. I assume that this should have worked but unfortunately when I type "su" in the Terminal it shows Permission denied again.
Little more help..
Click to expand...
Click to collapse
Try the other app uploaded in my previous post. If it still doesn't work, then go here: http://forum.xda-developers.com/showthread.php?t=803682 and see if this works.
Hi Theonew,
Thanks for the link. I used SuperOneClick and it worked well.
Now, as I read in many articles I tried using a wpa_suppliant patch to detect the ad hoc networks but this does not seem to detetc any.
Can you please link me to any article if available
Balachandra said:
Hi Theonew,
Thanks for the link. I used SuperOneClick and it worked well.
Now, as I read in many articles I tried using a wpa_suppliant patch to detect the ad hoc networks but this does not seem to detetc any.
Can you please link me to any article if available
Click to expand...
Click to collapse
Try this thread: http://forum.xda-developers.com/showthread.php?t=754961. Hope this helps.
I've been searching through the posts but I can't seem to find an answer.
I've found a post suggesting that the following should work: adb shell "echo 1 > /sys/class/usb_composite/rndis/enable"
When I try it, it says that the file/directory doesn't exist.
The post is also about a year old, so I didn't want to reopen an old thread.
Besides how to enable usb tethering through adb, I was wondering if it is possible to still use adb to connect to the phone while usb tethering is enabled. currently when I enable usb tethering through the phone, adb does not detect the phone anymore.
I saw a few posts saying that it is possible but their methods usually involve an app or buying an app. Is there a way to accomplish this without using an app?
Thanks for help
TKH1218 said:
I've been searching through the posts but I can't seem to find an answer.
I've found a post suggesting that the following should work: adb shell "echo 1 > /sys/class/usb_composite/rndis/enable"
When I try it, it says that the file/directory doesn't exist.
The post is also about a year old, so I didn't want to reopen an old thread.
Besides how to enable usb tethering through adb, I was wondering if it is possible to still use adb to connect to the phone while usb tethering is enabled. currently when I enable usb tethering through the phone, adb does not detect the phone anymore.
I saw a few posts saying that it is possible but their methods usually involve an app or buying an app. Is there a way to accomplish this without using an app?
Thanks for help
Click to expand...
Click to collapse
http://stackoverflow.com/questions/16631185/how-to-turn-wifi-on-using-adb-or-any-other-way-when-usb-debugging-is-disabled
do it through changing settings from adb
This is just a small guide on how to flash Nexus 5 D820 (US version) from Sprint to other CDMA carriers. Please mind that this is a trial and error guide which I tried many times before I succeeded flashing my Nexus 5. So if there are some mistakes that needed to be corrected , please tell me and I won't mind .
So let's begin: First, you need to root your Nexus 5. I will not provide on how to root it since there are lots of guides out there if you google it. Ok, after that you need to install the Nexus 5 Windows driver which you can download it from here: http://drivers.softpedia.com/get/MOBILES/LG/LG-United-Mobile-Driver-381.shtml
Since LG Nexus 5 doesn't have dial code for diag mode we have to flash diag mode boot img file which you can download from here: http://forum.xda-developers.com/attachment.php?attachmentid=2421929&d=1385715923
You can use Flashify which can be downloaded from Google Play Store to flash the img file. The phone will reboot after you flash it.
Ok, after all that you can connect the Nexus 5 to the pc/notebook using the usb data cable. Usually Windows will automatically install all the drivers for the Nexus 5 once you connect it. Oh, don't forget to enable the USB debugging mode from the developer options menu.
After all the needed drivers have been installed, we will enter the rather complicated on how to use adb shell command. You all can read the guides here: http://forum.xda-developers.com/showthread.php?t=2514396
There will be SDK Tools which you have to download for Windows. The guide will tell you all on how to install it.
For the flashing tools, we need:
1) CDMA Workshop 3.9
2) DFS tools
3) QPST
All these tools you have to find/buy them by your own since I can't provide them. Sorry.
Ok let's enter into diag mode. Go into command prompt window and type:
adb shell
then type:
su
(here the $ sign will change into #)
and then type:
setprop sys.usb.config diag,adb
Ok we should be in diag mode now. We will use CDMA workshop first. Set the port. and then click connect. We will find the SPC code and change it. Go into the security tab. In SPC/user lock , let's change the Default (NV_read) into LG method. and click read. We will see some numbers in the box. We will click the SPC button now, there will be a writing like this: Write "000000". Choose that. And SPC code has been changed from those confusing numbers into simple numbers 000000. We succeeded unlocking the SPC. Click reset on the right top corner (it looks like reload button). After that reboot your Nexus 5.
Get into diag mode again. Open your CDMA Workshop again. Connect. Get into memory tab. Go into NV-items. Write nv-item which you can download from: http://www.cricketusers.com/sprint-lg-optimus-s/16145-optimus-s-cdma-ws-3-x-nv-items.html
Ok choose reset and then reboot your phone again.
Get into diag mode again as usual. We will use DFS software now. Choose port. Connect. And click SPC which usually written down 000000. It will unlock the phone so we can write down settings into it. All right in here go to Programming tab where you need to enter all your MDN, MIN, Akey, PRL, etc informations which you can get from your own carriers/operators. If using DFS is confusing, please read the guide first. I am sure you can find some in google .
Ok if everything is written and you press reset on DFS. Reboot your phone. Usually after this you can use your phone for calling and sending SMS text. Oh, don't forget to insert a simcard in your phone. Usually just put a GSM card. This phone can be used for either CDMA or GSM. There will be a new menu in mobile network. LTE-3G-1x-Global(GSM).
But the 3G EVDO for data connection will not work at this stage. So we will use QPST software. Use the latest QPST software 2.7 built. Connect and as usual you have to enter SPC code. Go into PPP config tab. There you will go into Um tab. Check if our user id is the same as the user id as given by your own carrier or is it still filled by Sprint's user id? If the Sprint's id is still written there, go into the user id box and press ctrl-d from your keyboard to wipe the Sprint's ID. And then do the same thing in AN tab. After all that, press write to phone. Reboot your Nexus 5.
Get into the diag mode again...hope you guys don't get tired of it though :laugh: Open QPST, read from your phone, get into PPP config. Go into Um tab and the user id box should be empty now. Fill it with your user id and password too. And do the same thing in AN tab. Go into M.IP tab and check if profile 1 (ignore profile 0) is enable. get into it and check if both NAI and Tethered NAI are written with our own user id. Write to phone and reboot your phone.
We will wait for a few minutes......and usually 3G EVDO sign will come up. Go into About Phone, take a look in Status is it written: CDMA-Evdo rev. A....if it is congrats, you have successfully flash your phone with your own carrier. :laugh:
Hopefully this guide will help you guys. I know it's a bit confusing. Hey it's my first time writing a guide....If there's any mistake that I made, please don't hesitate to tell me. Thanks guys.
hendrali said:
This is just a small guide on how to flash Nexus 5 D820 (US version) from Sprint to other CDMA carriers. Please mind that this is a trial and error guide which I tried many times before I succeeded flashing my Nexus 5. So if there are some mistakes that needed to be corrected , please tell me and I won't mind .
So let's begin: First, you need to root your Nexus 5. I will not provide on how to root it since there are lots of guides out there if you google it. Ok, after that you need to install the Nexus 5 Windows driver which you can download it from here: http://drivers.softpedia.com/get/MOBILES/LG/LG-United-Mobile-Driver-381.shtml
Since LG Nexus 5 doesn't have dial code for diag mode we have to flash diag mode boot img file which you can download from here: http://forum.xda-developers.com/attachment.php?attachmentid=2421929&d=1385715923
You can use Flashify which can be downloaded from Google Play Store to flash the img file. The phone will reboot after you flash it.
Ok, after all that you can connect the Nexus 5 to the pc/notebook using the usb data cable. Usually Windows will automatically install all the drivers for the Nexus 5 once you connect it. Oh, don't forget to enable the USB debugging mode from the developer options menu.
After all the needed drivers have been installed, we will enter the rather complicated on how to use adb shell command. You all can read the guides here: http://forum.xda-developers.com/showthread.php?t=2514396
There will be SDK Tools which you have to download for Windows. The guide will tell you all on how to install it.
For the flashing tools, we need:
1) CDMA Workshop 3.9
2) DFS tools
3) QPST
All these tools you have to find/buy them by your own since I can't provide them. Sorry.
Ok let's enter into diag mode. Go into command prompt window and type:
adb shell
then type:
su
(here the $ sign will change into #)
and then type:
setprop sys.usb.config diag,adb
Ok we should be in diag mode now. We will use CDMA workshop first. Set the port. and then click connect. We will find the SPC code and change it. Go into the security tab. In SPC/user lock , let's change the Default (NV_read) into LG method. and click read. We will see some numbers in the box. We will click the SPC button now, there will be a writing like this: Write "000000". Choose that. And SPC code has been changed from those confusing numbers into simple numbers 000000. We succeeded unlocking the SPC. Click reset on the right top corner (it looks like reload button). After that reboot your Nexus 5.
Get into diag mode again. Open your CDMA Workshop again. Connect. Get into memory tab. Go into NV-items. Write nv-item which you can download from: http://www.cricketusers.com/sprint-lg-optimus-s/16145-optimus-s-cdma-ws-3-x-nv-items.html
Ok choose reset and then reboot your phone again.
Get into diag mode again as usual. We will use DFS software now. Choose port. Connect. And click SPC which usually written down 000000. It will unlock the phone so we can write down settings into it. All right in here you need to enter all your MDN, MIN, Akey, PRL, etc informations which you can get from your own carriers/operators. If using DFS is confusing, please read the guide first. I am sure you can find some in google .
Ok if everything is written and you press reset on DFS. Reboot your phone. Usually after this you can use your phone for calling and sending SMS text. Oh, don't forget to insert a simcard in your phone. Usually just put a GSM card. This phone can be used for either CDMA or GSM. There will be a new menu in mobile network. LTE-3G-1x-Global(GSM).
But the 3G EVDO for data connection will not work at this stage. So we will use QPST software. Use the latest QPST software 2.7 build 422. Connect and as usual you have to enter SPC code. Go into PPP config tab. There you will go into Um tab. Check if our user id is the same as the user id as given by your own carrier or is it still filled by Sprint's user id? If the Sprint's id is still written there, go into the user id box and press ctrl-d from your keyboard to wipe the Sprint's ID. And then do the same thing in AN tab. After all that, press write to phone. Reboot your Nexus 5.
Get into the diag mode again...hope you guys don't get tired of it though :laugh: Open QPST, read from your phone, get into PPP config. Go into Um tab and the user id box should be empty now. Fill it with your user id and password too. And do the same thing in AN tab. Go into M.IP tab and check if profile 1 (ignore profile 0) is enable. get into it and check if both NAI and Tethered NAI are written with our own user id. Write to phone and reboot your phone.
We will wait for a few minutes......and usually 3G EVDO sign will come up. Go into About Phone, take a look in Status is it written: CDMA-Evdo rev. A....if it is congrats, you have successfully flash your phone with your own carrier. :laugh:
Hopefully this guide will help you guys. I know it's a bit confusing. Hey it's my first time writing a guide....If there's any mistake that I made, please don't hesitate to tell me. Thanks guys.
Click to expand...
Click to collapse
ok nice info. can u clarify ll flashing clears all apps & phone ? need to take backup ? probably a noob question.
No, it will not wipe out any of your app. But you are welcome to backup your phone first
Sent from my Nexus 5 using XDA Premium 4 mobile app
hendrali said:
No, it will not wipe out any of your app. But you are welcome to backup your phone first
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
is cdma workshop must ? coz i dont have or cant buy it. dfs itselfs allows read & write of spc.
getting PRL is also prob. tried cant find for cdma service provider. any other option ?
---------- Post added at 08:20 PM ---------- Previous post was at 07:29 PM ----------
madroamer said:
is cdma workshop must ? coz i dont have or cant buy it. dfs itselfs allows read & write of spc.
getting PRL is also prob. tried cant find for cdma service provider. any other option ?
Click to expand...
Click to collapse
i flashed the device. i can see nexus 5 under devices in ddevice manager. all drivers installed. no issue.
i opened command prompt and type adb shell... den su...
wen i type setprop sys.usb.config diag,adb nexus 5 disappears in devices but doesnt show in any ports ...!!!!!!! y so ? how to rectify this
Hi could you please clarify me what do you get when doing this operation? I was looking into a way to use 4g in Europe from the nexus 5 d820 version, since here the channels used are not supported by this version. I suppose this tutorial doesn't have anything to do with the lte channels é hehe.
Thx
Sent from my Nexus 10 using Tapatalk
Hey,
Very nice detailed guide, I'm sure it will help a lot of people looking to flash their N5s.
Thanks.
Sent from my Nexus 5 using Tapatalk
leonux said:
Hi could you please clarify me what do you get when doing this operation? I was looking into a way to use 4g in Europe from the nexus 5 d820 version, since here the channels used are not supported by this version. I suppose this tutorial doesn't have anything to do with the lte channels é hehe.
Thx
Sent from my Nexus 10 using Tapatalk
Click to expand...
Click to collapse
Sorry this guide is only for flashing CDMA.
madroamer said:
is cdma workshop must ? coz i dont have or cant buy it. dfs itselfs allows read & write of spc.
getting PRL is also prob. tried cant find for cdma service provider. any other option ?
---------- Post added at 08:20 PM ---------- Previous post was at 07:29 PM ----------
i flashed the device. i can see nexus 5 under devices in ddevice manager. all drivers installed. no issue.
i opened command prompt and type adb shell... den su...
wen i type setprop sys.usb.config diag,adb nexus 5 disappears in devices but doesnt show in any ports ...!!!!!!! y so ? how to rectify this
Click to expand...
Click to collapse
Ok for the SPC try this app which u can download from here: http://forum.xda-developers.com/showthread.php?t=2394499
I haven't tried it yet, but I hope it will work for you. Read the SPC first and then write 000000. Hope it helps. As for the PRL, you have to have it or else it will not work. Ask your carrier/operator or search it in Google.
And for the adb shell....what happen when u type su? does the $ sign change into # sign?
hendrali said:
Ok for the SPC try this app which u can download from here: http://forum.xda-developers.com/showthread.php?t=2394499
I haven't tried it yet, but I hope it will work for you. Read the SPC first and then write 000000. Hope it helps. As for the PRL, you have to have it or else it will not work. Ask your carrier/operator or search it in Google.
And for the adb shell....what happen when u type su? does the $ sign change into # sign?
Click to expand...
Click to collapse
s boss it does change to $ sign. den only typed the code...i cant get in ports
hendrali said:
Use the latest QPST software 2.7 build 422.
Click to expand...
Click to collapse
Hello, fellow QPST users.
QPST 2.7 Build 4.2.2 is a fake version with keylogger.
Some a$$hole downloaded latest public QPST build (4.0.2) and decompiled MSI installer package, then edited all "4.0.2" to "4.2.2", added "fake changelog", added keylogger (qualcomm.exe), then repackaged and spread around web!
Everyone who downloaded QPST build "4.2.2" should change all his passwords.
More info about malware from fake 4.2.2 build (QPST.2.7.422.msi)
MSI package (QPST.2.7.422.msi) was embedded/tampered with qualcomm.exe which is a .NET based malware that logs your keystrokes and sends it to attacker's server.
How to delete the actual malware from your system?
Look at the startup from msconfig or CCleaner, there should be a file called qualcomm.exe thats set to start everytime system starts. Delete both registry and file.
If you wanted to see what data thief was stolen from you. Just open the .dc file (in "dclogs" folder) with Notepad and see for yourself.
In XP, dc file is located here!
C:\Documents and Settings\Administrator\Application Data\dclogs
there should be a file called "201X-XX-XX-X.dc
if you open that DC files with Notepad, you'll see all your keystrokes.
Here is mine. I've intentionally entered paypal site with fake info.
:: Run (3:01:51 AM)
Script kiddie. NET Based malware, huh?[ESC]
:: Program Manager (3:02:14 AM)
e
:: Firefox (3:02:18 AM)
www.paypal.com
[email protected][TAB]
mypaypalpass
[ENTER]
:: Documents and Settings (3:02:19 AM)
[UP]
:: Administrator (3:02:28 AM)
[DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN]
[DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN][DOWN]
d
:: (3:02:34 AM)
:: Administrator (3:02:34 AM)
d
:: (3:03:11 AM)
mmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm
:: [Release] QPST 2.7 BUILD 422 - Download Here - Enjoy - Mozilla Firefox (3:03:57 AM)
crap
How to delete?d
:: Clipboard Change : size = 16 Bytes (3:03:57 AM)
QPST.2.7.422.msi
:: (3:04:23 AM)
cccccc
Click to expand...
Click to collapse
Keylogger sends the logs from keylogger to "qpst.hopto.me"
So please report about this incident where and when you encounter QPST 4.2.2 somewhere (forums, posts, sharing-sites, etc)
Copy my whole post and paste it where you see 4.2.2 mentioned.
Bonus: Fake Changelog
If you've installed this 422 build, then open the Readme.txt in C:\Program Files\Qualcomm\QPST\Documents
Scroll down and see the "6/12/13 QPST 2.7.422 changelog"
6/12/13 QPST 2.7.422
1) EFS Hello commands will not be sent unless the device is in a compatible mode. Sending this command when the
device is in download mode can cause a "server busy" message for a few seconds because of command retries.
2) Support for the Sahara device protocol (see 80-N1008-1 or equivalent) is now built in to the QPST server process.
This protocol is only supported by USB Serial ports, not TCP/IP connections. In QPST Configuration a device in
this mode will display as "Q/QCP-XXX (Sahara Download)". This mode can only be detected (1) when the QPST server
process starts or a COM port in this mode added to QPST, or (2) when a device enters Sahara mode on a port assigned
to QPST. This is because the device only sends its Hello message once, as soon as the COM port is opened.
Click to expand...
Click to collapse
Changelog above is actually cloned from QPST 2.7.394 Just scroll down and see Build 2.7.394 changelog. Its same!
So forget about Build 422. It doesn't exist.
Use QPST 2.7 Build 402. It's the latest public build
Sorry about my english
Best Regards
AnycallMongolia
Ok. Thanks for giving this info about the QPST 4.2.2. I didn't know it was a fake one. Luckily i checked mine didn't have the virus. I guess someone cleaned up the version that i downloaded somehow.
Sent from my Nexus 5 using XDA Premium 4 mobile app
hendrali said:
Ok. Thanks for giving this info about the QPST 4.2.2. I didn't know it was a fake one. Luckily i checked mine didn't have the virus. I guess someone cleaned up the version that i downloaded somehow.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Uh, no! You've just been told it's a fake. Get the official one until told otherwise would be my recommendation
Yup i guess so. I will download the latest official release then. I will edit my post so no one will download the fake one.
Sent from my Nexus 5 using XDA Premium 4 mobile app
Flashing My N5 To Boost (maybe...lol)
I really want to flash mine to Boost but I since I only want to do one phone I don't want to purchase CDMA workshop to do it and the free edition (2.7) lets you get the SPC but won't let me write the NV items. Is there another program that will let me write the NV items, one that doesn't cost $100
Also, I want to flash mine to Boost Mobile and wondered if anyone out there has done it and succeeded. I sent mine to a phone flasher and at first he said he could do it then sent it back telling me he couldn't. So I paid $360 for a phone thats just sitting there...LOL
s me too waiting for a s/w free to use to write NV & misc
Did u guys try this one yet? http://forum.xda-developers.com/showthread.php?t=2394499
Sent from my Nexus 5 using XDA Premium 4 mobile app
no new port or lg.... shows in com/port in device manager
wat is the reason ?
device is otherwise fine with response to commands...
using windows 8. pl help
i even tried in win 7. after type setprop ... no change...no new port opens...
tried for so many time...some one help to identify issue
This is AWESOME news!!! Now I do have one question... If we were to flash the N5 to our carrier (nTelos in this case) and I put in my LTE sim card, will it activate on LTE, or will it only work with the 3G CDMA portion? - I know that with the nTelos iPhones, they can be activated on standard CDMA and work on 3G, then when you insert a sim card, it updates the carrier settings automatically, and it starts working on LTE. Is that the same case here?
EddyOS said:
Uh, no! You've just been told it's a fake. Get the official one until told otherwise would be my recommendation
Click to expand...
Click to collapse
where?
Whe last I looked all I found was on forums like XDA.?
BTW there's a post somewhere (can;t remeber exactly, it's either Nexu 5 or 4 or some other LG phones forum ) that shows you how to get the SPC,
resign all the APK that come with the blobs
OmaDmclient.apk,SprintHiddenMenu.apk,Term.apk,TimeService.apk,UpdateSetting.apk,qcrilmsgtunnel.apk,shutdownlistener.apk
with the platform key (if on stock rom no need anything else AOSP based you have to resign then with the platform key which is the testkey -the one everyone uses to signe zips)
and Nexus 5 test field from the play store
and o/c ADB
EDIT: to get SPC
http://forum.xda-developers.com/showthread.php?t=2515798
*#*#3282#*#* doesn't work
so you'll need http://forum.xda-developers.com/showthread.php?t=2524744
or simply in adb type "am start -n com.lge.SprintHiddenMenu/.sprintspec.Debug"
to arrive to the "6. Select "LTE/Edit" again."
you need stock rom for that unless you resign the apk I mentionned above.
We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
An interesting problem...
davidmore said:
We know that Android L Preview release have same issues : One of this is Wifi/USB Tethering not works.
I find on xda a temporary fix for this issue (thanks buraktamturk) http://forum.xda-developers.com/showpost.php?p=54067884&postcount=3041
I simply done a shell script that give you and install the default gateway ip for your active data connection.
So every time you active a new data connection and you must done a tethering Wifi/USB condivision,
remember to run before this script.
Whats you need for make it work.
FIRST INSTALLATION
Your device must be rooted and you must have busybox installated link: https://play.google.com/store/apps/details?id=stericson.busybox&hl=en
Install Root Explorer from play store (is not free) https://play.google.com/store/apps/details?id=com.speedsoftware.rootexplorer&hl=en
You need it for execute wifi-tethering-lpv-fix.sh (you can also use terminal emulator even if you need more steps)
Download and Unzip the script attached and save it on your Nexus5 folder (i.e. /system) and give permission rwx (read-write-execute) with root explorer apk. (or chmod 777 wifi-tethering-lpv-fix.sh with terminal emulator)
RUN WIFI/USB TETHERING SCRIPT
After that every time you start a new data connection done this steps:
1. Run wifi-tethering-lpv-fix.sh with Root exlorer apk
2. Enable and disable tethering ; After that re-enable it. (this step is important otherwise dhcp server is not started - internal bug from Android L preview)
Now your USB or WIFI tethering connection would be work.:good:
Click to expand...
Click to collapse
Ok, so between your post and the other fix that you have posted, i have had SOME success, but is this significant?
I have a Nexus 5, that generally has a sim card i use primarily for data, which is on Aldimobile (MVNO using the Telstra 3g network), at the time i first tried this, i had an Amaysim (MVNO using Optus 3g network) inserted. So heres what happened -
I first followed your procedure (Amaysim card inserted, unsure how or if this is significant) , which allowed me to create a wifi hotspot connection between the laptop and the mobile. The effect was actually almost immediate when i ran your script. This did not allow any data throughput.
I then used the procedure you have provided in your link above, and bamf, i had a working wifi tether connection. Easy as pie.
I can report that it is repeatable, and you can enable then disable tether at will, until you reset the phone, and you have to go through the whole shebang again (i presume due to your mobile provider updating your ip address)
BUT - I then wanted to use my Aldi mobile in it, as the Amaysim is the one i generally use in my general purpose mobile, so i slapped the Aldi sim into the mobile... and.... nothing.
No amount of fiddling around with resetting the tether, changing settings, your script, the other script, would allow either a tether or data throughput.
Any ideas?
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Awesome
davidmore said:
No need more this my script !! New Android pre-relase lollipox (LPX13D) have fixed it. Wi-fi and USB thethering works no more bug
Click to expand...
Click to collapse
Cheers for that info, i hadnt found anything mentioning updates fixing this. Ill go download it.
Thanks for the quick reply, and good work.
This is a massive bump but it might help someone:
I had an issue on my Nexus 5X running 7.1.2 (beta), it had the same symptoms as OP; no default gateway, WiFi & USB tethering not working
Ran this script and now it works again, so the bug has either returned or wasn't fully fixed
How do I spoof a mac address on my OnePlus One?
It seems to be impossible. The usual apps fail and so does a manual ifconfig shell.
Anyone got a clue on this? Help would be really appreciated.
Same problem
I need to spoof MAC adress on my OPO, i've tired all the apps but everytime the MAC seems changed succesfully but when i try to connect to my router, the phone have issues to autenticate. My router has only a wpa, and in the android WIFI menu i see: "saved" on the connection.
bump
Bump
Bump
Bump
Bump
Bump
Bump
SOLUTION!!
Ok, i've been searching for month how to spoof MAC address on our device, but anybody helped me.
So i've tried all possible steps to change the MAC address and finally i've done it!
Here's the procedure i've followed:
1. (Requirements) Have a rooted device. (i don't know if busybox is required but in doubt, install it)
2. Install a file manager (Root explorer reccomended)
3. Go in settings, wifi, tap the three point at bottom right, advanced, and disable "scanning always avaible"
4. Open Root Explorer and go in this directory: /sys/devices/fb000000.qcom.wcnss-wlan and you'll find a file called: "wcnss_mac_addr"
5. Open "wcnss_mac_addr" with text editor
6. you'll see only your current MAC address. You can just edit it (edit only last digit recomended) and Save changes.
7. Disable and re-enable Wifi, and you've just edited your MAC address! Enjoy
Important: The Mac address will restore as default everytime you reboot your phone.
sorry for the basic english because i'm italian, if you have any question please ask me.
I hope i've helped you.