yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] blinoff82:
Okay, we have time to wait. Do not hurry, important for us to get the bootable ROM.

Wow, man, thanks for the help !!!

PS: Next error

PS: SOLVED
[Galaxy S II Android Development] russy23:
exciting times, wish i knew about all this..
[Galaxy S II Android Development] blinoff82:
[MENTION=5022494]Vivek_Neel[/MENTION], what do you think about this?
[Galaxy S II Android Development] Vivek_Neel:
Those are not errors which is shown in the screenshot.

They are warnings.

U need to scroll up and see for "error"
[Galaxy S II Android Development] blinoff82:
Oops, sorry, my mistake ))

Look:
[Galaxy S II Android Development] Vivek_Neel:
Declare them .

Using

#define
[Galaxy S II Android Development] danielk68:
Thx you all for your efforts!
[Galaxy S II Android Development] sooti:
Guys please share the repo address so i can take a look too, i might be able to help speed up porting
[Galaxy S II Android Development] Lysergic Acid:
The repos are: CM12 repo and CM11 device specific repos
[Galaxy S II Android Development] Vivek_Neel:
Hi mate.

They are cm repos .

Am locally fixing it. That's it. And we have to disable selinux in smdk4412 repo.
[Galaxy S II Android Development] lllukas:
Hello.

I regains faith in humanity, when i see Yours teamwork !

Its amazing. Thank You all for doing this, im really waiting for bootable build.

I wish You all the best and success with buiding !

Sorry for useless post, but i had to do it [emoji122]
[Galaxy S II Android Development] asimovi:
It boots !!!! but graphic glitches, random reboots, no screenshots ... i'm taking picture with my old blackberry :)

ril, wifi, home button are broken

it's smooth, no lags but graphic glitches, wrong colors ...

camera works.

no recovery, make a backup as alaways ;)

pictures (sorry for quality)

files

install CWM KitKat Compatible

wipe cache/system/dalvik/data

install Omni HOMEMADE

reboot

Credits to OmniRom Team
[Galaxy S II Android Development] RenX10:
are we still talking CodeROM here, or something totally different?
[Galaxy S II Android Development] Dr AM:
My tears are covering me :P .. Finally boots :D
[Galaxy S II Android Development] Lysergic Acid:
How do you disabled SE Linux?

EDIT: Already got it, should have done it a looong time ago to make it boot :/
[Galaxy S II Android Development] Caproid:
Respect :good:
[Galaxy S II Android Development] bhavstech:
Great work :thumbup:

Since its made from merger of cm aosp omni its actually "Accodni" Rom :p
[Galaxy S II Android Development] ahmedelhofy:
Holy moly, Now, you guys really need to collaborate with each other.. To fix all the issues, and try getting a partially stable ROM....

I am backing up everything, let's get glitchy :D
[Galaxy S II Android Development] ussl:
i installed kitkat complitable recovery

cwm stuck when installing the rom
[Galaxy S II Android Development] asimovi:
Stuck ? Error ? it's long to install ...
[Galaxy S II Android Development] bla0258:
My Phone Boot Android 5.0 i had no problems with the recovery..

Very Good Work :good:
[Galaxy S II Android Development] nhmanas:
Omg!!! Links??? I've been waiting for 4 months!

Edit:

Okay I found links. But is there a cwm recovery on this rom? My pc crashed a long time ago so I cant flash stock rom via odin
[Galaxy S II Android Development] ussl:
stuck

nothing move
[Galaxy S II Android Development] Caproid:
Umm.. Just a simple Q,what s working? Like Calls,sms,mobile data,wifi?
[Galaxy S II Android Development] Jertlok:
Try to put the ZIP on your internal SDCARD ! Let me know if it's worked ;)
[Galaxy S II Android Development] Dr.Fix:
Is cwm 6.0.5.1 I'm using with cyanogen 11 enough to boot this? Which version is the one posted in previous page?
[Galaxy S II Android Development] Dr AM:
Which version is booting ? The one on first page ?
[Galaxy S II Android Development] koolkunz:
Can anyone please tell what all is working or not working in the Booting OMNI build
[Galaxy S II Android Development] lllukas:
No, version from #223 post.

https://drive.google.com/folderview?id=0B_mDj-AUPfVrdm51MWRvMzN0bUE&usp=sharing
[Galaxy S II Android Development] Zile995:
It does't work with cwm 6.0.4.5. It works with latest philz recovery. Installation is long. So far, works perfectly smooth... I like android L animations.

After this glitch(picture), phone reboots automatically.

There is no custom recovery, Odin-Download mode works.
[Galaxy S II Android Development] Jertlok:
So, now i'll write the known issues and what works :)

Known Issues:​

The internal SDCARD doesn't work -> You will see this error if you try to get a ScreenShot

Graphical Glitches and Strange Colours, for example if you rotate your device you will see a glitch! About the colours, i don't know it displays different colours than the real (Maybe it's a GPU error, or Ui rendering -> who knows :) )

Wi-Fi doesn't work

Recovery doesn't work

Home button doesn't work -> it's a stupid bug, we have to modify Generic.kl in System/usr/keylayout -> I'll post very soon a fix! (Click on the spoiler for the home button fix

To fix the Home Button you have to change a file in the system/usr/keylayout

The file is called Generic.kl - > just copy it from a cm11 rom

And other problems related to Internal Sdcard bug.

What does work?​

Bluetooth

GPS

Display :P

Touch :P

Auto-Brightness

Screen Rotation

...and other basics things :)

What about inverted colours? There's a patch for the kernel from the OmniRom Team, I hope you will use it!

... And for the recovery issue?

Maybe there's a problem with the recovery.img - > try to put some recovery.img from cm11 kernels.

However, thanks [MENTION=5298712]asimovi[/MENTION] you did a great job!!! Now i'll help you on some basics bugs, but if you provide the source code our community can work on it and make a better release day by day !!! :D
[Galaxy S II Android Development] ahmedelhofy:
[MENTION=5298712]asimovi[/MENTION] You're freakin' awesome...

Animations are extremely smooth, I'm totally surprised by how the way it performs, I have some faith that L roms would perform better than KK, Let's hope that..

Here, How you can install it :

Go Here : http://xdaforums.com/showpost.php?p=56911242&postcount=223

Click the thanks button..

then go here : https://drive.google.com/folderview?id=0B_mDj-AUPfVrdm51MWRvMzN0bUE&usp=sharing

Download both files, put them on your phone

Flash KK compatible CWM,then reboot to recovery

Wipe System/Cache/Dalvik/Data

Flash Omni-rom (It's gonna take a bit of time, be patient)

Reboot (Wait again, It's gonna take a bit)

Have fun..

Here is what's working :

Touchscreen

Sound

Brightness

Auto-Brightness

Bluetooth

External Storage (SDcard)

Auto-Rotatio

Cameras

Torch

Hardware button backlight

GPS

What's not working & Bugs :

Screen (Colors are Inverted)

Animation Glitches ( Especially when Rotating Screen )

Internal Storage ( Not Working )

Calls/Sms (RIL) ( Not Working )

Wifi ( Not Working )

Home Button ( Not Working )

Recovery ( No Recovery ) ( Can be easily fixed though )

This surely a step in the right direction, KK started that way... Good Job.... :good::good:​
[Galaxy S II Android Development] cvexkeks:
Is there a dark UI, it's so white my eyes bleed:):):)

Nice work, thanks;)
[Galaxy S II Android Development] WildfireDEV:
[MENTION=5298712]asimovi[/MENTION] if you guys were to upload the device and kernel trees I believe I could help you in fixing the problems with Wifi etc
[Galaxy S II Android Development] Jertlok:
To fix the Home Button you have to change a file in the system/usr/keylayout

The file is called Generic.kl - > just copy it from a cm11 rom ;)

For the recovery issue, maybe it could be fixed with a little script .sh ... I'm at working... But I can't warranty nothing :D
[Galaxy S II Android Development] Lysergic Acid:
Congratz [MENTION=5298712]asimovi[/MENTION], the community should focus on omni then, they are way more community friendly, and looks like that's easier to build from ;)
[Galaxy S II Android Development] pandza88:
Well yea, white ui will be problem on s2, because of superamoled screen it will kill your battery so fast, but that is not priority at all... First we need to fix everything else to get it stable for daily use...

Then you can port theme from nexus 5 foxhound ROM like in screens attached, or vivek can help you with that, becouse he already did amazing job in dark ui for lollipop in n5 thread...
[Galaxy S II Android Development] Vivek_Neel:
Yes here its Material dark theme which I have made for nexus 5 http://xdaforums.com/showthread.php?t=2939926

Hopefully I can do it for s2. If time permits

Update to my cm build.

Boot.img compiled.

System partition compiled.

Building is moving like a snail. 4gb ram
[Galaxy S II Android Development] Jertlok:
Nice Job!!! I hope you will get a bootable distro:)
[Galaxy S II Android Development] Vivek_Neel:
Yep.

But I would like to thank [MENTION=4775725]Troubadour666[/MENTION] for letting me use his laptop for continuously two days without shutting down.Because I don't have a good internet connection . I used to compile Roms on server but this time I don't have this.
[Galaxy S II Android Development] MiyagiSan:
Are you using CCACHE?

What size is the cache? With 50GB or more, you should see some reduction in subsequent builds.

Is the repo and working directory on a dedicated (i.e. non-OS) SSD drive?

4GB is lower than 8GB or 16GB but compilation is often bounded by CPU and/or disk rather than memory.

EDIT: Ok, I just saw your post about using a friend's laptop remotely. The advice still applies...just trickier to implement.
[Galaxy S II Android Development] Vivek_Neel:
There is the problem.

We dont have space.

10gb ccache.

---------- Post added at 03:15 AM ---------- Previous post was at 03:10 AM ----------

Hey mate.

Am sorry for the late reply. Gone out.

Taken from my team repos. Currently working

https://github.com/Fortune-OS/andro...mmit/7fca1e1977ffcab6a1871d23ddffdd236c60d053

https://github.com/Fortune-OS/android_device_samsung_n7100/blob/android-5.0/BoardConfig.mk
[Galaxy S II Android Development] Troubadour666:
yep yep :)
[MENTION=5022494]Vivek_Neel[/MENTION] in da house ;)
[Galaxy S II Android Development] Lysergic Acid:
Thanks for the non-intrusive method ;)
[Galaxy S II Android Development] Xback:
5.0 Gapps

Great Work guyz.

Just tried it working so smoothly. :good:

waiting for stable version:fingers-crossed:

Thanx all of you

btw Here are the Gapps for Lollipop 5.0:) (after installing booting will take time so have patience)

https://www.androidfilehost.com/?fid=95784891001611647

Creadits to TKruzze

http://xdaforums.com/showthread.php?p=56810851#post56810851
[Galaxy S II Android Development] jeffreyvh:
Can you please share me that repo's then i can help with fixxing bugs ;)
[Galaxy S II Android Development] totalnoob34:
A whole lot of things work, for a just-got-booted project. Thanks to all the great people who made, and hopefully will make, this possible.
[Galaxy S II Android Development] MiyagiSan:
Monsieur [MENTION=4775725]Troubadour666[/MENTION] 's photo reminds me of some guy called Jamie that's always pretending to be someone else... :laugh:
[Galaxy S II Android Development] russy23:
all this is starting to turn me on...this is impressive..at this rate there will be a solid release in december
[Galaxy S II Android Development] Troubadour666:
little feedback

Yes , omni Homemade booted fine ;)

"I SAW" ODIN TIME is coming soon :)
[Galaxy S II Android Development] ussl:
not working
[Galaxy S II Android Development] Vivek_Neel:
Hey mate.

Check your hangout.

No team viewer connection.
[Galaxy S II Android Development] Jertlok:
Hey man, so try another recovery... for example CWM 6.0.5.0 but i wanna say that the installation take 8-10 minutes... patience - a virtue ;)
[Galaxy S II Android Development] koolkunz:
Will this ROM work with the Dual Boot method of Kitkat of the thread I made long time back.....??
[Galaxy S II Android Development] CrazyKarl12:
Quick Video!

i made a short video about the welcome screen. Sorry for bad quality.

https://www.youtube.com/watch?v=1hFbCyvDJtc&hd=1

Here's my follow up video: https://www.youtube.com/watch?v=94a3QJ85BIk&hd=1 (HD)
[Galaxy S II Android Development] Vivek_Neel:
Done.

Package complete : /home/skorpion/vivek_cm/out/target/product/i9100/cm-12-20141121-UNOFFICIAL-i9100.zip
[Galaxy S II Android Development] Troubadour666:
Hi,

a great pleasure to see DEV in Action since 3 days , with good result :)

[MENTION=5022494]Vivek_Neel[/MENTION] , thanks for the lesson , even i only understood about 10% of what you have done , haha !
[Galaxy S II Android Development] callmekang9:
Did you use the cm11 I9100 source?

CM12 Source+CM 11 I9100 Device source?

I tried to build cm12 for I9100....Error!
[Galaxy S II Android Development] blinoff82:
Cool mate!

Lets go test together. Upload on AFH.:angel:
[Galaxy S II Android Development] pvdeejay:
Originally I was getting upset that we S II owners will get no joy at this time. but as you guys said this is starting to look verry promising. It would be awesome if one of us was able to contribute this back to omnirom. In their github repo there is no real branch for i9100 but i9100G is there and also smdk4412-common has already been brought up to Android 5.0 status. You may want to see some commits by Marco Magliona to cheripick or at least to initiate better colaboration. Evidently he is one of these powerfull developers and he knows what he is doing.
[Galaxy S II Android Development] Dr.Fix:
I'm missing something.. there are more people building this rom with different issues? Are them from LollipopS2 team or individual?

I think everything is getting confused... I read somone with wifi working, someone with not working, someone starting from CM someone from omnirom... why not coordinating and workt together in the same direction?

First post i.e. hasn't been updatet for a while, that's all so confusing...
[Galaxy S II Android Development] Vivek_Neel:
Uploading zip later.

Right now away from home. Got some important work.
[Galaxy S II Android Development] Caproid:
The best for [MENTION=5022494]Vivek_Neel[/MENTION] is to create a new thread with his rom :) it's very confusing here
[Galaxy S II Android Development] koolkunz:
is it booting though??

and also you should create a new tread...its all gettin mixed up here
[Galaxy S II Android Development] pvdeejay:
I would rather not see an upload of this build until recovery is there and basic functionality is brought back. There is no point for us not skilled developers to flash early pre pre alpha builds potentially causing more issues for our-selves and even for potential developers. First let's focus on bringing this to a working state, then let's attempt to contribute this back preferably to omnirom or to cyanogenmod and after all this is done with some slight variations let's create a new thread.

Of course I have listed my preferences and proposals in this and no one has to agree with me but omnirom is a great platform with all the rockstars like Andrew Dot, ntropy on board.
[Galaxy S II Android Development] cdaarif:
Ya lollipop is better than the kk in alpha made. Now it's odine times ;) so dev plz "let's get together for making android l 5.0 For our beloved S2"

Tnx [MENTION=5298712]asimovi[/MENTION] , [MENTION=1140710]tEaM[/MENTION] Lollipops2 [MENTION=3268369]Shoti[/MENTION] & [MENTION=296995]vivek[/MENTION] neel.

I remembered someone who called [MENTION=4069511]prodip[/MENTION] neel n [MENTION=838258]nafiz[/MENTION] in the year 2011. These gyz made me flashcoholic ;)
[Galaxy S II Android Development] blinoff82:
I do not agree with you. This build must be uploaded for all so that everyone can open it on PC, check the files, look for errors, make proposals to fix bugs, and so on.
[Galaxy S II Android Development] pvdeejay:
Yes I don't have issues with your attitude and passion. However at such pre alpha stage while the rom has issues with drivers, binary blobs, RIL and all that low level stuff tweaking flashable zip will only lead to workarounds and undocumented pseudo fixes. We should be cooperating on the source code not on the binary builds.

Edit: Of course team mates are free to do whatewer fixing sharing.... I just don't think this should be available to public.
[Galaxy S II Android Development] nanoSpawn:
I need my phone as a daily driver, but I swear, as soon as it can be used normally for whatsapp, phoning and taking a photo or two, I'll be installing it and helping debug.

Kudos to all the Omni team.
[Galaxy S II Android Development] JavaScout:
+1 me too. A support for phone calls, sms and maps would be enough for me to begin this unbevievable experience [emoji2]
[Galaxy S II Android Development] totalnoob34:
+1 on that. Plus, we have camera already.
[Galaxy S II Android Development] tietto12719:
Can ne update the first post? Thanks :D

Inviato dal mio GT-I9100
[Galaxy S II Android Development] iekansh:
Can anyone tell me how to forward this enthusiastic news to xda blog? Or if a mod is reading this then he might be able to help. We want all the attention we can get from this project to lure some hard-core dev on board other than the brilliant people already working on it.
[Galaxy S II Android Development] rphlfjrd:
The GSII is still a very powerful device. It has seen major Android upgrades(with JB4.2.2 onwards via CM) and I know our great devs can bring another major update to our beloved SII. It's just a matter of time. Like the others, I'll jump on the testing bandwagon once basic functionalities are fixed.
[Galaxy S II Android Development] Vivek_Neel:
Not tested yet.

Waiting for Trobdour866 to test.

I have compiled two zips.

One with selinux

Other without selinux.

It should boot after this. If this does not. Then we have to wait for cm source to be stable.
[Galaxy S II Android Development] koolkunz:
if he cant test it..upload it here..someone else might be able to test it
[Galaxy S II Android Development] DS-1:
Me, too.
[Galaxy S II Android Development] Vivek_Neel:
Uploading.
[Galaxy S II Android Development] crashdjent:
Be patient
[Galaxy S II Android Development] wolfaz1313:
hi

you uploading a new version?:o
[Galaxy S II Android Development] suresh86:
Patiently waiting for a working build. I need wifi, mobile network, recovery (in case anything bad happens). Anyway, great job devs!!! :good:
[Galaxy S II Android Development] totalnoob34:
Completely noob question: why is there no recovery?
[Galaxy S II Android Development] Dr.Fix:
Same question... what does it mean? In prevous posts someone said any KK recovery would boot... CWM 6.0.5.1 isn't enough?

Now someone is asking id it is booting.. and the answer is something like "I don't know"... so where were the screenshots seen in this thread taken from?

Everything is getting even more confused time by time... why isn't first post clearly updated?
[Galaxy S II Android Development] blinoff82:
Dear colleagues, I believe that I express the general opinion when I say that all of our community would be happy if [MENTION=5022494]Vivek_Neel[/MENTION] will develop ROM CM M12 Unofficial for GT-i9100. And we, in turn, will render all possible assistance!
[Galaxy S II Android Development] Lysergic Acid:
Hey mate, you need Kitkat CWM to install the ROM, but in the kernel from the ROM there's no working recovery, so that's why you lose the recovery after flashing the ROM, hope that clear things for you...
[Galaxy S II Android Development] Dr.Fix:
Totally agree.
[Galaxy S II Android Development] Jertlok:
This post will clarify everything.

The OP refers to a AOSP rom made by the Lollipop S2 Team, and it hasn't passed the bootanimation stage.

What about the cm12 rom ?​

[MENTION=6159291]Lysergic Acid[/MENTION] is a member of Lollipop S2 Team and he worked hard to get a compiled zip, by the way this compiled rom didn't worked... now he's trying to build omni sources because cm sources are a little bit unstable than omni sources !

Is there a bootable one ?​

Meanwhile [MENTION=5298712]asimovi[/MENTION] was working on OmniSources and compiled an omni rom that works, but it has some problems (obviously -> see this post to see what works or not: http://xdaforums.com/showthread.php?p=56916163) and posted herebut it's not the same creator. Asimovi or other devs have to create a new thread becuase here is getting very confused!

IN EASY TERMS :) :​

You can find a non-bootable rom on the first post

And a bootable OMNI here http://xdaforums.com/showthread.php?p=2

What about no recovery issue?​

There's no ClockWorkMod recovery so if you try to go on recovery the phone will redirect you on the normal boot. It seems that recovery.img is corrupted or wrong ;)
[Galaxy S II Android Development] Dr.Fix:
I miss something, but I'm a noob... when I install a rom via CWM (ie. CM11) it doesn't replace CWM recovery itself... there's something I miss, my fault.
[Galaxy S II Android Development] Vivek_Neel:
FLASH THIS ON YOUR OWN RISK , AM NOT RESPONSIBLE IF ANYTHING HAPPENS.

Installation Instruction;

1.Do a nandroid back up first.

2.Flash kk comptiable recovery. (boot into kk comptiable recovery after flashing it)

3.Wipe cache , wipe dalvik , wipe data

4.Format system

5.Install zip.

Download:

CM_I9100_WITHOUT_SELINUX
[Galaxy S II Android Development] Jertlok:
Hey man don't worry, every roms have a boot.img -> What is a boot.img ? The boot.img is a package which includes kernel and recovery ... the boot.img used for omni 5.0 has a little problem with the recovery situated inside the boot.img ;)

Did you understand ?:)
[Galaxy S II Android Development] wolfaz1313:
hi

in this version of something fixed?: О
[Galaxy S II Android Development] Dr.Fix:
Perfect thanks a lot! :)

---------- Post added at 04:04 PM ---------- Previous post was at 04:02 PM ----------

Since this is LollipopS2 thread, why don't you open an "UNOFFICIAL CM12" thread? It would be easier to understand things...

In this thread pepole is talking about three different roms... it's getting hard.
[Galaxy S II Android Development] Jertlok:
I'll be the first one to try this;)
[Galaxy S II Android Development] wolfaz1313:
hi

First make a less stable build, then you can think about what you say
[Galaxy S II Android Development] Jertlok:
This is another rom, we can day that is an attempt !

Hey man, read this post http://xdaforums.com/showthread.php?p=56935766

You are getting confused.
[Galaxy S II Android Development] Lysergic Acid:
Report if it's booting ;)
[Galaxy S II Android Development] wolfaz1313:
hi

thanks for the info
[Galaxy S II Android Development] Lysergic Acid:
If people are confused here on the Development thread, they should then head to the Q&A thread, which is a noob friendly thread to ask questions ;)
[Galaxy S II Android Development] Jertlok:
[MENTION=5022494]Vivek_Neel[/MENTION]

Tested.

When i try to install your package i get this error :
[Galaxy S II Android Development] Vivek_Neel:
Wipe data and flash the zip. If not

Try using some other recovery.
[Galaxy S II Android Development] Jertlok:
Sorry Vivek, i didn't wiped data because i was checking the zip status.... doing without data losing ;)

Now it's flashed.

Rebooting... ;)

Edit:

It stucks on Samsung Galaxy S II Logo, however i'll wait some other minutes !

EDIT 2:

However i lose my recovery and the phone always stuck on Samsung S2 Logo, now i have to flash a new boot.img with Heimdall :) ...and i'll try to flash asimovi's kernel!
[Galaxy S II Android Development] koolkunz:
this usually happens due to recovery....flash a new latest recovery
[Galaxy S II Android Development] Lysergic Acid:
Looks like CM12 really have problems :(
[Galaxy S II Android Development] Vivek_Neel:
Mate can u do full wipe and try.
[Galaxy S II Android Development] Jertlok:
I did it bro ;) I said that i didn't wipe data before... but after that i did a full wipe ;)

Now i'm going to flash a boot.img with a working recovery and perform another attempt, stay tuned ;)
[Galaxy S II Android Development] Vivek_Neel:
Can u extract the zip and put omni boot.img .

And flash.

Strange. Disables selinux. Yet its not booting.