yashsingh1/xdaforums huggingface dataset:
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
(Or someone could try the new cmspen I posted a few days ago which is free.)
[Galaxy Note 4 Android Development (Snapdragon)] Chimbat:
Of course mate! I'll do now, just need to find your post.

Edit:

Oops! Just read your post page 142 and we need somebody to make a build with your cm spen... I just installed ripee build from 0326... And apparently it's not there.

Anybody to cook a build with it ? [MENTION=5607183]jef_00[/MENTION] [MENTION=6847876]_mone[/MENTION] [MENTION=6005084]ripee[/MENTION] ?

using 910G / Govtuner 3.8
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
It'll probably need a little work to get it working... Unfortunately like 6 months ago I looked at my phone and the pen had fallen out, so I can't test beyond building it. Probably will need a sepolicy to allow the pen status to be read. _mone or Jeff can try it but it did used to work....
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
I didnt merge anything because I dont know how.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Oh all you have to do to build it is:

1. Add my repo to the local manifest. Put it in packages/apps/CMSPen or package/app or whatever it is..

2. In device/samsung/trlte-common/trlte.mk. add CMSPen to the list of built projects

Then sync and build as normal. Hopefully when it's done you'll see the apk in /system/priv-apps
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
You lost me after "Add my repo to the local manifest".

Whatever, I'm sure [MENTION=6847876]_mone[/MENTION] or [MENTION=5607183]jef_00[/MENTION] can do it faster.
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
All you do is modify .repo/local_manifests/roomservice.xml

add before the </manifest>

<project name="fat-tire/cmspen" path="packages/apps/CMSPen" remote="github" />

This adds the project to packages/apps/CMSPen the next time you repo sync. Now that you've added the source code, you need to configure the device so that the project will actually build. (Not all the projects which have source will build automatically, you need to say "build this one..")

So add to device/samsung/trlte-common/trlte.mk

PRODUCT_PACKAGES += CMSPen

Then repo sync. That's basically it, assuming no typos/brain farts.

ft
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
So cmpen is being integrated into the rom? Cool
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
Go on [MENTION=6005084]ripee[/MENTION] you can do it! You have my support :good:
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
I don't think anyone should be pressuring [MENTION=6005084]ripee[/MENTION] to do anything like this, he is taking his time to provide us daily build from others sources, if they choose to do it, they know how and will if they want, we are all keen to see things progress and they are very well, let's not have multitudes of builds out there when the work done by mone and Jeff is coming on fine, I'm sure if you make requests to them they will do their best for you. Or i think mone has a guide on how you can make your own build?
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
No no, I'm just saying how to add an untested version to the rom if he wants to try it. Since nothing works the first time, I'm expecting some tweaking will be needed before it works...
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
oh, anyways... Im noticing i dont get 4G but i do get 3G and LTE. Is this normal?
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
What region are you in? I've never seen mine actually say '4G' but 3G, H, H+ and LTE (which is 4G). Some further information on this can be found in post #1386.
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
I'm in San Antonio, Texas. United States. North America

---------- Post added at 07:26 PM ---------- Previous post was at 07:20 PM ----------

I'm in San Antonio, Texas. United States. North America
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Yes, it's normal. 4G in the status bar is a marketing trick popular among American carriers. For the purpose of knowing the speed at which you're connecting, LTE on Lineage = 4G on stock.

---------- Post added at 07:34 PM ---------- Previous post was at 07:29 PM ----------

If this works, perhaps [MENTION=6847876]_mone[/MENTION] will be willing to add that line to his trlte-common repo. If I ever recreate my build environment again, I will forget to do this manually. I build for many devices and repo sync for each one.

[MENTION=5748903]Luminar2010[/MENTION], I have no problem trying it out, but as I've written many times, I don't pretend to have any real knowledge about developing Android.
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
I'm not sure if US carriers usually show '4G' in the status bar or not but I know that US carriers often market HSPA+ as 4G even though it is 3G, so if you're only seeing 3G and LTE you must be in an area that provides LTE signal ('proper' 4G) while the 3G signal does not have HSPA ('H') or HSPA+ ('H+' or maybe '4G' in the US).

By the way - San Antonio is a very nice city, visited there (for a couple of days) a long time ago (2005) on our east-west road trip :)
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
US carriers actually show 4G on the status bar. But I'ma try to see if I see HSPA+ I'll report back thanks for the advice
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[MENTION=3041959]fattire[/MENTION]

# CMSPen
PRODUCT_PACKAGES += \
CMSPen

Is this the proper notation in trlte.mk?
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
dirty flashed from 3-24 with 3-27 tmobile zip and i noticed a improvement on snapchat. Snapchat is less buggy. i havent received an update from Snapchat but the dirty flashing made it better. theres still no Android pay but i believe someday it will become a reality
[Galaxy Note 4 Android Development (Snapdragon)] happy2472:
First off IM BACK ban lifted .. second since ive had many issuez flashing any lineageos and even lifted 7 roms ... would changing to F2FS help my situation??
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
Looks good to me. All the backslash does is basically tell the system to continue with the next line.. it's a 'safe' page breaker, so that

PRODUCT_PACKAGES += CMSPen

is the same as

PRODUCT_PACKAGES += \
CMSPen
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
Hi [MENTION=6005084]ripee[/MENTION]

You seen to getting on with this new change cool! I wanted to ask you if you have the spen commad zip? I seem to have deleted by mistake look I install on my previous backup ROM!
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
CMSPen doesn't work

I'm reminded why I didn't bother with the CMSpen app when fattire first made mention of it: it force closes as soon as I take out the S pen! I tried it both with the Add-On app from the Play Store and without it. CMSPen didn't have any effect on the Add-On app's functionality. CMSPen also doesn't have any effect on any S Pen-related settings, such as the pointer dot.

I just built trltexx with CMSpen and it's uploading now, trltetmo is building and will be up within an hour.

Sorry, folks, tomorrow's builds will be without CMSpen unless someone figures out how to make it work.
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
Take logs and we may be able to help you.
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
[MENTION=6847876]_mone[/MENTION], too late I went back to my previous build. I'm sure someone else will be willing to take logs.

Sorry, folks, but I just don't care about stuff like this. With all due respect to fattire's work on this app, aren't there plenty of other S Pen-related apps that mimic stock functionality more closely and that don't require integration into the codebase?
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
Not really
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
I'd agree, spen stuff for me is totally inconsequential, especially if there is other third party apps that do the job
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
I tend to disagree, with that being said, I would never complain about a rom not having it if I knew it from the start.
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
As you guys can see on my picture of the spent command that I post previously it's no part of the ROM it's an app and works fine on custom ROMs!
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
It's like the poor camera quality on custom ROMs, they really do suck compared to stock, even with different apps, it would be great to have it, but i doubt it'll ever happen
[Galaxy Note 4 Android Development (Snapdragon)] _mone:
Personally I forgotten that I have a spen attached to the phone, but I think that would be great to have an app (free, no ads) integrated into the system that can manage the spen functionality; most users would be happy to have it.

When I'll have a bit of time I'll see what I can do with it.. no promises though.
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
Can't argue that. Nor would I.
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
No need to be sorry, and for what it's worth I am the same and am more than happy with what's there in its basic form. Personally, I'd prefer anything more to be separate addons instead of built into the ROM - but that's just me; I don't use the additional functionality.
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
I agree you don't need to be sorry! :)
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
Strangely mobile standby is up at a whopping 37% of battery use on 0326 (both versions). This was a problem weeks ago but it seemed to settle down. Seems quite excessive...
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
Wow 37% that's a lot!

I'm using a different rom which on standby only uses 3% but normally doesn't go more then 5%
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
It's been great in previous builds, but 37% is not a good number, I'll see if it settles down...
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
Try using the battery saver and see if it helps lower the standby!?
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
Odd that. 5% here.
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
Are you guys on the same ROM update or different?

My I make a suggestion if you both do a cross check notes maybe it will help to find the issue?
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
Good call and no. 3/21 here for it's been flawless. S Pen and all. I am not certain why I didn't state that. My err.
[Galaxy Note 4 Android Development (Snapdragon)] Sharon TLV:
[MENTION=6005084]ripee[/MENTION]

Camera app crush when trying to record video.

Build 0327 trltetmo N910T.

---------- Post added at 11:51 PM ---------- Previous post was at 11:40 PM ----------

*** CMSpenCommand Is not working. ***

(0327 trltetmo N910T)

BUT there is a way to make SPen work,

you need a paid app from google play store,

and it will make your SPen work.

YOU CAN TRY AND POST YOUR REVIEW FOR MY SOLUTION:

This is my manual how to enable S Pen on Lineage 14.1

First,

Flash SuperSU (Must be rooted)

(Can be found here: https://download.chainfire.eu/696/supersu/)

Then download from google play these apps:

1. CM SPen Add-On

2. Note Buddy

3. Screenshot Crop & Share

Then set as follow:

1. Open CM SPen Add-on and set "DETECTION ENABLED".

2. Click "BUTTON FEATURES" and check "Enable if Button Events are not working correctly".

3. Click "ACTIVATE FEATURES IN NOTE BUDDY". (Note buddy will launch)

4. Set "S PEN" to "Enable" (using toggle)

5. Click "Notification" and turn on "Show Notification" (using tuggle)

6. Go back and click "Auto-Launch".

7. Set Auto-Launch to "Enable" (using toggle)

8. Click "+Blank".

9. Click "Shortcut" in the "Select Option" menu.

10. Choose "Shortcut" (The blue icon of the "Screenshot Crop & Share" App.) from the App-list.

11. Choose the second option "Create Screenshot")

12. Go back and click "Button Features".

13. Set "Single Press" to "Enable" (using toggle)

14. Click "+Select Application".

15. Click "Shortcut" in the "Select Option" menu.

16. Choose "Shortcut" (The blue icon of the "Screenshot Crop & Share" App.) from the App-list.

17. Choose the second option "Create Screenshot")

18. Go back, Go back, Go back, Go back. (EXIT ALL BACK TO HOME SCREEN)

*** Enjoy S Pen on Lineage 14.1 !! ***
[Galaxy Note 4 Android Development (Snapdragon)] SEB1109:
Tagging you since you seem to be the most interested in following up...

Not much to go on, and I'm not sure this is helpful, but I think the kernel needs to be permissive in order for the S-Pen apps to work.

-by the way, thanks for your continued support!
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
I can confirm this not to be the case. Just checked.
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
NEW BOOTLOADER and MODEM for SM-N910F Uploaded!

Build 2017-03-07 N910FXXS1DQC3

NEW BOOTLOADER and MODEM for SM-N910T Uploaded!

Build 2017-02-07 N910TUVS2EQB1_N910TTMB2EQB1
[Galaxy Note 4 Android Development (Snapdragon)] mr.raju:
does it support volte??
[Galaxy Note 4 Android Development (Snapdragon)] DIMITRISGR83:
Info..... Spen Command, work until 1.2.35 version. After this version doesn't work. I have this version and work perfect.

Στάλθηκε από το SM-N910F μου χρησιμοποιώντας Tapatalk
[Galaxy Note 4 Android Development (Snapdragon)] maz-b.:
I've this issue, too: 40%
[Galaxy Note 4 Android Development (Snapdragon)] ticky33:
I also have 29% !
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
Did you update anything else around the same time as 0326, such as boot loader and/or modem?

I'll check out mine today to see how it compares - I pretty much always charge overnight so don't have anything to go by after flashing 0326('v2', actually '0327').
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
That's too much!!!

As I suggested earlier it's best to cross check notes with the same people who doesn't have this issue, by checking the phone model what ROM updates they using, twrp also BL and CP etc...hopefully this way it will makes things easier for all of you and devs also!
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
No I'm sticking with dqa1 which is what I've always had, no plans to update modem etc until i have to. It did it weeks ago then settled down after a day or 2, so I'll see if it's the same this time
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
Nope. I'm not a dev but I think it's unlikely to happen anytime soon, if at all.
[Galaxy Note 4 Android Development (Snapdragon)] maz-b.:
Roms: 0318 (jeff) and 0325-0327 (ripee)

Bootloader: DQB4 (lastet stock for my model)

Baseband: DQB1 (lastet stock for my model)

TWRP: 3.0.2 official

SM-N910F Telekom Germany
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
First update your TWRP v3.1.0 and see what happens also try the new baseband for your model, that can make a difference!?

Edit: just make sure you do a backup before making any changes this way you can always go back to!
[Galaxy Note 4 Android Development (Snapdragon)] Magentium:
AOSP roms dont and wont ever support VOLTE for any time to come.

---------- Post added at 09:37 AM ---------- Previous post was at 09:36 AM ----------

Turn of mobile data when on wifi. Simple.

---------- Post added at 09:37 AM ---------- Previous post was at 09:37 AM ----------

Turn off mobile data when you are on WiFi
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
yeah i always do that anyways, it tends to be when a new rom is flashed it takes a day or 2 to settle down for some reason, it seems better today
[Galaxy Note 4 Android Development (Snapdragon)] fattire:
FWIW I updated cmspen to branch: "cm-14.1-test" -- _mone is testing but in JIC wanted to let anyone else testing to know. Looks like this:

<project name="fat-tire/cmspen" path="packages/apps/CMSPen" remote="github" revision="cm-14.1-test"/>

WIP of course. You should turn off selinux from the command line due to selinux denials (to be fixed if this works)

# setenforce 0

Here's the denial:

03-28 01:28:33.305 2703 2703 W ineageos.cmspen: type=1400 audit(0.0:263): avc: denied { write } for uid=1000 name="system@priv-app@CMSPen@CMSPen.apk@classes.dex" dev="mmcblk0p26" ino=286944 scontext=u:r:system_app:s0 tcontext=u:object_r:dalvikcache_data_file:s0 tclass=file permissive=0
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
For VOLTE take a Look Into this: https://www.gizdev.com/enable-volte-android-n-roms/

Follow the Install Instructions from the Site, and it Works.! I?m on Last [MENTION=6847876]_mone[/MENTION] Build, and it Works for Me. :)
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
I never do this (manually; shouldn't be necessary?). For what it's worth, I flashed 0327 this morning and I'm seeing mobile standby at 2% battery use in 1hr30min. That's all while on wifi.
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
Ive been on mobile data for about an hour and a half and mobile standby is at 6% which still seems a lot. Ill try todays build later then if it continues ill go back to 0321 which for me was the best build. Since then ive noticed problems with stability which seemed to have been fixed. Not as severe as they were, but its just not felt as good since then for some reason
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
Oh interesting, and thanks for the pointer. Which ZIP did you install specifically? There are a few on there, not specifically for LineageOS but three for CM14.1.
[Galaxy Note 4 Android Development (Snapdragon)] Graivite:
Guys, how to completly unroot LineageOS? Delete root and libaries. And how to root it again?
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
I turned off wifi and since I've been on mobile data only its battery consumption is going up (now at 3% after about 20 minutes on mobile data). I don't know if that's normal or not as I never really paid much heed to this before (most days I'm on wifi at home or at work). I'll keep an eye and report back :)
[Galaxy Note 4 Android Development (Snapdragon)] ripee:
Don't get me wrong, if you manage to get CMSPen to work and merge it into your repo, I'll build from it as usual. But until it works, there's no point in my integrating it into my builds or for anyone else who wants to build to end up scratching their heads as to why it doesn't work in their builds.
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
I used the INTERNATIONAL than the VOLTE Zip. If Youre not Sure get the CM14.1 One. Read the INSTRUCTION on the Site!

the VOLTE.zip must Installed as Scond One, than Clear DAVELIK Cache and Cache and Reboot Device.

My Device is SM-N910F with Clean Installed Latest Build from [MENTION=6847876]_mone[/MENTION] . And it Works.:)
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
I read about volte and still can't understand what actually does, do you get a better reception or a better audio? I never used so I don't know.:confused:
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
it uses the data signal to transmit voice, so the voice call is supposed to be clearer. in reality i find the voice to sound very brittle - its clear certainly, but for me it doesnt sound better - many prefer it though
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
Leaving it on mobile data for a few hours and it's crept up to 20%. I have used it a lot in that period but it seems very high? I did change my modem and bootloader recently so might try to go back to the previous one tonight.
[Galaxy Note 4 Android Development (Snapdragon)] Czarinajan0330:
The device uncertified on playstore is fix on the latest build? ..
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
The instructions are fine, but I'm not clear on which ZIP file(s) you used apart from the main volte.zip that's the "main patch".

On top of that, you need to install another ZIP for the ROM, but there are three listed for CM14.1:

"official cm 14.1" (VoLTE_CM_14.1_151216.zip)

"cm 14.1 v2" (VoLTE_CM_14.1_131216.zip)

"official cm 14.1 nightly" (CM 14.1 VoLTE 16.12.10.zip)

It could be that all of them work, though they have different contents inside the different files -- but which one did you use?

There is also the "universal patch" (VoLTE_v3_21-1-17.zip) but I think that's for the Redmi Note 3 that it was developed for.

---------- Post added at 13:46 ---------- Previous post was at 13:45 ----------

Yes, and I believe that will continue until we have (official) builds signed with release keys.
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
well ive never changed my BL and modem, so that seems to suggest they might not be the problem, i would say its the last 2 or 3 builds that ive noticed it creeping up again. Mine had peaked at about 10% today, and now its back down to 2% - so maybe it is just part of the stablising process after flashing a rom?
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
I don't know enough about the ins and outs to comment assertively, but it would sound slightly odd to me - in my case I had been on wifi for some time so any settling down the ROM needed should have already happened (mine was a dirty flash as well, anyway).
[Galaxy Note 4 Android Development (Snapdragon)] Luminar2010:
i know when i first started with these roms, my mobile standby was massive - after 2 days it went to normal low levels. it had remained low until the previous 2 builds, i too use dirty flash for the dailies. I think the percentage just shows how much of the used battery is used, so if there are no other processes using the battery, the things that are running will then be shown to use a high level of used battery. I cant say my actual battery drain is any higher, so it might all just be how its reported
[Galaxy Note 4 Android Development (Snapdragon)] Incarniac:
That is a good point; could just be that. Also, I'm the same with regards to overall battery drain (though I can't confirm for sure as my usage varies quite a lot between each day so it's hard to know for sure).
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
I would say there is a pattern in there but you will need a few days just to be sure it's right? By charging fully the battery and just monitoring the drainage.

Even if the usage varies from each of you it shouldn't be so high!
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
I Used this One :"official cm 14.1 nightly" (CM 14.1 VoLTE 16.12.10.zip)

Activate Root First. I`m in Permessive Mode! Can Changed with "SELinuxChanger".

But I got some Little Issue with it. At the Moment I Look Inside the Flashable Zip, for Fix the Settings.

Give me a Littlebit Time for it. Will see if can be Fixed, than I UL it !:)
[Galaxy Note 4 Android Development (Snapdragon)] Oldnobby:
By patterns I meant to say that there are BL&CP that works better on some ROMs and others that don't, by finding which one does better then excluding the ones that aren't so compatible?
[Galaxy Note 4 Android Development (Snapdragon)] viewsfromthepi:
Whats the purpose of the new bootloader and modem for the SM-N910T and how do i install it?
[Galaxy Note 4 Android Development (Snapdragon)] SUREFACE:
Download rhe Archive and Extract it with WinRAR or 7zip. The Actualy AP and CP in the Arvhive.

Open ODIN and put the APxxxx.tar.md5 in AP and CPxxxx.tar.md5 in CP.

Bring Your Device in Download-Mode and Connect it via USB to Your Computer..

Hit "Start" to Flash. No Other Settings must Done in ODIN.

Thats it. Your Device is UPDATED to NEW BL/Modem now.:)

If You wanna Install "LineageOS" its Important to stay on One of the LAtest BL/Modems from Samsung Marshmallow.

Older Ones cause Problems by Mobile Data Connections or BT.

When Youre coming drom an Samsung StockROM (One of the Latest Updates), You can Install this One from her, but its not a must.!
[Galaxy Note 4 Android Development (Snapdragon)] Modtronix:
3/ 21 has been my go to as well