yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Original Android Development] FalconXT:
L720T Bug :v

Touchscreen won't work once screen it's off or locked

i'm mexican, it's ok if i have some mistakes writing in another language than spanish :v
[Galaxy S 4 i9505 Original Android Development] side:
"L" to the "O" to the "G"
[Galaxy S 4 i9505 Original Android Development] aelfinn:
One small bug that I have found: If you choose “Circle” as the battery icon, there is no way to hide the battery percentage or display it in the icon. Both settings only work for “Icon portrait”.
[Galaxy S 4 i9505 Original Android Development] maxdido:
I can confirm. Percentage is on the right side of icon.
[Galaxy S 4 i9505 Original Android Development] a_trigom:
how do I give write permission on the sd card to all applications? Even the camera doesn't save the photos to the "camera" folder

Any help? I'm using the version 4, clean install
[Galaxy S 4 i9505 Original Android Development] Eastrider1006:
The touch problems have happened on other ROMs and recoveries. Apparently, the culprit was that some people had replaced the phone screen (after cracking it or whatever) and the new screen was not from the same model (non GT-i9505 screen on a GT-i9505, or a very common one, using the russian Black GT-i9505 screen on a global model, since apparently the screen hardware is different?)

I also have the same problem, and it happens both on the latest TWRP recoveries and in some ROMs.
[Galaxy S 4 i9505 Original Android Development] jasck32:
A lot of apps by that names
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
I was stupid, fiddled with the knobs, and now I need help. :(

In the Buffcore app I went to Miscellaneous and for no justifiable reason selected "Enforcing" for "SE Linux Mode". Within a few seconds the phone froze and got totally irresponsive. Not even the power button would work. So I took out the battery, put it back in, and started the phone. But the changes -though not explicitly stored- seem to be applied a few moments after booting into the system and the phone freezes again.

How can I undo this? I'm hoping to only have to edit a certain text file from the shell via TWRP or something.

Man, I hate it when that happens... :(
[Galaxy S 4 i9505 Original Android Development] liammc83:
I don't see it in go v4, But easiest fix in twrp, Just use file manager and remove app completely. Maybe ?
[Galaxy S 4 i9505 Original Android Development] Buff99:
on the way out the door, but first thought...

try booting to safe mode if rom allows... can't remember the button to hold while booting, but search....

I don't think a dirty flash will fix.

Or in twrp remove the setting file for Buffcore app, will have to investigate where tho
[MENTION=5968293]side[/MENTION]
[Galaxy S 4 i9505 Original Android Development] pocketrule:
I don't think that was stupid, I'm also eager to test if selinux already works :angel: (although chances are low due to the early stage of development)

you could try the following: in twrp file manager search in the following folder

/data/data/[folder of buffcore]

for a file named commands.json

and delete (or better) rename it
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
Thanks guys for the support! After many experiments I found a way around it. But you have to be quick before the Buffcore settings apply.

After booting up, I used the few seconds before the freeze and went immediately to the Buffcore app, went to the misc settings, disabled the "apply on boot" switch and selected "Permissive" again. Exited the Buffcore app and restarted.

That did it.

It was a race of me against the app, but eventually I took the better of it. Yay!

Amazing, though, that this innocent looking selection value in the settings can render the device next to unusable in no time.

By the way I noticed I haven't made a backup in a long time. Harsh reminder, that was.

I'm relieved!

Thanks again and good night everybody.
[Galaxy S 4 i9505 Original Android Development] Buff99:
Good job!

Yeah SE Linux enforcing... aint gonna happen for a while, if at all...

It's usually the last thing you do after all the implementation and hardware bringup.

Nandroid is your friend...
[Galaxy S 4 i9505 Original Android Development] Kaetaax:
First of all thank you very much to all the JDC Team members involved in this proyect, it's the best and fastest rom I ever installed in my sgh i337m.

I have a little cuestion, did anyone managed to get viper4android working? Allready did a search on the thread and didn't got any results. Once again thank you for the amazing work here, for real.
[Galaxy S 4 i9505 Original Android Development] Buff99:
Use viper4androidfx from magisk downloadable modules
[Galaxy S 4 i9505 Original Android Development] Kaetaax:
Thank you for the fast answer! I literally just started the phone after trying with a magisk module and it works, for some reason the first installation didn't worked but it's working fine now. I promise to tweak more before asking next time. :victory:
[Galaxy S 4 i9505 Original Android Development] Omitsch:
Same problem here. Also the touch dosen't work when I boot into TWRP. Does this have something to do with the kernel? And Is there a fix for this problem?
[Galaxy S 4 i9505 Original Android Development] side:
Yes it has to be the kernel... It doesn't support your 3rd party screen you replaced.
[Galaxy S 4 i9505 Original Android Development] volja1971:
Dose anyone knows how to get root back?
[Galaxy S 4 i9505 Original Android Development] side:
rom comes with preinstalled root access....or else, flash the latest magisk
[Galaxy S 4 i9505 Original Android Development] volja1971:
Thank you brother! I know it should, but for some reason root was lost. I have installed latest ROM and used as suggested TWRP. I think TWRP remove root and. ROM did not fixed the issue.

I found the way to fix it, I just did flash SU update from TWRP and got root back.
[Galaxy S 4 i9505 Original Android Development] Dontral:
Hi, can anyone put a battery consumption screenshots for make an idea of this rom please
[Galaxy S 4 i9505 Original Android Development] Catscratch:
This?
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
:-o

How do you get 1d10h out of the S4 battery?

Mine never lasts more than 12 to 15 hours (if I actually use the phone and not let it sit on the table all day).
[Galaxy S 4 i9505 Original Android Development] Dontral:
I confirm, 1d10h it's huge!
[Galaxy S 4 i9505 Original Android Development] Mac Allan:
Another thing I like about you developers, is the magic you integrate in the WiFi connection. I hardly enjoy internet with WiFi on Samsung's stock lollipop firmware.

THANKS :o:o:good:
[Galaxy S 4 i9505 Original Android Development] rboy28:
The screen on takes only 3% while the deep sleep takes 88% of the time, so he didn't use it so much and therefore the 1d10h is not surprising :)
[Galaxy S 4 i9505 Original Android Development] nickhere:
battery

This is a battery problem get a new battery asap. maybe better to order a extended battery from aliexpress
[Galaxy S 4 i9505 Original Android Development] Catscratch:
I'm putting phone to airplane mode over night. Also I got wifi at home and at work which saves a lot of energy. And I'm using an Anker battery.
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
I don't get to benefit from such power savings measures over night as the phone merely gets me through the day. Mostly not even that. I'm working from home, so I too have WiFi 24/7. So this can't be the reason alone. I'm using a RAV Power battery. Then it must be the Anker battery.

However, I felt that battery usage was better in Oreo and even the first two Pie builds. But I can't put my finger on it if and when it really got worse.
[Galaxy S 4 i9505 Original Android Development] side:
on the first 2 pie builds,no sensor was working..so noone was draining you energy :P

i can build a rom that could last 2 days but it wont be able to even make phone calls :P
[Galaxy S 4 i9505 Original Android Development] SrJardel:
I've been away from messing around this stuff but I havê just finished setup LOS 16.0 + Magisk + NanoDroid/microG/F-Droid on my MotoG Titan and I am very happy with the results.

It's ok to go the same approach with i9505? I mean, to flash LOS without Gapps/root, then Magisk and so on?

Anyways, thanks for the awesome work, much apreciated.
[Galaxy S 4 i9505 Original Android Development] InTheY2K:
Yeah, but even the first two builds didn't get more than like 18 hours out of one battery charge. Amazing how [MENTION=4537447]Catscratch[/MENTION] manages to stretch it to 34.
[Galaxy S 4 i9505 Original Android Development] Catscratch:
Another thing I did is a fully dark themed system. Nearly any app is themed by substratum. But this should not be such a big impact. However. It has an effect on amoled displays.

I don't know. Try to check how much deep sleep your cpus got. And maybe check your wakelocks.
[Galaxy S 4 i9505 Original Android Development] :
I didn´t realized less draining, but I think I ´ll check this.

is it possible to disable sensors?
[Galaxy S 4 i9505 Original Android Development] sammez:
Bluetooth audio problem

This is not a groundbreaking problem but it's pretty annoying.

This only happens when i am connected to my bluetooth receiver.

Okay, so the problem is when i turn the volume up it's normal for the first five steps or somewhere around there, then on the sixth it gets super loud then at fith it gets normal and then on sventh it gets loud again and so on.

Pretty annoying.

Anyone else with this problem? And does anyone know a fix
[Galaxy S 4 i9505 Original Android Development] side:
a new build comes with bt fixes
[Galaxy S 4 i9505 Original Android Development] Leonardo d.T.:
Dear community,

I've been running the light version of Optimized lineage OS since November last year, glad to have found such a slender rom. But recently an issue appears more and more often: While calling the phone will suddenly shut down and reboot. I do not use a headset or ear phones.

Another issue has been there from the beginning: While in use, the screen will suddenly flash up in violet and turn black. Then I have to press the power button once as if the screen was still on and I'd turn it off. Now the home or power key will wake the screen normally again.

As I did not see that in other custom roms I used before, also the words "Set warranty bit: Kernel", appearing as long as the Samsung logo is visible during boot up, are a bit strange to me.

I'm writing to ask if anyone stumbled upon these things, too, even though I couldn't find any information about it searching this thread. Would installing the normal Optimized LIneage OS be a quicker solution than searching for solutions to these issues? I'd be glad about your suggestions.

I'm running the light version of Optimized Lineage OS 16 on an GT-i9505 without gapps. I use Magisk v.18.0 and TWRP 3.2.3-0

Thanks

Leo
[Galaxy S 4 i9505 Original Android Development] Israelleite:
I think that I know what the problem is.

I left my phone playing the 10 hours video of Nyan cat.

It last for 3 hours non stop from 100 % to 3%.

BUT

If I´m using my phone, on 4G, on the way to my work or home (by train) using several applications like facebook, whatsapp, tinder and so on. Feels like that the battery can´t keep up the amount of electricity being drain at once and it turns off .

I´ve read some where in the interwebs that it´s a kind of protection when the AMPERAGE gets too high .

Is that a way to solve this issue or bypass this "protection " ?
[Galaxy S 4 i9505 Original Android Development] nickhere:
I don't know the fact is your battery may be bad now. the only way I know to test it is to return to stock no added apps let it drain stock and see what you can reboot at. i wonder if there a app that reboot the phone every hr and drains and logs the battery percentage
[Galaxy S 4 i9505 Original Android Development] Kaetaax:
The best I can say as an user is that you should try providing some system logs as stated in the OP.

For the startup screen message, I've seen that message since I started flashing ROMs a while ago, I'm thinking thats pretty normal, anyone correct me if I'm wrong here.
[Galaxy S 4 i9505 Original Android Development] zzzz271:
No touchscreen usage after screen locks

I just did a clean install of OLOS 16 and it seemed to be working fine, until I hit the lock button, upon doing that, the touch screen is non responsive, but does take input from a mouse vis USB OTG. I saw a few other people had this issue with the search function, the only one that got a reply was saying his touch screen was replaced, and mine has not, everything is as it came from the factory. I also noticed the author was asking for logs, which I would be happy to provide if someone could instruct me or point me to instructions on how to do that. I am using a SGH-I337Z, with OLOS 16 and TWRP 3.2.3.0, the jflte version.
[Galaxy S 4 i9505 Original Android Development] pocketrule:
you could have a look here:

https://xdaforums.com/showpost.php?p=78814175&postcount=5
[Galaxy S 4 i9505 Original Android Development] zzzz271:
Alrighty, I had to reinstall the old version, but will reinstall v16 when I get time, get logs and send them if it happens again.
[Galaxy S 4 i9505 Original Android Development] Eastrider1006:
Mine is not third party, just from a model that is not the GT-I9505.

Would any LineageOS based kernel work with this ROM? Like for example, if stock Lineage kernel from Nougat has no screen touch problems for people with a different panel (tested), could it be flashed on top of this ROM safely? Or I must find a kernel specifically made for Pie?
[Galaxy S 4 i9505 Original Android Development] dpbaril:
Upgrading jfltecan - Novice Custom ROM User Question

Novice Custom ROM User Question

I have just got the JDCTeam LineageOS 14.1 up and running on my jfltecan . It is Amazing! Now trying to move up the chain toward Oreo and Pie but I can't get beyond TWRP 3.0.0-0 . I've tried updating the recovery both in TWRP itself and with Heimdall but the device will not boot into recovery. It boots the system okay and boot mode works but the recovery mode does not load, just sits at the splash screen and does not go anywhere.

The idea of using the jfltexx TWRP sounds plausible but, earlier in my attempts I had a jfltexx ROM working (from https://e.foundation project) but the mobile networking did not work (no phone or SMS) but that might have been a problem with the other ROM.

Any comments or suggestions welcome. Be gentle, I'm a newbie!
[Galaxy S 4 i9505 Original Android Development] cawli2:
Check out post #586. Worked for me.
[Galaxy S 4 i9505 Original Android Development] dpbaril:
Eureka! The generic TWRP for jflte at https://dl.twrp.me/jflte/ worked for me!

Successfully booted to recovery TWRP 3.2.3-0.

Next up - LineageOS 16.0!

Thanks!
[Galaxy S 4 i9505 Original Android Development] DoughMucker:
Interesting. I hadn't used the mobile networking functionality with the xx verstion of twrp, as it's not my primary phone. But when I plugged in a SIM, networking wasn't available. I changed twrp to the generic version in the other post and networking works.
[Galaxy S 4 i9505 Original Android Development] Leonardo d.T.:
Thanks for your quick reply. I will try to provide some logs as soon as possible. Need to read on how to use SysLog properly, as I don't understand how a log, taken right in the moment where I press the button, can contain the relevant information if it's not running while the issue occurs.

I'll be back.
[Galaxy S 4 i9505 Original Android Development] Buff99:
Logs are always running from the moment you boot your phone.

You are just using an app to capture a snapshot at the time of button press.
[Galaxy S 4 i9505 Original Android Development] side:
Changelog:

Date:09-February-2018

Version 5

md5:46ef88d30c5984b4f74dc27331ba10b5

Changelog:

bionic:Use libarm-optimized-routines instead of freebsd, and optimize them

More details at our bionic and arm routines

bluetooth: Fix calls and voip calls ( Under some rare situation, the BT breaks and a reboot is required)

bionic: Optimized math operations and memory management functions for our ARM core

Back to open source camera and also deoptimize the speed.I prefer stability

Rename sensors lib.Suppose to wrap the sensors with a better way

jf: Correctly declare the dexpreopt

Initial Aroma Release and support

Fully updated Gallery app

Fully update intergrated SU system

Launcher3 updates from upstream

jf: Enable outdoor mdnie feature ( Settings/Display/LiveDisplay/Mode/Outdoor cause even more brightness than maximizing the brightness)

Initial Aroma implementation ( Get it from here )

Enable memory optimizations

Wallpaper for release 5

Stop some logcat spam

Allow user to add/remove QS with one click

Build Live Display 2.0 HAL

Remoe Brave/BuffCore/Mixplorer. Exists in aroma

Allow change QS icons number per row/col

mDNIe scenes (settings/display/advanced)

jf: Reenable libshims for libcutils

Camera edits

Set MAX_EGL_CACHE_KEY_SIZE := 12*1024 and MAX_EGL_CACHE_SIZE := 2048*1024 ( More details Here )

GPS Edits ( Moved all GPS parameters inside overlays and use Google's server )

Faster UI animations

Precache some UI animations in order to be smoother

Bring back some libs ( Please test SIM card removed issue and encryption )

Allow BT navigation

Upstream merge until 6-Feb-2019

Update to r31

February security patches
[Galaxy S 4 i9505 Original Android Development] liammc83:
Thank you for the continued support for our older device. Will there be another go version released as well.

The space the go version uses as well as the battery life are simply amazing.

Only error we have is when making a call, the screen turns off, and will only turn back on when the other party hangs up, on the non go version, the phone just reboots when trying to make a call, or answering a call. This happens on the sprint 720t model, but also did the same on Oreo.. Only the go version let's this phone work.

Everything else is spectacular, so thank you so much.
[Galaxy S 4 i9505 Original Android Development] side:
Send me a pm please
[Galaxy S 4 i9505 Original Android Development] tneot01:
For the 5% in 9hr I was running Naptime and Servicely which actually do stuff to improve battery life on doze
[Galaxy S 4 i9505 Original Android Development] xell75:
For me it's working. Maybe you accidentally clicked that you always open it with your File Manager. [MENTION=5322828]rw_on_xda[/MENTION]
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
Yep, obviously I pressed something wrong (somewhere in the first screenshot) !

Need to figure out how to reset this ...

BTW: Berlin greets Berlin :cool:
[Galaxy S 4 i9505 Original Android Development] xell75:
I explain it to you, first you open up settings, then tap on "Apps", then tap on "show all apps", then tap on that app that you accidentally gave the right to open up always, then tap on "expand" then tap on the "Standard app" thingy and then tap on "Reset as Standard" hope it helps. (Te pics are just a example for what I explained) Greeting back :)
[Galaxy S 4 i9505 Original Android Development] steini81:
Hi!

Does this rom support softwarebuttons for navigation?

I am currently in RR-O v6.2.0 wich supports software navbar.

The hardware buttons on my GT-I9505 are broken so i can't use a rom without software navbar.
[Galaxy S 4 i9505 Original Android Development] ikwerner:
You are in luck I just tested the software button setting and they work.

If you do not have much spare time though maybe you should atleast wait for v2 of this ROM.

Not sure but it will probly be released in the next few days/weeks
[Galaxy S 4 i9505 Original Android Development] rw_on_xda:
Thanks !
[Galaxy S 4 i9505 Original Android Development] xell75:
No problem, whenever you have a question, just ask. I know alot about the android system settings and stuff.
[Galaxy S 4 i9505 Original Android Development] steini81:
Thanks
[Galaxy S 4 i9505 Original Android Development] DerHimmel:
I ask, please, if the GPS works well enough. adding ro.gps.agps_provider = 1 to system / build.prop is recommended for an even better fix? Need an app like Root Explorer, with root permissions, to do this? In the next release will be added in the ROM or should you write again? Thank you.

-------------------------------------------------------------Disclaimer-----------------------------------------------------------------

Translated with Google translator. I apologize for any errors or incorrect words.
[Galaxy S 4 i9505 Original Android Development] xell75:
I done it now, since my phone acted up more and more weird, like apps not Opening anymore,starting to randomly hanging and made my device unuseable, only a reboot fixed it, so I decided to went back to ext4 again for now.
[Galaxy S 4 i9505 Original Android Development] dVinsmoke:
JDC AOSP PIE 9.0 It will be released? :)
[Galaxy S 4 i9505 Original Android Development] Buff99:
Never
[Galaxy S 4 i9505 Original Android Development] demesa1g:
patiently waiting for version 2.... :p
[Galaxy S 4 i9505 Original Android Development] Buff99:
Are you on our slack group?

Cause that way you will see it soonest / may even get sneak previews in future...
[Galaxy S 4 i9505 Original Android Development] side:
No but an AOSP based ROM made by JDC will come.
[Galaxy S 4 i9505 Original Android Development] demesa1g:
Yes I'm in and from discussions there I'm very much excited with the huge developments by the team. Proud of you guys. :victory:
[Galaxy S 4 i9505 Original Android Development] xell75:
Wow, never thought deep sleep would improve that much only cause I changed the fs from f2fs back to ext4.
[Galaxy S 4 i9505 Original Android Development] zubair1836:
wow <3 , Tested it, works great. Will be using it as daily driver once the key mapping and sensors are fixed :) Good Luck There
[Galaxy S 4 i9505 Original Android Development] Buff99:
PM me and let me know your name on slack, just out of interest. Cheers!

---------- Post added at 11:51 ---------- Previous post was at 11:48 ----------

:eek:

---------- Post added at 11:53 ---------- Previous post was at 11:51 ----------

Already fixed on in-test version; soon....
[Galaxy S 4 i9505 Original Android Development] side:
aroma link is fixed.please recheck it and download again
[Galaxy S 4 i9505 Original Android Development] albro01_:
I was reading the version 5 change log, is root solution already installed or I am just fool?
[Galaxy S 4 i9505 Original Android Development] Chibbo:
Yes, it has built in root, but you can use magisk if you want
[Galaxy S 4 i9505 Original Android Development] DerHimmel:
Good morning. I installed version 5 I tried the gps and it's great. It works perfectly. FIX very fast. Thank you for your work and your commitment.

Translated with Google translator I apologize for errors or incorrect words
[Galaxy S 4 i9505 Original Android Development] Bodenseematze:
I just upgraded to Release 5.0 - currently it seems everything is working :D - really good job!

BTW, I also solved my problem with the ringtones.

I'm not sure if the solution is really correct - but at least it works now!

I have an application called "Sounds" (? In German: "Töne", com.google.android.soundpicker) which I gave the right to access the storage (In Germen: "Berechtigung 'Speicher').

After that I was able to add own ringtones to the list of available tones :cool:

BTW, how can I remove entries from that list again? Where is this list stored?

I accidentely added some of the tones twice - leading to duplicated entries in the list...
[Galaxy S 4 i9505 Original Android Development] ralfbergs:
Eh? I cannot see how a different recovery version could change your ROM's networking behavior?!
[Galaxy S 4 i9505 Original Android Development] dpbaril:
To make sure I understand - did simply changing the version of TWRP affect the network or did you have to re-flash the ROM with the new recovery? I suspect the latter but asking just to be sure.

Thanks,

David