yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Melhisedek:
*edit*

It was late and I wasn't flashing TWRP, just booting into it, after I flashed it everything went just fine and I'm using LineageOS on my Tab4 now. Thank you for your work! Just a quick question still, can you update LineageOS through tablet itself, or do I have to flash new zip after every release?

Guys, I just got TB-X704F, model ZA2M0006SE, managed to install TWRP, and followed format guide until I got to the advanced wipe part. I get stuck at: Formatting System using mke2fs

I've waited for 20 minutes but nothing happens, the bar keeps moving but nothing else. If i hold power button, I get to the stock OS, I repeat the steps and get to formatting system. I even tried flashing the ROM without formatting system but still got stuck.

Tried both version 3.3.1 and 3.2.3 of the TWRP with same results.

Any ideas? Would love to use Lineage on this tablet
[Thinkpad Tablet Android Development] jamppa94:
TB-X704L

Hello. Does this newest version work on model TB-X704L? TWRP is TB-X704F model.

Thanks.
[Thinkpad Tablet Android Development] Sparkrite:
Update by flashing the new release.

---------- Post added at 03:15 PM ---------- Previous post was at 03:14 PM ----------

Yes, it does work on TB-X704L, assuming you are talking about the Lineage ROM.
[Thinkpad Tablet Android Development] jamppa94:
Yes. And i also need a twrp. Thinking about that, does twrp-3.3.1-0-X704F.img work on my device which is TB-X704L. And version is 4/64Gb.

Thanks.
[Thinkpad Tablet Android Development] Sparkrite:
Have you tried the TWRP linked to in the OP?
[Thinkpad Tablet Android Development] VGisHere:
Security breach

The apps which are hidden/protected can be easily accessed by using the share option.

Say if I want to share a file, just simply use share option, open whichever app by which you wish to share.

And, app opens up without any access requirement.

Defeats the whole purpose of setting up a protected app.

Kindly look into this [MENTION=9613333]yener90[/MENTION] [MENTION=3208754]codeworkx[/MENTION]
[Thinkpad Tablet Android Development] WondringLisa:
Currently for me lineage 16 is stuck in the animated screen on first startup and i am stumped on how to remedy this. I pulled a file out of sys/fs/pstore as suggested in the first post (file is pmsg-ramoops-0) and was going to attach it here, but can't seem to.
[Thinkpad Tablet Android Development] Sparkrite:
Go back into TWRP and wipe Dalvik/Art cache and also cache.

Then try reboot to system.
[Thinkpad Tablet Android Development] WondringLisa:
All sorted :)
[Thinkpad Tablet Android Development] rock_shoxit:
I have installed latest firmware version, but i have a problem with Skygo app because phone is like rooted.:rolleyes:

I haven't install Magisk or other rooted programs.

Any solution?

Thanks
[Thinkpad Tablet Android Development] WondringLisa:
I have a query about Lineage that is more about functionality than an actual problem. On stock when I connected my bluetooth keyboard the navigation keys moved to the left and the rest of the bar was filled with recent apps (https://img.talkandroid.com/uploads/2017/08/lenovo_tab_4_onenote_TA.jpg). Is this a lenovo stock thing only, or is there a way to get this functionality on Lineage?

Thanks.

Lisa
[Thinkpad Tablet Android Development] Tschumi:
This is the Lenovo stock "productivity" mode. Not sure if (or how) it can be replicated on Lineage.
[Thinkpad Tablet Android Development] shanxybeast:
Will this work with TB-X704V?
[Thinkpad Tablet Android Development] Sparkrite:
Already documented on numerous occasions throughout the thread that it does.
[Thinkpad Tablet Android Development] shanxybeast:
Sorry mate, the search function didn't really bring up alot of mentions for model V at all, is the root an twrp method the same then for V?
[Thinkpad Tablet Android Development] Sparkrite:
Yes it is, at least for the 4/64 GB model it is.
[Thinkpad Tablet Android Development] cosmic_child:
Hi guys,

THX 4 this great work . my x704l runs faster with pie :)

But one big Problem: the Installation of the opengapps stops with error 20 . i try diff versions , pico also , for oero and pie ... error 20. Evers try... Do you hav a solution ?

THX cosmic
[Thinkpad Tablet Android Development] Sparkrite:
Should have added that the problem some 'V' model owners have cited is that they cannot flash TWRP correctly.

AFAIK this is only on variants that do not have the 4/64GB configuration.

Hope this helps.
[Thinkpad Tablet Android Development] mcprescribed:
I also cant install gapps at all :S please help, tried all variants I could.

FYI: X704L - twrp-3.2.3-0-tb_x704l.img

UPDATE:

Fixed this with the following process, it did error and I did perform this multiple times, but it got their.

Quote:

Originally Posted by Bonampi

Steps to install a ROM and the GApps (Open Gapps) without problems

1. Boot into Recovery Mode (TWRP)

2. Wipe > Advanced Wipe > Select On (enable tick) for Dalvik / Art Cache, System, Data, Internal Storage, Cache,

3. Swipe to Wipe at Bottom of Screen,

4. Back to Main start screen,

5. Wipe > Format Data,

6. Type 'Yes' and press blue checkmark at the bottom-right corner,

7. Go Back to Main Start Screen to -VERY IMPORTANT---> Install Rom and GApps,

8. After you have finished installing the Rom and GApps > Wipe Cache/Dalvik > Swipe to Wipe

9. Reboot System

Source: https://xdaforums.com/not...0969?nocache=1
[Thinkpad Tablet Android Development] mcprescribed:
So it looks like the zip installs worked but the ROM doesn't finish loading on the boot/splash screen :(

tried twice so far since.

Update:

Tried this to resolve but no luck, any help would be great? Maybe I will try an earlier version of the Lineage install.

Quote:

Originally Posted by Sparkrite

Go back into TWRP and wipe Dalvik/Art cache and also cache.

Then try reboot to system
[Thinkpad Tablet Android Development] cosmic_child:
Hi,

same problem too - could be a problem with the bootloader? i cant understand it, if lineage 16 runs on my tablett, but i forgot to install the opengapps at the same time. i installed lineage os again (with a error for wrong opengapps first) - but the last 2 installations running without errors (opengaaps are also correct installed)... but with the bootloop at the end...

what could helps? have anyone a backup, which upload here for us ?

i hope we will finde a solution, if i can start in recovery with twrp !

Update: lineage 15 didnt runs too.... :( - i try to copy the files from posting 1 sys/fs/pstore, pstore folder is not available onle cgroup, ext4 fuse and selinux ...) - a adb connection is also not avialable ...

other ideas?

thx cosmic

Thx cosmic
[Thinkpad Tablet Android Development] Sparkrite:
Ok, try this TWRP, I have tried nearly all others but always fall back to this one, it just works (at least for me) for everything :-

https://androidfilehost.com/?fid=1322778262903982748

Install TWRP.

Boot to TWRP

Do your wipes.

Flash Lineage.

Flash Gapps.

Flash Magisk, latest. (if you want root)

Wipe cache and dalvik.

Reboot while keeping fingers crossed. :D
[Thinkpad Tablet Android Development] cosmic_child:
thx sparkrite, just a question: i can install your twrp-file with twrp ? install image and select partition to flash image: recovery ? correct??

i did this and unfortanetly the same bootloop at the end :(((

could you make a backup of your boot image and upload this ?

thx cosmic
[Thinkpad Tablet Android Development] Sparkrite:
Here you go, stock Boot.img for TB-X704V :-

https://mega.nz/#!DbhFQSCY!SoLm9HOW25uty2DOArL_B3WgntjEQTl4gnAUWGeyWU8
[Thinkpad Tablet Android Development] cosmic_child:
Oh thx u!

Is this the lte Version? I need this one..
[Thinkpad Tablet Android Development] Sparkrite:
As stated above it is for the 'V' model, 4/64 GB version which is LTE compliant.
[Thinkpad Tablet Android Development] vanrusty:
what would it take to have this pushed into the main LineageOS development chain?
[Thinkpad Tablet Android Development] cosmic_child:
ok, i´ve also a 4/64 GB Version with LTE, and the name is TB-X704L -> other names - when is your manufacture date (could be chance , mine is 2017 07 25)

i ll try it now (before i´ll save my boot with twrp..)

update: it´s not runing with your boot.img . i would like to try flash the original rom (from here: https://pcsupport.lenovo.com/de/de/products/tablets/a-series/tab4-10-plus/za2r/downloads ) and the tools/instructions from here : https://blogthetech.com/flash-file-lenovo-tab-4-10-plus-tb-x704l-firmware-download-stock-rom/

have someone experience with this instruction/tool `?

thx cosmic
[Thinkpad Tablet Android Development] Sparkrite:
I'm not sure why you think your boot.img is damaged unless you went flashing an incorrect img to the boot partition ?

Anyway I have not used 'Lenovo Moto Smart Assistant ' but I believe it works well.

Anytime I have needed to flash stock I have used Qfil, other's swear by MiFlash, but I never had any success using that.

PS:- I would suggest you have a read/search here, as we are heading off topic for this thread:-

https://xdaforums.com/thinkpad-tablet/general/twrp-root-tab-4-plus-tb-x704l-f-tb-t3664407
[Thinkpad Tablet Android Development] cosmic_child:
thx Sparkrite: lenovo moto smart assistant helps to the stock... very easy & now is tablet running :)

cu comic
[Thinkpad Tablet Android Development] mcprescribed:
Many thanks but this was the exact version of TWRP i had the issue with, any other ideas?

The only other thing i can think of is that before I followed this process i did all official updates, so I should be running the most up to date firmware. I actually purchased this so i could use as a phone, which is weird i know but that was the plan anyway... so stock isn't really worth restoring for me at this point. Thanks!
[Thinkpad Tablet Android Development] chr0m:
Auto update of Google Play apps doesn't seem to work.

I always suspected it, now I'm convinced.

I haven't been using the tab much lately, it's been on and connected to wifi.

Started using it today and check the Play store and I have 42 app updates!
[Thinkpad Tablet Android Development] cosmic_child:
hi,

i could recommend 1st the lenovo moto smart assistant (reset to the original) https://support.lenovo.com/de/de/downloads/ds101291

in my case, with the newst twrp 3.3.1 is the LineageOS 16 update running -> twrp-3.3.1-0-X704F.img https://dl.twrp.me/X704F/

cu cosmic
[Thinkpad Tablet Android Development] tndb:
[MENTION=9613333]yener90[/MENTION]

I just wanna give huge thanks for sparkling more life into this tablet!!

Instructions very clear and you link to every thing you need to flash this device :good:

https://support.lenovo.com/gb/en/solutions/ht501098 shows how horrible Lenovo is with updates and I hope they'll get the karma they deserve..
[Thinkpad Tablet Android Development] proxymus-o:
@yener90

I've installed your ROM on a TB-X704L today. So far, it works very well. :good: Thank you for the good work.
[Thinkpad Tablet Android Development] mcprescribed:
Wow not going well for me the Lenovo moto smart assistant fails to restore now...

---------- Post added at 12:31 PM ---------- Previous post was at 12:11 PM ----------

OKAY, so i went into fast boot selected recovery, did the wipe from there restarted and voila the rom loaded!!!

---------- Post added at 12:53 PM ---------- Previous post was at 12:31 PM ----------

Thanks so much for the advice, is there anyway I can actually make calls from this tablet? The data side of the sim is working as expected, I obviously have a dialler but calls don't connect.

Any advice would be very much welcomed!
[Thinkpad Tablet Android Development] Sparkrite:
This tablet AFAIK was never designed to be used as a phone, I mean it doesn't even have an ear speaker.

The GSM/LTE versions were intended to allow access to data networks as you know however if memory serves me right some posters have reported successfully making voice calls over GSM but only on specific networks, the name(s) of which escape me. Almost sure it was a USA one.

Not much help I know, but there you go.
[Thinkpad Tablet Android Development] maximgorbilev:
I noticed a bug, if you use a case with a magnet, then a battery leak is waiting if the case is closed, if it is open then there is no leak. Apparently the Hall sensor is fooling, is it possible to turn it off?
[Thinkpad Tablet Android Development] mcprescribed:
Hello, thanks for the information and your ongoing support to the device/community.

I had planned on using a bluetooth headset for it, it doesn't call on EE in the UK, we could always try a few other networks (if its just a network issue). I thought there may be some kind of firmware lock or similar.

I will report back so at least others can see my tests results.

Many thanks again

Anthony
[Thinkpad Tablet Android Development] pisti31:
I've installed the 16.0 ROM on my TB-X704L yesterday. It works very well, great job, thank you!!!
[Thinkpad Tablet Android Development] dwmk:
installed properly

hi. i installed properly even with magisk 19.3 and netflix works very well.
[Thinkpad Tablet Android Development] yener90:
Update

2019-08-12

• security patch level: 2019-08-01

Get hotfix
[Thinkpad Tablet Android Development] rock_shoxit:
With latest update i've a problem with rear camera.

my is TB-X704f 4/64.

Any solution??

Thanks
[Thinkpad Tablet Android Development] proxymus-o:
Hello,

is there any way or option to increase the width of the quick settings? On the stock ROM it was wider.

Thank you in advance.
[Thinkpad Tablet Android Development] yener90:
Update

2019-08-12 (hotfix)

• hotfix: fix camera

• security patch level: 2019-08-01

ROM
[Thinkpad Tablet Android Development] yener90:
get hotfix
[Thinkpad Tablet Android Development] Sparkrite:
That did the trick alright, thanks [MENTION=9613333]yener90[/MENTION].

However ever since cokeworkx first update /release of the rom my microphone has never

worked, but did with your earlier releases. TB-X704V
[Thinkpad Tablet Android Development] yener90:
Try to flash attached file and report back :p
[Thinkpad Tablet Android Development] Sparkrite:
Cheers, flashed alright, but to no avail unfortunately, still the same.
[Thinkpad Tablet Android Development] yener90:
Strange. Maybe you have different variant?

Go to bootloader and tell me which variant you have.
[Thinkpad Tablet Android Development] Sparkrite:
Yep, strange that it worked with your former release(s) though.

What info do you want from bootloader screen?

Variant = QRD eMMC
[Thinkpad Tablet Android Development] yener90:
Forget it. Just to conclude:

You have nowhere mic or only in camera?

I used google assistant and it worked.

Now I realized while recording video there is no sound.
[Thinkpad Tablet Android Development] Sparkrite:
Variant = QRD eMMC

No recording audio anywhere.

I know the mic works OK, because if I flash your release dated 14/5 or earlier it's fine.

Edit: works with camera video recordings, just checked it now.

But not with Google assistant or sound recorder.

The opposite of yours. :confused::laugh:
[Thinkpad Tablet Android Development] rock_shoxit:
PERFECT!!!:good:
[Thinkpad Tablet Android Development] codeworkx:
adb root

adb shell cat /proc/asound/cards
[Thinkpad Tablet Android Development] Sparkrite:
Hi [MENTION=3208754]codeworkx[/MENTION] , I tried to run the above (even using adbd Insecure V2 and debugging enabled)) and still get

'adbd cannot run as root in production builds' . :confused:

Rooted with Magisk 19.3

The only place it runs is within TWRP and returns 'no soundcards'

Thanks for trying. All help appreciated.
[Thinkpad Tablet Android Development] codeworkx:
adb shell

su

cat /proc/asound/cards
[Thinkpad Tablet Android Development] Sparkrite:
Yep, I already tried that as well............:o

'Permission denied' .

:(:(

EDit: For some reason shell was denied SU rights, so when enable I got the following:-

cat /proc/asound/cards

0 [msm8953sndcardm] : msm8953-snd-car - msm8953-snd-card-mtp

msm8953-snd-card-mtp

Thanks again [MENTION=3208754]codeworkx[/MENTION] .
[Thinkpad Tablet Android Development] codeworkx:
lineage-16.0-20190815_080432-UNOFFICIAL-TBX704.zip
[Thinkpad Tablet Android Development] Frankyg:
Hmmm. Followed the guides exactly (for X704F) with the previous latest rom and now this fresh release. Everything appears to go well, but on final reboot after flashing Rom, Gapps, Magisk, never gets past the Lineage boot logo. Have booted back to recovery, wiped (advanced) and re-flashed this latest rom, gapps and magisk again. Same result. Anyone experienced anything like this?
[Thinkpad Tablet Android Development] codeworkx:
Try without magisk.
[Thinkpad Tablet Android Development] max_work:
Hey, thx for the new release! since this was released right after the hotfix , does it also contain other improvements?

Regards
[Thinkpad Tablet Android Development] codeworkx:
What hotfix?

I've just shared the build that i did for my own device.

It's a kind of waste product. :D
[Thinkpad Tablet Android Development] max_work:
Ah so it was not for us in general? because [MENTION=9613333]yener90[/MENTION] released a new version a few days ago, so i got confused :)
[Thinkpad Tablet Android Development] codeworkx:
It's never for you. It's always for my own device. I'm just a nice guy and do share it.
[Thinkpad Tablet Android Development] Frankyg:
Wiped again, reflashed rom, then gapps, rebooting again....but still stuck at Lineage logo :(

How long does it normally take for first boot?

Any other gotchas that I should be aware of?
[Thinkpad Tablet Android Development] Sparkrite:
Try wiping cache and Dalvik.

[MENTION=3208754]codeworkx[/MENTION] still no mic except in camera record.
[Thinkpad Tablet Android Development] Frankyg:
yeah did full wipe, inc dalvic and cache. Really disappointed, had hoped for a clean, easy flash. Oh well, will keep trying.
[Thinkpad Tablet Android Development] kwsam9:
Don't know if this will help. Try

1. Wipe Dalvik/Cache and System

2. Flash ROM

3. Reboot into Recovery

4. Flash GApps

5. Reboot into Recovery

6. Flash Magisk

7. Wipe Dalvik/Cache again

8. Reboot System

The first boot takes 5-10 minutes. Best of luck.
[Thinkpad Tablet Android Development] Frankyg:
Trying that - but without installing Magisk. Will try to get it booted first, then go back and try Magisk.

*Edit* half hour later still no joy. Aaaghhhhhh!
[Thinkpad Tablet Android Development] kwsam9:
Sorry to hear that. Out of curiosity, which variant of Open GApps did you flash? I flashed mine using Pico variant. I've come across for other devices, when the GApps variant is too big (together with the ROM) for the system partition, the system won't boot up and stuck in boot up logo.

Maybe just another possibility to try.
[Thinkpad Tablet Android Development] Sparkrite:
Something similar happened me a while back, nothing else would fix it, but flashing Stock and booting, then start

from scratch installing Lineage.

Doesn't take too long, (famous last words ,:o ).
[Thinkpad Tablet Android Development] Melhisedek:
Folks, please excuse me for my ignorance but how do I properly update with latest ROM? Just flash it TWRP or do I wipe stuff and lastly do I install gapps again after updating? Just don't want to lose all my programs :)
[Thinkpad Tablet Android Development] Sparkrite:
Yes, just flash it with TWRP and then flash Gapps.
[Thinkpad Tablet Android Development] Frankyg:
To answer [MENTION=7818845]kwsam9[/MENTION] Pico as recommended.

That's the path I was heading down, flashing stock. I was looking at the Support page https://pcsupport.lenovo.com/au/en/products/tablets/a-series/tab4-10-plus/downloads/DS502765

and the file there opensource_tb-x704f_s000055_180517_row.tar - is that the right file? Also it's a TAR file ?? so need to work out how to flash stock again. Any advice welcome!

I've also restored the partitions that I backed up in the initial steps in prep for flashing stock. Is there anything else I need to do before flashing stock?
[Thinkpad Tablet Android Development] maximgorbilev:
1. Your need this instruction http://lenovo-forums.ru/tutorials/a...tv-lenovo-na-baze-qualcomm-pri-pomoschi-qfil/ page on russian use translate or find eng source

2. Firmare back from qfil software, last version 056, you can flash 055 and update to 056 from ota

3. To go in flash mode, turm off tablet and press hold vol- and plug cable, device not turn on, screen will be black

4. after falshig software say OK, but device not turn on, unplug cable and press power 10 sec

I flashing several times, now i back from linegeos to stock because in lineage to big idle drain, 1-2% at day (wifi off, no sim) on stok 1% at month!!!
[Thinkpad Tablet Android Development] black.kahder:
Download the latest ROM to somewhere in your local storage, along with a recent Gapps and Magisk zips, and anything else you want to flash at the same time (Dolby maybe). Both Gapps and Magisk will self-update later if needed, so they don't have to be as fresh every time.

Do a backup somehow. If you don't backup don't complain when you lose everything because of a small mistake. If nothing else do oandbackup from F-Droid store to sdcard, but there is better. That's off-topic.

Reboot to TWRP and press Install. Find the folder you saved your ROM and zips in. Add the ROM, then Gapps, Magisk, and anything else.

When done flashing wipe Dalvik/Caches. It will be a button on the done screen.

Your files, apps, and configuration are saved under /data, which isn't touched by installing a new ROM, Gapps, Magisk, and similar zips (usually).

Small/minor updates don't require a wipe of /data and you should get a system that looks the same as you had before, but updated.

Large updates, like major versions, or moving from one Android variant to another (Linage to AICP or Omni) often require a full wipe of /data to avoid bugs. Then you have to restore your apps from backups.
[Thinkpad Tablet Android Development] JcNeji:
I seem tot have an issue with both the latest and the previous ROM. My battery is draining like crazy in deel sleep. Bbs is showing no wakelocks and is showing 99% deel sleep time, but i still lose almost 10% battery overnight (with WiFi etc off). Battery life while the tablet is in use in fine though.

I have no idea what the problem is and could really use some help
[Thinkpad Tablet Android Development] Frankyg:
Ok, so I managed to restore to factory with the Moto Smart Assist software. Flashed TWRP and made a full backup.

Wiped everything, including data a started again. Flashed the Rom and then Gapps. Rebooted back to recovery. Rebooted into system. No go again - just loops on the lineage logo. left for about half an hour just in case.

Right now, I'm downloading the 14 July Rom and am going to download another gaaps package and try again after another wipe.

Are there any specific logs I can grab that would help identify why or where it's failing?
[Thinkpad Tablet Android Development] Frankyg:
This is looking like waste of time. 14th July rom failed for me, tried with a different Micro SD card, reformatted in fat32, copied zip files to internal storage and flashed from there. Nothing has changed the outcome. Read comments (around page 20) about a user not being able to clean flash the 'latest' (at that time) he had to install an older one then dirty flash. I've tried that too using the 9th June Rom, same result. Boot stuck at Lineage logo. [MENTION=9613333]yener90[/MENTION] is there anything else you can suggest? Looks like this is a great rom, and if I'm honest, one of the reasons I bought this tablet was because there was a Android 9 Rom available. would really appreciate any help.

Thanks,
[Thinkpad Tablet Android Development] ammarr:
After restoring stock, have you tried installing the ROM without doing a full wipe (just data, not internal storage)?