yashsingh1/xdaforums huggingface dataset:
[Sony Cross-Device Development Themes and Apps] saintgein:
What if you already enabled the serajr mod which you cannot disable?
[Sony Cross-Device Development Themes and Apps] marc_ecko28:
Great job! Now my camera opens faster than i thought!
[Sony Cross-Device Development Themes and Apps] olokos:
Both. It doesn't matter if your rom is deodexed or not.

Just uninstall the serajr module and reboot then. :)

I'm happy it worked for you guys thank you for your words. :)
[Sony Cross-Device Development Themes and Apps] saintgein:
So i can reinstall it afterwards, because i really like some options the module gives. :)
[Sony Cross-Device Development Themes and Apps] ruggyboss:
Yeah there are a couple features in serajr's module that I'd like to keep.. Is this a problem? Or camera's opening will be faster anyway ..?

(I mean if I uninstalled the module, applied this patch and then installed it back)
[Sony Cross-Device Development Themes and Apps] guybrush2099:
you can simply disable only the "system" function in the serajr's module (where there is the superuser option so it turns off) and when you reboot flash the new mod in this post from your recovery :) it works and camera will boots incredibly fast

so it doesn't need to uninstall the entire module
[Sony Cross-Device Development Themes and Apps] fridlack:
Hi all

The imporvement in the camera speed is over the custom camera mods or the stock untouched camera?

And, try someone to flash it on a xperia Z1 Compact?

Regards
[Sony Cross-Device Development Themes and Apps] guybrush2099:
the improvement is in the signature verification. It should work for all the mods do this verification at the camera start.

If your camera starts slow, you should start it faster flashing the op zip after you have disabled the other superuser mods
[Sony Cross-Device Development Themes and Apps] fridlack:
Thanks for the answer :) did you know if this mod works in Z1C?

Regards
[Sony Cross-Device Development Themes and Apps] olokos:
It could, but do a backup before trying. Check my request thread.
[Sony Cross-Device Development Themes and Apps] saintgein:
I reïnstalled the serajr mod, but it still has the superuser mod active somehow. So i'm not sure if it has worked. I don't notice much improvements on the startup, although it's always been quite fast (except for the first start after boot)..
[Sony Cross-Device Development Themes and Apps] ajcrowley:
Wow, thanks!
[Sony Cross-Device Development Themes and Apps] olokos:
Try to remove the module completely and then see if it's working any faster.
[Sony Cross-Device Development Themes and Apps] funky0308:
Uninstall Xperia Xposed module and Xposed framework.

Restart device and...

Extract services.jar from your ROM.

* If you are using stick based ROM you can extract it from ZIP file

* If you are using stock firmware, odexed - plain stock, ask someone to upload services.jar from system/framework folder.

Copy services.jar to your system folder and change permissions to :

Now, move, don't copy it, move that services.jar from system folder to system/framework folder and restart device (if it doesn't restart immediately after replacing file.

Flash this MOD and restart.

It's OK now to install Xposed framework again...

It should work now...
[Sony Cross-Device Development Themes and Apps] saintgein:
That's quite alot haha. I guess i'll keep that routine for the next reïnstall of my phone. Thanks for the explanation!

Although i'm wondering what the difference is between the serajr mod and the one posted by Olokos. They both edit/change services.jar.
[Sony Cross-Device Development Themes and Apps] funky0308:
Actually, this method should be "more permanent"...

Xposed is just script that is overriding system settings.

But....

Xposed framework isn't perfect, especially if you are using 2.7 experimental version.

I'm not 100% sure my advice would work but I know I would try that if I need stock services.jar..

Also...even I never saw script and files in serajrs Xposed module, as I said, Xposed is changing system settings and applying installed modules every time you restart your device and it shouldn't edit services.jar permanently but, obviously, something happened and it was patched for eternity :P

BTW - I didn't mean you should uninstall all Xposed modules.

You should only disable or remove xposed framework and Xposed Xperia and that should do the job...

As soon as you enable xposed framework again and restart device all your modules and settings will be restored.

And that's two minutes task...

Now I wanna know could that work ;)

Let us know if you try...
[Sony Cross-Device Development Themes and Apps] saintgein:
I have a deodexed version of .108. So should i get the services.jar from the deodex zip and move it?
[Sony Cross-Device Development Themes and Apps] funky0308:
Yeap...

Or you can take patched services.jar from here - if you need superuser MOD.

Easiest way to find out did services.jar restoring went well is to apply custom theme (by Rajeev, Niaboc, or me) and check navigation bar icons/buttons.

If buttons are themed, you still have patched services.jar, if system, Xperia nav.bar buttons are here....that's it - you have stock and unchanged services.jar.

Check in that thread (from where you downloaded deodexed patch or stock based ROM) did dev of that patch/ROM worked on services.jar and patched it.

That's something you can find in 99.9% of stock based ROMs and some of deodex patch also have already patched services.jar.

Visit thread and try to do forensic...

Or simply flash deodex patch from recovery without wiping anything and you'll get refreshed system files without losing data, picts or any other files from device.

- Of course, flashing deodex patch won't help if it contains patched services.jar -

Uff...I think I wrote way tooooo many "services.jar" ;)
[Sony Cross-Device Development Themes and Apps] saintgein:
Ok, i think i fixed it. Somehow i got into a bootloop, but after flashing the deodex zip things got better. Afterwards i flashed the superuser mod and tried timeshift video, and no troubles there. But then i reinstalles xposed framework and serajr xperia mod, and i noticed that the superuser option was marked, although the system options were turned off. I kept it that way, but i'm not sure wether it worked or not.

I also tried starting the camera a few times, and somehow i think it became faster, but i'm also not sure of that since before it also started quite fast. And like i said sometimes a bit slower, ecspecially after the boot.

So like i said, i'm really not sure if it improved in any way..
[Sony Cross-Device Development Themes and Apps] funky0308:
I think that Xperia Xposed patch services.jar no matter if you enable "system" or not.

[MENTION=3989065]serajr[/MENTION]

Buddy, could you confirm that or say something smart here? ;)

I always thought your module will patch services.jar as soon as it is enabled in Xposed framework and device restarts...no matter did we enable "system" or not.
[Sony Cross-Device Development Themes and Apps] serajr:
You thought right... "super user mode" is enabled by default (just after you enable the module at Xposed Installer and reboot). And you can't disable it!! Preference is there just to illustrate that super user mode is enabled!

But if you disable the module at Xposed Installer, super user mode will be disabled together (Obvious) ;)
[Sony Cross-Device Development Themes and Apps] ckchan08:
i'm wondering actually, when u guys say the camera start up slow, how slow is it? 2sec? 3sec? 5sec?
[Sony Cross-Device Development Themes and Apps] ruggyboss:
Slow: 3/4 seconds

Normal (fast): 1 second
[Sony Cross-Device Development Themes and Apps] punkt:
Amazing work!

Before it took 3sec, now it almost starts immediately
[Sony Cross-Device Development Themes and Apps] M7ammad:
Can any of the devs tell me what the hell is superuser mod and what is its job, like i worked on many devices and rooted many but i didn't need this thing in any phone ? is it like installing or flashing SuperSu?

Thanks! [MENTION=4816245]funky0308[/MENTION] [MENTION=3989065]serajr[/MENTION] [MENTION=4300205]olokos[/MENTION]
[Sony Cross-Device Development Themes and Apps] funky0308:
Sony protected system with few lines of code in file services.jar.

Superuser MOD is edited services.jar.

Basically, we just delete few lines of code and add some code in it.

After that, there's no security check for installing custom themes and SystemUI and other system files.

Users often forget that simple theme could be security bomb...

You give permission to change system apps and files so Sony protected system.

For example...

You can't apply custom theme on stock, unrooted rom, without patched services.jar (superuser MOD), theme has to be signed by Sony.

Services.jar will check for keys and theme won't work properly if there's no valid keys.

We don't have those keys, so we are modifing files to prevent security check ;)
[Sony Cross-Device Development Themes and Apps] M7ammad:
Thanks man i understood it now , so it turns out it to be its all about themes ,for me its useless i dont care about it

Thanks

:D
[Sony Cross-Device Development Themes and Apps] olokos:
It's not only about themes, but about every other Sony app that you would use in a modified form, although I might be wrong. [MENTION=4816245]funky0308[/MENTION] correct me if I'm wrong.
[Sony Cross-Device Development Themes and Apps] funky0308:
Nope ...you are totally right my friend...

I just simplified explanation ;)

It's used for all apps that needs to pass security check.

---------- Post added at 09:23 PM ---------- Previous post was at 09:20 PM ----------

No mate, olokos is right, it's not only for themes.

I just explained using that example.

Every system app that isn't developed for your device need keys or patched services.jar to work properly...
[Sony Cross-Device Development Themes and Apps] sahirhussain:
Thank you so much for this! My camera (had the timeshift +4 k mod installed on odexed rom) used to lag and freeze like anything. This has made it superfast just like how it should be.

P.s. for some reason, i just cant deodex my rom. I have tried the kamome tool versions, tried downloading deodex zips from various sources but to no avail. I always get a bootloop!
[Sony Cross-Device Development Themes and Apps] olokos:
Try to flash a different ftf or flash stock deodexed and rooted rom as a zip.
[Sony Cross-Device Development Themes and Apps] albertobom:
Please make this to firmware .133

Enviado desde mi C6903 mediante Tapatalk
[Sony Cross-Device Development Themes and Apps] MustaqAhmed:
Thanks for this I've been waiting for this fix... First I Uninstall framework and then I disabled Xperia Xposed and then I flashed this mood.. everything is working fine fast... but if I install both framework and Xperia Xposed again will there be lag again?
[Sony Cross-Device Development Themes and Apps] funky0308:
Ask or suggest to [MENTION=3989065]serajr[/MENTION] to build one Xperia Xposed version without superuser MOD.

I know serajr answered to that question about enabling superuser but he didn't said / confirm this:

If you install XX module, restart device and enable only systemUI, Home or maybe even nothing - is superuser MOD activated or not?

So, if "system" isn't enabled in XX module is services.jar patched?

I think it is, I think it patch services.jar as soon as you enable whole module, it's not necessary to enable "system" for that.
[Sony Cross-Device Development Themes and Apps] MustaqAhmed:
I enabled both framework and Xperia Xposed again and it's not working
[Sony Cross-Device Development Themes and Apps] olokos:
I will, really soon. Today I'm coming back home and I'll most likely also update to .133, even if I won't then I guess that somebody posted that services.jar file in my thread. :)

It's possible as camera is passed by services.jar and then the xposed module tries to get the bypass again which might not influence the CPU that bad itself as the entire signature is already reported as "ok". That's my guess.
[Sony Cross-Device Development Themes and Apps] MustaqAhmed:
sorry bro for the first couple of times it worked fast then it started again to give same problem... I think we have to disable the framework...
[Sony Cross-Device Development Themes and Apps] pojhe:
[MENTION=4300205]olokos[/MENTION] I think it need to be deodex as service.jar got odex file. Correct me if I'm wrong.
[Sony Cross-Device Development Themes and Apps] saintgein:
If i remember it right, which is quite certain. I had to mark superuser mod to use it in the first place. Afterwards it wouldn't be unmarked again, even after the reïnstall.
[Sony Cross-Device Development Themes and Apps] funky0308:
Yeah...I think you are right.
[Sony Cross-Device Development Themes and Apps] pojhe:
Lag

Still got lag after fresh install without serajr xpose module. Tested on z1c
[Sony Cross-Device Development Themes and Apps] olokos:
It's unrelated to the superuser mod at all then in your case. I see you have other xposed mods installed. I'd suggest you to try disabling that custom navbar icons module first.
[Sony Cross-Device Development Themes and Apps] pojhe:
Thanks! Actually I forgot to clear data each of camera apps after flash 4k & timeshift mod. Now everything is fine.

P/s : that nav bar is from android L theme.
[Sony Cross-Device Development Themes and Apps] pojhe:
Try kamome v5.

---------- Post added at 07:49 PM ---------- Previous post was at 07:42 PM ----------

Try kamome v5.
[Sony Cross-Device Development Themes and Apps] MARKOZD15:
Hello everybody, I need help, I'm using 4.4.4 108 update on my Z1 C6903, deodexed with xposed framework and few modules, including Serajr Xposed (which enables superusermod by default), I'm little bit confused about installation process of this mod, so can anyone help me with this!? Step by step what should I do? I already made backup in TWRP...

Thanks in advance
[Sony Cross-Device Development Themes and Apps] guybrush2099:
disable superuser mod from serajr module

flash the zip file in TWRP

enjoy :o
[Sony Cross-Device Development Themes and Apps] Horayken:
Awesome mod!!! Camera now starts really fast! Thanks a lot.
[Sony Cross-Device Development Themes and Apps] Pandemic:
Disable superuser mid cant be disabled in Xperia Xposed by [MENTION=3989065]serajr[/MENTION]

Then you need to uninstall it !

Send from my XZ With My Own Personal Modified MoonWalker SuperB !
[Sony Cross-Device Development Themes and Apps] zyxel25:
Does this work on .118?
[Sony Cross-Device Development Themes and Apps] olokos:
That's for .108 fw. Upload the files for .118 fw if it exists and I'll make that mod for that firmware. Not that hard.
[Sony Cross-Device Development Themes and Apps] guybrush2099:
you can disable it:

- simply disabling "system" function from the module (the button/switch upper than the superuser mod specific option);

- disabling the entire module from xposed list of modules, but you have to disable before and after you have flashed the mod in the op (or you have to disable like the previous post the system function only from serajr's module options (which includes superuser mod))
[Sony Cross-Device Development Themes and Apps] SamadiPour:
So it don't work for .133?

Can We make this for ourselves?

Sent By Golden Eye
[Sony Cross-Device Development Themes and Apps] olokos:
There's a link in this thread that will let you know what to do if you want this for .133 fw. First post of it to be exact.
[Sony Cross-Device Development Themes and Apps] edgaras85:
I can't make it by myself, can you help me and please make for .133?
[Sony Cross-Device Development Themes and Apps] dontbelive:
Pls can you do a version for odexed users, I would love,I don't want to change to deodex cuz I will lose lot of system apps I installed manually specially my sound mods and I want to continue my work ofc,,

With xposed I also notice camera get so much slow now I deinstallieren whole xposed stuffs, and want this mod but for odexed pls I would be so much thankful
[Sony Cross-Device Development Themes and Apps] CM17X:
Just by disabling "System" option on Seraj mod is safe to install this superusermod and succeed?

By the way, the file say it's for 6903, would work on 6906?
[Sony Cross-Device Development Themes and Apps] ilos:
Maybe it's just me but...

After uninstalled serajr superuserMod and flashing this one, Camera load faster but... Timeshift and 4K mod not working anymore ( even camera cache wiped and 4k mod flashed again )
[Sony Cross-Device Development Themes and Apps] olokos:
You haven't flashed this mod then. What do you mean it's not working? What's your phone and firmware?

You'd be better off to upload your file according to my tutorial in the thread that I linked in the first post. Just disabling system in serajr module won't really disable xposed superuser mod.

I actually think that this will work on odexed rom. :)

Read the first post of this thread please.
[Sony Cross-Device Development Themes and Apps] ilos:
[MENTION=4300205]olokos[/MENTION]: firmware 108 (odexed), C6903 Z1

Timeshift and 4k mod Forceclose if superuser mod of serajr is off.

What i've done is:

1- removed serajr xposed superusermod.

2 - flashed your zip in TWRP recovery

3 - flashed 4k/timeshift mod

Wiped cache / dalvik

Reboot

I've cleared cache of camera before 1st load, but no luck 4k mod not working.

After serajr mod installed again, 4k mod working.

Envoyé de mon Xperia Z1
[Sony Cross-Device Development Themes and Apps] olokos:
You're doing something wrong, your recovery fails to flash the zip or something else as I'm only using this mod with 4k & 120fps.

Mqybe try to re-download the zip. I got no report that's not working from anyone before.
[Sony Cross-Device Development Themes and Apps] ilos:
You was right [MENTION=4300205]olokos[/MENTION], redownloaded zip and flashed with another recovery just in case (Philz) and now all working great :)

Thanks for your support and prompt reply !

EDIT : badly same problem... FC without serarj mod installed on odex stock ROM...

Envoyé de mon Xperia Z1
[Sony Cross-Device Development Themes and Apps] olokos:
You're welcome.
[Sony Cross-Device Development Themes and Apps] Dadovvv:
[MENTION=4300205]olokos[/MENTION] are u sure it will work on odexed rom? if your zip contain services.jar with classes.dex and flashing these on odex rom, there wil remain services.odex.jar which will cause bootloop. And i think, using only services.jar deodexed on odex framework will not work.. Correct me if im wrong.
[Sony Cross-Device Development Themes and Apps] edgaras85:
[MENTION=4300205]olokos[/MENTION] i used services.jar posted by albertobom in that thread and got in infinite bootloop.
[Sony Cross-Device Development Themes and Apps] olokos:
AFAIK only apk files can be odexed. The file that I modify is .jar thus it's not being odexed as it's already fast.

You could read before taking action. I want you to send stock files to me in that thread so I could modify them for every device/firmware and then share modded files here for everyone to flash.
[Sony Cross-Device Development Themes and Apps] pojhe:
Superuser mod manual method

Just do it by yourself for different version of rom.

refer to this link..

I've done it with successful. the truth is you need to deodexed to make this work.

http://xdaforums.com/showthread.php?t=2458144
[Sony Cross-Device Development Themes and Apps] Dadovvv:
In stock untoched rom system/framework/.apk and .jar is odexed to, and first stage if someone want to deodex some rom is to deodex whole framework folder first (all jar and apks file). As i can see your patched services.jar is deodexed because it contains classes.dex file inside and it will not work on odex rom.
[Sony Cross-Device Development Themes and Apps] CM17X:
I'm on stock .108,but I have superusermod. Does my service.jar still intact or wouldn't work for upload?
[Sony Cross-Device Development Themes and Apps] olokos:
Interesting, can you send me a screenshot or something of a odexed jar file?

Depends how it's deodexed. If with serajr's module, then your services.jar is 100% stock. If you have flashed some other zip with superuser mod then I'm quite sure it's changed.
[Sony Cross-Device Development Themes and Apps] Dadovvv:
[MENTION=4300205]olokos[/MENTION] here u go
[Sony Cross-Device Development Themes and Apps] pojhe:
You're right man! same as I thought. I also found the services.odex file for services.jar.
[Sony Cross-Device Development Themes and Apps] Dadovvv:
its nothing strange, almost all device and all stock rom have odexed framework file.

The point is that service.jar deodexed cant work in framework odexed
[Sony Cross-Device Development Themes and Apps] pojhe:
Actually I found it before, but seems like everyone ignore it.
[Sony Cross-Device Development Themes and Apps] CM17X:
I deodexed ny rom with a RHBH zip, but the suoermod was done with seraj Module. Still work?
[Sony Cross-Device Development Themes and Apps] Dadovvv:
il can make service.jar odex back if [MENTION=4300205]olokos[/MENTION] give me a premission for file..so we could use this patch on odexed rom (some ppl love odex like me :D )
[Sony Cross-Device Development Themes and Apps] ruggyboss:
Well actually, I really think there's no need of it :') always been odexed, never faced issues with this mod/4k and tsv mod..
[Sony Cross-Device Development Themes and Apps] ilos:
it's probably why i had problems with this services.jar and 4K mod on odex rom. I've deodexed yesterday and now all working great.
[Sony Cross-Device Development Themes and Apps] ruggyboss:
Guys this is so weird.. Is it normal that some of us (odexed) are having problems while everything always worked for me? (odexed too)
[Sony Cross-Device Development Themes and Apps] ilos:
you confirmed that no Serarj xposed addon is installed ? even OFF ? if yes, it's really weird...
[Sony Cross-Device Development Themes and Apps] olokos:
If the camera isnt lagging for you then it worked. I'd still disable serajr's module, but if it works without lags then theres no point :)

Well, carry on if you really want it, but i see no point in that :)
[Sony Cross-Device Development Themes and Apps] dontbelive:
It don't really work on odexed
[Sony Cross-Device Development Themes and Apps] JTTS1:
confirm. :(
[Sony Cross-Device Development Themes and Apps] CM17X:
Sadly the camera takes too much time to open, and thatsbwhy I want to try your superusermod, but I'm.not clear about what to disable or enable. I want to keep the advance powermenu, thats for sure.
[Sony Cross-Device Development Themes and Apps] Dadovvv:
Can u send me a screenshoot of your framework folder where i can see your services.jar file?

EDIT: Or anyone who said that this patch work on odex i would like to see services.jar screenshoot pls.
[Sony Cross-Device Development Themes and Apps] olokos:
Disable serajr module then and use some other module to get advanced powermodule.
[Sony Cross-Device Development Themes and Apps] ruggyboss:
I AM using serajr mod, supermod enabled... But after flashing this mod too (yeah I'm using them both :D), Camera opens in 1 sec, instead of the 4 seconds it took before
[Sony Cross-Device Development Themes and Apps] ruggyboss:
This is it.. Or you was asking for something else? :/
[Sony Cross-Device Development Themes and Apps] ilos:
So you have the same thing than me previously.

If you disable serajr mod, 4k mod will not work even you have flashed this mod coz like me you are odex. Give a try by uninstalling serajr mod and you will see [emoji6]

I've deodexed my rom and now supermod provided by OP work perfect without serajr mod. 4k work too.

Envoyé de mon Xperia Z1
[Sony Cross-Device Development Themes and Apps] Dadovvv:
Deleted
[Sony Cross-Device Development Themes and Apps] olokos:
Added C6906 firmware .108 file. Please backup /system before flashing as I need confirmation that it worked :P of course only for C6906 devices. Please upload more files for me in this thread!