Dang, alright I have a new plan if you’re feeling motivated. Starting from your working pmos install, I propose individually erasing each of the paritions 24-25 (system, vendor) then 29-50 (but not userdata) to see which one breaks it.
edl e system
reboot & check…
edl e vendor
check again…
etc!
If/when it won’t boot anymore than we may have found our culprit. To be sure you could restore the backup yet again and nuke just that one partition. Curious what you find…
So let’s delete partitions 1-by-1 (after each that I have found not to be booting after deletion I started completely over):
edl e system → not running! Restart!
edl e vendor → still booting! edl e keystore → still booting!
Starting with batches… Batch 1: edl e config edl e oem edl e limits edl e mota edl e dip
→ still booting!
Batch 2: edl e mdtp edl e syscfg edl e mcfg edl e lksecapp edl e lksecappbak
→ still booting!
Batch 3: edl e cmnlib edl e cmnlibbak edl e cmnlib64 edl e cmnlib64bak edl e keymaster edl e keymasterbak
→ not running! Restart!
This is as far as I’m getting today. I’m neither able to get into edl-mode anymore nor is lenovo’s rescue tool finding the device. Deleting at least one of the partitions of batch 3 killed it. From 3mins of research I might need a deep flash cable now (?) but that tale is not one for today.
Open: Update on 2024-05-24: Still booting after deletion of batch 4! Batch 4: edl e apdp edl e msadp edl e dpo edl e logdump edl e resource
Tried my hand at replacing the eMMC on one of my devices tonight.
Unfortunately I must have done something wrong as I lifted some pads when the eMMC chip came off.
So I’m down one ThinkSmart Luckily I used one of my Focaltech ones and didn’t kill my only Himax one.
I will have to practice some more on some old RAM sticks
Well that’s maybe interesting. When you can get it back up with default pmos, which partitions are mounted? Here are mine, mostly curious what you have for /dev/mmcblk0p*
Uh oh! Now we’re getting serious I have an EDL cable and the button is convenient, but all it’s doing is shorting D+ to ground. If you’re feeling handy you could splice a cable and DIY.
Followed the instructions for installing PMOS, all went well according to the output but now the device just boots to the bootloader. Did i miss a step ?
Yeah, I’m guessing that may have been the issue. Also, the solder on that board only melts at very high temperatures, it seems.
My next attempt is going to be preheating the board to 200°C on the hotplate (150 wasn’t enough it seems).
The copper layer looks so thin on this board that I don’t trust it to stay in place with anything but the chip falling off by itself.
I’ll also get some more ThinkSmarts to play with, I’m guessing (given that at some point I do actually want to use them for our intended purpose of Home Asssistant Dashboardery)
Amazon doesn’t ship them to Canada anymore, but nothing a quick trip to Niagara Falls, NY can’t fix I’ll have family over soon and they’re going to want to see them anyways.
Following this with interest… I’m playing with the Google Home variant (Smart Display 8) which appears to have pretty much the same hardware but a different emmc layout.
It uses A & B slots with smaller partitions than the think view - seems like you are pretty up to speed on partitioning these devices, do you have any thoughts on the best approach to try and increase the space? - I was thinking of switching boot to Slot A and then attempting to erase the Slot B partitions one by one to see if it still boots.
If it does, I’m unsure if the Slot B space could then be reallocated to expand Slot A partitions if that makes sense?
Yeah makes sense, I haven’t used a device with those slots yeah but “theoretically” I think it could work. (counterpoint: @chillman’s partitioning experience )
The default for postmarketOS and what we’ve been doing uses userdata for the root partition, so it wouldn’t really use slot A or B. Assuming that works out, you could remove system_*, vendor_*, probably boot_*, then resize userdata to use most of the space.
Hey any luck getting it back up and running? I may have good news for you. On one of mine I restored with RSA, took a backup, then flashed Android 10. Ran into the same issue where it flashes the splash screen before going into 900E mode. sus
Went back to deadman’s A11 files to compare files to stock and found the culprit, the aboot partitions corresponding to the emmc_appsboot.mbn file. This is part of the boot process from ROM → SBL → aboot → boot.img. Boot.img usually has the kernel directly, however with pmos it now loads lk2nd which in turn gets the kernel from the boot subpartition in userdata.
The aboot file from the A11 package comes from an older debug ROM, so it must have the typical boot verification disabled. That could explain why things went awry when you deleted the “unnecessary” system partition if that caused the stock aboot to fail.
So all that said, here’s an updated package to repartition for pmos. It’s the same partition scheme as before but now includes emmc_appsboot.mbn. Similar instructions:
Extract the tarball
Copy lk2nd-lenovo-cd-18781y-latest.img and pmos-lenovo-cd-18781y-testing-latest-rootfs.img into the same dir
GPTAnalyzer output includes firstlba for each partition. When removing partitions like system, remove that setting from all the following ones to reclaim the space. It also sets filename for known partitions, but update any empty ("") ones that you want to flash or relocate with qfil.
Update the generated partition.xml’s <parser_instructions>:
HI all,
yesterday I saw this thread and inevitably today I bough an almost new Thinksmart View for around 50 Euros, now it came the difficult part.
I’m trying to read the whole thread, but it’s interminably long
OK, I’m editing this post because in the meantime I pushed away my lazyness for some minutes and got the answer I missed just few lines above this post…
ATM I’ll follow @mattmon guide on how to flash the custom 8.1 ROM.
What are the pros of switching to PMOS?
Thank you all in advance for the great work (and for giving me inspirations to hack something…)
I am in a positon that I could purchase a Lenovo Thinksmart with Google Assistant pretty cheap (not interested in Google but very much interested in this project)
Was wondering if anyone had any luck with this unit: Lenovo Smart Display 10" with Google Assistant
I did read from one post that there are differences, but also saw that some were minor and another may have had a solution all along for the touchscreen display.
So, would it be worth purchasing or it’s outside the scope of this project?