yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Hopper8:
Awesome :) I will try that sometime soon :) :fingers-crossed:
[Galaxy S II Android Development] fusionjack:
like [MENTION=3306843]kantjer[/MENTION] said, it is because initially aosp doesn't support java 7, not sure current aosp on master branch.

you'll get build error when using java 7. this needs patches which slim already did.

the advantage that i could only see is that your linux host will use java 7 instead java 6. therefore other linux applications could also use java 7.

in term of compiling apps with java 7 vs java 6, i don't see any noticeable performance increase.
[Galaxy S II Android Development] kantjer:
Slim Java 7 patches

https://gerrit.slimroms.net/#/c/8751/

https://gerrit.slimroms.net/#/c/8752/
[Galaxy S II Android Development] fusionjack:
yeah, i know that...there are some commits also in libcore, otherwise you can't build with java 7 :)

the patches in 'build' is just to allow using java 7, but the fundamental thing is in libcore.
[Galaxy S II Android Development] fusionjack:
just put some workarounds to deal with this issue...see faq.

edit: oh there is another workaround, use 'R' :D:D:D
[Galaxy S II Android Development] Shahan_mik3:
Thanks alot for your response :D it means a lot... im trying to compile a kernel as I have storage and bandwidth issue.

Can you please provide steps to build slim kernel..if its not too much.

Also xiaomi mi2s has official cyanogenmod 11. So chances are high for mi3 after mi4 :D
[Galaxy S II Android Development] fusionjack:
if you mean by building slimkernel from my github, then you just need to execute this single command: :D
[Galaxy S II Android Development] Twiq:
Okay guys, page 1411 is officially my favourite page in this thread.. Gotta love the building hints, tips and tricks from [MENTION=4851213]Hopper8[/MENTION] [MENTION=1228651]fusionjack[/MENTION] and [MENTION=3306843]kantjer[/MENTION] :good: :highfive:

Thank you guysss
[Galaxy S II Android Development] velocity90:
Tried an hour outside to get a GPS fix. Nothing.

Seems there is something wrong with GPS.
[Galaxy S II Android Development] j1gga84:
I also had some problems today, although I set GPS server to my country. It is not the problem to get a fix I had problems to "stay fixed", the signal seemed to be not as strong as in earlier builds. Or is this ROM related what driver is used?

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] hatteroo:
Same here I can't get the damn thing to work with Neatrom 4.4.4 ver6.8 as well. Previously tried SlimSaber and SlimKat Official build 5 with a few different kernels.
[Galaxy S II Android Development] fusionjack:
a golden page? :D

perhaps it is useful to collect building tips and tricks in one post...like i addressed the 'all warnings are treated as an error' in this post.
[Galaxy S II Android Development] hatteroo:
How do you set your GPS server to a specific country?
[Galaxy S II Android Development] stylemessiah:
Just a heads up, ive been reporting this since about 30 pages ago :), along with others.

Its my ONLY real gripe about what otherwise is the only ROM ill use other than stock

But if history is anything to go by you'll just get the usual "Try xxx, try TopNTP from Google Play", i dont know if anyone is seriously looking into resolving the issue, and i understand [MENTION=1228651]fusionjack[/MENTION] has plenty on his plate on any given day. Ive listed all the steps ive taken, and proven it IS the ROM by going back to a backup of stock 4.1.2 which gets lock under 15 seconds and is rock solid, using same radio etc...

But yeah, id love to see it fixed too, its really making me think about going back to stock 4.1.2

---------- Post added at 02:15 PM ---------- Previous post was at 02:08 PM ----------

The manual way, no waiting like frickin TopNTP....

1) You go to: http://www.pool.ntp.org/

2) You locate your country or region ntp pool server info

3) Then you edit /etc/gps.conf and change the default NTP_SERVER= line to match your region/country (for instance my ntp pool for australia is au.pool.ntp.org, so my gps.conf has NTP_SERVER=au.pool.ntp.org)

4) Reboot

Or

Download and install TopNTP from Google Play, and choose the settings form the drop down lists, and apply and wait, and reboot. I'd link to it, but i hate any app that holds a user to ransom with a plea for money and a delay, either charge for it, or dont, but dont be an ass^&*( and pull that crap....
[Galaxy S II Android Development] fusionjack:
afaik, gps depends to some conditions like weather, country, ntp server, config, etc...

concerning ntp server, based on my experience, changing it to local country makes gps fix even worse. it could be that local ntp server has bad response time in comparison to other countries or at that time, ntp server just down or something else.

last week, as i tested gps on kitkat after a full wipe, i got gps fix with 6-9 satellites in an instant. i just install 'gps status' from play store, nothing more. on 'R', i also tested gps last week with an immediate fix for 10 satellites on a sunny day...but today, i only got 4-5 satellites fix in about 1-2 minutes with weak signal and today here is a gloomy day.

at least for our device, i also notice that stock rom has better gps support rather than aosp. even on n7000 (i9100 big brother), n7000 has always better gps fix with more than 10 satellites since it supports glonass. my record was 14 satellites...

beside, as i observed the commits in each releases, there is no gps related commits since months...

there is one thing that i want to try, [MENTION=3306843]kantjer[/MENTION] has posted some days ago about gps.conf changes that could help improve gps fix.
[Galaxy S II Android Development] Shahan_mik3:
I will download the sources tomoro and try to start building the kernel :).

..if any error I will ask your help :D

Edit: can i use linaro toolchain rather than sabermod? want to experiment :D

https://github.com/Christopher83/li...ortex_a9-linux-gnueabihf-linaro_4.9.1-2014.07

https://github.com/SlimSaber/android_prebuilts_gcc_linux-x86_arm_sabermod-arm-eabi-4.9

and

for kernel only need to download this branch right?

https://github.com/SlimSaber/kernel_samsung_smdk4412

how to repo sync only kernel sources?
[Galaxy S II Android Development] hatteroo:
Thanks I'll give it a go in a bit!
[Galaxy S II Android Development] fusionjack:
for the one who has facebook or google maps black background issue, try this gapps:

http://xdaforums.com/showpost.php?p=54565272&postcount=824

i'd recommend a full wipe...i tried this gapps and i have no black background issue anymore on both apps.
[Galaxy S II Android Development] fusionjack:
just did a full wipe on latest build and tried GPS near windows (that's why i only got E instead H)...it looks like I got an immediate GPS fix.

nevertheless I'll take a look again concerning GPS...
[Galaxy S II Android Development] Shahan_mik3:
[MENTION=1228651]fusionjack[/MENTION] ... ?
[Galaxy S II Android Development] officiallyme:
i dirty flashed but flashed newest slim, then the special gapps and then dori and of course wiped cache/dalvik.

still black issu
[Galaxy S II Android Development] cliff03:
I have problem with my micro sd card not showing on my pc when i connect my phone to it?

Please help cheers
[Galaxy S II Android Development] fusionjack:
you can't just download the kernel sources...by building kernel, it means you need to build recovery. this is because our device has the same partition for recovery and kernel. by building recovery, you need other sources...

so, just download all sources...

as i stated...full wipe.

try other usb port or reinstall usb driver on your pc. you can also try to use ums instead mtp to check whether the problem is on mtp or not.
[Galaxy S II Android Development] officiallyme:
i will wait with a full wipe until this is confirmed and no longer a beta gapps. for some reason e.g. playstore isn't trds anymore. so i'll wait a bit.
[Galaxy S II Android Development] fusionjack:
i think the latest beta was trds-ed. afaik, it was not trds-ed as the new play store was released.
[Galaxy S II Android Development] officiallyme:
didn't quite understand that :)

i was using release 6 by slim. and that was trds or at least all the apps worked as trds.

the version you linked was a 7 beta. and that was not trds. so even if it had fixed anything or would fix anything with a full wipe, it would not be of much use since it is not trds anyway.

btw:

gps is aweful! i have tried different countries. different gps.conf. everything. but gps on the s2 with slimsaber is plain aweful. has anybody tried different CM roms?

even after getting a lock it keeps losing the gps connection. i installed the xposed module that re-adds the old gps logo so i can actually see when there is a fix, and it keeps losing it.
[Galaxy S II Android Development] fusionjack:
gapps: i could be wrong about trds. i just focus on installing app for testing black background issue

gps: did you try a full wipe? i didn't change or did anything special about gps and for my device, it just works...i posted a screenshot yesterday.
[Galaxy S II Android Development] officiallyme:
i saw your picture. but does it work in real life? i get a lock. sometimes very fast, sometimes slower.

but the real issue is that it keeps losing the signal.

maybe it has something to do with cpu usage or something?

it seems to mainly drop the signal when using nav software and you are on the go or it is calculating. if it just lies around in your flat you won't notice. mine drops the signal frequently when i have navigon calculate the best routes for longer drives. and it drops the signal when i am actually driving.
[Galaxy S II Android Development] fusionjack:
hmm...that could happen if gps signal too weak.

try latest 4.4.3, i think i saw 1 commit related to location provider at the beginning of 4.4.4. it is from google. not sure if this has effect for gps.
[Galaxy S II Android Development] hatteroo:
Thanks FusionJack I'll give it another go and flash back to slimsaber following your suggestions :)
[Galaxy S II Android Development] JavaScout:
Say, folks, do you experience lots of false call answering, when pulling the phone out of your pants? [emoji37]
[Galaxy S II Android Development] Harsha Raj:
Nope.. I would say the problem would be with your pants or the way you take it out from your pants [emoji12]
[Galaxy S II Android Development] cyril279:
One way to reduce the amount that you'd download, is to use the local_manifest to limit which projects will be synced.
[Galaxy S II Android Development] JavaScout:
So, you basically say that I should remove my pants and try to reproduce the bug? [emoji38]
[Galaxy S II Android Development] stefan1970:
Not a lot nut it happened more thans once. Thought I did something wrong.
[Galaxy S II Android Development] Harsha Raj:
Lol.. Okay you made my day.. Had an heart full laugh [emoji23]

On a serious note, I haven't had issues with call answering.. Just that some times proximity sensor used to stop working.. But not in recent builds though.
[Galaxy S II Android Development] ferrarinogiallo:
There is no problem with gps on the s2! Why dont you just follow the instructions? Changing gps server to your country is absolutely USELESS , this is on the help screen on the topntp app obviously you didnt read it ,it is also on the thread for topntp hear on xda that you also dont follow ...

Open the topntp install has is advised ,dont change anything follow the instrutions ! After the reeboot, Install the gps status from the store open it ,(no need to use no exposed module because gpsstatus as an option to show time to first lock), download agps ,if you still have no lock reset agps calibrate you sensors using gpsstatus, open google maps wait 5 minutes if it doenst work after 10 minutes , there is no point in waiting 1 hour ! If it doesnt work you are doing something wrong , like changing the gps server it happened to me before i found out about topntp... By the way it doesnt try to take your money it only shows the stars the first time ,after that it will survive dirty flashes so i fail to see what is the big problem. I use my phone in car, with my motorcycle with navigon ,on my bicicle with endomondo on my backpack and absolutly no problems with gps on the s2 if there was a problem i would have noticed it.
[Galaxy S II Android Development] officiallyme:
relax!

i did more thab change the country. i followed discussions here on xda and adjusted the entire gps.conf
[Galaxy S II Android Development] fusionjack:
did you enable answering call with home button? it's for winter though...[emoji16]
[Galaxy S II Android Development] Hopper8:
Hey [MENTION=1228651]fusionjack[/MENTION], have you seen PA's new volume panel? You can see it here in screenshots : http://www.androidpolice.com/2014/0...es-4-4-4-merge-and-a-redesigned-volume-panel/

Do you think it is worth cherry - picking? It looks awesome :) I found the relevant commit in PA gerrit here:

https://gerrit.paranoidandroid.co/#/c/4539/

The only thing is, I think it would need a little re-coding because it depends on PA hover. But I wonder if that could be changed to depend on Slim heads up instead of hover, since they are intended to do the same thing? What do you think? :)

Sent from my Nexu5
[Galaxy S II Android Development] JavaScout:
Nope, most of my settings are default
[Galaxy S II Android Development] Hopper8:
Pretty sure fusionjack said that, he even wrote it in the release summary in this thread.

Sent from my Nexu5
[Galaxy S II Android Development] m1trand1r:
Switch to dalvik runtime and enjoy the build LOL:D
[Galaxy S II Android Development] mauriicio21:
i have same problem, yesterday ocurred
[Galaxy S II Android Development] KaszasM:
hi !

can you fix that link pls ----> Flash a kitkat compatible recovery from here <-----> http://www.androidfilehost.com/?fid=23501681358551668

it takes me to kernel 0623 and not to recovery and btw i couldnt find any recovery in your AFH

great job lets see how it works...

if we want to use it as a daily phone wich would you recommend should i flash 4.4.4 or your 4.3.1 ? cant test them now for my freand...

thy great job
[Galaxy S II Android Development] Conny84:
4.3.1 slim sabre R is working for me. As for every day use? Can't tell, take stock rom with root, I don't know what you need for every day usage.

Leaving a friend with a rooted slim saber 4.4.4 without further knowledge might leave him behind helplessly and depressed.
[Galaxy S II Android Development] fusionjack:
it's correct...if you flash kernel, you are also flashing recovery and vise versa. our device has the same partition for kernel and recovery.
[Galaxy S II Android Development] fusionjack:
SlimSaber-i9100-4.4.4-20140804.zip

Changes:

Synced with official build 7

Fix ART bootloop

Slimrecents background color & transparency

Tweak gps.conf

See changelog for the rest of changes

Slim team has a code freeze, therefore changes are minimal.
[Galaxy S II Android Development] officiallyme:
by the way, how do you deactivate update notifications? i disabled checking for updates but i get the info anyway. everytime in every release.
[Galaxy S II Android Development] fusionjack:
settings - app - all - slimcenter - uncheck notification
[Galaxy S II Android Development] Andreyq123:
Has anybody succeded to install the latest version? Mine bootloops everytime. Tried with clean install and downloaded the rom twice to be sure it is not an corrupt file.I also tried with TWRP and PHILZ
[Galaxy S II Android Development] Sval:
Just Feedback :

Dirty Flash from 26/07 Build

Succes !

i'm on ART

Thanks
[Galaxy S II Android Development] jephimax:
I would suggest flashing back to stock ROM, and then clean install this ROM.
[Galaxy S II Android Development] Twiq:
Do a fullwipe with manual /system format then flash the zip but don't flash AIO gapps, it's too big for our device, use minimal gapps instead
[Galaxy S II Android Development] Andreyq123:
Did all of that,i also flashed without installing gapps but without succes.
[Galaxy S II Android Development] j1gga84:
How can I remove SuperSU because it is an old version and I want to install SuperSU Pro from PlayStore? When I remove it via Android Tuner it says that it is still installed!? Must I remove root in developer options before?

Regards

Sent from my GT-I9100 using german Tapatalk 4
[Galaxy S II Android Development] fubo73:
Updated from 0730 and no issue here...

Sent from my kitkat'd I9100
[Galaxy S II Android Development] Mr_S:
Anyone with any ideas why when i turn my mobile data off . It automatically turns back on
[Galaxy S II Android Development] Hopper8:
Just flash the update from recovery (ie download the zip from chainfire's website). Then upgrade to pro from inside the app itself. You can't 'remove' root unless you do it from inside the app also using 'clean up for a full unroot'.

Sent from my Nexu5
[Galaxy S II Android Development] Twiq:
AFAIK you could just install the pro version, as it is seperate package. Then if there are new version of supersu just update from the playstore, then open supersu, if installed su binary is older it will confirm you to update, update it then reboot..

After done rebooting you should see the supersu is now pro, to replace rom's supersu just find the option to install supersu to /system

Try switching airplane mode on, reboot system, wait until initialization done then turn off airplane mode
[Galaxy S II Android Development] fusionjack:
downloading rom twice doesn't guarantee to not having a corrupt download. you need to check md5 checksum of the zip file.

it is better to use twrp to install this rom. if you want to use cwm, it should be a kitkat compatible cwm.

you can use twrp from installation instructions to flash this rom for the first time and you should be fine...

afaik, supersu pro is just a license key like nova prime. supersu pro alone cannot work without supersu itself, so you still need supersu.apk.

just install the supersu pro without deinstalling anything...
[Galaxy S II Android Development] j1gga84:
Ok thanks, I get this ;)

But anyway, update to Version 2.02 is not shown to me in PlayStore, what could be the reason?

What Version is in your build? 2.01 or 2.02 ? If 2.02 I think Dorimanx makes problems because SuperSU is also installed with Dorimanx :confused:

Regards
[Galaxy S II Android Development] fusionjack:
i don't recommend flashing supersu separately per recovery. the supersu in the rom is working fine as long as the root is enabled in developers options. afaik, supersu zip is using init.d script to start root daemon. this means the root is always enabled whereas at other side, the rom controls the root daemon based on the developers options. so, there could be a start/stop of root daemon concurrency depends who started it first...
[Galaxy S II Android Development] Mr_S:
Try switching airplane mode on, reboot system, wait until initialization done then turn off airplane mode[/QUOTE]

This doesn't work
[Galaxy S II Android Development] Spaulding89:
[MENTION=4699854]j1gga84[/MENTION] supersu 2.02 isn't in playstore because it's only a update for L
[Galaxy S II Android Development] Gandalf19:
Dirty flash from 0726 without problem always on ART.
[Galaxy S II Android Development] fusionjack:
i think still 2.0.1...i'll update it in the next build. thanks for this information.

afaik, app distribution is country dependent...

i'm not sure what dori kernel does by supersu. does it always inject supersu regardless whether the rom has root? why dori inject supersu?

in twrp, after flashing a rom, twrp checks whether the rom has root or not. if the rom doesn't have root, it can prompt you to install supersu. otherwise, it won't touch rom's root.
[Galaxy S II Android Development] fusionjack:
do you use some kind of profiler app that could enable/disable wifi or mobile network based on some conditions?
[Galaxy S II Android Development] kantjer:
Does any of you use Chrome beta?

I'm having it FC with the official build 7 based ROM on the S4, this didn't happen on Saturday's 7 PCFR build.

Just wondering if it's the same on the S2?
[Galaxy S II Android Development] j1gga84:
Everything is fine [MENTION=5644065]Spaulding89[/MENTION] clarified it :good:

Under system/app I have now the SuperSU.apk as it should and under data/app the eu.chanfire.supersu.pro.apk, I think that is ok.

But what is the app SuperSUNoNag-v1.00.apk under system/app about?

BTW. we are on build 7 official but SlimROM homepage still shows 6.8? :D

Regards
[Galaxy S II Android Development] fusionjack:
yeah, that should be like that.

SuperSUNoNag-v1.00.apk: no clue, it's not coming from the rom.

build 7: i can travel to the future...:p
[Galaxy S II Android Development] Twiq:
It stops supersu from nagging the users to upgrade to pro version. But nonag shouldn't be installed manually, it is for distribution with roms with chainfire's permission.
[Galaxy S II Android Development] j1gga84:
So it is ok if it is installed or should I remove it because I already have the Pro version?

Regards
[Galaxy S II Android Development] Twiq:
As chainfire stated, it's only a package that does nothing, just an apk similar to license key.. You could safely remove it from the system.
[Galaxy S II Android Development] j1gga84:
[MENTION=1228651]fusionjack[/MENTION]

I have problems with WhatsApp voice notes, after a reboot I cannot play them in whatsapp. When I go to the folder where the voice notes are saved you can see what causes this problem... What could be the reason? I don't think it is kernel related because I had the same problem yesterday with gustavo_s kernel and after erasing this folders also today with Dorimanx :confused:

Regards
[Galaxy S II Android Development] Twiq:
You my friend, has experienced something named volume corruption.. Refer to my post for quick fix.. Or run a full scandisk (chkdsk) from PC
[Galaxy S II Android Development] RevanSM:
Great!..:good::good::good: ART is back!

But... What gapps "minimal" do you recommend for this version?

Thx!
[Galaxy S II Android Development] Georgel25:
I just downloaded this build and looked up for gps.conf changes/tweak :) sadly...i did not find any change/tweak, as Kantjer suggested; the gps.conf file inside the rom it's the standard one.

Look here, the full gps.conf mod from Kantjer - https://github.com/kantjer/SlimSabe...80cc62093f3d4b60a6b5eecaa4e33a3a/gps/gps.conf

Regards,

George

---------- Post added at 01:17 PM ---------- Previous post was at 01:07 PM ----------

You can use the latest GApps Minimal 4.4.4, from BaNkS. Download them from here - https://s.basketbuild.com/devs/BaNkS/GApps/4.4.4/
[Galaxy S II Android Development] Mr_S:
No i dont use any app but I've dirty flashed for time so maybe time for clean install.
[Galaxy S II Android Development] KaszasM:
i dont leave hem helpless :D

we dont like stock roms :D the phone has an earlier pacman version now 4.3.1 i gived the phone to hem for 1 year and runs nice ,he

is not a gamer so if there is any improvement with battery life or call quality we give it a try
[Galaxy S II Android Development] officiallyme:
but that still keeps checking for updates even though i turned it off. it just won't tell me about it anymore.
[Galaxy S II Android Development] fusionjack:
i did a tweak: https://github.com/SlimSaber/device...mmit/c3f1436bbfdc55d9fcb8415c3827d9170f814df5

the gps.conf in the rom zip file has these changes, but somehow it got replaced by default gps.conf (at least on my device)...probably by ramdisk

it's a bug in the official slimcenter that i wanted to take a look since ages ago...but still have no time and interest. :p

just disable the notification in slimcenter app's info if you don't want to get notified...