yashsingh1/xdaforums huggingface dataset:
[Sprint  Galaxy Note 4 General] tigerpro357:
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.
[Sprint  Galaxy Note 4 General] tigerpro357:
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)
[Sprint  Galaxy Note 4 General] tigerpro357:
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
[Sprint  Galaxy Note 4 General] jasousa:
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
[Sprint  Galaxy Note 4 General] tigerpro357:
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)
[Sprint  Galaxy Note 4 General] jasousa:
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
[Sprint  Galaxy Note 4 General] tigerpro357:
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.
[Sprint  Galaxy Note 4 General] tigerpro357:
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.
[Sprint  Galaxy Note 4 General] tigerpro357:
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.
[Sprint  Galaxy Note 4 General] harrypotnik3:
Does any other stylus respond as a Wacom device?
[Sprint  Galaxy Note 4 General] tigerpro357:
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.
[Sprint  Galaxy Note 4 General] ccellist:
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!
[Sprint  Galaxy Note 4 General] tigerpro357:
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?
[Sprint  Galaxy Note 4 General] logosA:
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 [MENTION=7221031]tigerpro357[/MENTION], 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
[Sprint  Galaxy Note 4 General] logosA:
post was doubled
[Sprint  Galaxy Note 4 General] ccellist:
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.
[Sprint  Galaxy Note 4 General] tigerpro357:
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
[Sprint  Galaxy Note 4 General] ccellist:
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.
[Sprint  Galaxy Note 4 General] tripLr:
Very nice
[Sprint  Galaxy Note 4 General] keenblade:
UT on note4... You guys are amazing.
[Sprint  Galaxy Note 4 General] tigerpro357:
Thank You for the compliment, I have been asked about if it will work on the note edge, and I have said that I dont know because I dont have one, if you try it and it works let me know
[Sprint  Galaxy Note 4 General] tripLr:
Device tree is slightly different.

tblte
[Sprint  Galaxy Note 4 General] logosA:
With the new update, rom has be turned into a TWRP flash able zip.

Just flash it in recovery (wait 15 minutes until its done all its settings) and reboot in system in less than a minute.

Then you have a great , good looking phone running ubundu, or a power ubuntu desktop if you connect it to a screen and BT keyboard.

This is a work in progress, but the progress done here is amazing.

It will completely transform your phone to something new and amazing

Thank you dev [MENTION=7221031]tigerpro357[/MENTION] , you have really made miracles here

:good::):good:
[Sprint  Galaxy Note 4 General] Americancosworth:
Going to comment that as soon as this port is polished up a Lil bit more, and as soon as I can load up anbox on it, seriously its a game changer for the ol' note 4. Also the using it as a computer when hooked up to a screen is really really really dope.
[Sprint  Galaxy Note 4 General] tigerpro357:
Anbox is already working actually. The only things that are holding it from the installer at this point is the in call audio, and the ubports recovery. The in call audio is the thing holding from being a daily driver ready port if you were to ask me, everything else that can be used by UT right now is working.
[Sprint  Galaxy Note 4 General] Americancosworth:
Gotta familiarize then how to install it and give it a try! Know of any good links for the uninitiated?
[Sprint  Galaxy Note 4 General] logosA:
getting better and better :)
[Sprint  Galaxy Note 4 General] tigerpro357:
If you want reading material, ubports.com, for installing, I have installable zips

http://tygercraft.duckdns.org/UBPorts
[Sprint  Galaxy Note 4 General] logosA:
installing, backing up and Restoring backup in TWRP, has become very easily now.

Flashing the zip rom that dev is providing us, backing up the whole rom is you want to use some Android one, then restoring it in TWRP and be back, just were you ve been last time you booted the rom.

All setting that you have made, working out of the box.

Look how XDA and some APPS look in that rom.

This is going to be a fantastic project, in the next steps.

Did I mentioned dark theme, too? :)
[Sprint  Galaxy Note 4 General] Smuuv:
Hi, I'm interested in trying the this. My questions are:

1. Will this work for the SM-N910P, Sprint version of the Note 4.

2. Do I need both "Test ROM for trltexx 2-4-2020" & "trltexx On Demand Governor 2-10-2020"?

3. Do you have a blog or something where you post information about the new releases?

4. Is this somewhat close to a daily driver? I know there are issues with every rom.

Sorry for all of the questions. I was about to buy a Nexus 5 when I encountered this thread. I do appreciate what you are doing here.
[Sprint  Galaxy Note 4 General] tigerpro357:
Hello, thank you for the interest. There is a sprint specific port otherwise you wont have ofono (cellular service), I have a group on Telegram that I made as well as a Telegram group that I am admin of that focuses specifically on Galaxy Note Devices for my group and the other is just a dev group for UT. I would say this ROM is very close to a daily ready state, the only things holding it back is audio in calls, and the wifi has to be reconnected after every (re)boot. I have all the code for my port on Github if youd like to help with getting the device ready. The sprint specific installable zip should be listed on the server already, if not let me know and I can upload them.
[Sprint  Galaxy Note 4 General] Smuuv:
Thank you for explaining and offering to allow me to join your Telegram group. Yes, I would like to try the Sprint installs. I'm not sure how much help I would be. I've mostly been a consumer of Roms. I don't know how to do anything other than install them and try them. :)
[Sprint  Galaxy Note 4 General] tigerpro357:
sounds Good, if you would like to help but dont know about development, you could document things, spread the word, anything really, not all contributions to a ROM have to involve making Code. I have a trltespr ROM on my page, the download speed atm is slow cause I have terrible upload speeds, and the OnDemand one is the latest build, and the install will take around 15 minutes.
[Sprint  Galaxy Note 4 General] Smuuv:
Thanks again. I will dip my toe in the Ubuntu Touch waters and see where it leads. I appreciate your kindness and support. I know you have put a lot of time into this project.
[Sprint  Galaxy Note 4 General] ticky33:
Does it work on sm-n910F ?

I'm very interested on it !

Thanks to the dev.
[Sprint  Galaxy Note 4 General] tigerpro357:
trltexx, trltetmo, trltevzw, and trltespr are the specific devices that are confirmed to work, any snapdragon note 4 should work, the dual SIM note 4 and exynos note 4's are a WIP
[Sprint  Galaxy Note 4 General] Smuuv:
Edit: I'm going to download it again and retry. I may have been an incomplete download.

I forgot to ask if the Sprint ROM can be installed using TWRP. I made one attempt using TWRP but it said the zip file was corrupted. If another installation process is required, can you point me to a guide?
[Sprint  Galaxy Note 4 General] tigerpro357:
I currently have just my installable zips for TWRP, the official installer will have a custom Recovery and be automated once I get there, but it should be just download the zip, install in latest twrp (Im using 3.3.1) and it should boot. I post the MD5 of each zip that way if you get a corrupted zip error you can MD5 check it and see if its corrupted
[Sprint  Galaxy Note 4 General] Smuuv:
It was a corrupted download, sorry about that. I should have retried the download before asking. :) It's installing now. Sorry to bother you but I appreciate your time.

---------- Post added at 03:49 PM ---------- Previous post was at 03:37 PM ----------

Just wanted to report back that it installed successfully. Thank you and everyone else who contributed to this project to make this possible. You guys are awesome!
[Sprint  Galaxy Note 4 General] pio_masaki:
Anyone having an issue with it asking for a passphrase despite one not ever being set? It doesn't actually do the username and password setup in the initial configuration, it does wifi, device name and time zone, then it's done. It'll eventually tell you to swipe down, then tell you to swipe right, and nothing else. If it locks after doing the name step it'll ask for a passphrase to unlock as well as terminal.

I never set one, and the device has been fully formatted multiple times, and I've used all the usual default passphrases for UT. Is it just me? I tried 2 zips so far with differing dates, both do this. This didn't occur on my OP3, it seems to be specific to this device.

Also, I see mention of a telegram for the note 4 ubport but never the actual links for it, is it posted somewhere I missed? I'm in the ubports telegram, have been for quite some time lurking, but a device specific one would be nice as well.
[Sprint  Galaxy Note 4 General] tigerpro357:
Pass is either 1234 or 7986
[Sprint  Galaxy Note 4 General] pio_masaki:
So it ended up being 7986, I tried 1234 just trying out stuff earlier. Is this particular number mentioned anywhere for a passphrase by default? I searched for quite a awhile and never saw that one mentioned.
[Sprint  Galaxy Note 4 General] tigerpro357:
That is actually the passphrase I set on test builds, the test builds wont have certain fixes that the regular date builds (like trltexx_<date>) wont have. if you got the OD one, that might not have a working cellular signal because I didnt apply the patch before creating the zip. you can change it to whatever youd like in settings
[Sprint  Galaxy Note 4 General] twfs:
First off I would like to thank the OP for this project . I have a 910T that I was finally able to get this on by using one of the TWRP flashable zips, I kept getting a bootloop when using the ubports installer. If you need a tester for anything I would be more than happy to help you out.
[Sprint  Galaxy Note 4 General] tigerpro357:
a bootloop? hmm, that is weird, if you can, can you try to get some logs from the installer build? that will be useful for booting, I dont remember if its ram_oops or last_kmsg
[Sprint  Galaxy Note 4 General] pzoe:
I have Note 4 Exynos variant. (SM-N910C)

Can anyone point me in the direction where I can get ubuntu touch on my device.

Currently Im using sailfish os and I want to try ubuntu touch as well.
[Sprint  Galaxy Note 4 General] tigerpro357:
Hello, as of this writing, there has been no work done to get Ubuntu Touch working on the Exynos variant. You could likely use the work for Sailfish to make a port for Ubuntu Touch as Ubuntu Touch uses halium to boot.
[Sprint  Galaxy Note 4 General] tigerpro357:
Hello again everyone, it's been a while since I've posted here. I know. However, I am officially not working on this port anymore, I just don't have the time to devote to working on it at this juncture of my life, the source is all available on my GitHub if anyone wants to continue where I left off. I came to this decision after looking at all the factors, the biggest one being lack of time to work on it, the next being my carrier no longer supports Note 4's, the port I would say is prob about 70% of the way there.

Things not working:

Call Audio

Camera

Things that are partially working:

BT (there is a backports solution that may fix this, the toggle also only works to turn BT off, it doesn't turn back on)

The Power subsystem (screen turns back on continuously when trying to lock the phone)

Rotation is a little wonky with some apps, not sure what it would take to resolve this

I hope someone can pick up and finish this, even as a tiny tablet with LTE if nothing else, but as I said, I just don't have the time to devote to this project at this point in time.
[Samsung Galaxy Note 8 Questions and Answers] naruto.ninjakid:
Note 8 : Options for Root Users

When T-Mobile started locking bootloaders on their devices I decided to not get the T-Mobile variant of the S7 edge and decided to get the unlocked version of the S7 edge. Luckily there were some developers who catered to T-Mobile users on the international variant and they enabled us to flash the T-Mobile CSC on their ROM’s after they made some modifications. This enabled us to run their Rom’s on T-Mobile while getting many things like Volte and Wi-Fi calling working. I’m wondering if this will be the same case with the Galaxy Note 8. I know we lose Samsung pay and Knox but there are many other benefits that we get with root that I have not been able to get on stock ROM’s. I’m currently running a S8 ROM on my s7 edge so I get extended use out of my device and I can also control any aspect of it I would like. Having Magisk also enables you to use android pay so I would much rather have root. Anyway, I wanted to see if there were any other users like me using T-Mobile and hoping for some support using international devices and ROM’s. I could survive without Wi-Fi calling but after hearing the quality in calls made over voice over LTE and T-Mobile decommissioning its HSPA in favor of VoLTE it quickly becomes apparent in the future we will need VoLTE. I assume one day Samsung may lock bootloaders on all their devices and that will be a dark day indeed.

Some root apps I use that I have not found good replacement for

•	Viper4Android

•	AdAway

•	Titanium Backup

•	BetterBattery Stats

•	Being able to undervolt or control kernel performance
[Samsung Galaxy Note 8 Questions and Answers] mardukeme:
Instead of Adaway, I use dns66 on non rooted devices, which is decent, and barely uses any battery life. Also gives you a option to import other hosts, bypass blocking for certain apps, and use custom dns servers.

I also have PIA vpn which has an option to block ads within the app, but seems to have a effect on battery life. Here is a link to dns66 github.

https://github.com/julian-klode/dns66
[Samsung Galaxy Note 8 Questions and Answers] mdiaz33685:
for the S8+ tmobile variant - before root, I was using adhell its free also has a package disable built in also, it doesn't disable everything but enough to feel happy as well as Samsung allowing us to disable more system apps than the Note 4,

I really was surprised by disabling system apps without issues, they are tending to our wants so we don't root, but I love my call record feature and that was the 1st thing I enabled with root.

also about the unlocked version... what some are doing is flashing the original Samsung firmware from tmobile or whatever provider they have by mixmatching and Odin flashing CSC and Modem if they preferred to the unlocked and having the wifi-calling feature, all the phones including sprint Verizon, were are all the same phones, and the firmwares have multi-csc for the other carriers to make most of the features work.

look at the Samsung galaxy S8 and S8 Plus area for more info... :good:
[Samsung Galaxy Note 8 Questions and Answers] naruto.ninjakid:
I use that as well on some non rooted devices I have but it doesn't work as good as adaway. I find alot of in app ads make it through.
[Samsung Galaxy Note 8 Questions and Answers] mardukeme:
If you goto the Apps tab, and select the cog wheel, and select No apps bypass by default, instead of System Apps bypass by default. Seems to fix the ads appearing in app.

Need to figure out which system app is causing the ads to appear. If someone figures it out let me know.

***Edit***

Might have figured it out the ads stop showing in apps. In Dns66 under App section enable show system apps, then scroll down to the below, and click the tab so it turns grey.

1.) Android System Webview

com.google.android.webview

2.) HTML Viewer

com.android.htmlviewer
[Samsung Galaxy Note 8 Questions and Answers] naruto.ninjakid:
Will try this. Thanks
[Samsung Galaxy Note 8 Questions and Answers] Haloman800:
It's safe to assume that root won't be available for the tmobile note 8, correct? If so, that's a bummer, considering they have the best promotion (buy 1 get 2)
[Samsung Galaxy Note 8 Questions and Answers] MicroMod777:
Root on the Note 8 can be theoretically done if someone can get the same type of files used on the S8+.
[Samsung Galaxy Note 8 Questions and Answers] jfarhat:
Wasn't there root for the T-Mobile Note 7 (short lived as it may be), I believe root was possible...unless I am mistaken, why would it be different for the T-Mobile Note 8?
[Samsung Galaxy Note 8 Questions and Answers] GuestK00136:
My concern regarding root is not that it IS achieved but what Samsung will actively do to prevent it with future updates.

Case in point:

wccftech.com/samsung-bug-bounty-200000/

It's becoming painfully clearer with each iteration of flagship Galaxy that Samsung wants to rein in any outside control.
[Samsung Galaxy Note 8 Questions and Answers] louforgiveno:
Not mistaken, still rocking mine at the moment, root, 100% battery charge etc
[Samsung Galaxy Note 8 Questions and Answers] vasra:
Sorry, rocking which phone (Note7 or Note8)? Which variant (Snapdragon / Exynos)?

How did you root?
[Samsung Galaxy Note 8 Questions and Answers] jadaress1:
Guess he's talking about the Note 7 as he mentions still having 100 percent battery charge
[LG G5 Questions & Answers] juancastro86:
I just wanted to find out, if anyone knows what is the next OS we are going to be getting. Ist going to be 7.1.2 or straight to 8.:D
[LG G5 Questions & Answers] thunderc8:
Probably 8, they said we will get android 8 so i don't see any reason why they should spend time preparing android 7.1 for our device.