yashsingh1/xdaforums huggingface dataset:
[Miscellaneous Android Development] brk:
How to reinstall the factory image?

Got to bootloader, load command is blocked.

Can anyone provide a guide? Thanks.
[Miscellaneous Android Development] spbtech:
Im still new to the Android scene...Can someone explain to me whether or not flashing custom rom's is possible if you have root but not an unlocked bootloader? Is the bootloader normally unlocked to achieve root? or is it the other way around? Im asking because I'm tempted to port cyanogenmod since i have some linux build experience with yocto, and cyanongen doesn't look terribly different...

Thanks
[Miscellaneous Android Development] hajkan:
Hi

My Zenpad bricked itself :( , meaning that my root has been working for couple weeks with no problem. Today I saw that the tablet was off and it was very hot (which had nothing to do with me, the last time I used it was working fine). Then I tried to restart, it was stuck in boot loop logo animation thing. Now I am pretty sure that this device went south. I cannot restart it in recovery at all.

So here is my question. What are my options? Can I unbrick it? if so how?
[Miscellaneous Android Development] loner.:
Can you turn it off? Then power and volume down to get into the bootloader?

---------- Post added at 12:17 AM ---------- Previous post was at 12:14 AM ----------

What tablet do you have, CA?
[Miscellaneous Android Development] jahciple:
I took that update and it bricked my tablet. Anyone know where I can download the stock .img?
[Miscellaneous Android Development] Amd4life:
Have someone make a backup for you using TWRP recovery ONLY. I used CWM and bricked mine lol. Had to send it back for replacement and of course they are backordered. Darn
[Miscellaneous Android Development] jahciple:
Oh thank you for the heads up. Ended up returning it, I wanna see how the CA version is when it comes out.
[Miscellaneous Android Development] wd5gnr:
Just for the record, running cwm like this will let you install xposed x86 got 5.0 which is working well.
[Miscellaneous Android Development] madsquabbles:
they're released a stock image a few days ago. wasn't aware of it until this post: http://xdaforums.com/showpost.php?p=62296082&postcount=24 he's posted a link to the dl.

just finished dl'ing the stock image. it doesn't look like it would be too hard to pre-root it or even do more mods. it seems all the info needed is there - partition tables and such... i just don't know enough to handle it myself.
[Miscellaneous Android Development] madsquabbles:
figured the 32bit would work since, even though we've got a 64bit cpu, the OS is only 32bit. never got around to checking (too scared without a stock image, got one now though) so thanks!
[Miscellaneous Android Development] lancelinksp:
Can someone assist please. I have all files. When I run launcher.bat and select T2 all that happens is the bat program closes out. Surely its something simple I am not doing but its been a long day and I can't think straight. Thanks if someone can help. My laptop is a Windows 10 2-in-1 Asus.
[Miscellaneous Android Development] wd5gnr:
Did you install the USB drivers? I'm not a big Windows guy but you could do the same steps as in my Linux post to see where it is failing (just skip the chmod and udev steps; use your SDK's copy of Fastboot).
[Miscellaneous Android Development] mingkee:
It looks like a newer version coming out.

WARNING:

DO NOT INSTALL THE UPDATE!!!

Mine is soft bricked (stuck after DTS logo) and I am trying to install older version renamed as ASUS_BUNDLE.zip

UPDATE 2:

Followed the instruction on OP and ran CWM once again, copied three files onto memory card, and made these three steps:

(note: 32GB or less memory card is required with at least 2GB free space)

1. Install http://dlcdnet.asus.com/pub/ASUS/EeePAD/Zenpad/Z580C/UL-P01M-WW-3.3.8.0-user.zip

2. Install this OTA file https://www.androidfilehost.com/?fid=24052804347795914

3. Install superSU

4. Simply answer no on root fix (root has been installed at step 3)

Done.

This update DOES NOT lock bootloader, so root again if you want.
[Miscellaneous Android Development] lancelinksp:
Yes, I did install the drivers. I even answered yes about the adb connection on the tablet. Tried this as work as well but on that Windows 7 machine the drivers will not install. Connects just fine once I uncheck usb debugging on the tablet. Tried the driver update route on the Windows 7 machine and it just keeps saying that the drivers aren't correct for the device. Strange. However, I did take the recent update before trying to root so I wonder if that is my problem.
[Miscellaneous Android Development] madsquabbles:
when you connect the device with debugging on, go to device manager and find the device there. right click, update driver, browses.., let me pick, scroll down to intel and select adb device.

see if that works. if you let windows pick the driver it grabs a generic adb device that doesn't seem to work.
[Miscellaneous Android Development] Ezekial:
I got the Z580CA delivered today from B&H. Has anyone tried this method yet? I may give it a shot soon.
[Miscellaneous Android Development] mingkee:
Be aware of the OS on CA is 64bit which is different from C. You may try the method of ZenFone 2 64bit version.

I looked up ASUS support and found full ROM is available for WW and JP variants, so you will have peace of mind that you can load the stock ROM on stock bootloader in case of failure.

Hopefully CA will have unlocked bootloader which will attract developers.
[Miscellaneous Android Development] Ezekial:
Thanks much for that feedback. I'll do some investigation before I try anything. The 64bit piece could be important for sure :)

I hope so as well. I haven't tried anything quite yet. Since it's brand new, not much out there yet either. My hope is it will become a decently or well supported model. The specs should be a hit with many of us, so I am hoping that helps.
[Miscellaneous Android Development] larryk:
Mine isn't being delivered until Friday, So how do you like it???
[Miscellaneous Android Development] mingkee:
I personally think it's OK, but I think ME572c is better than 32bit version EXCEPT bootloader on this model is unlocked.
[Miscellaneous Android Development] masterxchief:
Just curious, when did you happen to put in your order?
[Miscellaneous Android Development] Ezekial:
July 14. I live close to NY so I got it on Tuesday, shipped late Monday.
[Miscellaneous Android Development] masterxchief:
Ah ok makes sense. I didn't realize they had it posted that long ago. Hoping I get an eta soon since I ordered this week. :)
[Miscellaneous Android Development] hajkan:
Well it seems like I get the fast boot (except with the eror, unable to open debricking). But how do I install the original rom? When I tried factory reset it said it cant find /cache.

I already downloaded http://dlcdnet.asus.com/pub/ASUS/EeePAD/Zenpad/Z580C/UL-P01M-WW-3.3.8.0-user.zip but I do not know how to push this one back to the device using fastboot.

Also can I remove and wipe the sd card using fastboot? I would like to wipe all the personal data in case I end up sending it back.

thanks
[Miscellaneous Android Development] loner.:
If you can get to the bootloader, then tether it to you computer like instructed in the OP.

---------- Post added at 12:31 AM ---------- Previous post was at 12:27 AM ----------

Don't use factory reset inside the ROM.
[Miscellaneous Android Development] hajkan:
Well, the script is very complicated to me, and it is talking about flashing the su. I am not sure about how to flash the original rom to be honest.

Or do you mean getting a hold of the temp recovery and use that recovery to flash the original rom? If so, the thing is that the original rom is not on the device, not sure if I can push it that way.
[Miscellaneous Android Development] loner.:
You should take time to read and maybe reread everything in the OP.
[Miscellaneous Android Development] hajkan:
[MENTION=567635]Loner[/MENTION]

Thanks for replies but to be honest that does not help me,. I do not even know what I am looking for here. I was able to root my device using the methods, sure but that does not give enough skills to flash the original rom which I could not see how that was done in the original post

---------- Post added at 08:21 AM ---------- Previous post was at 07:38 AM ----------

I need the Z580CA-C1-BK 8" 64 GB Rom, I am not sure if the rom that is linked in the origin post can be user for this particular model. If anyone outthere has this stock rom, please share it.

thanks
[Miscellaneous Android Development] hajkan:
Hi

Does anyone know if it is possible to list the contents of the sdcard and data in fastboot mode?

I also need to know how to flash the original stock using Linux? I was able to root it using fastboot under Linux by following [MENTION=3356299]wd5gnr[/MENTION] steps but I do not know how to flash the original rom stuff.

thanks
[Miscellaneous Android Development] hajkan:
update: I was finally able to flash thee original stock rom. But before that I had to erase the userdatata, data a nd cache with fastboot. I was not able to go forward without emptying those folderts with fastboot (fastboot erase userdata..)
[Miscellaneous Android Development] itsJohnuno:
so to install xposed you guys just flashed the official xposed zip file?
[Miscellaneous Android Development] loner.:
I e-mailed Asus asking if we will at least get a update to Android 5.1 on our Asus Zenpad S 8 over a week ago, so far they haven't even answered me.
[Miscellaneous Android Development] itsJohnuno:
we should all schedule an email to send at the same time, making it more known lol
[Miscellaneous Android Development] spbtech:
My question is what prompted Asus to release the bootloader unlock for the Zenfone 2? was it because people were flooding them with email? Because Asus would never release something like that on their own with no pressure... Maybe we should all get together and agree to send them 5 or so emails each per day until they give up... :)
[Miscellaneous Android Development] loner.:
I have tried and this was the response:

http://xdaforums.com/showthread.php?p=65337309
[Miscellaneous Android Development] wifesabitch:
Was thinking something like this too. 5.0 is like 16 months old now, what the h*ll? I've never heard of an Android device get left in the dust like this. Probably some low end devices, but this is the opposite.

I'd be good to hound them over e-mail and their Facebook and Twitter.
[Miscellaneous Android Development] spbtech:
i have made my first post against them on Asus facebook page, lets see if we get some attention :) . I think everyone who gets a couple minutes out of the day should post on their social media or mail them directly, but its likely they just delete emails...
[Miscellaneous Android Development] LukeHorizon:
Someone tried SoftKeyZ and can confirm it is working?

---------- Post added at 10:54 PM ---------- Previous post was at 10:38 PM ----------

I tried that but it didnt work... What did you use? I used es file Explorer
[Miscellaneous Android Development] itsJohnuno:
can we agree upon what to ask in these emails bootloader unlock or software update?
[Miscellaneous Android Development] LukeHorizon:
Nah, we should agree that root related questions should belong to a root related thread. Everything root related belongs here, not only development and SW updates
[Miscellaneous Android Development] itsJohnuno:
Hahahahaha bro this is our only piece of xda for our device... You need to calm down
[Miscellaneous Android Development] theodorius123:
I wrote a message..something like this: "If you can't/don't want to provide an up-to-date OS, then please provide help in unlocking the bootloader so other people can make your work....An up-to-date (and therefore secure) OS is fundamental.."

I doubt, but I hope they will react!
[Miscellaneous Android Development] hajkan:
Does anyone know if Asus will provide more updates for Z580CA to fix things like stylus tip parallax?
[Miscellaneous Android Development] loner.:
You will have to ask Asus, they stopped answering me.
[Miscellaneous Android Development] PMikeP:
I probably used fx, but it shouldn't matter. You add the display line to default.prop. Might need root.
[Miscellaneous Android Development] wifesabitch:
I see they are starting to promote their ZenPad C 7.0 on their Facebook and Twitter. I'm going to comment on every post about it.

I know it'll probably do nothing but it doesn't take long to do.
[Miscellaneous Android Development] loner.:
They will have another 8" tab Zenpad S 8.02 some are calling it. The Asus code name is P008.
[Miscellaneous Android Development] spbtech:
i tried using zenfone 2 bootloader unlock, on the zenpad z580ca .... it wouldnt install it. im guessing it checks device compatability before install... maybe the apk can be decompiled modified and rebuilt to work with zenpad??
[Miscellaneous Android Development] loner.:
If you are a developer, go ahead.
[Miscellaneous Android Development] hajkan:
Would it work with Z-Stylus?
[Miscellaneous Android Development] spbtech:
I am a developer, ive worked on linux and windows for years and im looking to work on Android as well... never hurts to expand the horizon...
[Miscellaneous Android Development] S. Prime:
Any help would be much appreciated.
[Miscellaneous Android Development] bigrazzzor:
http://xdaforums.com/android/development/asus-zenpad-c-7-0-z170c-p01z-root-method-t3311752
[Miscellaneous Android Development] spbtech:
possible bootloader unlock for Zenpad S 8.0

This might be worth looking at... SOURCE

For those that don't read russian or don't trust google translate... the user that goes by Martin H3 claims that bootloader unlock for Zenpad S 8 is likely to be similiar to the Zenfone 2 with minor changes, as follows:

adb shell

su

getprop ro.boot.serialno > /factory/asus_key

reboot bootloader

Can't find anyone that has confirmed this... I'm also having difficulty tracking down the lib file that is mentioned within the post, so I'm unable to confirm or deny this method....

EDIT: Tried the above and a couple variations of it, with no change to bootloader lock.... :(
[Miscellaneous Android Development] LukeHorizon:
Maybe this only works with the Variant that has the same soc OS the zenfone 2.. Dunno tho
[Miscellaneous Android Development] bg_man:
Don't bother. The app is not working on our device.

You can check it with the following procedure:

Install unlocker as system app with Lucky patcher.

Backup build.prop and replace it with build prop from zenphone 2.

Then app will issue

getprop ro.boot.serialno > /factory/asus_key

reboot bootloader

and that's all.
[Miscellaneous Android Development] bg_man:
Bootloader has to be unlocked first.
[Miscellaneous Android Development] spbtech:
...

It really sucks that the bootloader lock is keeping us from doing so much... I unfortunately don't have much experience in the "hacking/reversing" area so finding a working method of unlocking the bootloader is going to be next to impossible on my own. As i stated earlier i do have experience in porting, but that means nothing unless an unlock comes out.... I've been hammering Asus with questions as often as i can, even asked them to fix the kernel source code in the event someone does figure out how to unlock the bootloader. It seems if the kernel source code fails to extract .... they cant even zip files correctly.... But what ends up happening is they respond with an email claiming to transfer me, and no one ever gets back :(
[Miscellaneous Android Development] bg_man:
I have an idea for unlocking the bootloader.

It's very risky and probably wouldn't work.

So, all the magic of official unlock of ZF2 happens in the bootloader v2.19 and up.

If some brave soul flash 2.20 e.g. ZF2 bootloader on our Zenpad with:

fastboot flash fastboot droidboot.img

and the device not got bricked the commands:

adb shell

su

getprop ro.isn > /factory/asuskey

reboot bootloader

will work.

The risk of bricked device is very high!
[Miscellaneous Android Development] ishamm:
got the android N preview working on my Nexus 5x, split screen is excellent already, in an early version. this tablet would be great with it. REALLY hope asus can pull their finger out and get us N when it's released in the summer!
[Miscellaneous Android Development] wifesabitch:
I think there is a better chance of winning the lottery than this tablet getting Android N
[Miscellaneous Android Development] loner.:
I would be happy with Android 5.1 but that's doubtful too.
[Miscellaneous Android Development] GartimusPrime:
So am I correct to assume after reading all the posts that rooting my zc300c is not safe atm?
[Miscellaneous Android Development] hajkan:
So what is the outlook of ever getting custom rom (like cm 12) for this device? Does anyone have clear insight, thoughts on this issue? Are we tied by Asus because they do not unlock the bootloader?
[Miscellaneous Android Development] Feralbender:
hajkan, as it has been stated previously the chances of getting a rom without asus releasing a bootloader unlock tool are minimal (I am not saying that it is imposible since there have been cases that devs have been able to unlock a device without support of the manufacturer).

The best thing we can do is contact asus via email or other social media and hope that they end up unlocking the bootloader.
[Miscellaneous Android Development] wifesabitch:
So if Android N get released this summer like they say, we'll have a one year old high end device TWO full Android versions behind. That's gotta be some sort of record.
[Miscellaneous Android Development] loner.:
Has anyone found a way to unlock the bootloader on the ZenPad S 8.0 ‏(Z580CA) yet?
[Miscellaneous Android Development] kcour2006:
Edit-cleared David Cache....hard to find and missed that step. Thank you.

I couldn't get Xposed to stick. Our loaded via flash as instructed but could not get thenough installer to install. Error 504.

Any help would be great.

KC
[Miscellaneous Android Development] micl9:
The only way any Asus device gets upgrades is if it has Nexus on the back.

I almost bought one of these last fall, but opted for a Samsung tab Pro that had CM support. And this was to replace my last Asus tablet that never got upgraded.
[Miscellaneous Android Development] spbtech:
Finally got Asus to fix the kernel source code(for the Z580CA) , they've uploaded a fresh copy... But without a bootloader unlock there is not much its useful for...
[Miscellaneous Android Development] loner.:
This is my third Asus device and I have read the opinions several times:

"Asus would sell more devices if the did not lock their bootloader's."

This makes me wonder how successful the want to be? I know they used to supply keys to unlock the bootloader's, I downloaded it for my tf700t, and tf701t. So why lock them at all, do they think it will increase the use of all the Asus apps and other bloatware? Are they getting that much commission from choking the devices with bloatware?

---------- Post added at 11:33 AM ---------- Previous post was at 11:29 AM ----------

If I can't unlock the bootloader on this device, ASUS ZenPad S 8.0 ‏(Z580CA), it will definitely be the last Asus device for me.
[Miscellaneous Android Development] theodorius123:
Same for me. And I think almost everyone who would like to unlock the bootloader is (in this case) also able to get rid of Asus-software. And in general: People who don't care what OS/ROM they are using will still buy the good hardware and use the original software. But those ones here will never buy Asus again.

...I would love to hear something official from Asus whats behind this policy...
[Miscellaneous Android Development] micl9:
It will read something like this: :mad:
[Miscellaneous Android Development] theodorius123:
I got the same answer ;)
[Miscellaneous Android Development] spbtech:
I received the same answer as well.... My theory is if we annoy them enough, they will eventually make the unlock tool available or push an update, or hopefully both :)
[Miscellaneous Android Development] mulperi:
Ok Asus, you really need to upgrade the z580ca to 6.0 as soon as possible!

http://www.wired.co.uk/news/archive/2016-03/16/stagefright-android-real-world-hack

Even 5.1 is not safe today!!!

Ps. If you don't have the resources just unlock the bootloader and let developers do some magic
[Miscellaneous Android Development] wifesabitch:
They don't care about anything on their Twitter or Facebook pages. Lots of people make complaints and they don't reply to anything, or delete anything.

I post a comment every time they make a post promoting a Zenpad. No reply, they don't care enough to delete it or block me.

This tablet is abandoned. Time to move on to the "acceptance" stage. :(
[Miscellaneous Android Development] loner.:
I wonder how close this app is?

http://myzen.asus.com/2015/10/13/official-bootloader-unlock-for-zenfone-2-is-now-available/
[Miscellaneous Android Development] kcour2006:
Does anyone use the stylus to write? If so what keyboard are you using for input? Does it work well?

Thanks everyone.
[Miscellaneous Android Development] LukeHorizon:
I dont use the z stylus, but Google handwriting input is working well ;)
[Miscellaneous Android Development] prozack1983:
I am never ever buying an Asus product again. I bought their top of the line tablet, only to never even get a . update. Just no.
[Miscellaneous Android Development] slipslip:
Has anyone gotten xposed to work on this tablet (z580c) ? I can get the framework to install, but after installing the framework I can't get any other apps to install, including the xposed installer apk. Flashing the xposed uninstaller zip fixes that.

Would having the tablet encrypted cause issues with xposed working correctly?

Edit: Turns out encryption was the problem. After a factory reset I was able to install the framework and installer along with some modules without issue. My guess is that dalvik cache needed to be cleared after the framework install, but CWM couldn't clear the cache with encryption on. I haven't tested to see if encrypting after install will work; not sure I want to go through another factory reset.
[Miscellaneous Android Development] amrmo:
'New' fastboot oem commands for ZenPad S 8.0

I've digged a bit into the ramdisk contained in the online firmware image.

Some new 'oem' commands which could be handy, and that I didn't see documented elsewhere, are:

fastboot oem get_build_version

fastboot oem read-country

fastboot oem print-fingerprint

fastboot oem enable_end_user_mode 1

fastboot oem get_batt_info

The following has some help available:

cmd_oem_write_country

%s get [index]

%s write [index] [Value]

idx | name

----------------------------

0 | ISN

1 | Serial number

2 | Country Code

3 | Customer ID (CID)

4 | Color ID

5 | ACCEL calibration data

6 | PS calibration data

7 | ALS calibration data

8 | BT MAC

9 | WIFI MAC

These I cannot interpret yet:

fastboot oem get-lifetime

(bootloader) 70 a3 db 00

(bootloader) c9 21 ee e4 d0 94 c6 89 99 ad 8d f4 73 2d 65 5a

(bootloader) 8d 79 d7 18 46 49 49 41 00 2a 3f 6d 5a bb 62 f5

fastboot oem get-part-id

(bootloader) e0 67 b9 df 1f b1 aa f1 ed 91 f1 c4 49 e0 0e bb

fastboot oem remove-token

FAILED (remote: datagroup_id argument is missing)

---------- Post added at 04:15 PM ---------- Previous post was at 03:48 PM ----------

Another idea would come from this Chinese post (just automatically translated): http://23pin.logdown.com/posts/233350-zenfone-unlocked-device-interesting-discovery

It speaks about the ZenFone, for which an official unlocking tool is already available. However, even for the ZenPad S8.0, the method of using the same (temporary) custom recovery that already proved workable for rooting, and installing a modified official firmware image with the META-INF/com/google/android/updater-script changed into not replacing our own image.

I'd be also curious about the meaning of /factory/DeviceStatus.txt, which is set by default to 1. It is possible to simply edit and save that into 0, but it doesn't seem to affect the 'Security: 1' message at Droidboot. Perhaps a reset is needed, to make the change operative?
[Miscellaneous Android Development] spbtech:
Some interesting work there... What tools have you been using?? IDA Pro?