yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] :
I'm not sure whether CWM will cause any issues, but most users(including me) are using TWRP with isorec. If your not familiar, here is the thread. Read carefully about the difference between the bundled kernel/recovery and this newer isorec concept which uses the previously unused recovery partition. In short the isorec recovery will only be used by a kernel that is compatible. Using older non-isorec kernels will still use the bundled recovery. I would strongly recommend switching to isorec TWRP. All kernels from around January or February should support isorec, including cyanogenmod, which had it added to official builds back then.

You can also use Lanchon's tool from this TWRP to re-partition how you like. I believe CWM is not supported by it......you should be able to flash DU and gapps no problems with these.

EDIT: BTW you only need to flash the isorec recovery once. It will stay in the recovery partition regardless of wiping or changing roms/kernels etc
[Galaxy S II Android Development] Phenomzye:
This makes things way simpler, thank you so much! I'll try DU later again today and see if it works this time.

EDIT: that was the issue. No repartitions aside from that I had, I just installed the TWRP IsoRec and it did let me install both the ROM and Gapps perfectly. Thanks a lot! [MENTION=6418283]noppy22[/MENTION]
[Galaxy S II Android Development] sintoo:
Camera / Settings (Top right) / Disable Zero shutter mode (Hardware not supported).
[Galaxy S II Android Development] Syaani:
Just a little overclock party :angel:

Again, new personal Antutu high score. This ROM is beast.
[Galaxy S II Android Development] atuser:
What have you done to get this highest score?:highfive::good::victory:

It would be very helpful for us if you share the tricks.:)

Thanks.
[Galaxy S II Android Development] Syaani:
Hi!

Well, I am afraid this is something you can't reach on daily use. But let me explain.

First off I used f2fs as it is a little better on benchmarks according to my tests.

Then I made a little hardware modifications and added thermal paste to the main components and to the heat sinks. :D

But I think it was worth it because I also overclocked CPU from 1,2GHz to 1,4 and GPU from 267MHz to 520MHz. (I also increased voltages on both.) Also tweaked a little UP and DOWN stages for GPU clocks. Lastly but not least I took my S2 to the outside. There was like minus 5 degrees so I gave it to cool in peace. Booted when dev check app told me CPU temperature was around 5 degrees and battery 8. After booting those new overclock settings were enabled and because of the cooling it didn't crash or anything. Without the cooling you can't get those settings stable on daily use..

Then I run two benchmarks. During the tests CPU temperature raised from 5 degrees to ~35 degrees despite the cooling.

Regards

Syaani
[Galaxy S II Android Development] atuser:
Thanks dude:good:

We appreciate your help & support.:)
[Galaxy S II Android Development] lucicam:
Am I the only one experiencing random reboots? The most I have are usually when I go around trying to uninstall stuff or things like that. But I started having random reboots when starting some apps or stuff like that. It just hangs out and then I can't do anything and in like 20 or so seconds it restarts. Anyone experiencing this too? Should I do a clean reinstall? Also, how do you recommend to partition my phone? I have like 1 GB for system and 4 GB for data. Is this alright?
[Galaxy S II Android Development] BenjyTec:
Clean install always is worth a try. About partition sizes, I've got the same sizes, and I'm happy with it. But I don't have Facebook and Snapchat or any games. If you have, think about a 1GB system and 6GB data repartition.
[Galaxy S II Android Development] frendypujih:
I like this rom..

but I have some problem...

how to change selinux permissive permanently??

I need that to install xposed...

please help
[Galaxy S II Android Development] keepasa:
Hello,

As some may know, Offical DU revoked any and all permissions to post DU builds on XDA. This includes unofficial builds.

However you can continue to post DU updates at devs-base site. In thier forums, you can create a thread for our S2 inside the Dirty Unicorns section which they have special section for Unofficial Builds. Hopefully it can bring DU life back
[Galaxy S II Android Development] Namoi:
Yes that would be great. Hope to see a new release :P
[Galaxy S II Android Development] TriboDoP:
[MENTION=414800]arnab[/MENTION] mentioned in his twrp thread he will be working on DU at the end of february.

So we can expect some great stuff again ....
[Galaxy S II Android Development] Bhavesh_khatri:
which is compatible twrp i can not install via 2.8.7.0 i also can not update twrp or any rom.
[Galaxy S II Android Development] MoixyS2:
Hey... Have a port for this Rom in the Nougat Version for GT-i9100?
[Galaxy S II Android Development] wadi5636:
I have to say this is the best ROM I've tried in the Marshmallow series! Thank you so much!

If anyone could be so kind, please link me up on how I can replace the offline battery charging animation?
[Galaxy S II Android Development] RuKaDa:
This amazing ROM bring my S2 back to life.

Thanks to arnab and all the developers who have made this state of the art :)
[Galaxy S II Android Development] braniels2:
Hello i cant see how edit the profile "ZZMOOVE" in Kernel Adiutor app, any can tell me how i can edit it?
[Galaxy S II Android Development] braniels2:
hello, i have this bug, when i type a number or adding a contact in the dialer i get FC with like 4 or 5 digits... how i can solve this?
[Galaxy S II Android Development] iJiB:
searching "contact" in the thread gave me this post.

have you changed your LCD density to under 200? maybe that's the cause.
[Galaxy S II Android Development] braniels2:
First i searched "dialer" but no luck but thanks to you for the answer and yes i have the LCD density in 180, i already changed to default and now works.

regards.
[Galaxy S II Android Development] Abels2:
who is better MM, OctOS M R3 or CM13 Linaro in-build or DU 10.6?
[Galaxy S II Android Development] braniels2:
where i can find the rom with CM13 Linaro in-build ?
[Galaxy S II Android Development] Abels2:
here:

https://xdaforums.com/galaxy-s2/development-derivatives/rom-cyanogenmod-11-t2686887

you can add Skyline kernel for complete actions on gober/BLN/UV/OC dislike DorimanX kernel for MM and LP more bootloops on dorimanX logo.
[Galaxy S II Android Development] dvlad666:
Camera HAL investigation

Dear arnab and the ROM dev team, thanks a lot for your contribution!

I've been investigating many MM/N ROMS from camera perspective and your ROM has the best camera performance (and good gallery) among all others!

I suppose that is due to updated HAL in v10.6, but i tried to investigate where it's taken from and came up empty. Could you please point to the source of new HAL or correct me in the case improvement was archived differently (then how?)

By best camera performance i mean three quality-related things:

1) Picture quality is weeeell beyond average, with JPEGs easily reaching 3.5 MiB with lots of detail in them. Still pictures of people under room light can be taken now and cropped :good: Under all other ROMs JPEG went out at 1.8-2.5 MiB

2) Video compression uses High AVC profile with CABAC and 1 re-frame even on 1080p. while at least Stock 4.1.2 camera used Main profile no CABAC so clearly we have higher bitrate efficiency now

3) 1080p video does not get cropped to 1-to-1 pixel matrix area (compared to Stock) and now utilizes full-width 16:9 field of view :cyclops:

Best regards,

Vlad
[Galaxy S II Android Development] tramsss:
The download link is not working. How can I download it?
[Galaxy S II Android Development] Abels2:
active downloads again, for gapps try this gapps for slow phones and light https://www.dropbox.com/s/f4dhvppy6ggxlzy/A-GAPPS_6.1_020916_arm.zip?dl=0
[Galaxy S II Android Development] tramsss:
Where the gapps came from? I can't find this version on official site.
[Galaxy S II Android Development] Abels2:
https://xdaforums.com/android/general/gapps-gapps-6-0-1-minimal-t3276606

they were uploaded to the google server because at some point the download was inactive
[Galaxy S II Android Development] tramsss:
Ok, thank you so much!
[Galaxy S II Android Development] Apex Predator:
Hi guys, I've heard good things about this ROM and I have a few questions I was hoping for some help with:

I am currently running XenonHD (a LOS-based Nougat 7.1.2 ROM). My phone is configured with a 1GB system partition (ext4) (min. preload), 2GB internal sd storage and 11.5GB data (f2fs), with TWRP v3.1.0.0 recovery. Is my current setup/partitioning ok to use with this ROM with no changes? Obviously, I would do a Nandroid backup first then a full wipe and clean flash as per the OP. Is there anything else I need to do first or can I just boot into recovery, backup, wipe then install ROM and GAPPS? I hope it's that easy!

My setup runs okay as is I guess, but with our aging phone, Nougat and apps run a little slow and a little too hot for my liking. Battery drain is immense too (this is actually my main reason for looking at a switch). I heard this was one of the best/fastest/stablest MM ROMs around so I'm considering downgrading and I'm hoping it will be a bit more responsive, run cooler and go easier on the battery. Another option I'm considering is LineageOS for MicroG but then I would still be dealing with LOS Nougat being a bit resource hungry on the ol' i9100. Although, it is possible I may gain back a little oomph by dropping GAPPS for MicroG. I have a feeling a downgrade might serve me better.

Any thoughts, opinions or answers would be appreciated. Thanks in advance.

Edit: Bonus question that just occurred to me: will changing from N to MM change the names of my internal and external SD cards or the way they are structured? When I first moved from GB to N, the way the system named them changed.
[Galaxy S II Android Development] Abels2:
You can change without fear always doing the cleaning that says in the OP, the memories remain intact with the same name and is also compatible with the file system f2fs, marshmallow has a consumption similar to nougat but this rom brings enough customization to maintain a good autonomy

but if you want something good in SII you should go down to 4.4 which is the closest to stock
[Galaxy S II Android Development] Apex Predator:
Thanks for your fast answer! Glad I don't have to mess around too much with any re-configuring.

I thought as much and did briefly consider it. My only concern is losing too many of the features I have come to enjoy in Nougat. I don't think I will lose too many of them going down to MM, but 4.4 (KK I think) may be too far. Perhaps I should test it for a few days. How much re-configuring would I have to do based on my current partitioning to drop down to 4.4?
[Galaxy S II Android Development] TriboDoP:
No need to re-configure anything for flashing 4.4.

You will keep all present partition sizes and also the iso-rec twrp recovery (on which you should be already).

From 4.4 with twrp 3.1xx it is easy to hop on any other mm or nougat rom.
[Galaxy S II Android Development] Apex Predator:
That's good news, thanks for letting me know.
[Galaxy S II Android Development] Neguranegura:
Installed this rom from scratch second time on my I9100, and so far it's the only rom one with MMallow that works ok, no lags, no nothing. Second time 'couse the gallery app (still) asks for location and if I say no it just closes. Any ideea why ? or why should it ask for location :) ? thanks
[Galaxy S II Android Development] TeamRainless:
Boot Loop

So I installed DU without any errors and it worked just fine... but I was completely unsuccessful at getting back into recovery. (I also could not flash GAPPS... which was the reason I wanted to get back into recovery in the first place.

So I eventually just went into the reboot menu of the OS (after going through every menu of the OS to see if I needed to do something to enable recovery) and I discovered there was an option to reboot into recovery straight from the OS.

"Great!:", right?

Not so great... Now I'm caught in a boot loop.

I get the regular Galaxy splash screen then it restarts... then the splash screen... then restarts.

I've tried holding up and power... I've tried holding down and power... kinda seems like I'm out of options.
[Galaxy S II Android Development] TriboDoP:
Hi

Revovery mode is 3 buttons combo volume+, power and homebutton.

Did you also repartition device to 1gb system 4 gb data?

Did you install isorec twrp 3.1.....?

If you are unable to enter recovery from device (maybe some broken button) you could reboot recovery via adb.

If nothing works use odin do install from scratch (there are many guides in the forum how to do)
[Galaxy S II Android Development] TeamRainless:
Yeah... old phone. I forgot about the whole "3-Button" thing. Hahaha! It absolutely should've entered recovery from "reboot to recovery" though, I'm thinking...

So I'm thinking maybe the kernel (I was upgrading from Nameless Rom 5.1.1) was not compatible with the built-in twrp. In that case which recovery should I flash? ISORec or the Standard one? And which tar file should I use?
[Galaxy S II Android Development] TriboDoP:
Hi

To get proper support from the people here you should give more detailed information.

Like: exactly what recovery did you use to flash this rom?

Already asked but not answered: 1) repartioned? If not you cannot install gapps. 2) flashed isorec twrp 3.1.. together with rom? If not you will not have a useful recovery (i don't know if arnab has already twrp 3 included but most other roms don't).

And yes flash isorec twrp because all recent roms have isorec kernels and this is the only working recovery (maybe read more about isorec and look thread isorec twrp by arnab?)
[Galaxy S II Android Development] TeamRainless:
Good to know.

1. Not repar... Ah I see. Not repartitioned. :) Still trying to figure out how to do that. It was explained a couple of different times... a couple of different ways in this thread... I'm trying to pick a way that I keep my data (I think I found another thread for that). 2. I just flashed isorec now with Odin to get the thing working again. Since it said it needed a tar I could only find 2.8.7. (Actually none of the versions actually said which version I was going to get. I just picked one and managed to get it to work.) Maybe I can flash to a newer version?

Anyway I got it to work again this morning although I don't quite understand what went wrong in the first place. I was just using the latest TWRP downloaded from their website to install DU. But... as you said... maybe it's incompatible with DU. That said I followed the directions to the letter.

I even saw the script that supposedly does the repartitioning for you doing install... (though, I guess, it doesn't...) So any ideas on how I can repartition without losing data? (Moreso for the next person that comes along and makes the same mistake I made. After reading the instructions I was unaware that I had to flash the ISOREC recovery and repartition...)

EDIT: and by "data" I just mean the rest of my files on SDCard0... not the "data" directory or anything like that.
[Galaxy S II Android Development] TriboDoP:
Hi

I am afraid it will not work without loosing data.

What i would do:

Put rom zip and gapps zip on microsd card. Also put isorec twrp 3.1... zip by the.gangster on microsd card.

Flash twrp.2.7... tar with odin

Reboot this recovery twrp 2.7 and make clean flash of only rom and do not forget to flash twrp 3.1..zip together with rom (important!).

Reboot in twrp 3.1 (maybe you have to reboot system first but try recovery) you can change partitions to 1gb system and 4 gb data by flashing lanchon repit-tool which is zip file that can be flashed with twrp 3.1 (you can change size of system and data just by renaming the numbers in this zip file using filemanager.

Now install gapps.

You can find the files in djibe89's guide/tutorial samsung galaxy s2 any version to android 7.1
[Galaxy S II Android Development] guest4711:
How about saving the data to a sdcard or to pc? It's always a good idea to have a backup of critical data...
[Galaxy S II Android Development] TeamRainless:
Next Problem: Android Studio

So... Because the "Platform" is listed as: Android Dirty-Deeds-Preview

...when you're programming in Android Studio, you run into the error that "Instant run requires the platform corresponding to your target device: "Android Dirty-Deeds-Preview."

So right now... I can't use Instant Run. Is there an (easy) way to change that Platform name into something more standard?
[Galaxy S II Android Development] TeamRainless:
(I actually replied to this yesterday but I think I accidentally wrote over my reply.)

I managed to get it done... but I had to do everything you said in the reverse order. Because if you install twrp 2.7 and use that to install DU and then TWRP 3.1 and THEN you repartition... it will erase DU and you won't have an OS. So I had to install the twrp 2.7 tar with odin... then djibe's repit then DU and Gapps, then twrp 3.1. (I was actually able to do it all at the same time.)

Had to install the repit from the /tmp folder. But thanks for your help!

It's such an old phone... there wasn't anything critical on it... but I had already backed up all my photos and messages even before I installed DU. I just happen to be working on an photo-based app and it would've been handy to already have a bunch of photos on the phone... but it's no big deal. I can just copy them back.
[Galaxy S II Android Development] solarlogos:
Just installed the Rom from twrp and works good so far, few things: the gallery doesnt work for me it immedietly closes. Also camera heats up a lot and doesnt work proper (seem to stuck at gallery, if i manually cllick on gallery thumbnail end confirm it closed camera starts working again) And i installed AfWall+ and it does work for all apps but for some reason inbuilt chromium is ignoring these rules. Also recognize problems with loading or having heavy battery consume
[Galaxy S II Android Development] Kurosude:
Hey everyone, i cant seem to find the link for the kernel.

Can anyone help me??

Thanks
[Galaxy S II Android Development] arnab:
Exactly what is the problem....synapse app ran b4 init.d could initialize UCI...looks like a reflash...inid.d invokes init-synapse...init-synapse invokes synapse...synapse invokes UCI and UCI invokes config.json.generate in system/synapse...since its a system file synapse requires root perms...anyways...there has to be something u messed from ur end.
[Galaxy S II Android Development] atuser:
Thanks dude! @arnab

Thanks for helping us to figure out the problem and now we've got a clarification on it.

Will report u ASAP.

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

Synapse is working without any issue.

Thank u @arnab
[Galaxy S II Android Development] DJ-Studd:
How does this ROM compare to CM13 for stability and functionality? I'm quite happy with my CM13 install, but I'm really struggling with the stock OC in the absence of a custom Kernel.

Cheers.
[Galaxy S II Android Development] arnab:
As I said...everything depends on how u configure and use.
[Galaxy S II Android Development] hieast:
live display plz
[Galaxy S II Android Development] H3M3L:
Can u tell me ur theme name and config?
[Galaxy S II Android Development] kakashikeshu21:
error 70

I don t know how to do that
[Galaxy S II Android Development] no3migi:
i.imgur.com/oeANmg4h.jpg

error..sdcard... permission denied
[Galaxy S II Android Development] chingoboy:
great Work !

Hello ...

Thanks for your great work ,but I have very small problem ...

Why I can't to control in the bottoms of device ?

I mean ... How can control in my device bottoms ?

Can you help me ?

Thanks
[Galaxy S II Android Development] arnab:
What bottoms ???
[Galaxy S II Android Development] chingoboy:
thanks about your reply

I mean home button , menu button (left button)

I want to change the action of buttons

How ?
[Galaxy S II Android Development] arnab:
This function will be added later by the main DU team.
[Galaxy S II Android Development] chingoboy:
But when ???? :(

You know ? I removed this ROM became I can't control in the buttons :( this ROM very good but I hope to fix this problem fast !
[Galaxy S II Android Development] arnab:
https://play.google.com/store/apps/details?id=com.irishin.buttonsremapper
[Galaxy S II Android Development] chingoboy:
Thank you so much :o
[Galaxy S II Android Development] chingoboy:
Hello .... I have A problem with SuperSU ...

When I go to open SuperSU in each open this message it seems to me :

"There is no su binary installed , and SuperSU cannot install it . this is a problem!

If you just upgraded to android 5.0 , you need to manually re-root - consult the relevant forms for your device ! "

I now can't use root access on my phone , please can anyone help me ?
[Galaxy S II Android Development] arnab:
Put the slider to permissive frm du-tweaks/misc and reboot... Chainfire changed SU from system to systemless and the new systemless isnt compatible coz it hooks the kernel...So had to go with a custom system mode of the latest one.
[Galaxy S II Android Development] chingoboy:
Sorry ... Don't understand you :(
[Galaxy S II Android Development] ultravy:
Swich SE linux from enforcing to permissive , google is your friend!
[Galaxy S II Android Development] chingoboy:
I now understood everything ... Thank you very much :good:
[Galaxy S II Android Development] DJ-Studd:
Dirty Unicorns is running surprisingly well. I now feel filthy.

Thanks!
[Galaxy S II Android Development] iksd3:
Thanks! [MENTION=414800]arnab[/MENTION]

This ROM is almost perfect for S2 imo.

Almost... Is there a possibility to get DSP Manager from DIRTY-UNICORNS v9.8?

I've already installed DSP Manager, but without libs and stuff and it doesn't sound so good as it did. That DSP Manager combined with +10dB headphone amplification is simply amazing.

Thanks anyway [MENTION=414800]arnab[/MENTION] for your great job.
[Galaxy S II Android Development] wdevil12:
So AWESOME! I recommend it for all! So feature-rich, bug-free, snappy, custom kernel-ish DU! This is exactly what I want! Slightly less battery life because of little aggressive cpu usage which handles all smoothness)) I LOVE IT! Thanks YOU so much [MENTION=414800]arnab[/MENTION] !!! Love your work!
[Galaxy S II Android Development] Troubadour666:
hi,

i have done some search right now, and saw this, maybe it should help, even its fo LP roms.

http://xdaforums.com/google-nexus-5/themes-apps/equalizer-dsp-manager-lollipop-versions-t3106546

thanks.
[Galaxy S II Android Development] arnab:
I am now adding a new OTA updater on the next version. The new updater will even be more snappier and bugfree.
[Galaxy S II Android Development] arnab:
I will add back DSP manager and apollo back if u guys prefer that. Just let me know.
[Galaxy S II Android Development] arnab:
Created a poll. Plz vote.
[Galaxy S II Android Development] aceclift:
does this dirty unicorns rom support f2fs and on what parts like data, emnc, internal and so on if it is supported?
[Galaxy S II Android Development] arnab:
Data and cache
[Galaxy S II Android Development] Syaani:
Nice to see DU Marshmallow and i9100 together.

Btw how to change button actions? Like long press home button to open recents. And is there any settings for the launcher? I would like to remove fast scroller and search bar from app drawer.

Anyway, thank you [MENTION=414800]arnab[/MENTION] Your ROM is awesome!
[Galaxy S II Android Development] arnab:
See a few posts back
[Galaxy S II Android Development] Syaani:
Oh sorry missed that one.

How about f2fs data? Will it have same issues as it does on cm13?
[Galaxy S II Android Development] Syaani:
Had a fun with Synapse settings. New personal Antutu high score 22495
[Galaxy S II Android Development] frankonia:
I always lose root-access after a certain time. First it works, but at least after restarting the phone it's suddenly gone.
[Galaxy S II Android Development] Fasullo:
Anyone tested if analog audio out works when docked?

In CM it does not.