yashsingh1/xdaforums huggingface dataset:
[LG Optimus 3D] dreccon:
You mean GB as secondary ROM? I don't think Berni has made a kernel for that.

So, you have ICS as main ROM, 1.25a bootloader, recovery and partitioned your card correctly. How about editing the installation script. Did you change all mmcblk0p7 to 1p2? There must be 3 of them in the script.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
Yep... All is true.

Yes. I did the script too.
[LG Optimus 3D] daveferry:
Is there any news about the possibility to boot stock v30a ics as primary and a custom v30a based rom on extsd as secondary rom?
[LG Optimus 3D] VfBStuttgart27:
No:(
[LG Optimus 3D] dreccon:
I'm out of ideas! :confused:

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
10x for the help anyway. i will play a bit. it is possible to be s.t. from the darkroom kernel that i flash after flashing the CM10 to boot for the scripts later. the kernel is full with other staff than recovery.
[LG Optimus 3D] brajesh.sharma87:
If after the rom installation, the screen you see is coloured stripes and not the bootanimation, that means the rom has not installed properly. You might attach the updater-script of your rom here so that we can see if you did any mistake or as such.

And if you are stuck in bootloop (you only see the bootaimation running), then convert your data partition to ext4, cache partition to ext3 and the rom shud boot just fine.
[LG Optimus 3D] p-vlad:
i see nice boot animation loop for both PAC 1.9.3 or Paranoid 2.57.2. All partition are ext4 so I will try later cache to be to ext3 but i do not see sense of that for CM10 roms.

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

all is ok now with PAC 22.1.0.

10x for the help of everybody. espetialy to dreccon and berni987654321

one last question. it is about the gapps

what exactly shoold i edit in the gapps:

run_program("/sbin/busybox", "mount", "/system"); -> mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/system");

or

run_program("/sbin/busybox", "mount", "/system"); -> run_program("/sbin/busybox", "mount","ext4", "EMMC", "/dev/block/mmcblk1p2", "/system");

or

something else?
[LG Optimus 3D] VfBStuttgart27:
run_program("/sbin/busybox", "mount", "/system"); -> mount("ext4", "EMMC", "/dev/block/mmcblk1p2", "/system");:)
[LG Optimus 3D] p-vlad:
danke

should i make unmount the same way at the end of the script?
[LG Optimus 3D] dreccon:
No. Leave that as is.

Sent from my dual-booting ICS/JB O3D!

---------- Post added at 02:23 PM ---------- Previous post was at 02:12 PM ----------

@Berni

If labelling partitions doesn't work, there might still be another way:

If we could make a separate file somewhere in primary system partition called e.g. rom2.mountpoints. That file would contain three lines like system2=/dev/block/mmcblkxpx etc. The kernel should then mount primary system, read the file, unmount system and mount system2 etc.

Another way would be to do something like the above but with the use of second init.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
Hi great tutorial.

I have xballs ics v8 as primary. them i installed pacman rom as second boot. Booted pacman fine but one problem, even though my sdcard is showing in storgage, i cannot download anything from web browser, keeps saying need sdcard to download.

in settings>storage, im showing as 1 gig memory, 26 gig sdcard and internal storage shows only the used space and no free space so i cant install some apps.

installed some apps from play, and when i go to run them, it saying i need a sd card to download the necessary files to!

Also, what boot kernal should i reflash to get my xball ics to boot again from system (can i just restore my boot.img only from my ics backup to get it booting from system normally again)

thanks

:p
[LG Optimus 3D] dreccon:
@japodude

Have you edited vold.fstab?

For booting back to ICS you'll need stock kernel. See my signature and you'll find a link with all that you need.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
thanks for wuick reply. i havn't edited vold.stab. how do i do that! lol

i have ph85 ics30a kernal, will that do?
[LG Optimus 3D] dreccon:
No, look at PACman thread. In 1st post,Berni explains what you have to do to vold.fstab and 66swap.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
Thanks for the info.

not sure what bootloader i got.lol i installed wparks 1.25 and twrp 2.2.2.1 but can't install pacman rom. get build prop error.

when i try to install twrp 2.3.2.3 i cannot access recovery so my gues is that i have ics partitions.

i tried ics recovery and gb recovery from the total tool package but none of them boot to recovery! i have to install the wparks modified cwm or twrp 2.2.2.1 only.

yesterday i had 2.3.2.3 installed and everything ran fine but i cant seem to get the correct recovery. or can i just delete the get build prop line from install script to bypass error

or is there a modified twrp 2.3.2.3 for wparks bootloader
[LG Optimus 3D] dreccon:
Now, wait a minute! In post #286, you said you already installed PACman as secondary and it booted and your only problem was internal SD access!

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
Yes i did. But when i couldnt get internal storage to work, or reboot my main rom i had to flash 28a back using lg flash tool and start from scratch!

Then i reinstalled recovery twrp 2.2.2.1 and reinstalled xballs ics. From there i cant remember what i did lol

I cant seem to get twrp 2.3.2.3 working with my xballs ics
[LG Optimus 3D] dreccon:
When you reboot your phone, the first LG logo that you see is silver or red?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
its grey.

i think i done it!

1 installed ics30a then install twrp 2.2.2.1

2 installed xballsv8 and main rom.

3 installed wparks 1.25

4 setup up my sd card as per your tutorial

5 change values in pacman rom as per tutorial

6 went to install pacman rom but had build prop error (using twrp 2.2.2.1)

7 edit installer script and removed the build prop line

8 now installed pacman rom fine

9 install modified gapps

10 reboot. boots fine and runs super fast ( i have a 32gig class 10 card)

when i checked the storage i had no internal storage and was unable to install certain apps, so i did what you said about changing values in vold.fstab and now it works fabulous!

so what i learned from this is that xballs ics v8 30a based has GB partition table! But even with this partition table i cannot install twrp 2.3.2.3 recovery for ICS or GB

so my question now, and the final one i promise lol is, can i get twrp recovery 2.3.2.3 or higher for my v30a ics with GB partition?

Thanks for the help.

and this dual boot tut Rocks. my phone now totally rocks

thank you very much
[LG Optimus 3D] dreccon:
If you have flashed GB TWRP (2323), you can boot into it this way:

Shutdown the phone. If it starts to boot by itself, press and hold Power for about 10sec until it completely turns off. Now keep pressed 3D + Vol-down and press power for about 3sec. You will see a menu with 3 options the last one is recovery. Release all keys and wait. Your phone qill now reboot into TWRP 2323.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
Hi. Its 2.3.2.3 I can't install

I used 2.2.2.1 for install.

Is there version 2.3.2.3 for ics30a using GB partitions

Been using pacman as dual boot now and its really really fast of my SD. Faster than my main ROM!

I've also installed the dual boot scripts for swapping between ROMs using one touch widgets and everything works fine

So now I have xballs v8 ics30a as main and pacman as dual

Works awesome. Thanks
[LG Optimus 3D] dreccon:
Use OS_Hacking's tool and install GB TWRP (that's 2.3.2.3).

You can boot into it the way I described in my previous post. Also, from PACman Power-menu, you can select "Reboot Recovery" (sometimes it just doesn't work).

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] japodude:
Awesome. that did it. great. Thanks i now have 2.3.2.3 and everything still works fine.

:good::D
[LG Optimus 3D] dtbang721:
This time I have this error when install pacman rom by twrp 2.2.2.1:

* Verifying filesystems...

* Verifying partition sizes...

Running boot script...

Finished running boot scripts.

-- Install /sdcard/p920_......zip

Finding update package...

Opening update package...

Installing update...

E:Error in /sdcard/P920_....zip

(status 6)

with print in adb I have my sdcard like this

Number | Start | End | size | type | File system | Flags

1 |1049kB |29.9GB | 29.9GB | Primary | fat32 | lba

2 |29.9GB | 30.6GB | 700MB | Primary | ext3

3 |30.6GB |31.8GB | 1200MB | Primary | ext3

4 |31.8GB |31.9GB | 114MB | primary | ext3

my updaterscrip like this http://www.mediafire.com/view/?5h3mcccskoophff
[LG Optimus 3D] dreccon:
I just answered in the other thread.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
Could be made so that we can have 3 boots? I mean a kernel that can boot second secondary ROM from SD card.
[LG Optimus 3D] dreccon:
Theoretically yes, but you'd have to know how to modify kernel mountpoints. I don't! Berni does, but then you'd also have to modify my scripts if you want to use them.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
it would be nice to have such kernels. all rest could be done by recovery
[LG Optimus 3D] daveferry:
Hi berni could you add v30a kernel for dual boot? that would be great!
[LG Optimus 3D] potaturrias:
Hi, i have installed acura v2 (Korean ics port) and i tried to install pac as second rom but the phone doesn't start.

I thought it was the bootloader version, so I installed the 1.25a version of wkpark, but this time did not enter into the recovery.

¿what can i do?

Thank you in advance.

EDIT: I installed v30 as first rom and now works fine.
[LG Optimus 3D] dreccon:
Guys, Dual Boot Essentials v2.0 is up. Check it out!

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
Hi berni,

how did you extract Zimage from CM10 boot.img. I can do that from GB and ICS but i did not succeed to do that even from your kernels here.

10x a lot
[LG Optimus 3D] Mohhamad Rehan:
hey berni would you help me dualbooting my phone with a 16 gb ext sd and rom that i have with Ubunthu Linux and Ubunthu for android
[LG Optimus 3D] p-vlad:
For all that like iBluemind's CM10 kernel I upload the modified version for SECONDARY BOOT with the tools of berni987654321 that is in the first post in this threat.

The kernel works stable and fast and has the feature that I missed most in the cm10_pac - overclock, voltage change and FastCharging. It is based on Linux kernel for Android version 3.0.62 and many other features that you can find in the original threat:

[STOPPED][Kernel][3.0.62][11/02][P920/SU760][ICS/CM9/CM10/CM10.1][OC/UV]BlueKernel II

All credits go to iBluemind and berni987654321

Link: Second boot iBluemind's CM10 Kernel
[LG Optimus 3D] Chris189:
Thank you! This is awesome. Can you explain how did you modified the kernel?
[LG Optimus 3D] p-vlad:
i extracted the zImage in Linux and used it in the berni tool form the first post here. Finally edit the partition for the rest stuff in the updater-script and zip it again.
[LG Optimus 3D] Chris189:
Thanks for the info. Please can you modify the kernel to boot from to internal SD card? Thank you :)
[LG Optimus 3D] p-vlad:
what do you mean? You install your Rom on the internal SD card?

which partition is that? the original (of the main boot) is mmcblk0p7. by the berni to boot from external is mmcblk1p2.
[LG Optimus 3D] Chris189:
If you watch Berni, first post he wrote in the CM7 internal SD card section. Its mmcblk0p16 and 18 :) Sometimes i need to swap memory card but i like to dual boot feature and i'd like to keep my ICS 4.0.4 and my MIUI rom :)
[LG Optimus 3D] p-vlad:
http://www.wuala.com/p.vlad/Kernels/

take the kernel with your name. it is modified with mmcblk0p16 for the rest files. the boot.img goes as usual to mmcblk0p5.

keep another kernel or backup in case this does not work for you.

---------- Post added at 07:33 PM ---------- Previous post was at 07:12 PM ----------

ANOTHER CM10 SECOND BOOT for all of you !!!!

Pesach85's V2 based on iBluemind sources 3.0.62 version modified for SECOND BOOT with berni tool:

SECOND BOOT Pesach85's V2

based on iBluemind

sources 3.0.62

works OK. has:

fast charge

Multicore Power saving

Fsync

GPU OC

CPU OC

etc.

you can find the original threat by Pesach85 here

All credits go to Pesach85, iBluemind and berni987654321. I just use just theirs the tool and the kernels

p.s. seems that d-h.st is down. Another link for "Second boot iBluemind's II CM10 Kernel" is here
[LG Optimus 3D] BadMilo:
Dude you're on fire.....

I have been waiting for something like this for months.

Thanks a lot
[LG Optimus 3D] Chris189:
Thank you! I waiting for this for a long time. Keep up the good work :)

p-vlad, the kernel is not working, its trying to reach my external SD. :( I'm using ICS parition table and 1.25 Bootloader
[LG Optimus 3D] p-vlad:
i was almost sure that this way will not work. you try to use CM10 kernel on CM7 Rom. I have no what to do to make it work. As i said - i just use the berni tool to make others CM10 kernels to be possible to be used on secondary rom. What you need is CM7 modified kernel that only berni know how to do.
[LG Optimus 3D] Chris189:
I see , thank you for the help. Maybe Berni help be sometime, when he have time.
[LG Optimus 3D] Claudio67:
Pesach85 cm10.1 Vibra Dual Boot

Hi Guys,

Attached Pesach85 cm 10.1 Vibra for dual boot, of course credits to him, and thanks again Bernie to your dual boot and Dreccon for his tutorial! :good:

Ramdisk is also from Pesach, i'm using with PACMAN 10.1 and works great.

I have also attached the pesach ramdisk, use it with bernie's tool, just copy in the ramdisk folder if you want dual boot some other cm10.1 kernel.

Cheers

EDIT: BT doesn't work
[LG Optimus 3D] p-vlad:
does the bluetooth work good?
[LG Optimus 3D] Claudio67:
S...t no doesn't work, didn't tested I don't use it....
[LG Optimus 3D] Chris189:
Nice work! Guys can you post some tutorial, how to do this kernel modification?

Im unpacked the boot.img, but im stuck, i don't know what to do next.

Im using Ubuntu.

Thank you :)
[LG Optimus 3D] Claudio67:
Hi,

After some try i found this

http://xdaforums.com/showthread.php?t=1358717&highlight=repack

Works nice!
[LG Optimus 3D] Chris189:
Thank you! This is work with 4.2.2 kernels too? Or this method is "universal"? Sorry, im doing this first time.
[LG Optimus 3D] daveferry:
Hi guys can you modify a kernel for cm10 with no fps bug?
[LG Optimus 3D] Claudio67:
Universal but addresses parameters for repack are device specific.
[LG Optimus 3D] p-vlad:
this is exactly what the dualboot_tool.zip by berni987654321 do. just the berni bat file is more easy for use.
[LG Optimus 3D] Claudio67:
Yeah but I use that because the tool didn't include 4.2.2 ramdisk for 10.1.
[LG Optimus 3D] Chris189:
Thank you for your answer :)

I have a stupid question, it's mentioned before, is there some way to boot multiple ROM's from the external SD card? Such as PAC-man and MIUI?
[LG Optimus 3D] avelosoi:
Dumb question: This method will work with ICS v30a and JB 4.2.2 PACMAN?

With this procedure?

//Dualboot any and a cm10 based rom from external sdcard

Thx.
[LG Optimus 3D] p-vlad:
it will but by JB 4.2.2 PACMAN (and all CM10.1) you will loose the BT.
[LG Optimus 3D] avelosoi:
OK, I followed the procedure carefully and installed Pacman on the new partition.

When booting I get a split screen in half, one with the logo of Pacman and the other half with colored lines.

Pacman then starts automatically.

I tried every kernel and none work for me.

I did everything a second time and the problem happens, I can not choose the primary rom (V30A)

or how can I choose it?
[LG Optimus 3D] p-vlad:
"Pacman then starts automatically." ? so.... you have the boot animation. The first boot can be as long as 5.

"I tried every kernel and none work for me." - post mi a links to the kernels... should work with the CM10.1 on the first post for sure.

"I can not choose the primary rom (V30A) " - just flash a ICS Kernel... you can take form my signature one.
[LG Optimus 3D] avelosoi:
Question, the way to choose the rom is it flashing the kernel every time?

I think it will be a menu or something XD

Dumb me...
[LG Optimus 3D] p-vlad:
this is the usual way.

the easy way using script you can find in this post

then you have only by one icon on the home screen and you can switch with 1 click.
[LG Optimus 3D] Claudio67:
If u use bernie pacman 4.2.2 bt works!
[LG Optimus 3D] p-vlad:
have you tried it? For me work only as a primary rom. Once is like secondary (on SD card) - the BT does not work by me. Which second boot kernel you use?
[LG Optimus 3D] Claudio67:
It works as bernie stated in his pacman thread, u have to use his kernel and one module if I well remember. Anyway as secondary

rom I tried to start it (I didn't try pairing) and it works. Pesach vibra that I've converted to dual, crash as soon as I try to start it

---------- Post added at 12:53 AM ---------- Previous post was at 12:47 AM ----------

http://xdaforums.com/showpost.php?p=40497708&postcount=381
[LG Optimus 3D] avelosoi:
BT doesn't work for me on the lastest version of Pacman.

hci_tty.ko doesn't exist in /system/lib/modules/ neither
[LG Optimus 3D] Claudio67:
Just checked and it is present where bernie said...
[LG Optimus 3D] p-vlad:
I was looking here in the forum and i found that with this tool(MiniTool® Partition Wizard Home Edition 7.8) you can easy partition your SD CARD. I already did it on my new 32GB one and.... IT WORKS! The only thing is that you should partition your card over the computer not inside your phone.

So... no more command prompt and ADB shell.
[LG Optimus 3D] BadMilo:
You can also do it with gparted, thats how i did it.
[LG Optimus 3D] TheGame1594:
my first rom boots and the second one doesn't. Where is the problem ?

first rom : ICS V30B Germany Vodafone Official

second rom : cm-10-20130804-NIGHTLY-p920.zip

i have tried all your boot.img files but none of them work for me.

The only thing i'am getting is the bootanimation with the following files:

cm10_pac.zip

cm-10.1.zip

but it doesn't go further then that.

Wich of the boot.img files i should use for a cm10
[LG Optimus 3D] brajesh.sharma87:
Yup u r trying the wrong kernel. I think its original_cm.zip, i just forgot, try with that else I will upload the right kernel for u.
[LG Optimus 3D] p-vlad:
try this one and this one- just flash in recovery.
[LG Optimus 3D] TheGame1594:
i tried the dev-tool to create a new boot.img and i have still only the bootanimation.

here is what i tried:

i have taken the boot.img from the cm10 nightly build and extracted it with a tool

from here : http://xdaforums.com/showpost.php?p=35181780&nocache=1&z=8308330604340881

after that i used the dev-tool and put the kernel in the folder "put zimage here" and renamed it to zimage.

Then i took the file from output and named it boot.img and created zip and flashed it.

I think all the steps are right because the rom tries to boot but hangs at the bootanimation.

it would be nice if you upload the kernel. I tried the cm_original and that one didn't work too (first post)
[LG Optimus 3D] dreccon:
[MENTION=432754]TheGame1594[/MENTION]

cm10_pac is the right kernel for your secondary ROM. I'm using it right now. My guess is either something is wrong with your partitions or you have a corrupted download. Boot to your primary ROM and use the Recovery Tools to wipe System2, Data2 and Cache2. Then, download CM10 again, edit the script properly and flash it in recovery. If your partitions are correct, it should work.
[LG Optimus 3D] TheGame1594:
problem solved thanks for all your help. The partitions somehow were wrong. I did create them again and now it boots.

where i can find the recovery tools to wipe these???

found them never mind !!!
[LG Optimus 3D] brajesh.sharma87:
In dreccon's dual boot tool thread. He has some very good scripts for dual boot, you must check those.
[LG Optimus 3D] TheGame1594:
im going to look for these thanks.

I have a question for the Dual Boot Tool.

In which format i have to put the ram_disk in the folder to create a dual boot.img ????

There is a folder called ramdisks and the file 412.cpio.gz is in there so i thought i put the ramdisk file as *.gz too is that right ????

do the programm even realise that there are other files in that folder to create the new boot.img file??????
[LG Optimus 3D] ljv004:
Hello. I know this is not my device but, would be work for lg optimus 3d max (lg p720h) ?
[LG Optimus 3D] dreccon:
NO, unless you can modify your own CM10 kernel with external SD mountpoints.

Sent from the 3rd dimension!
[LG Optimus 3D] ljv004:
So. No dual boot for lg p720h
[LG Optimus 3D] Buzz7:
Is is possible to modify Milaq´s custom kernel for LG p940 (https://github.com/milaq/android_kernel_lge_p940) with external SD mountpoints?
[LG Optimus 3D] dreccon:
You might want to check my new thread (link is in my signature). It has info on how to setup partitions and edit the kernel yourself on any(?) device. I have also uploaded a new DBoot Recovery script that makes life easier. If you have further questions, you can ask there.

Sent from the 3rd dimension!
[LG Optimus 3D] lzzar:
Script/batch file

Okay so now I have done a more n00b-friendly batch file for the whole ADB process.

Just extract it, put it in your ADB folder (e.g C:\android-sdk-windows/tools/adb).

Run it and follow the instructions on the screen.

Ignore my first post ;)

EDIT: whooops! didn't see your post there @defcomg. You already made a script! LOL sorry for unessecery posts.

just ignore all my posts ;)
[LG Optimus 3D] lzzar:
Did I get this right?

I should first flash lets say cm7 with modified updater-script and then flash modified cm kernel by you?

Also, I didn't find any mmcblkOp8 lines in my cm7 ROM. is it okay to install anyway?

Thank you
[LG Optimus 3D] berni987654321:
yes to both,

you just have to edit mmcblk0p8 if there are any files flashed to /data like it is in miui
[LG Optimus 3D] lzzar:
Okay thanks.

What if wanted to switch back to normal do I just format my sdcard when on the base ROM?
[LG Optimus 3D] berni987654321:
to return to stock enter a recovery open mmcblk0 with parted again,

delete partition 15,16,17 and 18 and make a new fat32 partition
[LG Optimus 3D] lzzar:
How to make a new fat32? :p
[LG Optimus 3D] Chris189:
You can make a new partition with this code: mkpartfs primary fat32 1955 7944

It works for me , i revert back everything to original , because my internal and external sd isn't mounted in acura 3d max 3.1 and promethius 1.5 rom and I don't know why..
[LG Optimus 3D] defcomg:
Anybody else get this

g /dev/block/mmcblk0 Welcome to GNU Parted! Type 'help' to view a list of commands. (parted) print print print Error: The backup GPT table is not at the end of the disk, as it should be. This might mean that another operating system believes the disk is smaller. Fix, by moving the backup to the end (and removing the old backup)? Fix/Ignore/Cancel?
[LG Optimus 3D] xbsall:
Yes fix it
[LG Optimus 3D] Bdadd34:
Thanks that's good to know...I wasn't sure so I ignored it and all worked but I was short a couple bytes on last partition I believe. Will fix it next time I play around with it.
[LG Optimus 3D] lzzar:
Just asking. Theoretically whe could boot several roms with the external SD?
[LG Optimus 3D] berni987654321:
I think yes but I didn't test it and as long my p920 is bricked I can't try it, but

you could maybe pm me and I could give you commands with teamvieweror something like that.
[LG Optimus 3D] lzzar:
I was just asking if it could be done cause at the moment I haven't got any fast sdcard ( class 4)
[LG Optimus 3D] berni987654321:
okay but it could be possible
[LG Optimus 3D] Chris189:
If you send me the instructions , i can try it
[LG Optimus 3D] berni987654321:
maybe another day but I don't have the next days very much time
[LG Optimus 3D] eternal.sumit:
I am confused about switching between 1st and 2nd ROM.Do we need to flash boot.img every time to switch between installed ROM.please help me how to switch between two ROMs and make me clear about flashing boot.img:rolleyes: