42

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?

top 13 comments
sorted by: hot top controversial new old
[-] d3Xt3r@lemmy.nz 36 points 1 year ago* (last edited 1 year 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.

[-] vestmoria@linux.community 18 points 1 year ago

thanks a lot! device unbricked

[-] Mojojojo1993@lemmy.world 3 points 1 year 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.

[-] d3Xt3r@lemmy.nz 4 points 1 year ago
[-] Mojojojo1993@lemmy.world 3 points 1 year 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.

[-] d3Xt3r@lemmy.nz 2 points 1 year 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@lemmy.world 2 points 1 year 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.

[-] d3Xt3r@lemmy.nz 3 points 1 year 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@lemmy.world 1 points 1 year 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 ?

[-] d3Xt3r@lemmy.nz 2 points 1 year 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.

[-] Mojojojo1993@lemmy.world 1 points 1 year ago

Sweet. I'll need to dust of the pi. But yeah it'll be running Raspbian.

[-] bartolomeo@suppo.fi 2 points 1 year ago

Did I just witness Dexter helping Mojojojo??

[-] Mojojojo1993@lemmy.world 1 points 1 year ago

Mojojojo wasn't such a bad guy. Dexter knew this

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

Android

28186 readers
314 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:

!android@lemmy.ml


founded 2 years ago
MODERATORS