yashsingh1/xdaforums huggingface dataset:
[Galaxy S III Mini Android Development] Android-Andi:
Let us give ketut a warm welcome and a big thanks :)

This Dual-Boot Project based on his Dual Boot for Tab 2 and Tab 3 8.0 , also he fixed my initial port to get the kernel work :)

And BTW any idea, why factory reset and clean to install a new rom seems not to work propably in recovery?

I had to create a new system.img and factory reset again before changeing 2nd Rom. Else FC Storm at boot because stuff from old rom left...

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] ketut.kumajaya:
Maybe my codes not properly merged to upstream PhilZ Touch changes. I'll check it.
[Galaxy S III Mini Android Development] samnettt:
warm welcome to our ' Golden Castle '

much thanks for the amazing contribution :good:
[Galaxy S III Mini Android Development] mattiawhite:
Warm welcome and many thanks! To ketut, but bigg thanks also to you andy...

May i suggest a name for our new kernel, its bit joel's style:

"Lost Monogamy Kernel" cc.
[Galaxy S III Mini Android Development] :
Lol you make me laugh very much with the name you suggested. [emoji106] [emoji1] [emoji1]
[Galaxy S III Mini Android Development] mattiawhite:
Just reporting: tested on mine golden.N, all fine dualbootig 2 Novafussions Roms: CM11 and freshly baked AOSPA; of course both are completely on ext4...
[Galaxy S III Mini Android Development] samnettt:
but the default file system in both these roms are f2fs, how do you manage to change it to ext4 ?:confused:
[Galaxy S III Mini Android Development] mattiawhite:
Yes yes i know, i stated before, dual boot is like hawing 2 wife's, and me, im cheating both of them by using ext4 ;)

To revert novafusion rom to ext4, you have to modify updater-script,

It is nice described by [MENTION=4198570]tenshi_xp[/MENTION] already at his thread http://xdaforums.com/showthread.php?p=54553048
[Galaxy S III Mini Android Development] mattiawhite:
Hi Andi, after full day use, play and abuse, here is my reeport:

I have some "kopfschmertzen" with kernel, i just suppose its kernels fault:

First thing that happened to me: after returning back into 1st boot, CM11, few apps crashed (xda premium, root explorer pro, and busy box pro) after reboot they ware gone - uninstalled...

Now its had nothing to do with dualbooting im sure, because i had absolutely the same problem like a month ago, with CM11 (ext4) when i tested yours anykernel .44 i think, that time the same apps crashed.

So i have done following: restored nand. Backup, than reapplied blakhawk recovery and kernel, again i can boot both of them, and now apps remains...

But while using camera, new problem: i take photo, but there is nothing on it, just grey, i started video recording: BAM! rebooted+bootloop

i reverted again to novafussion kernel (not restoring i just flashed kernel) and now im without your kernel, camera and all fine...

Do u want me to reproduce this and take some logs???
[Galaxy S III Mini Android Development] Android-Andi:
Novafusion using some different blobs, meight be because of that. No time to check logs atm, will check wich blobs are definatly different and tell you

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
Reporting exact same camera issue (tested so far only on vanir, slim not yet), I can't find the pics! In gallery if it is it, they are grey, I can't find them in my file explorer. Have to do the camera tests on slim too!

m.
[Galaxy S III Mini Android Development] mattiawhite:
Update: gray pics (no file) and video recording crashes, happens only if external sd card is selected as storage, if internal all fine, can u confirm meduza?

Update 2: wtf!! I just flashed any kernel v.1.6 (3.0.44+) and dual boot still works!!

I wanted to check camera with any kernel... Its same, works only with internal storage... But i can boot both rom's
[Galaxy S III Mini Android Development] Android-Andi:
External sd exFAT formatted?

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] Android-Andi:
Meight be a permission or exFAT issue, will check it.

Can you add a logcat or bugreport from SlimCenter?

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
I`m still on vanir. Did the test and can confirm, camera set to internal storage (wich I never use) is working normally.

Your update2 is very interesting!!!

m.
[Galaxy S III Mini Android Development] smanq:
I'm on OmniROM on the first boot and on Slim in the second: on both the camera works fine, storing on ext SD card.

Some troublings with flicker/blackscreen, but this dual boot kernel is really great!!!
[Galaxy S III Mini Android Development] meduza:
Will do the test on slim later (my first boot) and report then.

m.
[Galaxy S III Mini Android Development] meduza:
Camera saves pics to ext SD on slim :)

m.
[Galaxy S III Mini Android Development] mattiawhite:
Fine!

Vanir too uses some of NF sources?

For me new problems found on cm11 with blckhawk next kernel:

Flashlight don't goes on

WiFi does not turn on

Tethering (WiFi) does not turn on (+ complete settings crash)

So if u can try also on vanir?? [MENTION=5153662]Android-Andi[/MENTION] i attach logs from just now as i played with above mentioned + first i tried to take photo on external storage... So all should be in logs, if you manage to readout some useful stuff than greath...

I really don't want to go back to monogamy

Log: https://docs.google.com/file/d/0B6N92MuR3-QMM3dBWGU5SjRwSU0/edit?usp=docslist_api
[Galaxy S III Mini Android Development] meduza:
Vanir is official AOSP. WiFi and everything was o.k. over there. Camers was the only issue, I discuvered...

m.
[Galaxy S III Mini Android Development] Android-Andi:
Recompiled the kernel using Linaro 4.7,

nothing else changed atm.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] MounirHero:
Can this mod work with 2 stock ROMs with the same kernel for example fude 1.4?
[Galaxy S III Mini Android Development] Android-Andi:
As you can read in OP and thread title: no.

I am working on Stock support, please be patient, not easy to implement.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] Android-Andi:
Will upload 1.0.4 in some minutes.

Compiled using Linaro 4.8 Toolchain.

I think it is a bit smoother, please let me know your feelings.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
Charging now and starting to test :)

m.
[Galaxy S III Mini Android Development] mattiawhite:
What is yours feeling about that flickering?? Is it fixable??
[Galaxy S III Mini Android Development] Android-Andi:
No flickering on my SlimKat
[Galaxy S III Mini Android Development] mattiawhite:
Flickering of dual boot menu
[Galaxy S III Mini Android Development] Android-Andi:
Ah ok, yeah.... not sure how, but still looking for a solution....
[Galaxy S III Mini Android Development] meduza:
...acha..-

I just discovered, we need Philz recovery only once, to install the 2nd boot :)

Before updating SLIM, I reinstalled TWRP to create a backup, I stood there, flashed slim followed by next kerrnel, rebooted and dual boot menue appeared :)

m.
[Galaxy S III Mini Android Development] Android-Andi:
[MENTION=4662107]meduza2[/MENTION] you need the special PhilZ Touch to setup Dual-Boot and also to update the 2nd Rom if needed.
[Galaxy S III Mini Android Development] meduza:
Right - but when dual boot is once installed, TWRP can be used...? I did backup and slim update via TWRP. But you`re saying! I`ll need Philz to update vanir, which is on the 2nd boot?

m.
[Galaxy S III Mini Android Development] Android-Andi:
To update vanir you need to boot 2nd Recovery, only possible using PhilZ Touch blackhawk

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
Yep, in deed! Booting in to recovery from vanir brought me to TWRP directly, no dual boot recovery menue. But dual boot for the ROM works, I`m back on slim again :)

Interessting - updating next in slim via TWRP brought the kernel update to vanir too :)

m.
[Galaxy S III Mini Android Development] Android-Andi:
Yes, because the boot.img is used by both roms - boot partition shared, thats why.you need my kernel to keep dual boot.

Infos about it in faq.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
It will be awesome if your TWRP will support dual boot too, like your kernel does :) I would love to keep both plus your ROM on my phone :)

m.
[Galaxy S III Mini Android Development] Android-Andi:
Last time i faild on TWRP for Dual-Boot :D maybe i will give it a try later.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] tomaasz:
Hi Andy

I can't switch on WiFi with NEXT and [ROM][UNOFFICIAL][KitKat 4.4.4][golden]PAC-man 4.4.4 beta 1 [17-08-2014][AOSP]

http://xdaforums.com/showthread.php?t=2776844

do you know why ?
[Galaxy S III Mini Android Development] Android-Andi:
Maybe because they use NF sources

Please add a logcat and dmesg.

Check FAQ on how to get it.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] Balino:
I really would like to run this kernel on PAC too :cowboy:
[Galaxy S III Mini Android Development] Android-Andi:
Logcat & dmesg and i can try to find the issue

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] :
[MENTION=5153662]Android-Andi[/MENTION] Maybe you could add compatibility to jellybean AOSP Roms(4.3 or 4.2)? Because it may be easier than doing it with the stock ROM.
[Galaxy S III Mini Android Development] heithered:
But stock makes more sense. Having a rom for stability and one for performance/updates/etc.
[Galaxy S III Mini Android Development] meduza:
...samsung`s 4.1.2 - really :)

m.
[Galaxy S III Mini Android Development] :
OK but it can be a next step. Many users complain about the instability in kitkat ROMs. In the end the famous clock freeze bug is so annoying and it prevents you from waking up....
[Galaxy S III Mini Android Development] meduza:
Not on Andi`s SLIM :)

m.
[Galaxy S III Mini Android Development] Android-Andi:
Hey guys, before discussing:

1st add StockSupport

2nd add AOSP 4.3 support (e.g. CM 10.2)

3rd bugfixing

I am just downloading some Stockbased Roms to test. At least wifi will be broken for now if it boots, but i am working on a fix.

Also i am downloading PAC Rom to get logs myself, waiting for user steels time :p and most of the time i won't get one if i asked :D
[Galaxy S III Mini Android Development] Android-Andi:
08-16 23:34:55.353 E/CameraStorage( 5394): Failed to write data
08-16 23:34:55.353 E/CameraStorage( 5394): java.io.FileNotFoundException: /storage/sdcard1/DCIM/Camera/IMG_20140816_233453.jpg: open failed: EACCES [B][COLOR="Red"](Permission denied)[/COLOR][/B]
(....)
08-16 23:32:05.194 W/BroadcastQueue( 2811): Permission Denial: broadcasting Intent { act=android.net.conn.TETHER_STATE_CHANGED flg=0x64000010 (has extras) } from null (pid=-1, uid=-1) requires android.permission.CONNECTIVITY_INTERNAL due to registered receiver BroadcastFilter{429669d8 u0 ReceiverList{42967280 2811 system/1000/u0 local:42992ea8}}
(....)
23:32:06.175 E/SELinux ( 3122): SELinux: Loaded file_contexts from /file_contexts
08-16 23:32:06.175 E/SELinux ( 3122): SELinux: Could not open /data/system/packages.list: [B][COLOR="Red"]Permission denied.[/COLOR][/B]

Meight be "only" permission changes needed.
[Galaxy S III Mini Android Development] mattiawhite:
As i said, with other kernel is all fine.

Where can i make permission changes? I tried to fix permissions with rom manager, but no changes...
[Galaxy S III Mini Android Development] Android-Andi:
Working on it allready.

Will upload later for you...
[Galaxy S III Mini Android Development] mattiawhite:
Ah ok, no hurry man! Don't feel any pressure...
[Galaxy S III Mini Android Development] Android-Andi:
1.0.4 -> 1.0.5

Update permissions inside init.samsunggolden.rc,

set SELinux to permissive for now,

lzma compressed ramdisk
[Galaxy S III Mini Android Development] mattiawhite:
I flashed, but still all the same,

Is zip correct? Because in settings it says 18.08. 23:47

.. I go to reflash to be sure
[Galaxy S III Mini Android Development] Android-Andi:
Yes, right zip.

Pictures still can not be captured on microSD?

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] mattiawhite:
Yup,

Stil problems:

Pics to ext sd

Flaslight

Turn on wifi (constantly sais turning on)

Tethering works after fresh reboot, but if you try to turn on normal wifi (as stated above) than also tethering not functioning any more...

And i think also titanium backup is weird, i cannot delete backups and it says insufficient space for new backup (on ext sd is destination folder) have to retry...
[Galaxy S III Mini Android Development] Android-Andi:
Wich Rom are you on?

I am on Stockbased 4.1 for first Rom (bootlooping :D) and PAC 2nd Rom (wifi not working).

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] mattiawhite:
My reports are from CM11 first boot, aospa is for now on second, i can try there, but last test was the same (both are as stated before NF roms but on ext4)
[Galaxy S III Mini Android Development] Android-Andi:
Mh... not sure wich changes from NovaFusin could cause it...

Can you please give me the following 3 logs from both Roms?

Normal Logcat:

adb logcat -v time -d > logcat.log

Note: Cyanogenmod (based) ROMs require the following setting to export kernel logs via adb:

Settings - Developer Options - Root access - choose: "Apps and ADB"

Kernel Log:

adb shell su -c dmesg > dmesg.log

Last_kmsg:

adb shell su -c "cat /proc/last_kmsg" > last_kmsg.log
[Galaxy S III Mini Android Development] mattiawhite:
Here:

https://drive.google.com/folder/d/0B6N92MuR3-QMU3UwRUNyRFBNUDQ/edit

2 zips, both with all 3 logs,

Taken on phone with syslog, as im on island without pc
[Galaxy S III Mini Android Development] meduza:
Confirming, it was not a problem to update vanir from my yesterdays settings :) Rebooting slim in to recovery, only TWRP was possible, flashed philz, rebooted recovery, dual boot menue was there, booted 2nd recovery, updated vanir, flashed next, rebooted system into dual boot menue :)

One question though [MENTION=5153662]Android-Andi[/MENTION],

I was able to update and backup slim via TWRP and return to dual boot setup. Will this work with vanir too? Booting 2nd recovery, changing to TWRP, performing update/backup, changing back to philz for dual boot?

It is importent because philz recovery faild to restore its own backup, so it is improper for this kind of operations.

m.
[Galaxy S III Mini Android Development] Android-Andi:
I am glad to announce

NEXT Kernel 1.1.0 :)

20.08.2014

1.0.5 -> 1.1.0

Fixed bootmenu flickering / blackscreen :) now the bootmenu is 100% visible

(Reboot-Recovery option from bootmenu not working, ends in kernel-panic)

partially restore initial cm11 ramdisk

cleanup cm11 ramdisk

Huge thanks again [MENTION=4021423]ketut.kumajaya[/MENTION] for telling me how to fix the bootmenu flickering!

Edit:

Will rebuild PhilZ Touch to fix recovery-bootmenu flickering, will be uploaded later.
[Galaxy S III Mini Android Development] daywalk3r666:
i restore my backup(system.img,boot.img,data) from the morning...no problem with restore.cache and ext sd are skipped because there no backups.one thing i notice...for example: restoring data 630/939mb...is that normal?
[Galaxy S III Mini Android Development] Android-Andi:
[MENTION=5230062]daywalk3r666[/MENTION] my PhilZ Touch blackhawk isn't working 100%,

also wipeing does not work 100% in 2nd recovery, still looking for the source of problem. Will check if my Tab 2 PhilZ got the same problems or if i missed some changes for golden.
[Galaxy S III Mini Android Development] meduza:
[MENTION=5153662]Android-Andi[/MENTION],

what do you think about my question in post #100? Should this work...

Great news that the boot menus are gonna be visible normally!! Thank you!

m.
[Galaxy S III Mini Android Development] Android-Andi:
[MENTION=4662107]meduza2[/MENTION] no, TWRP will only load "primary" recovery, you can not update 2nd rom using TWRP.
[Galaxy S III Mini Android Development] daywalk3r666:
new recovery and kernel works great.....flickering and blackscreen is gone....thx
[Galaxy S III Mini Android Development] meduza:
+1

New philz, new next and new slim :)

m.

---------- Post added at 05:27 PM ---------- Previous post was at 05:24 PM ----------

And backup.... ? Update is no problem but backup & restore, so the basic recovery functions...

m.
[Galaxy S III Mini Android Development] ketut.kumajaya:
I just point you in the right direction, all these the results of your own efforts :good:
[Galaxy S III Mini Android Development] hardi7690:
thanx very much for your source and have implement on our golden by andi... keep up your work broth :)

"terimakasih agan [MENTION=4021423]ketut.kumajaya[/MENTION] :) bisakah ane belajar source code kpd agan? ane ingin belajar porting rom ato apa aja tentang source code buat android :D ??? " liat tutor2 di gugel ane bingung pake b.inggris soalna :D

salam kenal GAN :)
[Galaxy S III Mini Android Development] LuqmaanMathee:
Does dual boot work well? Or is it still WIP?

I'm Batman!
[Galaxy S III Mini Android Development] daywalk3r666:
dualboot with slimkat(android-andi) and vanir works great...slimkat is my daily rom and vanir for testing

Gesendet von meinem GT-i8190 mit SlimKat
[Galaxy S III Mini Android Development] meduza:
Confirming what daywalk3r666 posted :)

m.
[Galaxy S III Mini Android Development] Balino:
Does it mean that cm11 on ext4 would boot with this kernel?
[Galaxy S III Mini Android Development] LuqmaanMathee:
Thanks[emoji4]

I'm Batman!

---------- Post added at 10:28 PM ---------- Previous post was at 10:27 PM ----------

Thanks[emoji4]

I'm Batman!
[Galaxy S III Mini Android Development] Android-Andi:
Yes it boots, but wifi broken. Maybe [MENTION=5011036]New Maclaw[/MENTION] has an idea how to fix it there

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] mattiawhite:
It boots well, but basically that's all, its unusable without NF kernel, look my posts few pages back, but please do test yourself, to confirm mine findings
[Galaxy S III Mini Android Development] Balino:
Golden guy omni ROM with this kernel is flying, I'll leave dual boot away for the moment thank you :)
[Galaxy S III Mini Android Development] Android-Andi:
I am happy to announce

NEXT Kernel 1.2.0

20.08.2014

1.1.0 -> 1.2.0

Added Stock / Stock based 4.1 Support

More i/o scheduler: Added sioplus | row | zen

Compiled using GCC 4.7 again for better compatibility

Update LZO compression

arm/vfp: Makefile optimization

and some more....

Known Problems:

Reboot into Recovery from main Bootmenu does not work

Reboot into Bootloader from main Bootmenu only reboots normal

Wifi not working on Stock / Stockbased Rom

Storage = 0MB on Stock / Stockbased Rom

Wifi not working on Novafusion Roms

NOTE

I downloaded 2 Stockbased Roms: DMod v6 and ★★stock_light_I8190XXANF3★★ - both of them have "HARDCODED" updater-scripts!

You can not run those roms as 2nd Rom! They will e.g. format /system from 1st Rom!
[Galaxy S III Mini Android Development] hardi7690:
woooowww cool work andi :)

you're a pure dev on android ;)

i wait to fix all bugs

never give up andi

keep fighting ;)
[Galaxy S III Mini Android Development] heithered:
This is amazing! I will try this as soon as i have time!
[Galaxy S III Mini Android Development] andersyang:
Great work!!! Must try when Kk and stock based rom work both[emoji3]

来自我的 GT-I8190 上的 Tapatalk
[Galaxy S III Mini Android Development] mattiawhite:
Agree mine 2nd boot is Omni and performance is great!

Well for me on both NF (cm11 and aospa) roms there was many more problems than just wifi, as described before, all the same also now on v 1.2.

As u stated permissions are biggest problem as it seams, nothing can be written to ext sd by some apps etc...

I would appreciate if someone else tries cm also...

I just hope those problems can be killed also ;)

Beside that, great work here Andy, keep on!
[Galaxy S III Mini Android Development] meduza:
2nd boot

[MENTION=5153662]Android-Andi[/MENTION],

one question still toils...

"TWRP will only load "primary" recovery, you can not update 2nd rom using TWRP." - but how about backup (restore) of the 2nd partition, when changing to TWRP? When I boot recovery for the 2nd partition and change it then to TWRP, will it backup the 2nd ROM? And changing back to Philz will bring the dual boot setup again?

m.
[Galaxy S III Mini Android Development] Android-Andi:
[MENTION=4351332]mattiawhite[/MENTION] i contacted New Maclaw, he will ask mercin. They know their sources best. Hope they can help.

Don't forget: this is a early stage.

[MENTION=4662107]meduza2[/MENTION] we only have one Recovery Partition. No matter if you flash TWRP Form first or secondary Recovery... it will not work for 2 nd Rom.

PhilZ has changes in Source and inside the ramdisk. It will change the fstab for 2nd Rom and change the button picture at boot.

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] meduza:
Thank you! I think, I`m beginning now to understand the dual boot system as a whole :)

m.
[Galaxy S III Mini Android Development] Android-Andi:
[MENTION=4662107]meduza2[/MENTION]

https://github.com/andi34/android_d...mmit/49ca62e6586b8568dbc1a4704748913d05e85870

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] daywalk3r666:
enox revenge does not work.....its hangs in recovery....i think is too old

Gesendet von meinem GT-i8190 mit SlimKat
[Galaxy S III Mini Android Development] Android-Andi:
First or 2 nd rom?

Error message?

Maybe 8GB deviced do not have enough space, a problem i faced...

Also you need a 1,4 Gb system.img if you use stock as 2 nd rom...

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] Android-Andi:
Downloading enox rom now.

Will test as 1st rom

Send from OnePlus One using Tapatalk
[Galaxy S III Mini Android Development] daywalk3r666:
2 nd rom....i delete the 2nd boot.img and create a 1,4gb boot.img

Gesendet von meinem GT-i8190 mit SlimKat
[Galaxy S III Mini Android Development] Android-Andi:
Just checked the Rom´s updater-script:

[COLOR="Red"]format("ext4", "EMMC", "/dev/block/mmcblk0p22");
mount("ext4", "EMMC", "/dev/block/mmcblk0p22", "/system"[/COLOR]);
package_extract_dir("system", "/system");

This meight be the Problem...

must be something like:

run_program("/sbin/umount", "/system");
run_program("/sbin/mount", "/system");
run_program("/sbin/mount", "-o", "remount,rw", "/system", "/system");
package_extract_dir("system", "/system");

(not tested)
[Galaxy S III Mini Android Development] daywalk3r666:
Thx i will test it on weekend...for now i'm back on vanir

Gesendet vom meinem GT-i8190 mit Vanir
[Galaxy S III Mini Android Development] povedane:
Please help

Aroma dual boot system reports error "Lost connection to Vold did it crash"

thank
[Galaxy S III Mini Android Development] Balino:
Anyway your old any kernel 1.6 is working great on latest cm11 build, even WiFi!
[Galaxy S III Mini Android Development] ketut.kumajaya:
Should not a problem, system.img mounted as /dev/block/loop0, /dev/block/mmcblk0p22 symlinked to /dev/block/loop0.