yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 i9505 Android Development] Jsilver73:
Then either use an app like textdroider (see kantjers link in first few posts of the op)

Or edit your build prop with a root file explorer like es.

After setting root to on and permissions navigate sd0 or device/system/build prop - then edit ro.sf.lcd_density=480 for stock density or whatever you like ;)
[Galaxy S 4 i9505 Android Development] sonof:
GPS always soft reboots my phone! :/

Cleared cache and dalvik, no help.
[Galaxy S 4 i9505 Android Development] kantjer:
Did you do a clean install. GPS is working fine for me. I used it yesterday a few times.
[Galaxy S 4 i9505 Android Development] Jsilver73:
+1 working perfect here also
[Galaxy S 4 i9505 Android Development] brunodu91:
Working perfect here too

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Mistertac:
Just curious if this is just happening with Maps.... Or with anything that uses location services?

What kernel are you using?
[Galaxy S 4 i9505 Android Development] Kmailknopf:
I have 2 Problems. First Problem is after reboot the navigation keys are on . i must deaktived every time. Second Prob is that i cant change my dpi. I become settings FC

Gesendet von meinem GT-I9505 mit Tapatalk 2
[Galaxy S 4 i9505 Android Development] Mistertac:
Flash latest SuperSu if you haven't already. Then make sure Apps + ADB have root access in Dev Options.

Then use Textdroider or edit the build prop.

And are you using Gravity Box? Sometimes that enables the Nav Keys. Ditch it if you do and you'll be back to normal.
[Galaxy S 4 i9505 Android Development] matraca:
I am probably going to sound like a noob but I have been searching for a while and can't find the answer. If you set TRDS to switch automatically on light conditon it works fine but it causes issues if you are using the camera, how can I switch from normal to inverted on sunrise and sunset location or time? I thought that was the "on daytime" option, if I am on dark slim at night it switches to normal in the morning but it doesn't switch to dark slim again at night. Is there something I am missing? Or maybe I am wrong and we don't have this feature.
[Galaxy S 4 i9505 Android Development] munichsfinest:
Guess you are using gravity Box. Just activate and then deactivate the software keys after booting. Then they are gone til next boot.
[Galaxy S 4 i9505 Android Development] kantjer:
An other 'Quiet hours' update in the next release.
[Galaxy S 4 i9505 Android Development] Zoot Allures:
GPS is just fine, here. Not even in Maps but GPS Test too (had to enable High accuracy, though).

Our man Kantjer is really doing a find job, here. Thanks again.

Set display on 420 dpi with Textdroider (see post #3), seems just fine for my becoming old eyes and screen estate ratio.
[Galaxy S 4 i9505 Android Development] brunodu91:
Cute but I tested it and the quiets hours don't run automatically if Wi-Fi is on! ?

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] kantjer:
build SlimSaberKat-jflte-4.4.4-20140714 uploaded.

change log.

synced with SlimKat 6.4 source

Kernel updated with latest source (a few minor changes to improve battery life)
[Galaxy S 4 i9505 Android Development] MVKA:
Hello

Small typo in post #2 latest version.

It says 4.4.3 ;)

-MVKA
[Galaxy S 4 i9505 Android Development] Jsilver73:
So - I have been messing with [MENTION=427477]chenxi[/MENTION]alongs dual boot app/mod/whatever...... And is freaky awesome now as he has worked out how to share 1 set of apks across 5 ROMs, which means in affect that we can now have 5 ROMs with fully functional app/data set ups which means we can truly compare exact same set ups on different ROMs side by side. In fact we now have so much free memory that I have been easily able to boot 2 tw ROMs alongside 1 ge and of course superslimsaberkat (oops, did I just change the name lol) check my sig to see my current set up.

1 of these was the official MIUI based on tw 4.2.2 - and it looks pretty and has great functions but I can't honestly comprehend how we ever managed with jb - I mean compared to kk it's like in the dark ages!

And then I come back to ssk and it's like wow - no I mean really WOW! WARP SPEED MR SULU!

Anyway, new build working awesome, thanks kantjer :good::good::good::D:D:D:highfive:
[Galaxy S 4 i9505 Android Development] fivecheebs:
Thanks for the new build Kantjer :D

Anyone having issues with TiBu try this:

Go into preferences, create a new backup location, copy your existing data to the new location, reboot, and run the backup. I was getting an insufficient storage space error part way through my backup, and this seemed to solve it. I had flashed SuperSU, and checked permissions but none of that helped.
[Galaxy S 4 i9505 Android Development] wonderkid802:
Does anyone use Snapchat? Why can't we do a front cam video?
[Galaxy S 4 i9505 Android Development] aleksik:
Has anyone else noticed that the battery percent goes up a little sometimes? Like I had 83% left and put my phone to sleep for 30min and when I started using it again it had 85%. That doesn't bother me and I don't really care about that, but I don't remember this happened with CM :D
[Galaxy S 4 i9505 Android Development] kantjer:
Never seen that happen, but It happened to me that after a reboot battery percentage was higher than before the reboot.

So if your on the road and your battery is low, just reboot a few times :D

Seriously this can happen sometimes. After a full charge the battery is calibrated again and the issue is most likely solved.
[Galaxy S 4 i9505 Android Development] feelpt:
i noticed that long ago (maybe from the beginning of kitkat)... that comes clear when using a battery hunger app, like a game or so... when you stop the app and let the phone sleep, it'll recover 2-3% bat.

my thoughts is that somehow, instead of the instant bat consumption, the system works on an avg bat consumption regarding a time interval (let's say 30 secs)... so when the battery consumption is reduced, the system adjusts and shows the new value
[Galaxy S 4 i9505 Android Development] giodeluigi:
Thanks, downloading now!

I hope this will solve the quick battery drain I was having with latest build.
[Galaxy S 4 i9505 Android Development] kantjer:
If you are having excessive battery drain you will need to look for the source, it's not the ROM.

A few nights ago I hadn't placed my phone correct on my wireless charger during the night so it didn't charge. While WiFi on the whole night and a scheduled nandroid and Titanium backup my battery percentage only dropped 4~5% over night.
[Galaxy S 4 i9505 Android Development] __NBH__:
Flashed the latest build, running smoothly. I have the battery going up issue but it's not as bad as the S2. Once I got 30 mins screen on time from the last 1% of battery because it was so badly calibrated. I heard if you drain the battery to zero then charge the phone to 100% with the phone off it fixes it but I've never done it as the battery is so good I rarely drain it and if I charge my phone I turn it on so I can use it as it charges fast on ac power even being used.
[Galaxy S 4 i9505 Android Development] kofe:
"Update:

Due to possible sync issues, jenkins has been restarted and build the builds again

Tapatalk Team SlimRoms"

Will this affect the earlier build, [MENTION=3306843]kantjer[/MENTION]?
[Galaxy S 4 i9505 Android Development] russ18uk:
Thanks very much for the efforts on this ROM. I've been using the S2 version but have just changed the phone to the S4.

Just a quick question:

Tap & Pay: in the settings, I can access this, but when I try and tap on Learn more or anywhere else, nothing happens.

Thank you.
[Galaxy S 4 i9505 Android Development] kantjer:
No sync issues on my side,so no need to rebuild.

I check for sync errors when building. It hardly ever happens.
[Galaxy S 4 i9505 Android Development] kantjer:
Where did you find that option. I have never seen it.
[Galaxy S 4 i9505 Android Development] kantjer:
LOL, I don't even have that option :confused:

EDIT: did a quick search. It looks like you need to have google wallet installed, I don't have it.

Did this work on SlimSaber on the S2?
[Galaxy S 4 i9505 Android Development] russ18uk:
Nope; I own the i9100 which doesn't have NFC.

Will look into Google Wallet, but I'd rather not use it :P May check with my bank and report back
[Galaxy S 4 i9505 Android Development] Bejda:
Option appears only when nfc is enabled but yeah nothing happens on SlimSaberKat (11/07 build for me right now) when we tap "learn more" while it opens a Google Support web page on a 12/07 CM nightly based rom.

[MENTION=4198032]russ18uk[/MENTION]
[Galaxy S 4 i9505 Android Development] melltuga:
Even after using this ROM for quite some time, I still couldn't figure out how to mess with the apps on the lockscreen (gmail and weather).

Could someone please tell me where I can find options for those two?

Actually I'd just like to delete them :P

Thanks!
[Galaxy S 4 i9505 Android Development] Rosa Elefant:
When trying to install the provided ad blocker in STweaks, it says I have no internet connection. But I do.
[Galaxy S 4 i9505 Android Development] Hen-3:
Swipe down starting at the clock on your lockscreen. Then on the right side of the clock you see the configuration icon.
[Galaxy S 4 i9505 Android Development] FlanjeUK:
It doesn't work... :(
[Galaxy S 4 i9505 Android Development] John_wba:
Random bit of useless info, I'm back on slim after a while on CM. I'm here to stay this time I think. I forgot how good ssk was.
[Galaxy S 4 i9505 Android Development] kantjer:
I had a quick look at the code, I think I found why it isn't working.

I will try to fix it.

Here is the code

DNS 1 Line 19 is missing a ">"

DNS 2 Line 20 is incorrect, should be 8.8.4.4

So there is no correct DNS set and therefore the download link in line 29 can't be reached
[Galaxy S 4 i9505 Android Development] brunodu91:
Hi

What is the trwp recovery updates?

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Bejda:
That's strange,a few minutes ago i was on 07/11 build and could reproduce the "no internet connection" issue.

I was justly looking at this ad_update file out of curiosity (seen it on log) but didn't touch anything.

I updated to 07/14 and now the option works...ad_update file is still the same,resolv.conf file is well created/edited (as ad_update file commanded from what i see) and my hosts file looks like an ad-blocking one.

I don't see why line 19 should use ">>" also,both should works indifferently i guess.

Edit: I did a little mess with wget file though at some point lol,but i reflashed in the meantime then so shouldn't have interfered.
[Galaxy S 4 i9505 Android Development] svd1977:
Hi

Just want to ask if s-view will work on this rom? thanks
[Galaxy S 4 i9505 Android Development] Hen-3:
Only if you install an third party app for it.
[Galaxy S 4 i9505 Android Development] brunodu91:
What is the app?

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.
[Galaxy S 4 i9505 Android Development] Hen-3:
There are multiple apps in the play store.

Search under sview and the best is the one u like most.
[Galaxy S 4 i9505 Android Development] svd1977:
sview

Thanks mate, now i can use it nicely
[Galaxy S 4 i9505 Android Development] tzyn:
Line 19 with only one ">" is right. Because ">>" will only append to the resolv.conf file (old content stays), while ">" will erase the content of the file first and then append. If you change it to ">>" and start the script many times, you will have this block with 5 lines again and again in the resolv.conf file.
[Galaxy S 4 i9505 Android Development] kantjer:
Thanks, learned something new today.

I will correct the address of the 2nd DNS and see if that fixes the issue.

Tried it but I'm still getting the "No internet connection" message.
[Galaxy S 4 i9505 Android Development] s3icc0:
anyone please - how can I run samsung service menu on this rom?
[Galaxy S 4 i9505 Android Development] pesaroso:
Google Camera 4.4 is FC'ing on this ROM when using soft focus or HDR, worked at previous ROMs.

The built in camera doesn't focus at all for me, so I really need another camera app :p

Other than that, awesome ROM! Thanks!
[Galaxy S 4 i9505 Android Development] Darkwing_X:
Since this is an AOSP rom there should be no Samsung Service menu available.
[Galaxy S 4 i9505 Android Development] s3icc0:
But there is a SamsungServiceMode.apk in /system/app folder

And i need to get there to chnge 3g behavior
[Galaxy S 4 i9505 Android Development] FlanjeUK:
Flash a different modem then use the service menu then reflash current modem :)
[Galaxy S 4 i9505 Android Development] Darkwing_X:
On a TouchWiz ROM you have to dial *#0# to get in the service mode.

Don't know it this works also here.
[Galaxy S 4 i9505 Android Development] s3icc0:
seems you have some experiences already :) ... no ODIN handy here ... is it safe to flash with mobileODIN? :)
[Galaxy S 4 i9505 Android Development] kantjer:
I would not recommend it. I tried to flash a modem once with mobile Odin and it messed up my phone so badly I needed to flash a stock ROM through Odin and restore a nandroid to get phone up and running again. After that experience (and I'm not the only one) I removed mobile Odin from my phone and never touched it again.
[Galaxy S 4 i9505 Android Development] wonsky21:
I flashed modem twice lately, no issues. I used a PC tho, not mobile odin.

GT-I9505 | SlimSaberKat 4.4.4 jflte by kantjer
[Galaxy S 4 i9505 Android Development] svd1977:
Hi,

Just received a phone call twice today but according to them they cant hear me clearly, so i tried to plug my headset and thats the only time they hear me loud and clear, anyone? Im still on old bootloader(mg5)..latest build of ssk, twrp, alucard kernel
[Galaxy S 4 i9505 Android Development] kantjer:
I just finished a 45 minute phone call, no issues.
[Galaxy S 4 i9505 Android Development] kantjer:
I have changed the 2nd DNS server address and the DNS entries are written correctly to the resolv.conf file but I'm still getting the "No Internet connection" error.

Something is going wrong in the TESTCONNECTION part of the script.
[Galaxy S 4 i9505 Android Development] hawkerpaul:
I would have done it like this:

Download wget.sh

#!/sbin/busybox sh

w_get(){

local url=$1

WGET_OK=0

$W_GET $url -O $TMPFILE > 2>/dev/null

if [ $? != 0 ]

then

# wget failed.

# Attempt by IP Address instead

ping -c 1 $url 1>/dev/null 2>/dev/null

if [ $? -eq 0 ]

then

ipaddr=`ping -c 1 $url | sed -n 's@^.*(\([0-9]*\.[0-9]*\.[0-9]*\.[0-9]*\).*$@\1@p' | head -1`

if [ "$ipaddr" ]

then

# wget by the url's ipaddress

$W_GET $ipaddr -O $TMPFILE > 2>/dev/null

if [ $? -eq 0 ]

then

WGET_OK=1

fi

fi

fi

else

WGET_OK=1

fi

}

W_GET=""

for i in /system/xbin /system/bin

do

if [ -x $i/wget ]

then

W_GET=$i/wget

break

fi

done

if [ ! "$W_GET" ]

then

echo "Your BusyBox is not supported! Update to latest"

exit 1

fi

mount -o remount,rw /

mount -o remount,rw /system

TMPFILE=$(mktemp -t)

HOST_FILE=/system/etc/hosts

CONF_FILE= /system/etc/resolv.conf

DNS1=`getprop net.dns1`

DNS2=`getprop net.rmnet0.dns1`

DNS3=`getprop net.rmnet0.dns2`

# Set up the dns resolve file

echo "nameserver 8.8.8.8" > $CONF_FILE

echo "nameserver 4.4.8.8" >> $CONF_FILE

for i in $DNS1 $DNS2 $DNS3

do

if [ "$i" ]

then

echo "nameserver $i" >> $CONF_FILE

fi

done

# Attempt a wget by url

url="www.google.com"

WGET_OK=0

w_get $url

if [ $WGET_OK -eq 1 ]

then

url="http://winhelp2002.mvps.org/hosts.zip"

w_get $url

if [ $WGET_OK -eq 1 ]

then

unzip -p $TMPFILE HOSTS > $HOST_FILE

chmod 644 $HOST_FILE

dos2unix -u $HOST_FILE

echo "AD Blocker: installed to $HOST_FILE, reboot to use."

fi

fi

if [ $WGET_OK -eq 0 ]

then

echo "Problem: no internet connection! connect and try again"

fi

rm -f $TMPFILE
[Galaxy S 4 i9505 Android Development] kantjer:
Great thanks, I will give this a try later.
[Galaxy S 4 i9505 Android Development] kofe:
It's because the focus mode in camera is stucked on continuous... It's a slim bug that was fixed many builds ago, but suddenly reappeared some builds ago...

I am now using snap camera, but it only works with dalvik [emoji20]
[Galaxy S 4 i9505 Android Development] Bejda:
Yes,i kept searching a little but i can't see what i could have done for (right after build update) it suddenly pass the connection test.

I was under lte usage the whole time if that matters..

I'm not used to ad-block but it seems to work fine once hosts file gets edited,at least from what i see with an ad-supported free app.
[Galaxy S 4 i9505 Android Development] hawkerpaul:
Updated post to include a wget by ipaddress as a backup attempt
[Galaxy S 4 i9505 Android Development] giodeluigi:
Yeah, this bug is so boring!! ;)
[Galaxy S 4 i9505 Android Development] Bejda:
Could the connection test result depends on what gets written to resolv.conf file?

On my side the STweaks option now works with default files and i can't reproduce the "no connection" issue.

My resolv.conf file is (always same after i delete it>use option again)

nameserver 8.8.8.8
nameserver 4.4.8.8
nameserver [result of getprop net.dns1]
nameserver
nameserver
[empty line]

Edit: I mean not the "static" values but the getprop results that may differ (or even doesn't catch anything) for some.

Oh and btw did you find a way to identify the LTE modem we're currently running?

You once were wondering if i remember well..me too but i never found anything :)
[Galaxy S 4 i9505 Android Development] kantjer:
Still no luck, I'm not getting the "No Internet connection" any more but no host file is downloaded/installed.

I need a break from this. It should be simple but for some reason it isn't :(
[Galaxy S 4 i9505 Android Development] hawkerpaul:
I just wrote that code "dry" so to speak, so when i get to my pc and can get an adb session going I'll test it out mate.
[Galaxy S 4 i9505 Android Development] kantjer:
Running wget.sh in terminal gives me this

line 7:

$W_GET $url -O $TMPFILE > 2>/dev/null
[Galaxy S 4 i9505 Android Development] coyttl:
You can't redirect stdout (the first '>') to .. nothing. You need to have a file or handle after the >. i.e.:

$W_GET $url -O $TMPFILE >/dev/null 2>&1

The ">/dev/null" is redirecting STDOUT (standard output) to /dev/null, and the 2>&1 is telling the shell to redirect STDERR (Error Output, 2>) to STDOUT (&1).

Or, if you actually want to save STDOUT's messages -

$W_GET $url -O $TMPFILE >logfile.log 2>/dev/null
[Galaxy S 4 i9505 Android Development] hawkerpaul:
The command IS saving the output anyway, to tmpfile.

All you need to do is to remove the greater than sign after tmpfile

The script could also be made more efficient by not performing the google.com test. You may as well just dive in and attempt the zip in the first place

Let me know if you still want me to work on the script when i get to my pc later mate.
[Galaxy S 4 i9505 Android Development] kantjer:
I was thinking the same thing, just forget about the link test.

Also writing the DNS entries I think isn't needed. If there is a data link is highly likely that there are DNS servers set.

If you have some time left I would really appreciate if you can have a look later. I'm not a scripting specialist it would probably would take me at least 10 times the amount of time it will take you.
[Galaxy S 4 i9505 Android Development] hawkerpaul:
Will do, no problem.

I'll get my testing boots on as soon as i can mate. Prob won't be for an hour or two yet sorry.
[Galaxy S 4 i9505 Android Development] kantjer:
No hurry, I just fired a clean build to test a few new ROM commits, so that twill be keeping my PC occupied for the next couple of hours.

Just did a quick test, stripped the original script from all connection checks. It gave me a promising "AD Blocker: installed to /system/etc/hosts, reboot to use." message but and empty host file.

#!/sbin/busybox sh

WGET_CHECK1=`ls -la /system/xbin/wget | wc -l`;
WGET_CHECK2=`ls -la /system/bin/wget | wc -l`;

if [ "$WGET_CHECK1" -eq "1" ] || [ "$WGET_CHECK2" -eq "1" ]; then

mount -o remount,rw /;
mount -o remount,rw /system;

TMPFILE=$(mktemp -t);
HOST_FILE="/system/etc/hosts";

DNS1=`getprop net.dns1`;
DNS2=`getprop net.rmnet0.dns1`;
DNS3=`getprop net.rmnet0.dns2`;

echo "nameserver 8.8.8.8" > /system/etc/resolv.conf;
echo "nameserver 8.8.4.4" >> /system/etc/resolv.conf;
echo "nameserver $DNS1" >> /system/etc/resolv.conf;
echo "nameserver $DNS2" >> /system/etc/resolv.conf;
echo "nameserver $DNS3" >> /system/etc/resolv.conf;

wget http://winhelp2002.mvps.org/hosts.zip -O $TMPFILE > /dev/null 2>&1;
unzip -p $TMPFILE HOSTS > $HOST_FILE;
chmod 644 $HOST_FILE;
dos2unix -u /system/etc/hosts;
echo "AD Blocker: installed to /system/etc/hosts, reboot to use.";

rm -f $TMPFILE;
else
echo "Your BusyBox is not supported! Update to latest";
fi;
[Galaxy S 4 i9505 Android Development] hawkerpaul:
I'll have a look as soon as i can and make it as failsafe as possible
[Galaxy S 4 i9505 Android Development] gaww:
I was lucky and had read such a warning before I bricked mine. It said that the problem with it was that many modded ROMs have build props that have device names different from the actual device, and mobile ODIN any use that to reset partitions - creating a brick.

With PC ODIN, there is a box to set partitions, and that is not checked by default.
[Galaxy S 4 i9505 Android Development] Bejda:
With Hawkerpaul's "dry try" sh (Dropbox link) after i edited 2 lines according to coyttl's comments (i used logfile.log way) for it pass over the "unexpected redirection" error i get "resolv.conf not found".

If file already exists (+ i needed to add a chmod 777 otherwise i had a permission deny) i have this (line numbers may differs as i added about 3 lines during tests):

View attachment 2853189

[MENTION=3306843]kantjer[/MENTION]

Yours,the one with connection test removed,works for me. Just like the original one.
[Galaxy S 4 i9505 Android Development] hawkerpaul:
Ok, here is the updated script

wget.sh

However, on my device I can't get wget to work unless a specific ip address is specified.

This is fine if we are just doing wget on a website address, but for a specifc file (ie. the zip) then this wont work.

wget returns: wget: bad address 'winhelp2002.mvps.org'

It may work for you on SSK however. (I'm currently on Dan's GPE rom, which comes bundled with BusyBox v1.22.2-Dorimanx (2014-04-26 23:25:15 IDT)

I have a feeling its a busybox issue.

Get the wget command to work with the winhelp2002 url, and the script should be good to go.
[Galaxy S 4 i9505 Android Development] kantjer:
Thanks I will test it tomorrow and let you know. Thanks for all your help. :good:
[Galaxy S 4 i9505 Android Development] Bejda:
It went apparently perfectly for me trough Script Manager on a freshly installed SlimKat 6.4 based build (CM kernel + built-in superuser).
[Galaxy S 4 i9505 Android Development] oildale:
All this talk of updating modems has me wondering if I should update mine or not. I'm on Rogers in Vancouver BC Canada with a baseband version of I337MVLUAMDJ.

There are definite points on my commute to and from work where if I'm listening to music from the external SD card it will skip. I am pretty sure it is a reception issue of some sort (phone having trouble switching between cells possibly?) because if I enable airplane mode the music never skips.
[Galaxy S 4 i9505 Android Development] brunodu91:
Hi

I know that I had already ask it and that it isn't slim team priority but it begin to be urgency to integrated the new theme engine because all themes are releasing for it!

Why they're isn't work on it? Others aosp rom ate integrated it? ! Thx to a ask them for us!

Thx

Envoyé de mon S4, via tapatalk 4 .

Slimsaberkat 4.4.4 released, alucard Kernel , buzz launcher , modem ET bootloader NC4.