[GUIDE][6.0.1 OFFICIAL STOCK] Use TWRP to get root access - Xperia Z3 Compact Android Development

So the OFFICIAL 6.0.1 is already out and this is not the BETA version. It's for consumer release.
So how do you get to this eh?
NOTES: Flashtool can be used for both LB/UB. You won't lose DRM keys or unlock bootloader if you flash via flashtool.
1. Install Flashtool (get it here: http://www.flashtool.net/downloads.php).
2. There is a XperiFirm option there which would allow you to download official FTF files.
3. Navigate your way to Z3 Compact and grab the D5803 version US Variant (since this is configured for GLOBAL-LTE but i might still need to test bands). Or just grab anything you want there as long as it's version: 23.5.A.0.570
3. Flash using flashmode (hit the lightning icon there).
Now there's this "WIPE" Box, you have 2 options!
- Check User data and App logs and hit flash -- this will factory reset phone so you better have a backup!
- Leave them UNCHECKED if you want to retain your apps from your previous STOCK ROM. (might automatically uninstall incompatible apps in the process).
Once it asks for your device to be connected. Do as it says (power down, then hold the vol. down button as you plug the phone in).
-- this should start flashing.
4. After the process you may now boot the phone and there you have it!
-- Things below require unlocked BL --
If you want root, you can use fastboot and TWRP 3.X (I've tested the TWRP version 3.0.2 on the 6.0.1 beta before)
send this command on fastboot:
Code:
fastboot flash recovery <your twrp img here>
and hit enter. It must return 'OKAY'.
Unplug phone then boot into recovery and flash your SuperSU.zip
https://download.chainfire.eu/924/SuperSU/BETA-SuperSU-v2.68-20160228150503.zip

MINE!

Give a link to proper TWRP image please

tRippinthehead said:
Give a link to proper TWRP image please
Click to expand...
Click to collapse
If you have a locked BL, then root and install DualRecovery. There is an excellent thread here on XDA and you'll be on TWRP in no time. It also makes sure you'll have the drivers and flash tool and everything that you'll need for this already configured and ready to go.
If you have an unlocked BL, just go find TWRP and flash through fastboot.
Thanks OP!
P.S. I'm guessing for those with locked BLs, we can use PRFCreator and that FTF from Xperifirm to create a flashable, pre-rooted MM ROM...anyone tried? My Z3c is currently bricked (hopefully fixable) so I can't test at the moment.

Another DEV published a root method, both for the LB and UB:
http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357/page1
Keep in mind that that method was used for the BETA version of the rom, but yeah it's more likely that it would work with the consumer release. I'll update the OP once I relock my BL and successfully gain root with it.
The UB method there has the same effect as mine

I could not get root with the method, i would get boot img failure on flashing superSU in twrp with unlocked BL but to solve the issue i just flashed the advanced kernel for 6.0.1 and superSU flashed fine..not sure if anyone else is having this problem but this method did not work for me.

Do I keep root with locked bootloader with this method ?
Title of this topic is confusing, it seems that you need BL unlocked to get root.

hayatesan said:
Do I keep root with locked bootloader with this method ?
Title of this topic is confusing, it seems that you need BL unlocked to get root.
Click to expand...
Click to collapse
No you will lose root if you flash ftf on locked BL, you will need to root again using whichever method you used previously. If you flash an ftf file on ANY bootloader locked or unlocked it resets your phone to the contents of the ftf file.

Fictional Reality said:
No you will lose root if you flash ftf on locked BL, you will need to root again using whichever method you used previously. If you flash an ftf file on ANY bootloader locked or unlocked it resets your phone to the contents of the ftf file.
Click to expand...
Click to collapse
And which is the method to root this version with BL??

hv6478 said:
P.S. I'm guessing for those with locked BLs, we can use PRFCreator and that FTF from Xperifirm to create a flashable, pre-rooted MM ROM...anyone tried? My Z3c is currently bricked (hopefully fixable) so I can't test at the moment.
Click to expand...
Click to collapse
I'm giving it a try so I'll let you know.
EDIT: Admittedly I haven't got a clue how to use prfcreator but I tried and whilst it flashed there was no root or recovery.
2nd EDIT: XDR doesn't work on MM yet. I'll give TWRP a try.
TWRP 3.0.2 for Z3C https://dl.twrp.me/z3c/twrp-3.0.2-0-z3c.img.html

Buleste said:
I'm giving it a try so I'll let you know.
EDIT: Admittedly I haven't got a clue how to use prfcreator but I tried and whilst it flashed there was no root or recovery.
2nd EDIT: XDR doesn't work on MM yet. I'll give TWRP a try.
TWRP 3.0.2 for Z3C https://dl.twrp.me/z3c/twrp-3.0.2-0-z3c.img.html
Click to expand...
Click to collapse
Nice that sounds promising, at least it worked with the .zip that you created!
Which version of SuperSU are you using?
Thanks,
hv

hv6478 said:
Nice that sounds promising, at least it worked with the .zip that you created!
Which version of SuperSU are you using?
Thanks,
hv
Click to expand...
Click to collapse
I'm using BETA-SuperSU-v2.71-20160331103524.zip
However I was looking at the PRFCreator thread and it looks like if you add Recroot v2 as the SuperSU it should work. Not sure if it will give a recovery though.
EDIT: Okay. Didn't install the SuperSU binary properly but Kingroot could install the root though. Tried to remove it and replace with SuperSU and got a bootloop. However I have a cunning plan.

Xperia Z3 Compact - UB
I could not get TWRP recovery with the fastboot method.
I tried to install several "recoverys" but none are installed.
Help me please.

Buleste said:
I'm using BETA-SuperSU-v2.71-20160331103524.zip
However I was looking at the PRFCreator thread and it looks like if you add Recroot v2 as the SuperSU it should work. Not sure if it will give a recovery though.
EDIT: Okay. Didn't install the SuperSU binary properly but Kingroot could install the root though. Tried to remove it and replace with SuperSU and got a bootloop. However I have a cunning plan.
Click to expand...
Click to collapse
I love the sound of progress!

rvnlvrz said:
So the OFFICIAL 6.0.1 is already out and this is not the BETA version. It's for consumer release.
So how do you get to this eh?
NOTES: Flashtool can be used for both LB/UB. You won't lose DRM keys or unlock bootloader if you flash via flashtool.
1. Install Flashtool (get it here: http://www.flashtool.net/downloads.php).
2. There is a XperiFirm option there which would allow you to download official FTF files.
3. Navigate your way to Z3 Compact and grab the D5803 version US Variant (since this is configured for GLOBAL-LTE but i might still need to test bands). Or just grab anything you want there as long as it's version: 23.5.A.0.570
3. Flash using flashmode (hit the lightning icon there).
Now there's this "WIPE" Box, you have 2 options!
- Check User data and App logs and hit flash -- this will factory reset phone so you better have a backup!
- Leave them UNCHECKED if you want to retain your apps from your previous STOCK ROM. (might automatically uninstall incompatible apps in the process).
Once it asks for your device to be connected. Do as it says (power down, then hold the vol. down button as you plug the phone in).
-- this should start flashing.
4. After the process you may now boot the phone and there you have it!
-- Things below require unlocked BL --
If you want root, you can use fastboot and TWRP 3.X (I've tested the TWRP version 3.0.2 on the 6.0.1 beta before)
send this command on fastboot:
Code:
fastboot flash recovery <your twrp img here>
and hit enter. It must return 'OKAY'.
Unplug phone then boot into recovery and flash your SuperSU.zip
https://download.chainfire.eu/924/SuperSU/BETA-SuperSU-v2.68-20160228150503.zip
Click to expand...
Click to collapse
It doesn't work, I have trying out for a while, but fastboot doesn't flash anything

hv6478 said:
I love the sound of progress!
Click to expand...
Click to collapse
We have progress of sorts.
With prf creator add superSU and create the prerooted ROM.
In TWRP Wipe everything but SDcard and OTG
Install pre rooted ROM
Then Install RICDefieat.zip, byeselinux_flashable.zip, and BusyBox-v1.24.1-Stericson.zip
Power off the phone.
Open Flashtool
Load ftf of .570 and check the Exclude System box and flash the phone
Install TWRP using Z3C_MM_TWRP_Recovery_V2_By_Serajr
And that should be it.
Managed to get everything working bar the TWRP but I think that was my fault.
A download file of everything you need bar the ROM.

Buleste said:
We have progress of sorts.
With prf creator add superSU and create the prerooted ROM.
In TWRP Wipe everything but SDcard and OTG
Install pre rooted ROM
Then Install RICDefieat.zip, byeselinux_flashable.zip, and BusyBox-v1.24.1-Stericson.zip
Power off the phone.
Open Flashtool
Load ftf of .570 and check the Exclude System box and flash the phone
Install TWRP using Z3C_MM_TWRP_Recovery_V2_By_Serajr
And that should be it.
Managed to get everything working bar the TWRP but I think that was my fault.
A download file of everything you need bar the ROM.
Click to expand...
Click to collapse
Worked?

marlontravagli said:
Worked?
Click to expand...
Click to collapse
It seems to be working for me at the moment. Even TWRP.
Edit: TWRP is unstable and sometimes becomes unavailable . If that happens just find SGP621-RICDefeat.zip to enable R/W again and reinstall.

Buleste said:
We have progress of sorts.
With prf creator add superSU and create the prerooted ROM.
In TWRP Wipe everything but SDcard and OTG
Install pre rooted ROM
Then Install RICDefieat.zip, byeselinux_flashable.zip, and BusyBox-v1.24.1-Stericson.zip
Power off the phone.
Open Flashtool
Load ftf of .570 and check the Exclude System box and flash the phone
Install TWRP using Z3C_MM_TWRP_Recovery_V2_By_Serajr
And that should be it.
Managed to get everything working bar the TWRP but I think that was my fault.
A download file of everything you need bar the ROM.
Click to expand...
Click to collapse
ok...this sims to be right, thanks

superpipo said:
ok...this sims to be right, thanks
Click to expand...
Click to collapse
It seems that updating busybox to 1.24.1 stericson stops R/W permissions and the ability to access TWRP however it is easily fixed.

Related

[STOCK][D58XX][4.4.4] Firmware 23.0.1.A.5.77 Generic [ROOT/XZDR/SuperSU]

Required:
- Flashtool in the latest version from: http://flashtool.net
- DualRecovery by NUT as installer.zip: http://nut.xperia-files.com (Download the correct one for your device and at least version 2.8.1+!)
- Root on 23.0.A.2.93 (Download) for example with this method: http://forum.xda-developers.com/crossdevice-dev/sony/giefroot-rooting-tool-cve-2014-4322-t3011598
Featurelist:
- SuperSU integrated
- DualRecovery by NUT integrated (2.8.1)
Can be used on locked and unlocked bootloader.
Firmware Files:
D5803 and D5833
- Flashable.zip's and FTF files in folders - sorted by devices
The Flashable.zip i've created with the mighty tool PRFCreator by zxz0O0.
Installation/Update (short) guide:
0. Downgrade to the firmware 23.0.A.2.93 and root it (with giefroot)
0.1. Install the LockedDualRecovery by NUT with the installer.zip (install.bat)
1. Put the downloaded update file (ROM.zip) on your device. I recommend you to put it directly on the device.
2. Boot into the recovery (While rebooting -> when the info LED flashs -> press shortly the VOL button for the Recovery you prefer)
(On Recovery you may create a twrp/cwm backup of your device if you get any issues on updating process!)
3. Flash the ROM update file (.zip) with "install zip".
4. Wipe cache and dalvik cache (perhaps under advanced).
5. Reboot to system.
You may have to wait some minutes on the first boot because of initializing system for first time (optimizing apps etc.).
What to do if you get permission errors? (While installing for example the Recovery)
Untill NUT updates his DualRecovery you should fix permissions with ADB with the following commands:
(tested with command line from the giefroot_V...\files\ directory -> shift + right mouse -> open cmd "here")
Either you could try the modified DualRecovery (installer) by NUT (modified by monx): http://d-h.st/iM9p
Code:
adb push systemrw.sh /data/local/tmp
adb push modulecrcpatch /data/local/tmp
adb push wp_mod.ko /data/local/tmp
adb shell
chmod 777 /data/local/tmp/systemrw.sh
chmod 777 /data/local/tmp/modulecrcpatch
chmod 777 /data/local/tmp/wp_mod.ko
su
cd /data/local/tmp
./systemrw.sh
Special Thanks to:
[NUT] (DualRecovery and his efforts!)
zxz0O0 (giefroot rooting tool, PRFCreator and his efforts!)
XDA: DevDB Information
[STOCK][D58XX][4.4.4] Firmware 23.0.1.A.5.77 Generic [ROOT/XZDR/SuperSU], Stock Firmware Xperia Z3 Compact
Contributors
meetdaleet
ROM OS Version: 4.4.x KitKat
ROM Firmware Required: Stock - 23.0.A.2.93
Version Information
Status: Stable
Release Date: 2015-01-25
Created 2015-01-25
What about d5833 ftf
@muzab a
I'm currently creating the firmware files and will upload them further.
I think they will be available at the evening
Kind Regards
meet
Which ftf to use for d5833?
Great , thanks! In case we can go back to totally stock? (For any case) And for lollipop I imagine will have to flash a rom, right?
Matteo Mazzu said:
Great , thanks! In case we can go back to totally stock? (For any case) And for lollipop I imagine will have to flash a rom, right?
Click to expand...
Click to collapse
You may delete some specific folders on internal SD (sdcard0) and flash a ftf without changing anything (like wipes etc.).
abj2aqua said:
Which ftf to use for d5833?
Click to expand...
Click to collapse
I've just added the D5833 files to the OP.
Kind Regards
meet
The firmware file is D6603, not D5803
Sorry i've just put the wrong link on the OP.
Corrected it right now
Thanks for yozr help!
You can find all my files under:
http://mega.leetbox.net
Kind regards
Meet
Thanks a lot!
i read in the op that this can be flashe don locked bootloaders aswell as unlocked but i also heard that if we want to flash any rom so we must unlock bootloader , so im a bit confused now? can i just flash it on locked bootloader?
pw1nce said:
i read in the op that this can be flashe don locked bootloaders aswell as unlocked but i also heard that if we want to flash any rom so we must unlock bootloader , so im a bit confused now? can i just flash it on locked bootloader?
Click to expand...
Click to collapse
The "ROM" i've opened to you on this thread is a stock rom (just with SuperSU and DualRecovery integrated).
There is the stock kernel inside why it runs on both. Locked and unlocked bootloader!
meetdaleet said:
The "ROM" i've opened to you on this thread is a stock rom (just with SuperSU and DualRecovery integrated).
There is the stock kernel inside why it runs on both. Locked and unlocked bootloader!
Click to expand...
Click to collapse
ok thnx broo , do we need to wipe system , data and then flash or dirty flash ? thanks
edit : i just did as mentioned in op , after flashing i downloaded the recovery and ran install.bat , it installed the new recovery mentioned in op , it rebooted into that recovery , the icons are too damn big , i can only see ''install'' , wipe , backup option on all the screen , now i have no idea how to get out of here , power buttonn evn if i hold wont work , any suggestion?
pw1nce said:
ok thnx broo , do we need to wipe system , data and then flash or dirty flash ? thanks
edit : i just did as mentioned in op , after flashing i downloaded the recovery and ran install.bat , it installed the new recovery mentioned in op , it rebooted into that recovery , the icons are too damn big , i can only see ''install'' , wipe , backup option on all the screen , now i have no idea how to get out of here , power buttonn evn if i hold wont work , any suggestion?
Click to expand...
Click to collapse
Press on Power + high Volume
Two questions, the .93 fw was country specific, this update doesn't require a specific version?
I feel kind of clumsy asking this but i haven't found the meaning of "XZDR", what does it mean?
Thanks!
My root seems to have broke after flashing.Can't mount in root explorer
@pikeylfc,
Did you read the OP?
pikeylfc said:
My root seems to have broke after flashing.Can't mount in root explorer
Click to expand...
Click to collapse
meetdaleet said:
@pikeylfc,
Did you read the OP?
Click to expand...
Click to collapse
There's a problem with RIC on .5.77, making it impossible to mount system r/w. Nothing to do with root, as you can do other root actions just fine.
You just need to update XZDR, [NUT] just uploaded 2.8.1, which has been fixed for Z3C on .77. Also TWRP has been updated.
Edit: Sorry, see that you already updated OP for XZDR 2.8.1.
Sydrox said:
I feel kind of clumsy asking this but i haven't found the meaning of "XZDR", what does it mean?
Thanks!
Click to expand...
Click to collapse
Same question here what is XZDR?
Sydrox said:
I feel kind of clumsy asking this but i haven't found the meaning of "XZDR", what does it mean?
Click to expand...
Click to collapse
ovizii said:
Same question here what is XZDR?
Click to expand...
Click to collapse
XZDualRecovery
What is XZDR? There are two versions one with that and other one without...
Another question: after done all the steps in the op, if we flash another kernel (with locked boot) it will boot?
Thanks
Sent from my D5803 using XDA Free mobile app

[TUTORIAL][D802] Root, install recovery and update bootloader for NEWBIES/NOOBS!

Hello,
Many people have problem with bricked device because they complied many diffrent tutorials and broke their G2.
I will explain you how to root stock rom/update bootloader and back to stock via lg flashtool.
Perform operations step by step
Okay, so first thing - ROOT STOCK LG ROM.
1. Stump ROOT (Without usb cable, working with 20h ROM)
Stump Root v1.2 (Newest version)
-->> Download Stump ROOT v1.2 <<--
Go to settings>general>security and check "Unknown Sources" to install external APKs.
Now install Stump ROOT app from download link. (In installation progress Android will ask you for install permisions because this integrate in system code. OFC ACCEPT)
Open Stump ROOT and press GRIND, then wait sec and press BruteForce, after 1-2 min your device will restart and now u got ROOT, u need install -->> SuperSU <<-- from market.
2. Install TWRP for your device. (Autorec)
-->> Download AUTOREC <<--
Okay, it's easiest step, just install Autorec application (Be sure it's for your model in file name!)
Open, accept and flash.
This way will downgrade your bootloader and kernel. After device reboot u have already ROOT and TWRP.
Now u can update first your TWRP to newest 2.8.5.1
-->> HERE THEARD WITH NEW TWRP <<--
If you download new TWRP, then u can easy flash it via -->> Flashify <<-- app from market. There select recovery>zip and select your new TWRP, it will reboot device to recovery and flash. (BE SURE IT'S FOR YOUR D802 MODEL!!)
3. Update bootloader. (IMPORTANT!!! U ALWAYS NEED UPDATE BOOTLOADER WITH VERSION ROM WHAT YOU ALREADY HAVE, IF YOUR ROM V20H, USE 20H BOOTLOADER, IF YOU HAVE 20D, THEN USE 20D BOOTLOADER OR UPDATE YOUR DEVICE TO 20H!!)
Now u need becareful, because it is easy way to brick device if you will not perform tutorial.
-->> Download v20h bootloader <<--
Download bootloader to your memory storage in device, and open flashify, press Menu button and Reboot Recovery, when it will reboot to TWRP, press INSTALL and select bootloader v20h zip file in path you downloaded it.
Now reboot device and Enjoy ROOTED device with newest bumped TWRP and newest bootloader.. AND NO BRICK )
Enjoy your powerfull device.
I will update theard with new steps like install kernels, back to stock step by step, easiest way to secure your device.
I know there are many tutorials, but we have still many people on XDA with problems like QS_BULK device, 9008, secure verify problem etc etc. So this is way to bypass every danger things.
Im not creator of any used in this tutorial mods, i just complied few theards to few easy steps
Credits:
Dorimanx
Cloudyfa
blastagator
jcase
Codefire Team
Hi good Job!
I have Two questions.
Can i upgrade my twrp Version with flashing the zip file in twrp?
Which Bootloader version use cyanogenmod 12?
Thank you!
A few additional info for the D802 variant:
-You don't NEED to change boot loader if you're fully on stock unless:
--You plan to use AOSP Lollipop
--You use any JB based ROMs (they should say in their respective threads for the D802)
-If you stick with the KK boot loader, only flash BUMPed flashables (they should state if they use this method)
-I recommend to use Blastagator's TWRP as it has thermal protection that stock TWRP doesn't have
-Only flash ROMs/any other flashables while the phone is cool
-Most ROMs can use the KK modem unless stated otherwise
Correct me on any misunderstood/incorrect information
---------- Post added at 10:56 AM ---------- Previous post was at 10:48 AM ----------
exxilee said:
Hi good Job!
I have Two questions.
Can i upgrade my twrp Version with flashing the zip file in twrp?
Which Bootloader version use cyanogenmod 12?
Thank you!
Click to expand...
Click to collapse
1. You should be able to
2. You should be on the JB boot loader, we don't have the 12B one, that's for another variant
exxilee said:
Hi good Job!
I have Two questions.
Can i upgrade my twrp Version with flashing the zip file in twrp?
Which Bootloader version use cyanogenmod 12?
Thank you!
Click to expand...
Click to collapse
Yes. If you installed AutoRec and u are able to open recovery, you can flash via older twrp. It is no problem
goodguy25 said:
A few additional info for the D802 variant:
-You don't NEED to change boot loader if you're fully on stock unless:
--You plan to use AOSP Lollipop
--You use any JB based ROMs (they should say in their respective threads for the D802)
-If you stick with the KK boot loader, only flash BUMPed flashables (they should state if they use this method)
-I recommend to use Blastagator's TWRP as it has thermal protection that stock TWRP doesn't have
-Only flash ROMs/any other flashables while the phone is cool
-Most ROMs can use the KK modem unless stated otherwise
Correct me on any misunderstood/incorrect information
---------- Post added at 10:56 AM ---------- Previous post was at 10:48 AM ----------
1. You should be able to
2. You should be on the JB boot loader, we don't have the 12B one, that's for another variant
Click to expand...
Click to collapse
I just wrote this tutorial for Stock, and it's always good to have new stuff. It's safe with bumped twrp and it shouldn't make any problem with device.
Thank you guys!
So i dont need to change my Bootloader to Flash cm12?
Installed twrp via autorec and im on Stock kk.
exxilee said:
Thank you guys!
So i dont need to change my Bootloader to Flash cm12?
Installed twrp via autorec and im on Stock kk.
Click to expand...
Click to collapse
U no need, no matter u have JB or KK bootloader if you use CM12 or other AOSP ROMs
Ganjax said:
I just wrote this tutorial for Stock, and it's always good to have new stuff. It's safe with bumped twrp and it shouldn't make any problem with device.
Click to expand...
Click to collapse
Ok, good. I liked your tutorial, pretty informative.
Hello, i'm stuck at this step :
"3. Update bootloader. (IMPORTANT!!! U ALWAYS NEED UPDATE BOOTLOADER WITH VERSION ROM WHAT YOU ALREADY HAVE, IF YOUR ROM V20H, USE 20H BOOTLOADER, IF YOU HAVE 20D, THEN USE 20D BOOTLOADER OR UPDATE YOUR DEVICE TO 20H!!)
Now u need becareful, because it is easy way to brick device if you will not perform tutorial.
-->> Download v20h bootloader <<--
Download bootloader to your memory storage in device, and open flashify, press Menu button and Reboot Recovery, when it will reboot to TWRP, press INSTALL and select bootloader v20h zip file in path you downloaded it. "
Edit : i flashed the rom without KK bootloader and it worked
-> I Was on 20H. I rooted, installed twrp, updated twrp. I've flashed 20d KK bootloader and now, secure booting error
I have access to download mode. What can i do do boot normally ? (i know i could probably flash a kdz but i don't really want to)
i cannot enter into the twrp by pressing the vol down + power, it just ask me whether i want to format, this means i still do not have twrp ?
coc014 said:
Hello, i'm stuck at this step :
"3. Update bootloader. (IMPORTANT!!! U ALWAYS NEED UPDATE BOOTLOADER WITH VERSION ROM WHAT YOU ALREADY HAVE, IF YOUR ROM V20H, USE 20H BOOTLOADER, IF YOU HAVE 20D, THEN USE 20D BOOTLOADER OR UPDATE YOUR DEVICE TO 20H!!)
Now u need becareful, because it is easy way to brick device if you will not perform tutorial.
-->> Download v20h bootloader <<--
Download bootloader to your memory storage in device, and open flashify, press Menu button and Reboot Recovery, when it will reboot to TWRP, press INSTALL and select bootloader v20h zip file in path you downloaded it. "
Edit : i flashed the rom without KK bootloader and it worked
-> I Was on 20H. I rooted, installed twrp, updated twrp. I've flashed 20d KK bootloader and now, secure booting error
I have access to download mode. What can i do do boot normally ? (i know i could probably flash a kdz but i don't really want to)
Click to expand...
Click to collapse
Well if you cant enter your recovery or system then you have to flash kdz.
chris7617 said:
i cannot enter into the twrp by pressing the vol down + power, it just ask me whether i want to format, this means i still do not have twrp ?
Click to expand...
Click to collapse
You already flashed TWRP right? If so then you need to confirm it twice with the power button. It says like format data/factory reset but it will boot into the custom recovery.
please help me...i have a lg g2 d802 32gb model ..its a traded phone...when i got the phone it was running 4.4.2 kitkat the phone was rooted bt there was no suprrueser app i installed the app and then i flashed recovery with autorec now whenever i open my data or wifi and use my phone for some minutes my screen becomes unresponsive is it due to the jellybean bootloader that the autorec installed or something else please help me...
Recovery combo gone
The thread seems like dead now, but maybe I get help .
I flashed 20H and now there is the recovery combo, when I try pwr + volume down it simply reboots . The recovery is instaled, but I only can access it from software (that now is corrupted, so, soft brick).
Wrong combo
chris7617 said:
i cannot enter into the twrp by pressing the vol down + power, it just ask me whether i want to format, this means i still do not have twrp ?
Click to expand...
Click to collapse
You're not soft bricked, it's just that key combo changes in 20H, new combo to enter recovery is vol down + power key, As lg logo appears, release keys and press vol up + vol down and you can easily access twrp
and i ran intro bootloop.. help!
I'll update theard soon to aosp/lollipop support, bootstacks explains etc.
Wysłane z mojego LG-D802

Upgrade and root 5.1.1 Lollipop 14.6.A.0.368 locked or unlocked bootloader

** DISCLAIMER: I AM NOT A DEVELOPER. I DO THIS AS A HOBBY AND SHARE MY FINDINGS IN CASE SOMEONE ELSE FINDS THEM USEFUL. **
** THIS WORKED ON MY DEVICE BUT IT MAY NOT WORK ON YOURS. APPLY AT YOUR OWN RISK **​
This post shows you how to upgrade your system to lollipop 5.1.1 and optionally have root privileges. This is tested on C6833 model. For other models see the troubleshooting section near the end of the post.
Requirements:
Flashtool 0.9.18.6. or 0.9.19.6 or higher Important: Do not use Flashtool 0.9.19.0.
If you want to root the phone: Rooted XZU on Android version 5.0.2 or Kitkat with custom recovery installed.
This works on locked or unlocked bootloaders and any customization.
Download link for upgrade only:
C6833_14.6.A.0.368_1275-8026_R2D.ftf (unmodified Customized DE):
https://mega.nz/#!khF1nILD!C5D70e-BjCKVBCuOurjFOLcIMZDcldYVeIDnFiR-PGM
Download link for upgrade and root:
5.1.1-system.zip:
https://mega.nz/#!YoFgCSjA!Zh8t_4jeXcAEWhOYePA40uQLI7vw4-CnxohjBdMbpz0
C6833_14.6.A.0.368_No_System.ftf
https://mega.nz/#!l4dllSTT!R393EG4W3CwOZp1OLOzfUzpHF0IlvsmfW04BrGOggXc
Instructions for upgrading without root:
1- Back up your internal SDCARD and your apps.
2- Download C6833_14.6.A.0.368_1275-8026_R2D.ftf
3- Open Flashtool and click on the flash icon. Choose flash mode.
4- Navigate to where you saved C6833_14.6.A.0.368_1275-8026_R2D.ftf and flash this ftf with your phone in flash mode. I recommend wiping apps and cache and data (Note that wiping data will erase your internal SDcard too). To put your phone in flash mode, hold the volume down button when it is off and connect with the USB cable to the PC.
5- Reboot.
Instructions for upgrading with root:
0- If your existing system is rooted using Kingroot read the troubleshooting section below before continuing.
1- Back up your internal SDCARD and your apps.
2- Download C6833_14.6.A.0.368_No_System.ftf and 5.1.1_system.zip.
3- Copy 5.1.1-system.zip to your phone's internal SDcard.
4- Reboot to recovery and install 5.1.1-system.zip.
5- If you are coming from Kitkat just Turn the phone off. If you are coming from 5.0.2, reboot the phone and let it work through the boot animation which will take a while. Then it will show force closing messages and possibly reboots itself. At this point turn it off by holding down the power and volume-up keys for a few seconds. The phone will vibrate 3 times and turns off.
6- Open Flashtool and click on the flash icon. Choose flash mode.
7- Navigate to where you saved C6833_14.6.A.0.368_No_System.ftf and flash this ftf with your phone in flash mode. I recommend wiping apps and cache and data (Note that wiping data will erase your internal SDcard too). To put your phone in flash mode, hold the volume down button when it is off and connect with the USB cable to the PC.
8- Reboot.
Troubleshooting, etc.
This procedure works only if you follow every step carefully. When you are done you can easily test your root status in a terminal emulator or via adb. Please see the attached image.
If you have used Kingroot to root your existing system flashing this ROM may not work and it may leave your system with a partially updated file system that may be broken. The reason is that Kingroot (which in my opinion is malware) makes some of your system files immutable which means they cannot be removed during a software upgrade. To proceed, you should either find a way to replace this horrendous piece of code with SuperSU or downgrade to Kitkat and root with XZDualRecovery before trying this guide. Read the second part of http://forum.xda-developers.com/showpost.php?p=62936808&postcount=22.
If during the procedure for root the flashing of the ftf in step 7 fails, repeat step 7 with C6833_14.6.A.0.368_1275-8026_R2D.ftf or any other 14.6.A.0.368 ftf but exclude the system partition in the flashtool dialog window. If you don't exclude the system partition you will not get root.
If you have root after the procedure but something else doesn't work, try a factory reset.
Note that flashtool 0.9.19.0 was specifically released to support the new sin format on new devices and some of its features don't work with older devices. So to avoid taking any chances I used version 18.
I don't know if this works for C6802 or C6806. Some users reported success on 6806, like this one and this. For that model you follow this guide and use the zip file posted here. The only difference is that instead of flashing the ftf posted here in the next step, use the stock 14.6.A.0.368 ftf for your phone and exclude system.
Will this C6833 FTF work on a C6806 USA phone?, because I can't find a C6806 FTF anywhere...
Can this system zip be used with other customized versions of c6833 ftf.
usagi111 said:
Will this C6833 FTF work on a C6806 USA phone?, because I can't find a C6806 FTF anywhere...
Click to expand...
Click to collapse
I just uploaded a C6806 US version in Development thread yesterday.
Sent from my A0001 using Tapatalk
could you share flashtool 0.9.18.0 cos I can't find that version only higher.
will this work on c6802 just wondering?
I did as you said but. I see no super-su
jaime4272 said:
I did as you said but. I see no super-su
Click to expand...
Click to collapse
You probably didn't exclude the system partition in this step:
7- Navigate to where you saved C6833_Customized+DE_14.6.A.0.368.ftf.*Exclude system partition*and flash this ftf.
Out of curiosity, what is wrong with the latest flashtool?
---------- Post added at 10:11 PM ---------- Previous post was at 10:00 PM ----------
jaime4272 said:
could you share flashtool 0.9.18.0 cos I can't find that version only higher.
will this work on c6802 just wondering?
Click to expand...
Click to collapse
I've uploaded 0.9.18.6
https://drive.google.com/file/d/0B2L0y84PJ2rteVNGVnlJWjFlOGs/view?usp=sharing
Never mind, i already found out, also flashtool published a new version wich is compatible with our device
http://www.flashtool.net/downloads.php
thanks mate, everything worked fine
I was able to flash android 5.1.1 but could not get root and I did every step as posted and I did exclude system partition. and without root could not install dual recovery there for could not flash SuperSU
I am sorry for my noobie question...but what is customised DE?
ALso if i run this, I am still at locked bootloader...will i lose the partition that enable me to have all Sony's special goodies (i didn't mean the bloatware of course)?
Also i am running stock 5.1.1 already after OTA but interested to have root...shall i go with the 2nd steps with root?
im4u2nv said:
I am sorry for my noobie question...but what is customised DE?
ALso if i run this, I am still at locked bootloader...will i lose the partition that enable me to have all Sony's special goodies (i didn't mean the bloatware of course)?
Also i am running stock 5.1.1 already after OTA but interested to have root...shall i go with the 2nd steps with root?
Click to expand...
Click to collapse
Customized DE just means it is the German version of the ROM. I used that because I bought the phone in Germany. But the menus and keyboard and everything is in English so you would not even notice the difference.
This method will not touch your bootloader status so if you are locked you remain locked.
If you are already on 5.1.1 through OTA this will not work for you. You need to start from rooted 5.0.2 with recovery installed.
najoor said:
Customized DE just means it is the German version of the ROM. I used that because I bought the phone in Germany. But the menus and keyboard and everything is in English so you would not even notice the difference.
This method will not touch your bootloader status so if you are locked you remain locked.
If you are already on 5.1.1 through OTA this will not work for you. You need to start from rooted 5.0.2 with recovery installed.
Click to expand...
Click to collapse
Thank you Najoor...in that case, i will wait for some guide to root 5.1.1 then...
I am using stock kitkat custom rom will I have to update to Lollipop 5.0 first or can i directly flash 5.1
terminator1983 said:
I am using stock kitkat custom rom will I have to update to Lollipop 5.0 first or can i directly flash 5.1
Click to expand...
Click to collapse
I think you can still do it straight from kitkat but if you are following the instructions with root in step 5 instead of rebooting just turn the phone off.
Let me know if that works.
so my ZU used to be rooted with Lollipop 5.0.2, but i removed Kinguser/chinese root app and no longer have root access. I've also previously installed recovery but don't know if it will still work ? i forgot how to boot into recovery to see if it even works.. any helpers?
Power on the phone and when u see the led notification start pressing either the Volume UP or Volume Down key a couple of times to make your phone boot into recovery mode
corrado85 said:
so my ZU used to be rooted with Lollipop 5.0.2, but i removed Kinguser/chinese root app and no longer have root access. I've also previously installed recovery but don't know if it will still work ? i forgot how to boot into recovery to see if it even works.. any helpers?
Click to expand...
Click to collapse
najoor said:
I think you can still do it straight from kitkat but if you are following the instructions with root in step 5 instead of rebooting just turn the phone off.
Let me know if that works.
Click to expand...
Click to collapse
Thanks najoor it worked now i am using a rooted stock 5.1.1
jaime4272 said:
I was able to flash android 5.1.1 but could not get root and I did every step as posted and I did exclude system partition. and without root could not install dual recovery there for could not flash SuperSU
Click to expand...
Click to collapse
I am not able to instal 5.1.1-system.zip on rooted Sony Xperia Z Ultra c6833 with Android 5.0.2. The instalation is aborted
Had 5.1.1 lollipop installed, downgraded to 4.4.4 kitkat and rooted with kingroot successfully- installed xzu dual recovery and rebooted into recovery mode.
Flashed 5.1.1 zip and turned off. Flashed 5.1.1 Saudi Arabia ftf with flashtool (wipe everything - ticking to exclude system partition) with phone off and connected z ultra in flash mode and flashed successfully. Disconnected and booted.. took a while on wave animation and started fresh but no supersu and not rooted in 5.1.1?? any help thanks

How do the root on Xperia Tablet Z2 (SGP521) with Android 6.0.1?

Hi.
I have a Xperia Tablet Z2 (SGP521) with Android 6.0.1 (build 23.5.A.0.570) without root, and I would like to make the root, how can I do?
Thanks in advance.
I'm sorry for my english.
Only way is:
- come back to original rom 4.4.2, using Flashtool http://www.flashtool.net/index.php
- root using Flashtool,
- flash TWRP http://nut.xperia-files.com/path/XZDualRecovery/Older_Releases/XZDualRecovery_2.8.21
- flash a prerooted rom using TWRP 2.8.21, http://forum.xda-developers.com/xperia-z2-tablet/general/prerooted-zip-vmo-ru-ua-kz-t3362729
- flash TWRP 3.0 can download from here http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357 Recroot combined v 4
To go on recovery, at the vibration when you turn on your device, push volume down button and recovery will start
I made it all working fine
lorisino said:
Only way is:
- come back to original rom 4.4.2, using Flashtool http://www.flashtool.net/index.php
- root using Flashtool,
- flash TWRP http://nut.xperia-files.com/path/XZDualRecovery/Older_Releases/XZDualRecovery_2.8.21
- flash a prerooted rom using TWRP 2.8.21, http://forum.xda-developers.com/xperia-z2-tablet/general/prerooted-zip-vmo-ru-ua-kz-t3362729
- flash TWRP 3.0 can download from here http://forum.xda-developers.com/z3/general/wip-sony-android-6-0-mm-t3337357 Recroot combined v 4
To go on recovery, at the vibration when you turn on your device, push volume down button and recovery will start
I made it all working fine
Click to expand...
Click to collapse
Hello,
why i need something "flash" after rooting? i dont understand what is the "flash" do?
Paja LT said:
Hello,
why i need something "flash" after rooting? i dont understand what is the "flash" do?
Click to expand...
Click to collapse
"Flash" means installing something to the internal memory.
You need to go back to a "rootable" version and after having your terminal rooted you can flash the latest rooted ROM.
Following the instructions on this thread https://forum.xda-developers.com/xp...lipopprerooted231a128z2-tabletsgp511-t3100821 I suggest you:
Flash the Lollipop 23.1.A.1.28 firmware with Flashtool;
Unlock the bootloader (not sure it is strictly needed but better avoid potential issues) with Flashtool (use the Sony website to get the unlock code as the automatic retrieval of Flashtool did not work for me);
Root using the script mentioned in the thread;
Flash the custom recovery;
Flash the rooted 6.0.1 ROM.
maxlnc said:
"Flash" means installing something to the internal memory.
You need to go back to a "rootable" version and after having your terminal rooted you can flash the latest rooted ROM.
Following the instructions on this thread https://forum.xda-developers.com/xp...lipopprerooted231a128z2-tabletsgp511-t3100821 I suggest you:
Flash the Lollipop 23.1.A.1.28 firmware with Flashtool;
Unlock the bootloader (not sure it is strictly needed but better avoid potential issues) with Flashtool (use the Sony website to get the unlock code as the automatic retrieval of Flashtool did not work for me);
Root using the script mentioned in the thread;
Flash the custom recovery;
Flash the rooted 6.0.1 ROM.
Click to expand...
Click to collapse
Thank you for the reply, as i understant the devise will work fine without any flashing? "Flash" means something installing in internal memory, but I do not understand why should I do it ?
please help me to root devise.
flashTool writing: "ERROR Illegal key size or default parameters."
That can i do?
Andriusss said:
please help me to root devise.
flashTool writing: "ERROR Illegal key size or default parameters."
That can i do?
Click to expand...
Click to collapse
You cant make the root with the flashtool! Copy the SuperSu (download newest zip) on your tablet (anywhere) and proceed with this: "TabZ2-lockeddualrecovery2.8.21-RELEASE.installer" you already downloaded from the tutorial. when you launch the "install.bat", the tablet will be rooted and twrp installed it auto-boot into twrp and now you can isntall your copied supersu zip then you can proceed with the tutorial
Got it fixed. In my first CWM Backup from the Dualrecovery Package (installer) was a working boot.img All fine now!

Any recovery we can use for Marshmallow?

XZ Dual Recovery is not yet compatible with Marshmallow and because of this I was forced to unlock the BL. Are there any recovery that we can use as of this moment? It seems that the development section for this is not so active.
infinitylook said:
XZ Dual Recovery is not yet compatible with Marshmallow and because of this I was forced to unlock the BL. Are there any recovery that we can use as of this moment? It seems that the development section for this is not so active.
Click to expand...
Click to collapse
I saw that there is a prerooted 6.0.1 with only TWRP recovery installed, not dualrecovery. Can you guide me on steps to get from official 6.0.1 to root status on an unlocked bootloader? I can't do anything to go back to previous firmwares and it seems I have to unlock as the only way to get anywhere.
GigaSPX said:
I saw that there is a prerooted 6.0.1 with only TWRP recovery installed, not dualrecovery. Can you guide me on steps to get from official 6.0.1 to root status on an unlocked bootloader? I can't do anything to go back to previous firmwares and it seems I have to unlock as the only way to get anywhere.
Click to expand...
Click to collapse
I tried flashing the TWRP from the site of TWRP but it results in blank screen. Also XZDR is not compatible with Marshmallow.
Did you already backup your TA? You can only do this by obtaining root so it is a must to flash previous FW (KK or LP) then root and backup your TA partion unless you don't care for your DRM keys.
1. Go to http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and follow instructions to unlock your bootloader. Alternatively you can use flashtool (just search here in the forums).
2. Download a TWRP image of Scorpion Windy (Z3 Tablet Wifi) https://twrp.me/devices/sonyxperiaz3tabetcompact.html
3. Download older versions of SuperSU. Systemless root doesn't seem to work with Xperia Stock so you go the system way, older versions are preferred. Will attach the zip I used.
3. Flash MM FW by Flashtool, do initial setup.
4. Boot into fastboot, fastboot the TWRP image you downloaded. Reboot and you should be in recovery
5. Flash the SuperSU. Flash also the RIC defeat zip. Reboot and you'll notice your just in TWRP.
6. Force shutdown.
7. Open flashtool flash the mM FW but only kernel and the FotaKernel, dont wipe anything. Reboot. It should start.
That worked for me.
After you, need to install busybox from playstore and the SELinux Changer app
P.s I can't attach any file however you can find everything i mentioned (Zips) here at XDA and TWRP. I still need to enable init.d but I guess that's difficult with stock rom stock kernel. Oh, and you can install flashfire in substitute of your recovery. Be careful with flashing Zips after you have a stable system since you don't have recovery and therefore no Nandroid backup
infinitylook said:
I tried flashing the TWRP from the site of TWRP but it results in blank screen. Also XZDR is not compatible with Marshmallow.
Did you already backup your TA? You can only do this by obtaining root so it is a must to flash previous FW (KK or LP) then root and backup your TA partion unless you don't care for your DRM keys.
1. Go to http://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/ and follow instructions to unlock your bootloader. Alternatively you can use flashtool (just search here in the forums).
2. Download a TWRP image of Scorpion Windy (Z3 Tablet Wifi) https://twrp.me/devices/sonyxperiaz3tabetcompact.html
3. Download older versions of SuperSU. Systemless root doesn't seem to work with Xperia Stock so you go the system way, older versions are preferred. Will attach the zip I used.
3. Flash MM FW by Flashtool, do initial setup.
4. Boot into fastboot, fastboot the TWRP image you downloaded. Reboot and you should be in recovery
5. Flash the SuperSU. Flash also the RIC defeat zip. Reboot and you'll notice your just in TWRP.
6. Force shutdown.
7. Open flashtool flash the mM FW but only kernel and the FotaKernel, dont wipe anything. Reboot. It should start.
That worked for me.
After you, need to install busybox from playstore and the SELinux Changer app
P.s I can't attach any file however you can find everything i mentioned (Zips) here at XDA and TWRP. I still need to enable init.d but I guess that's difficult with stock rom stock kernel. Oh, and you can install flashfire in substitute of your recovery. Be careful with flashing Zips after you have a stable system since you don't have recovery and therefore no Nandroid backup
Click to expand...
Click to collapse
Well then, I knew what I should have done before I lost root. In any case, what certain DRM keys would I be losing on the tablet? I know the biggest commotion on the phones were the camera algorithms.
GigaSPX said:
Well then, I knew what I should have done before I lost root. In any case, what certain DRM keys would I be losing on the tablet? I know the biggest commotion on the phones were the camera algorithms.
Click to expand...
Click to collapse
You would lose camera algorithm (I don't care for that, it's a tablet and its pictures are bad from the start).
X-reality and display enhancements, sound and noise cancellation (This is i don't want to lose since i use mine mainly for graphic projects) and remote play. That's only what I remember, i don't know if I missed out something.
NO NEED TO UNLOCK THE BT, flash a MM prerooted zip you can make it yourself with prf you need the FTF, recroot and superSu.
Anyway if you still want unlock the bt backup the drm keys with backupta
dnnz said:
NO NEED TO UNLOCK THE BT, flash a MM prerooted zip you can make it yourself with prf you need the FTF, recroot and superSu.
Anyway if you still want unlock the bt backup the drm keys with backupta
Click to expand...
Click to collapse
That won't work and would cause bootloop. tried the latest supersu. anyway, i found the workaround and it's been working good now.
infinitylook said:
You would lose camera algorithm (I don't care for that, it's a tablet and its pictures are bad from the start).
X-reality and display enhancements, sound and noise cancellation (This is i don't want to lose since i use mine mainly for graphic projects) and remote play. That's only what I remember, i don't know if I missed out something.
Click to expand...
Click to collapse
Wow, yeah that's too dire for me to go forward to. I should've just stayed on lollipop since it was already what was best for me.
infinitylook said:
That won't work and would cause bootloop. tried the latest supersu. anyway, i found the workaround and it's been working good now.
Click to expand...
Click to collapse
But but but if many did that without problem including me, check the th "when is mm out"
dnnz said:
But but but if many did that without problem including me, check the th "when is mm out"
Click to expand...
Click to collapse
i willread on that. last timme i checked it out mostly devices are with sgp 612 (wifi) anyway thanks for the tip.
Can you give me the link on that thread? i checked the threads here on this device forum and they are for sgp 612 and 611 (wifi versions)

Categories

Resources