Jpe230 / SonicPad-Debian

Port of Debian for the SonicPad (Allwinner R818)
GNU General Public License v3.0
115 stars 16 forks source link

installing from mac #36

Closed fridaystreet closed 4 months ago

fridaystreet commented 7 months ago

I realise this isn't really in your wheelhouse, but if anyone is able to provide any assistance on getting the pheonixtool to run on a mac that would be greatly appreciated.

Followed the instructions, but it just sits on the ---enter sem_wait---- screen. I'm assuming it just isn't able to detect the sonic pad. I'm running an M2 mac (silicon) only have ubs-c ports. Have a usb-c to usb cable plugged in, Not sure if that is causing the issue. Not sure why, it works with all other usb devices, but who knows.

Thanks in advance.

beroliv commented 7 months ago

I have a intel imac and did it try. My Ender 3 is Dead since a while. So why not try to reflash the Pad back to Original. I Used a USB C to USB C Cable wtih two adapters to USB A and Connect it to the Mac and the Cam Port on the Pad. The Cable i orderet thats time for the Pad i dont find it anymore :-/ I Download the Phoenix tools and the Image from Creality Github. I Bring the Pad in the Flash Mode and start the Flash. The bigest hassle was the Macs security Policy. The Mac blocks some dll and other files to load. After i allow it to load all this files it flashes the Pad with its Original Firmware like a Charm. I need a feew trys untli all files where loaded.

Oliver@iMac PhoenixSuit_MacOS_T800 % ./phoenixsuit t800-sonic_lcd_uart0-1.0.*.img *Allwinnertech**** AW MacOS Burn firmware software V1.0.0 *Allwinnertech**** -----LoadPluginCenter------- library file path: /Users/Oliver/Downloads/PhoenixSuit_MacOS_T800/plgvector.dll library file path: /Users/Oliver/Downloads/PhoenixSuit_MacOS_T800/LiveProc.Plg -----SetLiveProc------- library file path: /Users/Oliver/Downloads/PhoenixSuit_MacOS_T800/plgvector.dll library file path: /Users/Oliver/Downloads/PhoenixSuit_MacOS_T800/luaeFex.dll -----OnImage------- DeviceThreadEntryForMac called Register./luaBase.dll l_RegAllFun Sucess! Register./luaeFex.dll l_RegAllFun Sucess! Register./luadec.dll l_RegAllFun Sucess! copy luatool from local ----enter sem_wait------- ./AllWinnerDevice.cpp Fex_Open 604 Found allwinner usb device (vendor 7994, product 61416), location id 14100000 Found 1 devices Begin Burn the image! progress 0%Register./luaBase.dll l_RegAllFun Sucess! Register./luaeFex.dll l_RegAllFun Sucess! Register./luadec.dll l_RegAllFun Sucess! copy luatool from local ./AllWinnerDevice.cpp Fex_Open 604 Found allwinner usb device (vendor 7994, product 61416), location id 14100000 Found 1 devices ./AllWinnerDevice.cpp Fex_Open 604 Found allwinner usb device (vendor 7994, product 61416), location id 14100000 Found 1 devices --------------Init Called------------------ workDir /Users/Oliver/Downloads/PhoenixSuit_MacOS_T800 ImgLenHigh 0 ImgLenLow 921485312 Mode 8 hWnd 0 imgFilePath t800-sonic_lcd_uart0-1.0.6.43.51.img [TL_MSG]:Mode = 8, ImgLenHigh=0, ImgLenLow = 36ecc000, imgFilePath = t800-sonic_lcd_uart0-1.0.6.43.51.img IMAGEWTY ItemTableSize = 1048576 [TL_MSG]:Tools Open Img ---fun end--- FEL RecordDev: 14100000 --------------entry-fel2fes Called----------- felDevName 14100000 [TL_MSG]:Hi, I'm fel, dev=14100000 snip

beroliv commented 7 months ago

by the way i found my cable :-) maybe you try diffrent cables, some usb c cables only for charging cellphones

fridaystreet commented 7 months ago

thanks @beroliv yeah once you said about the cable I kicked myself as I had used a cable which was charging without thinking. But I've tried again with 2 other usb-c to usb-a cables which I know are data, in fact one of them is the cable I connect the sonic pad to my ender 3 s1 with. Still no joy. Had to go through all the security stuff, not getting any of those errors anymore. It looks like it loads the firmware utility firm and is waiting to connect to the device.

Even tried running my terminal application in rosetta. Can't get it to do anything with this custom firmware or the creality firmware on my M@. My wife has an intel mac, I'll give that a try tonight.

So have you been able to get this firmware working, or just the offical creality one?

nofuturekid commented 7 months ago

You also made sure that you have started the program BEFORE connecting the Sonic pad?

fridaystreet commented 7 months ago

pretty sure I did, but I'll try again. Also someone else mentioned to check the usb device is actually there. So might doa lsusb and see if it is being detected.

Jpe230 commented 7 months ago

My experience with my MacBook (Intel):

Also the order in which the program is ran matter

fridaystreet commented 7 months ago

interest @Jpe230 I'll give the hub a try. I have my mac plugged into a screen via usb-c/thunderbolt. It has extra usb-A ports on the screen, will give it a try from there. By order the program runs, do you mean you need to have it running and waiting at the ----enter sem_wait------- before turning on the sonicpad?

Nocentinia commented 5 months ago

sorry but have you found the .img file? because I download it but I only have one folder and the file I need isn't there. what should we do?

sfeole commented 5 months ago

sorry but have you found the .img file? because I download it but I only have one folder and the file I need isn't there. what should we do?

@Nocentinia I replied to your bug

thevolcanomanishere commented 5 months ago

I figured out the Mac connection problems. I had to made my own USB-A to USB-A cable to make it work.

I have a MacBook Pro M1 btw.

You need USB - to USB hub that has an A socket. Then create a male to male with some spare USB cables. When you cut them open, you want to see 4 cables ideally. Join them together, make sure they don't short by wrapping them individually with tape