yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Android Development] Troubadour666:
[MENTION=4217277]Gustavo_s[/MENTION] reply today (PM i sent him to help us , at begining of project) :

" I'm not sure what could be the problem, it could be anything, he could be targeting 4212 board (i9300) when compiling the kernel instead of 4210 board (i9100), could be using proprietary blobs designed for smdk4212 phones, could be trying to install the pre-compiled stock kernel from another device.

I think they ported the note 2 stock rom to galaxy s3, these phones have many things in common, can't say the same about i9100.

If the problem is kernel related they will have to build a proper i9100 kernel:

source: https://github.com/CyanogenMod/android_kernel_samsung_smdk4412

defconfig: cyanogenmod_i9100_defconfig

and modify ramdisk to boot their rom "

thanks.
[Galaxy S II Android Development] Junaid1460:
thanks for info ill try to modify kernel further..:):):)
[Galaxy S II Android Development] v418h4v:
is this rom discontinued?? :crying:
[Galaxy S II Android Development] Coempi:
WIP = Work In PROGRESS!!! Wait!!

Best regards, Coempi
[Galaxy S II Android Development] v418h4v:
I didnt mean to be rude :crying: i thought that the best project devs worked on is stopped :(
[Galaxy S II Android Development] Coempi:
No, it's just takes a lot of time. Let's cross our fingers!

Best regards, Coempi
[Galaxy S II Android Development] Vivek_Neel:
No my friend.

Just lack of time.

Very personal issues I have right now.. Should be OK with in two days
[Galaxy S II Android Development] Coempi:
Take your time.

Best regards, Coempi
[Galaxy S II Android Development] Caproid:
Hey mate, it's not discontinued, it's very hard to edit the kernel :D It's a WIP and it takes a lot of time ?
[Galaxy S II Android Development] Junaid1460:
+1

because whenever we change some args

some other problems are generated

we need to go one by one to fix them
[Galaxy S II Android Development] gerryS2:
Hello everyone, I tried to change a parameter of the build.prop (ro.build.version.sdk), and I replaced the value of 16 (4.1.2) with 19 (4.4.2)

to install an application (Gear 2.0) that was not recognized by jellybean. After reboot and change value in build.prop, this application was recognized and so I have been able to install without problems. The only FC that there was the google apps like Google Play Store and Services and SuperSU. With this, I thought that there is no need to redo the boot.img, but you can try to copy or replace some things in the system (like app, etc, lib, framework folder) folder, you must first edit the build.prop to make it equal to that of the note 2. For the kernel and recovery, you can use the ones that were built for the cyanogen.

P.S.This is just an idea for now, I would like your opinion or advice on what to do ;)
[Galaxy S II Android Development] sukhi.priceless:
nice idea bt i dont think this gonna work :(

i hope it will help to remove WIP from main title :D
[Galaxy S II Android Development] Caproid:
You can't change the build.prop to match the N2 one.. it won't boot. All necessary for booting files were changed...
[Galaxy S II Android Development] Ganjax:
I dont understand, you can't edit kernel, if on forum are actually 15+ modifed kerneles? what about dorimanx, gustavos, philz? they opened it, and u can't?
[Galaxy S II Android Development] Junaid1460:
there's only a better way to edit kernel

unpack your kernel with initramfs tool

get the ramdisk and modify ramdisk from unpacked folder then

in ubuntu archive manager create a cpio archive name it ramdisk

add the modified ramdisk files into archive and exit

get a source source of any cm11 based or a kernel which your base uses

copy ramdisk.cpio into kernel source folder

for compiling use nx kernel build scripts

then compile. after flash

for a confirmation you can unpack zImage and check your ramdisk
[Galaxy S II Android Development] Junaid1460:
for one who want to get logcat on boot

try adding following line in your build.prop

ro.kernel.qemu=1

OR

persist.service.adb.enable=1

Normally this will work with every kernel you use
[Galaxy S II Android Development] smeet.somaiya:
http://xdaforums.com/showthread.php?p=52625240

Everyone check out this guide in the s3 android development on how to port Touchwiz ROM to your device. Hope it helps the developers :)
[Galaxy S II Android Development] Caproid:
Dude, if you would have read the entire thread you would have seen that I said that I used thisbguide combined with another :)
[Galaxy S II Android Development] smeet.somaiya:
Okay. Sorry. My mistake. I haven't read the entire thread. :)
[Galaxy S II Android Development] xda_Noob.:
You have to Build new Kernel to get it boot i think..
[Galaxy S II Android Development] Sami Kabir:
I'm not so sure about that.. I was checking out ArchiPort for the Galaxy S3 and found this screenshot...

Look at the Kernel version.. Its 3.0.31.. I'm using my ROM, which is based on Android 4.1.2 and the custom kernel I am using is also based on 3.0.31.. So that's why I think its not properly booting for some other reason.. Perhaps due to missing, incompatible or "misbehaving" files..

By the way, I am a Galaxy S Advance user. And I too would like to run Samsung's 4.4.2 ROM on my phone :laugh:
[Galaxy S II Android Development] xda_Noob.:
Yeah sure why that is booting on the s3 is because note2 and s3 has got almost same hardware it was hard for the devs to get it boot. If you ask me the stock kernel for the Port is very crapy. JustArchi and the other dev had to fixed very hard things like IRl and so at the beginning of the port even the storage wasnt accessible it needs very active devs to get it more or less work on s2 i dont know if that make sense to port Archiport to s2 that even doesnt run stable on the s3
[Galaxy S II Android Development] Junaid1460:
I had got the rom already booting ..on note ( checkout galaxy note generals)

but still Its most chalenging thing for me..alway thinking why couldn't I

if I won it mean you won ..both devices are siblings..lol :):)
[Galaxy S II Android Development] Caproid:
Lol that's encouraging.. Mate , post some ss .. And tell me how you've made with the kernel :) [MENTION=5022494]Vivek_Neel[/MENTION]
[Galaxy S II Android Development] Junaid1460:
nothing extra added some /dev/video** from stock to cm11 kernel in uventd.smdk4210.rc and bootclass path was already changed by my senior [MENTION=4576973]forest1971[/MENTION] thanks to him

do not try to parse any hwcomposer use the one from tab3 .but it will stuck in bootanimation till dexopt completed , so you have to wait while its stuck . after once hw composer fully loaded it willbstart animation.

i prefer to use /bin/bootanimation from cm because with this you make sure that my device showing bootanimation.

will give a lengthy log.

im in a way to find a prferable solution for this lengthy log

and do not change much libraries it will just give text relocation.and will not work.

any way ..good luck

---------- Post added at 06:20 AM ---------- Previous post was at 06:08 AM ----------

if your ramdisk init.rc is importing init.${ro.hardware}.rc and you have put the smdk4412 init file then it surely wont boot.(i experimented)

donot try do much changes while you are testing. first test should be always with init.rc and init.environ.rc

i mean change boot.classpath and some bootargs .

coming about bootargs ..

these are contained in init.rc take every args after "on boot" from from your port kernel . and remove some feature which will require specific hardware which is not present in your device..

try your best..
[Galaxy S II Android Development] eraser0:
And Cyanogenmod have imported mali drivers from GT-N7100 :) for KK, if that helps :D

http://review.cyanogenmod.org/#/c/66404/
[Galaxy S II Android Development] snow:
There's already blobs for r4p0 :cool:
[Galaxy S II Android Development] fargh123:
any news
[Galaxy S II Android Development] mauriicio21:
Where i found blobs and source from r4p0?
[Galaxy S II Android Development] snow:
Source is here: https://github.com/hardkernel/linux/tree/odroid-3.0.y-android/drivers/media/video/samsung

Blobs are here: https://github.com/codewalkerster/a...mmit/aa495ba4ca8c89660c4dd94fa2d4883c2951e269

;)
[Galaxy S II Android Development] erdal67:
Any News? (no ETA intended![emoji4])
[Galaxy S II Android Development] Ganjax:
wip end?
[Galaxy S II Android Development] Shahan_mik3:
Most probably....
[Galaxy S II Android Development] Caproid:
It may be not, but without help from some great devs, we can't make it bootable..

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

... Here is a good link for anyone who want to try on kernel... Maybe [MENTION=5022494]Vivek_Neel[/MENTION] wants to post his latest version.. The version in which he bootanim appears. :D
[Galaxy S II Android Development] Vivek_Neel:
Whatever I try.

It just did not pass the boot animation.

I will upload the build when am back to home.:)
[Galaxy S II Android Development] Caproid:
Maybe this thing is useful : http://xdaforums.com/showthread.php?t=2455103
[Galaxy S II Android Development] I98:
Hello,

I know that you have a kernel problem, but since the note 2 is xhdpi doesn't that mean that if the rom were bootable most things would be larger than they should be?As for the boot img I tried unpacking it but kept on getting errors.

Thanks
[Galaxy S II Android Development] Caproid:
Tge main thing is to get it bootable.. Then we will fix
[Galaxy S II Android Development] Ganjax:
Can't u edit dorimanx kernel for make it work? There are 3 versions, v8 for stock roms, v9 and v10 for aosp/cm bases, it's possible to complie i think. But i can be wrong.
[Galaxy S II Android Development] PolishVodka:
XHDPI resolution doesn't matter couse everything is scaled to DPI values (for S2 default 240), so everything should be OK.

For kernel - first must be a sure, which changes are needed in ramdisk side. Unpack Note 2 kernel (if u can), and unpack any S2 kernel for 4.4.X for initramfs (this script should do this: https://github.com/davidmroth/Extract-Kernel-Initramfs ).

Than you need to unpack boot.cpio (ramdisk) via command - cpio -id < ../boot.cpio , do a necessary changes and repack again to .cpio archive - find * | cpio -o -H newc | gzip > ../boot.cpio.gz

gzip -d boot.cpio.gz

And now you have initramfs for stock KitKat ROM, but you must now download any kernel source you want for I9100 and build kernel with: CONFIG_INITRAMFS_SOURCE=/directory to initramfs folder on your PC.

Everything you must do on Linux.
[Galaxy S II Android Development] gerryS2:
Hi to all, I have a suggestion to overcome the problem of the boot. Since a while I'm working on a port of 4.2.2 of S2 plus through the insertion of missing methods, classes, and even libraries in the framework folder. For now I managed to bring: TwLauncher, AccuweatherWidget, Calculator, JobManager, MusicPlayer and ecc. . The suggestion is to take a rom 4.4.2 aosp or other and insert the file twframework.jar and twframework-res.apk in framework file. I noticed that the twframework does not need to be declared in the boot, but you must enter a touchwiz.xml file in the folder /system/etc/permissions/ . With this system you can install apps of S5 that require TouchWiz library.

I now do not have time to make this attempt, but if someone wants to can try my idea and let me know if it works. ;)
[Galaxy S II Android Development] I98:
Hello

The boot.img has to be unpacked and modified in order to run properly, but the problem is the boot.img is hard to unpack and I don't know how to do so, if we manage to unpack it,it will be the last step in porting.

Thanks
[Galaxy S II Android Development] kris_l:
Why do you try to unpack boot.img instead of build kernel from scratch. You can build i.e dorimanx kernel and it would be much easier to do than unpack just boot.img. Tried to build Gustavos but there is a problem with initramfs and you get bootloop on it. Why don't you ask Cybernetus or computoncio for help. They build dorimanx kernel so it wouldn't be problem for them to make few modifications to it and build it for us.
[Galaxy S II Android Development] ipapun4545:
is this project dead??
[Galaxy S II Android Development] ahmedelhofy:
Probably..... :/
[Galaxy S II Android Development] Sami Kabir:
Its sad to see that this project has been discontinued. I was hoping that someone would succeed - so that I could use their work and get it to work on my i9070.. Anyways, I was thinking why jump straight to KitKat, when we can work on 4.2.2 instead? S2 Plus (i9105) got it but i9100 and i9070 didn't. Yes, there is a lot of difference (in terms of specs/hardware) but there's a good chance that we can port it. So if anyone has the knowledge and time, can you please work on it? (no pressure, just a small request) :fingers-crossed:

http://xdaforums.com/galaxy-s2-plus/development/rom-stock-prerooted-firmwares-o-loss-t2861588
[Galaxy S II Android Development] sid lakra:
bro android L is ported to i9100.But it is in beta stage so most of the things are not working
[Galaxy S II Android Development] Caproid:
This project is discontinued becouse of the impossible kernel porting(and touchwiz integration) :)) the farest we got was 'showing bootanim'. But I'm looking forward in seeing daily driver Android L in 1-2 weeks :)
[Galaxy S II Android Development] nhmanas:
plzz continue this project! this means a lot for all i9100 users
[Galaxy S II Android Development] Dr AM:
It's dead
[Galaxy S II Android Development] nhmanas:
I think this project is the most important and essential project in i9100 developement (Ofcourse after cm12) so why dead :(

btw rom did not booted right? remember.. cm12 wasn't booted once. Now we are using as daily driver
[Galaxy S II Android Development] Dr AM:
It's dead because it's almost impossible to port
[Galaxy S II Android Development] nhmanas:
Nothing is imposible. If I know how to port it I I port it :D

Anyway I have a question but it is neither related with this thread nor our conversation. I asked in Q/A but nobody answered :( please solve my problem mate

http://xdaforums.com/galaxy-s2/help/expert-help-i9100-random-freezes-t3025443

Btw I flashed other kernels but my problem continues
[Galaxy S II Android Development] natalya:
We need it to boot first. You can remove a lot more. Once booted, place apps back.

Remove widgets, browser, tts apps, video player, music player, sharing apps etc. All that stuff is not needed until it boots.

PS: About symlink errors - after cutting ROM down to proper size flash it with TWRP, once you get error, press return and enter advanced menu in TWRP and copy log. Then we can see exactly where it goes wrong.
[Galaxy S II Android Development] rphlfjrd:
Right. Once this starts booting, maybe more devs would be interested in the project

:):good::good:
[Galaxy S II Android Development] wellaflex:
Tab 3 8.0 is exynos dual core and using 4.2.2 on sammobile and kernel source is released :D
[Galaxy S II Android Development] cloud596:
im interesting on this project please make it boot first. ...
[Galaxy S II Android Development] gerryS2:
Is it possible to use the file of 4.1.2 for boot the rom?
[Galaxy S II Android Development] Caproid:
Be patient... We need to reach 495 mb ROM to flash it
[Galaxy S II Android Development] Caproid:
And need to think wisely about what I remove now
[Galaxy S II Android Development] wayers:
Thanks a lot !

I've been waiting for this a long time :)

Great job everybody
[Galaxy S II Android Development] Caproid:
Right now , I will get some sleep and I think tomorrow morning I will upload it
[Galaxy S II Android Development] rphlfjrd:
No pressure on you mate. :) As you are the only one working on this(as I see it), take as many time as you can. :good::good:
[Galaxy S II Android Development] tutangigi:
Just use the preload partition :the stock rom is about 800mb and it was fitting perfectly thanks to preload partition

A.nd be careful while removing apks: some weird samsung apks if deleted may prevent the rom from booting..good luck on the project!
[Galaxy S II Android Development] Mettafox:
Not from S4 but from Note 2.
[Galaxy S II Android Development] Flamestorm:
Well if this is true then someone can port that firmware because we have same Cpu :confused:
[Galaxy S II Android Development] wellaflex:
Yes of course
[Galaxy S II Android Development] Caproid:
Op updated
[Galaxy S II Android Development] nomrae:
Can you upload on different server?
[Galaxy S II Android Development] 089man:
What features included and have you Screenshots? Will this Rom continued supported with updates?

I9100 Tapatalk 4, AICP-Rom 4.4. 2
[Galaxy S II Android Development] jl10101:
I don't know if this will be an issue, but the build.prop has not been changed. The LCD density entry is still 320 which I think could cause a problem?

Good work nonetheless, but i don't know if I should give this a try yet :confused:
[Galaxy S II Android Development] Caproid:
I need to edit build.prop again . It is still not booting.. I will use preload partition and need someone to help me with the kernel ,like [MENTION=2051300]archid[/MENTION]roid. I will next version upload on Mediafire
[Galaxy S II Android Development] Caproid:
It will be a lot to work on framework
[Galaxy S II Android Development] rrgrrg:
well done !! :D ... i really salute this work ;)
[Galaxy S II Android Development] Vivek_Neel:
Downloading....

Will try to boot this ROM.

Looking at the repos of [MENTION=5161352]JustArchi[/MENTION] ..hope we can boot this rom..

Edit: can anybody upload this ROM to some other mirror?.

Media fire or dev host
[Galaxy S II Android Development] Caproid:
I will upload andother clean version
[Galaxy S II Android Development] Caproid:
Wait dude... I have finished V1b created preload and fixed build.prop...but we need to edit kernel... I will upload it on MediaFire :D
[Galaxy S II Android Development] scorpion.hbs:
Interesting project.

thanks to all of you.

I hope you can boot it without problems:fingers-crossed::good:
[Galaxy S II Android Development] Shillopellos9:
Oh btw in s3 thread of 4.4.2 porting they deleted also kids mode for space so i dont know if this helps, just trowing it out there.
[Galaxy S II Android Development] Caproid:
The problem is that I need a list of Samsung 4.4.2 apps or 4.3 apps
[Galaxy S II Android Development] Troubadour666:
Hi,

can you upload your last build.prop only too, as attachments ?

thanks.
[Galaxy S II Android Development] Caproid:
Here it is, I'm on phone and can't but: https://mega.co.nz/#!zJogwDbL!0T8AvRzMyyn981wl_kJkpE_HBpSHtQirbXWBAUJYb88 . Here it is
[Galaxy S II Android Development] Caproid:
Uploading new version on MediaFire
[Galaxy S II Android Development] Troubadour666:
thanks for active quick reply :)
[Galaxy S II Android Development] rrgrrg:
dunno if this can help .. but here is a list of 4.2.2 bloatware of my s4 mini ... every app with its name in the rom and its importance hope this can help :o ... deletable entries are ticked in "deleteable" column :)
[Galaxy S II Android Development] master123456:
can you share some screenshots ?
[Galaxy S II Android Development] danielk68:
No screenshot until it'll boot i think..
[Galaxy S II Android Development] scorpion.hbs:
Till now rom is not booting

there is no screenshots
[Galaxy S II Android Development] rrgrrg:
its WIP :rolleyes:
[Galaxy S II Android Development] nomrae:
I hope it boots. ;)
[Galaxy S II Android Development] Caproid:
Thanks [MENTION=4822300]rrgrrg[/MENTION]
[Galaxy S II Android Development] Caproid:
This is almost bootable the problem is the kernel. So everyone who tries to flash it : flash in TWRP and I will write a complete guide in OP
[Galaxy S II Android Development] rphlfjrd:
Tha'ts good news to hear. :good::good::good:
[Galaxy S II Android Development] aliishere:
Great work.....Keep it up
[Galaxy S II Android Development] Caproid:
Mate,I didn't say it's bootable... It will be if we solve some kernel releated problems and I must look in Archie's repos:)
[Galaxy S II Android Development] rphlfjrd:
Yes, but any progress is good news mate. :good::good:
[Galaxy S II Android Development] Caproid:
So, this version won't boot either. But we are on the good way, the error log in CWM was tinier . I have errors in Xbin symlinking and an error about "No device space left":cowboy::cyclops: . As kernel I am using the CM11 kernel for our device , because I don't have any experience in kernel editting. :D
[Galaxy S II Android Development] Vivek_Neel:
Oops.

Can u upload me the note 2 kernel ?will have a look.

Downloading ROM..10% over
[Galaxy S II Android Development] Caproid:
As the N2 ROM is Omega one, I will upload it asap
[Galaxy S II Android Development] Troubadour666:
uppdater-script corrected with preload mounted and deleted and extracted.

assert(getprop("ro.product.device") == "galaxys2" || getprop("ro.build.product") == "galaxys2" ||
getprop("ro.product.device") == "i9100" || getprop("ro.build.product") == "i9100" ||
getprop("ro.product.device") == "GT-I9100" || getprop("ro.build.product") == "GT-I9100" ||
getprop("ro.product.device") == "GT-I9100M" || getprop("ro.build.product") == "GT-I9100M" ||
getprop("ro.product.device") == "GT-I9100P" || getprop("ro.build.product") == "GT-I9100P" ||
getprop("ro.product.device") == "GT-I9100T" || getprop("ro.build.product") == "GT-I9100T" ||
getprop("ro.product.device") == "SC-02C" || getprop("ro.build.product") == "SC-02C" || abort("This package is for \"galaxys2,i9100,GT-I9100,GT-I9100M,GT-I9100P,GT-I9100T,SC-02C\" devices; this is a \"" + getprop("ro.product.device") + "\"."););
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "backup");
unmount("/system");
show_progress(0.500000, 0);
unmount("/system");
format("ext4", "EMMC", "/dev/block/mmcblk0p9", "0", "/system");
mount("ext4", "EMMC", "/dev/block/mmcblk0p9", "/system");
[COLOR="Red"]run_program("/sbin/mount", "/dev/block/mmcblk0p12", "/preload");[/COLOR]
package_extract_dir("recovery", "/system");
package_extract_dir("system", "/system");
[COLOR="Red"]delete_recursive("/preload");[/COLOR]
[COLOR="Red"]package_extract_dir("preload", "/preload");[/COLOR]
symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");
symlink("../xbin/su", "/system/bin/su");
symlink("Roboto-Bold.ttf", "/system/fonts/DroidSans-Bold.ttf");
symlink("Roboto-Regular.ttf", "/system/fonts/DroidSans.ttf");

and

show_progress(0.200000, 0);
show_progress(0.200000, 10);
package_extract_file("system/bin/backuptool.sh", "/tmp/backuptool.sh");
package_extract_file("system/bin/backuptool.functions", "/tmp/backuptool.functions");
set_metadata("/tmp/backuptool.sh", "uid", 0, "gid", 0, "mode", 0755);
set_metadata("/tmp/backuptool.functions", "uid", 0, "gid", 0, "mode", 0644);
run_program("/tmp/backuptool.sh", "restore");
delete("/system/bin/backuptool.sh");
delete("/system/bin/backuptool.functions");
[COLOR="Red"]package_extract_file("Caproid/symlink_preload", "/tmp/symlink_preload");[/COLOR]
[COLOR="Red"]set_perm(0, 0, 0777, "/tmp/symlink_preload");[/COLOR]
[COLOR="Red"]run_program("/tmp/symlink_preload");[/COLOR]
show_progress(0.200000, 10);
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p5"),
delete("/tmp/boot.img"));
show_progress(0.100000, 0);
unmount("/system");

thanks
[Galaxy S II Android Development] Caproid:
Thanks mate :) I will upload the kernel in about an hour
[Galaxy S II Android Development] wellaflex:
Yes,a lot to work....But is working at the end
[Galaxy S II Android Development] CrazyKarl12:
Cool work! Keep up :cool:
[Galaxy S II Android Development] the-bomber:
is it showing bootanimation ? bootable ?
[Galaxy S II Android Development] Caproid:
http://www.mediafire.com/view/?zvszd5x84mxjdb4 here is the kernel
[Galaxy S II Android Development] Caproid:
I am the dev :cyclops:. The boot animation is Sammy stock and no, not bootable right now :)