Giter VIP home page Giter VIP logo

Comments (6)

nikias avatar nikias commented on June 12, 2024

Hi, can you try if it works with this patch? It should redirect automatically to the return location then:

diff --git a/src/activation.c b/src/activation.c
index 6105071..f96e8b7 100644
--- a/src/activation.c
+++ b/src/activation.c
@@ -1273,6 +1273,7 @@ IDEVICE_ACTIVATION_API idevice_activation_error_t idevice_activation_send_reques
 	curl_easy_setopt(handle, CURLOPT_HEADERFUNCTION, &idevice_activation_header_callback);
 	curl_easy_setopt(handle, CURLOPT_URL, request->url);
 	curl_easy_setopt(handle, CURLOPT_FORBID_REUSE, 1);
+	curl_easy_setopt(handle, CURLOPT_FOLLOWLOCATION, 1L);
 
 	// enable communication debugging
 	if (debug_level > 0) {

from libideviceactivation.

nikias avatar nikias commented on June 12, 2024

ping @Blefish

from libideviceactivation.

Blefish avatar Blefish commented on June 12, 2024

Hi

Unfortunately I haven't come across more of these devices. From what I understand though, is that these are phones that are returned from service centers and the carrier lock configuration is missing. Hence phone shows it to user and if you select it, it will be locked to that carrier. It is a single-time operation and afterwards it's possible to activate the phone. Could be it's nothing to do with libimobiledevice at all, but I don't know if it's possible to log this from the phone.

from libideviceactivation.

Blefish avatar Blefish commented on June 12, 2024

Ok I encountered it again and added the follow redirect. It seems to just show the "Your request couldn't be processed page".

Is there a way to see the encrypted traffic passed and act as a middle-man? It would be interesting to see what data is sent on phones that fail.

log.txt

from libideviceactivation.

nikias avatar nikias commented on June 12, 2024

@Blefish ok the FOLLOWLOCATION option is required in any case here. However I don't really know what would be wrong here. It's like Apple doesn't want the device to be activated. Does iTunes activate the device?

from libideviceactivation.

Blefish avatar Blefish commented on June 12, 2024

iTunes does not auto activate it, instead it prompts to select carrier on the phone screen. This is what I was told as I haven't physically touched any of these devices. Question is, how does iTunes detect that? Or is it a fallback case when it couldn't activate it by itself?

from libideviceactivation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    šŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. šŸ“ŠšŸ“ˆšŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ā¤ļø Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.