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

swieder711

Senior Member
Aug 31, 2011
1,318
271
113
Boston
Along with my WiFi problem of not turning on/staying on, I was also getting a message that Bluetooth had stopped. I never got to the BT problem since I was stuck on WiFi. I tried resetting the network settings and doing a factory reset. No Good.

Can someone with a TB8704F that has working WiFi (and BT) outline the steps you took to upgrade? What OS were you on previously? What did you wipe before installing LOS17.1 (06-01-2020)? Did you install Gapps? Which Gapps package and in what order (at the same time as LOS or after an initial reboot)?

Since i can reliably restore my LOS 16 NANDROID via TWRP 3.3-1, I can do some testing and capture some logs if that helps and you have any suggestions.

Thanks
Scott
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
@swieder711
Since you helped me such a long time ago when I was ready to bin my TB8704F, it seems appropriate that I should try to help you in return - though I would have anyway... :)
As best I remember, I was on LOS 16. I did a full wipe, all partitions, formatted Data in TWRP (checking just now, it looks like the standard TWRP 3.3.1, not the one specially designed for this device), installed LOS 17.1, OpenGapps Pico, Magisk 20.4. TWRP starts by asking me for a password (duh...) but when I cancel it proceeds as normal.
I've been streaming BBC iPlayer & Netflix without problems, despite root, with no stutters or interruptions. I've just tried my BT earbuds, and they connected immediately and work, though I can't speak for the stability or longevity of the connection, since I normally just rely on the stereo speakers.
Hope this helps, if only to give you a bit of encouragement to keep trying, as you did for me. Thanks again for that, by the way.
 
  • Like
Reactions: swieder711

swieder711

Senior Member
Aug 31, 2011
1,318
271
113
Boston
@swieder711
As best I remember, I was on LOS 16. I did a full wipe, all partitions, formatted Data in TWRP (checking just now, it looks like the standard TWRP 3.3.1, not the one specially designed for this device), installed LOS 17.1, OpenGapps Pico, Magisk 20.4. TWRP starts by asking me for a password (duh...) but when I cancel it proceeds as normal.
Thanks for the karma inspired info.

Can you be a little more specific about what you wiped? Did you wipe System or Boot? Or just data, cache and dalvik?

Did you reboot between installing LOS, Gapps and Magisk?

Lastly, Do you need to format data since you wiped it? I thought wiping also formatted. No harm in an extra format, just wondering.
 

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
I wiped only the partitions offered by TWRP, and I don't believe Boot is one of them. Just a total TWRP nuke to create an "empty" device. No intermediate reboots, just one by one flashing of ROM, Gapps, Magisk, then reboot. I did the advanced wipe of everything and then data format before the flashing. As you say, an additional data format can't hurt.
 
Last edited:

swieder711

Senior Member
Aug 31, 2011
1,318
271
113
Boston
I wiped only the partitions offered by TWRP, and I don't believe Boot is one of them. Just a total TWRP nuke to create an "empty" device. No intermediate reboots, just one by one flashing of ROM, Gapps, Magisk, then reboot. I did the advanced wipe of everything and then data format before the flashing. As you say, an additional data format can't hurt.
On my twrp advanced wipe screen I see the options shown below.

Shall I select to Wipe: Dalvik, System Data, Internal, and cache for wiping?
No wipe for Boot, microSd or OTG?

 
Last edited:

dahawthorne

Senior Member
Nov 15, 2014
1,919
1,765
143
Brighton
I don't think I've ever wiped boot, though I'm old and have a bad memory. You don't want to wipe OTG or MicroSD, since they may have things that you want (movies, TV, photos...). In fact, if you don't have them attached I'd be surprised if you can even select them.
Me. I'd wipe and format everything apart from boot - total nuke from space - then try installing ROM, Pico Gapps, Magisk. If it still doesn't work, then in desperation I'd also nuke boot and try again. Android has always seemed to me to be very resilient, and you can usually recover from most problems.
And bottom line - you're the guy who dug me out of my pit. You can certainly dig yourself out of yours. :)
 
  • Like
Reactions: swieder711

swieder711

Senior Member
Aug 31, 2011
1,318
271
113
Boston
I wiped only the partitions offered by TWRP, and I don't believe Boot is one of them. Just a total TWRP nuke to create an "empty" device. No intermediate reboots, just one by one flashing of ROM, Gapps, Magisk, then reboot. I did the advanced wipe of everything and then data format before the flashing. As you say, an additional data format can't hurt.
3rd time worked. Coming from los16, I wiped cache, Dalvik, system, data and internal storage (all twice). Than I formatted. Lastly, I installed los17.1 (06-01-20), gapps and magisk.

Device booted with no errors. WiFi and BT are working.

Thanks for the help.
 
Last edited:
  • Like
Reactions: dahawthorne

Sage

Senior Member
Dec 12, 2005
1,390
326
113
AU
So trying again on my really painful 8704v version.. Coming from a working highwaystar_ru LOS 14.1. (Android 7.1).

1. TWRP flashed, installed and working. (not just boot, actual flash)
2. Full Wipe including Internal Storage.
3. Flashed ROM.
4. Flashed OpenGapps Nano.
5. Flashed Magisk 20.4
6. Flashed boot-los17.1-tb8704v-20200531.img

Reboot.

Looks like it back to the continuous LOS logo.. waited about 15 minutes.. no love.. what am i missing??
 

Sage

Senior Member
Dec 12, 2005
1,390
326
113
AU
got it working.. only thing i changed was i used @lancebuks TWRP version. Looks like the other version referenced in the OP is buggy. Details below.

Originally Posted by lancebuks
Hi Everyone,

As an experiment I wanted to see if I could compile TWRP for my TB-8704X so I started out using Matshias sources which worked fine. My next step was to see if updating the kernel would with the issue of not being able to see the internal storage with stock Android 8.1 so I then forked Matshias's Device Tree and updated kernel from 8704X_S001025_190606 and ran another compile test. With my build I'm now able to select Internal Storage with 8.1 so I believe the updated kernel fixes the issue where TWRP can't see and wipe partitions.

Credits to Matshias for providing his device tree
Thanks to plutothot for helping test this on the TB-8704F

Sources
TWRP Manifest: https://github.com/minimal-manifest-.../tree/twrp-7.1
Device Tree (TB-8704X): https://github.com/lancebukkake/twrp...ee/android-7.1
Device Tree (TB-8704F): https://github.com/lancebukkake/twrp...04x/tree/8704F

Downloads (TB-8704X and TB-8704F are separate so make sure you download the correct img for your device)
Github

Download for TB-8704V (shoutout to xsacx for testing it out)
https://github.com/lancebukkake/twrp_android_device_tb_8704v/releases

Please click Thanks if I helped you

---------- Post added at 09:39 AM ---------- Previous post was at 09:17 AM ----------

i should add i noticed that TWRP did not stick.. still has Lenovo Recovery. though not fussed really can always boot it when i need too.

---------- Post added at 09:41 AM ---------- Previous post was at 09:39 AM ----------

https://forum.xda-developers.com/showpost.php?p=82985637&postcount=392
I've written "format" so many times across so many different device threads that the letters are wearing out on my keyboard, yet people still keep asking...
Not sure if that was directed at me mate. though see Step "2" in my post. I did format internal storage. Typing "yes".

Though as i said different version of TWRP fixed it for me! So i am happy! Running beatifully!
 
  • Like
Reactions: lancebuks