yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] tass0s:
flashing both of these kernels, the device wouldn't boot, just black screen.

Aren't we able to enable trimming via trimmer on market?
[Galaxy S II Android Development] Nightshadow931:
You need kernel that supports trim in order to use trim.
[Galaxy S II Android Development] :
I use gustavo_s last kk kernel with trim. It works well, and synapse works as well

MD5 - 254552DED61B9B6F99681E528F6093AF

If I was you I would wipe system, then flash rom and gapps, then setup phone, then reboot back to recovery to flash kernel, but you can flash them how you want.....
[Galaxy S II Android Development] j1gga84:
[MENTION=5103629]thunder45[/MENTION]

Did you already test Skype with latest build of FJ? :)

regards
[Galaxy S II Android Development] heliox:
Which free trim app do you recommend for this rom and this kernel?
[Galaxy S II Android Development] :
I use terminal commands, but "Trimmer" app works well AFAIK
[Galaxy S II Android Development] heliox:
Thanks for that app advice. Are these commands the ones you're refering to?

# fstrim -v /data

# fstrim -v /cache

# fstrim -v /system

Just found those by googling. Thanks again
[Galaxy S II Android Development] GreekDragon:
Yes. those are the commands for trim.
[Galaxy S II Android Development] thunder45:
I did, and I though I have replied here already, but looks like I didn't! (hopefully I have not replied to someone else's thread!)

The problem with skype remains. It still thinks slimsaber is JellyBean:

08-11 08:26:04.993 E/dalvikvm(3453): dlopen("/data/app-lib/com.skype.raider-1/libcodecs.so") failed: dlopen failed: cannot locate symbol "_ZN7android12CameraSource16CreateFromCameraERKNS_2spINS_7ICameraEEERKNS1_INS_21ICameraRecordingProxyEEEiNS_4SizeEiRKNS1_INS_7SurfaceEEEb" referenced by "libcodecs.so"...

At least, it thinks libstagefright is still on 2013, behind the following commit:

https://github.com/SlimSaber/frameworks_av/commit/ceb388d6c03c38b96dc41c0ea4804b749aa077c4

By the way, I was reviewing my 4.7 unoptimized build. I found that I forgot to revert a tentative fix I made for this "CreateFromCamera" issue (skype thinks libstagefright is still on 2013). So that is why my build passes this "CreateFromCamera" point, and crashes later after opening both cameras. It would be a good start, if the point it crashes further (after opening both cameras) could bring me any useful information, but it doesn´t! At least I could not see anything useful on logcat.

Thank you
[Galaxy S II Android Development] :
I just noticed the stagefright detector app updated this morning. I ran a test and there are vulnerabilities again :(

(on latest [MENTION=1228651]fusionjack[/MENTION] build)
[Galaxy S II Android Development] thunder45:
Acid0057 told me there are more fixes coming for stagefright. Even my CM11 build from two days ago is showing the same vulnerability as yours. Apparently CM team submitted more fixes yesterday.

Regards
[Galaxy S II Android Development] fusionjack:
one of the stagefright fixes causes another security vulnerability. they call it as 'stagefright 2' fix.

i have already pushed it to my github. i'll release another build, probably next week.
[Galaxy S II Android Development] :
Really appreciate that, I know you have moved on from the S2. Thank you :)
[Galaxy S II Android Development] heliox:
Even more grateful as you've moved away from this device we appreciate a lot!
[Galaxy S II Android Development] abuduri:
Sim Toolkit not in apps?

Am in international roaming and I need Sim Toolkit to switch the service. I changed from this ROM to a 5.1.1 and then came back. Now I don't see SIM Toolkit in the app drawer. It used to be there (I think?). I do see the APK under /system/app with rw-r-r permissions and seems to be installed but still not visible.

Any ideas how to get it to show? Any help or suggestions is greatly appreciated! Thanks in advance...
[Galaxy S II Android Development] fusionjack:
try to set up a sim pin
[Galaxy S II Android Development] abuduri:
Thanks [MENTION=1228651]fusionjack[/MENTION] ... I should have mentioned it. I already tried that several times. I tried 0000, 1111, 2222, 9999, 1234 - all of them failed.

I tried going back to some older versions of this ROM and I do see the SIM Toolkit and am able to run it. But it only shows the option of "FLASH!" (mine is Vodafone India) but I don't see any option to enable International Roaming (used to be there). So am not sure what's going on here.
[Galaxy S II Android Development] officiallyme:
Good morning!

Reverted back to KK from LP because of stability issues. However, can someone tell me how to disable the weather widget on lockscreen? :rolleyes::D

I can't even figure out what is providing that information.
[Galaxy S II Android Development] :
There might be an easier way, but just bring up widgets menu, move dashclock settings widget 1x1 to the homescreen. Then go into that widget and swipe away weather and anything else you don't want. Then remove dashclock settings widget from homescreen if you want to
[Galaxy S II Android Development] officiallyme:
Perfect, thank you! That worked! :)

You wouldn't by any chance happen to also know why after every reboot my gps.conf gets reset? I copied my old one to /system/etc/ and changed the owner to system/root but after reboot it gets replaced again.
[Galaxy S II Android Development] :
No, don't know. Might be a init script or something. Have you tried fastergps? This will do the same job in setting region. Again don't know if it keeps settings after reboot....
[Galaxy S II Android Development] RamHa:
Who is that guy?????? Who the hell is FJ??????? Never the less = great dev and Android expert!!! Rom is great, THANK YOU [MENTION=1228651]fusionjack[/MENTION]!!!!
[Galaxy S II Android Development] OlMightyG:
[MENTION=1228651]fusionjack[/MENTION]: Great work! Best ROM for GSGII right now. Are you going to implement the mentioned securityfixes as well?

What Kernel do you use? I had this behaviour with Dorimanx. You have to set the GPS region settings to "no changes". Otherwise it will override whatever is set by anything else after rebooting.
[Galaxy S II Android Development] officiallyme:
I am using Gustavo's Kernel with Trim. But there is no "no changes" setting in Synapse. I think Stweaks isn't working with the kernel (from what I read), but have not tried it yet.
[Galaxy S II Android Development] OlMightyG:
Ok, I had this "problem" with dorimanx unofficial kernel and solved it like described.

Maybe you should check for init scripts and if you did not have set anything important, just clear them.

I have another problem: Bad GPS reception. I just dont get a fix. I just noticed it today. Is that ROM related?
[Galaxy S II Android Development] :
GPS is working fine here.
[Galaxy S II Android Development] dany123i:
I've noticed with this rom that my gps is taking way longer to fix (sometimes it doesn't fix at all in a useful amount of time ~5 mins so i just give up fixing) it sometimes goes to 0/5 satelites found (gps status: fixed/visible) but then loses one by one untill it goes back to 0/2 or 0/0.

On another note, is there any workaround for making skype work? I can't even load the app.

Also, some weird stuff is happening (i'm using cheetah launcher, i'm thinking this is causing the problem as even if i choose as default slim launcher, it starts as slim, then switches to cheetah, then it asks which i want to open - yes, i did click always on slim, tried a few times) when i turn on my phone I'm not asked about my sim pin and my lockscreen doesn't appear, it just goes straight to home screen, i have to lock the screen then unlock (via button) and only at this point i get asked about my pin and i can actually connect to the network. Also, for a minute (untill all the widgets load and everything stabilizes) double pressing home button will lock the screen. From what i just noticed if i just wait something around 5 minutes the phone acts as it should.

Is anyone else experiencing this or is it just me and i should probably reinstall cheetah (which i'll probably won't, don't want to recreate all the folders and structure)
[Galaxy S II Android Development] psydex:
Heads up does not work for me, does not show at all. I'm on the latest version 10/08/15 - what could it be?
[Galaxy S II Android Development] :
[MENTION=4228278]dany123i[/MENTION]

Not sure about the GPS. Mine locks in 10 - 15 seconds.

Skype has issues with this rom. Something with an incorrect android version label in the build.prop. If Skype is essential for you, you may need to try a different rom. At least until [MENTION=1228651]fusionjack[/MENTION] can fix it. It may not happen though.

I don't have the issues with the launcher. The only thing I would try is uninstall cheetah. But that's up to you
[Galaxy S II Android Development] dany123i:
Thanks, the skype issue is really annoying, was hoping there to be a workaround, maybe an older version, did anyone try?
[Galaxy S II Android Development] :
Pretty sure it's always been like that on this rom but I don't use Skype
[Galaxy S II Android Development] OlMightyG:
Exactly the same here...

Maybe it is a Radio Problem and we have to flash another?
[Galaxy S II Android Development] officiallyme:
by radio do you mean the modem? if so, are you sure this is being used for gps?

i have not managed to get a single gps fix since installing this rom :confused:

installed fastergps now and adjusted to commonly recommended settings. still no fix. not sure what else to try.

i will uninstall synapse and install stweaks instead. maybe something is wrong thrre, but i very much doubt it.
[Galaxy S II Android Development] OlMightyG:
yes, i mean the modem. the problem is, that before installing this rom, i used the RIL cleaner to install the one good modem that sould work best in the most cases since i had tried some modems before that and messed around a bit. so i thought maybe that this is the problem.
[Galaxy S II Android Development] officiallyme:
which modem would that be? i think a lot of roms are using the ls8, the same that we are using.
[Galaxy S II Android Development] kostelo:
Modem is not included in roms, unless it is stated by the developer. It is totally irrelevant to the rom itself. Ril, on the other hand is included in the rom.
[Galaxy S II Android Development] ultravy:
With this good gps.conf i get a fix in 5-10 seconds! Just rename it to: gps.conf

Rememder to change NTP_SERVER to your location! Check your gps antenna! my first S2 had a bad reception!
[Galaxy S II Android Development] dany123i:
Thanks, this worked for me : 20 sec initial lock after reset, then almost instant locks (2-5s), I'm guessing i was pretty far from north america so it took a long time to calculate locations.

Btw, isn't INTERMEDIATE_POS important and should be set to 1 by default?

this was my original gps.conf file:

root@android:/system/etc # cat gps.conf
NTP_SERVER=north-america.pool.ntp.org
XTRA_SERVER_1=http://xtra1.gpsonextra.net/xtra.bin
XTRA_SERVER_2=http://xtra2.gpsonextra.net/xtra.bin
XTRA_SERVER_3=http://xtra3.gpsonextra.net/xtra.bin

# DEBUG LEVELS: 0 - none, 1 - Error, 2 - Warning, 3 - Info
# 4 - Debug, 5 - Verbose
DEBUG_LEVEL =0

# Intermediate position report, 1=enable, 0=disable
INTERMEDIATE_POS=0

# Accuracy threshold for intermediate positions
# less accurate positions are ignored, 0 for passing all positions
ACCURACY_THRES=0

# Report supl ref location as position, 1=enable, 0=disable
REPORT_POSITION_USE_SUPL_REFLOC=1

# Wiper (wifi positioning), 1=enable, 0=disable
ENABLE_WIPER=1

################################
##### AGPS server settings #####
################################
SUPL_HOST=supl.google.com
SUPL_PORT=7276
SUPL_NO_SECURE_PORT=7276
SUPL_SECURE_PORT=7276

#################################
##### AGPS Carrier settings #####
#################################
CURRENT_CARRIER=common
DEFAULT_AGPS_ENABLE=TRUE
DEFAULT_SSL_ENABLE=FALSE

Also, while looking around in build.prop, why are there 2 values not 4.4.4 but 4.1.2? can those be the reason skype thinks the rom is another version so it's expecting different libraries? I know there are many others saying its 4.4.4 but maybe they are parsing these particular ones:

ro.build.description=GT-I9100-user 4.1.2 JZO54K release-keys
ro.build.fingerprint=samsung/GT-I9100/GT-I9100:4.1.2/JZO54K:user/release-keys

And one last question, if i want to change the dpi is it enough to just modify the ro.sf.lcd_density=182 value then restart phone?

Quick edit: I just remembered i wanted to ask this - anyone know where is the setting for call waiting?
[Galaxy S II Android Development] ultravy:
Well is ok to change dpi or you can use texdroider_dpi from store ;).

Call waiting is in additional settings: Phone>Settings>additional settings!
[Galaxy S II Android Development] officiallyme:
what do you mean by "check gps antenna"?

hardware? if so, where and how?
[Galaxy S II Android Development] ultravy:
Look at th connections where GPS is located, try to gently lift up the connector on motherboard, same with wifi if you have low signal. First clean all connectors if they are rusty, including back cover!
[Galaxy S II Android Development] DroidNforcer:
Wow thank, man! [emoji1]

It was like a year that i could not use the gps. Now it work equal or better than new to me.

For the wifi, on the back of the wifi/bluetooth chip its a watch-like battery beside it that sometimes weares out and start leaking its acid over the wifi chip solderings. If this happens Wifi signal is weakened and lost. On youtube there is a video on how to remove the broken battery and clean everything to restore wifi strengh.

I did it recently and everything is fine.

Regards.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II Android Development] OlMightyG:
[MENTION=1228651]fusionjack[/MENTION] dont want to rush you, as I appreciate your work and respect that you might have notmuch time. Any eta on the new build? maybe with some cool extras? :D
[Galaxy S II Android Development] ultravy:
My battery is empty, it doesnt remember the time if i remove the phone batt! A new BAT500! :D
[Galaxy S II Android Development] DroidNforcer:
Ha, you are right! [emoji16] I have forgotten the time getting lost part.

I just let the clock automaticly get back the exact time with the options within its settings.

WhatsApp is the one that is always complaining of the wrong date until autofixed when the phone gets any connection capable of setting the date/time.

Regards.

Enviado desde mi GT-I9100 mediante Tapatalk
[Galaxy S II Android Development] fusionjack:
let's see this weekend.

i'll only patch security stuff, no time for other stuff :\
[Galaxy S II Android Development] souler456:
If there are "other stuff" to be added... I am willing to wait for weeks just to add those "other stuff" in... :D

:D :) ;) :good:
[Galaxy S II Android Development] OlMightyG:
When I try playing embedded videos on a site with the standard browser, it shows black screen but plays the sound. Is that a known bug?
[Galaxy S II Android Development] ultravy:
Confirmed! but if you touch again the video window and press the full screen button, it works in full screen.
[Galaxy S II Android Development] OlMightyG:
That worked in a previous version where I has the same bug. But now it does not. I see a picture for a second. Then black again.
[Galaxy S II Android Development] fusionjack:
did you try full screen. that was worked as i still have the device
[Galaxy S II Android Development] OlMightyG:
I have tested it again. It actually works with some/most videos, some not. As it seems I randomly tried only videos that did not work last times...
[Galaxy S II Android Development] officiallyme:
don't think q&a thread is being used by anyone. anyway, i have three camera apps installed including the stock one and after changing the default camera for the lockscreen, none seem to be usable anymore on lockscreen.

meaning, a custom camera app requires you to unlock lockscreen (is there a way to change this?).

setting the default back to the built in camera now also requires me to unlock the lockscreen.
[Galaxy S II Android Development] Jdor:
Is there a way to update the DashClock Widget?

When I try from the Play I get the message: "Package file was not signed correctly. Uninstall the previous copy of the app and try again."

How do I uninstall the app?
[Galaxy S II Android Development] :
Go to settings -> slimcentre -> slimsizer

Here you can uninstall any system apps. Just be very careful, don't uninstall anything unless you are 100% certain of what it is and that it wont cause other issues uninstalling.
[Galaxy S II Android Development] maanteel:
Hi,

Also is there a way to update Slim Launcher? Installed is 1.0 and in Play Store 2.0.

Same way as described here? Deinstall and install via Play Store?
[Galaxy S II Android Development] :
I don't think the one on play store is from slimroms
[Galaxy S II Android Development] OlMightyG:
Concerning GPS: I tried 3 different modems now and all of them do not get GPS fix. It shows that it can receive up to 7 satelites but after a while without moving they disappear and reappear...

So I checked the GPS antenna contacts inside the phone and made sure they have contact to the antenna.

I also tried the provided gps.conf.

But nothing helped. Any ideas?
[Galaxy S II Android Development] FullWipe:
Try TopNTP app from Play Store. When i was on s2 it helped me a lot.
[Galaxy S II Android Development] OlMightyG:
unfortunately it did not help.

I will try 4.3 to see if it works with an older version of android again.
[Galaxy S II Android Development] DroidNforcer:
That conf file has ntp set to Romania, What country are you from?

See here the ntp servers for your region and country: http://www.pool.ntp.org/zone/@

I modified the file a little to get faster fix at cost of acuracy. You should play a little with the values acording to your zone.

Note: put on the conf file the country first, next region. For me it works better to put just COUNTRY/REGION.pool.ntp.org instead of NUMBER.COUNTRY/REGION.pool.ntp.org

With this file modify the COUNTRY/REGION ntp servers and then make the file Owner/Group to ROOT and permissions to rw-r-r (644).

PS:Put gps on high acuracy, allow wify to scan even turned off allow google permission when asked, don't put phone on airplain mode.

For first fix go outside and check no trees are blocking the sky. Next fixes are easier and even inside house.

PS2: With " GPS Data" or similar app erase old AGPS data and download new one. Every day new data should be downloaded altho this should be done automaticly. Restart phone at least once just to be shure. Or at least turn ON/OFF the gps.

PS3: This SUPL_HOST is for unlocked phones if yours is not free, you should put values corresponding to your carrier for better functioning.

Regards.
[Galaxy S II Android Development] OlMightyG:
Thanks for the hints. I alredy tried everything mentioned.

I just installed SlimSaber 4.3 as a second ROM. Even at the window I got a fix in 20 seconds, without assisted gps, just the gps.

The config file was very simple. Just the region, xtra server and supl host were defined. So i just copied this gps.conf and tried it under 4.4.4. But it did not change anything.

So my summary: It is not the modem, it is not the kernel, my settings are correct. But something changed from 4.3 to 4.4.4 that broke at least my gps.

[MENTION=1228651]fusionjack[/MENTION] any idea on that? Can you please help me?
[Galaxy S II Android Development] Viper The Ripper:
DON'T unistall the stock launcher in this way! or you'll need to flash a launcher via recovery :D

First of all install another launcher to be sure you don't face system's fc when you've unistalled the stock and the only one launcher in your ROM ;) , then install your favourite launcher or the one you said :)
[Galaxy S II Android Development] souler456:
Can someone help test? :confused:

I'm trying to install this game - https://play.google.com/store/apps/details?id=jp.seec.sim.stalkerchan

And it WON'T install whatsoever. When I looked what it's preferred install location, it's on extsdcard. I thought it's an isolated case, so I tried another app with extsdcard as preferred install location, and they won't install as well :(

I'm on the latest ROM version, with latest DorimanX Kernel built by [MENTION=5811506]gsstudios[/MENTION]

:D :) ;) :good:
[Galaxy S II Android Development] ultravy:
it happend to me to not get a fix even after 5-6 six min. when i looked in gps.cfg file there was :

# Wiper (wifi positioning), 1=enable, 0=disable

ENABLE_WIPER=1

If you have this enable , but with wifi off or not connected on a wifi network, you wont get a fix. I dont know if this works fine for other users, or its just me! ;)
[Galaxy S II Android Development] OlMightyG:
Hi,

it was disabled. I tried different confs. Also one with basics only.

Is it only me? Then: Why does it work with 4.3? I really tried literally every gps.conf config.
[Galaxy S II Android Development] ultravy:
Try to give it time to connect, and let it stay that way for 5-10 min. try AndroidTS GPS test, if GPS Status dont get a fix. Then disable your gps , kill all gps apps opened and re enable gps, start the app again to see if you get a faster fix!
[Galaxy S II Android Development] OlMightyG:
Hi, that did not help either.

As I mentioned: On a fresh Android 4.3 SlimSaber install it managed to get a fix at the first time ever enabling GPS with this ROM in 20 seconds. And I wasnt even outside, just at the window.

But why is it just me??
[Galaxy S II Android Development] ultravy:
One last thing! Verify if your file is replaced properly! if dont have root privileges on your explorer, the file dont get replaced. Also verify permissions. Try other modem, mine is i9100xxms4 and is working great!
[Galaxy S II Android Development] stylemessiah:
Left field suggesion, that worked for me in the past when changing ROM's and having issues with GPS:

1) Backup EFS partition using something like this - You should do this anyways. (or at least backup the nv_data.bin and nv_data.bak files in Step 3)

2) In file manager, navigate to /efs

3) Delete nv_data.bin and nv_data.bak

4) Reboot

5) In your choice of GPS app (i use GPS Test) find and use the option to reset GPS data

6) Test GPS

No promises it will work for you, but it has worked at least twice for me in the past switching ROM's.
[Galaxy S II Android Development] OlMightyG:
Tried this. Unfortunately did not help.

I dont know what to do. I dont want to buy a new device since it is working. And under 4.3 even the GPS works. I wonder if I am the only one with this problem. Maybe because of my hardware?
[Galaxy S II Android Development] Chillmann:
Just leave GPS on for several hours then try to get a fix using an app of your choice.

I have similar trouble after almost any ROM update. For example: Seeing up to 11 satellites but won't get a fix. Back in the days, I was hustling with GPS.conf without success too. Only thing that somehow helped is time. Give it time to settle after flashing a new rom.
[Galaxy S II Android Development] OlMightyG:
I once got fixes but only for some seconds.

Why does it work without any problems on a freshly installes 4.3?
[Galaxy S II Android Development] Facuu:
Hi guys, after being for a long time on lollipop, i decided to go back to slimsaber .

Which one is the last build for this rom? I think a saw another user making some slimsaber builds with the concern of Fusionjack

So can you point me to the last build that everybody is using? I think gapps reamains the same right?

Thanks in advance!
[Galaxy S II Android Development] j1gga84:
The newest build is the build by FJ in the OP :good:

there are newer GApps, provided by a user in Dankomans Slim GApps Thread:

http://xdaforums.com/showpost.php?p=62606832&postcount=5273

regards
[Galaxy S II Android Development] Facuu:
thanks!

are those gapps you gave me the minimal gapps of all? I just want play store, nothing else from google.
[Galaxy S II Android Development] j1gga84:
If you only want play store why do you need GApps? ;)

In the minimal GApps there are also the google play services and the services framework.

But you can delete the apk's in the file that you don't need :good:

regards