yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Saber:
Isn't that the changes from the first beta only? The dev said he got the rom to boot and that his phone can be detected by his computer on his second beta build.
[Galaxy S II Android Development] ahmedelhofy:
Here the list for v0.2

What's is working :

- Boot animation

- it seems like the PC is now recognizing the phone as an MTP device

- Sometimes the hardware buttons backlight works.

What's is not working :

Oh, You can guess that...

Still very far from booting

Anyway, Thanks [MENTION=5074768]jeffreyvh[/MENTION] for trying, Hopefully you'd be able to make boot soon or some other devs show up and help you... But you still didn't use CM12 sources or the build on the N7000, You're really wasting your time trying to port that at&t gs2 build...
[Galaxy S II Android Development] Lysergic Acid:
There's people working with the CM12 sources like me and [MENTION=5323054]Lenger96[/MENTION], and things are going well, just wait :D
[Galaxy S II Android Development] ahmedelhofy:
Yea, I just checked the Q&A section of the thread.. Good luck syncing the device tree :)
[Galaxy S II Android Development] Lenger96:
re

I dont think that porting is wasting of time. Beta 0.2 is based on N7000s CM12 pre-alpha. Anyway there are three people, including me, who are building CM12 from sources. If we can pass device tree problem (and now we probably can thanks to great dev [MENTION=799465]bauner[/MENTION]), then there is much bigger chance to boot it up. Following hours will show if i was right or wrong...
[Galaxy S II Android Development] kdrumwork:
Guys upload screen capture please
[Galaxy S II Android Development] ahmedelhofy:
He didn't say that 0.2 was based on N7000 built… anyway it's great to see the guy from the note forum helping you... That's good news.. Hopefully you guys can get it to boot soon..

This is a WIP, it's not booting yet...
[Galaxy S II Android Development] Saber:
Yeah, I noticed that. You were correct about the fact that it doesn't boot, my bad. Wish you guys luck in fixing the problems!
[Galaxy S II Android Development] rqmok:
Is it possible to get logcat yet?
[Galaxy S II Android Development] ahmedelhofy:
I'm not sure, but theoretically, the Dev is saying that in v0.2... His PC is detecting the device, I do think you can pull logcats from adb.. But I'm not sure..
[Galaxy S II Android Development] suresh86:
I9100G got its build booted too. I blame this Exyno**** of I9100. Next time i get a phone, I will get a snapdragon for sure. Meanwhile, lets just wait for this build to boot.:good:
[Galaxy S II Android Development] ahmedelhofy:
Exynos is to be blamed for everything bad that happened to the device... However, we still got amazing support that lot's of other non-exynos phones are wishing to have... This phone is a legend. .

Let's hope for the best now.. A few guys are already trying to use cm12 sources now... Still haven't heard anything from them yet though
[Galaxy S II Android Development] youngcreative:
Not boot not boot not boot help please
[Galaxy S II Android Development] ahmedelhofy:
Did you even read the OP !!

The ROM is a WIP, it's not yet booting, be patient guys..
[Galaxy S II Android Development] Lysergic Acid:
I managed to start building from CM12 source. If it boots it will be like the Note CM12 but for i9100... I wish I were a Senior Member to post it later :P

I'll sleep now and if everything works the way they meant to be, tomorrow we can taste some Lollipop *-*
[Galaxy S II Android Development] Lenger96:
Well without his help i have no idea what to do. I thought that we have to use cm11 files, but i wasnt sure and i didnt know how to do it. I wrote him, because i thought he had to pass this when he was building CM12 for N7000. He wrote me very willingly little tutorial how to replace requested files with those from cm11 tree. Then I sent it to two other builders. We all know what to do now, so i think its question of few hours to solve this.
[Galaxy S II Android Development] metahex12:
can i use cwm recovery for flashing ?
[Galaxy S II Android Development] Phenomzye:
//OT

For now, you should add a headline at the OP post, using big red letters and caps, "READ THE WHOLE OP POST BEFORE ASKING DUMB QUESTIONS LIKE "WHY IS NOT BOOTING? WHY ARE NO SCREENSHOTS THEREEE?" Those kind of things are filling this dev thread unnecessarily.

//OT
[Galaxy S II Android Development] Lysergic Acid:
I'm getting an error compiling some camera libs, I think I need to sort out how to remove it from the compilation process...
[Galaxy S II Android Development] rqmok:
You are missing a header file in the kernel. The file that is missing is stated on your Terminal.

I am guessing this is because you are compiling it using the CM11 kernel? If you are then it is very likely that you will receive this kinds of errors again.
[Galaxy S II Android Development] Vivek_Neel:
CD to the directory.

Type

nano camera_common.h

Type the header #include <system/camera_vendor_tags.h>

Ctrl+x

brunch i9100 in root directory

See if this works.
[Galaxy S II Android Development] metahex12:
i found a wrong . this roms build prop shows sdk version 19 but lollipops sdk version 21 !
[Galaxy S II Android Development] Jertlok:
It doesn't matter, i saw that they used a CM11 build.prop and parts of CM11 such as updater-script.

So i want to explain one thing:

The process of porting moving files between ZIPs it's not good, so it's adviced to work on source code.

let's wait for some response from [MENTION=6159291]Lysergic Acid[/MENTION] ....then we'll work toghether on his repo ;)
[Galaxy S II Android Development] metahex12:
yes , you are right. I am looking forward Lyseric Acid s result .

---------- Post added at 01:22 PM ---------- Previous post was at 12:56 PM ----------

can i use cwm recovery for flashing zip ? when new version released.
[Galaxy S II Android Development] Jertlok:
Yep! No heimdall or other things needed ;)

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] metahex12:
News ?
[Galaxy S II Android Development] ahmedelhofy:
Chill out bro, Be patient
[Galaxy S II Android Development] Lenger96:
Man give us a time, it aint so simple how it looks. We are doing our best, so stay tuned here and be patient. Anything new will be posted here.
[Galaxy S II Android Development] Lysergic Acid:
It already has that header on camera_common.h, and removing the header lead to error in the framework, but I dont know if the errors are related

Edit: Looks like I don't get that camera header error anymore, just the framework error now, will attach another screenshot and maybe someone is able to help me..
[Galaxy S II Android Development] homeboy1956:
You are amazing guys. Our SII will be alive
[Galaxy S II Android Development] Vivek_Neel:
Just Delete the overlay.

Fixed.

Next time just google for this errors .

Common errors
[Galaxy S II Android Development] blinoff82:
Mate, you do not change your mind to help us with CM12 for i9100?:o
[Galaxy S II Android Development] Lysergic Acid:
I've done the search and got the solution before you said it, but posted it because it wasnt in the first results, anyway thank you very much to spend yor time here helping me ;)
[Galaxy S II Android Development] Vivek_Neel:
No problem. Am glad to help.

Good to see people have started to compiling themself instead of waiting for others to compile.
[Galaxy S II Android Development] SlideShowPl:
My samsung galaxy s2 (I-9100) have bootloop on this rom :/
[Galaxy S II Android Development] Lysergic Acid:
That's what I though too, if I want something done it's a good ideia to do it myself ;)
[Galaxy S II Android Development] RealSlimShadyMC:
read the op!!
[Galaxy S II Android Development] Lenger96:
Please man, READ the first post
[Galaxy S II Android Development] metahex12:
hey mans can i design the CodeROM logo ?
[Galaxy S II Android Development] Lenger96:
We have already created logo (see my avatar), but you can make one, if it will be good, we will use it.
[Galaxy S II Android Development] metahex12:
ok and i can design boot animation
[Galaxy S II Android Development] Jertlok:
Check this ;)

http://xdaforums.com/showthread.php?p=56692321

We really appreciate your help.
[Galaxy S II Android Development] metahex12:
i will check and edit it thanks .
[Galaxy S II Android Development] c0d3r!pp3r:
Nice, keep going bro... Subscribed
[Galaxy S II Android Development] nhmanas:
Omg! Waiting for a bootable version!!
[Galaxy S II Android Development] Lysergic Acid:
Posting an updated information to the guys waiting for 5.0 here... My CM12 build got tons of errors, and so far I know that ril, camera, video playback, maybe sound will not work, but I managed to continue the building process and now it's close to finish, fingers crossed :victory:
[Galaxy S II Android Development] ahmedelhofy:
Sound is working in the N7000 build, you might wanna ask the guy there for some help,

The Devs on the i9300 forum (nameless ROM) were able to fix the ril issues and most of the issues.. Go check there you might see some tips .. Although that does seem to be a common issue with all of the ports of 5.0 on most phones...

Good job.. Keep going :)
[Galaxy S II Android Development] Lysergic Acid:
Good to know that, I'll finish the compilation first, and if it boots then we can start to fix the problems. But now I'm focusing into a 5.0 booting rom ;)
[Galaxy S II Android Development] ahmedelhofy:
Yea, You're right..

Keep us informed with how the build process is going if you don't mind...

Have a good day..
[Galaxy S II Android Development] Lysergic Acid:
Well, now its compiling the smdk4412 kernel and mali r3p2 files.. after that is a matter of minutes to the build to finish
[Galaxy S II Android Development] Koongli48:
Hi,

Can some kind soul teach me how to use this? xD

http://xdaforums.com/galaxy-s2/development-derivatives/5-0-coderom-5-0-lollipops2-t2939809

As you can see I'm a noob so please help :D

Thanks!
[Galaxy S II Android Development] Lysergic Acid:
I highly suggest you to not try this. It's not booting at all so for you it's kinda useless
[Galaxy S II Android Development] Koongli48:
Thanks for the info. So at least now I know it's not my fault xD

I'll just wait for later builds then :)
[Galaxy S II Android Development] gobedh:
Subscribed!!!!

So sorry I can't help you for developing this ROM, but I'll wait patiently and try your hardwork and effort

All the best for you!
[Galaxy S II Android Development] Jertlok:
After a lot errors [MENTION=6159291]Lysergic Acid[/MENTION] has passed the build process. Now the problem is:

$brunch i9100

Outputting the error (see attached image)

It seems that the function SystemCopyFile(input_zip, output_zip) is missing...

What can we do ?

Thanks in advance :)

[MENTION=5022494]Vivek_Neel[/MENTION] sorry for the mention, i hope you can help us !
[Galaxy S II Android Development] Vivek_Neel:
For cm its

make bacon I think

Not make otapackage
[Galaxy S II Android Development] Jertlok:
We used

brunch i9100

..

Sorry.

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] Vivek_Neel:
After running brunch i9100.(hope the build is successful)

Did u get something like" package complete "at the end?

You should have zip in out/target/product/i9100 directory . something like cm_.....zip
[Galaxy S II Android Development] Lysergic Acid:
Nope, I get that error then the build ends without the zip
[Galaxy S II Android Development] Jertlok:
Nope, brunch i9100 displays that error... it shows that SystemCopyFile ( input_zip, output_zip ) is missing .... maybe there's a problem with the compilation process done before

Inviato dal mio GT-I9100 con Tapatalk 2
[Galaxy S II Android Development] metahex12:
can you try compile the rom ?
[Galaxy S II Android Development] asimovi:
take a look here
[Galaxy S II Android Development] Jertlok:
Thank you :)
[Galaxy S II Android Development] Lysergic Acid:
This is how far I got into building CM12... it's a symlinking problem, so I cannot get a proper flashable zip. I hope that someone know what to do from here as I've already done everything I could.
[Galaxy S II Android Development] Zile995:
Please, read...
[Galaxy S II Android Development] metahex12:
ok
[Galaxy S II Android Development] domini99:
Lots of respect, i'm subscribed.

I can do little help if needed :)
[Galaxy S II Android Development] MiyagiSan:
Check that you have the specifically required versions of Java and Python in the first instance. And that they are setup correcttly.

Next, check the proprietary blobs.

Just ensuring the obvious holes have been plugged...
[Galaxy S II Android Development] Lysergic Acid:
Yeah I have Open JDK 7 required for Lollipop, Python is also right as the whole build process went just fine after fixing things, and the proprietary blobs were extracted. I got some instructions from another developer to fix the kernel and choose which functions I should remove and which I should get from CM11.

I'll start from scratch now as my whole repo is dirty now, I removed, moved, added a lot of things without tracking. At least me and the whole LollipopS2 team is being helped and hopefully soon we manage to build that 5.0

Adding a funny fact that happened today: I tried to flash my 99% compiled lollipop and couldn't get past Samsung logo, almost hard bricked it and saved flashing pit files, almost thrown it in the trash :D
[Galaxy S II Android Development] metahex12:
failed

:€ will you try it again ?
[Galaxy S II Android Development] Jertlok:
Soft Bricked :P
[Galaxy S II Android Development] Lysergic Acid:
I already make clean, removed custom repositories, reposyncing and then try again haha now it has way more chances of booting ;)
[Galaxy S II Android Development] TraNe15:
I can't believe devs still develop custom stuff for Galaxy S2 but it is great. Thank you for your work guys. Appreciate it!
[Galaxy S II Android Development] CrazyKarl12:
Thank you guys for spending time creating 5.0 on our devices. More power, and hope it'll boot successfully.
[Galaxy S II Android Development] bog.lungu:
Thank you for support
[Galaxy S II Android Development] youngcreative:
not booting :eek:
[Galaxy S II Android Development] lllukas:
Because its not boting Rom yet.

Read first post ;)
[Galaxy S II Android Development] sooti:
PM me the repo's ill look into it, maybe I can help
[Galaxy S II Android Development] bhavstech:
I m not a kernel dev but a suggestion may be linaro kernels can help in booting
[Galaxy S II Android Development] ahmedelhofy:
I believe that's even more work to do...
[Galaxy S II Android Development] _followers_:
Thank you to all LoLLIpop TEAM and To all Devs who help building Lollipop V5.0 for galaxy s2...we salute you all...for the time and effort you spent in our DEVICE, we will wait it until it release...THANK YOU SO MUCH! :good::good:
[Galaxy S II Android Development] ahmedelhofy:
[MENTION=6159291]Lysergic Acid[/MENTION]

This maybe helpful, the dev of nameless Rom Lollipop for i9300 has pushed his framework sources to github:

http://xdaforums.com/showpost.php?p=56846960&postcount=830
[Galaxy S II Android Development] Lysergic Acid:
I still don't know if it's going to help but I'm giving it a try now, thanks!
[Galaxy S II Android Development] ahmedelhofy:
[MENTION=6159291]Lysergic Acid[/MENTION]
[Galaxy S II Android Development] cdaarif:
Yaa ur gr8 gyz.

Let's try to Make TOGETHER Android L 5.0 For S2 :D
[Galaxy S II Android Development] Lysergic Acid:
[MENTION=5074768]jeffreyvh[/MENTION] Can you edit the thread title and add a huge tag like [NOT BOOTING AT ALLL]?
[Galaxy S II Android Development] ahmedelhofy:
That's should have been done, the first time this thread was opened, to prevent all the new XDA users from flashing it, anyway better late than never.

Oh also, Check out [MENTION=4460995]sooti[/MENTION]

He is trying to help
[Galaxy S II Android Development] AndDiSa:
[MENTION=5074768]jeffreyvh[/MENTION] can you provide a link to your repo? In that case it would be easier to support / give some hints.
[Galaxy S II Android Development] Jertlok:
Guys, I wanna clarify something.

The post refers to an Aosp version for S2 made from moving around files contained in S2 At&At Rom and using Cm11 kernel - > there's no repo, kernel source code or Android source code.

The second project started from our team is the following :

Build CM12 sources according to bauner patches, cm11 source code - > a mix of source code!

We can't provide you any ETA 's or any warranty... We can only say that we're working hard especially [MENTION=6159291]Lysergic Acid[/MENTION]!!!!

... We need a skilled dev, by the way we'll do all possible!!!

PS: The AOSP rom is still unbooting, I recommend you to don' t flash it because is only a waste of time! :)
[Galaxy S II Android Development] Lysergic Acid:
This.

The repo I'm using comes from a mix of CM11 and CM12, its not just compile a single repo as a lot of users are PM me... it needs a lot of changes on the source code
[Galaxy S II Android Development] domini99:
I'll try and take a look later, maybe I can help a little.

I'll notify in this thread when I got something :)
[Galaxy S II Android Development] evildave_666:
Please consider this a formal request for any GPL sources involved in this ROM.
[Galaxy S II Android Development] :
Vivek_Neel

hi, i'm building [attempting] for a few devices.

my question is, is clipping/deleting the overlay pretty much the approach for now on lollipop ?

as to brunch/lunch in general, you have a better measure of control with lunch for identifying problems and fixing stuff.

meaning, as per make help

mka libandroid_runtime

mka services

mka framwork, etc

making packages [some] individually to sort out java issues

mka, or make Systemui, Browser, OmniSwitch etc.

anyway, WooHooo ! :silly:

m

edit, has anyone tried building philz yet, if so any success or patching needed ?
[Galaxy S II Android Development] Lysergic Acid:
Sir, this ROM is all about replacing files on .zips

How do you want a GPL for this?
[Galaxy S II Android Development] evildave_666:
You are distributing a binary containing GPL code, there are responsibilities under the GPL involved in doing so even if you're not the original author. If you're using an unmodified kernel just point to the right place for the source, if you're rolling your own, diffs or trees for device and kernel are enough to satisfy...
[Galaxy S II Android Development] Lysergic Acid:
Would you mind to tell me what responsabilities we have? It's pure AOSP, so we use the Google license to distribute it just like any other AOSP based ROM...

Ok, so the kernel and ROM sources are specified on the original ROM thread: http://xdaforums.com/s2-skyrocket/development/rom-aosp-lollipop-preview-t2931710
[Galaxy S II Android Development] :
hi, i was wondering how you handled the camera_vendor_tags.h issue.

a side thought on the kernel is in the source there is an option, or should be to set selinux to defer to the security requirements

of the kernel/init over the system but for that to be i think you have to change the sepolicy to revert the kernel/init to unconfined domain.

on pointing to / listing sources even if it's straight aosp it's a helpful thing to do. but i think it's the OP's responsibility

for the release but, if you've done anything new to move the process foward with gpl covered code or are using/borrowing from someone/something

else covered in the same way, you have to post/link the source. XDA rules say anything you release has to be accompanied by the aforementioned

so others who whish to can compile/build the same.

m
[Galaxy S II Android Development] evildave_666:
Are you not distributing a kernel in your build? I am using a very minor variant of the i9100, which may or may not need kernel tweaks, the kernel (which is obviously GPL) is the only thing I care about.
[Galaxy S II Android Development] :
camera_vendor_tags.h

found it

$(TOP)system/media/camera/include/system/camera_vendor_tags.h

my solution; create symlink to camera_vendor_tags.h in hardware/libhardware/include/hardware/

edit hardware/libhardware/include/hardware/camera_common.h @ line 27 from

#include <system/camera_vendor_tags.h>

#include "camera_vendor_tags.h"

maybe yes maybe no ?

m
[Galaxy S II Android Development] Lysergic Acid:
Hi bro, well I did not know this and yes, it's OP responsability to post this. About the issue, I remember to solve this by editing the camera libs source, but I don't remember exactly what I did :P

Edit: You can always delete the broken files and skip compiling them haha
[Galaxy S II Android Development] mcarans:
Merge into Cyanogenmod Lollipop?

This is a great effort! Why not merge this into Cyanogenmod and become device maintainers for the i9100 for Cyanogenmod Lollipop? Just a thought.
[Galaxy S II Android Development] Jertlok:
We are not skilled enough!!!

Thanks for the encouragement :)
[Galaxy S II Android Development] metahex12:
->????

can anyone compiled rom from cm12 souce code ? :eek:
[Galaxy S II Android Development] blinoff82:
[MENTION=6159291]Lysergic Acid[/MENTION] has been doing this work for several days. Patience - a virtue ...:)
[Galaxy S II Android Development] Lysergic Acid:
I'm having problems when making the otapackage. I can now sucessfully pass through all the building process but not the otapackage error. I'm looking for a fix guys, just calm down your nerves ;) If no one show to be better than us with CM on the S2 we can consider being a maintainer in the future
[Galaxy S II Android Development] sumit yadav:
Kitkat was supported by CM just like that.

A Developer compiled KitKat and then it was recognized as official sources build.

Our hard work will definitely pay us!!!
[Galaxy S II Android Development] Lysergic Acid:
I'll just post the error here and maybe someone know how to fix it. I'm still not able to declare the CopySystemFiles function, and every ota_from_target_files from the internet seems to have this problem...
[Galaxy S II Android Development] asimovi:
I don't know if this could help you.

device/samsung/galaxys2-common/tinyalsa_audio/mixer.c: In function 'tinyalsa_mixer_config_start':
device/samsung/galaxys2-common/tinyalsa_audio/mixer.c:279:44: error: 'AUDIO_CHANNEL_OUT_SURROUND' undeclared (first use in this function)
config_data->io_props.channel_mask = AUDIO_CHANNEL_OUT_SURROUND;
[Galaxy S II Android Development] Lysergic Acid:
It could be a fix, I'll cherry pick this commit and report the results soon... thanks
[Galaxy S II Android Development] Vivek_Neel:
Am about to complete my cm12 build.

Once the ril parts fixed.
[Galaxy S II Android Development] metahex12:
when it is completed ?
[Galaxy S II Android Development] Jertlok:
What can I do with you bro? =D

Do not ask for ETA's :P
[Galaxy S II Android Development] CrazyKarl12:
When it's done..
[Galaxy S II Android Development] Lysergic Acid:
I sucessfully compiled using the commits from i9100g, I'm going to flash now, hope that it boots *-*
[Galaxy S II Android Development] Vivek_Neel:
I don't know when u will stop asking ETA?.
[Galaxy S II Android Development] metahex12:
ok i m sorry
[Galaxy S II Android Development] asimovi:
Dis you get this error while compiling ?

hardware/samsung/exynos4/hal/include/sec_utils.h:70:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
case HAL_PIXEL_FORMAT_RGBA_5551:
^
hardware/samsung/exynos4/hal/include/sec_utils.h:74:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
case HAL_PIXEL_FORMAT_RGBA_4444:
^
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'int V4L2_PIX_2_HAL_PIXEL_FORMAT(int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:160:28: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
HAL_PIXEL_FORMAT = HAL_PIXEL_FORMAT_RGBA_5551;
^
hardware/samsung/exynos4/hal/include/sec_utils.h:164:28: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
HAL_PIXEL_FORMAT = HAL_PIXEL_FORMAT_RGBA_4444;
^
hardware/samsung/exynos4/hal/include/sec_utils.h: In function 'unsigned int FRAME_SIZE(int, int, int)':
hardware/samsung/exynos4/hal/include/sec_utils.h:236:10: error: 'HAL_PIXEL_FORMAT_RGBA_5551' was not declared in this scope
case HAL_PIXEL_FORMAT_RGBA_5551:
^
hardware/samsung/exynos4/hal/include/sec_utils.h:237:10: error: 'HAL_PIXEL_FORMAT_RGBA_4444' was not declared in this scope
case HAL_PIXEL_FORMAT_RGBA_4444: