Custom kernel and ROM development for the Lenovo Tab 4 8 Plus (TB-8704F/X) - Thinkpad Tablet Android Development

As much as I vowed I would never get a single Lenovo product again, I recently realised what a fool I had been by accusing the recently released kernel sources for the Lenovo Tab 4 8 Plus of being incomplete without considering anything on my end such as gcc version. I realised that my gcc version simply wasn't able to compile the kernel sources right now because kernel compilation is working fine in an Ubuntu 16.04 systemd container vs the Ubuntu 18.04 host and containers where it errored out at topology.c. Now that we can compile kernels for the Lenovo Tab 4 8 Plus, I'd love to see some custom kernels and ROMs for this tablet. It looks like it could become a good replacement for the aging Nexus 7 (2013) which even community support has to end for at some point. I'm currently downloading the LineageOS 15.1 source and am also compiling the kernel for the Tab 4 8 Plus at the same time. If I can get this kernel booted on Lenovo's Oreo ROM, then I may be able to see what I can do on porting LineageOS 15.1 and even 16.0 to this tablet.

How it's going?

Nice!

Any progress?

Any thing new about this tablet.amazing hardware but no more custom roms and kernels...please some one guide me how to do that(porting room
Thanks

I am working on porting a similar tablet, but am stuck on a build issue. Looking for someone to help!
This is what I'm stuck on:
https://stackoverflow.com/questions...os-kernel-lenovo-tb8504f-include-uapi-linux-n

narenjeen said:
Any thing new about this tablet.amazing hardware but no more custom roms and kernels...please some one guide me how to do that(porting room
Thanks
Click to expand...
Click to collapse
https://forum.xda-developers.com/th...om-lineageos-16-0-lenovo-tab4-8-plus-t3950430

Related

Lineage OS for HTC One Mini 2?

Hi all.
Just a speculative query, really. Does anyone know if there's any work underway to bring LineageOS to the Mini 2?
The [Lineage OS wiki](https://wiki.lineageos.org/devices/) shows a good selection of HTC devices already have builds available. But, unfortunately, no mention of the Mini 2 yet.
Also, am I correct in my assumption that the LineageOS codebase is pretty much based on the latter CyanogenMod builds? (I'm presuming the LineageOS folks haven't started completely from scratch). If so, that sounds hopeful, as there are (in this very boutique!) CyanogenMod builds of Marshmallow for the Mini 2 --which means at least some of the work is already done.
The phone sadly wasn't very popular at launch and didn't even receive any official cm support apart from a few nightlies for cm11
But speaking of the cm13 unofficial port, the guy in charge of that is thinking of switching to Lineage OS source, so check out the link below to find out how to make that happen sooner ...
source: https://forum.xda-developers.com/on...ent/cyanogenmod-13-one-mini-2-t3429360/page57 (Read the first comment from nightcore)
hanro50 said:
...Speaking of the cm13 unofficial port ... source: https://forum.xda-developers.com/on...a move to LineageOS was being discussed now.
Click to expand...
Click to collapse
xxxmadraxxx said:
Ah. thanks for that.
I'm currently running that unofficial CM13 on the Mini 2 and, while it's pretty stable, I did worry about it becoming "abandonware", what with the demise of CyanogenMod. I'd not visited that thread for a month or two now so wasn't aware a move to LineageOS was being discussed now.
Click to expand...
Click to collapse
No problem
CyanogenMod == LineageOS
No code changes are needed (ok not exactly, some file rename are required) but this is the same OS, same sources etc... Only a re-brand because of Steven Kondik Cyanog3n dismissal.

Android 8.0 on the SM-T285

As many of you heard, android 8 has now been officially released. I will be working to get an AOSP version working on the 7" LTE tablet, I have heard that there may be significant HAL changes so it may take some time. I have just released the august update for the SM-T285, I've been also working to get a stable repo out for this device in the last couple of weeks. Anyway wish me luck.
Update 08/24/2017 - I was able to download the 8.0.0_r4 aosp sources and got it to compile the modified device tree. There seems to be significant changes with some HAL libraries, vendor specific libs are now moved to its own place in the system image. Will now proceed to actual testing and porting.
jedld said:
As many of you heard, android 8 has now been officially released. I will be working to get an AOSP version working on the 7" LTE tablet, I have heard that there may be significant HAL changes so it may take some time. I have just released the august update for the SM-T285, I've been also working to get a stable repo out for this device in the last couple of weeks. Anyway wish me luck.
Click to expand...
Click to collapse
Great! Is there ANY chance you wil make an extra effort to release this for the SM-T280 also?
AFAIK the only difderence is LTE versus WiFi only [emoji4] ?
Sent from my Z Pro using Tapatalk
ZeroZorro said:
Great! Is there ANY chance you wil make an extra effort to release this for the SM-T280 also?
AFAIK the only difderence is LTE versus WiFi only [emoji4] ?
Click to expand...
Click to collapse
I won't be directly developing for the T280 sadly. There may be subtle differences at the kernel level and some components (e.g. GPS, touchscreen) which prevents ROMs for the T285 from working with the T280. However my work with the T285 should greatly speedup development for the T280 once the first custom ROMs arrive.
jedld said:
I There may be subtle differences at the kernel level and some components (e.g. GPS, touchscreen) which prevents ROMs for the T285 from working with the T280.
Click to expand...
Click to collapse
Is this just non stock roms? I've had stock T285 roms running on my T280 without issue.
ashyx said:
Is this just non stock roms? I've had stock T285 roms running on my T280 without issue.
Click to expand...
Click to collapse
I remember some people tried on my CM/Lineage/Omni based roms on their T280 and it failed to boot, though I can't tell the method they used to flash those ROMs so it is possible that their methods are incorrect. As for stock ROMs this is new information for me if that is the case. I am unable to verify these as I don't have a T280, though if there is a dev who would like to try if would be nice.
jedld said:
I remember some people tried on my CM/Lineage/Omni based roms on their T280 and it failed to boot, though I can't tell the method they used to flash those ROMs so it is possible that their methods are incorrect. As for stock ROMs this is new information for me if that is the case. I am unable to verify these as I don't have a T280, though if there is a dev who would like to try if would be nice.
Click to expand...
Click to collapse
:good: so when are we getting the new Oreo ? :fingers-crossed:
hopefully you get the camera working this time round ? :fingers-crossed::fingers-crossed::fingers-crossed:
Where's the download link of oreo rom?? or when are we getting??
acp Siam said:
Where's the download link of oreo rom?? or when are we getting??
Click to expand...
Click to collapse
my oreo build isn't usable at the moment, wifi doesn't work and you can't turn the screen back on after turning it off. Trying to figure out if this is a LineageOS issue or a hardware issue takes too much time, I'm waiting for the first official builds of Lineage OS to start rolling out before I spend more time on this.
Bacoor,
I've just bought a Galaxy Tab A6 LTE (SM-T285) and haven't rooted or done anything to an android phone in over 5 years. Feeling Green as hell! I'm back to being a newbie. Any suggestions you can offer to me on a guide and which TWRP and Android I should install on my phone. I'll need some tutorial help as I feel uneasy. Last Time I did rooting and custom roms was way back on the HTC Hero and then the HP Touchpad to Cyanogenmod.
Well with Oreo comes project treble which does in fact mess with the HAL libraries a lot. Maybe that means there is hope the Galaxy Tab A Line will get "Treble-ized".
Good news if we are.
Here is a thorough article covering 8.0: https://arstechnica.com/gadgets/2017/09/android-8-0-oreo-thoroughly-reviewed/
Delgoth said:
Well with Oreo comes project treble which does in fact mess with the HAL libraries a lot. Maybe that means there is hope the Galaxy Tab A Line will get "Treble-ized".
Good news if we are.
Here is a thorough article covering 8.0: https://arstechnica.com/gadgets/2017/09/android-8-0-oreo-thoroughly-reviewed/
Click to expand...
Click to collapse
Finally a standardized platform. It's about bloomin time!
No excuse for Samsung and their poor 2 time upgrades anymore.
Help regarding update
Hiii bro....sohail here and i have samsung galaxy tab a6 sm-t285 and i want nougat/oreo update in it plz help me bro.....what can i do..? Please let me know as soon as you can....hope you help me...:fingers-crossed
I am still on Android 5.1.x rooted, and probably only version for T285 which every feature is tested working.
Intended to upgrade to Android 6 or 7, but there isn't any stable firmware which is bug-free (ie. GPS and video recording).
Not optimistic on 8.0 being bug-free when the 6 and 7 not fixed after such a long wait (months).
kevinlaikf said:
I am still on Android 5.1.x rooted, and probably only version for T285 which every feature is tested working.
Intended to upgrade to Android 6 or 7, but there isn't any stable firmware which is bug-free.
Not optimistic on 8.0 being bug-free when the 6 and 7 not fixed after such a long wait (months).
Click to expand...
Click to collapse
I'd update to android 7. Its a great update for my Tab A. Samsung removed a lot of bloat in this update and it runs great.
ashyx said:
I'd update to android 7. Its a great update for my Tab A. Samsung removed a lot of bloat in this update and it runs great.
Click to expand...
Click to collapse
Where did you get a Samsung 7.0 ROM?
I have only seen 5.1.1 posted, other than LineageOS 14.1 (7.1)
Can u upload the build
I have been waiting for the build.So jedld , Can u upload the oreo build
jedld said:
my oreo build isn't usable at the moment, wifi doesn't work and you can't turn the screen back on after turning it off. Trying to figure out if this is a LineageOS issue or a hardware issue takes too much time, I'm waiting for the first official builds of Lineage OS to start rolling out before I spend more time on this.
Click to expand...
Click to collapse
Heyyy, give the download link fast. ASAP. waiting for that oreo rom to be iin my sm-t285. When is it coming??
andd please make sure that it doesn't bring any camera error problem or cellular data problem.
THANK YOU
acp Siam said:
sm-t285. When is it coming??
Click to expand...
Click to collapse
In summer
acp Siam said:
Heyyy, give the download link fast. ASAP. waiting for that oreo rom to be iin my sm-t285. When is it coming??
andd please make sure that it doesn't bring any camera error problem or cellular data problem.
THANK YOU
Click to expand...
Click to collapse
It's not even done yet.... Be patient.
How Do I Test this ROM
I have a T285 and I want to test this rom where do I download it?

[DISCONTINUED ROM][8.1][OMS][SigSpoofing] Unofficial LineageOS builds by Admicos

(I'm new to all this ROM development stuff, apologies if there's anything wrong with what I'm doing)
These are my personal LineageOS builds. They aren't much different from regular LOS, other than some added patches.
More details and sources over at: https://git.issizler.club/LineageOS/LineageOS-by-Admicos
Download: https://www.androidfilehost.com/?fid=11410963190603912814
What's working/not working: Should be same as official LineageOS
XDA:DevDB Information
Unofficial LineageOS builds by Admicos, ROM for the ZTE Axon 7
Contributors
admicos
Source Code: https://git.issizler.club/LineageOS
ROM OS Version: 8.x Oreo
Based On: LineageOS
Version Information
Status: Beta
Created 2019-01-04
Last Updated 2019-01-04
CHANGELOG
15.1-20190201 1d456849f4b154381071c9ebae87ccff
15.1-20190121 45f811aecd226524c3c68394f0781e10
15.1-20190115 e9c47b0062b822c118f918318289a7e4
LOS Repo Sync
15.1-20190104-2 37ff7fb6510d0d819e10e932d3e18f9d
Fixed WireGuard
15.1-20190104
Initial Release
Nice. The addition of sigspoofing and substratum service would make plain LOS usable for me. Straight LOS and themes were always iffy.
[emoji106]
ZTE Axon 7 A2017U, /e/ v0.1 ROM, microG (NoGapps), Multiboot, XDA Legacy
As nobody really posted here, I just wanted to say that this is working really well.
I had huge gps problems with the last 15.1 unofficial, but it works perfectly in this one and it has some very nice additions as well and is 100% stable for me even with xposed and magisk.
 @admicos Thank you very much and I really hope that, if you have the time, you continue making these.
New build being uploaded right now, no changes other than a LOS repo sync.
The last couple test builds I made were somewhat iffy, but this one seems pretty well. (The recolored boot animation didn't make it in for some reason, but the rest are fine)
Everytime when i reboot the system to os or recovery,the recovery looks replaced and i cant mount data.
Not sure what caused it,i just flashed this on my non treble axon 7
Predatorhaze said:
Everytime when i reboot the system to os or recovery,the recovery looks replaced and i cant mount data.
Not sure what caused it,i just flashed this on my non treble axon 7
Click to expand...
Click to collapse
boy ter here rediscovering the wonders of encryption and dm-verity check
New build being uploaded, another regular LOS repo sync, should be done in about an hour
--
Predatorhaze said:
Everytime when i reboot the system to os or recovery,the recovery looks replaced and i cant mount data.
Not sure what caused it,i just flashed this on my non treble axon 7
Click to expand...
Click to collapse
I'm not sure why that's happening either. Can you replicate this on official LOS? If you can, I'd suggest you try asking on their thread, they might know more.
Good ROM for a while, why not update it? Is there a new kernel upgrade for the top post?
[armitage] said:
As nobody really posted here, I just wanted to say that this is working really well.
I had huge gps problems with the last 15.1 unofficial, but it works perfectly in this one and it has some very nice additions as well and is 100% stable for me even with xposed and magisk.
@admicos Thank you very much and I really hope that, if you have the time, you continue making these.
Click to expand...
Click to collapse
What version of Xposed are you using? I've always wanted to try this ROM, but thought there wasn't an official Xposed yet. The others I knew at the time were reportedly shady.
Sorry for the long wait (kinda forgot about this existing :/), and sorry for the bad news;
As I am planning to switch to another phone, I cannot continue making this anymore.
I might continue this as a GSI or something, but I really don't know if that will happen, as Android source is a big mess that I don't think I, and my (reasonably fast) CPU are prepared to handle. (Any pointers to dealing with this are greatly appreciated)
It was a fun two years lurking around.
(ps: The source link is completely borked (and all my sources are gone). I probably should stop trying to be fancy and use a public Git server like a normal person the next time)
If your build env is on Docker, I can easily stage a build server for you. It won't be fast, but you can leave it running all night long if you need, and free up your computer.
Also, if you're not using Docker, I can help you set it up, so anyone else can easily build by themselves if they choose to do so.
Can I upgrade the kernel?
[9.0/8.1] Updated LOS Kernel [Version 3.18.136]
@admicos THREAD CLOSED!
In the OP, the mandatory link tp source code provides a HTTP 404 error.
Please advise the moderators' team if you want the thread to be re-opened and to update the link.

Galaxy tab a T510 Custom Rom

Now that we can unlock the bootloader and root the galaxy tab a T510 It would be cool to see custom roms developed for it
I would love to see AOSP android running on the T510
Is there anyone in the custom rom development able to do
Does nobody want to see a custom rom on this device
I'm Interested too !! A debloated Rom please !!!!!
I posted my TWRP build here, so I'm hoping that enables more custom ROM development for the SM-T510. Unfortunately, my initial attempts with GSIs were unsuccessful, even with NoKnox to disable most of the Samsung security features. Seems I'm still missing something, but Galaxy S10 owners have had some success after making minor changes to the generic image.
Has anyone tried this GSI guide for the Galaxy A8, which shares the same Exynos 7885? It's got the rw-system.sh fix noted above.
I may purchase.this very soon. I have high hopes for this device getting lineage
Would love to see a custom firmware release as there's only a 32 bit version of android and I'd like to get 64 bit support. Great little tablet aside from that downside
Interesting note here in the @phhusson's Treble Wiki:
Why should I use GSI for A/B devices to some A-only devices? : On Android 9, Google changed the requirements and all devices shipped with Android 9 must use "system-as-root". Before this change, only A/B devices were system-as-root and GSI name was separated by A-only and A/B. For this historical reasons, you have to use GSI for A/B on the devices shipped with Android 9+.
So, I'm thinking that we should be using ARM for A/B...and not many custom GSI ROMs are built for that target.
Okay, I had some limited success with the latest AOSP 9.0 GSI build from @phhusson. The note above from his Wiki was spot on: We need an ARM A/B configuration for the SM-T510/T515...which is unfortunately a rare combination. You must also this updated /system/bin/rw-system.sh script. I used the build with GApps (system-arm32_binder64-ab-gapps-su.img.xz), but this generates a ton of error notifications because the device is not Play Protect certified.
We're getting much closer, though.
Okay, here's a quick-n-dirty custom ROM build based on the AOSP 9.0 GSI mentioned above: https://forum.xda-developers.com/ga...om-nexus-stock-2019-galaxy-tab-10-1-t3944222/

Kali Nethunter For LineageOS 18.1

I want to install Kali Nethunter on my rooted OP3T. How ever the download page says "OnePlus 3/3T (Ten)," Should this work on LineageOS 18.1 despite it being 11? I don't really want to have to wipe and flash a different ROM just to install it, especially since stock ROM only goes to Pie. If so, can anyone give me a fairly up-to-date tutorial on how to install it? I'm currently watching this David Bombal video on how to install it on a 7T, and I am hoping the install instructions would be the same. (yes, I did post this on another OP3T forum, but realised it was the wrong one and am awaiting it to be removed)
Do you have any updates on it? Asking cuz I couldn't find any available LineageOS based on Android 10 to download.
lemongrass1717 said:
Do you have any updates on it? Asking cuz I couldn't find any LineageOS based on Android 10 to download.
Click to expand...
Click to collapse
Nah, I've sorta given up on the project. Maybe try and find a LOS 14.1 download? Apparently this uses Ten and works with NetHunter
I discovered 17.1 uses 10 Android, not sure if NetHunter supports it. But few years ago I tried to run NetHunter on not officially supported device, it kinda worked but required LineageOS + generic NetHunter + custom kernel. Maybe it'll work for 3T.

Categories

Resources