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?

  • d3Xt3r@lemmy.nz
    link
    fedilink
    English
    arrow-up
    37
    ·
    edit-2
    11 months ago

    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.