[ROM][UNOFFICIAL][10.0][tb8704f/x/v] LineageOS 17.1 for Lenovo TAB 4 8 plus

GildroY

Member
Oct 10, 2017
27
5
3
Pro and learned devs. Any help will be appreciated. My Primary Camera and Flashlight are not working.
TB8704X, LTE 3GB/16GB variant.

I have tried everything that I could:
- wiped clean all the data and re-flashed multiple ROMs - this one, Pixel OS (Android 9)
- removed my SD card that I was using as extended storage since mine is a 16GB version, wiped the data and flashed ROM again.
- Flashed without Magisk
- Disabled access to Camera from all the apps accept the system app.

None of this worked.

- 3rd Party Camera apps also do not detect primary camera but just the front one.
- 3rd party flashlight app showed the message: your flashlight and camera are in use with another app.

I dont have a windows PC so could not flash the stock ROM back on the tablet to test using QFIL. But I clearly remember that Primary Camera and Flashlights were working with stock.
Any help with an alternate way to flash stock ROM via Ubuntu will be great.

Many thanks in advance.
Please let me know if any additional information or logs can help
 

Stolonifer

Member
Dec 8, 2019
7
0
1
CHANDIGARH

GildroY

Member
Oct 10, 2017
27
5
3
Pro and learned devs. Any help will be appreciated. My Primary Camera and Flashlight are not working.
TB8704X, LTE 3GB/16GB variant.

I have tried everything that I could:
- wiped clean all the data and re-flashed multiple ROMs - this one, Pixel OS (Android 9)
- removed my SD card that I was using as extended storage since mine is a 16GB version, wiped the data and flashed ROM again.
- Flashed without Magisk
- Disabled access to Camera from all the apps accept the system app.

None of this worked.

- 3rd Party Camera apps also do not detect primary camera but just the front one.
- 3rd party flashlight app showed the message: your flashlight and camera are in use with another app.

I dont have a windows PC so could not flash the stock ROM back on the tablet to test using QFIL. But I clearly remember that Primary Camera and Flashlights were working with stock.
Any help with an alternate way to flash stock ROM via Ubuntu will be great.

Many thanks in advance.
Please let me know if any additional information or logs can help
Any help or suggestion here will be appreciated. Many thanks
 

albert_htc

Senior Member
Apr 5, 2010
588
31
48
Hi

Are there any plans to update this rom to the latest 17.1 or 18 builds ?

If not does anyone have a guide on how to take the current build and update it to the latest ?

Thanks
 

scott.e

Member
Apr 28, 2007
7
0
31
TRINITY
I also have a "v" and am experiencing the same problems with Bluetooth. I have a clumsy workaround in that I plug a stand-alone LE Bluetooth transceiver into the earphone jack and by-pass the built-in Bluetooth.

As the other Tab 4 8 Plus variants don't exhibit this problem, I will hazard a guess that the image file that is necessary for the "v" to boot has set a flag incorrectly or overwritten an environmental variable necessary for the Bluetooth to function. Also, any attempt to load a third-party Bluetooth program causes the tablet to crash. This indicates that the program exception handling is not functioning either as a call to the Bluetooth driver isn't handled properly.

Can any of the code mavens in this forum contribute something more than a guess? Thanks in advance.
1/25/21 Some additional information that may serve to focus the problem. If I plug my headphone into the device and then attempt to return to the internal speaker by unplugging the headphones, I hear nothing. The headphone jack is still functioning but the internal speaker will not. I have to reboot the device to return the function to the internal speaker. If Bluetooth cannot access the audio data stream because it is routed to the DAC supplying the internal speaker or the headphones, that could cause the diver to crash.
 

pompyz

Member
Jan 16, 2010
40
5
28


Code:
/*
* I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or you getting fired because the alarm app failed (like it did for me...).
* Please do some research if you have any concerns about features included in the products you find here before flashing it!
* YOU are choosing to make these modifications, and if you point the finger at me for messing up your device, I will laugh at you.
* Your warranty will be void if you tamper with any part of your device / software.
* Same statement for XDA.
*/

LineageOS is a free, community built, aftermarket firmware distribution of Android 10, 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 works:
Calls/SMS/Mobile data
Wifi
Bluetooth
GPS
Camera
Audio
FM radio
Torchlight
USB and WLAN tethering

Broken
DT2W
You tell me

Source code:
device : https://github.com/lenovo-devs/android_device_lenovo_TB8704
device tb-comon https://github.com/lenovo-devs/android_device_lenovo_tb-common
kernel: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953
vendor: https://github.com/lenovo-devs/proprietary_vendor_lenovo

2020-09-06
  • Update Lineage code
  • Fixed FM radio issue
  • Fixed issues on 8704F (wifi only version), when charger cable unplugged (please report if it really works this time, I dont have wifi only tablet to test)
mailru: lineage-17.1-20200906-UNOFFICIAL-TB8704.zip
gdrive: lineage-17.1-20200906-UNOFFICIAL-TB8704.zip
boot.img for TB-8704V: boot-los17.1-tb8704v-20200531.img (source code)

Previous versions:


How to install
You have to had TWRP installed from this thread TWRP and ROOT for Tab 4 8/10 (Plus) (TB-8704X/F/V,TB-X704L/F, TB-8504X/F, TB-X304L/F)

In TWRP clean Data if you coming from stock ROM and do Install of this ROM. If you have android 8 stock rom installed you have to format Data with data loss, because used encryption is incompatible with android 7.1

TB-8704V (Verizon)
If you have TB-8704V tablet, you have to additionaly flash boot.img from link above after rom intsallation. This tablet has some hardware differences from x and f and requires custom kernel to work,

Thanks
Big thank to @mistersixt, who donated $$ for device.


XDA:DevDB Information
[ROM][UNOFFICIAL][10.0][tb8704f/x/v] LineageOS 17.1 for Lenovo TAB 4 8 plus, ROM for the Lenovo Thinkpad Tablet

Contributors
highwaystar_ru
Source Code: https://github.com/lenovo-devs/android_kernel_lenovo_msm8953

ROM OS Version: Android 10
ROM Kernel: Linux 3.10.x
Based On: LineageOs

Version Information
Status:
Testing

Created 2020-05-31
Last Updated 2020-05-31
Hey.....Any updates on releasing LOS 18.x for Lenovo Tab 4 8 plus from your side. Awaiting eagerly for an update....Thanks in advance !!
 

mistersixt

Senior Member
Jun 17, 2011
456
209
63
Hey.....Any updates on releasing LOS 18.x for Lenovo Tab 4 8 plus from your side. Awaiting eagerly for an update....Thanks in advance !!
More important: could someone please build a 17.1 version with a recent security patch level, like 02/2021? Or could someone write a small howto of how to build and patch the current source? I am happy to provide builds by myself like every 3 months or so.

Kind regards, mistersixt.
 

dahawthorne

Senior Member
Nov 15, 2014
1,944
1,797
143
Brighton
Dirty flash.
DT2W no - that's what the fingerprint reader is for.
BlueTooth yes.
Fingerprint UNlock yes (I'm guessing that's what you meant).
I don't have VOLTE in the UK.