Stock vs open source drivers - Nexus 4 Q&A, Help & Troubleshooting

I don't think I fully understand how ROM's device drivers work. Stock is supposed to be more stable because most manufacturers use closed source drivers, which have to be reverse engineered for any non stock ROM (is that correct?).
But on my Nexus 4, I've had the same problems with stability as any other device, despite the open source drivers. Apps still frequently cause my phone to reboot, which from what I understand can only be caused by driver bugs, otherwise the app would simply crash.
Am I just expecting stability AND features and wondering why I can't have my cake and eat it too? I'm running the stable version of SlimKat atm and usually go for stable versions of ROMs that go for speed and stability, no experimental bleeding edge features or anything.
Could anyone explain what I seem to be missing. I'm an amateur programmer so technical details appreciated.

v1nsai said:
I don't think I fully understand how ROM's device drivers work. Stock is supposed to be more stable because most manufacturers use closed source drivers, which have to be reverse engineered for any non stock ROM (is that correct?).
But on my Nexus 4, I've had the same problems with stability as any other device, despite the open source drivers. Apps still frequently cause my phone to reboot, which from what I understand can only be caused by driver bugs, otherwise the app would simply crash.
Am I just expecting stability AND features and wondering why I can't have my cake and eat it too? I'm running the stable version of SlimKat atm and usually go for stable versions of ROMs that go for speed and stability, no experimental bleeding edge features or anything.
Could anyone explain what I seem to be missing. I'm an amateur programmer so technical details appreciated.
Click to expand...
Click to collapse
I wish someone could answer this because I'm considering one of the new Nexus devices because I thought I could have this best of both worlds that he speaks of. Is this not the case, do open source driver devices like Nexus phones suffer with the same issues as other unlocked phones that have closed source drivers?

Related

[Q] Are there Any NAND ROMs That Are More Like RHEL Than Fedora?

I hope that my analogy makes sense. In the Linux world, Fedora produces a lot of rapid releases and these release may (and often do) contain unreliable/unstable features that may or may not work properly. This is why these releases go to great pains to say that they are not production ready.
Red Hat Enterprise Linux (RHEL) or even CentOS have a much slower release cycle but the features that they roll out are very solidly tested and ready for production environments.
I watch Android.HD2ROMS.com for information about HD2 Android ROMs and it seems like every ROM produces a new version every other day. Often, these builds are rolling out every new kernel update, .CONF patch, etc. without much testing as to their ramifications.
Many of these ROMs are causing problems like "robot voice", random reboots, lock-ups when using Bluetooth, etc. Some of these issues (right now I'm fighting the issue where the person on the far end can't hear me if I've ever used the voice-to-text functionality) are a sever hindrance in my usability of the device simply as a phone.
I consider my phone a production device and while I don't want to go back to WinMo, I may have to just to have so I have a reliable phone device.
Are there any HD2 ROMs that take the RHEL approach and produce fewer builds but have more solid/reliable builds as a result?
While I _LOATHE_ the MIUI interface, they seem to take this (slow and stable) approach and I may just install MIUI and run LauncherPro or ADW on it instead of their stock Launcher.
I don't think I'm in the minority with this feeling about reliability. Hopefully some folks have some good feedback on ROMs.
Pongster's Hyperdroid GBX v12: Stable , Extremely Fast , almost bug-free, its been almost 2 months without an update it could never need 1 , its perfect as it is.
http://forum.xda-developers.com/showthread.php?t=918899
Wow,
1. Wrong section.
2. If you have been looking on that site you would see that there is plenty roms that are stable and haven't been updated for a while. The site is by default sorting roms per date they have been updated. So those you're talking about are probably roms still in DEVELOPMENT, hense the title for this section. They are being constantly developed with fixes and bugtesting.
3. HYPERDROIDGBX.
Why write a book about witch book to read? Just try them out, I'm sure there is some that will suit your needs.
Sent from my HTC HD2 using XDA App

[Q] Anyone switched from Nexus 4?

Hey guys,
I`am thinking of ordering a Oppo Find 5 32GB, i have a Nexus 4 atm and i`am looking for something new.
Is it a definate upgrade? The specs on paper seem great but how does the phone do in real life.
Would appreciate some user feedback
Same here. I am thinking of doing the same. I am particularly hoping for a stable PA/CM10.1 ROM soon, and more kernel development if possible.
gee2012 said:
Hey guys,
I`am thinking of ordering a Oppo Find 5 32GB, i have a Nexus 4 atm and i`am looking for something new.
Is it a definate upgrade? The specs on paper seem great but how does the phone do in real life.
Would appreciate some user feedback
Click to expand...
Click to collapse
it's not a goodupgrade..
same CPU, RAM, GPU, same problems with: OTG, no microSD expansion, no removable battery
you get a better/larger display, slightly better(in specs) or worse(in terms of software capabilities so far) camera....
and worse battery life / smoothless/performance in ROMs.....and more expensive
no matter how good the CM10.1 port for the find 5 is, nexus 4 ports will be snappier as they have the backing of google
If ports are based on aosp how can they be snappier .....only a bit of kernel tweaks and some camera enhancements will make this phone awesome
Sent from my Find 5 using Tapatalk 2
munchy_cool said:
If ports are based on aosp how can they be snappier .....only a bit of kernel tweaks and some camera enhancements will make this phone awesome
Sent from my Find 5 using Tapatalk 2
Click to expand...
Click to collapse
i'm talking specifically about the device/kernel tree....
for nexus 4, it comes from google (who has access to all the proprietary documents, binaries)
for oppo find 5, it comes from people like XpLoDWilD, Entropy512, ... . They may have to interpret that info based on how the Oppo Stock Rom works, previous experience, hacks needed to make stuff work...
this portion will contain bugs / inefficiencies in the codebase
and when you move from different android versions, the proprietary binaries differ and may not be compatible. For Nexus devices, google gives you those updated binaries... for other devices (like Oppo), you may have to beg Oppo to get the latest binaries, steal it from a similar device that has the update, or hack your way (which creates inefficiencies / bugs)
see: https://developers.google.com/android/nexus/drivers
this is why you have: stable cm10.1 ports on some devices, but still buggy/slow compared to the nexus line
paperWastage said:
i'm talking specifically about the device/kernel tree....
for nexus 4, it comes from google (who has access to all the proprietary documents, binaries)
for oppo find 5, it comes from people like XpLoDWilD, Entropy512, ... . They may have to interpret that info based on how the Oppo Stock Rom works, previous experience, hacks needed to make stuff work...
this portion will contain bugs / inefficiencies in the codebase
and when you move from different android versions, the proprietary binaries differ and may not be compatible. For Nexus devices, google gives you those updated binaries... for other devices (like Oppo), you may have to beg Oppo to get the latest binaries, steal it from a similar device that has the update, or hack your way (which creates inefficiencies / bugs)
see: https://developers.google.com/android/nexus/drivers
this is why you have: stable cm10.1 ports on some devices, but still buggy/slow compared to the nexus line
Click to expand...
Click to collapse
I agree with you but that's the case with all non-Google devices.
if you want latest android version you gotta stick with Google devices.
munchy_cool said:
I agree with you but that's the case with all non-Google devices.
if you want latest android version you gotta stick with Google devices.
Click to expand...
Click to collapse
i'm talking about the device tree on the current android version.... device tree port by CM developers vs device tree from google
since hardware is mostly the same from nexus 4, but you're moving software-wise from a "optimized" port (with device tree from google) to a Cm10.1 port (with device tree that is still buggy and not optimized by google)..
don't see the reason to switch from nexus 4.
Find 5: aosp -> cm10.1 + device tree from CM developers = ROM
Nexus 4: aosp -> cm10.1 + google's device tree = better ROM
replace cm10.1 with anything else (AOKP, PAC, PA)...
paperWastage said:
i'm talking about the device tree on the current android version.... device tree port by CM developers vs device tree from google
since hardware is mostly the same from nexus 4, but you're moving software-wise from a "optimized" port (with device tree from google) to a Cm10.1 port (with device tree that is still buggy and not optimized by google)..
don't see the reason to switch from nexus 4.
Find 5: aosp -> cm10.1 + device tree from CM developers = ROM
Nexus 4: aosp -> cm10.1 + google's device tree = better ROM
Click to expand...
Click to collapse
the reason to switch from n4 would be better & bigger screen, but in that case I would recommend the DNA
I'm making the switch. Mainly for the screen and I didn't feel like paying $650 for the dev HTC One. It'll be interesting to see how Oppo's firmware is as well.
I switched from a Nexus 4 that I've had since November. I was just getting tired of the device and was looking for something with a slightly larger/higher resolution display, but I wasn't looking for a full on phablet (Note II). I have been incredibly satisfied with the unit's build quality and am only slightly thrown off by it's less than stellar stock rom. No worries though, as PA has been rock solid for me. :good::good: Two thumbs up on making the switch!
I'm also thinking of making the switch and also coming from a nexus 4. What I want to see get more development though is on the android ROMs as there are none. On the original android development I do see cm 10.1,pa,ect.. Which is pretty much the stuff I'm running on the nexus 4 already. I wanna see oppo find 5 u.i based roms.if I'm gonna make the switch and use the same base ROMs as the nexus 4 I might as well stick with the nexus 4 instead.
marcviado said:
I'm also thinking of making the switch and also coming from a nexus 4. What I want to see get more development though is on the android ROMs as there are none. On the original android development I do see cm 10.1,pa,ect.. Which is pretty much the stuff I'm running on the nexus 4 already. I wanna see oppo find 5 u.i based roms.if I'm gonna make the switch and use the same base ROMs as the nexus 4 I might as well stick with the nexus 4 instead.
Click to expand...
Click to collapse
I think it is pretty unlikely that you'll see a lot of custom ROM's for Find 5, considering much lower number of users compared to other phones.
I think i`am gonna stick with the N4 for now and mainly for its optimized firmware. The firmware of the Oppo is clearly not as good (or finished) as the N4`s. Pitty, would have liked to try it out. Aah well, maybe at a later point or its successor. Thanks for the reply`s guys :good:
marcviado said:
I'm also thinking of making the switch and also coming from a nexus 4. What I want to see get more development though is on the android ROMs as there are none. On the original android development I do see cm 10.1,pa,ect.. Which is pretty much the stuff I'm running on the nexus 4 already. I wanna see oppo find 5 u.i based roms.if I'm gonna make the switch and use the same base ROMs as the nexus 4 I might as well stick with the nexus 4 instead.
Click to expand...
Click to collapse
MIUI is the closest "alternative" to Find 5's stock UI rom... find one (probably won't be on XDA) that works on a phone you would want, then buy that phone
next alternative would be the iPhone
N4 owner as well. While I have a hard time putting down my Find 5, if I'm to be totally honest, the N4 is hard to beat. Mostly software I guess, its hard to find a flaw. The Find 5 is still being optimized and tweaked on a regular basis... which is great but not needed in the Nexus. Still though, the Find 5 is one nice device with a lot of potential!
sent from my <Nexus 7>

[Q] Android L and the LG G2?

I would like to know if anybody is working on porting the dev preview. I have it running on my Nexus 4 and its is perfectly stable and honestly I would go as far as to say good enough for a daily driver.
Still has some problems like app compatibility and a few quirky bugs like MMS failing while connected to WiFi but overall I've heard it was pretty fast and battery efficient.
At this point I haven't heard or seen anything released outside of themes.
There really isn't much point porting the Dev preview as there are still quite a few quirks that would probably just become worse with a port. I can't see a developer wanting to spend time porting a rom that really isn't meant as a daily driver even on the devices it's designed for. It would be tough to figure out if a bug is caused by code in the preview build itself, or the ported code.
Unfortunately, you'll probably have to wait until the final release of L for developers to port it (and even then it may take time to iron out the bugs)

LeEco Le S3 (X522) ROM's, Stock or Custom

Hello
I'm looking for some advice on the ROM's available for the LeEco Le 2 series of phones (in my case I have the X522 variant if this info helps at all).
At the moment my phone is running EUI 5.8.021S, I don't mind EUI but I do prefer a closer to "stock" android look as I'm not a fan of useless addon services or apps lying around on my phone (this version also seems to only leave me with about 1GB of RAM left for other apps, although upon boot it does give me about 1.5GB). Although EUI is more than usable I was looking to see if there where any custom ROM's out at the moment which maybe be usable as a daily driver.
I have been browsing through the forums for a few days now and from what I can gather the versions of android available range from 6-9 with these phones, from what I understand each version seems to have a common set of issues as to the version of android that the ROM is based off of.
Android 6 ROM's appear to be the most stable and support the majority of the phones hardware in regards to what I have read however the support for these versions seems to be dropping and so I have some worries over wherever if a bug was to be found if it would be fixed, an example would probably be LineageOS 13.
Android 7 and 8 seem to improve upon the support issue but from what I have been reading in the forums they seem to be very buggy, from: the camera not working, overheating, Cortex-A73 cores being disabled, very short screen on time, etc.
Android 9 versions are bit of a mystery at the moment since they're so new, I'm not really willing to put something this new on my phone as a daily driver (unless there is some stable versions I don't yet know about).
Overall I'm simply looking for a ROM which just works, to some extent as I understand that there will be some bugs of course (supports all the hardware of the phone, no duplicate apps, a decent amount of screen on time, etc.).
I have looked around on other threads, which I understand maybe very similar, but they didn't seem to have any sort of answer which could fully convince me on this subject.
Sorry if I come across as rude at any point.

Custom ROM with 3.18 kernel

First of all I would like to thank all the great devs that keep supporting this phone.
But I miss a really bugless ROM. ROMs with 3.18 kernel were almost perfect, but they aren't developed anymore. 4.9 kernel is great too, but it has some annoying (for me at least) limitations. Miui camera doesn't work properly and it's a pity because it's the only app (as far as I know) that can use both sensors at the same time. Nhappyman's camera module isn't working (no smooth videos and no long exposure).
Mtp and vibration aren't working in TWRP custom recovery.
Is there any developer that can build an updated ROM based on 3.18 kernel? I bought a Mi A1 for dual-camera setup and I would like to use his full potential with MIUI camera AND GCam. At the moment it's possible only on 3.18 kernel so I'm wondering if there is any "brave" Dev who wants to go that way. I think that many other users like me are waiting for that. Am I wrong?
You're right, I agree with you. Of course it is quite an achievement for the development of this device, and I actually enjoy the new kernel and it's securities advancements, but it is not stable compared to the officially supported 3.18. For example, I have a Quick charger but can't use it properly because it's not working on kernel 4.9, at least right know.
Not being ungrateful btw, I totally support the continuous development of 4.9, and I hope someday it will be just as stable as 3.18.
sipollo said:
First of all I would like to thank all the great devs that keep supporting this phone.
But I miss a really bugless ROM. ROMs with 3.18 kernel were almost perfect, but they aren't developed anymore. 4.9 kernel is great too, but it has some annoying (for me at least) limitations. Miui camera doesn't work properly and it's a pity because it's the only app (as far as I know) that can use both sensors at the same time. Nhappyman's camera module isn't working (no smooth videos and no long exposure).
Mtp and vibration aren't working in TWRP custom recovery.
Is there any developer that can build an updated ROM based on 3.18 kernel? I bought a Mi A1 for dual-camera setup and I would like to use his full potential with MIUI camera AND GCam. At the moment it's possible only on 3.18 kernel so I'm wondering if there is any "brave" Dev who wants to go that way. I think that many other users like me are waiting for that. Am I wrong?
Click to expand...
Click to collapse
You can use LR v10.0.3 it's still based on 3.18 based kernel. Or go for Revenge OS, it's also 3.18 based
I'm not going to say anything about TWRP installer that was never supported officially by TeamWin or quick chargers that aren't even supported by our device, but I have a few things that I want to say specifically about MIUI Camera (and the reason why I'm always acting cocky when someone talks about it).
Supporting it was and always will be too much of a hassle for developers. It's not because "damn devs don't care about meme camera", but rather because whatever Xiaomi does for their camera features is very far from perfect, tends to break very often and also introduces random issues with third-party camera apps.
Recent switch to the open source camera HAL helped us to get a much more stable and reliable base (as well as fixing some very annoying issues we had before) but it also was the final nail in the coffin of MIUI Camera as it relies on undocumented proprietary features that we can't implement in any possible way.
I know that it can be hard for someone to cope with the lack of some well advertised marketing feature essential camera functionality, but we also have to go to concessions to make our support continuous and more future-proof.
flex1911 said:
I'm not going to say anything about TWRP installer that was never supported officially by TeamWin or quick chargers that aren't even supported by our device, but I have a few things that I want to say specifically about MIUI Camera (and the reason why I'm always acting cocky when someone talks about it).
Supporting it was and always will be too much of a hassle for developers. It's not because "damn devs don't care about meme camera", but rather because whatever Xiaomi does for their camera features is very far from perfect, tends to break very often and also introduces random issues with third-party camera apps.
Recent switch to the open source camera HAL helped us to get a much more stable and reliable base (as well as fixing some very annoying issues we had before) but it also was the final nail in the coffin of MIUI Camera as it relies on undocumented proprietary features that we can't implement in any possible way.
I know that it can be hard for someone to cope with the lack of some well advertised marketing feature essential camera functionality, but we also have to go to concessions to make our support continuous and more future-proof.
Click to expand...
Click to collapse
Totally understandable, it's not rocket science to know that exclusive "features", which is closed source, is really hard (mostly impossible) to port to custom development. Many devices suffers from this, like the implementation on Moto display on Motorola phones, for example. I'm not a developer myself, but I know a thing or two with my experience as android enthusiast, and for development to work it means you're gonna let some "goodies" go in favor of it.
Thanks for your work btw!
Shubham2509 said:
You can use LR v10.0.3 it's still based on 3.18 based kernel. Or go for Revenge OS, it's also 3.18 based
Click to expand...
Click to collapse
Revenge use 4.x now, so the only updated rom with 3.18.x is Lineage 15.1
Never_Sm1le said:
Revenge use 4.x now, so the only updated rom with 3.18.x is Lineage 15.1
Click to expand...
Click to collapse
In the next update ROS will be updated with 3.18
Shubham2509 said:
In the next update ROS will be updated with 3.18
Click to expand...
Click to collapse
Really? Nice, have been looking for an updated pie rom running 3.18
Now that Flex gave us the possibility to use miui camera on 4.9 kernel there's no need of 3.18 anymore (IMHO). To use MTP on TWRP we can boot it from PC and it will work.
Touch screen misbehaves with 4.x kernel
My mi a1 touch screen misbehaves with 4.9 kernel.
So i have to stick with the stock rom even i want to use a custom rom.
Am i the only person facing to this kind of problem?
Same problem here guys, anyone know how to fix this? :crying:
sujiththilakasiri said:
My mi a1 touch screen misbehaves with 4.9 kernel.
So i have to stick with the stock rom even i want to use a custom rom.
Am i the only person facing to this kind of problem?
Click to expand...
Click to collapse
Me too, in fact my screen doesn't work at all with 4.9 kernel. It was a cheap replacement from aliexpress. I was hoping to find some updated ROMs with 3.18 but I will have to just stick to stock. It's a shame.

Categories

Resources