[ROM] [ROM][UNOFFICIAL][rolex][6.0.1] LineageOS 13.0 Redmi 4A [2017/08/07]

Status
Not open for further replies.

Carlos Arriaga

Senior Member
Jan 15, 2015
784
3,007
0
Guanajuato
thestrechh.github.io

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

LineageOS is based on the Android Open Source Project with extra contributions from many people within the Android community. It can be used without any need to have any Google application installed. Linked below is a package that has come from another Android project that restore the Google parts. LineageOS does still include various hardware-specific code, which is also slowly being open-sourced anyway.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review.

What's working :

  • Boots
  • RIL (Calls, SMS, Data)
  • Wi-F
  • Bluetooth
  • Camera ( Videos And Photos )
  • Video Playback
  • Audio ( Record and Playback )
  • IR
  • Double Tap Wake
  • Sensors
  • Hardware acceleration and OpenGL rendering
  • Flash
  • SD cards
  • Touchscreen/multi-touch
  • LED
  • GPS

What's not working :
  • Use VOL UP + VOL DOWN + POWER button to enter recovery mode
  • Enforcing SELinux (Use prebuilt kernel U.u)
  • VolTe (NO ETAS)
  • You tell me!

Instructions :
  • Download the latest build and GApps
  • Reboot to recovery
  • Flash the latest build and GApps
  • Reboot

Downloads :

Credits :
 
Last edited:

Carlos Arriaga

Senior Member
Jan 15, 2015
784
3,007
0
Guanajuato
thestrechh.github.io
My manifest used:

<?xml version="1.0" encoding="UTF-8"?>
<manifest>

<!-- device tree -->
<project path="device/xiaomi/rolex" name="Redmi4A/android_device_xiaomi_rolex" remote="github" revision="cm-13.0" />
<project path="device/qcom/common" name="LineageOS/android_device_qcom_common" remote="github" revision="cm-13.0" />

<!-- vendor -->
<project path="vendor/xiaomi/rolex" name="Redmi4A/android_vendor_xiaomi_rolex" remote="github" revision="cm-13.0" />

</manifest>
 

LinuxPanda

Senior Member
May 24, 2017
691
531
103
India
Great ROM. Thank you very much.

May I know why lineage-13.0-20170725-UNOFFICIAL-rolex was removed from androidfilehost? Any issues in that rom released on 25th?
 
  • Like
Reactions: Jish98

eternal1404

Member
Jun 24, 2017
41
4
8
Chennai
Hey Carlos! Tried the rom.Absolutely butter.Sorry if I'm being a big itch but is there any chance you could somehow make a VoLTE patch or something?Reply appreciated.

Sorry again for being an itch :(
It's just that can't use the phone without VoLTE :(
 

BryanByteZ

Senior Member
Apr 30, 2014
1,126
839
0
Hey Carlos! Tried the rom.Absolutely butter.Sorry if I'm being a big itch but is there any chance you could somehow make a VoLTE patch or something?Reply appreciated.

Sorry again for being an itch :(
It's just that can't use the phone without VoLTE :(
For VoLTE we need the kernel source.
 

thatOneWeeaboo

Senior Member
Aug 4, 2014
162
86
58
A HUUUGE THANKS for you to fix those GPS issue, and also to make the native dt2w working!

Also, video playback looks fine on mine, played a few downloaded videos and nothing weird happened (those are .mp4)
 
Last edited:

tschall

New member
Aug 3, 2017
4
1
0
[FIX] Low Mic volume/gain issue

I'm going to share a fix for low mic volume/gain issue. The Redmi 4A is suffering from bad mic issues, not during a phone call, but in other apps e.g. voice recorder (or videos recorded with de device, if the not working feature will be fixed in the future). It's not a hardware issue but software issue:

Root is required.

Navigate to the root directory of the phone:
Root/system/etc/
Then look for a file named "audio_platform_info.xml" with text editor of your choice .
Now go to the bottom of the file you will see </acdb_ids> , you need to add the below line before/above that </acdb_ids>
Click and add this line:

<device name ="SND_DEVICE_IN_VOICE_DMIC" acdb_id = "100"/>

Now just save the file.
Reboot the device now.

Source: en.miui.com/thread-628652-1-1.html
 
  • Like
Reactions: LinuxPanda

LinuxPanda

Senior Member
May 24, 2017
691
531
103
India
Source: en.miui.com/thread-628652-1-1.html
Thanks, ill try this. :good:

New build is up guys!

Download In the OP
Incredible update. :good:

I can't express my gratefulness with words. :D

I don't know what magic you guys are doing but this ROM runs more smoothly than the official ROM :laugh: and I now understand why they are not releasing the kernel for this phone because everyone will switch to LineageOS. :p

gr8 job. btw why dont we have seperate xda forum?
We do have a separate forum for Redmi 4A. :)
 

tschall

New member
Aug 3, 2017
4
1
0
New fix: Solving the problem with the quality of sound recording in video/voice rec.

-root required

1. open file:
/system/etc/audio_platform_info.xml

Under <acdb_ids> add this:
<device name="SND_DEVICE_IN_HANDSET_MIC" acdb_id="1"/>
<device name="SND_DEVICE_IN_HANDSET_STEREO_DMIC" acdb_id="1"/>

2. open file:
/system/etc/mixer_paths_qrd_sku2.xml

search for:
<path name="handset-mic">
<path name="adc1" />

There are two lines with DEC1 / DEC2 - delete them and replace it with:
<ctl name="DEC1 Volume" value="96" />
<ctl name="DEC2 Volume" value="96" />

3. Restart phone

Source: 4pda.ru/forum/index.php?showtopic=774539&st=1180#entry56251135
message # 1200
(via google translator)
 
Status
Not open for further replies.