yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] aluisscp:
I'm kind of new to android, having only rooted a few older devices I was always an iOS JB user.

I'm not sure I understand how rooting works for the newer firmware 23.5.A.0.575. I have stock installed and want to root it, is Kingroot the best option? I'd rather not flash a pre-root ROM because I enjoy my ISP settings and some of their apps are useful (and yes, I know they can be installed afterwards).
[Xperia Z3 General] Licaon_Kter:
If you trust a chinese app tha connects to a chinese site and send them (at least) your IMEI, then... also I'm not sure they can root MM yet anyway.

It will auto-download them on first mobile data enabling, not sure what you mean.

Get the FTF from your Telco and pre-root it yourself keeping all you want.
[Xperia Z3 General] aluisscp:
Thanks Licaon_Kter!

I've been researching and will use PRF Creator. Also thanks for the heads-up on the Kingroot, I figured it was something shady but since so many are using it (t least it's mentioned a lot).

By the way, this link is useful: http://techbeasts.com/how-create-sony-xperia-pre-rooted-firmware-prf-creator/

Cheers
[Xperia Z3 General] Licaon_Kter:
Better.

but remember, for PRF instead of SuperSU you put this dummy_flashable.zip: http://xdaforums.com/showpost.php?p=66569699&postcount=535

And instead of recovery you put RecrootV4 from the first post here.

Now, after you have the ZIP, the steps are: downgrade to KK via Flashtool, giefroot, XZDualRecovery, enter TWRP and flash the MM ZIP you've made ;)
[Xperia Z3 General] ondrejvaroscak:
Do not forget to include kernel and modem in PRFC, or even better (cleaner and safer way), first flash the ZIP in recovery then POWER OFF and flash the ftf in Flashtoool EXCLUDING SYSTEM. It will update the necessary partition like baseband, kernel, TA, and bootloader.
[Xperia Z3 General] caqo71:
Yes, Important point. And also excluding wipes.
[Xperia Z3 General] Voltaine:
What could be the cause for my recovery to always disappear? I have a locked bootloader and I'm on this rom ([Rom][MM][.151[LB/UB]☆|MoonWalker™ Amaluna V3.5.0) but my recovery is always gone.

I then start up recroot and after it's finished it boots into recovery just fine, i can flash zips and everything but when I reboot to system and want to enter the recovery again it's gone.

I have never updated busybox or anything, at least not on purpose.
[Xperia Z3 General] Licaon_Kter:
So you restart the device and press VOLUME DOWN during boot (when the first leds light up) and you don't enter TWRP?
[Xperia Z3 General] DawoodSahi:
Works really well.

Thankyou :)
[Xperia Z3 General] Voltaine:
Edited: Just tried again and now it works....It never did before
[Xperia Z3 General] broduderson:
Modified slightly to work with linux. Thanks!

install.sh

echo 'starting adb server...'
adb start-server

echo 'Please plug in your device.'

adb wait-for-device

echo 'Device found. Proceeding'

adb shell "mkdir /data/local/tmp/mm_twrp_recovery_install"
adb push files/boot_twrp_recovery.sh /data/local/tmp/mm_twrp_recovery_install
adb push files/chargemon.sh /data/local/tmp/mm_twrp_recovery_install
adb push files/recovery.twrp.cpio.lzma /data/local/tmp/mm_twrp_recovery_install
adb push files/busybox /data/local/tmp/mm_twrp_recovery_install
adb push files/recbox /data/local/tmp/mm_twrp_recovery_install
adb push files/install_twrp_recovery.sh /data/local/tmp/mm_twrp_recovery_install
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/busybox"
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/recbox"
adb shell "chmod 755 /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh"
adb shell "su -c 'mount -o remount,rw /system'"
adb shell "su -c /data/local/tmp/mm_twrp_recovery_install/install_twrp_recovery.sh"
adb shell "rm -r /data/local/tmp/mm_twrp_recovery_install"

echo 'Rebooting into TWRP'
adb reboot

adb kill-server
[Xperia Z3 General] Farnan:
Plz read my msg!

Plz upload the Root system of Xperia Z3 plus E6553 running on Marshmallow 6.0.1 build number 32.2.A.0.224

I am badly need this

Plz Plz Plz...
[Xperia Z3 General] Licaon_Kter:
Get XperiFirm and get it yourself c'mon... you have ~12 Customised XX versions to choose from.
[Xperia Z3 General] goolby:
Success ! :)

Thank you ! this worked like a charm on my SGP611 after I downgraded from 6.0.1 to 4.4.4 following http://xdaforums.com/z3-tablet-compact/general/root-rooting-sgp611-giefroot-bootloader-t3017314 with the exception that when flashing the 4.4.4 (23.0.1.A.0.167) firmware I selected all tree options to wipe in flashtool and installed the full firmware not just the kernel.

For the pre-rooted 23.5.A.0.575 I used XperiFirm to download the Customized UK one and the post from user Licaon_Kter http://xdaforums.com/showpost.php?p=67143905&postcount=700 to create the flash zip file.

Note!

Before flashing the prerooted zip file in TWRP I wiped everything except external sd .
[Xperia Z3 General] benjieb:
Hi all,

I read through this thread but I am still confused. I have a Z3 D6603 with locked BL and rooted stock LP rom. I am used to creating my own pre-rooted roms + dualrecovery but I understand I now need to use recroot v4.

Could an expert summarize the step by step update method to upgrade to MM ?

Also 2 specific questions:

1 - I am very reluctant to flash or wipe userdata. + never did it in the past since I find it a hassle to install everything again. Never had an issue. Is it an absolute red flag in this case ?

2- as I create the tft with flashtool which .ta files should I keep / exclude in order to avoid having a simlock issue or corrupted TA partition ? the stock rom I got from Xperifirm contains the following (auto-boot.ta ; cust-reset.ta ; fota-reset.ta ; osv-restriction.ta ; simlock.ta ; Leo_S1BootConfig_MiscTA.ta )

Many thanks
[Xperia Z3 General] Licaon_Kter:
I'm no expert but...

First of all, always have a backup, contact, pics, whatever.

If you have LL with recovery you just flash the pre-rooted .ZIP, a factory wipe (no-data pics music wipe) would be nice, not needed, but if you have issues it's recommended.

If you flash it and end up without recovery/root then you must do the steps all the way back: KK, giefroot, XZDR, flash MM.

I did not mess with the .TAs, but, again, I sure do hope you have at least one TA backup (for the camera thing at least).
[Xperia Z3 General] agent.47:
Hi,

Im on MM .570 prerooted. if i update phone via sony update center it will remove root access. but what will happen to recovery? and if recovery still exist, could i get root using RecRoot in .575?
[Xperia Z3 General] Licaon_Kter:
If rooted I'm not sure you can upgrade like that, just get a pre-rooted .575 and flash it.
[Xperia Z3 General] ondrejvaroscak:
Update over Sony Update Center removes both root and recovery.
[Xperia Z3 General] goruntz:
It can also be used with prf creator ?????
[Xperia Z3 General] ondrejvaroscak:
Yes, you put a dummy (empty) zip file in SuperSu dialogue box and Recroot in Recovery dialogue.
[Xperia Z3 General] Licaon_Kter:
First, don't quote whole posts for nothing.

Second, that's the point, yes, in PRF use: FTF + dummy_zip (instead of SuperSU) + Recrootv4 (from the first post here)

/ninjaed :)
[Xperia Z3 General] goruntz:
everything works fine, I can confirm

I created the zip file with PRFCreator D6603 _Customized IT_1288-5498_23.5.A.0.575_R6D

and it all works, root and recovery

thank you Wolfbreak
[Xperia Z3 General] Temaki:
Thanks for this. I was able to root my Softbank phone in Japan (still on LL 502) with Kingroot, but was not able to flash a recovery. With this Zip file I was able to get rid of Kingroot and have a working dual recovery now.
[Xperia Z3 General] Kurogane0806:
Uh...

Works on d6633? can't acess recovery thought...
[Xperia Z3 General] Licaon_Kter:
So you reboot the device, and then start pressing VOLUME DOWN and you don't get to TWRP?
[Xperia Z3 General] GioKupreishvili:
hello all. i have prerooted .575 MM FW with supersu and recovery. what privileges have recroot?
[Xperia Z3 General] Licaon_Kter:
Nothing new, you don't need it, enjoy your root and recovery.
[Xperia Z3 General] GioKupreishvili:
thanks for your answer :)
[Xperia Z3 General] p0pc0m:
does this solve the issue with the wifi not turning on and missing mac address?
[Xperia Z3 General] gnormal:
I'm here for the same reason. i like stock 6.0.1. I've never needed to root this phone. but now, i can't turn on wifi or bt.

i thought i should do fresh wipe sys reset from the settings menu. but i wanted to backup first (including apps).

to backup i need titanium right?

∴ i have to root first.

as long as I'm going to wipe, i might as well load the pre-rooted mm rom afterward to start fresh.

how do i decide whether i want to unlock the boot loader or not? whats the point of that?

so my steps are:

- root (from locked boot loader)

- install titanium and backup

- unlock bootloader?

- flash D6653_23.5.A.0.570_Customized AU-SuperSU-v2.68 -TWRPrecovery3.0.2-0 -signed.zip

can i do it all from my mac (i have fast boot and tiny adb) or do i need to bust out the pc?

can anyone recommend another way to backup before i do sys reset?

or anyone have a solution for no-wifi/bt/mac problem? [MENTION=5039957]p0pc0m[/MENTION], i "fixed" the wifi problem just now by "jiggling the handle." in the pulldown settings i repeatedly turned data on and off, and pressed bt and wifi. within a few minutes of this seemingly pointless exercise the bt came on! so i continued and a few min later the wifi turned on too. very annoying and of course i don't know how long it will be until it flakes out again. so i still want to wipe and reload.
[Xperia Z3 General] boymafia:
How to remove after installed

Hi,

Does this progame support to remove after installed ?
[Xperia Z3 General] Licaon_Kter:
If you did not need it yet and you did not read about it, just ignore it, there is no point.

(There is a point, say you want to install CyanogenMod, but if you want to stay with Stock kernel, you don't need an unlocked bootloader, you can have root./recovery without it just fine)

Apps? Nope.

Data? Use a cable to a computer or primitive ftpd+FileZilla.

Umm, no, if you don't have root&recovery the steps are (IT WILL WIPE EVERYTHING): downgrade to KitKat, giefroot, XZDR, then Flash a pre-rooted 6.0.1 .ZIP

Should work ok on Mac afaik.
[Xperia Z3 General] ChiDi9901:
Thanks, this RecRoot method with the dummy zip work flawlessly on my Xperia Z3 Tablet Compact (SGP611). I could successfully update it from Android 5.1.1 (Customized Benelux) to Android 6.0.1 (Customized Germany) and still have root and a working TWRP recovery. No data wiped either, I did wipe cache, dalvik and system.

Gesendet von meinem SGP611 mit Tapatalk
[Xperia Z3 General] gnormal:
great to know!

ok that sounds like there be dragons and maybe no point- if i just want to end up with the stock 6.0.1 i have now (but fresh), then i can more simply:

- root for LB

- backup (apps) with titanium

- factory reset

(- reformat sd card again for 50% adoption?)

- root for LB, again

- restore with titanium

- then I'm back to square 1 but with more reliability, no wifi trouble, and a backup.

- remove bloatware, sniff around for other fun stuff i can do with root. (any suggestions?)

is that right?

if im rooted (and have not messed with the bootloader), can i still get OTA of 6.0.X when it comes around? if so, i guess the OTA would unroot me?

the only other reason to root is to have a shot at recovering my viber conversations.

and THANK YOU!
[Xperia Z3 General] rrdna:
could you please give specific details on your update-process for locked bootloader for SGP611? i am failing to get root all the time. my steps are the following:

1. flash -SGP611 X.X.X.X.167 (LP 5.1.1) firmware

2. flash system and exclude everything else from D6603 X.X.X.X.93 (KK 4.4) firmware

3. root with giefroot

4. install nuts dual recovery

5. generate flashable zip with recroot_v4, dummy.zip and 23.5.A.0.575 (MM 6.0.1) customizedDE SGP611 firmware

6. flash flashable.zip via recovery

7. turn off device after recovery flashing

8. flashtool: flash 23.5.A.0.575 (MM 6.0.1) customizedDE, but WITHOUT system

after all this steps i always end up with no root (supersu not available); cannot enter recovery.

is there sth i do wrong?

at what point i should do wipes? cache? dalvik? factory reset?

any help would be apreciated, since i tried this procedure like 20 times and the last few times, giefroot newer worked anymore (even after 3-4 restarts and retries)

the last time i flashed step 1 again it ended in a hard brick of death, so i've returned it to customer support and got it replaced. this time i hope, i will be more successful, since rooting my D6603 always works.

thanks
[Xperia Z3 General] ChiDi9901:
Ok, I will give you an answer when I have time later, please be patient. I may write a quick guide or something similar in the Z3 Tablet Compact section too. :):good:
[Xperia Z3 General] Licaon_Kter:
Nope, read again, the steps are: downgrade to KitKat, giefroot, XZDR, then Flash a pre-rooted 5.1.1 or 6.0.1 .ZIP

Yes, you flash via FlashTool in FlashMode KK, that's the only one that can be rooted through an exploit (giefroot), then you get TWRP recovery via XZDR, then you flash what pre-rooted image you wish.

(No, I don't know what Kingroot does and I don't care)

Sony did not implement adoption in 6.0.1, not sure what you mean.

Nope, no OTAs.
[Xperia Z3 General] rrdna:
I tried again, but this time i created a PRF with included Kernel and Modem.

Before Step 6, i wiped system, data, cache and dalvik in the recovery.

after step 6 i tried to reflash the recroot zip-file, which ended in an error ( Error: Failed to sysMapFile "RecRoot_v4_combined.zip")

Then, before i wanted to reboot, TWRP asked me: "Your device seems not to be rooted. Install SuperSU?" Then i swiped to install and it booted up anyway without SuperSu.

EDIT: Update. i got it finally to work. I had to tick all includes in PRFCreator and i signed it as well.

After flashing flashable i had to reflash RecRoot.zip again over the prerooted-flashable.
[Xperia Z3 General] gnormal:
hmm. all i want is to backup all including apps and app data, and factory restore to stock 6.0.1 in order to fix the wifi bug. (root would be nice but i can't do this project right now.)

so if i don't want to downgrade and do the whole project above, then I'm stuck with no root, and unable to use titanium.

for an unrooted 6.0.1, isn't there any better backup option than the one built into settings (which i don't trust)?

this works fine. 2 wks and no problems.
[Xperia Z3 General] Licaon_Kter:
I know, I meant by default being directly integrated, like Google does on Nexus.
[Xperia Z3 General] xudsa II USERT:
[MENTION=3046827]gnormal[/MENTION]

Normally I would use Helium\Carbon to backup app data, and use SMSBackup\Restore for SMS and Call data, along with WhatsApp backup. Search them up in the play store, hope it helps!
[Xperia Z3 General] ecksdeeay:
Z3 D6653 (another done, no prob's)
[Xperia Z3 General] gnormal:
it does help indeed! i didn't know about helium. thanks for this!
[Xperia Z3 General] xudsa II USERT:
Your welcome! ;)

Btw, another successful PRF to report, credits to rrdna's steps! Thank you Wolfbreak!
[Xperia Z3 General] zogoibi:
[Entry deleted. Found out by myself]
[Xperia Z3 General] gnormal:
I backed up everything Helium would backup, and it's all in //internal/carbon.

I backed up /carbon to external USB storage. The files in /carbon seem perfectly readable on my mac (not encrypted).

Do you believe I can factory reset, and then install Helium, copy /carbon back to internal, then restore everything in /carbon with He? (it sounds logical but i haven't seen it mentioned on Helium wiki.)

There are a dozen apps that He said it was not allowed to backup, for example, Telegram, WhatsApp. Can I just backup the media directories for these, restore to same location, and reinstall them?

If I use a cloud/sony backup, can EVERYTHING get backed up with the mac xperia companion? I don't really trust that stock backup to work well, but if it can backup all apps including those refused by He, then I'll try it.

I am embarking on this total factory reset SOLELY to get my wifi and bt working again. Is there any known best solution I should try first?

(i realize this is outside the thread topic but the thread is finished so i hope you can give me advice. :)

thank you!
[Xperia Z3 General] xudsa II USERT:
Not to spam the chat:

Erm haha... A bit off-topic, but I'll answer to the best of my experience.

1. With regards to Helium, yes, if you did copy the files in the /carbon folder back to the fresh directory after factory resetting, you should be able to get back the data. To be safe, I'd usually back up them to the SD Card. WhatsApp, you can either do a cloud backup to Google Drive, or a local backup, then save the databases and media folders from Internal Storage to somewhere else.

2. I'm not too sure about Telegram, haven't used it before, might want to google for help. Xperia companion? I had tried to backup before, but never really tried restoring. It did save the app files, (probably about a few hundred mb) but no promises... :P

3. Wifi and Bluetooth, are you on Android N? Last I remembered that was a issue yet to be fixed.
[Xperia Z3 General] CharlyRifa:
Root for xperia m4

There is the possibility of carrying this to XPeria m4 for Locked Bootloader? :)
[Xperia Z3 General] J4G3D:
So i am rooted with a locked bootloader on a D6603. I am using a pre-rooted ROM 6.0.1.

I have run the install.bat and it installed custom recovery on the phone.

The first time booting up it was acting as if its installing a rom, as it took forever and was loading android components 293 to be precise.

Once loaded up, my original pre-rooted rom was there still, and all my apps. But my APPs which i stored on the SD card took 30 minutes or so to actually load properly (show the icon on the phone).

Custom recovery is now on my phone and so is i think my original pre-rooted rom.

So i have done all this correctly right?
[Xperia Z3 General] ecksdeeay:
You tell us ????

The load after flashing prf on boot is correct.
[Xperia Z3 General] Vaith:
Need fast reply. I have .575 firmware. Any way to root it with RecRoot V4?
[Xperia Z3 General] ecksdeeay:
Device?
[Xperia Z3 General] shazzmania:
I need to know too. Seems quite unclear with the steps given, if any. I'm on .575 D6653 and have read this whole thread. do i really need to flash older firmware to achieve root or can i do it straight on latest MM firmware.?
[Xperia Z3 General] ecksdeeay:
Yes, simply flash the older fw given > root it >install XZDR> then install via twrp with prf your current mm
[Xperia Z3 General] abieofficial:
Ive unlocked Z3 and i've download the mm-beta_permissive_no-RIC.img. Now how to flash this img from fastboot mode?

fastboot flash recovery mm-beta_permissive_no-RIC.img

or

fastboot boot mm-beta_permissive_no-RIC.img

or

fastboot flash boot mm-beta_permissive_no-RIC.img

Thanks :)
[Xperia Z3 General] shoey63:
Seeing as your bootloader is unlocked, head over here. http://xdaforums.com/showthread.php?p=66056450
[Xperia Z3 General] abieofficial:
thanks! It work! <3
[Xperia Z3 General] psyko12:
Does making a flashable zip file with this and 23.5.A.1.291 work, to get root access and recovery?
[Xperia Z3 General] ecksdeeay:
Yes..I lost SU app though and a few permissions needed reconfiguring
[Xperia Z3 General] psyko12:
Were you able to put it back tho? And did you make it via PRFCreator?
[Xperia Z3 General] ecksdeeay:
Yes and Yes
[Xperia Z3 General] psyko12:
Thanks man, found your post a few pages back, I forgot how I even managed to install the pre-rooted zip file before, I only remember I had to go the long route.

Flash back to KK , get root, flash pre-rooted zip (I made my own, how ever without NUT's recovery, I forgot the steps on how I was able to do it! LMAO).

Reading a few pages back, Is this still the way to do flashables?

1. Generate downloaded firm file to FTF
2. Load up PRFCreator, point to FTF file , point to SuperSU zip [w/c in some post stated must be a dummy flashable?] (What will happen if I actually use a supersu.zip file?)
3. Point to recrootv4 combined zip
4. Make sure these are checked: Kernel, FOTA Kernel, Modem, LTALabel
5. Create
6. ?? Profit? J/k

I appreciate your time replying and shedding enlightenment :)

EDIT : Never mind all good! I just downloaded SuperSu again from google play and root was intact! :D

Thanks!
[Xperia Z3 General] Licaon_Kter:
Did you look at the threads below: http://xdaforums.com/z3/general/d6603-xperia-z3-23-5-1-291-customized-t3432744
[Xperia Z3 General] psyko12:
^ posted above your post, already had it working a few hours ago :) Thanks!
[Xperia Z3 General] Pi3rluigi:
No recovery

I created a .291 flashable that was properly installed.

When started the first time, SuperSu wasn't present but I downloaded it from GPlay and root is ok

The problem is that TWRP recovery works just if I run install .bat from PC; when I reboot the device and try to enter it either using buttons or ADB , the phone start normally to Android.

There's an .img file flashable from fastboot?

Or can someone point me on what I'm doing wrong
[Xperia Z3 General] ecksdeeay:
What device? TWRP still there for me using D6633
[Xperia Z3 General] Pi3rluigi:
D6633, but no TWRP

Inviato dal mio D6633 utilizzando Tapatalk
[Xperia Z3 General] Licaon_Kter:
How did you create it?
[Xperia Z3 General] ecksdeeay:
properly (as NOT quoted)

I don't get;

TWRP recovery works just if I run install .bat from PC; :confused:

when I reboot the device and try to enter it either using buttons or ADB ,

JUST KEEP TAPPING VOL DOWN ON BOOT, LED goes ORANGE then PURPLE> Then into TWRP

[MENTION=4266990]Pi3rluigi[/MENTION] There's an .img file flashable from fastboot? EH? Edit; is this the prf you should've flashed? TOTALLY:confused::confused:
[Xperia Z3 General] casouzaj:
If Recroot is correctly installed, at reboot time, right after the first Sony Xperia boot screen, the led will light up in green, along with a vibration. At that moment , press the volume down button. You have 2 seconds to do it. The led will be turned to violet and TWRP will come up.
[Xperia Z3 General] Pi3rluigi:
This worked, but I wonder why Adb commands and Titanium can put the phone in recovery!

Nevermind, going back to. 264!

Inviato dal mio D6633 utilizzando Tapatalk
[Xperia Z3 General] eddict.nl:
exactly the same over here (Z3C D5803). using ADB from pc "reboot recovery" doesnt work anymore, with volume button doesnt work anymore, using (root) reboot apps on phone same problem, all booting to android instead of recovery. only rerunning install from RecRootV4_combined does the job. dont get it... :confused:
[Xperia Z3 General] Licaon_Kter:
You've flashed a bad(ly made) ROM maybe.
[Xperia Z3 General] ecksdeeay:
The permissions for drawing over other apps have been totally screwed with the *.291 and have caused me grief, maybe this is related? but my TWRP from boot is fine, though I can't vouch for the other methods of access! (D6633)

Edit;

This took some trblshooting to identify and s'thing must've been wiped when flashing due to SU not being installed when upgraded? Oh well! all is good now.
[Xperia Z3 General] eddict.nl:
I'm using the ones from nzzane, see the thread [D58XX] [5.x/6.x] Pre-Rooted Firmwares-Recovery-SuperSU

had it in all of those MM versions (once upgraded from latest and rooted lollipop), also with the latest 23.5.A.1.291
[Xperia Z3 General] Pi3rluigi:
Maybe the answer is here

http://xdaforums.com/z3/general/recovery-root-mm-575-291-lb-t3435214

I think that if you have already a prerooted .575, dirty flashing .291 is fine; if you came from prerooted .264 and try to flash .291 directly, it screw up the phone.

It should be kernel related.

Maybe [MENTION=2822871]Wolfbreak[/MENTION] can put some light on this
[Xperia Z3 General] Licaon_Kter:
This should not happen, it should just work in either direction, I just tested from MM .291 to LL .264 just fine, it should work the other way the same.

Although, since you change the whole Android version, a clean install (backup, wipe ALL, install clean MM) should be advised.