yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] funky0308:
Don't get this...

"mount"? Is that even command in adb on Windows?

Member of Recognized MoonBreakers
[Sony Cross-Device General] zxz0O0:
Are you trolling:confused:

You execute that command in adb shell (i.e. the command is executed on the phone).

I meant that you open the cmd on the computer and type

adb shell

mount /dev/block/platform/msm_sdcc.1/by-name/system /system
[Sony Cross-Device General] funky0308:
No, I'm not trolling...

Tnx...

Will try...

Member of Recognized MoonBreakers

---------- Post added at 03:27 PM ---------- Previous post was at 03:16 PM ----------

Not found - error.

I can mount system via adb shell with just mount/system but even then TWRP shows correct system size - can't flash nothing to it.

So.. I get same error - unable to mount system

I mount system but it can't "stay" to flash zip

you can mount system by simply add (in adb shell) mount /system

when you restart recovery you won't get msg "there's no OS" bbut you still can't flash nothing

BTW - that's only what you saw in Krab's updater script...

I'l try to remove mounting system from script and mount manualy but I doubt that could work....

We aleady have that in script and it can't mount like it shoud...
[Sony Cross-Device General] RHBH:
Great!

I made flashable zips for the four variants of Z1 to deodex! I used as base the same FTFs you used (Generic Fr for C6903, India for C6902) and for C6906 and C6943 I used Generic CA and Generic BR respectively.

I'm uploading the files now and looking for people to test them

Any volunteers?

I tested the C6943 zip on my device without problems using DooMLoRD's Advanced Stock Kernel.
[Sony Cross-Device General] light19940120:
I installed this on my Xperia Z but when i reboot and the green led light and vibrate the phone i pressing volume up-or down and not happen anything,The phone boot normally.
[Sony Cross-Device General] funky0308:
Yeap...

Send me link please.

6903 - ROM NUT -

I finally managed to install cwm but flashing karb deodex patch doesn't do anything to my dex files...

I can mount system without problems with recovery 92 in CWM now

So...I'm here to test something new ;)

Member of Recognized MoonBreakers
[Sony Cross-Device General] RHBH:
Need more 40 minutes, C6902 and C6906 zips are online, C6903 and C6943 are on the upload queue.

I'll send the C6903 zip link to you when online.
[Sony Cross-Device General] funky0308:
OK..

As I said - CWM is OK now but for some reasons, even I can mount system - patch won't delete and copy apk files from ZIP.

Member of Recognized MoonBreakers
[Sony Cross-Device General] RHBH:
Sent you a PM with the link.
[Sony Cross-Device General] funky0308:
That's [MENTION=4340984]krabappel2548[/MENTION] patch.

Tnx anyway...

Member of Recognized MoonBreakers
[Sony Cross-Device General] RHBH:
No, it isn't.... Compare the MD5 hash of the files, the files size and update script :)
[Sony Cross-Device General] olokos:
Is there any temporary fix for flashing zips in TWRP?
[Sony Cross-Device General] zxz0O0:
On Z1 Compact it's possible to flash the kernel from JellyBean and then flashing zip files in TWRP works, no more error.

After you're done you can flash back KitKat kernel (required for booting android).
[Sony Cross-Device General] [NUT]:
For the Z1 there is a new kernel package which will work on kitkat, 2.7.98. The locked bootloader package still does not work correctly.

Something is blocking re- or un-mounting the system partition. And while I have been hard at it for over 9 hours now, I'm unable to find out why...

For those who run kitkat:

take a backup of data and your TA,

unlock the phone,

fastboot flash my kernel,

restore the backup of data.

That will give you a working recovery at least. Once I finally found why it fails on locked bootloader devices I will of course release it as soon as I can.
[Sony Cross-Device General] [NUT]:
If anyone can attach the Z1 Compact and Z Ultra kernel.sin of the kitkat update, that would be great. I'll create a kernel package for that as well.
[Sony Cross-Device General] fer2503:
Someone says that .92 of your recovery with cmw can Mount system. Can it helps you? Thanks for your hard work Man! When you come in Sicily I have a "Cassata" for you :D
[Sony Cross-Device General] cc546:
OMG thank you I can finally boot to 4.4 with root now!!! Every time before this ended with bootloop!
[Sony Cross-Device General] zxz0O0:
Here is the kernel.sin from Z1 Compact firmware 14.3.A.0.681 Generic UK: https://www.mediafire.com/?7ijaow1cuaapqcd

Thanks for your great work! :good:
[Sony Cross-Device General] olokos:
[MENTION=4904057][NUT][/MENTION] This might be of an intrest for you: http://developer.sonymobile.com/dow...ves/open-source-archive-for-build-17-1-a-1-2/
[Sony Cross-Device General] [NUT]:
I'll fix one up later tonight.
[Sony Cross-Device General] rich345:
failing when trying to flash recovery for for first time

Hiya

can anyone help please i keep getting this message and im not sure why :(

Thanks

IMG]http://imgur.com/CUFxIXS[/IMG]
[Sony Cross-Device General] kingvortex:
You didn't say, but it looks like you're choosing the option to install on a non rooted rom.

That option only works on certain devices and firmware versions and it looks to me like yours isn't supported.
[Sony Cross-Device General] rich345:
Ahhh right sorry, think got sorted now i downgraded rooted phone and then tried again and now its working.

Thanks for getting back to me :)
[Sony Cross-Device General] [NUT]:
kernel version now online, thanks for the kernel.sin :good:
[Sony Cross-Device General] funky0308:
It doesn't work on any recovery.

I tried every recovery from 90 to 97.

CWM don't show any errors and it said flashing/mounting successful - it doesn't work...

Same issue like in TWRP - just with a difference that TWRP actually show error.

Problem, obviously, isn't in one of the recovery, Sony mixed up the cards, again, this time and devs now must find new exploit(s)...

We are lucky on LB (Z1) because we have older firmware to downgrade so we have root and could do almost everything...

If KK was first ROM on Z1 - it would be very hard to get anything on it...
[Sony Cross-Device General] zxz0O0:
Kernel version is Z1C-XZDRKernel2.7.98-BETA.flashable.zip right? Excuse me for asking, is this also for locked an unlocked bootloader? What is the difference to the latest Z1C-lockeddualrecovery2.7.97-BETA.flashable.zip ?
[Sony Cross-Device General] [NUT]:
Anyone with a Z1 KitKat and a broken TWRP (that would be everybody on kitkat and TWRP 2.7 I think, lol), I think I found it :victory:

EUREKA!!!

Download http://nut.xperia-files.com/tmp/recovery.twrp.cpio.lzma

And push it in to place using a file app on your phone, it is supposed to replace the recovery.twrp.cpio.lzma file inside /system/bin. then reboot to TWRP and see if it now can mount /system

Please report back your findings :fingers-crossed:
[Sony Cross-Device General] [NUT]:
Kernels are NEVER for locked bootloader devices. But yes, that's the file. The difference is that XZDR is integrated in the kernel but will still work using the XZDR.prop and NDRUtils app.
[Sony Cross-Device General] fer2503:
AWESOME!!!!

I'm on 4.3 like many people, can you make also a new version of recovery to flash before flash the 4.4? :D
[Sony Cross-Device General] [NUT]:
As soon as I have confirmation from more then just myself, then yes :)
[Sony Cross-Device General] king960:
Please add support to xperia u,p,go, sola :D
[Sony Cross-Device General] thanhhii:
I have try and still cant mount system!

Thanks u for your hard work!

Send Via Honami 6903
[Sony Cross-Device General] olokos:
Just tried it. Unable to mount system :/

moved to /system/bin with the correct permissions.
[Sony Cross-Device General] dzinner:
I flashed the original 4.3 rom on my Xperia V LT25i today and tried to root it with DualRecovery, but it doesn't work

I have tried XT-lockeddualrecovery2.7.94-BETA.installer.zip

Build number 9.2.A.1.199

Error message I get within recovery:

setsockopt() failed: bad address

Anybody some idea what I can do next?
[Sony Cross-Device General] :
tried Izma fix it still doesn't mount :(
[Sony Cross-Device General] [NUT]:
I have changed so much over the past days it could be a mix of things...

I'll be back with round 2 soon :p
[Sony Cross-Device General] :
I know you are really working hard on it. Keep up the awesome work, feels even I should start android development :)

Cheers
[Sony Cross-Device General] o-l-a-v:
I tried to istall .94 beta on z1 compact with stock KitKat (not root). Choose alternative 3.

It said it was successfull, but the phone did not restart, and i think it did not install.

Does it work with stock KitKat ROM?
[Sony Cross-Device General] kingvortex:
The exploit used in the 'non rooted' installation method was patched by Sony in Android versions newer than 4.2, so will not work for either of you. ;)
[Sony Cross-Device General] scrubber:
Take Z Ultra kernel.sin https://drive.google.com/file/d/0Bxv7l8iya6OEOTZyX1YwNXdzeWc/edit?usp=sharing :)

I hope that helped.:fingers-crossed:
[Sony Cross-Device General] thegios:
Z1 with KitKat

I u derstand that to i stall this on a locked and not-rootrd Z1 I have to downgrade first to14.1.G.1.534, correct?

If it is so, could you please confirm the following method to root Z1 on KitKat will work?

I repeat, I have a Z1 with KitKat, unlocked bootloader, not rooted

1. Downgrade to14.1.G.1.534 using glashtool

2. Install dual recovery as explained here (plug phone in usb while on and run bat file)

3. Upgrade to KitKat using flashtool (flashing an official sony ftf)

4. Boot into trwp and flas superSU.zip

I am asking because I read another guide which is making all more complicated: after point 1 it tells you to root before installing dual revovery; instead of points 3 and 4 it tells you to flash a stripped ftf kit kat file and another zip with trwp
[Sony Cross-Device General] kingvortex:
If you flash a complete FTF, then /system will be wiped.

You should follow all the steps in whichever guide you're referring to. :)
[Sony Cross-Device General] KWOKSFUNG:
dont know but u may have a try anyway

but rooting in .534 is very easy, just use vroot http://xdaforums.com/showthread.php?t=2434453

(sorry i'm from Hong Kong so reading chinese is easy for me, maybe difficult for u :p )
[Sony Cross-Device General] thegios:
aha ok thanks understood
[Sony Cross-Device General] Kabeesh:
If i do this without unlocking my bootloader... Will my drm keys, and Bravia engine be lost? Is this safe because without root i can't backup my TA.. Please help..
[Sony Cross-Device General] :
The log says

mount: failed to mount /dev/block/platform/msm_sdcc.1/by-name/system at /system: Permission denied

and when I googled I got something like, http://xdaforums.com/showpost.php?p=47796543&postcount=5766

which says there is some flag.

Hope this info is helpful.
[Sony Cross-Device General] kingvortex:
If you do not unlock your bootloader, then the section of the TA that stores DRM keys will remain untouched.
[Sony Cross-Device General] Kabeesh:
So installing the recovery through pc wont do anything right?
[Sony Cross-Device General] kingvortex:
It won't touch the TA partition, no.

Be advised that the non rooted installation method doesn't work on 4.3 roms though, so you will have to root by other means before installing this.
[Sony Cross-Device General] Kabeesh:
If I'm downgraded to android 4.2 and without root, will this work? Or do i have to root the 4.2 and install it?
[Sony Cross-Device General] kingvortex:
It should work, yes. I cannot guarantee it though as I don't have a ZL.
[Sony Cross-Device General] ali.filth:
nice job..:D:good:

thanks
[Sony Cross-Device General] [NUT]:
Actually, this is the most helpful hint I have had all this time, this might make all the difference. I'll give it another shot tonight.

Thanks for searching and sharing! :good:
[Sony Cross-Device General] :
I really hope that this helps and we are able to get a working twrp. I am just getting started else I would have tried creating the twrp zip and tested :)
[Sony Cross-Device General] [NUT]:
Well, I still need some more work to finalise it...

That fixed it!!

After the blockdev command I am able to remount system writable :D
[Sony Cross-Device General] RHBH:
Great news! :D

Let me know when it's available, so I can test it.

Note: I'm already running KK, I updated my C6943 using other ways, the only bug I found until now it's playlist problems on WALKMAN : [
[Sony Cross-Device General] KWOKSFUNG:
Definitely looking forward for it :good::good::good:

I'm available for test too, c6903 locked bootloader on your pre-rooted 4.4!!

thx nut :)
[Sony Cross-Device General] Klaus N.:
@[NUT]

Is it possible to use your DR with DooMLoRD's advStckKernel? Unfortunately every time I tried to do that failed; there's no error, but I'm still on CWM...

(I'm on RomAur v.6.0 [based on .681], ub)
[Sony Cross-Device General] thegios:
ok I managed to have a 4.4 kk rooted with .94 dualrecovery :)

been reading a lot but one thing is not clear: are both custom recoveries not working due to a mount problem? or the problem is only for twrp?

how can I check the error?
[Sony Cross-Device General] RHBH:
I think the kernel recovery will always write a new chargemon (/system/bin) that will replace XZDualRecovery chargemon.
[Sony Cross-Device General] [NUT]:
Anyone willing to test: 2.7.99 now online for the Z1

It should now allow you to mount system and use it as if KitKat never happened :)

Working on a patch package for the ROM now.
[Sony Cross-Device General] juanpirulo:
YEAAAAAAAAAAAAAAAAAA!!! ItS WORKING. thanks mate

could you explain us what you did?
[Sony Cross-Device General] RHBH:
I'm driving (yeah I know I shouldn't be using my phone, but It's an automatic car). I'll test in some minutes.
[Sony Cross-Device General] thegios:
I am on rooted KK, can i simply install this new version from PC?
[Sony Cross-Device General] juanpirulo:
Yes use the installer.

I am doing riht now the backup.
[Sony Cross-Device General] jancarlos1597:
Working, thanks for you work, [MENTION=4904057][NUT][/MENTION]
[Sony Cross-Device General] RHBH:
Gratz Bro.

By the way... How much do you need for Z2? :p

Are you doing like Z1 and raising funds?
[Sony Cross-Device General] [NUT]:
Raising, of course :)

If it's not spent on a Z2, I'll spend it on an Xperia L or maybe a Sola :)
[Sony Cross-Device General] [NUT]:
Well... [MENTION=3161822]matharuajay[/MENTION] is to thank for finding this post by [MENTION=4419114]rovo89[/MENTION].

I already suspected the mount_all in the kernel init to be doing something funky... The above post not only pointed me to the exact cause, it also had a working fix.

Now in my scripting which I have all my recovery ramdisks run to sync time and check for file locks, I also apply this solution.

As rovo89 stated, due to a commit on the AOSP source (from which Sony's ROM's seem to come) the EMMC block level device gets a read only flag set as soon as /system/bin/mount (which is a toolbox command) is used to mount a partition RO.

In the fstab.qcom which is used by the mount_all command, system was getting mounted as RO...
[Sony Cross-Device General] funky0308:
[MENTION=410007]Nut[/MENTION]

I post on Z1 thread so I'll be short here...

2.7.99 is working fantastic...

Mounting is finally here...

I just flashed zip through TWRP and made backup.

Thank you very much for this...
[Sony Cross-Device General] Lasantha:
can we flash .99 of Z1 on Z1c..? Same hw?
[Sony Cross-Device General] KWOKSFUNG:
AWESOME!!!!!! [MENTION=410007]Nut[/MENTION] thx bro it's working!!!!!!!!
[Sony Cross-Device General] [NUT]:
Z1C version now online. Just as the Z Ultra version by the way.
[Sony Cross-Device General] Sordep:
Version 99 works on Z1c, no system mount issue, brovo:good:
[Sony Cross-Device General] :
Yeah, its working now :good:
[Sony Cross-Device General] scrubber:
Yeah! Thank you for your hard work! "!
[Sony Cross-Device General] Kabeesh:
I'm using android 4.3, xperia zl c6502. I'm going to try installing XZDualRecovery. If i succeeded, will my device becomes rooted? If i install supersu from playstore will it work? Or to get superuser do i have to flash superuser.zip?
[Sony Cross-Device General] kingvortex:
Didn't we already have this conversation 3 pages back? :D

If you're not rooted already, then you cannot install the recoveries. Check out the device specific forums for the ZL to find out how to root.
[Sony Cross-Device General] Kabeesh:
Lol... But thanks.. I'm kinda confused. downgrading to android 4.2...
[Sony Cross-Device General] funky0308:
Tnx to your gret tip and research and NUT great work...

Great job guys ?
[Sony Cross-Device General] king960:
[MENTION=4904057][NUT][/MENTION] Do you have any plans, for instance to port this recovery to other Xperia devices like Xperia P,U,Sola and Go?
[Sony Cross-Device General] [NUT]:
I do.
[Sony Cross-Device General] maxouffr:
Hi !

I flash Version .99 on Z1 wich KitKat, so, i can mount system and flash zip but i can't make backup, it fail :(
[Sony Cross-Device General] [NUT]:
'it' is which recovery?
[Sony Cross-Device General] maxouffr:
Sorry i forgot that ! It's TWRP !
[Sony Cross-Device General] Michealtbh:
Try enabling compression
[Sony Cross-Device General] AngelBob:
XZDualRecovery App

Will just leave this here...

Being developed in partnership with [NUT], with permission from DevShaft for TA Utilities.

Currently in development :)

I'm open for idea's of features.
[Sony Cross-Device General] maxouffr:
It works ! Thanks ! :)
[Sony Cross-Device General] RHBH:
Suggestion: Add "power off" option, so you'll have a complete power options menu : D

Concern: Create an "advanced" tick button to enable/disable TA backup/restore (just like flashtool), we know that messing up with TA partition can hard-brick a device.
[Sony Cross-Device General] thegios:
Z1 phone... why .99 installs correctly but thyen I cannot boot into recovery?
[Sony Cross-Device General] AngelBob:
I left power off out as that's covered by the stock power menu.

As for your concern TA backup is safe as it's a read only process.

Restore however does have a confirm dialog and warnings before write happens
[Sony Cross-Device General] germsandbugs:
I have the same when trying the hardware buttons I always get TWRP, although rebooting with NDRUtils does get me into Philz and cwm?

So it installs but it didn't bind to the hardware button...:confused:?

The log says something about "stock ram disk needed?" and finishes fine. Maybe it does not play well with Pimped kernel, due to a different ram disk?

Any ideas how to "re-bind the hardware buttons?, on stock rom this worked both fine."

No hurry, but would be nice to know how to do this since i often changed the kernel.

I'l will try a complete wipe tomorrow, install cyanogen, then pimped kernel, and then NUT dual recovery, to see if it makes a difference, if so i'll get back to you'all, can't be asked right now... :D

[MENTION=5321428]AngelBob[/MENTION]

Looks good - maybe a widget as well?

Or even better, Anyway to inject this in the power off menu and maybe binding your own hardware button to the recovery?

Like some xposed modules seem to be able to do?

So when you choose recovery via power off menu, you then get to select which one?

Thanks devs, for making good products even better :D
[Sony Cross-Device General] lil-diabo:
I've been having some trouble installing this on RomAur 6.1

Using the Striped stock [NUT] kernel

I've got root so thats not a problem, however I did notice an error during the installation:

"/data/local/tmp/recovery/install.sh[140]: [: missing ]"

After manually rebooting CWM doesn't start up

##########################################################

#

# Installing XZDR version 2.7.99 BETA

#

#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.

Copy recovery files to system.

Copy mr wrapper script to system.

Copy chargemon script to system.

Copy dualrecovery.sh to system.

Copy rickiller.sh to system.

Installing NDRUtils to system.

/data/local/tmp/recovery/install.sh[140]: [: missing ]

Copy busybox to system.

Speeding up backups.

Make sure firstboot goes to recovery.

=============================================

DEVICE WILL NOW REBOOT!

=============================================

reboot: no such tool

Waiting for your device to reconnect.

After entering CWM for the first time, reboot to system to complete this installer if you want it to

clean up after itself.

=============================================

Installation finished. Enjoy the recoveries

=============================================

Press any key to continue . . .

Anyone having this issue?
[Sony Cross-Device General] [NUT]:
Open files/installrecovery.sh and look for line 135,

Replace lines 135 and 136 with:

if [ "$(${BUSYBOX} grep -R '/sys/kernel/security/sony_ric/enable' init.* | ${BUSYBOX} wc -l)" = "1" ]; then

This should take care of the error.

Now scroll down to the last line and replace 'reboot' with:

/system/bin/am start -a android.intent.action.REBOOT

Let me know if you manage to install it correctly now.

It will both be part of the next release.
[Sony Cross-Device General] lil-diabo:
Thanks for this

Using Notepad++

This is what I think lines 135 & 136 are:

ROMVER=$(/system/bin/getprop ro.build.id)

if [ "$ROMVER" = "14.2.A.0.290" -o "$ROMVER" = "14.2.A.1.136" -o "$ROMVER" = "14.2.A.1.114" -o "$ROMVER" = "14.3.A.0.681"]; then

I've replaced both with the line you provided and now encounter some other errors.

##########################################################

#

# Installing XZDR version 2.7.99 BETA

#

#####

Temporarily disabling the RIC service, remount rootfs and /system writable to allow installation.

Copy recovery files to system.

Copy mr wrapper script to system.

Copy chargemon script to system.

Copy dualrecovery.sh to system.

Copy rickiller.sh to system.

Installing NDRUtils to system.

unknown option -- R

BusyBox v1.20.2-jb static (2012-11-25 17:47 +0100) multi-call binary.

Usage: grep [-HhnlLoqvsriwFE] [-m N] [-A/B/C N] PATTERN/-e PATTERN.../-f FILE [FILE]...

Search for PATTERN in FILEs (or stdin)

-H Add 'filename:' prefix

-h Do not add 'filename:' prefix

-n Add 'line_no:' prefix

-l Show only names of files that match

-L Show only names of files that don't match

-c Show only count of matching lines

-o Show only the matching part of line

-q Quiet. Return 0 if PATTERN is found, 1 otherwise

-v Select non-matching lines

-s Suppress open and read errors

-r Recurse

-i Ignore case

-w Match whole words only

-x Match whole lines only

-F PATTERN is a literal (not regexp)

-E PATTERN is an extended regexp

-m N Match up to N times per file

-A N Print N lines of trailing context

-B N Print N lines of leading context

-C N Same as '-A N -B N'

-e PTRN Pattern to match

-f FILE Read pattern from file

Copy busybox to system.

Speeding up backups.

Make sure firstboot goes to recovery.

=============================================

DEVICE WILL NOW REBOOT!

=============================================

WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Pl

ease fix.

WARNING: linker: app_process has text relocations. This is wasting memory and is a security risk. Pl

ease fix.

Starting: Intent { act=android.intent.action.REBOOT }

Waiting for your device to reconnect.

After entering CWM for the first time, reboot to system to complete this installer if you want it to

clean up after itself.

=============================================

Installation finished. Enjoy the recoveries

=============================================

Press any key to continue . . .

My phone does reboot now automatically but not into any of the recoveries