this post was submitted on 18 Dec 2023
42 points (100.0% liked)

Android

27636 readers
214 users here now

DROID DOES

Welcome to the droidymcdroidface-iest, Lemmyest (Lemmiest), test, bestest, phoniest, pluckiest, snarkiest, and spiciest Android community on Lemmy (Do not respond)! Here you can participate in amazing discussions and events relating to all things Android.

The rules for posting and commenting, besides the rules defined here for lemmy.world, are as follows:

Rules


1. All posts must be relevant to Android devices/operating system.


2. Posts cannot be illegal or NSFW material.


3. No spam, self promotion, or upvote farming. Sources engaging in these behavior will be added to the Blacklist.


4. Non-whitelisted bots will be banned.


5. Engage respectfully: Harassment, flamebaiting, bad faith engagement, or agenda posting will result in your posts being removed. Excessive violations will result in temporary or permanent ban, depending on severity.


6. Memes are not allowed to be posts, but are allowed in the comments.


7. Posts from clickbait sources are heavily discouraged. Please de-clickbait titles if it needs to be submitted.


8. Submission statements of any length composed of your own thoughts inside the post text field are mandatory for any microblog posts, and are optional but recommended for article/image/video posts.


Community Resources:


We are Android girls*,

In our Lemmy.world.

The back is plastic,

It's fantastic.

*Well, not just girls: people of all gender identities are welcomed here.


Our Partner Communities:

[email protected]


founded 1 year ago
MODERATORS
 

This is the second time I try to unbrick my device (asus X00PD) with my computer (Ubuntu 23.10) and Im not very smart, so I hope you are patient.

Turns out I can log in to fastboot mode on my device and my computer recognizes the device through fastboot:

fastboot devices
KCAJJFOES633VUN    fastboot

I’m following these instructions: https://xdaforums.com/t/fastboot-edl-unbrick-asus-zenfone-max-m1-asus_x00pd-ww_x00pd-zb555kl-zb556kl.3874245/, Method 2:- Flashing Raw Firmware In Fastboot Mode.

I downloaded https://drive.google.com/folderview?id=10rvsIsw3pZ78Lg8eMdrgsvBqujRrreNj, (raw firmware) and extracted it. Inside this directory there are 2 .bat files: 8937.bat for Snapdragon 430, the one I need for my device and 8917.bat for Snapdragon 425. There is also a .sh file (I work with ubuntu): fastboot.sh

I don’t know how to run the .bat file I need on a ubuntu terminal. I also run ./fastboot.sh, but that only rebooted the device into an on and off loop.

How should I proceed?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 36 points 9 months ago* (last edited 9 months ago) (1 children)

If you look inside the fastboot.sh file, there's this bit of code here:

command_array=($1 $2 $3 $4 $5)

for command in ${command_array[*]}; do
	case $command in
	8917)
        down_platform="8917"
	continue
	;;
	8937)
        down_platform="8937"
	continue
	;;
esac

That means you're supposed to pass an argument to the script with the model? number of the device. So since your device is an 8937, run the script like so: ./fastboot.sh 8937

Further down the script, you can see what it actually does: it unlocks the device, flashes a bunch of partitions and finally reboots it. Since you didn't specify the model number, it skipped the flashing bit and went directly to the reboot bit. :)

Edit: I also took a look at the .bat files, they basically do they same thing except under Windows, and it's specific to the model.

[–] [email protected] 18 points 9 months ago

thanks a lot! device unbricked