yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] tudki:
Yes, I`ve checked this already.

apt-cache search give me:

libstdc++-4.8-dev - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.8-doc - GNU-Standard-C++-Bibliothek, Version 3 (Dokumentation)
libstdc++-4.8-pic - GNU Standard C++ Library v3 (shared library subset kit)
libstdc++-4.9-dev - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.9-dev-arm64-cross - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.9-dev-armhf-cross - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.9-dev-powerpc-cross - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.9-dev-ppc64el-cross - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++-4.9-doc - GNU-Standard-C++-Bibliothek, Version 3 (Dokumentation)
libstdc++-4.9-pic - GNU Standard C++ Library v3 (shared library subset kit)
libstdc++6 - GNU-Implementierung der Standard-C++-Bibliothek (Version 3)
libstdc++6-4.7-dbg - GNU-Standard-C++-Bibliothek v3 (Fehlerdiagnosedateien)
libstdc++6-4.7-dev - GNU-Standard-C++-Bibliothek v3 (Entwicklungsdateien)
libstdc++6-4.7-doc - GNU-Standard-C++-Bibliothek, Version 3 (Dokumentation)
libstdc++6-4.8-dbg - GNU-Standard-C++-Bibliothek v3 (Fehlerdiagnosedateien)
libstdc++6-4.9-dbg - GNU-Standard-C++-Bibliothek v3 (Fehlerdiagnosedateien)
libstdc++6-arm64-cross - GNU-Implementierung der Standard-C++-Bibliothek (Version 3)
libstdc++6-armhf-cross - GNU-Implementierung der Standard-C++-Bibliothek (Version 3)
libstdc++6-powerpc-cross - GNU-Implementierung der Standard-C++-Bibliothek (Version 3)
libstdc++6-ppc64el-cross - GNU-Implementierung der Standard-C++-Bibliothek (Version 3)

Maybe you can help me once again and tell me what packed exactly?
[Sony Cross-Device General] guhvanoh:
This seems like the one you need.
[Sony Cross-Device General] tudki:
Thank you guhvanoh, but it seems something else, because libstdc++6 was already installed. I can not test it further, because installed something else that fit my need.
[Sony Cross-Device General] Arrowblue:
if you untick your system partition than the new rom wont work .If you are just updating cm from previous version than afterwards flash the dual recovery zip.coming from another rom than you do have to perform full wipe including system partition or your rom would not and bootloop or other issues.So you have to format system partition if you install a new rom.
[Sony Cross-Device General] [NUT]:
CM/AOSP/Omni kernel repack support needs testing

Finished CM/AOSP/Omni kernel support, if anyone is able to test it, I didn't bring any of my extra devices to work today...

http://staging.nut.xperia-files.com/?a=xzdr

Add a FW version if needed. Repacking works ok for sure, the kernel should work, but I can't guarantee it yet...

So, when/if testing, make sure you have a

good working kernel put aside and a pc with fastboot

or any other means to restore the kernel you have running if my repacked version fails. It at least should boot the ROM OK.

:fingers-crossed:
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.3 Released!

RELEASE Change log:

Version 2.8.3:

Updated TWRP to 2.8.5.0. Changelog:

What's new in 2.8.5.0:

Scale the GUI - TWRP can read the theme's resolution and scale it up or down to fit the theme to your screen's resolution

Backups can now be cancelled while the backup is in progress (does not include restore because we don't want to leave your device in a bad state)

Improve thread handling and move input handling into the main rendering thread to improve stability

Make MTP work even if unplugged and plugged back in

Unify scrollable list code and make kinetic scrolling feel more natural

Fix handling of mapped zip files for OTA updates (CM12 updater)

USB keyboards should now work on all devices that support USB host mode via a USB OTG cable

Other small fixes and improvements
[Sony Cross-Device General] [NUT]:
I did some testing last night, the PAC RC3 kernel sofar is the only one which throws a fit with framebuffer issue: you will be able to adb shell to the device but both philz and twrp won't display anything. I tested CM12 releases on the Z and Z1 and they both work.

I also fixed a bug in the website yesterday night, which possibly haunted the live website as well, preventing anyone from downloading succesfully built kernel since 2.8.3 came online because it was a database structure error.

Anyone else tested a CM/AOSP/Omni kernel yet?
[Sony Cross-Device General] spider623:
hey guys i want to create the XZDualRecovery advanced stock kernel i was looking for ;)

but it asks for kernel.sin for my firmware(23.0.1.A.4.30), can anyone please tell me how to extract it or where to find it?
[Sony Cross-Device General] xxx_sunnyboy_xxx:
Extrtact your kernel.sin from original ftf Firmware.

Open the ftf with winrar or other...

Sent with my Sony Xperia Z1 and Dstriker Z1 Kai ROM
[Sony Cross-Device General] spider623:
ok, i figure out from where to get it and it seems there is an upgrade to do first(when did 44 got released lol)
[Sony Cross-Device General] [NUT]:
You can also create a backup of your boot partition in TWRP or by using busybox/dd and upload that, but make sure that there is no XZDR already included in that image...
[Sony Cross-Device General] spider623:
turns out there is no need, sony forgot to lock the bootload at the rma, supersu was installed and working!

so, since it should be already there

---------- Post added at 06:54 PM ---------- Previous post was at 06:06 PM ----------

ok,also created the kernel just in case, but i have to ask, why a wifi model has so many different version?
[Sony Cross-Device General] wihushae:
hey nut!

i tried to flash the flashable zip, but it failed. so i checked the sha-checksum, and the one from your website and the from the file do not match, whats wrong here?!

has anyone else problems with this zip?
[Sony Cross-Device General] Marcin Zachmacz:
The same here with Z1C-lockeddualrecovery2.8.3-RELEASE.flashable.zip

2d85c4e260069b99f886273876a554e316ec2332 vs 26d2c76b2a019fd6ba7f006e5361e68172fa9274
[Sony Cross-Device General] coolkoushik07:
Yes same here.. But no problem during flashing... Flashed it successfully
[Sony Cross-Device General] alfredino85:
Same problem for me
[Sony Cross-Device General] mishuseby:
I tried to install last version on my Xperia SP C5303, but my touchscreen is not responding in TWRP. The last version that work is 2.8.3.0. Also I have NDR utils version 2.0.0. and that version is unable to find XZDR.prop files. I have to manually insert the permissions in /data/data/com.camber.ndrutils/cache/XZDR.prop
[Sony Cross-Device General] juanpirulo:
The new versión of lollipop is allready out for z3 so, as i would like to make a prerooted firmware [MENTION=410007]Nut[/MENTION] will this dualrecovery work with lollipop updating the firmware in the temp/disableric folder? or should we wait for an update?.cheers
[Sony Cross-Device General] [NUT]:
&

&

&

I dug in to the website code to find out what's wrong... because the sha1 you generated actually is the correct one when I did it myself on the command line... it seemed I was creating the sha1 checksum from the path instead of the file contents during a bulk import :o

You can still trust the files you download from my website, I fixed it now. Remember one thing though: if you are having issues downloading an installer package, make sure you have checked your anti virus tool, some of them will be triggered by the root exploit inside it and block access to the file. Sometimes this happens even without a notification or threat warning.

Arghl... sorry :(

I had it fixed, but in a different revision (on github) of TWRP then the actual one I used to create TWRP for 2.8.3 :eek: ... I have compiled 2 new versions for you to test:

Test version 1: this is using the Team Win official fix. Lets see if this will work this time.

Test version 2: this is using my original fix, this is supposed to work in any case.

unzip the recovery.twrp.cpio.lzma and replace the one inside /system/bin with it, then try to boot to it and see if it works OK. Even if the first one works, let me know if the second one works as well.

So much to do, so little time to do it all in... makes it easy to make stupid or silly mistakes :rolleyes:
[Sony Cross-Device General] [NUT]:
To be honest, I have no idea if it is wise to even attempt it just yet. I believe Chainfire (not sure about this though, I lost track of the status) is still fighting with the security measures in LP to obtain a full root on a base installation... which is not even including measures introduced by Sony.

Also, I do not have a Z3 to test on, so I have no way to know that if what I do/did is actually working as I intend it to be working.
[Sony Cross-Device General] meetdaleet:
It seems that "full root" is available via prerooted flashable.zip (from your recovery).

But after the updating process the DualRecovery 2.8.3 is not accessable. (On Android 5.0.2)

Kind regards

meet
[Sony Cross-Device General] [NUT]:
I see... can you attach me a kernel.sin here from the LP release?
[Sony Cross-Device General] meetdaleet:
View attachment kernel_S1-SW-LIVE-9C84-PID1-0006-MMC.zip

There it is.

Thanks for your great efforts, [MENTION=4904057][NUT][/MENTION]!
[Sony Cross-Device General] juanpirulo:
here you have [MENTION=410007]Nut[/MENTION]. cheers

Well the above was faster.
[Sony Cross-Device General] russel5:
Problem that folder /sbin is allways clean when reboot device -> init.sh deleted -> no recoveries
[Sony Cross-Device General] [NUT]:
That's no problem, that's how it's supposed to be on stock ramdisks. The recovery init takes place by hijacking the boot when chargemon is executed.

[MENTION=5454444]meetdaleet[/MENTION] and [MENTION=3979060]juanpirulo[/MENTION]

Looking through the files in the LP ramdisk, I see nothing which would prevent XZDR from working properly... :confused:

I can imagine the input devices have shifted position though, it happened with big updates before.

After updating, delete the xzdr.prop file from the XZDualRecovery folder and reboot your device. It should attempt to find the correct input device for the volume rockers.

Does XZDR show a green or red led (with or without vibrations) at all? Does it generate a log?
[Sony Cross-Device General] EricCartmanez:
red led without vibrating :) gonna take a look at logs

Edit: no folder in internal sd card, and external doesn't generate new prop

Edit2: also no folder in /cache
[Sony Cross-Device General] CharronDev:
I can confirm, it doesn't create anything in either the internal or external SD cards. I tried initially after installing to flash directly from the previous recovery, and again later from the desktop with superSU setup. Both times there were no errors.
[Sony Cross-Device General] Tomoms:
What should we do with the ramdisk included in the zip? Do we need to replace it?
[Sony Cross-Device General] russel5:
[MENTION=4904057][NUT][/MENTION]

in new ramdisk we have 2 new files - mr and wipedata

in sony-platform.rc these files starts before mount all and i think delete all "non stock" files

even your kernel for unlocked bootloaders not work
[Sony Cross-Device General] juanpirulo:
hi [MENTION=4904057][NUT][/MENTION] I collect a log from a spanish fórum. They report me not to have any recovery files on system/bin and if you see the log its like still the firmware is the kk .77. but the device is running lollipop. cheers
[Sony Cross-Device General] mishuseby:
[MENTION=410007]Nut[/MENTION], I tried both files. Both works well. I'm going to use your solution. Good job!
[Sony Cross-Device General] seijidinzuala:
Awesome and the tool is very noob friendly Thank you. :good:
[Sony Cross-Device General] boilavera1980:
Anyone got recovery working on Lollipop?
[Sony Cross-Device General] Pluton1C:
Nope
[Sony Cross-Device General] tofu-:
itching to install it anyway
[Sony Cross-Device General] [NUT]:
&

I am assuming you both attempted flashing a LP ROM with XZDR included? If so... I'm stumped... I have examined the ramdisk contents some more and I can only conclude it should work, just as it is with one change (/system/app should no longer be used to store NDRUtils.apk). This is weird...

Unfortunately, I have to say that log is useless to me... sorry :(

I know what 'mr' is, it's a tool which is used to wipe /cache/recovery to make FOTA updates work trouble free (among other things) and wipedata has always existed as well, both of them ran from /system/bin in previous ROM's. I did double check the binaries and have to conclude they both do not know about /system/bin/chargemon or perform some kind of checking of the /system contents, at least from my preliminary checks.

Why my kernel version fails is also puzzling because it is using an 'official' way to grab the init (instead of creating a /sbin/init.sh type solution). The only reason the kernel version would fail is when it can not find and use the input devices. Did you try the NDRUtils app as well to reboot to a recovery? If the app is crashing, remove it from /system/app and install it again from Play.

I included it to allow tinkering for people who know how, you can otherwise just discard it.

Excellent! I'll release the Team Win fix version with the next version of XZDR. It keeps my TWRP fork simple and the pre-release workload low :angel:
[Sony Cross-Device General] rwesten:
i have tried deleting and reinstalling the ndr utils app. now it says that there is no XZDR.prop. i hope this helps.
[Sony Cross-Device General] TiMiN8R:
I have a Z3C, made a zip with PRFC with SuperSU and XZDR 2.8.3. No reaction to keys, no logs or XZDR.prop being created. Rebooting to recovery from NDRutils doesn't work. System can't be mounted R/W so I can't delete NDRutils from /system/app. I guess we need a new wp_mod.ko patch too, if that's possible.
[Sony Cross-Device General] [NUT]:
As long as you have semi-root, can you check if /system/bin/chargemon is a script or a binary?

I'm starting to wonder if it got replaced at all...

Besides that: can you check /tmp and see if there is a file called preparation.log there and/or an XZDualRecovery folder?
[Sony Cross-Device General] EricCartmanez:
i checked your script and the files in system/bin and it seems mr just got overwritten without creating mr.stock may this be the cause? all other files are there and chargemon has .stock also rickiller works :)

Edit: chargemon seems to be a script i guess it's supposed to be a binary?
[Sony Cross-Device General] harfot:
Cannot uninstall or delte NDRUtils. Using X-plore it looks like it been deleted but a new serch for it reveals that it's still there. Root Explorer tells me at once that it cannot set RW
[Sony Cross-Device General] TiMiN8R:
preperation.log and last_log

Edi: attachments removed because of serialnr and that sort of personal stuff.
[Sony Cross-Device General] [NUT]:
[MENTION=535343]all[/MENTION]: FYI

I have requested TiMiN8R to contact me by hangouts, he is testing stuff for me, this will speed up the process significantly. From the preparation.log I can see some things clearly not working as intended. This can be 2 fold, but it's hard to explain so I'm going to save me the time.

If you want to thank anyone right now, thank him as I am all out of thanks to give for today!
[Sony Cross-Device General] Krustnesis:
If it will help, i've got rw on /system on Lollipop prerooted.
[Sony Cross-Device General] kwaille:
Wich rom/recovery?
[Sony Cross-Device General] Krustnesis:
http://xdaforums.com/z3/development/d6603-5-0-2-flashable-stock-23-1-0-690-t3056361

Baltic Generic prerooted.

i've got /system rw access by terminal emulator commands.
[Sony Cross-Device General] [NUT]:
I have fixed XZDR to provide full root access in the mean time, so the first hurdle has been overcome.

I didn't know, but I do now, Sony already released the first LP rom packages for the Z2 as well. So: I will be testing myself to get it to work tonight.

:fingers-crossed:
[Sony Cross-Device General] Ambor:
Bro that's really cool

:fingers-crossed::fingers-crossed::fingers-crossed::fingers-crossed:
[Sony Cross-Device General] tofu-:
Yay. Glad i waited!
[Sony Cross-Device General] Aghrrrr:
Waiting for working dual recovery on Z2 5.0.2, because I can't live without Viper4Android.
[Sony Cross-Device General] gripfly:
Enjoy your coffee(or something else) ;)
[Sony Cross-Device General] Pistachio20:
hey [NUT] great work here quick question. is there a general eta (i know it has to be developed just what you have in mind for how long it will take) for when xzdualrecovery will work on loli z3/z3c line?
[Sony Cross-Device General] Sean09:
His post two above yours said he will be investigating it tonight, it doesn't get better than that, so please wait patiently.
[Sony Cross-Device General] broduderson:
What commands did you use?
[Sony Cross-Device General] rcstar6696:
Hi

i hope you can fix for Z2 Tablet, too

Sony has released lollipop for Z2 Tablet today

Rcstar6696
[Sony Cross-Device General] Krustnesis:
su

mount -o remount,rw /system

:)
[Sony Cross-Device General] spider623:
can you share the exploit pretty please?

also z2 tab LP is also out
[Sony Cross-Device General] kaiowas82:
operation not permitted :)
[Sony Cross-Device General] 2mal16:
Did you flash the recovery version after he updated for full root access?
[Sony Cross-Device General] broduderson:
Yeah, I get operation not permitted. I thought you had some secret way :)
[Sony Cross-Device General] spider623:
ok, just tried the z2 tab one and the root exploit doesn't work
[Sony Cross-Device General] kaiowas82:
there's not updated recovery out from Nut yet....
[Sony Cross-Device General] 2mal16:
Yes there is , one page back he mentions he updated the recovery for full root access. the version number stayed unchanged though. I just confirmed it, went trough the process of downgrading firmware , rooting , flashing dual recovery, and flashing a freshly made installable zip with prf creator with the new recovery. I now have full system write access which i just checked in es file explorer.
[Sony Cross-Device General] zouden:
Can you reboot into recovery?
[Sony Cross-Device General] 2mal16:
No but now i can at least install it, i think without rw access you wont be able to install the upcoming release of nut.
[Sony Cross-Device General] tofu-:
Ah, so I can go ahead and install this one now without worrying about going crazy when Nut updates his dual recovery again?
[Sony Cross-Device General] 2mal16:
I would say yes because he will provide a install.bat which you can run through windows and will install recovery when you have full root access.

Dont forget to thank him since he is putting valuable time right after the release into fixing all the issues for us! Thanks [MENTION=4904057][NUT][/MENTION]
[Sony Cross-Device General] cschmitt:
There's way around that (manually loading wp_mod.ko, and remounting rw.)
[Sony Cross-Device General] tofu-:
Great!! Now i have something to play with tonight. Thanks
[Sony Cross-Device General] 2mal16:
Ok, what does wp_mod.ko do and where is it contained. *curious*
[Sony Cross-Device General] cschmitt:
It's a module to disable write-protection on /system, used in RICDefeat and giefroot exploit. Basically, copy modulecrcpath, wp_mod.ko, and systemrw.sh from giefroot zip to /data/local/tmp and run systemrw.sh from there.
[Sony Cross-Device General] kaiowas82:
ok, I have installed a fresh ftf 5.0.2, flashed cm12 kernel to have a recovery to flash supersu, and then flashed the stock kernel back....this ends in root access but ro system.

where you got the new recovery? in nut's website there is no file's date...thanks :)

ps. obviously i'm unlocked
[Sony Cross-Device General] 2mal16:
Take the newest recovery file available for your phone and flash it, like i said the page does not appear to be updated, yet he changed the contents of the zip.

---------- Post added at 01:38 AM ---------- Previous post was at 01:37 AM ----------

Thanks for the clarification, that of course is way more elegant ;). If you have the time to explain it to these guys feel free to do so and spare them some time :).

EDIT: Just saw that you already did explain it
[Sony Cross-Device General] kaiowas82:
nevermind :)
[Sony Cross-Device General] criscodecookies:
This doesn't work on lollipop.

root@D5803:/ # cd /data/local/tmp
cd /data/local/tmp
root@D5803:/data/local/tmp # ./systemrw.sh
./systemrw.sh
mount: Operation not permitted
error: only position independent executables (PIE) are supported.
insmod: init_module '/data/local/tmp/wp_mod.ko' failed (Exec format error)
mount: Operation not permitted
Stock mount does not exist. Creating dir and link
mkdir failed for /system/bin/stock, Read-only file system
Unable to open /system/bin/stock: No such file or directory
ln: /system/bin/stock/mount: No such file or directory
rm: /system/bin/mount: Read-only file system
cp: /system/bin/mount: Read-only file system
Unable to chmod /system/bin/mount: Read-only file system
cp: /system/lib/modules/wp_mod.ko: Read-only file system
Unable to open /system/lib/modules/wp_mod.ko: No such file or directory
Installing of mount.sh finished
1|root@D5803:/data/local/tmp #
[Sony Cross-Device General] zouden:
That's not true. The latest version, 2.8.3, was modified on March 11th, that's a week ago.
[Sony Cross-Device General] kaiowas82:
i'm in the same situation, i don't understand how they have theirs working properly

---------- Post added at 01:15 ---------- Previous post was at 01:14 ----------

and on git, last update for z3c is few months ago
[Sony Cross-Device General] 2mal16:
Well i flashed the newest version and it works now. And he said himself that he updated the recovery.... so either you believe me that it works or you dont

And as stated before i did not use the exploit but went through the process described before.
[Sony Cross-Device General] spider623:
... it worked... i used the cm kernel to enter recovery and flashed the nut kernel with the root files from there!
[Sony Cross-Device General] 2mal16:
:highfive:
[Sony Cross-Device General] v7:
Is the fix only for z3??

Tapped from my furious ZR ;)
[Sony Cross-Device General] zouden:
It's not that I don't believe you - I'm sure it works for you - but I don't agree it's because of an updated recovery (that for some reason has the same version number). The fact is the files have not been changed and Nut has not updated his recovery yet. You and I, and others, have RW access, but some other people don't, and the new version will fix it for them, when it comes out. In the mean time, perhaps installing 2.8.3 again will fix it, but it's not because it's been updated.

FWIW, I simply installed a pre-rooted firmware to update to 5.0.2, and it included Nut's recovery from March 11, version 2.8.3, and I have full RW access. I'm still looking forward to the new update so that we can actually reboot into TWRP and install Xposed :)
[Sony Cross-Device General] 2mal16:
Fact is people were not having rw access with the files before. Fact is that after he said that he fixed the recovery i flashed it again and had, in contrast to the people that installed the prerooted firmware before, full rw access.

So basically the only parameter that changed is the recovery ---> he updated it, regardless which date stands where
[Sony Cross-Device General] cschmitt:
Unfortunately, that does appear to be the case. Was just reading that over on the giefroot thread.
[Sony Cross-Device General] zouden:
Well, I had RW access without flashing his recovery, so the "updated" version isn't necessary. Furthermore, I have the "old" version of the files open on my computer here along with the newest one from the website, and not only is the date the same but the contents are the same.

It's okay dude, I'm not trying to attack you or anything, just pointing out that Nut hasn't actually uploaded anything new. Your advice to reinstall the recovery makes a lot of sense and it seems like it's helping people :)
[Sony Cross-Device General] 2mal16:
No worries, but I really doubt that he would say he fixed something without uploading the fixed files. That said, jeah lets hope the information helps as many people as possible and leave it at that.