Replies: 12 comments 17 replies
-
What OS did you finally complete on? Did you still create the venv or did you use the --break-environment command? I'm struggling through myself. Using a pi4b using PiOS lite, next I'll try Ubuntu Server. I noticed the EDL guy has ready to go "live CD" images available, but I don't have a computer around with USB2 I don't think, and I'm assuming the live CDs don't work on Pi (due to arm). |
Beta Was this translation helpful? Give feedback.
-
Thanks for your notes on this. I'll add a link to this discussion into the install guide. |
Beta Was this translation helpful? Give feedback.
-
I followed the steps from @droyholmes, and made some improvements that should eliminate the need for googling in the future. sudo add-apt-repository ppa:deadsnakes/ppa
sudo apt update
sudo apt install pip python3.9 python3.9-venv python3.9-dev python3.9-pip unzip
mkdir ~/.venvs
python3.9 -m venv ~/.venvs/myvenv
sudo apt install pip python3.9 python3.9-venv python3.9-dev python3.9-pip python3-docopt python3-usb unzip
# From https://stackoverflow.com/a/65644846
curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
python3.9 get-pip.py
pip3.9 install gdown
sudo systemctl stop ModemManager && sudo systemctl disable ModemManager && sudo apt purge ModemManager
git clone https://github.com/bkerler/edl.git
cd edl
git submodule update --init --recursive
sudo python3.9 setup.py build
cd ~
mkdir ThinkSmartView
wget s3.wasabisys.com/filestash-buk/lenovo-thinksmart-view/CD-18781Y.200628.084.zip
unzip -j ~/CD-18781Y.200628.084.zip "CD-18781Y.200628.084/image/*" -d ~/ThinkSmartView/image
cd ThinkSmartView/
wget s3.us-west-1.wasabisys.com/rom-release/LineageOS/15.1/starfire/lineage-15.1-20240531-UNOFFICIAL-starfire-recovery.img
gdown 1m34JjwxukdH8Y5WEUCZuPSiyrQHrI6ke
wget sourceforge.net/projects/opengapps/files/arm/20220215/open_gapps-arm-8.1-pico-20220215.zip
cd ~/edl
pip3.9 install -r requirements.txt
cd ../
cd ThinkSmartView/
~/edl/edl qfil ~/ThinkSmartView/image/rawprogram_unsparse.xml ~/ThinkSmartView/image/patch0.xml ~/ThinkSmartView/image --loader=/home/pi/ThinkSmartView/image/prog_emmc_firehose_8953_ddr.mbn
~/edl/edl w aboot ~/ThinkSmartView/image/emmc_appsboot.mbn
~/edl/edl w abootbak ~/ThinkSmartView/image/emmc_appsboot.mbn
~/edl/edl w recovery ~/ThinkSmartView/lineage-15.1-20240531-UNOFFICIAL-starfire-recovery.img
adb sideload ~/ThinkSmartView/lineage-15.1-20240602-UNOFFICIAL-starfire.zip
adb sideload ~/ThinkSmartView/open_gapps-arm-8.1-pico-20220215.zip |
Beta Was this translation helpful? Give feedback.
-
I’ll try running through it on a different TVS tomorrow.
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: jemplwd ***@***.***>
Sent: Friday, September 20, 2024 9:56:54 PM
To: pgale/lineage_15.1_Installation_TSV ***@***.***>
Cc: droyholmes ***@***.***>; Mention ***@***.***>
Subject: Re: [pgale/lineage_15.1_Installation_TSV] EDL install on Raspberry Pi linux (Discussion #19)
I've followed these directions as closely as possible, running on a Raspberry Pi 3; when I run EDL and connect the TSV (holding Vol up and Vol down, then applying power), I get this error:
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
Eventually the Lenovo setup process starts. I've tried multiple USB cables and all of the USB ports. Any ideas for what I'm missing?
—
Reply to this email directly, view it on GitHub<#19 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUV2XWPQJDPDZELUIH2I5QTZXTN7NAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGA3TANY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Thanks. I also saw a discussion on the edl GitHub suggesting to use sudo
when starting edl. I’ll report back if that works.
…-- JE
John Erickson
On Sat, Sep 21, 2024 at 2:49 AM droyholmes ***@***.***> wrote:
I’ll try running through it on a different TVS tomorrow.
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: jemplwd ***@***.***>
Sent: Friday, September 20, 2024 9:56:54 PM
To: pgale/lineage_15.1_Installation_TSV ***@***.***>
Cc: droyholmes ***@***.***>; Mention ***@***.***>
Subject: Re: [pgale/lineage_15.1_Installation_TSV] EDL install on
Raspberry Pi linux (Discussion #19)
I've followed these directions as closely as possible, running on a
Raspberry Pi 3; when I run EDL and connect the TSV (holding Vol up and Vol
down, then applying power), I get this error:
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
Eventually the Lenovo setup process starts. I've tried multiple USB cables
and all of the USB ports. Any ideas for what I'm missing?
—
Reply to this email directly, view it on GitHub<
#19 (reply in thread)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AUV2XWPQJDPDZELUIH2I5QTZXTN7NAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGA3TANY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2WOZ7M4TV25KFEQYBZZITLZXUQJPAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGE2TCNQ>
.
You are receiving this because you commented.Message ID: <pgale/lineage_15
.***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
What Ubuntu version did you use? Any other deviations, other than the RPi 3? Before you run the command beginning with |
Beta Was this translation helpful? Give feedback.
-
OK, will do. I see now that was the version referenced in the discussion.
…-- JE
John Erickson
On Sat, Sep 21, 2024 at 4:14 PM droyholmes ***@***.***> wrote:
Try using 20.04 server
—
Reply to this email directly, view it on GitHub
<#19 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2WOZ7LOX47BE544OF5E4OLZXXORRAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGUYDENA>
.
You are receiving this because you commented.Message ID: <pgale/lineage_15
.***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Ok, I got everything going when I installed 20.04 (that's a saga in and of itself, but I won't bore you). I had to twiddle a couple of directories (for example, on the 4th time you run eel, there is a slash missing -- it says ~edl rather than ~/edl. I also used sudo on each of the edl entries. Thanks for the help and all of the documentation (to Soarn as well) |
Beta Was this translation helpful? Give feedback.
-
I’m working through and will update documentation. I am doing it now actually. Did you try download server 20.04 from Canonical and keep getting a sha256 hash not matching?
Get Outlook for iOS<https://aka.ms/o0ukef>
…________________________________
From: jemplwd ***@***.***>
Sent: Saturday, September 21, 2024 8:09:53 PM
To: pgale/lineage_15.1_Installation_TSV ***@***.***>
Cc: droyholmes ***@***.***>; Mention ***@***.***>
Subject: Re: [pgale/lineage_15.1_Installation_TSV] EDL install on Raspberry Pi linux (Discussion #19)
Ok, I got everything going when I installed 20.04 (that's a saga in and of itself, but I won't bore you). I had to twiddle a couple of directories (for example, on the 4th time you run eel, there is a slash missing -- it says ~edl rather than ~/edl. I also used sudo on each of the edl entries.
Thanks for the help and all of the documentation (to Soarn as well)
—
Reply to this email directly, view it on GitHub<#19 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AUV2XWO2VPTF5M7RJQ2K2T3ZXYKGDAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGU3DAMY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
I used the raspberry pi installer and selected 2020.4.5; There was an
error early on because my PATH variable didn’t include the directory where
the python programs installed. I don’t recall getting an error about the
sha256 hash, though.
…-- JE
John Erickson
On Sun, Sep 22, 2024 at 3:02 AM droyholmes ***@***.***> wrote:
I’m working through and will update documentation. I am doing it now
actually. Did you try download server 20.04 from Canonical and keep getting
a sha256 hash not matching?
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: jemplwd ***@***.***>
Sent: Saturday, September 21, 2024 8:09:53 PM
To: pgale/lineage_15.1_Installation_TSV ***@***.***>
Cc: droyholmes ***@***.***>; Mention ***@***.***>
Subject: Re: [pgale/lineage_15.1_Installation_TSV] EDL install on
Raspberry Pi linux (Discussion #19)
Ok, I got everything going when I installed 20.04 (that's a saga in and of
itself, but I won't bore you). I had to twiddle a couple of directories
(for example, on the 4th time you run eel, there is a slash missing -- it
says ~edl rather than ~/edl. I also used sudo on each of the edl entries.
Thanks for the help and all of the documentation (to Soarn as well)
—
Reply to this email directly, view it on GitHub<
#19 (comment)>,
or unsubscribe<
https://github.com/notifications/unsubscribe-auth/AUV2XWO2VPTF5M7RJQ2K2T3ZXYKGDAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGU3DAMY>.
You are receiving this because you were mentioned.Message ID: ***@***.***>
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2WOZ7OMER7IJMEPD4QWQT3ZXZ2THAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZRGY3DSNI>
.
You are receiving this because you commented.Message ID: <pgale/lineage_15
.***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
Using PI 4b+, downloaded ubuntu 20.04.05 LTS (raspberry pi imager, found unbuntu image there). All is well, but when doing the first installs, the PIP items are throwing errors: and once I removed that, I got this for the pip item: and then later when installing running get-pip.py: (I added it to the path with a quick: export PATH=$PATH:/home/pi/.local/bin, will make it permanent later) Finally, when running edl, it fires up and seems to be working (complains about missing keystone and capstone librarys, and no module named Cryptodome. Then waiting for device .... .... .... meanwhile I have booted the thinksmartview (pi up, usb cables connected, edb started, press and hold both volume buttons, plug in smartview, keep them pressed for ~5-7 seconds, screen stays black (maybe a quick flicker of a logo, not big red lenovo logo though). I've tried both black ports on pi (ports 3 and 4 I believe), and tried two usb-a to usb-c cables that work for power and data with other devices. What am I missing? |
Beta Was this translation helpful? Give feedback.
-
Are you getting an error on the pi when trying to connect?
I was getting:
DeviceClass - [LIB]: Couldn't get device configuration.
.DeviceClass
Using sudo when I ran edl cleared that up.
…-- JE
John Erickson
On Sun, Sep 22, 2024 at 7:01 PM markspar ***@***.***> wrote:
Using PI 4b+, downloaded ubuntu 20.04.05 LTS (raspberry pi imager, found
unbuntu image there). All is well, but when doing the first installs, the
PIP items are throwing errors:
sudo apt install pip python3.9 python3.9-venv python3.9-dev python3.9-pip
unzip
***@***.***:~$ sudo apt install pip python3.9 python3.9-venv
python3.9-dev python3.9-pip unzip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3-pip' instead of 'pip'
E: Unable to locate package python3.9-pip
E: Couldn't find any package by glob 'python3.9-pip'
and once I removed that, I got this for the pip item:
***@***.***:~$ sudo apt install pip
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'python3-pip' instead of 'pip'
and then later when installing running get-pip.py:
***@***.***:~$ python3.9 get-pip.py
Defaulting to user installation because normal site-packages is not
writeable
Collecting pip
Downloading pip-24.2-py3-none-any.whl.metadata (3.6 kB)
Downloading pip-24.2-py3-none-any.whl (1.8 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 5.5 MB/s eta 0:00:00
WARNING: Error parsing dependencies of distro-info: Invalid version:
'0.23ubuntu1'
WARNING: Error parsing dependencies of python-debian: Invalid version:
'0.1.36ubuntu1'
Installing collected packages: pip
WARNING: The scripts pip, pip3 and pip3.9 are installed in
'/home/pi/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this
warning, use --no-warn-script-location.
Successfully installed pip-24.2
(I added it to the path with a quick: export
PATH=$PATH:/home/pi/.local/bin, will make it permanent later)
Finally, when running edl, it fires up and seems to be working (complains
about missing keystone and capstone librarys, and no module named
Cryptodome. Then waiting for device .... .... .... meanwhile I have booted
the thinksmartview (pi up, usb cables connected, edb started, press and
hold both volume buttons, plug in smartview, keep them pressed for ~5-7
seconds, screen stays black (maybe a quick flicker of a logo, not big red
lenovo logo though). I've tried both black ports on pi (ports 3 and 4 I
believe), and tried two usb-a to usb-c cables that work for power and data
with other devices. What am I missing?
—
Reply to this email directly, view it on GitHub
<#19 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/A2WOZ7NTDI5RRIR3CI2ATZDZX5K6FAVCNFSM6AAAAABMR5E276VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANZSGA4DGMI>
.
You are receiving this because you commented.Message ID: <pgale/lineage_15
.***@***.***>
|
Beta Was this translation helpful? Give feedback.
-
You might want to update your comment on the EDL install section. I have just been going through the process of doing that on a Raspberry PI 3B and with Raspberry PI OS, and ubuntu 20.04 and 22.04 the install of the requirements fails miserably unless you downgrade Python to 3.9. But 3.9 is not generally available as a current package.
I found https://stackoverflow.com/questions/70422866/how-to-create-a-venv-with-a-different-python-version which helped me along.
Beta Was this translation helpful? Give feedback.
All reactions