yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] juanpirulo:
Thats why i want to know the opinión of nut to know if there is another solution than ask people who want to flash my modify preroot to premodify the xzdr.prop. cheers
[Sony Cross-Device General] M1P:
I can't confirm this issue on Z3C with 2.8.11, CWM works fine.

I can't find changelog for 2.8.11, but maybe NUT will find it helpful.
[Sony Cross-Device General] sonalikagaur:
I moved 66mb data from /system. (Unwanted apps)

/system size is now 2.18 GB used.

Still it says Permission denied...for all the steps...

mkdir....

cp...

everything is permission denied. :(

I think i have messed up something, please guide me.
[Sony Cross-Device General] ondrejvaroscak:
Best thing start over and follow the guides..
[Sony Cross-Device General] shoey63:
Did you by any chance use "fix permissions" in recovery? Or install busybox from playstore? Either, or both can cause issues.

As stated above. Best to start again from scratch.
[Sony Cross-Device General] blue4you:
I had test it with 2.8.11 and I also change dr.keep.byselinux to true.

Its the same, CWM would not start.

Do you need any log?
[Sony Cross-Device General] shoey63:
Is Philz and TWRP OK?
[Sony Cross-Device General] blue4you:
Yes!

Philz starts, but I did not test it and TWRP starts and work.
[Sony Cross-Device General] sonalikagaur:
Installed Busybox from playstore and then installed XZDual Recovery.

Everything works awesome now!

Thank you all. :)
[Sony Cross-Device General] [NUT]:
Cwm was written, updated and built for kitkat on a kitkat source repository... But it might be incompatible with lollipop because of that.

I am hesitant to replace it with anything else as development has been stopped on it.

Maybe [MENTION=4675598]shoey63[/MENTION] can give it a shot, my latest attempts all failed...

I wonder why people still want to use the antiquated CWM recovery...
[Sony Cross-Device General] ondrejvaroscak:
So why not to remove it from Xzdual completely?
[Sony Cross-Device General] juanpirulo:
Sorry [MENTION=4904057][NUT][/MENTION] any suggestion for this? http://xdaforums.com/showpost.php?p=60169564&postcount=4671 .cheers
[Sony Cross-Device General] [NUT]:
Well, just because there are still users who hang on to cwm for God knows why/what. It was included by popular request...

Will have a look there later...
[Sony Cross-Device General] -kOS-:
Yeah, that happens to me too, do you find any solution? Cheers!
[Sony Cross-Device General] Raghav001:
Hi There ,

Sorry but im new in forum .

I made a backup using Recovery 2.8.10. but after doing my internal memory is full. Where are the files you back up?

Sorry but I'm still new to these matters:(. Thanks
[Sony Cross-Device General] EricCartmanez:
they're usually inside twrp/ or cwm folder on your internal(by default) sd card, but somehow that folder was hidden for me until today i managed to brick my phone, after ressurrecting it it became visible so have a look maybe it's there^^
[Sony Cross-Device General] tatsu91:
If you use CWM recovery the files are in internal CWM

If you use TWRP the files are in internal TWRP

Cheers man, you can choose where to store the back up in twrp, next time choose your external sd

---------- Post added at 11:46 AM ---------- Previous post was at 11:42 AM ----------

I was one of those who was using CWM, after I HAD to use TWRP I never used again CWM

It's more conplete twrp
[Sony Cross-Device General] russel5:
[MENTION=4904057][NUT][/MENTION]

Some log.

I trying your last attemp on 4.4. Installer (for .93) and flashable (for .77)

All work perfect. Disable RIC system now forks fine even i delete disableric and wp_mod.ko i still can write to the system.

One thing, when i use installer, wp_mod copy in modules, but when i use flashable - not.

I think this is cause a problem on earler version of dualrecovery. But now this files not needed, because you are change a script.

Good work. :)

And about problem of cwm on lollipop. I compiling all recovery on .157 source code and all of them works perfect on 4.4 and 5.0.2
[Sony Cross-Device General] Ambor:
Hi tray on this location. But use Es Explorer or Root Explorer
[Sony Cross-Device General] Kyanil:
Sgp512 .690

Hey guys i am going to apologize ahead of time as i am used to working on motorolas where the recovery is a separate partition. from what I have gathered it requires a modified kernel or boot.img to run a recovery? I tried using the installer version of the dual recovery but due to being on lollipop with no root that will not work. I used the kernel creator on the downloads page. from here i opened the zip and extracted the new boot.img that i guess contains the recovery? The tab still boots but no dice on the recovery. Is there any way I can get any sort of recovery without having to restore to a prior firmware?

Thanks for all you can do

P.S. ive tried looking into sonys version of .fxz files that motorola uses so that i could flash partitions but its either ftf from xperifirmor roms and all of the ones that are out right now are recovery only. All i have been trying to do is get a recovery and root. the fact that they do not separate the boot, kernel, and i guess technically recovery is an absolute pain in the ass to work with. please correct any of this if im mistaken i am new to sony devices.
[Sony Cross-Device General] Wiltron:
Before flashing the 502 zip, I wipe system, data, both caches and internal storage. That should get rid of xposed and what not, no?

I also tried doing a full format data in TWRP, with the same results.
[Sony Cross-Device General] willy792003:
Why there's no ZU version for the latest stable release v2.8.10?
[Sony Cross-Device General] [NUT]:
Hmm, 2 questions:

Did you unlock the bootloader? If not, fastboot will refuse to flash the kernel, thus you still have the stock and unmodified kernel.

You specify having a tablet, but never the type...

If you are on lollipop and on a locked bootloader, you will have to wait for a root exploit to arrive for it. Which I suspect will not happen until the Z4 is released.

The only way forward today is to go back and forth from lollipop to a rootable kitkat and flashing a rooted lollipop rom.
[Sony Cross-Device General] [NUT]:
It should... I really wonder what you must be doing to throw xzdr's ric defeat off...

If you flash a stock rooted rom created by anyone else, does the same thing happen?
[Sony Cross-Device General] Wiltron:
I'm not saying that I'm skipping a step or anything - it's very well something I'm doing that's causing the issue.. but hey, at least I know the ins and outs of what to do and what not, so testing is easier :P

I will have to tackle this tomorrow or possibly later on tonight, as I need my phone operational for tonight.

Since I'm on a locked bootloader, C6906, any suggestions for the ROM to flash? Both sides, 157 and whatever the 5.0.2 version number is :P
[Sony Cross-Device General] Kyanil:
I do in the title its an sgp512 which is the wifi variant of the z2. also i did unlock my bootloader sorry for missing that.
[Sony Cross-Device General] [NUT]:
Heh, I was reading your post on the XDA App, that doesn't show titles :angel:

Anyway, did you verify that flashing the kernel using fastboot went OK according to fastboot itself?

Also, When did you try it? Because I solved a bug in the kernel script last night, so if it was longer then 24 hours ago, try once more, uploading the kernel again.

IF the kernel flash went OK and you have root (can be semi-root without r/w access to system, that doesn't matter), check /sbin and see if you see a script called xzdr.sh there.
[Sony Cross-Device General] Kyanil:
I just retried building the kernel this morning and this time it built. All I can do is fastboot the boot.img at the moment because the tool creates a flashable zip. I just recently decided to unlock the bootloader seeing as I wanted to have root and test roms on lollipop so there is no pre-existing recovery to flash from. There is no root at the moment according to chainfires app nor rom toolbox. Thank you for looking into this for me Im slightly lost with sonys partition management.
[Sony Cross-Device General] [NUT]:
I didn't want to throw you off with a fast reply, so I waited until I was home:

Thank's for the testing and confirmation it is working OK on both kitkat and lollipop. :highfive:

The flashable package indeed does not install wp_mod, that was actually a choice I made, but after what you wrote I started wondering why I chose to do it like this... looking back, I figured it wouldn't be needed, but now I have to disagree with myself and agree with you ;)

-EDIT-

Guess what... I already did! :p

Now I have to figure out why that doesn't work :eek:

-EDIT-

I'll build in the wp_mod installation in the flashable and release it with the final release of 2.8.11, assigning it a new version number (2.8.12).
[Sony Cross-Device General] [NUT]:
Well, remember 2 things:

1: Sony's have no recovery partition, instead they have the FOTA partition, which is a secondary kernel used during, you guessed it, OTA updates.

2: The FOTA kernel trigger has still not been discovered and it does not respond to the regular recovery trigger.

Anyway: check /tmp and see if there is a file called boot.log there. If it is, please grab and attach it here.
[Sony Cross-Device General] Kyanil:
Hmm thats interesting. Thats very different than Moto. I cannot attach the boot.img as it is too large of an .img file so I have uploaded the zip that came straight from the kernel builder on the downloads section. If they have no recovery partition, but a secondary kernel for ota updates how do you apply a new recovery? do you create a recovery partition or are you adding it to the primary kernel?
[Sony Cross-Device General] [NUT]:
Yeah, that difference has killed quite a few sony devices because people where trying samsung/htc packages on sony devices, which happen to have a very crucial bootloader partition stored on the same ID as the samsung/htc recovery partitions :p

I think you misinterpreted my request though ;)

Boot up your tablet, with a fresh built kernel (do it like right now, to be sure you can't download a wrong version, I deleted all pre-made kernel packages so you will be forced to upload the kernel again), then if recovery still stays away, check /tmp on your tablet for the boot.

log

file. Also check your external sdcard (if you have one) for the XZDualRecovery folder, is it there?

-- EDIT --

I forgot to answer a question you asked: the recoveries are integrated in the boot image, no special partition created or used :)
[Sony Cross-Device General] Kyanil:
Hey so bad news I rebuilt it and flashed the new boot.img. The tablet will not enter recovery and there is no boot.log in /tmp also there is no dualrecovery folder on my sd card...
[Sony Cross-Device General] [NUT]:
can you install and start Android Terminal Emulator and type:

getprop dr.xzdr.install

Does that return 'true'?

If it does not, can you open /init.rc and check if the first line is stating "# This introduces XZDualRecovery to the init"? If that isn't true either, I will need to recheck the kernel builder :rolleyes:
[Sony Cross-Device General] Kyanil:
It returned true

quick edit i checked the init.rc and its blank
[Sony Cross-Device General] [NUT]:
crappers ... the true part ... you probably can't read the init.rc, so it shows blank while it clearly isn't (otherwise your tablet won't boot).

how the ... crap! :silly::eek::silly::eek:
[Sony Cross-Device General] [NUT]:
[MENTION=5787361]Kyanil[/MENTION] ... I tested it once more built with my XZDR kitchen, which produced a working kernel... then replicated it using the kernel builder and I ran in to the same wall as you did.

Bug found, now to fix it.
[Sony Cross-Device General] [NUT]:
That was easy to find, but a bit embarrassing... I forgot to update the base flashable package in the Kernel Builder, so it did not produce kernels which where able to boot recovery on Lollipop, at all.

This update is now done, you can rebuild the kernel and try once more. Apologies, again :rolleyes:
[Sony Cross-Device General] Kyanil:
hahaha thank you very much. Im fine with it I got to learn a little bit more about how my sony tab works and what Im actually flashing:)
[Sony Cross-Device General] getvaisakh:
Thanks for the kernel builder, I am able to flash the recovery and root stock ULB LP 14.5.A.0.242 on my Z1 Compact..
[Sony Cross-Device General] [NUT]:
I'm assuming your adventure has come to a satisfying end, with a working kernel?
[Sony Cross-Device General] [NUT]:
XZDualRecovery 2.8.12 Released!

RELEASE Change log:

Version 2.8.12:

Debugged the RIC defeat functionality to make XZDualRecovery operate on any FW version for any device, as it was before 2.8.4.

Debugged the Kernel Builder, it now produces kernels which are actually usable again :angel:

The /system/xbin/disableric script was not used since quite a while but functioned as a trigger, this has now been replaced by the chargemon hijack script doing all the work, this should now make the disableric functionality work on any ROM, regardless of FW version.
[Sony Cross-Device General] leso60:
All my respect sir [MENTION=4904057][NUT][/MENTION] :cowboy:
[Sony Cross-Device General] jamesbdx:
2.8.12 flashable zip works lovely on Z2 lollipop. RW system, boots into recovery fine... Cheers [NUT]
[Sony Cross-Device General] AussieCable:
Will test 2.8.12 later tonight on my Z2, will report how it goes
[Sony Cross-Device General] Linkinsoldier:
Tried 2.8.12. on my Tablet Z2(SGP521) on Lollipop (i was on 2.8.3. with bye_se_linux).

Boot to Recovery Works, I have two minor things:

1) "Android is updating" now is displayed on every boot (possible to fix this?)

2) After boot the first root request takes some time (about 30 seconds), then it is running smoothly --> not sure if this has ever been there or if this is new :(

question:

a) this installation (2.8.12) reverted the changes from byeselinux right?

b) I wanted to add the log, but I couldnt find it. Is there an installation log to be found in the files on the pc?
[Sony Cross-Device General] norti:
2.8.12 works on Z2 with 4.4.4 - I used the flashable version (also the boot seems faster now, but it may be a placebo)! The last version I had was 2.8.3, I waited until you make a stable version for both KitKat and Lollipop again and it seems that you succeeded ;)

Now I'm really considering to update to 5.0.2 but I need to leave out/remove xposed for a while, that and the bugs in 5.0.2 are holding me back a little :silly:
[Sony Cross-Device General] [NUT]:
1. Check /system/app and see if NDRUtils.apk is still inside that folder, if it is, remove it. There should now also be a FOLDER called NDRUtils with an apk inside it, this can remain.

2. Sometimes it also takes a long time on my device, I'm not sure what causes that as the next boot it usually works fast again... I have no idea why.

a. The installer and flashable both removed the old/original byeselinux patch yes.

b. The installer does not make any log, when reporting issues you need to copy the contents from the CMD window to show the results here.

The logs from the boot process are inside the XZDualRecovery folder, which can be on either the external sdcard or the cache partition.
[Sony Cross-Device General] Space_pilot:
Works fine on D6603 - lollipop 5.0.2

Thanks.
[Sony Cross-Device General] ravdo:
Installed 2.8.12 Flashable on D6503 LP (.726), LB+XZDR 2.8.10

Everything works great :good:
[Sony Cross-Device General] Simeon Petkov:
Hmm, strange. Xperia ZL with Validus LP5.0.2 rom and TWRP2.7.10.

Flashing the 2.8.7 and it is still 2.7.10.

The NDR utills is not detecting it.
[Sony Cross-Device General] NFS_FM:
Coming from v2.8.3, just flashed the removal tool and then v2.8.12 (flashable) on C6903 with KitKat .157. Everything works as expected, thank you again!

Entered CWM to test if it boots, and it asked me if it should fix root, which has no issues at all. A minor issue I think, but I use anyway TWRP which booted without problems, just like as PhilZ.

Thank you for your hard work!
[Sony Cross-Device General] Kyanil:
That would be correct! Thank you for working through that with me and explaining how everything worked! :)
[Sony Cross-Device General] Dilesh Perera:
didnt happen . i remove the app from system,/app then flash uninstaller. then used installer.

about the delay for SU . i remember this happen earlier versions too.
[Sony Cross-Device General] fmlogin:
I have installed XZDR 2.8.7 and I wanna update to 2.8.12.

Do I need to flash removal tool (or manually delete something) or I just need to flash XZDR 2.8.12?
[Sony Cross-Device General] juanpirulo:
[MENTION=4904057][NUT][/MENTION] Sorry to remaind you about this http://xdaforums.com/showpost.php?p=60169564&postcount=4671 i know you are a busy man. cheers
[Sony Cross-Device General] tatsu91:
A few days ago I updated from 2.8.7 to 2.8.10 just by flashing over it, everything is fine,I guess will be the same with you, try it
[Sony Cross-Device General] Space_pilot:
Flashed v.12 over 10, and deleted ndrutils.apk in system/app. All features working fine.
[Sony Cross-Device General] nurps:
Spooky thing, on 2.8.12 I disabled byeselinux so its not kept. That made my internal storage disappear from ES Explorer and Titanium Backup. Apps that stored data there could still get it. But it was shown as emtpy or "not available (in TB).

Keep.byselinux=true and reboot gave me normal access again. Guess I'll keep that set then..
[Sony Cross-Device General] Pandemic:
I still use 2.8.3 so i am curious if i can use a pc to install 2.8.12 safely instead of flashing or what is better todo and is cwm working fine and is it needed to edit something ?

I aint a newbie/noob i know howto flash etc but i am just curious and i deleted NDRUtils.apk also a while ago since i have 2.8.3 because never used it.

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device General] shahar2k9:
Hey

I dont kniw if this is the right place but...

Is there any way to set the max files to 4096 before the system loads?

Currentlly umount -n returns 1024, that's what breaks the xposed framework.
[Sony Cross-Device General] AussieCable:
Nice job!

Used 2.8.12 in a flashable rooted update package of .726 on my D6503, cant fault it at all :D
[Sony Cross-Device General] [NUT]:
You can use xzdr's init.d facility for that.

Create a small script using ulimit -n NUM to set a higher value. Make sure you use Linux line endings or the script won't work. (ultra edit, textpad or notepad++ all can create Unix/Linux compatible text files)

Then place that file in /system/etc/init.d and enable init.d in the XZDR.prop file.

Should make it work just fine :)
[Sony Cross-Device General] [NUT]:
From what I heard so far, the flashable updater/installer will do the job just fine.
[Sony Cross-Device General] Pandemic:
Oke thanks bro [MENTION=4904057][NUT][/MENTION]

For the info ^^

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device General] ondrejvaroscak:
isnt ulimit -n limited to user session, so it actually doesnt set the limit systemwide??
[Sony Cross-Device General] shahar2k9:
I think u r right… will test it soon…
[Sony Cross-Device General] Linkinsoldier:
Thank you. This was the root cause. After removing the apk it is now solved. Was it from the old installation?

Is this depending on the recovery or Lollipop/SU itself?

Thanks. I tried to mark all (ctrl+a) and closed the window in this case :(

Sorry, I usually dont copy cmd files loges directly :)
[Sony Cross-Device General] eagle25884:
Updated XZDR 2.8.7 yesterday with 2.8.12 using flashable-Version.

Everything works fine. Good Job NUT !
[Sony Cross-Device General] shahar2k9:
[MENTION=6351145]ondrejvaroscak[/MENTION], as you said, ulimit is not system wide...

that didnt work.

ithink the call to ulimit should be when the xposed framework starts its process...
[Sony Cross-Device General] ondrejvaroscak:
That would make sense...
[Sony Cross-Device General] mnsk:
After flashing a pre-rooted LP firmware for Z1 with XZDR 2.8.10 I can't get access to internal memory.

While TWRP can show internal data, any other explorer is showing 'empty'.

And camera is showing "Internal corrupted or write protected".

Is this somehow recovery related? Please Help!
[Sony Cross-Device General] [NUT]:
Thanks for pointing me to this, sorry to keep you waiting. Yes, you can change the default 2 ways, but the easiest is to reverse the XZDR.prop default value and make the chargemon script set it to true, no matter what. This way your users won't run in to trouble:

Make sure you do this at line 492 or later of chargemon.sh, because if XZDR.prop doesn't exist, the bit before line 492 will create it with the default values:

DRSETPROP dr.keep.byeselinux true

Again, make sure you edit this file using Textpad, Notepad++ or UltraEdit, these will not kill the script.

:o you're right :eek:

Yes. That should fix it...

I'm not entirely sure about this, but I believe the internal memory moved location yet again. Check /data/media to see where your files are stored now using root explorer/es file exporer.
[Sony Cross-Device General] nurps:
Happened to me on the Z2 too after I set keep.byeslinux to false. With true everything was accessible again. See: http://xdaforums.com/showpost.php?p=60196884&postcount=4732
[Sony Cross-Device General] [NUT]:
Actually, I was too busy to reply to your post yesterday, but:

http://xdaforums.com/showpost.php?p=60005872&postcount=4181

Did you ever try that? Because it made all the difference with ES File Explorer and Titanium Backup on my Z2 with Lollipop. (and I have keep.byeselinux set to false)

View attachment 3270765View attachment 3270766View attachment 3270767

Just to make sure you understand the nature of my XZDR.prop file:

I fastboot flashed the latest kernel, so it never updated the XZDR.prop file with the current version and if a setting is unavailable in the prop file, the default will be used.
[Sony Cross-Device General] mnsk:
I checked, the files are in /data/media/0/0/ (yes two zeroes).

Thanks! I am using 2.8.10 and their were two dr.keep.byeselinux variables in the prop file. I deleted one and set other to true, got my storage back.

And can you explain how setting it true will affect xposed?
[Sony Cross-Device General] tramp20:
Hi,

sorry to ask this too:

I have this app in /system/app but I don't find the mentioned folder.

Sony Z1c 4.4.4 with XZDualRecovery 2.8.12
[Sony Cross-Device General] joseangel.alv:
deleted (duplicated)
[Sony Cross-Device General] nurps:
Yes I'm on SuperSU 2.48 and namespace seperation is unchecked. Didn't reinstall though because TB said it wont backup it without internal storage. And I didn't want to loose my newest settings. But then everything works fine with the setting on "true" don't even have the root explorer troubles some people had.

Just tested again, setting on "false" internal memory vanishes.
[Sony Cross-Device General] joseangel.alv:
[MENTION=4904057][NUT][/MENTION]

I'm trying to follow your advice about how to create proper links to your recovery files (while updating my thread)... But no matter which file I choose, it always gives me the same link.

Is it right, as expected, or am I doing something wrong?

Thank you, very much for your work! :highfive:
[Sony Cross-Device General] mnsk:
Did you also try xposed? Is it working for you?
[Sony Cross-Device General] nurps:
No its not working for me, tried it on the fresh Rom where it worked at first. But stopped after I setup my google account.
[Sony Cross-Device General] [NUT]:
yes, sorry... I discovered a bug in the quicklink code... will fix as soon as possible.
[Sony Cross-Device General] Sun_:
thank you [MENTION=4904057][NUT][/MENTION] for your hard work!

Z3 lockeddualrecovery2.8.12 work like a charm, D6603 runing Stock lollipop 23.2.A.0.278 :good::good:

Nice, after this post I'm a Senior Member!! :D:D
[Sony Cross-Device General] v7:
Thank You [MENTION=4904057][NUT][/MENTION] for the recovery.

Installed 2.8.12 on my Xperia ZR 4.4.4.Booting into recovery works fine.

Found two bugs:

1.Nandroid backup with Philz doesn't work.

2.TWRP asks to install Supersu.Choosing YES boots into system but app is not installed.Choosing no does nothing(Shows the same screen).

Tapped from my furious ZR ;)