yashsingh1/xdaforums huggingface dataset:
[Xperia Z3 General] shoey63:
Looks like kingroot for LB or custom boot.img for UB at this stage. I tried virtually all the supersu zips to root, and none worked. (Bootlooping on Sony logo or bootanimation). To make matters worse, the boot.img can only be partially unpacked with all tools I know of, making repack a big headache. I will keep experimenting though.
[Xperia Z3 General] Dadovvv:
What about NUTs dual recovery, it has built in RIC killer

So after rooting with kingroot try to flash dual recovery using method for rooted
[Xperia Z3 General] Wolfbreak:
That is a good Idea yeah. If someone can Test this that would be great.
[Xperia Z3 General] deepongi:
you can use this RIC Disabler, works on leo.

https://drive.google.com/file/d/0B2Ayh5ZFCqa8QUdlR0ZPbnBYN0U/view?usp=sharing

regards.
[Xperia Z3 General] ondrejvaroscak:
I remember using this RICDefeat after "giefroot" on KitKat.... first root, than disabling selinux and than disabling RIC.... So analogically it may work with Kingroot, obtaining root and running RICDefeat before reboot... USB debugging needs to be on and correct USB drivers installed (again it may use drivers from Z3+/Z4 and may need to disable Windows driver signature enforcement....) can not try myself, I am in nature without comp.
[Xperia Z3 General] NewBieSS:
I tried to root use KingRoot but it didn't work. :angel:
[Xperia Z3 General] ondrejvaroscak:
As [MENTION=5216879]Black_Eyes[/MENTION] wrote, you may need to run KingRoot several times, maybe also try to enable USB debugging / Mock locations also...
[Xperia Z3 General] NewBieSS:
Humm..

Back to report bugs:

Marshmallow 6.0 "Battery usage" icons missing. Some guys found this bug on Sonytalk forum. And the z3 firmware have this bug too.

Please report to Google Plus page :)
[Xperia Z3 General] juanpirulo:
Kinroot also working With unlocked bootloader but not writed permission on system

I cant try ric defeat right now because i dont have computer here

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] EricCartmanez:
not working... tried this directly after rooting with kingroot but nothing, same with xzdr, got its folders now in /system but no write access also after reboot root seems to be broken, no read access to /data partition have to use kingroot again to root it
[Xperia Z3 General] Trojaner_:
Is it possible to root with systemless root? (http://www.xda-developers.com/chainfire-releases-root-for-android-6-0-without-modifying-system/), since it doesn't modify /system...
[Xperia Z3 General] deepongi:
i was able to get r/w access on system, cause adaway updated and successfully merged the hosts files..

the issue now is that root doesn't "stick" . . after a reboot its gone.
[Xperia Z3 General] EricCartmanez:
you're right! adfree also updated, but i can't modify anything else, wanted to delete some bloatware but once it's deleted and i press refresh it's there again maybe kinguser incompatibility?
[Xperia Z3 General] juanpirulo:
At the moment it doesnt Work With Sony devices. It works With nexus.

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] NewBieSS:
Disable these apps is the best way at the moment :D
[Xperia Z3 General] mathorv:
Regardless if you got your phone rooted or not you can block ads and use firewall effectively:

NetGuard

https://play.google.com/store/apps/details?id=eu.faircode.netguard&hl=en

https://github.com/M66B/NetGuard
[Xperia Z3 General] maple_mak:
Found a bug but I can't report:

Active Developer Options will cause Memory Leak.
[Xperia Z3 General] RodrigoOgasawara:
Installed the Beta yesterday using the TWRP backup as I’m not a "official" beta tester, just want to report some minor bugs that I have faced, if someone with access to the G+ group could give my feedback to the Sony devs I appreciate.

First thing I notice is that the status bar do not change its color, staying black with the system apps. (I think everyone notice that already)

Second: There is some missing icons on the battery usage stats, like screen icon.

3rd: Very specific bug: Using the MDR31NC headphones with the Noise Canceling ON makes music skip constantly while using the phone, like clicking on other apps. With the Noise Canceling OFF, it does not happen.

4th: Sometimes, there is a green blinking thing while watching videos on full screen through browser (using chrome).

Other than that,the ROM is really stable,looks fast and besides there is no STAMINA MODE,the battery seens fine.
[Xperia Z3 General] juanpirulo:
Allready report this for you. Cheers

Enviado desde mi D6603 mediante Tapatalk

---------- Post added at 06:31 PM ---------- Previous post was at 05:47 PM ----------

Could you describe the problem?
[Xperia Z3 General] napinaczkamil:
Sony Mobile PL on Facebook page post "in next days we will start update next Xperia smartphones z3, z3c, z2, m5, m4aqua." posted yesterday 6 pm

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] ondrejvaroscak:
Rooting + recovery

[MENTION=4675598]shoey63[/MENTION] I have tried couple of things, but with no success, but probably because:

- I have flashed (restored) the backup, going from pure stock with XZDR, and while in XZDR, i tried both SuperSU v. 2.65 and 2.68. The installation fails on boot image extraction.. super su tries to install itself in mode where it needs to patch boot image... I did not tried any older supersu. However, checked through in-built adb in twrp and su binary was not installed.

- the RIC disabler in XZDR is nice idea, but I really doubt that XZDR is compatible with M... at least I tried to flash the latest version, and although it seems to flash successfully, there is no recovery after reboot... However, android M boots normally....

-also [MENTION=1077833]infected_[/MENTION] the RICDefeat script that was designed and used for KK, does it really works on L/M ? It seemingly works with kernel modules, so I doubt compatibility...

just now trying to get KingRoot to work, but it ends up with Rooting Failed, no strategy available... Also KingRoot developers state that app is compatible with Android 5.0 so I am quite curious ...

UPDATE: Tried the KingRoot like 20 times, with no success.. It keeps saying Rooting Failed and after reboot it just hangs on Verify Root Status unless you reinstall KingRoot or delete app data...
[Xperia Z3 General] icemann3017:
Hi guys. Today i managed to download from some website an ftf claiming to be a 6.0 beta. How can I confirm it's ok to flash? Any ideas? If you like i can upload it in google drive and link the file.

EDIT: I cant post link for the website because im new but its droididea.com
[Xperia Z3 General] ondrejvaroscak:
I am not sure what did you download, but the "link" on that page claiming to be Beta M gets you to page where you can download "drivers" ...
[Xperia Z3 General] dkionline:
Theres nothing to load.
[Xperia Z3 General] icemann3017:
Yea, link is removed. Don't know why. But i downloaded some .ftf that's about 950MB's. I'm uploading it to Drive now. It was working few hours ago
[Xperia Z3 General] ondrejvaroscak:
There is a lot of scam sites around who claim to have "guides" and "howtos" but in fact these are just full of ads and commercial, provide irrelevant info and lead you to install anything like "drivers" and rooting tools, which in end effect contains viruses and other malware.. So I would be very careful about what to download and run.
[Xperia Z3 General] ondrejvaroscak:
Rooting try - 2nd

[MENTION=4675598]shoey63[/MENTION] and other guys, I found out that most recent supersu.zip are trying to install su in systemless mode, which of course fails... so I have edited the update_binary script to disable systemless root and force normal installation, which suceeds, the su binary gets installed where it should be. However, reboot leads to bootloop on Sony logo...

The Kingroot method on getting at least temporary root never worked on my phone, doesn't matter if flashing dirty on clean Beta M..
[Xperia Z3 General] ondrejvaroscak:
The firmware proved to be just Concept ROM...
[Xperia Z3 General] Black_Eyes:
You must need to use VPN then, If KingRoot doesn't work for you, Try it with some VPN.
[Xperia Z3 General] ondrejvaroscak:
Interesting, is there any reason for that?
[Xperia Z3 General] shoey63:
I'm working on converting the boot.img (which appears to be some sort of elf image) into a standard boot.img format that supersu can work with. Obviously that will make it a custom kernel, only usable on unlocked bootloader.

But that was always going to be the case, as supersu root on mm requires modifications to the ramdisk. Kingroot method is pretty much useless, as it can't bypass RIC.
[Xperia Z3 General] ondrejvaroscak:
So to put it short, we are for time being forced to unlock no matter if dm-verity would be used or not....
[Xperia Z3 General] shoey63:
Yeah pretty much. In fact the concept kernel was much easier to work with. Standard boot.img, no RIC, and flashing supersu took care of dm-verity.
[Xperia Z3 General] juanpirulo:
If anyone want a system dump just rename the system_img file from my backup to system.ext4 and mount it with linux reader on windows. cheers
[Xperia Z3 General] maple_mak:
While I activate the Developer Settings and edit something, after that I go to play Asphalt 8. Later I receive my Facebook notifications and I go there take a look, then go to Twitter awhile.

And then I go play back Asphalt 8 but it restarted.

This happens won't appear while I using older firmware. To solved it I have to turn off Developer Settings.

Note: It looks like gaming performance has worse (a bit) than before while playing Asphalt 8, keep getting frame drops.

And I clean install this beta firmware.
[Xperia Z3 General] nhuduy:
Kernel is not change. And we can't have API2 Camera on Android 6???
[Xperia Z3 General] lamducthien:
Can you help me what version of supersu ? I used supersu v2.68 flash via your recovery for z3c but fail
[Xperia Z3 General] ondrejvaroscak:
He speaks about Concept ROM, not this Beta. Here SuperSU simply doesn't work.
[Xperia Z3 General] maple_mak:
Update: It doesn't the developer options cause it, maybe Android OS cause it.

I still get hidden crashed while off the developer options.
[Xperia Z3 General] saekusa:
Maybe it is because the game is not update for Android 6

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] maple_mak:
I don't think so:
[Xperia Z3 General] shoey63:
Ok, so I have managed to to create boot.img that supersu v265/268 can root. I had to make it permissive due to Sony implementing yet another security measure that prevents apps being granted root access by supersu due to the sepolicy. Unfortunately I can't get r/w access to /system, even though I disabled RIC, so twrp will be your friend in that regard.

Here is the link https://www.androidfilehost.com/?fid=24457741883933506

Rename to boot.img and flash via fastboot. Then flash latest supersu.zip in recovery.

[MENTION=4102242]Gustavo RD78[/MENTION] Please feel free to use as a base in an Advanced Stock Kernel and fix system r/w issue if you can.

Edit: For unlocked bootloaders only.
[Xperia Z3 General] serajr:
And that because Sony always says that it is "friend of developers" ... just wonder if it was not!!

Thank you so much my friend!!!

I'd like also to congratulate everyone involved, you're just amazing!
[Xperia Z3 General] ondrejvaroscak:
It seems that Sony invented just another kind of protection that allows them to keep locked bootloaders unrootable without need to mess with dm-verity (for whatever reason)...

But I still understand that they want to make their proprietary stock firmware bulletproof... there is enough threats in Android world, the worst being users themselves :) if this would only be balanced by better support for AOSP, there would be no need to play around with stock firmwares.. It is over year and almost half since launch of Z3 and there is still no working camera on either AOSP nor CM...
[Xperia Z3 General] rafaelnfontoura:
For those running MM Beta, is it better than Concept Software?
[Xperia Z3 General] lamducthien:
Can I use it for z3c ?
[Xperia Z3 General] mohsin.android:
Yes it look more stable and complete.
[Xperia Z3 General] rafaelnfontoura:
That's nice! How is speed/performance and battery life?

BTW, UI looks awful with this status bar color and icons (WiFi, cellular and battery misaligned) :(

I'm currently on Concept and kinda miss Sony skin and some features, hope the official MM will integrate this all.
[Xperia Z3 General] DAXXXX:
Reports

Anyone report bug when you get in radio nav bar is looking weird also when you get in weather widget on screen nav bar goes weird.

Wifi signal is constantly changing even do i am in are a room with router and siting in one spot , in lolipop it was ok.
[Xperia Z3 General] deepongi:
@shoey63 excellent job!

and about rw on /system .. i got rw access, using the zip i posted earlier.. just like i said i did.

screens in attachment.. i created a file on the /system folder also.

@ondrejvaroscak, patching the modules work with the RIC defeat:

http://pastebin.com/Xe6XAAXk

"__aeabi_unwind_cpp_pr0: match"

regards.
[Xperia Z3 General] juanpirulo:
So after flahsing boot

Img then flash supersu and at the end patch With ric defeat?

Enviado desde mi D6603 mediante Tapatalk

---------- Post added at 07:34 PM ---------- Previous post was at 07:02 PM ----------

sorry i am new with fastboot commands. wich is the correct command to flash boot.img?

---------- Post added at 07:38 PM ---------- Previous post was at 07:34 PM ----------

i allready got it cheers.

---------- Post added at 07:40 PM ---------- Previous post was at 07:38 PM ----------

ok get it root with rw access cheers thank you very much to all of you
[Xperia Z3 General] deepongi:
dont open the champagne.. check if your camera is black.

my camera was all black, until i restored original boot.img

@shoey63 can you confirm on your leo?
[Xperia Z3 General] juanpirulo:
buaaaaaaaa!!! yes camera its not working.
[Xperia Z3 General] shoey63:
Yeah its black, forgot to check that. Sorry folks. Back to the drawing board....
[Xperia Z3 General] kansasboy001:
Is battery better than 5.1.1 with stamina, the only reason I need root now is for greenify so if battery is better root won't be necessary
[Xperia Z3 General] ondrejvaroscak:
Anyway, does that mean, that when you succeed to modify image so supersu can modify it, supersu installs itself in systemless mode? Or short said, there is no classic system based root ...
[Xperia Z3 General] Pandemic:
I hope my Dutch bro [MENTION=631273]Chainfire[/MENTION] look howto fix it with SuperSu on MM :)
[Xperia Z3 General] shoey63:
If someone comes up with script or module that sets selinux to permissive on boot, then system root, and indeed, xz dual recovery may be possible.
[Xperia Z3 General] kansasboy001:
That's not hard to do at all, at least the selinux permissive part. It can be done either with initd or by modifing init.qualcomm.postboot.sh. Idk how to do root though.

And RIC does not protect against writing to the system from recovery, so we could still copy files with aroma fm or a installer
[Xperia Z3 General] Pondy:
I've found the battery comparable to 5.1.1 without stamina mode
[Xperia Z3 General] kansasboy001:
So 5.1.1 with stamina is still better?
[Xperia Z3 General] juanpirulo:
Beta System dump. here you have

betaMMsystemdump.7z	1.38 GB

https://mega.nz/#!H1pQCLII!nFpwY5HMqw_V6UBsI4Q1x17qxYnDwkzXv8iJwPucuk4
[Xperia Z3 General] shoey63:
Is an updated version?
[Xperia Z3 General] juanpirulo:
No same one. Its Just the system files

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] saeed-constantine:
Somene post screenshot from do not distrub menu in settings plz
[Xperia Z3 General] napinaczkamil:
Here you are ;)

I like the 2x power button to start the camera ;) if you need screenshot of other function, pm me

Anyone have OneDrive crash when you try to login?

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] kioshi:
So it's an ftf? If so, we should be able to install via flashboot, I hope.
[Xperia Z3 General] juanpirulo:
Not Its not an ftf. These are Just the system files.

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] deepongi:
found a flashable zip of 23.5.a.0.486 for leo.

https://docs.google.com/uc?id=0B8cCnBv81XJ0OHZvcjBMdEZ2LTg&export=download

i have not tested it yet.

regards.

ps: theres a boot.img inside.. maybe we can use systemless roo with it. ill report right back.

edit: nope, no good.. bootloop.
[Xperia Z3 General] Renovatio_ edi:
Someone can create ftf????

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] Beetle84:
Sony.
[Xperia Z3 General] Renovatio_ edi:
Any... stock or Sony

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] juanpirulo:
Only Sony can Make an ftf, so there wont be a ftf till Sony release the firmware.

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Renovatio_ edi:
Ok then why need wait :/

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] Wolfbreak:
You talking about Locked or Unlocked Bootloader? If we can root, get System R/W and also RIC disabled then i can make a prerooted ROM with SELinux Permissive set on boot. I did not read the full Thread here and also have not tested Rooting MM yet.
[Xperia Z3 General] ondrejvaroscak:
I am not that involved as I am traveling and have no time for experiments unfortunately.. But from what I copied (correct me guys if I am wrong):

- dm-verity is not used

- rooting is complicated because RIC is used (can be disabled) and SELinux is set enforcing on boot, tripping su

- SuperSU tries by default install itself as systemless, but fails to patch boot image..

So if I can interpret it, if you manage to:

- install supersu as system (not systemless) - I did it editing update_binary in supersu.zip setting SYSTEMLESS=false

- set SELinux permissive

- disable RIC

then it should be rootable with R/W access to /system

My idea for locked is either flash the backup M and while in recovery, flash edited supersu , flash or use adb to trip RIC (will need edit scripts to have absolute paths to su binary), and set SELinux permisive...

Or edit the system in backup (untar in Linux, edit, repack)
[Xperia Z3 General] Wolfbreak:
Ok i will try it later when i get home from work. If i manage to get it working i will post a Zip here that should get us 100% Root. ROM will follow once Final is out.

[MENTION=3979060]juanpirulo[/MENTION]

Can you send me init.qcom.post_boot.sh from system/etc
[Xperia Z3 General] ondrejvaroscak:
Here you go....

Btw. if you with help of other guys manage and nothing will change in official commercial release, it will be the fastest rooted official M firmware ever :))))
[Xperia Z3 General] Pandemic:
I have an init.d tweak set SeLinux permissive [intergrated in my RXS SuperB tweak], so i dunno if it is usefull, if so then there is no app needed :)
[Xperia Z3 General] Wolfbreak:
Ok guys, i modified some Stuff on my Phone at work. I didnt have a PC until im Home but maybe this could work.

Download my modified SuperSU.zip

https://drive.google.com/file/d/0B3zaZkL_p8vIOU1ZeUVlYTRYMGc/view?usp=docslist_api

Download my SELinuxPermissive.zip

https://drive.google.com/file/d/0B3zaZkL_p8vIX1VhVmVLM09iQmc/view?usp=docslist_api

Download XZ Dual Recovery

http://nut.xperia-files.com/path/XZ...2psrvbb8o7kl25vsmi471b0&randomizer=_wlmn3ncma

Ok and now after you Downloaded everything go into Recovery and Restore the Backup by juanpirulo like jjwrongjj explained. You find Instructions and Download in OP.

Now comes the important Part, after you restored your Backup dont leave Recovery. Flash SuperSU, then SELinuxPermissive and XZ Dual Recovery as last. Reboot and let me know if Root fully works now.
[Xperia Z3 General] Bird40:
Bootloop.

recovery.log is in the attached file
[Xperia Z3 General] Wolfbreak:
Ok another try. This is just so i can find out what causes it.

The same Procedure like before but now dont install Recovery, install the RICKiller.zip, SuperSU under my Post and my SELinuxPermissive.zip

RIC Killer

https://drive.google.com/file/d/0B2Ayh5ZFCqa8QUdlR0ZPbnBYN0U/view

SELinuxPermissive

https://drive.google.com/file/d/0B3zaZkL_p8vIX1VhVmVLM09iQmc/view
[Xperia Z3 General] ondrejvaroscak:
From what i see supersu modified by [MENTION=2822871]Wolfbreak[/MENTION] is still trying to install systemless, probably due to wrongly patched update_binary

Can somebody try the same thing, but using mine modified SuperSU? SYSTEM-SuperSU-v2.68.zip attached
[Xperia Z3 General] kansasboy001:
Maybe instead of using xzdr to disable RIC, use there scripts that NUT wrote http://xdaforums.com/xperia-z/orig-development/lb-definitive-root-remount-reboot-fix-t2317432. They seem to be a little more thorough that what xzdr uses. Also maybe it is necessary to to a prf manually which we now can do since we have a system dump
[Xperia Z3 General] Wolfbreak:
Is possible as i edited it on my Phone.
[Xperia Z3 General] Bird40:
Bootloop
[Xperia Z3 General] kansasboy001:
Someone try just try su and not RIC
[Xperia Z3 General] ondrejvaroscak:
You can not try RIC disabler if you don't even reboot....
[Xperia Z3 General] ondrejvaroscak:
There are some failures in SuperSu installation, needs examination and followup what is going wrong...
[Xperia Z3 General] kansasboy001:
Super su is trying to look to see if RIC is disabled, but it's not fining the files it needs because the system root written for mm. [MENTION=631273]Chainfire[/MENTION] needs to make a system root for our mm
[Xperia Z3 General] ondrejvaroscak:
SuperSU has nothing to do with RIC... nor is supersu even aware of RIC at all. RIC is totally proprietary to Sony...
[Xperia Z3 General] Wolfbreak:
I have some Problems with my Z3 so i still cant test but heres another try

Download SuperSU 2.65 or try to root with KingRoot

Download SELinux Permissive Script

Download RIC Killer

I think SuperSU is not fully working with Sonys 6.0.1 Update, we might need to Contact [MENTION=631273]Chainfire[/MENTION] for a Solution. I saw People here getting temporary Root with KingRoot but no one succeeded with old Lollipop SuperSU Method yet.
[Xperia Z3 General] napinaczkamil:
In this beta, we get update to official soft? I m not beta community ;)

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] juanpirulo:
I wonder why with shoeys modified boot.img supersu worked well on unlocked bootloader
[Xperia Z3 General] Gustavo RD78:
the kernel that [MENTION=4675598]shoey63[/MENTION] posted does not contain any changes unless build with permissive mode
[Xperia Z3 General] ondrejvaroscak:
If I remember it good, he just repacked the kernel so that can be patched by SuperSU for systemless install. SuperSU, if not modified, detects and try install as systemless on Beta M from Sony... and fails, as it can't patch image..
[Xperia Z3 General] Gustavo RD78:
I found these lines in ramdisk:

# Init selinux trap module (except for production build)
exec /system/bin/setup_selinux_trap.sh

someone could help me and read the related file

/system/bin/setup_selinux_trap.sh
[Xperia Z3 General] ondrejvaroscak:
#!/system/bin/sh
# Copyright (C) 2014 Sony Mobile Communications Inc.

if [ -d /sys/fs/selinux/trap ]; then
echo "0" > /sys/fs/selinux/trap/enable;
if [ -e /system/etc/selinux_trap.rules ]; then
# Parse default Mask Rules
while read line; do
case "$line" in
[-+],*) echo "$line" > /sys/fs/selinux/trap/add_exception;;
\#*) ;; # comment (NOP)
*) ;; # syntax error (NOP)
esac
done < /system/etc/selinux_trap.rules
fi
# Enable the Trap Module if NOT product phones
for p in `cat /proc/cmdline`;
do
case $p in
oemandroidboot.security=0 ) echo "1" > /sys/fs/selinux/trap/enable; break ;;
oemandroidboot.security=1 ) break ;;
* ) ;;
esac;
done
fi
[Xperia Z3 General] zxz0O0:
New SuperSU uses systemless root but that's not compatible yet with Sony's kernel format as far as I know. Did anyone try just repacking su binaries inside the flashable Marshmallow firmware?

Also for Sony RIC, did anyone try the RIC kernel module or RICDefeat flashable zip?

https://github.com/dosomder/SonyRICDefeat
[Xperia Z3 General] marenp:
Nope. It will be official when Sony put their statement that it is official.