Development [ROM] [WIP] LineageOS 16.0 for Lenovo Phab Plus [PIE]

Status
Not open for further replies.
Search This thread

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
https%3A%2F%2Fimg.xda-cdn.com%2FaDFkpOAu5vvP3eSqlDEwgHF0FAE%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252F9hgj8gF65dsomv5qPnMMQ9q-ICg%253D%252Fhttps%25253A%25252F%25252Fimg.xda-cdn.com%25252F_qciZ_MtPTGjDb-adIt4fAUOirk%25253D%25252Fhttps%2525253A%2525252F%2525252Fimg.xda-cdn.com%2525252Fy-LtXHGCDBH0KxFw9MxWAPF3guk%2525253D%2525252Fhttp%252525253A%252525252F%252525252Fi.imgur.com%252525252F2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 9, 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. You can also view the Changelog for a full list of changes & features.

Disclaimer:
Code:
#include <std_disclaimer.h>

/*
 * 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.
 *
 */

Instructions:
  • Download the latest build and gapps
  • Boot to recovery
  • Flash the latest build
  • Reboot
Downloads :
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported with enough information may be ignored.

Known issues:
Hardware
WiFi
  • The MAC read is showing something, but cannot confirm it is the correct MAC

Sensors
  • GeoMac is not a thing but it shows it
  • Compass doesn't work
  • Accelometor works, but it's not calibrated properly

Sound
  • Front Speaker, Line In and Line Out doesn't work
  • Microphone doesn't work

Camera
  • All camera is detected, but doesn't work
  • Flashlight doesn't work

RIL (Radio Interface Layer)
  • IMEI doesn't show
  • Calls doesn't work

Radio
  • Should work, but line out is broken so there's no point.

Software

Offline charging (Kernel related)
  • Display flickers
  • The display position is off

Special thanks to:
@shahnawaz_sheikh
@althafvly

Kernel Source:
https://github.com/LenovoPhabPlus/android_kernel_lenovo_PB1770M
 
Last edited:

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
Screenshots
 

Attachments

  • Screenshot_20200527-201636.jpg
    Screenshot_20200527-201636.jpg
    81.4 KB · Views: 342
  • Screenshot_20200527-201644_Trebuchet.jpg
    Screenshot_20200527-201644_Trebuchet.jpg
    119.4 KB · Views: 328
  • Screenshot_20200527-201654_Trebuchet.jpg
    Screenshot_20200527-201654_Trebuchet.jpg
    81.8 KB · Views: 303
  • Screenshot_20200527-201701_Trebuchet.jpg
    Screenshot_20200527-201701_Trebuchet.jpg
    73.3 KB · Views: 322
  • Screenshot_20200527-201708_Settings.png
    Screenshot_20200527-201708_Settings.png
    132.4 KB · Views: 354
Last edited:

kr.ashok

Member
Feb 3, 2013
20
5
thanks!

Thanks for the ROM..
I have a few questions -
1. Do the device need to be rooted?
2. Any recovery needs to be installed before flashing this ROM?
3. Where can I download the gapps?
4. the root su signed file needs to be flashed after this ROM?

Regards,
Ashok

https%3A%2F%2Fimg.xda-cdn.com%2FaDFkpOAu5vvP3eSqlDEwgHF0FAE%3D%2Fhttps%253A%252F%252Fimg.xda-cdn.com%252F9hgj8gF65dsomv5qPnMMQ9q-ICg%253D%252Fhttps%25253A%25252F%25252Fimg.xda-cdn.com%25252F_qciZ_MtPTGjDb-adIt4fAUOirk%25253D%25252Fhttps%2525253A%2525252F%2525252Fimg.xda-cdn.com%2525252Fy-LtXHGCDBH0KxFw9MxWAPF3guk%2525253D%2525252Fhttp%252525253A%252525252F%252525252Fi.imgur.com%252525252F2okPze5.png


LineageOS is a free, community built, aftermarket firmware distribution of Android 9, 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. You can also view the Changelog for a full list of changes & features.

Disclaimer:
Code:
#include <std_disclaimer.h>

/*
 * 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.
 *
 */

Instructions:
  • Download the latest build and gapps
  • Boot to recovery
  • Flash the latest build
  • Reboot
Downloads :
Reporting Bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
  • If the problem disappears after running "setenforce 0" from a root shell, grab /data/misc/audit/audit.log
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported with enough information may be ignored.

Known issues:
  • Sound
  • Sensors
  • Proper OpenGL
  • Camera
  • RIL
  • Torch
  • Offline charging

Special thanks to:
@shahnawaz_sheikh

Kernel Source:
https://github.com/sheikhshahnawaz41299/android_kernel_lenovo_pb1770m
 

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
Thanks for the ROM..
I have a few questions -
1. Do the device need to be rooted?
2. Any recovery needs to be installed before flashing this ROM?
3. Where can I download the gapps?
4. the root su signed file needs to be flashed after this ROM?

Regards,
Ashok

Sorry for the late reply, but here it is:
Q. Do the device need to be rooted?
A: Not really, if you are on stock rooting your device is not required to start

Q: Any recovery needs to be installed before flashing this ROM?
A: Yes, use my latest TWRP

Q: Where can I download the gapps
A: Not working / flashable due our old TWRP, will rebase TWRP later

Q: The root su signed file needs to be flashed after this ROM?
A: No
 
Last edited:

AAMtm

Member
Jul 4, 2020
5
0
i had 2 problems with june version of this rom, 1- battery indicator doesnt change, for example if it had 57 percent charge, indicator shows 57 percent but it never decrease or increase. 2- i couldnt install gapps, i downloaded opengapps and mindthegapps, both for arm64 and android 9 but i got error 64. i want to know these issues are fixed?
i will be thankful if you answer me asap.
thanks
 

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
i had 2 problems with june version of this rom, 1- battery indicator doesnt change, for example if it had 57 percent charge, indicator shows 57 percent but it never decrease or increase. 2- i couldnt install gapps, i downloaded opengapps and mindthegapps, both for arm64 and android 9 but i got error 64. i want to know these issues are fixed?
i will be thankful if you answer me asap.
thanks

Here's my answers:
1. That's a bug we just can't fix. Thanks for reminding me to add that anyways
2. Our TWRP is too old, this kernel have issues with TWRP so I won't release it yet.
 

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
New Update!

Changelog:
20200712
Kernel
- Include all old kernel updates
- kgsl/drm: Featurize genlock support
- msm8939: Undervolt CPU even more

ROM
- First source compile
- Imported audio policies
- Updated to PQ3A.190801.002
- Security patch updated to June 5, 2020
- WiFi MAC can now be read correctly
- Bluetooth device name renamed

Misc stuff
- Gapps tested and working

Download:
https://www.androidfilehost.com/?fid=8889791610682891171
 

phabMan

Member
Jul 12, 2020
5
0
TipzTeam thank you man! I want to ask you that if future releases will fix the battery percentage issue.
 

tipzrickycheung

Senior Member
Nov 3, 2019
832
391
Tiu Keng Leng
i9100
LG Optimus 4X HD
New screenshots!
 

Attachments

  • Screenshot_20200713-084742.png
    Screenshot_20200713-084742.png
    248.9 KB · Views: 73
  • Screenshot_20200713-084507_Trebuchet.jpg
    Screenshot_20200713-084507_Trebuchet.jpg
    77.1 KB · Views: 69
  • Screenshot_20200713-084543_Trebuchet.png
    Screenshot_20200713-084543_Trebuchet.png
    134 KB · Views: 68
  • Screenshot_20200713-084517_Settings.png
    Screenshot_20200713-084517_Settings.png
    121.5 KB · Views: 70
  • Screenshot_20200713-084525_Settings.png
    Screenshot_20200713-084525_Settings.png
    105.4 KB · Views: 73
  • Screenshot_20200713-084532_Settings.png
    Screenshot_20200713-084532_Settings.png
    121.2 KB · Views: 78

AAMtm

Member
Jul 4, 2020
5
0
May i ask you to send your twrp download link?
And is there any solution or app etc to see correct battery percentage?
 

adilhaimoura

Member
Aug 27, 2018
37
8
Samsung Galaxy Note 4
The lineageos circle is looping forever

Hi
I have the latest stock Rom 5.1.1
and make your twrp recovery 3.3.1.0
not rooted
flashed with 12-7 dated Rom of yours
after rebooting the back smile with the circle is looping for ever
any idias?
 
Status
Not open for further replies.

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    New Update!

    Changelog

    20200715
    - Fixed a few lag issues
    - Made system generate lass heat
    - Made IMEI disappear (will fix later)
    - Imported camera blobs
    - Imported some init.qcom stuff

    Download

    https://www.androidfilehost.com/?fid=8889791610682893029
    1
    New update!
    20200714
    - Fix vm_bms (charging issues)

    Download: https://www.androidfilehost.com/?fid=8889791610682892292
    1
    Sound for calls or even videos ?? My son says its better to see the ytube in my mobile than his for the big screen.. but now he can't
    is there any chance to be solved soon??
    appreciate your time and effort !!

    we are slowly fixing those issues, sorry if this ROM is currently not suitable.
    1
    I know this might be not relevant but I have noteced you have many custom ROMS for our phab .. is there is one which is 90% or obove working .. I do not like the stock ROM any more and want to upgrade >> I will wait for your kindness for completing this android 9 ROM , but want to wait in better place than 5.1.1 .. please give me the link if such ROM is available android 6 or 7 or 8 please!!
    thanks you again

    No, those pie ROM is even more broken, will get back to fixing them later. I will slowly but surely fix the bugs but there is no 6 or 7 or 8 ROMs because we skipped all of those and went straight for Pie.
    1
    New Update!

    20200721
    Performance
    - Performance optimizations
    - Add Dexpreopt for application optimization

    Kernel
    - Fixed High-Load Average due to Drivers
    - Reduced CPU Load-Average
    - fix the deadlock in xt_qtaguid when enable DDEBUG
    - net: ipv6: make "ip -6 route get mark xyz" work.
    - net: ipv6: Add DEVCONF_DROP_UNICAST_IN_L2_MULTICAST to enum
    - ipv6: add option to drop unicast encapsulated in L2 multicast
    - ipv4: expose IPV4_DEVCONF
    - cfg80211: size various nl80211 messages correctly
    - ARM: wire up memfd_create syscall

    Security Patch
    - Added Vendor Security Patch Date of 2016-02-01
    - Synced LineageOS Security Patch

    WiFi
    - Improved WiFi

    Bluetooth
    - Bluetooth Improvements

    Power
    - Power Improvements

    Download: https://www.androidfilehost.com/?fid=8889791610682896829