[Help requested] Options for Root and Xposed on XZ1C - Sony Xperia XZ1 Compact Questions & Answers

Just ordered my XZ1C and looking forward to joining this community!
I'm looking to root and install systemless xposed (Magisk) on the XZ1C while keeping camera functionality equivalent to stock quality. It would be great if the solution allows me to keep current with new ROM versions (primarily for security updates). What is less important:
- Ok with either stock or custom ROMs (access to ongoing security updates most important)
- Know that DRM keys will be gone forever (but as long as camera functionality still there, that's fine)
- Ok with using any camera app (stock, gcam, etc.) as long as it retains quality similar to stock
After trawling through this and the XZ1 forum, I believe there are 3 options to achieve what I need (root and xposed), and would like advice from the community on pros/cons of each of the following:
1. Custom ROM with DRM fix included: Unlock bootloader, install TWRP, install custom ROM which comes with DRM fix (e.g. @modpunk 's LineageOS, @russel5 's RR or AOSP)
2. @janjan 's kernel: Unlock bootloader, update to latest compatible stock firmware using flashtool, install janjan's DRM fix kernel
3. Xperifix: "automated" black-box solution and fingers crossed that it works
Any recommendations on which option would be best for me given my objectives? Thanks!

You can use my stock mod. Ddmfix included, superuser mod, deodexed, on the last page of thread you can find fix for xposed

wyt18 said:
Any recommendations on which option would be best for me given my objectives?
Click to expand...
Click to collapse
russel5's rom is pretty amazing, full of features and falls into number 1 on your list.
2 and 3 refrence stock roms with either a fixed kernel or automated flashing of all the files you need.
The stock camera is best and as much as I am tempted by rr, I don't think it beats stock camera software for pictures. So I'd say a lot of your decision has to do with how much you like taking pictures?
The stock firmware from April .75 is the last firmware that works with Xposed and one of your problems will be finding a copy of that to flash and downgrade your new arrival.
You might need to get janjan's old (.75) kernel from github as he is only showing the latest 16.20 on his thread.
I get moaned at for promoting Xperiafix because it's paid software, but it's a one stop shop, it does everything and it's so easy. It has worked smoothly every time I've used it
Depending on your skillset and how many files you want to find and flash Vs one program.

Didgesteve said:
russel5's rom is pretty amazing, full of features and falls into number 1 on your list.
2 and 3 refrence stock roms with either a fixed kernel or automated flashing of all the files you need.
The stock camera is best and as much as I am tempted by rr, I don't think it beats stock camera software for pictures. So I'd say a lot of your decision has to do with how much you like taking pictures?
The stock firmware from April .75 is the last firmware that works with Xposed and one of your problems will be finding a copy of that to flash and downgrade your new arrival.
You might need to get janjan's old (.75) kernel from github as he is only showing the latest 16.20 on his thread.
I get moaned at for promoting Xperiafix because it's paid software, but it's a one stop shop, it does everything and it's so easy. It has worked smoothly every time I've used it
Depending on your skillset and how many files you want to find and flash Vs one program.
Click to expand...
Click to collapse
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?

wyt18 said:
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?
Click to expand...
Click to collapse
As far as I'm aware there's no way a stock rom 16.20 will work with Xposed. There are several custom roms that are updated to 16.20, but still pull historical parts of the framework with them to make Xposed work.
Xperiaifx will work on .75 firmware. It will install TWRP, Magisk and the fix. Once you have Magisk on it you can install the Xposed framework module (SDK26)
The Sony camera has many addons, I don't know about portrait.
Google camera works on russel5's rr, but again the quality isn't up to stock.
Having been through the pollava of unlocking and rooting my phone, I'd say the advantages don't outweigh the effort and problems. Every time there's an update to the firmware, which is quite often with Sony, you have to wait and hope some nice developer is going to make the files you need to keep up to date. Then go through a long proccess with downloading the new firmware with Xperiafirm, then flashing with Newflasher and then whatever files you need to reflash from the developer. You'll never get OTA updates again. Having a rooted phone is a pain in the neck.

Didgesteve said:
As far as I'm aware there's no way a stock rom 16.20 will work with Xposed. There are several custom roms that are updated to 16.20, but still pull historical parts of the framework with them to make Xposed work.
Xperiaifx will work on .75 firmware. It will install TWRP, Magisk and the fix. Once you have Magisk on it you can install the Xposed framework module (SDK26)
The Sony camera has many addons, I don't know about portrait.
Google camera works on russel5's rr, but again the quality isn't up to stock.
Click to expand...
Click to collapse
Thats not right, I use now firmware 16.20 with janjans kernel and russel5's xposed fix (https://forum.xda-developers.com/showpost.php?p=77778634&postcount=47) it works, and I'm very happy with it. Thanks to janjan and russel5 for his xposed fix (and mod)

Good news

d_fens said:
Thats not right, I use now firmware 16.20 with janjans kernel and russel5's xposed fix (https://forum.xda-developers.com/showpost.php?p=77778634&postcount=47) it works, and I'm very happy with it. Thanks to janjan and russel5 for his xposed fix (and mod)
Click to expand...
Click to collapse
hi @d_fens. how did you go about installing this system less xposed fix on your stock oreo 16.20? should i do the following:
1. stock oreo 16.20
2. flash magisk via twrp.
3. boot into phone and copy xposed fix into /system/framework/
4. then flash systemless xposed via twrp?
thanks

wyt18 said:
Thanks!
- so seems like between Xposed and having the latest security updates, I have to choose one of the two. Or might there be a workaround for Xposed on the 16.20 stock rom?
- with xperifix, can one achieve Xposed? (Whether on latest or downgraded rom?)
- purchased this phone partly for the camera, so I will go with stock rom if that has the best quality. Does stock rom also have a portrait or lens blur mode similar to google cam?
Click to expand...
Click to collapse
i used janjan's mod to get systemless root on stock. with this you are able to update using newflasher all the latest roms with security updates provided by Sony
you don't have to choose between xposed and the latest security updates:
for xposed, i've tried both Taichi Magisk (taichi.cool) and Virtual Xposed (also via Magisk). both work fine but Taichi is a smoother implementation (only activates xposed for those apps that you whitelist). it is however not open source (yet), though this was not a concern for me. also, it supports not all xposed apps but a subset
the xposed modules that i absolutely needed to have are all working on Taichi: Xposed Edge, CorePatch, AppContext, WeXposed, God Mode

sabotage154 said:
hi @d_fens. how did you go about installing this system less xposed fix on your stock oreo 16.20? should i do the following:
1. stock oreo 16.20
2. flash magisk via twrp.
3. boot into phone and copy xposed fix into /system/framework/
4. then flash systemless xposed via twrp?
thanks
Click to expand...
Click to collapse
yes that`s the way, which worked for me

Related

Any resources to make Xposed work on One Plus One?

I have a new phone One Plus One with me. I don't have any custom ROM in it. Neither do I have it rooted. Is there any online tutorial on how to get Xposed working on this phone?
TVwithParents said:
I have a new phone One Plus One with me. I don't have any custom ROM in it. Neither do I have it rooted. Is there any online tutorial on how to get Xposed working on this phone?
Click to expand...
Click to collapse
Without root - no Xposed for you. Furthermore I would suggest to check the OnePlus One sub-thread here on XDA, there is a high chance that this topic has already been covered.
You'll absolutely have to root. There's no way around it. Depending on the modules, you can maybe unroot after, but you'll definately need to be unlocked and have a custom recovery, and would not accept any OTA updates after you install it. I am running xposed on my 1+1 right now with slimrom and AK kernel.

[Guide] Install Xposed/Rooting Op3 Open Beta 7

Looking for Xposed on open beta 7
Well I HV got you covered with this simple short Guide
Many people get error / status 1 wile flashing normal Xposed.zip
This method will install magisk and Xposed framework
First download files which are required:
Magisk V9: Click Here
Xposed Installer zip: Click Here
PhhSuper user zip: Click Here
PhhSuper user : Click Here
Xposed installer: Click Here
Twrp Modified: Click Here
Now Flash
1)Modified Twrp
2)Magisk V9
3)SuperSu (Optional)
4)And Xposed Installer zip
5)Reboot ( First reboot will take some time )
Install PhhSuper followed by Xposed installer apk
Done
* Xposed is not fully compatible with Nov Security Patches yet, so some modules would end you up in a bootloop!!
You can though update to latest version of Xposed(System less) via the app itself.
System will reboot twice when you flash SuperSU
Rovo89 has released new Xposed framework version that works with latest beta built v7 of OOS. I've just tried it and it work.
First uninstall few unwanted apps which you don't use if you get error like no space etc..
This new build will not give bootloop. It works with Nov 1 patch!.
!!!!This is a test version risk is all on you don't blame me.!!!
http://dl-xda.xposed.info/framework/sdk23/arm64/xposed-v87-sdk23-arm64-test1.zip
​
Can someone confirm that xposed works correctly?
bludestiny said:
Can someone confirm that xposed works correctly?
Click to expand...
Click to collapse
Only certain modules work like youtubeadaway, certain ones will won't let you pass the boot screen, like greenify xposed
A few steps are missing !
- Flash your favorite kernel on top of this.
- Finally enjoy the best performance and battery life on your phone.
Oops I almost forgot the final step !
- Complain to the kernel developer and ask him to fix:
....the battery drain.
...the slow fingerprint reader
...the phone overheating
...the random reboots
...the weak wifi signal
...any strange behaviour that needs fixing
Any list of working modules ?
fuukinguy said:
Only certain modules work like youtubeadaway, certain ones will won't let you pass the boot screen, like greenify xposed
Click to expand...
Click to collapse
I know that but my question is: does this method bypass Google's November Security Patch? Xposed doesn't work for this reason..
bludestiny said:
I know that but my question is: does this method bypass Google's November Security Patch? Xposed doesn't work for this reason..
Click to expand...
Click to collapse
No it doesn't..
fuukinguy said:
No it doesn't..
Click to expand...
Click to collapse
Thanks! so..If Xposed cannot work, this thread explains wrong procedures...Moderate please..
i always have bootloop issue when i trying boot after instalation GravityBox
_Man0waR_ said:
A few steps are missing !
- Flash your favorite kernel on top of this.
- Finally enjoy the best performance and battery life on your phone.
Oops I almost forgot the final step !
- Complain to the kernel developer and ask him to fix:
....the battery drain.
...the slow fingerprint reader
...the phone overheating
...the random reboots
...the weak wifi signal
...any strange behaviour that needs fixing
Click to expand...
Click to collapse
This post was not required at all IMO. Flashing and using Xposed is totally one's choice and people are totally aware that Xposed means no support from kernel/ROM devs. But why this unrequired bashing?
abhibnl said:
This post was not required at all IMO. Flashing and using Xposed is totally one's choice and people are totally aware that Xposed means no support from kernel/ROM devs. But why this unrequired bashing?
Click to expand...
Click to collapse
I totally agree that people have the choice to flash and install whatever they want, this is certainly the main reason why we love android. However many people root, flash Xposed and more recently magisk without understanding the implications. Those are amazing pieces of software, really powerful and I have a huge respect for the developers. However I don't think anyone should flash those without a basic understanding of what they do to the system. (And why it means no support from kernel/ROM devs).
My post was mainly a parody of the current discussions in the forums. Simply, look at this thread, it's supposed to be a guide to help people and make things easier for everyone. Most of the replies should be something like 'thanks it works great', not confused people or with issues (like bootloops for example....)

Conused about Xposed on Touchwiz, Nova launcher, Marschmallow

Hello
I'm a little confused about xposed and modules on stock rom for Galaxy S5. May be someone can answer my questions.
I rooted my G900F, Marschmallow 6.0.1 and installed TWRP. Then I installed Xposed Framework V89. On my phone is the stock rom installed. I used Touchwiz UI, but changed to Nova launcher.
Now, I read warnings about bootloops while using Xposed with Samsung devices. I wonder if this affects my device too.
1. Since I use Nova Launcher, is Touchwiz still an possible issue?
2. Is Xposed by itself the 'danger' part or are it the modules? So far I installed one module. Everything works fine.
3. When I open Xposed Installer version 89 there is a warning: There seems to be a known Issue (Samsung Touchwiz Rom) with your Rom. Install Xposed might not work or lead to severe problems.
If my phone is affected, what is the best possible way to avoid potential issue? I red there are unofficial Xposed versions which are modified for samsung stock roms. But I couldn't find any.
Others say, newer version are fine for my phone.
XtraWater said:
1. Since I use Nova Launcher, is Touchwiz still an possible issue?
2. Is Xposed by itself the 'danger' part or are it the modules? So far I installed one module. Everything works fine.
3. When I open Xposed Installer version 89 there is a warning: There seems to be a known Issue (Samsung Touchwiz Rom) with your Rom. Install Xposed might not work or lead to severe problems.
If my phone is affected, what is the best possible way to avoid potential issue? I red there are unofficial Xposed versions which are modified for samsung stock roms. But I couldn't find any.
Click to expand...
Click to collapse
Nova launcher it's just a launcher, samsung phones ARE touchwiz, not the launcher itself.
Xposed it's the dangerous part, since it's something that edits your phone. Obliviously, if you install incompatible modules that hurts too, just pay attention to install compatible ones.
With a 5sec. search, you can find this thread.
I don't know if newer versions of official xposed are compatible with touchwiz roms, but in this thread there are the unofficial versions that are 100% compatible with yours, just read and download the correct zip.
TENN3R said:
Nova launcher it's just a launcher, samsung phones ARE touchwiz, not the launcher itself.
Xposed it's the dangerous part, since it's something that edits your phone. Obliviously, if you install incompatible modules that hurts too, just pay attention to install compatible ones.
With a 5sec. search, you can find this thread.
I don't know if newer versions of official xposed are compatible with touchwiz roms, but in this thread there are the unofficial versions that are 100% compatible with yours, just read and download the correct zip.
Click to expand...
Click to collapse
Thank you. Very helpful.
On the thread you linked is an download link. The latest version is xposed-v87.1-sdk23-arm-custom-build-by-wanam-20161125.zip
That's exactly the version I installed first. Later I updated it trough the xposed installer to version 89. Should I rather downgrade to the v87.1 version, or is the new installed 89version a custom build by wanam anyway?
I couldn't figure out which version (modified or not) is right now installed.
XtraWater said:
Thank you. Very helpful.
On the thread you linked is an download link. The latest version is xposed-v87.1-sdk23-arm-custom-build-by-wanam-20161125.zip
That's exactly the version I installed first. Later I updated it trough the xposed installer to version 89. Should I rather downgrade to the v87.1 version, or is the new installed 89version a custom build by wanam anyway?
Edit: Since couldn't find a newer version than xposed-v87.1-sdk23-arm-custom-build-by-wanam-20161125.zip, I downgraded back to this version. Now I leave it as it is.
I couldn't figure out which version (modified or not) is right now installed.
Click to expand...
Click to collapse
And the last questions. When I got the correct custom Xposed framework, can modules still screw up my phone?
XtraWater said:
And the last questions. When I got the correct custom Xposed framework, can modules still screw up my phone?
Click to expand...
Click to collapse
I'm not sure about the update. But the "normal" version should not even let your samsung phone boot up, so if it works it's ok.
Modules are not related to the official or unofficial version, I mean if you install for example gravitybox it explicitly says: "not try on touchwiz roms"
That's what I mean. Usually informations like this are in the description in the xda thread so you should be able to understand which is good for you and which not.
To add to that, in the Xposed installer, Download section, you can do searches.
Search for touchwiz or samsung to get some results that may let you know if certain modules are for, compatible with, or not for your setup.
The module descriptions in the installer are similar to the OPs of the various module threads. Might make it a little easier initially to get an overview. Then you can go to various module threads if you have questions concerning them.
ZTE Axon 7 A2017U, AospExtended v4.6 ROM, microG (NoGapps), Multiboot, Tapatalk 4.9.5

Question on options for custom Android 9 or 10 ROM

Hello!
Any custom Android 9 or 10 ROM which has all of these features (and works well overall)?
1. Working GCam OR full stock camera (any of the two is fine);
2. Working camera button;
3. Night light.
Also, am I correct that the Oreo AOSP Extended has both of these options?
Thanks in advance.
landsome said:
Hello!
Any custom Android 9 or 10 ROM which has all of these features (and works well overall)?
1. Working GCam OR full stock camera (any of the two is fine);
2. Working camera button;
3. Night light.
Also, am I correct that the Oreo AOSP Extended has both of these options?
Thanks in advance.
Click to expand...
Click to collapse
As I mentioned in my other post full stock cam and Gcam GO is available in:
Linagege OS: https://forum.xda-developers.com/xp...rom-lineageos-17-1-unofficial-coming-t4047763
Havoc OS: https://forum.xda-developers.com/xperia-xz1-compact/development/rom-havoc-os-v3-6-t4113345
The shutter button works in Lineage OS, but is broken in Havoc. But you can use the double tap to open camera gesture.
Also Gcam Go is a lite version of Gcam with only portrait mode (not yet working) and HDR+ available. Hopefully more features will be ported by developers.
Night light is available in both ROMs. Others I have not tried.
Hopefully this helps.
Thanks a lot. That's very useful.
Hi again. I noticed one can install LOS17 starting from the latest (and probably last) firmware. I assume this entails losing DRM keys. Are they worth saving anymore?
landsome said:
Hi again. I noticed one can install LOS17 starting from the latest (and probably last) firmware. I assume this entails losing DRM keys. Are they worth saving anymore?
Click to expand...
Click to collapse
As far as I know there is no photo comparison album comparing camera quality going from a DRM restored firmware and non DRM restored firmware so I don't know how much of a difference it makes.
But the ROM developers do recommend backing up DRM as it is might come in useful in the future or if you want to go back to stock. Based on what I have seen in the Lineage OS thread it is unknown why the camera works without DRM.
I would recommend backing it up since once it is lost it is lost, and restoring it to the official firmware before flashing a custom ROM guarantees that you have the best possible camera quality.
As addition info:
As far as I know there is no way to re-lock the bootloader which might make it harder to sell it so if you are planning on selling I would not recommend unlocking the bootloader.
Otherwise, happy flashing!
Wise advice about the drm. Thanks again.
MDomokos said:
Otherwise, happy flashing!
Click to expand...
Click to collapse
I made the switch to LOS 17. It took me some 5 hours to downgrade to Oreo, save DRM, switch back to Pie and then install a fully-working LOS (the first two installs generated some issues with both cameras - the stock Sony did not focus or take photos at all, while the stock LOS was not saving pics - and with the SD); but it then finally worked (procedures followed were the same every time, go figure).
Also, I lost my attest keys in the process of downgrading to Oreo (although I did remove all persist and *.ta files before flashing); and the camera was black after this downgrade - but then the procedure worked eventually and the camera came back fully featured in Pie, somehow. Again, go figure.
All in all, I am happy for the switch and the LOS 17 is absolutely great. Will definitely buy modpunk a beer.
Now, if only there was an equally good procedure and ROM for my other phone, the xz2c, which Sony ruined with the upgrade to Q .
Thanks once again for the encouragement.
MDomokos said:
As I mentioned in my other post full stock cam and Gcam GO is available in:
Linagege OS: https://forum.xda-developers.com/xp...rom-lineageos-17-1-unofficial-coming-t4047763
Havoc OS: https://forum.xda-developers.com/xperia-xz1-compact/development/rom-havoc-os-v3-6-t4113345
The shutter button works in Lineage OS, but is broken in Havoc. But you can use the double tap to open camera gesture.
Also Gcam Go is a lite version of Gcam with only portrait mode (not yet working) and HDR+ available. Hopefully more features will be ported by developers.
Night light is available in both ROMs. Others I have not tried.
Hopefully this helps.
Click to expand...
Click to collapse
Does HDR+ for Gcam Go work now? Last I checked it wasn't supported.
betacrypt said:
Does HDR+ for Gcam Go work now? Last I checked it wasn't supported.
Click to expand...
Click to collapse
Not here; tried two mods and hdr does not stay selected. Photos are clearly not hdr.

Question new information regarding custom or globalrom?

I wanted to ask if there is any new information regarding a global rom or a custom rom? I would definitely be flashing it right away.
Best hope for that will be when the S version is released. According to available information it is virtually identical to the X, so the firmware might be transferable.
can't wait!
Hopefully.
I’m not sure how things will go. I would much prefer working with aosp to get a booting gsi rom personally
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Yes, of course it works and doesn't cause any problems, but I would like only the voice assistants from Google
and android auto, all the rest is ok
Android auto is dead in the game bro'
Are there any new advances?
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
lesscro said:
i suppose nothing, there is trouble with Vivo and unsecure Boootloader. Nobody seems interested by solid and friendly solution to unlock then after port a rom on this baby !
Click to expand...
Click to collapse
that's a shame. I would really appreciate a custom rom or at least a European supported rom
A multilingual ROM (like Global) who can be really adapted to our market can be nice. Anyway X Fold S is just a small update and not a global phone market.
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
AndroPlus said:
My magisk module for Android Auto and Google Assistant should work on vivo X Fold too.
[MIX Fold 2][MAGISK] Global ROM-ify module collection [Add translations, Google Assistant, Android Auto]
I decided to create a module sharing thread here. If Magisk is enabled, all modules will continue to work after the OTA update. (use "Install to Inactive Slot" method) If Magisk is disabled, the module also loses its effectiveness. Add official...
forum.xda-developers.com
Click to expand...
Click to collapse
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
domineus said:
I can confirm this works perfectly Google assistant works.
Haven't tried Android auto but I would be stunned if it didn't work
Click to expand...
Click to collapse
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
lesscro said:
You install Magisk ? With boot.img did you use ?
I install magisk and he ask me to choose an img...
I use magisk long time ago on custom rom, it was more easy...
I need to download official rom and extract boot.img ?
Click to expand...
Click to collapse
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
adb shell
su
dd if=/dev/block/by-name/boot of=/data/local/tmp/boot.img
chown shell.shell /data/local/tmp/boot.img
(After the end of adb shell)adb pull /data/local/tmp/boot.img
Click to expand...
Click to collapse
RR-99 said:
TBH I've got the X working so well now that I don't really see a huge need for a new ROM. If someone gets it working and shows a benefit then...
Click to expand...
Click to collapse
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
domineus said:
You can extract boot.img in two ways:
1. What you described
2. Use DSU Loader and pull the file out using the following commands in adb:
Click to expand...
Click to collapse
Thx for your feedback.
Does this install will wipe all data ?
lesscro said:
Thx for your feedback.
Does this install will wipe all data ?
Click to expand...
Click to collapse
When I rooted it didn’t. When I BLU I think it did
kanf77 said:
Can you share your experience with us as to what you did to get rid of Chinese and bloat sw?
Click to expand...
Click to collapse
I haven't removed any Chinese bloatware, since I didn't find it was slowing down the phone or using too much memory. Quite happy to have it just sit there instead of risking removing too much.

Categories

Resources