yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] silvers01:
i'm always doing full wipe/clean flash..never do dirty flash :)

anyway...i tried cleaning radio by flashing radio cleaner, flash different modem, clean media scanner...still no good...

i'm a heavy user
[Galaxy S II Android Development] chenrp:
1. is there a OTA updates? are they daily?

2. do i need a special TWRP (coming from 4.2.2)
[Galaxy S II Android Development] matteo2:
I have /system default size and so I need minimal gapps package...
[Galaxy S II Android Development] sourly64:
Try to flash after a clean wipe with HawkerCore Script and get bootloop .Try again with NukemScript also no sucess.Rom stucks on Bootscreen :confused:
[Galaxy S II Android Development] _followers_:
After Flashing this last night front camera is freezing again like 5.4.4 build...the 1st flash i make is wiping all, so 1st i flash the 5.4.5 then followed by superSU and then the GAPPS but still front cmera freezing..so the the second flash i make is flash the 5.4.5 followed by GAPPS and then superSU but again front camera is freezing..the 3rd flash i make is flash the 5.4.5 then GAPPS then reboot but after rebooting im stuck at network connection there's no highlights in SKIP to make it skip..any other solution cuz im back in 5.4.3 build it is stable build for me. ;)
[Galaxy S II Android Development] Zokom:
Playstore keep closing by himself, and front camera freeze. Ive installed the gapps pack that vizdak posted
[Galaxy S II Android Development] matteo2:
I do this:

-flash 5.4.5

-flash apolo 8b9

-flash minimal gapps

-wipe dalvik and cache

and I have system ui error and force close.

After I try the same with delta gapps but the result is the same... Now I'm trying with full wipe
[Galaxy S II Android Development] ssandyji:
try to insttaled " Pico(Uni) PA Gapps for Android 5.1.x Lollipop " its 43.20mb

from hear http://www.androidrootz.com/2015/03/download-android-51x-lollipop-pa-gapps.html
[Galaxy S II Android Development] matteo2:
News: with apolo system ui error and force close; without apolo verify connection in first android wizard have no end... I come back to 5.4.4 with apolo
[Galaxy S II Android Development] soundznice:
Feedback on 5.4.5

Install done with full wipe (I've tried a dirty flash but my device is slow as hell when doing that)

With Delta Gapps > ending in checking connection endless loop...so back to gapps-L-4-28-15.zip and install can be done OK

For the front camera : still NOK but i've checked a bit on google and it looks like it's a common issue, Nexus 5 has the bug also (https://code.google.com/p/android/issues/detail?id=160609)

Other than that, no crash or issue at the moment after a full day of use.
[Galaxy S II Android Development] Ryder3.0:
Guys i have a problem. when I install the latest version of RR... writes "root access possibly lost"

Any ideas? ?
[Galaxy S II Android Development] :
Do you mean it asks you if you want to repair root or something? Just answer "no" it will be fine
[Galaxy S II Android Development] chcknsld:
Camera still working fine for me. Front and back. Dirty flashed from 5.4.4 to 5.4.5. Random system UI FC is still present (occured only one time today after flashing) but it's not that kind of a big deal for me. No freezes yet and random reboots. So far so good.

There's also a bug with the RR logo in status bar. Can't change its color since it was introduced in 5.4.4.
[Galaxy S II Android Development] samichiban:
+1

I've tried with other camera apps (ie. Google Camera, and Camera FV-5, etc.).

None of its front camera shutter is working.

So it is clear that it's not the problem of camera app,

but could be a bug of RR (?) or Gapps (?).

Beside this issue, not experiencing any FCs or other bugs yet.

RR Rom is really great, working smooth and fast!

Super happy with provided tweaking tools.

So far so excellent!
[Galaxy S II Android Development] chcknsld:
Okay now, I think this is what I differ from others 'cause I got my front cam working while most others not. The SElinux maybe? I changed it to permissive mode on boot with a script 'cause I'm using Viper4Android. You can also try an app called SElinux Mode Changer. I don't know if it'll work but it's the only thing I can think of that's different from all of you 'cause I got the front cam working.

Maybe? Maybe not. There's no harm in trying. I could be wrong but what would you lose anyway?

UPDATE:

Well it works. I don't know how (maybe someone can shed some light on this, all I know is SElinux is related to security) but yes, it works like a charm. For those who don't want to use the app. I have the code here to set SElinux to permissive mode on boot.

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

Then reboot.

You have to use Android Terminal Emulator for this. Download it from the play store. Credits to the person who I got this code from. I paste it in my Google Keep since then. :good:
[Galaxy S II Android Development] jony ramsay:
temporary solution

I recomend you to use kk camera from a kk rom, i´ve used that every time just cause the 6.4 wide photo option and the autofocus on video, but also this kk camera solves your problem, i can take photos and video with front facing camera, it has worked for me on every lollipop rom i´ve tried (this one included (all versions, even 5.4.5)).

forgive my bad english, and have a nice day :D
[Galaxy S II Android Development] samichiban:
Thanks for your advice.

I've tried the camera kk, but no luck

- the power shutter of the front camera still freezes.

BTW, I like Camera KK - giving clear focus.

Wish this bug is fixed in the coming update.

---------- Post added at 08:01 AM ---------- Previous post was at 07:21 AM ----------

Thanks, chcknsld.

Yes! Yes!

It's now working like magic after changing SElinux Mode to permissive.

Should you want to try it, this is the link:

http://xdaforums.com/devdb/project/dl/?id=12506
[Galaxy S II Android Development] chcknsld:
Glad it's working now. I'll tell it to other threads because they're suffering the same issues. :)
[Galaxy S II Android Development] _followers_:
ok thank you mate, yah i think it because of the the SElinux it is enforcing i never think about it hehehehe will try the codes that you provide and I will feedback later... RR is my favorite ROm since KK.. :good:
[Galaxy S II Android Development] soundznice:
Yeahhhhhh :) Fixed now with the SELinux app changer ! So cool ! Issue with the front camera

finally fixed ! Thanks Chcknsld a lot for the tip !! :)
[Galaxy S II Android Development] Descore:
Stuck on "Checking connection"

Formatted everything, installed ROM and GApps from OP, in first boot I get to Wifi selection screen, choose my Wifi, enter password, and it says connected.

In next screen it says "Checking connection... This can take a while" - no kidding, after 10 minutes still going, and the Skip option is greyed out. What gives?

I don't have a SIM in this phone if it matters. And my Wifi connection works just fine.

Edit: Next I tried with my SIM from my S6 (yes you can fit a Nano SIM in this phone :) Now I could skip Wifi, but again it gets stuck on "Checking connection". What is it actually doing in this step and why is skipping it not allowed?? I can see a bit of data is being transferred from the notification panel.

Edit 2: So I formatted /system and reflashed RR again, and this time I didn't install GApps, but booted into normal mode, there was no wizard so all was good, then rebooted back to recovery and installed GApps Minimal Edition. Then I rebooted and added my Google account, and now everything seems happy. :)
[Galaxy S II Android Development] Vicentebon:
Many thanks mate...was almost magic!
[Galaxy S II Android Development] _followers_:
1+ for having problem with coonection, i just flash the ROm and superSU then reboot after rebooting back to recovery and flash the GAPPS.
[Galaxy S II Android Development] matteo2:
I flash back 5.4.4 to resolve the problem.
[Galaxy S II Android Development] soundznice:
I had the same problem with Banks Gapps and Delta Gapps - the only package that works with this issue is this one : gapps-L-4-28-15.zip

https://www.androidfilehost.com/?fid=23991606952594344 - It says its for the Xperia Z but it's the same size as the one i'm using for the S2

If it doesn't work, i can try to upload it somewhere, if there is a place where i can upload without credentials .
[Galaxy S II Android Development] apoklyps3:
still ultra-unstable. I'm afraid the sgs2 is just too old for this

liked a video on instagram, phone completely froze. forced power button shutdown and start again was the only way to get it going again.
[Galaxy S II Android Development] Descore:
More trouble

Now it just loops at the Remix logo. Happened twice. It happened after I installed SuperSU but I'm not sure if it was just because it was first reboot after configuring GApps.

I'm wondering if the kernel has SELinux enabled and if you could post a kernel without that crap. Because it was causing a lot of problems also for OmniROM on some other S2 variants.
[Galaxy S II Android Development] _followers_:
you can flash rom and superSU then reboot after rebooting go to recovery again and flash the GAPPS...first boot boot takes 5 to 10 minutes be patience...:good:
[Galaxy S II Android Development] chcknsld:
You're on stock PIT? May cause by insufficient memory space in your /system partition.
[Galaxy S II Android Development] samichiban:
It occured to me, too.

I rebooted forcibly with long press on Power button.

And then the process went ok smoothly - no need of reinstallation!
[Galaxy S II Android Development] Descore:
Yep, that's what it was, as I found out myself in the end :)

There really should be a link in the OP to re-partitioning, as this is essential with any of these ROM's. I'm now on 768MB /system and everything works great.

Bit annoying that the GApps installer doesn't check for this, the way I found out in the end was by trying the GApps from Omni, where the installer comes out and says that it can't flash it because of insufficient space.

This info and the link to the better PIT's (here) should be in the original post if you ask me. And there should be added some error checking to warn of low /system space.

Anyway I'm happy now, did this and all the issues went away.
[Galaxy S II Android Development] UsualSuspectReaL:
This is solution for 3G icon problem.

create a new user (in Settings:Users:Add user),

screen goes blank, click power switch to refresh, swipe to open, goes to welcome screen, press arrow in circle to set up, select your wifi from the list, press finished, then hold power switch to power down, power back up again, all fixed!
[Galaxy S II Android Development] vizdak:
Same here. The only gapps that works for me is this gapps-L-4-28-15.zip.
[Galaxy S II Android Development] _followers_:
so mate you mean to say is to force long press the power button until it will reboot? then after it boot up normally until main windows? so how about google aaccount i can't see any google account in settings/account, only exchange, personal (POP3), and personal (IMAP)...i cant sign in my contact.
[Galaxy S II Android Development] cirix81:
I'm using CWM and i'm format with vfat.
[Galaxy S II Android Development] chcknsld:
Don't use vFat. Always format to ext4.
[Galaxy S II Android Development] :
Setting SELinux to permissive?

I've been having a few issues with this build, one of which is the front camera not capturing pictures. It appears the current workaround is to set SELinux to "permissive".

When I first started using Viper4Android, and hence using the SELinux Mode Changer app, I read that leaving it always set to permissive can be a security risk so I only used it to allow V4A to install it's drivers then set SELinux back to "enforcing" and disabled the app.

Because I've been having a few other issues with this build as well I've been reading other threads and I came across this post from the developer of DU ROM for our S2 which may be worth a look;

Just thought I should mention it here for people to consider. It looks as though a fix has been found that doesn't require "permissive" setting. Perhaps it can be implemented in this ROM as well?
[Galaxy S II Android Development] arnab:
ya camera is fixed...i hope other devs apply it soon.
[Galaxy S II Android Development] chcknsld:
That Viper trick works? Setting SELinux to install to permissive to install drivers then reverting it back to enforcing?

Security risks in smartphones here in our country is extremely low because of the majority of people that is tech illiterate. I guess it's not that kind of a big deal for me to switch to permissive permanently. No one will ever know here in our place or even run a media server if my phone's data is vulnerable or not.

Anyway, how's the stability going for you with this latest build, dude?
[Galaxy S II Android Development] :
Yeah man, in fact I just reinstalled V4A just then to check. (I hadn't bothered till now because I've been uninstalling/reinstalling this ROM a bit...)

I set SELinux to permissive, move V4A to system folder and set perms, reboot and the device installs it from the system folder, open it up and install the drivers when prompted, reboot when prompted, then set SELinux to enforcing. Good to go. It appears that "permissive" mode is only required for V4A to install it's drivers properly.

I don't worry much about "security issues" generally but when it comes to tech stuff, most 12 year olds know more than me and I worry about "identity fraud" with all the data we carry/send around on a daily basis. Evey day there is news of cyber criminals hacking into this or that and most people I know have some internet banking app or at least google and email passwords stored on their phone. I figure I'd rather be safe than sorry. I mean, there are no doubt plenty of ways for crims to steal my stuff that I don't know about, but if I can make it a bit harder for them I will. Staff at a petrol station near where I lived a few years ago were caught skimming credit card data by placing a well made stealthy card reader over the EFTPOS terminal and watching people enter their PINs on the security camera behind them. Crafty! I trust nobody. :eek:

Anyway, getting OT there. The stability for me on this build is a bit iffy. Lots of "this has stopped working" and "that has stopped responding". Nothing that hasn't been mentioned already by others I think. It doesn't seem to like some of my apps at all. I'm certain the little bugs will be ironed out though. This has been my favourite LP ROM since it started for sure. This ROM is like my missus - I might have a sneaky look at others occasionally but I always come back to her. ;)

EDIT : Actually one issue I'm having that I don't recall seeing mentioned by others is with the GPS. Whether location settings are for Device Only or High Accuracy, Google Maps usually can't lock onto my location and the few times it has, it gives itself a very wide margin or error - like a really massive blue circle where I might be. So I'm wondering, can anyone tell me if that's modem dependent, what modem is used in this ROM and might it help to flash a more suitable one for Australia? If there is a more suitable one for this region I guess it would help with battery life too?
[Galaxy S II Android Development] chcknsld:
Cool! I'll keep that in mind when I try to install V4A on enforcing mode.

Now that's a valid reason you should keep enforcing mode with SELinux. People in your country knows well about tech stuffs while I wouldn't worry much here in our country because it's very rare to encounter such things. Most people here only cares about the casual tech stuffs. They don't dig deep enough 'cause they're afraid they might end up breaking their phones/gadget thus paying for a repair service that overcharge them. Too expensive for them that's why they don't bother much.

Then we're experiencing the same thing. This too has been my favorite ROM since LP but I also want to try others. If they disappoint me, I always come back to RR. There's nothing like it. It's just the curiosity that's driving me to try others. Who knows, I may have a better experience with them.
[Galaxy S II Android Development] Ryder3.0:
guys why i can´t save my photos/videos on external SD card?
[Galaxy S II Android Development] Vrasidas:
same problem with the newest kernel. which gapp should i use?
[Galaxy S II Android Development] buffer overflow:
Maybe this time...pa_gapps-modular-pico-5.1-20150418
[Galaxy S II Android Development] Vrasidas:
ok seems working now
[Galaxy S II Android Development] felix_w:
I have concluded that it is the Camera app's fault. Use an alternative app and then you can select the path to your externalsd.
[Galaxy S II Android Development] jeckomp:
Hi to all. Installled today.

Originally i've Philz touch and i've saw this error messages:

warning : No file_contextsdetected filesystem ext4 for /dev/block/mmcb1k0p9

detected filesystem ext4 for /dev/block/mmcb1k0p9

Next i've flashed this recovery:

Click to download

After i tried one more time, and i see a double warning message like this:

detected file system ext4 for /dev/block.mmcblk0p9

detected filesystem ext4 for /dev/block/mmcblk0p9

and seems to get stuck for a long time. Do not remove battery, just wait some minutes and you will see "Install from SD card complete" and then install Gapps and everhing you need.

Now i'm testing Resurrection remix.
[Galaxy S II Android Development] chenrp:
Just installed from stock 4.1.2 and i have keyboard aosp force close and google play force close. I installed swiftkey but still the Google play is closing. Any way to solve it?

Maybe install a different gapps?

If so? Please give a link to a working gapps.

Do i need to remove the current gapps? Wipe? Data wipe? Reinstall rom? Or just install on the current one?

Thanks!
[Galaxy S II Android Development] buffer overflow:
Try with pa-gapps.See one page ago in my post.Wipe cache partition and flash just gapps. :)
[Galaxy S II Android Development] _followers_:
detected file system ext4 for /dev/block.mmcblk0p9

detected filesystem ext4 for /dev/block/mmcblk0p9 <---- You just have to w8 5 to 10 minutes its normal in LP rom.. :good:
[Galaxy S II Android Development] Ryder3.0:
On this ROM can not play games like Real Racing 3 or Final Fantasy VI, omg WHY?
[Galaxy S II Android Development] chenrp:
Thanks!

But now I noticed another bug. The gallery is showing the oldest pictures first.

Any fix for that?
[Galaxy S II Android Development] chcknsld:
I advice you to use a gallery app like Quickpic which can sort pictures from newest to oldest, or according to size, date, taken date. It can also fix the actual taken date of a photo.
[Galaxy S II Android Development] jeckomp:
need to remove, issues with google play services and gmail sync. sorry
[Galaxy S II Android Development] chenrp:
Thanks, works good.
[Galaxy S II Android Development] Ahmad Ryashi:
Hi, I am Ahmad

Today, I flashed this rom from 3 hours

I flashed it many times for a problem

the problem is in the trebuchet launcher

it's very beatifull,it's work First

but now don't!!

when i clear data it's work for period of time and the problem back

The rom is very excleent

i use now nova launcher

please any solution guys

my best regards
[Galaxy S II Android Development] MrPierc:
Hi i want try this ROM, but i flash zip with error. I try CWM from this topic "CWM-KitKatCompatible-i9100", but i have still errors. What version of CWM i must use? Thanks for help.
[Galaxy S II Android Development] chcknsld:
What kind of error? Please specify before posting.
[Galaxy S II Android Development] MrPierc:
Hi, sorry for my reaction, but now after second flash error is gone. So flash is OK. But after first start is here problem with first settings. Its neverending "Checking connection" - i try flash version 5.4.4 and 5.4.5 ROM + gapps BaNkS-dynamic-gapps-L-5-24-15.

I read here in this topic same problems from others...
[Galaxy S II Android Development] Ahmad Ryashi:
Hi again

I reflashed ROM without flashing Gapps

And the problem of launcher solved

Now the free space in my system file 100(400 used)

Please please please any one give me Link. For Gapps without problems

Waiting..

My best regards
[Galaxy S II Android Development] buffer overflow:
PA-GOOGLE APPS Plus(All ROM's) :)
[Galaxy S II Android Development] :
Easiest way I've found to fix that is hold your power button down until the phone turns off/reboots. When it restarts it should go ahead ok.

If that doesn't help, you can try this;

*full wipe/clean flash ROM again and maybe SuperSU, then boot phone up. Not gapps yet. Set up all your ROM settings now too if you want.

*reboot to recovery and flash gapps now. Clear cache and Dalvik.

*boot phone up again, wait for all the apps to optimise and you should be good to go.

This is how I install now thanks to a tip from [MENTION=5061138]androcraze[/MENTION] in the Minimal Edition thread.

---------- Post added at 10:04 PM ---------- Previous post was at 09:52 PM ----------

For Lollipop ROMs you may want to consider repartitioning your internal storage so you have 1Gb system partition and 4-6 Gb Data partition. It's not strictly necessary, especially if you're using a Minimal or Pico type gapps, but it's generally recommended. ART needs more room to operate than Dalvik.

Instructions and files are here at http://xdaforums.com/galaxy-s2/development-derivatives/mod-increase-partition-size-t3011162. It's easy and worth it I think.
[Galaxy S II Android Development] Ahmad Ryashi:
Big thanks

i dowloded it but it is not work :(

installtion aborted
[Galaxy S II Android Development] buffer overflow:
I hope you downloaded PICO Gapps.
[Galaxy S II Android Development] MrPierc:
Many thanks for your information. I flash ROM without gapps and reboot to start. I reboot and flash gapps and reboot. After start i have gapps install in system (google play i found). But how i activate the start settings where is in first start? I mean the procedure when mobile ask for language + gmail login + wifi settings + google settings gps etc.?
[Galaxy S II Android Development] Ahmad Ryashi:
I downloaded nano Gapps

I will installing pico Gapps now and I will tell the result

Thanks
[Galaxy S II Android Development] :
If you didn't automatically get the option to set them up, you can do it manually by going into the appropriate settings in the settings menu like Accounts, WiFi, etc.

Failing that you can do a factory reset which should take you back to the initial setup sequence.
[Galaxy S II Android Development] Ahmad Ryashi:
Thanks Thanks it's woooork
[Galaxy S II Android Development] matteo2:
No good news from [MENTION=3445281]pedestre[/MENTION]:

"Sorry guys, but I must tell you that Apolo development has finished. My S2 has died and now it doesn't turn on, so I won't be able to update the kernel any more.

Configurator, links and xda therad will remain as usual for older android versions and information, so you can keep using Apolo if you wish, but you should know that it won't work in latest LP ROMS.

Good luck and thanks for everything"

Inviato dal mio GT-I9100 utilizzando Tapatalk
[Galaxy S II Android Development] MrPierc:
I try do factory reset from menu ROM, but it dosent work so i must to boot menu and make factory reset via cwm. After restart it shows "first settings" but it say i have not SIM and checking connection is back. Its really bugy.
[Galaxy S II Android Development] mco2015:
Terrible news from pedestre..

No Apolo means no BLN and no USB fast charge for s2 users.

I can't use my S2 without BLN.. Why can't RR implement BLN... :( i've been asking for 2 years.. :crying:
[Galaxy S II Android Development] rodzwafu:
Yes please.. Been waiting for this features..