yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] fbcyborg:
Thank you.

By the way... When rndis was working for me too, I was using NetworkManager too.

Since I use KDE4 now, I can't use KNetworkManager. I use wicd now, that makes the same things that KNetworkManager does. It should bring ethX interfaces up without any problem. The only difference is that /etc/init.d/net.XX must not exist or wicd won't work.

Furthermore, also when NetworkManager was installed on my notebook, net.eth1 was not present. So I don't think it could be a problem.

I have to find out what are all the necessary modules to get it working.
[Windows Mobile Software Development] gundamned:
I think the modules you need are these:

rndis_host 6896 0

cdc_ether 4504 1 rndis_host

usbnet 15348 2 rndis_host,cdc_ether

mii 4704 1 usbnet

it is taken from the 'lsmod' output, on the right there are the dependencies.

See you
[Windows Mobile Software Development] fbcyborg:
Thank you.

Yes, I now these are the modules I need and they have been compiled actually, but I still have problems :(
[Windows Mobile Software Development] LordLandon:
Fixed it.

Run

$ wget -qO- http://sprunge.us/BSjF | patch

before running make for rndis-lite.
[Windows Mobile Software Development] fbcyborg:
Thank you.

The patch corrects the first problem, but I have another one:

make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo-r5'
CC [M] /var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/usbnet.o
CC [M] /var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.o
CC [M] /var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.o
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.c: In function 'usbnet_generic_cdc_bind':
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.c:113: error: implicit declaration of function 'is_wireless'
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c: In function 'rndis_tx_fixup':
/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/rndis_host.c:664: warning: assignment makes integer from pointer without a cast
make[2]: *** [/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11/cdc_ether.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [_module_/var/tmp/portage/sys-fs/usb-rndis-lite-0.11/work/usb-rndis-lite-0.11] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r5'
make: *** [default] Error 2

So this is what happen when I make after applying the patch.

By the way: shouldn't be the USB-RNDIS driver inside the linux kernel working?

I could use that instead of compiling usb-rndis.

Finally, I'm compiling usb-rndis-lite-0.11. Should it be another version?
[Windows Mobile Software Development] famewolf:
If you did the "svn co ...." in the first instructions it should have created a "usb-rndis-lite" directory with the latest version. Running the patch against that gives a clean compile with no errors.

i530:/workarea/usb-rndis-lite # wget -qO- http://sprunge.us/BSjF | patch
patching file rndis_host.c
patching file usbnet.c
i530:/workarea/usb-rndis-lite # make
make -C /lib/modules/2.6.31.5-0.1-default/build SUBDIRS=/home/workarea/usb-rndis-lite modules
make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default'
make -C ../../../linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default/. modules
CC [M] /home/workarea/usb-rndis-lite/usbnet.o
CC [M] /home/workarea/usb-rndis-lite/cdc_ether.o
CC [M] /home/workarea/usb-rndis-lite/rndis_host.o
/home/workarea/usb-rndis-lite/rndis_host.c: In function ‘rndis_tx_fixup’:
/home/workarea/usb-rndis-lite/rndis_host.c:664: warning: assignment makes integer from pointer without a cast
Building modules, stage 2.
MODPOST 3 modules
CC /home/workarea/usb-rndis-lite/cdc_ether.mod.o
LD [M] /home/workarea/usb-rndis-lite/cdc_ether.ko
CC /home/workarea/usb-rndis-lite/rndis_host.mod.o
LD [M] /home/workarea/usb-rndis-lite/rndis_host.ko
CC /home/workarea/usb-rndis-lite/usbnet.mod.o
LD [M] /home/workarea/usb-rndis-lite/usbnet.ko
make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default'
i530:/workarea/usb-rndis-lite # make install
make -C /lib/modules/2.6.31.5-0.1-default/build SUBDIRS=/home/workarea/usb-rndis-lite modules_install
make[1]: Entering directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default'
make -C ../../../linux-2.6.31.5-0.1 O=/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default/. modules_install
INSTALL /home/workarea/usb-rndis-lite/cdc_ether.ko
INSTALL /home/workarea/usb-rndis-lite/rndis_host.ko
INSTALL /home/workarea/usb-rndis-lite/usbnet.ko
DEPMOD 2.6.31.5-0.1-default
make[1]: Leaving directory `/usr/src/linux-2.6.31.5-0.1-obj/x86_64/default'
depmod -ae
WARNING: -e needs -E or -Fi530:/workarea/usb-rndis-lite #
i530:/workarea/usb-rndis-lite # ls
cdc_ether.c cdc_ether.o modules.order .rndis_host.ko.cmd .svn usbnet.mod.c
cdc_ether.ko .cdc_ether.o.cmd Module.symvers rndis_host.mod.c .tmp_versions usbnet.mod.o
.cdc_ether.ko.cmd clean.sh ndis.h rndis_host.mod.o usbnet.c .usbnet.mod.o.cmd
cdc_ether.mod.c Kbuild reload.sh .rndis_host.mod.o.cmd usbnet.h usbnet.o
cdc_ether.mod.o Makefile rndis_host.c rndis_host.o usbnet.ko .usbnet.o.cmd
.cdc_ether.mod.o.cmd Module.markers rndis_host.ko .rndis_host.o.cmd .usbnet.ko.cmd

Thank you LordLandon for the patch. I'll edit the first post to show to run your patch if their kernel is 2.6.31 or higher.
[Windows Mobile Software Development] fbcyborg:
Excuse me but I'making some confusion.

I tried that patch both on the 0.11 and svn version.

The result is the same. Maybe I'm missing something, but what version of usb-rndis-lite are you compiling?

EDIT:

This is what I do:

wget http://downloads.sourceforge.net/synce/usb-rndis-lite-0.11.tar.gz
tar xzvf usb-rndis-lite-0.11.tar.gz
cd usb-rndis-lite-0.11
wget -qO- http://sprunge.us/BSjF | patch
make

And this is what I get:

make -C /lib/modules/2.6.31-gentoo-r5/build SUBDIRS=/home/fbcyborg/tmp/usb-rndis-lite-0.11 modules
make[1]: Entering directory `/usr/src/linux-2.6.31-gentoo-r5'
CC [M] /home/fbcyborg/tmp/usb-rndis-lite-0.11/usbnet.o
CC [M] /home/fbcyborg/tmp/usb-rndis-lite-0.11/cdc_ether.o
/home/fbcyborg/tmp/usb-rndis-lite-0.11/cdc_ether.c: In function 'usbnet_generic_cdc_bind':
/home/fbcyborg/tmp/usb-rndis-lite-0.11/cdc_ether.c:113: error: implicit declaration of function 'is_wireless'
make[2]: *** [/home/fbcyborg/tmp/usb-rndis-lite-0.11/cdc_ether.o] Error 1
make[1]: *** [_module_/home/fbcyborg/tmp/usb-rndis-lite-0.11] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.31-gentoo-r5'
make: *** [default] Error 2

What I am mistaking?

I also tried to do the steps indicated in the first post, but I still get the same error.
[Windows Mobile Software Development] famewolf:
Run these commands EXACTLY as they are (from the first post). Do not do a wget. Do not change them. Run them one at a time and make sure you don't get an error on any of them. If make continues to fail then gentoo has applied a patch to the kernel source that is incompatible with the patch provided. I keep telling you to use the svn co (subversion checkout) command to get the latest version of the source code from synce but you keep showing me that your using that 0.11 version.

Run (one at a time):

svn co [url]https://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite[/url]
cd usb-rndis-lite/
wget -qO- [url]http://sprunge.us/BSjF[/url] | patch
make
sudo ./clean.sh
sudo make install
[Windows Mobile Software Development] fbcyborg:
No, it doesn't depend on gentoo patches.

I've just tried vanilla-sources (no patches are applied from gentoo team), and I get the same result. Same error! It's making me crazy!!!!

I am on a amd64 architecture. Could it be a problem?
[Windows Mobile Software Development] famewolf:
Shouldn't be. I'm on an x86_64 architecture and that would be the only difference. Did you try googling on the "is_wireless" error you're getting?
[Windows Mobile Software Development] famewolf:
From the first result on google:

http://old.nabble.com/cdc_ether.c:1...ion-of-function-‘is_wireless’-td18298443.html

Re: cdc_ether.c:113: error: implicit declaration of function declaration of function ‘is_wireless’

Click to flag this post

by John Carr-3 Jul 06, 2008; 10:46am :: Rate this Message: - Use ratings to moderate (?)

Reply | Reply to Author | Print | View Threaded | Show Only this Message

I know that bug well. I actually consider it a feature, because it makes it clear that you have the wrong kernel settings. Otherwise cdc_ether compiles without windows mobile and everything else fails silently.

Basically, there is a section like this:

#if defined(CONFIG_USB_NET_RNDIS_HOST) || defined(CONFIG_USB_NET_RNDIS_HOST_MODULE)

// you need this

#else

// but you're getting this

#endif

So if you enable CONFIG_USB_RNDIS_HOST_MODULE in your kernel config, this should build OK. This is default on most distros, with Gentoo the old exception i'm so far aware of. I guess Debian armel has a smaller kernel by default?

We could just remove the #ifdef, but we are trying to stay somewhat in sync with the kernel.

John
[Windows Mobile Software Development] fbcyborg:
THANK YOU!

Compiling the USB_RNDIS_HOST module, solved the problem.

Now Internet sharing connection works like a charm!

Just a question: why the RNDIS drivers included into the kernel don't work?

EDIT: I also created a new ebuild for gentoo users, and attached the patch to the bug report.
[Windows Mobile Software Development] gundamned:
I am using the RNDIS drivers included into the kernel 2.6.31.5, and they work nicely. I am using vanilla kernel got from kernel.org, and compiled using the common practics, no patch at all.

What is the problem you are getting with kernel rndis modules?
[Windows Mobile Software Development] fbcyborg:
No interfaces come up and it seems my PDA isn't recognized. But I have to try again. I am waiting for the new release of KNetworkManager.
[Windows Mobile Software Development] qkzoo:
Noob

Ok, please bear with me. I have a PC that I just installed Ubuntu 9.1 onto. I have no experience with Linux whatsoever, this IS my learning experience here. On my Windows machine, I can hook up my phone and boom, I'm on the internet as long as internet sharing is enabled on my phone. On the Ubuntu box, I hook the phone up to USB, enable internet sharing, and wa-la, I'm connected, or so it seems. When in Firefox or Google Chrome, I can visit "Google" sites, but that's it. Any attempt to visit another website eventually times out, but immediately typing in a Google address will load the Google address I typed in. As we don't have broadband or anything out here, I only use my PPC to connect to the internet. So, without broadband access, only dialup speeds accessible from my Windows box, anybody know of anyway I can get the internet working on the Ubuntu box, so I can begin really playing with it?

Thanks!!

Q
[Windows Mobile Software Development] famewolf:
From a console can you give use the results of a "route -n"? You should have a default gw showing to the network connection for the modem...also an "ifconfig" showing that your phone/modem is connected and has an ip address will be helpful. Please make sure, as you mentioned that internet sharing is running on the phone first. Your route -n will look something like this:

ernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
10.6.6.6 0.0.0.0 255.255.255.255 UH 0 0 0 modem0
192.168.3.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 modem0

In my example I have the net through my OTHER phone which is on a modem0 connection via /dev/ttyUSB0 using kinternet....you will have a ethX or a rndis0 or something similar and should have a 192.168.0.102 or something similar IP. While connected you should also do a cat of /etc/resolv.conf and see whats in it...to go to websites you have to have dns entries...if resolv.conf is blank try adding the following:

search site
nameserver 208.67.222.222
nameserver 208.67.220.220

These are the opendns servers and are available to everyone.
[Windows Mobile Software Development] juppmapice:
Hi, I just wanna say that I have Fedora 11 and never had to install anything to get USB tethering with my Xperia. Simply plug it in share my internet connection and voila.
[Windows Mobile Software Development] famewolf:
As stated previously the newer distro's that have kernel 2.6.30 or newer no longer require compiling the kernel modules UNLESS you have to patch them for specific phone issues such as where the diamond would not get an ip address.
[Windows Mobile Software Development] Tolt:
i'm running debian lenny with kernel version 2.6.35.4 (latest stable release atm) and i don't need any new driver to post this message through my p3600 using WMWiFiRouter in wifi->usb mode (which uses rndis). :)
[Windows Mobile Software Development] famewolf:
As stated in the over 6 month old post directly above yours:

"As stated previously the newer distro's that have kernel 2.6.30 or newer no longer require compiling the kernel modules UNLESS you have to patch them for specific phone issues such as where the diamond would not get an ip address."
[Windows Mobile Software Development] Tolt:
yeah i hate reading you got me. :)

okay then i'll add some specific data i wanted to add in my previous post (i was in a hurry sorry) for people like me who already compiled a very minimal customized kernel with that driver disabled, doesn't know exactly were to look to reenable it and ends in this forum by querying google with 'xda rndis linux' because he knows in xda-developers forum there are a lot competent people who care about helping other users with useful, precise and abundant information:

the driver i've enabled to achieve rndis/activesync support can be found here:

#make menuconfig

Device Drivers -->
Networking device support -->
USB Network Adapters -->
<M> Multi-purpose USB Networking Framework
-M- CDC Ethernet support (smart devices such as cable modems)
<M> Host for RNDIS and ActiveSync devices (EXPERIMENTAL)

.

it should work both as a module <M> or built-in <*>.

best regards.
[Onetouch Idol 3 Q&A, Help & Troubleshooting] sjonkiert21:
I have been trying to fix my phone and right now I have cm12.1 on it but when I try to use the mobile q program it don't work and when I plug in my phone the alcatel one touch screen pops up instead of staying off. Can someone please help me. I have twrp on it and I just want to get back to stock. I think last night I deleted the os of stock or whatever it was. Also I cant get my drivers to install either so I can use the mobile q program... Please someone help me
[Onetouch Idol 3 Q&A, Help & Troubleshooting] audit13:
Did you try drivers from the Alcatel website on a different operating system than the one currently installed on your computer?
[Onetouch Idol 3 Q&A, Help & Troubleshooting] nekomancey:
I had to fully send the phone into download mode the first time to get mobile q to recognise the phone. After battery icon goes away hold vol up and down, then also hold power, then do not let go of all 3 till red download mode window appears. Then hold vol up button down till u switch to full DL mode. That caused some new drivers to load onto my laptop and mobile q will recognise the phone after that. Details in the recovery and unbrick threads in this forum.
[General Questions and Answers] deejay89:
Hi, I have 3 weeks old HTC ONE M9 prime camera editon, everything was fine until today, when phone starts to lag incredibly. I did full factory reset, set up phone from begin, it works few minutes good and then starts lag again. The main problem is with camera, when I open camera app its nothing, camera "moving" normally but I cant press anything, no reaction from phone, can't take a photo, change setup or even go back to home screen, only need to lock it and unlock again. Have you got similar problems and got any solution of this ? I do factory reset, clear partition cache etc. Phone is totaly stock yet, 3 weeks old.
[General Questions and Answers] Free-I_Dixon:
Same

I got the same, but still have any solution. But what is intriguing is that works fine if using WhatsApp camera, Instagram or any other application that doesn't use the regular camera application.

If anyone finds out how to solve this, please help us
[General Questions and Answers] deejay89:
I did full wipe twice, after that camera works fine 10 minuts, when phone finish update he's apps it stops working again. Tried to uninstall all possible apps but still nothing. I will contact with HTC today and let you know.
[General Questions and Answers] acemund:
HTC have problem with apps updates in Google Play. They still working on repairs. Do Hard Reset and stop auto update in Google Play.
[General Questions and Answers] deejay89:
problem solved ! need to uninstall HTC PNS and HTC SPEAK updates, then force stop camera app, clear data and cache, restart and its work again.
[General Questions and Answers] Remoda96:
accidently ive the same problem since yesterday while befor that my phone doesnt installed any update ...means before and after this problem my phone had a same apps and update installed...every thing was ok until yesterday came
[General Questions and Answers] blondeal:
Very interesting I have the same problems, but how can you uninstall HTC PNS & Speak ? I can see them but I can't uninstall because they might be system apps
[Galaxy S 4 Q&A, Help & Troubleshooting] muneeb977:
Hi there, recently i've updated my Sc-o4e to lollipop (build no. LRX22C-SC04EOMUGPD3). I need to remove some bloatware, thats why need to root it. But unable to find the root file for my build. Can someone help me finding it?
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
Hello,

It took me 1 minute to find this using "Samsung sc-o4e root" as the search term.
[Galaxy S 4 Q&A, Help & Troubleshooting] muneeb977:
I also find it. But look at the build no. Its different than the one i am using.
[Galaxy S 4 Q&A, Help & Troubleshooting] muneeb977:
Will this work my build no? As they are different
[Galaxy S 4 Q&A, Help & Troubleshooting] Rhoban:
You build has nothing to do with it.

There are hundreds of different builds out there. Having different root methods for each build would be insane.

Is your ROM lollipop? Yes.

Is the root method for lollipop? Yes.
[Galaxy S 4 Q&A, Help & Troubleshooting] muneeb977:
OK. I'll give it a try.
[Blu Vivo XL] jac0708:
I want to revert back to stock recovery. I followed the instructions on how to get back to stock system, but recovery is still set to twrp. I would like to flash back to stock recovery as well. Any help appreciated.
[Blu Vivo XL] RDWyvern:
ROM Stock BLU vivo XL

mediafire.com/folder/61m7ikt8k97j9/Vivo_XL_V0030UU_(TWRP)

Flash Tool (Mediatek)

mtk2000.ucoz.ru/load/soft/soft_mtk/sp_flash_tool/5-1-0-14
[Blu Vivo XL] GeminiDomino:
Warning for anyone else who didn't read carefully, don't flash anything but the recovery from that Zip, no matter what the scatter file says. Something there made my phone insist that my phone had been reset and I needed to login with a previous account (which mine apparently didn't qualify as).

Edit: Nope, that's all me. I didn't know about the overbearing "security" lockout related to changing my account password.
[E 2015 Q&A, Help & Troubleshooting] evotz:
I'm beginning to think that this is not possible.

I've got an AT&T branded Moto E LTE. Everything works on the phone, except for tethering. I am currently with Cricket not with AT&T.

The phone is bootloader locked and cannot be unlocked because it's an AT&T branded phone.

I'm not sure if the phone can be rooted in any other way. I'm also not sure that if even if the device is rooted, if tethering would work.

I don't suppose anybody here knows how one might tether with this device? This is with Android 5.1.
[XDA Assist] Thehumblebrother:
Hello fellow androiders.. I recently went on a removal spree after rooting my phone, thinking i could improve gaming quality by removing apps i think i didnt need.. The thing is i end up deleting apps and/or manufacturer tools, don't which it is! Now am unable to set ringtone, use gallery, access my sd card, except through an file explorer. Also playstore wobt download anything, its just their pending... Among other things..... I have a blu studio 6.0 hd D651u.. I would greatly appreciate any help given. Thank you!
[Android Q&A, Help & Troubleshooting] ToXiC:
I know its old mobile. I bought it used from my friend because of its good specs!

Now there is a problem.. :(

It is Samsung Galaxy S4. When I go to Settings>>About it says its "i9500" (so it is i9500 right?) but the problem is when I wanted to flash a custom recovery, I turned off this phone and opened the download menu (by pressing vol down+power+home button) and the download menu which opened was in CHINESE LANGUAGE :( . I press the Vol Up button and then odin menu opened saying this:

"

PRODUCT NAME: SHV-E300L

CURRENT BINARY: CUSTOM

SYSTEM STATUS: CUSTOM

KNOX WARRANTY VOID: 1

AP SWREV: A2

"

Now it says that my device is "SHV-E300L"..... wat da ****!!

Now please tell me which one is it. because i searched a lot in google, youtube, xda and everysite that I could and found that I may have korean variant.... ! :(

BUT HERES ANOTHER PROBLEM.

• if I remove case & battery then i can see "GT-i9500" label in back of the phone!

• I have no chinese app in my stock rom. All apps were from samsung (yes knox is there.

• Everything is in English except Samsung Apps Store (because it is in chinese or korean... idk) and Download Mode...!!

• I have installed CWM Recovery of i9500 variant and it worked fine.

• I used tons of apps and every app says that it is i9500. Even IMEI.info says it is S4 i9500!

• CPU Z says that I have everything of GT-i9500 except CPU because my phone cpu is "PowerVR SGX544MP" while S4 i9500 CPU is "PowerVR SGX544MP3". Other specs are totally same (including Chipset: Exynos 5410 Octa,CPU:	Quad-core 1.6 GHz Cortex-A15 & quad-core 1.2 GHz Cortex-A7, 2GB Ram, 32GB internal mem, 1080p display etc. I have even attached pics which might help you!

• Genuine Galaxy App confirms my galaxy s4 is genuine and original (a famous playstore app to check fake and original galaxy phones)!

• Antutu Score was 10,000 first time and 20,133 second time.....

• Even antutu says it is GT-i9500

I am very very embrassed... Its first time I bought samsung mobile and it is so bad experience... I have used LG and China mobiles before... they don't have such problems!

Any help will be appreciated...

So my main question is " is it GT-i9500 or SHV-E300L" !!! :')

don't forget to see attachments (pics)!!
[Xperia Z2 Q&A, Help & Troubleshooting] saayil:
my Z2 is not charging beyond 83%....when i plug in charger it charges till 82 % then the screen turns on and start blinking and the charging is stopped...where is the problem in my phone
[Xperia Z2 Q&A, Help & Troubleshooting] Hariskh:
this happened to me on lollipop 5.0 i used a samsung charger samsung ta11uwe this fixed my issue and now i am on marshmallow and still use this samsung charge and i have no issues try this charger hopefully it will fix your issue too
[Galaxy S6 Q&A, Help & Troubleshooting] pkofiarbo:
Please forgive if i'm posting incorrectly, have been a lurker for a while

I have a Samsung s6 G920F variant, locked onto o2 (UK network) I believe the bootloader is locked also.

I was on Lollipop (with pingpong root) and recently upgraded to Marshmallow 6.1, so my root is obviously gone, and it doesn't seem that there's root right now that works.

I really want to try out the XtreStoLite rom, theoretically could i flash this rom via odin, since its TW based, would it load on without root, and with locked bootloader? I don't really care about Xnox tripping, but I definitely don't want to brick the phone... I'm not sure if the XtreStoLite rom would count as 'stock based' therefore being recognized by the phone as an official operating system? If that sounds correct.
[Galaxy S6 Q&A, Help & Troubleshooting] SoDeadly:
http://download.chainfire.eu/supersu

Link to root your phone correctly.

And Yes you can flash xtrastolite with a custom recovery and without root :).