Hi
I use an usb-to-ethernet dongle with the gk802 and would like to:
enable ethernet by default at boot
disable wifi by default at boot
#2 is no problem however I have trouble acheiving #1
At start up ethernet is always disabled and one has to go into "Settings->Wireless & Network->More->Ethernet" to enable it. Not very wife&kids friendly.
I wrote a script that waits until init.svc.bootanim was "stopped" then issues a
Code:
setprop ctl.start "dhcpcd_eth0:-h `getprop net.hostname` eth0"
However while ethernet work and I can ping and browse the web just fine, Android framework doesn't seem to know about the new connection. Various apps got confused (sshd says "no connection" and refuses to start). Play-Store hangs on "Waiting for network" when trying download large apps without enabling Wifi. Time-of-day goes back to Jan-1, 1970. etc.
The difference that I can see in "logcat" is that
Using the GUI, ConnectivityService is aware of the new ethernet connection.
Code:
EthernetStateTracker(2146): report new state CONNECTED on dev eth0
....
ConnectivityService(2146): ConnectivityChange for ETH: CONNECTED/CONNECTED
...
Without the GUI, ConnectivityService is NOT aware of the state change
Code:
EthernetStateTracker(2146): report new state CONNECTED on dev eth0
Also, in /data/data/com.android.provider.settings/databases/settings.db,
if wifi was enabled, "select * from secure where name = 'wifi_on';" would return 1
if ethernet was enabled, "select * from secure where name = 'ethernet_on';" would return 2
(What's the meaning of 1 and 2 in settings?)
Any one managed to get a persistent settings for ethernet on the gk802?
problem solved: in the script I use:
Code:
service call ethernet 2 i32 2
Hi bogolisk,
Would you mind sharing the full script you are using, and also some basic instructions on how to use/install it?
I would really like my ethernet to auto-start as well. Thanks a lot!
Kind Regards
dr.snuggles said:
Hi bogolisk,
Would you mind sharing the full script you are using, and also some basic instructions on how to use/install it?
I would really like my ethernet to auto-start as well. Thanks a lot!
Kind Regards
Click to expand...
Click to collapse
I can't post the solution here because newbies are not allowed to post links. So you have to google for it.
bogolisk said:
I can't post the solution here because newbies are not allowed to post links. So you have to google for it.
Click to expand...
Click to collapse
Good job im not a noob then .
http://www.armtvtech.com/armtvtechforum/viewtopic.php?f=50&t=226&start=260
First post is the post i believe bogolisk is referring to
also this may be useful
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Related
I bought usb network adapter and I want to plug it to my samsung i9100. I found drivers for this usb network adapter (For Android 1.x/2.x/3.0, Linux kernel 2.6.14 and later) but I don't know how to install it to my device. Help me please!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What are you aiming to do with your device??? I'm trying to understand why you would want to attach a network adapter to your phone, when wifi is included.
he might not have access to a wifi router or AP. either way i think i'd be much easier to buy a wifi ap than the route you're taking.
I need this for my work. Check link signal. I do not like to carry my unhandy laptop. Network tester can not always help because it can't show ip in cable.
You are going to need to cross compile the kernel module.
Then from a terminal editor
su
insmod /path/to/module.ko
You also might need to write a udev rule in order for the phone to see it.
anonymous572 said:
I bought usb network adapter and I want to plug it to my samsung i9100. I found drivers for this usb network adapter (For Android 1.x/2.x/3.0, Linux kernel 2.6.14 and later) but I don't know how to install it to my device. Help me please!
Click to expand...
Click to collapse
"CONFIG_USB_USBNET" in ".config" this will also compile "./drivers/net/usb/asix.c" ... but need testing.
./drivers/net/usb/Kconfig ->
[...]config USB_NET_AX8817X[...]
This driver should work with at least the following devices:
* Aten UC210T
* ASIX AX88172
* Billionton Systems, USB2AR
* Buffalo LUA-U2-KTX
* Corega FEther USB2-TX
* D-Link DUB-E100
* Hawking UF200
* Linksys USB200M
* Netgear FA120
* Sitecom LN-029
* Intellinet USB 2.0 Ethernet
* ST Lab USB 2.0 Ethernet
* TrendNet TU2-ET100
[...]
Click to expand...
Click to collapse
did anyone find out if this works ?
I would like to get my SG2 to run of a USB SMC nic same as the one the nexus likes to use.
when i connect the usb nic now it connects on the top it says USB DETECTED but thats it nothing more.
if anyone knows please post
I always connecting my phone through vpn using openvpn settings .
Before this it was just fine and working perfectly.
But today , this error turns out when I am connecting to the openvpn settings ...
Code:
reconnecting (caused by tls-error)
and it keeps reconnecting and reconnecting and again and again
I have tried reinstall tun.ko and openvpn binary and this error still turns out ..
I also have tried to wipe data , wipe cache , clear dalvik . and still error !
I hope any of you could help me
Proof it was just fine before
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
And now it turns out into an error and keep reconnecting
The tun.ko is taken at this thread
http://forum.xda-developers.com/showthread.php?t=1434300
THIS IS THE .OVPN CONFIGURATION
Code:
client
dev tun0
fragment 0
tun-mtu 9000
tun-mtu-extra 32
proto udp
cipher aes-256-cbc
engine dynamic
remote-random
remote 146.185.24.221
remote 146.185.24.251
remote 146.185.24.222
remote 146.185.24.197
comp-lzo
resolv-retry infinite
nobind
persist-key
ca mytunnel.crt
route-method exe
ping 10
port 137
reneg-sec 3600000
explicit-exit-notify 2
auth-user-pass auth.txt
verb 3
mute 20
Sent from U20i (x10 mini pro)
nAa kernel
minicm7 2.2.0
Sounds like there is something wrong with your authentication to the server, maybe wrong password, or the wrong server, lol
Nope , i had logged in thousands of time , how could it be wrong ? anyway I also save my password and username in a text file so that It will be auto logged...
Did you think of checking the server-side of things then? If your phone is not the problem, it's usually the other end.
I think its the phone problem . Is there anything to solve this ?
itz a configuration error,
may be the ip stopped working,
its not any fault in tun.ko , or other things....
but if I connect it through pc, it still working ..
-solved-
reyyy96 said:
-solved-
Click to expand...
Click to collapse
How please ?
Hello,Guys I have problem about HDCP:
I have a LG_LA8800ca TV \ MiBOX and a Z2(D6503 HK) . I tried to use mirrorlink from Z2 to LG_TV(and MiBoX), but it can not work and push a HDCP ERROR message.
YOUR DEVICE DOES NOT SUPPORT HDCP, you can use only walkman and movie applications.
Click to expand...
Click to collapse
My Z2 already unlocked and rooted, and using official ROM 17.1.2.A.0.314.
I try to search this problem on the Internet, but there is no correct answer, Even I read the posts [LINK].
I saw some Galaxy S4 guys also have same problem, but they use some way to Disable HDCP Check.
They tried crack “LibWFD_ENGINE.so” to solve this problem ---> [Link]. But this way cannot be use for Z2.
So, Is anyone who can solve this problem???
How to Skip or Disable HDCP Check for Z2???
Do you have any Xposed module can be use to solve this problem???
Sorry for my poor English.
:crying: .......T_T.......:crying:
There have screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Same trouble, cant connect to 2 miracast dongle. Device rooted. BUT: when i try to coonect to various tv (with miracast func) in tv shop, it was work perfectly.
hello
i managed to get it work someway (homescreen, video, photo, settings) working
i used info from this page
http://forum.xda-developers.com/showthread.php?p=50597640#post50597640
then just changed in WFDConfig. Xml
<ContentProtection>
<Valid>1</Valid>
to
<ContentProtection>
<Valid>0</Valid>
rebooted and now it works...never worked before on none of the roms
the tv i'm using with is philips and stock .314 rom
now i need to disable limit whithout dhcp not able to use other programs as stated above...
lonely2k5 said:
hello
i managed to get it work someway (homescreen, video, photo, settings) working
i used info from this page
http://forum.xda-developers.com/showthread.php?p=50597640#post50597640
then just changed in WFDConfig. Xml
<ContentProtection>
<Valid>1</Valid>
to
<ContentProtection>
<Valid>0</Valid>
rebooted and now it works...never worked before on none of the roms
the tv i'm using with is philips and stock .314 rom
now i need to disable limit without dhcp not able to use other programs as stated above...
Click to expand...
Click to collapse
its work for me but in some app only need to make it work with other app hope you ll find answer
Ok, now it work in some sony apps, home and settings. Need to find a way to mirrorlink work in all apps. Maybe need to disable sertificates check?
Have u found a way to make it work on Xperia ??
i have a z2 and did this, but doesnt work.
Thnx
I found a simple fix, I have it working in my phone
http://forum.xda-developers.com/xperia-z2/help/fix-hdcp-error-miracast-ezcast-screen-t3123560
Hello,
First of all, my phone is an Huawei P8 Lite ALE-21, bouth in September 2016, it's ROOTED, I've followed this thread to change the ROM : https://forum.xda-developers.com/p8lite/general/mega-thread-root-unbricking-updating-t3400994, to see if was changing anything... (nothing has changed I reassure you)
I'm getting a problem when I want to share my 4G/3G/2G connection to any devices with the Wifi access point :
Using the default parameters in the phone :
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
The users can connect, get an IP, and communicate with others without any problems, but here comes the troubles ;
When the connected users want to use the Internet, they open a web browser page and, they are automatically redirected to this kind of page :
Yeah I'm French, but this is saying that "YOU HAVE TO PAY FOR SHARING YOUR CONNECTION!", and I'm not hating capitalism but... I really want to find an other way instead of... PAYING.
This is what I tried :
1 - Changing the ROM to an official Huawei's one -> didn't worked
2 - Trying Cyanogen -> did not detected my SIM, so didn't worked
3 - Trying a dozens of application of transmitting the wifi -> didn't worked
This is what I'm thinking about:
1 - First option, the problem should come from the routing of my phone, which is maybe asking an new IP to the operator... Which has detected it. LUCK ! I'm rooted so in the theory I can break anything in my phone (Changing the Routing tables?).
2 - Second option, my operator HAS FULLY DISABLED THIS FEATURE TO EARN MORE AND MORE MONEY. Wrong, my old phone still can do it (Wiko IGGY) with my current SIM card.
What solution should work in any cases:
1 - Explode my phone into a wall
2 - Buy an IPhone 12
3 - Ask xda-developers who as SOO helped me before <3
I hope somebody has a solution... Else I think I will change my phone...
Thanks for helping me!
Waymix, a nervous student.
If I can find out here awesome, but I'm trying to find answers about Virtualization settings on a Windows 10 PC (Gigabyte MB).
You ma;y or may not know that trying to ask a question at Gigabyte comes at a cost (time and BS facts about your system).
I digress, I am trying to run an Android emulator (tried a few and they all ask for Virtualization to be enabled in BIOS).
In BIOS, I go to CPU advanced settings and enable whatever it is that Gigabyte calls it (something else).
I reboot my system and then run which ever program ie.. LDPlayerm BlueStacks., etc... and it still says VT disabled.
How do I enable it on my Motherboard?
Gigabyte AORUS Gaming 7 Wifi with the most recent firmware I could find (F51d).
If not an answer here can you point me to a site that I might be able to get help.
Thank You in advance.
Frustrated in Mexico - James
Bottomline is I want to run a mock GPS as I live in Tijuana Mexico and work in San Diego CA.
Nobody needs to know that I am not in San Diego when I am surfing. Even with my VPN a lot
of sites still know I am not in the states. This is more than frustrating. I thought VPN was suppose
to keep anonymous, that is not anonymous. Again I ramble.
Thanx for your time, hope somebody can help.
How To Enable HAV ( Hardware Assisted Virtualization ) on PC
@jpr9845
Check for CPU-virtualization is possible. You do this by running 3rd-party app LeoMoon CPU-V"
If you get result as shown
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
then you can enable VT in computer's UEFI.
f you have Windows Hyper-V (an optional feature of Windows) enabled, turn it off and reboot the system.
Also make the Memory Integrity feature is turned off as well
Now enable VT in computer's UEFI:
Go to Windows Settings
Click on Update & Security
Now click on Recovery
Click Restart now under Advanced startup.
Go to Troubleshoot
Click on Advanced Options
Now click on UEFI Firmware Settings
Click Restart.
https://mashtips.com/wp-content/uploads/2019/06/Windows-10-Advanced-Startup-Settings.jpg[img]
Look for something like an Advanced menu or tab. You’ll most likely find the setting you need to turn on under this. In addition to all the other things that can be different, this can also be labeled differently. It could be Advanced Mode, or simply Configuration like it is on my Lenovo Ideapad.
Finally, look for the setting which has Virtualization is its name and turn it on. Sometimes it’s named completely vaguely. For instance, Vanderloop. Depending upon your processor and other factors, these are the names commonly used.
[color=blue]
AMD-V,
VT-X
Vanderpool
SVM [/color]
[/list]