yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] JustArchi:
For booting a kernel you need to take stock kernel, diff changes done in 4.3 -> 4.4.2 in Note2, and apply them on your ramdisk.

Don't forget that you need original cbd binary and modules from stock kernel.

Then you need some stock blobs to make things work.

gpsd

gps.default.so

sensors.smdk4x12.so

libakm.so

libsgcc.so

libfactoryutil.so

libomission_avoidance.so

I highly suggest taking a look at my github, because I created a repo when ROM wasn't even booting, and then made it work.
[Galaxy S II Android Development] Caproid:
Thanks a lot [MENTION=5161352]JustArchi[/MENTION] need to edit a little the kernel and about the libs... I have already included them as well as edited framework and changed some files in etc folder
[Galaxy S II Android Development] Caproid:
Reached 510 mb ROM :)
[Galaxy S II Android Development] rphlfjrd:
:good::good::good: Please upload on more reliable server(Mediafire, Devhost, etc). Mega is slow on some regions(such as the Philippines). Thanks for the patience and hardwork!
[Galaxy S II Android Development] Shillopellos9:
This is amazing! Great work.hope it goes stable :D
[Galaxy S II Android Development] Vivek_Neel:
done...Made four zips for testing..

Hopefully one boots successfully..:finger-crossed:

Am sorry if rom does not boot..i gave my best..been working today for many hours:(:(

I should get my fruit..:)

*Unpacked note2 ported kernel

*Modified ramdisk (including cbd binary from system/sbin )..its s2 binary..:)

*Repacked with s2 zlmage

*Used [MENTION=5161352]JustArchi[/MENTION] kitchen for building rom..

I have ended up with the below..

But i dont have s2 anymore to test the zips..only when my brother comes at night..i can..will be testing it very soon..

Keep u updating guys..exam finised.:D
[Galaxy S II Android Development] JustArchi:
You didn't use ArchiKitchen, you used dsixda's kitchen :p.
[Galaxy S II Android Development] Vivek_Neel:
Oh.

I see its wip.

Set up working folder..(thought I used yours)

Anyways I have seen the updater-script and I changed it accordingly.:)
[Galaxy S II Android Development] Troubadour666:
hi,

what i have done in attachements.

i re-arrange zip system/priv-app/ folder and add a new symlink file in /Caproid.

i have no time to test it tonigh but i upload changement in zip attachments that you can use to replace in your original zip and test.

- please, to use, extract somewhere on PC, the all stuff in /system/priv-app/*.apk folder contents and re-imput it in root of zip like in image.

you can make some "deletation" too in /system/ folder of zip to gain more space with unecessary files i show you can delete i think.

thanks.

edit : I extracted /priv-app/ from zip in /data/sec_data/ mounted and I symlinked /data/sec_data/ folder *.apk to /system/priv-app/ and i keep preload folder flash like usual.
[Galaxy S II Android Development] Caproid:
Thanks [MENTION=5022494]Vivek_Neel[/MENTION]:D

Send me the links to put them ib OP. Right now I can only study :" Last minute studying :(
[Galaxy S II Android Development] natalya:
You guys should be using a stock deodexed note2 rom, not a custom stock rom like omega. Just my take on it.

Sent from my GT-I9100
[Galaxy S II Android Development] v418h4v:
Its good to hear that we are making progress, i just hope other devs could come and help us :)
[Galaxy S II Android Development] Caproid:
The note 2 omega is note so different . it' like stock deodexed.. And I took out Omega specific apps
[Galaxy S II Android Development] Vivek_Neel:
GOOD NEWS

Got the bootanimation.:laugh:

Some sort of success.

Good night all..its late night here...2 pm..:(

i wont give up till i get the homescreen..:D
[Galaxy S II Android Development] Christian Nothing:
sometimes around mid july i'll be available with an device and the time to continue modding for this device , but until then i'll only be a silent watcher and hope that someone who knows kernel knowledge better than me might help you guys :good::cool:

---------- Post added at 11:12 PM ---------- Previous post was at 11:10 PM ----------

oi Vk great job , hope you'll succeed further making it boot up :good:
[Galaxy S II Android Development] Alucard:
I really like that even after buying lg g2 u will continiue to help us thanks man!
[Galaxy S II Android Development] scorpion.hbs:
Great news.

thanks man.

good luck.:good:
[Galaxy S II Android Development] Dr AM:
Wow amazing

Can't wait to see homescreen :D

Sent from my GT-I9100 - AOSB 4.4.2
[Galaxy S II Android Development] tutangigi:
Wow, i'd really like to help but now i don't own an s2 anymore so i can't dev for it.

Thanks for the mention anyway, and congrats to all the devs involved in this problem for giving hope to this phone support ;)
[Galaxy S II Android Development] rrgrrg:
Good job keep it up vivik :D :) ... seems you guys will piss off samsung stupid lazy devs ;) :D
[Galaxy S II Android Development] Alucard:
They are not lazy they are amazing but samsung is trying to make us buy newer phones,although i would never believe that samsung wouldnt update s3 to kitkat,that WAS really crazy,anyways,if u guys make it work,that would be awesome,but if u did make it to boot could then be possible that many things would naver work on s2 like bluetooth or camera battery drain?
[Galaxy S II Android Development] nik60:
hi,all

i modified...... updater-script from archiport s3 for s2-seems work ,after installation with TWRP recovery i have CWM recovery

some apps moved from priv_app to preload/symlink/system/app

no boot ....but i tink now we need kernel
[Galaxy S II Android Development] Caproid:
Probably I need to recompile the rom from scratch and use the new kernel and updater script and We can get a bootable version . We got the bootanim so it must be an error is some files. :)
[Galaxy S II Android Development] vkevin16:
What lcd density is this?

Looking at this picture, just wondering what the lcd density is because in the build.prop it is 320. Or is it something to do with the timing of the picture you have taken as we can't see the whole omega droid in the pic.
[Galaxy S II Android Development] Vivek_Neel:
I made four zips.

One of them was made from scratch. . (Which was booted)

Build.prop is fine and I forgot to resize the bootanimation for our phone resolution.

In desc.txt

It should be 320*480 if I remember correctly.

Anyways just woke up ..time to start working.

Lets c what Saturday brings:D
[Galaxy S II Android Development] vkevin16:
+1
[Galaxy S II Android Development] Caproid:
Hey mate,

Great job, it only has bootloop,right?
[Galaxy S II Android Development] rrgrrg:
Which means they are lazy to port it correctly and stupid to cancel the update :silly:
[Galaxy S II Android Development] natalya:
[MENTION=5022494]Vivek_Neel[/MENTION] adb a logcat to see what prevents it from booting. Share the log and we will look into it too :)
[Galaxy S II Android Development] Caproid:
Bluetooth can't have any problem :) I changed the files from I9100... It shouldn't be any problem with camera :) . But battery drain can be a problem. We will see today, because Vivek is very good and I can say that it will succesfully but to homescreen :victory:
[Galaxy S II Android Development] Hopper8:
Ours should be 480*800 for S2... well that's the screen resolution in any case for i9100 :) Nice work getting the bootanimation :) care to share an adb logcat so we can have a look?
[Galaxy S II Android Development] Troubadour666:
I made this one, i someone want to try, i boot my neatrom 4.4.2 with it.

i resized all images 480x800.

[YOUTUBE]dXyJvHAXeWI[/YOUTUBE]

thanks.
[Galaxy S II Android Development] Hopper8:
Cool. I think [MENTION=5022494]Vivek_Neel[/MENTION] will still need to modify build.prop in addition to adding that, or everything else will be miles out of proportion ;)
[Galaxy S II Android Development] Troubadour666:
sure , from 1rst release i downloaded except v1b :) , in build.prop is set to 320. if not set to 240 max for our precious, it will never boot.
[Galaxy S II Android Development] Vivek_Neel:
Already I have said that there is nothing to be changed it build.prop ...its done..

Now bootanimation ain't a big problem.

There are more commits to be applied :(

Its Not a easy to port 4.4.2 to 4.1.2

Will upload the boot.img later

In case if anybody wants to see .

Check my commits

My old name is corruptionfreeindia :D

https://github.com/corruptionfreein...mmit/b1966a09744525b9fd1c26b729f70bcf61fe9da4
[Galaxy S II Android Development] v418h4v:
You are doing a great job Vivek keep it up! :D
[Galaxy S II Android Development] WildfireDEV:
If you could get me the logcat I would like to take a look at it. If it is getting to the boot animation it is more likely for it to be something on the file side of things rather than the ramdisk or kernel.
[Galaxy S II Android Development] Vivek_Neel:
Yes.

Btw my monitor does not detect my device id..to grab a logcat.

Looks like need to update my adb.
[Galaxy S II Android Development] phenomarc:
I use Virtuous Ten Studio to mod and make logcats is easy with it.
[Galaxy S II Android Development] v418h4v:
Well its good to hear that we have actually got the bootanimation :D
[Galaxy S II Android Development] Vivek_Neel:
Very happy to see you guys are not asking for ETA.

Good good.

And keeping this thread clean.

Remember am porting 4.4.2 keeping 4.1.2 as base.

That's more difficult.. Will take more time.

Either it can be successful or unsuccessful.
[Galaxy S II Android Development] Caproid:
Umm... why not porting 4.4.2 using CM11 base :) But [MENTION=5022494]Vivek_Neel[/MENTION] looking forward to seeing this done. Btw, that semi-bootable version was 4.4.2 port on 4.1.2 base? The one with the bootanimation showing
[Galaxy S II Android Development] Vivek_Neel:
ROM does not boot with cm11 base..:/

Always presented with black screen.

Bootable version which I have now is modified very well.

Yet god is not helping me to get the homesreen :(

If I had dev like justarchi..then it would have done ..
[Galaxy S II Android Development] Caproid:
Can you send me a zip of the rom. I will look to it
[Galaxy S II Android Development] Vivek_Neel:
Check pm
[Galaxy S II Android Development] JustArchi:
First of all, download my ArchiKitchen and not dsixda's kitchen.

Then, open it, create a new bare bones project, exit.

Take your latest boot.img from your device (4.1.2?), put in ArchiKitchen/PROJECT_*/

Open ArchiKitchen again, load existing project, write "ku" to unpack the kernel. Exit kitchen.

At this stage you should have ArchiKitchen/PROJECT_*/kernel and ArchiKitchen/PROJECT_*/kernel/ramdisk folders.

Rename ArchiKitchen/PROJECT_*/kernel to ArchiKitchen/PROJECT_*/kernelSTOCK

Now take 4.4.2 boot.img, put in the project, launch kitchen again, and write "ku" again.

At this stage you have 2 folders - kernel and kernelSTOCK.

Take zImage from kernelSTOCK and put in kernel.

Now take a look at partition layout.

https://github.com/ameer1234567890/...ter/part_layouts/raw/partlayout4nandroid.t03g

https://github.com/ameer1234567890/...part_layouts/raw/partlayout4nandroid.GT-I9100

Now from kernel/ramdisk folder, edit all text files (such as fstab, init.rc, init.smdk4x12.rc etc) and edit blocks to proper ones.

Based on partition layout, here are the changes you need to do:

mmcblk0p10 -> mmcblk0p8

mmcblk0p12 -> mmcblk0p7

mmcblk0p13 -> mmcblk0p9

mmcblk0p14 -> mmcblk0p12

(And these are not all, check for the rest. You need to edit ALL blocks)

Now open ArchiKitchen again, type "kr" to kernel repack, and here is your brand new boot.img, save it.

Now put proper system.img (from port) and boot.img (modified) in base_drops, create new project with ArchiKitchen, this time image-based. Put YOUR KERNEL BLOCK PATH when ArchiKitchen asks you for doing so. Then when project is ready - debloat it (this is important) using either my list or romcleaner's one. Add root and busybox, build it. Now you have PROJECT_*.zip.

Now MAKE SURE THAT:

1. You have your custom boot.img with S2 zImage and proper blocks, if you don't, you may even brick your device.

2. You have proper kernel block at the bottom of updater-script in your PROJECT_*.zip

If above two points are OK, full wipe and flash. And hope for the best, if you did it properly and your device can handle kitkat, it will boot. Without network and major stuff, but it should at least boot.
[Galaxy S II Android Development] Vivek_Neel:
Thank u so much.

As u already said..me to modify init.rc and other files in ramdisk...( I did)

Mount points are ok.

Only I need to use your kitchen.

Let's c.

:)

Edit:

How were u able to grab a logcat mate when the rom was not booting.

Adb is not enabled.

?:confused:
[Galaxy S II Android Development] phenomarc:
It not creates a logcat in sd, or only when bootloops?
[Galaxy S II Android Development] JustArchi:
If you enable ArchiDroid Init.d in ArchiKitchen, then you can create a script such as:

#!/system/bin/sh
logcat > /sdcard/logcat.txt
exit 0

Then, after bootloop you can go to recovery and check content of this file, or even send it to your PC.
[Galaxy S II Android Development] Vivek_Neel:
Ok.

Am setting up Archi kitchen:cool:

Let's have some fun with it.

Thanks.:)
[Galaxy S II Android Development] phenomarc:
Right. But when I'm making a mod and I get FC or bootloop, it makes a logcat in the internal memory. That's why I'm asking this.

Thanks for the tip. BTW, I use VTS to make logcats, because it's more easy to find the errors (in RED).
[Galaxy S II Android Development] gerryS2:
[MENTION=5161352]JustArchi[/MENTION], Hi for solve the problem of the network, I can use and flash the modem of 4.1.2 on 4.4.2 porting rom?
[Galaxy S II Android Development] JustArchi:
Network is connected with:

1. cbd binary from the kernel, this is what reads the modem

2. RIL - libsec-ril.so, rild binary etc.
[Galaxy S II Android Development] Troubadour666:
my personal v1 release with my updater-script and my symlinks scritps.

need to be adapt for some who want to try.

its "black screen" version.

Personal-OrmusRomV1b.zip - 473.18 MB

thanks.
[Galaxy S II Android Development] Caproid:
OP updated with new [MENTION=4775725]Troubadour666[/MENTION] version
[Galaxy S II Android Development] Hopper8:
Just a suggestion, maybe put in big red letters in the OP that it will not boot and currently shows a black screen. That'll hopefully stop a few surprised users when their 4.4.2 touchwiz doesn't boot up like they expect ;)
[Galaxy S II Android Development] Troubadour666:
absolutly right

and for all, if you succes to boot my version, let us know :)

please dont flash my test personal version again

i see that there are some corrected things i have to add before flash. s***t !

in attachments, little pach to add/replace in my personal test version before flash

i will upload corrected version now, sorry for bad version [MENTION=5207064]Caproid[/MENTION] , remove from OP , i post good version pached soon. sory guys.
[Galaxy S II Android Development] Caproid:
Ok...send me on PM
[Galaxy S II Android Development] LeandritoG:
I am proud of you guys. :fingers-crossed:
[Galaxy S II Android Development] ipapun4545:
Hope we get it boot :) Keep up the good work :)
[Galaxy S II Android Development] ssanyi:
Hi! I saw that you talked about the LCD density. Could it be a problem that you set the density to a certain level, that some system apps (included in the zip) can't handle and this causes bootloop issue?

Once I tried lowering the density on a stock-based custom rom (without changing any apps), and this caused me bootloop. So this is just a simple example, maybe it can be useful. :)

Regards!
[Galaxy S II Android Development] Caproid:
Yes... this can be the problem... I need to look in Omega features, if it has Multi dpi :D
[Galaxy S II Android Development] Vivek_Neel:
[MENTION=5161352]JustArchi[/MENTION] how long will it take to complete "Standard system utilities"

Its going on still..
[Galaxy S II Android Development] JustArchi:
No clue what you're talking about.
[Galaxy S II Android Development] Vivek_Neel:
About the installation of debian mate.
[Galaxy S II Android Development] JustArchi:
Still...
[Galaxy S II Android Development] gerryS2:
[MENTION=5161352]JustArchi[/MENTION], I have a problem, the firmware 4.1.2 it haven't a boot.img but have a boot.bin and a zimage, how I can create a boot.img with this two file?
[Galaxy S II Android Development] JustArchi:
Since when I became a support for a device I don't own?
[Galaxy S II Android Development] ssanyi:
I think if the systemui.apk and settings have correct dpi the ROM will boot, and this is what really matters, you don't have to care about the bunch of FC's from the other apps for the first time.

I am not a developer, so this is just an opinion again... :D
[Galaxy S II Android Development] Troubadour666:
i decompiled 3 systemui.apk , let see the result in attachments.

thanks.
[Galaxy S II Android Development] Caproid:
Could be , but even if you mess up SystemUI.apk in any Rom and you reboot, the only problem will be a SystemUI.apk FC
[Galaxy S II Android Development] gerryS2:
First of all thank you for the support you are giving us on this port, then sorry if I'm making believe that you are becoming a support for a device that does not have. I just asked a question on the decomposition of the kernel using the boot.img and your tool. Sorry if I disturbed
[Galaxy S II Android Development] Junaid1460:
hey

.im trying to port tw kk from your github source for gt n7000 note 1

i have problem with surface flinger and other

attached logcat below
[Galaxy S II Android Development] Caproid:
Found this guide when looking in Sense port in N5 forum.

HERE:

Go into the ramdisk on both and go into init.rc

THE MOST IMPORTANT PART IN THIS (THE MATTER OF BOOT AND BOOTLOOP) IS THE LINE

"export BOOTCLASSPATH" near the top. It will have a bunch of lines after it. Now in the Base's boot.img, delete this whole line. Replace it with the lines from Sense's boot.img.

Now you can add anything else you want that looks like it belongs (preferably anything sense related)

Don't recompile the boot.img yet.

Now we add a2sd. To do this, just follow this guide (https://www.facebook.com/note.php?no...58823170833688)

The only thing you do in there is the edits to the init.rc, don't listen to the decompiling/recompiling mentions. Now you can go back into the menu for the kitchen and recompile the boot.img (action key - "b"). Now don't compile the WHOLE ROM, just take the new boot.img in working_** and put it into the Sense zip.
[Galaxy S II Android Development] Junaid1460:
yeah for sure BOOTCLASSPATH maps to your system bootsrap

/system/framework/

before that we need to initialise graphics

to get bootanimation in this port we need to have

a working surface flinger ...

is there any way to fix surface flinger issue

surfaceflinger is located in

/system/bin/surfaceflinger

/system/lib/libsurfaceflinger.so

in my logcat whenever the bootanimation try to load

surface flinger crashes so im not getting bootanimation
[Galaxy S II Android Development] rphlfjrd:
Can't open Facebook link.
[Galaxy S II Android Development] Caproid:
Didn't find anything about surfaceflinger,but [MENTION=5022494]Vivek_Neel[/MENTION] got the bootanimation :D and I think that little guide is good for our problem :)
[Galaxy S II Android Development] Junaid1460:
yeah i messaged him to tell us what changes he made

with rom

what bootanimation whether zipped or qmg
[Galaxy S II Android Development] erdal67:
Have you guys tried porting the official firmware? Instead the custom one

Sent from my Samsung Galaxy S²
[Galaxy S II Android Development] Vivek_Neel:
Hi there.

Sorry for the late reply.. Been bit busy on other projects.

You have to follow this guide http://xdaforums.com/showthread.php?t=2245786

And justarchi github.

Use the surfaceflinger of your device
[Galaxy S II Android Development] matias6142:
yes this is idea, port oficial 4.4.2 :cowboy:
[Galaxy S II Android Development] Shillopellos9:
I think they are porting omega rom, instead of omega rom he means to port official stock image 4.4.2 of sammy
[Galaxy S II Android Development] matias6142:
It does not matter if Omega, Sammy, etc. it is important that the work be done on the basis of KK Stock 4.4.2 :p
[Galaxy S II Android Development] Junaid1460:
thanks but if im using surface flinger from mine one

the rom does not even boot
[Galaxy S II Android Development] rahulbrand:
According To this tutorial there is a base rom and a port rom..In this project which is base* and which is port ???
[Galaxy S II Android Development] Mr_S:
S2 android 4.1 is the base. Omega rom is the port
[Galaxy S II Android Development] Junaid1460:
which omega atleast give a link
[Galaxy S II Android Development] Mr_S:
I'm not involved in this so am not sure. I just read the thread.
[Galaxy S II Android Development] Mettafox:
Is the Omega ROM from Note 2.
[Galaxy S II Android Development] Ganjax:
any progress?
[Galaxy S II Android Development] Dr AM:
+1 yes anything new !?

Sent from my GT-I9100 - AICP 4.4.3
[Galaxy S II Android Development] Caproid:
Guys, this is one of the hardest projects, don't ask for eta :D
[Galaxy S II Android Development] Ganjax:
i dont asked for ETA, just asked about progress, it stop, any chances for working? NO ETA BRO
[Galaxy S II Android Development] erdal67:
I think they would announce if they made some progress[emoji4]...

Verstuurd vanaf mijn GT-I9100 met Tapatalk
[Galaxy S II Android Development] rahulbrand:
If porting note 2 is not possible then try to port new galaxy ace style 4.4.2 rom ..itz about500mb light and smooth...Here is the system dump if you are interested you can try...I would love to work on it but im not a dev

Here is the link

http://www.androidfilehost.com/?fid=23501681358546721
[Galaxy S II Android Development] Junaid1460:
its nearly impossible

broadcom to exynos there is a lot difference

please calm

i reached almost close

just need to edit framework.jar

and framework2.jar to make framework native to runtime

taking dvm from port may solve this
[Galaxy S II Android Development] rahulbrand:
Good luck bro ..Hopes it will boot ..Btw when u will upload the rom ??
[Galaxy S II Android Development] Loay209:
hi iam new to this topic can any one tall me can i flash it now or it will not work becouse you typed in the fist post you will see black screen

thanks for reading
[Galaxy S II Android Development] mauriicio21:
Rom doesnt boot, just read

Enviado de meu GT-I9100 usando Tapatalk
[Galaxy S II Android Development] Loay209:
i have asked becouse in first post there's a download link for the fix does the fix work
[Galaxy S II Android Development] Caproid:
Its a updater-script fix :D
[Galaxy S II Android Development] Junaid1460:
CURRENTLY IM WORKIBG ON NOTE 1

BUT I HAVE S2 ALSO

WELL NOW IM PAUSING MY WORK

BECAUSE OF EXAMS for 10 days
[Galaxy S II Android Development] homeboy1956:
Good luck for the exams, :fingers-crossed::fingers-crossed::fingers-crossed:
[Galaxy S II Android Development] Junaid1460:
please dont use preload while testing it will make a bit hard

instead u can delete libs which not needed for boot

like google earth lib

or facelock .face recorg

and apps like ime,allshare,accuwhether,gallery,mms,

folders like /system/tts which approaximately 90mb

this way you can shrink the rom

once your rom boot you can add them with preload

before doing this please debloat once with archkitchen
[Galaxy S II Android Development] Caproid:
It is debloated.. And some libs were removed :)
[Galaxy S II Android Development] wellaflex:
Today tab 3 8.0 have 4.4.2...Kernel is make for exynos 4212..you can edit this for boot i thing :D
[Galaxy S II Android Development] NoteboyTech:
Well, here is the link for the firmware. Of tab 3 4.4.2

http://www.sammobile.com/firmwares/3/?download=31032