yashsingh1/xdaforums huggingface dataset:
[Thinkpad Tablet Android Development] Barkingmad15:
Error 7 no script error

Hi, Can anyone assist please? When I try to flash I first got the above error code 7, so followed the instruction to chage update script. Now I get "script aborted (no error message) updater process ended with error code 7"

Thank-you
[Thinkpad Tablet Android Development] Barkingmad15:
Fixed it

Fixed it! As mentioned earlier in this thread, somebody suggested updating Twrp image to 3.3.x which I did, still had error 7 so after more Googling I found a page which suggested editing the updater-script as mentioned earlier, but instead of editing the model numbers just delete everything with the code assert & getprop. Official page mentioned here: http://www.lineageosdownloads.com/fix-error-7-lineage-os/ (method 1 worked for me)
[Thinkpad Tablet Android Development] lccr193:
How to get treble support on this tab......
[Thinkpad Tablet Android Development] lccr193:
Could you please implement treble somehow if you are working on Android 10 for Lenovo tb-8504x/f, if you could implement it, please do try, no need to have full A-B partition support, just please try.... Bringing treble support would be amazing, thanks in advance.....
[Thinkpad Tablet Android Development] jfbaudio:
Running into the same problem here. Did you or [MENTION=7256318]fast9000[/MENTION] try older versions of gapps or find another way to get around this problem? (I went back to an August version with no luck.) The only way I can manage to put in a google account is by transferring from another device.
[Thinkpad Tablet Android Development] lccr193:
It needs to be the arm64 version of gapps, this is an arm64 device, download the arm64 version of gapps from opengapps and class it, it worked with the October 8 2020 package...........
[Thinkpad Tablet Android Development] jfbaudio:
That's what I had used, but to no avail. I switched back to 8.1.1 stock + Nova + Magisk for now. I might try switching back when we get a stable Android 11 build on this device
[Thinkpad Tablet Android Development] lccr193:
Yeah, it would be great if we directly got android 11...... but we need to get the go edition, since the snapdragon 425 cant just keep up with every new version of android........ this would not have been a problem if treble support was added when this tab got updated.........
[Thinkpad Tablet Android Development] semigod_chu:
I want to install 0319.zip and always get the message:

E: failed to verify whole-file signature

E: Signature verification failed

E: error: 21

I use twrp-3.3.1 and download 20200319.zip from gdrive & mailru.

How can I fix this problem? Thank you.

---------- Post added 20th October 2020 at 12:06 AM ---------- Previous post was 19th October 2020 at 11:36 PM ----------

---

After I reinstall twrp-3.2.3 and then install twrp-3.3.1. Now I can use 'adb sideload' to install 20200319.zip and gapps.
[Thinkpad Tablet Android Development] farhad0312:
twrp not install

Hello

My tablet is tab4 8 8504x, the installation of twrp is complete, but the recovery environment does not change.

My Android version 8.1

Please advise what to do?

Thankful
[Thinkpad Tablet Android Development] hussainr:
hey guys , will this rom boost charging time ?
[Thinkpad Tablet Android Development] massivekind:
Don't think so.

---------- Post added at 09:48 AM ---------- Previous post was at 09:46 AM ----------

I had no problem flashing this rom. Only difference is that I started from android 7.x
[Thinkpad Tablet Android Development] farhad0312:
twrp not install

I installed Android 7.1 and twrp was installed, but now when I flash the custom ROM, it gives error 7, which when I delete the assert line from the updater-script file, it gives the message inavlid zip file format in the recovery environment. What is the solution?

Thanks
[Thinkpad Tablet Android Development] hussainr:
you have to flash it to be permanent !

---------- Post added at 10:09 AM ---------- Previous post was at 10:08 AM ----------

flashing from sideload solved this for me
[Thinkpad Tablet Android Development] farhad0312:
Thanks for your tips

I installed it but it has problems

1- To connect usb otg, the device must be restarted

2- When charging off, the screen of the device constantly turns on and vibrates

3- Can not find WiFi in hidden mode

4- It is not connected to the TV with cast

5-Disable Google Assistant

I want usb otg enabled. I could not rw / system via root on path

/system/etc/permissions:confused:
[Thinkpad Tablet Android Development] FreyrFox:
Need a wee bit o help.

Cannot for the life of me get this thing to work on my tb-8504f. followed every listed step, have formatted data and done wipes and whatnot prior. For a while I had issues with error 7, so I had to edit/delete the assert/getprop. 99% of the time, it gets hung up while flashing with `detected filesystem ext4 for /dev/block/bootdevice/by-name/system`, among other issues in TWRP. It will just hang there for seemingly forever. I got close once, I have absolutely 0 clue how but it went through and seemed to successfully flash, but then I got stuck on the boot animation for 2 hours, which is not normal I'd reckon. Now I'm back at square two, and ready to give up on any form of custom rom.
[Thinkpad Tablet Android Development] hussainr:
I have None of the problems except for the otg one which I did not test yet everything else works , I side loaded the rom reboot the gapps reboot
[Thinkpad Tablet Android Development] hussainr:
Btw great battery life:laugh:
[Thinkpad Tablet Android Development] farhad0312:
Good :)

Is your Dolby device active?

Your device does not turn on continuously when charging off?

Which gapps pack did you install?

:(:confused:
[Thinkpad Tablet Android Development] hussainr:
Dolby is not included you have to find a way to get it running, and no unexpected turn on , opengapps pico...
[Thinkpad Tablet Android Development] cabinhead:
I can't seem to get Dolby Atmos to work on this ROM. Any suggestions? Would love to use but without Atmos the speakers are trash.
[Thinkpad Tablet Android Development] hussainr:
I m using Volume Booster Goodev , not bad :angel:
[Thinkpad Tablet Android Development] hinxnz:
Try ViPER4Android <
[Thinkpad Tablet Android Development] cabinhead:
I already tried viper and it gets stuck on installing driver. Can you send the apk/zip you used?

Edit: never mind I didn't see the link like a dingus
[Thinkpad Tablet Android Development] hussainr:
Guys show some activity here maybe the developer gets encourage to build more roms :D:D:D
[Thinkpad Tablet Android Development] lccr193:
Actually use device simulation (Magisk hide props config)with this rom, it works flawlessly......

---------- Post added at 05:28 AM ---------- Previous post was at 05:23 AM ----------

Yeah, Lenovo tb-8704f/x android 10 and the developer is guess who, [MENTION=7737930]highwaystar_ru[/MENTION]

I hope he skips android 10 and works directly on android 11 (Lineage OS 18), I can directly update this device from the updater app it he sends an update, since I don't have device encryption and my data partition can be directly mounted in twrp, so I can provide logs and can also report bugs, issues, and also some other forms of help for room development...

---------- Post added at 05:35 AM ---------- Previous post was at 05:28 AM ----------

Hello everyone, I have a list of things to do if you are daily driving this rom....

Firstly, install magisk, then install the following modules,

1. Google dialer framework

2. Magisk hide props config

3. Universal GMS doze

4.VoEnabler,

Enable magisk hide and hide all apps, then use magisk hide props config, and set a certified fingerprint, then enable all options in device simulation (it works and is stable), then manage all app settings in Trust and change all settings to your needs, and enjoy!
[Thinkpad Tablet Android Development] hussainr:
I m just amazed by the battery life :laugh:
[Thinkpad Tablet Android Development] lccr193:
Same here, out can last for about a month with extremely light usage, but I'm taking online classes, so 4 hours of continuous use on balanced power profile, the battery doesn't drop below 65% even after 30 minutes of screen presentation, 2 chrome tabs open at the same time... But another thing I noticed is that, with the power profile set to efficiency, the performance is nice and the tab doesn't go below 70%... Power save is best for standby for example, when there is an extended power outage, there was a power outage for 2 days and it only dropped to 98% (2 phone calls, 30 SMS messages and 10 minutes of RCS chatting) I recommend you to set the profile to efficiency for normal usage with great battery life!

I hope [MENTION=7737930]highwaystar_ru[/MENTION] gets Lineage OS 18 up and running and makes it stable for daily use!
[Thinkpad Tablet Android Development] adazem009:
I can try to port Ubuntu Touch or Plasma Mobile because I have some experience with it. Just tell me if I should start ;)

Lenovo TB-8504X meets all the requirements Halium needs so it shouldn't be a problem. However, this is the first time I'm going to port Halium 9.0.
[Thinkpad Tablet Android Development] invaderisss:
8GB Storage except of a 16GB

Hello so system is smooth and looks fantastic, but i have a little problem and i dont know how to solve. After the installation in the settings i can see my tablet has 8gb internal storage, 6gb already used by system. But my tab4 8 is a 16gb model. Where did 8gb disappear? I would like to use all of my memory not just half of it if it is possible. Any solution?

Thank you and thanks for a nice rom. :D
[Thinkpad Tablet Android Development] lccr193:
Actually, could you please try porting Lineage OS 17.1 or 18, also, if you need logs for any issues, we will process provide them, please try porting android 10/11 for this device...

---------- Post added at 01:51 PM ---------- Previous post was at 01:46 PM ----------

Also, the reason we want you to port android based roms, is because, since we are in lockdown, we have to work on these devices, and most of the apps that I work on only are on android, I mean, Ubuntu touch would be great, but it can't be used as a daily driver rom in our current use cases, so that is why try to port Lineage OS 17.1/18 because Lineage OS will be stable, and we are familiar with it, and can also flash the open gapps package and use Google services without any additional steps... (If you require any logs or want us to check for any bugs, we will do that if possible!)

---------- Post added at 01:57 PM ---------- Previous post was at 01:51 PM ----------

Actually, I to faced this issue in the beginning, but I was able to fix it by restoring the boot partition, system partition using a twrp backup, to the stock rom, after that, format the data partition and install the Lineage OS package, it will then install, then wipe the data partition once again just to be sure, and then reboot to system, the first boot will take a bit of a long time, if it doesn't boot after 15-20 minutes then you might have messed something up... (Also, I recommend flashing the open gapps package right after installing the os, as it won't cause play services crash issue...)

---------- Post added at 02:10 PM ---------- Previous post was at 01:57 PM ----------

Actually, try starting with Lineage OS, because it can be daily driven without any extreme limitations...
[Thinkpad Tablet Android Development] hussainr:
how does linage 17 or 18 sound ? :D
[Thinkpad Tablet Android Development] adazem009:
It'll be a bit harder to port, but it's possible. I just need to port the device tree, common tree, vendor tree and kernel source to LOS 17.1
[Thinkpad Tablet Android Development] lccr193:
I hope you will be able to pull off the feat and give a better life for this device...

---------- Post added at 10:45 AM ---------- Previous post was at 10:43 AM ----------

Actually, speaking of los 18, it is still being worked upon so we should wait a bit more before trying to port it...
[Thinkpad Tablet Android Development] bmwjavier:
I have this error: "Updater process ended with error: 7" Error installing ZIP FILE ´lineage-16.0-20200319-unofficial-TB8504.zip´ Please help.
[Thinkpad Tablet Android Development] lccr193:
Hello,

IF you get an error saying "E3004: This package is for device: TB-8504X,TB-8504F,tb-8504x,tb-8504f,tb_8504: this device is *your_device" then

You are trying to flash this to an unsupported device

[*OR

You need to unpack the zip file and in "META-INF/com/google/android/updater-script" delete every line of text until "ui_print*", then save updater-script and repack everything into a zip archive and flash in TWRP.

This was posted by the rom developer, go to Page-2 of this thread and have a look there if you want...

Edit: Let me know if it works/doesn't work...

---------- Post added at 04:11 AM ---------- Previous post was at 04:04 AM ----------

Also, don't wipe the stock rom boot and system partition before installing this zip file, only format the data partition if you want to, because wiping the system partition and then installing this zip causes the os to not boot (boot partition can be wiped, but just to be safe, don't wipe it...)
[Thinkpad Tablet Android Development] lccr193:
Hey, [MENTION=10520325]adazem009[/MENTION] you might find the links helpful in your porting process...
[Thinkpad Tablet Android Development] bmwjavier:
I did everything you say but I get this error:
[Thinkpad Tablet Android Development] lccr193:
Did you wipe the system partition of the stock rom? If so, restore the system partition to the stock rom and then try flashing the .Zip
[Thinkpad Tablet Android Development] bmwjavier:
No, I didnt wipe the system partition.
[Thinkpad Tablet Android Development] lccr193:
Is your stock rom android 8.1?

Also, I can send you the TWRP backup of the boot and system and system image partitions of Lineage OS so that you can restore them, and try it that way...

If you want to install it from my backup, let me know, and also the overall downloads of the 3 partitions can be from 4-5 GB, so please make sure that you have a stable/speedy internet...

Let me know if you want to try the TWRP method, I will post Google drive links...

Edit: My boot partition has magisk installed, of you want the boot partition without magisk, then I can post the boot.img file for you to flash...
[Thinkpad Tablet Android Development] Hausemaster:
Anyone able to access last page?
[Thinkpad Tablet Android Development] adazem009:
Me :)
[Thinkpad Tablet Android Development] adazem009:
TB-8504X/F users:

Here are some news about LineageOS 17.1 porting:

I've got all the sources I need, except the device tree. It has to be ported, but it shouldn't be too hard.

I've already started with LineageOS 17.1 source download. It'll probably take a few days and then I can start with the porting.

If someone has experience in device tree creating and/or ROM building, please PM me if you'd like to help :)
[Thinkpad Tablet Android Development] Hausemaster:
Actually, the pages not loading issue seems to be fixed...
[Thinkpad Tablet Android Development] Loranas:
Hello, after flashing rom having this for long time and no result, same after reboot. Any ideas how to fix it. Thanks for help.

View attachment 5156895
[Thinkpad Tablet Android Development] Hausemaster:
I'm not sure what the issue is, but, try fresh once again, flash the tab using QFIL then unlock bootloader and then try flashing it...
[Thinkpad Tablet Android Development] Loranas:
I'm not able to do that com port would appear (tried many ways and different pc's), I can reach by adb ant twpr, is any way to flash stock rom by this way. I lost backup :(. Sorry for dumb questions I'm just beginner.

View attachment 5158009
[Thinkpad Tablet Android Development] CaliTexan5:
Have only had this tablet a couple of months and was very excited to see this custom ROM for it. Flash TWRP and the ROM earlier today and so far, I've had no trouble. Everything works from what I can see other than no Dolby. Was anyone able to get it working with this ROM? I've gone through the whole thread and didn't see that there was a remedy, other than Viper4Android (which I've used before but really would rather the Dolby software). Thanks and keep up the great work! BTW, I also have the Lenovo Tab M10 (model TB-X505X). I believe I saw that someone asked for this ROM to be ported to that tablet so I could help out with that, though it did get the update early this morning to Android 10.
[Thinkpad Tablet Android Development] Pitichouw:
Hello,

I just wanted to thanks OP for his work, and everyone that gave advices on this thread.

One of my ex employer offered the TB-8504F as a welcome gift like a millions year ago, i bricked it the very first day i got it because i was not very well versed into android customisation/rom.

I never wanted to trash it away because "we never know", and today i saw this post and managed to unbrick it, unlock it, install TWRP 3.3.xxx (don't remember sorry) and install this rom with OpenGapps (Mini) and Magisk. within an hour.

Rom is working flawlessly (given the low hardware spec of 2 gigs of ram.. ), battery simply refuse to die. (after 6 HOURS of charge tho..)

the only thing not working is the second speaker (i think it's a Dolby Atmos issue as mentionned earlier)

anyone got it working ? I tried "VIPER4AndroidFX" but no luck (i'm a sh*it on sound/driver so that may explain ^^' )

(EDIT: the second speaker finally IS working =) )

if anyone got another interesting Android (or even Linux) ROM to install, don't hesitate to contact me if you need a test/labrat/beta-tester.

OP: are any Lineage/Android update planned for this hardware ?

Thank you a lot Sir/Mam ! <3

View attachment 5177753 View attachment 5177755 View attachment 5177757
[Thinkpad Tablet Android Development] babo1069:
Could you please send it to me ??

Can a friend who can install Lineage OS 16 send backup files?
[Thinkpad Tablet Android Development] Sakhard:
Hello!

Any help?

I managed to flash TWRP from the post and did the necessary wipes from TWRP. After this I installed the lineage OS with adb sideload and tried to boot. Now the Lineage OS boot sequence just loops forever. I leaved the tablet in that state for night hoping that it just takes long, but still in the booting sequence. What I have tried:

- Reflashed twrp 3.2.3 from the post

- Tried to install Lineage OS from the post with ADB sideload and directly from internal memory

- Tried to flash gapps nano same time

- Leaved the booting sequence for few hours, rebooted and wiped caches and leaved it booting for the night

I also tried to recover the tablet with Lenovo rescue and smart assistant as @weaa8675309 instructed at page 3, but recovery fails for some reason.
[Thinkpad Tablet Android Development] invaderisss:
hello, please, this rom is eating my memory, system must be creating some files or something. There was some fix but i can not find it. Can you help me?
[Thinkpad Tablet Android Development] highwaystar_ru:
Here is android 10 update https://xdaforums.com/t/rom-unofficial-10-0-tb8504f-x-lineageos-17-1-for-lenovo-tab4-8.4259219/
[Thinkpad Tablet Android Development] KasRoudra:
Thanks a lot. I recovered my device with this rom while os was deleted!
[Thinkpad Tablet Android Development] vamsikr:
Hi, I am a bit of new flashing lineage OS to my Tablet. I have tried flashing TWRP and when I open TWRP I get the following message "Failed to Mount /system (Invalid Argument)".

I have tried wiping the ext4 and ext2 and even using f2fs.

The statement Formatting System using mkfs.f2fs takes forever and does not complete.

Please let me know if there is anything I'm missing or doing wrong here.
[Thinkpad Tablet Android Development] XAedgeS:
Hi, do you still fix bug for this ROM, or we move to Lineage 17 completely?
[Thinkpad Tablet Android Development] vamsikr:
An Update on this I have finally installed Lineage OS and can boot into it.

Now when I try installing GApps, it says Mounting Partitions and takes forever.

Any leads here are appreciated. Thanks in Advance.
[Thinkpad Tablet Android Development] XAedgeS:
Which version of TWRP you used?
[Thinkpad Tablet Android Development] vamsikr:
Hello, I have used twrp-3.3.1-1. The one which was in the post.
[Thinkpad Tablet Android Development] XAedgeS:
Ah, alright, I think I also got that problem once, the way I did it was mount the /system partition first in Mount option in TWRP, after that I install Gapps.
[Thinkpad Tablet Android Development] vamsikr:
I have wiped everything and re-started the process from scratch. Now everything installed correctly both the Lineage OS and GApps. Looks like taking one at a time now.

Trying to install Magisk and I get the following error:

Updater Process ended with ERROR:1
[Thinkpad Tablet Android Development] XAedgeS:
Well, I didn't even try Magisk yet, so I cannot help you with that, also do you mind telling me how do you go back to stock ROM? Qfil?
[Thinkpad Tablet Android Development] vamsikr:
I am a newbie in this area. I have used the advance wipe option to wipe out my system and reinstalled the custom ROM. May be a similar kind of process.

Just an update, Magisk is also now successfully installed!! Thank you!!
[Thinkpad Tablet Android Development] ZONTAC:
Hey guys , try crdroid rom by dev. @adazem009 , super smooth rom with many customization

Thread '[ROM][UNOFFICIAL][10.0][tb8504f/x] crDroid 6.x for Lenovo TAB4 8' https://xdaforums.com/t/rom-unofficial-10-0-tb8504f-x-crdroid-6-x-for-lenovo-tab4-8.4313297/
[Thinkpad Tablet Android Development] real_v007:
Hii bro first of all thank you very much for this

This ROM is working so smooth and battery 🔋 life is also so I tested every thing and it's all over 8/10 But some functionality is not working

1. Auto rotate is not rotating I don't know why

2. Notification light is also not working I tried everything it says notification light is enabled but dot is not blinking except while charging

If anyone knows the fix please let me know it will be much appreciated 💗
[Thinkpad Tablet Android Development] Robb Flynn:
Worked great on my TB-8504F until a few days ago. Now the wifi is very spotty. It never drops connection to the router but web pages, videos etc. just time out. The progress bar on my browser will get to about 50% and just hang. Oddly enough, this is a known issue with the stock rom -

Wifi Issues with Lenovo Tab 4 8

It mentions 5Ghz with Tab 4 Plus but there are also issues with the Tab 4 connecting to 2.4Ghz bands too. This was thought to be a software issue but maybe it's hardware? Any ideas? I'm just about ready to throw this tablet in the trash. No wifi = useless.

Router config is 2.4GHz WPA/WPA2. Tested 2.4GHz using my phone and it works fine so I think the tablet is the problem.
[Thinkpad Tablet Android Development] pacsec:
Ehh, not working because i have tb_8504x. Is there any roms for this device?
[Thinkpad Tablet Android Development] Schrodinger_wave:
which virson of twrp did you flashed?
[Thinkpad Tablet Android Development] pacsec:
Nevermind, i figured it out. But i use 3.2.3-0. Btw, can anyone help me? I wipe system, dalvik and cache, then i tried to install this os, but it ended with code 1. Oh, and when I try to install crDroid it just freeze at "patching system image unconditionally...". HELP!!!
[Thinkpad Tablet Android Development] stinkysockboi:
Hey i just installed this rom and I cant connect to wifi for some reason
[Thinkpad Tablet Android Development] BlackBird921:
Please port Ubuntu Touch for Lenovo TB-8504X.
[Thinkpad Tablet Android Development] giorgakis1966:
The Gapps where are they and how will I install them guys for the coustom rom? Thank you
[OnePlus 7T Questions & Answers] TechGenius:
Hello , i just bought the Op7T recently and it has preinstalled india rom but im living in Turkey, so i installed global rom with Oxygen Installer but i notice really huge battery drain after this. Even spotify drinks the battery while listening music from bluetooth earbuds and also with turned off screen. Is there anything i can do about it ?

(Last Full Charge 19h ago / Screen on Time 2h 57m)

[IMG="Battery usage 1"]https://xdaforums.com/attachment.php?attachmentid=4964285&stc=1&d=1583341895[/IMG]

[IMG="Battery usage 2"]https://xdaforums.com/attachment.php?attachmentid=4964287&stc=1&d=1583341895[/IMG]