yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] arnab:
​

Disclaimer

​

#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/

ROM ToolChains

. ROM:- UberTC-v4.9.4
. Kernel:- Linaro-v4.9.4

Root Info

​

Root is included​

Installation instructions

[U]Coming from 6.0.x or less[/U]

. Format System, Data, Cache & Dalvik/ART Cache
. Install ROM
. Install Gapps if required
. Reboot

[U]Coming from previous build[/U]

. Wipe Cache
. Install ROM
. Reflash Gapps
. Reboot

[U]Using OTA as update[/U]

. Check for any available updates
. If you get one, download the update
. The OTA Updater application will then automatically flash the update using ORS

IMPORTANT NOTE

Please report all the Bugs in the Bugs Section. In this way I can keep track of all the bugs and fix them appropriately. The ROM must be flashed with TWRP Recovery only.​

Changelog

​

[U]20/09/2016[/U]

[U]ROM[/U]
. Updated DU to v10.6
. Updated Android to v6.0.1_r68
. Updated TWRP Sources
. Updated Automatic Translation Tables
. Updated Camera HAL
. Added new Bootanimation
. Fixed AdvancedDisplay code

[U]KERNEL[/U]
. Updated Kernel to v1.4
. Silenced watchdog log spam
. Fixed filesystem issues in namespace
. Fixed fuelgauge driver
. Added field in mm to store names for private anonymous memory

Many more updates and optimizations.

Bugs

​

None

Downloads

#include <ROM.dl>

#include <Gapps.dl>​

Video Review

[YOUTUBE]qb3gFg_0qe4[/YOUTUBE]​

Join the D.U Community for the latest updates

​

XDA:DevDB Information

DirtyUnicornsMarshmallow, ROM for the Samsung Galaxy S II

Contributors

arnab, Lysergic Acid, Gustavo_s, Lanchon, The whole DirtyUnicornsTeam(Team D.I.R.T)

Source Code: https://github.com/kularny

ROM OS Version: 6.0.x Marshmallow

ROM Kernel: Linux 3.0.x

ROM Firmware Required: TWRP Recovery

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: 10.6

Stable Release Date: 2016-09-20

Created 2016-04-11

Last Updated 2016-09-20
[Galaxy S II Android Development] arnab:
Kernel Guide

Please read very carefully before modifying kernel features

Please use the official kernel editor tool 'Synapse' for modifying various kernel parameters. For changing governors and tunables, please use 'KernelAdiutor'.

[FONT="Arial Black"][SIZE="4"][U]Best Configuration[/U][/SIZE][/FONT]
Governor - PegasusqPlus (Set from KernelAdiutor)
IO Scheduler - BFQ (Set from KernelAdiutor)
MulticorePowerSavings Scheduler - 1 (Set from Synapse)

ZZMOOVE is a new governor focused on performance/stability . It supports multiple profiles. To modify any profile according to your needs, open the "Kernel Adiutor' App, go to CPU under the KERNEL tab. Select the 'ZaneZam Governor Profile' option & enter your desired number from the list below.

[SIZE="4"][FONT="Arial Black"][U]ZZMOOVE Profiles[/U][/FONT][/SIZE]
1> for Default (set governor defaults)
2> for Yank Battery -> old untouched setting (a very good battery/performance balanced setting DEV-NOTE: highly recommended!)
3> for Yank Battery Extreme -> old untouched setting (like yank battery but focus on battery saving)
4> for ZaneZam Battery -> old untouched setting (a more 'harsh' setting strictly focused on battery saving DEV-NOTE: might give some lags!)
5> for ZaneZam Battery Plus -> NEW! reworked 'faster' battery setting (DEV-NOTE: recommended too! )
6> for ZaneZam Optimized -> old untouched setting (balanced setting with no focus in any direction DEV-NOTE: relict from back in the days, even though some people still like it!)
7> for ZaneZam Moderate -> NEW! setting based on 'zzopt' which has mainly (but not strictly only!) 2 cores online
8> for ZaneZam Performance -> old untouched setting (all you can get from zzmoove in terms of performance but still has the fast down scaling/hotplugging behaving)
9> for ZaneZam InZane -> NEW! based on performance with new auto fast scaling active. a new experience!
10>for ZaneZam Gaming -> NEW! based on performance with new scaling block enabled to avoid cpu overheating during gameplay
(CPU Temperature threshold of 65°C is enabled and CPU throttling will come into effect beyond 65°C)

The profile name will reflect in the 'profile' tab just above 'profile_number' tab in the tunable screen.

[SIZE="4"][FONT="Arial Black"][U]Instructions[/U][/FONT][/SIZE]
>For TRIM (EXT4), use the FSTrim App. or from terminal, run su, fstrim -v /data /cache (TRIM is not required for F2FS FS).
>For every other features, from OC to UV, please use the 'Synapse' app.
>For governor & tunable control, please use the KernelAdiutor App.
>For GPU OC, You must enable 'vpll' mode in Synapse. Use the 'vpll' enabled frequencies for best performance & stability.
>You can type 'systemstatus' in terminal to view all CPU/GPU/Temperature etc status.
[Galaxy S II Android Development] Drhedphuk:
Really excited about this. Thank you [MENTION=414800]arnab[/MENTION]
[Galaxy S II Android Development] arnab:
ROM is live.
[Galaxy S II Android Development] arnab:
I am gonna take a bit rest now as I am very tired now. Will update the Custom Kernel stuff later in the 2nd Reserved Post.
[Galaxy S II Android Development] Troubadour666:
thanks [MENTION=414800]arnab[/MENTION].
[Galaxy S II Android Development] bemolx:
Good job [MENTION=414800]arnab[/MENTION]!
[Galaxy S II Android Development] Ham1do:
Rest u deserve . thanks for the huge effort:good:
[Galaxy S II Android Development] -zalo:
great!!! thanks!!! [MENTION=414800]arnab[/MENTION].
[Galaxy S II Android Development] dokuzcanlicanavar:
Yeahh!!

Release the Kraken UNICORNS!!!

thanks [MENTION=414800]arnab[/MENTION]
[Galaxy S II Android Development] pilgrim011:
Seems to work really good so far, the only real bug currently seems to be inability to assign recents to a hardware button - long press home for example. It's frustrating, but otherwise it's a great ROM, congrats [MENTION=414800]arnab[/MENTION]. Synapse works ok, also.

Great work, just that damn recents button...:p
[Galaxy S II Android Development] arnab:
It will be added later in du tweaks.
[Galaxy S II Android Development] pilgrim011:
One more thing - when screen turns off, there's some strange screen flickering - just let the phone screen to timeout 30 secs or whatever, and you'll see what I mean. It's like it turns off, then turns on, and then again off...
[Galaxy S II Android Development] arnab:
Its just a kernel feature for quick turn on turn off via sysfs interface. Also it enables crt off animation to be displayed but its not available.
[Galaxy S II Android Development] Dr AM:
Finally :) thanks a lot for your great work but will wait for next build for the feature to have recents assigned to home button :)

Sent from my GT-I9100
[Galaxy S II Android Development] kakashikeshu21:
error 70 in gapps installation insufficient space
[Galaxy S II Android Development] atuser:
Excellent job:good: @arnab :)

Thanks a lot for your effort:highfive:

http://xdaforums.com/member.php?u=414800
[Galaxy S II Android Development] bemolx:
Have you flashed resizing PIT before?

Wysłane z mojego X2_Soul_Xtreme
[Galaxy S II Android Development] Ham1do:
Until next build u can use gravity box
[Galaxy S II Android Development] atuser:
Suddenly, we lost the root access:crying:

How to fix it?

Will we have to reinstall the rom:confused:

---------------------------

Fixed:

Flashed the SuperSU 2.46 zip.

Hope it works well.
[Galaxy S II Android Development] MigoMujahid:
does the latest xposed v82 works in the rom?

because i believe i got a bootloop after i flashed it.
[Galaxy S II Android Development] ultravy:
Try v83 sdk 23! if you flashed sdk 22 - is for 5.1.1, see here !
[Galaxy S II Android Development] pappy_034:
As I can see, this rom has a lot of tweaks and features. And I'm thinking about to flash it, but I have one question, how is the battery life, sot?
[Galaxy S II Android Development] arnab:
I murdered democracy :D coz i am a dictator.. For music u dnt need any other apl
[Galaxy S II Android Development] DerAxx:
You're dictator of my phone ;)

And I making resistance by adding exchange and eleven. Because I can :p

Btw, is there any reason exchange services is excluded in DU ROM?
[Galaxy S II Android Development] arnab:
Dont know...maybe they will add it in future version...regarding eleven...plz dnt use that...as u knw we have hw yamaha soundchip and dsp manager utilizes that...i gone over thru the internet over and over and everyone hated audiofx...its just a plain simple s/w equalizer...but dsp relies on framework support and also apollo is tightly integrated with that.. If u want more good sound plz buy power amp frm playstore.. I did.
[Galaxy S II Android Development] DerAxx:
Thx for answer. Will test it :good:
[Galaxy S II Android Development] )Voland(:
How to write on the lock screen?
[Galaxy S II Android Development] KnightElf009:
Why i cant upload a video on instagram? TIA :)
[Galaxy S II Android Development] arnab:
Probably after the permission access prompts..the cache of that app wasn't updated. Force stop the app and restart the app.
[Galaxy S II Android Development] Stoyanski:
Is there a way to mount storage as USB, not MTP, because I have some issues on copying, cutting or renaming files...

Thanks in advance.
[Galaxy S II Android Development] MigoMujahid:
Thanks for reply

I just got punked ! [emoji2]

The rom boots without showing the "optimizing apps" dialogue, that's why i thought it's a bootloop[emoji23]
[Galaxy S II Android Development] MikiGry:
Well. My battery live sucks. What grov/shed cobinations are you using ?
[Galaxy S II Android Development] pappy_034:
I'm using battery saver constantly :D, and in kernel adiutor I set max frequency to 1000mhz, and set zRam to 0.

One thing that I don't like is that I have to use omni switch or on screen buttons to access to recents screen, when I long press on home button it vibrates and nothing happens. Help me please!!!
[Galaxy S II Android Development] arnab:
See a few posts back...I posted battery life...3 days I got with some calls and a bit WhatsApp.

And this is a performance oriented ROM..if u want to save battery ..switch to zzmove and select max battery profile from kernel adiutor..see DU LP thread 2nd post for more references

One more thing do not use kernel adiutor for changing CPU/GPU oc/UV values..only use it for changing CPU govs or ioshed govs...for rest use synapse else it will create a conflict as synapse directly interacts with the kernel.
[Galaxy S II Android Development] arnab:
Setting zram to 0 doesn't save ur battery.
[Galaxy S II Android Development] UsualSuspectReaL:
for recent screen press 2 times the home button :P
[Galaxy S II Android Development] DerAxx:
Chromium often FC for no reason.

Here s logcat with fc.
[Galaxy S II Android Development] pilotn:
I tried this rom, but when it booted up, does not recognize my ex-sd card. Got message Corrupted SD card, and the only action is possible is to format.

Now I reverted to OTC-M and now, as before and like in all rom i tried , my samsung 64 gb is working well.

Any ideas?

Thanks
[Galaxy S II Android Development] KnightElf009:
It let me upload video but stops when the uploading bar is in the middle. I also have this in cm13 official :confused:
[Galaxy S II Android Development] Drhedphuk:
Having the same issue here too. Plus the sd card set up still appears after each boot. But still an excellent Rom.
[Galaxy S II Android Development] arnab:
Chromium fcs?? I never had a single fc...which gapps are u using...and did u too turned off zram
[Galaxy S II Android Development] DerAxx:
Hi.

FCs are coming with latest version. Before everything was ok. Using opengapps from 10.04. No changing at zram.

its not on every site. But did not found a "trigger" to get the fc yet. :confused: hope locaat is helpful
[Galaxy S II Android Development] arnab:
They reverted the chromium to an old version bcoz of stability but I browsed alot...never got fc
[Galaxy S II Android Development] DerAxx:
ok, seems that I can reproduce the FC when searching for pictures on google, and want to see them in full size.

logcat said: '04-25 13:19:32.249 720-720/org.chromium.chrome A/libc: Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc in tid 720 (chromium.chrome)'
[Galaxy S II Android Development] arnab:
No fc..check if u have enabled that stupid data saver or not.
[Galaxy S II Android Development] DerAxx:
Data saver is disabled.

So I make little workaround: Stopped chromium, delete data and cache, start and search 'eiffel tower', clicked same picture as you, click full size --> FC :confused:

Will make more tests at home and give feedback. Thx for your support anyway ;) Good to know that it should work, so searching error make sence.:highfive:
[Galaxy S II Android Development] OlMightyG:
I am using Telegram - more specific: PlusMessenger, that is a themable Telegram messenger. It does not show the notifications correctls. Most of them are not shown. I have to start the app to see new messages.

Permissions are correct. Any ideas?
[Galaxy S II Android Development] arnab:
Disable battery optimization for that app.
[Galaxy S II Android Development] wdevil12:
Possibly Chrome FC fix

I use NoChromo (chromium based, ad-blocking enabled) and the latest version of it gave that kind of FC too. Guys in that thread found a workaround, I thought maybe thr same procedure should apply to chrome too. So please test and report.

here is the link to the fix: http://xdaforums.com/showpost.php?p=66496746&postcount=557
[Galaxy S II Android Development] DerAxx:
Thx for the tip. But didn't work without the file. And after deleting data and cache the file appears even again.
[Galaxy S II Android Development] Drhedphuk:
As [MENTION=5779556]DerAxx[/MENTION] has already reported, It doesn't fc all the time. I found it closes on a website called 'The Running Bug'

I haven't turned off ZRam and using Gapps 20160423.

I reflashed Rom which didn't make any difference neither did clearing data and cache. It worked perfectly on the last build for me also.
[Galaxy S II Android Development] arnab:
From my part I didnt do any stuff. They reverted the change claiming it is a good revision

Here.

Can all of u plz file these complains in DU community general discussion page.
[Galaxy S II Android Development] arnab:
I posted it..plz +1 and comment.
[Galaxy S II Android Development] DerAxx:
Will do this, have send a accession request.

But you wrote " bcoz they are using nochromo ad blocker". Thats not right, I'm not using this. It was just a hint from [MENTION=5515871]wdevil12[/MENTION], because user of nochromo had similar error.

So I tried now: changing lcd density, changing language, delete and reinstall....no success. :mad:
[Galaxy S II Android Development] arnab:
Strangely and oddly enough...I dont have any such issues.
[Galaxy S II Android Development] DerAxx:
As I know there are 2 revisions of S2. And Android Studio is always giving me the logcat:

Fatal signal 11 (SIGSEGV), code 1, fault addr 0xc in tid 7284 (chromium.chrome).

So perhaps its a memory error, but only in one revision, presumably the older one(which is mine)
[Galaxy S II Android Development] arnab:
Any help I can do let me know.
[Galaxy S II Android Development] zroice:
guys pls tell me which pit to use - i always get insufficient space error when trying to install gapps... =/
[Galaxy S II Android Development] OlMightyG:
I am using a 1GB/4GB pit. I had problems with several files and was glad that this one worked. I followed the thread in this subforum to resize.
[Galaxy S II Android Development] DerAxx:
Here you find everything you need. I used 1GB_4GB.
[Galaxy S II Android Development] zroice:
i used 1gb_6gb.. should also work but i keep gettin the error 70 ?!....

Using pico and nano opengapps.

Did you change filesystems as well or is it ext4? Also tried cm13 but same error, although there is more space left.

And: Did you boot up once before installing gapps or directly after the rom?
[Galaxy S II Android Development] DerAxx:
no, didnt change filesystem. And I always flash ROM and Gapps together.

Are you sure that repartition worked? Did you format all partitions after repartitioning?
[Galaxy S II Android Development] OlMightyG:
Install the pit, resize the filesystem, then repair/format/repair via TWRP. Dont know why, but this fixed this problem for me.
[Galaxy S II Android Development] arnab:
If ur using the latest official twrp...u dont need to resize manually. DU installer automatically handles the resize. I specifically wrote a script for that.
[Galaxy S II Android Development] )Voland(:
The ROM must be flashed with TWRP Recovery only.
[Galaxy S II Android Development] arnab:
I forgot to tell u guys that the DSPManager I added is a special version that is available in omniroms. It has two extra fields...Center frequency effect of bassboost..It lets u select how much bassboost u need in hertz(Hz) and can amplify manually according to different headsets/earphones. The other is stereo widening feature. Excellent for experiencing stereo channels amped & resampled to virtual multichannel surround sound. You need a good headset to experience that.
[Galaxy S II Android Development] yurimcz:
Can i use it on GT-S7273T?
[Galaxy S II Android Development] arnab:
No.
[Galaxy S II Android Development] yurimcz:
Do you know any rom that i can use?

I can't find rom for this model. :(
[Galaxy S II Android Development] arnab:
It has a broadcomm chipset... So forget about any teeny weeny support... Apart frm watching tv in Brazil its of no use.
[Galaxy S II Android Development] KnightElf009:
Can anyone help me to use again the home button for recent apps? Thankss :)
[Galaxy S II Android Development] arnab:
DU kernel has exfat support...check if ur 64gb is exfat formatted
[Galaxy S II Android Development] arnab:
One morething... Take a logcat... U will see.. Vold will say it has detected support for exfat vfat ext4 ntfs f2fs... That means kernel support us present and vold successfully identified exfat file type from kernel
[Galaxy S II Android Development] lixl03:
anxious human being here :o

I wonder if this works without repartitioning when flashing with stock partition sizes?

I'm coming from stock cm12 which is nice and cmrec/cmkernel, which are really bad imho. Are there any known issues with flashing twrp directly?

should I wipe my /system partition beforehand?

[MENTION=414800]arnab[/MENTION] thx for the awesome work! I'm pretty pumped for this one! :fingers-crossed:
[Galaxy S II Android Development] zroice:
With the 1GB_4GB Pit it worked!

1. Used Apollo Kernel and 1GB_4GB pit in odin.

2. Then formatted the internal sd with twrp from apollo and put all the files on there with adb push.

3. Installed DU once and did a recovery reboot (to have the latest recovery running).

4. Formatted System once more.

5. Installed DU and pico opengapps.

Done!

Thanks everybody for your help
[Galaxy S II Android Development] Drhedphuk:
You should do a lot of reading before anything else before you end up bricking your device. You will need to Repit...
[Galaxy S II Android Development] lixl03:
I know but I always recoverd it till now.

repit will be tedious for me... are there any numbers about how much space DU will take after installation and nano opengapps?

thanks though :)

EDIT: I just wanted to make double-sure always :P
[Galaxy S II Android Development] Drhedphuk:
You will not be able to flash any Gapps at all unless you repit. Read the link that [MENTION=5779556]DerAxx[/MENTION] has provided in post #222
[Galaxy S II Android Development] Altkewl:
Google play service keeps saying has unfortunately stopped . Plz help
[Galaxy S II Android Development] souler456:
Hey guys, I want to flash this, then give my S2 to my dad., but since my dad only wants to use the phone for basic stuff (calls, texts, music, photos and videos), I decided that I won't flash GApps with it. So, in that case, can I flash this ROM WITHOUT repartitioning? 'Coz it's still has the Stock Partition. You think it'll fit? :confused:

:D :) ;) :good:
[Galaxy S II Android Development] Syaani:
Most likely yes. Why not test by yourself? :)
[Galaxy S II Android Development] cherryb8844:
When you flash without gapps you unable to synchronized your contact and data that saved on your Google account my suggestion is install ROM reboot system delete some system app that you don't gonna use uninstall like live wallpapers stock walls there is many app that you can uninstall then flash pico gapps and use Google service without repit ?
[Galaxy S II Android Development] H3M3L:
I flashed the old build without repartition... .. in the new build what script r u talking about??
[Galaxy S II Android Development] Peakes:
Today i decided to use a theme, to get a better look, from the already good looking MM, but i found a issue. After applying the theme (https://play.google.com/store/apps/details?id=com.blissroms.moelle.ddoverhauled) system ui crashed, and never recovered. The screen is constantly switching between a black screen and my wallpaper.

From that i decided to clean cache ,and dalvik , but didn't resolved anything, in fact the problem got worse. Now the phone is bootlooping, with the animation from the theme that i decided to apply.

Is someone getting this same problem?
[Galaxy S II Android Development] OlMightyG:
I recently tested that specific theme. I had no problems. But I did not select the bootanimation. Dont know if that has something to do with your problem.

Is any update planed for this week [MENTION=414800]arnab[/MENTION] ? I am asking because I would clean install anyways the next days. I am still on the old build and want to avoid reinstalling that often :D

Besides: The problem with the notification still persists after disabling battery optimization for that app (telegram)....
[Galaxy S II Android Development] arnab:
Tested. Everything works perfectly. Can post screenshots if you want.
[Galaxy S II Android Development] Peakes:
Currently, restarting from scratch. Did a clean install with the latest build. Got distracted with some work im the computer, and permissions for settings got revoked in the first boot. Got "Json parsing error" as some user a few post ago reported. Cleaned permissions, and log in super su, and also cleaned data for the sysnapse app. I'm waiting for the rom to settle up.

As soon i clean up this mess i made, i'll try to set up the theme, but this time with no dpi changes (i use 200dpi for screen resolution), and also i gonna maintain the original boot animation (as [MENTION=5337612]OlMightyG[/MENTION] sugested).

I'll report my results asap =)
[Galaxy S II Android Development] arnab:
bootanimation also changes fine.
[Galaxy S II Android Development] Peakes:
Maybe it's caused by the screen resolution changes (240 to 200dpi).

Because it happened to me in official cm13 also :confused:

-----------------------------------------------------------------------------------

Just tested with a clean install (no additional apps, and dpi untouched) appart from gapps, and theme settings applied fine :D

---------- Post added at 02:26 AM ---------- Previous post was at 02:07 AM ----------

Just found the issue. It's the dpi change.

After applying the theme with the original dpi, all went fine, but after changing the dpi to 200 and rebooting, as soon as system boots up, system ui crashes

Minor problem, Dirty-Unicorn is good enough without theme, in fact, using a theme only puts additional weight to cpu and ram.

Still, here is the cause of the error for future reference to other users. :)
[Galaxy S II Android Development] KnightElf009:
home button

How can i assign my home button when long pressing will show my recent app? Thanks :o
[Galaxy S II Android Development] OlMightyG:
Read the thread.
[Galaxy S II Android Development] arnab:
Who has a 64gb micro sd here ???
[Galaxy S II Android Development] OlMightyG:
I have one. Why?

---------- Post added at 11:44 PM ---------- Previous post was at 11:42 PM ----------

I am using Dark Regression theme. Changed the dpi to 200. No problems occured.