Hey guys!
I'm learning Android app development and decided to put the skills I learnt to some use, so here it is-
This app is for people like me who prefer the higher exposure time of the Stock HAL in low light (brighter and less noisy photos), but at the same time want to use all the features of Sultan's HAL like 4K video, etc.
It can also be used if you want to compare the two HALs or decide to revert to Stock in the future (no need to dirty flash your ROM now!).
Features:
Switch between Stock and Sultan's HAL on the fly (no reboot required!)
Backup and restore Stock HAL files (no need of a revert zip now)
Launch your default Camera from within the app
Should work on all ROMs 5.1.1 and above (EDIT: It doesn't seem to be working on OOS. Will try to fix it in the near future).
Will even work when Sultan updates his HAL
WARNING: This app is designed to run only on a rooted OPX running Android 5.1.1 and above. It might break your camera if used on any other phone!
Installation Instructions:
Install the APK file
Dirty flash your current ROM (only if you have already flashed Sultan's HAL)
Press the Backup button in the app (Status should say "Not Installed" at this time)
Flash Sultan's HAL zip from recovery
Usage:
If you're performing a clean ROM install in the future, be sure to hit the backup button within the app before flashing Sultan's HAL.
If Sultan releases an update to his HAL, be sure to switch to his HAL from within the app before flashing the updated zip.
If for whatever reason you encounter any issues, dirty flash your ROM and follow the Installation instructions again. This should fix them.
Credits:
@Sultanxda for his awesome HAL!
Note: Neither Stock HAL files nor Sultan's HAL files are included in this app
Any bug fixes, feature requests and reviews are always welcome (I'll be working on it only when I have free time).
Finally, it goes without saying- I'm not responsible for any damage whatsoever caused to your device by using this app!
XDA:DevDB Information
Camera HAL Switcher, App for the OnePlus X
Contributors
ashwinpilgaonkar
Source Code: https://github.com/ashwinpilgaonkar/CamHALChanger
Version Information
Status: Stable
Current Stable Version: 1.0
Stable Release Date: 2016-05-25
Created 2016-05-25
Last Updated 2016-05-25
XDA:DevDB Information
Camera HAL Switcher, Device Specific App for the OnePlus X
Contributors
ashwinpilgaonkar
Version Information
Status: Stable
Created 2016-05-25
Last Updated 2016-08-17
Changelog:
26th May, 2016 (v1.0)
- Initial Build
28th May, 2016 (v1.01)
- Fixed issue in which camera was broken after switching to Stock HAL.
OMG awesome mate!!
But where's the link??
animesh1558 said:
OMG awesome mate!!
But where's the link??
Click to expand...
Click to collapse
Downloads tab at the top of OP.
Really great work @ashwinpilgaonkar This will come in handy to a vast majority of people !
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Wht if im usimg sultanrom?
WOW
nice idea.
Love it!
LolHacker17 said:
Wht if im usimg sultanrom?
Click to expand...
Click to collapse
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
mindphuq said:
Great application and idea, good job, but for some reason when switching to stock HAL my camera apps stop working. I was following your instructions and flashed HAL after installing the app and backuping the old HAL. Any suggestions?
Click to expand...
Click to collapse
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
where does it backup stock camera hal to?
jgcmurray said:
where does it backup stock camera hal to?
Click to expand...
Click to collapse
It creates a copy with the extension of .stock in the same directory where it is originally located.
ashwinpilgaonkar said:
No, this wont work if you're using Sultan's ROM as it comes with the custom HAL pre installed. You would have to manually copy the Stock HAL files from CM13 for it to work.
Does this only happen when switching to Stock HAL? It works fine for me.
Which ROM are you using?
Try dirty flashing it and following the instructions once again.
Click to expand...
Click to collapse
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
mindphuq said:
It only works with Sultan HAL and when switching to stock HAL, camera stops working. I am on CM13 Official latest nightly with bluspark kernel, xposed and supersu 2.65. First time I've tried it I had OOS 3.0.1 camera installed from the other thread. Then I dirty flashed without installing that camera and tried your app with the stock google camera from opengapps, still no luck. I really, really want this working on my phone
Click to expand...
Click to collapse
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
ashwinpilgaonkar said:
I have the same ROM and kernel as you and it's working fine for me. It doesn't look like anyone else is having any issues either.
Send me a screen record of the entire process. I maybe able to figure out whats going wrong.
Click to expand...
Click to collapse
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Matthius said:
This is great in theory and i've waited for something like this to hopefully be made in which I am very greatful for. However, I'm on rooted OOS 2.2.0 with Blue spark and the same issue occurs for me - It says action performed successfully when applying the Stock HAL, but when launching the camera app it says "Unknwon error".
I have tried clearing cache and data for the stock camera app, but no luck.
Click to expand...
Click to collapse
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Mindphuq said:
Same problem as him - "Unknown Error" in OOS camera and "Can't connect to the camera" in google camera. Tried cleaning cache aswell, even tried with cleaning davlik/cache after installing sultan HAL.
For some reason my screen recorder cuts the videos before I can't record everything, so I can't provide a video. I can extract logs or something if you need them?
Click to expand...
Click to collapse
Yeah my recorder stops too. Here's error though after applying https://youtu.be/ivviaicSa4I
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Kéno40 said:
Maybe a direct option to clear "camera App" data (not onlycache) could help.
I'm trying the MOD right now.
Edit : same problem for me.
I had to wipe camera app data, , launch it from drawer and then it worked.
Without that, camera app couldn't be launched from Hal Switcher.
Click to expand...
Click to collapse
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Doesn't work with clearing app data for me aswell.
Matthius said:
I just tried this, still doesn't work for me unfortunately.
It doesn't matter what app it is so therefore I presume it's not just the stock camera app it's to do with something technical that can hopefully be fixed with a bit of tweaking.
Click to expand...
Click to collapse
Root ok on your app?
Kéno40 said:
Root ok on your app?
Click to expand...
Click to collapse
What do you mean?
Nothing on the app seems to indicate if root access is okay.
Sent from Tapatalk on the OPX
Related
Cyanogenmod 11.0
Download:
http://dualhoki.vim.hu/bubor/dev/11.0/
http://rpi.bubor.hu/bubor/dev/11.0/
Changelog:
20131229: enable dynamic fsync, selinux is enforcing (break wifi)
20131230: add camerawrapper back, fix wifi
20131231: 2 phone app again, selinux enforcing
20140104: happy new year! Torch uses camera interface again (it fixes strobe crash), update CM 11, and patches to latest CM 11, selinux is permissive ( you can check settings -> about phone )
20140109: fix OTG storage mount (thanks karthik050782), remove google dialer (thanks tonyp)
20140118: only cm update
20140131: bln light fix.
20140222: cifs and nfs support
20140402: ksm (settings -> performance -> memory -> KSM) saves memory, cm update
20140601: remove gmaps
20140607: android 4.4.3
20140627: android 4.4.4
20140702: include skype fix ( you still need to run alsas
20140911: updated kernel for better battery life, thanks mara-
20150814: update cm (latest commit included )
20151224: update cyanogenmod, and gpu reserved memory lower to 192MB, xposed fix thanks BgiSock
20151230: revert gpu reserved to 256mb and skia fix ( open a gif crashed)
20160126: some tweak
20161001: end of life, no cyanogemod update released, I stop to build.
Install:
* Read this
* To safe start with stock, boot at least once to stock ( you can ignore this step, but you might have issues)
* Use my latest TWRP.
* Factory reset( you may skip this, but dont report bugs)
* Install zip
* Enjoy
Issues:
If you have issue, please repeat installing steps, but start with flash stock with odin, and boot once with stock.
No sound with skype, no bt call sound. Fix
Capture picture and video has fixed rotation.
Video recording may crash with default (only?) app
Gps works, readthis fix
Some app doesnt support our device, try older version, read this for list
Google play service crashes use this , or never from store
Tell me
addons:
Face unlock support: http://dualhoki.vim.hu/bubor/dev/faceunlock.zip
Swap internal external sd: http://dualhoki.vim.hu/bubor/dev/change-fstab.zip ( it replaces fstab.n1, it should work with all KK)
Old topic was: http://forum.xda-developers.com/showthread.php?t=2588304
XDA:DevDB Information
Cyanogenmod 11, ROM for the Samsung Captivate Glide
Contributors
bubor
Source Code: https://github.com/buborh/android_device_samsung_i927/tree/cm-11.0
XDA:DevDB Information
Cyanogenmod 11, ROM for the Samsung Captivate Glide
Contributors
bubor
Source Code: https://github.com/buborh/android_device_samsung_i927/tree/cm-11.0
ROM OS Version: 4.4.x KitKat
ROM Kernel: Linux 3.1.x
Version Information
Status: Stable
Created 2014-07-02
Last Updated 2017-03-27
Reserved
Reserved
When you say Skype fix is included, what do we, the users, need to do to get it working automatically? Just run alsas command or we need to follow the guide with tasker? Also, YouTube is crashing, I suppose because of Tegra? Do you or anyone else knows which is the last working version?
mara- said:
When you say Skype fix is included, what do we, the users, need to do to get it working automatically? Just run alsas command or we need to follow the guide with tasker? Also, YouTube is crashing, I suppose because of Tegra? Do you or anyone else knows which is the last working version?
Click to expand...
Click to collapse
skype fix is what you download from zip, you need to run alsas, config tasker etc, but you dont install that zip from recovery.
Thanks for the info and for your effort, of course. To anyone interested, latest YouTube working for me is 5.7.41.
Hi, after connecting i927 to PC using USB cable, I cant see the green android icon to confirm that I want to use the phone as a disk drive. Is it normal or something wrong happened to my glide?
irekd said:
Hi, after connecting i927 to PC using USB cable, I cant see the green android icon to confirm that I want to use the phone as a disk drive. Is it normal or something wrong happened to my glide?
Click to expand...
Click to collapse
try to go settings -> storage click menu button or right top corner, usb computer connection.
Be sure usb debug is disabled ( default is disabled).
Because netflix closes when trying to open it? Any solution to this problem?
Sent from my SGH-I927 using XDA Premium 4 mobile app
Bubor, thank you once again for all your updates!
Everything is smooth as usual, but starting from 4.4.3 the battery in idle is draining way faster than before. The thing is simple: the phone never goes into deep sleep. Active time is 100% when charger is unplugged. Updating to 4.4.4 didn't fix the problem.
Further narrowed this issue: it comes with Google Play Services updated to 5.0.X. It just active all the time, even if not using CPU power at all. Restored it from backup to 4.4.52, now the phone sleeps again.
Makshow said:
Bubor, thank you once again for all your updates!
Everything is smooth as usual, but starting from 4.4.3 the battery in idle is draining way faster than before. The thing is simple: the phone never goes into deep sleep. Active time is 100% when charger is unplugged. Updating to 4.4.4 didn't fix the problem.
Further narrowed this issue: it comes with Google Play Services updated to 5.0.X. It just active all the time, even if not using CPU power at all. Restored it from backup to 4.4.52, now the phone sleeps again.
Click to expand...
Click to collapse
would you try gapps from here: http://forum.xda-developers.com/showthread.php?t=2397942 ?
Where did you found google play 5.0.x? https://play.google.com/store/apps/details?id=com.google.android.gms only 4.4.52
bubor said:
would you try gapps from here: http://forum.xda-developers.com/showthread.php?t=2397942 ?
Where did you found google play 5.0.x? https://play.google.com/store/apps/details?id=com.google.android.gms only 4.4.52
Click to expand...
Click to collapse
Yes, I tried to update Google play services from pa gapps before posting. (installed Play Services Update Module). Last update was july, 2 (as in the store), but the version number was showing 5.0.84.
Makshow said:
Yes, I tried to update Google play services from pa gapps before posting. (installed Play Services Update Module). Last update was july, 2 (as in the store), but the version number was showing 5.0.84.
Click to expand...
Click to collapse
but my rom includes an old one, it should work without installing gapps.
bubor said:
but my rom includes an old one, it should work without installing gapps.
Click to expand...
Click to collapse
I've got 4.8.20 and it still eats the battery quite fast. And I must say that I'm always trying to do things that should make the battery last longer:
1. I usualy use 2G (switch to 3G only when using internet)
2. I turn off wifi when not needed
3. I switch the phone in airplane mode for the night.
4. I use Greenify app for freezing apps which are set to work in background and I don't need them to work that way.
5. Turn on bluetooth and GPS only when needed.
Like @Makshow I also noticed that the phone isn't going into deep sleep almost at all.
irekd said:
Click to expand...
Click to collapse
what app this is?
bubor said:
what app this is?
Click to expand...
Click to collapse
AeroControl by @Blechd0se from Motorola Defy XDA thread. Very nice app.
Hello bubor please check netflix not fount thanks
Sent from my SGH-I927 using XDA Premium 4 mobile app
victorsalas said:
Hello bubor please check netflix not fount thanks
Sent from my SGH-I927 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
you should be more detailed.
bubor said:
but my rom includes an old one, it should work without installing gapps.
Click to expand...
Click to collapse
That google play services updated themselves to 5.0.82 before my manual update. And one shouldn't upgrade them manually from pa gapps, that update broke push messages for me.
Old gapps in this ROM has Services version 4.4.51-038, the -038 part means this version is for 480 DPI screen, while we have 240 DPI. Maybe, that was the reason why they updated themselves when I installed 4.4.3 ROM. Or maybe, they are just updating on some schedule...
I downloaded this file: Google Play Services 4.4.52 (1174655-034) from xda, and it's good so far - push is working, phone is sleeping. Will test some more.
Camera issue
Hi,
After a few days using 20140702 rom, I started to have problem with camera. It crashes all the time it's being run. Yeah, I know that @bubor wrote in OP that one of the issues is: "Video recording may crash with default (only?) app", but it's video recording, and I have crashes with camera. What's more strange is that the camera worked OK through a few days since installing the rom.
I've already cleared cache and data in the camera properties. I've even cleared cache and dalvik cache from TWRP level. And nothing. The camera still crashes. Any suggestions?
One more thing. During the last night my device rebooted. I wouldn't even know this, but I looked to uptime statistics of lately mentioned AeroControl app. Do you guys have such unexpected reboots?
---
Edit: the problem with camera has been resolved. It was just about full internal storage. After making some room, the camera started to work again.
Hello, just wanted to share this package, it contains CameraNext with all the features working (i added libraries too, so everything should work except features with hardware limitations).
You can find all the camera informations/features here:
http://www.androidcentral.com/looking-camera-features-cyanogen-os
I made a package that contains a backup script, so it won't be deleted when you update your CyanogenMod ROM, i didn't test it on other ROMs because i only use CM12.1, so if you want to try it on a different AOSP ROM i can't give you any support.
This package won't replace your stock Camera app/libraries, that will still work as usual.
DOWNLOAD:
CameraNext
I can't revert nor add any change because the app is prebuilt and closed-source
Tested and working on:
- CM12.1
- SlimLP(5.1.1)
- ...
CHANGELOG:
11/10/2015
- Removed GalleryNext (you can find it in the C-Apps package https://cyngn.com/c-apps)
- Updated CameraNext to 2.0.005 from latest YU Yureka plus factory image
-- Removed HFR entry (slow motion)
-- Removed focus mode entry (automatic or continuous), it's now continuous by default
- Moved the package from /priv-app to /app
- Moved libraries from /lib to /CameraNext/lib/arm
I had to keep 2.0.004 libraries (from OPO) because YU Yureka plus uses 64 bit libraries and they're not working on 32 bit systems
HOW TO REMOVE THE CYANOGEN CAMERA?
The easiest way is explained here: http://forum.xda-developers.com/showpost.php?p=64641032&postcount=28
slow motion doesn't work mention that in OP
edit: HFR (slow motion) entry removed with 2.0.005 update
I've installed this camera app and... woow... it is really what i was looking for!!!! Thank you guy!!! Now I have everything: panorama working (feature missing in standard CM 12 camera app, in google camera and non working in many other apps I tried!), HDR, continous shots (even this missing in standard cm camera), good camera quality (better than stock motorola app!)... and maybe, in future, we'll have slowmo working!!!! WOOOOOW
It works with stock rom?
Funciona con rom stock lollipop ?
kuzo said:
It works with stock rom?
Funciona con rom stock lollipop ?
Click to expand...
Click to collapse
I don't know, sorry
Edit: No, it's a 5.1+ app
ivanhoe76 said:
maybe, in future, we'll have slowmo working!!!!
Click to expand...
Click to collapse
As i mentioned in post #3, it can't work, atleast not using this Camera application.
HDR
Thanks for the APP!
But I've trouble with the HDR. It Start working and doesn't stop.
Other funktion work propper.
Any Idea?
Martin_MotoG2014 said:
Thanks for the APP!
But I've trouble with the HDR. It Start working and doesn't stop.
Other funktion work propper.
Any Idea?
Click to expand...
Click to collapse
Swipe up or down to select the automatic mode again
Can i flash it on Identity Crisis 5.1 rom?
EDIT: nope, it doesnt work
Chaninoza said:
Can i flash it on Identity Crisis 5.1 rom?
EDIT: nope, it doesnt work
Click to expand...
Click to collapse
I don't think it will work on any stock motorola ROM
fonz93 said:
As i mentioned in post #3, it can't work due to hardware limits, atleast using this Camera application.
Click to expand...
Click to collapse
I read somewhere in this forum that they're working on making functional slowmo on custom rom since in stock rom motorola camera has it!!
ivanhoe76 said:
I read somewhere in this forum that they're working on making functional slowmo on custom rom since in stock rom motorola camera has it!!
Click to expand...
Click to collapse
But it's not high frame rate, because our camera framerate is max 30 fps, Cyanogen Camera only support slow motion with 60+ fps
fonz93 said:
But it's not high frame rate, because our camera framerate is max 30 fps, Cyanogen Camera only support slow motion with 60+ fps
Click to expand...
Click to collapse
OOOPS sorry, didn't know about it....
How do you guys access HDR? It's not showing for me
Nevermind, it was translated to ARD
Great.
Install Failed
I have an LG G3 with Cyanogenmod 12.1 and i just get installed failed when i try and flash the .zip. Any ideas?
Erock2k4 said:
I have an LG G3 with Cyanogenmod 12.1 and i just get installed failed when i try and flash the .zip. Any ideas?
Click to expand...
Click to collapse
The .zip hasn't any assert so it should work fine, i don't know why happens that to you
fonz93 said:
The .zip hasn't any assert so it should work fine, i don't know why happens that to you
Click to expand...
Click to collapse
Yeah I figured it out. It seems like the Cyanogenmod Recovery didnt like it. switched to TWRP and it flashed fine.
New update available.
CHANGELOG:
- Removed GalleryNext
- Updated CameraNext to 2.0.005 from latest YU Yureka plus factory image
-- Removed HFR entry (slow motion)
-- Removed focus mode entry (automatic or continuous), it's now continuous by default
(I can't revert nor add any change because the app is prebuilt and closed-source)
- Moved the package from /priv-app to /app
- Moved libraries from /lib to /CameraNext/lib/arm
I had to keep 2.0.004 libraries (from one plus one) because YU Yureka plus uses 64 bit libraries and they're not working on 32 bit systems
Nice work. Working great on motoG 2nd gen.
I created this zip because I hate the hassle of flashing multiple zips and/or manually copy some files to /system every time I flash a custom ROM just to get some OOS stuffs, and I thought I could share the zip here.
This zip supposed to install OxygenOS 3.1.4 apps and files, which is limited to only 4 at the time of this writing, that is: OOS Camera (and libs), Gallery, MM Bootanimation, and Sounds.
(I know, no OOS launcher or Shelf, and I can't get the music app to work either) (yet) (hopefully).
Here's the file: Download
It should work on Marshmallow and Nougat ROMs, but it's tested on CM13, LineageOS 14.1, Nougat SlimROM, and AOSP-based Nougat ROM.
Known issues for the camera app:
Beauty mode (front camera) and panorama doesn't work. If you trigger Beauty mode, you won't be able to open the front camera (it'd keep crashing). Clear app data to fix.
Manual doesn't work on some but should works on ROMs with stock camera blobs.
I can confirm that its working on AOSP based Nougat ROM(Cosmic OS).
iamsonal said:
I can confirm that its working on AOSP based Nougat ROM(Cosmic OS).
Click to expand...
Click to collapse
Thanks for testing it!
Hi, thanks for that. IMO users wants OOS camera.
Where are the libs from? OOS 3.1.4 ?
Different from what @CheckYourScreen did here?
I've seen that even today Sultan's improved again his CM13 with camera HAL.
I'd be really interessed in digging in it to see what can be used here.
What do you think about that?
Edit : Just saw that...
Thanks!, Getting the oos launcher would be interesting, if possible.
dchrono said:
Thanks!, Getting the oos launcher would be interesting, if possible.
Click to expand...
Click to collapse
Not really sure of that as even in the official version Shelf was not really rock solid, but the idea is quite interesting....
It would be Google Experience Launcher + shelf.
I've read that Action Launcher have some kind of swipe action with a Widget panel, which is close to what OP launcher gives us...
Music apk file download from internet works well on lineage based roms
thanks! It was what I needed to improve the camera of my rom cyanogenmod by sultan.
joaofoto said:
thanks! It was what I needed to improve the camera of my rom cyanogenmod by sultan.
Click to expand...
Click to collapse
Seriously?
Sultan's version is the best option for camera app. It's better than OOS.
Are you on 12th feb version?
@fchrkbr and cool for Nougat Slimroms, I hadn't seen they had pushed beta builds this month. I thought they had give up end 2016...
Will test it !
i miss the slowmotion feature of oos... and i think that oos camera is best in low light conditions... but my version of sultan rom is from august i think, probably now the camera has improved...
Kéno40 said:
Seriously?
Sultan's version is the best option for camera app. It's better than OOS.
Are you on 12th feb version?
@fchrkbr and cool for Nougat Slimroms, I hadn't seen they had pushed beta builds this month. I thought they had give up end 2016...
Will test it !
Click to expand...
Click to collapse
joaofoto said:
i miss the slowmotion feature of oos... and i think that oos camera is best in low light conditions... but my version of sultan rom is from august i think, probably now the camera has improved...
Click to expand...
Click to collapse
NB : If, you update, you have to update bootloader first !!
Low light conditions? For photo you mean? Because for video, it's really the opposite.
thats the bootloader thing that makes me avoid update the rom, im tired of having problems while flashing new roms etc
yes, for photos, i usually dont make videos
Kéno40 said:
NB : If, you update, you have to update bootloader first !!
Low light conditions? For photo you mean? Because for video, it's really the opposite.
Click to expand...
Click to collapse
hey bro, thanks for the apps. but how to make the camera save taken photos to external sd ? internal memory is too small to handle it huhu
Only camera app (and libs)
Hey, thanks! Is there any way to tweak your zip to have it install only the camera app (and required libs)?
Hi, i'm glad to present you AOSP 8.1 for Sony XZ1 Compact. This ROM was compiled from sources and packed in .zip archive for simply installing via TWRP.
Features:
* pure android with latest security patch
* working Google Camera Mod HDR+
How-to:
* download ROM and push in your phone
* reboot in TWRP, make full wipe and install this ROM
* TURN OFF your phone
* install OEM files
Code:
fastboot flash oem SW_binaries_for_Xperia_Android_8.1.6.4_r1_v14_yoshino.img
* turn on your phone
* enjoy
Download (ROM, gapps, OEM):
HERE
Thanks to:
@modpunk
@SuperR.
@jerpelea
@Deic
Is this ROM DRM patched already so that I can get my camera working perfectly?
Boeing747x said:
Is this ROM DRM patched already so that I can get my camera working perfectly?
Click to expand...
Click to collapse
This rom not support drm keys, because used different libs & app. You can use gcam mod with hdr+ and get good photos
Sent from my Sony Xperia XZ1 Compact using XDA Labs
Stuck in bootloop...
Thanks for the great work!
Is there any 120hz option in the settings?
So far, after following your instructions, I've been stuck on the Android logo on boot.
Any suggestions? This is flashing from stock firmware 12.75, factory resetting through TWRP, flashing aosp.zip, shutting the phone off, fastboot flashing the other yoshino img, and restarting.
Excited to see where this goes! Esp. once the fingerprint issues are sorted out.
Can add md5?Because the file size of the file I downloaded and Google Drive is different
wow~Great! but is the photo better than before(Sony ROM)?
Thread cleaned
Keep on topic and English only please.
Great ROM, however, I'm noticing you can't update the system webview from the one that is included (it's version 61.something?).
I've tried installing Chrome / Android System Webview / etc and changing the Webview Implemetation in Developer Options to one of them instead, but they don't show up in the options.
I've also tried installing those applications to system through the OpenGapps full installer, but then no options at all show up under Webview Implementation (it appears the old one is removed but the new one is not recognized).
I did some research and found this:
https://github.com/opengapps/opengapps/wiki/Notes-for-Android-7.x
It would seem before the ROM is built, it has to have specified compatible webviews. Is there any way around this right now?
Thanks so much!!
Thread updated
new_20.03.18
* added support chrome webview & google webview like HERE
Enjoy!
awesome, thanks!
Thread updated
new_21.03.18
* replace aosp keyboard to lineage keyboard
* fixed deskclock (alarm now work)
Thanks to @lineage Dev Teams
Support you,thank
Thread updated
new_23.03.18
* fix gesture input in keyboard
* added TTL support
Pic samples
Can anyone upload samples of how the camera performs with hdr+?
Thanks again to the developer!
Stuck on Boot. Only shows Android Logo. Tried four times with new installation. Any idea?
Ebbl said:
Stuck on Boot. Only shows Android Logo. Tried four times with new installation. Any idea?
Click to expand...
Click to collapse
Me too. It doesn´t work. I tried it four or five times but it won´t boot.
What I did:
I entered TWRP and wiped (Advanced wipe-> System, Dalvik, cache, Data)
I installed Zip and Gapps and shutdown the phone.
I installed software via Fastboot
I started the phone and it stuck on android logo.
Ebbl said:
Stuck on Boot. Only shows Android Logo. Tried four times with new installation. Any idea?
Click to expand...
Click to collapse
SkyHigh76 said:
Me too. It doesn´t work.
Click to expand...
Click to collapse
One thing that come in my mind is your encrypted data, may be this is a problem. I'm disable this long time ago and don't use it. You can try to disable this too. After installing firmware FORMAT your data via twrp, but it delete ALL files from your internal storage.
Sent from my Sony Xperia XZ1 Compact (AOSP) using XDA Labs
A great big thanks to you for this! Especially when it comes to getting Gcam HDR+ going on this. Once fingerprint is working I can definitely see using this as a daily driver...
One question, when you use Gcam HDR+ on this, does it still display the early stock image distortion from the camera? Not that wide-angle fisheye effect, but the actual wavey lines and such? I imagine sony's fix was proprietary algorithms in the stock sony camera app...
Not sure if this is still relevant, but this post on an AOSP (for XZ) thread mentions that the fingerprint issue (exactly same, works until reboot) is due to magisk v15, where a beta version makes it work properly. Maybe try different magisk versions?
maidguitar said:
A great big thanks to you for this!
Click to expand...
Click to collapse
No, fingerprint had issue by itself not by magisk. Yes gcam had some distorsing on images.
Matt8686 said:
Can anyone upload samples of how the camera performs with hdr+?
Thanks again to the developer!
Click to expand...
Click to collapse
https://4pda.ru/forum/index.php?showtopic=844131&view=findpost&p=71326137
I'm on MIUI 10 (10.3.4 miui.eu) stable oreo
rooted with magisk 19.1 stable
kangarooX Kernel 3.4 stable oc
Now everything works just fine, but I'm facing weird problem with cam on all messenger apps like (Telegram - Skype ...), when I'm trying to take a photo or make a video call the cam preview (what i see on my side) is flipped cam view! Even when i hold my phone in vertical way and auto rotation is off!. I tried everything (trun on/off cam2api - used multi cam fix module - clear cache from recovery - clear cam app data - reflash rom - edit some cam-related values on whyred.xml ....)
Can anyone help me to fix this problem please ?
As you haven't mentioned, I ask: Does this also happen with the stock kernel of Miui? You tested with custom roms (AOSP)?
onliner said:
As you haven't mentioned, I ask: Does this also happen with the stock kernel of Miui? You tested with custom roms (AOSP)?
Click to expand...
Click to collapse
nope, i figure it out.. it has nothing to do with kernel or rom, it was caused by magisk module called "skia enabler", so i just disabled it
thanks for caring