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?

  • @[email protected]
    link
    fedilink
    English
    36
    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.

  • @Mojojojo1993
    link
    English
    311 months ago

    Maybe someone can help me. Tried to unlock bootloader on my nexus 7 tablet. I can get the laptop to recognize the tablet but everytime I try to run adb the text is yellow. It then doesn’t recognize the adb command.

      • @Mojojojo1993
        link
        English
        311 months ago

        I’ll try this. Is it any different than the standard adb ? I tried android studio as well. It authenticed the tablet but wouldn’t let me do anything. All terminals didn’t seem to recognize the tablet. Or I was doing something wrong. I downloaded the fastboot and adb files. Hold shift right click open terminal.

        I’ve flashed plenty lineage and cynomod before. Haven’t run into this before.

        • @[email protected]
          link
          fedilink
          English
          211 months ago

          Not sure, will need to see a screenshot, your adb versions etc. XDA would be a better place to ask this.

          Or maybe try it from a Linux distro like Ubuntu or something, adb is pretty easy to install from the official repos and there’s no need for any drivers. I find Linux just works better for stuff like this.

          • @Mojojojo1993
            link
            English
            211 months ago

            Think it would work or a raspberry pi ? I just downloaded the standard fastboot and adb files. I have the correct drivers as I downloaded the nexus 7 ones. Laptop recognizes tablet. I can access the internal files and get the security message. Terminal gives me error message

            Doesn’t understand adb as command. In yellow font. After the first word it changes back to white font. I can’t run adb devices as it won’t run any command.

            Was thinking might be work laptop with firewall preventing debugging.

            • @[email protected]
              link
              fedilink
              English
              311 months ago

              work laptop

              Ah, that explains it. There’s a lot of stuff that enterprises do to restrict such stuff.

              A Raspberry Pi should work just fine.

              • @Mojojojo1993
                link
                English
                111 months ago

                Sweet. Do I need anything extra for a pi. I know from previous tinkering they had miniscule storage. Would I need new drivers and such ?

                • @[email protected]
                  link
                  fedilink
                  English
                  211 months ago

                  No need for any drivers. You just need to install android-sdk-platform-tools, assuming you’re running Raspbian or similar the command would be sudo apt install android-sdk-platform-tools.

                  After that, type fastboot and/or adb and see if they work.