yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] arnab:
Stock CM Kernel with TWRP-2.8.7.0 in Odin flashable format

I am attaching here the stock cm kernel with twrp-2.8.7.0 in odin flashable format along with the 1Gb-system/4Gb-Data pit file and Odin-3.09. Use this to recover from soft bricks and also the kernel can be used with other lollipop based ROMS. Flash the kernel with odin after installing the ROM of your choice. If you have used this kernel to repair a soft brick, you will have to again reflash the kernel after installing the ROM if you want to continue using this kernel. Happy flashing. :)
[Galaxy S II Android Development] sreinst1:
Love the boot animation! But oy... optimization phase text is in Chinese :)
[Galaxy S II Android Development] arnab:
Its only for one time during first run...you can uninstall the chinese stuff if u want to....btw plz check the new twrp recovery and plz report back if it functions properly and the ROM too.
[Galaxy S II Android Development] sreinst1:
Some first impressions

1. The ROM seems to have all the options that I like.

2. The initial setup automatically selected my language (Hebrew) so I didn't have to scroll through the list of languages at all - that was very nice; most ROMs start with English selected and I have to scroll half the list to get to Hebrew.

3. When switching screens during the setup, there's garbage at the bottom bar. I initially thought that was a CM problem, but since it exists also here and in PA, it's probably AOSP problem. It's not a real issue, just strange.

4. Networks speeds: After disabling it, it stops updating but the last status remains displayed in the status bar; I probably have to reboot to stop seeing it there.
[Galaxy S II Android Development] arnab:
I will now start working on DirtyUnicorns
[Galaxy S II Android Development] sreinst1:
Thanks, but I hope you will continue to publish Mokee builds as well... BTW, would it be difficult to have Mokee for i9100 official?
[Galaxy S II Android Development] arnab:
Ya definitely..I will also release a kernel in odin tar format containing latest twrp recovery and latest CM kernel that you can use with lysergic acid's builds.
[Galaxy S II Android Development] otti17:
Great, I would love to see DU 9.2 on my I9100.
[Galaxy S II Android Development] sreinst1:
I don't understand, what's the relation of Mokee and Lysergic's builds?

How about my 2nd question - what would it require for your builds to become official?
[Galaxy S II Android Development] GreekDragon:
Can you please upload some screenshots?
[Galaxy S II Android Development] arnab:
I meant with the twrp recovery...u can use cm12.1 with twrp

I can't say about official as the maintainers of i9100 repo are not updating the sources...I chose to work on mokee coz its unique soon to be implemented multi window feature.
[Galaxy S II Android Development] arnab:
Ya ya...I will..jst gv me some time...by tonight I will upload screenshots.
[Galaxy S II Android Development] Troubadour666:
Thanks, donwloading :)
[Galaxy S II Android Development] sreinst1:
FYI, the phone just hang now, after ~7 hours of work... it was connected to charger and reached 100%. Came to take it from there, it didnt wake up - it hang.
[Galaxy S II Android Development] sreinst1:
Haven't yet checked the restore part but during backup I get a red error:

E: Unable to locate '/efs' partition for backup process.

Edit: Note that the backup continues. It seems to just skip the efs partition.
[Galaxy S II Android Development] arnab:
Il test and see the problem...thanx for reporting.
[Galaxy S II Android Development] arnab:
I tested it...backup and restore works just fine...I purposefully disabled efs partition backup in twrp....it contains imei...radio info...ril info and many sensitive stuff..if during backup or restore process it gets messed...it will render your phone unusable.

just backup system, data & boot....I tested it. and after backing up...power off once before restore...the partitions get freshly mounted. And do not use backups of old twrp with the latest one...and backup with default selections.

To know the dangers ... read here EFS Dangers.
[Galaxy S II Android Development] sreinst1:
That's great then... can you make it skip efs completely and avoid the error?
[Galaxy S II Android Development] arnab:
I just now backed up...there is no error. see for yourself...plz partition your phone properly with 1gb system , 6gb data pit.
[Galaxy S II Android Development] sreinst1:
My phone is partitioned properly... all ROMs work fine with them (I tried every LP ROM in xda-developers and also 3 that are outside xda).

---------- Post added at 09:07 PM ---------- Previous post was at 09:05 PM ----------

Maybe it's a config I have to do in TWRP? It provides a list of checkboxes so I can tell what to back up, but I don't recall efs being one of them.
[Galaxy S II Android Development] arnab:
Backup with the default settings of system, data & boot only.
[Galaxy S II Android Development] cammi123:
Installed without problems and I liked, thanks [MENTION=414800]arnab[/

MENTION] for work, but I heave big problem in every LP ROM when screen off my phone restarts, and I cant find solution, and I will show here logkat using from Terminal Emulator (thanks [MENTION=4936628]tranthaison2000[/MENTION] for help hove to use Terminal Emulator), and maybe someone can show me what is wrong and why I heave this restarts?!

--------- beginning of main

V/Term (23175): onCreate

D/OpenGLRenderer(23175): Use EGL_SWAP_BEHAVIOR_PRESERVED: false

D/Atlas (23175): Validating map...

D/Term (23175): TermService started

I/TermService(23175): Activity called onBind()

D/libEGL (23175): loaded /system/lib/egl/libEGL_mali.so

D/libEGL (23175): loaded /system/lib/egl/libGLESv1_CM_mali.so

D/libEGL (23175): loaded /system/lib/egl/libGLESv2_mali.so

E/ (23175): Device driver API match

E/ (23175): Device driver API version: 23

E/ (23175): User space API version: 23

E/ (23175): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013

I/OpenGLRenderer(23175): Initialized EGL, version 1.4

D/OpenGLRenderer(23175): Enabling debug mode 0

I/Term (23175): Bound to TermService

I/TermService(23175): Activity binding to service

I/libjackpal-androidterm(23175): JNI_OnLoad

I/Term (23175): waiting for: 23203

I/Timeline(23175): Timeline: Activity_idle id: android.os.BinderProxy@2ed68f89 time:2354573

W/IInputConnectionWrapper(23175): showStatusIcon on inactive InputConnection

I/Term (23175): Bound to TermService

I/TermService(23175): Activity binding to service

I/Timeline(23175): Timeline: Activity_idle id: android.os.BinderProxy@2ed68f89 time:2484003

W/IInputConnectionWrapper(23175): showStatusIcon on inactive InputConnection
[Galaxy S II Android Development] Lister Of Smeg:
Hi [MENTION=414800]arnab[/MENTION],

Dude, you're awesome... I've missed Dirty Unicorn on the S2 and N7000 ever since it got dropped by their maintainers back in DU 8.1

You've not thought about lending your talents and compiling these roms over in the N7000 (Galaxy Note) forums also, have you??? *please*

Great to see more, and new roms... Keep up the great work!!!

Lister
[Galaxy S II Android Development] Troubadour666:
This rom have all options needed like say [MENTION=5630829]sreinst1[/MENTION] , and we all hope [MENTION=414800]arnab[/MENTION] will make the same good work like for this rom. ENORMOUS !!!

OT :

now , for each new rom installation , i do :

- backup actual rom (system/data/cache)

- format systzm/data/cache

- flash new rom

- reboot recovery

- flash gapps (+ supersu if needed)

- reboot system.

(for the update, just dirty flash without Gapps but reflash supersu)

i have OMNI since 4days, SLIM flashed today to retreive my mark :) , and now Mokee and no trouble with this method.

Hope i will never have EFS trouble too :)

thanks.

oh, i see i have stock modem lol , and apolo is runing here too.
[Galaxy S II Android Development] arnab:
U will never.....the earlier error was a mount error...a power off...power on will fix that...but if u guys want efs, I can bring it back...only caution is that don't play with that even in backup/restore.
[Galaxy S II Android Development] arnab:
I got to have the phone physically bro for testing it. Even without the phone I can but no way i could tell what are the errors and setting up device trees takes a lot of time.
[Galaxy S II Android Development] Troubadour666:
oh i never mean to bring it back :)

thanks for the reply.

edit : i saw now that twrp coming with apolo beta9 have option EFS in backup manager, but you know that i'm sure. (its 2.8.5.0)
[Galaxy S II Android Development] arnab:
Added stock cm kernel with twrp-2.8.6.0 in odin flashable format along with the 1gb-system/6gb-data pit file and odin-3.09.
[Galaxy S II Android Development] arnab:
Did you re-partition your phone. Also did u dirty flashed or properly wiped system/data/cache before installing ???
[Galaxy S II Android Development] arnab:
Ya but I know many incidents where imei got deleted coz of playing with efs partition. I will just have to add a flag in the fstab file to bring it back. All, if feels its required, inform me i will add it in the next build. See for further details.

IMEI / EFS - Know this stuff (i9300) - including "no network"
[Galaxy S II Android Development] cammi123:
First thanks for reply!

I heave repartition like this: 1.5 Gb system, 3 gb data and 512 preload and the rest 9.5 internal Sd, I also first wipe with GS2RomWipe2.10 then philz cwm6 xwsm2 mot 5.15.9 signed zip, then again manually factory reset, wipe cache wipe dalvik, format system cache data, then install K.K. kernel ore LP and I this case I used apilo 8.0 Cm beta 9 regular then installed your ROM, and this logs are from your stock kernel that you used!

And again this restars ore soft reboots I have just when screen off, if in settings/display screen off I change screen off after 10 ore 30 in this intervals phone never restars!
[Galaxy S II Android Development] arnab:
K first repartition your phone with this stock pit...it will restore all the preload n other partitions that u messed up so badly,...use my cm kernel from http://xdaforums.com/showpost.php?p=60629377&postcount=2

Then again use the pit file that i provided in the post #2...then while installing any ROM only format system data cache n wipe dalvik....then install...never again mess with the preload partition. And for all lollipop and above use the 1gb-system/6gb-data pit.

Coming to your problem which gapps did u flash ???
[Galaxy S II Android Development] cammi123:
I'll try and report

Flashed Official MoKee Gaaps - gaaps_lollipop_mr1-20150417!

Thanks

---------- Post added at 08:39 AM ---------- Previous post was at 07:41 AM ----------

Tried but same, my phone reboots (like soft reboot, when reboots shows just boot animation, not shows Samsung Galaxy S2 logo), I changed before repartition using different pits but never changed preload because every time when this happen I must back to stock based Roms ore K.K.!

Anyway thanks again for helping me!
[Galaxy S II Android Development] arnab:
That is not softboot...thats occuring because of two reasons...ur device ran out of memory...any internal partition or external partition is not getting mounted properly or the system partition is not getting wiped properly prior to a new update.
[Galaxy S II Android Development] rubentkato77:
Hi [MENTION=1565607]amab[/MENTION] can I share your ROM in this forum http://www.HTCMania.com ???
[Galaxy S II Android Development] cammi123:
I show you partition in pic. Uploaded here used like you said 1Gb System/6Gb data, like you see I'm back again in touchwizz because I cannot use LP with screen on all the time, but I will try again to flash your ROM with full wipe like I did every time and I will upload logs again!
[Galaxy S II Android Development] cammi123:
Ore problem could be in WiFi becouse I cannot connect to WiFi, I will flash again rom and will upload logcat maybe shows something!

Edit:

Flashed clean, works great but again when screen off phone reboots, here logcat from Terminal Emulator:

--------- beginning of main

V/Term (18886): onCreate

D/OpenGLRenderer(18886): Use EGL_SWAP_BEHAVIOR_PRESERVED: false

D/Atlas (18886): Validating map...

D/Term (18886): TermService started

I/TermService(18886): Activity called onBind()

D/libEGL (18886): loaded /system/lib/egl/libEGL_mali.so

D/libEGL (18886): loaded /system/lib/egl/libGLESv1_CM_mali.so

D/libEGL (18886): loaded /system/lib/egl/libGLESv2_mali.so

E/ (18886): Device driver API match

E/ (18886): Device driver API version: 23

E/ (18886): User space API version: 23

E/ (18886): mali: REVISION=Linux-r3p2-01rel3 BUILD_DATE=Wed Oct 9 21:05:57 KST 2013

I/OpenGLRenderer(18886): Initialized EGL, version 1.4

D/OpenGLRenderer(18886): Enabling debug mode 0

I/Term (18886): Bound to TermService

I/TermService(18886): Activity binding to service

I/libjackpal-androidterm(18886): JNI_OnLoad

I/Term (18886): waiting for: 18914

I/Timeline(18886): Timeline: Activity_idle id: android.os.BinderProxy@3f1b72d3 time:2148788

W/IInputConnectionWrapper(18886): showStatusIcon on inactive InputConnection
[Galaxy S II Android Development] cammi123:
Here pics. to show RAM and partition
[Galaxy S II Android Development] arnab:
Ya sure.
[Galaxy S II Android Development] rubentkato77:
For shure, thanx.
[Galaxy S II Android Development] sreinst1:
After using this ROM for about 24 hours:

- Everything seems to function well, including jumping in streaming videos with HW+ decoder.

- There is a little bit of lag here and there. Most apps take 1-2 seconds to show their initial screen.

- No hangs / reboots except that one that I had about 7 hours after flashing.

- Battery drains a little bit fast. Can't give actual details, seems to be about 5-10% per hour when the phone is not in use, and about 1% every two minutes when the phone is in use.

[MENTION=414800]arnab[/MENTION] - Which kernel is used here? Can you recommend performance options that will improve the battery life?
[Galaxy S II Android Development] otti17:
[MENTION=414800]arnab[/MENTION]

You wrote to modify the partitions to 1Gb system and 6Gb data. Is there anything against having a 1Gb system and 4Gb data setup?

Btw I can't wait for DU release :D
[Galaxy S II Android Development] arnab:
just do one thing...enable root...uninstall clean master using root uninstaller( il remove this customized chinese cleanmaster in the next build and include the international one)..then install the international one from playstore....grant root...and disable apps from getting autostarted like chrome and others except whatsapp or any IM apps u use...it will save a hell lot of amount of battery.
[Galaxy S II Android Development] arnab:
Its absoulutely fine as long as u have 1gb system....6gb is recommended as all apps gets installed in the data partition rather than internal storage...4gb is also great...no issues.
[Galaxy S II Android Development] sreinst1:
I don't even know how to find it... if it's Chinese, how do I recognize it? :)
[Galaxy S II Android Development] arnab:
I meant the clean master app...its in menu..language is not chinese...version is chinese...if u download it from play store it wont work without u having to explicitly remove the default cleanmaster app using root uninstaller app from here
[Galaxy S II Android Development] sreinst1:
Don't see it in root uninstaller.
[Galaxy S II Android Development] arnab:
okay never mind il remove and add it international one in next build...meanwhile use file explorer like es explorer...enable root browsing and manually go to system/apps and delete it from there.
[Galaxy S II Android Development] sreinst1:
Why add any version of Clean Master? If I want it, I'll install it from Play Store.
[Galaxy S II Android Development] arnab:
its for chinese users..they don't have playstore in china...btw it comes default with mokee...so i have to think of chinese users too.
[Galaxy S II Android Development] sreinst1:
I see... I actually removed all the apps that had Chinese names using Settings -> Apps. Probably one of those was Clean Master. I didn't even have to use "system app removal" or "root uninstaller" for that.

BTW, does Clean Master really help? From what I saw, the battery wasn't affected at all.
[Galaxy S II Android Development] wdevil12:
Bro will you regularly update your stock twrp kernel??? plzzz I love twrp recovery but apolo has weird issues. If its possible attach flashable zip kernel files then.
[Galaxy S II Android Development] arnab:
Ya, il regularly update it if there are any new commits pushed to the kernel repo in github.
[Galaxy S II Android Development] sreinst1:
What issues?
[Galaxy S II Android Development] wdevil12:
I have used it since jb. its never been stable, always something is broken. no settings to change zzmoove profiles making this gov completely useless, whereas gustavo's does it well but its outdated.
[Galaxy S II Android Development] sreinst1:
Anything except for this governor? I use the default governor, everything seems okay now except that the battery drains a little fast. Haven't checked yet with BBS what happens when the phone is unused, but when the phone is in use, it normally loses about 1% every 2 minutes. Is this normal?
[Galaxy S II Android Development] wdevil12:
no there are many other things. so your battery can live 200minutes when it is in use? mine lasts for about 6hours in use plus a day in idle with cm stock. and gustavo's was so good also.
[Galaxy S II Android Development] sreinst1:
6 hours screen on time without charging? Maybe if it's a new battery.. otherwise I never saw such a thing. The highest screen on time I ever saw users publish was about 4-5 hours, and even that was achieved with lots of configuration.

Can you share the configuration you use to achieve that?

(Of course, the battery depends a lot on what you run on your phone. I disable most of the services but I have several ones that keep running like Whatsapp, Viber etc).
[Galaxy S II Android Development] wdevil12:
configuring is a must! I watch 2,3 movies on my phone before going to bed without charging it.
[Galaxy S II Android Development] sreinst1:
Oh, that I can do as well. I used to also watch 2 movies on the phone without charging, it would be about 3 hours. But this is relatively low battery drainer compared to the other activities I do on the phone.
[Galaxy S II Android Development] wdevil12:
logs talk then:) ill get you bbs log as soon as i can.
[Galaxy S II Android Development] sreinst1:
What is your favorite config then? Kernel, governor, i/o scheduler...

And how responsive is your phone with this config vs the default ondemand governor in apolo?
[Galaxy S II Android Development] sreinst1:
Bluetooth problems

Just like in CM12.1, bluetooth doesn't work well with my car's audio system (I don't know which one it is). It works well for phone calls over bluetooth, but not for music. Playing music (or podcasts) plays for one second, then paused for one second, and so on.
[Galaxy S II Android Development] arnab:
Good news. MoKee will now be official for i9100...I spoke with the main mokee dev and I will be a device maintainer of s2. also he included my twrp recovery in the official builds.

see here

last but not the least OTA feature is coming with every ROM that I will release...starting with dirtyunicorns followed by mokee and others...I will still continue to publish unofficial builds but Il customize it for international users.

Any small donation is welcomed as i have hired a server to provide the OTA features as they require direct hot links without any landing page.

Good day guys.
[Galaxy S II Android Development] sreinst1:
That's awesome!

I am (for now) back to Kitkat due to the bluetooth issue (my previous post). Any idea how I can help get it fixed? Who would know how to handle logs?
[Galaxy S II Android Development] arnab:
post it here :- coolarny@hotmail.com
[Galaxy S II Android Development] sreinst1:
Thanks! It will take me some time, since I rarely use that bluetooth system in the car, and I won't change back to Lollipop only for the reporting. I hope some others who have the same problems will also report them.
[Galaxy S II Android Development] arnab:
Little update: successfully compiled DU after 5 days of intense fixing source and codes as DU is AOSP based and has no support for exynos4 based any devices...

Now RIL is working but signal indicator is broken...its a WIP

internal storage is not mounting...hope i fix this.

Going absolutely NUTS for 5 days and spent 16 hours infront of computer without sleep.

Hit THANKS if u find me going nuts and crazy is useful :p
[Galaxy S II Android Development] arnab:
Great news guys.... I fixed all the bugs.... Ril gps bluetooth internal sd mount signal strength exynos enhancements hardware composer gralloc camera... Every hardware is functional now... Apart frm minute negligible bugs its absolutely ready fr day use... Coz the base is aosp.. I had to fix and rewrite codes frm scratch.. Will release soon. Thanx fr all ur support.
[Galaxy S II Android Development] 089man:
Hello, is this rom Pure vanilla aosp?

I9100 Tapatalk, RR 5.0.2 Lollipop
[Galaxy S II Android Development] GreekDragon:
This rom based on AOSP so yeah.
[Galaxy S II Android Development] arnab:
It has gt every feature like the other excellent rom blisspop.
[Galaxy S II Android Development] otti17:
I'll give it a try (after cwm backup bliss pop ;) ) :D btw can't wait for DU release :D

One question, beside the mokee apk's are there any other mokee related files in this rom. Just want to cleanup the rom without any mokee stuff.
[Galaxy S II Android Development] arnab:
Naaaa....u can delete those apks...will u be a tester of the du...Il start the OTA feature...and il need a couple of testers frm different countries....if u wanna test DU b4 release pvt me but u cant share the link here.

also send me ur IM whatever google whatsapp or anything u use in pvt..i need to have direct contact for OTA confirmation.
[Galaxy S II Android Development] arnab:
btw rmbr my roms contain twrp...so be careful with the backup thing.
[Galaxy S II Android Development] kadovvarga:
Hi Arny,

do you prepare new built of this ROM or your next step is working on Dirty-Unicorns ROM? I saw you as author of DU thread too.

What is basic different between both your ROMs?

P.S.: many thanks for your hard work on your fresh ROMs.
[Galaxy S II Android Development] arnab:
New update ina day or two... Having sm trouble with broadband in home due to heavy rain.
[Galaxy S II Android Development] kadov:
Okay, thanks for Info. I'll stay on this ROM :)
[Galaxy S II Android Development] arnab:
Updated to latest 23/05/2015 build

Changelog

23/05/2015

Fixed FrontCamera Bug

Updated MoKee sources

Updated TWRP sources

Added OTA Support (Root Required)

Added latest kernel with updated TWRP sources in Odin Flasahable Format

Good luck guys...Enjoy.
[Galaxy S II Android Development] arnab:
@ sreinst1

The thing is that I can add pie...but if I do without MoKee dev's permission it will be called kanging(stealing or doing things without prior intimation or permission). So plz try to understand when any developer releases any Custom ROM..feature wise it has to be equivalent...I cant take out anything I want nor I can add...slim has got by default...even for DU ..to make the home button mapped with recent apps...i had to take exclusive permission from Alex Cruz (Mazda)...So even if i want to add any feature...it has to be consistent with the release of the same ROM across multiple devices. I hope Iam able to clear out your concern.
[Galaxy S II Android Development] sreinst1:
I perfectly understand, and I don't even expect you to add it. I just meant for you to forward this feature request to Mokee dev team... maybe I should have done it directly.
[Galaxy S II Android Development] sreinst1:
Great! What toolchain do you use to build your i9100 LP ROMs? Can you change to Uber toolchain? SlimLP changed from Linaro to Uber and the performance improvement is amazing. I think it's also more efficient in memory somehow because I didn't get any lags like I had with the Linaro build.