yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] ssanjy:
Instead of flashing stock ROM you may also flash recovery through Odin and try to boot into recovery.... But downloading and keeping stock ROM is always handy
[Galaxy S II Android Development] affigne:
That's a good idea I'll keep in mind next time I f*ck up my galaxy :silly:

But this is what I did anyways:

1.- flashed leaked JB via ODIN

2.- flashed philz recovery via stock recovery, wipe cache and dalvik then reboot into recovery

3.- flashed dorimanx isorec for 4.1.2 then wipe cache and dalvik again then reboot into recovery again

4.- flashed latest TWRP (actually dorimanx had it but I realized a bit too late...whatever)

5.- Did the usual wipes then flashed ROM & Gapps then reboot

6.- profit

a BIG thanks to [MENTION=6892913]darrendude1[/MENTION] for his help
[Galaxy S II Android Development] iJiB:
I'm having the same problem, but mine's a bit worse than your case as in my case the car bluetooth cannot access the contact, messaging and call permission. I remember when I first clean install earlier DU and pairing the device for the first time, it asks to access those permissions. However it didn't happen when I clean install latest DU and paired the phone to the car bluetooth. Even tried clean install earlier DU (10.1) then tried pairing the phone to car bluetooth and it still didn't asks the permission to access those permissions. But I can still play songs from the phone using the car bluetooth just fine.

If you do found out any workaround for this issue, it will be greatly appreciated if you can share it in here :)

For now I'll try clean install any Marshmallow ROMs to try to pair it up with my car bluetooth to see if it's the problem with my car bluetooth or not.
[Galaxy S II Android Development] affigne:
I don't know if I'm doing anything wrong but magisk is a NO GO atm. Don't try to install it...
[Galaxy S II Android Development] Stoyanski:
Hi all and much appreciation for the new version! :)

It's superb, multitasking, app loading, the camera, everything is great. Plus all this, the battery lasts for over 2h with display on and constant browsing, I don't remember such thing on my phone :).

One thing I'm bothered is the WIFI, after I switch it off, the battery stats say it's still on. I disabled the Wifi scanning in location, but still there's no change. This behavior I noticed in another 6.0.1 ROM. Is there some fix or workaround for this?

Thanks.

Update:

It seems after gapps update the issue is resolved...
[Galaxy S II Android Development] DJ-Studd:
An excellent ROM, super responsive. I have been going nuts also though, as Media Scanner has been stuck at 30% CPU (Have disabled it), and the phone refuses to enter deep sleep even with it disabled. I've just reflashed the latest opengapps as per the above poster's comment with no improvement.

Thanks!

Edit: Performed a full wipe, and phone entered deep sleep. 10% usage overnight.
[Galaxy S II Android Development] MEMOREX2:
THE BEST ROM for s2 [IMG="^_^"]http://www.memegen.it/m/nkp85n.jpg[/IMG]
[Galaxy S II Android Development] :
I've been using this rom for the last week or so. Great rom; battery friendly, fast, smooth. A good alternative to all the mainly CM-based roms, although this DU is a little more similar to CM than last time I tested it. The only minor things I miss are quick unlock and live display.

It's also has the best flexibility and stability for kernel settings than any other rom/kernel combo available on this device on MM IMHO. (Dorimanx is great on CM13/CM13 based roms, but the stability isn't always perfect.)

Great job [MENTION=414800]arnab[/MENTION]
[Galaxy S II Android Development] arnab:
2nd OP for Kernel guide is updated along with the most advanced gov available ie zzmoove.
[Galaxy S II Android Development] chhapil:
Facing an issue with f2fs on data partition.

After couple of days of use, data partition is getting corrupted.

I keep on running fsck after couple of days in recovery.

Couldn't grab logs to find exact cause
[Galaxy S II Android Development] Abdo ALh:
hi... i've just started using DU on my s2 i9100 and when i want to install an app from google play the phone reboot itself please help
[Galaxy S II Android Development] TreckeR:
I have a strange problem. I cannot give permission to open files from SD card. It says that I have to disable overlay of the screen. From where??
[Galaxy S II Android Development] Abdo ALh:
i came from cm13... and i partitioned my phone when i was using cm and i have twrp recovery... and when i wanted to use DU

first: i wiped cashe, delivek, system and data

2: then i partitioned my phone by flashing lanchon repit ( btw i partitioned my phone by using pit file when i was using cm and it still partitioned)

3: i rebooted the recovery and then i wiped my phone again

4: flashed DU and GAPPS

if i did something wrong tell me
[Galaxy S II Android Development] arnab:
Its probably the round bubble like the facebook app has on the homescreen...disable that.
[Galaxy S II Android Development] TreckeR:
I use facebook lite so i do not have this bubble. Maybe the omniswitch??

No it did not work, i cannot give any permission on any app, maybe a problem of the supersu??
[Galaxy S II Android Development] hejo1:
Hi,

same problem here. Display overlay!

How and where I can deactivate it? Anyone any idea?

I can not even open my gallery because I set the camera to save the pictures on external sd card.

I tried to change that in security settings and also in apps -> display overlay.

But no success.

Beside that the rom is very good and fast.
[Galaxy S II Android Development] TreckeR:
I did a dirty flash and still the same problem. Next step will be full wipe and start again. I really like this rom!
[Galaxy S II Android Development] hejo1:
I did a full wipe and a clean flash. It didn't help.
[Galaxy S II Android Development] TreckeR:
Too bad, it is my favourite mm rom :( , i will have to start looking for replacement
[Galaxy S II Android Development] arnab:
What is the exact issue here. I dont have any such issues.
[Galaxy S II Android Development] TreckeR:
The problem is that whenever i try to give a permission to an app it always gives me this message: "Screen overlay detected. To change this permission setting you first have to turn off the screen overlay from settings>apps"

I do not know and i cannot find how to do that in settings>apps and so i cannot give any permission to any app such as gmaps, gallery etc.

I was going to to a clean setup again but user hejo1 said that he did and it did not help with this problem. So we are at an impass.
[Galaxy S II Android Development] arnab:
There is some ballon floating tooltip of some app...same thing happened with me with asphalt 8...i had to turn off fb balloon.
[Galaxy S II Android Development] TreckeR:
Ok, so in order to solve this i think i should try to uninstall one app at a time to see which app creates the problem. Is this correct?
[Galaxy S II Android Development] arnab:
Ya thats your best bet.
[Galaxy S II Android Development] orsonbear:
try in developer option menu, disable hw overlay.
[Galaxy S II Android Development] hejo1:
Sorry for double pictures.

But that's what we mean. And even if I say "No" on this apps it doesn't work.

Any idea???

In Developer Options HW Overlay is already disabled.

And even if i change in Camera to save the pictures on internal storage, as soon i take one picture and i want to open it in gallery there will be the same Fault.

Thanks for any help.
[Galaxy S II Android Development] kamal.rana:
Right after I clean flashed the rom, first thing I did was disable the overlay permission under security settings before doing anything else....didn't have that overlay pop-up ever since....hope this works for all of u as well
[Galaxy S II Android Development] orsonbear:
In settings/app, if you look on top, there's a gear icon. Click on it, it opens a menu that contains some options, one of these is "Draw over other apps", look here! (at least on CM13 and some derivative roms). The error happens when more apps at a time are requiring the overlay feature. Good luck!
[Galaxy S II Android Development] LeBourrin:
I found it! it's there:

- Settings

- Applications

- [3 dots Menu]

- Advanced settings

- Draw over other apps
[Galaxy S II Android Development] TreckeR:
Tried that and disabled overlay permission on all the apps, did nothing :(
[Galaxy S II Android Development] orsonbear:
Your problem's culprit may be an app using the overlay feature. Apps such as facebook or skype or similar apps can trigger this problem. There'r some workarounds, googling around you can find these solutions, I cannot say more, search with the keywords "android screen overlay detected error".. good luck!
[Galaxy S II Android Development] ssanjy:
Just in case... May be you are using screen dimmer app like night filter..... If nothing helps then backup your ROM and do a fresh clean flashing and try giving permissions without installing new apps from play store... I've been using this ROM for about a couple of days now and it's fantastic..... Full of customization and smooth... I've faced a few minor issues but it doesn't matter to me.....

Thanks [MENTION=414800]arnab[/MENTION]..... Just one thing... Swipe to wake from synapse is not working most of the times to me despite having enabled... I've been fond of this feature since apolo kernel in JB and my home button is not quite sturdy enough these days...
[Galaxy S II Android Development] TreckeR:
It was the omniswitch in my case, disabling and force stopping did the work ! Just disabling the permission to draw over apps did not work.
[Galaxy S II Android Development] arnab:
It works perfectly for me.
[Galaxy S II Android Development] ssanjy:
Yeah it started to work about a couple of hours ago... May be there were some problems while applying the settings

Edit: this happened twice now.. While switching lock screen fonts and colors trying to figure which looks good I got sod and had to restart the phone.... If anyone can confirm this
[Galaxy S II Android Development] arnab:
Look from left to ryt screen border...swipe it with a feather touch...it will work.
[Galaxy S II Android Development] ssanjy:
Yeah I've used this feature since the apolo kernel in stock ROM... It's working for now.. Thanks anyways... Great ROM
[Galaxy S II Android Development] ssanjy:
OK so I think I have the reason why s2w isn't working for me from time to time.... When I opened synapse app to change things it showed me error SSeekbar had failed

And now s2w doesn't work... I'll need to reboot to make it work.... I'm guessing since other customization I've done like limiting CPU to 1ghz is also not working...
[Galaxy S II Android Development] leechseed:
Is DU still not compatible with systemless supersu? I've read it needs gzip kernel to work.

Also are you going to add custom key mapping? Custom actions on soft & hardwarekeys.
[Galaxy S II Android Development] arnab:
Look this is the best I have done according to my capabilities...there will be minor glitches...seekbar only fails if there is some missing file in /synapse dir or the kernel sysfs path is b3ing altered by some other app...in this case some other app which controls s2w feature.
[Galaxy S II Android Development] arnab:
We are using lzma compression coz its more efficient in compressing...though gzip is faster we cant use it bcoz our kernel/boot partition is only 9mb...and with gzip ..the kernel and the recoveryramdisk together compressed by gzip as our device uses the initramfs structure wont fit in the 9mb boot slot.. so it requires higher compression which is achieved by lzma.

There will be no more additions...search ps for button remaper...it works flawlessly.
[Galaxy S II Android Development] kamal.rana:
Is there an option to change CPU governor or I have to install an app for that? Which app 8s better for that?
[Galaxy S II Android Development] arnab:
Read 2nd post.
[Galaxy S II Android Development] halagore:
How about gt-i9100G? ?
[Galaxy S II Android Development] kamal.rana:
Thank u arnab
[Galaxy S II Android Development] semcem:
This rom seem to be great, but it will be greater if you add somme features

- double tap to sleep on screen lock

- memory bar on recent apps

- hardware buttons light toogle

- ...

Finally, dear arnab, is it possible to flash your kernel on other rom (ll or mm), and where we can find the file for the kernel?

Thx so much
[Galaxy S II Android Development] halagore:
Well..gt-i9100g?? Would it be flashed?
[Galaxy S II Android Development] :
If you are asking whether it will work: No

The "G" has a different chipset and will likely brick your device
[Galaxy S II Android Development] halagore:
So any link for th G series??
[Galaxy S II Android Development] ssanjy:
Black Screen and Lockscreen freeze

I'm having some frequent issues lately.

1. Sometimes after a fresh reboot the lockscreen freezes. However, the capacitive buttons do lit up when I press home/power button. Further when I press power button the power options also appears but cant press anything. So I need to force restart the phone either by pulling battery or keep on pressing the power button.

2. Another is that sometimes the phone screen wont turn on after being off. Again the capacitive buttons do lit but the screen shows nothing. I have attached the log, dmesg, and last_kmsg using Kernel Aduitor after next successful boot. Hope this shows something.

I have wiped system and flashed the ROM and the problem persists. Tried disabling xposed as well and still have issues. Anybody who has faced similar problem.

I tried looking at the logs and understood nothing. Hope someone would help me resolve the issue.
[Galaxy S II Android Development] Obi-XDA:
hello, arnab

have you thought about publishing a final version with the october patch?

thank you for your hard work and your effort

sorry for my english
[Galaxy S II Android Development] dkgr_ser:
One problem I mention now, but exists at least from May build is that on booting, sometimes the phone hangs. Though the hang is random and haven't found a pattern to reproduce it, it always appears at a specific point. On previous builds with the previous boot animation it was just before the unicorn logo appears(in other words just before the blinking circle animation ends) and on latest build just when the complete boot animation ends and "Opening apps" box is showing up. It's something that makes it less possible to be a hardware issue, since it would happen at any time or at any app that causes heavy load. The problem appears on more than 20% of boots and most of the times it happens repeateadly for the next 1-2-3 boots. Of course after 2-3 reboots it finally boots successfully.
[Galaxy S II Android Development] arnab:
It runs out of RAM probably. Decrease some auto start apps except services like whatsapp etc.
[Galaxy S II Android Development] all-lockrv:
Good friends, a question is that there are several types of Galaxy S2, mine is a Galaxy S II (Intl) GT-I9100, this rom is for my phone?
[Galaxy S II Android Development] :
Yes, as are all roms in this i9100 forum unless noted otherwise
[Galaxy S II Android Development] F3N!X:
First ROM I use since a long time where there isn't a menu to configure hardware navigation/home buttons action, but it doesn't mean it has to be everywhere ok. I've read here that an Xposed module can do this job but installing the whole Xposed thing just for one feature is really a pity.

Anyway that's the one and ONLY thing that I feel should be modified on this ROM, EVERYTHING ELSE is just perfect. Thanks a lot to Arnab for this great work!!!

I'm visibly forced to try this Xposed Additions if I want to keep Dirty Unicorns on my phone :(

Or maybe will test AICP as a user advised here. Will see.
[Galaxy S II Android Development] F3N!X:
Finally did the Xposed install and config, not so easy to configure buttons at first sight but as soon as the 2nd sight it becomes obvious. I had very bad experience with Xposed under Jelly Bean, a long time ago indeed. And this time it worked flawlessly.

Thanks to you all for your advices and for taking the time to help each others. Of course most thankful thoughts go to arnab for this project and your other ones at XDA.
[Galaxy S II Android Development] chhapil:
Though it's not my daily driver, I use my S2 often for reading n hotspot.

For the rest of the time, the standby time just awesome, even better than stock

:good:

Kudos n respect
[Galaxy S II Android Development] dkgr_ser:
Well, this theory seems legit. I've disabled some startup apps using 3C toolkit a couple of days ago. Although no freeze on boot till now, 2-3 reboots during these days say nothing. I'll check how it behaves on the long run. Though if it's a low ram problem and because of user apps a system proccess cannot start, LMK is doing something wrong... really wrong...

Edit: Unless removing BOOT_COMPLETED signal is not enough for blocking startup processes, then this theory didn't work. I had a freeze again.
[Galaxy S II Android Development] F3N!X:
AdAway always go back to 'Disabled' state even if Dirty Tweaks "Disable Ads" feature is not active. An idea about how to solve this? Maybe by setting a custom host path in AdAway prefs? I've tested default ones without success. I like AdAway because I can add my own blocklists to default selection.

Edit:

some apps show me full width ads banner at the bottom so that means built-in solution isn't efficient enough. Same apps with AdAway enabled usually don't show advertisement. It explains why I trust AdAway.
[Galaxy S II Android Development] arnab:
I'l work with DU N since they have released the code but it will take time.
[Galaxy S II Android Development] Namoi:
Hi guys,

Can someone confirm Ambient Display works ?

I clean flashed the Rom, didn't change absolutely no settings except Ambient Display (which was on by default if I remember), but it doesn't start. I checked my proximity sensor and accelerometer and both are fine.

Arnab said to disable BLN, but it is off by default, so no clue what's going on oO

Thanks, any help greatly appreciated.
[Galaxy S II Android Development] F3N!X:
If I get it one day it will have been made for free on free time by a gentle contributor so... how can I complain? :)

Thank you so much, I know it's in good hands.
[Galaxy S II Android Development] chhapil:
check this guide

http://xdaforums.com/showthread.php?t=2327934
[Galaxy S II Android Development] chhapil:
GPS Fix - Derekgordon Config

I have created a small flashable zip for gps fix.

I normally prefer the derek gordon config for GPS on S2. it gives me quick and stronger fix.

The file gps.conf file in this zip is based on that.

This basically replaces the gps.conf file in /data/gps.conf with the updated one.

I got help from this post

http://xdaforums.com/showpost.php?p=66496768&postcount=145

Hope this helps.
[Galaxy S II Android Development] chhapil:
Adaway Issue

my symlink to /data/data/hosts in /system/etc/hosts gets replaced to the default one after one reboot. Adaway then shows it as disabled as usual.

Any idea if any init script is replacing it?
[Galaxy S II Android Development] F3N!X:
Thanks, I may give it a try but I've never met this write protected partition issue. As long as the mount command is included to Busybox I could use

mount -o remount,rw /partition/identifier /mount/point

to remount it in writable mode as I would do on my linux comp. Anyway some of my file manager apps on Android have an option to mount the partition in write or read-only modes and no problem here in both modes.

It's a tweaked config, a great ROM, on repartitioned storage, who would have set my partition this protected way? DU devs? naaaaa. I don't think it's related to my issue. Trying to be logical, if I reinstall my old Mokee ROM 5.1.1 AdAway is working fine, and I see no reason why my partition would become "write protected" between this 2 ROM flashes. Thanks for sharing your ideas and time :)
[Galaxy S II Android Development] Ferdinandgab:
hi, this rom is really amazing, just one thing theres a way to desactivate the "three click" that inverts the colors of the screen?

---------- Post added at 09:16 PM ---------- Previous post was at 09:01 PM ----------

did you solve this? im interested too

edit: is there a way to charge the phone while using it? it seem impossible. i was on cm13 and now this rom and when i try to do it. the battery keeps getting lower
[Galaxy S II Android Development] sintoo:
Hi everyone,

Can I remove the Google Voice Search box on the Launcher front page ?

Thank you very much.
[Galaxy S II Android Development] Namoi:
You can use another launcher (nova is what i use) or uninstall google app via a system app uninstaller (if I remember correctly its internal name is velvet), but you will loose the google search app.

On the provided launcher I don't think it is possible but i could be wrong (did you tried long pressing it to see if the "widget" could be removed?)

Edit: nope i tried, you can't so another launcher or remove google app.
[Galaxy S II Android Development] Phenomzye:
Customize hardware buttons please! Doubletapping home is certainly not the most comfortable way of accessing recents, just longpressing would be way better but yeah that's just "my preference". The ROM has millions of features but lacks of this pretty usual one that a bunch of CM roms do have :/
[Galaxy S II Android Development] ssanjy:
I do use Xposed and the Xposed Addition Module to configure the buttons to the way I prefer and its working flawlessly. If you are using Xposed then you should try it...I've even configured the long press menu to show recent (to avoid using home button more frequently)

One thing, do you have problem that while in camera app when a photo is taken the app doesn't automatically revert to capture mode and shows the last photo snaped instead to which I need to toggle the video mode or relaunch the app.
[Galaxy S II Android Development] maseoud:
Hi

I have the same problem for camera.

Any help?
[Galaxy S II Android Development] Phenomzye:
It's been impossible for me to install gapps with this. Tried 1GB system, 1.5GB system, 32mb preload, 512mb preload, it's just not installing, it always gives me this "insufficient storage" message.

I'm able to install cm13, SlimMM, AOKP... all with gapps, I don't know why it won't let me with this one.

Here's the log, if it's any useful...
[Galaxy S II Android Development] BenjyTec:
[MENTION=5072135]Phenomzye[/MENTION]

I guess you already tried the Pico Gapps package? Did you already try to also wipe /system via recovery before flashing ROM and Gapps?
[Galaxy S II Android Development] Phenomzye:
Yes sir, both of them.

In fact, you can see it on the log, it's the pico package
[Galaxy S II Android Development] badboyblue:
I have the same issue, but after I reflashed the rom, wipe cached/dalvik cached,install gapps, wipe cached./alvik cache again and it ran well.
[Galaxy S II Android Development] :
Your log says your system partition is 500mb. This is the only reason it is not installing gapps.

How are you changing /system size? Pit file or Lanchons's tool? Maybe try the other.....

I don't think this is a common problem on this rom, so there is something on your side you are not doing or doing wrong
[Galaxy S II Android Development] Phenomzye:
I'm following this tutorial using pit files and Odin 3, it changed the size of my data and sdcard size when I open Storage in settings, it went from 2gb to 4gb and when I connect it to the PC it says 9GB instead of the 12GB I had with the stock pit, so yeah, it has changed some stuff... I noticed that as well, I have no idea why it reads /system/ as a 500mb partition. Note that I'm using CWM 6.0.4.5. Could it be that this CWM version is outdated already? I haven't tried a clean install with TWRP or a newer CWM basically because I don't have any .tar of those to try, which recovery do you flash when you repartition? If it's better than the one I have, can you link me to it? :p