yashsingh1/xdaforums huggingface dataset:
[Xposed General] dr.ketan:
Cool down guys. I know sometimes words matter but intention is not bad.

Just think it's a Android general development guide thread. So anything related to guide always welcomed but mostly you see on such guide thread Ppl start posting their file and wait someone come and mode for him/herself and that's not aim of thread. I believe newbies also like to use feature but not possible to fulfill everyone's request. Also this mode working only on deodexed rom so users must be on some custom rom. So requesting developer of rom is more practical solution as it's easy for developer to deal with it and lots of rom users get benefits by it.

Hope you understand.

Common go positively. Enjoy xposed now.
[Xposed General] kushal.arora16:
Yup got the point sir..

Sorry for my misbehaviour..

Sorry @ Morningstar...
[Xposed General] dr.ketan:
No man no sorry. We all are same here, ultimately misunderstanding happens as we are human. Forget and keep helping as you are doing.

Regards.
[Xposed General] Morningstar:
Awesome, I'm glad you're learning. I probably came off harsher than was necessary, but a lot of people here simply ask others to do things for them, rather than putting in the time and effort to learn things for themselves, so I hope you understand where I was coming from.

No offense meant.

[emoji106]
[Xposed General] ldeveraux:
I'm aware, but releasing an alpha that claims to nearly solve xposed for tw, the majority of the people attempting it are NOT developers. They will fall and have thousands of questions, as the current post count and repetitive questions confirm. Not saying he shouldn't have released, but it's an alpha for a reason...

---------- Post added at 06:59 PM ---------- Previous post was at 06:56 PM ----------

We've seen the same questions over and over, then you been someone to do it for you? How about the thousand other people, whose going to mod it for them? You? If you hold one user's hand, it starts a vicious cycle that no experienced user wants to continue. So that's why...
[Xposed General] kushal.arora16:
Yup I got it bro...?
[Xposed General] waterballoon:
does anyone know if this Xposed for Touchwiz can only work on Permissive kernel? if I run on stock kernel (that is Enforcing) and use an app like SELinux changer to change to Permissive, it resets back to Enforcing at a reboot/shut down am I right?

so if I were to swap the battery out does this mean my phone will enter a bootloop if I turn it on?
[Xposed General] kuronosan:
I'm using Enforced on S5. No issues.

Tldr: Use an insecure kernel to obtain root. Install flashfire or safestrap.

Using those recoveries, install a deodexed TW ROM.

Install the xposed zip through said recoveries.

Reboot, install xposed apk.

Install modules, activate, reboot.

You're done. It'll hang at Verizon for like 5 minutes.
[Xposed General] tasstass99:
I posted this post but did not get an answer so what could be the problem

When i remove the lines containing Ljava/lang/String;->clear()V and try to recompile services.jar i cant using Advanced+ApkTool+v4.1.0+By+BDFreak i got a i9505 i get this error

------------------------------------------------------

..\3-Out\services.jar\smali\com\android\server\DirEncryptServiceHelper.smali[1030,0] Cannot get the location of a label that hasn't been placed yet.
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: com/android/server/DirEncryptServiceHelper.smali
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:71)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:55)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:41)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:349)
at brut.androlib.Androlib.buildSources(Androlib.java:289)
at brut.androlib.Androlib.build(Androlib.java:275)
at brut.androlib.Androlib.build(Androlib.java:250)
at brut.apktool.Main.cmdBuild(Main.java:225)
at brut.apktool.Main.main(Main.java:84)

------------------------------------------------------
[Xposed General] waterballoon:
fortunately I'm on the international G900F :p

I'll be flashing either the Sixperience or AsteroLite ROM so those are already deodexed TW, luckily
[Xposed General] kevosky:
No fix for s4 i9505 yet?
[Xposed General] scotteb:
Thanks to everyone who made this possible got this working. Arter97 also has a flashable pre made for sammy roms too...found after the fact..
[Xposed General] PIRATA!:
arter97's method just released a version just for it.
[Xposed General] Herumor:
Which seems to work on Albe95's rom without FC's!! :D
[Xposed General] Rick#2:
I have been able to get this working on my Rogers branded I337M in Canada on the latest stock TW firmware. (LRX22C.I337MVLUGOC4)

In case anyone else with this device was wondering if it was possible to get the Xposed framework running on the stock TW ROM for our Canadian variant of the Galaxy S4, here's a brief overview of what I did:

1) After rooting my device, I deodexed the stock TW ROM using JoelDroid's Lollipop Batch Deodexer

2) Using baksmali, I decompiled classes.dex that was extracted from the newly deodexed services.jar archive. Altogether I removed 28 lines from the following classes:

com/android/server/connectivity/Vpn$LegacyVpnRunner.smali
Line:561

com/android/server/pm/PersonaManagerService.smali
Lines: 4996, 5076, 6922, 13737, 14621, 14640, 28981, 29130, 42247

com/android/server/pm/PersonaManagerService$PersonaHandler.smali
Lines: 3524, 7466

com/android/server/NativeDaemonConnector.smali
Lines: 2056, 2228

com/android/server/LockSettingsService.smali
Lines: 5994, 9894, 9942, 9987, 10042, 10113, 10123,12465

com/android/server/DirEncryptServiceHelper.smali
Lines: 687, 2149, 3363, 3417, 3511, 3689

3) The modified classes were compiled into a new classes.dex file using smali. This copy was placed into services.jar, overwriting the original.

4) Next, I restarted the device into PhilZ Touch Recovery. The original, odexed /system/app, /system/priv-app and /system/framework directories were deleted in order to replace them with the deodexed versions I had arranged in the first step using JoelDroid's batch deodex tool. The deodexed /system/app, /system/priv-app and /system/framework directories from the output of JoelDroid's utility were then copied onto the device using adb.

5) The directory /system/priv-app/XposedInstaller_3.0-alpha2 was created, and XposedInstaller_3.0-alpha2.apk was placed inside it.

6) The modified services.jar was copied to /system/framework on the device, replacing the original one.

7) At this point, I flashed arter97's modified Xposed framework (xposed-sdk21-arm-20150430-arter97-V3.zip), crossed my fingers and rebooted the device.

I don't know if modifying the services.jar was necessary but I had already performed the changes and figured it wouldn't hurt anything. I've attached my modified services.jar for anyone who has the same device and wants to try it.

Hope this helps someone out. Huge thanks to rovo89, darkera13 and arter97 for their efforts!
[Xposed General] PIRATA!:
Let me get this right..

You followed the instructions in first page only for step 2) without doing step 1) and then had replaced manually the deodexed files deleting first the corresponding odexed files...right?

What file manager have you used from Philz recovery??

And what about file permissions? Have you set them before reboot?

Tnx.
[Xposed General] Rick#2:
Yes, I ignored step 1) from the first page because arter97 has already done it in his modified Xposed framework .zip file.

I just used adb to push the files over from my computer. The permissions did not need any attention because they default to rww (644), group and owner both root (0) when being pushed via adb, which is pretty much what we want for all the .apk and .jar files in /system/app, /system/priv-app and /system/framework.
[Xposed General] PIRATA!:
(deleted)
[Xposed General] Rick#2:
No, no app force closes or anything weird showing up in logcat. I'm pretty impressed with its stability.
[Xposed General] PIRATA!:
Please help:

About the decompile about classes.dex that you extracted from the newly deodexed services.jar...did you find it really useful or still dunno if its needed??

About the Philz recovery, so you used it only to replace the single files, whilefor getting the odexed files and putting back the deodexed you used adb pull and adb push and that's it??

But adb push while system is on? And deleting app & framework & priv-app folders prior adb push????

Also, I didn't know that adb push was setting perms the right way..

Any fc for any system app that was not digesting the new deodexed format??

Tnx!
[Xposed General] kinglifer:
Hi... Is there a one click varient of this? I am on a NOTE4 and I have not been on XDA in YEARS but I see its has become a bit more brash than when I was on back in the early 2000's .

I did not see anything anywhere that would have a onestep flash version for a stock rom.

SO I asked you.

Thank you.
[Xposed General] mprefect:
I'm getting the exact same error... I tried searching the thread but I didn't get any other hits. Did anyone figure out how to fix this?
[Xposed General] fmark:
Thank you for sharing! I have the same phone (I337M from Fido) with the same rooted stock TW firmware (LRX22C.I337MVLUGOC4).

I have a few questions please:

1. Can I use your deodexed /system/app, /system/priv-app and /system/framework (if you can share them of course :) ) ?

2. Do I still need to deodex my ROM if I'm going to use your services.jar file?

As you can see I'm trying to avoid deodexing here :)

Thanks!
[Xposed General] Svartsyn333:
I always fail to do the baksmali step. I pull the dex file onto the baksmali file to open it, cmd window opens, instantly closes again and the classes folder has not been created. Should I try to deodex the ROM before? I'm on P605 using the Stock TouchWiz 5.0.2 port of the P905.
[Xposed General] Rick#2:
No problem, I made a .zip installer to make it easier. Anyone else who might want to try this should keep in mind that this is meant for an I337M.

Make sure that you install the Xposed Installer .apk first before you flash this in the recovery; like I posted earlier, I use PhilZ Touch Recovery so I can't comment on whether or not others will work.

Also, make sure you wipe your dalvik-cache and the /cache partition after flashing the .zip file... and it would be wise to do a nandroid backup just in case.

https://www.dropbox.com/s/bdo9rktvcvr1831/I337MVLUGOC4.LRX22C.deodex.system.xposed.zip?dl=0
[Xposed General] starbucks2010:
What have you put in this zip to make it 774 Mb? Your entire ROM? ?
[Xposed General] Rick#2:
Essentially, yes. It contains the deodexed app, priv-app and framework directories as well as arter97's modified xposed framework (core-libart.jar, among others). It also contains the services.jar file that has been modified to remove the lines in a few of the decompiled classes that were mentioned in the OP.

I modified arter97's zip installer to delete all of the files in /system/app, /system/priv-app and /system/framework and replace them with their deodexed versions with all appropriate permissions and then continue on to install his modified xposed framework files.
[Xposed General] Efraín Sastré:
So, i have my ROM stock (i mean not deodexed) can i just flash this file on recovery or odin? Or do i have to deodex my rom first? Thanks in advance Rick.
[Xposed General] PIRATA!:
Can you post the same flashable .zip file without the /system subfolders and files so to see its structure and update-script?

Thank you so much.
[Xposed General] fmark:
Thank you! I'll give it a try later today and will let you know the results.
[Xposed General] Rick#2:
Efraín Sastré: You don't need to deodex first, this .zip will do that for you by replacing all the odexed files on the /system partition. I would recommend you backup everything first just in case something goes wrong.

PIRATA!: Here's a link to the .zip I put up earlier without all the extra files in /system that I added:

https://dl.dropboxusercontent.com/u/22632665/I337MVLUGOC4.LRX22C.xposed.zip

If you want to check out the updater script, it is META-INF/com/google/android/update-binary
[Xposed General] PIRATA!:
Interesting. This flashable .zip file looks like to be last arter97's V3 package with edited update-binary for managing the deletion of the odexed files inside phone and installing the new doedxed files....right?

The lines added in the update-binary are quite general, so I should only understand how the deodexed files are stored in the flashable .zip file and replace them...right??

Can I manage to use the I337MVLUGOC4.LRX22C.deodex.system.xposed.zip package as a base for my device substituting the deodexed files with mine?

In case I should be able to deodex my device and install Xposed at the same time, right?

Tnx a lot.
[Xposed General] fmark:
It worked! I did everything as you described and it seems to run fine.

Thank you very much !!! Good job!
[Xposed General] CrossBones3129:
Now, if only there was an easy way to do this for regular I337s...

Idk how to deodex and all that. Are there no roms or noob friendly guides?
[Xposed General] tariq2kn:
Any help for s5 g900fd? Has anyone tried it?
[Xposed General] jkeuclid:
I have V3 installed via FF, the .apk installed as usual but I see that under Framework tab it says "Installation is only possible manually via recovery for now"...

How do we install it (apk) in recovery? I know I missed something somewhere along the lines but it's late and not seeing it, thanks everyone.
[Xposed General] ebrinkis:
That statement is standard for this version, it shows up on all phones. Everything is fine if you have green numbers in the active column, you are good to go. Remember that not all Modules work, test them out one at a time so that you can know which ones crash.
[Xposed General] ldeveraux:
If you need to ask for the easy way, you're not 1337...
[Xposed General] DrSeussFreak:
As I scroll through all of this, I cannot find an answer to this 1 question

Is there a way to install Xposed on a Verizon Note 4 Dev Edition with Touch-Wiz 5.0.1?
[Xposed General] jkeuclid:
Start here then here and work from there, don' be afraid to ask questions but above all search early and often ;)
[Xposed General] DrSeussFreak:
Right, so all of this I have read, but none of it answers (at least clearly for me), if I am able to install Xposed on a stock ROM 5.0.1 lollipop touchwiz rooted note 4.
[Xposed General] jkeuclid:
You'll neeet root of course but I'm assuming that you knew this, sorry.

from the first link:

/* Supported firmwares */

Every ARMv7(32-bit) Samsung Lollipop Android 5.0 deodex'ed firmware should work.
But please note that I have tested this only on Galaxy S4, Note 3 and S5.

64-bit devices or Android 5.1 is not supported.
[Xposed General] DrSeussFreak:
So, I have root, but again, can the stock rom of a note 4 dev edition have xposed installed? If so, are steps for this specific request documented somewhere? I am trying to avoid a boot loop.
[Xposed General] jkeuclid:
Check with your device's forum general section or appropriate sub-forum to see if there is a deodexed stock rom available.

I maintained root with this rom for my phone and then flashed this rom for the Xposed fw.
[Xposed General] DrSeussFreak:
Again, so my question is if I can use my stock rom, not installing a deodexed rom. I appreciate you trying to be helpful, but I am just looking for a yes or no, as I would really prefer NOT to have to reinstall all my apps again, even through the simplicity of using Titanium.

Can anyone else confirm if this is possible or not yet, as the main Xposed thread has ho updates in over a month.
[Xposed General] jtk_:
As the guide requires to modify system files, how does it affect the device? Please excuse me if I'm asking stupid questions.
[Xposed General] ghoster76:
Damn, it's working! it's working

Notice: You can not install XposedInstaller_3.0-alpha2.apk after flash those modified files
[Xposed General] hiepgia:
Use Xposed mean you modified system bootclasspath and control system classes. So, don't worried :)
[Xposed General] faoineag:
ehmmm not know where to start ... it is possible that bait form Xposed ready , in short ?
[Xposed General] darkera13:
Great. It worked. Try install modules and enjoy mate :)
[Xposed General] ghoster76:
Mr [MENTION=4696762]darkera13[/MENTION], I cannot install any applications after doing that mod, :(
[Xposed General] gambaaa:
Please for the love of God upload the modified file
[Xposed General] xtam:
classout\java\lang\Class.smali[0,0] 2097152 cannot fit into a short
classout\java\lang\Class.smali[834,4] mismatched tree node: I_STATEMENT_FORMAT12
x expecting I_CATCHES
classout\java\lang\Class.smali[843,4] mismatched tree node: I_STATEMENT_FORMAT21
t expecting <UP>
classout\java\lang\String.smali[0,0] 65536 cannot fit into a short
classout\java\lang\String.smali[771,4] mismatched tree node: I_STATEMENT_FORMAT2
2x expecting I_CATCHES
classout\java\lang\String.smali[779,4] mismatched tree node: I_STATEMENT_FORMAT2
2x expecting <UP>

while recompiling with smali, why?
[Xposed General] Morningstar:
Well, it will have rather serious detrimental effects on your device's stability, you'll probably end up with random reboots and/or FCs, and it introduces some major security issues, thus leaving your device vulnerable to all sorts of nasty things.

Enjoy!
[Xposed General] xtam:
he can not upload cause he does not know what rom you are using, those files are from your rom
[Xposed General] rockadz9:
where could find this code?

Ljava/lang/String;->clear()V
[Xposed General] hiepgia:
Let pro do their work :)
[Xposed General] darkera13:
Even out of Play Store? If yes, try to full wipe :)
[Xposed General] ghoster76:
Yes, every single application. In Play Store I got 504 problem, In other place I got "App is not installed".

I'm trying to reinstall a fresh new rom then I'll report
[Xposed General] dr.ketan:
Bootloop on N910G even after new zip source for core-libart resources.

Let me try once later today as right now busy.

Again Thank you very much.
[Xposed General] D-Mak:
I have no idea how to do everything.
[Xposed General] madbat99:
Then wait for the pros to bake it into their Roms.
[Xposed General] anonymous-_:
Maybe anyone can make a video tutorial for Noobs? I think it helps many people :)
[Xposed General] madbat99:
Its not for noobs. But all you need was posted in this thread. Someone even linked a jar editing tool/tutorial. If that's not enough, then this is truly not for you. No bash intended. This shouldn't be attempted by noobs.
[Xposed General] xtam:
I tested it with alliancerom but for me - bootloop

1. i have only replaced corelibart and services

but i stopped on logo

so i flashed xposed

and after optimizing apps it showed that system is not responding and it rebooted.
[Xposed General] jkeuclid:
That would be a no for many reasons.
[Xposed General] ldeveraux:
When you searched, did you see mention of ANYONE flashing it on a odexed TW ROM??
[Xposed General] DrSeussFreak:
No, I did not, and that was why I asked. I have been following the primary locked thread, to see if any updates come from there. I am not in dire need of it, so I am fine waiting to see how it plays out over time. If I had seen mention of it working on an odexed TW ROM, I would not have asked.
[Xposed General] ldeveraux:
That was kinda my point :) can't be done yet...
[Xposed General] RAFALAMAO:
Thanks PIRATA!, downloading!!!
[Xposed General] radz_:
Anyone able to get Xposed working in ODEX ROM??
[Xposed General] mielletseed:
You would know it without need to ask ... :D
[Xposed General] Marconicosax:
Sorry but anione have some news about xposed for galaxy tab s 8.4 lte?
[Xposed General] PopaStefanx:
deodex the stock rom, then install and use arter v3. version, it works on my note pro 12.2 which is almost the same....
[Xposed General] PIRATA!:
Hi!

If I extract the system.a.p-a.f.deodex.tar file inside this, replace the files inside /app, /framework and /priv-app with mine, and then replace it back in you *.deodex.system.xposed.zip.....should I use in on my device?

The structure of the main zip is the V3 from arter97, with the addition of flashing the system.a.p-a.f.deodex.tar deodexed files (I've read the update-binary).

Please let me know.

Tnx.
[Xposed General] Whizzpopper:
I've found the same thing and could use some help. I'm on a straight plain as Jane stock (rooted) 5.0.1 Galaxy s4 (i337). Decompiled and rebuilt the core-libart.jar no problems, but when I decompile services.jar I only get a MANIFEST.MF file in original/META-INF. There are no errors in the decompile, but I notice that there is not baksmaling happening either.

Is this because the ROM is not de-odexed? I notice that the services.odex file is much more significant -- 25.59MB vs 309 bytes.

Thanks!

Nevermind. I see that this very question has been addressed right above mine. Doh!
[Xposed General] Ghent31:
I've tried the original Procedure.

It seemed to work: no bootloop, fast update of applications, but then "System do not respond".

I have a S5, G900F with Omega ROM G900F

Any idea ?

So failed
[Xposed General] memnochlv:
Using my GF's Sprint Samsung Galaxy S4 (L720T spark edition) when I install it via TWRP, it doesn't seem to take? IE, when I reboot, the files it should overwrite are not and the .orig's aren't even there. It's as if the /system partition is being restored. I even tried messing with it via ADB during TWRP and I'm unable to "mount -o remount,rw /system" until I first umount /system, and when I re-mount it, it loses the changes made via the zip.

update:

After dirty flashing the ROM again, I was able to get it installed and running. Unfortunately I seem to be having issue of apps constantly spamming me with FC messages. I tried the GApps flash to replace a few, but they still FC'd after I installed it, as well as quite a few others. Ultimately I had to remove it (by hand using ADB, is there an uninstaller .zip for use in recovery somewhere?). Here's to hoping it'll be working on this model variant soon!

Thanks!
[Xposed General] hemalhpc:
Works on My Note3 N9005 . Working perfect. Thank you
[Xposed General] benis4:
help please

hi guys

how can I use xposed on s4(9500) with 5android stock rom?
[Xposed General] leyneli:
S5 - G900L flash ok but xposed didnt work... I use space rom...
[Xposed General] sayaksark:
tough to install for a noob! any easy way?
[Xposed General] mielletseed:
No, this is alpha and therefor not for noobs looking for an easy way, sorry.
[Xposed General] benis4:
hi

Iam not understand!

What is noob?

How i use xposed in my device?
[Xposed General] JulGer01:
You don't!
[Xposed General] jt1998:
Noob is a term for someone with no experience in Rooting, flashing ROMS, software development, etc.

This is not recommended for inexperienced users.
[Xposed General] hermeticist:
If I'm understanding this properly, all we have to do is flash alpha 3 or above over a deodexed TouchWiz 5.0+ rom and then install the xposed installer and we're good to go, right?
[Xposed General] leyneli:
I did again. And happy and :)
[Xposed General] mielletseed:
If you don't understand the instructions at all and you have to ask "how do I" without any specific problem / question you are definitely a noob ;)
[Xposed General] ali1zamani:
Reporting this error for the 3rd time in thread

It seems that I'm the third one reporting this error while trying to recompile the modified core-libart.jar

classout\java\lang\Class.smali[0,0] 2097152 cannot fit into a short
classout\java\lang\Class.smali[834,4] mismatched tree node: I_STATEMENT_FORMAT12
x expecting I_CATCHES
classout\java\lang\Class.smali[843,4] mismatched tree node: I_STATEMENT_FORMAT21
t expecting <UP>
classout\java\lang\String.smali[0,0] 65536 cannot fit into a short
classout\java\lang\String.smali[771,4] mismatched tree node: I_STATEMENT_FORMAT2
2x expecting I_CATCHES
classout\java\lang\String.smali[779,4] mismatched tree node: I_STATEMENT_FORMAT2
2x expecting <UP>

No solutions yet?

Btw. I have XtreStoLite_G900H_ROM_2.1_XXU1BOCA on SM-G900H Exynos.
[Xposed General] vsa:
Xprivacy works on Dr.Ketans 910F BOD2 Rom (Galaxy Note 4) :good:

vsa
[Xposed General] eletendre84:
I assume this is a no go on bootloader locked devices right? My Verizon note 3 weeps.