yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] mionica:
Right. If [MENTION=856195]Jackos[/MENTION] says it's probably a load issue, I choose to believe that. Anybody have any ideas? (I have one, and am investigating it, but it's too early to tell whether anything will come out of it)
[Sony Cross-Device General] Jackos:
I noticed the phone crashes while using heavy apps or uninstalling (installing) apps, turning on and off wifi and things like that (someone here mentioned browsing using Chrome, and that adds up to my theory). It might be because it triggers a lot of I/O operations etc, but I'm still looking into logs.

Just like I wrote to you in my PM, this might be not an issue with the flimit, but with the Xposed package itself. In that regard we might need to wait for rovo to fix the framework.
[Sony Cross-Device General] baha76_s:
hi,

yesterday i uninstalled the xposed framewark using #mionica package (xposed-uninstall.zip), wipe ARM/cache then reboot and uninstall the xposed apk and all my 5 xposed tweaks and used the phone for about more than 12 hours with only (xposed-sonyfix-v2.1.zip then v2.2) installed, i had 2 forced reboots also (exactly at the time i received a call).

thanks
[Sony Cross-Device General] profprof:
I think workaround has nothing to do with reboots because i didn't use it on one of my z3 and yet it reboots 2-3 times in a day. I am using debloat fix on this z3.

I think reboots are related to Xposed framework itself or one of its modules.
[Sony Cross-Device General] Hani88:
I tried fifa 15 now and my phone didn't reboot.. can you try any heavy game ???
[Sony Cross-Device General] jerflash:
It has nothing to do with modules...its the framework that is unstable on our phones. I was experiencing way to may reboots. I dont need xposed on lollipop but it would have been nice.

Thanks for all your hard work [MENTION=6351145]ondrejvaroscak[/MENTION] but its over all unstable no fault of yours
[Sony Cross-Device General] dedei:
I just got a reboot while opening Shazam. And I only had greenify installed! Really weird, but I guess that's bound to happen when we're using an alpha xposed ;)
[Sony Cross-Device General] mionica:
Ok; the first find is that there exist processess that are spawned by processes spawned by zygote, and the PPID of those isn't the PPID of zygote. Example:

[color=red]localhost[/color] [color=blue]/ #[/color] pidof zygote
651
[color=red]localhost[/color] [color=blue]/ #[/color] pgrep -P 651 | head -3
997
998
1000
[color=red]localhost[/color] [color=blue]/ #[/color] pgrep -P 997 | head -3
1003
[color=red]localhost[/color] [color=blue]/ #[/color] pgrep -P 651 | grep -v grep | grep 1003
[color=red]localhost[/color] [color=blue]/ #[/color]

So the pgrep approach we're currently using is faulty to say the least - we need code that would walk the process tree recursively.
[Sony Cross-Device General] ogunja:
I do not know see is connected to this script but when delete an app or install always have reboot...
[Sony Cross-Device General] mionica:
Veeeery intereseting

[color=red]localhost[/color] [color=blue]~ #[/color] lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
3503
[color=red]localhost[/color] [color=blue]~ #[/color] lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
43
[color=red]localhost[/color] [color=blue]~ #[/color] lsof|grep -v xposed|awk '{print $1}'|sort -g|wc -l
1237
[color=red]localhost[/color] [color=blue]~ #[/color] lsof|grep -v xposed|awk '{print $1}'|sort -gu|wc -l
88
[color=red]localhost[/color] [color=blue]~ #[/color]

This is nice. So, there are

43 unique open handles in xposed and regular apps (3503 copies across the entire system), and

88 unique open handles in the rest of the processes (1237 copies across the entire system).

Could somebody who's having resets provide the results for these exact commands, from their devices?
[Sony Cross-Device General] ondrejvaroscak:
No I didn't wanted it offline.My post was more to say that such users must have done something wrong or they have installed some non standard app or module.
[Sony Cross-Device General] ogunja:
This is done from the ADB?
[Sony Cross-Device General] Hani88:
in offline Nothing more than more details about downloading the new firmware..don't worry;)
[Sony Cross-Device General] ondrejvaroscak:
My guess is that it is resource exhaustion. When Xposed bootloops it was because it couldn't open lot of files it wanted because of limits. We removed the limits, efficiently making Xposed to work and lowered the limits back, however my guess is that the files are kept open or referenced to and therefore memory intensive operation will lead to crash. If such is true then we have to wait for solution from [MENTION=4419114]rovo89[/MENTION]

I am not sure on current development status of Xposed I have registered rumours on that development is stopped or at least delayed.
[Sony Cross-Device General] RJASSI21:
I'm using the flimit 1.1 version and I get random crashes is this due to an xposed module or if I update to Sony fix v2.3 can I just flash it over and will it fix this?
[Sony Cross-Device General] ondrejvaroscak:
Use recent version but we are not sure about reboots yet.
[Sony Cross-Device General] RJASSI21:
OK thank you but I just wanna confirm is it safe to straight flash 2.3 over 1.1 or shall I restore back up then flash?
[Sony Cross-Device General] ondrejvaroscak:
It's safe
[Sony Cross-Device General] RJASSI21:
OK thanks
[Sony Cross-Device General] mionica:
Could some of the people who are having reboot issues, run the commands from post #260 (terminal or adb shell, with su), and input the results here?

Sorry for double posting, but I added the request with an edit, so I reckon not everybody was notified.

Yes. Also works in terminal, but I found it easier to just run the code in an adb shell and copy-paste the commands and output.
[Sony Cross-Device General] Jackos:
After dalvik/cache wipe:

root@D6503:/ # lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ # lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ # lsof|grep -v xposed|awk '{print $1}'|sort -g|wc -l
lsof|grep -v xposed|awk '{print $1}'|sort -g|wc -l
10920
root@D6503:/ # lsof|grep -v xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep -v xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ #
[Sony Cross-Device General] ondrejvaroscak:
You need to do it as root.
[Sony Cross-Device General] Jackos:
It is done as root.
[Sony Cross-Device General] Jackos:
RIght after a reboot using sonyfix without wipe:

root@D6503:/ # lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ # lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ # lsof|grep -v xposed|awk '{print $1}'|sort -g|wc -l
lsof|grep -v xposed|awk '{print $1}'|sort -g|wc -l
17174
root@D6503:/ # lsof|grep -v xposed|awk '{print $1}'|sort -gu|wc -l
lsof|grep -v xposed|awk '{print $1}'|sort -gu|wc -l
1
root@D6503:/ #
[Sony Cross-Device General] mionica:
Ummm. Could you try

busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox sort -gu|busybox wc -l
busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox sort -g|busybox wc -l
busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busybox sort -gu|busybox wc -l
busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busybox sort -g|busybox wc -l

instead please? I have a hunch one of those could actually by a toolbox executable, instead of the busybox one.
[Sony Cross-Device General] Jackos:
root@D6503:/ # busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox
sort -gu|busybox wc -l
sybox awk '{print $1}'|busybox sort -gu|busybox wc -l <
77
root@D6503:/ # busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox
sort -g|busybox wc -l
of|busybox grep xposed|busybox awk '{print $1}'|busybox sort -g|busybox wc -l <
16009
root@D6503:/ # busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busy
box sort -gu|busybox wc -l
|busybox awk '{print $1}'|busybox sort -gu|busybox wc -l <
77
root@D6503:/ # busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busy
box sort -g|busybox wc -l
|busybox awk '{print $1}'|busybox sort -g|busybox wc -l <
1220
root@D6503:/ #

Now we're getting some results :) That's after the sonyfix without wiping. Would you like me to do this same with art/cache wiped?
[Sony Cross-Device General] ondrejvaroscak:
I will try it without xposed installed
[Sony Cross-Device General] mionica:
Yes we are; there's no need for the art/cache wiped figures.

So your figures are: apps 16009|77, system 1220|77; mine were: apps 3503|43, system 1237|88.

This makes me think you probably have a lot more processes than I have, which means it probably makes sense to increase the limits drasticly and keep them increased.

If you guys will be around in half an hour or so, I'll have a treat for you ;)
[Sony Cross-Device General] ondrejvaroscak:
Without Xposed, only fix v2.3 applied

x awk '{print $1}'|busybox sort -gu|busybox wc -l <

0

x awk '{print $1}'|busybox sort -g|busybox wc -l <

0

ybox awk '{print $1}'|busybox sort -gu|busybox wc -l <

145

ybox awk '{print $1}'|busybox sort -g|busybox wc -l <

4383

root@D6603:/ #
[Sony Cross-Device General] Jackos:
Makes sense, my system is highly customized with all kinds of stuff. However if I had the limits increased, I still had even more crashes. The AndroPlus kernel v52 is a good example how bad it runs using the 4096 limit constant.
[Sony Cross-Device General] ondrejvaroscak:
After first reboot of Xposed fresh flashed.

u0_a253@D6603:/ $ su

x awk '{print $1}'|busybox sort -gu|busybox wc -l <

67

x awk '{print $1}'|busybox sort -g|busybox wc -l <

3074

ybox awk '{print $1}'|busybox sort -gu|busybox wc -l <

71

ybox awk '{print $1}'|busybox sort -g|busybox wc -l <

1103

root@D6603:/ #
[Sony Cross-Device General] ondrejvaroscak:
Normal reboot with Xposed and fix.

u0_a253@D6603:/ $ su

x awk '{print $1}'|busybox sort -gu|busybox wc -l <

64

x awk '{print $1}'|busybox sort -g|busybox wc -l <

3594

ybox awk '{print $1}'|busybox sort -gu|busybox wc -l <

74

ybox awk '{print $1}'|busybox sort -g|busybox wc -l <

1126

root@D6603:/ #
[Sony Cross-Device General] baha76_s:
Xposed and fix

Result:

busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox sort -gu|busybox wc -l

62

busybox lsof|busybox grep xposed|busybox awk '{print $1}'|busybox sort -g|busybox wc -l

6444

busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busybox sort -gu|busybox wc -l

75

busybox lsof|busybox grep -v xposed|busybox awk '{print $1}'|busybox sort -g|busybox wc -l

1151

Envoyé de mon D6603 en utilisant Tapatalk
[Sony Cross-Device General] ondrejvaroscak:
I am afraid that we will have to dive in source code of Xposed...
[Sony Cross-Device General] asjstian:
Works like a charm for me! Xperia z2 tablet (sgp 512), build. 690, rooted, and recovery off course.. ? using chrome pie, youtube background playback, gravitybox and unicon. Very happy ?
[Sony Cross-Device General] diazlol:
Worth giving this a go if your fix didn't work for me on my Z3?

Xposed and it's modules are working but the boot animation goes to a loop until I wipe Dalvik - which will be a pain in the ass over time
[Sony Cross-Device General] mionica:
You have nothing to lose; if it doesn't work, it can be easily removed by deleting 3 files from TWRP's file manager (see post #127 for details).
[Sony Cross-Device General] diazlol:
I'll give it a shot now. You're telling me that after enabling modules and stuff your Z3 doesn't hang at all on the boot animation?

Would having restored the DRM functions have affected this?

Also, good to see another irishman on xda at this hour haha!
[Sony Cross-Device General] mionica:
Yes, definitely. However, some people which had sheiteloads of modules/apps reported system instability when both Xposed and this were installed; if that's your case, you might want to stick to wiping /cache on every boot instead.

But I reckon you could give it a try anyway - it worked for most people, and it's dead easy to remove.

I doubt it, but since I'm on a locked bootloader, I couldn't really tell.

Sorry to disappoint - I'm romanian, I'm afraid :p Doing a PhD in Trinity ATM, and heading east as soon as I'm done... ;)
[Sony Cross-Device General] Hani88:
Everything is done.. But I still get random reboots:(
[Sony Cross-Device General] mionica:
Oh well, at least we ruled out the firmware issue.

Care to try 2.4 from post #286? ;)
[Sony Cross-Device General] Hani88:
Ok Tomorrow :good:
[Sony Cross-Device General] mionica:
As you wish - but if you do it now, you'll be able to see tomorrow whether you had any reboots during (what's left of) the night :p j/k
[Sony Cross-Device General] Hani88:
Now my eyes are who will have random reboots because I'm so much tried :D
[Sony Cross-Device General] ogunja:
Install this new version, hoping to end restart. Thank you for all your work.
[Sony Cross-Device General] slinson:
awesome thanks!!
[Sony Cross-Device General] ogunja:
A few minutes later and BAN. Another reboot... ??

Honestly I give up on my use Xposed Z3 Single
[Sony Cross-Device General] mionica:
:( sorry to hear that. Personally, I'll keep looking for fixes until I either get something working, or I run out of ideas.

Btw, you could try to use flimit.prop as described in the (TL : DR) post #284...
[Sony Cross-Device General] ogunja:
I do not quite understand what I need to change this file flimit.prop sorry
[Sony Cross-Device General] mionica:
:) No worries, I think there will be a few people willing to try it, and once one of them gets it right, it's going to work for everybody... (I hope :D)

Unfortunately (well, not really :p), I'm not seeing any crash whatsoever, so I depend on people who do to try these things.
[Sony Cross-Device General] Juventus1897:
Works sweet for me. Been 3/4 days now, no issues no reboots.

Thanks, great work.
[Sony Cross-Device General] infinitylook:
Restart

[MENTION=1103233]mionica[/MENTION] got restart, i set the values to lower (minus one on first digit of each default). still getting reboots, are you guys lowering it or increasing? i tried setting this fl.during.boot.soft to 3500 and fl.during.boot.hard to4500 but still having reboot. would only get in 4 minutes before freeze and reboot. should i keep this value increase?
[Sony Cross-Device General] jakiej:
help

i got a bootloop after installing xposed apk on

is there any way to recover my data (pictures)?

I have a locked bootloader no root, no recovery :( but when it's booting, i can see adb devices, but none of my computers were authorized.....
[Sony Cross-Device General] Bartekreaper:
Xposed installed but when activated any module got bootloop :P, will try with 2.4 version soon.

Xperia Z1 Compact RockZ1L v.1.1
[Sony Cross-Device General] NFS_FM:
Yes, try to flash again your ROM with FlashTool, excluding everything but system in the checkboxes. Then you should be able to boot normally, in order to get a backup of everything that is important to you.
[Sony Cross-Device General] jakiej:
thanks, but tried this already, even with different versions (4.4.4, 5.0.2), still bootloop.

is there a way to unlock bootloader without wiping?
[Sony Cross-Device General] hispanico957:
...mionica... :cowboy:

Thank to your work we now can use rom also odexed, with exposed. So just a little question.

If a build a flashable.zip like this my post http://xdaforums.com/z3-compact/development/d5803-lollipop-5-02-odexed-pre-rooted-2-t3090505

changed it

and build a FW .726 PreRooted - XDualRecovery and also with your fix, like this image:

So after flashed it, it only necessery installed Xposed from recovery and it's all done in a simple way. Do you think it might work ?

Hispanico
[Sony Cross-Device General] redincali:
Strike 2... For all the effort and work mionica has done (and continues to), you could atleast get the name right please =)

~ via Xperia Z3, XDA App
[Sony Cross-Device General] hispanico957:
you have no time to lose ? :cool:

Hispa
[Sony Cross-Device General] asjstian:
Smooth

Installed latest version, 2.4 and everything runs perfect. Xperia z3. Have a quite a few xposed modules running, and have rebooted many times without any problems. Really appreciate your work on this, running lollipop and xposed is so far my best Android experience ???
[Sony Cross-Device General] redincali:
What? If your not going to make sense then don't reply to me.

~ via Xperia Z3, XDA App
[Sony Cross-Device General] NetSkill:
Okay i can confirm working on Z2. 726 build

1. I flashed xposed sonyfix 2.1

2. Flashed xposed_arm_xx...zip

3.installed xposed.apk

4.installed modules and rebooted

And everything is working like it should withouth any problems

But i have some questions

1. So the limit is on stock after boot?

2. I see the 2.3 vesrsion is out, so i just flash it withouth wiping anything and thats it?

I am sorry for those questions i wasnt abble to read every post while i was in the job

Excelent work btw. I want say thank you to everyone involved in this i appreciate the time you spent on this. Thanks again. :)
[Sony Cross-Device General] SkyBeat:
Can i use your fix if i have bootloops with installed xposed-arm.zip?

I have installed XZDR 2.8.12 at my Z2.

Thanks,

Nico
[Sony Cross-Device General] norti:
Remove the full quote from your post, no need for it...

Of course you can use that fix and maybe consider to update XZDR to 2.8.14.
[Sony Cross-Device General] hispanico957:
It's 2.3 version :D

Hispa
[Sony Cross-Device General] SkyBeat:
Thanks for replay!

I will try it and also update XZDR up to 2.8.14 ;)
[Sony Cross-Device General] asjstian:
At page 29, mionica has a treat, version 2.4 ?
[Sony Cross-Device General] mionica:
1. For most children of zygote; v2.4 handles all of them (search the forum, it's not on post #123)

2. Yes, read post #123 (and optionally #286).

Yes, read post #123 (and optionally #286).

Wrong forum thread, you're looking for the PRFcreator one.

No, it isn't. It's 2.4, which I chose not to put on #123 yet.

---------- Post added at 10:47 AM ---------- Previous post was at 10:39 AM ----------

you want fl.during.boot.soft as LOW as possible; starting with 2047 (if that works for you), try 1535 = (1024+2048)/2-1; if that works, try 1279 = (1024+1536)/2-1, if it bootloops, put SD card in PC and change limit to 1407 = (1280+1536)/2-1, etc. (google for "divide et impera algorithms" if you can't figure out what I did above)

Really, the reason I flagged 2.4 as "experimental" is not that it doesn't work - is that, unless you understand what you can do with that fprop, I'd be forced to spend the next two weeks explaining how to configure it to various people who are too lazy to read.

What I really want to see happening is, a couple of power users playing with that, and using it the right way. That would hopefully result in a configuration that works for everybody.
[Sony Cross-Device General] NFS_FM:
Unfortunately no, a wipe is inevitable if you unlock the bootloader...

Try with different combinations, just don't flash userdata.sin, which will delete your internal SD.
[Sony Cross-Device General] RJASSI21:
I updated to the latest version 2.3 yesterday no random freezing yet if it does occur again I'll try the command
[Sony Cross-Device General] infinitylook:
okay..

[MENTION=1103233]mionica[/MENTION] okay, it seems that it's quite difficult for me, well, do you think 2.3 would work better than 2.4 for someone who doesnt know how to modify the .prop file?
[Sony Cross-Device General] ondrejvaroscak:
[MENTION=1897172]redincali[/MENTION] and [MENTION=3799890]hispanico957[/MENTION] :

First, redincali you dont need to correct anyone misspelling others names. It may be a typo and the affected person can handle for himself if feel offended. No need for cops here.

Hispanico957 > once you get someone pointing out something wrong, better keep your mouth shut. Surely redincali has better things to do and doesn´t need you to tell hime.

If you guys like to cockfight, find yourselves another thread.

Enough preaching for today.
[Sony Cross-Device General] ondrejvaroscak:
No, if you dont want to play with .prop file, simply dont create one and use 2.4 WITHOUT any prop file.

Version 2.3 does not have any prop file capability, so using 2.4 without propfile is the same like 2.3, with that difference that 2.4 processes all childs of zygote, not only 1st level childs..
[Sony Cross-Device General] mionica:
No, just use 2.4 without any .prop file - the defaults for 2.4 are exactly the same as they were for 2.3, and you also get the flimit reversion for the entire process tree.
[Sony Cross-Device General] ondrejvaroscak:
I would say you want to keep limits as close to original android limits if possible ... but maybe I just misunderstood what are you trying to tell.
[Sony Cross-Device General] mionica:
Yes - and the originals are 1024 4096; given that the hard limit is kernel-related, and that the soft 2048 works for everyone, that means you want the soft limit at the lowest setting for which you don't get bootloops, but is at least 1024.

Btw, working on 2.5 which will (optionally) save the logcat/dmesg once boot completes, and actually log what it did in the 01 and 98 init.d steps to logcat. That should make debugging a bit easier.
[Sony Cross-Device General] ondrejvaroscak:
Cause isolation

It seems to me we are still not able to isolate root cause of this evil.... Today I will try to figure out more precisely what the hell is going on in boot process with and without Xposed and whether I can spot any pathological traces :)
[Sony Cross-Device General] McBane87:
Well unlocking bootloader will wipe data, but you can backup your data and internal_SD /data/media) with "PhilzTouch CWM".

After unlocking bootloader you then should be able to restore the backup.
[Sony Cross-Device General] Masoud.Ser:
hi for now flash Which one sonyfix? 2.4 or 2.1 or 2.3 before flash xposed arm? With regard to the reboot problem

1.entry recovery

2.flash sonyfix V......???????

3.flash xposed arm

thanks
[Sony Cross-Device General] ondrejvaroscak:
Replied by PM, but for other guys :

Hi, use version 2.4.

1. Enter recovery, flash sony fix

2. Flah xposed-arm-zip

3. Wipe dalvik & cache

4. reboot, wait for Optimization, install Xposed apk

5. reboot

6. install and activate module

7. in Xposed APK - in Framework, select SOFT REBOOT#

8. test module function
[Sony Cross-Device General] Superblond:
XPrivacy module install ended in boot loop

Hello Forum,

I am asking for help with the following problem.

I am using a Sony Xperia Z2 with a rooted rom "D6503_23.1.A.0.726_Telekom.de_DE_19-04-2015".

After using the "flimit"-files and following the recomended above (steps 2-7) procedure with all positive results, I installed the XPrivacy module in the Xposed framework and ended in a boot loop.

9. Added/Installed XPrivacy module

10. reboot -> boot loop

Question 1):

Is it possible to disable the "XPrivacy" module within the Xposed frameword via editing a settings file, in boot loader e.g. ?

Question 2):

I made a full backup before trying the Xposed installtion. Do I have to reinstall the whole backup or just some parts to stop the Xposed loading while booting?

Thanks for your help & sorry for my poor english

SB
[Sony Cross-Device General] ondrejvaroscak:
in Recovery File Manager find where the Xprivacy module is installed - it will be somewhere in /data/app and delete it. For Xposed to stop, you can use Xposed uninstall zip from OP - link here http://xdaforums.com/attachment.php?attachmentid=3279024&d=1429859184

or if you prefer to revert you backup, just reflash SYSTEM part of it.
[Sony Cross-Device General] infinitylook:
Tried 2.4 without the. Prop but i get random Freeze and reboots that's why I tried using the Prop file. Maybe I'll try fresh install
[Sony Cross-Device General] Jhon998:
I get the exact problem, is it because there is apps on SD?
[Sony Cross-Device General] SkyBeat:
Well, I think I've made myself inaccurately.

What i meen is that i have create my own flashable.zip and it looks like this:

Now if i have falshed this, can i flash the xposed-sonyfix-v2.3.zip to stop the boot loops?

Thanks again and sorry for asking again ;)

Nico