yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device General] norti:
Thank you [MENTION=6351145]ondrejvaroscak[/MENTION] for this solution!

[MENTION=4419114]rovo89[/MENTION] any chance this could be integrated in the xposed installer?
[Sony Cross-Device General] xtremepredador:
Thanks Bro , Very Nice !!

Perfect Work !!
[Sony Cross-Device General] XDAample:
Z1, C6903

Thank you for this great solution, works on Z1.
[Sony Cross-Device General] ondrejvaroscak:
Unless I will be blessed with some debugging skills, I have no clue... I think limit is just much higher. Once you reach limit you can simply edit script and change two numbers...

Yes, now regular reboot works.
[Sony Cross-Device General] ondrejvaroscak:
I think it will take time, because first [MENTION=4419114]rovo89[/MENTION] would probably want to investigate, how much is it a bug, a constellation of coincidences and so on. I am not sure, if the same bootloops appear only on XPERIAs or it is a phenomenon on other brands as well... And given the fact, that big number of Samsungs can not run Xposed at all, maybe he will try to solve that Samsung puzzle as priority. But that is only guess..
[Sony Cross-Device General] nurps:
Working on fully setup 5.02 on Z2 thanks.
[Sony Cross-Device General] hispanico957:
Thank a lot for big news.... just a clarification:

Which xdual recovery we must have ? also the last 2.8.12 ?

The file XZDR.prop i have located on external memoery...it's correct ?

When you said create a directory /data/flimit.. in where ?

In which way i can "..enabled byeselinux (dr.keep.byeselinux=true).."

Thank

Hispa
[Sony Cross-Device General] ondrejvaroscak:
Any recovery that supports init.d and byeselinux. So if you find this two settings in your XZDR.prop, you just enable them by setting "true".

I tested with 2.8.12,

XZDR.prop is located in /sdcard1 so its External SD card. If no SD card, then its located in /cache.

/data/limit you create absolutely, it means in / is folder data (that already exists) and you create flimit in /data, so:

adb shell
su
mkdir /data/flimit

byeselinux you enable by setting "dr.keep.byeselinux=true" in XZDR.prop (it may be set to false by default depending on version fo XZDR you have).
[Sony Cross-Device General] hispanico957:
Ok fine... for verify all you said:

dont find ? where i wrong ??? the folder and file are present

Thank

Hispa

P.S.

Whe you said :

i mean to pu dr.initd.active=false ??

and last :) after all i can install xposed over .726 odexed ?
[Sony Cross-Device General] ondrejvaroscak:
from adb or directly in terminal app if you have one..
[Sony Cross-Device General] mysara saad:
Great thanks
[Sony Cross-Device General] hispanico957:
Thank solved but see please my post #14

Hispa
[Sony Cross-Device General] Pandemic:
In XZDR.prop i dont have: dr.keep.byeselinux so must i add it if so then under which line ?

I have the latest version of recovery.

Sent From MoonWalker Provolution V1.0 [Beta] Based On LP 5.0.2 !
[Sony Cross-Device General] Lasantha:
+1 i too cannot find thet line
[Sony Cross-Device General] ondrejvaroscak:
can you run "ls -l /data/flimit/*" and paste output to reply?

Exactly, when you put dr.initd.active=false and have full stock, it should again bootloop. Then you replace the XZDR.prop file with version with init.d enabled and it should boot normally again.

I think without any problem. Deodexing has nothing to do with working Xposed, but it is may be necessary for some modules (Gravitybox?)?
[Sony Cross-Device General] ogunja:
I already had her first project, Xposed installer and apks Xposed.

Just install the new update for the recovery to subscribe to the files?

Thanks Bro [MENTION=1103233]mionica[/MENTION]
[Sony Cross-Device General] mionica:
I'm not sure I understand what you mean. You need to install xposed-arm-2015MMDD.zip from the Xposed thread, and xposed-sony-vN.M.zip from post #123 - not the one attached to the first post! to get the framework running with no bootloops.
[Sony Cross-Device General] ogunja:
I was xposed_arm.zip and used his first script, I can now install the new version of the script above?
[Sony Cross-Device General] Hani88:
Thank you so much I used V1.. it's working but I'm facing random reboots while using my phone.. Sometimes after installing a new app for example but sometimes not!

the problem still exists even after flashing V 2.1
[Sony Cross-Device General] mionica:
Yes.

:| no idea. For me it's rock stable, no reboots to date - so I expect it's the modules you're using.

If I were in your place, I'd disable all the Xposed modules and keep it like that for a day; if it works ok, I'd enable every day exactly one module, until the day it starts acting up again... and then I'd know the reason.
[Sony Cross-Device General] NetSkill:
Okay guys i ve been chcecking this threat for a wile and i finally got the time to try this awesomeness, just to be sure do we need to deodex?
[Sony Cross-Device General] norti:
No!
[Sony Cross-Device General] infinitylook:
Me too I have been facing issues with reboots, it always reboots on my phone.
[Sony Cross-Device General] Depump:
Nice mod for fix bootloop in LP

:D
[Sony Cross-Device General] NFS_FM:
Is there any way that 'SonyFix v2.1' could interefere with OpenGLES v2.0? Because, as soon as I updated (having the 1st version up to now), I'm not able to play Hill Climb Racing for example, which shows this message on start and after that just closes: "Your device doesn't support OpenGLES 2.0". Also, I had the Facebook Messenger app force closing, as well as 'not available for my device' on Play Store.

Is there any log that can help you?

Edit: I just had 'Nitro Nation stories' crashed too.
[Sony Cross-Device General] ondrejvaroscak:
In my test script of course everything was OK so that's your mistake.... :D:D:D:D
[Sony Cross-Device General] ondrejvaroscak:
This mod is for all devices
[Sony Cross-Device General] jawzf:
That's awesome!!! Has anyone tested on Samsung phones?
[Sony Cross-Device General] ondrejvaroscak:
One glitch... As [MENTION=1103233]mionica[/MENTION] pointed out right... While this mod will work on Samsung as well, it may not resolve the Samsung problems. Samsung modified ART engine....
[Sony Cross-Device General] alinghi100:
Hi all, flashing this fix it will no more needed to debloat in order to avoid bootloops, right? I'm on xperia z2. Thanks in advantage :)
[Sony Cross-Device General] hispanico957:
Yes no more debloat needed... on my z3 compact i have 483 between system apps and user :)

Hispa
[Sony Cross-Device General] jbbandos:
I was really hopeful, but [MENTION=1103233]mionica[/MENTION] 's zip version 2.1on my Z1 Compact with 356 apps installed ("optimising application" number) still bootloops. I'll have to wait until I get home to try and do a logcat to see if I can pinpoint the issue.

:(
[Sony Cross-Device General] hispanico957:
But bootloop go also if you installed xposed and you don't load any module ?

I have 483 apps and 3 module active but not bootloops on my Z3 Compact

Try to unistall with file of mionica, reinstall first zip 2.1 reboot and after fron recovery install xposed

Hispanico
[Sony Cross-Device General] mionica:
Quick one. I'm working on a version that

will install busybox if it wasn't already installed, just to be safe

keeps the limits, and whether you want the restore, in a .prop on the sdcard

The first change is relevant - I have a hunch this isn't going to work well at all for people who don't have busybox installed, so better make sure.
[Sony Cross-Device General] hispanico957:
Great ! :angel:

Hispanico
[Sony Cross-Device General] ondrejvaroscak:
OK cool one. I started with script that requires people to have XZDR installed, hence busybody that's is a part of XZDR.

Just make sure that busybox you install is compatible with XZDR lzma in case should it be overwritten..
[Sony Cross-Device General] ondrejvaroscak:
Keeping limits I would omit as these limits are for some intent in Android..
[Sony Cross-Device General] E66666666:
I just tried this, and I somehow ended up losing XZDR and getting bootloops.

R.I.P. Reinstalling everything again ;_;
[Sony Cross-Device General] _mysiak_:
If user doesn't have busybox, it is highly unlikely that he has working init.d. But we can have busybox and init.d without XZDR.. I would just put in mandatory pre-requisites what is needed to have this fix running. Leave some action to users as well to earn the price of xposed without bootloops :) Script is already almost foolproof, don't overdo it :)
[Sony Cross-Device General] defim:
Just want to tell this fixes bootloop of Z2 with Android 5.0 (image). Bootloop occurs only after installing Xposed. BusyBox was installed before
[Sony Cross-Device General] v7:
Read the FAQ in XZDR thread.I've tested a busybox installer on XZDR on my Xperia ZR C5502 4.4.4 and is fully compatible with the recovery [MENTION=4904057][NUT][/MENTION] had posted the link there.

Tapped from my furious ZR ;)
[Sony Cross-Device General] mionica:
Release 2.2 is available on post #123; highly recommended if you had any stability issues.

Changelog:

fully self-contained - includes a busybox install/update script that makes sure that the needed busybox applets exist under /system/xbin; if you have XZDR, the existing XZDR busybox will be used, if not, the XZDR busybox will be installed (to /system/xbin)

made sure the init.d scripts use specifically, and only, those applets from /system/xbin

---------- Post added at 12:55 PM ---------- Previous post was at 12:49 PM ----------

Done. The busybox I ripped from XZDR :)

Mirror to 1st post when you get a chance pls.

It's no effort and allows experimentation; disabled by default.

I'm not sure XZDR installs the busybox applets? So users might have busybox, but not directly-callable sed, grep, cat, echo, etc - which my scripts shamelessly used by name. So 2.2 fixes that by creating the applets if they don't exist, and by calling them using the full path (i.e. $LOC/grep where LOC is /system/xbin), just in case people don't keep /system/xbin in their $PATH like I do :D.

I suspect the missing applets might relate to the instability some people are experiencing; we'll see...
[Sony Cross-Device General] Hani88:
Disabling all the modules didn't fix that

I disabled Xposed framework now and I will see If any random reboot will happen
[Sony Cross-Device General] mionica:
So we know it's probably not one of the modules. Good.

Could you interrupt that testing schedule, flash v2.2 of the fix, and re-enable just Xposed framework, then provide feedack in a day?

There is a chance (if you didn't happen to install busybox yourself) that the scripts in v2.1 and below wouldn't work properly on your phone - so please see if 2.2 would help).

Also: do NOT attempt to use a busybox installer, or if you do, reinstall XZDR before rebooting. I think most, if not all, busybox installers will break the recovery.
[Sony Cross-Device General] infinitylook:
I will test 2.2 also and see. For now I'm back to kk because haven't backuped my lollipop that ended in a bootloop and also lost recovery. Will report back
[Sony Cross-Device General] v7:
Compatible recovery is available.See FAQ in XZDR.

Tapped from my furious ZR ;)
[Sony Cross-Device General] mionica:
That's what you get for not searching the forums ;)

You didn't have to go back to KK, wiping /cache is enough to get the thing booting again.

---------- Post added at 01:35 PM ---------- Previous post was at 01:31 PM ----------

No need to repeat yourself, I knew about stericsson's work, if that's what you mean.

I've also had pretty serious problems with an older installer of his, so I couldn't in good faith recommend it.
[Sony Cross-Device General] hispanico957:
Dear miomica... I think that everyone can install busybox and i prefer the fix without it.

Ref. Fix 2.1 that i have from yesterday, i have 3 reboot random, one during call, one when i was on settings of device and the last on chrome...

Unfortune it is il mpossible have a log because random..

Hispa
[Sony Cross-Device General] Hani88:
Thank you so much

I will try now

I have busybox pro installed and activated.. ıs it the reason of random reboots ?
[Sony Cross-Device General] mionica:
For everybody that installed a busybox app

If you installed a busybox yourself, and you did so after you installed XZDR, please remove the busybox installer app - not busybox itself, just the app!, then please reinstall the recovery - in THIS order.

I will not event attempt to reply to people anymore unless they tell me they (re)installed XZDR after the most recent busybox update they did.

Also note, this is mandatory for people running my fix also - v2.2 will NOT replace an existing busybox. Also, before you ask, that's all you need to do. No need to reflash xposed_fix, xposed_arm or anything; just do the 2 things above (remove the busybox installer - just the installer! - and reinstall XZDR - in this order).

---------- Post added at 01:44 PM ---------- Previous post was at 01:43 PM ----------

No, you don't. You prefer the exact busybox that gets installed by XZDR, if you want this to work and be stable. That's also what my v2.2 includes, though you shouldn't care, as it will not replace the installed busybox if it already exists.

If that's not the case, you're on your own.

PS. Who's miomica? :p
[Sony Cross-Device General] infinitylook:
Don't be rude! I'm not a noob on this. Recovery wasn't loading anymore after I followed your removal/undoing instructions of this module. My phone was in endless restart even after clearing cache and art. It would only stay up for 2 minutes before going on reboot. So I followed your removal instructions and was done via twrp. Cleared art and cache still in bootloop but recovery not loading anymore after I pressed volume key. Anyway I would test you new version.
[Sony Cross-Device General] mionica:
I appologize. I also have no idea why that happened :(
[Sony Cross-Device General] hispanico957:
Infact have problem after install 2.2... If i open busybox noe i receive an alert! that tell busybox is detected in sbin/ And i must select yes or no!?

Please in which wau i can solve
[Sony Cross-Device General] mionica:
If you open what?

How about we talk after you remove the busybox installer and re-install XZDR, like I requested in post #215?
[Sony Cross-Device General] hispanico957:
so if understand after install 2.2 i must unistall busybox, reboot and reinstall xdualrecovery?

And busybox?

Thank

HispA
[Sony Cross-Device General] mionica:
This is getting tiresome.

Step 1. remove any busybox installer app; you don't have to uninstall busybox itself using the installer app (actually, I recommend that you don't)

Step 2. reinstall the recovery, either using Z3-lockeddualrecovery2.8.14-RELEASE.installer.zip on the PC, or by flashing Z3-lockeddualrecovery2.8.14-RELEASE.flashable.zip from recovery

Step 3. there is no step 3.

Jesus lads. Is my written English that bad?!

Here's how this should work:

you read what I say you should do

you decide for yourself if you want to do it or not

if you do, you go ahead and do exactly what I said, in the order I said, without asking "hey, should I really do like you said?" first; if you're having issues, you complain and I do my best to answer correctly and in a timely fashion;

if you don't, that's perfectly fine - just use another bootloop fix and leave me alone.

This might not be obvious, but I actually have other things to do.
[Sony Cross-Device General] Hani88:
dear [MENTION=1103233]mionica[/MENTION] thank you so much for the amazing job and fast responding:good:
[Sony Cross-Device General] erfandl:
Great work :)
[Sony Cross-Device General] dedei:
This is a bit confusing..what should us users of the previous 2.1 patch do? Can we just flash the updated patch?
[Sony Cross-Device General] mionica:
Exactly like I said:

if you have a busybox installer app, remove it;

if you had a busybox installer app, reinstall the recovery (XZDR) - preferably from the PC;

install xposed_sonyfix v2.2 from recovery

complain if you're getting errors
[Sony Cross-Device General] Gmobilize:
D6503 Z2 running on. 726 HK confirmed working, big thanks!
[Sony Cross-Device General] Hani88:
For me I didn't reinstall busybox and the apps that need busybox are working fine

"2 line whatsapp" is working fine for example and it didin't ask me to install Busybox
[Sony Cross-Device General] hispanico957:
Yes... i select unistall inside busybox (dont unistall the app) and reboot !!! :mad::mad:

No more xdualrecovery present and go into bootloop.... and i must reinstall with flashtool fw.

So is mandatory re-install xdualrecovery from pc and after rebbot :cowboy:

Hispa

P.S.

But now after install all again and apply sonyfix 2.2... busy box can remain like app but its installation of the system ??
[Sony Cross-Device General] ondrejvaroscak:
Guys you are mixing things. Busybox app is usually just installer that installs busybox into system. After busybox is installed you can remove the app.

Busybox itself is collection of utilities for shell and other binaries. It basically brings Linux functionality into Android.

xzdr includes basic busybox required for xzdr to work.
[Sony Cross-Device General] hispanico957:
Thank ondrejvaroscak very clear.... so two little clarification:

- at this point we can also unistall the app (busybox)

- there are others important apps that use busybox like Titanium Backup etc... and these apps after unistall it can run properly ??

Hispa
[Sony Cross-Device General] tngoctu:
So, could i install v.2.3 overwrite old version without install and remove any more (XZDualRecovery, etc).

Many Thanks.
[Sony Cross-Device General] hispanico957:
Thank... :cowboy: All clear now but also for others users that arrive now :fingers-crossed: If busybox is present on system, need unistall it and reinstall xdualrecovery... and after install 2.3 form recovery ?

Hispa
[Sony Cross-Device General] mionica:
Dude, I have absolutely nothing more to say to you. I can't tell whether you just like to talk, if my English is too bad for you, or you simply don't get it, but I can't take it any more. My patience is exhausted.

You'll find all the details in the thread. And everything that a new visitor needs to know is already on post #123, which I update constantly; that's the first link in post #1 btw.
[Sony Cross-Device General] Frunzdoedel:
Sorry for offtopic but does somebody knows a facepalmsmily?
[Sony Cross-Device General] profprof:
A facepalm isn't enough. We need at least triple facepalm like this
[Sony Cross-Device General] hispanico957:
I do not want to debate, I thank the job done :highfive: but if you are going out in a short time more relases, it is obvious that it creates confusion .. Also why other people here, have lost their recovery and had to reinstall everything :cool:

Hispa
[Sony Cross-Device General] Hani88:
Still having the random reboots after V2.3.. Maybe the problem is in the Xposed framework not in the fix.. Because when I disabled the Xposed without removing the fix the random reboots are gone.. I think but not sure
[Sony Cross-Device General] mionica:
What device are you on? Please copy-paste the first line of the install_busybox.log file that's on your external SD card :) (or, even better, just zip that file and attach it, or PM it to me)

Btw, whose fault it is, is easy to check - I provided a full Xposed Framework uninstaller in post #123 (it's also available on post #1). You might want to run that and see if you're getting problems still (that only removes Xposed, but not my sonyfix thing - that way, you'll be running only sonyfix, and if it still breaks, then we'll disable that too and see if it actually caused it).

The reason I'm suggesting this is that the possible causes are:

problem with my sonyfix, or

problem with Xposed framework, or

other app's fault, or device fault.

So the configurations we need to check are:

with xposed framework and sonyfix - done (it crashed)

with just xposed frameword - and without restarting the phone yourself!!!

with just sonyfix

without either xposed framework or sonyfix.

That's the exhaustive test plan which will tell us whether the fault lies with Xposed Framework, sonyfix or something else on your device (could also be the device itself, unfortunately - I use the words "reboot" and "overheat" usually in the same phrase).
[Sony Cross-Device General] ondrejvaroscak:
I don't understand what are you guys doing. Never had a single random or uncommanded reboot....not to speak about "mysteriously" disappeared recovery..
[Sony Cross-Device General] Hani88:
Ok the file is in the attachment.. I don't know how to PM it to you :D

and about the reboots I can say that I spent the past hours on testing things almost as you mentioned... the random reboots happen when I use the Xposed framework and the fix together

-80% of the reboots happen when I install a new apk or uninstall an old one (but not always)

-10 % of the reboots happen when I sweep left a notification from twitter

happen once when I was typing my email in fb app to sign in

happen once when I opened contacts on SyncME app

happened now when I was adding a new email in gmail app and syncing the inbox and after that I got a notification that I have a new app update on playstore.. after that reboot !!!
[Sony Cross-Device General] xtremepredador:
Since the first version I use never had problems!
[Sony Cross-Device General] mionica:
Neither have I, but that doesn't mean I won't try to help a considerate fellow who runs into issues :)

But I take the point; I asked [MENTION=4230648]Hani88[/MENTION] to take this offline.
[Sony Cross-Device General] baha76_s:
That's exactly what I had, and I did these tests with more deeply levels since more than 2 days, and I have the same result as #Hani88, which is the random reboot more occur with the combination of xposed framework and the sonyfix, I tried more thsn one version of sonyfix but always the same (I can add another point than #Hani88, which is random reboot when I received a call or perform a call) so with my opinion (and only mine because I'm not specialist) the reboot occur when the phone use alots of ressources.

Yes I must be honest, I have now less reboot than before with the last version of sonyfix (v2.3), even if my busybox.log in my sdcard said nothing (already found busybox in xbin/bin/sbin, zero applets removed, but I think the tricky thing is the recreating the supported applets in xbin (may be), and I thing the phone more stable than before (concerning the reboot) but even so I couldn't confirm because I installed this version 2 hours ago.

By the way my phone is: Sony D6603, firmware 23.1.A.0.690, Android 5.0.2.

Thanks

Envoyé de mon D6603 en utilisant Tapatalk
[Sony Cross-Device General] mionica:
Quick update: I spoke with [MENTION=4230648]Hani88[/MENTION] and it turns out he was using a 6603 firmware on an 6653 phone. I suggested he create (flashtool/prfcreator) a 6653 .zip and tried to see whether the system was more stable when using matched firmware and hardware. He also confirmed that he only had problems when he used

both

Xposed Framework and sonyfix - if he kept only sonyfix, or if he kept only Xposed Framework, everything would work correctly - which I personally believe is a major contribution.

I'm anxious to hear from him in the next days :)
[Sony Cross-Device General] Hani88:
Downloading, backing up and working...
[Sony Cross-Device General] mionica:
Could you confirm you're using matching firmware and hardware?
[Sony Cross-Device General] Jackos:
I got same issues as those two guys. Xposed + SonyFix = instability (while using some intensive resources).
[Sony Cross-Device General] baha76_s:
i have z3 D6603 and i backed my phone with prerooted zip by the ftf (D6603_23.1.A.0.690_Customized_CH.ftf) which is my original firmware.

p.s.: now i encountered the 1st forced reboot since 3 hours after installing v2.3 (when i used some app with high resources) :confused:
[Sony Cross-Device General] Hani88:
ok I'm downloading now, my connection speed is 2 Mpbs only.. I will post here when I finish..

and If the reboots still exist then no problem for me because I'm not happy with mixing the 6603 firmware on my 6653 phone