[QCOM][DEV][WIP] OSS Camera HAL for S3 Neo (4.4.4 - 8.1+) - Galaxy S3 Neo Original Android Development

Hi guys im back with a new thread.
This is all for my journey to make oreo stable and this is one step further tho it still needs a lot of work to be done...
So for those who are familiar with the Camera u will know that the HAL is responsible for communicating with the qcom server back end who does all the dirty work for ya
It a entry point where u can define stuff like preview sizes, we actually have a 4k preview but sammy deleted that btw , picture or video Sizes, exposure etc.... Its the goto place when u want to either mod your camera a bit or make it more compatible.
For a look about how this works check out some source code from QCOM here: https://github.com/SnowCat6/vendor-qcom-proprietary-mm-camera
I don't aim towards modding this in any way to get like 4k video or stuff like that i aim for stability. I'm still searching for the root cause behind the battery drain on Oreo and the camera HAL was one of my thoughts. Now that its confirmed it isn't the problem i have to look elsewhere but thought it would be cool to share this here anyways.
BTW NO ONE EVER DID THIS FOR SAMSUNG PHONES SO THIS IS THE FIRST IN THE WORLD OF ITS KIND!!!! (Someone submit that to xda portal rlly quick we could help more phones like S5 or S4 :angel
Attached are the files u need to place in /system/lib/
Its NOT fully functional but one can take pictures and videos on both cams from 4.4.4 to 7.1.2 with no issues. Oreo is a different story, for that ill still have to edit more stuff to make it work. Unlike before i have the source code now so it should be easier :good:
Source code is here: https://github.com/S3NEO/vendor_qcom_camera/tree/samsung

Reserved 1

Great Work and Great News !!??

Related

[ROM] nk02 4.0.4 Hero Port

I'd just like to start off by saying its taken me a long and grueling week to figure out everything I needed to know just to get this rom booting on my hero. Hero is my first android phone and my first glimpse into phone modding overall, (XDA virgin xD) and it took me many hours of constantly searching and taking notes to understand how *most* things work within the operating system. With that I present this rom I ported from over at the magic forum which is based on nk02Mod 4.0.4. Original can be found here.
Alot of things dont work and thats why I'm posting this, I would like to see a group effort at achieving a fully functional vanilla android build on Hero. I still have plenty to learn and appreciate any type of input from any of the developers as to how to implement and make some modules of the hardware fully functional. Credits aswell to all those throughout this forum who have provided some sort of developer advice along the way, cause I can gaurantee that I probably read it at some point during this week.
Things I wish to know how to activate/make functional:
Bluetooth
Wi-fi
Automatic APN
Apps2SD (Some reason wont load them off the SD)
Camera
GPS?
If anyone knows how to fix any of these, please let me know ^^
Happy flashing and good luck! ^^
Download link:
update-robertosandros-nk02romport-signed.zip
robertosandros said:
I'd just like to start off by saying its taken me a long and grueling week to figure out everything I needed to know just to get this rom booting on my hero. Hero is my first android phone and my first glimpse into phone modding overall, (XDA virgin xD) and it took me many hours of constantly searching and taking notes to understand how *most* things work within the operating system. With that I present this rom I ported from over at the magic forum which is based on nk02Mod 4.0.4. Original can be found here.
Alot of things dont work and thats why I'm posting this, I would like to see a group effort at achieving a fully functional vanilla android build on Hero. I still have plenty to learn and appreciate any type of input from any of the developers as to how to implement and make some modules of the hardware fully functional. Credits aswell to all those throughout this forum who have provided some sort of developer advice along the way, cause I can gaurantee that I probably read it at some point during this week.
Things I wish to know how to activate/make functional:
Bluetooth
Wi-fi
Automatic APN
Apps2SD (Some reason wont load them off the SD)
Camera
GPS?
If anyone knows how to fix any of these, please let me know ^^
Happy flashing and good luck! ^^
Download link:
update-robertosandros-nk02romport-signed.zip
Click to expand...
Click to collapse
How exactly do you a port a rom for a different phone..i.e. stock android onto the hero.
Just change a few files around and swap the kernel over to make sure it boots on it and thats it ^^
robertosandros said:
Things I wish to know how to activate/make functional:
Bluetooth
Wi-fi
Automatic APN
Apps2SD (Some reason wont load them off the SD)
Camera
GPS?
[/URL]
Click to expand...
Click to collapse
http://forum.xda-developers.com/showpost.php?p=4601884&postcount=11
Helps?
unfortunatly it wasnt that easy, already tried that and didnt seem to do much in my case =/
Is there a program you need or you just need to rearrange some files?

[DEV] We have a 90% working cam now

Ok, so, Thanks to aread22 We have a 90% working cam, since we still dont have 720p and some effects ares still broke, but share and set as both work which was the original goal of this, and while we dont have 720p recording yet, im sure we will get there (eventually )
Heres that Cam:View attachment HTCCamera.apk
oh and btw, its from the 1.84 desire sense rom.
So things still to fix:
-720P
-Some effects (graphic intensive ones, probably gpu related)
(and i really hope some mod doesn't move this thread to q&a like my last thread, WHICH WAS NOT A Q&A THREAD)
* reserved*
Ok, i guess what ill put here are the tools that will help anyone who wants to contribute to this,
Beyond compare: A very very good compare tool for directory's and files
http://www.scootersoftware.com/
Apk manager: a very easy feature rich app script package for apk's that will let you extract,decompile,recompile and a ton of other stuff
http://forum.xda-developers.com/showthread.php?t=695701
Notepad++: one of the best text/data editors i have ever used, very handy..
http://notepad-plus-plus.org/
DroidExplorer: will let you access your android device like an explorer window..
http://de.codeplex.com/
dsixda's HTC Android Kitchen: a very easy kitchen to use, windows (with cygwin) and linux compatible
http://forum.xda-developers.com/showthread.php?t=633246
u forgot cmylxgo's desire HD camera fix..
dailomac said:
u forgot cmylxgo's desire HD camera fix..
Click to expand...
Click to collapse
omfg not this sh*t again..
i defer you to this:
http://forum.xda-developers.com/showthread.php?t=981881
hell, go read cmylxgos thread, hes using my fixed apk..
and one of the people collaborating with us on this is cmylxgo along with g.lewarne,dandiest and a few others should be contributing too..
ok, anyways.. i have been pouring over smali files for days, trying different files in lib,bin and from looking at the log, my current guess is that the issue lies with the recording of audio when you hit record, which it runs into an error when it tries and crashes the apk.. i dont know if thats correct and im not sure what needs to be done to fix it, but thats why we have a dev thread for eh?
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
tigerz0202 said:
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
Click to expand...
Click to collapse
well, that isnt something i believe that can be done at the moment, but i do believe it is possible and from what i have read its mostly a kernel issue, seeing as how wp7 can do it on our hardware and thats all software..
but before we even approach that here, i would like to get just basic recording working with the newer camcorder function..
pyrorob said:
well, that isnt something i believe that can be done at the moment, but i do believe it is possible and from what i have read its mostly a kernel issue, seeing as how wp7 can do it on our hardware and thats all software..
but before we even approach that here, i would like to get just basic recording working with the newer camcorder function..
Click to expand...
Click to collapse
Which apk is the one with all the boxy border .....I hate that one, the one that comes with cmyxlo builds is the one I would love to have in my cm7 rom I'm currently on. And will it install
tigerz0202 said:
Which apk is the one with all the boxy border .....I hate that one, the one that comes with cmyxlo builds is the one I would love to have in my cm7 rom I'm currently on. And will it install
Click to expand...
Click to collapse
the boxy border? i have not seen that.. and the one in cmylxgo's rom is of course, the older one with the working camcorder function..
pyrorob said:
the boxy border? i have not seen that.. and the one in cmylxgo's rom is of course, the older one with the working camcorder function..
Click to expand...
Click to collapse
Its got a grey border around the screen. Some devs skin it some don't
tigerz0202 said:
How about 720 recording ...is it just not possible cause I figured someone would have figured this out by now
Click to expand...
Click to collapse
What about A/V sync in Sense builds? I've been flashing and flashing, and have yet to find a truly working camcorder in this regard? Is this likely to be fixed?
inconceeeivable said:
What about A/V sync in Sense builds? I've been flashing and flashing, and have yet to find a truly working camcorder in this regard? Is this likely to be fixed?
Click to expand...
Click to collapse
well, who knows? maybe the different version of the camcorder could fix it? who knows until we get it working...
i think people are more likely to be using the camera so if we get a camera,it will be a big breakthrough and then the camcorder will probably come after you figured out the camera,keep up the hard work
Keep up the good work ! And this thread deserves to be in the stickies !
Finally, I'm glad to see that you've taken the initiative to get this moving. Can this also apply to the currently non-working camera that appears in the new Gingerbread Sense build by iMilka (and for other future builds)?
jonboyuk said:
Finally, I'm glad to see that you've taken the initiative to get this moving. Can this also apply to the currently non-working camera that appears in the new Gingerbread Sense build by iMilka (and for other future builds)?
Click to expand...
Click to collapse
well, who knows, what i would like to see is people posting logs from alogcat at the time the try to run the camera (if it fc's as soon as you open it) or when they hit record (if it fc's there)
i dont know what the issue is with the gb camera (does it fc on open?)
but i wouldn't mind if this say, became the thread where we work out camera issues on all builds
and if enough people posted log snippets, just maybe we can find a commonality and that would head us in the right direction..
as it stands im figuring that the issue lies in the kernel or the libs, with the kernel looking more likely, im figuring it needs updated code to be compatible with the newer cameras and more then likely if we can get the newer camera working here, then the gb camera would also..
logcat
here i have attached the logcat. this is my first time. so im not sure if ok. i have started the logcat and then i click the camera then it did soft reset and reboot i close the logcat.
pyrorob said:
well, who knows, what i would like to see is people posting logs from alogcat at the time the try to run the camera (if it fc's as soon as you open it) or when they hit record (if it fc's there)
i dont know what the issue is with the gb camera (does it fc on open?)
but i wouldn't mind if this say, became the thread where we work out camera issues on all builds
and if enough people posted log snippets, just maybe we can find a commonality and that would head us in the right direction..
as it stands im figuring that the issue lies in the kernel or the libs, with the kernel looking more likely, im figuring it needs updated code to be compatible with the newer cameras and more then likely if we can get the newer camera working here, then the gb camera would also..
Click to expand...
Click to collapse
rasumia said:
here i have attached the logcat. this is my first time. so im not sure if ok. i have started the logcat and then i click the camera then it did soft reset and reboot i close the logcat.
Click to expand...
Click to collapse
what camera apk is this and what rom?
and do this when you post these, look at the time on your watch or computer when you hit record and mention that. as long as its set the same as your device (your pc should have its clocked auto synced just like your phone so its times should match). this way there wont be a need to do a bunch of fishing for the error in the log.. oh, and set your log type to long under alogcat preferences..
edit: ok i see this is the gingerbread rom..
and wow lots of permission errors and a java failed binder transaction then all your services die..
and another odd, it seems to be connecting to htc database servers to check for updates..
camera
Sooo.. for ex. I have frankinstein droid 1.5 rom, when i hit record it doesn't work, and i must reboot my hd2.
What i wanna install ?

[ROM] VanillaRocket - Mods please close this topic

UPDATE 4
Hello all,
Pending a new release for this ROM, I will stop supporting the "0.3" version originally posted.
I would like some help deciding cosmetics & features next release before it goes live. Please complete the following brief survey:
http://www.surveymonkey.com/s/VJRLWRZ
A lot of fixes and changes have been made and requests have been accounted for as long as they do not deviate from the nature of this ROM being clean, functional, stable, good-looking, and ready to be a base for future devs. The appearance will be very AOSP-ish but with traces of TouchWiz.
Heads up: there will be no XLoud\Beats Audio by default. We have enough audio issues as it is and these are IMHO not any better than using DSPManager (aside from having the cute Sony\Beats branding stamped on them).
I'm not releasing anything until I fix the damn call echo issue ...worst case scenario I will workaround it by keeping Noise Reduction off. But I want to fix it
Q&A: http://forum.xda-developers.com/showthread.php?p=24253640
General questions? post in the above link...it will help me keep track better
^^
I no longer wish to have two seperate topics. So post here...but wait till the next release before you do
First of all, thank you to Racing19969 and anybody else associated with the Skyrocket ICS port...you made this possible.
Also want to thank CyanogenMod (<3) and the original author of DSP Manager (will find credits tomorrow) from which I borrowing DSP Manager for this ROM
The goal: to make a CLEAN, no frills alien TouchWiz + ICS rom. Its not meant to be exciting or have a crazy amount of hacks in it. In fact as of right now, the only packages added from the community are SuperUser and DSP Manager. And I don't plan on changing that.
Current status is...the ROM is running and its running QUICK. But there are some minor issues to be worked out and some beautification to be done.
The priorities:
Stability
Friendliness
Battery Life
If you are going to comment without constructive criticism, then just look away from this thread. The ROM is what it is. If you are going to install it, I would appreciate pointing out as many bugs as you can
For right now (temporarily): I did add the wonderful, feather-weight Zeam Launcher alongside TouchWiz...this is because I had issues with TW force closing on me early on in the modification process. So until more progress is made on this ROM, I've decided to keep it in there in such an event that TW decides to be unhappy and constantly force close.
A *lot* of bloatware was removed, especially from AT&T and some of Samsung's own social/media/diary/etc packages. I want this ROM to be STABLE, fast, and clean.
Next release ETA:VERY VERY SOON. NOW THAT AUTO ROTATE WORKS :-D
That being said, there are still issues to be worked out. Here is the list of changes made right now:
Added DSPManager from update-cm-9-20120330-NIGHTLY-galaxys2-signed, not functional ATM
Added Gallery, Mms, and Shutdown from GT-I9100 XWKI4 ROM; This fixes the shutdown issue, the Gallery landscape resize issue, and the delete SMS thread FC issue
Also added Browser from GT-I9100 XWKI4 ROM; not only is it more stable but the Search icon is fixed in its place and it has more features
Added apns-conf.xml from above CM9 nightly
International Galaxy S2 boot animation (AT&T anim is hideous)
Removed many many bloat; I'll try to compile a better list later
Added latest version of Polaris Office from T-Mobile ROM...It's a simple, lightweight, and pretty good doc editor/viewer
Already rooted
TODO:
Merge racie's unsecure Skyrocket Kernel COMPLETE
^^ Transform samsung boot animation to a ZIP to work with above kernel
Remove traces of Software Update COMPLETE
Put back the 2G - 3G / band select setting in our Settings menu Priority
Identify as SGH-T989 in build.prop
Removing AT&T contact sync wizard from Contacts.apk, also restore Contacts to the dialer tabs IN PROGRESS
Revisit shutdown issue IN PROGRESS
CWM flashable patch for the Skyrocket folks
Remove AT&T VM icon in Phone dialer
Fix T-Mo Voicemail indicator SMS Priority
Fix Auto-Rotation (perhaps by modifying Framework \ WindowListener) FIXED FOR NEXT RELEASE / PATCH AVAILABLE NOW
Remove remaining traces of AT&T Bloatware
Modify TouchWiz default home screen XML so that widget_service_v0.1.4_shared.apk can be removed from the system/app folder entirely prior to emptying the home screens COMPLETE
Remove debugging / service testing apps
Wi-Fi calling for T-Mobile
Change ugly status bar icons to stock ICS style; remove AM/PM indicator, and remove carrier label from status bar itself IN PROGRESS
Optimize PNGs, zipalign
Call echo and RIL issues; improve call quality IN PROGRESS Priority
Add quick toggles due to demand IN PROGRESS
Set up bug tracker website
Default Market to Play Store
A "Tweaks" menu to make some important modifications but without necessitating manual editing or downloading a lot of stuff from Market
PRIOR TO INSTALLING: Make sure you superwipe with DARKSIDE's SUPERWIPE script.
And finally...
the link (flash with CWM):
http://dl.dropbox.com/u/50663221/CleanICS0.3.zip
MIRROR:
http://www.4shared.com/zip/9iWiyyMY/CleanICS03.html
Thank you to markusf21 for providing the above mirror. Bandwidth costs money, so please give this user a thanks!!
PS, my personal opinion...install the Telus radio. no echo issues thus far. But if you don't know what a radio is....don't do it.
Update: I have big suspicions that this is a RIL or qualcomm audio config issue. It is now the priority problem which I will look to tomorrow..
Enjoy
Update coming tomorrow..
For today I am tired!
Hopefully I can get this one to boot. Raver's just gives me booltloops to eat. We'll give this a run. I'll report back.
Edit: booted right up and is going well. Nothing too crazy yet. Will keep you posted.
Youtube played well and video was right on. I could actually hold it in landscape and watch video with not much effort.
>>DARKSIDE
the first boot may take a few min as this is Deodexed
Also, nice to see a fellow P999er here
I have been running the port for the past 3 days and the only issue I have is the rotate and I know that's a kernel issue but that port took many flashes and reboots. Let's see if this one is easier to install and I'll report later.
Edit : I always use darkside wipe just like on my transformer there some kind of wipe just like it and I'm so glad that the gs2 has it too.
Sent from Samsung Galaxy S II
It's important to to siperwipe. Darksides script works perfectly everytime, but prior to using it it took me many attempts to flash the leak. I am looking into hacking usermode android into invertig the kernels auto rotation parameters. Dirty hack but I believe it is possible
by looking at the change log I think you are on the right track! I do have one question, on the ics skyrocket leak, I noticed there is a lot of freezing and watching streamed videos is damn near impossible it lags beyond belief, so I was wondering if you had a chance to take a look at some streamed videos.
Sent from my SGH-T989 using XDA
Have not tried any streaming but youtube...youtube works well
Edit: HQ working perfectly on youtube as well
Link is down now can anybody mirror?
Sent from my SAMSUNG-SGH-T989 using xda premium
Somebody offered me to mirror via PM. I just asked him to help me out
Edit
much gratitude to markusf21 for helping me out
Link coming in 15min
MD5 sum: d5206397a40483cd017e3c3295f8a1c3
It really works well ty. One question the ics youtube is ridiculous is it possible to bring back the GB app?
Sent from my t989 --- SAMSUNG-SGH-I727 using XDA
Any chance we can see some ROM screenshots of changes?
Dead link can you please provide a mirror
Mirror on the way...
Screenshots I will try my best to do tonight, although I do not think I can until tomorrow (~12 hours from now since we're all in different timezones)
I'm not into any drastic theming, so there is not much specialty here. I like clean and simplicity....I cannot BELIEVE AT&T and Samsung even plan on releasing the current ROM they have for Skyrocket. It's bloated to hell.
EDIT:
If anybody can confirm the following MD5 with the mirror:
d5206397a40483cd017e3c3295f8a1c3
I appreciate it. I just want to make sure I calculated the right one and that the mirror is also the same.
raycaster3 said:
Hopefully I can get this one to boot. Raver's just gives me booltloops to eat. We'll give this a run. I'll report back.
Edit: booted right up and is going well. Nothing too crazy yet. Will keep you posted.
Youtube played well and video was right on. I could actually hold it in landscape and watch video with not much effort.
>>DARKSIDE
Click to expand...
Click to collapse
How did u get youtube in landscape? I have the hacked hd ics youtube pushed into system apps . It works great but no landscape.....is it the youtube that comes with the rom? Oh and for a camera fix use camera zoom fx... it will actually show pics the right way in gallery and send to people the right way too. For portrait shots just hit menu and rotate once
sarni84 said:
How did u get youtube in landscape? I have the hacked hd ics youtube pushed into system apps . It works great but no landscape.....is it the youtube that comes with the rom? Oh and for a camera fix use camera zoom fx... it will actually show pics the right way in gallery and send to people the right way too. For portrait shots just hit menu and rotate once
Click to expand...
Click to collapse
Well since our auto rotate is broken, I just turned it on and physically put the phone in portrait mode. LOL
And agreed at Camera Zoom FX. Like it a lot. If the autorotate fix doesn't work out, I will compile an ICS camera locked to landscape mode**.
@Skorpion_
I will look into it, hopefully in the next 24 hours.
yaldak said:
Mirror on the way...
Screenshots I will try my best to do tonight, although I do not think I can until tomorrow (~12 hours from now since we're all in different timezones)
I'm not into any drastic theming, so there is not much specialty here. I like clean and simplicity....I cannot BELIEVE AT&T and Samsung even plan on releasing the current ROM they have for Skyrocket. It's bloated to hell.
Click to expand...
Click to collapse
No worries man take your time you earned it buddy!!
Sent from my SGH-T989 using XDA
sarni84 said:
How did u get youtube in landscape? I have the hacked hd ics youtube pushed into system apps . It works great but no landscape.....is it the youtube that comes with the rom? Oh and for a camera fix use camera zoom fx... it will actually show pics the right way in gallery and send to people the right way too. For portrait shots just hit menu and rotate once
Click to expand...
Click to collapse
I started the video then turned on screen rotation then held in vertically and slowly moved to horizontal and voila. I used the YouTube app that came in the rom.
The only real gripe I have right now is that the sideways scrolling16 panel toggle (thanks lidroid & RaverX3X) and the folders ui in gtab simiclock is pretty sticky, from lack of a better word. I'm sure it's due to the rotation issue. Looking good so far. Adwex hauls ass on this rom.
Oh yeah and vignette is great for pics too, alas youbhv to go into gallery and rotate them. Snaps em quickly tho. No delay like the stock camera.
>>DARKSIDE
raycaster3 said:
I started the video then turned on screen rotation then held in vertically and slowly moved to horizontal and voila. I used the YouTube app that came in the rom.
The only real gripe I have right now is that the sideways scrolling16 panel toggle (thanks lidroid & RaverX3X) and the folders ui in gtab simiclock is pretty sticky, from lack of a better word. I'm sure it's due to the rotation issue. Looking good so far. Adwex hauls ass on this rom.
>>DARKSIDE
Click to expand...
Click to collapse
Ok gotcha now...
if this is from ics leak from our skyrocket then im just gonna flash this .. it'll make life easier since somethings like rotation issue won't be there haha.. good job dev. and will wait for your update..
edit: also if u need a theme im working on fully revamped ics theme which will blow minds let me know im on i727 forum

[N910C/H][DEV] AOSP sources

*omg, thread updating needed*
Hey guys, as some of you might know, I was donated a Galaxy Note 4 (N910C) and am now working on AOSP for it.
The sources required to build a ROM are hosted at GitHub currently:
device: https://github.com/teameos/device_samsung_treltexx/
kernel: https://github.com/raymanfx/kernel_samsung_trelte/
vendor: https://github.com/raymanfx/vendor_samsung_treltexx/
If you want to give this a shot, you should be familiar with git and repo and be able to sync the TeamEos source yourself.
If anybody feels brave enough, give it a try yourself, all the required bits are posted above
TODO/BROKEN:
Bluetooth headset calls (RX works, TX is broken)
Open source AVC (H.264) Encoder is broken (Videos recorded in portrait are rotated by 90° counter clockwise, and there's artifacts all over the place)
Everything else should be pretty much working.
hopefully watching all your work. congratulations.
hey! any progress on this? I'm really excited!
Sent from my SM-N910C using XDA Free mobile app
+1
Congratulations
First success:
The phone is booting and the adb server is starting.
I'm still missing some sensor blobs from stock which causes the sensor layer not to start and thus prevent various other init tasks (such as display, EGL) to crash.
I'm going to work on getting at least display up this weekend.
No promises though.
This is great news. Thanks for this hard work. Thank you for making our donation future experience CM12.
someone was trying to port CM11 to galaxy alpha.. i guess its a similar kernel..
http://forum.xda-developers.com/note-4/development/exynos-543x-android-development-t2949478
dats d link.. jus posting, if it helps u in anyways..
Good luck!
Superb!!!
Awesome work looking forward to seeing it on my N910U... hopefully
Great :good:
Awesome!
More progress today:
The device partially boots now, boot animation shows but that's where it loops.
Sensors are fully working and storage handling (internal storage, external sdcard and usbdisk) have been fixed.
I'm still missing some camera blobs which I believe keep the device from booting up (because it crashes other init services).
I'll look into that tomorrow probably.
All the latest fixes have been pushed to my github repos, so if anyone in here feels like experimenting a bit, let me know how it goes
RaymanFX said:
More progress today:
The device partially boots now, boot animation shows but that's where it loops.
Sensors are fully working and storage handling (internal storage, external sdcard and usbdisk) have been fixed.
I'm still missing some camera blobs which I believe keep the device from booting up (because it crashes other init services).
I'll look into that tomorrow probably.
All the latest fixes have been pushed to my github repos, so if anyone in here feels like experimenting a bit, let me know how it goes
Click to expand...
Click to collapse
These words cause many joys.
@RaymanFX , great work, update the first post with every progres, and for the other guys this a dev thread, dont spam with greets otherwise im sure a mod is gonna close the thread, keep it dev related or someone can open a thread in the general options for this project
Go go go
Progress?
+1
Well, as stated on the first post, it'd probably make more sense to watch my github for progress instead of asking in this thread.. Just saying.
Big progress has been made in terms of audio, as I finally got around to configuring proper mixer paths for audio devices here: https://github.com/RaymanFX/device_samsung_trelte/commit/c5954750b5c13ce9bf27992f145a18a837099e12.
I had to do lots of research because there is little to no documentation on these mixer_paths.xml configs, so I ended up creating it from scratch based on Samsung's UCM config.
The device still doesn't boot further than the bootanimation, but I still have some interesting lines in the logs to solve, for example it still reports invalid input/output devices in audioflinger, which clearly is an issue.
At least the issues preventing us from booting are no actual display issues, but init services crashing.
Also, it looks like the RIL is starting up after adding Samsung's cbd daemon to early init execution (ramdisk), but I don't expect telephony/mobile data to work just yet.

Best Mi 5s custom ROM for photos and videos

Hello !
I love taking photos and shooting videos with my phone and I always listen to music with Bluetooth headphones.
I looked for some custom ROMs in the forum but I'm a little lost about stability, what is working and what is not.
So I wanted your help guys and girls please.
I see that LineageOS 15.0 seems pretty stable but there's A LOT to read and tbh, I don't have the courage to do that haha.
If Android Pay could work too on it, that would be awesome but I don't have that much hope about that.
Thanks in advance for your answers and time,
Cordially,
bmx22c.
I'm very content with LOS 14.1 as it worked flawless since I installed it several months ago, but ViperOS also has a good track record when it comes to stabilty.
For camera it's easy, just install the last APK in the thread, where there are also suggestions about how to set it up every few posts:
https://forum.xda-developers.com/mi...google-camera-camera-api2-fix-t3655211/page70
60fps video recording has some issues with several people though, so if are among them, try to use the ROM camera app for video. Photo's are best in the above app.
Android pay will probably work when you install Magisk (which roots the device and makes it pass the various security checks for stuff like Netflix and online banking), which also has plugins for music quality in the "Magisk Manager" app:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Personally, I use the Dolby plugin for sound (not sure if this version is still found in Magisk Manager):
https://forum.xda-developers.com/apps/magisk/magisk-dolby-atmos-r6-5-t3554616
8166uy said:
I'm very content with LOS 14.1 as it worked flawless since I installed it several months ago, but ViperOS also has a good track record when it comes to stabilty.
For camera it's easy, just install the last APK in the thread, where there are also suggestions about how to set it up every few posts:
https://forum.xda-developers.com/mi...google-camera-camera-api2-fix-t3655211/page70
60fps video recording has some issues with several people though, so if are among them, try to use the ROM camera app for video. Photo's are best in the above app.
Android pay will probably work when you install Magisk (which roots the device and makes it pass the various security checks for stuff like Netflix and online banking), which also has plugins for music quality in the "Magisk Manager" app:
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Personally, I use the Dolby plugin for sound (not sure if this version is still found in Magisk Manager):
https://forum.xda-developers.com/apps/magisk/magisk-dolby-atmos-r6-5-t3554616
Click to expand...
Click to collapse
Thanks for your answer !
I will look into LOS 14.1 !
I'm mainly using the phone to shoot photos in RAW format (raw format let you save all data from the camera in case you are not familiar with photos) but I have read some threads about the Google Camera APK and it really looks cool !
For 60 FPS, it may be an issue, but I'm mainly recording in 4K30i so if 4K works, it's okay for me
Oh ! Magisk ! Never used it haha, I always used SuperSU, it may be time for me to update my knowledge, thanks !
I used to install Viper4Android but if Dolby work, that's fine, I mean, at least bluetooth needs to work haha !
Thanks again for your answer !
4k30fps works, so no problem there. You can BTW also manually install Magisk modules, so you can try out whatever soundmod you please.
/EDIT: For the camera app, look at the latest posts for the newest version!
8166uy said:
4k30fps works, so no problem there. You can BTW also manually install Magisk modules, so you can try out whatever soundmod you please.
/EDIT: For the camera app, look at the latest posts for the newest version!
Click to expand...
Click to collapse
Thank you !
Have you ever tested LOS 15.0 ? I mean, it is the latest version, am I right ?
I have not tested it yet because there are some serious security bugs still left, plus some random stuff popping up. I'd rather wait a bit more before I move as it is so new. Recently there has been news that LineageOS is planning to merge android 8.0 with 8.1 in the coming weeks (with not 1 phone having LOS 15 officially yet), so that might possibly introduce more bugs. Call me a chicken, but I like my phone working whenever I need it.
8166uy said:
I have not tested it yet because there are some serious security bugs still left, plus some random stuff popping up. I'd rather wait a bit more before I move as it is so new. Recently there has been news that LineageOS is planning to merge android 8.0 with 8.1 in the coming weeks (with not 1 phone having LOS 15 officially yet), so that might possibly introduce more bugs. Call me a chicken, but I like my phone working whenever I need it.
Click to expand...
Click to collapse
Oh ok thanks, I didn't knew that it was THAT early, thanks for the informations, I really appreciate it !
Tbh, I liked changing ROMs on my older phone but I didn't do that for like 2 years now and I'm pretty lost on LOS versions.
EDIT: One last question. Do you have any tips as when installing LOS 14.1 ? I'm still in MIUI 8 and I haven't changed my recovery.
My bootloader is unlocked.
I think (correct me if I'm wrong) I need to install TWRP and then wipe DATA + SYSTEM then flash ZIP (+ GAPPS later).
EDIT 2: I'm pretty scared tbf because last phone I had was a Honor 7 and it was just so painful not to brick the phone.. Installing version was painful like you needed x amout of instructions not to brick it and I just hope I won't lose any personnal data (personnal files, I know that SMS will be wiped)
EDIT 3 (yup, that many edit haha): I only see "nightly" version, is this correct, or is there any "stable" one ?
Well, as far as I read, they are more stable than I expected (as in: the bugs are relatively minor, thus it is useable if you are not easily annoyed) and the devs are making progress REALLY fast. So maybe in a months time or so it might already be worth for even the more cautious users to switch. Kinda depends on what kind of user you are. But from your text I figured you are someone who prefers stability over bleeding edge features.
8166uy said:
Well, as far as I read, they are more stable than I expected (as in: the bugs are relatively minor, thus it is useable if you are not easily annoyed) and the devs are making progress REALLY fast. So maybe in a months time or so it might already be worth for even the more cautious users to switch. Kinda depends on what kind of user you are. But from your text I figured you are someone who prefers stability over bleeding edge features.
Click to expand...
Click to collapse
Well, I'm an experienced Android user, and I had a pretty bad experience with my last phone which was a pain in the back for developers, so ROMs where not stable at all, video recording looked like sh*t, apps crashed etc. So I'm not against a bug here and there you know
Hi,
I'm just going to borrow this thread for a second, as I am looking for a similar thing. I would like to just add one more important factor for me and that is battery life. Would you say that this is also the best on Los 14.1? Are there any tweaks necessary in order to get the most out of the battery, similar to camera or sound tweaks? Is there still a battery drain associated with the fingerprint sensor?
Thank you!
For me battery life is fine as it is, but great after installing ForceDoze (Magisk module) after another user recommended it. No added trouble, so also a strong recommendation there.
To be extra certain you could flash the latest official Global MIUI first before flashing LOS as it installs the latest firmwares. It might be that you have to reinstall TWRP though.

Categories

Resources