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

Search This thread

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
Now the bootloop is fixed but volte and headphone still don't work
headphones fix was not included in that build. It's just been for testing volte.
in the other gsi, is there any other option/switch (in general, or after using one of the ims options in phh settings), which is still missing in my build?

edit: also, with your version of the tablet, you can make phone calls? is this still working?
 
Last edited:

akssingh

Member
Jan 20, 2023
22
4
headphones fix was not included in that build. It's just been for testing volte.
in the other gsi, is there any other option/switch (in general, or after using one of the ims options in phh settings), which is still missing in my build?

edit: also, with your version of the tablet, you can make phone calls? is this still working?
Yes the ims setting option in phh option is missing and due to that can't make calls in this lineage os
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
Yes the ims setting option in phh option is missing and due to that can't make calls in this lineage os
i don't get this. there should be "phh Treble settings" at the top of all other entries in the settings now. and within this, there is an entry for "ims features".
What exactlt is missing?
And with your device model, phone calls always are only possible with volte. or is this a limitation on your side?
 

akssingh

Member
Jan 20, 2023
22
4
i don't get this. there should be "phh Treble settings" at the top of all other entries in the settings now. and within this, there is an entry for "ims features".
What exactlt is missing?
And with your device model, phone calls always are only possible with volte. or is this a limitation on your side?
There wasn't any phh option .
And it is my network limitation that it only support volte not device
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
There wasn't any phh option .
And it is my network limitation that it only support volte not device
Going to upload new build, with relevant ims settings integrated within network category
 

Attachments

  • IMG_20230125_203443.jpg
    IMG_20230125_203443.jpg
    4.1 MB · Views: 57

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
here it is:

i have wiped and flashed myself, to verify everything is fine with it.
Besides this, i also have flashed x606v vendor image, hoping I may be able to debug this myself... too bad, call capabillity seems to require more than this, although my device has sim support, but just for mobile data.
 
  • Like
Reactions: akssingh

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
question, as i actually did not use the tablet with stock rom :geek::
is the device capable of "screen-off gestures", like drawing a 'C' to perform some action? Or does it only support double-tap to wake (the latter one, I have been able to toggle/use by writing to sysfs).
 

akssingh

Member
Jan 20, 2023
22
4
question, as i actually did not use the tablet with stock rom :geek::
is the device capable of "screen-off gestures", like drawing a 'C' to perform some action? Or does it only support double-tap to wake (the latter one, I have been able to toggle/use by writing to sysfs).
Only double tab to wake works on stock rom
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
Also the problems with all roms except stock one is the smoothness
in general i think, the alexa show mode app is not coded very well...or just to much blown with stuff...
this, together with gapps is causing issues (which I already had on stock rom).
When i was using the tablet without gapps, it was very smooth for days.
Now, and "your" test build, and coming release, i switched some gapps to its go variants, which also seems better to me, than the default gapps (at least on my hardware, with just 2gb ram).
In addition, but could just have been bad luck, i felt i had more issues, when i was using the x606v vendor parttion, as compared to my stock x606xa one.
 

akssingh

Member
Jan 20, 2023
22
4
in general i think, the alexa show mode app is not coded very well...or just to much blown with stuff...
this, together with gapps is causing issues (which I already had on stock rom).
When i was using the tablet without gapps, it was very smooth for days.
Now, and "your" test build, and coming release, i switched some gapps to its go variants, which also seems better to me, than the default gapps (at least on my hardware, with just 2gb ram).
In addition, but could just have been bad luck, i felt i had more issues, when i was using the x606v vendor parttion, as compared to my stock x606xa one.
Hmm I think adding only basic gapps and Alexa show mode would be good option instead of adding so many gapps can make the device somewhat smoother.
And disable hardware overlays the rom becomes much smoother.
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
Hmm I think adding only basic gapps and Alexa show mode would be good option instead of adding so many gapps can make the device somewhat smoother.
And disable hardware overlays the rom becomes much smoother.
any feedback regarding voLte?
What hardware overlays are you talking about?
 

le_zlash

New member
Feb 12, 2023
4
1
nice Rom. I have the TB-X606F and it works like a charm.
But i have a problem with the dock.
I purchased the dock seperately (i thought, it will work with all Tab M10 FHDs) but i can't set up the bluetooth connection. I've reseted the dock, but i can't connect to the alexa setup.
I've tried the stock-rom of the TB-X606FA by flashing it over the rescuetool, but it did not work either.
Is there a difference in the hardware between the X606F and X606FA?
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
nice Rom. I have the TB-X606F and it works like a charm.
But i have a problem with the dock.
I purchased the dock seperately (i thought, it will work with all Tab M10 FHDs) but i can't set up the bluetooth connection. I've reseted the dock, but i can't connect to the alexa setup.
I've tried the stock-rom of the TB-X606FA by flashing it over the rescuetool, but it did not work either.
Is there a difference in the hardware between the X606F and X606FA?
sorry, i am not actually sure about your problem. As for the bt connection, the dock does show up as "Lenovo Smart Dock" followed by a number, which i am not sure, if this number is the same for all... but i am able to connect to it from my phone, as well as with my raspberry pi. I can't think of any reason, it should not pair to your tablet.
 

le_zlash

New member
Feb 12, 2023
4
1
sorry, i am not actually sure about your problem. As for the bt connection, the dock does show up as "Lenovo Smart Dock" followed by a number, which i am not sure, if this number is the same for all... but i am able to connect to it from my phone, as well as with my raspberry pi. I can't think of any reason, it should not pair to your tablet.

for the first setup the tablet should make a bluetooth connection just by docking. After that you can pair it with other devices.
i guess, the problem is, that the dock is for the X605(L)....
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
for the first setup the tablet should make a bluetooth connection just by docking. After that you can pair it with other devices.
i guess, the problem is, that the dock is for the X605(L)....
oh. you mean, before the dock was paired to the tablet for the first time, it does not show up to anything?
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
exactly. After plug in the power cable the bluetooth icon flashes for a few seconds. After that the mic icon shows up. In the bluetooth settings the device is visible but it can't be paired.
ok...can't remeber what I did in which order, when i bought that device.
What do i need to do, to resete the dock? I'll check its behaviour tomorrow.
 

DerTeufel1980

Inactive Recognized Developer
Jul 31, 2011
10,367
27,665
you have to unplug the power. Press bluetooth and vol down and plug the power and wait 3 seconds.
ok, i 've checked what steps the app is doing in stock rom, to connect to the dock. i actually had removed those stuff in my rom, because i wasn't aware of its use, besides giving false errors very often.
so, knowing which activities are used while pairing the tablet and the dock, does not mean, that it can be activated with any device/tablet... but i'll check it
 
Last edited:

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