i managed to install twrp and root with magisk, however i broke my partition B when tried to install gsi from fastbootd. good work @Ungeskriptet
That's weird cause one of my partitions is also broken. I haven't yet looked into it.i managed to install twrp and root with magisk, however i broke my partition B when tried to install gsi from fastbootd. good work @Ungeskriptet
I use the Lineage OS GSI, with the issues everybody has.@Ungeskriptet Which GSI do you use? Do you also have problems with Autobrightness and
rotation orientation? Did you create a overlay?
Is there no way to flash persist.img to sort these issues out or is this not relatedI use the Lineage OS GSI, with the issues everybody has.
And no, I didn't create an overlay. Might try tho
You should be able to just flash it in TWRP. If you haven't messed up your A/B partitions like me it doesn't matter which one you select as long as your system boots.May I know the details of install Magisk and should select slot a or b, thanks
Random, but how does one learn porting/ROM dev? It is something that has been interesting me recently so I was wondering if you could point me in a general direction on how to get started/learn more about it?For now I'm using the GSI, but I do want to eventually port LineageOS to it (I have only little experience so this could take a long time). I'd also like to get mainline Linux booting on this tablet, since SD865 is supported in Linux and SD870 is an overclocked SD865.
EDIT: I've been using the GSI for some time now and the performance is great. I'll try looking into the issues the GSI has because if the GSI works good there's no need to make a new and seperate LineageOS port. I would need to learn how to do that first though so it can take some time.
fastbootd
works so flashing should work too, haven't tested it though.https://maruos.com/ Hey, I found that this project may be more convenient for running Linux to AndroidFor now I'm using the GSI, but I do want to eventually port LineageOS to it (I have only little experience so this could take a long time). I'd also like to get mainline Linux booting on this tablet, since SD865 is supported in Linux and SD870 is an overclocked SD865.
EDIT: I've been using the GSI for some time now and the performance is great. I'll try looking into the issues the GSI has because if the GSI works good there's no need to make a new and seperate LineageOS port. I would need to learn how to do that first though so it can take some time.
MaruOS is a custom ROM for running Linux on top of Android. My goal is to ditch Android completly and run Linux natively by using a mainline Linux kernel. Someone already managed to run mainline Linux v5.15 on a Mi Pad 5 Pro with SD870 so we can (someday, when everything will work) use this tablet as a normal Linux PC.https://maruos.com/ Hey, I found that this project may be more convenient for running Linux to Android
The kernel has to be mainlined first (sadly there are no downstream kernel sources which will make this a bit harder). Once the kernel has been mainlined you can use any distro which has an aarch64 (ARM64) version available. EFIDroid is no longer maintained and is also not needed. We can simply put the kernel in the boot partition and boot it that way.I have the same tablet and have the same wish as you
please look at the jingOS
and efidroid projectJingOS | Future Mobile OS based on Linux - JingLing - JingOS
JingOS is a ‘convergent’ Linux-Based Open-Source OS for future tablets&laptops.It is a product of JingLing Tech. JingPad A1 is the World’s FIRST Consumer-level ARM-based Linux Tablet.en.jingos.com
Ithink its a UEFI for android and can load grub witch is start of linux
I may not be good like you but I would be happy to cooperate on this![]()
It could be possible that while flashing/updating/messing with the tablet, thei managed to install twrp and root with magisk, however i broke my partition B when tried to install gsi from fastbootd. good work @Ungeskriptet
super
partition got corrupted:╭─[email protected] ~/Downloads
╰─$ imjtool super.bin
liblp dynamic partition (super.img) - Blocksize 0x1000, 3 slots
LP MD Header @0x3000, version 10.2, with 10 logical partitions on block device of 4096 GB, at partition super, first sector: 0x800
Partitions @0x3100 in 3 groups:
Group 0: default
Group 1: qti_dynamic_partitions_a
Name: system_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0x100000 spanning 1 extents and 3 GB)
Name: system_ext_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xc4f00000 spanning 1 extents and 255 MB)
Name: product_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xd4f00000 spanning 1 extents and 403 MB)
Name: vendor_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xee300000 spanning 1 extents and 689 MB)
Name: odm_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0x119500000 spanning 1 extents and 1008 KB)
Group 2: qti_dynamic_partitions_b
Name: system_b (read-only, empty)
Name: system_ext_b (read-only, empty)
Name: product_b (read-only, empty)
Name: vendor_b (read-only, empty)
Name: odm_b (read-only, empty)
super
partition and flash it in fastbootd
mode?╭─[email protected] /mnt/1TB_HDD/Android/lenovo-tbj716f/TB-J716F_CN_OPEN_USER_Q00209.3_R_ZUI_12.6.211_ST_210730_qpst
╰─$ imjtool super.img
liblp dynamic partition (super.img) - Blocksize 0x1000, 3 slots
LP MD Header @0x3000, version 10.2, with 10 logical partitions on block device of 4096 GB, at partition super, first sector: 0x800
Partitions @0x3100 in 3 groups:
Group 0: default
Group 1: qti_dynamic_partitions_a
Name: system_a (read-only, Unknown, @0x100000 spanning 1 extents and 3 GB)
Name: system_ext_a (read-only, Unknown, @0xc4f00000 spanning 1 extents and 255 MB)
Name: product_a (read-only, Unknown, @0xd4f00000 spanning 1 extents and 403 MB)
Name: vendor_a (read-only, (image truncated - won't try fs detection), @0xee300000 spanning 1 extents and 689 MB)
Name: odm_a (read-only, (image truncated - won't try fs detection), @0x119500000 spanning 1 extents and 1008 KB)
Group 2: qti_dynamic_partitions_b
Name: system_b (read-only, empty)
Name: system_ext_b (read-only, empty)
Name: product_b (read-only, empty)
Name: vendor_b (read-only, empty)
Name: odm_b (read-only, empty)
super
partition from my tablet and now the A partition is completely gone?╭─[email protected] ~/Downloads
╰─$ imjtool super.img
liblp dynamic partition (super.img) - Blocksize 0x1000, 3 slots
LP MD Header @0x3000, version 10.2, with 6 logical partitions on block device of 4096 GB, at partition super, first sector: 0x800
Partitions @0x3100 in 3 groups:
Group 0: default
Group 1: qti_dynamic_partitions_b
Name: system_b (read-only, Linux Ext2/3/4/? Filesystem Image, @0x100000 spanning 1 extents and 3 GB)
Name: system_ext_b (read-only, Linux Ext2/3/4/? Filesystem Image, @0xc4f00000 spanning 2 extents and 255 MB)
Name: product_b (read-only, Unknown, @0xd5000000 spanning 1 extents and 403 MB)
Name: vendor_b (read-only, Unknown, @0xee400000 spanning 1 extents and 689 MB)
Name: odm_b (read-only, Unknown, @0x119600000 spanning 2 extents and 1008 KB)
Group 2: cow
Name: system_b-cow (Unknown, @0x119800000 spanning 1 extents and 3 GB)
I managed to repartition and flash the images manually. However, I could not fix widevine status f3, if im not mistaken, it was affected by modem/persist/efs partition. I managed to backup using TWRP and restore function is ok. But i got bootloop after restoreIt could be possible that while flashing/updating/messing with the tablet, thesuper
partition got corrupted:
Code:╭─[email protected] ~/Downloads ╰─$ imjtool super.bin liblp dynamic partition (super.img) - Blocksize 0x1000, 3 slots LP MD Header @0x3000, version 10.2, with 10 logical partitions on block device of 4096 GB, at partition super, first sector: 0x800 Partitions @0x3100 in 3 groups: Group 0: default Group 1: qti_dynamic_partitions_a Name: system_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0x100000 spanning 1 extents and 3 GB) Name: system_ext_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xc4f00000 spanning 1 extents and 255 MB) Name: product_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xd4f00000 spanning 1 extents and 403 MB) Name: vendor_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0xee300000 spanning 1 extents and 689 MB) Name: odm_a (read-only, Linux Ext2/3/4/? Filesystem Image, @0x119500000 spanning 1 extents and 1008 KB) Group 2: qti_dynamic_partitions_b Name: system_b (read-only, empty) Name: system_ext_b (read-only, empty) Name: product_b (read-only, empty) Name: vendor_b (read-only, empty) Name: odm_b (read-only, empty)
This is from my tablet when I still had ZUI 13. Maybe it would be possible to dump the working slot from thesuper
partition and flash it infastbootd
mode?
EDIT: Seems like it's the same for the super partition from the EDL/QPST-Firmware. I did flash my tablet with EDL so it's most likely this issue.
Code:╭─[email protected] /mnt/1TB_HDD/Android/lenovo-tbj716f/TB-J716F_CN_OPEN_USER_Q00209.3_R_ZUI_12.6.211_ST_210730_qpst ╰─$ imjtool super.img liblp dynamic partition (super.img) - Blocksize 0x1000, 3 slots LP MD Header @0x3000, version 10.2, with 10 logical partitions on block device of 4096 GB, at partition super, first sector: 0x800 Partitions @0x3100 in 3 groups: Group 0: default Group 1: qti_dynamic_partitions_a Name: system_a (read-only, Unknown, @0x100000 spanning 1 extents and 3 GB) Name: system_ext_a (read-only, Unknown, @0xc4f00000 spanning 1 extents and 255 MB) Name: product_a (read-only, Unknown, @0xd4f00000 spanning 1 extents and 403 MB) Name: vendor_a (read-only, (image truncated - won't try fs detection), @0xee300000 spanning 1 extents and 689 MB) Name: odm_a (read-only, (image truncated - won't try fs detection), @0x119500000 spanning 1 extents and 1008 KB) Group 2: qti_dynamic_partitions_b Name: system_b (read-only, empty) Name: system_ext_b (read-only, empty) Name: product_b (read-only, empty) Name: vendor_b (read-only, empty) Name: odm_b (read-only, empty)
you need to get ADB and fastboot tools installed on your computer. Then you can follow the commands as stated in the 1st postHi, i'm a newbie in configuring android devices. I've downloaded android filehost and the device tree from the link but what am i supposed to do in order to install TWRP? I've enabled OEM unlocking as well as USB debugging. When i go into bootloader i don't see anything that says "Flash recovery". Could anyone kindly guide or provide me steps into installing TWRP? Greatly appreciate the help if can! Thanks!
Thank you very much for the guidance. I've downloaded the tools as you said and managed to send commands to the tablet but i'm stuck at the flash recovery command. It says waiting for device but on my device but i don't see any confirmation on my tablet. What am i supposed to do from here?you need to get ADB and fastboot tools installed on your computer. Then you can follow the commands as stated in the 1st post
The correct command isHi so I broke b_partition of the device need help/guide in getting the required files to flash to fix the issues. Using the fastboot --set-active b keep showing unknown option. Likewise flashing the stock rom using QFIL doesnt fix the issues . Not sure what i did wrong along the way.... Also tried flash fastboot method with the stock rom files doesnt help too.
fastboot set_active b
.adb reboot bootloader
fastboot flash recovery twrp-3.6.0_11-0-J716F.img
fastboot reboot recovery
For now I'm using the GSI, but I do want to eventually port LineageOS to it (I have only little experience so this could take a long time). I'd also like to get mainline Linux booting on this tablet, since SD865 is supported in Linux and SD870 is an overclocked SD865.Will you be working on any ROMS in the future..or do you use a GSI?
Not so easy. Installing it through fastboot is easier.