yashsingh1/xdaforums huggingface dataset:
[Galaxy S Plus I9001 Android Development] markey97:
First: a big thanks for your work, will try it this evening or tommorrow

Second: yes, i think you also can install it on internal but you have to swap the too sd cards with swap sd so that yo have your external, internal.

This way we could switch between THREE ROMs!! One on the external and one on the internal and then a swap with swap sd :good: :D
[Galaxy S Plus I9001 Android Development] Schur1k:
One question

I can only use 2 ROMs with the own android version right?

(Also 4.1.2 and 4.1.2 not 4.0.x with 4.1.2 )
[Galaxy S Plus I9001 Android Development] Tears for Fears:
For now, yes. But Jonboy will add the compatibility of JB 4.2, ICS and GB later.
[Galaxy S Plus I9001 Android Development] Schur1k:
Nice :)
[Galaxy S Plus I9001 Android Development] markey97:
I think its possible to use two/three different android version because only the kernel that boots from sd is only for jb for now. I will try it today with every different version and give feedback.

And i think that this is for now only a kernel that boots from sd but we need one with which we can switch between both. This should not sound rude or that i don't like this work/way but i am a bit displeased of this and just wanted to sax that this is a very good beginning and that someone should do something like the devil dual boot kernel or siyah kernel.
[Galaxy S Plus I9001 Android Development] Jonboy2011:
but if you have only one kernel , you cannot use two different Android versions ..

maybe broodplank could make an app that can switch between the kernels like broodparts
[Galaxy S Plus I9001 Android Development] broodplank1337:
I sure can do that, just give me the kernels, the names and info I should add, it's done in no time
[Galaxy S Plus I9001 Android Development] Jonboy2011:
wow thanks :)

its possible to make an menu like :

Kernel to Boot from internalSD , if you click on this a menu to choose between the kernels or something like this ?

but for now i think i will choose castagna kernel for JB , k'kernel for ics , skyhigh for GB and phenom for 4.2 .. i will upload the kernels when i'm at home
[Galaxy S Plus I9001 Android Development] singreale:
First off, thank you for the kernel. However, I would recommend modifying the OP, because the SD partitions shouldn't need to be any larger than stock. Which are:

511.8M for /system

98.4M for /cache

1.3G for /data

Even with the default system, certain roms will use a lot less than this and therefore would require less space. Also you can make /data as large or small as you want (to a certain extent) depending on how many apps you plan to install (just look at your current used space in /data as a guide).
[Galaxy S Plus I9001 Android Development] Daniel.96:
Nice work guys ! :)
[Galaxy S Plus I9001 Android Development] educk:
Hey guys!

First of all, I would would like to mention that I like Jonboy2011's idea but there are a few things that need to be said.

No, I don't have any problems with anyone who will decompile the boot images which I provide in my thread and redistribute

but

(and I think this should be mentioned in the OP too) I or any other developer who provides kernels will not be responsible for any damage that might happen by flashing the modified kernel images. I know there is only a minor edit inside fstab (replacing 0 with 1) but the procedure might be risky...

Also, any bug occurred after flashing the modified kernels should be reported in this thread only. As I'm an adept of Open Source philosophy, even though I didn't provide the modified kernel images, I'll try to help the best I can.

It's really nice to see that members are working together to do something good for the community!

Erik
[Galaxy S Plus I9001 Android Development] Jonboy2011:
I agree , I added this to first post.

btw: UPDATE: Now you can Dual Boot all Android versions ! Link in OP !
[Galaxy S Plus I9001 Android Development] gkojuharov:
I only have 2gb sd :( Can i make smaller system and data partition ot i have to buy larger sd ?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
520mb for system

100mb for cache

1,3 GB for data

this are the lowest sizes i would choose
[Galaxy S Plus I9001 Android Development] pouriajamali:
When i want portion,All my data on sd card will be lost????
[Galaxy S Plus I9001 Android Development] Tears for Fears:
On external SD, but not the internal. Internal SD will remain untouched.
[Galaxy S Plus I9001 Android Development] broodplank1337:
Check out the app layout so far

Is it good like this :) The 2nd preference (the warning opens this topic in the browser)
[Galaxy S Plus I9001 Android Development] pouriajamali:
Broodplank,You are the best...
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Awesome, brood!

Gesendet von meinem ariesve mit Tapatalk 2
[Galaxy S Plus I9001 Android Development] Jonboy2011:
wow you are fast :o it looks very good , clean and simple like it should be :)
[Galaxy S Plus I9001 Android Development] broodplank1337:
Thanks :) If you see any adjustment I have to make please let me know. Ill continue with the functions after dinner.

Btw, you know that it will be a pretty large app right? (because of all the kernels :P) How do you want me to add them, as an asset? This means its get copied to your phone when ran, or just add them + the apk to a CWM zip? And where should I place the kernels?

for broodParts i chose /system/etc/broodrom

edit: oh, and maybe someone wants to design a nice icon :D?
[Galaxy S Plus I9001 Android Development] rashidBat:
i do not know how to use the partition app !!
[Galaxy S Plus I9001 Android Development] a_alben:
Your solution sounds very interessting for testing ROMs, but I've just two question. How to install the second ROM on external sd partition and to BroodPlank ;) will your app support ROM installation, too?

And keep all your great work up devs :D
[Galaxy S Plus I9001 Android Development] Jonboy2011:
i think cwm zip would be the better choice , i think system/etc/dualboot would be good , but maybe the update zip deletes automatically the folder etc/dualboot, so if i update the kernels i can replace the Boot.img's inside the ZIP and the users can flash it in recovery
[Galaxy S Plus I9001 Android Development] Jonboy2011:
just flash it like any other Rom in recovery after you flashed the modified kernel, and for the APP, actually its only planned as an Rom switcher app
[Galaxy S Plus I9001 Android Development] a_alben:
Thanks for reply^^ Will try it tomorrow, just one last question, can you recommend me an app for partition my ex-sd card, or is it also possible to do all this in recovery?

Edit: Sry, didn't see you already mentioned one in OP
[Galaxy S Plus I9001 Android Development] broodplank1337:
I mean it like this:

I will include everything in ONE CWM zip, which is:

- /system/app/DualBoot.apk

- /system/etc/dualboot/gb/boot.img

- /system/etc/dualboot/gb/boot_new.img

- /system/etc/dualboot/ics/boot.img

- /system/etc/dualboot/ics/boot_new.img

- /system/etc/dualboot/jb1/boot.img

- /system/etc/dualboot/jb1/boot_new.img

- /system/etc/dualboot/jb2/boot.img

- /system/etc/dualboot/jb2/boot_new.img

You just have to install it in CWM, doesn't matter what rom you're on.

And then you are able to just run the app and switch to whatever kernel you like.

If you want you can flash all 8 kernels one by one, without crashing the system, it will be active when rebooted :)

^^

Oh and btw, I can post this app on the market if you want :D
[Galaxy S Plus I9001 Android Development] Schur1k:
How fast has my external SD be ?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
that sounds good , and when i update the kernels, i upload an kernel-update ZIP, it takes maybe one minute to modify the kernel.

market sounds really nice, but only the apk does nothing, so it would do nothing because the kernels aren't inside the apk ^^
[Galaxy S Plus I9001 Android Development] Jonboy2011:
and a question to all : is there already someone who uses this ? because i can See that a few downloaded the files but no one post something about o.O :D
[Galaxy S Plus I9001 Android Development] rashidBat:
PLEASE can any body make a short video how to partition the sd card !
[Galaxy S Plus I9001 Android Development] broodplank1337:
Lol it's done already XD (I'm pretty fast I must admit), I'm uploading the CWM zip now.

The procedure goes like this:

- You put the zip on your sdcard and install it in recovery

- You boot your current ROM, and you will see the Dual Boot app. (the kernels are inside /system/etc/dualboot)

- Start the app and grant SU access.

- Now choose the desired kernel, for example when you've partitioned the ext sd, and have installed the rom in there, you can choose JB v4.1.x for external sdcards

- Then reboot and your in that rom.

It's not tested yet by me, but it has so simple actions that there is nothing that can go wrong (I mean go wrong for real, since there all ariesve kernels, they cannot brick your device in any way). The only possible thing that can go wrong is that it just doesn't boot because you chose the wrong kernel. then you need to flash it in cwm manually, by opening adb shell and entering:

rom = gb, ics, jb1 or jb2

boot.img = for internal sdcard usage

boot_new.img = for external sdcard usage

dd if=/system/etc/dualboot/rom/boot.img of=/dev/block/mmcblk0p8

Download v1.0:

http://www.mediafire.com/?3ydbysbsiw00znb

oh and thanks to kacperski1 for the icon!!
[Galaxy S Plus I9001 Android Development] markey97:
Thanks brood! :good:

I will try it in one hour and report feedback then.

So is it possible to boot three different ROMs or is the boot.img just for normal using? Because its mentioned there as internal sd usage and now i'm not sure about it...:D
[Galaxy S Plus I9001 Android Development] AlbertoSONIC:
Can you tell me what did you mod in the kernel ramdisk? Only System, Data and Cache partition's adress?

I can't understand how does it works! When i flash a rom, recovery follows updater-script partitions, not kernel partition. Right? I'm asking because i'd like to port dualboot to other devices!

Inviato dal mio GT-I9300
[Galaxy S Plus I9001 Android Development] Jonboy2011:
no at the moment only two roms,internal sd means the normal rom save place

i think it follows kernel because My emmc Brick bug kernel works exactly like this and its reported hat it works.. but yes you have to change update-script because otherwise it would Format the internal partitions
[Galaxy S Plus I9001 Android Development] Jonboy2011:
okay i edited first post , now it can be tryed.. if you dont replace the updater script , the first Rom will be deleted.. no one knows that because we only tryed second Rom..
[Galaxy S Plus I9001 Android Development] alireza7991:
Hey jonboy ;)

Could you please provide me qcom.fstab of your boot from sd kernel ? becuase I want to make a flashable zip to push installed rom on ext-sd and some other tools for dual booting :)

Thanks
[Galaxy S Plus I9001 Android Development] rickvrolings:
Hey brood is it possible to include the partition app functions inside your dualboot app? It is really awesome that you made this app in such a short time. and it is really awesome from jonboy to come up with the idea!
[Galaxy S Plus I9001 Android Development] Jonboy2011:
Here you are : http://db.tt/7ugSbblU
[Galaxy S Plus I9001 Android Development] broodplank1337:
The partition app is for windows, not for android. it can be done in android as well, but I'm not going to write that risky code XD. don't want to brick devices :silly:
[Galaxy S Plus I9001 Android Development] pouriajamali:
Hi

can someone explain me how to partion with EaseUS?

when i want partion it tell select unallocated!even i have a driver on my pc unallocted and i select that it tell cannot partion:rolleyes:

plz help
[Galaxy S Plus I9001 Android Development] Harrocan:
First of all you must create new disk from unallocated space, and then create partition :)
[Galaxy S Plus I9001 Android Development] Jonboy2011:
updated OP with APP installation :)
[Galaxy S Plus I9001 Android Development] Jonboy2011:
i added an YouTube video to OP, its a tutorial how to partition your sd card, also, i changed the partition program, its now minitool partition wizard because easeus doesnt support ext4 any more.. but my question , is anyone using this ? if yes, how is the performance?
[Galaxy S Plus I9001 Android Development] broodplank1337:
Cool! Ill watch it. and don't know if someone uses it, I have an ext sdcard in my raspberry pi, but it's used as media center for the tv in the living room. Ill see if I can grab it, I was thinking about this crazy concept.

On the ext sdcard I put barebone android and then make an app that allows you to browse in all (or atleast the most popular ones) ariesve roms :D. I know this would be huge in size, but atleast all roms are mostly not larger then 200mb, so when you have 4gb you can have 20 rom zips, so also 20 roms as choice.

Considering the chosen rom would be installed on the internal sdcard, it would only need the DualBoot app in order to switch back to the barebone rom browser. :P which allows you to install an other rom that you'd like, this way you will have all roms on your phone and the ability to switch between them at every time. I think it's a pretty neat idea but on the other hand it's kinda useless for the people that don't have an ext sdcard.

:cool:
[Galaxy S Plus I9001 Android Development] a_alben:
Did I understood right, that it might be possible to switch easily through ROMs with just one app, and without flashing in recovery? :D
[Galaxy S Plus I9001 Android Development] Jonboy2011:
theoretically it would be possible to have quad-Boot or octa Boot with this Method, it would be a really nice thing to if a recovery dev could make a custom recovery, as example based on twrp with an choose Rom to Boot menu , this would be quiet awesome because then you could Make an third Rom "slot" With contains the Android barebone project only with some basic things like call SMS and Browser, an fast Boot system for long battery life , comparable to the fastBoot Option on many Notebooks, oh f**k i have too many ideas :D
[Galaxy S Plus I9001 Android Development] Tears for Fears:
You guys are crazy! :D Keep up the good work! :thumbup: :)
[Galaxy S Plus I9001 Android Development] rashidBat:
First thank you for the vid.

Second i did every thing still i have flashed DualBoot App and and am trying to boot my rom and it stuck at cm logo, tried to fix permission and clear cache and the same prop. !
[Galaxy S Plus I9001 Android Development] Jonboy2011:
which roms do you try to dual Boot ? have you done all steps including changing Boot.IMG and updater-script ?
[Galaxy S Plus I9001 Android Development] rashidBat:
my orginal one is cm10.1 and i didnt flash a second rom yet just flashed dual boot app and trying to boot my android
[Galaxy S Plus I9001 Android Development] Jonboy2011:
thats very strange, because the dual Boot APP only adds an folder with kernels and the APP .. but maybe try this : search for Aroma file manager on xda and open it in cwm, then delete these files : system/APP/dualboot.apk and system/etc/dualboot complete folder
[Galaxy S Plus I9001 Android Development] rashidBat:
when i go to system nothing shown as same as using a file manager without root !!
[Galaxy S Plus I9001 Android Development] Jonboy2011:
hm maybe reflash your Rom without data wipe.. have you change anythink inside the dual boot zip ?
[Galaxy S Plus I9001 Android Development] rashidBat:
i have done every thing i will wipe the data now and try
[Galaxy S Plus I9001 Android Development] pouriajamali:
i have same problem.when i partion my sd card it doesnt show it i reboot phone in it stay on cm logo!!!!!!!!!

then i shutdown phone and remove sd card and phone boot without problem but i do evry thing to recognize sd card but faild

i remove all partion that build and format sd card after that same happend my ram reader can show sd but phone cant its 16g:crying::crying:

what should i do??(i dont want dualboot any more)

EDIT:i find my solution.i should chose name driver for my sd card and format fat32.sorry
[Galaxy S Plus I9001 Android Development] markey97:
First we need to fix all this boot problems before we can make a triple boot etc..because if it doesn't boot, then its really unneccessary and unneeded and so on...

But also have some questions and ideas..
[MENTION=3341220]broodplank[/MENTION]: how do you plan the multi boot/rom switch app?

@OP: is it really needed to format /system and /data from recovery, because this would wipe the original /system and data and not the sd one i think....

As an idea: could we also make 4 partitions on internal sd card and change it then with swap sd?

And couldn't we make 7 partitions (one data partition, 2 /cache, 2 /system and 2 /data partitions), and make a third kernel version that boots from this 2. Sd rom partitions and then we have up to quad-boot with a 8 gb card (without a data partition or just a small one) and then up to theoretically 16 + 2 roms = 18 roms with a 64gb card!!

I know its waaaaayy too much boot it would also be very awesome and we would also still have a about 10gb great data partition for music, videos, pictures, etc...

Just some ideas, i think that it is impossible but its awesome :D
[Galaxy S Plus I9001 Android Development] Jonboy2011:
thats very strange.. i dont know who is the problem at the moment.. i'm not at home till monday so i cant look at this.. i dont now who is the problem, maybe android cant read so much partitions on external SD ? two works, as we can See on app2sd but maybe Four is an Problem.. have you formatted the partitions to ext4 ?

thanks for saying, i will remove that part since i'm not sure.. your ideas are great, when all problems are fixed and maybe a recovery dev work with us this all are possible..
[Galaxy S Plus I9001 Android Development] Aldokazer:
That one recovery will srsly become a very heavy file. And it might even increase recovery booting time.
[Galaxy S Plus I9001 Android Development] pouriajamali:
Yes i gormat partition to ext4
[Galaxy S Plus I9001 Android Development] rashidBat:
MY problem is fixed with data wipe only :( :( :(
[Galaxy S Plus I9001 Android Development] Jonboy2011:
sorry but i dont know what happens because i dont develope the app,maybe broodplank can say more
[Galaxy S Plus I9001 Android Development] rashidBat:
Take it easy man there is no problem but i just found that the problem is with sd partition, when i partition my sd card and try to power on android it doesn't boot any more at all (maybe with cm10.1) till you clear data and format sd any way thank you for your work :)
[Galaxy S Plus I9001 Android Development] broodplank1337:
Then you probably flashed the wrong boot.img ? the included boot.img is for internal sdcard for sure, so if you installed it on your ext sdcard its normal that it wouldn't boot, and formatting those partitions in recovery will simply wipe the internal partitions, even if the external partitions are meant.
[Galaxy S Plus I9001 Android Development] mizuki_kai:
Having problems with the dual boot. Followed the steps but didn't flash any rom to external card yet. When reboot it showed cyanogenmod at the bottom of the screen. Wait for a few minutes and it wont reboot. Any workaround for this? I don't want to format the internal data.
[Galaxy S Plus I9001 Android Development] rashidBat:
I didn't flash any new ROM to ext SD when I partition the SD the internal ROM won't boot !
[Galaxy S Plus I9001 Android Development] dellup:
really cool!:highfive:

just few questions before testing it...

- if i flash something in recovery (gapps, mods, etc) when i choosed to run ext-sd rom, the flash will interest that rom or the usually int-sd rom?

- if i want delete the dual boot what i should do? delete ext-sd partition and remove dual boot app from int-sd rom?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
1.to internal Rom because these things follow the Mount Points in updater script, but you can copy/paste the files using an file Explorer

2. just boot to normal Rom and delete the partitions

but for now, there is a Problem that the phones won't Boot after partition the SD card, i dont know why but i will try to fix it on monday..
[Galaxy S Plus I9001 Android Development] dellup:
so its better if i'll wait monday to test?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
yes it would be better
[Galaxy S Plus I9001 Android Development] XeLLaR*:
Hey Jonboy, do you think this could work ?

http://xdaforums.com/showpost.php?p=40388765&postcount=2923
[Galaxy S Plus I9001 Android Development] Jonboy2011:
yes of course , i said something like that a few post ago , it would be very awesome but i'm not a kernel dev so i can't do it.. but first i have to find out why the phone won't Start after partition the SD card..
[Galaxy S Plus I9001 Android Development] imneelesh:
Download the modified Kernel and your normal Kernel (very important) and put BOTH on your phone..

so how can i get normal kernel currently i am using ivendor's cm10 rom on my phone
[Galaxy S Plus I9001 Android Development] Jonboy2011:
you can use the dual Boot app, this include phenom kernel, but actually some people have Boot loops after partition SD card , but i dont know why.. so Better wait until tommorrow until i take a look at this ..
[Galaxy S Plus I9001 Android Development] Jonboy2011:
hey guys, today i receive a mail from user s3c70r that tells me a possible solution for bootloop : in My Video , i create logical lartitions but you have to create primary partitions ! but i'm actually not At home so i couldnt test it :/ but maybe one of you could test it ? :) sorry for long break but my School.... cheers Jan :)
[Galaxy S Plus I9001 Android Development] android_smiley:
Thanks!

Very very awesome work! Just one question: when i would partition my ExtSdCard and make a rom on it, where could i place my music, which on my external sd??:confused:
[Galaxy S Plus I9001 Android Development] Jonboy2011:
the Rom partitions take only about 3GB , if you have an 8GB SD card you can use about 5gb for music
[Galaxy S Plus I9001 Android Development] mizuki_kai:
Hi, which one need to put as primary? All of the partition or only the data?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
all
[Galaxy S Plus I9001 Android Development] roccofil:
Hello, I tried with all primary partitions, but does not start, remains stuck at samsung logo cyanogen:crying:
[Galaxy S Plus I9001 Android Development] Jonboy2011:
maybe because you are using eMMC fix too ?
[Galaxy S Plus I9001 Android Development] roccofil:
Hy JonBoy, i have using your guide and your modific kernel on first post
[Galaxy S Plus I9001 Android Development] echoff666:
Unfortunately me too remain blocked on Cyanogen boot animation, I have the last CM10.1 builded by Davidteri. It could be a question of what you have as main rom?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
hm and reflashing without data wipe ? sorry i cant try because My SD card Broke last week because of an ****ty SD card reader.. i'm using Erik mod ..
[Galaxy S Plus I9001 Android Development] dellup:
Any news?

Inviato con dannazione, da Tapatalk 4 Beta
[Galaxy S Plus I9001 Android Development] miki2o:
Is this possible also for galaxy W(ancora)? :)

Inviato dal mio GT-I8150 con Tapatalk 2
[Galaxy S Plus I9001 Android Development] Jonboy2011:
if anyone want , try to use ext3 primary insteed of ext4 primary partitions. sorry i cannot test because of School..

EDIT: a logcat would be nice too
[Galaxy S Plus I9001 Android Development] alireza7991:
How can I build a new ext4 partiton on sdcard ? I mean not external sd
[Galaxy S Plus I9001 Android Development] Jonboy2011:
i only know how to partition the internal data
[Galaxy S Plus I9001 Android Development] alireza7991:
How ? :)
[Galaxy S Plus I9001 Android Development] Jonboy2011:
connect phone to PC and partition it using tools like minitool
[Galaxy S Plus I9001 Android Development] Nekcbraker:
I'll try in a few hours, i've a eMMC-dangered device, does that make any difference?
[Galaxy S Plus I9001 Android Development] Jonboy2011:
yes dont try it ..
[Galaxy S Plus I9001 Android Development] Nekcbraker:
So there is no way for me to make it work?