yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] loner.:
As far as the files you offer, I am not used to the mega or the app I used.

As far as what bootloader I have when I start, a picture is worth a thousand words.View attachment 4394745
[Miscellaneous Android Development] loner.:
After I use the 5x method it's 4.7.1

I am done for now, I will let someone else work with it.
[Miscellaneous Android Development] shakalaca:
We should go step by step and figure out what the real problem is, in case other people may face the same issue. :)

I assume you've download the FreeMyZenPadLite.zip and extract it so we got files for unlocking bootloader. The ZenPad comes with software version 5.6.0.

1. Boot ZenPad into bootloader mode, connect to your computer

2. Open cmd.exe and change to 'files' folder under FreeMyZenPadLite, ex:

cd c:\FreeMyZenPadLite\files

3. Flash 4.7.1 bootloader by the following commands:

fastboot getvar sofia_support
fastboot flash token 471\BOM_TOKEN_v89.0040_CRAK_DEV.bin
fastboot flash ifwi 471\IFWI_v89.0040_CRAK_DEV.bin
fastboot flash fastboot 471\droidboot_sign.img
fastboot flash splashscreen 471\splash.img
fastboot reboot-bootloader

4. If everything goes well your ZenPad should reboot into bootloader again, but the IFWI VERSION should be 0089.0040 and the IMAGE VERSION should be 4.7.1.0

5. Set the allow flag by the following commands:

fastboot flash /system/bin/resize2fs magic
fastboot flash /system/bin/tune2fs busybox
fastboot flash /system/bin/cp unlocker
fastboot oem backup_factory
fastboot reboot-bootloader

6. If everything goes well (no 'denied' or 'not allowed' messages show up on your command line window) your ZenPad should reboot into bootloader mode again, and nothing changes on screen.

7. Now flash back to 5.6.0 bootloader by the following commands:

fastboot getvar sofia_support >nul 2>&1
fastboot flash token 551\BOM_TOKEN_v89.0056_CRAK_DEV.bin
fastboot flash ifwi 551\IFWI_v89.0056_CRAK_DEV.bin
fastboot flash fastboot 560\droidboot_sign.img
fastboot flash splashscreen 560\splash.img
fastboot reboot-bootloader

8. If everything goes well your ZenPad should reboot into bootloader mode again, this time the IFWI VERSION should be 0089.0056 and the IMAGE VERSION should be 5.6.0.0.

9. Query the unlock ability by the following command:

fastboot flashing get_unlock_ability

10a. If you see '(bootloader) The device can be unlocked' shows up on your command line window, then you're ready to unlock the bootloader.

10b. If you see '(bootloader) Unlock command is protected.

(bootloader) Go to Android OS to remove the protection

FAILED (remote: Unlock not permitted)' Then we have issue here, like different model, different ROM configuration...

11. Unlock the bootloader by the following command:

fastboot flashing unlock

And follow the instructions on screen, after that your ZenPad should have bootloader unlocked

12. Finally format userdata to prevent issues by the following command:

fastboot format userdata

13. Reboot ZenPad and finish the setup wizard.

fastboot reboot

14. Your ZenPad is now ready to root ..

---------- Post added at 05:24 PM ---------- Previous post was at 04:55 PM ----------

I think you should try

fastboot flashing unlock

after you restore 5.6.0
[Miscellaneous Android Development] loner.:
Ok I ran the boot batch file again.

When I hit yes at the unlock prompt it failed. When I queried the unlock ability it said the device can be unlocked. It only would reboot to the Android and stayed there, because the system was erased. I had to install ww5.6.0.0 again.View attachment 4395079View attachment 4395080
[Miscellaneous Android Development] loner.:
On number 6. I get E: couldn't get confirmation, after I select Yes: Change device state

I tried the whole process including putting Android ww5.6.0.0 back on the device several times. Same result. E: couldn't get confirmation after I select Yes
[Miscellaneous Android Development] loner.:
View attachment 4395156
[Miscellaneous Android Development] loner.:
More info for [MENTION=1813976]shakalaca[/MENTION]View attachment 4395160
[Miscellaneous Android Development] hkjxda:
Thank you so much for this automated root [MENTION=1813976]shakalaca[/MENTION]! My Z580C is fully rooted on v5.6.0 with Magik Manager!

Question, does Xposed work on this after root? I installed the systemless Xposed by dvdandroid and my tablet wouldn't boot after installation. It was stuck in a boot loop.

Any suggestions? Thanks again.
[Miscellaneous Android Development] hkjxda:
This automated root method is nice, but it's not meant for the Z580C. My device enters a boot loop hours after updating to v5.6.0 and rooting. I believe it's because my tablet is trying to run the software for the Z580CA on my Z580C model and it's causing conflicts.

Can you or someone please make this root method work for the Z580C model as well?
[Miscellaneous Android Development] S. Prime:
[MENTION=1813976]shakalaca[/MENTION] Successful Root on my Z580CA. I have attached some images and suggest that when using this root method that you have patience and follow the prompts on the tablet screen and in the command prompt on the computer. I downloaded the 9 files for your new method and used 7-Zip to extract the split archive. Just right click on file 001 and choose to extract to a folder. I opened a command prompt as an administrator and used the cd command to change the the folder I had saved the files in and started my Z580CA in bootloader mode (volume up + power) and typed root.bat in the command prompt and pressed enter. The status text began displaying at the bottom of the bootloader screen (see image and be patient) follow the prompts on the bootloader and the command prompt and hopefully you will achieve the same success that I did and remember it is not a quick process. The MagiskManager APK is in the files folder that you extracted and when I ran it, I thought it appeared that the patch had already been applied, so perhaps shakalaca would confirm that. I don't know much about MagiskManager, but it replaces SuperSU, I downloaded RootCheck and verified root.View attachment 4396950View attachment 4396951View attachment 4396952View attachment 4396953View attachment 4396954
[Miscellaneous Android Development] loner.:
I tried again. I downloaded the files again to make sure I had them all.

Same result. View attachment 4397063
[Miscellaneous Android Development] S. Prime:
[MENTION=567635]Loner[/MENTION] This may help you determine if you are missing any files.View attachment 4397083
[Miscellaneous Android Development] FirePsych:
I think this is a very good point. Both the Z580C/P01M AND Z580CA/P01MA are considered the ZenPad S 8.0, but they're NOT the same tablet.

This method seems to work for the"A" model.
[Miscellaneous Android Development] loner.:
I have a Z580CA and can't get it to work.
[Miscellaneous Android Development] FirePsych:
Look again at post #1331. The image you posted says P01M not P01MA.

---------- Post added at 07:12 PM ---------- Previous post was at 06:12 PM ----------

Looking at post #1292, #shakalaca's image shows P01M.

But post #1283 shows Z580CA

Confused...

So, could be, I don't know what I'm talking about.
[Miscellaneous Android Development] loner.:
It's a P01MA with 4 gig ram, etc. The bootloader that you see is the one flashed by the rooting program after it fails, I have to use Asus flashing tool to put firmware on it to get it to boot. I guess I have a hybrid now lol. The bootloader still says P01M, and here is a hardware settings screenshot.View attachment 4397123
[Miscellaneous Android Development] S. Prime:
System properties shows P01MA and the bootloader shows P01M, it is the same device, on my tablet. If you look at the images, I posted, you will see the difference. Hope this helps.
[Miscellaneous Android Development] shakalaca:
To use xposedframework in x86 devices we need to patch libart.so ..

Install MagiskManager from here https://xdaforums.com/xposed/unofficial-systemless-xposed-t3388268 first then install the magisk module in attachment
[Miscellaneous Android Development] S. Prime:
Is there a custom recovery, for our Z580CA after root?
[Miscellaneous Android Development] hkjxda:
Thank you. That's the one I installed. I've come to realize that the reason for my boot loop is because I have a Z580C. Will you be able to help us develop a similar root method for our version of the tablet?
[Miscellaneous Android Development] shakalaca:
Two questions:

1. Did you successfully unlocked the bootloader of your Z580C or not ? Did you see the " Your device ha been unlocked and can't be trusted " when booting ?

2. In https://xdaforums.com/showpost.php?p=75275856&postcount=1338 your Z580C is rooted and boot up normally, but in https://xdaforums.com/showpost.php?p=75288736&postcount=1339 your "upgrade your Z580C to 5.6.0" so what is the previous version you boot up ?

and .. no you did not install my patched XposedFramework, I just made it today ..

---------- Post added at 07:24 PM ---------- Previous post was at 07:22 PM ----------

I believe we can " borrow " from ZenFone 2 Z00A with just a few modification.
[Miscellaneous Android Development] hkjxda:
My device's bootloader was successfully unlocked and 5.6.0 installed on the device and booted up normally at first. It was fully rooted and was working. However, after a few reboots it gets stuck in a boot loop. This has happened about 3 times and it happened even when I didn't install Xposed.

In my previous posts I mentioned that it worked because I was under the impression that it did, until as I mentioned, the device gets stuck in a boot loop after a few restarts.

My conclusion is that this is happening because the tablet is running a different firmware that's intended for the z580ca, not the z580c. v5.6.0 is not even available for the z580c. The latest firmware for the z580c is v5.5.7.

Thank you for your help.
[Miscellaneous Android Development] shakalaca:
Great finding, so basically your device is unlocked but not stable.

Can you downgrade to 5.4.3 (by flashing 4.7.1 raw and upgrade to 5.4.3 .. maybe) then root again by flashing the boot.img patched by MagiskManager ? Version 5.4.3 for Z580C and Version 5.4.3 for Z580CA are identical, and the IFWI in version 5.5.0 for Z580C is the same with version 5.5.1 for Z580CA, so the boot loop may not related with bootloader. I think you can try 5.4.3 first then 5.5.0 and see if ZenPad goes stable.
[Miscellaneous Android Development] hkjxda:
Thanks. I'll try your suggestions when I get home.
[Miscellaneous Android Development] Ezekial:
WOOHOO!! As a Z580CA owner who was still on the original 4.0 firmware & rooted, I was super excited to see this! I had thought a few times to upgrade but didn't see enough value in wiping my device and I certainly wasn't wanting to loose root on Marshmallow.

I read though as many posts as I can, focusing obviously on shakalaca's posts. I then downloaded Z580CA FreeMyZenPad ZIP. I also downloaded the official 4.71, 5.51, & 5.60 so I could have them on standby if needed. I also wanted to compare the files in the ZIP to the official packages to get a better understanding of what is actually happening during the process.

First off, if you find Fastboot is not working, it's probably because you don't have the driver installed :D I didn't, as I haven't connected my tablet to the PC in years, and of course it's been formatted at least once since. Grab that driver from Intel directly - https://software.intel.com/en-us/android/articles/intel-usb-driver-for-android-devices

I ended up using just the package from shakalaca, starting with the original rooted 4.0 firmware and closely monitoring the process until the end. I did get held up just after the unlock was successful. After 30 minutes, the user data was still not wiped. I hit enter in the CMD window and it continued... not sure what happened there but it continued on without issue.

Attached are some pics.

:edit

I may try xposed later. I loved it on my MotoX... and now would be the time while I haven't fully set the device backup. Google did nicely restore my apps already but that's about it.
[Miscellaneous Android Development] loner.:
I wish it worked for me.
[Miscellaneous Android Development] Ezekial:
It sucks man. I did look through some of your posts & photos that your Droidboot version & serial_num are updated to v5 & 111111111 respectively... which matches mine and others in this thread. That said, my last photo I took while the bootloader shows my device updating to v6 for whatever reason. I only mention this, as it's one of the only things I saw that stood out, as it looks like you are doing everything right.

Anyway, I know this could be dumb, but the only thing I notice is if you are selecting the option to "Yes: Change device state" correctly. Using the volume keys, this should be highlighted red and then press (not hold) the power button.
[Miscellaneous Android Development] wtherrell:
Well, too late for me. I shattered the screen the other day. Amazon fire 8 for $50 is on the way. I know they can be rooted and such. If a chromebook with detachable keyboard like the Surface 4 has becomes available, I'll probably migrate to that. I hear that Samsung (Ugh!) has one coming out later this year.
[Miscellaneous Android Development] undrwater:
I will attempt on one of my z580c (not ca), and see if I can reproduce the instability.

[MENTION=1813976]shakalaca[/MENTION], any reason this can't be done from linux (no worries about drivers)?

Great work by the way, and thank you!
[Miscellaneous Android Development] shakalaca:
Just too lazy to try in my virtual machine ;)

If you have platform-tools or android sdk installed just change the path of ADBBINARY and FASTBOOTBINARY variables in script files.
[Miscellaneous Android Development] hkjxda:
Doesn't work on either firmware. When I patch the boot.img and try to boot it via fastboot, it fails each time. I get a red 'boot failed' error.

Would love to be able to root the z580c. Hope we can find a way soon. Would you be able to write a similar automated script using the firmware files for the z580c?

That would be awesome!
[Miscellaneous Android Development] shakalaca:
When you said boot did you mean 'fastboot boot' or 'fastboot flash boot?
[Miscellaneous Android Development] hkjxda:
Wow... That was it! I was typing 'fastboot boot' and not 'fastboot flash boot'. Typed in the latter and I'm now fully rooted. Thanks a million!
[Miscellaneous Android Development] shakalaca:
Great! So we can confirm the unlock process works on both Z580C and Z580CA, now we need to figure out the boot loop issue. Which version did you installed? 5.5.0 ? Did you install my xposed module ? :)
[Miscellaneous Android Development] hkjxda:
2 questions based on your suggestions:

1. Am I suppose to install a different Magisk Manager than the one that comes in your automated root package?

2. How do I install your patched zip seeing that I don't have a custom recovery installed?

---------- Post added at 06:09 AM ---------- Previous post was at 06:07 AM ----------

I installed v5.5.0.
[Miscellaneous Android Development] S. Prime:
if I open MagiskManager and tap the menu and go-to modules and tap the + icon, it gives me the option to install shakalaca's zip file, but I am lost concerning Exposed.
[Miscellaneous Android Development] FenrirMX:
Wow, you guys rock. I had pretty much given up on this thing ever being cracked.
[Miscellaneous Android Development] 4k7:
Nice, working like a charm!

Thanks guys!
[Miscellaneous Android Development] S. Prime:
[MENTION=1813976]shakalaca[/MENTION] Thanks for your great work. I am looking forward to the possibility of a custom recovery and perhaps someone will take interest in developing some custom ROM's, since we have an unlocked bootloader and root.
[Miscellaneous Android Development] bl8demast3r:
I wish that the Z580C/Z580CA had its own forums.
[Miscellaneous Android Development] bg_man:
Thanks to [MENTION=724785]Shakalaka[/MENTION]. Everything went smooth. Xposed also installed and running.

---------- Post added at 11:02 PM ---------- Previous post was at 11:01 PM ----------

Now is time to ask kindly twrp team for a custom recovery. ;)
[Miscellaneous Android Development] S. Prime:
[MENTION=2537304]bg_man[/MENTION] can you supply the steps you used to install Exposed?
[Miscellaneous Android Development] bg_man:
After rooting and installing Magisks steps are as follows:

1. Download xposed attachment from shakalaka post and copy it to the tablet

2. Open Magisk, modules, tap on + sign, find and choose xposed zip

3. Restart after console window shows flashing is done

4. You have a running xposed framework ;)
[Miscellaneous Android Development] S. Prime:
[MENTION=2537304]bg_man[/MENTION] Thanks, for the information. I thought that was the process, but just wanted to make sure. I am new to Exposed, but it looks quite interesting.
[Miscellaneous Android Development] S. Prime:
Has anyone installed the following version of GravityBox or found a version that will work on our Z580CA/C?

https://xdaforums.com/xposed/modules/app-gravitybox-v6-0-0-tweak-box-android-t3251148
[Miscellaneous Android Development] undrwater:
Done on my Z580c (Not z580ca) using linux for the commands in the .bat file. Everything looks stable, no apparent random reboots.

Some notes:

Don't update xposed - at least I got a bootloop

I needed to "Install" Magisk after I installed Magisk Manager - Direct Install worked

What modifications are needed from the Zenphone TWRP? That'll make things so much easier...including uninstalling a zip that messed up the system.
[Miscellaneous Android Development] brackenhill_mob:
Tablet now borked!

I need some help please. I'm a long time ROM installer & rooter so I wasn't expecting any problems as I've soft bricked my Z580C several times when playing around. Unfortunately the batch file in shakalaka's automated program threw an error and before I could hit Ctrl+C to abort, the tablet rebooted - and then never came back even after 24 hours. It is properly hard bricked - I don't even see the USB symbol nor do I get any flashing on screen if I press the power button. The bootloader is borked. When I plug the tablet into my Linux laptop, dmesg registers MOOREFIELD so there is power and a connection to the tablet.

So I need the files for xfstk.

Please can some kind person tell me where I can get these from? Otherwise a perfectly good tablet that I love will be consigned to the WEEE garbage hopper in my local dump :(

TIA
[Miscellaneous Android Development] el_sauvageon:
Hi,

My zenpad start rebooting every time my screen turns off... dont notice that imediatly after rooting procedure but i dont know if something goes wrong in rooting procedure or if its an incompatibility whith a specific app... how can i debug it?
[Miscellaneous Android Development] undrwater:
Have you seen this?

https://xdaforums.com/u/repair/hard-brick-asus-zenpad-s8-z580ca-z580c-t3465203
[Miscellaneous Android Development] brackenhill_mob:
Yes, and tried it for 24 hours a couple of days ago. That trick, which I've used before, only seems to work it you have the usb symbol on the screen. I have a completely black screen. That's why I need the raw bootloader files ;)
[Miscellaneous Android Development] ice0901:
Just purchased the CA version today http://store.asus.com/us/item/201508AM180000050/A35089
[Miscellaneous Android Development] FSRBIKER:
The overheating that has been reported in various reviews is the Z580CA version. It would be nice if Asus acknowledged this and said an update is in the works....I do think this is why you can't find the CA version for sale anymore though.

I just ran speed tests on both tablets on 2.4GHz, virtually identical in each test. Sometimes the C version was faster, sometimes my CA version. The average for both was 28 down, 24 up CA but about 26 up on the C version.

Beamed from my ZenPad S 8.0

---------- Post added at 11:37 PM ---------- Previous post was at 11:04 PM ----------

When the tablet arrives please let us know the build number it is running.
[Miscellaneous Android Development] itzmehotsauce:
Thank you for this info very much appreciated

---------- Post added at 04:36 AM ---------- Previous post was at 04:29 AM ----------

Thanks for all the info biker u been a very big help i think i might hold out and see whats going on with the ca version maybe they address the over heating in the new batch because i still have my nexus 10 running like a champ but i wanted something i can travel with and lugging my nexus 10 around is a chore.
[Miscellaneous Android Development] chriscosta77:
Sweet, root achieved! I really wish this device had it's own sub-forum. Btw, does anyone know if Xposed works on this device? Getting YouTube Adaway would be make everything perfect. :cool:
[Miscellaneous Android Development] Tabaqui:
I'm in the same boat as you. I'm trying to replace my shield for something lighter and that also has front facing speakers,don't care about the performance downgrade, I don't game much anyways. So yeah I am waiting for the next CA batch which hopefully has those overheating issues solved
[Miscellaneous Android Development] ice0901:
Mine was shipped today and should arrive on Friday. Can someone explain this overheating issue? I would like to confirm this.
[Miscellaneous Android Development] itzmehotsauce:
Apparently the tablet gives off a overheating warning and then dims the tablet to protect itself now someone on a forum said the tablet doesnt actually overheat cuz it still feels cool when that warning goes off but for whatever reason it still does it. Im thinking maybe thats just something in the os that gives off a false reading of the tablet overheating but i dont have eigther of them so i cant tell u for sure but biker has them both he can probly elaborate more then i can
[Miscellaneous Android Development] et1ssgmiller:
No overheat warning yet

QUOTE=itzmehotsauce;62970250]Apparently the tablet gives off a overheating warning and then dims the tablet to protect itself now someone on a forum said the tablet doesnt actually overheat cuz it still feels cool when that warning goes off but for whatever reason it still does it. Im thinking maybe thats just something in the os that gives off a false reading of the tablet overheating but i dont have eigther of them so i cant tell u for sure but biker has them both he can probly elaborate more then i can

I've had my Z580CA for about 3 months now and have yet to see this issue. I don't game a lot but I have been using it for casting video's through Chromecast and the screen is set to stay on for 10 minutes before going black. We just had another system update pushed down yesterday....4.3.0...but I didn't see the change log on the firmware listing at the Asus support website. Perhaps they've addressed the issue with this update.
[Miscellaneous Android Development] FSRBIKER:
The overheating notifications pop up on my Z580CA if I play a game for 5-10 minutes or so, then the screen dims. The tablet never seems hot.

On my son's Z580C this never happens and he plays games much more then I do.

I also received an update yesterday on my Z580CA and I did not see the pop up/screen dim after it finished. I can't say the update corrected this issue until i use the tablet for a few days though.
[Miscellaneous Android Development] FSRBIKER:
So far so good, 30 minutes of Clash of Clans and no pop up/screen dimming. Hope this continues as this last update might have fixed that issue.

Beamed from my ZenPad S 8.0
[Miscellaneous Android Development] itzmehotsauce:
Lol you read my mind thats the reason i wanted it to clash on the go lol im 2 seconds from rooti g this lgg4 cuz im so frigging laggy on this thing i just dont get it but i think ima wait until some roms come out for it and i also want xposed for lgg4 and zenpad aswell looks like ill be getting the ca model even if its just for thr new usb c hey biker thanks for all the help friend
[Miscellaneous Android Development] larryk:
I have a dumb question, is there a setting on the ZenPad that will keep the status bar visible all the time?
[Miscellaneous Android Development] jstiel:
Do you know where it saves it?
[Miscellaneous Android Development] larryk:
I don't understand the question, saves what?