umeiko / KlipperPhonesLinux

Turning Mobile Phones into High Performance Klipper Host for 3D Printers Based on Native Linux
GNU General Public License v3.0
241 stars 32 forks source link

Not a issue but not working on samsung a5 2016. #21

Open marcokitt2000 opened 5 months ago

marcokitt2000 commented 5 months ago

Hi how can i install this on samsung galaxy a5 2016?

In os phone dev option on and oem enable an debug us enable. And than pwr off start phone with the pwr buuton home key volume - i get download must press + key. Cable usb is all ready in phone. Start .....md type nr 3 for s5. Than nothing works. Maybe i do something wronge. I like klipper for my anycubic kobra 2 the 1s model. But this phone is 2gb memory 1,6ghz speed quad corecis faster than my rpi 2b. Anc has a screen touchon it.

Please need help. Thnxx for this

umeiko commented 5 months ago

Sorry, only works for samsung a5 2014. Reff: https://wiki.postmarketos.org/wiki/Samsung_Galaxy_A5_2015_(samsung-a5)

marcokitt2000 commented 5 months ago

Ok thnxx

marcokitt2000 commented 5 months ago

is it possible to activate on a5 2016?

umeiko commented 5 months ago

is it possible to activate on a5 2016?

Maybe when it works good on postmarketOS

marcokitt2000 commented 5 months ago

oke i will check that later thnxx

pmkhue commented 5 months ago

Hi @umeiko I has try to flash boot loader to Samsung A5 A500H but got error "boot partition to small" how to deal with that ? Thanks!

umeiko commented 5 months ago

Hi @umeiko I has try to flash boot loader to Samsung A5 A500H but got error "boot partition to small" how to deal with that ? Thanks!

Could you provide me more detailed logs or screen shots?

pmkhue commented 5 months ago

Hi @umeiko here is my logs. I try another boot image file size about under 10MB it work but when flash userdata for Klipper my A5 (2015) can not boot it still keep in fastboot mode . I think it may cause of Boot file size could you reduce boot image size ? Thanks!

cucu@8440p:~$ sudo fastboot erase userdata
[sudo] password for cucu: 
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [  0.266s]
finished. total time: 0.266s
cucu@8440p:~$ sudo fastboot erase boot
erasing 'boot'...
OKAY [  0.020s]
finished. total time: 0.020s
cucu@8440p:~$ sudo fastboot flash '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img' 
unknown partition '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img'
error: cannot determine image filename for '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img'
cucu@8440p:~$ sudo fastboot flash boot '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img' 
target reported max download size of 201326592 bytes
sending 'boot' (420 KB)...
OKAY [  0.038s]
writing 'boot'...
OKAY [  0.011s]
finished. total time: 0.049s
cucu@8440p:~$ sudo fastboot reboot
rebooting...

finished. total time: 0.055s
cucu@8440p:~$ sudo fastboot flash boot '/home/cucu/Downloads/Klipperos_msm8916/410_boots/samsung-a5u-eur.img'
< waiting for any device >
target reported max download size of 201326592 bytes
sending 'boot' (13348 KB)...
OKAY [  0.857s]
writing 'boot'...
FAILED (remote: size too large)
finished. total time: 0.860s
cucu@8440p:~$ 

Screenshot from 2024-06-27 19-11-52

marcokitt2000 commented 5 months ago

I found this.....

https://complete-linux-installer.apkcafe.top/samsung/galaxy-a5-(2016)

I test this later...

Thanks for all info and help.

pmkhue commented 5 months ago

I found this.....

https://complete-linux-installer.apkcafe.top/samsung/galaxy-a5-(2016)

I test this later...

Thanks for all info and help.

It look like virtual machine on Android. I looking for native linux and running Klipper.

marcokitt2000 commented 5 months ago

Oke you are cortect.

I am searching how to install linux based.

umeiko commented 5 months ago

Hi @umeiko here is my logs. I try another boot image file size about under 10MB it work but when flash userdata for Klipper my A5 (2015) can not boot it still keep in fastboot mode . I think it may cause of Boot file size could you reduce boot image size ? Thanks!

cucu@8440p:~$ sudo fastboot erase userdata
[sudo] password for cucu: 
******** Did you mean to fastboot format this ext4 partition?
erasing 'userdata'...
OKAY [  0.266s]
finished. total time: 0.266s
cucu@8440p:~$ sudo fastboot erase boot
erasing 'boot'...
OKAY [  0.020s]
finished. total time: 0.020s
cucu@8440p:~$ sudo fastboot flash '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img' 
unknown partition '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img'
error: cannot determine image filename for '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img'
cucu@8440p:~$ sudo fastboot flash boot '/home/cucu/Downloads/Klipperos_msm8916/lk2nd.img' 
target reported max download size of 201326592 bytes
sending 'boot' (420 KB)...
OKAY [  0.038s]
writing 'boot'...
OKAY [  0.011s]
finished. total time: 0.049s
cucu@8440p:~$ sudo fastboot reboot
rebooting...

finished. total time: 0.055s
cucu@8440p:~$ sudo fastboot flash boot '/home/cucu/Downloads/Klipperos_msm8916/410_boots/samsung-a5u-eur.img'
< waiting for any device >
target reported max download size of 201326592 bytes
sending 'boot' (13348 KB)...
OKAY [  0.857s]
writing 'boot'...
FAILED (remote: size too large)
finished. total time: 0.860s
cucu@8440p:~$ 

Screenshot from 2024-06-27 19-11-52

It seems that you'r flashing the last samsung-a5u-eur.img in wrong status. maybe you should try entering lk2nd mod of your phone and then flash the samsung-a5u-eur.img. you can entering lk2nd status by first startup your phone then pushing the volume button after your phone vibrate.

pmkhue commented 5 months ago

Yes my step is

  1. Flash lk2nd.img
  2. Reboot bootloader
  3. Flash samsung-a5u-eur.img It same step in .bat file but I don't know why I get error "FAILED (remote: size too large)"
umeiko commented 5 months ago

Maybe you should erase first

umeiko commented 5 months ago

samsung-a5u-eur.img Should be flashed on lk2nd interface,not fastboot interface

marcokitt2000 commented 5 months ago

Oke check later. Thnxxx