• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[ROM][Unofficial][markw][6.0.1]Lineage Os 13.0 for Redmi 4 Prime/Pro

Status
Not open for further replies.
Search This thread

jacoghi

Senior Member
Sep 24, 2012
351
563
Mirabel
I think that this is the best option for now. We could still use the buil.prop line to get camera working... Am i right?

Camera is fixed in Stock kernel, the released sources have a bug on them, which caused the upside down effect. This was corrected and no changes are necessary anymore in build prop. Regardless of choice, camera will work just fine.
 

cimdrap

Senior Member
Dec 27, 2010
871
220
Redmi Note 10 Pro
Camera is fixed in Stock kernel, the released sources have a bug on them, which caused the upside down effect. This was corrected and no changes are necessary anymore in build prop. Regardless of choice, camera will work just fine.
Another reason to stay qith stock kernel (everything would work). What should it be the advantage using a custom kernel over the stock now? Anyway the normal GPS should be enough in the 99% of cases... I don't know which app needs only AGPS. Is it so important?
 

jacoghi

Senior Member
Sep 24, 2012
351
563
Mirabel
If you are interested in my opinion, I think it's better to go with OSS with benefits like updates, fixes, customization.
Personaly I never use high accuracy mode and also I don't like to participiate in networks scanning.

BUT.

I don't know if is it related to kernel or libs, or whatever but I have lags when I'm taking photos.
This lag can be described as ability to shake-blur photo after you press shutter because photo isn't taken immediately (there is mentioned lag).
I have this issue with every camera application I can try. I had this issue also on Xiaomi Redmi Note 2 with CM13 and it wasn't present on MIUI ROM.
I was suspecting need of some proprietary stuff which stock ROM/kernel has and CM hasn't.
If msdx321's ROM has stock kernel then I assume it's some proprietary stuff again because I didn't have such issues (tried only with camera app present in that rom).

And well if we sum all of this, for me it's still about 50 : 50 - proprietary : oss, so I am pretty undecided.
If there is way to fix the camera without proprietary blob, I'll definitely vote for oss no matter in what state will be that location stuff.

Msdxs used his own kernel, same one that people are using out there. However, that camera was horrible, the video had colors all messed up exactly because of all the so called fixes and updates (not so much in this case... ) which was actually the reason I started working on this. When are you specifically experimenting lags with camera? Try this new build and maybe use Google camera and let me know specifically when it happens, if it still happens.

And please everyone... If you use xposed, other kernels, or any other changes, don't waste your fingertips and/or my eye sight... Seriously, it's annoying...

Cimdrap, many modules from the rom are built using the kernel headers, so it kinda guarantees more compatibility with the rom... Using stock pre-built everything works, but doesn't mean it works super well, you know? Rom can actually get slower and clumsy.
 
Last edited:

ciku720

Senior Member
Apr 12, 2011
91
30
Xiaomi Poco F3
I vote for custom kernel. I believe it can be developed to be a fully-working thing with a long list of benefits over the stock one. It just needs time and a lot of thinking ;)
GPS is working fine on my phone, I haven't tried Agps because I DON'T NEED TO. The only annoying bug was the flipped camera but now it's fixed.
 

oaid

Member
Sep 18, 2012
39
28
Limerick
I prefer the open source kernel, because it's modifiable.
But for those who'd rather use the other kernel, would it be possible to provide it as a separate flashable zip?
 

dels07

Senior Member
Nov 1, 2012
422
153
Jakarta
IMHO, we should go with OSS kernel, it would be easier to fix things, adding tweaks or built custom kernel for specific purposes.

And who knows maybe we could get fix for AGPS from other similar devices (RN4 Pro/Zenfone 3/Moto Z Play) or xiaomi fix the kernel source (which likely not)
 

kmrazon

Senior Member
Mar 8, 2017
91
45
Would u please change the file hosting "depositefile" to others.. It is too much annoying and speedless server. If u don't mind I prefer Mega, Yandex, Google drive. It would be more easy for downloading your content without any harrasement. Thanks
 
  • Like
Reactions: Azoset and ciku720

asfethan

Member
Jun 5, 2013
14
8
Msdxs used his own kernel, same one that people are using out there. However, that camera was horrible, the video had colors all messed up exactly because of all the so called fixes and updates (not so much in this case... ) which was actually the reason I started working on this. When are you specifically experimenting lags with camera? Try this new build and maybe use Google camera and let me know specifically when it happens, if it still happens.

And please everyone... If you use xposed, other kernels, or any other changes, don't waste your fingertips and/or my eye sight... Seriously, it's annoying...

Cimdrap, many modules from the rom are built using the kernel headers, so it kinda guarantees more compatibility with the rom... Using stock pre-built everything works, but doesn't mean it works super well, you know? Rom can actually get slower and clumsy.

I don't use Xposed or any other modification except supersu. Please forget that camera thing, I examined photos which I took and they have shutter speed about 1/12-1/30s. Sorry for bothering you with this ****.
I'll try that bluetooth stuff and if I remebemer correctly I saw something about that dual sim issue so I'll check it too. Btw did you update the link? I see only old 04/27 link on first page. Thanks.
 
  • Like
Reactions: jacoghi

asfethan

Member
Jun 5, 2013
14
8
It seems that SIM cards custom names are persistent between reboots. And so-is the default celluar/calls/messages SIM card configuration.
Well done. Thanks.
 

fiflag

Member
Apr 12, 2017
14
7
Hi guys, what about other mirrors - without download speed limit and waiting time. Like Mega, Dropbox, Mediafire, etc....

Thanks!
 
  • Like
Reactions: nimbold
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 13
    Unofficial LineageOS Rom For Redmi 4 Prime/Pro MARKW​

    LineageOS is a free, community built, aftermarket firmware distribution of Android 6.0 (Marshmellow), which is designed to increase performance and reliability over stock Android for your device.

    Code:
    *
     * Your warranty is now void.
     *
     * We are not responsible for bricked devices, dead SD cards,
     * thermonuclear war, or you getting fired because the alarm app failed. Please
     * do some research if you have any concerns about features included in this ROM
     * before flashing it! YOU are choosing to make these modifications, and if
     * you point the finger at us for messing up your device, we will laugh at you.
     *
     *

    Important Information
    I am not the developer of this rom, all credits to @jacoghi
    You are not allowed to make any mirrors of the file in the download section. No ota. No eta.

    Known Bugs
    -gps wakelock - partially fixed - keep device in device​ only

    Installation
    1. Download files.
    2. flash TWRP 3.1.0
    3. Wipe data/factory reset
    4. Flash Lineage OS
    5. Optional: flash Gapps
    6. Optional: flash Su addon for root access

    VIDEO
    VIDEO from developer

    Download
    Rom 05/02:Mod edit: Link removed
    Twrp 3.1.0: Mod edit: Link removed

    Optional:
    Su Addon: https://mirrorbits.lineageos.org/su/13.0/addonsu-arm64-signed.zip

    Mod edit: Thread closed
    13
    Ok, people, update was posted, good changes are:

    - Hopefully fixed the biggest deal breaker for selfie whiners, front camera, however, since there are 3 different front camera models for this device, let me know if there are problems, and if so, your specific camera model;
    - New media encoding libraries, should be way faster to generate encoded multimedia files - this doesn't affect pictures, only videos and audio;
    - New audio and BT libraries, let me know if the problem with the watch still persists;
    - Applied patch as indicated by our great friend, Raziel. People with two SIMs, let me know if SIM settings are still being messed up after reboot;
    - Miracast now should be working out of the box, let me know;

    Bad same thing:
    - A-GPS isn't as simple as I initially imagined, I'll leave it the way it is for now, so keep it in device only mode;

    ROM won't be updated over next days, since I'll go back to MIUI looking to find out some things that are still bothering me related to AGPS and Power. Anyways, let me know if you have problems.
    10
    Guys, I didn't touch anything related to the camera between 23 and 27 releases. Other than that, no worries about this build prop edit, it's not on my plans, we have another way of fixing that in the kernel (which is weird, since we shouldn't need to do it that way, if the sources released by xiaomi are the same as the ones used on miui...).

    Other than that, I have some good news about fingerprint: I as well was a little annoyed by the way the fingerprint wasn't being able to unlock the device without using the additional security measure, so I changed a few things related to that and fixed the issue. Now it behaves as it should (though I have goodix, does anybody have the other one?) , you just need to input the pattern and fingerprint when starting the phone (and I guess it's because my device is decrypted, otherwise it wouldn't ask for pattern not even when turning it on) and fingerprint will unlock the device straight way. When I get home, I'll look into Bluetooth problems (people with BT problems, can you get me a logcat when pairing? And if possible one with miui successfully pairing as well), since it's more important to me than front camera camera, and since front camera should be an easy fix.

    Any other detected issues? How's is idle battery drain?
    7
    About face camera problem:
    Edit build.prop does not solve the problem completely
    The problem of the inverted face camera is in the boot.img
    I tried installing in this ROM (20170427) other boot.img from LOS-20170418 by Liberation , face camera is working correctly.
    Fix for correct sound adjustment (solution from the forum 4pda.ru, Is implemented in Mokee by Razziell)
    To separately adjust the sound of headphones and speaker you need to fix the file /system/etc/mixer_paths_skuk.xml
    not a valid section:
    <path name="speaker">
    <ctl name="RX3 MIX1 INP1" value="RX1" />
    change:
    <path name="speaker">
    <ctl name="RX3 MIX1 INP1" value="RX3" />
    To support the Xiaomi and other headset buttons, you need to add to the file system/usr/keylayout/Generic.kl
    key 250 VOLUME_DOWN
    key 251 VOLUME_UP
    7
    CHANGELOG:
    05.02
    - Hopefully fixed the biggest deal breaker for selfie whiners, front camera, however, since there are 3 different front camera models for this device, let me know if there are problems, and if so, your specific camera model;
    - New media encoding libraries, should be way faster to generate encoded multimedia files - this doesn't affect pictures, only videos and audio;
    - New BT libraries;
    - Applied patch as indicated by our great friend, Raziel. People with two SIMs should be good now;
    - Miracast now should be working out of the box;
    - Bad same thing: A-GPS isn't as simple as I initially imagined, I'll leave it the way it is for now, so keep it in device only mode;

    27/04:
    - Blobs from 8.2.4.0;
    - Hardware GPS completely fixed (keep it in Device Only mode): High Accuracy or Battery Savings do work properly, but Google Services creates a wakelock requesting position all the time. Not really fixable at this point, and not anymore a priority, next will be front camera;
    - Removed a bunch of useless stuff;
    - Deep sleeping even better than before;

    Me and Raziel are taking over msdx's and Ahnik's work, which are awesome developers, but are probably working on other devices for now. Once they come back, I will let go off of it, since they are way better developers than myself.

    Note: Please, do not quote me to ask whether you should "wipe data before or after installing rom", or any similar questions.