FORUMS
Remove All Ads from XDA

[z1 z1c z2 z3 z3c] - Xperia System/Camera Package and Guide on clean installing a ROM

126 posts
Thanks Meter: 131
 
By mxperial, Senior Member on 14th July 2018, 01:37 AM
Post Reply Email Thread
Hey guys, I would like to introduce the packages I've create for the CarbonROM (working on LineageOS as well, so it might be on other roms) using Magisk systemless module to get the Sony look back again on Oreo and Pie.
Also, I've prepared a comprehensive guide on flashing a CustomROM on z3c but it should help with the install process on other phones as well.

Code:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this MOD
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
* If you don't like this MOD, Stay away from this thread!
DISCLAIMER:
- Use it at your own risk
- Feel free to ask any questions
- All credit goes to the devs of each project, I just put everything together in a pack that is more helpful for new and old users in my view. Feel free to contact me anyway.

Big thanks and credits to all devs mentioned below!

MODULES:
So far the Xperia System Package Module contains:
- Last (Universal)Xperia Home by @Ben Ling
- Last Clock
- Last Clock Widgets
- Last Weather
- Last Contacts
- Last Xperia Keyboard by @omikron20
- Last Email
- Last Sony Mobile Support
- Last Xperia Movie Creator
- Last Audio Recorder
- Last Xperia Services
- Last Battery Adviser
- Last Sketch
- Last Smart Connect
- Last Sony Calculator
- Last Music
- Last Album
- Last Photo Editor
- Last Video Editor
- Last Calendar
- Movies
- Xperia XZ2 Icon pack by @Beton Style

- Last Android Messages

*The original phone from CarbonROM were kept by now. Decided to add Android Messages in this mean time while Sony Conversations is not ported.

*You can use the last Google Phone from here as well

So far the Xperia Camera Module contains:
- Xperia Camera
- Sweep Panorama
- 4K video
- TimeShift Video
- Last Creative Effect
- Last Sound Photo
- Last Style Portrait
- Last AR effect
- Last Background defocus
- Last Motiongraph

**Movie creator, ActiveClip, AR Mask and Face in Picture were removed due to incompatiblity (Not Working)
**New module is a combination of [PORT] [STOCK SONY CAMERA] [3.4] for Nougat ROMs by @opendata with the Cyberian Camera 8.0 Mod by @mkdmc . All credit goes to them!

So far the Xperia Camera Add-on Package Module contains (Discontinued):

DOWNLOAD:

- Xperia System Package Magisk Module
- Xperia Stock Camera Magisk Module [z3c]

DOWNLOAD UNIVERSAL CAMERA (SHOULD WORK ON Z1, Z1C, Z2, Z3 and Z3C):

- Xperia Stock Camera Magisk Module [uni]

*Flashable .zip is coming soon in the case you don't have/use magisk.

OLD VERSION:
- Xperia Stock Camera Magisk Module v1

- Xperia System Package Magisk Module v1.61
- Xperia Stock Camera Magisk Module [z3c] v1.41
- Xperia Camera Add-ons Magisk Module v1.11

- Xperia System Package Magisk Module v2
- Xperia Stock Camera Magisk Module [z3c] v2
- Xperia Camera Add-ons Magisk Module v2

INSTRUCTIONS:
- Install Xperia Stock Camera Magisk Module for your device [only z3c]
- Install Xperia System Package Magisk Module
- Install Xperia Camera Add-on Package Magisk Module
*If you reboot your system and didn't see the modules, just reboot your phone one more time. All done!

*Make sure that you are using the latest Magisk Version (Canary Build)

*Note that the Xperia Stock Camera Module replaces the main CR camera app while the Xperia System Pack replace all corresponded original apps on the system.

MISC:
- If you just want to add the add-ons to camera, download Xperia Camera Add-on Pack Magisk Module.
- If you miss Sony Notes you can use the last Samsung Notes which in my view is great.
- As I only have a z3c, I've only tested the module on it, but feel free to test on your device and post your feedback

KNOWN BUGS:
- Can't change the save destination to SD card
- TimeShift Video: video records works but only saves the video file on reboot.
- Video recording on 4K resolution not working, use OpenCamera instead for that by now.
- Support icon on setting is buggy on CR6.1
- Camera seems to be recording videos with 60fps instead 120fps
- HDR and Manual Exposure doesn't seems to work
- 20mp 16:9 labeled wrongly, it is actually 15.5mp 16:9
- Album recognize photos on SD card, but deleting them does not work.

*Not all features of Cyberian Camera are present in Magisk Version [z3c]

Guide: Second Post

Press the " Thanks!" button if you find this mod helpful!
Attached Thumbnails
Click image for larger version

Name:	Screenshot_Xperia_Home_20180711-125256.jpg
Views:	3984
Size:	124.3 KB
ID:	4549289   Click image for larger version

Name:	Screenshot_Xperia_Home_20180711-123619.png
Views:	3992
Size:	250.4 KB
ID:	4549290   Click image for larger version

Name:	Screenshot_Messaging_20180711-131228.png
Views:	3934
Size:	57.6 KB
ID:	4549291   Click image for larger version

Name:	Screenshot_Battery_Adviser_20180716-081602.png
Views:	3358
Size:	73.0 KB
ID:	4550931   Click image for larger version

Name:	Screenshot_Support_20180716-081635.png
Views:	3252
Size:	49.7 KB
ID:	4550933   Click image for larger version

Name:	Screenshot_Camera_20180716-081402.png
Views:	2978
Size:	163.4 KB
ID:	4550934   Click image for larger version

Name:	Screenshot_Camera_20180716-081422.png
Views:	2982
Size:	137.2 KB
ID:	4550940   Click image for larger version

Name:	Screenshot_AR_effect_20180716-082013.jpg
Views:	2838
Size:	82.6 KB
ID:	4550941   Click image for larger version

Name:	Screenshot_Camera_20180716-081535.png
Views:	2748
Size:	149.8 KB
ID:	4550942   Click image for larger version

Name:	Screenshot_Camera_20180717-080233.png
Views:	2618
Size:	72.2 KB
ID:	4551725   Click image for larger version

Name:	Screenshot_Camera_20180717-080247.png
Views:	2612
Size:	62.6 KB
ID:	4551726  
The Following 19 Users Say Thank You to mxperial For This Useful Post: [ View ] Gift mxperial Ad-Free
 
 
14th July 2018, 01:37 AM |#2  
OP Senior Member
Thanks Meter: 131
 
More
I've thought on providing a user friendly clean install tutorial here (assuming that you coming from stock):

1. Get the last CarbonROM, the last Gapps (OpenGapps ARM or MindTheGapps ARM), the last stable or beta Magisk (Installer, Uninstaller and Manager) and the last TWRP.
2. If your device is D5833 get .575 and .291 roms (however you just need the kernels), if it is D5803 skip this step.
3. Follow this tutorial to root your phone.
4. Backup your DRM keys if you want (I personally like to backup them)
5. Now unlock your Bootloader using Flashtool (get the unlock code from here if you don't have it)
6. After get your bootloader unlocked flash again .291 rom
7. Get Minimal ADB and Fastboot
8. Copy the TWRP that you download to the Minimal ADB and Fastboot folder (C:\Program Files (x86)\Minimal ADB and Fastboot)
9. Run Minimal ADB and Fastboot as admin
10. Connect your phone in fastboot mode (press volume up and connect the usb cable)
11. In Minimal ADB and Fastboot type fastboot flash FOTAKernel <"twrp_name">.img and hit enter
12. If everything were OK type exit and hit enter
13. Now press volume down and the power button at the same time to boot in the recovery, when the phone vibrates release the power button, when the light came out release the volume down button. thanks @casouzaj for this post.
14. Click on Wipe, Advanced and select and clear Everything (Dalvik/ART Cache, system, cache, Data, Internal Storage)
15. Go back and click on Install, find and install CarbonROM
16. Go back and click on Install, find and install Gapps
17. Go back and click on Install, find and install Magisk
18. Go back and click on Install, find and install Image Enchament and Smart Technologies (Optional - I installed but not sure if it is doing anything)
19. Go back and click on Install, find and install Oreo-XZ2-DisplayMod-for-XZ-XZs-XP (Optional - I installed but not sure if it is doing anything)
20. Reboot to system
21. Upgrade Magisk Manager (Swipe up on the main screen, find and open Files app, click on the on top left, select SD card, find Magisk Manager apk)
22. Open Magisk Manager and install SONY XPERIA XZ2 SOUND SYSTEM™ by @sirdoha (v1.35 Magisk recommended) (not necessarily anymore)
(Quick guide: Open Magisk Manager, click on the on top left, click on Modules, click on the "+" button on the center of the screen, give its permissions, search for the file and click on it).
23. Remember, after install any Magisk module, reboot your system, otherwise it will not get installed properly. (At least I've tried to flash many modules at once and it didn't work)
24. Install the right Sony Stock Camera Magisk Module on your device (Camera button acts just like in Sony Stock ROMs).
25. Install the right Xperia System Pack Magisk Module.
26. Install Xperia Camera Add-on Package Magisk Module.
27. If you want to boost your torch get the Magisk Module from here
28. Reboot. Done!
*If you reboot your system and didn't see the modules, just reboot your phone one more time. All done!

Congrats, welcome to the CustomROMs world. Now you need to set somethings up: 3rd Post

Press the " Thanks!" button if you found this tutorial helpful!
The Following 16 Users Say Thank You to mxperial For This Useful Post: [ View ] Gift mxperial Ad-Free
14th July 2018, 01:39 AM |#3  
OP Senior Member
Thanks Meter: 131
 
More
To get more of stock sony stuff:
1. Go to settings, Sound, select your favorite ringtones
2. Go to settings, system, Languages & Input, Virtual Keyboard and select Xperia Keyboard
3. Long press on Xperia Home, Settings, Icon Appearance and select Xperia XZ.
4. Get one (or more) Xperia Wallpaper (Download and move to your internal/external storage the Static Wallpapers; for the live wallpapers just install it as a normal apk):
- Xperia 10 and 10+ Static Wallpapers.
- Xperia XZ3 Wallpapers.
- Xperia XZ2 Stock Wallpapers (go for the Static ones).
- Xperia XZ1 Stock Wallpapers.
- Xperia™ Live Wallpaper 3.1.A.0.1.
- Xperia™ Live Wallpaper 2.1.A.0.19.
- AmbientTime Live Wallpaper.
- Cosmic Flow Live Wallpaper.
After that, long press on Xperia Home main screen, select Wallpapers, find, select one and apply it.
5. Install one Xperia Bootanimation:
- Xperia 10 bootanimation Magisk Module.
- Xperia XZ2 bootanimation Magisk Module by @okij use 720p version.
- Xperia X Black bootanimation Magisk Module based on original 720p version of @chitshiv
- Xperia X White bootanimation Magisk Module based on original 720p version of @chitshiv
Reboot.
To improve battery life:
1. Enable Support for Multi-Core Power Saving on Kernel Adiutor, don't forget to enable apply on boot.
2. Install Enable Doze for GMS Magisk Module (Find it searching in the Download menu) by @otonieru
3. Install Greenify4Magisk Module (Find it searching in the Download menu) by @abacate123
4. Reboot.
5. Go to settings, Connected devices (, Connection Preferences on CR7) and turn off NFC (if you don't use it)
6. Go to settings, fibers, Gestures, untick Jump to camera
7. Go to settings, Display (, Advanced on CR7) and untick Tap to wake
If you want to try other camera apks, here is listed few of them who actually works:
1. Nokia Camera with PRO mode ported by @linuxct (stick with 8.1041.71 version, new version doesn't work).
2. Google Camera
3. HTC Camera
Optionals:
1. Install LOS Recorder Magisk Module by @oF2pks. Reboot.
2. Install MagiskHide Props Config Module (Find it searching in the Download menu) by @Didgeridoohan . Reboot.
3. Go to settings, fibers, system, power menu, enable screenshot.
4. Go to settings, fibers, system, Enable memory bar and Custom clear all button
5. Go to settings, fibers, Lock Screen, Display charging info
6. Install Google Markup app by @Quinny899

Press the " Thanks!" button if you found this tutorial helpful!
The Following 5 Users Say Thank You to mxperial For This Useful Post: [ View ] Gift mxperial Ad-Free
14th July 2018, 01:39 AM |#4  
OP Senior Member
Thanks Meter: 131
 
More
reserved
14th July 2018, 07:52 AM |#5  
Member
Thanks Meter: 15
 
More
Man, thanks, this is nice!
Since video editor is not; is there a way to actually make timeshift video work this far?
Kind regards
14th July 2018, 10:49 AM |#6  
Senior Member
Thanks Meter: 45
 
More
camera modules dont work on xzp carbon rom,,camera used by other application,sony keyboard fc,other things work good.
14th July 2018, 10:55 AM |#7  
linuxct's Avatar
Recognized Contributor & Social Contributor
Flag BCN
Thanks Meter: 5,706
 
Donate to Me
More
> me, being a former Sony Xperia developer, sees a mention in a Sony Cross device development thread
> thinks some tool I made back in good old times was used in the thread

Quote:
Originally Posted by mxperial

Optionals:
1. Install Nokia Camera with PRO mode ported by @linuxct.

🤦🏻

Still, thanks for giving credits for it, and for using it in your thread.
The Following User Says Thank You to linuxct For This Useful Post: [ View ] Gift linuxct Ad-Free
14th July 2018, 11:31 AM |#8  
OP Senior Member
Thanks Meter: 131
 
More
Quote:
Originally Posted by claudiobar

Man, thanks, this is nice!
Since video editor is not; is there a way to actually make timeshift video work this far?
Kind regards

Yep, have to look at video editor as it was kinda working but it was giving many FCs.
I coudn't get timeshift video working as well by now, have to look closely to it as well.
Cheers!
14th July 2018, 11:38 AM |#9  
OP Senior Member
Thanks Meter: 131
 
More
Quote:
Originally Posted by muphetz

camera modules dont work on xzp carbon rom,,camera used by other application,sony keyboard fc,other things work good.

Thanks for letting me know.. Cheers!
15th July 2018, 02:26 PM |#10  
BladeRunnerA2C's Avatar
Senior Member
Flag Thakurgaon
Thanks Meter: 83
 
More
Anybody using this in Xperia Z2?

Sent from my Xperia XZ2 using XDA Labs
16th July 2018, 01:10 PM |#11  
OP Senior Member
Thanks Meter: 131
 
More
Quote:
Originally Posted by BladeRunnerN5A

Anybody using this in Xperia Z2?

Sent from my Xperia XZ2 using XDA Labs

Could you give it a try and let me know the outcome? I suppose yes since z2, z3 and z3c are very close devices... Cheers!
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes