yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet Q&A, Help & Troubleshooting] Marmalade_Shaws:
When I first began tinkering with phones and tablets and rooting, I did not fully grasp risks and the sensitivity of flashing ROMs.

I had attempted to flash a custom ROM on a Sony Xperia Z2 Tablet from Verizon. It failed and soft-bricked. I am attempting to recover it now, flashing the stock ROM back on and restoring it to factory settings; with my new knowledge in this area I can now do it successfully.

But I do not know how to recovery a soft-bricked device and was wondering if anyone here could kindly give me a quick run-through with links to tools and the stock firmware. It seems no matter where I search the guides are scattered and vague and I do not feel right following them.

I simply need the necessary tools to interact and flash the stock ROM on this device. I'd need to do so through a computer as there is no interface on the tablet, just the LED lights and vibration that give it signs of life. If anyone knows where the tools/equipment is, I'd appreciate it. I just want to download and get this out of the way. Also, if anyone knows a solid guide for the tablet I would also appreciate it.

Thank you.
[Galaxy Note5 Q&A, Help & Troubleshooting] defroster:
My GF was making a call with my Note5 and it popped up Process System isn't responding - OK, Wait - neither of which did anything. also it was vibrating every second or so, probably while trying to bring the system process back up and it crashing again.

Holding power didn't seem to turn it off but eventually it restarted to SAMSUNG screen, where it CONTINUES to vibrate every second and never progress.

Holding power does not shut it down.

What the heck do I do now!?

This is a relatively new phone but I bought it from some guy who I can't get back in contact with. It had been working fine for a week, rooted, running Dr Ketan rom.

edit: OK, after about 5 minutes of it vibrating at the SAMSUNG screen I tried holding power AND vol down, this (perhaps coincidentally) then rebooted it and it seemed to come up fine this time. It's a real pain not having a removable battery when something like this happens.
[Nexus 6P Q&A, Help & Troubleshooting] dontblinkwatchout:
Hi all,

has anyone been able to do this? Following the guide here, no longer works for Android N. The phone boots, but ignores all changes to system. How do I modify both build.prop and hosts? It seems that there are now possibly two system partitions?

Thanks!
[Nexus 6P Q&A, Help & Troubleshooting] Aleq:
Same issue on Nexus 5X
[Nexus 6P Q&A, Help & Troubleshooting] gthing:
No answer on this? How is it that nobody else seems to be having this issue?
[Nexus 6P Q&A, Help & Troubleshooting] dontblinkwatchout:
What I've done

It looks to me like everyone has moved to systemless and the /system partition cannot be adequately modified in this way anymore.

Maybe this will help others:

I was modifying the system directory for two reasons: 1. modify /system/etc/hosts to remove ads and modifying build.prop to increase lcd.density. I found that here are the alternatives for each:

Removing Ads

Using something similar to AdAway_systemless_hosts_v2.zip (google it for a copy) and modifying the hosts file in that zip file to be the one I use (and rezipping, deploying on the Android device). This basically mounts over /system/etc/hosts with a custom hosts file instead of actually modifying the system specific hosts file which is no longer writable.

The alternative is to use Netguard which routes non https network traffic through a private VPN where you can block ads according to a hosts file. This seems to work OK, but I have noticed that websites seem to take longer to load.

Modifying lcd.density

You can use the same trick as AdAway_systemless_hosts_v2.zip uses, but modify it to also mount a modified copy of build.prop. Alternatively just use the Android N Display settings that are small (what I did anyhow).
[Nexus 6P Q&A, Help & Troubleshooting] dratsablive:
I have been able to edit build.prop and still maintain systemless root.
[Nexus 6P Q&A, Help & Troubleshooting] Ericarthurc:
I was able to modify my system partition; by installing busy box to /su/xbin and running "su busybox mount -o rw,remount system" (no quotes) in material terminal with root
[Nexus 6P Q&A, Help & Troubleshooting] dontblinkwatchout:
Have you been able to do this with simply fastboot boot <twrp-image>, mounting system in rw mode and modifying it? I did that as I didn't want to root the phone, and while it looks like it did the write, it does not affect the system partition that is used by the phone after boot. I think there are two system partitions, and twrp mounts only one in rw mode. It does seem like it may be possible to do what you say using adb though after the phone is fully booted up. I'll try that!
[Nexus 6P Q&A, Help & Troubleshooting] DanRyb:
I had the same problem. I don't want to root but I do make a few changes to my /system partition through adb in recovery such as the hosts file and some font files (namely the Emoji font file). I had modified stock boot image to not enforce encryption. I would boot back up into the system and couldn't see any changes made. The only thing I found that worked was installing a custom kernel (I use ElementalX). After that, changes I made to /system in TWRP were reflected in the OS. I don't know enough about kernel development to understand why on (mostly) stock kernel my changes couldn't be seen but on a custom one they were.

I never had this "problem" prior to Nougat.
[Nexus 6P Q&A, Help & Troubleshooting] Equinox102:
Same issue here. Something has changed with how this is handled in Nougat.

I don't want to root just to overwrite the hosts file...

I'll keep debugging but my capability in this is definitely limited!
[Nexus 6P Q&A, Help & Troubleshooting] crashenx:
I use a similar approach as described in the OP's linked guide except I use my own recovery image that I compiled as an engineering build from source, and I am also experiencing the same behavior. Modifying the hosts file seems to have no impact on the system though the changes persist. Comparing the host file I installed and the host file from the latest Nexus 5X image with 'ls -lZ' the SELinux info looks to be the same. The only information that appears to differ is the modified date and one additional line in the file itself for testing. I thought I was doing something wrong with my hosts file, even though I have been using this approach since Android 6.0. However, I agree, it appears that changes to system are being ignored. Further, changing the system partition no longer shows the red warning at boot about the system being corrupted.

---------- Post added at 09:58 PM ---------- Previous post was at 09:38 PM ----------
[Nexus 6P Q&A, Help & Troubleshooting] alexiuss:
There's absolutely no way to modify or mount system partition r+w unless you disable dm-verity

Enviado desde mi Nexus 6P mediante Tapatalk
[Nexus 6P Q&A, Help & Troubleshooting] crashenx:
dm-verity has been around since Android 4.4. Are you saying there is something new around this in Android 7.0?

You can modify the system partition by compiling an engineering build of Android and booting it, then mounting the system partition and modifying it. I've been doing this to update the hosts file since Android 6.0 for every OTA update (since more recently OTA updates bomb out unless you reflash the clean "uncorrupted" system.img first). Changing the system image before Android 7.0 did result in an extra screen with a red warning about a corrupted something or other (I'm sure because dm-verity checking failed). Regardless, you can still change the system partition, the information just no longer seems to be used, which is a bit perplexing to me atm.
[Nexus 6P Q&A, Help & Troubleshooting] sfhub:
Android 7.0 introduced redundant bits for reed solomon forward error correction into the system and vendor partitions and code in the kernel to perform the error correction.

Your changes are being written to emmc but when you boot with 7.0 kernel with dm-verity enabled your changes are being treated as data corruption and on-the-fly error corrected back to original.

You can see your changes if you boot into twrp because it has dm-verity disabled. However if you boot into android with dm-verity enabled it will look like original image again even though your changes are technically still there.

It took me a day to figure out what was really going on because i initially had no idea they added this feature to Android N.

The simple way to disable dm-verity is to install SuperSU, but you can also accomplish the same patching your own kernel, installing pre-patched kernel, installing custom kernel, etc.
[Nexus 6P Q&A, Help & Troubleshooting] crashenx:
That's good info and makes total sense. Thanks! Pretty neat actually, just a bummer for me.

Yeah so SuperSU path is not really one I want to pursue. I could learn how to update the dm-verity shas used for verification. That'd probably be the most secure, but it's gonna be a PITA I bet. I imagine I'd need to compile my own image similar to how I made my live image and update a few things. Might have to deal with encryption which is probably an even bigger headache. Also, I bet it would break OTA and have to reflash to update, though that's true now.

I'm really curious what AdAway is doing. Maybe I should pursue reverse engineering that.

I really appreciate you pointing us in the right direction.
[Nexus 6P Q&A, Help & Troubleshooting] mohan_kr:
I am glad found this thread..willing to assist here without permanent root..
[Nexus 6P Q&A, Help & Troubleshooting] Keyosuke:
I was trying to create a /system/xbin/post-boot but couldn't remount /system, and so I added busybox to the front of my command. I am not using adb so I cut that part off. Thanks a lot!
[XDA Assist] XDA Visitor:
As the title says, is there any stock/vanilla/pure rom or recovery or firmware available for the s6 edge. I really don't want to use touchwiz and the themes don't satisfy me. Is there any way to just flash vanilla android to it?
[XDA Assist] Trafalgar Square:
Hello and welcome on XDA,

you can't

Kind regards

Trafalgar Square
[XDA Assist] XDA Visitor:
Hello. Could someone point me to a reliable and proven method to unbrick a Verizon LG v10. During the flash process to root, something went wrong and the phone will not boot at all, nothing. No recovery mode,etc. It is not even getting recognized by my PC>

Much thanks!
[XDA Assist] Trafalgar Square:
Hello and thank you for using XDA Assist,

please create an account and ask your question here:

LG V10 Q&A, Help & Troubleshooting

The experts there should be able to help you.

Kind regards & good luck

Trafalgar Square

XDA Assist
[General Topics] jeep14:
I understand that this website is mostly based on HTC devices but do any of you have the I760 on Verizon? I am completely handcuffed with VZW because they haven't released any WM6 HTC Devices yet (obviously a good 6 months behind anyone else)

I really like the device but I am lacking a lot of ability to install some of the great work that has been done by you. I cannot even get the HTC Album to work. Is there ROM work that can be done for this device at all? I would even take the ability to use the XV6700 ROM by Helmi at this point just to have some more ability but my guess is that will not work. My frustration is mounting as this phone becomes very generic outside of PocketCM and HTC home Plugin. Any info any owners or enthusiasts could provide would be most welcome.
[General Topics] PaNa-S:
bumbp please
[General Topics] jrwicker:
Go to www.pdaphonehome.com There is a i-760 forum there. Should get you all you need. I have the same samsung and have the fully functioning HTC cube app on it. Actually most of the good "hacks" will lead you back to this forum :)
[General Topics] DJ_SirG:
I have a Verizon SCH-i760 with mobile 6.1 on it. Is that what your looking for?
[General Topics] stanglifemike:
+1 ,lots of good specific info over there www.pdaphonehome.com

but........no custom ROM's just yet......hopefully soon **crosses fingers**
[Nexus 5X Q&A, Help & Troubleshooting] pdolo5784:
Do I download update Ota then install on rooted rom, or flash Back to stock and update
[Nexus 5X Q&A, Help & Troubleshooting] oeusr:
You should flash back to stock and update. Cannot install OTA over a rooted rom I believe.

However, I came from Paranoid Android and followed the advice here, and it worked perfectly. Was able to keep root and TWRP.

http://xdaforums.com/showpost.php?p=68314164&postcount=69
[Nexus 5X Q&A, Help & Troubleshooting] Mario Bros.:
currently on CM13.1 nightly I'm going to follow what you did. Hope it will work
[Nexus 5X Q&A, Help & Troubleshooting] carm01:
I was rooted I use this post, and the is a link in that thread to the actual zip your will need, and also you must have the updated TWRP as well. All the information is in that thread. but that is literally it.

Download update zip

Download Flashfire

download new TWRP

Back up you crap ( will not wipe SD card unless you tell it to )

Run FlashFire, set setting correctly

run it, you will already be rooted when done

set dev mode

re-flash new TWRP

PROFIT :D
[Nexus 5X Q&A, Help & Troubleshooting] Charles_l:
Did you get the option "Restore boot and recovery images" when setting Flash OTA zip? I just got Auto mount and Mount /system read/write.
[Nexus 5X Q&A, Help & Troubleshooting] karthik432:
You can use Flashfire to flash OTA file
[Nexus 5X Q&A, Help & Troubleshooting] rolozombie:
i don't get the option to restore boot and recovery images. is that ok ?
[Nexus 5X Q&A, Help & Troubleshooting] blackra1n:
If you have Xposed just get Android N-ify and it's just like having 7.0
[Nexus 5X Q&A, Help & Troubleshooting] chucky8:
Anyone updated from DP5 / systemless root / TWRP?

And flashed zip for adaway to work.

What are the steps to update with ota zip?
[Nexus 5X Q&A, Help & Troubleshooting] johnannis:
Yes and everything is ok. Follow the steps carm01 suggests some post above. Its easy and at least for me everything worked. After fisrt boot you can go to TWRP and flash everything else you need.
[Nexus 5X Q&A, Help & Troubleshooting] milan187:
Not really other then a couple of options.
[Nexus 5X Q&A, Help & Troubleshooting] blackra1n:
You can get the same experience without going through the trouble of upgrading and then having to root again etc. I personally like it but we all have opinions
[Nexus 5X Q&A, Help & Troubleshooting] milan187:
I used it months ago so there could be a lot of changes to it since then?

I don't believe the new notifications are there? Quick pull down? It's also nice that it takes up a GB less for system as well.

What rom are you on?
[Nexus 5X Q&A, Help & Troubleshooting] blackra1n:
The notifications are definitely there, so is quick pull down :) It's updated frequently so I'm sure the experience is the same

I'm running Dirty Unicorns 6.0.1 with ElementalX kernel
[Nexus 5X Q&A, Help & Troubleshooting] milan187:
I just looked at N-Fy, pretty impressive. Good for them.
[Nexus 5X Q&A, Help & Troubleshooting] blackra1n:
They've definitely done a great job
[Miscellaneous Android Development] Jaimesco12:
I can test I have the 32gb variant
[Miscellaneous Android Development] maverixz:
I just finished installing it and everything seems to be running smoothly. Great job!
[Miscellaneous Android Development] mad4some:
I am mighty sure that this is just plain 'ole 5.0 and not 5.0.1 as mentioned. Just to be clear, Cheers and good job! :cool:

Edit: Another thought, there are different versions or SKU's of this tablet (WW, JP, TW, CN etc.) that according to ASUS, you cannot install a rom from one SKU to another...... [MENTION=6458912]lolihunter[/MENTION], what SKU version rom did you use? and IMHO, a warning should be added to the OP.
[Miscellaneous Android Development] lolihunter:
You are indeed correct. I have edited the post to reflect the correct data. I shouldn't make such an important post when low on sleep. ;)

Also, I am working on a version for Z580C. I actually noticed the file sizes, ZIP names, and descriptions of the stock ROMs for both devices are the same on the Asus website, but have slightly different links. If luck is in favor, the one I am downloading will match the original stock ROM for the Z580CA, meaning they are one and the same. Will update later today with either an edited post or a new separate modded ROM.

If there ends up being enough demand for the other firmwares, I may edit and add those as well.
[Miscellaneous Android Development] pjb0521:
Cannot connect via ADB and cannot pull files from ExtSD

(Issue Resolved, see below)

Hello,

While attempting to flash my tablet, my CWM session did not seem to recognize my SD card with the files needed to flash.

So, right now, my tablet is:

-In a CWM session (somewhat afraid to restart)

-Unable to read SD cards for some reason (tried two separate SD cards, 4GB and 16GB, both formatted FAT32)

-Without an operating system (/System, /Data, /Cache wiped)

-Is unauthorized by ADB.

Is there anything I can do to fix my tablet? Restart into stock bootloader maybe? Authorize ADB to sideload files (somehow)?

Any help is appreciated,

-Pjb0521

(Forgot to mention, I have the Z580C)
[Miscellaneous Android Development] lolihunter:
If CWM is failing to detect an SDCard, I would suspect the card itself as being the problem. What OS are you using to format the SDCard? If your are using Windows, try to use disk management to make sure the card is using the GPT partition table instead of MBR. If it is already, use it to initialize it to MBR then back to GPT, and use it to create a single nameless fat32 partition across the whole SDCard.

CWM should automatically mount the card. I didn't need to mount it with mounts and storage, I just plugged it in and tried to install from it, and it automatically showed the files I had copied to it.

This tablet does not allow for pushing or pulling of files with adb, it is always unauthorized. I would imagine this has to do with the locked bootloader, as even in Linux I cannot push the files to it, which is why the guide uses the SDCard.
[Miscellaneous Android Development] pjb0521:
Nevermind, issue is resolved. Just rebooted into fastboot, restarted the CWM session and installed the ROM. Thanks anyways for your help!
[Miscellaneous Android Development] glaudrem:
Do you think you can port marshmallow rom for zenfone 2 to zenpad s Z580CA? same hardware
[Miscellaneous Android Development] Angus66:
Excellent work - much appreciated!

One question - after installing this ROM is it possible to return it back to stock at a later time?
[Miscellaneous Android Development] lolihunter:
[MENTION=4355197]glaudrem[/MENTION] it might be possible to get a marshmallow build ported, but unless we actually get an unlocked bootloader for the device it's really gonna be too much work.

[MENTION=4828177]Angus66[/MENTION] yes, you can just flash the latest stock rom zip from the Asus website in the same way you flashed the modded one. In fact, the only thing I have done to the modded rom is just removed the bloatware from /system/ and repacked it, making clean installs or reinstalls much easier. Just make sure to do a full wipe with CMW should you decide to go back.
[Miscellaneous Android Development] jfoss:
Hi, Thanks for your work on this. I have the Z580C and can you tell me the version of superSU that you have verified to work with this rom? I have had problems with older devices and "the latest version of SuperSU" causing bootloops. I currently use version 2.65 which works.

jfoss
[Miscellaneous Android Development] Angus66:
Where can I find what firmware version I currently have on my Zenpad S???
[Miscellaneous Android Development] pjb0521:
Official Marshmallow rom for Z580C/CA is UP!

It has just been discovered that the Portuguese Z580C/CA web page has version 5.4.3 available for download!

This Android version for these ROMs is 6.0, and is for the JP and WW SKUs.

http://www.asus.com/pt/Tablets/ASUS_ZenPad_S_80_Z580C/HelpDesk_Download/
[Miscellaneous Android Development] Hungry hustler:
hheeyyy it's the same on the US webpage :)

ASUS ZenPad S 8.0 (Z580C) Firmware: V5.4.3.0 (for WW SKU version only)

***This version is only for download manually, device wouldn't receive FOTA notification***

Notice：

Note1: Software update to Android 6.0 Marshmallow. Internal storage will decrease slightly after update, suggest backing up data and relocating media file (pictures & video clip) to SD card to reserve enough storage before starting the software update.

Note2: The battery life of device has to be more that 50%. It suggest plug ASUS adapter in order to avoid upgrading failed.

* OS upgrade from Lollipop to Marshmallow

http://www.asus.com/us/Tablets/ASUS_ZenPad_S_80_Z580C/HelpDesk_Download/

gimmie smores :)
[Miscellaneous Android Development] 4k7:
Hey guys,

everything went fine, except that I forgot to erase the cache before rebooting. Now I am stuck in droidboot and I can't get out of there. The only thing that detects the tablet is fastboot, but i can't execute any commands, as it says

FAILED (remote: command not allowed in this device state)

So I can't start a new temporary CWM session.

Wiping cache or anything else with fastboot does not work either, as it's the same error...

Any suggestions?
[Miscellaneous Android Development] AndreaKPiermarteri:
Hi!

I have a question:

During this week Asus updated to mm.

Can i do the upgrade if i have installed the debloated version of the firmware? If yes, how? If not, how Can i roll back and get mm?

Thank you very much in Advance.
[Miscellaneous Android Development] S. Prime:
If you installed the MM update, from the tethered recovery, that is the cause of your problem and no one has found a solution, at this point. You can find more discussion on this issue, in the rooting your Zenpad S tablet discussion.

http://xdaforums.com/showthread.php?t=3160422
[Miscellaneous Android Development] 4k7:
Ah okay, I've just seen the thread. Well, as I still have warranty I handed it back to the store today and they will send it to Asus, so it will either be repaired or I will get a new one.

Thanks anyways.
[Miscellaneous Android Development] DGxInfinitY:
There is now an official Marshmallow Update from ASUS I am currently running it but its full of bloat, if you could remove bloat again that would be awesome, I just want an AOSP version for this tablet but I don't think I will ever get that. Here is a link to the actual download from the ASUS website: http ://dlcdnetDOTasus.com/pub/ASUS/EeePAD/Zenpad/Z580C/UL-P01M-WW-5.5.0.0-user.zip?_ga=1.264638607.1670638117.1483822798 This is for the Z580C.

I just signed up so I can't post links :crying: but just replace the 'DOT' with a . and the space between the http and ://
[Miscellaneous Android Development] 4Strings:
So, are there any custom/AOSP ROMs out there for the Z580C or not? Just got the damn thing and was hoping for something a bid more "stock".
[Miscellaneous Android Development] stevejohnson42:
haven't found one yet.. challenge has been getting bootloader unlocked by exploit or the more preferable route of manufacturer providing the unlock key for those who are willing to take responsibility

a nioe tablet , but would love to be abnle to tweak the software to better suit my use
[Miscellaneous Android Development] Velitacast:
I'm trying to download this ROM, but the Google Drive link doesn't work. Can anyone help?
[Miscellaneous Android Development] HorusEyE:
Yeah, link https://drive.google.com/file/d/0B0af6CkRQIYWV3pCbHZnY09zamM/view?usp=sharing is broken... Please fix!
[Miscellaneous Android Development] han2:
The original download link is still broken. Can anyone repost?
[Miscellaneous Android Development] natinusala:
The link is still broken, can anyone reupload it please ? [MENTION=6458912]lolihunter[/MENTION] maybe ?
[Miscellaneous Android Development] Mattx94:
someone can update the link? thanks
[Miscellaneous Android Development] SteveCoops:
Would also appreciate a recent de-bloated ROM! Even if it's the latest Android v6 that Asus released, just without all their junk...