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

Fatal Error - line 262: "MeowMobile\ADB" not found in C:\php\bypass.php:262 #231

Open
CyrionX opened this issue Dec 17, 2024 · 0 comments
Open

Comments

@CyrionX
Copy link

CyrionX commented Dec 17, 2024

Hi,
(for TL;DR jump to EDIT1+2 "Solution"... at end)
Device:
Poco X6 5G on MIUI 14! (14.0.8), therefore no need for old settings.apk, I already have it.
Also the "supportlist" is only valid for chinese devices since they have been blocked from unlocking completely anyway.

After installing PHP 8.4 (VS17 x64 Thread Safe (2024-Dec-17 17:35:08) I've extracted "Bypass-1.0-fix-universal.zip" into the mainfolder,
-also whle enabling the curl and openssl Extenstions in php.ini (which i had to create out of "php-ini production") I changed/uncommented
extension_dir = "ext" for Windows , in case someone struggles with no output at all.
-after running php bypass.php in cmd i received this output:
image

I also...
-replaced the adb.php from the bypass zipfile with the adb.php from the instructions and vice versa
-replace the adb.exe and files with those from the current platform-tools (1.0.41) as in the manual.

The first question being, wouldn't it make more sense to leave just one or the other? Like removing outdated files from the zipfile or parts of the inscruction? It was really confusing what to do to get it work and alas, until now I haven't managed to.

EDIT:
The instruction on the mainpage is outdated or faulty, replacing adb.php and adb files from plattform-tools gave out the error for "meowMobile\ADB" on Line 262.

Guys, just use the zipfile and run the script in cmd with php bypass.php (after removing the ";" in front of "extension_dir" for windows. completely ignore the manual, it will actually create a lot of the errors in the first place. I have no idea why it's still online in this form.

EDIT: 2: uncommenting "extension_dir = "./" doesn't work or the result will result in error at Line 230.
therefore look for extension_dir and set the correct folderpath

for example:
;extension_dir = "./"
; On windows:
extension_dir = "C:\Program Files (x86)\PHP\ext""

After that the bypass finally ran through to reward me with the 30003 Error, saying xiaomi servers are down.
Well, in the end lots(!) of effort for nothing.

=> Please update the instruction manual friend. You're gonna save a lot of people a lot of time.

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

No branches or pull requests

1 participant