Reply
Thread Tools
ginggs's Avatar
Posts: 306 | Thanked: 582 times | Joined on Mar 2012
#31
Originally Posted by nieldk View Post
Hmm will look at this later...
perhaps @ginggs have input on this?
This line:
Code:
.text:000220DC                 CMP     R7, #204
in hexadecimal is:
Code:
CC 00 57 E3
and occurs at file offset 0x1A0DC
 

The Following 3 Users Say Thank You to ginggs For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#32
It was a nice idea. But ...
after fiddling a bit and trying to understand why it did not work I clapped my hand on my forehead (or choose another acronym).
I did not go the way of NOP as I did not bother to lear ASM for arm. But tried to compare to zero instead of 204.
But we never reach that part of code at all! As we receive a timeout/give-up and take another route in code.
So I guess we (ginggs ) would need to find the part where icd2 check for timeout and jump there to 1A0E4.
Else we need an online http service or my local workaround.

Besides: a fixed version of icd2 would require either open mode or a patched version of refhashlist, too. Else MALF.
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 
Posts: 119 | Thanked: 217 times | Joined on Feb 2015 @ Poland
#33
Originally Posted by peterleinchen View Post
So I guess we (ginggs ) would need to find the part where icd2 check for timeout and jump there to 1A0E4.
Else we need an online http service or my local workaround.

Besides: a fixed version of icd2 would require either open mode or a patched version of refhashlist, too. Else MALF.
I prefer online service (I believe that there could be connectivity-test.maemo.org, or something like that), because this test can be usable in some cases like forced proxy with login (like Orange Free Wifi, avaible everywhere in Poland for Orange customers) or unreliable broadband connections(like in mine case, also normal in Poland), where WiFi works, but broadband loses most of IP packets...(and then it would switch to broadband automatically)

If privacy is problem for somebody, then we can:
1) Make simple app changing /etc/hosts file (to switch between local and remote service, simple 'sed' or 'grep -v' would be enough)
2) socat is so light, that daemon can work all the time (even when using remote service)
 
Posts: 1,298 | Thanked: 4,322 times | Joined on Oct 2014
#34
Should be quite simple to do a mod_rewrite on almost any server, which answers depending on header "X-Nokia-WLAN-Connectivity-Test" is in the request, and based on that returns the. 204 response.
I vote that we (maemo.org) hosts that.
 
ginggs's Avatar
Posts: 306 | Thanked: 582 times | Joined on Mar 2012
#35
Originally Posted by nieldk View Post
Should be quite simple to do a mod_rewrite on almost any server, which answers depending on header "X-Nokia-WLAN-Connectivity-Test" is in the request, and based on that returns the. 204 response.
I vote that we (maemo.org) hosts that.
I second that, but how do we make it happen?

I've been testing the code in post #23 for the past 24 hours and no problems yet. When I leave wifi coverage, my phone switches to mobile connection and when I return to known wifi coverage, it automatically connects and the connection does not revert to 'Manually used'.
 

The Following User Says Thank You to ginggs For This Useful Post:
Posts: 1,298 | Thanked: 4,322 times | Joined on Oct 2014
#36
Originally Posted by ginggs View Post
I second that, but how do we make it happen?

I've been testing the code in post #23 for the past 24 hours and no problems yet. When I leave wifi coverage, my phone switches to mobile connection and when I return to known wifi coverage, it automatically connects and the connection does not revert to 'Manually used'.
We ask our council to add this to their agenda

EDIT: mesaged @Reinob and @Juiceme to add this to agenda topics.

Last edited by nieldk; 2015-12-28 at 10:59. Reason: Contacted reinob/juiceme
 

The Following 5 Users Say Thank You to nieldk For This Useful Post:
peterleinchen's Avatar
Posts: 4,118 | Thanked: 8,901 times | Joined on Aug 2010 @ Ruhrgebiet, Germany
#37
Originally Posted by nieldk View Post
We ask our council to add this to their agenda

EDIT: mesaged @Reinob and @Juiceme to add this to agenda topics.
Niel, well done. But did you take a look at my header info (or forgot our common time)? Ofc I would have mentioned that on my own.

BUT it is good to remember people about council!
__________________
SIM-Switcher, automated SIM switching with a Double (Dual) SIM adapter
--
Thank you all for voting me into the Community Council 2014-2016!

Please consider your membership / supporting Maemo e.V. and help to spread this by following/copying this link to your TMO signature:
[MC eV] Maemo Community eV membership application, http://talk.maemo.org/showthread.php?t=94257

editsignature, http://talk.maemo.org/profile.php?do=editsignature
 

The Following 2 Users Say Thank You to peterleinchen For This Useful Post:
Posts: 1,298 | Thanked: 4,322 times | Joined on Oct 2014
#38
Originally Posted by peterleinchen View Post
Niel, well done. But did you take a look at my header info (or forgot our common time)? Ofc I would have mentioned that on my own.

BUT it is good to remember people about council!
Jezz, I AM getting old. Sorry mate.
 

The Following User Says Thank You to nieldk For This Useful Post:
Posts: 1,298 | Thanked: 4,322 times | Joined on Oct 2014
#39
SO, given that. I am very sure a solution will come hehe
 

The Following User Says Thank You to nieldk For This Useful Post:
Posts: 301 | Thanked: 275 times | Joined on Dec 2010
#40
Hello everyone,
ultimately I have frequently the same problem, but it affects my mobile data network. If I check the properties of the mobile connection, it is set to 'Manually used'.

Wtf is happening to our beloved device?
 
Reply


 
Forum Jump


All times are GMT. The time now is 19:54.