yashsingh1/xdaforums huggingface dataset:
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
The same way you would enable it on any device that has it hidden from the UI... by Googling and searching this forum. ;) This post can get you started.
[Asus ZenPad 10 Guides, News, & Discussion] coolbeans2016:
Adoptable Storage in MM (with mixed mode):

adb shell

sm list-disks

sm list-volumes all

sm set-force-adoptable true

sm partition disk:179,128 private (replace with mixed what number you want to be external, ie: mixed 80 will leave 80% of card as external, 20% internal)

sm set-force-adoptable false

sm list-volumes all

NOTE: the fourth command partitions your SD card, and may take 2-3 minutes (or longer) to complete, depending on the size of your card. plus make sure you have a reliable and fast SD Card.

Disconnect your phone from the USB cable and reboot it. The reboot is crucial. Your phone may (or may not) take a bit longer to boot this time.

Once your phone is fully booted, tap Settings > Developer Options and disable USB Debugging, clicking “OK” to any messages that may appear.

Go to Settings > Storage & USB and tap your SD card. Tap the three dots in the upper-right corner and choose “Migrate data”.

That's the "proper" way to enable adoptable storage and when this thread failed to work for me I thought hey just do this instead even though root is almost a requirement with my devices! Problem is, even after multiple attempts at the very end you cannot find and available selection to "migrate data"... Without that last important step your not getting adoptable storage so once again Asus has done something that probably makes root necessary just to do this!!!! Their sum REAL mf's!!!
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Dude, just stop.... You keep posting your off-the-cuff opinions about these tablets that are based on some ignorant newbie assumptions. In Android 7, that option is not called Migrate Data. It is located under Settings->Storage->(your SD card)->(top menu)->Change storage type. You will only see this menu if you formatted your card for adoptable storage. If you go there, you will get a screen where you can choose whether to use your card for both apps and data or for apps only. This is the equivalent of Migrate Data.

So did you install TWRP yet?
[Asus ZenPad 10 Guides, News, & Discussion] cptkirkam56:
Thanks a bunch!

I followed your advice and just enabled the sd card as adoptable. Took some looking around to find the correct commands and some figuring out what usb errors my laptop was causing. Using adb was new to me so some self teaching on that was needed. But just the two commands worked fine.

adb shell

sm set-force-adoptable true

Thanks again for the help. How you guys learn all these tricks is amazing, and taking the time to help us noobs is very gracious! Just remember that what you assume we will know is probably greater than reality. Some steps you skip over is probably why some mess up and create problems. But everyone should be really careful and ask first if it's confusing. Again, thanks much, I've got 64 gb of room now on this tablet that makes it usable!
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Well, good to know, cptkirkam56! Thanks for the update. Yeah, those 2 commands are enough to make adoptable storage options appear in the GUI. The main reason you might want to continue with the console is to set up mixed storage (i.e. partition your SD card). But it's great that you figured it out. Being able to investigate the problem and dig for answers is more important than knowing a lot.

EDIT: If your data was filling up for some unknown reason, make sure you don't have this issue.
[Asus ZenPad 10 Guides, News, & Discussion] m_univ:
Succesfully installed latest TWRP from 4/11 and Magisk v14 and also root. HOw about OTA updates? System found new patch v5.3.15 but after update I am still on v5.3.13. I tried also this:

https://www.theandroidsoul.com/install-ota-update-twrp-zenfone-2/

TWRP method with modding OTA dlpkgfile, with difference as i did not unrooting. Update failing with error 12. Or OTA isnt possible with root and twrp at all?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Thanks for the update about the latest TWRP. The OTA is failing to install in your case because it expects pristine boot and system partitions, as all modern Android updates do. You have already modified one or both by installing Magisk or letting TWRP make changes to system. You can simply download and install the full firmware zip package, which will work fine, but will disable your root. But there is a way to make use of OTA updates if you take some precautions first. I describe that in a post I just made yesterday:
[Asus ZenPad 10 Guides, News, & Discussion] m_univ:
Thx for your helpful work. I also read your this original tutorial in Asus ZenPad 8.0 Z380M and posts below. Ad 4. magisk v14 recovery zip file is in systemless mode, or I have to download another systemless root? What do you think with: "9.Now before you leave TWRP, go back to step 2 to prevent TWRP from getting overwritten"?

I´ll try prodecure tonight.

And do you think, that after OTA with full FW zip package, we cannot use procedure in first post in this thread. I mean, making backup with SPFT (new) and flash recovery with older working SPFT version. Or after new FW flashed , SPFT isnt sure to be working?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Just go ahead with the full firmware install, m_univ. Backup your boot.img. Then install Magisk. Everything will be fine. People are worrying about this too much. You can still flash TWRP with Flash Tool. Nothing has changed about that. Good luck....
[Asus ZenPad 10 Guides, News, & Discussion] m_univ:
Thx again. Full FW update with TWRP, backup boot in TWRP, install MAGISK v14 and thats all. I now have asus z300M with latest FW, TWRP and MAGISK. When we have new OTA, I will try next steps in your procedure.

BTW what is this connector in the middle of bottom on Z300M?

http://www.zenpad.org/wp-content/uploads/2015/11/back-side-asus-zenpad-z300c-e1446669659510.jpg
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Great!

The connector looks like it might be for a charging dock that was never released. The Nexus 7 has something similar. There are official keyboard docks for this tablet, but they use Bluetooth to connect to it.

EDIT: On second thought, could this thing fit?
[Asus ZenPad 10 Guides, News, & Discussion] m_univ:
It looks simiral. I found also this about keyboard and audio dock (try first 4 pictures): https://www.computershopper.com/computex-2015/first-look-asus-zenpad-10/
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
That looks like the official keyboard dock from Asus. I don't think that one has the pogo pin connector. It just uses Bluetooth. The WinBook one has the pins and looks like it could match, though I doubt it would.
[Asus ZenPad 10 Guides, News, & Discussion] zilinguyen9x:
help me z300m unbrick
[Asus ZenPad 10 Guides, News, & Discussion] aleMarvel:
but works with z301 too ?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Nope
[Asus ZenPad 10 Guides, News, & Discussion] martinkps:
Hi, bit of a newbie question sorry!! if i follow this guide to install twrp and root my z300m will it wipe everything ie data/user files etc on the tablet? thanks
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
No, your data will be safe... unless you unlock the bootloader.
[Asus ZenPad 10 Guides, News, & Discussion] martinkps:
Thanks
[Asus ZenPad 10 Guides, News, & Discussion] Elendwyr:
Hi,

My first post here.

thanks to asus apk it is possible to unlock Z301M bootloader. TWRP can be loaded using fastboot boot <twrp.img> but tactil is not responding.

Any idea?

what need to be done to try to adapt/recompile twrp for Z301M.

thx
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Hi Elendwyr,

Do you mean the touch screen is not responding? If that's the only problem, it's pretty surprising that it boots at all. This recovery is of course for a different device. To be able to use TWRP you will need to compile it with the native kernel from the Z301M. That kernel has the right drivers and customization for your tablet. That being said, the touch screen may not work with the right kernel either. Asus has intentionally disabled the touch screen driver in Z300M in recovery mode. I had to make a careful binary patch to enable it in TWRP....
[Asus ZenPad 10 Guides, News, & Discussion] Elendwyr:
Hi,

yes "the touch screen is not responding" but twrp boot.

Z300M and Z301M look pretty similar.

do you have any kind of tuto or tips you can give me to proceed with recompile and patch?

(I never tried that)

Regards
[Asus ZenPad 10 Guides, News, & Discussion] Flukester69:
Just a heads up on the new firmware.. Read before you try...

Tried 5.3.19 firmware released on 12/25, flashed it with TWRP, flashing part was fine but when configuring the tablet afterwards it messes up the orientation of the tablet at the "Just a sec.." dialog. This happened after wiping system/data/cache/dalvik. I didn't try just flashing over the existing (or dirty flash) and for a reason.. let me say this..

Problems;

- you lose orientation control, it's like flipped and seems to want to be in portrait mode rather than landscape.

---> I can correct it, but depending on how you turn or flip your tablet it locks back to portrait or upside down.

---> it's super annoying after 5 mins. (i went back to 5.3.16 with Magisk 15.1)

- there's no changes so you aren't missing anything I can see "necessary" like an update to 7.1.1 or Oreo. (and I'm not holding my breath. I can say I won't be buying another MTK tablet or Asus. I don't like closed/unpopular crap.)

---> in the update options etc all seemed same including version.

---> puts bloatware crap from Asus back on (like Zen UI garbage)

- If select the upgrade on your tablet, it's good chance it will be detected and prompt you to update when using your tablet. You might be intrigued to say Yes. Don't!! Don't or kiss goodbye to your recovery and everything else. It resets the tablet and leaves you with no recovery.

---> it in fact says erasing when it reboots. I had to start again using the OP in this thread SP Flash etc.

The rom itself looks broken, so I'd expect Asus to spit out another patched rom. Lets hope this happens with the official patchers so they open a bug. I couldn't care less.

I just am gonna skip this update. This tablets usefulness for me is minimal these days because there are no custom ROM's and it's MTK. I have/had flipped back to my Samsung Tab 4 10.1 just because of this...Back to stock and no altered branded crap like Asus puts on.
[Asus ZenPad 10 Guides, News, & Discussion] BladeBrown7:
FW 5.3.19

Solved. please delete post. Thanks
[Asus ZenPad 10 Guides, News, & Discussion] Dimidrolus:
Hello. Tablet stuck on logo. Can anyone read fullflash dump via flashtool? or make twrp backup.

the best is read all partitions one by one in flashtool.. or i can do it myself via teamviewer. tnx!

ps can help with frp on 7 android ;)
[Asus ZenPad 10 Guides, News, & Discussion] Flukester69:
I wonder if it's possible to install Linux on this tablet being that these tablets are so similar....

https://www.inside-handy.de/tablet-vergleich/asus-zenpad-10-z300m/bq-aquaris-m10-ubuntu-edition
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
[IMG="Z300 USB"]https://ibb.co/mJToP6[/IMG]

USB connection not working. Any help?
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
USB not connecting to my Z300. Any help?
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
Got this error

E:\adb>fastboot boot twrp-recoveryasboot-3.1.1-0-z300m.img

downloading 'boot.img'...

OKAY [ 0.447s]

booting...

FAILED (remote: oem unlock is false)

finished. total time: 0.462s
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Hi there,

You have to click the Download button before plugging in the USB cable. Set your Flash Tool options to USB High Speed like they were, not UART.

You have to unlock the bootloader for that command to work...
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
Still no luck.

When I tried the ADB method I ran Z300M_UnlockTool_Android_N_9003_signed.apk first. It installed and ran and rebooted but after the reboot in recovery mode wne I ran fastboot boot twrp-recoveryasboot-3.1.1-0-z300m.img it said FAILED (remote: oem unlock is false). I also tried to look for OEM Unlock option under Developer Options but not found. I'm posting my FW, Build version, etc. Please help. Thanks,
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
WTH... you're still on Android 6. This guide is for Android 7 only. That version does not support the unlock tool at all. So I suggest upgrading first. If you are determined to stay on MM, you can try the alternative SP Flash Tool method from the Z380M guide, the one that starts with "If you're using MTK_AllInOne_DA.bin....". But I don't think the touch screen will work with that setup, or it might not boot at all. If it's just the touch screen, you can use an OTG-USB mouse to navigate.
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
Pardon my ignorance. Can you give me the link to upgrade to Android 7.0? Thanks.
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Er, is it not updating itself automatically? What happens if you go to Settings, System Update, Check for Updates?

But here is the firmware download link to skip to the front of the line: https://www.asus.com/us/Tablets/ASUS-ZenPad-10-Z300M/HelpDesk_Download/
[Asus ZenPad 10 Guides, News, & Discussion] Project999:
Thanks a lot. I manually copied the update file from ASUS link and able to upgrade to 7.0 and do the rest. Thanks so much!!!
[Asus ZenPad 10 Guides, News, & Discussion] Seeker81:
Hi, I have problems in backing up the original firmware of my Z380M (Android 7) before downloading any new images.

I followed the above instructions. But when I changed to tab ReadBack the list of adresses was left empty (according to the instructions the parts defined in the scatter file should be listed).

Then I clicked the button Add. The following set was added:

start address: 0x0..0000

length: 0x0...01000

region: EEMC_USER

file: C:\SP-Flash-Tool-v5.1532.00\ROM_0

Finally I clicked on button ReadBack and the data was transferred from the tablet to my PC into file ROM_0.

How can I backup the complete tablet ROM before applying any changes? Do I have to add the parts listed in scatter file manually in tab ReadBack?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
For this readback method to work, you need to use a recent SPFT version. 5.1532 does not support the ShowByScatter feature. Note that you won't be able to read the secro partition, so uncheck it before you start. Also, backing up the "hidden" partitions is only useful if you know how to restore them.
[Asus ZenPad 10 Guides, News, & Discussion] Masamune3210:
Don't know how many people would use it, but I'm currently working on seeing how hard it would be to build a port of LineageOS for the ZenPad 10. Lineage already supports the 8 inch version so most of the work is already done. Will keep this thread updated if it works or not if anyone wants it
[Asus ZenPad 10 Guides, News, & Discussion] Seeker81:
Many thanks, diplomatic! I didn't realised that.

I used the version v5.1720 and I was able to backup the following parts: preloader, lk, boot, recovery, logo, tee1, tee2, cache.

The most important part to backup seems to be recovery as this one will be overwritten by the twrp image, right?

What's about userdata? This one was not listed in tab ReadBack. Is this part being mounted as /storage/emulated/0 during normal operation?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
TBH, the most valuable partitions to be backed up with Flash Tool are the ones that are specific to your unit and cannot be restored with stock firmware. Those would be nvram and asus_nvm. Those contain your serial number, MAC addr, audio calibration and so on. The 8 partitions that you listed can easily be restored from stock firmware or by formatting....

The userdata, that's everything mounted under /data, which is all your all custom files and apps. I think it's not listed because its size is not aligned to a block boundary. You can back it up if you enter the size manually, but rounded up to the nearest 4kb(?).
[Asus ZenPad 10 Guides, News, & Discussion] Flukester69:
That would be cool. I'd be interested as I'm sure many others too
[Asus ZenPad 10 Guides, News, & Discussion] Masamune3210:
Update on the custorom, the zenpad 8 uses a qualcomm soc while the 10 uses a mediatek chip, currently trying to see how hard it would be to grab the current kernel and device tree from the tablet itself. In case of a brick, would I just be able to use the sp flash tool to reflash the backup or would i have to do something special to make the tablet accept it
[Asus ZenPad 10 Guides, News, & Discussion] Seeker81:
Today I backuped the stock recovery and after that I downloaded TWRP v3.1.1-0 to the Z380M (running on firmware v5.3.18) and installed Magisk v15.3 sucessfully. Many thanks, diplomatic!

After that I noticed that there is an TWRP update available (v3.2.1-0): Should I update to that version and can I perform that by just downloading it the the tablet device?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Glad you like it, Seeker. :) And you actually have a Z380M? Nice. Now to upgrade TWRP, just put the image on your tablet, then boot to TWRP and Install it as image to recovery.
[Asus ZenPad 10 Guides, News, & Discussion] Flukester69:
Unless diplomatic disagrees I would think you could use the spflash if warranted, along with scatter. But I don't know for sure, unless your Rom changes the partitions. I don't see why you couldn't just boot back to recovery and reflash the device specific Rom. I'm not as experienced as diplomatic.
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Heya Flukester... nice to hear from you on this thread again....

So to obtain the kernel, you can just use TWRP to back up the boot partition. Then use a boot image manipulation tool or script to unpack the kernel and ramdisk from it. Hell, my TWRP source code on the Z380M thread includes the unpacked kernel if you don't mind a slightly older version. (It has the kernels for both models.)

But I gotta be honest, building a custom ROM for a device that doesn't come with source code is a pretty steep hill to climb. Getting the precompiled kernel would be the easiest of your concerns. (Android phones and tablets are not open source devices, btw.) There are no MT8163 custom ROMs that I'm aware of. You would have to start a device tree and vendor tree from scratch. You would have to deal with proprietary binaries from the stock firmware. Then there's substantial hacking and reverse engineering that would be involved to modify the vanilla Android source to replicate the mods that Mediatek (and possibly Asus) made to that source. Those mods may be necessary to take full advantage of the hardware and to solve bugs in general. So not to discourage you, but I think this endeavor would keep you busy for a while....
[Asus ZenPad 10 Guides, News, & Discussion] Masamune3210:
Oh I'm well aware of the difficulties involved, and as such make no promises as to the eventual outcome. More I'm using it as practice, as it has always bugged me how some devices get more attention than others.

I'm not sure if there any custom ROMs for this soc in particulear, I know mediatek socs are usually annoying to work with.
[Asus ZenPad 10 Guides, News, & Discussion] Seeker81:
Indeed I'm using the Z380M.

I updated TWRP by downloading the image to the recovery partition using SPFT. That worked, too. Now I'm exploring TWRP backup options... ;)

The following question might be in the wrong section:

When I connect my Asus tablet to a PC using MTP, some directories located on the external storage card are not shown at the PC. I think those diretories are affected, that I have copied to the card using the PC's card slot before. Could this problem be caused by wrong permissions of the directories?
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Hmm... about the card, if it's formatted in fat or exfat, permissions shouldn't be an issue. I would run chkdsk on it in Windows in case it's corrupt or something.
[Asus ZenPad 10 Guides, News, & Discussion] Flukester69:
Hey yep, hope you are doing well.. I keep track here but admittedly been very occupied with other things. Ya I do realize it's quite the task to build a rom for this device, why I'm not trying. My device works well enough as it is and it is Nougat. You are right too about the MT8163 custom rom status.. Non-existent. Was hoping there would be a Lineage but.. seems to be going nowhere there. These days when I buy a new device I check XDA and online for a development community.. no custom rom's.. no purchase. :)
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Great point... though there's not a lot of tablets with custom roms nowadays. I think the bar is high enough if there is some development for a tablet, like a custom recovery or being rootable. I don't get why people who care about modding their device keep buying locked down devices and come here complaining that the vendor will not let them install root on it. (I'm looking at you Amazon Fire owners. :p )
[Asus ZenPad 10 Guides, News, & Discussion] zaphod1280:
Flash tool error

every time i run flash tool read back I get this message: "s security sf sec ro download forbidden (6013) msp erroe code 0x00

to download sec ro is forbidden on this phone"

also i cant figure out how to load option.ini
[Asus ZenPad 10 Guides, News, & Discussion] Elendwyr:
Hi,

Im currently using Z300M WW_5.3.10 + TWRP for recovery.

is there a way to restore ASUS recovery?

Thanks
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Elendwyr, the way to restore stock recovery depends on what you have modified in the firmware. If you have altered the boot partition, you need to restore the stock boot.img. If you have let TWRP block recovery from being written, you need to restore the original /system/recovery-from-boot.p file. If have those 2 things, then the stock recovery image will get restored on next OS boot. But if you want to do it manually, so that you can back up the recovery and reinstall TWRP for example, just run in terminal:

/system/bin/install-recovery.sh

Of course the easiest way is to just install the stock fw zip.
[Asus ZenPad 10 Guides, News, & Discussion] Elendwyr:
thanks diplomatic

I flashed TWRP using SP-Flash-Tool-v5.1532.00 according to first page.

I've a file "/system/recovery-from-boot.bak" but no "/system/recovery-from-boot.p"

and I don't want to (re)install stock firm since I put some application on system partition and don't want to lose them.

regards
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Yeah so just rename recovery-from-boot.p.bak to recovery-from-boot.p (mv /system/recovery-from-boot.p.bak /system/recovery-from-boot.p), flash the stock boot.img, run the install recovery script, then reinstall root before leaving TWRP if you need.
[Asus ZenPad 10 Guides, News, & Discussion] liad101:
(english isnt my native language)

i dont understand nothing and its not my first time rooting or second someone can make a video on how to root the ASUS zanpad 10
[Asus ZenPad 10 Guides, News, & Discussion] z300muser:
Hi all

I've broken my screen on z300m

Yesterday my new screen come and i replace the broken screen with success

Now in twrp (not recoveryasboot) i've unresponsive touchscreen ,touchscreen work's fine in android

What i'm must doing for it's work's again in twrp

I'm not at home but maybe with recoveryasboot its work again i will try after
[Asus ZenPad 10 Guides, News, & Discussion] diplomatic:
Hey, z300muser,

Have you run TWRP after booting to Android at least once? It might be a TS firmware update issue. There is no practical difference in the recovery-as-boot image. Or else, it might be using a different driver that's blocked from working in recovery mode, just like the stock kernel before I modified it.