yashsingh1/xdaforums huggingface dataset:
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] aabramwow:
My pleasure! You've already helped so many as well as myself, I though, why not "buy you a coffee". ;)

I appreciate the additional information a lot! That said, getting the tablet back up and running was a time sensitive thing as it is not my personal tablet - it is my employer's (who authorised the rooting for development purposes). For this reason, I chatted with the Asus folks (just let them know that firmware update didn't work) and they gave me an RMA for it.

One thing I should mention that may help others on this thread in the future - the tablet SAID its model is the Z301M but when I received the RMA confirmation, it turns out that the tablet's model is the Z301MF-A2-GR!

So... there's a strong chance that the whole problem was caused by this factor and that the scatter file in the OP is NOT that of the tablet I'm working with.

I'll let you know how things turn out when/if Asus returns the tablet in working condition. If I do get it back up and running, please let me know how to take a GPT dump of the tablet and I'll send that along to you.

Thanks!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Yeah, I'd say that pretty much explains it. The Z301MF is the high resolution variant. If the GPT was different than the scatter file, and it probably was, then it got "cemented" to match the layout in the scatter file when you first used SPFT. Unfortunately, this happens because SPFT does not detect the factory GPT as a valid partition table for some reason. If it did, it would throw an error. But it overwrites it instead, the first time you flash something.

Well, I hope it's returned to you quickly...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] aleMarvel:
mee too.. seems unrootable !! sigh
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
Z300M

I feel so dumb but after trying the steps in the OP on this thread, when I boot to recovery it just reverts back to the stock operating system, not TWRP. what am I missing? I used everything you left links for on the first page and the flash with the tool says successful.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
cptkirkam56, there's not much to go on in your post. Did you try to start recovery directly after installing TWRP, without booting normal Android in between? When you started recovery, did it do a factory reset?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
yes, it did do a factory reset when I booted to recovery. yes, I did start recovery directly after installing the twrp img file. my bootloader is locked and there is almost nothing on the tablet like it was when new. twrp is not coming up after I boot to recovery, its just booting like factory. I'm following the exact steps like the first page says in this thread and using the links to obtain the downloads. Am I just some kinda special stupid?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
No, I think you installed it just fine. It's just that the recovery gets replaced at every Android boot-up. You may have missed it or something. You have to install it again. But this time, make sure you don't do a normal boot, but go directly to power+volume up. To get TWRP to stick, you either have to install root, some mod to the boot image, or move the slider at the TWRP welcome screen. But if you do the latter, you won't be able to install incremental firmware updates smoothly. (Not that Asus will necessarily release any....)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
Each time I was careful to do as you said, power+volume up and selected boot to recovery. The darn thing just boots up with the stock firmware every time. As far as making TWRP stick, are you referring to the installing of Magisk with the next step after TWRP opens? Otherwise your losing me there plus I never get to a TWRP screen anyhow. Sorry for all my ignorance!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
OK, back to basics... you downloaded the right TWRP zip file for your tablet, unzipped it, and opened the .img file in Flash Tool, right? When you say it boots up to stock firmware, do you mean it goes to "Erasing..." first, or directly to Android when you select Recovery?

Yes, you can install Magisk in order to keep TWRP, if that's what you want to do. As another example, you can install the VerifiedBootSigner zip from this thread. Any kind of mod to the boot partition will prevent TWRP being replaced. It's not important what the mod is. These are just 2 of many.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] kangarooza:
Thanks, no longer have a bricked z300m (forgot email completly and factory reset it) took alot of messing around but now it works thanks so much! always save your google account details somewhere aparintly.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
ok, will try again! Think I may be using the zip file instead of the img file by mistake. I just want to get it to where I can install a custom Rom, ASUS stock Rom is full of limitations! Thanks again:)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Yeah, flashing the zip file would definitely not work. That's one thing I suspected was going on. I know it's an extra step, but I have to zip up the image file because of the forum's attachment size restriction. Also, I don't think you'll have much luck finding a custom ROM for this tablet...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
Well maybe with your connections you may be able to steer me in the right direction to find a custom rom that'll be fine. Thanks
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] beachfl:
Other than an Oreo ROM, I don't think I would consider custom... Even then probably no. Stock on this device is a little bloated maybe, but I find it really snappy and stable. I'm not sure there's any feature I'm missing out on,
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
cptkirkam56, it's not a matter of finding a custom ROM. There simply aren't any, because no one has made one, is what I'm saying. If there was one, you would know about it. It's not like someone has ported a ROM, and then for some reason buried it in the darkest depths of the Internet where no one can find it.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cptkirkam56:
Well, ok then! Everything went fine when I finally did it right, was making noob mistakes like you always deal with. Now rooted and looking for ways to increase performance, so if any suggestions come to anybody's mind on here, please speak up. Diplomatic, you rock and thanks again! :)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Good to know, cptkirkam56!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Ommadawn7:
MTK Driver Install - Pre-Flashing Procedure...How to ?

Hello,

I would like to apply the TWRP procedure to my Asus Zenpad 10 Z300M, which have the last firmware Android 7 (WW-5.3.19), for trying to flash a custom rom as since the last Asus firmware the tablet is full of bugs.

Here is my question :

In the first thread ( https://xdaforums.com/zenpad-10/how-to/installing-twrp-rooting-asus-zenpad-10-t3612693 ) for MTK Driver Install Procedure, when I plug in the tablet (turned OFF) to my PC ( Windows 7 x64 ) with the device manager opened and showing hidden devices, I can hear the sound of device detection and immediatly the sound of device disconnection as if I plug it out, and so I can't see the device installed, I can't be sure driver is fully installed as there's no "Ports (COM & LPT) section" in my Windows 7.

I think it's because the tablet begin charging on USB port...

How can I do to be sure, as I can't see the MTK driver into device manager ?

Thanks
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] beachfl:
Mine shows up there under Windows 10. It shows up in its own category when it's connected by Fastboot (ASUS Android Device), and under Portable Devices, when it's connected with Android running.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Hi All,

I have been unlocked/rooted with this method and Magisk since April. Never had an issue. I also had turn off auto updates and don't update automatically selected in the settings. My tablet suddenly notified me that it downloaded an update, no matter what i did I had three chances to postpone. couldn't find the download file with Root Explorer. This morning it was rebooted to TWRP. So I tried to boot into the system and get the white ASUS logo only. I can shut down, reboot into TWRP (recovery) or Fastboot but no system.

I used Twrp to restore the image I made as per this post back in April, it did it thing but upon reboot, still back at the ASUS logo!

Help please, need suggestions.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] beachfl:
Download and install the latest full official firmware package with TWRP.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Ommadawn7:
Hi beachfl !

Thanks a lot ! that's what I 've supposed but I was not sure... so I 've tried this way and I've got a new device category "TP-LINK Android phone" with a device named "Android Bootloader Interface" ...

I think the "MTK Driver Install - Pre-Flashing Procedure" part should be modified for a better understanding...

My first question makes me think about another question concerning the following of the TWRP flashing procedure : do I use SPFT with the tablet powered OFF or using the "fastboot mode" ?

thanks :)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
I can't find anything for my tablet it's a P027 model

---------- Post added at 03:52 PM ---------- Previous post was at 03:12 PM ----------

Ok found it- rebooted to recovery to flash and TWRP is gone! I only get the lil green man on his side with an exclamation point.

The tablet does boot to Fastboot. where do I go from here?

---------- Post added at 04:40 PM ---------- Previous post was at 03:52 PM ----------

Fastboot to TWRP - when I reboot to system the warning says "no OS installed" WTF? I can't flash or sideload from TWRP as

TWRP shows "internal storage (0MB) !

Seems the device is wiped clean.

Anyone have the full stock image?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] beachfl:
I don't want to steer you wrong on using that tool. Regrettably I've never used it. Someone else will have to chime in.

It appears I was wrong before, also. :( It seems I DO see my tablet's drivers in Windows' Device Manager, even when powered off, right where the OP said they would be, under Ports (COM & LPT). I've edited my previous post.

Sorry if that messes you up at all. Hope not.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Yes, completely powered off, as the OP says, with SPFT's Download button pressed before you plug in.

Use either the stock recovery or TWRP to install the full firmware zip available on Asus' support site for your model. Put the zip file on sd card or OTG drive. For TWRP, make sure system is unmounted. I'm not sure why your tablet was not able to boot after it entered TWRP to install the incremental update. If you were rooted, it should not have done anything...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Hi, thanks for the help.

Followed the above, when it rebooted I'm back at the Asus logo stuck . If I boot into Recovery I get the "No Command" and the lil Android on it's side. I can shut down and reboot to Fastboot and boot TWRP but then what?

Version WW_V14.0210.1806.33 is what I downloaded, put on the SD card and "installed" via TWRP

When it boots, it shows the unlocked message and orange state but never moves off the Asus logo!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=3400349]ginfest[/MENTION]: at the No Command screen, I think you have to hold power+vol. up to get to the menu. If you do that, try doing a factory reset. If your installed TWRP got replaced with stock recovery, I think the FW installation went fine. When you booted to TWRP, have you tried mounting system (as R/O) or data?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Thanks for the help.

I got into the stock recovery screen menu using the above. I selected "wipe data/factory reset" "date wipe complete" but didn't load anything else? I tried to l"apply update from SD Card" but it wouldnt mount it. Reboot still at the ASUS.!

Making small progress but still not booting into the system. will try the TWRP suggestion next. No luck with TWRP - I get to TWRP fine mount Data and R/O but still stuck at ASUS after reboot.

So close just missing something!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] BladeBrown7:
Update about Magisk and Asus Z300M

New version of Magisk 16.6 doesnt causes bootloop but for me generated safetynet fault. I returned back to Magisk 15.3.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
OK, to install the FW using stock recovery, you may have to use the 'adb sideload UL_P027*.zp' command from your PC while at the menu. If that doesn't work, I think you may be looking at a hardware fault or some random emmc corruption. Also, when you booted to TWRP, you didn't move the slider to allow modifications, did you?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=3400349]ginfest[/MENTION]: did you ever get around to reflashing your tablet? If it still didn't work, I'd be curious to see what's in the kernel/TWRP logs....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Not yet, been on vacation. I'll get those logs next week and post.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Ok back. Adb sideload the *.zip, it starts

"PS C:\platform-tools> adb sideload UL-P027.zip

loading: 'UL-P027.zip'

* cannot read 'UL-P027.zip' *"

redownloaded the package, tried many tips on the web, still won't load it.

so pretty much stuck here, probably hardware.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Booted TWRP, installed the zip from there, it ran and completed, rebooted, still at the Asus logo- WTf gotta be hardware?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Just reread the original post. I may have moved the slider in TWRP when I originally tried to "fix" the issue and bricked it. Any way to reverse it?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Hang on... did you actually type "UL-P027.zip" and not the full file name? In the adb sideload command, you have to give it the actual file name and the right path if it's not your current directory. I thought that was obvious... Use the tab key in the shell for file name completion.

If the only problem is that you modified system and triggered dm-verity, then you can simply disable dm-verity in the boot image. Just install Magisk or some other script that disables dm-verity and see if that resurrects it...

If that fails, save the logs in TWRP and send them to me.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] ginfest:
Hi. Thanks for the help but something died, can't even boot TWRP now. Nothing no ASUS logo nothing . Going to return to Asus for repair.

Is the first post still valid to unlock and root the one they send me back? Should be under the Z500 thread? It's an Asus Zenpad 3s 10 (P027)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Oh, I see.... Yeah, it sounds like it was dying all along. Hope you get it back quickly. Nothing has changed about unlocking it, etc.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] xtrap225:
thank you very much!

this worked to install TWRP on my z301mf p028_1 version.

then i used the beta 16.7 magisk to root (because 16 kept locking it up on boot). then xposed cause you gotta have xposed. and now i am super happy!!

:good:

ps. anyone whom is wondering, to get the p028_1 firmware from asus you have to goto the US site and to get he p028_2 you goto the CA site. both are called the WW version not the CN which presumably is the Chinese version.

pss. my bootloader is still locked, but who cares now that i got TWRP, Magisk, and Xposed.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Good to know [MENTION=6923479]xtrap225[/MENTION]! Although I should say you got lucky. If you had asked if this TWRP build was suitable for your tablet, I would have strongly discouraged you from flashing it. I don't know if the partition table is the same as Z301M's. If not, the SP Flash Tool method may have hosed it and bricked your tablet. I think someone has already screwed up their Z301ML tablet by flashing this recovery.

BTW, can you tell me if the touchscreen works in this recovery? And does it install the stock firmware successfully? I ask because the installer checks for the device name before flashing. But I take it that Z301M and Z301MF have the same device name.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] xtrap225:
yes and yes. i had to reflash the default firmware many times using TWRP while trying to get things to work. not only did magisk 16 not work but i had the formatted the /system and needed to redo that.

that is why actually i made the note of the p028_1 and p028_2 in my post above, i didn't realize that i had p028_1 at first as i was trying to flash with p028_2, but TWRP was kind enough to set me straight.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Cissamannenv2:
So I have been reading up alot on these threads about issues regarding some devices.

I was trying to help my nephew root his Asus ZenPad Z301M - Followed instructions to point, as it is also a locked bootloader (dont even know how to unlock on this device).

When I then came into fastboot menu, I believe it got hit the first option of reboot device iirc. After this the tablet is stuck on Asus logo screen. I have tried reflashing twrp but it just wont load into it even.

Tried reading other guides online about how to reflash the system, which I also did using the SP flash tool, though only some files are capable of being added it seemed. Such as lk.bin - logo.bin - tz.img into tee1 and tee2, system.new .dat - and boot of course. The other spaces left blank - PRELOADER - recovery - cache - user

Am I not selecting all correct options? As if I try to use AllInOne DL file it gives an error saying its wrong. So using preloader file is not possible, hence selecting full format wont work.

I tried forcing twrp load using fastboot but since it doesnt allow flashing or loading temp from these positions there is no go.

I did read that disabling dm-verity might work as a workaround, but I cannot for the life of me find out how to do it. I see there are certain tools out there but none of the free ones have been working very well.

I also tried to sideload the system file but said it wouldnt fit (this in fastboot menu). Yes I have checked that I am on the correct version aswell, that being the 3.3.16 version.

When I try to flash twrp even right after system and everything, it still wont load. When I go to fastboot, select factory reset, it loads up the powered by asus logo, quits to black, and reboots back to stuck asus logo.

Is there an easier way of getting the dm-verity disabled on the device?

Also I do not even get the message of system being modified message like alot usually see it seems.

Any tips of how I can get it back to normal boot?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Are you sure you actually have a Z301MF and not a Z301M? Because ASUS_P028_1 is the tag for Z301M and ASUS_P028_2 is for Z301MF. And it's starting to sound like you screwed up your partition table and now the only FW that fits is the Z301M type, which just happens to work on the MF....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
So it's never booted to TWRP even once? Are you sure you used the right scatter file (Z301M and not Z300M) and the right TWRP image?

Right now, it's impossible to say what's going on. The dm-verity and most of the stuff you said about SPFT doesn't matter if you can get into fastboot. If you see the boot menu you should be able to start TWRP. From there, you can reinstall the firmware. Do you see a small "Red State" or "Yellow State" message anywhere on the logo?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Cissamannenv2:
It has been in there once I heard after this happened. I just got the tablet back to try and fix it. Was his father that showed it.

And yes, I am using the correct files, but it is not allowing me to enter TWRP at all, just that quick asus splashscreen before it reboots into stuck asus logo.

No colored warnings whatsoever in the fastboot mode.

Ive tried different FW versions to no avail aswell :/

I am completely clueless what to do at this point, and are thinking of calling asus support tomorrow if I cant fix it.

I remember checking before aswell that modelnumber was that P2803 or what that z301m one is.

EDIT: Even double checking the reciept it says Z301M 16GB (even webpage displays Z0301M-1H001A as modelnumber

EDIT2: If I try to flash using MTK, you can see the attached picture for the error it gives.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Sorry, I'm not clear on the first part. Was it bricked before you or anyone flashed anything with SPFT? Because you said you were trying to root it. So I assumed it was working fine before you flashed TWRP. Can you be specific about what exactly happened when it stopped booting?

Could you enter stock recovery (Factory Reset) before you flashed TWRP? If not, I think this may be a hardware failure.

And how were you able to try different FW versions if it's not booting? Though SPFT? If so, what partitions have you flashed? For the record, I don't recommend flashing the FW with flash tool. You should be able to get TWRP up and running easily, which you can then use to install the full zip package. But if you don't even see "Yellow/Red State" on the boot screen, then something may be seriously wrong with your device...

If you can get me a dump of all partitions up to, but no including, System, I can try and see what's going on....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Cissamannenv2:
Afterr i flashed twrp the first time, it was stuck on asus logo before he left with it. His dad then got the twrp up once i believe and tried to do a factory reset from within as i was told. But it didnt have access to any partitions anyways.

When I then got it back, twrp no longer boots.

In my previojs post i explained whicpartitions i flashed.

I will get them dumps for you. But how will I make the dump?

And I never checked if stock recovery worked before or not.

What i mean wikth diff fw versions is like between 3.3.13 and 3.3.16 of z301m firmware, just to see if it would boot.

Here is how I try:

1. Shut devicd off

2. Enter scatter and dapl file in spft

3. Enter the 301m twwrp under recovery

4. Hit download and connect the device - flash says ok with big green checkmark

5. Unplug cable, hold vol up and power button to enter fastboot menu

6. I select the factory reset option

7. I see the powered by asus logo, screen turns black, then it shows again followed by normal asus logo and stuck there

EDIT: When his father had it and managed to boot into twrp, it had the yellow state of "non original OS" loading up where you had to push those buttons to continue. That is no longer an option for me when I boot after hitting Factory Reset :/
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] xtrap225:
make sure you have the correct firmware from asus, and then if you can still boot to TWRP, install the zip from there, you can use an sdcard to easily get it on the tablet or use adb if prefer.

but essentially to get back to normal boot just install the asus firmware zip file from recovery. if you don't have TWRP working and 'normal' recovery is working, then rename the file (don't bother if you are using TWRP) update.zip and choose the update from storage (or something similar; i rarely use normal recovery)

if it fails to flash look at the log (on screen log) and it will tell you what you did wrong. in my case i used the WW p028_02 at first instead of the WW p028_1. i had to switch from the canadian to american website to find the correct one.