yashsingh1/xdaforums huggingface dataset:
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] xtrap225:
you are correct, i purchased http://a.co/eIWPZDh . which clearly said it wa z301mf, but apparently what i got was z301m, which at first i figured out then got confused.

anyway i guess it is lucky i got the z301m cause i have a nicely rooted pad now, via magisk, w/ xposed working great.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Cissamannenv2:
Quick update: Seems the files I first downloaded on my computer was corrupted somehow.

I transferred the files from the laptop I used and voila, now TWRP loaded perfectly for some reason. Giving the yellow state. Sideloading the 301m 3.3.16 FW now to see if it fixes it. Sure hope it does. Also it is same filenames on both computers so must be crashed in the download somehow o.O

EDIT: Now it boots fine into the asus loading screen and not just the logo being stuck on... Shoot me now xD
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
LOL... glad to hear that. Yeah, I just took a look at your Flash Tool screenshot, and it seems like you might have been flashing some file other than the TWRP image to recovery. That would explain the symptoms you were talking about. So it boots up Android fine now?

Wait, but that doesn't prove that it's the Z301M. It may be that you just managed to install the M firmware on your MF. I guess the only difference between the models is the screen resolution. What is the resolution on yours, 1280x800 or 1920x1200? It's been reported that the MF version is actually labeled Z301M, to add to the confusion. And if you did get the M model when you ordered MF, I have to say you got shortchanged....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Cissamannenv2:
Yes, running magisk and everything perfectly! Sure it gives that red state warning on bootup about OS being modified and not original, but still boots fine :)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cweatherington:
Obviously doing something wrong

I have a Z301M P028 which this root was designed to work with, however I'm stuck. I followed the directions to a tee, even taking time to learn about SP Flash which I hadn't used before and reading this entire forum. However I'm stuck with :

BROM ERROR: S_DL_GET_DRAM_SETTING_FAIL (5054)

{EMI} Obtain DRAM Failed!

{HINT}:

Please check your load matches to your target which is to be downloaded.

I feel confident that I'm performing the task correctly yet SPF gives me this error. When researched it indicates an improper rom but I dont see how that could be the case.

I only ask as a last resort after trying to solve the problem on my own. Any help would be appreciated.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=3825483]cweatherington[/MENTION], are you using the DA_PL.bin download agent? That kind of error happens when you have the wrong DA and/or are holding a volume button when you connect the cable.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] cweatherington:
Thank you so much for the fast reply. You were totally right. In my ignorance I had listed to another post saying I needed to hold "power up" to get SPF to load correctly.

Guess what I didnt. I have a system with TWRP on it now I just need a rom of 8.0 and I'll be a happy camper.

Thanks again. If you know where I might find that ROM let me know, its pretty desolate for z301m.:good:
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] psalmist4christ:
i have a asus z300m cant get past twrp

im new to this and didnt want to seem like a idiot but, im having a issue with the twrp ,

i have managed to get it to the screen that says twrp

but each time i try to install magisk or xposed it fails and leaves me in a bootloop . im not sure what to do

i contacted diplomatic but he told me to go to the forum, so thats why im here feeling like a idiot but in need of help

thanks .

ps. theres bunch of options i did do a back up though. am i suppose to mount this or what?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=9385307]psalmist4christ[/MENTION], which version of Magisk have you tried? I don't think you did anything stupid, but there are some versions that will break the boot process of this tablet. I think the latest beta should work (I don't use Magisk myself). But you have to restore your original boot partition before installing it. This is one of those traps that I was talking about...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] psalmist4christ:
Thanks diplomatic

How do I do that ?I was reading on here for a hacker

You said go into sd card part of twrp and I guess run it into Asus official firmware. Cause when I tried to install magisk 6.0 it failed . when i tried reboot it gave me a screen that said signature failed verification will boot in 5 seconds

And at top says red state,

The boot causes me not to able to go back into the flash tool.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Bricked Brand New Z301MF

New out of box - ran through initial setup to make sure it was functional out of box

Installed Linux version of SP Flashtool v5.1532

Downloaded all files

Ran SPFT and did a quick memory check (using preloader) to make sure it recognized tablet - it did

Download of TWRP succeeded using locked DA_PL method

Started up in bootloader (can't run ADB reboot recovery as tablet not turned on and turning on would boot and wipe TWRP (catch-22) selected Factory Reset and tablet now stuck with 'ASUS' on black startup screen (after initial Powered by Android screen).

Won't boot into recovery from bootloader (repeatable) and won't boot to system at all (power button only) stuck on same startup screen. Totally FUBAR.

Repeated download process, no joy.

UPDATE: I tried to flash the TWRP zip file. Once I extracted the image file and flashed it worked! as in boot to recovery and now get TWRP

Booting to system still fails (stuck on ASUS screen)

Using TWRP to flash ASUS firmware (to get back to factory defaults) fails (zip file corrupt error and failed to mount /system (invalid argument)

UPDATE: had issue copying zip to uSD. Finally got install to run but got error that firmware file was for PL028_2 and tablet was PL028_1 so found it on US specific ASUS site. (good grief!!!)

Also had issues copying file (in linux) to uSD formatted as FAT so reformatted as ext4 (using Mint 18.3)

Well, after 3 hrs of dickin' around I now have tablet booting to initial setup screen (good news is it's latest firmware now). However, the boot process did NOT replace TWRP with stock recovery - TWRP is still there (majisk not installed yet so should have reinstalled stock recovery).

Going to go back through installing majisk and see how far I get with that now...will update this post as I progress.

Latest Update: Majisk installed OK, tablet booted OK and I went through setup and installed a root required app and got grant popup so tablet is rooted.

However, I forgot to do a Nandroid backup in TWRP to save boot partition before installing majisk. I guess if I have hardware issues I can just reflash the latest firmware and reboot and hope it installs stock recovery so any repairs are covered under warranty. Although after flashing firmware and booting it did not install stock recovery over TWRP so that may be an issue should tablet need to go in for repair.

...and when I boot normally I get a message : Red State - your device has failed verification and may not function properly - booting in 5 seconds

The display (icons & fonts) is super tiny and there is no 'Display Size' option in Settings->Display so going to go back to firmware 3.3.12 from latest 3.3.16 and hope it's bigger - too small to select check boxes or turn on those little 'switches' unless you use a stylus.

Sorry for the long-winded ordeal but hope it helps anyone who gets into strangeness as I did...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] psalmist4christ:
Ok thanks

Where do I find the original boot partition I'll have to run it through twrp cause fact I can't boot to flash tool. I do appreciate your help yet im wondering if it's worth the pain, I sorta just wanted to make my 128 gb sd card

My internal.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Do you mean Magisk 16.0? Then yes, it is in fact incompatible with this tablet and other MTK devices. You need to use the latest 16.x version.

Well, good job getting this far. :good: To flash the boot partition, you just need to download the firmware from Asus, extract boot.img from the zip file, put it on your tablet (via sd card or adb), then Install/Install Image to boot in TWRP.

BTW, to use the sd card as internal, enable adoptable storage. It's a standard feature of Android. (Look it up.) No root required. And you're right about root probably not being worth it.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Re: Bricked Brand New Z301MF

The reason you bricked it is that the Z301M scatter file, which holds the device's partition table, is totally wrong for the Z301MF. The GPT on the MF is quite different from the one on the M. You just converted your Z301MF to a Z301M. SP Flash Tool does not stop you from rewriting the GPT the first time you use it. But now that you have, you are locked into Z301M partition layout. And you cannot install the MF firmware because the system partition is the wrong size, possibly among other differences. So if you want to install the correct firmware again, you need to somehow restore your original GPT and change the embedded product tag in TWRP (or in the FW install script) to the one from Z301MF. I will make a Z301MF scatter file only when someone sends me a GPT dump from an unflashed tablet.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Well, that's interesting...after I got TWRP installed I was able to flash two different Z301MF FW images - 3.3.16 (latest) and then 3.3.12 which was the one it came with. Tablet is rooted with Majisk 16.7 and everything is running just fine.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=5592485]gbkelley[/MENTION], those firmwares are for the Z301M. According to the Z301MF download page, that tablet did not even have a 3.3.16 release. The latest is 3.3.18.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Ah, yes you are correct. It appears that the FW file designator for M is P028_1 and MF is P028_2 and TWRP complained that I couldn't flash _2 FW so I flashed _1 FW, and doing a search for the P028 _1 file landed me on the M page and not the MF page.

Hope someone can send you a dump to create an MF specific scatter then I'll go back and redo everything again from scratch.

This still hasn't been as difficult as rooting my MemoPad FHD 10 (ME302C) 6 years ago - that took a couple weeks working with the Germans to sort it.

I'll get it replaced - what do I need to do to get you a GPT dump when I get the replacement? Thanks! I looked at MTK Droid Tools but it doesn't support the 8163 just the 65xx
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Oh, ok... probably a good idea. To get a GPT dump, just use the readback function of SPFT. Reading off 0x0 to 0x4000 should do it. You can safely use an existing scatter file for this. It won't alter the GPT on readback. Then send me the binary file. I guess I have to compile a new TWRP too...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] psalmist4christ:
diplomatic

is this the firmware ASUS ZenPad 10 Z300M Tablet Firmware 5.3.15.0 WW

cause its the only one i keep finding popping up and by the way i do really appreciate your help

because without this id be bricked and totally up craps creek. i honestly appreciate fact you take time to

help us noobies .

if there was a way i could repay you i would im indebted to you. i know it doesnt mean much but to me

i find it awesome yet ironic cause guess i feel cause im 34 i should know this stuff .

i also donwloaded magisk-v16.7. zip . thanks again.

ps i read your thing said you skateboard i have a cousin who is professional his name is robert porter kirkland.. sorry to go on and on.:fingers-crossed:
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Majisk 16.7 works just fine - I flashed it and rooted my tablet.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Just go to the official Asus firmware page. The WW-5.3.19.0 file is what you want.

If you want to express your thanks, just pay attention to those Thanks buttons. It's amazing how many people say thank you, but don't bother to click those.... I do care about my thanks meter...

I don't mind answering specific questions at all. I just don't want to repeat what's already written on the OP or other guides.

Wow, that's awesome. I'm actually a little older than you, and I feel like by this time I should be a much better skater than I am... LOL
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Z301MF Readback File

Here is a SP Flash Tool Readback File for the Z301MF

I tried the MTK Droid Tool and even though it recognized the Z301 it threw an error that the ROM had an unrecognizable structure so couldn't read blocks and produce a scatter file. I've contacted the developer requesting support for the 8163.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
EDIT: I received a copy. Thanks!

Someone please send me a partition table dump of your unflashed Z301M. I have removed the scatter file for this tablet from the OP until I can make sure it's 100% correct. SP Flash Tool does not enforce the correctness of the scatter file on first run. So this can result in data loss due to repartitioning.

To get a copy of the GPT,

In SP Flash Tool (may be a recent version) Download tab, load the scatter file from the Z300M or another MT8163 device and select DA_PL.bin as the download agent. Do not flash anything using this scatter file.

Go to the Readback tab.

Add a block to read with start address 0x0000 and length 0x4000 for region EMMC_USER. Call the file name pgpt.bin.

Click Read Back. Then connect your powered off tablet to your computer. It should now read off the data.

Post or send me the pgpt.bin file.

Thanks!
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Z301MF Readback File

Attached is readback for Z301MF after using SP Flash Tool to install Z301MF specific TWRP.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] PD321:
Where can I find Z300M 32GB Scatter file? THX
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Hi, PD321,

Nowhere at the moment. It will need to be made. Can you follow the steps of post 134 above and send me a copy of the GPT of your tablet. You can use the existing Z300M scatter for this operation, but be careful not to flash ("Download") anything with it....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] PD321:
Thanks for scatter file

I think I did everything in SPF. Now what? On the SD card I have Magisk-v16.3.zip. When i boot up using vol up + power I see:

Select Boot Mode:

[Recovery mode] <<==

[Fastboot Mode]

[Normal Boot]

Recovery mode only wipe my data.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
[MENTION=9434836]PD321[/MENTION], you can't boot Android in between installing TWRP and starting TWRP. Otherwise, it will replace the recovery with the stock one (like every other device). And this device has a nasty design flaw where the "recovery" conveniently wipes your data without giving you any warnings or options. That's what the warning on the OP is about.

So basically you have install it again. Now when you boot TWRP for the first time, I suggest not modifying System and leave it read-only. When you install Magisk, it will prevent TWRP from getting replaced.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] PD321:
My mistake, I'm probably boot to Android between "FIRST TIME INSTALLATION" and "START RECOVERY". Now it works. I tried several Magisk versions. 13.1 blocked my tablet and I had to restore the firmware. With 15.3 and 16.3 did not work root. Only 16.7 works properly. With all the versions I received a message during the start:

Red State

Your device has failed verification and may not work properly

Your device will boot in 5 seconds

Is it alright? Everything else works well.

Thanks
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Very good, PD321. Thanks for the feedback. I already posted the new scatter file. Yes, Magisk 16.7 seems to be the recent version that works. Some earlier ones broke Mediatek compatibility.

Yeah, the Red State warning is expected. That's because the boot image has been changed and is unsigned. So the bootloader can't verify its integrity. There's a tool for TWRP somewhere that can self-sign your boot image for Android verified boot. Doing that will give you yellow state like TWRP has, where you have to press a button to continue booting. But you can't get a green state (no warning) with systemless root...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] PD321:
Thanks for info. I'd rather stay with a red state. It starts after 5 seconds without confirmation.

Maybe it will be useful for someone:

If the tablet was dead after uploading the bad version of Magisk, it helped me this one

For other people, I attach a screenshot from the SPF for a better understanding.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] paperclipje:
Thank you for all your info! Still have a few questions :

If I install TWRP on my Z301MF does this mean it's also rooted? Or is this the next step after the TWRP install? Do I need to find a custom rom with root, and if so are there any custom roms with root available for Z301MF.

Is it possible to root the z301mf without TWRP?

Does the bootloader stay locked?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Hi [MENTION=1137191]paperclipje[/MENTION],

To answer your questions, no, TWRP is not root. It has root access in itself. But to get root in Android, you need to install a root manager such as Magisk. Be aware that Magisk 16.x versions prior to 16.7 do not work with these tablets. They will make your tablet unbootable.

There are no custom ROMs for these tablets.

Yes, you can install root without TWRP. That's a good question, actually. If you use Magisk Manager to patch the stock boot.img, which can be found in the firmware zip file, put the patched file on your PC, then flash it to your boot partition with SP Flash Tool, you will get root that way.

Yes, the bootloader stays locked. But locked vs unlocked doesn't mean much on these tablets....
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] paperclipje:
Thank you very much for answering my questions [MENTION=8132642]diplomatic[/MENTION] !
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] paperclipje:
Can I please ask you one more question [MENTION=8132642]diplomatic[/MENTION]

So to root I use the Smart Phone Flash Tool to load the boot.img ( from Asus zip patched with Magisk ) to my turned-off-tab , using the Z301MF scatterfile and DA_PL.bin as download agent. Just a checkmark at "boot" , hit Download and when finished just boot it up again?

I just want to make sure I understand this right, so please take a look at my printscreen...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] paperclipje:
My printscreen from SPFT
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Yes, exactly :good: Assuming you have a Z301MF 16gb. And if anything goes wrong just flash the original boot.img.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] paperclipje:
Very happy root user now... :good::good::good: :laugh: THNX!!! [MENTION=8132642]diplomatic[/MENTION]
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Cool! Glad to know that method works ;)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] sa7ierf:
Unlock Tool available on Asus site for Z301ML (P00I)
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] Crivons:
Wiped asus

hello, i installed twrp and i have no issues entering and moving while on it.

but by mistake i wiped the tablet and i cant find a rom to flash it again.

can anyone please point out what can i do?

Got no android system in it atm.

so all i can really do is go into twrp

thanks for you time
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] PD321:
Hello

Download the right firmware from Asus.com

here is the Z300M for example:

https://www.asus.com/us/Tablets/ASUS-ZenPad-10-Z300M/HelpDesk_BIOS/

Upload it to your SD card and write/install it using TWRP. This procedure worked for me.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
I have an OTA Update in Notification for 3.3.18. If I download and install, it reboots but into TWRP (not back to system), so I select Reboot System in TWRP and I get the original 3.3.13 loaded. Then, a new OTA Update Notice for 3.3.18 again. Anyone have a process to get the OTA to take or disable the OTA notifications? Using Majisk for root.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Hi [MENTION=5592485]gbkelley[/MENTION],

You know I have a process to install the OTA update. :) To get TWRP to install it, you have to start with the original boot image and system partition. Otherwise, the installer will try and fail to patch the boot partition (as it has already). To get the incremental update to take: (This won't work if you have ever modified /system)

Reboot to recovery when prompted by the update notification.

In TWRP, flash the original boot.img from your current firmware.

Unmount system

Go to the terminal, or open adb shell, and run command

twrp install @/cache/recovery/block.map​

Now if you want to keep Magisk and TWRP, install the Magisk zip before you leave TWRP and boot Android

See this post for more details.

Of course you could always install the full zip package from the web, but where's the fun in that?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
twrp install fails to install block.map with 'corrupt zip file' error
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
What does it say in the TWRP console (the right hand status bar button) when it boots up after you launch the update?
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
Last 4 lines:

Verifying current system...

Updater process ended with error: 12

Error installing zip file '@/cache/recovery/block.map'

Done processing script file

MTP Enabled

Then I restored boot then ran twrp install command again and didn't get the corrupt .zip fle error but did get this:

device remounted R/W 10 times

E1004: system partition fails to recover

Updated process ended with error:7

Error installing ..../block.map

Obviously a system mount problem, but selecting Mount from main twrp page shows system unchecked and Mount System Read Only is checked and as far as I know, System partition has never been modified. A couple months ago, I followed instructions to install twrp, did a boot partition backup, then installed Majisk. Everything has been peachy-keen. Then yesterday I get an OTA Update notice and followed your guide for that.
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] diplomatic:
Oh, I see. That means you have mounted /system in r/w mode at least once before. And now it's not in a pristine state that the installer wants. So this solution won't work for you. So just go ahead and install the full zip package from internal storage/sd card/usb-otg/adb. Not as elegant as the OTA update, but will do the job. Same rule for installing Magisk after it completes...
[Asus ZenPad 10 ROMs, Kernels, Recoveries, & Other ] gbkelley:
I don't recall ever mounting System partition in R/W. I do have several 'System' apps disabled though...

Will full zip install affect apps or data?

I don't have a usb-otg folder on sdcard. I suppose I could download the file from ASUS and put it on Ext SD Downloads but that is full firmware and will wipe all apps and data...