Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed error in run.sh and added check if rom_version exists in $data #203

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

stevleibelt
Copy link
Contributor

This is the result of fixing the error reported in issues/201.

As bonus, I found and fixed an error in run.sh. build was never working.

@betamaster8
Copy link

Thanks @stevleibelt for pushing update

Following Error
PHP Parse error: syntax error, unexpected token "}" in {Drive}\bypass.php on line 237

Parse error: syntax error, unexpected token "}" in {Drive}\bypass.php on line 237

Cheers
Bm

@stevleibelt
Copy link
Contributor Author

@betamaster8 Thanks for your response, to late for me, you've stumbled upon syntax errors introduced by me.
Fingers crossed I've fixed them all. Sorry for this additional feedback round.

@betamaster8
Copy link

Thanks @stevleibelt

PHP Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in {Drive}bypass.php:338
Stack trace:
#0 {main}
thrown in {Drive}bypass.php on line 338

Fatal error: Uncaught TypeError: array_key_exists(): Argument #2 ($array) must be of type array, null given in {Drive}bypass.php:338
Stack trace:
#0 {main}
thrown in {Drive}bypass.php on line 338

and it turns off data on the SIM, kind of weird behavior by HyperOS/Xiaomi ???
Cheers

@stevleibelt
Copy link
Contributor Author

Thanks @betamaster8

With your last message, you where able to test and finish my adapted code. As written here, this is the end of my possible path to help you.
But with your help, we where able to adapt the code and to - hopefully - ease up upcoming error handling.

Cheers

@betamaster8
Copy link

betamaster8 commented Oct 22, 2024

@stevleibelt - thanks mate
much appreciated

The last pushed "bypass.php" shows the following

Error:: Data is not an array. Unencryptes args as json are:"then gibberish characters"

This makes sense the data fetched is not an array for sure.


Let me know, I'm type designer! Help brands

Custom Typeface: Design custom typefaces that reflect the brand's personality, making them instantly recognizable and memorable.

Emotional Resonance: Use typography to evoke specific emotions through style, weight, and spacing, aligning the visual language with the brand's core values and message.

Consistency Across Platforms: Ensure consistent typographic usage across all brand materials (print, digital, packaging) to reinforce identity and enhance brand recognition.

Hierarchy and Readability: Establish clear typographic hierarchy to guide users’ attention, making key messages stand out and improving overall user experience.

Cultural Relevance: Incorporate cultural elements or trends in your type design that resonate with the target audience, helping to create a deeper emotional connection and increased relatability.

@nalindev
Copy link

nalindev commented Oct 30, 2024

Can someone fix this issue? As @stevleibelt mentioned, the returned data is not an array.

This merge request isn’t working for me; it gets stuck after reaching the point shown in the screenshot and doesn’t progress further.

I believe the data might be in encrypted form. If so, is there a way to decrypt it?

Please let us know if there are any possible solutions to patch this issue. Thanks in advance!

image

@PixsaOJ
Copy link

PixsaOJ commented Feb 21, 2025

Issue was that keys were invalid for newer versions of Settings app. Old versions should work fine. It's not about arrays or strings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants