yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S (4G Model)] kyrron:
So, did a wipe and reload, then grabbed the apps from the link on page 2. All better now!

Thanks!

You can also flash below link for play store only... Download and flash GApps core 4.4.2

http://goo.im/devs/BaNkS/GApps/4.4.2

Thanks goes to Banks

---------- Post added at 01:16 PM ---------- Previous post was at 01:10 PM ----------

Next question on this lovely new OS. Is there any way to change the DPI?

Had it set in Slimbean, would love to get a better resolution on SlimSaber, but, can't find a setting anywhere to tweak it.

Any help is greatly appreciated!

So far, loving the rom, nice and fast, just gotta get it tweaked :D

Robert
[Samsung Galaxy S (4G Model)] Link119:
Does anyone know why i get this lock screen problem or even if you get this issue? I dont use any widgets on my home screen or any lock screen widgets other than the stock clock one. Also this problem occurred more when the governor was set to interactive than it does with ondemand.

Also the clock on the lock screen is cut off as pointed out earlier.
[Samsung Galaxy S (4G Model)] ariesgodofwar:
I take my prior comments back. I tried it again, and I have 2 sats locked as I type this after your method.
[Samsung Galaxy S (4G Model)] m4127440:
My gps locked fine after flashing latest build...seemed to lock faster than on gb. Video playback via mobo player and naked browser was fine too.

Slim_minimal_gapps.4.4.2.beta.2.x.zip

SlimSaber-galaxys4gmtd-4.4.2-20140123.zip

Sent from my SGH-T959V using the interweb
[Samsung Galaxy S (4G Model)] johnadelic:
Still no GPS for me.
[Samsung Galaxy S (4G Model)] thorne1209:
No GPS for me too... But I had GPS lock on the latest Slimkat build. Very odd... not to mention the constant signal drops for me on this ROM. And I seem to be the only one experiencing this :(
[Samsung Galaxy S (4G Model)] Kiladar:
So after 8 hours of trying I finally got it but I had to go back and do a few different steps.

1. Flash gb voodoo kernel via Odin.

2. Flash aokp mtd cm9 for twrp

3. Flash beanstalk 4.4.2 reboot recovery full wipe.

4. Flash slimkat and kk gapps for everything to work 100%

Though it took me time I'm gonna love playing with this thanks!
[Samsung Galaxy S (4G Model)] DerPuGNa:
i search about this , i found out that there is an apps that can change DPI. (google FTW)

of you dont want those use the semi difficult one

you need some file explorer which can edit text ( i use CM FILEMANGER my fav! ) and can access to system.

go to ON ROOT ,GO TO SYSTEM-(SCROLL DOWN) OPEN BUILD.PROP

SCROLL UNTIL YOU FIND " ro.sf.lcd_density= XXX " (take note : XXX means ur current DPI change it what every you want i use 182 DPI"

THEN SAVE REBOOT YOUR HAPPY NOW.

i have the same problem sometimes. but i dont mind this cause its just a lockscreen! hahahaha remove ur lock screen if u dont want to experience this. :P
[Samsung Galaxy S (4G Model)] kyrron:
Yup

Thanks for the heads up, I modded last night using build prop editor and set to 220 and everything is hunky dory.

I had already googled this issue, what I was wondering was if it was a setting somewhere in the OS that was customizable via settings instead of hacking the build.prop file . :D
[Samsung Galaxy S (4G Model)] DickyG:
Would this same fix work on Beanstalk 4.4?
[Samsung Galaxy S (4G Model)] inimeg81:
The fix it seems to work for some ppl, some not. I will update when dao gets back. I assure you I am working hard on this. I would still like to hear feedback of how many people have gotten it to work, as I am trying to figure out how to get this to work every time, for everyone
[Samsung Galaxy S (4G Model)] johnadelic:
Awesome, I am happy to test for you. FYI I did a clean install when I tried it.

Sent from inside the time vortex
[Samsung Galaxy S (4G Model)] inimeg81:
In you response with the picture it looks like you aren't connected to a mobile network at all. You need some type of data connection for GPS to work
[Samsung Galaxy S (4G Model)] johnadelic:
Yeah I don't have a working sim card in the phone. I did try turning in WiFi but it still didn't work.

Sent from inside the time vortex
[Samsung Galaxy S (4G Model)] inimeg81:
Okay try this to get GPS working, it is working for me on maps and waze, and waze shows you if GPS is on or not... Also the logcat of this command shows GPS fully working:

su

modprobe logger

gpsd /etc/vendor/samsung-agpsd/secgps.conf
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
Still no SATs detected.
[Samsung Galaxy S (4G Model)] inimeg81:
I don't know. Its working for me
[Samsung Galaxy S (4G Model)] inimeg81:
Try it with passing the -c flag after gpsd
[Samsung Galaxy S (4G Model)] Dwack:
I've tried both of your options. Doesn't seem to work for me.
[Samsung Galaxy S (4G Model)] inimeg81:
You are missing something after you launch gpsd as root type logcat >> /sdcard/logcat.txt then press the home key to minimize to see if it's working. Then upload that log cat so I can see what's going on.
[Samsung Galaxy S (4G Model)] jeffsf:
Having a data connection can potentially speed lock in a variety of ways; updating of ephemeris data, differing flavors of AGPS where the received data is sent off to another server, but the GPS should still lock without it. (I found on Froyo, GB, and ICS ROMs that it tended to be the most robust in reliably and quickly gaining lock with AGPS turned off.)

While on the subject of GPS -- I came across a rather long thread that appears to believe that the problem is bad contacts between the board and the antenna. I haven't read much of it, but it may be interesting reading for those that want to get their GPS to do something useful once it is connected to the OS. http://xdaforums.com/showthread.php?t=1697217 The solutions appear to be more robust than the ones that I had seen some time ago about just bending things a bit, or "press right here" to fix it.

Edit: Apparently there are a few of these threads out there, including

http://xdaforums.com/showthread.php?t=878970

http://xdaforums.com/showthread.php?t=1043034

http://xdaforums.com/showthread.php?t=1697217
[Samsung Galaxy S (4G Model)] daothanhduy1996:
In case of GPS, I will test these 2, hope it will bring up something:

https://github.com/daothanhduy/andr...mmit/89a84ab486f493a6debc64cee47542a6eceae93f

https://github.com/daothanhduy/andr...mmit/256508742ed5c6a95c67e1341d9e1f5dbd68b889
[Samsung Galaxy S (4G Model)] bhundven:
Yes, but I think you need to re-add the chown for GPS_nRST, but update the permissions as were done for GPS_PWR_EN: gps root 660

(if /sys/class/sec/gps/GPS_PWR_EN/value even exists...)

Interesting, looks like a good test! (EDIT: IOW, someone test this and report back!)
[Samsung Galaxy S (4G Model)] inimeg81:
The latest post about getting gps to work that I made has worked every time I tried it and it shows the same logcat output as gingerbread log cat. I have 2 sgs4g s. Can someone else try su. gpsd -c /etc/vendor/samsung-agpsd/secgps.conf ? Hit home key to minimize then go into maps go outside give it a min to connect. Do modprobe logger and see if they get it working ? I don't know how I'm one of 3 getting this to work only. All that really needs to be done is to tie a script into the ui to run when GPS permission is asked to inheret
[Samsung Galaxy S (4G Model)] Dwack:
My logcat file is always empty and no GPS.

not sure if I'm doing something wrong.......
[Samsung Galaxy S (4G Model)] inimeg81:
Earlier in the thread dao says he made logger.ko logcat as a module. Not built in. So to turn it on u

su

modprobe logger

A) type logcat after u modprobe

Or

b)Hit home button so terminal minimizes not exit and go to logcat app

I only inserted modprpbe in GPS instructions so u could see agpsd.c and gpscodec sending and receiving with gpsclient when u are on maps or waze. Its easier to just run the log cat in terminal. Running gpsd -c with its config file can only be done so many ways the post with secgps.conf is correct, use -c with it. And patience.... It takes 10 to 20 seconds while in navigation app and you must be outside clear sky. App must be in foreground. Sometimes Kk kills the app your using for gps isn't after app is in background for x amount of time. Or if u kill terminal or run multiple logcats as module warns of stability I've had other ppl say they have it working. I'm about to post a damn video. Do not kill terminal session until u are done navigation and if u have to run the GPSS command in full a second time. Must have everything on in location and set to high accuracy with WiFi off

---------- Post added at 05:23 PM ---------- Previous post was at 05:14 PM ----------

Its basically running WiFi temp fix on Erik jellybean 4.1 release but run su then gpsd -c /etc/vendor/samsung-agpsd/secgps.conf
[Samsung Galaxy S (4G Model)] johnadelic:
I tried it again but still no luck. But then again I don't have an active sim card in it. So I am not sure how much help I will be.

Sent from inside the time vortex
[Samsung Galaxy S (4G Model)] hutson23:
I flashed the latest version of the ROM...used the terminal commands and it does work with google maps.

I have tried 3 locations and it guided me to all three.

Still can't get any other GPS app to work.
[Samsung Galaxy S (4G Model)] inimeg81:
Someone corrected me the secgps.conf is under /etc/vendor/samsung-agpsd/
[Samsung Galaxy S (4G Model)] inimeg81:
I noticed when in messaging and attaching a picture as choosing capture picture... When u capture and send it, MMS doesn't compress the photo and it doesn't send a viewable pic. Taking a pic with camera then going into messaging and attach picture does tho. I'll get log
[Samsung Galaxy S (4G Model)] johnadelic:
I don't have a samsung-agpsd dir. I do have a samsung-agps though.
[Samsung Galaxy S (4G Model)] inimeg81:
Well yes its in the dir with the only secgps.conf I just made a video I'm trying to upload it somewhere its big
[Samsung Galaxy S (4G Model)] Link119:
Can someone check I'd they can change a contact picture? I keep getting "unfortunately gallery has stopped" every time that I try to change it.

Sorry if this is a known issue!
[Samsung Galaxy S (4G Model)] Dwack:
Same
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Just uploaded a new build, hopefully GPS works fine tho. Besides GPS and compass commits, you will also have Official Slimkat 2.5 RC1 changes. I also opened an issue tracker, just gather around for easier tracking at: https://github.com/daothanhduy/android_device_samsung_galaxys4gmtd/issues ENJOY!

P/s: I'm trying hard to fix things and I also need your help if you know how to fix, just like what inimeg81 did. I'm listening to you all. However, I'm working slowly, not so fast that can fix everything at once so each build might contain one fix or so, until when it is confirmed "gone" then I will move onto next one. Please understand :).

Pp/s: some issues might be related to O3 optimized flag turned on @ the boardconfig as we had Bluetooth problem in O3 Slimbean builds - Android 4.3. So, I might turn it off next build to c tho. Anyway, please if someone can confirm whether GPS works or not tho. Thank you!
[Samsung Galaxy S (4G Model)] Dwack:
Flashed the newest build:

reboot recovery

wipe cache/dalvik

install update

reboot

.. it redid the gapps .. everything seemed to being going OK ... but now my touch keys don't work(home, back, search, settings)

anyone else?
[Samsung Galaxy S (4G Model)] daothanhduy1996:
hmmm, weirdo since I just touched the GPS related files and repo sync changes, that's all. So if this issue is really existed then it should be from upstream slimkat, I'll check their changes tho and if anyone else has this issue also, let me know then coz I haven't tested this build and I can't test it :).

This might cause the issue:

I mean Slim did rewrite the hardware key binding, so if you can, pls go to Setings>navigation and try changing the hardware key binding settings tho.

BTW, what gapps did u flash? And which version if it was slimgapps?

EDIT: I'm currently on IRC so anyone interest, we can have a conversation there :). Join us on IRC!
[Samsung Galaxy S (4G Model)] Dwack:
Slim_minimal_gapps.4.4.2.build.2.x.zip EDIT: ( worked fine on the previous release)

I couldn't find anything in settings about the hardware key bindings, so I had to enable the navigation bar to get around.

So far my GPS test don't seem to be going any better then the method posted in this thread.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
I know why the hardware key not working now, just we haven't set it up due to that commit Slim made. Rite now the ROM just detects that we don't have any hardware key - 0 key - and a small overlay hack will fix it. Next build will have it fixed, so temporarily use the nav bar tho. Sorry for this inconvenience. About GPS, ya, I have seen some stated it work, some not with the typing-in-terminal method and hope fully ones that said it worked b4 can test and report asap.

HEY, if you want to fix the hardware keys rite now insted waiting for a new build in 24 hours, here is what you can do: USE APKTOOL to decompile the framework-res.xml then edit the file /base/core/res/res/values/configs.xml :

Change

<integer name="config_deviceHardwareKeys">0</integer>

to

<integer name="config_deviceHardwareKeys">15</integer>
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
I am having the same issue with the newest build. I just flashed back to my backup and keys are working again. I will wait for the update.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Gonna be on Goo.im in the next 2 hours ;)
[Samsung Galaxy S (4G Model)] daothanhduy1996:
New build is up now - build date: 20140204. Changes: Use O2 flags insted of O3 for the ROM - the kernel is still built with O3 flags/Linaro routines. Moreover: the hardware key issue is fixed. Still if anyone can report the gps to me tho, I want to know whether it works or not plus the log also
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
Installed, soft keys are working. I still don't have GPS.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
did the typing-in-terminal method by inimeg81 work b4 for ur phone? it yes then check whether that manual method strill work on thí build or not thanks :p
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
No. I never got a lock that way either
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Ah I c, sorry to say this but I'm needing one that had luck w previous method can test this tho as gps not working might also be caused by other reasons apart from ROM and kernel tho :p anw thanks for lettig me know
[Samsung Galaxy S (4G Model)] thorne1209:
While I've got you on here I've been having constant signal drops with your ROM, and others. Just wondering if there was a fix for this or not in the past or if APN settings could be off, bad antenna etc. I'm new to this device and this thread so please forgive my ignorance :)

Thanks
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
OK, thanks. I s hoping that maybe I typed something wrong on the manual entry method and more or would work. I will try a clean install tonight and see what that does.
[Samsung Galaxy S (4G Model)] Dwack:
No GPS on 2/04 build
[Samsung Galaxy S (4G Model)] thorne1209:
Just FYI, I had GPS lock on your Slimkat build, of within 20 meters. Maybe look to there for an answer? :)
[Samsung Galaxy S (4G Model)] inimeg81:
Not only does gps work in 04 build it works fast to lock. When i started navigation it stayed as searching for gps... But after a few minutes it caught up and said lets go go north towards welsh rd notification pulldown would show seeking gps if gps wasnt working 100%. I did have to do the secgps.conf command
[Samsung Galaxy S (4G Model)] inimeg81:
http://pastebin.com/iQExH2pf is gps logcat.
[Samsung Galaxy S (4G Model)] inimeg81:
gps shows up in battery stats now so.. As u can see i was doing some heavy usage today
[Samsung Galaxy S (4G Model)] daothanhduy1996:
[MENTION=5592807]inimeg81[/MENTION]: So as you said, in order to get the GPS to work, you still had to type the commands in and it didn't work w/o those commands? Damn, I really need a chat/conversation on this so if anyone can, pls join IRC with us tho as it's such time-wasting waiting for a confirm for just a bug to move on tho >.<'
[Samsung Galaxy S (4G Model)] DerPuGNa:
im currently using 02-04 build and YES , GPS did not work w/o commands :D
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Thanks man! :) Now I c why it's not working, the gps binary symlinked to /vendor/etc/gps.xml. Weird that the file really exists in the zip package at /system/vendor/etc/gps.xml but somehow it is not copied/linked to /vendor/etc/gps.xml, really weird, so basically it doesn't exist there at the place we want after booting the phone up. However, I will try redirecting the path to /etc/gps.xml where we do have the file, too.

So theoretically, I'm quite sure we will have gps back in hand w/o commands typing in the next build :) Cheers!
[Samsung Galaxy S (4G Model)] inimeg81:
I do gpsd -c /etc/vendor/samsung-agps/secgps.conf. just wanted u to know thats the conf that matters . /system/etc is different then /etc... I thinj the path is wrong in init.aries.gps.rx?

Sorry yes i had to do command via terminal i couldnt get gui gps to run without manually doing it. . ill hop on irc
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Yup, the path was wrong. However, /etc is symlinked to /system/etc I believe even tho I don't understand why :/.
[Samsung Galaxy S (4G Model)] inimeg81:
Ignore recent pm i sent
[Samsung Galaxy S (4G Model)] daothanhduy1996:
I have never built this fast lol, just 3 hours, all thanks to CCache hehe :p. Hope u got GPS works this time w/o typing commands in terminal and test the vid playback also with stock gallery app and/or with 3rd party app like mobo engine or MXplayer. Thanks!

View attachment 2562343
[Samsung Galaxy S (4G Model)] Link119:
I will be testing GPS (i dont really have any videos i want to test) and i can also test whether or not the gallery app crashes when i change contact photo.

I still have been having problems with the lock screen not responding sometimes for a few seconds. Any idea why this is happening?
[Samsung Galaxy S (4G Model)] ariesgodofwar:
I am on the latest version and GPS does not appear to be working. I can get turn by turn in Maps (have not left the house yet to test, but get the constant "searching for GPS" in the status bar, and GPS Widget and GPS Status and Toolbox are showing zero satellite fixes.
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
I get searching for GPS in status bar. I drive boats at Disney and I left the maps with GPS active in an obstructed view to the sky. Never got any response.
[Samsung Galaxy S (4G Model)] inimeg81:
Although i didnt allow much time testing 06 that much.. samsung-gpsd doesnt appear to be running as any id or root. Gps does show in battery stats but i think its constantly getting killed in its thread. I would revert to what u had in 04 as temp fix. This gps is tricky with so much extra crap code in there. Im going to go back to 04 as i could still do it manually and want to try some additional testing. One thing tho when u click on location icon in notification quick pulldown it turns location feature on/off now

---------- Post added at 05:45 PM ---------- Previous post was at 05:20 PM ----------

Im starting to wonder if gapps may have the answer as u need gapps installed with google framework for location reporting to be a feature to be turned on

---------- Post added at 05:52 PM ---------- Previous post was at 05:45 PM ----------

http://xdaforums.com/showthread.php?t=2397942
[Samsung Galaxy S (4G Model)] Dwack:
Both 2/04 and 2/06 offer no fix to the GPS problem for me. I tried using it normally and inputting the terminal command, still no luck. Google Maps is always searching for GPS, even after 15 minutes of searching.

I also have GApps installed and all location services turned on.
[Samsung Galaxy S (4G Model)] inimeg81:
Some people have it working some dont. It works every time for me. Dont know what to say. Mxplayer plays videos that are recorded although it turna the video 90 degrees sometimes

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

Havr u tried logcat and looked to see if there is a difference with the gps logcat i posted trying with 04 build
[Samsung Galaxy S (4G Model)] Dwack:
I can't get logcat to work, even with that modprobe logger thing you said to do.
[Samsung Galaxy S (4G Model)] inimeg81:
Do su

modprobe -f logger

cp /etc/vendor/samsung-agps/secgps.conf /data/gps

gpsd -c /etc/vendor/samsung-agps/secgps.conf

Then type logcat in termjnal or use logcat app . i tested on 04 again i got gps it disconnected once but reconnected
[Samsung Galaxy S (4G Model)] inimeg81:
Theres only one way to load the module for logcat. If u cant su root and modprobe logger i dont know how u will get gps working
[Samsung Galaxy S (4G Model)] ariesgodofwar:
I tried this and got lock once, but then lost it on the 06 build.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
a new build is online. build date: 20140207. Basically this is build 0206 but w some minor changes/reverts for GPS back to 0204 state. Moreover I included an init.d script for GPS init. Damn, this GPS is really crazy :o

SO u dont hav to flash if u r not so into GPS
[Samsung Galaxy S (4G Model)] Rebel_X:
^ I appreciate what you do, but why there is no love for Beanstalk :< , I have nothing against slim, but latest beanstalk is as snappy as slim if not better with more customizations.
[Samsung Galaxy S (4G Model)] Theraze:
Because maybe, just maybe, the point of the last few builds has been to try to fix GPS, as he said, and maybe, just maybe, trying to fix the GPS in multiple ROMs just means that you're adding additional points of failure into the mix. And maybe, just maybe, if GPS gets fixed, people will happily start building more new ROMs for this phone, since T-Mo still loves to sell it to people who then find out that they either need to stick with official GB, ICS with a GB kernel if they want GPS, or they can go with KK without GPS.

Just relax. When the problem being worked on gets fixed, there's a good chance it will end up built again. Until then, if you want to update Beanstalk... go ahead! That's part of the awesomeness of public posting of the gits. Pull the repo and build if you want it. Or be patient. But whining that your fav ROM still doesn't have a new build doesn't help anything.
[Samsung Galaxy S (4G Model)] daothanhduy1996:
Yep coz rite now I wanna get GPS sorted out tho and merged into beanstalk branch and build. My prior is slimsaber coz it is light and I could set the 20gig ccache for it so it just takes me 3 hours for a clean build but beanstalk takes me 8hours since no ccache has set fo it. After finalizing sth, I will build a new beanstalk build ;) dunt worry coz I said I would support these 2 and I will fo sure

P/s: OK, I'm gonna build a new beanstalk build tonite - mean tmr morning for some of u guys :p.
[Samsung Galaxy S (4G Model)] Dwack:
2/04 build:

--------- beginning of /dev/log/system
W/SocketClient(129): write error (Broken pipe)
W/SocketClient(129): write error (Broken pipe)
W/SocketClient(129): write error (Broken pipe)
W/SocketClient(129): write error (Broken pipe)
W/SocketClient(129): write error (Broken pipe)
--------- beginning of /dev/log/main
D/ (2158): agpsd.c : Child created, Parent exits : succes
D/ (2159): agpsd.c : Child execution starts here
E/LcsClient(2159): oem_send_ril_request : packet is (a6f58)
E/LcsClient(2159): oem_send_ril_request : packet is (a6b88)

After 10 minutes it's "still waiting for satellites" in the Satellite check app. Maybe my GPS hardware is broken?
[Samsung Galaxy S (4G Model)] AgainstTheFlow:
Same thing that I get.