yashsingh1/xdaforums huggingface dataset:
[Xperia Z2 Tablet General] kulvertti:
Hi

Here is flasable zip file wich install latest ROM 23.1.A.0.690 which is LolliPop and region is customized NCB, latest stable SuperSu v2.46 and latest fully working Dualrecovery 2.89 for Tablet Z2 with read and write acces to system.

Make nandroid backup before flashing.

Install it by flashing whole zip file with custom recovery TWRP recommend.

Factory reset is to recommend.

Here is the link:

If you allready are in LolliPop firmware without working recovery you need to downgrade you firmware first to rootable firmware.

1. Download rootable .314 firmware here: https://mega.nz/#!ZdoklTKD!i8Go-UqaVVt-RIEaRsi5p2ploLPUWaagYirEJJAqKKg and flash it via Flashtool.

2. Root your device with tool you choose. (Dualrecovery installer option 3, Easy Root Tool, Giefroot or other).

3. Install SuperSu to your device from Play store if your root tool donÂ´t do it.

4. Install Dualrecovery with installer if you havenÂ´t allready.

5. Resume your KitKat nandroid backup with custom recovery.

6. Flash prerooted .690 firmware with custom recovery.

7. Before booting up wipe cache/dalvik cache.

8. Boot your device and you are done.

Credits: @Androxyde @Chainfire @[NUT] @LaguCool @zxz0O0
[Xperia Z2 Tablet General] ImAnurag:
Great work :) Could you please upload one about phone screenshot ?
[Xperia Z2 Tablet General] fleckdalm:
Thanks a lot!
[Xperia Z2 Tablet General] kulvertti:
Sure. Added screenshot to op.
[Xperia Z2 Tablet General] RoberM:
Which was the name of the tool to make this flashable prerooted roms?, i will need to do a SGP512 one for Spain country when it is available.

any advice when making it, kulvertti?
[Xperia Z2 Tablet General] thecrunked:
http://xdaforums.com/crossdevice-dev/sony/tool-prfcreator-easily-create-pre-t2859904

http://xdaforums.com/crossdevice-dev/sony/pc-xperifirm-xperia-firmware-downloader-t2834142

and flashtool
[Xperia Z2 Tablet General] kulvertti:
Here we go. First you have to download firmware from Sony servers. There are multiple way to do that. For example you can do it by official way using Sony Pc Companion or community tools like Flashtool or quite genious XperiFirm. Downloaded firmware is encrypted and it must be decrypt first. for this you can use Flashtool but if you download with XperiFirm it can do for you automaticly. Next thing to do is make .ftf which can be flashed via Flashtool. To do that use Flashtool. To make it prerooted, I know two methods. There is great quide by @[NUT] in Sony Cross-Device Development General section which explain the whole thing and then there is tool cold PRFCreator which basicly do the work for you if it succeed. With newest Sony firmware there is lastly one problem to figured out which is that you have to disable Sonyric to have write acces to system. Dualrecovery do it for you but as @[NUT] haven´t yet updated latest firmwares to it you have add your device version number manualy to dualrecovery installation file tmp folder file called "installdisableric.sh". Or find other way to disable Sonyric for example adding it Sonyric disabler seperately to the flashable.zip. At the moment though this isn´t enough to make write acces to system and we have to wait that dualrecovery is fixed or figure out some other way to do it.
[Xperia Z2 Tablet General] RoberM:
Yeah, thanks a lot, i know everything about xperifirm, making a ftf and stuff, what i really needed to know was the prfcreator tool name (i heard about it months a go and i didn't remember), and if there was anything special to do to make it work, like some manual editing on the install script, or what you mentioned about RIC service and dualrecovery.

Thanks again!
[Xperia Z2 Tablet General] CAL7:
I'm so addicted to [MENTION=4904057][NUT][/MENTION] 's dual recovery, I've forgotten what it's like to be without it. If I flash your (THANK YOU, by the way!) zip, what will be the steps once NUT updates the dual recovery? Just flash it, or will enabling rw be more complicated?
[Xperia Z2 Tablet General] kulvertti:
We will see. I will update the thread when we have solution to this.
[Xperia Z2 Tablet General] thecrunked:
is there a compatible version of xposed for this release. I heard it was working on android 5.0 but i got an error when i tried to install the framework. i am aware this release is 5.02 but i cant find any info on what specific versions xposed is compatible with.
[Xperia Z2 Tablet General] GalaxyWhy:
Looks awesome! You said the zip comes with the latest dual recovery but it doesnt work? How would i flash my old nandroid backup then?

Or does it mean I should flash a different recovery like: http://xdaforums.com/xperia-z2-tabl...wrp-cwm-philz-recovery-collection-z2-t3052676 then I'd have a working recovery on Lollipop?

EDIT: Also can I dirty flash this? I would rather keep all my homescreens, apps n such

Well on my OnePlus One I had to flash the framework in TWRP after I installed the apk, so maybe its the same
[Xperia Z2 Tablet General] kulvertti:
Correct version of Xposed should work at least with this trick http://xdaforums.com/showpost.php?p=58974714&postcount=2318. But as mentioned you have hard time to install it without working recovery.
[Xperia Z2 Tablet General] kulvertti:
Nandroid backup is quite handy when something goes wrong. I have already have bootloops when trying something and have to wipe everything, go back to firmware version .314, root it, install custom recovery, flash my backup and again this rom, without loosing any of my data. So, make nandroid backup. I don´t think that version of custom recovery that you are linking work either without update. @[NUT] is working on this and I´m sure we soon have working recovery.

Yes you can.
[Xperia Z2 Tablet General] GalaxyWhy:
You've had bootloops on Lollipop?

I think i'll just wait for [NUT] to get the recovery working first :) Thanks for the reply though!
[Xperia Z2 Tablet General] kulvertti:
Lol. No I don't have bootloops on normal use of LP and yes I have bootloops when trying something experimential [emoji6] which is quite normal with any firmware. Nothing to worry about mate.
[Xperia Z2 Tablet General] GalaxyWhy:
Ah ok awesome!

So if i flashed it now, would I be able to get a recovery working for it later or should i just wait to get the package all in one? :)
[Xperia Z2 Tablet General] T-junk:
Answering your question, no you have pre-rooted flashed so aslong as you dont break that part :) it will be possible to flash NUT's recovery through the -installer.zip version instead of the -flashable.zip version which you probably do now to update the recovery in most efficient way. No need to hesitate :D

Happy flashing ;)
[Xperia Z2 Tablet General] kulvertti:
As said I don't see any reasons to wait. As long you have nandroid backup of your kk firmware and rootable version of your device firmware no matter what happen with recovery you don't loose anything and are able to try what ever you decide.

Here is link to .314 firmware (ftf) which is rootable. https://mega.co.nz/#!kcxxjaLA!itErjRi2fYPPswal-c7XasF_lAvPKyY4GwEzY3xgHZ0
[Xperia Z2 Tablet General] GalaxyWhy:
Not exactly sure what the -installer.zip version is but ill trust you! Downloading it now :)
[Nexus 6 Q&A, Help & Troubleshooting] brie987:
5.1 Sign in loop. After email verification I am sent back to "Select wifi network"

Im on 5.1. When my phone boots up to the welcome screen I click "English", this sends me to sign in to my wifi, I do. Then it asks me to sign in to my email address this is what it says, "Verify your account", "This device was reset. To continue sign in with a Google Account that was previously synced on this device." I sign in with my Google account and my password, it then takes me to "By signing in you agree to the, blah blah. I click "ACCEPT" The screen says "Checking Info..." THEN THIS HAPPENS EVERY TIME. It takes me back to "Select Wifi network". Its like a loop. I have tried other Google email I have but same thing. I have wiped cache, factory reset and this is the same thing all the time. I am lost. Please help. Any ideas would be very welcome.
[Nexus 6 Q&A, Help & Troubleshooting] ChiragSuchak24:
Same is the case here!

I am facing the exact problem described by you on my Google Nexus 6. The reason being OEM unlock is switched off from inside and there is no option to turn it on again, without which flashing the bootloader is not possible.

I am still waiting for someone to reply or help with solution. Thanks for any help!
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
How did you update? OTA or factory IMG? Is your bootloader unlocked?
[Nexus 6 Q&A, Help & Troubleshooting] 02840:
Had this problem as well over the weekend.

Whatever you do don't factory reset your N6 (or any other phone with 5.1 Device Protection) if you've changed your Google password within 72hrs. I found this out the hard way....

Full page here.

I made this mistake and got stuck in a loop during setup on the N6. It would get past the WiFi setup, move to the account verification screens (gmail email then password) and loop back to the WiFi setup again. For the life of me I couldn't figure out why. Finally called Google support and after 30min was told I needed to wait 72hrs to try to reactivate the phone because I had reset my Google password less than 72hrs prior to factory resetting it.

Hopefully this will shed some light on the issue.

Posted here as well: Android Central Nexus 6 Forums
[Nexus 6 Q&A, Help & Troubleshooting] BeerOnTap:
So that's it. I literally have to wait? I need my phone now.
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
You have to wait. Or get another phone.
[Nexus 6 Q&A, Help & Troubleshooting] BeerOnTap:
Lesson learned :(

Going forward, if I had a nandroid backup, and flashed it, I would be good right?

---------- Post added at 05:44 PM ---------- Previous post was at 05:40 PM ----------

According to my Google account, I last changed my password on April 6th, at 11:46pm.

So with the 72 hour rule, at 11:46pm tonight, I should be able to log it, right?

(I just had to go flashing a new ROM lol)
[Nexus 6 Q&A, Help & Troubleshooting] Hogyoku:
//delete
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
Yes
[Nexus 6 Q&A, Help & Troubleshooting] 02840:
Yes. I had no issues activating my N6 using my Google account once the 72hrs had past.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
I just purchased my N6 from someone off Ebay and am getting this message. I have no clue whether the guy changed his password or not and he is not responding to any emails. He shipped it on Friday afternoon and it is now Tuesday - should be past the 72 hour mark. Any other ideas how to fix?
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
I remember seeing something about this, but I'm not 100% positive. As I remember, on 5.1 after a factory reset, if device protection was enabled the owner has to sign in again and disable all security. If he failed to do this, then he will need to supply you with his user name and password for his Google account (good luck!), or you'll have to return the phone to him, and he'll have to deal with it.
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
If you haven't already, open a claim with eBay first. By doing that, the seller has to respond.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
Terrific!!! :/ will do thanks.
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
No problem. :) Definitely protect the money you spent first! That's what buyer protection is for.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
Since i just got it, ebay resolution cases don't take effect yet. I did send him an email (through ebay) explaining and pretty much demanding this information. Kinda annoyed at the fact that i have this sitting around on my desk and i can't even play!! Lol
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
I know, that's a huge bummer! I do recommend that you don't try to do anything yet though. If it turns out that you can't get past the sign in error, the seller will have to refund you. You purchased a device that was supposed to be working, right? So, you are not responsible. In the time you're waiting, you can keep checking, in case the password reset does go through.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
That's exactly my plan. This guy has been less than responsive via ebay email so let's hope for the best here. Thanks for such a quick reply, too. I was freaking out over here
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
On eBay you need to attempt to contact and resolve with seller 1st before you can open a claim or dispute.
[Nexus 6 Q&A, Help & Troubleshooting] GuestK0087:
I had forgotten what the time limit was, being I haven't had an issue with eBay in a long time. OP had stated that he had tried to contact and the seller didn't respond, that's why I suggested the claim. The sooner he gets the resolution center involved, the better. :)
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
You're right. There was a change in eBay's dispute process, about 6 months ago. Attempt to resolve an issue with seller is now a required first step.
[Nexus 6 Q&A, Help & Troubleshooting] :
Awesome! Thanks for the update. :good:
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
Just an FYI: he may tell you that he's sold dozens of phones and never had to do this. And he's right. New with 5.1 (and possibly unique to Nexus 6 and 9?).
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
From what I've read, you're right. New with N6 and newer N9s yeah. I can quote articles to him, i'll tell him "email/password or you give my money back" and leave it to him!
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
I know you're frustrated, and rightly so. And you've said he's uncommunicative. But this could be an honest mistake on his part.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
I'm not angry with him, he most likely had no idea this was even a thing. I'm more frustrated with the fact that i have tried to reach out to him a few times with no reply and that i have a nice expensive paperweight currently :D
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
I understand. FWIW, if you want to get this device unlocked rather than returning it for a refund, you'll need to get creative in finding a way for him to share his info with you and still giving him some kind of "feeling of security".
[Nexus 6 Q&A, Help & Troubleshooting] 02840:
Original post removed. Didn't read far enough in the thread. :rolleyes:

Yep, do what everyone has suggested above, and best of luck!
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
The seller got back and isn't willing to give me the account information. I don't blame him.. i haven't threatened to open a case with ebay yet but it's coming! I have a theory: what if i flashed an earlier LP ROM? 5.0 perhaps. That doesn't have the device security on it. The way i see it, i would imagine Google's servers would be expecting the device to ask for the hash to authenticate the device but i guess it is possible that if the device doesn't send the request.... thoughts??
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
I would return it for a refund. Something goes wrong and you're going to be stuck with it.
[Nexus 6 Q&A, Help & Troubleshooting] :
To echo what [MENTION=3209971]cam30era[/MENTION] said, open the case with eBay. There's no guarantee that you can get past the security. It could become a total brick if you try. Then you're stuck with it.
[Nexus 6 Q&A, Help & Troubleshooting] 02840:
Agreed. This is the best way to go. You don't want to give them any reason to refuse your refund.

As someone who had this happen to their my own phone by resetting too soon after a Google account password change; trying to circumvent the security isn't worth the risk.
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
How did this work out for you?
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
Well it's still going on but I spoke with the seller and after he read through all the literature out there, he agreed to give me his Google account information whilst on the phone. Unfortunately he reset his password before we got on the phone so i have to wait 72 hours to try again. Friday at about 9:40 i will know! Thanks for the follow up dude
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
Welcome. Come back and let us know how it worked out.
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
I think that we should consolidate ALL the information we have on this into a fresh thread and ask to have it sticky'd.. This is crucial information for second-hand buyers and should be known!
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
A very good idea.
[Nexus 6 Q&A, Help & Troubleshooting] :
Perhaps a guide to the procedures involved before resale related to 5.1 security. A very good idea. :) [MENTION=1566190]efrant[/MENTION] Do you have any input?
[Nexus 6 Q&A, Help & Troubleshooting] efrant:
Isn't all that is required before selling is to (in order): 1) Flash stock ROM and reboot; 2) remove lock screen passcode/pin/pattern and all Google accounts on the device; and, 3) factory reset.
[Nexus 6 Q&A, Help & Troubleshooting] :
Shortest guide ever. ;) It's the problem of the changing Google password and waiting 72 hours before doing the factory reset. :)
[Nexus 6 Q&A, Help & Troubleshooting] efrant:
But if you remove all the Google accounts and lockscreen PIN from the device and immediately do a factory reset, then changing your password has no effect, correct? In my understanding, the devices that are having issues is because the owners changed their password and then did a factory reset without removing their Google accounts.

If you (or someone else) wants to write something up, I'll add it to the roll-up.
[Nexus 6 Q&A, Help & Troubleshooting] :
[MENTION=4617969]PatimusXPrime[/MENTION] it was your idea. :)
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
From what I have gathered (my own and other's experience) it looks like these would be the steps to follow to correctly prepare your phone for selling.

How to properly prepare your Nexus 6 running Android 5.1 to sell:

1. Flash Stock ROM and reboot.

2. Set up your phone and add your Google account(s).

3. Remove any screen protection such as: pins, swipe patterns, facelock, ect.

4. Verify that your Google account(s) have synced to Google servers then

remove them from the device

.

5. Factory Reset your phone. You should do this via the settings menu.

6. I would even go so far to say -- reboot the phone and begin setup. Once you log into your WiFi, verify that the request for previous Google account message does NOT appear.

7. Once the new user is able to setup the phone and enter their own Google credentials, you are free to reset your Google password with no worry. You can likely reset this sooner if you have removed the account prior to the factory reset.

If you do not remove your Google account prior to Factory Resetting:

The next person to use the phone (setup the device) will

require

your Google account credentials in order to get past the setup phase.

Caution:

If you reset your Google Account password before using it to get past the setup phase, the new user will have to wait 72 hours before the phone can be able to move past the setup phase.

References:

http://www.greenbot.com/article/290...ow-about-device-protection-in-android-51.html

https://support.google.com/nexus/answer/6172890?hl=en

http://xdaforums.com/showpost.php?p=59780601&postcount=4

http://www.androidpolice.com/2015/0...evice-protection-feature-and-how-do-i-use-it/

[MENTION=1566190]efrant[/MENTION] [MENTION=5302753]Evolution_Freak[/MENTION] :D
[Nexus 6 Q&A, Help & Troubleshooting] cam30era:
What I think I understand from [MENTION=3404717]patim[/MENTION]usxprine 's situation is this:

N6 owner (probably with 5.1 via OTA). Never unlocked bootloader, and never rooted. Has security enabled. Does factory reset from inside settings, and thinks he's golden to sell it. New owner gets it after auction, and voila! He can not log in with his username and password, because previous owner did not know that this needed to be disabled.

Now buyer and seller are faced with a dilemma: buyer gives seller his username and password so he can login and disable all security, or buyer has to send device back to seller for him to do it.

I've seen two cases like this in Q&A in the last month.
[Nexus 6 Q&A, Help & Troubleshooting] 02840:
I believe there are two issues being discussed in this thread.

1. Changing your Google account password then trying to activate a phone with the 5.1 security features after a factory reset.

Answer: Don't factory reset your phone if you've changed your Google account password within the last 72 hours. If a reset does occur and there's been a Google account password change within 72 hours, wait until that time has expired or you'll be in the setup loop. After the 72 hours have expired use the new Google account password to active the phone.

2. Selling or receiving a new phone that hasn't been properly "deactivated" from a Google account.

Answer: If selling your phone - To turn off device protection, remove your Google account from your device. Remove any PIN or password locks. Factory reset.

Answer: If you're buying a phone - Make sure the seller has done all of the above prior to shipping you the phone. If you receive a phone that is already associated with another Google account you'll need the seller's information to get past the setup, then follow the above steps to remove their account and add your own. If you can't get that information take the necessary steps to return the phone for a full refund.

Refer to this Google link for more information: https://support.google.com/nexus/answer/6172890?hl=en

This is all assuming a stock device. Please feel free to add, modify or correct anything I've said. :)

>> I see a couple sneaked in while I was typing. Mods - feel free to edit or delete this post as you like. Don't want to muck things up in this thread.
[Nexus 6 Q&A, Help & Troubleshooting] :
I suggest you all collaborate and either come up with a new thread in general or work with a mod to move this information into a new thread. Either that or perhaps this whole thread could be added to the roll up. Good job guys! :)
[Nexus 6 Q&A, Help & Troubleshooting] hemirox:
Downgrade

Does anyone know if downgrading the phone back to 5.0 would bypass this problem, since it was implemented in 5.1? I sent a N6 to someone and I really don't want to give them access to my Google account.
[Nexus 6 Q&A, Help & Troubleshooting] :
Yes, I believe it would. Do you mean you did a reset then changed your account password before 72 hours? Then sent the phone as described above?
[Nexus 6 Q&A, Help & Troubleshooting] hemirox:
I factory reset the phone through recovery mode before I sent it to him not knowing this security feature existed. He's a friend and I can walk him through downgrading, but even changing my pass and having him login after 72 hours would require him to have access to my account even for a short period of time.
[Nexus 6 Q&A, Help & Troubleshooting] :
If you removed your account prior to the factory reset and didn't change your password, then you don't have anything to worry about. You don't have to change your password when you sell the phone. Just remove your account/security and factory reset.
[Nexus 6 Q&A, Help & Troubleshooting] hemirox:
I didn't remove my account. I factory reset then sent it to him. He has it and it's asking him for my account info before the phone can be setup. Just wondering if we can get around it by downgrading, setting up phone with his account then taking the OTA back to 5.1.
[Nexus 6 Q&A, Help & Troubleshooting] :
Was the bootloader locked or unlocked?
[Nexus 6 Q&A, Help & Troubleshooting] hemirox:
It's locked, guess that answers my question then. Didn't think about that.
[Nexus 6 Q&A, Help & Troubleshooting] :
Yep. :(
[Nexus 6 Q&A, Help & Troubleshooting] PatimusXPrime:
What do you think would happen if this scenario happened:

Owner goes and factory resets the phone before disabling security > sells phone to buyer > buyer gets phone and realizes that he can't log in so he boots to recovery and factory resets phone again > then buyer gets account information from seller.

Do you think the added factory reset would mess things up?