yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy S II Plus] juupi:
I was wondering exactly the same thing.

I got it working by downloading the cm11 and gapps and putting them to SD-card. Before flashing I did factory wipe/reset, cache wipe and dalvik cache wipe. Then I installed the cm11 via clockworkmod, and after that I flashed gapps. Then again wipe x3 and I booted. And worked. :)

Hopefully this helps.

It is so greateful to have KitKat on s2 plus.

Oh and btw, I used non-art gapps, I dont know the difference between those two gapps files there are in cyanogenmods website. Non-art works on me though.

Edit: I accidentally thanked your post :D

Edit2: To be clear, I also had 4.2.2.

Edit3: Sorry, I didn't notice you have stock 4.2.2, not cyanodenmod. Well, you have to install root and cwm via odin. These root and cwm files are found somewhere in here i9105p section. I have bookmarked them, but I'm using my phone at the moment. So uhm, when I get up I will give you more information.
[Samsung Galaxy S II Plus] vahid8910:
well i accidentally thanked your post too.

i was reading your answer and i was so happy and hit thanks before reading whole your answer :D then edit3 ruined everything.
[Samsung Galaxy S II Plus] vahid8910:
let me answer my own question

yes it's possible(i've done it)

you can just flash cm11 while you are on non-rooted stock 4.2.2 and it works but dont forget to do reset factory.

i wish i could thank myself :D

---------- Post added at 12:02 PM ---------- Previous post was at 11:16 AM ----------

ok

otg is not working and pc don't recognize the phone so how am i supposed to copy files?

for example i want to install Gapps, how?
[Samsung Galaxy S II Plus] juupi:
If I remember right, the usb connection doesnt work properly /at all. What I did, was that copied gapps and cm11 to my laptop which has sd-card reader, and moved these two files to my sd card with micro sd card - sd card adapter.

I think this is the easiest way to do this (?), but if you do now have sd card or its adapter, this doesnt work. Well, could you possibly download gapps with your phone?
[Samsung Galaxy S II Plus] beegee:
My Youtube Chanel :)

Hey bros, Im starting to make videos for our S2 Plus.

I will put videos of ROMs randomly.

Please watch and tell me if it is worth.

Find Chanel, name is Jovan Tukic, and see some videos.

Thanks to all developers,meow. <3
[Samsung Galaxy S II Plus] beegee:
post needed
[Samsung Galaxy S II Plus] vahid8910:
when there is kernel update like latest cm11 and you install it does restoring to stock 4.2.2 which is backed up in CWM restore kernel?

in other words does CWM back up and restore kernel when you use it's back up to sdcard feature?
[Samsung Galaxy S II Plus] CoolDevelopment:
yes everything is backed up by cwm
[Samsung Galaxy S II Plus] reidenx:
Why in cm10.2 latest build, dont work wi-fi for me?
[Samsung Galaxy S II Plus] beastaki23:
me neither. A bug I suppose in the rom. In cm 11 this is fixed.
[Samsung Galaxy S II Plus] reidenx:
In the post writed, that wi-fi work. But was in dontwork.
[Samsung Galaxy S II Plus] andixlm:
CM11 for I9105 doesn't work. Stuck on SGS II Plus logo.
[Samsung Galaxy S II Plus] freakyaniket:
did you did a wipe cache
[Samsung Galaxy S II Plus] andixlm:
I did wipe data and cache.
[Samsung Galaxy S II Plus] scottspa74:
What about system? You should wipe system before installing a new /system.
[Samsung Galaxy S II Plus] andixlm:
There's a formatting of /system (in updater-script) while CM is being installed.
[Samsung Galaxy S II Plus] vahid8910:
hi everyone

i need Samsung stock sms app on cm, so i tried to install it but it can't be done.

can anyone help me to use stock sms app on cm 11.

or tell me what shuold i do to install it,is it even possible?

or tell me which sms app should i use to block smses with special phrases?

thanks
[Samsung Galaxy S II Plus] beegee:
you cant do that.
[Samsung Galaxy S II Plus] beegee:
dafaq

panda man are u died ?
[Samsung Galaxy S II Plus] Brian_SGW_CM9:
dude that's really offensive
[Samsung Galaxy S II Plus] beegee:
cm11

Does anyone know how to hide haptic_vib.apk from menu, because we have now working vibration?

Im a youtube guy, Jovan Tukic (making videos for s2 plus)
[Samsung Galaxy S II Plus] SchwarzerRitter:
Problems with signal

I have been installing the ROM multiple times, and altough everything else worked perfectly, I wasn't able to connect to my mobile network. After restoring to the original (rooted) ROM, network did work again.

Any guesses how to solve this problem?
[Samsung Galaxy S II Plus] beegee:
try wiping again
[Samsung Galaxy S II Plus] SchwarzerRitter:
If you meant me, that doesn't work. In fact, I have been trying installing CM many times always with wiping and that stuff. So the solution can't be that trivial. May there be a problem with my modem?
[Samsung Galaxy S II Plus] beegee:
Wierd
[Samsung Galaxy S II Plus] SchwarzerRitter:
Okay, recently I wanted to try it again and flashed the CM11 (Kit Kat build) by cooldevelopment, but somehow I got stuck at the samsung logo (of course after data wipe). Then I tried firstly flashing the 10.2 build which has been working (except that I couldn't get a signal), but somehow here I also got stuck at the samsung logo.

So it has been working, but now it doesn't. What could be the problem?
[Samsung Galaxy S II Plus] beegee:
What is your android version of stock?

Did you rooted as the way root needs to be?
[Samsung Galaxy S II Plus] SchwarzerRitter:
Stock is 4.1.2

And yes, it has been correctly rooted, I also managed to install a custom rom (even the build of kingbabasula) several times.
[Samsung Galaxy S II Plus] beegee:
Well u need to be on stock 4.2.2 then root..
[Samsung Galaxy S II Plus] SchwarzerRitter:
Even when stock originally was 4.1.2?

It is already rooted, btw.
[Samsung Galaxy S II Plus] beegee:
Yes it is not the same. You need 4.2.2 official, then root, then flash cm11 :)
[Samsung Galaxy S II Plus] SchwarzerRitter:
Do I need to unroot the phone before flashing 4.2?

Also: Isn't it strange that a formerly working ROM doesn't work anymore?

:confused:

EDIT: Nevermind. Of course the phone is unrooted automatically when flashing 4.2.

After flashing 4.2 and gaining root once again, installing Cyanogenmod worked. And it's a great ROM, I love it.

Just FYI, here is the place where one who has the same problem can download firmware for his or her phone: http://www.sammobile.com/firmwares/ (you need an account)
[Samsung Galaxy S II Plus] ptothej:
Have you tested your build ? Is everything working ?

Have you got a github account ?
[Samsung Galaxy S II Plus] s2+user:
I have not tested it because it's my business phone - I only built a prerooted image for it based on the tuts I found here :angel:

But I know that not everything will work, I haven't applied pawitp patches yet. And because skullface forked pawitps device tree (based on I9082) I want to know what steps have to be done from scratch to port a device. So we can be sure that everything is from and for our device (had one error with a file that didn't existed on the phone).

No github account yet - I'm thinking about but don't know how to work with it yet. Saw that panda created kernel tree but imported kernel tree from I9082. Yet I'm not sure about the name for repos. At http://wiki.cyanogenmod.org/w/Doc:_...the_device.27s_current_.2Fsystem.2Fbuild.prop they say that codename should be ro.product.device - which is s2vep for I9105P and s2ve for I9105. But most user will seach for i9105(p) I think.

Would also be cool to help ppl with I9105 but I don't know if kernel source and/or same device tree can be used. If so I assume that bugs and errors can be identified and fixed faster because of bigger user base. At opensource samsung the kernel for I9105P is version I9105PXXALLA (first public version), while for I9105 it is I9105XXAMB1. So the question is can the newer kernel source be used and has something changed with newer versions like I9105PXXAMC2 or I9105PXXAMD1? I assume we can use same kernel source because skullface imported the I9105 one and ppl who tried the unofficial build hadn't problems with it - apart from non working stuff.

You see it's very hard for an android newbie like me to puzzle altogether. But I keep on trying, see how far I get and hope more ppl will join and help (who have the knowledge and / or can develop) :fingers-crossed:
[Samsung Galaxy S II Plus] ptothej:
The reason why skullface decided to use pawitp's tree is that i9082 and i9105p are very similiair and device tree for i9082 was already on github.

If you agree then we can work together on collecting the appriopriate files and settings on github.

As you said it would be better to have a build from source for our device with just our device tree files etc.

Bu collecting all required data will take time, a lot of it :), and as for now and next two weeks I do have very limited time, due to some big changes in my private life :).

I think the best thing will be to stick with kernel from samsung open source till we get a custom kernel (I know there are users working on it at the moment so fingers crossed we will get it soon).

I did tried to build a CM last night, it took at least half an hour to go through all the commands etc, but it ended up with an error 2.

Will have to work on it and apply the patches from skullface but not really know how to do that :)
[Samsung Galaxy S II Plus] Brian_SGW_CM9:
possible to include multi window??
[Samsung Galaxy S II Plus] s2+user:
Ok I will read a bit on how to make a github account and stuff like that, play a bit with it and then start commiting :highfive:

Hm I don't think it will take a lot of time collecting data, we already have lot of it - thanks to all who contributed :good:

You're on honeymoon? :D

But which kernel? The older one for I9105P or the newer one which is for I9105 and which skullface also used? I already did a diff on both but haven't looked deeper yet.

Did you try by using kernel from open source samsung and device tree of skullface? Can you paste the error? I only had two errors while building if I remember correctly.

---------- Post added at 06:01 PM ---------- Previous post was at 05:53 PM ----------

Who knows... I saw that GT-I9082 has multi window included. But I don't know if there is code all over the place for it or if it only needs the settings, framework and stuff like that.
[Samsung Galaxy S II Plus] ptothej:
I will try opensource and device tree when back home but more errors if i remember correctly. Honeymoon in week time :)

Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2
[Samsung Galaxy S II Plus] mchtt:
if you need kind of a tester, i'm already runing CM 10.1 from 11 05 2013, i want to help fixing the missing vibrate function...
[Samsung Galaxy S II Plus] s2+user:
Set up a github account and started with kernel tree. You can find it @ https://github.com/s2plus/android_kernel_samsung_galaxys2plus

To sum it up:

- imported Linux Kernel source 3.0.31

- applied Kernel source from http://opensource.samsung.com (Version XXALLA)

- patched to Version XXAMB1 (skullface imported SWA which includes other changes but I haven't patched it yet because there is no version number) -> maybe a branch should be created for it if someone wants to test

- added three commits from pawitp (Send a uevent when governor changes / bluetooth fix and enable support for bluedroid)

- skipped mmc (after reading it shouldn't affect us) and usb gadget patch (don't know what impact it has)

Going to bed now :laugh:

Next step will be the device tree
[Samsung Galaxy S II Plus] s2+user:
I'm stuck at creating the device tree for both devices and started a topic @ CyanogenMod forum. Maybe someone here could answer the question?
[Samsung Galaxy S II Plus] s2+user:
Device tree for GT-I9105 @ Github is ready - yet untested (I don't own the device, have the NFC variant) :highfive:

Started from scratch and copied most of the files from stock rom of GT-I9105. Then I tried to follow code changes from pawitp, skullface and panda00 as much as I could. But I'm unsure about some code changes and haven't applied them yet. The missing changes from pawitp are (and therefor these things may not work):

- use of overlay templates (commit)

- recovery.fstab is a bit different

- MTP mode for USB (commit)

- own ril-daemon service (commit)

- compile kernel from source (I skip that for now and use stock kernel)

- bluetooth was updated (commit)

- unnecessary blobs were removed and several things were cleaned up

- wifi direct (commit)

Now I will begin to finish device tree for GT-I9105P. After that a new thread for unofficial version of CyanogenMod will be started (skullface's thread got closed), a version per device will be uploaded and everything has to be tested :eek:

Hopefully we will find solutions to fix bugs. I started a poll about which device you own.
[Samsung Galaxy S II Plus] panda00:
It's great that you're considering both variants, but releasing untested versions is well.. you know

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] OurJerry:
This is such good news, I can't wait !!

with the previous version I had trouble with calling > the radio ril.

I am here to test it, it's a beautiful rom <3 I love it !!
[Samsung Galaxy S II Plus] daruu92:
Panda, I think they have to release it and specify it's an early build and that there may be errors :D. That way we can test it and report issues :)

I'm actually using skullface's build. Why don't you continue his work instead of doing it all from scratch? Everything works except NFC and vibration... and it's very smooth and stable :(
[Samsung Galaxy S II Plus] s2+user:
I wanted to know how to port CM to a device from scratch. And also wanted to offer a build for both models (without doing all twice) :D

Galaxy Grand / Galaxy Grand Duos share the same board platform with our models but there are differences between them. And instead of fiddling out if everything different for our phone is included I decided to start fresh. Nevertheless the work of pawitp, skullface and panda00 helped a lot (because I'm not a developer) and we have to be thankful for it :good:
[Samsung Galaxy S II Plus] s2+user:
- updated device trees to include common stuff that both devices share

Now I have some more questions to our gurus :)

At http://wiki.cyanogenmod.org/w/Doc:_porting_intro it is recommended to start with recovery. The command "make recoveryimage" doesn't work yet because nothing was added in config files - I will try to do that later on. Should that command build CWM recovery like the one k2wl provided or like it could be created with http://builder.clockworkmod.com?
[Samsung Galaxy S II Plus] panda00:
It will just build CWM based on the recovery.fstab you provide.

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] ptothej:
How things are going with building up the device tree ? :)

Have you managed to compile CM without any errors ?

Feel free to ask if you require some testing or something like that :)
[Samsung Galaxy S II Plus] Brian_SGW_CM9:
Developers:

if you need a tester, find me :)
[Samsung Galaxy S II Plus] panda00:
[MENTION=5273752]s2+user[/MENTION] or [MENTION=4796939]ptothej[/MENTION]

Start a new [DEV] thread in the general section for your development purposes and for posting progress, and to attain help from the members when required, and have it moved over to the development section when the project materializes and you have a working ROM. Just an advice.
[Samsung Galaxy S II Plus] s2+user:
Device trees are setup but I'm sure not everything will work :(

I found so much different things / settings between devices and it confuses me :D

But the device trees compiled without errors - haven't updated CM sources lately. What about your CM build?

Anyone knows if CWM by chotu had in- and external support?
[Samsung Galaxy S II Plus] panda00:
CWM by chotu was external sd only

Sent from my GT-I9105P

---------- Post added at 04:59 PM ---------- Previous post was at 04:52 PM ----------

Quick question [MENTION=5273752]s2+user[/MENTION]

What are the specs of your computer and how long does it take to compile a CM build?
[Samsung Galaxy S II Plus] s2+user:
I have Core 2 Duo E2220 @ 2.4 GHz and 4 GB RAM using Debian Wheezy. I don't know how long it took, I started cleaning up and rebuilding (taking time) - don't use ccache. So I can tell you later how long it took :)
[Samsung Galaxy S II Plus] panda00:
I'm running Dual Core @ 2.5 ... but the biggest setback is my pathetic RAM, which is 2GB (gonna use swap though)... just want to know if it would take long or not...:)

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] ptothej:
It will take some time approx 2-3 hours :), Im on dual core 2,1GB and 8GB of ram no swap partition ubuntu 13 no cache when building
[Samsung Galaxy S II Plus] warface123:
Intel Core I7 extreme gamer edition

32 gb of ram 4 tb harddrives

6 gb videocards.

Nice huh :dualbooting windows 7 &8

And ubuntu 13 :) .
[Samsung Galaxy S II Plus] panda00:
That's great but sort of an overkill :D

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] warface123:
I also game alot :D
[Samsung Galaxy S II Plus] s2+user:
after 'make clobber'

real 204m28.171s

user 339m24.649s

sys 22m59.962s
[Samsung Galaxy S II Plus] doctor_droid:
32gb ram?? 6gb video cards?

Wtf man... This is pure awesome... And what abt price.? $3000 ???
[Samsung Galaxy S II Plus] warface123:
3500 $ ;) :)
[Samsung Galaxy S II Plus] s2+user:
Device trees were updated - thanks to [MENTION=4796939]ptothej[/MENTION] who found out that not everything of the common stuff was copied into image which led to bootloop :eek:

So what to do next? Upload an update.zip of recovery image for both devices that it can be tested (working touch / keys and internal / external sdcard)? And if recovery image works (saw that keys from stock rom is different) build CM from latest sources and start playing to get important stuff working?
[Samsung Galaxy S II Plus] ptothej:
I can start the build to see what's working, but the last time i've tried to build, I ended up stuck on Samsung Galaxy S2 plus screen.

Will start compiling the build anyway :),
[Samsung Galaxy S II Plus] panda00:
If you didn't even reach the bootanimation, check the size of your zip it should be ~180MB
[Samsung Galaxy S II Plus] ptothej:
The size is around 180 MB 179 MB to be precise.
[Samsung Galaxy S II Plus] :
Is there anything that I can do to help?

Because I know how hard it is to build a Custom Rom. You guys earn my Respect.

:thumbup:

Gesendet von meinem GT-I9105P
[Samsung Galaxy S II Plus] OurJerry:
[MENTION=4796939]ptothej[/MENTION] so did you build it?
[Samsung Galaxy S II Plus] ptothej:
Yes i did, but after flashing phone gets stuck on first screen, tried few basebands as well still no luck.

I know that another sgs2 + user xgrzenio has tried to build CM and he ended up with the same result as me.

We've also tested the kernel and its working fine so it's got to be the device files from github.

I will lool into that when back from my honeymoon. In the meantime s2+user hopefully will finish the device tree on github.

Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2
[Samsung Galaxy S II Plus] panda00:
Did you extract the proprietary files from your device?

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] ptothej:
Yes i did that

Wysyłane z mojego GT-I9105P za pomocą Tapatalk 2
[Samsung Galaxy S II Plus] s2+user:
So latest version still doesn't work? Did you clone both device trees?
[Samsung Galaxy S II Plus] ptothej:
Both one for i9105 and other for i9105P, and still phone got stuck :(
[Samsung Galaxy S II Plus] s2+user:
Tried recovery image and it's working. So onto the next step :)
[Samsung Galaxy S II Plus] ptothej:
Glad to hear that something is actually working :)

I won't be able to help for a week or so as i'm going on my honeymoon :)
[Samsung Galaxy S II Plus] :
Have a nice honeymoon! :D

Gesendet von meinem GT-I9105P
[Samsung Galaxy S II Plus] s2+user:
Found out what went wrong :victory:

Now it boots :)

Enjoy your honeymoon :highfive:
[Samsung Galaxy S II Plus] panda00:
So what works and what not?

Sent from my GT-I9105P
[Samsung Galaxy S II Plus] s2+user:
Generally everything should work that worked on skullface's build (except the stuff I didn't include from pawitp or him yet). But I didn't had the time to test anything yet. I read through the whole CM thread and some people had several problems:

- no mobile data

- network problem (switch airplane mode on/off sometimes help)

- compass not working

- camera app closed while trying to make more then one shot (using flash)

- adding calc widget caused it to stay on all homescreens

- no vibration

- problems with phone calls / operator network

- no sms alert sound or sound in general

I don't know if some problems were fixed with newer CM sourcecode or if starting from scratch will fix some hardware problems. We will see ;)

Have to check stuff before I update github and have to revert to stock today to be ready for a new business week.
[Samsung Galaxy S II Plus] s2+user:
Is it normal on CM to enter APN manually?
[Samsung Galaxy S II Plus] mchtt:
It is common ;)
[Samsung Galaxy S II Plus] mchtt:
Those are known issues. Wait gently for the dev to fix this
[Samsung Galaxy S II Plus] ptothej:
Hi S2+user for the vibration can you check the solution i've provided in here http://xdaforums.com/showthread.php?t=2274495&page=11

I'm not able to build CM on my machine anymore (lack of free time) but will provide as much help as i can.
[Samsung Galaxy S II Plus] mchtt:
if your talking about the "cm-10.1-20130522-UNOFFICIAL-i9105P.zip" rom my phone can't past the lockscreen the touchscreen don't works ! ! !
[Samsung Galaxy S II Plus] ptothej:
I was pointing to a solution for vibration to work as this is still an issue. I'm not aware of any problems with lockscreen, well now I am :).

However this needs to be pointed to s2+user who's working on the build.
[Samsung Galaxy S II Plus] nickchk:
:highfive::good:
[Samsung Galaxy S II Plus] KINGbabasula:
I may help you :). Can you give github link of device and kernel? And i can build in 10 minutes only so no problems of time
[Samsung Galaxy S II Plus] s2+user:
Hi KINGbabasula,

the initial work was done by skullface (who used the work from pawitp) and panda00. You can find skullface github device at https://github.com/skullface1/android_device_samsung_i9105 and kernel at https://github.com/skullface1/android_kernel_samsung_i9105. Because he didn't own the device he gave up developing, cm 10.1 thread is closed and can be found at http://xdaforums.com/showthread.php?t=2274495. CM 10.1 did start but more work has to be done.

I tried to start clean but haven't finished (and I'm no developer). Unfinished parts can be found at https://github.com/s2plus (haven't updated github stuff, so it is not working (bootloop)).
[Samsung Galaxy S II Plus] KINGbabasula:
Thank you very much :) . Now as i don't own a I9105 (or P) i need a logcat to know what are the things missing. Please do this (or i can't help you):

1.Flash cm

2.Switch off the device

3.Open a terminal in the adb folder and run this: adb logcat > logcat.txt

4.Boot the device

5.Try to reproduce the bugs. Like start nfc (probably it will force close but in logcat will be wrote the name of the thing missing to load nfc)

6.Upload the logcat and give me link

Please do this if you want a working cm. If not i can't help you
[Samsung Galaxy S II Plus] :
I install the cm10 from skullface and worked good. Only Vibration don't work. The NFC Button i don't find but Bluetooth work also. Do you need a logcat only from "sg2+" Users build? Or is it helpful when i post logcat from skullfaces build?

Thanks for your help!
[Samsung Galaxy S II Plus] KINGbabasula:
Yes take a logcat reproducing bugs with the skullface build or i won't be abl to fix bugs
[Samsung Galaxy S II Plus] yashuperia:
Can't call to send msg....

When I try to call it says "turn off airplane mode"

Log cat http://db.tt/35CTCuQr
[Samsung Galaxy S II Plus] KINGbabasula:
Thank you i need a little logcat while enabling nfc too but tomorrow i will try to apply a ril fix