Sailfish OS porting - OnePlus 5 Questions & Answers

This is not a request to get, rather wanting information on how possible it would be.
Would it be possible to port Sailfish with what has been open sourced for the OP5? Also, would anyone be interested if I made the resulting build available to all? I'd likely make it available regardless.

Would love to see this ported to the op5.

of course.
me to

I think it would be difficult until SFOS is based on LOS14. Right now the latest SFOS is based on CM13. There isn't an Android 6.0 kernel for the OP5...
-------------------------------------------------------------
Hybris-14.1 is out there, so porting may be possible

I will port Sailfish OS on Oneplus 5 as soon as I buy the device I don't see a problem in using the 7.x or 8.x kernel, can get it to boot with those also

nyl said:
I will port Sailfish OS on Oneplus 5 as soon as I buy the device I don't see a problem in using the 7.x or 8.x kernel, can get it to boot with those also
Click to expand...
Click to collapse
Have you made any attempts at porting SFOS for the OnePlus 5?

I'm currently attempting to port SFOS for the OP5. I'm encountering some problems at the moments (bootloops, no GUI).

I've made an installable zip of SFOS 2.1.3.7 for the OnePlus 5... however, the current issue is that I cannot telnet into the device via USB to figure out where it's failing since kernel 4.4 needs some usb fix for mainline kernel testing. See http://www.merproject.org/logs/#sailfishos-porters/#sailfishos-porters.2017-11-19.log.html for the conversation regarding "usb gadget"
---------------------------------------------UPDATE-------------------------------------------------------
22Nov17 - I found a solution to the kernel 4.4 usb_gadget issue (https://developer.ridgerun.com/wiki/index.php/How_to_use_USB_device_networking) I am now able to telnet into my OnePlus 5 with the Mer Boat Loader running. Hopefully more progress will follow.

07Dec17 - New Update. I now have UI/touch input working on the OnePlus 5. Now the rest of the debugging begins.
https://usercontent.irccloud-cdn.com/file/KMXGNgEZ

Good news!

Man, I forget to actually get on XDA, and someone steps up to fill the shoes I haven't been able to fill, made me remember why I like this community.

08Dec17 Update
Some more pictures of SFOS running on the OP5. I would classify this as a pre-alpha build. I will try to work out all of the bugs as soon as I can.
What Works:
GUI
Touch input
Vibration (somewhat)
What Doesnt work:
Cellular/wlan/bluetooth
Sound
Camera
Most likely other key functions...

Excellent!

This thread deserves more attention. As far as all the basic functions are working, I will switch to SFOS as my new daily driver. Thanks for your time and work :victory:

I'm working diligently to get this more stable. I won't post it until it has basic cell/wifi working. All thanks goes to my wife who gets annoyed when I'm constantly working on this project. Haha

Thanks for your hard work!
xreactx said:
I'm working diligently to get this more stable. I won't post it until it has basic cell/wifi working. All thanks goes to my wife who gets annoyed when I'm constantly working on this project. Haha
Click to expand...
Click to collapse

xreactx said:
I'm working diligently to get this more stable. I won't post it until it has basic cell/wifi working. All thanks goes to my wife who gets annoyed when I'm constantly working on this project. Haha
Click to expand...
Click to collapse
Good stance to take, mate! You have a far better chance of getting it up working than I do with most of my programming knowledge being limited to bash scripting. If you need a second pair of eyes on the code, though, I'm up for at least trying to understand it.

Could be worth looking into halium , there's porting work happening for the OP5. Sailfish os could potentially run on top of it.

Dobby118 said:
Could be worth looking into halium , there's porting work happening for the OP5. Sailfish os could potentially run on top of it.
Click to expand...
Click to collapse
I dont know how far along Halium is for the OP5. I've been trying to get ahold of MarioGrip for a few weeks now. I was able to get the UI started with the help of mal, guhl, zhxt, and many others. Check my work on github (www.github.com/xreactx) if you or anyone else wants to see where i may be wrong. My next step is to try and get the wifi to work, then cellular.

What is so especially at Sailfish OS ?

Related

[Q] Is it as simple as compiling cyanogenmod?

Would it be as simple as compiling cyanogenmod for a new phone? We have official builds for my phone (lg Optimus g), and various other AOSP based projects. The main reason I am asking is I have compiled cyanogenmod night lies before, and this looks very interesting so I want to try to get it working on my phone.
evodev said:
Would it be as simple as compiling cyanogenmod for a new phone? We have official builds for my phone (lg Optimus g), and various other AOSP based projects. The main reason I am asking is I have compiled cyanogenmod night lies before, and this looks very interesting so I want to try to get it working on my phone.
Click to expand...
Click to collapse
It is
XpLoDWilD said:
It is
Click to expand...
Click to collapse
Just a quick question,will it support mediatek devices?
s.sawrav said:
Just a quick question,will it support mediatek devices?
Click to expand...
Click to collapse
Yes.
We have early support for the r819.
I hope OmniROM is also meant for devices with low specs like for my Xperia U. I am interested to try it as a user.
Mayank7795 said:
I hope OmniROM is also meant for devices with low specs like for my Xperia U. I am interested to try it as a user.
Click to expand...
Click to collapse
If you have a working AOSP, it should be available without problems.
@XpLoDWilD
Would it be worth me attempting to build this for the tf700, or do you guys have plans for it?
Cheers
What about devices that have CM10 only?
lozohcum said:
What about devices that have CM10 only?
Click to expand...
Click to collapse
You need at least an unofficial CM 10.2 / AOSP 4.3.
JoinTheRealms said:
@XpLoDWilD
Would it be worth me attempting to build this for the tf700, or do you guys have plans for it?
Cheers
Click to expand...
Click to collapse
Building is always worth an attempt...
I used to build my own CM, i'm gonna try to build my own omni too but i'm struggling. I must be doing something wrong with the repo init but I can't seem to find what... I'm gonna update my buildbot first because it's been awhile, and maybe try again tomorrow.
As always everyone forget about non-highended devices and lower android versions. Everytime new android version appers, all devs greedily jump on in and start making roms only for it. Nexus 7, Xperia Z/Z1... I vomit. And of course experienced devs are not willing to share their's knowledge about device maintenance
lozohcum said:
As always everyone forget about non-highended devices and lower android versions. Everytime new android version appers, all devs greedily jump on in and start making roms only for it. Nexus 7, Xperia Z/Z1... I vomit. And of course experienced devs are not willing to share their's knowledge about device maintenance
Click to expand...
Click to collapse
That's why its worth scrawling through XDA, going through guides and learning to dev. Nothing wrong with a dev who decides to leave an older version for a newer version. They're doing it for fun and free.
lozohcum said:
As always everyone forget about non-highended devices and lower android versions. Everytime new android version appers, all devs greedily jump on in and start making roms only for it. Nexus 7, Xperia Z/Z1... I vomit. And of course experienced devs are not willing to share their's knowledge about device maintenance
Click to expand...
Click to collapse
I actually have a plan about getting legacy devices involved in the form of a "legacy branch" complete with legacy maintainers. It's tricky to get started off, but might prove useful for anyone wanting to get longer community support for their devices.
pulser_g2 said:
I actually have a plan about getting legacy devices involved in the form of a "legacy branch" complete with legacy maintainers. It's tricky to get started off, but might prove useful for anyone wanting to get longer community support for their devices.
Click to expand...
Click to collapse
As long as there is no hard reason to stop supporting a device and we have someone who is taking care of that device we will try
On the other side - there is constant evolution which sometimes will make it necessary to leave a device "behind" if the effort will become too large
Sent from my Find 5 using xda app-developers app
XpLoDWilD said:
It is
Click to expand...
Click to collapse
Not quite yet... Not until we have roomservice up and running.
(For those that didn't understand what I said - roomservice is the part of CM's repo management system that will automatically sync a device tree and all dependencies. roomservice is HEAVILY dependent on github's APIs, so we couldn't even start work on that particular piece of infrastructure until the project went public.)
lozohcum said:
As always everyone forget about non-highended devices and lower android versions. Everytime new android version appers, all devs greedily jump on in and start making roms only for it. Nexus 7, Xperia Z/Z1... I vomit. And of course experienced devs are not willing to share their's knowledge about device maintenance
Click to expand...
Click to collapse
The reason for the Nexus/Xperia Z support is because the vendors have AOSP source for pretty much the entire device readily available. The Xperia Z series (Z, Z Tab, Z1) have source widely available for (IIRC) pretty much everything bar the radio. Heck - sony had uploaded AOSP 4.3 sources before CM had 10.2 nightlies running, from memory.
Anything beyond that boils down to porting existing patches, or people bringing up other devices. This will generally happen for more widely used devices first simply because there's more likely to be someone available with the skills to do it. By the sounds of Omni is working, you could have pretty much any obscure old phone but if you're happy to do the bringup then it'll get added
M.
mattman83 said:
The reason for the Nexus/Xperia Z support is because the vendors have AOSP source for pretty much the entire device readily available. The Xperia Z series (Z, Z Tab, Z1) have source widely available for (IIRC) pretty much everything bar the radio. Heck - sony had uploaded AOSP 4.3 sources before CM had 10.2 nightlies running, from memory.
Anything beyond that boils down to porting existing patches, or people bringing up other devices. This will generally happen for more widely used devices first simply because there's more likely to be someone available with the skills to do it. By the sounds of Omni is working, you could have pretty much any obscure old phone but if you're happy to do the bringup then it'll get added
M.
Click to expand...
Click to collapse
Someone should write a definitive guide about converting CM10 device tree to AOSP JB device tree, so more people can work on devices maintenance
pulser_g2 said:
I actually have a plan about getting legacy devices involved in the form of a "legacy branch" complete with legacy maintainers. It's tricky to get started off, but might prove useful for anyone wanting to get longer community support for their devices.
Click to expand...
Click to collapse
I hope the Acer IconiaTAB A5000 will get supported.
Please, support for RAZR i (x86)
lozohcum said:
Someone should write a definitive guide about converting CM10 device tree to AOSP JB device tree, so more people can work on devices maintenance
Click to expand...
Click to collapse
Problem is, every device has its own pitfalls. Some are harder to overcome than others.
For example, the lack of NEON in tegra2 combined with the dependency of newer gapps on NEON really screws tegra2 devices, and there isn't much that can be done about it.
Also, in some cases, the things needed to get a device working aren't in the tree, but are in the frameworks to handle OEM-specific oddities (RIL hacking in opt/telephony, which I admit I'm not too familiar with...) or platform support. Sometimes, old devices get left behind simply because their platform overall is a ***** to support beyond a certain point. (See how MSM8660 devices have been lagging lately, due to Qualcomm pretty much sunsetting that chipset.)

Sailfish on OnePlus One

If someone wants to port the system he can get an invite from me. :good:
from me too
thesimon said:
If someone wants to port the system he can get an invite from me. :good:
Click to expand...
Click to collapse
hey i will also send an invite to someone who ports sailfish os. i reaaaaaallly want it but i am not a developer or pc geek or something.
if jolaa would release offical roms i would even pay 10-20€
T-uzun said:
hey i will also send an invite to someone who ports sailfish os. i reaaaaaallly want it but i am not a developer or pc geek or something.
if jolaa would release offical roms i would even pay 10-20€
Click to expand...
Click to collapse
ugh i dont have any invites but i want to see it happen for sure!!!
i really want multirom and bcmon also on the oneplus one what else needs to get ported to the oneplus?
Sailfish/MultiROM for the OnePlus One
I'm familiar enough with the process of porting/building SailfishOS that I could probably get it running on the OnePlus One in less than a weekend. The hardware looks similar enough to the Nexus 5 - at least as far as the Qualcomm parts are concerned - that it should be a fairly simple port.
I've been trying to save up for a new phone for a while, but I haven't found one that I like enough to buy at unlocked-phone prices.
Call me cheap, but I felt like I overpaid for my Nexus 4 - which I probably did, because I traded a tablet for it.
I don't tend to develop low-level stuff like this for phones I don't own or at least plan to buy, but I have a long history of "porting" Linux distributions (mainly Debian and non-Unity, "desktop" Ubuntu) to Android phones by modifying the kernel to load the root filesystem from a microSD card, among other things.
Before you get too excited, remember that I may or may not be able to get everything working immediately - just look at how long camera support has been missing from Sailfish on the Nexus 4. On that note, the Sailfish camera HAL is in flux right now, but once it stabilizes, getting the cameras working should be easier.
By the time I get an invite and get around to buying a One, there's bound to be other people working on it, especially if this is as important as I think it is.
TL;DR: In a few weeks I should have money, in another few weeks I should have a device, and shortly after that there should be code.
I'm pretty confident that it should be relatively easy to get the port started, but don't expect miracle-speed progress towards getting all the hardware working.
thesimon said:
If someone wants to port the system he can get an invite from me. :good:
Click to expand...
Click to collapse
Hey,
Now we have released N5 I'm moving onto OnePlus, its booting into the Mer bootloader and switching root into SailfishOs rootfs at the moment but no UI yet due to gralloc issues.
Stay tuned.
BR
Martin
vgrade said:
Hey,
Now we have released N5 I'm moving onto OnePlus, its booting into the Mer bootloader and switching root into SailfishOs rootfs at the moment but no UI yet due to gralloc issues.
Stay tuned.
BR
Martin
Click to expand...
Click to collapse
LOL, where on earth did you get hold of all these devices!?
gTan64 said:
I'm familiar enough with the process of porting/building SailfishOS that I could probably get it running on the OnePlus One in less than a weekend. The hardware looks similar enough to the Nexus 5 - at least as far as the Qualcomm parts are concerned - that it should be a fairly simple port.
I've been trying to save up for a new phone for a while, but I haven't found one that I like enough to buy at unlocked-phone prices.
Call me cheap, but I felt like I overpaid for my Nexus 4 - which I probably did, because I traded a tablet for it.
I don't tend to develop low-level stuff like this for phones I don't own or at least plan to buy, but I have a long history of "porting" Linux distributions (mainly Debian and non-Unity, "desktop" Ubuntu) to Android phones by modifying the kernel to load the root filesystem from a microSD card, among other things.
Before you get too excited, remember that I may or may not be able to get everything working immediately - just look at how long camera support has been missing from Sailfish on the Nexus 4. On that note, the Sailfish camera HAL is in flux right now, but once it stabilizes, getting the cameras working should be easier.
By the time I get an invite and get around to buying a One, there's bound to be other people working on it, especially if this is as important as I think it is.
TL;DR: In a few weeks I should have money, in another few weeks I should have a device, and shortly after that there should be code.
I'm pretty confident that it should be relatively easy to get the port started, but don't expect miracle-speed progress towards getting all the hardware working.
Click to expand...
Click to collapse
hey man I have faith in you and i really want to encourage you to go out there and give it your best shot!
---------- Post added at 12:24 AM ---------- Previous post was at 12:16 AM ----------
rndmboyz3 said:
hey man I have faith in you and i really want to encourage you to go out there and give it your best shot!
Click to expand...
Click to collapse
will the mer bootloader have any conflicts with multirom? also now that I think about it multirom doesnt seem to have support for sailfish... multirom only mentions ubuntu touch and firefox os. I really hope sailfish os can be multibooted! but regardless sailfish os is a sexy beast and I want it even if it is the only rom I can run
rndmboyz3 said:
hey man I have faith in you and i really want to encourage you to go out there and give it your best shot!
---------- Post added at 12:24 AM ---------- Previous post was at 12:16 AM ----------
will the mer bootloader have any conflicts with multirom? also now that I think about it multirom doesnt seem to have support for sailfish... multirom only mentions ubuntu touch and firefox os. I really hope sailfish os can be multibooted! but regardless sailfish os is a sexy beast and I want it even if it is the only rom I can run
Click to expand...
Click to collapse
Multi Rom Supported for Nexus 5
https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_hammerhead
aironeous said:
Multi Rom Supported for Nexus 5
https://wiki.merproject.org/wiki/Adaptations/libhybris/Install_SailfishOS_for_hammerhead
Click to expand...
Click to collapse
perfect and porting from nexus 5 shouldnt be too bad as OPO has simillar specs but better
rndmboyz3 said:
perfect and porting from nexus 5 shouldnt be too bad as OPO has simillar specs but better
Click to expand...
Click to collapse
Here is the list of the devices being ported and what is and is not working right now
https://wiki.merproject.org/wiki/Adaptations/libhybris
Here is the list of who is porting it to what device
https://wiki.merproject.org/wiki/Adaptations/libhybris/porters
Here is the log for #sailfishos-porters at webchat.freenode.net so you can read them working out the details for each device
http://www.merproject.org/logs/#sailfishos-porters/#sailfishos-porters.2014-08-18.log.html
aironeous said:
Here is the list of the devices being ported and what is and is not working right now
https://wiki.merproject.org/wiki/Adaptations/libhybris
Here is the list of who is porting it to what device
https://wiki.merproject.org/wiki/Adaptations/libhybris/porters
Here is the log for #sailfishos-porters at webchat.freenode.net so you can read them working out the details for each device
http://www.merproject.org/logs/#sailfishos-porters/#sailfishos-porters.2014-08-18.log.html
Click to expand...
Click to collapse
thanks for the resources!!! vgrade is a god
rndmboyz3 said:
thanks for the resources!!! vgrade is a god
Click to expand...
Click to collapse
sorry rndmboyz3 just flesh and blood and part of a great team
Pop into #sailfishos-porters and say hello
vgrade
Any news on the sailfish port?
Would really like to try it.
I need an invite from someone to get in ..
carepack said:
I need an invite from someone to get in ..
Click to expand...
Click to collapse
They will be removing the invite system from October, unless they delay it.
well i have an OPO now and my friend has a Jolla,
how we both wish we have the other's os ported to our device just for cool geeks thing.
anyways awaiting for some magic on this one.
imagine what a 2.5 pro and 3gb lpddr3 could do to the performance of sailfish, just would be awesome
drooolllllll...
regards
strategist99 said:
well i have an OPO now and my friend has a Jolla,
how we both wish we have the other's os ported to our device just for cool geeks thing.
anyways awaiting for some magic on this one.
imagine what a 2.5 pro and 3gb lpddr3 could do to the performance of sailfish, just would be awesome
drooolllllll...
regards
Click to expand...
Click to collapse
I hope I can try and port, but I am just a tech savvy noob.
aaron007 said:
I hope I can try and port, but I am just a tech savvy noob.
Click to expand...
Click to collapse
multirom supports sailfish do i need just a image for oneplus one now! someone has one??
T-uzun said:
multirom supports sailfish do i need just a image for oneplus one now! someone has one??
Click to expand...
Click to collapse
MULTIROM for the Oneplus is a port, the Sailfish support is a reflection of this. You'll need a working image of Sailfish .. AFAIK no-one has made one yet for the Oneplus.
Anyone know if this is being developed?
I would love to see sailfish on the oneplus one. Does anyone know if this is being currently worked on or if there a compatible version out there on the net?

ubuntu

So, I have decided to compile and get ubuntu running on our devices. I have the TMO Note 4.
If anyone has a donor device, or can give me some pointers I want to get all this running nicely.
No goal is unobtainable.
I will like to see this if we can get dual boot [emoji14]
and what about miui 6? there is recently released miui 6 patchrom. Do you know miui? I am asking you this because we are two and we want to port it but we have weak knowledge. Maybe you can help us
and this is how miui 6 look like
http://en.miui.com/forum.php?mod=viewthread&tid=34895&extra=page=1&page=1&mobile=no
and there are some of thousands official themes for miui
http://en.miui.com/thread-112322-1-1.html
First of all i don`t think it`s nice of you to come in here and state there's no real custom roms out there for the Note 4, there's a lot of movement in the threads and developers work their butt off providing the latest and the best experience for the device. That said, let`s say i`m willing to give you a N910F donor device for development purpose, what have you got to show for it? Being a newbie ( at least your XDA account shows it ) there doesn`t seem much that shows anything worth to mention.
You sure this ain`t a cheap way of getting yourself a Note 4?
intheair86 said:
Let's face it, there are too many touch wiz roms, and nothing really "custom" out there for the Note 4.
So, I have decided to compile and get ubuntu running on our devices. I have the TMO Note 4.
If anyone has a donor device, or can give me some pointers I want to get all this running nicely.
No goal is unobtainable.
Click to expand...
Click to collapse
intheair86 said:
Let's face it, there are too many touch wiz roms, and nothing really "custom" out there for the Note 4.
So, I have decided to compile and get ubuntu running on our devices. I have the TMO Note 4.
If anyone has a donor device, or can give me some pointers I want to get all this running nicely.
No goal is unobtainable.
Click to expand...
Click to collapse
if you already have a TMO n4, why would you need a donor device?
and if dual boot works it's even easier to try it all
but porting Ubuntu does sound like a fun project, maybe you can use cm12 stuff to speed up the porting :fingers-crossed:
and i would love to help but i have no idea about porting and i'm already busy with n4 and s6 edge development
good luck though! :good:
My Apologies
patensas said:
First of all i don`t think it`s nice of you to come in here and state there's no real custom roms out there for the Note 4, there's a lot of movement in the threads and developers work their butt off providing the latest and the best experience for the device. That said, let`s say i`m willing to give you a N910F donor device for development purpose, what have you got to show for it? Being a newbie ( at least your XDA account shows it ) there doesn`t seem much that shows anything worth to mention.
You sure this ain`t a cheap way of getting yourself a Note 4?
Click to expand...
Click to collapse
My apologies, you are correct about custom roms. What I meant is we don't have MIUI, Firefox, etc. Yeah skinned versions of Android, yet some people like them.
I want to do something no one else has done, and bring something to the table.
intheair86 said:
My apologies, you are correct about custom roms. What I meant is we don't have MIUI, Firefox, etc. Yeah skinned versions of Android, yet some people like them.
I want to do something no one else has done, and bring something to the table.
Click to expand...
Click to collapse
I've only ever worked with twizz roms before but have now got a dedicated linux machine. I was trying to teach myself to compile from source but Ubuntu sounds very interesting and would love to be involved but not sure how much help I'd be
sawdoctor said:
I've only ever worked with twizz roms before but have now got a dedicated linux machine. I was trying to teach myself to compile from source but Ubuntu sounds very interesting and would love to be involved but not sure how much help I'd be
Click to expand...
Click to collapse
That's all I have now is my ubuntu laptop.
What I found out is ubuntu touch is based on cm10.1.
They don't have 3g/4g/let working for some systems.
I am reading about how to compile. Hensel why I need a donor device, just in case I super brick. Bricking out my only phine would suck.
I haven't figured out how to pm, so if anyone can talk to me like via Skype, and help me learn. PLEASE!
intheair86 said:
That's all I have now is my ubuntu laptop.
What I found out is ubuntu touch is based on cm10.1.
They don't have 3g/4g/let working for some systems.
I am reading about how to compile. Hensel why I need a donor device, just in case I super brick. Bricking out my only phine would suck.
I haven't figured out how to pm, so if anyone can talk to me like via Skype, and help me learn. PLEASE!
Click to expand...
Click to collapse
Why would I donate you a Note 4 to brick it? lol.
Sounds like a fun project according to me. Did not heard ubuntu ported since note 2.
But have not enough money to give away a note 4.
NOTE 4 running Ubuntu/Windows10
Ladies and Gentleman,
John here, I have spent at least 5 days trying to port windows 10 to the Note 4, (turns out its not possible) windows 10 requires secure boot and bypassing this is a pain in the ass, so I've given up.... it is 5/12/2017 and I've arrived very late to this thread but I got my note 4 out of the drawer and decided to turn it into a portable Linux pc, I spent 4 weeks porting Ubuntu to the note 2 in 2015 and dropped the project because there was many issues getting all the drivers to work but so far porting Ubuntu to the note 4 is working well but it needs quite a bit of glitches to be fixed, im trying to get the 4G gsm module to work and the sound but soon this will be working great and I will share my finished product.
Xcion54 said:
Ladies and Gentleman,
John here, I have spent at least 5 days trying to port windows 10 to the Note 4, (turns out its not possible) windows 10 requires secure boot and bypassing this is a pain in the ass, so I've given up.... it is 5/12/2017 and I've arrived very late to this thread but I got my note 4 out of the drawer and decided to turn it into a portable Linux pc, I spent 4 weeks porting Ubuntu to the note 2 in 2015 and dropped the project because there was many issues getting all the drivers to work but so far porting Ubuntu to the note 4 is working well but it needs quite a bit of glitches to be fixed, im trying to get the 4G gsm module to work and the sound but soon this will be working great and I will share my finished product.
Click to expand...
Click to collapse
If you are being serious, I have have a N910V and I am trying to get my name out in the dev world. I am willing to help you in your project and confident in my experience at recovering a bricked device enough to say that I would sacrifice my phone for this project. I am still new to compiling sources but with a little guidance I am sure I can help you.
Xcion54 said:
Ladies and Gentleman,
John here, I have spent at least 5 days trying to port windows 10 to the Note 4, (turns out its not possible) windows 10 requires secure boot and bypassing this is a pain in the ass, so I've given up.... it is 5/12/2017 and I've arrived very late to this thread but I got my note 4 out of the drawer and decided to turn it into a portable Linux pc, I spent 4 weeks porting Ubuntu to the note 2 in 2015 and dropped the project because there was many issues getting all the drivers to work but so far porting Ubuntu to the note 4 is working well but it needs quite a bit of glitches to be fixed, im trying to get the 4G gsm module to work and the sound but soon this will be working great and I will share my finished product.
Click to expand...
Click to collapse
Casper1619 said:
If you are being serious, I have have a N910V and I am trying to get my name out in the dev world. I am willing to help you in your project and confident in my experience at recovering a bricked device enough to say that I would sacrifice my phone for this project. I am still new to compiling sources but with a little guidance I am sure I can help you.
Click to expand...
Click to collapse
I also have a N910T and am willing/would love to be a part of this and help get Ubuntu working on my Note 4. I will help in any way I can.. I have been searching for a port of Ubuntu for some time now so I was VERY excited when I saw your OP. I know this might sound odd but the main reason I wanted to run Ubuntu was for native development. In the same situation as @sawdoctor I have also been trying for about a year to compile a kernel but for some reason I just can't figure it out ha. I don't have my computer with me during the day but I have my phone and plenty of time so I was looking for a way to compile the kernel source with my device. And although I obviously don't know that much about development, I figured what better way to start that running Ubuntu. It's crazy to me i couldn't find one single guide or post about how to build a kernel with the phone you want to run it on. Seems like it should be easy ha. I have have tried termux, gnu-root, cc-tools, kbox3,........you name it and I have a TB of it ha. So all rambling aside, just let me know what or if you need anything
Casper1619 said:
If you are being serious, I have have a N910V and I am trying to get my name out in the dev world. I am willing to help you in your project and confident in my experience at recovering a bricked device enough to say that I would sacrifice my phone for this project. I am still new to compiling sources but with a little guidance I am sure I can help you.
Click to expand...
Click to collapse
Your Help would be greatly appreciated, currently I'm working in the graphics, the note 4 has a high pixel sensitivity and the Items are very small, resizing things isn't working too well so I'm trying to figure out away to enlarge buttons and Icons
---------- Post added at 03:27 PM ---------- Previous post was at 03:19 PM ----------
noob4598 said:
I also have a N910T and am willing/would love to be a part of this and help get Ubuntu working on my Note 4. I will help in any way I can.. I have been searching for a port of Ubuntu for some time now so I was VERY excited when I saw your OP. I know this might sound odd but the main reason I wanted to run Ubuntu was for native development. In the same situation as @sawdoctor I have also been trying for about a year to compile a kernel but for some reason I just can't figure it out ha. I don't have my computer with me during the day but I have my phone and plenty of time so I was looking for a way to compile the kernel source with my device. And although I obviously don't know that much about development, I figured what better way to start that running Ubuntu. It's crazy to me i couldn't find one single guide or post about how to build a kernel with the phone you want to run it on. Seems like it should be easy ha. I have have tried termux, gnu-root, cc-tools, kbox3,........you name it and I have a TB of it ha. So all rambling aside, just let me know what or if you need anything
Click to expand...
Click to collapse
I have created a kernel that works ok for now I'm still working on audio and other small glitches that are probably being caused by the kernel I will post kernel and rim soon that way you guys can help me debugging!
Xcion54 said:
Your Help would be greatly appreciated, currently I'm working in the graphics, the note 4 has a high pixel sensitivity and the Items are very small, resizing things isn't working too well so I'm trying to figure out away to enlarge buttons and Icons
Click to expand...
Click to collapse
I don't suppose ubuntu has DPI optimizations like android does it?
Casper1619 said:
I don't suppose ubuntu has DPI optimizations like android does it?
Click to expand...
Click to collapse
Not at all, Ubuntu isn't sizing things properly and it's almost impossible to use the touchscreen to click buttons, can only be used with a mouse, just getting otg to work was a pain to plug in a mouse, there's some options In Ubuntu for resizing but they don't help that much.
Xcion54 said:
Not at all, Ubuntu isn't sizing things properly and it's almost impossible to use the touchscreen to click buttons, can only be used with a mouse, just getting otg to work was a pain to plug in a mouse, there's some options In Ubuntu for resizing but they don't help that much.
Click to expand...
Click to collapse
Hmm. Well maybe resizing everything could be an acceptable approach but if windows and android have different "skins" maybe we could make a custom gnome launcher that works better with the small screen, but as far as the drivers and the kernel, is it stable, and what model have you compiled it for?
Xcion54 said:
Ladies and Gentleman,
John here, I have spent at least 5 days trying to port windows 10 to the Note 4, (turns out its not possible) windows 10 requires secure boot and bypassing this is a pain in the ass, so I've given up.... it is 5/12/2017 and I've arrived very late to this thread but I got my note 4 out of the drawer and decided to turn it into a portable Linux pc, I spent 4 weeks porting Ubuntu to the note 2 in 2015 and dropped the project because there was many issues getting all the drivers to work but so far porting Ubuntu to the note 4 is working well but it needs quite a bit of glitches to be fixed, im trying to get the 4G gsm module to work and the sound but soon this will be working great and I will share my finished product.
Click to expand...
Click to collapse
if you finished your project, i'd love to try it on my device.
Hey bro. Any progress? i just ran across a kde plasma active installer for nexus 7 that uses multirom to flash linux to ext sd. Would it maybe be possible to adapt the script to our device being that we have EFIDroid and Multisystem?
I've been working on porting Halium (needs for Ubuntu touch now) to my device, I haven't gotten the graphics to work yet but with the work I've got done so far we could get the graphics working then get other OSes that support Halium working (I.e. plasma os, sailfish, and possibly even post market os) if your still trying to get this working let me know and I'll contribute what I can to help, I still DD my n910p cause I like the form factor of my note 4, hate the glitchy issues that sprint forced into its software though. I have gotten Ubuntu to boot to a headless system setup, but that's not useful for what my end game is, its just a step in the right direction.

Gathering team to port 6.0 AOSP to the S5

Hi everyone,
I currently found an AOSP 6.0 Marshmallow port for the OnePlus One. I'm a slight new to this but im ready and willing to learn how to do all of this from source. The OnePlus One has the same chipset, cpu, and gpu so it shouldnt be impossible to get this up and running. Anyone interested in contributing to the cause pm me or post on this thread .
Once I am interested in such things , but later I found it is too hard and lack of info :<
free2ing said:
Once I am interested in such things , but later I found it is too hard and lack of info :<
Click to expand...
Click to collapse
Well its all plain experience and trying and trying over and over till it works. Its quite a lot of work its possible just to wait for everything to happen from the cm team but thats really gonna take a while and im sure with enough knowledge and enough hard workers its possible to pull it off. Especially since a device with near the same hardware has marshmallow ported
CurbThePain said:
Well its all plain experience and trying and trying over and over till it works. Its quite a lot of work its possible just to wait for everything to happen from the cm team but thats really gonna take a while and im sure with enough knowledge and enough hard workers its possible to pull it off. Especially since a device with near the same hardware has marshmallow ported
Click to expand...
Click to collapse
I still remember there once be a man wanna port UBUNTU TOUCH to Xiaomi 2 (Mi Two), he choose Nexus 4 with the same 8064 CPU & 9615 chipset, but he still failed and unreged from the forum after 1-year-attemptaion... After all, Im also wondering how marshmallow taste like : ) I support you
free2ing said:
I still remember there once be a man wanna port UBUNTU TOUCH to Xiaomi 2 (Mi Two), he choose Nexus 4 with the same 8064 CPU & 9615 chipset, but he still failed and unreged from the forum after 1-year-attemptaion... After all, Im also wondering how marshmallow taste like : ) I support you
Click to expand...
Click to collapse
Well he was probably trying to kang port it. You need to build it from the source. Port the kernel from source and the same with the source for the rom itself. Its not easy but it can be done. I may give it a go myself even if no one can help or wants to.

Porting uBPorts 5.1

Hello everyone, I have recently started trying to port UBPorts (formerly Ubuntu Touch) to my trltespr, I get the code to start compiling but I keep hitting errors.
https://forums.ubports.com/topic/477/porting-to-samsung-galaxy-note-4-sm-n910p
Is the link, in case anyone wants to follow. I created this thread to see if anyone else is trying to do the same thing as well as serve as a general progress update. Im sorry if this is in the wrong spot, but seeing as UBPorts isnt exactly and android OS I wasnt sure where to put it. I know some people may ask why, the simple answer, Im tired of Android and want something different. I am also contemplating porting Halium, if anyone has any interest in helping with either port, or is currently trying and would like to consolidate their efforts with me, please let me know, Ill update this post as well as the thread I linked with updates on what Im doing and how its all going.
Thanks for Reading.
Sorry for the double post, but I managed to get Halium to compile, the kernel to boot, and thats about it so far, running into an issue with getting the rest on the phone, I can post the files and any info to get Halium working if anyone wants it, but that is gonna be when I have a working gui (features are a different story)
#== Edit ==#
Halum is booting into pre-boot, it is having trouble from there though. It mounts the images (system.img and rootfs.img) just fine in the pre-boot environment, however if I try to continue the boot process from there, the phone kicks me out, then refuses any new attempts to connect. I am working on getting my git repo synced with my local repos so anyone that wants to help can do so.
#=== Edit 2 ===#
I managed to get all the files on the phone, phone successfully gets to pre-boot environment and that is where everything falls apart, I'm trying to figure out the root cause of the issue, however its going to be slow going with the Holiday season apon us (those who celebrate at least) I will update when I have something to update with (hopefully a partially working port, but no promises)
Sorry for a third post, I hope mods are understanding since I haven't received any replies to this thread.
So Update since it's been awhile, I now have halium able to boot, I get ssh access and when I ssh in it says Ubuntu 16.04, that's the good news. The bad news now, I still get no GUI on the phone screen, and it appears to be a mount issue which I am working on. I can release the files I have now if anyone wants them, however I prefer to wait till I have a working GUI.
Poll Time,
Once I get ubports to boot and give me a GUI should I work on getting a Ubuntu dock setup working or try and port something like LuneOS, Plasma Mobile, or even sailfish to the note 4? Let me know your thoughts as well as any thoughts you have for ubports on a note 4.
Cheers
Do you try ubports / halium 7.1... Msybe with sources here: https://github.com/underscoremone/unified_android_device_samsung_trlte
Don't know, but maybe you get more support from community
I actually have made a lot of progress from my last post on here. I am actually in the telegram groups which have given me a lot of useful info, I am still trying to get the GUI working though. Thank you for the reply and keep an eye out for a update in the next few weeks (depending on my free time)
jasousa said:
Do you try ubports / halium 7.1... Msybe with sources here: https://github.com/underscoremone/unified_android_device_samsung_trlte
Don't know, but maybe you get more support from community
Click to expand...
Click to collapse
I'm in the same stage... trying get GUI. SSH is OK. My device is samsung galaxy J5 2016
Telegram, in fact, is the best place to get help, and the guys behind the ubports and halium are very good.
Regards
Sent from my SM-J510FN using Tapatalk
Update:
I have managed to get Ubuntu to boot and bring up SSH, still no GUI but the android container does start and stay running now. I have a list of things I can try from here to see if I can get a GUI that with any luck I can get working today (depending on RL) I am hoping to have this working and giving me a GUI by the U.S. Christmas holiday. I will post the files as they are now if anyone is interested.
Update Edit:
I finally got the Ubuntu Touch boot screen, It hangs there ATM which I will be working on shortly, I still have a long ways to go before I'd consider it "complete" but I hope it will be completed enough to use as a daily test platform, I could use people to help with testing if anyone is interested.
So Big Update:
I got past the boot screen, I now have a full GUI with working WiFi and working touchscreen. Not much else is working. I could definitely use people to test this distro, so if you are interested in using Ubuntu Touch on a Galaxy Note 4 PM me and I'll get you setup for testing. I only have a sprint variant of the note 4 but if you have a different variant it shouldn't take much to get that working as well.
So the list for anyone interested/curious
Working:
WiFi (doesn't auto-connect)
Touchscreen
GUI
File Access
USB networking
Not Working:
Cellular (ofono is having permission errors)
Bluetooth (haven't looked at yet)
S-Pen (kernel disables it for some reason)
Rotation (sensor values aren't seen)
Audio (haven't looked at yet)
Status Light (works with hybris-boot, not halium-boot)
Vibration/Haptic Feedback (works with hybris-boot, not halium-boot)
I'm sure I forgot something, but that's off the top of my head. I welcome anyone volunteering to help move items from not working to working, if not then I will eventually get there, but don't expect this to be a complete ROM until next year at the earliest.
tigerpro357 said:
So the list for anyone interested/curious
but don't expect this to be a complete ROM until next year at the earliest.
Click to expand...
Click to collapse
Does any other stylus respond as a Wacom device?
harrypotnik3 said:
Does any other stylus respond as a Wacom device?
Click to expand...
Click to collapse
Sorry for the delayed answer, I only have the S Pen so I cant say for sure.* The capacitive stylus' that you can buy basically anywhere do work though.* I haven't really had time to continue my work on this port, I have made some progress as I can get rotation to work, and there is a lot of things that work in the terminal however they don't carry over to the GUI for some reason.* I can release the files here if you want to try other stylus' and let me know what works for you.
Hello; I have an old Note 4, T-Mobile (US) variant that I'd like to do something interesting with and UBPorts seemed promising. Then I found your thread. How are things going with this project? I would love to test this for you on my device if you think it might be working. Thanks for the all the good work!
There is a T-Mobile port in progress already, there are a couple things left to resolve for this port as well, how would you like to get started?
Its always nice to se new things for our phones.
This one is really a breakthrough for the Note 4
Having a Ubuntu touch working on Note 4 is a whole new level in development in Android phones.
We are very lucky to have so charismatic devs among us, even better if they are working on our phones.
For that, we are thank full @tigerpro357, for what you are doing here.
I know its just the first steps, I know that these are just the beginning, but they are showing us what wonderful things we can expect in the future.
Thank you ,
KUDOS
post was doubled
I'm not really sure... I guess I'd just like to flash it on the phone and see what happens, what works and doesn't.
ccellist said:
Hello; I have an old Note 4, T-Mobile (US) variant that I'd like to do something interesting with and UBPorts seemed promising. Then I found your thread. How are things going with this project? I would love to test this for you on my device if you think it might be working. Thanks for the all the good work!
Click to expand...
Click to collapse
ccellist said:
I'm not really sure... I guess I'd just like to flash it on the phone and see what happens, what works and doesn't.
Click to expand...
Click to collapse
Ok, I can tell you whats currently not working, or working, I will advise you this is currently not ready to be a daily driven ROM, in call audio doesnt work, YT causes crashes, camera causes crashes (cause I havent finished applying the patch to my repos) theres a couple other things as well, I need to make a propper list for everything rather than go off memory
Thanks so much for the info. Not to worry, I wasn't planning on using it as a daily driver, I really just want to play around with it, kick the tires so to speak.
logosA said:
Its always nice to se new things for our phones.
This one is really a breakthrough for the Note 4
Having a Ubuntu touch working on Note 4 is a whole new level in development in Android phones.
We are very lucky to have so charismatic devs among us, even better if they are working on our phones.
For that, we are thank full @tigerpro357, for what you are doing here.
I know its just the first steps, I know that these are just the beginning, but they are showing us what wonderful things we can expect in the future.
Thank you ,
KUDOS
Click to expand...
Click to collapse
Very nice
UT on note4... You guys are amazing.
Sent from my SM-N915F using Tapatalk

Resources