yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] pdario:
No; I understand it needs some APK, some libs and maybe a kernel flag somewhare.

I tried the patch here, but it does not work: maybe looking at it will make you understand what SlimSaber may need to enable NFC...
[Galaxy S II Android Development] Unobtainium:
FJ, has travelled to the future to get us tomorrow's slim rom release today.

He does that most weeks, which is why he's forever saying there's nothing to merge because he's got it already.[emoji2][emoji106][emoji122]
[Galaxy S II Android Development] j1gga84:
Btw why can I see no more emoticons?

Only like this: [emoji2][emoji106][emoji122]

Regards
[Galaxy S II Android Development] cyril279:
sgh-i777 (US AT&T s2 variant) does have NFC support, but our device has a separate tree because of the keylayout and the NFC support. Other than The modem, NFC, and the keylayout, the i777 and the i9100 are identical (and slimsaber doesn't flash modems). We frequently flash i9100 firmwares, then flash an i777 kernel so that our keys work correctly, in order to use i9100 firmwares, that are not available specifically for the i777.

If you're willing to:

flash i777 slimsaber then flash the i9100 slimsaber kernel

-OR-

flash the i777 slimsaber then to customize your hardware buttons or use soft-keys

Then the i777 firmware may suit you better in the meantime.

**i777 slimsaber download repository**
[Galaxy S II Android Development] pdario:
This is interesting!!

I could compare the two roms and where they differ... Is it normal the link you mention requires login?
[Galaxy S II Android Development] cyril279:
correct link:

https://www.androidfilehost.com/?w=files&flid=15689

slimsaber github displays more clearly where they differ. -Unless you're trying to do kitchen work?
[Galaxy S II Android Development] pdario:
I'll start comparing the zip contents and see what the differences are
[Galaxy S II Android Development] Unobtainium:
How many should I have? Or do you mean you're not using tapatalk and hence can't see pics?
[Galaxy S II Android Development] Hopper8:
I'm on my phone so can't see signatures ;) 95%of my xda time is on my phone :) there is a patch for NFC to flash, however, I'm on sure it works on 4.3 or 4.4. I know for certain it works on 4.2.2 roms but I haven't seen someone try it for 4.3/4.4. Nandroid and try :)

Sent from my Nexu5
[Galaxy S II Android Development] pdario:
Yes!! A bunch of nice "nfc" files and a MIFARE too, plus a TAG.apk: some of them are missing in the other patch I found.

I'll prepare a patch zip and see what happens!
[Galaxy S II Android Development] j1gga84:
Yes I am on desktop PC at the moment ;)

So you use emoticons via keyboard and on PC I cannot see these emoticons, correct? ;)

Regards
[Galaxy S II Android Development] cyril279:
The firmware that I linked you to is built from fusionjack's slimsaber source, with no changes. It would be much faster and easier to flash the i777 version, then flash the i9100 slimsaber kernel.
[Galaxy S II Android Development] pdario:
The content is different in two aspects:

i777 rom has some more files and they are ALL related to NFC

many many other files (almost everything) is binary different from i9100P

So it is easier to just pull the added files and apply them: I don't know what are the other differences.

I have the zip, I applied it to /system, fixed permissions (just remove W to Group and All) and now rebooting.

If it works, I can provide the zip make it flashable (I don't know how to do that) or to embed it in the ROM.

---------- Post added at 03:15 PM ---------- Previous post was at 03:00 PM ----------

Ok, I now have NFC and AndroidBean settings!!

I'll test as soon as I have an NFC tag at hand.

The only thins I notice now is I don't have the TAG app in the launcher (the one I had on Samsung Stock ROM).

I can see it in TB list, but there's no "open" button: do you have this app on you i777?

[EDIT]

Another glitch: I can turn Android Beam off, but I can't turn NFC off; when I tap on the entry, it goes grey but does not turn back white without the checkmark; if I go back to home and then to settings, NFC is on again.
[Galaxy S II Android Development] cyril279:
I do have the "tags" app, which also shows up in settings > apps, but it does not show in the launcher. I believe that it runs in the background to process NFC tags, and does not need user-interaction, and so is not shown.

Building the same source for a different device will result in a large number of binary differences; in this case, because there are additional considerations made for the i777, but binary differences do not indicate incompatibility. The i777, s959g, i9100, and i9100p (and a few others) can flash the same firmware without issue, the differences are NFC functionality and keylayout, which is restored by flashing a device-specific kernel. You're doubting something that has been serving us well for a long time, but I'm glad you've found success.
[Galaxy S II Android Development] pdario:
No exactly... I still have to test NFC reading, but I can't turn it off, at the moment: are you able to turn it off?

Here's the list of files I ported from i777 ROM

system/app/Nfc.apk

system/etc/nfcee_access.xml

system/etc/permissions/android.hardware.nfc.xml

system/etc/permissions/com.android.nfc_extras.xml

system/etc/permissions/com.cyanogenmod.nfc.enhanced.xml

system/etc/permissions/com.nxp.mifare.xml

system/etc/updatecmds/migrate_nfc.txt

system/framework/com.android.nfc_extras.jar

system/lib/libnfc.so

system/lib/libnfc_jni.so

system/lib/hw/nfc.exynos4.so

system/priv-app/Tag.apk
[Galaxy S II Android Development] cyril279:
Yes, I have fully functional NFC. I can turn the setting on and off, which automatically greys-out the "android beam" options.
[Galaxy S II Android Development] Phenomzye:
Does anyone by chance have a link to Slimsaber build 20140227? I am begging for it!
[Galaxy S II Android Development] lllukas:
You mean 0726 ?

http://www.androidfilehost.com/?fid=23578570567718806

Here it is.

There is no 0727 build.
[Galaxy S II Android Development] rebecker:
THANKS!!!

Just a short note to thank everyone who made life with a 3-year-old phone so enjoyable. Most of all, thanks

fusionjack

for a great mod! Had to buy a new phone; 3+ years of hard living in a very hot and salty climate finally caught up. Looking forward to some of you getting involved with the Sony Xperia Z1 Compact in the near future. ;)

Again, thanks!

-Bob-
[Galaxy S II Android Development] Phenomzye:
No man, I mean the 4.4.2 build from February 27, apparently it got deleted or something (it was the last build without the new SlimRecents)
[Galaxy S II Android Development] AF_624:
Hello,

I m having a problema with supersu. When i clean cache and dalvik cache in recovery then reboot to system the phone lost root for about 5 to 10 minutes, all app force close many times and after that i start to get a lot of repited notifications from supersu thats apps are getting root access. After a lot o notifications a get root again. This process takes about 15 minuter or more. This is normal? Is there configuration on supersu app to avoid this? Should i put this on supersu thread?

Thanks.
[Galaxy S II Android Development] officiallyme:
does anybody know how the two statusbar screens are called?

i mean, when there is no notification you see the three lines at the top right (name?) and when you have notifications you see a person at the top right (name?)
[Galaxy S II Android Development] fusionjack:
did you disable root in dev options and flash supersu in recovery? that is only the explanation i have.
[Galaxy S II Android Development] stefan1970:
Once I had this as well. Turned out to be a corrupt file. After downloading and flashing it again it worked fine

.
[Galaxy S II Android Development] AF_624:
No, i only flash the rom, dirty flash.

I try 2 times clean caches and it allways the same.

Its like when you fash supersu and you have to wait until you get root, but in this case i have it already installed . Maybe there is some option in the app that avoid it.

Could you please post a screenshot of you supersu configuration screen to i compare with mine... maybe i set something wrong

Thanks

Edit: Ok i find the cause , was not cleaning the caches, was fix permissions (that i allways do when i clean caches) that was the problem.

Thanks... :)
[Galaxy S II Android Development] DaOldMan:
Twrp ?

Dear [MENTION=1228651]fusionjack[/MENTION],

Is it my build or is TWRP totaly worthless ? I can't even flash the 31.7 rom with it - it just restarts :( I changed to cwm and flashed the rom which runs very nice like always.

I use TWRP all the time on my note3 but on the i9100 this is a first :(

Thomas
[Galaxy S II Android Development] Georgel25:
Hello everyone,

I would like to know how long does it usually takes to fully charge the 2100 mAh battery, with the phone turned off....because with my original charger, from 0-4 % up to full 100% charge it takes more than 3 hours. It's normal or there is a problem ?

The kernel is set to charge the battery with full charger output (750 mAh) or less than that ?

Thanks,

George
[Galaxy S II Android Development] Rachid.Ala:
I think the kernel is set to charge the battery with 650mAh when the phone is plugged in the wall charger

However, I always find that with dori kernel the phone charge much faster
[Galaxy S II Android Development] aceman2013:
With latest build i have most wakelocks from GsmCellBroadcastHandler. Anyone else? CellBroadcastreceiver.apk is uninstalled

Edit: Problem solved... REBOOT IS GOOD![emoji6]
[Galaxy S II Android Development] Georgel25:
Uhh...that's pretty ugly :D fusionjack...can you please confirm with how many amps the kernel it's feeding the phone at charge ? If it's true, why lowering the value of the charging current ?

Regards,

George
[Galaxy S II Android Development] fusionjack:
3 hours charging from 0% is normal on 2000 battery. i won't change charge voltage before you burn your usb port or whatever board inside it [emoji33]
[Galaxy S II Android Development] fusionjack:
thanks for using this rom. have fun with new phone...sony is a good device. [emoji3]
[Galaxy S II Android Development] fusionjack:
you can try to use the R version (4.3.1)
[Galaxy S II Android Development] Phenomzye:
Is it KitKat? :confused:
[Galaxy S II Android Development] vizdak:
No. R means Reborn.
[Galaxy S II Android Development] Phenomzye:
I haven't heard about Android Reborn or anything... lol
[Galaxy S II Android Development] Twiq:
I mentioned it once to you :D

Anywho.. [MENTION=1228651]fusionjack[/MENTION] rebuild the slimbean but with kitkat features but without the fuse daemon bug of course.. You'll find best battery life in it ?

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

on Sabered SlimKat 0726 | powered by dorimanx test kernel v116
[Galaxy S II Android Development] Phenomzye:
Oh alright! So it's basically SlimBean which means JB, which also means.. no white anywhere, and holo blue instead, right?
[Galaxy S II Android Development] Hopper8:
Well yes by default. But it has a theme chooser, so it can turn into almost any colour you want, in addition to much much more (settings menus, buttons, dialpad, and many others are changed by themes). Currently my choice is Alloy orange :)
[Galaxy S II Android Development] Twiq:
Correct, but i think since the theme engine is functional there should be some kitkat flavoured themes available somewhere.

on Sabered SlimKat 0726 | powered by dorimanx test kernel v116
[Galaxy S II Android Development] Unobtainium:
Even more tempting reasons to make the switch back.... and I've only just been able to enjoy ART since the 0716 444 build too....
[Galaxy S II Android Development] Hopper8:
Dualboot with Dorimanx kernel :) It's not difficult, but makes switching between the two quite easy :)
[Galaxy S II Android Development] Phenomzye:
That looks pretty nice, thanks!

Same to you sir, will give it a try :good:
[Galaxy S II Android Development] Unobtainium:
Used dual booting with dori for a long time... always keeping a last known good install at each upgrade.

Didn't have much success with 112 beta. Too many random reboots. Might give 116 a shot.

I only switched to KitKat because security updates were being applied and 4.3.1 had been abandoned. Though I wonder if there are other security fixes hidden within AOSP Kit Kat that ought to be back ported to R.

Now that R exists, the perfect ROM rides again.
[Galaxy S II Android Development] pdario:
About my NFC experiments: after a reboot, the system settings switch seems to work as expected, unfortunately I tried reading a tag with a simpmle URL, but nothing happens: can anybody tell me if I need to do anything special on the phone apart from turning NFC on? Maybe [MENTION=5294352]cyril279[/MENTION]? ;)
[Galaxy S II Android Development] officiallyme:
the charging voltage/amps are set by the hardware and cannot be increased.

it is decreased if the charger does not supply the full current, but no kernel can increase it. dori once stated that himself. so his kernel does not charge faster or slower. of course power consumption during chsrging will make a difference. so scheduler etc. can influence the chsrging time.
[Galaxy S II Android Development] Hopper8:
I think what can be increased is the speed at which a USB port from a computer will charge the phone. The default value can be bumped up to the output from a wall charger, which will obviously increase the charging speed from a USB port. You're right though, there's no way to increase the 'upper limit' of what the phone can take.

The simplest solution to faster charging is to turn the phone completely off... Yes I did just say that :eek:
[Galaxy S II Android Development] JavaScout:
Folks, you should totally avoid Art on build 30/7. Even if you succesfully installed that build with dalvik, don't turn Art on :(
[Galaxy S II Android Development] Georgel25:
I understand :) in my case, it took more than 3 hours to fully charge the battery....this could indicate a charger/battery problem ?

I ask because i always charge the phone while it's turned off.

Thanks,

George
[Galaxy S II Android Development] Hopper8:
No, 3 hours for a 2000maH on S2 is actually about right, even when it's off. Unfortunately ;)
[Galaxy S II Android Development] fusionjack:
at least, i'm not abandon 4.3.1. [emoji16]

i patched security leaks that are known to me. bluebox security scanner shows all important security leaks have been patched. towel root on kernel side has been patched as well...and i keep hunting good kitkat commits to be applied in 4.3.1
[Galaxy S II Android Development] fusionjack:
it's normal, no need to worry.

there is formula how to calculate how long to charge. our standard samsung wall charger can charge 0.7 A per hour. the simplest formula is by dividing your battery capacity with 0.7.
[Galaxy S II Android Development] Hopper8:
Oh it's 700 is it? Cool.

Then for 1650 mah battery, absolute minimum charge time is 2hr 20 minutes, and for a 2000 mah battery it's 2 hours 50 minutes. But that's best case scenario... In practice it's likely to take a little longer than that. [MENTION=2090659]george125[/MENTION] there you go, maths doesn't lie ;)

Sent from my Nexu5
[Galaxy S II Android Development] officiallyme:
don't forget the work load. if you are running background apps etc. it takes longer. some people actually had battery drain while charging when they were using nav software :D

plus 650mAh is the max. not sure if this is reduced when the battery runs warm. mine does. anyway, three hours sounds perfectly fine.
[Galaxy S II Android Development] fusionjack:
yeah, afaik there is still other variable like voltage that needs to be added to the formula which summed up to a 'real' charging duration.
[Galaxy S II Android Development] Noed:
My system is being mount as read only every boot, is it normal for this ROM or it's because some issue I'm having and it's on failsafe boot?

And if I want it to mount system rw every boot, should I just include a init.d script, or there's some better way to do it?

Thanks
[Galaxy S II Android Development] Dlimix92:
simply the best kikat rom i have tested to date, i have two suggestion :

-can you implement the cm11 theme chooser to your rom

-add the choice to select between the slimrecents and the cm recents

thank you for this rom and keep your amazing work :highfive:
[Galaxy S II Android Development] Conny84:
Hey guys,

my extended power button menu doesn't work. Any idea why?

I am on newest slimsaber with slim gapps and newest dorimanx kernel.

Thx!
[Galaxy S II Android Development] razen_kain:
Did you enable it under "security" tab in settings?
[Galaxy S II Android Development] Conny84:
Yes, and it's not working.

Edit: The toggle simply doesn't work for me :(
[Galaxy S II Android Development] iamspikee:
google play not installed

Hi guys, ever since installing the update from 07262014, the google play app was not installed and a message appears that says the device is not supported by google play . please contact your manufacturer.

anybody experience this?

I flashed the 07212014 version again because this one works with google play
[Galaxy S II Android Development] Rachid.Ala:
Try formatting system cache and dalvik and flash latest build and latest gapps from slimroms.net

Do a nandroid before just in case

If it didn't work, it's time for a full wipe
[Galaxy S II Android Development] Shahan_mik3:
Hey [MENTION=1228651]fusionjack[/MENTION] is it possible to slimsaber to other phone without kernel sources??

Coz xiami has not released sources for mi3. But I would love to port it. Coz the device is just 210 $.

Sorry for OT
[Galaxy S II Android Development] Twiq:
Since you're posting in i9100 thread i'd have to say that these things aren't generic bro, you need to have at least same CPU, gpu type and board (preferably same manufacturer).. And honestly with i9100 it's not even close :silly:
[Galaxy S II Android Development] Shahan_mik3:
Hmmm...I had doubt coz mahdi rom from nexus 5 was ported for s2...

If slimsabe can be ported than I will sell my s2..in an instant.

Coz m fed up of charging every 2 hours :l
[Galaxy S II Android Development] Twiq:
I'm sorry, which "port" did you mean?

#1: fork the slimsaber source then sync it with MI3 device tree? Or

#2: take the zip, mix and match stuffs with existing MI3 rom?

Edit: afaik mahdi rom has a branch for the i9100 version, not sure with xiaomi stuff as i'm not into it, but as long as you can manage to get it's source then nothing is impossible
[Galaxy S II Android Development] evil__chuck:
Facebook app problem

Hello. I'm very happy with my kitkat s2 but i have a problem with facebook app. As you can see in picture, i cant read any post in facebook because of a black frame. Can anyone help me please..:confused:
[Galaxy S II Android Development] Shahan_mik3:
Ty.....I badly want that beast and slimsaber would be able to utilize its power. Lets see if sources are released i'll ask fj's help :)
[Galaxy S II Android Development] Twiq:
I'm trying to get my hands on 1+1, and i was thinking to do some saberizing for it (unless anyone else namely [MENTION=1228651]fusionjack[/MENTION] or [MENTION=3306843]kantjer[/MENTION] opened the thread first) :silly:

---------- Post added at 04:00 PM ---------- Previous post was at 03:55 PM ----------

It's a known bug, but it's app problem, try using older version of facebook or use a specific beta version, find related infos a couple of pages back
[Galaxy S II Android Development] kantjer:
I wish, still hunting for an invite.
[Galaxy S II Android Development] Hopper8:
Have you done any building before mate? If not, when you're ready, let me know. I'm learning how to build/cherry pick etc right now and have some handy links for you :good: Also follow the N5 (hammerhead) thread, there's lots of people talking about builds etc. Quite interesting :)
[Galaxy S II Android Development] evil__chuck:
thank you so much. :)
[Galaxy S II Android Development] fusionjack:
in my miui time, there is no source for miui. people also porting from a device to other devices which has similar hardware. this needs a lot of effort to make the port working. let's say it works and then you need to fix something in frameworks base. to do that you need again another hack through 'smali'. this language is way more complicated to understand rather than java or c++.

i'm not following miui anymore, not sure how it becomes now...but i think it won't release his rom source just like oem android samsung, lg and etc...

you mean the extended reboot menu with recovery and download mode?
[Galaxy S II Android Development] Twiq:
Not since slimics builds mate, as i'm only curious of the how tos i might have lost the knowledge to do so :silly:

please advise me links to "newer" building trends

Right now i don't have any of the essential requirements : 64-bit processor/OS, sufficient RAM..

I only have an old, crappy x86 D*LL laptop that belongs to my company with lots of limitations and restrictions ?

I will visit N5 thread, thank you for the heads up :highfive:
[Galaxy S II Android Development] fusionjack:
you can start learning building rom from slim github. it is pretty easy if you use default toolchain. just build rom without modification first then you can try to cherry-pick commits. this way you learn more about git. git is important if you do building with more modifications especially with custom toolchain.

i have prepared some scripts in my github to make the rom or kernel building much easier.
[Galaxy S II Android Development] Hopper8:
Thanks I will definitely take a look :) I have successfully built for N5 using stock toolchain. Now I just cherry-picked dankoman's changes to the SlimRecents, and built with success :D Changes are on gerrit although I'm sure you saw them: https://gerrit.slimroms.net/#/c/9892/ and https://gerrit.slimroms.net/#/c/9900/. According to dankoman they are complete now so I built with them :)

The next thing to learn is how to fork a repo into my own github so I don't have to cherry-pick each time. In your opinion fusionjack, is it feasible to cherry-pick paranoid android "Hover"?? I really like this feature. I am contemplating trying, but if it is classed as "very difficult" by you, I will start with some easier things :)

Edit: and [MENTION=1228651]fusionjack[/MENTION], what do you use to keep track of gerrit? RSS feed or something? Or do you just check it regularly?

[MENTION=4546441]Twiq[/MENTION], PM me mate. Lots of links to come and I don't want to clog the thread :good:
[Galaxy S II Android Development] kantjer:
Also give mGerrit a try, nice app to follow the Gerrit on the phone.
[Galaxy S II Android Development] Hopper8:
This is awesome :) :good: one question, why use Java 7 instead of Java 6? Just curious because a lot of guides say to use 6? I don't have a reason for 6 apart from seeing that in guides. I didn't know 7 would work, I thought it was for building android L, or current AOSP master branch?

Oh I most definitely will :D
[Galaxy S II Android Development] kantjer:
Until recent you couldn't build Slim and many other ROM's with Java 7, Slim changed that recently, you can now build with it (although I still use Java 6)
[Galaxy S II Android Development] fusionjack:
if you don't have github, you don't need to cherry-pick those commits again.

you only need to create a branch before you do any cherry-picks:

repo start [branch-name] [project-name]: repo start kk4.4 frameworks/base

cd frameworks/base

git branch -> if you see kk4.4, then you are good to cherry-pick without losing your cherry-pick

to test:

cherry-pick any commits

repo sync -> after rebasing with slim github, your all cherry-picks will be applied on top of it.

if you cherry-pick a big feature, you'll likely get many conflicts to solve. to solve them, sometimes you need to have a programming knowledge.

i'd suggest you to start with a small conflict first, just to get feeling how to solve conflicts. it is mostly just adding or removing lines while solving conflicts. in a hard conflict, you need to modify the code which usually needs a programming knowledge.

yeah, i just check gerrit regularly after work at home...it's fun. :D

i could try that app again...last time i used it, it wasn't too convenience.