yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] grzech007:
Wiping /data should be enough. If it isn't, try repairing the file system (in TWRP). You can also try changing the file system of /data to something else and then back to whichever you prefer (beware, this will wipe your internal storage too!). If this doesn't work, flash an official Samsung firmware package.[/QUOTE]

Only if after uploading the official stock, I will be able to upload LO directly to him?

or will I need some other Stock?
[Galaxy S 4 i9506 Android Development] corvus.corax:
I am glad/sad to see I am not the only one with this problem. When I first installed LOS in Sept or Oct 2017, I did not have this problem. Then after I updated in November I did. Reinstalling, even clean, does not fix it.

---------- Post added at 07:17 PM ---------- Previous post was at 06:58 PM ----------

I am interested in updating the latest version of this lineage 14.1 from the 11/19/2017 version. However, I have a couple of issues or problems.

1) I can't find the latest version through the built-in updater. In fact, the updater says it fails because of lack of internet connectivity. Not possible. The phone is right next to this PC (which is also connected) and the connectivity is fine.

2) I see the superuser file for rooting is not specified in the OP, so what do I use to root now? I currently am using the addon-su 14.1 I downloaded last autumn. Will that still work? If not, what could I use for rooting now on this most recent LOS update? I see magisk mentioned a lot - which version 15.3 or 16? I checked the Magisk forum and the developer says

- If you plan to flash a custom kernel, flash it AFTER installing Magisk

- Make sure to remove any other root, your best bet would be restoring your boot image back to stock

So, given I am rooted already (and does LOS have a custom kernel?) what's the procedure here? Go back to Samsung stock 5.0.1 then flash the latest TWRP, then flash Magisk, then flash the latest LOS and Gapps? Or use the addon-su-remove-14.1 to take off addon-su and then flash magisk, then the LOS update and Gapps?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I can give you some info on this:

I don't have the wifi/bluetooth problem.

1. You cannot find the latest version with the built-in updater because this LOS is an unofficial version. The built-in updater only works with the official versions of Lineageos.

2. The addonsu from last year should still work, so should the addon-su-remove.

Lineageos has a custom kernel.

About magisk i'm not sure, because i haven't had time to try it myself.
[Galaxy S 4 i9506 Android Development] corvus.corax:
Thanks for that info. I was thinking of trying magisk, but so far, I have not been excuded from any activities like banking because of being rooted. But no need to fix what ain't broke, right?

Anyway, I updated to the latest version. Just for fun, I installed magisk 16. It's pretty nice but LOS lets you have more granular control I think, so I went back to addon-SU.

I did notice that even though I turned on Restart Menu in the power menu, when I do a restart, there are no options, just restart and no other options (soft restart, recovery mode, download mode). Is this not working?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Regarding banking apps, just disable root in developer settings, then banking apps works just fine (atleast it does on my device).
[Galaxy S 4 i9506 Android Development] ace80:
I need help.... I have gone back to stock ROM 5.01 and I have not got back Wifi and Bluetooth. Both keep on trying to turn on but fail and go back to off.

Right now I have tried LiOS14.1 from January, from February, Resurrection remix (all three with bootmodem recommended in 14.01 and 5.01 (LRX22C.I9506XXUDOK2)). Furthermore, I understand that bootmodem does not touch Wifi or bluetooth.

It started by itself, having Wifi and Bluetooth working 2 days ago (LiOS14.1 from January). I had a flight and used the flight mode. On arrival I removed it and since then, no Wifi working.

Does anyone have any idea?

Thanks.
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Have you flashed the full version stock for your area? I mean including radio?
[Galaxy S 4 i9506 Android Development] lospuegos:
I user SuperSu
[Galaxy S 4 i9506 Android Development] ace80:
I was using the phone properly before it lost the wifi/bluetooth radio, for weeks. I have tried with several radio versions and full stock for my area (T-Mobile Poland).

The thing is that I have disassembled the phone to check that the chip was not having problems and I could not find any problem at all. There is some kind of transparent thin layer on the sides of the chip (not like i9505 videos on youtube).

I assembled again and pressed like hell. I rebooted and, in some moment (I do not know exactly when but wifi came back).

I have been checking "dmesg" and BT was powering on and off constantly and wifi:

after 20 secs

so, I do not know what happened or what did I touch but suddenly worked again. And it was not just after I restarted after re-assembly, but 135.24622 seconds according to dmesg.

Right now, it's working, but I do not know for how long.

If it was a hardware problem, I do not know what happened to fix it.

If it was software, I did nothing to fix it.

Any ideas on hardware problem?

Thanks.
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Just remember the thin layers are important, or there might be a short-circuit. When i opened up a s2 a while ago to replace the charging board, a small thin layer fell out while i was assembling, and when i connected the charger cable, it short cicuited. I wondered what the hell happened, and then i saw the thin layer laying on my table i understood it had short circuited since that layer was not in place.

Just be happy if it works properly now
[Galaxy S 4 i9506 Android Development] DonAndress:
I have a weird behavior on this rom lately.

I never leave my i9506 charging overnight but I've been doing that for last 4 nights and it turns out that my phone reboots and then even Nova Launcher resets wallpaper to default (which means I see LOS logo again). When I charge and unplug shortly after everything is fine.

Has anyone encountered sth like that?

I'm still on v2.5 from March 29th 2017.
[Galaxy S 4 i9506 Android Development] Chris Miller94:
#DonAndress: I think you need to upgrade your Rom

Latest is 20180218. Its work perfectly for me.

#kyasu: we wont receive more updates for this rom?

I know, you want to make your LOS15.1 rom make better but this rom is very stable and working without any bug.

I have a few bug on OFFICIAL LOS13 so it better than Official Roms!!!

We need updates, please make one for example one per month - with security patch updates and with latest LOS 14.1 changes.

Thanks your awesome work. Please Keep it up
[Galaxy S 4 i9506 Android Development] :
Till now he was releasing updates once a month always after the security patches were merged. If not stated otherwise I wouldn't worry that support for this rom has ceased.
[Galaxy S 4 i9506 Android Development] reveszgegi:
Errors encountered by me:

1. Wake up delay is slow anyway

2. Factory screen recorder does not work.

3. The system will unexpectedly reboot after a while.

The system is running very well. :good: You are doing a very nice job! :highfive: I hope to be the solution to this couple of bugs so that the system is stable and error-free. :cool:
[Galaxy S 4 i9506 Android Development] Alienns:
Reboot? I'm using this rom over a year and i don't remember single reboot...
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Althought it is rare, my device reboots as well from time to time.
[Galaxy S 4 i9506 Android Development] reveszgegi:
I do not even know why it's a restart ... I've been browsing Chrome when the page scrolling stuck, the phone did not respond to anything in a few seconds and the phone restarted. Other programs did not run in the background. I sent the message directly to the builder as well, so there might be some way to fix it, because otherwise it would be a pity for the very good, almost flawless rom for the phone.
[Galaxy S 4 i9506 Android Development] Alienns:
Sometimes S4+ can act weird, but that`s one or two times per year. It`s already explained here few times. Turn off phone, REMOVE battery, wait 2-3 minutes, put it back, Do Factory reset from Bootloader, flash original latest NEE ROM from FEB 2017 yes FEB 2017 > GT-I9506_1_20170203161952_5pqtbwzg7d.zip than you will be sure to get all latest stuff, bootloader, modem etc. Boot it, let phone set it first time at least 10 minutes, do not jump on him right away. Than restart one more time. Turn off it again, boot in Download mode, flash TWRP with ODIN (TWRP: twrp-3.2.1-0-ks01ltexx.tar You downloaded from first page) than wipe System, Davlik, Data, Cache and internal memory to be sure. Than Turn it off again. Turn it on, go in Twrp and flash This rom and Gapps pico since you can install rest google crap from market if you wish. You need only Market to start.

If your phone reboot again, than you have hardware problem.
[Galaxy S 4 i9506 Android Development] DonAndress:
How would one handle this process in a more up to date phone with non removable battery?

In all my phones so far I could remove it so I just don't know... :)
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
For phones where you can't remove the battery:

Push and hold every physical button simultaneously on the phone for five seconds. (If there's up/down volume buttons, then remember to push both aswell).

The phone will power off.
[Galaxy S 4 i9506 Android Development] DonAndress:
But this trick to remove battery for couple of minutes cannot be done...
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Directly after a "random" reboot, take a last kmsg log, and read it; or put it on www.hastebin.com and post a link here. There are many instructional posts here on XDA already as to how to do this.
[Galaxy S 4 i9506 Android Development] Alienns:
Dude, you have GT-I9506 you can remove battery.

Who talk here about new phones?
[Galaxy S 4 i9506 Android Development] Hemuli:
You can just hold down power button for a few seconds to force shutdown. Even if you have an easily removable battery.

Waiting for a couple of minutes makes no sense anyway so you're good.
[Galaxy S 4 i9506 Android Development] foxrft:
Hello, everyone. Yesterday I went to sleep and forgot to close youtube app but I disabled wifi, when I woke up my battery dropped from 51% to 1% overnight, I'm just asking if that's normal that youtube prevented deep sleep even if phone was idle?
[Galaxy S 4 i9506 Android Development] eccko:
Try to use greenify and off startup application ex. Youtube, Facebook, messener :):)
[Galaxy S 4 i9506 Android Development] DonAndress:
Well I'm not a Dev but I read multiple times when people (including me) were advised that if they need to flash the phone it's recommended to remove battery in a certain step and wait a bit. If I recall correctly it has something to do with phone keeping some power even without the battery (capacitor?). But that was an advise I saw only for SGS4.
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-14.1-20180316-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

Sync with the latest LineageOS source (March 2018 Security Patch).

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/cm-14.1

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/cm-14.1
[Galaxy S 4 i9506 Android Development] nhihoppro:
The CPU only runs one core, while gaming, leading to lag when playing games even if all the core Kernel Adiutor
[Galaxy S 4 i9506 Android Development] DiamondJohn:
The selection of which cores to fire up is a choice made by the CPU Governor. Try a different CPU Governor. I run my own build of RR and have added a number of extra governors, so I can't remember the default choices available, but ones I *think* you would have is Interactive (the default) and Ondemand; maybe ondemand sounds like a better choice for you, give it a try:confused:
[Galaxy S 4 i9506 Android Development] nhihoppro:
I changed to another CPU Governor, but still only one core
[Galaxy S 4 i9506 Android Development] DiamondJohn:
The view in KA is not the best way to monitor your "in-game" Cpu usage. Use the developer option to show CPU info, which has the actual CPU info live in the top right of your screen. Its all about what is actually happening in the game, not what is happening while you are in KA (and the cpu is resting).

oh, I am assuming you don't have "Multicore Power Saving" turned on (it needs to be off)

I also just remembered, the IO cache may need to be set higher as well, as that being to low could cause stutters is in IO intensive operations as well. I don't play games, but have always defaulted to 1024KB.
[Galaxy S 4 i9506 Android Development] nhihoppro:
I turned on the 4 core KA handsets but it only ran 4 cores at a time, then 3 cores turned off but only one core, i'm sure i did not turn on battery saver mode, i turned on Performance but also run a core.
[Galaxy S 4 i9506 Android Development] Hemuli:
For me the cpu throttles by shutting down cores. It happens when the cores (thermal zone 5-8) get to 110°C. At least cpu-z shows them and you can map them to your favorite tool like so: /sys/devices/virtual/thermal/thermal_zone5/temp
[Galaxy S 4 i9506 Android Development] foxrft:
I have weird issue with this rom, when I charge the phone it looks like it's charging slowly and display wrong battery percentage when I notice that I restart the phone then my battery percentage change for example it was 60% after a reboot it turned to 79%. I tried calibrating battery tho.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
See the image below. Unless your game has done something tricky to overwrite the info, your screen should look something like the attached.

You also do not seem to have addressed this suggestion.

You cannot turn cores off and on at will, that's the job of the governors hot-plugging. It will override anything you try to set.
[Galaxy S 4 i9506 Android Development] Alienns:
You have bad battery or not original battery.

Buy original one, it is 5-6 euro. With 2600 mAh bat, you can surf, watch yt etc for 5h with this rom. It's not a rom problem...
[Galaxy S 4 i9506 Android Development] DiamondJohn:
unless you are buying your battery directly from Samsung, I doubt that any battery you get is really original these days. Especially if you source it from eBay. And 5-6 euros is very cheap for a battery that is really made by Samsung. However, some replacement batteries are of course better than others. The last one I bought (from eBay), the seller had an image where he pealed off the cover, and the battery had Samsung printed on the actual cell, not that I believe it 100%, but it was an Aus seller not a cheapie Chinese; the land of fakes. It was also a couple of euros more than 6.
[Galaxy S 4 i9506 Android Development] Hemuli:
Also, NFC will not work on many "original" counterfeit batteries.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I have found that it also does work on some replacement batteries off eBay. Either they explicitly state they have the NFC antenna (or simply does not mention it, so you should assume it does not have it) I bought one a while ago that had NFC, but the battery itself was very questionable. To be clear, not that you were implying it, but an NFC antenna is not a definitive check for for better battery.
[Galaxy S 4 i9506 Android Development] supachris:
I bought one original battery at MediaMarkt in Germany and it seems to be an original one. 14€. Screen on time is as long as at the beginning. The strange thing was that the battery included was down to 50 percent screen on time after only a half year. Maybe it was stored together with the phone for some years. I bought the phone in april 2017 and it was completely new and in sealed package.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
That actually raises another issue. I am assuming Samsung are no longer manufacturing batteries for these phones, so any actual real original batteries would of been kept in storage till now. Which means they would be old and not as in good condition as one just out the manufacturers door. As for only being 50%, all recommendations on LiPoly batteries is to basically only charge them to 100% percent rarely, and to store them at something like 60% (vague memory) ie not 100% If you opened a seal package, it was probably sitting around since 2013-14 ie its an old battery even if it was original.

Even though my battery is a fake, I checked the manufacture date before I purchased it. Fake AND old cant be good;)
[Galaxy S 4 i9506 Android Development] supachris:
I'm not sure if the batteries are discontinued at Samsung. My (hopefully) original one is marked with 2017/06 manufactured. The included is labeled with 2016 date. Strange.
[Galaxy S 4 i9506 Android Development] gebaya:
I bought an original one a while ago and it was labeled 2016.12.15. It came charged to 56%, in original Samsung retail packaging, together with a plastic box with Samsung logo for holding the battery, so it's definitely original. They must have been manufacturing them until at least late 2016, then.
[Galaxy S 4 i9506 Android Development] foxrft:
No my battery is fine, it was an issue with percentage not getting updated while charging, somehow it's fixed on its own.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I am not saying your battery is a definite fake, however, half the process of making a fake is making the packaging for the fake look original as well. So "definitely" because of the packaging is not "definite". Serial numbers are usually a better way, or sometimes the packaging (or maybe on the battery) has some copy protection such as a holographic image.
[Galaxy S 4 i9506 Android Development] TonyTeoTeo:
The original battery (International retail) is not labeled any date, only in the korean retail, the battery is labeled month and year without date. I can sure about that. You can check the youtube real vs fake, a lot of papers compare real vs fake, and if you notice, you can see all the fake batteries are labeled date.

In my case, my phone is E330S (Korean ver of i9506). I have already bought 5 batteries, 3 of them are fake and the battery life is horrible, the last one I bought is from a 3rd company, Nohon. The only one battery that I bought in Samsung store is real, and it didn't have any plastic box, just a small zip lock, of course, it does not have any date :))).the price is about $25, compare with $10 fake battery. I really sure that your battery is fake.

So, I rather buy a battery from 3rd company than buy a fake one. You can find Anker, Nohon or Pisen, etc.
[Galaxy S 4 i9506 Android Development] gebaya:
In my experience, the majority of fakes don't make any effort to fake the packaging. They just come in little clear plastic bags ("bulk" packaging). If it's "bulk", you can be sure it's counterfeit. If it has plastic packaging with Samsung logos and there's a special plastic box for the battery, the chance that it's original is much higher. I've attached some photos of the packaging I'm talking about. And how is a serial number a better way, how do I know that the S/N is a valid one and not just a random string of characters?

The battery my phone came with had a year, month, day date. The new one I'm convinced is original also has it. I've seen lots of videos about recognizing fakes and they show that the battery should have a full date. Is B600BE the battery model we are talking about?

If you bought a battery without a box, in just a small zip lock, no date and it was at 0% when you got it, it means you've bought a typical fake. A battery you buy in Samsung store should look like the ones in photos I attached. Look at the last photo, it has the manufacture date on the box, too.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
A serial number can be checked with the manufacturer. A random string wont check out, and some fakes will re-use the exact same serial number instead of being unique for each package. ie simply having a serial number is not enough. I didn't bother to check your packaging images, and do not care either way. I was simply responding to your statement that the packaging confers definitive proof of validity, which it does not.

and read the following again!
[Galaxy S 4 i9506 Android Development] TonyTeoTeo:
Hm... I already had that box... with the fake battery that I bought from a small local store. But the Original one I bought from Samsung store in zip lock is real, the battery life shows me that. :)))

You don't believe me, it is ok, I just want to tell you my experience.
[Galaxy S 4 i9506 Android Development] Alienns:
This is mine. And i'm very happy wity this battery.

One of the most expensive battery on Ali... but i think it is worth. And manafactured date seems ok

https://m.aliexpress.com/item/32797665794.html?trace=wwwdetail2mobilesitedetail&productId=32797665794&productSubject=100-IST-Original-Mobile-Phone-Battery-For-Samsung-Galaxy-S4-IV-I9500-I9502-I9505-I9508-NFC
[Galaxy S 4 i9506 Android Development] kazama0:
yo. download links are down i suppose
[Galaxy S 4 i9506 Android Development] :
Which links? Links in op work fine.
[Galaxy S 4 i9506 Android Development] lospuegos:
uhhm a q. has anyone experienced issues with WhatsApp??? sometimes my messages aren't delivered :crying:
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
None whatsoever here...
[Galaxy S 4 i9506 Android Development] kazama0:
yea, sorry for that call, its a problem on my side.

btw, does anyone have an issue with notification with some apps (like messangers): message notification popping up for about a millisecond and then dissapears. no sounds are playing, just vibro plays for about same millisecond time. ive searched about it prevously, resettet battery optimisation, after which it worked fine for couple of hours but came back to non working state. i've disabled battery optimisation for an app which gave no results.

help
[Galaxy S 4 i9506 Android Development] foxrft:
I'm using this rom for a month now, my only problem is that sometimes I unplug the phone from charge but I notice that the battery percentage increase instead of decrease, how can I calibrate my battery please?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
This app on google play:

com.nema.batterycalibration
[Galaxy S 4 i9506 Android Development] foxrft:
I tried it before, I will try it again thanks!
[Galaxy S 4 i9506 Android Development] DiamondJohn:
please let us all know if it helps or not, either way.
[Galaxy S 4 i9506 Android Development] Guider_8:
Hello there...

I am new to install custom ROMs. So Is there any full installation video with instructions? If there any video please post it here.

Thank you so much.
[Galaxy S 4 i9506 Android Development] jegogo99:
Search in Youtube "King Android" that YouTuber always put the installation process at the end of his vídeos

Enviado desde mi GT-I9506 mediante Tapatalk
[Galaxy S 4 i9506 Android Development] Guider_8:
Thank you so much. I'll check it out :):)
[Galaxy S 4 i9506 Android Development] foxrft:
It seems that it worked for now, good battery life overall and no more heating issues too, don't know what was causing it tho, maybe some app.
[Galaxy S 4 i9506 Android Development] Guider_8:
Hello there...

I just need to know should i unlock boot-loader before install TWRP. I'm still researching how to install custom OS. Maybe this will be silly question but i'm very new to install custom ROMs. I didn't find any information about at the first page. Kindness help will be appreciate :):)

And also can i get some information about how to unlcok Bootloader of Samsung S4 i9506 (e330s).

Thank you so much.
[Galaxy S 4 i9506 Android Development] jeepcook:
Is 14.1 discontinued and only 15.1 supported ? Thanks
[Galaxy S 4 i9506 Android Development] foxrft:
I believe new builds are released monthtly to sync with latest security patch.