yashsingh1/xdaforums huggingface dataset:
[Huawei Ascend P7] RejZoR:
Yeah, downgrade back to B621 (I had to go back in exact steps I used to go forward, meaning B839->B830->B621), install B621 CUST fix, install B830 and then you can either use full B839 to be sure like I did or you can go B830 -> B839 OTA -> B852 OTA (currently B852 only comes in OTA version).

Sometimes, if downgrading step fails, just keep repeating it. Eventually it will work. Not sure why this happens, but it does.
[Huawei Ascend P7] pokko:
Ok, so my plan looks like this:

Unrooting my device by flashing Stock Recovery Emui3.1 via ADB

Factory Reset

Downgrading directly to B621 via Force Update

Factory Reset

Installing B621 CUST-Fix

Factory Reset

Update to B839 with Full B839 via Force Update

Factory Reset

Waiting for OTA B852, installing it OTA,

or

Local Update B852 (60MB)

Factory Reset

Flashing TWRP 2.8.7.0.img via ADB

Rooting with SU

Does this looks ok?
[Huawei Ascend P7] pokko:
Something is going wrong.

Downgrade fails.

Both, Force Update and Local Update installation to B839 fails.

My device was rooted and the TWRP recovery was installed.

So I installed Stock Recovery EMUI3.1 in order to do the downgrade.

But there is no chance to get the downgrade to B839 work.

I also tried to downgrade to B830 but there is the same problem.

I tried several times.

What is wrong?
[Samsung Galaxy S7 Questions and Answers] kishor5487:
Thanks for working fine but unable to use dual sim & phone network issue please provide solution
[Samsung Galaxy S7 Questions and Answers] Zibru:
Pls. Provide a soln. to the above question
[8125, K-JAM, P4300, MDA Vario ROM Development] xzami:
hi i need a dutch wm6 rom a good one tnx
[8125, K-JAM, P4300, MDA Vario ROM Development] mccune:
Please do a search, or try to create your own Dutch ROM. There is plenty of info about changing the language of the ROM's.
[8125, K-JAM, P4300, MDA Vario ROM Development] xzami:
can somebody plz give me a link to change language or something ,tnx
[G4 Q&A, Help & Troubleshooting] sminki:
Bought myself a G4 for Christmas :D

What is this? -->

I'll be unlocking/rooting/etc tomorrow, but just curious as to what that is, sitting there all day.

I would've used the search function, but as I don't know what it is... :p
[G4 Q&A, Help & Troubleshooting] Vseprz:
That is the NFC icon.
[G4 Q&A, Help & Troubleshooting] sminki:
That was easy (and embarrassing), cheers! :o
[Xperia Z3 Compact General] simonwil:
[MENTION=4726673]systemallica[/MENTION] - Thanks for doing this - can you fix the link for step 1 and then I'll give it a go.
[Xperia Z3 Compact General] systemallica:
Sorry, my bad, should be working now!
[Xperia Z3 Compact General] simonwil:
I followed the script and it all worked fine - thanks for putting it together.
[Xperia Z3 Compact General] cattolicboy:
Thanks [MENTION=4726673]systemallica[/MENTION] for the very detailed guide!

Is there a way to modify some of your steps for who, like me, has already unlocked the bootloader? Just to avoid the relock-unlock and make the procedure shorter.

ps. actually I'm on concept 2157 from [MENTION=4815490]jenkins-84[/MENTION] (http://xdaforums.com/z3-compact/development/rom-t3232674).
[Xperia Z3 Compact General] istux:
What?

You let the people unlock their bootloader without any warning about the TA partition? :eek:

If you lose the DRM keys you can't get them back forever, do you know? :confused:

This is what you lose without DRM keys:

http://xdaforums.com/z3-compact/general/loss-drm-keys-t2890936

You HAVE TO backup your TA partition before unlocking and the only way is following these instructions:

http://xdaforums.com/z3-compact/general/how-to-root-backup-drm-keys-t3013343

I really hope nobody has followed your guide without doing so :(
[Xperia Z3 Compact General] systemallica:
I am not sure as I am not familliar with Jenkins-84 ROM, you can always try and let us now though.

You are totally right!! How the **** I forgot that?!

Sorry guys, I added it to the guide now.
[Xperia Z3 Compact General] istux:
Add a warning too.

Losing the TA partion can affect the warranty in some countries!
[Xperia Z3 Compact General] systemallica:
I did, thanks for the feedback.
[Xperia Z3 Compact General] bmatthias:
DRM fix

On Marshmallow 2157 and 2178 I managed to get back the DRM features without Keys by installing this.

I am not sure if it works with your method, but you can try.

If you already lost your TA partition (and keys), you need to do the following:

1) Relock the bootloader: Connect your phone in flash mode (press volume down when connecting the USB cable). Click the BLU icon, then click Relock.

2) Install a Kitkat ftf with TA partition included (23.0.1.A.5.77): Use Flashtool to install the ROM in flash mode (volume down). If it asks to use a script, click no.

You must wipe data (check APPS_LOG and USERDATA boxes), otherwise the method will fail!

3) Unlock the bootloader again (Click the BLU icon in Flashtool, then click Unlock).

4) Install Androplus kernel V19c with TWRP recovery here (most newer kernels/recoveries do not work!): Connect in Fastboot mode (volume up), then flash the boot.img from the zip.

5) Go into recovery (press volume up during boot when the notification light goes on).

6) Flash the Marshmallow ROM by jenkins-84.

7) Flash the drm restore zip V2 (the old version).

8) Wipe data and reboot to system.

If you tried the new DRM restore V3 (without the complicated method of flashing Kitkat first) please report back whether it works for you on Marshmallow!

Before/After:

[IMG="Before"]http://s28.postimg.org/afwo05tcc/DSC_0004.jpg[/IMG]

[IMG="After"]http://s8.postimg.org/kcd5pf090/DSC_0007.jpg[/IMG]
[Xperia Z3 Compact General] cattolicboy:
Excuse me, but I don't get how you manage to take the two pictures in almost exact same position, while in the meantime doing the drm tweak :confused:
[Xperia Z3 Compact General] bmatthias:
It is not the same position :D I tried to have the same conditions for comparison. Second picture was done after drm restore.
[Xperia Z3 Compact General] mirecek11:
Hi I have a problem with loading recovery

in command line error :cannot load recovery twrp.img and I am connected in command line
[Xperia Z3 Compact General] pphone:
Is this tutorial for windows users or can it be used with Linus or Ubuntu. Thanks
[Xperia Z3 Compact General] ilogabcn:
When a new update appears, you must again do all the steps?
[Xperia Z3 Compact General] hotlinksxz:
Man, i love you <3
[Xperia Z3 Compact General] Xentar712:
Nice guide! You might want to add an extra warning on step 2 ensuring they are rooted before proceeding. If I remember correctly, backupTA will run even if you aren't rooted but it won't copy the partition over. Some people who don't read/pay attention might think they backed it up when they actually didn't.
[Xperia Z3 Compact General] mirecek11:
Hi

So I have a problem with instaling twrp.img via android sdk

I see the phone in command line when I tape in command

line" fastboot devices" but when I tape next command

" fastboot flash recovery twrp.img" I see only failed:cannot

flash recovery twrp.img. My bootloader is correctly Open

sure because Ibefore I had using cm11, 12, 12,1 aosp too

and without problems. Do you have any idea or advise

what's the problem?

Thank's for everything ideas.
[Xperia Z3 Compact General] someone755:
Make sure twrp.img is in the directory you're executing cmd from.

The only difference for Ubuntu would be the way to install Flashtool (Google it) and how to install adb and fastboot (since you can easily do it with apt-get).

Just flash the FTF without flashing userdata in Flashtool, re-flash TWRP, and (optionally) root.

Your bootloader won't magically re-lock, and your TA keys won't spontaneously make their way back onto your device for you to back them up.

What does 'fastboot devices' say?

It might be a driver issue, though since you're on Windows that's hard as hell to fix. Try another PC, or boot up Ubuntu from an USB key.

Thanks for this thread mate, you're clearing up a lot of confusion people have been having regarding concept M.
[Xperia Z3 Compact General] systemallica:
Thanks to you for solving people's doubts! I just made this thread in order to help some people so I'm glad it's being useful
[Xperia Z3 Compact General] HvdW:
O, I sincerely hope it works.

I'll give it a try one of the next days.
[Xperia Z3 Compact General] cattolicboy:
[MENTION=4726673]systemallica[/MENTION]: I have just noticed a error in the title of the thread, it miss the "n" in cocept. I have thought that you would care because of tags...
[Xperia Z3 Compact General] hotlinksxz:
Well i'm installing M Concept updates and i have some doubts:

I did the DRM Backup in KitKat, now i have a .zip archive called TA Backup. Is everything ok?

How i restore the DRM Keys in the phone for came back to stock 5.1.1 for example? Just installing the Zip from the custom recovery?

Thanks and sorry for my english :P
[Xperia Z3 Compact General] systemallica:
Download the TA backup tools again, unzip them, connect your phone, open the bat file and you'll see the option "restore", follow the instructions from there.
[Xperia Z3 Compact General] Haik0:
Does this procedure apply also to non Compact Xperia Z3 ?

Thanks
[Xperia Z3 Compact General] hotlinksxz:
Should be similar. Just with the specific Z3 non compact rom .ftf
[Xperia Z3 Compact General] mirecek11:
fastboot command

[IMG="fastboot"]today in this afternoon I was triing it one more with same result and I made the photo command line here is the picture

this is the picture with command line via sdk
[Xperia Z3 Compact General] ashrafsmadi:
phone bricked after xposed :rolleyes:
[Xperia Z3 Compact General] hotlinksxz:
Everything installed and working just how the guide says

Snapchat and Contacts don't work. And i think the camera lost a bit of quality because the opened bootloader
[Xperia Z3 Compact General] bandario:
Thank you very much for your clear and concise instructions.

Unlocked bootloader just fine, installed and updated rom just fine (it's working well).

Unfortunately, I have hit a snag.

After successfully flashing the twrp.img file using fastboot which is confirmed successful, I try to enter recovery mode and I get a pic of a dead android and the text "no command".

Have tried different versions of TWRP to same effect, flash successful, entering recovery is not possible.

This is on an Australian verrsion of the Z3 Compact which originally was not sim locked and had unlocked bootloader using the standard sony unlock process provided by them.

Does anyone have any ideas? I know the Z3 compact had some real weirdness with the way custom recoveries had to be installed, but I was under the impression that after installing the new concept, this was no longer necessary.

Any tips on getting a working recovery on this thing?
[Xperia Z3 Compact General] systemallica:
That's strange, everything went fine before that step?

I'm using Snapchat daily and works fine for me, the thing is, it doesn't let you log in if you have xposed installed. So you have to uninstall the framework, log in, and install it without ever logging out.

Contacts also works fine here.

And yes, the camera loses some functionality under some specific light conditions

[MENTION=3592403]bandario[/MENTION] that's really unfortunate, but I don't know how to fix it if you have already tried to repeat the twpr installing steps, maybe someone can shed some light on the issue
[Xperia Z3 Compact General] Xentar712:
You sure you installed the right version of xposed? And are you sure it's bricked? You can't get into recovery or even flashmode?
[Xperia Z3 Compact General] bandario:
For anyone else struggling here, grab the boot.img out of Jenkins CONCEPT rom and flash it as BOOT using fastboot.

He has modified boot.img to contain a working recovery, from there you can apply root and carry out the rest of the steps...Jenkins is a legend.
[Xperia Z3 Compact General] Xentar712:
Great suggestion. I did the same thing when I updated and the recovery flash resulted in a black screen. All is good now.
[Xperia Z3 Compact General] johdaxx:
Just to be sure - if I only want to go to the new firmware and not root / unlock then I won't lose the TA partition? Or would it be best to back it up anyway, then un-root? TIA!
[Xperia Z3 Compact General] HvdW:
A little help is needed.

-Relocked the bootloader

- Installed 23.0.1.A.5.77

- Went to ADB and Fasboot to install Androplus kernel V19c

- But that didn't install of course because I have a locked bootloader

Can you please instruct with more precision how to act in step 3?

And question 2: Now that I restored this 23.0.1.A.5.77 first, did I restore the DRM keys too?
[Xperia Z3 Compact General] matabillions:
You're right! I missed a step: You need to unlock the bootloader again after installing 23.0.1.A.5.77. Thanks! :good:
[Xperia Z3 Compact General] bmatthias:
Fixed the post! Thanks! :)

And no, the original DRM keys are gone, you can not get them back. The fix only reactivates some functions that need DRM.
[Xperia Z3 Compact General] HvdW:
OK, I skipped from step 2 to 5 and ended again with my beautifill shining 6.0.1 3027

I might as well unlock again, flash Androplus kernel V19c, goto step 4, skip step 5, goto step 6 and 7 ?

The result will be (as I understand) that I will have a system that is rooted, with (new?, other? none?) DRM keys ?

You state that the trick reactivates some functions that need DRM keys. So there are some,(not all) DRM keys present, but they are not my original keys?

Sorry for this type of questioning, but I do not have a steep learning curve.

Please be patient with me and try to explain as simple and explicit as possible.
[Xperia Z3 Compact General] bmatthias:
The original keys that came with your phone are deleted and can not be restored. The fix modifies some files, which reactivates functions like the advanced noise reduction in the camera. For the V2 version of the fix to work, you needed a TA partition (where your DRM keys are stored before they got deleted), which is why you had to flash a ftf with TA partition.

Apparently V3 of the fix does not need this and can be flashed directly! However, I do not know whether V3 works with Marshmallow. You can try before following all the steps again. Simply install the V3 zip from here.

To test, you can take a picture with the Sony camera in the dark before flashing (without keys or the fix it will be noisy) and the again after flashing. If the noise reduction is on, it worked ;)
[Xperia Z3 Compact General] HvdW:
You can test if your keys are restored:

- dial *#*#7378423#*#*

- choose service tests

- choose security

- if the upper 3 lines show 'unknown error' you didn't restore your DRM keys.
[Xperia Z3 Compact General] HvdW:
New problem: cannot unlock (though it was unlocked before!)

01/033/2016 12:33:54 - INFO - Unlocking phone using key 0x64C5FCC3DBC81AB8

01/033/2016 12:33:54 - INFO - ...

01/033/2016 12:33:54 - INFO - FAILED (remote: Incorrect format for unlock data. Should be on the form "0x)

01/033/2016 12:33:54 - INFO - finished. total time: 0.005s
[Xperia Z3 Compact General] matabillions:
They will always say 'unknown error' once you unlocked. They can not be restored. However, some functions can be re-activated.

Which ROM? And maybe try manual unlock through fastboot?
[Xperia Z3 Compact General] HvdW:
Managed to get it unlocked after several reboots from Windows an the 23.0.1.A.5.77 as well.

Then I tried the TWRP rooting method, but the system got stuck in TWRP, rebooting all the time in TWRP and when closing asking to install Superuser again and again.

So, for today I stopped experimenting, flashed Marshmallow again and will return to trying to get some functions back later.

Next thing I'll try later is flash Install Androplus kernel V19c and install the drm restore zip V3 starting off from the 3027 Marshmallow version.

I guess I have to install V19c first, then relock the bootloader and after that restore V3?

Curious to see if that could give better results.
[Xperia Z3 Compact General] matabillions:
Yes, that happens with newer versions. That is why I said flash the old AndroPlus V19c. It has TWRP too. Newer versions are stuck in bootloop.

This is the order: Lock, flash 23.0.1.A.5.77, Unlock, flash AndroPlus V19c, flash Marshmallow 2178 zip, flash DRM fix, flash SuperSu -> done.

Also, the DRM fix did not work with 3027. Only with 2157 and 2178.
[Xperia Z3 Compact General] Cypher_01:
Where does TWRP going to be installed to? Is it written to the system partition? Or is it written to the TA partition? If I restore my TA partition (DRM keys), will the bootloader automatically be relocked? And is TWRP still present after the restore?
[Xperia Z3 Compact General] HvdW:
My Z3C has unlocked bootloader, not-rooted, trying to relock it.

I have been stuggling with my Z3C because I cannot force it back to fastboot mode.

Pushing power and vol-up together and toggling a bit there is a recovery menu.

Options start-power off-something else and recovery.

Of course I couldn't get the thing out of recovery: waiting for a task or something

Pushing around a lot and maybe most the vol-down button I came to this menu.

Anyone familiar with it?
[Xperia Z3 Compact General] istux:
Turn off by pushing power + vol.up and keep pushing until your device vibrates three times. Now it's off.

Push vol.up (don't touch the power button), keep pushing and connect to PC.

If you see the blue led, your're in fastboot mode.
[Xperia Z3 Compact General] smorgar:
There is a way to do it w/o jenikins boot.img. When flashing official twrp via fastboot dont use fastboot reboot cmd afterwards. Just unplug cable and hold vol+ and reconnect cable. Now you are back in fastboot mode, choose recovery and you get TWRP. IF you restart your phone you will again get dead android with "no command" message.
[Xperia Z3 Compact General] starter15:
Hi everyone,

I am trying to restore my TA partition but im getting an error at the last step when it tries to push the backup to SDcard.

It says: failed to copy 'tmpbak\ta.img' to 'sdcard/restoreta.img': permission denied

Does anyone know how to fix this error? im trying to send my phone in for repairs and would like to restore drm keys and relock bootloader. Thanks in advance.

Edit: for whatever reason, update to windows 10 solved the problem.
[Xperia Z3 Compact General] iamhari1234:
Hi I tried the new V3 after clean install of the 2178 zip and it is working ... Thank you very much .
[Xperia Z3 Compact General] mirecek11:
How to install Sony's Concept Software(Android 6.0.1), root, recovery, Xposed

So I will try I don´t how many time your guide step by step and everytime I"ll finnished in this position:

AndroidSDK\platform-tools>fastboot devices YT. . . . . . W6 fastboot

AndroidSDK\platform-tools>fastboot flash recovery twrp.img

error : cannot load "twrp.img"

I don´t know what I can try anything else. do you have some useful useful advice that would help me ???? Please

Some time ago I had installed on your phone cyanogen mod In many parts from 10.1 to 12.1 from 4.4.4. up to 5.1.1 and I tried to AOSP ResurrectionRemix and others have never been a problem after installing sony concept already, I can not install any root or room I don´t know why??? Any idea???
[Xperia Z3 Compact General] sieduri:
Hey,

Do I have to go back to Kit Kat/Lollipop rooted, to be able to back up my TA Partition or is there an alternative way? I'm currently on stock Marshmallow (unrooted, bootloader locked).
[Xperia Z3 Compact General] H117:
You have to. You need root to backup the TA partition and so far there's no way to root MM without unlocking the bootloader (which in turn wipes the TA partition).
[Xperia Z3 Compact General] bmatthias:
Awesome!! Thanks :good::)
[Xperia Z3 Compact General] nonyhaha:
Hello,

Is there any way to update from the prerooted version from Jenkins? It has dm-verity disabled and I can't update.

I wouldn't want to lose all i have installed on it.

Or is there an easy way to update from 2178 prerooted to this version? I already have unlocked bootloader, root access and custom recovery.
[Xperia Z3 Compact General] nonyhaha:
Hello,

I managed to install latest version of android 6.0.1, 3027, but when I flash the recovery it will not boot into recovery.

any idea why?
[Xperia Z3 Compact General] kxpa:
I had the same problem, download and flash again
[Xperia Z3 Compact General] nonyhaha:
Only recovery or the rom also?
[Xperia Z3 Compact General] kxpa:
Only recovery, after rebooting in fastboot mode and select recovery
[Xperia Z3 Compact General] Xperia Z3C:
Hello,

at first: Thanks for the work.

But: i´ve done all steps to number 32,

number 33 cant work, because i dont have an "install" command.

i only have this

[IMG="100 x 100"]http://dl-1.va.us.xda-developers.com/3/5/9/5/7/0/1/IMG_2050.jpg?key=yTDepnuoIgEPuWg0ECo_jQ&ts=1452188678[/IMG]

copied by HvdW, sorry, but its the same

I would like install the SuperSU, pls help.
[Xperia Z3 Compact General] nonyhaha:
So. I installed 3027 from russel.

Flashed boot.img from jenkins prerooted firmware to get recovery. The method mentioned in the first post did not work.

After this i flashed from recovery supersu from first post.

I installed supersu from playstore. After this supersu hints for a binary update but it can't do it. Any idea why? It does not work using normal method and when i try twrp methot it gets to recovery but does nothing.
[Xperia Z3 Compact General] HvdW:
[MENTION=7166511]bmatthias[/MENTION]

I followed your scheme and ended with a situation where I get a popup every second saying: google play services has stopped.

I downgraded play services to original, nope, upgraded to latest version, nope.

The popup is still coming up every second.

So I tried to update from 2157 to the next version, but than another popup displayes:

Incremental system update cannot be installed when dm-verity is disabled.

What's the next step?
[Xperia Z3 Compact General] w0uter:
Hi

I followed your steps installed FTF sony's concept software, When i wanted to update with a locked bootloader to a new version... it just keeps loading "Starting Apps" So it doens't work for me though :(

edit

Strange thing is happening here... when i shut down the phone and rebooted again the OS works just fine! now going for next update!

---------- Post added at 05:04 AM ---------- Previous post was at 04:35 AM ----------

For installing Jenkins boot.img do i need to follow the above steps first?

And wich fastboot command is needed for jenkins boot.img?

fastboot flash boot boot.img

or am i wrong?
[Xperia Z3 Compact General] luisenriquereyes:
Everything worked fine for me until I installed Xposed.

I used the file from OP ( xposed-v79-sdk23-arm.zip ) to install it via recovery then after a restart all I get is the message "Unfortunately, Nfc Service has stopped"

2 minutes later the phone restarts by itself. I used the arm unistaller on this page to get back to a working phone.

But how to get Xposed working on this? :confused::confused::confused:
[Xperia Z3 Compact General] systemallica:
Try wiping cache and dalvik after flashing the xposed zip.
[Xperia Z3 Compact General] luisenriquereyes:
Thanks that worked :good:

Question, I should still be able to receive OTA updates Sony even though now I am rooted, unlocked bootloader and have Xposed installed?
[Xperia Z3 Compact General] rahulyadav92878:
Hiii i m using xperia z1 c6902 from india my os is lollypop 5.1.1 &build is 14.6.1.A.236 my Q. Is which xposed & which sdk22-arm or sdk22-arm64 or sdk22-x86 install
[Xperia Z3 Compact General] Benjaes123:
Good work with the guide :good::good:

But i've been having a issue, the thing is that i got the rom fully updated (6.0.1) with TWRP, but when I install busybox and try to boot into recovery, it just stays in the TWRP logo and my phone doesnt do more.:(:(

I've made the whole process again but TWRP always fail.

So i'll try to use dual recovery for now. Can someone confirm this issue??:confused::confused:
[Xperia Z3 Compact General] Imintanoute54:
Thx