yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9506 Android Development] reveszgegi:
Bootmodem version...

Hello!

For me this version is installed: I9506XXSDPL2_I9506XXUDOJ2

Can you stay this or install the recommended bootmodem: I9506XXUDPG2_I9506XXUDOJ2?

Thanks for the reply!
[Galaxy S 4 i9506 Android Development] kyasu:
You need not flash back to DOJ2 modem.

DOJ2 ril blobs in the latest build works on both DOJ2 modem and DRA1 modem.
[Galaxy S 4 i9506 Android Development] kyasu:
It was my mistake.

The recommended modem is I9506XXSDPL2_I9506XXUDOJ2 and i updated the first post.

Thanks.
[Galaxy S 4 i9506 Android Development] djrys:
whether GPS navigation programs are already working in this version of rom ?

Unfortunately it doesn't work I checked :(
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-16.0-20180918-TEST-ks01ltexx.zip

https://www.androidfilehost.com/?fid=1322778262904008462

This is a test build of LineageOS 16.0.

Please do not report bugs.

Known issues: Radio, NFC, ...
[Galaxy S 4 i9506 Android Development] khalvat:
Woow. Thank u very much:good:
[Galaxy S 4 i9506 Android Development] gebaya:
I just installed it over 15.1. I didn't even wipe, just installed it like another 15.1 update and it worked. All my apps, wallpaper, etc. were there. NFC and RIL don't work. Annoying wakeup delay unfortunately still present. Waking up with home button doesn't work, too, only power button. exFAT not supported. Camera (photo & video) and WiFi work. I'm not complaining, just informing, it's obviously an early build. Very nice for a first build, thank you very very much for working on this :good:
[Galaxy S 4 i9506 Android Development] wkwk:
Have you tried the AEX v5.7 ROM?, the wake up delay is negligible (practically non existent). Not sure why its so fast on this rom.

Exact version -> AospExtended-v5.7-ks01ltexx-20180710-2212-UNOFFICIAL.zip
[Galaxy S 4 i9506 Android Development] gebaya:
I've now tried a clean flash of AospExtended-v5.7-ks01ltexx-20180710-2212-UNOFFICIAL.zip and the delay is clearly shorter. It's not completely gone (like on stock), but it's reduced. Even more interestingly, on AospExtended-v5.8-ks01ltexx-20180825-0330-UNOFFICIAL.zip, the delay seems to be longer, just like kyasu's LineageOS. Both were clean flashes. Maybe someone knowledgeable could inspect the difference in sources between these two builds and figure out what is it that shortens this delay?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
This is an option in other ROM's so it may default to off, and be able to be set with something like the following, if you knew the correct values in red

settings put system [COLOR="Red"]window_animation_scale 0.5[/COLOR]

How long is the wake-up delay on this ROM ie 15.1 is it more than a second? I am not running this ROM, but on my phone its probably around 500ms (ie I get to "One Missis" ;) ), if I just turned the screen off. Don't know if its slower coming out of doze.
[Galaxy S 4 i9506 Android Development] gebaya:
I would say this ROM takes exactly a second. AEX v5.7 takes noticeably shorter.

AospExtended-v5.7-ks01ltexx-20180710-2212-UNOFFICIAL.zip - One Miss

AospExtended-v5.8-ks01ltexx-20180825-0330-UNOFFICIAL.zip and kyasu's ROMs - One Mississippi

:D
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Although I am running a different ROM which does not have a big wake up delay, I had an idea and tested it, and it may of reduced it further, but it could be placebo. I would suggest to try turning off the ZRam. Best as a boot script (ie catch it early, in /sbin/.core/img/.core/service.d if you have magisk but ensure you set permissions to 755, and reboot), and check its actually off (ie run "free" from a console/adb). or use the utility app I built (under Current Running>Free Memory) if your too lazy to type; like me.

The following is the script to disable ZRam

#!/system/bin/sh
swapoff /dev/block/zram0;

Let me know if I had a stroke of genius, or simply a stroke;)
[Galaxy S 4 i9506 Android Development] kiprio:
Lineage 16,0-20180918-TEST-ks01ltexx

Hi,

I try Lineage 16,0-20180918-TEST-ks01ltexx ROM, but SIM card not works. Any Idea, please? I have I9506XXSDPL2_I9506XXUDOJ2_bootmodem. Thank you very much.
[Galaxy S 4 i9506 Android Development] Telone:
Me too
[Galaxy S 4 i9506 Android Development] :
Do you know what the word "test" means. This ROM is not meant for daily use (yet).
[Galaxy S 4 i9506 Android Development] GT-I8160P:
Please open new thread for 16

Hi Kyasu,

thanks for all your work.

Please open a new thread for 16.

otherwise this one for 15.1 gets all mixed up.

People obviously cannot even read ;)
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
roomsevice.xml for lineage-16.0 please?
[Galaxy S 4 i9506 Android Development] kiprio:
lineage-16.0-20180918-TEST-ks01ltexx

Hi,

of course I know, what is ROM TEST , but I wanted to know ,if the SIM card does not work for everyone's. That's all.
[Galaxy S 4 i9506 Android Development] Telone:
Time to open a new thread for lineage 16! :cowboy:
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I am not interested in building Pie personally, however, I have read that others had to repopick specific changes in LOS to get a working build.:confused:
[Galaxy S 4 i9506 Android Development] Vickeey:
Thanks Kyasu and Diamond john for lineage os 16.

Please build android pie for us. Thanks.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Your OT, this is a lineage 15.1 thread and there is no need to state the obvious, and its all [MENTION=4861355]kyasu[/MENTION]. I simply take his work and apply/use it against other ROMs.
[Galaxy S 4 i9506 Android Development] yulbax:
Hi everybody. Somebody tested Kali NetHunter on this device/ROM? I think there are no problem cuz our CPU same with Nexus 5
[Galaxy S 4 i9506 Android Development] Vickeey:
Hmm
[Galaxy S 4 i9506 Android Development] kyasu:
I open the new thread for LineageOS 16.0.

Now, RIL(Call,SMS,Data) works.

[ROM][GT-I9506][ks01ltexx] LineageOS 16.0 UNOFFICIAL for the Galaxy S4 LTE-A

https://xdaforums.com/galaxy-s4/i9506-develop/rom-lineageos-16-0-unofficial-galaxy-s4-t3848597
[Galaxy S 4 i9506 Android Development] DiamondJohn:
OT Favor?

Could someone who is running this ROM (LOS15.1) please post the results from typing the following in a shell or from adb?

dumpsys deviceidle

Probably best to place it on www.hastebon.com or similar.
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Here you go:

https://hastebin.com/mepesatolo.bash
[Galaxy S 4 i9506 Android Development] yulbax:
Can somebody compile kernel with Nethunter?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
...delete...
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Just to give you some (OT) background, in retrospect, I was interested to see the default doze configuration built into LOS 15.1 (ie the lines up to "Idling history:" in your log) I am currently running my own build of HavocOS, based off of [MENTION=4861355]kyasu[/MENTION] 's device tree's, and with the aggressive doze setting in HavocOS, I am achieving the attached battery drain.:good: Starting from 90% battery charge.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
OT, but an FYI

As a further thanks to [MENTION=2696268]Sub_Zero2[/MENTION] :highfive:

IF I am doing it right, here is a graph of your phone doze state for the above log.

The horizontal axis is time in hours since you booted. So just after 9 hours and just before 15 hours after you booted, it looks like your phone was constantly used?

The vertical axis:

normal=0
light-maint=1
light-idle=2
deep-maint=3
deep-idle=4

Obviously 4 (ie deep-idle ie deep doze) is where you want to reside. Maintenance breaks at regular intervals are by design. However, unless there is a good reason, I personally would of wanted my phone to get back into deep-idle later in the day as well; maybe around the 17th and 18th hour. However, I think the standard doze settings require at least 30 minutes of inactivity (including physical movement ie "inactive_to=+30m0s0ms" and to understand the rest of the settings better "to" stands for "time-out") to kick back in after being in non doze mode; And hence I like Havoc, which can be adjusted without a recompile.:good: And now I have created a flashable zip with LineageOS 15.1 doze settings (based on your post link, Havoc defaults to its own aggressive settings) as an added Profile one can chose in Havoc settings.

YEP, got it wrong the first time - Corrected and the new one attached.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
an edit wouldnt register the uploaded attachment :mad:

oh... now it has ... :mad:
[Galaxy S 4 i9506 Android Development] :
There is also an app called naptime which can adjust all settings related to doze (needs root tho).
[Galaxy S 4 i9506 Android Development] DiamondJohn:
That app does not appear to actually be setting any of the parameters controlling doze, but simply calling one or more of the following, and hence his permissions required to call "dumpsys"

dumpsys deviceidle force-inactive;
dumpsys deviceidle force-idle deep;
dumpsys deviceidle unforce;
dumpsys deviceidle enable;
dumpsys deviceidle step;

and for his logging / reporting he is calling the same as I got [MENTION=2696268]Sub_Zero2[/MENTION] to call above:

dumpsys deviceidle;

Some people actually use the dumpsys deviceidle force-inactive in their boot scripts (ps when I was playing with it I noticed it survived a screen on/off cycle). One of the other huge things that his app will be missing is, actually controlling how the phone operates while in doze; its much more than on/off. The app appears to be an on/off switch.

I saw commands to set the parameters, but on my very quick test, they didn't actually change anything.
[Galaxy S 4 i9506 Android Development] :
Interesting! I actual don't use the app, because I don't want to mess with doze, but that would be a surprise if the app does not work as advertised, given the fact that the dev is very well known. Anyway, did you gain much adjusting doze? I am honestly interested because I believe the devs working on android would know best and apply the right stock settings to doze suitable for most users.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I madde the statements above based purely on what he does say in the app description. and the screen grabs he gives in the app screen. So, maybe I missed it in the quick scan I did give, so it could be my bad:o and further to this possibility, the statements I saw that are suppose to change doze settings are also "dumpsys" commands, but as I said, they did not appear to work for me. WHich statements ion the app blurb do you see where he is actually changing the doze parameters?

And I also remembered after I made the post, the free version of Greenify also includes an "Experimental" feature, which also appears to force doze mode. And there is some symbiosis with hibernating apps and entering and staying in doze.

---------- Post added at 08:47 AM ---------- Previous post was at 08:32 AM ----------

The ROM I am using (Havoc-OS built with [MENTION=4861355]kyasu[/MENTION] 's device tree) actually includes an "aggressive" doze profile as default. You can see my above results showing a pretty dang impressive result (under the best of conditions of course) . But I may of even taken them a little further. The other benefit of being able to edit the actual parameters of doze, you can remove roadblocks (or add/extend them if not careful) so apps like Naptime become irrelevant.

I actually created a doze profile with a mistake in it, and the results (from dumpsys deviceidle) i am retrieving are saying I was in doze while the screen was on and I was actually using it :eek:. It did have a slight performance hit (nothing severe or unusable), but in the short time I used it, I did not get the standard vertical drop in my battery graph caused by the screen being on.
[Galaxy S 4 i9506 Android Development] :
There is a long list which looks like this in the app:

(Anyway sorry for all this off topic stuff)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
Corrected the graph of [MENTION=2696268]Sub_Zero2[/MENTION] doze history

https://xdaforums.com/showpost.php?p=77777698&postcount=898
[Galaxy S 4 i9506 Android Development] kyasu:
lineage-15.1-20181007-UNOFFICIAL-ks01ltexx.zip

New build is available (See the first post).

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

Changes:

https://github.com/kyasu/android_device_samsung_ks01ltexx/commits/lineage-15.1

https://github.com/kyasu/android_kernel_samsung_msm8974/commits/lineage-15.1
[Galaxy S 4 i9506 Android Development] elijo_otro:
any new with battery and gps problems?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Gps to inaccurate for me to use.

I'm satisfied with battery usage though
[Galaxy S 4 i9506 Android Development] DiamondJohn:
To say anything about battery, you really need to be running a fresh and clean install of the ROM; and maybe even with a bare GApps such as Pico. As soon as you add any apps or widgets, they could cause adverse battery drains, which should not be fully directed at the ROM.
[Galaxy S 4 i9506 Android Development] elijo_otro:
yes, but allways have the same problem (networ coverage spent a lot of)
[Galaxy S 4 i9506 Android Development] DiamondJohn:
That could be a problem with your actual network, battery or the network you have chosen. Some find LTE better, some find 2G or 3G better.

Also look into thread: https://xdaforums.com/showthread.php?t=1179809
[Galaxy S 4 i9506 Android Development] elijo_otro:
I don't know. In LineagOS 14.1 allways everything worked fine. More stable.

Bettery is new one, samsung original.

I'm ussing DRA1 baseband
[Galaxy S 4 i9506 Android Development] DiamondJohn:
For starters, if you are on the latest build, I think that's the wrong base-band. The binaries in the ROM do not match that base-band.

Secondly, you would need to go back to 14.1 and test again, as maybe since then, a tower has been decommissioned. Highly unlikely co-incidence, but still possible.
[Galaxy S 4 i9506 Android Development] Hemuli:
I asked your first point already and got a different answer (and you even thanked the answer):

https://xdaforums.com/galaxy-s4/i95...-1-unofficial-galaxy-s4-t3747831/post77635373
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I probably thanked the post, as It was interesting to know that the new modem works against a ROM based on the old modem. However, now you are finding that you may be having an issue. Don't forget, a "thanks" is an "at the time" thing. And I can thank misinformed info "at the time".

I have since seen the source, and saw that the blobs within the ROM have been changed back to ones that align with the old modem. ie your ROM blobs do not align to your flashed modem & bootloader. I cant "un-thank" the post, but if I could....
[Galaxy S 4 i9506 Android Development] aelfinn:
You most definitely can. :)
[Galaxy S 4 i9506 Android Development] Hemuli:
Hmm, I just updated from the last build with new blobs to the latest one and I wondered why my battery is draining faster than usual. So it's possible that the mismatch causes battery drain.
[Galaxy S 4 i9506 Android Development] gebaya:
Unfortunately, it may not be it. I have the same problem as [MENTION=5931408]elijo_otro[/MENTION], my battery drains really quickly no matter what baseband I flash. I have no idea what's wrong.

[MENTION=5931408]elijo_otro[/MENTION], have you tried LineageOS 16.0?
[Galaxy S 4 i9506 Android Development] elijo_otro:
not, i'm using HAVOC now. Battery use is innestable, but the latest update...looks a little better.
[Galaxy S 4 i9506 Android Development] DiamondJohn:
If you want to understand battery drain, and in particular what the issue is with your device.

https://xdaforums.com/showthread.php?t=1179809

adb shell dumpsys batterystats;

adb shell dumpsys deviceidle;

https://xdaforums.com/showpost.php?p=77791462&postcount=34883

https://xdaforums.com/showpost.php?p=77731268&postcount=34856
[Galaxy S 4 i9506 Android Development] Hemuli:
I downgraded to DOJ2 and the battery drain went away, as expected.
[Galaxy S 4 i9506 Android Development] elijo_otro:
i will try! thanks!
[Galaxy S 4 i9506 Android Development] yulbax:
Сompiled LineageOS with NetHunter(kernel too). I'll post it soon
[Galaxy S 4 i9506 Android Development] strudast:
baseband/imei null

hello! i (think) i followed the OP to install the lineageOS 15.1

(gt-i9506 ofc)

everything seems fine except..i have a null imei and baseband.. so..no network for me :/ can you pls help?

if its important, im in greece. do i need maybe a different modem.bin? dunno :/

what other info do i need to provide so that you can help guys?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Use the recommended bootmodem in post#1

If you use the latest version of odin to flash it, put it in the CP or BL slot.
[Galaxy S 4 i9506 Android Development] ashishpoudel995:
Great ROM ???
[Galaxy S 4 i9506 Android Development] Vickeey:
Please Build FM Radio too.

and Thanks for the Rom.
[Galaxy S 4 i9506 Android Development] :
What? This phone does not support fm radio :confused:
[Galaxy S 4 i9506 Android Development] wkwk:
Try cell network reset (root) from play store. It works well in LOS 16 for same issue. Worth a shot.
[Galaxy S 4 i9506 Android Development] strudast:
It seems there is no efs files anywhere.. Somehow i ..managed to completely delete them.. I dont have any backup of these files..is there anyway i can reinstall them? Even with this app?
[Galaxy S 4 i9506 Android Development] DiamondJohn:
You probably would of been better asking this question in the general S4 thread (ie its not ROM specific), but, while where here, have you tried flashing the full stock firmware; I don't know if that would solve the issue, but it is always my fallback when it seems nothing else works..
[Galaxy S 4 i9506 Android Development] Hemuli:
Just try installing the bl/modem tar from the OP a couple times more. Do not untar it to the point you see .bins.
[Galaxy S 4 i9506 Android Development] strudast:
i already tried that numerous times :/ but thanks..

i think its time to take it to the store..

there is a special cable/device or smt like that to rewrite the imei to the device? pls correct me if i m wrong :)
[Galaxy S 4 i9506 Android Development] Moebiusten:
Just installed

It works like a charm !!

I've installed lineageos with twrp (before installing, wipe system cache dalvik/art and preload) ; then, with heimdall ( my computer is a linux machine) I've installed the modem ; here is the command to write when you are in the directory where you have extract all the modem files (aboot.mbn, modem.bin...).

sudo ./heimdall flash --APNHLOS NON-HLOS.bin --ABOOT aboot.mbn --MODEM modem.bin --RPM rpm.mbn --SBL1 sbl1.mbn --DBI sdi.mbn --TZ tz.mbn --no-reboot

Well, great job, thank you again !

---------- Post added at 09:20 PM ---------- Previous post was at 09:17 PM ----------

Type sudo heimdall instead of ./heimdall ; in fact, I had to compile heimdall (1.4.2) because the provided version of my system (1.4.1 in ubuntu 16.04) doesn't work.
[Galaxy S 4 i9506 Android Development] darkness:
try this COMBINATION_FAJP Firmware

http://www.mediafire.com/file/tdjnw6tw4cb03rl/COMBINATION_FAJP_I9506XXUDOA1.zip

Remove Battery /readd Battery

Reboot Phone in Download Mode

Connect phone

Add the file to AP / PDA

Make sure re-partition is NOT ticked

Click the start button and you know the rest :eek:
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
[MENTION=436466]Santa_Claus[/MENTION] : I wish a december build, because I'm on holidays and cannot build one myself ;)
[Galaxy S 4 i9506 Android Development] Telone:
Somoene have to build an updated version of this rom because Lineage 16 is too buggy
[Galaxy S 4 i9506 Android Development] DiamondJohn:
I agree that LOS 16.0 is still not ready as a daily. As far as I know, it also still selinux permissive.

However, rebuilding LOS 15.1 will provide little benefit if there has been no significant changes in the source code. LOS have been working hard on 16.0, so I do not think there are many changes to the 15.1 source; last I checked it was mostly translation stuff.

Do you know of any specific commits that you were hoping to see in a compiled ROM?
[Galaxy S 4 i9506 Android Development] djrys:
I am still waiting for the repair of the GPS and the network repair is still jumping my range
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I managed to do a build on my old 4gb ram laptop i brought with me on holiday after all. Although it took over 20 brunch retries because of jack server timeouts ;) I just wanted the december security update mainly :)
[Galaxy S 4 i9506 Android Development] :
Do you mind uploading it, if your internet connection allows it?
[Galaxy S 4 i9506 Android Development] Telone:
Anyone have problem on sending files via bluetooth?
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
It's on androidfilehost allready, just search for ks01ltexx :)

Edit: Synced with kyasu's sources. I did no modifications
[Galaxy S 4 i9506 Android Development] :
That would be the link: https://androidfilehost.com/?fid=11410963190603876640
[Galaxy S 4 i9506 Android Development] DiamondJohn:
A little OT, but was it 19 build fails with 20 build continuations or 20 clean build attempts? All in the past now, but did it also fail without using jack?

Well that is something worth a build:o

Because I run and build other custom ROMs, I'm so use to the fact that they are no longer regularly merging the security updates, that I assumed LOS was heading the same way. My Bad...
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Build continuations... 4GB ram might not be enough to build oreo, as you have to assign more memory than you actually have to the jack server or you'll end up with out of memory error. Doing so in my case hogged the swap partition so bad that the jack server timed out at times, stopping the build. Also this combination made the building superslow. The uptime of linux was over one week when it finally completed, lol :) (with 3-4 continuation brunches a day)
[Galaxy S 4 i9506 Android Development] Moebiusten:
Bonsoir,

The ROM seems fully functional only for one point : sms/mms only work in 2G ; if 3G or LTE is selected as preferred, the sms/mms are rarely received or send. But, the phone part (to speak with someone) works without problem in 3G or LTE. Isn't it strange ? I wonder if it's a hardware problem or a ROM problem. Is someone facing with same problem or having a solution ?

thank for any help,

cordialement,
[Galaxy S 4 i9506 Android Development] sterneus:
Hi,

I uploaded my latest build (includes December updates, all repos synced) to AFH. Find it at:

lineage-15.1-20181224-UNOFFICIAL-ks01ltexx.zip https://www.androidfilehost.com/?fid=11410963190603882061 MD5: e29a5d9011166630c447fe9f5a5cc282

lineage-15.1-20181224-UNOFFICIAL-ks01ltexx.zip.md5sum https://www.androidfilehost.com/?fid=11410963190603882060 MD5: 9f36d26eb60883b03d2b0a73c528625a
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
Is it signed with a private key?
[Galaxy S 4 i9506 Android Development] sterneus:
Signed with test keys

Gesendet von meinem GT-P5210 mit Tapatalk
[Galaxy S 4 i9506 Android Development] Sub_Zero2:
I made a new build, because certain banking apps that i use would not accept the build being signed with public keys, and a "jailbreak" or "device is rooted" alert would show in those apps. And I wanted no security alert from trust concerning the build was previously built using public keys.

This time i disabled jack-server in BoardConfig.mk, and the build took a reasonable amount of time to build, instead of days :) (ANDROID_COMPILE_WITH_JACK := false)

NOTE: Dirty flashing from mine or other's previous builds won't work, you'll have to do a clean flash this time for it to boot. (ie. Wipe system/data/dalvik/cache) (because of signing with private release keys)

Credits: Built from kyasu's sources, no modifications to the build itself.

December 2018 Android security patch, synced with LineageOS repositories 26. December 2018. Signed with my private release-keys

Download link: https://androidfilehost.com/?fid=11410963190603882688