yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] varund7726:
As you wish ......

And I thanked the person who linked me to the direct fix ...

Did it work? NO ?

DO I own the device? No

Why am I buuilding a rom for s2 then? Because users ask me to port it....and believe me it was a pain parting it to s2. Even westcrip himself couldn't do it.....

So tell me....if users like you are gonna keep trolling me and say " what have u fixed lol" n s*** like that am I supposed to take it as joke? Seriously??

And yes I said should be fixed because I merged that commit as you have seen with no positive results so yeah I said "should"

Guys I'm closing this thread I think I've about had it

If anybody has anything to say for this please say it now ...im closing it in half an hour

Anyways its been an honour serving you all

Thank you for all the appreciation for our hard work!
[Galaxy S II Android Development] :
Now I'm "trolling" you? By asking you one question about an apparent contradiction? You've had enough and are closing the thread for that??? FFS you're a delicate little flower aren't you? Bye.
[Galaxy S II Android Development] ee99161:
Keep porting this. We users from a old S2 would keep appreciating this. Don't quit.
[Galaxy S II Android Development] ayesse:
Please, don't!! I absolutely need RR :crying:
[Galaxy S II Android Development] arnab:
Listen all chill... who can get me a logcat ??? be sure to try to use the Front Camera else it wont get logged in logcat.

Varun do one thing replace the line in mediaserver.te with this

allow mediaserver video_device:chr_file rw_file_perms;

then build again and see if this fixes.
[Galaxy S II Android Development] varund7726:
I will continue support don't worry

I just don't want users to act funny with me like that guy up there
[Galaxy S II Android Development] varund7726:
Thanks I appreciate help like this...ill try it asap
[Galaxy S II Android Development] arnab:
Do it like this for both the lines

allow mediaserver mfc_device:chr_file rw_file_perms;

allow mediaserver video_device:chr_file rw_file_perms;
[Galaxy S II Android Development] Christiancs1969:
Front camera/record has always been a problem on s2....
[Galaxy S II Android Development] varund7726:
thanks building
[Galaxy S II Android Development] varund7726:
lac of exynos sources cause such major issues

i hate samsung for this

why dont they just stick to qualcomm lol
[Galaxy S II Android Development] Lysergic Acid:
You should follow my bringup commit at CM gerrit to get those kind of fixes. I've not updated my github in a month already.

EDIT: those fixes come from here: http://review.cyanogenmod.org/#/c/96969/
[Galaxy S II Android Development] arnab:
Yup u shud take s2_common from cyanogenmod and cherrypick the gerrit over it.
[Galaxy S II Android Development] varund7726:
done thanks a lot :)

https://github.com/ResurrectionRemix-Devices/android_device_samsung_galaxys2-common/tree/cm-12.1/
[Galaxy S II Android Development] Ryder3.0:
No saving photos on sd card? why? How i can save my photo on sd?
[Galaxy S II Android Development] varund7726:
UPDATE

new build up

let me know if front camera is fixed

https://www.androidfilehost.com/?fid=23991606952612257
[Galaxy S II Android Development] :
This has been answered before, but depends on the camera app. Try google camera or one of the others, and inside the camera app change the setting to save to sd card
[Galaxy S II Android Development] Ahmad Ryashi:
I reflash Rom again and I can't find solution
[Galaxy S II Android Development] DaveKing:
Sorry... I backup my LP installation to try this rom and it keeps saying "checking connection" and it has been like this for one hour. It's normal?!

Thanks.
[Galaxy S II Android Development] varund7726:
go back ,choose another wifi connection or skip setup
[Galaxy S II Android Development] con2x:
Front camera still not taking photos [MENTION=4817632]varund7726[/MENTION]
[Galaxy S II Android Development] DaveKing:
thanks. I tried to use my 3g, and nothing. How can I skip setup? It obligate me to do the checking connection...
[Galaxy S II Android Development] Ahmad Ryashi:
Hi

This my best LP rom

please i have small quetion

what is new in new versiom 5.4.6

my best regards :)
[Galaxy S II Android Development] Dr AM:
Go back a few pages , it's a LONG changlog [emoji14]
[Galaxy S II Android Development] varund7726:
:eek: this really sucks

ok change selinux to permissive and try

thats the only solution i have of now untill i find a fix
[Galaxy S II Android Development] con2x:
Working fine with selinux set to permissive. :good:

No problem. We'll just wait for the solution. Thanks for the great rom.
[Galaxy S II Android Development] Emrets61:
No luck with dirty flash and permissive SELinux. I will try clean flash if I will have free time. :rolleyes:
[Galaxy S II Android Development] sumejorpista:
Would it be possible that the kernel was designed stock in order that it is totally tactile, and a bit more spread as the kernel PhilZ?

Enviado desde mi GT-I9100 mediante Lollipop 5.x
[Galaxy S II Android Development] carlosfl8:
Sorry guys, I was wondering if there is way to minimize the random lags/freezes on lollipop or is something that we have to live with forever? ?
[Galaxy S II Android Development] chenrp:
The one that is built in.

Do you recommend something else? I want to undervoltage the cpu.
[Galaxy S II Android Development] shin_no40:
how to change selinux, i cant find it. Pls give me a guid
[Galaxy S II Android Development] arnab:
Plz post some logcat.
[Galaxy S II Android Development] carlosfl8:
A few pages back someone mentioned SELinuxModeChanger look for the link or look for the thread here in XDA
[Galaxy S II Android Development] chcknsld:
Here you go.
[Galaxy S II Android Development] arnab:
U took the logcat after trying to take a pic with the front cam ryt ??
[Galaxy S II Android Development] chcknsld:
Before and after. I mean I record the log then took a picture with the front cam then stopped the record after. The front cam just froze but not totally, it just timed out and didn't create any pics. And yes this is enforcing mode.
[Galaxy S II Android Development] Barry Mad:
NormallyNotSayInPublic/OP/XDA

Sorry for bringing this up Again but Important!

[MENTION=4817632]varund7726[/MENTION] and [MENTION=5376680]Dumber than my Smartphone[/MENTION]

Can you Allow me to be a Peace keeper between you both!

As i Highly value both of your expertise in Development/Testing/Feedback of this GT-i9100 rom.

Note: The Positive end result of your discussion was/is the further improvement of this and other Roms.

Also attracted Very High end people to help Fix problem. All good!

Varund i would like to Donate approx $200 au towards a purchase of a Gt-i9100 Device hopefully ( Ebay? ) a CPU 3/4/5 variant if possible.

Suggestion 1. Then give this to a friend/mate/colleague for personal use & Real time testing of your Excellent Rom release. ie a Double Gift!

Suggestion 2. Ultimately use the Donation as you wish. Electricity,Internet,Repairs to your Computer equipment bills etc.

Suggestion 3. Have a Beer on me and De-stress with your Father,Mother,Family and Friends.

Note 2: Nothing is always easy.

[MENTION=4817632]varund7726[/MENTION]. PM me when you are free time.

Regardless of what i said above, my Donation to you was/is long Overdue...!

Only other suggestion 4. Is to give me your direct mailing address and i will send a Device to you&colleague/family.

I Would prefer to send $.

Enjoy the weekend.

Regards,Respect&Courtesy. bmad.

[MENTION=4144763]westcrip[/MENTION] +1 For starting/growing this RRemix Rom/Forum & adding to the XDA community.
[Galaxy S II Android Development] chcknsld:
Wow! That's very kind of you. Never seen/heard someone like you who's willing to donate for the good of a ROM. Kudos!
[Galaxy S II Android Development] Ahmad Ryashi:
Thanks :)

Sorry for disturbing :(
[Galaxy S II Android Development] arnab:
Strange s5p jpeg is getting denied again here...selinux policy shud get loaded.
[Galaxy S II Android Development] chcknsld:
How can I help?
[Galaxy S II Android Development] Ahmad Ryashi:
Big Thanks To The Big Developer [MENTION=4817632]varund7726[/MENTION]

He doesn't have The Phone But,he still supporting And This Rom is the better

Oh Thanks man I love YOU

My Best Regards To You
[Galaxy S II Android Development] arnab:
No wait let me dig in the problem...its meditation time :p ....in india..its scorching 48 degrees C....iam from nagpur and hez from pune like 800 kms away another city in same state...its very tough to concentrate in this blazing heat...il let u guys knw...il crosscheck the problem with the earlier logs I had...also I need to ask varun...are u using the same kernel as rest of us...sometimes s5p jpeg lib is located in kernel include/Linux/drivers/media/platform/s5p-jpeg but in our case its getting loaded from a pre defined lib...plz confirm the kernel that u are using.
[Galaxy S II Android Development] chcknsld:
Oh right I heard about the heat wave there in India. It's impressive you guys can still do your work while feeling that kind of heat. :good: Anyway, I'm using RR's stock kernel and I ALWAYS use stock kernel. I'm not a big fan of custom ones.
[Galaxy S II Android Development] arnab:
Can u get me a screen shot of the kernel from about page.
[Galaxy S II Android Development] chcknsld:
Oh you mean this?
[Galaxy S II Android Development] :
Thanks mate, it's very nice of you to want to mediate and especially to offer to donate money to him but seriously, I have no interest in having anything further to do with someone who has a tantrum when he fails to fix something and directs his frustration at the very person who was trying to help him. I'd already pointed him at the very high end people he needed and there was no need for the shallow and transparent attempt to troll for sympathy like a 12 year old girl with the "I've had enough and I'm closing this thread in half an hour - unless people come in now and give me a thumbs up and a pat on the back" shtick.

I don't want to continue with this either but I must say I find it amusing that his misdirected animosity and prima donna routine has been rewarded.

So thanks again [MENTION=4809492]Barry Mad[/MENTION], but no thanks... fk him. I've had my say and the thread is replete with examples of my unsupportive trolling! I have no desire to participate in his thread or his ROM any further.

Respect to you though...
[Galaxy S II Android Development] varund7726:
you show disrespect to any dev hes gonna say the same to you

and my friend you did talk to me with disrespect even though i take time out to build for this device

anyways its your choice

good luck with whatever your upto and yes u did NOT send me a "FIX"

[MENTION=414800]arnab[/MENTION] did

he sent me a direct link to the commit

all you sent me was the selinux issue which i was aware of

anyways hope to never see you on this thread again!

kindly avoid posting here thank you!
[Galaxy S II Android Development] varund7726:
btw [MENTION=4809492]Barry Mad[/MENTION] A BIG THANK YOU to you for trying to help out

ive sent you a pm :)
[Galaxy S II Android Development] arnab:
I forgot to ask u...did u update the .dependencies file in device_i9100to point to the latest common and kernel repo ??? like this..its really really important.
[Galaxy S II Android Development] varund7726:
thanks ill do that
[Galaxy S II Android Development] :
LOL ok, right... Clearly your memory is as faulty as the last 3 or 4 builds of your ROM. You can see in the thread that I told you a week ago who had the fix. I told you again yesterday. I never claimed to have come up with nor sent you the fix per se, merely that I did point you at the right person. This is a matter of public record. It's in the thread. It's indisputable. The whole problem arose because you failed to implement it and had a tantrum when I asked you about it.

Grow up already. I'm perfectly happy to not post here again. I have no time for delicate flowers with fragile egos and their misdirected animosity resulting from their personal frustrations. However, if you want me to stop posting here, then how about you stop trying to change the narrative? You failed to implement a fix other people have succeeded with and which I made you aware of. You got frustrated when I asked you why you claimed it was fixed in the next build when it clearly wasn't. Then you put on the diva act and projected your sense of frustration at me. It's all there in black and white. Toughen up princess. Stop wasting your time trying to convince yourself and others that I'm some nasty troll and you're some poor beset delicate genius, and get on with fixing your ROM. Other people are still interested in it and you do everyone a disservice by being a petulant sook.

*It's a shame you're so infantile because, as I've said many times, this was my favourite ROM and I have commended you on your coding skills. Stop mentioning me and spinning sympathy yarns and you won't hear from me again.:good:As I've said several times thus far, best wishes and good luck with it.
[Galaxy S II Android Development] varund7726:
im not mentioning you brother and i havent even been rude to you

it was just the way you spoke to me

anyways no hard feelings

good luck
[Galaxy S II Android Development] shin_no40:
anybody try install Walkman 3.6 on this rom. After install i dont see app . Dont know why zz
[Galaxy S II Android Development] :
No hard feelings. This isn't a youtube comment section. It's a developer's site and we have both let our egos get in the way. I only ever tried to help you improve your ROM and through some misunderstanding it's degenerated into something unpleasant and inappropriate. I'm happy to call it quits. I won't post here again. Again, no hard feelings and good luck.
[Galaxy S II Android Development] buffer overflow:
Thanks guys !If this discussion continue, i was going to throw me in the air (parachute) ! :p:laugh::silly::highfive:
[Galaxy S II Android Development] Giobio:
Open terminal emulator and digit SU then setenforce 0.

This way is to repeat avery time you boot system....
[Galaxy S II Android Development] chcknsld:
I have a better code to set permissive on reboot. You're only going to execute it one time then it's permissive every reboot. You guys like it?

---------- Post added at 13:52 ---------- Previous post was at 13:51 ----------

I'm going to miss you, bro. LOL
[Galaxy S II Android Development] varund7726:
thats why im gonna build in permissive now

hopefully there will be no boot issues
[Galaxy S II Android Development] buffer overflow:
Once again...SELinuxModeChanger In this thread page 324 post #3239 :);)
[Galaxy S II Android Development] chcknsld:
Then I guess we're going to wait for your build. But right now people can use this code until your build is uploaded.

su
mount -o remount,rw /system
mkdir /system/su.d
echo "#!/system/bin/sh" > /system/su.d/permissive.sh
echo "setenforce 0" > /system/su.d/permissive.sh
chmod 755 /system/su.d/permissive.sh

Just copy paste to terminal. Reboot.
[Galaxy S II Android Development] Giobio:
Of course....

I've just read about and downloadingt an app to solve it but if there is a way to set permissive selinux without flashing apps, I'd prefer it, so mate....come on :) :)
[Galaxy S II Android Development] chcknsld:
It's right above your post. :)
[Galaxy S II Android Development] arnab:
Varun try olx.in..i bot the s2 for 5600
[Galaxy S II Android Development] Giobio:
I'm posting this as user [MENTION=3880606]smason[/MENTION] asked me for [MENTION=4817632]varund7726[/MENTION] to solve camera problem:

(I'm ambassador :) )

Thumbs up Front camera FIX of I9100

Dear friends,

with the latest Resurrection_Remix_LP_v5.4.6_optimized-20150531-i9100.zip there is a wrong context of /dev/s5p-jpeg:

root@GT-I9100:/dev # ls -laZ s5p-jpeg

ls -laZ s5p-jpeg

crw-rw-rw- system camera u:object_r:device:s0 s5p-jpeg

root@GT-I9100:/dev #

should be "u:object_r:video_device:s0"

so

1|root@GT-I9100:/dev # chcon "u:object_r:video_device:s0" /dev/s5p-jpeg

chcon "u:object_r:video_device:s0" /dev/s5p-jpeg

root@GT-I9100:/dev #

root@GT-I9100:/dev #

root@GT-I9100:/dev # ls -laZ /dev/s5p-jpeg

ls -laZ /dev/s5p-jpeg

crw-rw-rw- system camera u:object_r:video_device:s0 s5p-jpeg

root@GT-I9100:/dev #

After the above change the front camera works!

[MENTION=4817632]varund7726[/MENTION]

Can you modify "selinux/file_contexts"?

Best regards.

Stefano
[Galaxy S II Android Development] varund7726:
Update for testing

new build for you guys to test

for front camera

fingers crossed this time

https://drive.google.com/file/d/0BxFDLfZr1uMUWmpQdjdzeE1yRGM/view?usp=sharing
[Galaxy S II Android Development] Emrets61:
I didn't get why camera is not working on dirty flashes. Clearing cache, dalvik cache and camera cache / data should be enogh. Didn't camera app replaced with the new one when I flashed the new rom? That doesn't make sense to me.

Edit: I'll try new version. Thanks Varund!
[Galaxy S II Android Development] Barry Mad:
JustRepostTidyUp
[Galaxy S II Android Development] arnab:
Didnt get you....u cant compile only if u give device there as its against policy to run mediaserver on device....i already added video_device in my github long back and it works perfetly....so where was the problem ???

https://github.com/kularny/android_device_samsung_galaxys2-common/commit/a21832adf54d7a693e30a6c067b6d746499a17f4

and btw it will show device in logcat...its all good there.

EDIIT - I think u didnt change the .dependencies file and it was getting loaded from old repo.
[Galaxy S II Android Development] Barry Mad:
Thanks to confirm last Rom Release has a well earned end/fix for front cam [MENTION=4817632]varund7726[/MENTION].

Further testing will prove this to True or Not. Thats what this Forum & XDA is for/purpose.

Was in middle of Edit last post. Haha.

Have a well earned break/rest mate.

Sometime later sort out your Donate links as per our PM talk.

I WILL honour my promise so NO stress my friend. Good work/code as per normal.

Cheers bmad.
[Galaxy S II Android Development] arnab:
Can ny1 plz point out to me where was the issue ???
[Galaxy S II Android Development] varund7726:
the issue was in selinux itself

one small line was missing

i changed dependencies but got lots build errors

hence i cherrypicked Lysergic Acids Cm gerrit patch and built it

cheers
[Galaxy S II Android Development] arnab:
Strange...what i posted u was the perfect fix for Front Camera and same as lysergic acid in A to Z letters...there must have been some device related setup issue else its impossible that fix wouldnt have worked.
[Galaxy S II Android Development] Barry Mad:
[MENTION=414800]arnab[/MENTION] Thank you very much for your guidance&help to [MENTION=4817632]varund7726[/MENTION] and for feedback on problem solving.

Sorry run out of XDA Thanks Credit today. haha.

Ok you both worn out the Oldman today. So I am having a break now also.

Look forward to watching/using both of your Excellent work/code&advice.

Cheers from bmad again for a Good day. 7.30 pm here.
[Galaxy S II Android Development] varund7726:
UPDATE

i think its my toolchain and my optis that wasnt compatible with your repo

anyways thanks for pointing out the fix :)

anyways guys front cam finally fixed

https://www.androidfilehost.com/?fid=23991606952612664
[Galaxy S II Android Development] captaindeep:
Hie varund Bro. kelvin just ported RR rom for s2G i9100G users but there is bug when ever we touch to back button app just show FC problem its really irritating can you please help us to solve this problem here is the link

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

I hope u will surely do something for us thanks
[Galaxy S II Android Development] varund7726:
yes i posted there ..

kindly grab me a log
[Galaxy S II Android Development] Emrets61:
Is that same with this version?

http://xdaforums.com/showpost.php?p=61073458&postcount=3321
[Galaxy S II Android Development] varund7726:
yup
[Galaxy S II Android Development] arnab:
Yup the underlying bottom line is that it got fixed after all...Congrats for your good work :)
[Galaxy S II Android Development] ssandyji:
Its very difficult to flash on stock pit b'cose size are going to arround 250mb of new build

10mb to be increased to last one
[Galaxy S II Android Development] chcknsld:
Then why don't you flash a bigger PIT? It's very easy. It's also recommended to have bigger PIT for LP ROMs.
[Galaxy S II Android Development] jimbomodder:
I've still got a stock pit on my sons I9100, with lollipop and pa gapps pico , fits fine no issues and still 64mb system free.
[Galaxy S II Android Development] chcknsld:
Yup it's fine.. Until more ROMs come, more Android versions, apps will get bigger, need more memories that require bigger PIT. Yes it's fine for now but it's recommended for the long shot and to avoid further issues. LP is just the beginning dude. Our stock PIT won't keep up with the race.
[Galaxy S II Android Development] ssandyji:
Can you link me for a easy to increase the pit so we can try to do

Thanks 4 D
[Galaxy S II Android Development] Emrets61:
Uh, clean install and permissive SELinux. Looks like my front camera damaged. :D :(
[Galaxy S II Android Development] chcknsld:
Here's the link: http://xdaforums.com/showthread.php?t=3011162

I can provide you with the PIT and the tar files I used with ODIN for RR if you like.

---------- Post added at 21:45 ---------- Previous post was at 21:40 ----------

What do you mean damaged?
[Galaxy S II Android Development] Emrets61:
It's dead. Not working. Probably water damage.
[Galaxy S II Android Development] msohail_7:
ROM Query

Hey guyz, I've used this rom when it was built i.e RR 5.0.1. I felt some small bugs then and a bit disappointing battery life. How is the rom working now after the latest build RR 5.4.6 in terms of performance and battery ?
[Galaxy S II Android Development] chcknsld:
The best RR performance to date. You should try it out.
[Galaxy S II Android Development] ssandyji:
Ok give to us

I will do it in this week and tell to u.
[Galaxy S II Android Development] DaveKing:
the problem was the gapps from the 1st page. I tried another gapps and it works. Thanks anyway.

Cheers.
[Galaxy S II Android Development] Yakap:
Front camera it's working now on latest build, thanks [MENTION=4817632]varund7726[/MENTION]
[Galaxy S II Android Development] ukiya16:
what changed with the optimized version?
[Galaxy S II Android Development] chcknsld:
Here's the changelog: http://xdaforums.com/showthread.php?p=61047609
[Galaxy S II Android Development] msohail_7:
What about the battery life and facebook app, google chrome force close issues ? is it working fine now ?
[Galaxy S II Android Development] chcknsld:
Battery life is good. No FC issues. Only downside is a possible memory leak. Why? Because there's a heavy metal lag when I use Facebook, Messenger and Chrome all at once. You have to remove/close one of them to avoid further lags. Well I don't blame the ROM for this but the FB apps. They use too much RAM for our device to handle.
[Galaxy S II Android Development] msohail_7:
What about screen on time ? and i previously experienced huge battery drain even when i kept the fone ideal.
[Galaxy S II Android Development] ganjab:
Add ota update but not full Rom 240mb but only fixes 5-10mb. Remix 5.4.6 to 5.4.7. This four buddy on transmission data packet. And fix some tunned kernel gustavo to cpu/gpu, uv/ov. Twrmp recovery.
[Galaxy S II Android Development] captaindeep:
Looks great ;)
[Galaxy S II Android Development] _followers_:
Mate how you flash the rom? A clean flash or a dirty flash? Because im tired in flashing a rom if there is an upate. Cuz everytime i flash an update all the apps i install too. I have almost 30 to 50 apps i think to installed every update of a rom. Any idea how to make it easier everytime i make a clean flash?