[WIP] Linux on Dex for Note 10+

nwitkin

Member
Aug 24, 2019
8
0
0
Here is the error I'm getting when attempting to launch the terminal on an installed image:

FATAL EXCEPTION: main
Process: com.samsung.android.lxd, PID: 9947
com.samsung.android.lxd.processor.LxdException: undefined model: SM-N975U, d2q
at com.samsung.android.lxd.a.g.c(ModelTypeUtils.java:85)
at com.samsung.android.lxd.a.g.a(ModelTypeUtils.java:45)
at com.samsung.android.lxd.processor.control.channel.socket.nst.NstControlChannelV1.setConfigId(NstControlChannelV1.java:101)

Any idea as to how I could circumvent this error? AFAIK, I can't edit the device model as I don't have root. Is there a way to decompile the classes.dex file to modify ModelTypeUtils.java and then recompile?
 
Last edited:

elliwigy

Forum Moderator / Recognized Developer
Staff member
Mar 16, 2011
12,953
8,823
253
Phoenix
www.sampwnd.com
Here is the error I'm getting when attempting to launch the terminal on an installed image:

FATAL EXCEPTION: main
Process: com.samsung.android.lxd, PID: 9947
com.samsung.android.lxd.processor.LxdException: undefined model: SM-N975U, d2q
at com.samsung.android.lxd.a.g.c(ModelTypeUtils.java:85)
at com.samsung.android.lxd.a.g.a(ModelTypeUtils.java:45)
at com.samsung.android.lxd.processor.control.channel.socket.nst.NstControlChannelV1.setConfigId(NstControlChannelV1.java:101)

Any idea as to how I could circumvent this error? AFAIK, I can't edit the device model as I don't have root. Is there a way to decompile the classes.dex file to modify ModelTypeUtils.java and then recompile?
I have found Andronix and Termux to work a lot better than LoD plus more OS options and even modded os if u buy premium.. it just works..
 

Attachments

  • Like
Reactions: jemfalor

Collin80

Member
Nov 14, 2018
21
13
3
I'm all for it if people can make this happen. I actually HATE Andronix and all that. It's crap. I want to run Linux on my phone using a dock and see it on a big monitor when I want to. Linux on Dex was that exact thing. All this other junk with having to set up multiple apps and get VNC working is lame by comparison. LoD worked perfectly fine. It was stable, it worked. It did what it needed to do. There was precisely zero reason to drop it like it's hot. The only reason they did that is because Microsoft has them on their knees. Rich uncle sugar doesn't want you having anyone else on the side.

However, I think you're going to find the LoD actually had some hardware acceleration and used kernel modules on the linux kernel that that phone is running on. You are not likely to get it to run the old kernel modules on the linux kernel running on a Note 10. So, I really don't think there is any chance of success. I wish there were, I really do. I'm pretty mad that their current DeX system only supports tunneling through a PC on Windows or OSX. I'm running linux on my computer too and there's no support for that. But, I do have the samsung dock so I can still attach my phone to a monitor directly and use DeX that way. It just isn't linux per se, but rather Android apps run on a 4K monitor. That's not the end of the world, it's something at least. But, it was cool back when I had an S9+ and I could put it on the dock and use Linux apps directly on my phone. Those were the good ol' days. Andronix does let one run linux stuff on the phone but it doesn't feel quite as nice to me. Ahhh, first world problems. In reality this is all kind of nit picky to complain about. But, I still miss LoD.
 
  • Like
Reactions: gilvbp and jemfalor

jemfalor

Senior Member
Jul 25, 2015
296
64
0
I'm all for it if people can make this happen. I actually HATE Andronix and all that. It's crap. I want to run Linux on my phone using a dock and see it on a big monitor when I want to. Linux on Dex was that exact thing. All this other junk with having to set up multiple apps and get VNC working is lame by comparison. LoD worked perfectly fine. It was stable, it worked. It did what it needed to do. There was precisely zero reason to drop it like it's hot. The only reason they did that is because Microsoft has them on their knees. Rich uncle sugar doesn't want you having anyone else on the side.



However, I think you're going to find the LoD actually had some hardware acceleration and used kernel modules on the linux kernel that that phone is running on. You are not likely to get it to run the old kernel modules on the linux kernel running on a Note 10. So, I really don't think there is any chance of success. I wish there were, I really do. I'm pretty mad that their current DeX system only supports tunneling through a PC on Windows or OSX. I'm running linux on my computer too and there's no support for that. But, I do have the samsung dock so I can still attach my phone to a monitor directly and use DeX that way. It just isn't linux per se, but rather Android apps run on a 4K monitor. That's not the end of the world, it's something at least. But, it was cool back when I had an S9+ and I could put it on the dock and use Linux apps directly on my phone. Those were the good ol' days. Andronix does let one run linux stuff on the phone but it doesn't feel quite as nice to me. Ahhh, first world problems. In reality this is all kind of nit picky to complain about. But, I still miss LoD.
you nailed it. there may be some doggies remnants online screening the post making sure you don't blame Microsoft, providing alternatives.

Sent from my SM-N975F using Tapatalk
 
  • Like
Reactions: gilvbp