[LineageOs-20.0][TB-X606F/TB-X606FA][UNOFFICIAL] [Alexa Show Mode] for Lenovo Tab M10 FHD Plus [14.02.2023]

Search This thread

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Did you use the normal version of this rom or the userdebug variant?
I used this one: 14022023-user-system.img
Can this be twrped and rooted with magisk?
Normal version, there is TWRP for it. https://forum.xda-developers.com/t/...rp-3-6-x-for-lenovo-tab-m10-fhd-plus.4222887/

And yes it can be rooted with Magisk, unfortunately TWRP for this tablet is not yet ready for A13 yet, it is in the works, hopefully soon.

You can install Magisk and patch the boot.img and then flash it in fastboot mode using fastboot flash boot ".Magisk patched boot.img"

After setting up Magisk which btw I recommend you install Magisk Delta... You can use the module I attached to bypass widevine DRM and make Netflix, Disney plus and paramount plus work without issues, you can also use the universal safetynet fix module so you can pass safety net and after that you should be able to install Netflix from the Google play store with no issues.

Let me know if you need any help
 
  • Like
Reactions: DerTeufel1980

massaquah

Senior Member
Jan 10, 2008
104
5
Hannover
OnePlus 9
Normal version, there is TWRP for it. https://forum.xda-developers.com/t/...rp-3-6-x-for-lenovo-tab-m10-fhd-plus.4222887/

And yes it can be rooted with Magisk, unfortunately TWRP for this tablet is not yet ready for A13 yet, it is in the works, hopefully soon.

You can install Magisk and patch the boot.img and then flash it in fastboot mode using fastboot flash boot ".Magisk patched boot.img"

After setting up Magisk which btw I recommend you install Magisk Delta... You can use the module I attached to bypass widevine DRM and make Netflix, Disney plus and paramount plus work without issues, you can also use the universal safetynet fix module so you can pass safety net and after that you should be able to install Netflix from the Google play store with no issues.

Let me know if you need any help

Thank you very much for your assistance.
Unfortunately I am not clear about the exact steps.

- So you are saying, since TWRP is not yet ready for Android 13 (and this rom here is based on Android 13) I should not install TWRP, correct?
- But if not, how am I supposed to do this exactly? "You can install Magisk and patch the boot.img"
 

massaquah

Senior Member
Jan 10, 2008
104
5
Hannover
OnePlus 9
Thank you very much for your assistance.
Unfortunately I am not clear about the exact steps.

- So you are saying, since TWRP is not yet ready for Android 13 (and this rom here is based on Android 13) I should not install TWRP, correct?
- But if not, how am I supposed to do this exactly? "You can install Magisk and patch the boot.img"

I suppose via Magisk Manager app?
 

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Yeah, basically TWRP will not be of any help since it cannot decrypt A13 ROMS yet, it will not be able to read or write any files, I had it installed when I had stock firmware and I kept it after flashing Lineage without knowing that it wouldn't work so no need for you to install it until it's ready for A13.

Download the magisk APK, either regular magisk or the delta one I'm recommending (https://t.me/magiskdelta/437) download the latest release of the APK and install it, open the app and hit install and then hit the option "select and patch a file" which will let you select your boot.img and patch it, after that you will have a magisk patched IMG in your download folder which you will have to copy to a computer so that you can open PowerShell or CMD and use the command "reboot fastboot" after the tablet restarts in fastboot mode you enter "fastboot flash boot PATCHED.img" that's it, reboot and you'll be rooted with magisk.

If you have the TB-X606F variant, I can just send you the patched.img so that you just copy it to your computer and flash it without having to do any of the first steps.

let me know
 
  • Like
Reactions: massaquah

massaquah

Senior Member
Jan 10, 2008
104
5
Hannover
OnePlus 9
Yeah, basically TWRP will not be of any help since it cannot decrypt A13 ROMS yet, it will not be able to read or write any files, I had it installed when I had stock firmware and I kept it after flashing Lineage without knowing that it wouldn't work so no need for you to install it until it's ready for A13.

Download the magisk APK, either regular magisk or the delta one I'm recommending (https://t.me/magiskdelta/437) download the latest release of the APK and install it, open the app and hit install and then hit the option "select and patch a file" which will let you select your boot.img and patch it, after that you will have a magisk patched IMG in your download folder which you will have to copy to a computer so that you can open PowerShell or CMD and use the command "reboot fastboot" after the tablet restarts in fastboot mode you enter "fastboot flash boot PATCHED.img" that's it, reboot and you'll be rooted with magisk.

If you have the TB-X606F variant, I can just send you the patched.img so that you just copy it to your computer and flash it without having to do any of the first steps.

let me know
Thanks again!

That is where I am stuck since I dont have a boot.img:
"select and patch a file" which will let you select your boot.img and patch it"

All my efforts to extract the boot.img via adb from the installed system failed so far.

I have the TB-X606F, so I would really appreciate it if you'd just send me the already patched file.
 

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Sure!!
Attached is the magisk delta patched boot.img and the magisk delta APK, IMG is patched with the latest canary build of magisk delta and the APK is the latest build as well.

Install the APK first
Connect the tablet to your PC and transfer the patched IMG
Assuming you have adb tools...
Open PowerShell (preferably) or CMD and enter "reboot fastboot"
Once restarted in fastboot mode type "fastboot flash (and drag the IMG you downloaded into PowerShell or CMD and press enter to send the command.
Lastly type "fastboot reboot"
After that you can install the module I sent you earlier and I'll go ahead and attach the safetynet fix module so you pass safety net.
 

Attachments

  • magisk_patched-25210_nM8Wm.img
    32 MB · Views: 35
  • safetynet-fix-v2.4.0-MOD_1.2.zip
    137.6 KB · Views: 19
  • Like
Reactions: massaquah

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Here's the magisk delta APK, I had to compress it so it would allow me to attach it
 

Attachments

  • Magisk-f470988f-delta(25210).zip
    9.5 MB · Views: 36
Last edited:
  • Like
Reactions: massaquah

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Everything is working perfectly now.
You are my hero!
I'm glad to hear that!!!
Don't forget to go to magisk settings and turn on "Zygisk" and then go to "Configure MagiskHide" and add google playstore and Google play services, after you do that, go and clear cache and data from Google playstore so that the playstore gets certified, you can check if it worked by opening the playstore and going to settings and then to "about" it should say "device is certified" if it doesn't say anything just wait a few minutes and open the playstore again and check, sometimes it takes a couple of minutes to detect it after you cleared the cache and data, you can also download https://play.google.com/store/apps/details?id=org.freeandroidtools.safetynettest to check if you're passing safetynet assuming you installed the safetynet fix module and turned on Zygisk

I hope it all works for you... Let me know if you pass safety net and hopefully you can download Netflix from the playstore after that
 

massaquah

Senior Member
Jan 10, 2008
104
5
Hannover
OnePlus 9
hm...
Zygisc is enabled
Magiskhide is active for Play Store and Play Services
After clearing cache and data from Playstore it indeed says "Device is certified".

Sadly, Netflix can't be installed from Playstore.
 

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
hm...
Zygisc is enabled
Magiskhide is active for Play Store and Play Services
After clearing cache and data from Playstore it indeed says "Device is certified".

Sadly, Netflix can't be installed from Playstore.

Thanks! Unfortunatly i did not root the device yet, but i found another way: Using ADB i was able to disable the amazon.speech.inn app and that helped too :)
Thanks to @Yahoo Mike we now have a working TWRP for A13 GSI ROMS, decryption is working and even backup and restore.. you guys are welcome to try it in your devices, it will allow you to root the easy way and install future magisk updates since direct install does not work because of /dev/block/mmcblk0p28 being read only, so for now the only way to update it will be through TWRP which is a game changer already, otherwise the only other way was to patch the boot.img every time and flashing it using fastboot which was a pain in the ass and always required a computer. Attached is the TWRP test img, as I said you guys are welcome to test it so that Mike can go ahead a release it.

Installation:
1: Restart to bootloader from the restart menu or by using command adb reboot bootloader
2: fastboot flash recovery twrp_X606FA_12.1.fbe.img
3: fastboot --disable-verification flash vbmeta vbmeta.img
4: fastboot reboot recovery (to go to recovery) or fastboot reboot (to reboot system)
5: (optional) but good for testing... flash something, you can flash the magisk APK that I attached on this post earlier, just decompress the zip and when in recovery you can just select the apk and it should flash.

Feedback would be great to make sure it works for you guys, everything on my end and Mike's end seems to be working good.

Cheers!!!
 

Attachments

  • twrp_X606FA_12.1.fbe.img
    31.8 MB · Views: 23
  • vbmeta.img
    4 KB · Views: 19

lithium07

Member
Feb 18, 2023
5
5
Thanks to @Yahoo Mike we now have a working TWRP for A13 GSI ROMS, decryption is working and even backup and restore.. you guys are welcome to try it in your devices, it will allow you to root the easy way and install future magisk updates since direct install does not work because of /dev/block/mmcblk0p28 being read only, so for now the only way to update it will be through TWRP which is a game changer already, otherwise the only other way was to patch the boot.img every time and flashing it using fastboot which was a pain in the ass and always required a computer. Attached is the TWRP test img, as I said you guys are welcome to test it so that Mike can go ahead a release it.

Installation:
1: Restart to bootloader from the restart menu or by using command adb reboot bootloader
2: fastboot flash recovery twrp_X606FA_12.1.fbe.img
3: fastboot --disable-verification flash vbmeta vbmeta.img
4: fastboot reboot recovery (to go to recovery) or fastboot reboot (to reboot system)
5: (optional) but good for testing... flash something, you can flash the magisk APK that I attached on this post earlier, just decompress the zip and when in recovery you can just select the apk and it should flash.

Feedback would be great to make sure it works for you guys, everything on my end and Mike's end seems to be working good.

Cheers!!!
Thx! I was able to root the device and install magisk successfully!
 
  • Love
Reactions: Alberhasky

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Thx! I was able to root the device and install magisk successfully!
Good deal, you can now install the safetynet fix module I attached a couple of posts ago to pass safety net, just make sure once you install it, you go to magisk settings, turn on zygisk, turn on magiskhide and then click on configure magiskhide and add everything you want to be hidden from root, like Google play store, play services.
 

lithium07

Member
Feb 18, 2023
5
5
Good deal, you can now install the safetynet fix module I attached a couple of posts ago to pass safety net, just make sure once you install it, you go to magisk settings, turn on zygisk, turn on magiskhide and then click on configure magiskhide and add everything you want to be hidden from root, like Google play store, play services.
Thanx, device is recognized as a certified one
 
  • Like
Reactions: Alberhasky

Alberhasky

Senior Member
Mar 1, 2011
255
137
34
Jeffersonville
Oh. I actually did not try....I'll let you know tomorrow
Were you able to find anything about that? Reason I ask is because direct installation of magisk fails due to system being read only, attached is a picture of what error is thrown by magisk installer, I mean now the whole process is easier because we got magisk to work for this ROM and we can always upgrade through there but it's still pretty inconvenient, you think we can do something to get the system to mount as RW?
 

Attachments

  • Screenshot_20230403-043026_Magisk Delta.png
    Screenshot_20230403-043026_Magisk Delta.png
    40.4 KB · Views: 9
  • Like
Reactions: prana_Sky

krayzieiyian23

Senior Member
Jan 16, 2013
56
9
I have lineage os already installed on here. Would I need to still go back to stock in order to install this rom, or can I install over and wipe data?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    This is great, thanks!
    Works like a charm on my tb-x606f :) though I'll try to remove the Alexa stuff.
    Can we enable auto-rotate on lock-screen by default? It was kinda awkward flipping the tablet+stand with keyboard on its side for initial setup and first couple uses.
    Just got done doing the same thing, booted into TWRP, mounted system and in the file manager you can locate it at: system_root/system/system_ext/priv-app/Alexa, erasing the directory got rid of it.

    Working great here as well :)
  • 6
    k5tUT1V.png

    LineageOS 20.0 Lenovo Tab M10 FHD Plus
    Alexa Show Mode available

    Since this is actually a GSI, it should boot on (m)any device(s), but it is inherenting tablet configs, and may look weird on phones.


    Code:
    /*
    * Your warranty is now void.
    *
    * I am not responsible for bricked devices, dead SD cards,
    * thermonuclear war, or you getting fired because the alarm app failed. Please
    * do some research if you have any concerns about features included in this ROM
    * before flashing it! YOU are choosing to make these modifications, and if
    * you point the finger at me for messing up your device, I will laugh at you.
    */

    Keep in mind that some LineageOS features have not been completed yet this is not a device bug and please do not report those

    Also do not post bug reports for known issues or bug reports without proper Logcat!

    How to install (on lenovo x606f(a)):​

    When you are installing this for the first time, I suggest to try "userdebug" version first, as it has adb enabled by default. Once you have ensured, your device is booting fine with the debug version, feel free to switch to user version (please do a wipe when switching between userdebug and user build).
    If you are looking for a rom with rooting capabilities, you need to stay with userdebug, or use any other method to root the user version.
    • only needed once:
    • flash latest stock android 10 (at time of writing, this is 'TB-X606XA_USR_S300564_2206300939_V9.56_BMP_ROW', built at 'Thu Jun 30 10:29:58 CST 2022'
    • allow oem unlocking in developer options
    • reboot to bootloader and unlock it
    • fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img

    • actually flash the system:
    • fastboot flash system system.img (replace system.img with the actual name)
    • wipe data when needed, especially on first install!: fastboot- w
    • fastboot reboot

    In order to use Show Mode, Screensaver needs to be enabled, and one needs to use the option "Launch custom App". Here anything could be selected, but for Show Mode, one needs to "Show Mode".
    To let Alexa app show all options, a second language needs to be added to system (this seems to trigger something in the app to switch to "full" options available...no idea yet, what this is, and why).

    Changes compared to stock:
    • Show Mode app does not mess with the screen timout settings
    • Show Mode can be started from App Drawer
    • Show Mode is working not only for devices, sold with dock, but also can be started when charging (just choose screensaver when pugged)

    Based On Android 13/T
    Changelog

    14.01.2023:
    - Initial Release

    14.02.2023:
    • Improved 'Alexa Hands-free Mode'
    • Fixed installing 'Alexa app' additionally
    • Possibility to start/control 'Spotify' by voice commands (for this, the spotify skill needs to activated in the amazon account, and the 'Alexa App' needs to be installed (just having it installed is enough)
    • Added 'Glove Mode' (Settings --> Display)
    • Added 'Double Tap to Wake' (Settings -- Display)
    • Switched some Google Apps to its 'Go'-variants for better performance
    • Fixed wrong audio configuration (from stock rom)
    • Fixed 'Offline-charging' (the animation is still kind of broken, but charging is working now)
    • Fixed sepolicy rules to let memory settings get applied (better performance)
    • Fixed 'Sim-Settings' crashing
    • All Upstream changes from LineageOs (as of 13.02.2023)



    Contributors
    @DerTeufel1980

    Thanks to:

    Downloads: https://drive.google.com/drive/folders/1eFFID1EDYK7K2ifN8zYfR75rArBfvOhG
    Light version does not have gapps inluded

    Source Code: https://github.com/DerTeufel/

    ROM OS Version: Android 13
    Kernel: Stock
    3
    Uploaded new builds:

    14.02.2023:
    • Improved 'Alexa Hands-free Mode'
    • Fixed installing 'Alexa app' additionally
    • Possibility to start/control 'Spotify' by voice commands (for this, the spotify skill needs to activated in the amazon account, and the 'Alexa App' needs to be installed (just having it installed is enough)
    • Added 'Glove Mode' (Settings --> Display)
    • Added 'Double Tap to Wake' (Settings -- Display)
    • Switched some Google Apps to its 'Go'-variants for better performance
    • Fixed wrong audio configuration (from stock rom)
    • Fixed 'Offline-charging' (the animation is still kind of broken, but charging is working now)
    • Fixed sepolicy rules to let memory settings get applied (better performance)
    • Fixed 'Sim-Settings' crashing
    • All Upstream changes from LineageOs (as of 13.02.2023)
    2
    I am answering myself. Yesterday I was testing and yes, with the light version, the "Android Go Edition" problem disappears.

    I have the problem when installing from TWRP any version of gapps. All of them tell me that I don't have enough space, which is not true. I have the version described here [ https://forum.xda-developers.com/t/...r-lenovo-tab-m10-fhd-plus-14-02-2023.4541525/ ]. I've tried to install your rom and immediately (without booting the system) install gapps for Android 13 [nikgapps.com], and always the same, no space.

    I've tried with this version of Android [https://forum.xda-developers.com/t/lenovo-x606f-lineageos-19-0-gsi-upgrade.4417791/] and the TWRP space problem doesn't appear.

    Maybe I need to resize the system partition in your rom?
    You'll need to resize the /system partition after installing the GSI in TWRP.

    The image flash process only formats the filesystem to accommodate the GSI image (about 3Gb). The resize will re-format the filesystem to take up the whole partition (about 4Gb). You'll then have space for GApps.

    We had the same problem with the TB-X605F/L. You can modify and use the df -H and blockdev commands in that post to convince yourself that this is the problem. You can also follow the steps in that post to resize the partition.
    2
    will try tomorrow now
    you tried already?
    and does headphone detection work on the trebledroid gsi?

    edit: well, fixing headset detection was easy. you can expect this to be included in next build