yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Sage:
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??
[Thinkpad Tablet Android Development] dahawthorne:
https://xdaforums.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...
[Thinkpad Tablet Android Development] Sage:
got it working.. only thing i changed was i used [MENTION=4567848]lancebuks[/MENTION] 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 ----------

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!
[Thinkpad Tablet Android Development] Sage:
works great. and standby battery is amazing. 1% in 12 hours??
[Thinkpad Tablet Android Development] WiteWulf:
Yeah, one of the first things I noticed was the much improved battery life on my tb8704f.
[Thinkpad Tablet Android Development] mr.inter:
And how much is active drain please?
[Thinkpad Tablet Android Development] WiteWulf:
I've not noticed any significant change in active use. I mostly use the device for relativelt lightweight activities like ebooks and web browsing.
[Thinkpad Tablet Android Development] huunn:
Try flashing OS, boot.img, gapps, (magisk) in order.

My 8704V was flashed well that way.
[Thinkpad Tablet Android Development] lancebuks:
There seems to be some users experiencing problems and others aren't. I updated TWRP to 3.3.1-0 to use updated kernels for TB-8704F/X/V. Each have separate kernels so I built separate TWRPs for each. The post I originally wrote is hidden between several thousand post so it's easy to miss. If anyone isn't aware that of my TWRP release here's the post.

I will compile a new LOS build as soon as the security updates have been merged. I only have the TB-8704X so I can only test with this. It would be interesting to know if using my TWRP build fixes any bootloop issues.
[Thinkpad Tablet Android Development] WiteWulf:
Ignore me, it's not a newer version of your TWRP build than I was already on.
[Thinkpad Tablet Android Development] suhridkhan:
TB-8704X

If I return to stock rom, I don't have wifi any more. I remember reading about this somewhere, but cannot seem to find it anymore. Can someone direct me to how this can be resolved? Thanks.
[Thinkpad Tablet Android Development] Hnktc:
U have to flash NOT the latest official rom stock, it has your bug
[Thinkpad Tablet Android Development] suhridkhan:
Do you have link for a stock ROM without bug?
[Thinkpad Tablet Android Development] lancebuks:
lineage-17.1-20200713-UNOFFICIAL-TB8704

Hi, latest build available with the July security patch.

All I did was sync the repo and build - the latest patch was added by the LOS team.

Dirty flash and clean flash was fine and everything seems to be working.

Download lineage-17.1-20200713-UNOFFICIAL-TB8704.zip

I can only test this on my TB-8704X so hopefully it'll work with the with the F and V variants as well.

Flash my TWRP as it's been updated with the latest TB-8704 kernel.
[Thinkpad Tablet Android Development] turiato:
20200713 tested on TF8704F.

Trying to boot without the power supply reboots to recovery.

Booting connected to a power supply also leads to recovery.

Booting connected to a computer works fine. Once booted the computer can be disconnected and the tablet works without problems.

It is much better than previous versions.
[Thinkpad Tablet Android Development] dahawthorne:
Nope. I dirty-flashed the new version on my TB-8704F and it stopped on the Lenovo logo. I re-flashed Lance's TWRP (which doesn't seem to describe itself differently from standard TWRP, which is a bit confusing), wiped Dalvik, cache & system, flashed ROM, Gapps Pico and Magisk 20.4, and it reboots perfectly well into the system.

Excellent job, Lance - thank you again.
[Thinkpad Tablet Android Development] turiato:
Thank you, I have repeated your same steps on my TB-8704F:

Install lance's TWRP

Wipe Dalvik, Cache and system

Install rom, gapps and magisk

The result is still the same I had with a dirty flash: Reboot to recovery unless the tablet is connected to a computer
[Thinkpad Tablet Android Development] dahawthorne:
I suggest that you take a backup of your current system image, copy it to your PC, then wipe everything and format data ("yes"), then repeat the flash. You'll have to set up everything again, but if it works then it suggests that it's the data format that you're missing.
[Thinkpad Tablet Android Development] samxda:
Finally success with my TB-8704V, huge thanks to everybody who made this possible [MENTION=7737930]highwaystar_ru[/MENTION], [MENTION=4567848]lancebuks[/MENTION], [MENTION=6161558]dahawthorne[/MENTION]

Issues I ran into and their resolutions (noob alert):

- TWRP, had quite a few setbacks with the original 3.2.3. Glad I came across the posts referring to the 3.3.1 version. Once I flashed the new one, I was able to wipe, format, and flash without errors.

- Interestingly, twrp USB flashing would not stick at all, not till I tried flashing from Recovery it actually flashed properly.

- Had the super annoying "Error 7" issue trying to flash the rom. Seemed like I tried everything it just wouldn't work till I tried a different/newer SD card the error stopped occurring.

- The sequence of steps that ended up working smoothly for me was - wipe/format data/flash rom/flash boot/gapps/magisk. The first boot was quite speedy.

- Netflix was not available till the SafetyNet trick with the fingerprint from Pixel was applied, post #43. (funny, there was a welcoming email to the Pixel family from Google shortly after...)

Things that appear off/not working, in no particular order:

- There is quite a bit of delay for the LTE connection to start after the tablet boots

- "Android setup" to "finish the tablet setup" keeps crashing with System UI Stopped error

- "Tap to wake" not working

- (minor of course) Tablet shows as 8704X model instead of 8704V

Again, big thanks!
[Thinkpad Tablet Android Development] turiato:
Tank you again for your advise.

Unfortunately formatting data makes no difference.

I keep trying different approaches to flash this ROM
[Thinkpad Tablet Android Development] WiteWulf:
Just dirty-flashed [MENTION=4567848]lancebuks[/MENTION]'s 20200713 image over highwaystar_ru's original 20200601 image on my TB8704F. I flashed an updated opengapps and magisk at the same time, just to be on the safe side, and it's working just fine: camera, wifi and bluetooth all tested along with two reboots and a cold boot to confirm that no USB connection is necessary.

Nice work [MENTION=4567848]lancebuks[/MENTION], thanks for fixing this and continuing to make updates available.
[Thinkpad Tablet Android Development] swieder711:
Thanks for the update. Did you do anything with Magisk and it's modules before the dirty flash?
[Thinkpad Tablet Android Development] WiteWulf:
No, nothing. I honestly wasn't expecting it to work first time :)
[Thinkpad Tablet Android Development] lancebuks:
TWRP 3.4.0-0

In case anyone is interested I updated TWRP to 3.4.0-0

I can confirm that it works on the TB-8704X and hopefully it's work on the F and V as well.

https://xdaforums.com/showpost.php?p=81627509&postcount=2031
[Thinkpad Tablet Android Development] WiteWulf:
Just installed on my TB8704F and it appears to be working (currently backing up the device to OTG). Obviously not an exhaustive test, but looking good so far :good:
[Thinkpad Tablet Android Development] suhridkhan:
Why not have your own TWRP thread? This would be easier to follow and communicate with others in case of any issues.
[Thinkpad Tablet Android Development] lancebuks:
Ya I was thinking the same thing, will do that in the next few days.
[Thinkpad Tablet Android Development] Pedros97:
Kernel compile

HI can anyone describe the procedure step by step how to compile kernel with USB Wifi adapter TL-WN722N support to TB8704X LineageOS 17.1 ?

Thank your very much.
[Thinkpad Tablet Android Development] DF5JT:
TWRP doesn't work at all in the latest 3.4.0 version. Installs, but touchscreen isn't working at all. When it goes black and I power it up again, even Swipe to Unlock doesn't work.

Went back to 3.3.1 and installed the ROM with Gapps, but it's stuck in a bootloop, even with /data formatted. Oh well.

8704F WiFi
[Thinkpad Tablet Android Development] turiato:
Several of us with 8704F are having bootloops to recovery with the last versions.

Try the 20200601 in the OP that works fine for most of us.
[Thinkpad Tablet Android Development] lancebuks:
Hi - Did you flash TWRP for TB-8704F or TB-8704X?

Another had the same issue with his 8704F which was due to flashing TWPR for 8704X - here's the tread https://xdaforums.com/showpost.php?p=83087937&postcount=408

TWRP for each device are different due to the X, V and F having different kernels, cross-flashing won't work properly.

---------- Post added at 05:41 PM ---------- Previous post was at 05:39 PM ----------

In case anyone is intereseted I started another thread specifically for TWRP for TB-8704F/X/V

https://xdaforums.com/thinkpad-tablet/development/recovery-twrp-3-4-0-0-lenovo-tab4-8-plus-t4134151
[Thinkpad Tablet Android Development] turiato:
Looking for differences from 20200601 and [MENTION=2982297]lancebucks[/MENTION]' builds that cause bootloop on TB-8704F, I have found that [MENTION=7737930]highwaystar_ru[/MENTION] did not remove telephony apps for TB-8704F by modifying the "/install/bin/deunify.sh" script.

I have changed this script in the last lancebuck's ROM by the one in 20200601 ROM and now my TB-8704F boots without problem.

I am now testing to find which of the telephony apps caused the problem.
[Thinkpad Tablet Android Development] WiteWulf:
I asked highwaystar_ru about this towards the beginning of this thread, and he responded that his fix for the TB-8704F was to *not* remove the phone apps:

https://xdaforums.com/showpost.php?p=82717895&postcount=18
[Thinkpad Tablet Android Development] turiato:
Yes, that is just what I say.

lancebuck's ROM is removing the apps and that causes bootloop on TB-7404F. Modifying lancebuck's rom to not remove the apps boots perfect.
[Thinkpad Tablet Android Development] lancebuks:
Nice find - will be fixed from now on so you don't have to do it each time.

I missed this message https://xdaforums.com/showpost.php?p=82717131&postcount=15 - Sorry about that

I'm compiling a new build now with deunify.sh fixed. This should fix the bootloop issue with TB-8704F. Sorry about that
[Thinkpad Tablet Android Development] lancebuks:
lineage-17.1-20200721-UNOFFICIAL-TB8704

Hi, I compiled a new build which contains the deunify.sh fix.

I haven't had time to test this myself but I did a quick spot-check to see if the .sh file is fixed.

Update1: I haven't had any issues after dirty flashing this build on my TB-8704X

Update2: Clean flash is also good

https://mega.nz/folder/0ZV2SSbC#HjNloMp7OsJpB93H_zdIMw

Hopefully this build will fix the bootloop issue that TB-7804F users been having, nothing should change for TB-8704X users. I'm not sure about the TB-8704V

For those interested here's my source github.
[Thinkpad Tablet Android Development] turiato:
Thanks,

I have installed (dirty flash) your new build using your 3.4.0 TWRP. So far everything woks on my TB-8704F.
[Thinkpad Tablet Android Development] knevelsg-j:
Tried to install the .zip from the opening post yesterday on my TF-7804F (clean instal coming from stock) and once it was booted and I wanted to connect to the wifi, it shut itself off.

Read this post, mounted the storage to my pc in TWRP, loaded this version on the tablet and dirty flashed it over the previous version.

Booted and works perfectly.

Thanks!
[Thinkpad Tablet Android Development] knevelsg-j:
Small update: Video's weren't playing on my tablet, so tried the build.prop edit in post #106

Very pleased with the ROM now, standby battery is great, and everything I need works.

(reason for finally upgrading from stock was that standby battery drain was pretty high for me and I kept trying to use gestures for navigating like on my pixel. Which obviously didn't work, and was a bit frustrating.)
[Thinkpad Tablet Android Development] lancebuks:
I'll tweak audio.deep_buffer.media=false in my next build so that you don't have to do this each time from now on
[Thinkpad Tablet Android Development] lancebuks:
lineage-17.1-20200725-UNOFFICIAL-TB8704

Hi, I compiled a new build which contains audio.deep_buffer.media=false

https://mega.nz/folder/0ZV2SSbC#HjNloMp7OsJpB93H_zdIMw

Source Code:

Github
[Thinkpad Tablet Android Development] thishj:
thanks for the update, i can't download with mega, can use Google Drive
[Thinkpad Tablet Android Development] lancebuks:
OK I'll add these to Google Drive

I'm uploading lineage-17.1-20200725-UNOFFICIAL-TB8704.zip to my google drive now, here's the link. The file is still uploading so keep refreshing until you see it

https://drive.google.com/drive/folders/1ZT67cEhe23b-nNkDP8Kn4zXFkHGfkeM3?usp=sharing
[Thinkpad Tablet Android Development] lancebuks:
Does everyone prefer Google Drive?
[Thinkpad Tablet Android Development] thishj:
thank you very much！I have downloaded it. can I use dolby?no sound from dolby before 0601
[Thinkpad Tablet Android Development] lancebuks:
LOS doesn't come with dolby, I've been looking around for a dolby app that doesn't crash so if anyone has it please share
[Samsung Galaxy M30s Questions & Answers] sohamrony:
Installed EdXposed modules and now SafetyNet failed completely. Blacklisted play store, play services in edxposed manager but still no success. Play store now shows device is uncertified. Is it okay if i keep it that way? Will i get my apps auto updated. Does anyone has a workaround for this?

Device: Galay M30S, Magisk rooted with EdXposed installed, no custom rom installed
[Philips, Sony, TCL Android TV] xloolx:
Hi guys request custom rom for ANDROID TV BOX X96 max

Tech file:

Cpu Amlogic S905X, Quad Core ARM Cortex A53, 2 Ghz - gpu: Penta-Core Mali 450MP, 750Mhz

And thx
[Honor Play Guides, News, & Discussion] san.s.shriyan:
The phone does not support aptx, aptx hd and ldac anymore (it did earlier). I have confirmed this with a ldac enabled device.

Honor support did not know how to resolve the issue and arranged a callback with they never did.

The device is running emui 9.1.0.382.

New user therefore can't post external link or images.
[Honor Play Guides, News, & Discussion] jithin1:
I'm using honor play running on emui 9.1

Are you sure that it doesn't support ldac??
[Honor Play Guides, News, & Discussion] _a!:
it still supports aptx-hd. Are you sure your phone is turned on?
[Honor Play Guides, News, & Discussion] nabuhodonozor:
I have all but LDAC. Was it removed on purpose ?And why ?

Weird because in search it still shows LDAC but not in BT codec list in developer settings
[Samsung Galaxy S8 Questions and Answers] Shujee:
So I bought a used Galaxy S8 (SM-G950F) from the aftermarket. Upon doing a factory reset, the dreaded "only official released binaries are allowed" message started showing. Tried everything including wiping cache, factory-reset (multiple times). Finally found a Youtube video that showed me how to download official Samsung firmware from sammobile.com and install it using Odin. The video also suggested that I should download the "BTU" version from ANY country if I had an F model (which is supposedly international). So I downloaded the one titled United Kingdom (BTU). FWIW, the exact firmware file name was G950FXXS9DTEA_G950FOXM9DTE1_BTU.

I followed the steps in that video and viola, phone started like normal. I restored my account, got back everything working.

The only problem that I'm now facing is that my phone does not recognize my mobile sim. Earlier it was simply showing ? symbol for network. After some restarts, tray eject/inject Now it is now showing the signal bar, but it is grayed out. In Settings > Mobile Networks > Network operators, clicking Select automatically shows error "Unable to connect. Try later.", whereas clicking Select manually shows "Error while searching for networks". I have searched around quite a bit and it seems to be a well-known issue, but the posted solutions (fractory reset, sim cleaning, switching to 2G mode etc) are the things that I have already tried.

Is there anything else that I should try before contacting my network operator? Specifically I'm suspicious about the firmware that i have downloaded. Can it be that United Kingdom (BTU) is locked for the networks that operate within UK only (I'm not in the UK)?

EDIT

------

Further investigation revealed that this phone's had been flashed with fake IMEI number. The number that I see in *#06# is totally different from what is printed at the back of the phone, which is what is probably causing the sim problem I mentioned above (local laws require IMEI to be registered with authorities for a device to be able to work).

Even a factory reset and wipe didn't restore the original EMEI number. Is it the end of the road for me? Or can I restore the original EMEI somehow?
[Tilt, TyTN II, MDA Vario III Themes and Apps] Buby84:
Heelo can i have alredy try to fiind a good program for Hida Sms and Calls from a number but i haven't find ... maybe you have some program wich can help me?

Thankyou :D
[Tilt, TyTN II, MDA Vario III Themes and Apps] mskip:
Before everyone else starts on you for not searching the forum before you post a question thats been asked ALOT try googleing EZ Secret SMS its an excellent piece of software that will do everything you want. If you want to block calls\sms messages then try Magicall. Now quickly run for it before you get flamed lol.
[Tilt, TyTN II, MDA Vario III Themes and Apps] jahrami:
eye on privacy

http://www.pocketgear.com/software_detail.asp?id=23810
[LG G8 Guides, News, & Discussion] BrandonB1218:
Edit with a quick note: My apologies if I have misrepresented my involvement in the development of this method. I have gotten some PM's asking for help getting other devices unlocked. I should make it clear that my involvement only goes as far as #1. Putting this guide together and #2. Testing various different things. An extremely short and not at all comprehensive list of the real talent involved here would be people like White, j4nn, Vlad48, those are just the ones I know of.

After lots of work and testing, we now have a method of bootloader unlocking that is safe, if done properly, by flashing a V50 engineering bootloader. Note that you must be on a firmware version vulnerable to temp rooting for this to work, either in slot A or slot B. I've put together a comprehensive guide, as well as a zip containing all of the required files. It has been thoroughly vetted by the members primarily responsible for developing this method of bootloader unlocking. I'm providing a Google Drive link to a zip that includes the required files and the guide.

Currently, I'm looking for boot image dumps for those of you that are on 20j, 20m, 20a, 20b, and 20c. Right now the only Magisk patched boot images I have available are for 20d and 20e, however if you can dump your boot image I would be happy to patch it for you if you have a different firmware version.

Please report back with your feedback and success.

[Update 6/01/2020] Minor corrections to guide. Separated guide from zip for easier updating in the future.

Required Files - https://drive.google.com/file/d/1H08suuBBmHqttfMLZqBfy9yCDoAWylNy/view?usp=sharing

Guide - https://drive.google.com/file/d/1M4oEa3jkF_ZZzl1SKc6tvQtukc-KEgXK/view?usp=sharing

Edit:

I've added the entirety of the guide in post #4 and #5, for those that would like to take a look without downloading the zip first. Just fyi the formatting may be a tad messed up as it was copy and pasted from LibreOffice.

Many people contributed to making this a possibility!

Thank you to:

CoolAPK@White

Vlad48

j4nn

Antintin

Luis Rosado

Brigantti

And so many more. From devs to testers, the above list is miniscule compared to what should be up there. This is simply either who I know of and/or who I have interacted with directly. I'm more than happy to expand this list upon request if anyone that has contributed would like their name up there.
[LG G8 Guides, News, & Discussion] MishaalRahman:
Can anyone confirm this works?
[LG G8 Guides, News, & Discussion] BrandonB1218:
I did it on my Sprint LG G8 without issue and at the time of writing 20+ testers have had success with this method.

Edit:

This method works by flashing a V50 engineering bootloader to allow access to fastboot commands, which then allows OEM unlocking. Stand by for pictures, will add them to the OP.

Edit 2:

Pictures added, and guide added below.
[LG G8 Guides, News, & Discussion] antintin:
Yes, I was the first person to not brick with unlocking Sprint bootloader and practically did exactly this. No one has bricked with this method
[LG G8 Guides, News, & Discussion] siulmagic:
Me , antitin and Brandon successfully BL unlocked, if you follow the steps to the T, you will be bl unlock.
[LG G8 Guides, News, & Discussion] IvanN8458:
Hi, bro. Were you able to fix OPID Mismatched with this guide by any chance?
[LG G8 Guides, News, & Discussion] siulmagic:
No we cant, only lg has the keys to allow cross flashing. and yes it is server sided for now.
[LG G8 Guides, News, & Discussion] BrandonB1218:
BL unlock will not fix an OPID mismatch. I'm told only LG themselves can allow for a proper cross flash, at least for now.
[LG G8 Guides, News, & Discussion] antintin:
What was the original model of your phone before trying to cross flash? If you don't know, check it with your imei
[LG G8 Guides, News, & Discussion] IvanN8458:
Ok, got it, thank you guys.

---------- Post added at 10:45 PM ---------- Previous post was at 10:35 PM ----------

I got the phone in this condition, but the phone's got a tag in the back with the model LM-G820UM and a MEID D number written down. When I tried to flash a KDZ, cmd shows "OPID Mismatched SPR_US to" whatever the KDZ variant