yashsingh1/xdaforums huggingface dataset:
[HTC Sensation] Drowzz:
How do you know venom is porting it?
[HTC Sensation] XeloOw:
If you go on their thread you will know it...

Envoyé depuis mon HTC Sensation XE with Beats Audio avec Tapatalk
[HTC Sensation] sajibcy:
also in their Facebook page.
[HTC Sensation] troedi:
cool, another blah-blah-only thread...
[HTC Sensation] Drowzz:
Nah mate,

Check this:

That is on Venom their Facebook :D

http://www.facebook.com/venomroms
[HTC Sensation] thaiboyger:
I though they startet to roll out but immediatly stopped

-------------------------------------------------

HTC Sensation xe

S-ON

Vipers 1.6.3

4ext recovery

turbo boost cache swap

Sultan Kernel r14.5

Hboot 1.29

Firmware 3.33.401
[HTC Sensation] pratikverma28:
This would be great sensation could get jb soon.....i truely appreciate the works done by venom.....:good::good::good:
[HTC Sensation] cakaostojic:
From team venon official website
[HTC Sensation] rp56:
Nice to see the sensation on the list. :)
[HTC Sensation] Wagedroid:
Where can you pre order it
[HTC Sensation] Switcherd:
Google it... Anyway, how is this relevant for a developers topic regarding the sensation?
[HTC Sensation] Wagedroid:
Dude take it easy. If your not helping just gtfo or observe quietly.

I did Google it and I'm looking to pre order it for the US. And its relevant. Its all relevant. Try to be a mod in less viewed threads. Thanks.
[LG Optimus 3D] jocazmaj:
Wow man, this is awesome!

I'm bussy right now but I'll try it out as soon as i can.

Thanx thanx thanx thanx......
[LG Optimus 3D] Evil Slayer:
this is awesome!!thank you so much for this...one of the reasons i don't use dual booting is that the switching process is not efficient

and now its much better..so thank you again :D
[LG Optimus 3D] CarDGee:
Re: [DualBoot][Tools]Essential tools for Berni's method

Great job mate, you just made my life a lot easyer.

Thanks
[LG Optimus 3D] dreccon:
Re: [DualBoot][Tools][Guide]Essentials for Berni's method

Some people experienced trouble partitioning external cards larger than 8GB. Specifically, the 4th partition (cache) wouldn't fit. So, I rewrote Berni's guide on partitioning, adding one extra trick to do the job without problems!

Sent from my 3D phone
[LG Optimus 3D] dreccon:
Re: [DualBoot][Tools][Guide]Essentials for Berni's method

Added a way to migrate your single boot CM10 installation to dual boot without losing your settings!

Sent from my 3D phone
[LG Optimus 3D] Chris189:
Thank you. You are awesome :)
[LG Optimus 3D] brajesh.sharma87:
Very good bro, just find a way to put script shortcut in powermenu, that would be real cool. I think it can be done by editing android.policy.jar
[LG Optimus 3D] dreccon:
Re: [DualBoot][Tools][Guide]Essentials for Berni's method

Added support for the new P920 ICS v28b.

Sent from my 3D phone
[LG Optimus 3D] dreccon:
It just occured to me that there is yet another way to easily switch ROMs without using my scripts! Whoever is interested may try it.

This method is ideal for those who use Xbsall's prerooted v28b. That rom comes with milaq' 2nd init recovery which lives in the system partition. The recovery partition remains with stock recovery which is practically useless. So, 1st of all make sure you have wkpark's v1.25a bootloader (a prerequisite to boot into both ICS and CM10). Then flash the secondary boot.img into the recovery partition. This way every "normal reboot" will take you to your primary ROM and every "reboot to recovery" (or pressing vol-down at bootup) will take you to the secondary ROM. To go to milaq's recovery you would press vol-down at normal bootup while keys are flashing or run the dedicated app from android. So, there you have it: a fully functional dual-boot android. Ofcourse, this can apply to any ROM that can be fitted with 2nd init recovery.

Any questions?
[LG Optimus 3D] Farhad4500:
yaaaa :D great man i love it :good::good::good::good:
[LG Optimus 3D] boltthrower56:
Hey dreccon , say that i want to keep cm10 as my primary ROM and v28b as my secondary , if you can also include those steps in your main post i'd really appreciate it.

Thank you for this great contribution.
[LG Optimus 3D] dreccon:
Re: [DualBoot][Tools][Guide]Essentials for Berni's method

Sorry, can't do that! It's not that it can't be done, but you would need a v28b kernel modified to look for the system partitions in the SD card. I don't know how to do this. Berni does! That's why all the modified kernels are on his page and not here!

What you can do right now is to migrate your existing CM10 to the card. I've written instructions on 1st post.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] boltthrower56:
Allright , thanks anyway...

I'll pm bernie and ask about modifying the kernel.

I already did a little research about it , i think i can do it easily , i just need someone to point me out to the right direction.
[LG Optimus 3D] ColanderBrain:
Thank you very much for the Scripts they work really good and fast...:good:
[LG Optimus 3D] dreccon:
Are you using ICS as your primary ROM? It seems that there is a driver problem in ICS. I'm using v28b and my computer can't install drivers when I connect phone in recovery, although everything works perfect when it's booted in Android. All I can tell you is to try updated drivers (the link has been posted in v30a thread. If it still doesn't work, you'll have to use TWRP console instead of ADB. If this is your case you'll need further instructions cause the commands in TWRP console are a little different than ADB.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
Also, see if updating Android SDK makes any difference.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] boltthrower56:
I can get into adb from fastboot , recovery and debugging with defcomg super light ROM ?
[LG Optimus 3D] dreccon:
Is this a question or a statement?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
Added solution at the end of 1st post.
[LG Optimus 3D] dtbang721:
Because i use the ics stockbootloader for my ics main rom so how do i edit the script to add flash the wpark bootloader be for flashing second rom kernel and the other side flash back ics stock bootloader to boot back to first rom?
[LG Optimus 3D] dreccon:
You don't have to change bootloaders all the time. If you flash Wkpark's bootloader once, you'll be able to boot both ROMs. Just use OS_Hacking's tool (link is in 1st post).

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
I mean that i prefer to use ics stock boot loader than wpark. So wen come back to v30a i need the stock bootloader on it too.
[LG Optimus 3D] dreccon:
I don't like this idea because, without wkpark's bootloader, you can't have recovery, so if something goes wrong with your primary ROM, you won't even be able to restore it.

If you still want to do this, I could make you custom scripts that flash loaders, recovery and kernel and then reboot.

I still don't think it's a good idea!

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
I think for boot from 1to 2 rom is

Flash wpark boot loader, flash kernel and reboot to rom 2

And boot from 2 to 1 rom is

Flash kernel and flash back ics stock boot loader.

Just once more step and i dont think there is any change to the recovery? I think we have all stock and wpark boot loader in zip file that can be flashed in recovery? Now im running with stockbootloader and twrp. I can switching between stock and wpark boot loader and boot the phone with no problem, no thing change with the recovery.
[LG Optimus 3D] dreccon:
I m'not sure I understood you well, but without Wkp.bootloader recovery doesn't work.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
Im on stock boot loader ics and rooted. My twrp work like a charm ;D

Ive done these steps to got rooted stock bootloader and twrp on my phone and every thing work well

1 flash wpark by all in one tool

2 flash twrp

3 flash super user

4 flash back stock ics bootloader

5 take a back up by twrp

And every thing worked. At any time i need wpark i still use twrp to flash it.
[LG Optimus 3D] dreccon:
Have you flashed recovery with all-in-one tool or P940 (2nd init)?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
After root by all in one tool recovery i install recovery by p940 apk and use it to switch between stock and wpark
[LG Optimus 3D] dreccon:
So, you have two recoveries installed. A normal one that works with Wkpark's bootloader and a p940 that works with stock. OK, I'll make you the scripts. Just give me some time...

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
After install p940 recovery i ussually use it to flash between 2 boot loader because i just select boot in to recovery option in it apk and dont need to press not easy key combo to boot in to recovery( at least for my nearly dead power button, combo key is not easy)

The reason that i need to keep stock bootloader is i can make a mod to generic.kl to wake my phone up from surely deepsleep by pressing camera key or volume down key. I dont need to use my power button alot. It sound good for me because my camera key is very strong ;D.
[LG Optimus 3D] dreccon:
[MENTION=3572728]dtbang721[/MENTION]

Here you go:
[LG Optimus 3D] dtbang721:
Ive folow your guide to setting ex sdcard and second rom, It seem be ok but when i flashed the p920_PAC_JB_4.2.2-v22.1.0_20130414-042500.zip file it gave me:

-- Install /sdcard/p920.....zip...

Finding update package...

Opening update package...

Installing update...

assert failed: getprop("ro.product.device") =="

Error flashing zip ' /sdcard/p920......zip'

(Status 7)

* Verifying filesystems....

* Verifying partition sizes...

Error flashing zip ' /sdcard/p920......zip'
[LG Optimus 3D] dreccon:
Just delete the 1st line of the ROM's install-script (the script you edited for dual boot), save it and flash it again.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
This time I have this:

* 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:
Your partitions look good.

I can't read your script (service temporarily unavailable). I suspect your editor is corrupting it. On your PC, extract the script from the original ROM, edit it with Notepad++ (not with windows notepad) and copy the edited file back into the zip. Then it should flash.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
Will give a try

Notepad++ work but when boot in to second rom I have error "unexspected stoped"

The rom install require factory reset but in dual boot how do I make the factory reset before boot in to second rom? I think Normaly factory reset will done to the first rom?
[LG Optimus 3D] dreccon:
If you have booted into second ROM, then all is good with dual boot. For unexpected check in the ROM thread.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
I just want to know how do I make a factory reset to the second rom in TWRP because with dual boot in normal I think if choose the wipe in TWRP it will wipe the first rom, not the second. And in installing the second rom It asks me to reset after flash the rom.

when I boot into second rom I have this "Unfortunately System UI has stopped". How do I solve it?
[LG Optimus 3D] dreccon:
From ADB use the mk2fs command (see 1st post setup instructions) and format mmcblk1p3 and 1p4.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
now when I boot in to new pac rom with cm10Pac kernel in bernie post It take so long time on screen "Pac is loading"
[LG Optimus 3D] dreccon:
PACman v22.1.0 with bluetooth fix doesn't have a dual boot kernel yet. You have to wait for Berni to release one.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
Thanks so much, And how about the link to down load your cm10 second rom? which boot img from bernie for it? I cant wait to give it a try.
[LG Optimus 3D] dreccon:
For CM10, download Berni's cm10_pac.zip

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
It is working ok with 10.1 kernel
[LG Optimus 3D] dreccon:
You mean PAC22.1.0? Berni said it wouldn't work. Perhaps he meant it only for bluetooth? Do you have working bluetooth?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] p-vlad:
I have no idea - I do not use any BT devices. But is working OK ( i could not make it work with 4.1.2 as you know).

the only problem here is that i miss the internal SD card so I had to copy your script and the kernel img to the external one and edit your script for that to sdcard1 instead of sdcard

EDIT: BT button can not be switch on at all.
[LG Optimus 3D] dreccon:
So, as I said, we have to wait for Berni to release his BT fixed 10.1 kernel for dual boot.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
exec /system/bin/sh '/mnt/sdcard/_ExternalSD/Dual-Boot/Reboot into ROM2'

ernalSD/Dual-Boot/Reboot into ROM2' <

REBOOTING IN A FLASH...

BYE BYE!

./125a_x-loader.img: cannot open for read: No such file or directory

./125a_u-boot.img: cannot open for read: No such file or directory

./boot2.img: cannot open for read: No such file or directory

reboot: Operation not permitted

First time run u script made for me and it stuck. When i check super user option it just make a reboot.
[LG Optimus 3D] dreccon:
It doesn't work even with su option?

Then I'll have to make another one...

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
Switch ROM and Bootloaders!

New custom scripts:

Download and unzip. Copy the folder to your phone (anywhere you like, as long as the path contains no spaces). Inside there is a folder called "bin". Copy the desired boot1.img and boot2.img into it. Use the Reboot scripts with SManager, giving them SU rights.
[LG Optimus 3D] dtbang721:
Still not try your new yet because I busy atm. But could you make a script to do this step in order to flash another rom2 without connect the phone to pc?

5. Turn off your phone and boot again into recovery.

Type:

Quote:

adb shell

cd /dev/block

mke2fs -T ext4 mmcblk1p2

mke2fs -T ext4 mmcblk1p3

mke2fs -T ext4 mmcblk1p4

Your new partitions are now ready!
[LG Optimus 3D] daveferry:
Hi Dreccon, for dual boot in external sd is better ext2 or ext4..? If yes can you tell us how to convert from ext2 to ext4 with adb shell?
[LG Optimus 3D] dreccon:
Updated op

UPDATED SCRIPTS + TWO NEW SCRIPTS

I wanted to do this for a long time but never found the time. I have finally managed to update 1st and 2nd posts. My new scripts work no matter where in your phone you place their folder and there are two new scripts to Factory Reset or completely Format your ROM2 installation.

Please read the instructions again because some things have changed regarding folder tree.
[LG Optimus 3D] dreccon:
Well, this is a very extensive conversation and has been discussed in several threads here on XDA and on the internet. I personally use ext4. Open and read the Setup Instructions in 2nd post. The last mke2fs commands are the ones that format your partitions. In my example the format is ext 4, but you can change it if you want. It's obvious which part of the command you have to change! ;)
[LG Optimus 3D] dtbang721:
For your script youve made for me it work. But ive removed special character for it to work (ex i change the name x-loader.img to xloader.img) now i have widget one click to flash bootloader and boot.img and boot to another rom. So thanks.
[LG Optimus 3D] dtbang721:
[MENTION=2863096]dreccon[/MENTION]

It is normal the new pacman rom hasnt sdcard in dual boot mode? When boot in to this second rom, it camera say insert sdcard to take picture?

,
[LG Optimus 3D] dreccon:
[MENTION=3572728]dtbang721[/MENTION]

Have you done step 2 of Berni's PACman instructions?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
Yeah you're awesome. I miss it. But Bernie said change before flash the ROM so I didn't do it for PAC man ROM. Just find and change in stock v28b. Now I edited it in system off pacman ROM and OK.
[LG Optimus 3D] dreccon:
You're not supposed to change anything in your primary ICS ROM. Step 2 is only for PACman.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
As the boot image is must use from Bernie release so how do I use a custom kernel with the second ROM? How to edit a bootimage to work in dual boot?

And it is right if I run your rom2 full format and try to flash another ROM or I must connect the phone to PC to do the Bernie step 5 before flashing new ROM?
[LG Optimus 3D] dreccon:
You can't use a custom kernel for secondary ROM unless you learn how to modify its mountpoints. I can't help you with this.

You can use the Full Format script and then directly flash a new secondary ROM.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
... still, you can overclock using CM10 modules by Iodak.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dtbang721:
As I know, cm rom has volume rocker option and with it I can wake up screen from deep sleep by pressing the volume keys, but with pacman rom it has cm10.1 kernel but I can't find this option. Is pacman has this option?
[LG Optimus 3D] dreccon:
That's a PACman specific question. I think yes, but better ask Berni.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
Not needed. For me it works as I uploaded it. Dash(-) and underscore (_) are "legal" in filenames! Mainly you have to watch out for spaces.
[LG Optimus 3D] dtbang721:
It reported that error so i removed "-" and "_" and it work
[LG Optimus 3D] dreccon:
Now I'm disappointed! Those were the first custom scripts that were buggy (I had used a syntax which works on Linux but not on Android - I found this out later). So, I said I'd make you new ones:

I uploaded the new scripts along with instructions in post #53. I even updated them the way I updated the normal scripts, so that the DualBoot folder can be put anywhere on the phone! Use them, they work fine on my phone.

You can also copy the rest of the scripts (backup, format etc) from OP into the same folder to keep them tidy.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] OS_Hacking:
[MENTION=2863096]dreccon[/MENTION]

You can make the dual boot script as an flashable zip . In that zip make two folders "bin" & "dualboot" (or what ever you want) in the bin folder put one script :-

ROM1 ()
{
Echo "booting rom1.."
dd if=/system/dualboot/***.img of=/dev/block/mmcblk...
Reboot
}

ROM2 ()
{
Echo "booting rom2..."
dd if=/system/dualboot/***.img of=...
Reboot
}

Echo "welcome to dua...."
Choose rom1/rom2 (1/2) ??
Read x

If [ $x -eq 1 ]
Then
Rom1
fi

if
[ $x -eq 2 ]
Then
rom2
fi

And the same for bootloaders

You rewrite and improve this messy script .

Name it anything (e.g. dualboot) and put in in /bin folder (in the zip) .

While "dualboot" folder contains the necessary files .

Fix permissions in update script ,, now the user only needs to open terminal emulator and write "dualboot" .

I use the same method in my tool but in DOS language .

#------------------------------------------

echo "Sender.product.model=LG-P880" # (O4X) .

if [ $thanks -eq $pressed ] ; then

thanks_meter=$((${thanks_meter} + 1)) ; fi #Press it ;)
[LG Optimus 3D] dreccon:
[MENTION=4839896]OS_Hacking[/MENTION]

Thanks. I will perfer to keep the "Reboot_to_ROMx" separate because this way, using SManager, I can have a shortcut on the desktop and switch ROM with a single touch (it doesn't make much sense, for example, to have the option to switch to ROM1 when you are already in ROM1)! Your recommendation is excellent for my backup, restore, wipe etc. scripts. I was dreaming I could code this with a graphical front-end but I would have to learn to code and I don't have the time. Anyway, what you said is still a step forward.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] dreccon:
I actually got an idea! If I could use the df or mount command to determine if a physical partition is mounted, I could merge the two scripts into one. The script would sense e.g. if the primary system partition is mounted and if yes, it would reboot to ROM2, elseif not mounted, reboot to ROM1.

I need to do some research...

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] brajesh.sharma87:
Nice Idea. I will again give you suggestion to find a way to put script shortcut in powermenu. That will actually make the job a lot easy. I will do some research as well.
[LG Optimus 3D] dreccon:
I know, this would be the best, but I would have to edit java code in the power menu itself and I don't know java! Also, the power menu would have to be "hacked" in GB, ICS and JB, cause the end user may be using any of these versions. Still, if anyone knows how to do this, please, feel free! There are no copyrights here. We all help eachother the best way we can!

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
hi dreccon, which kernel do i have to use for defcomg´s, respective optimusRs miui roms?

and do i have to flash those zip, or only extract, rename boot.img to boot2.img?

greets

sierra

35
[LG Optimus 3D] dreccon:
[MENTION=4504074]Sierra35[/MENTION]

For Defcomg's MIUI (or any other CM10 based ROM) you need Berni's cm10_pac.zip.

For CM10.1 based ROMs you need, well, cm-10.1.zip

Weather you flash them in recovery or use them as boot2.img, the result will be the same: you will boot your 2nd ROM.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
then i must have missed something. always booting into Rom 1.

Weird. Problem still ooccurs, when booting from script. When flashing, stuck at Mi logo :banghead:

Btw, is that ics kernel a must have kernel for primary Rom? Because I used iodaks kernel. Could that be the problem?

Solved.. The problem seemed to be the ext 4 format after creating partitions. made it with bernies tut, now works
[LG Optimus 3D] Sierra35:
hi, again. i have some problems with the scripts.

the only script working for me so far is reboot into rom 1.

reboot into rom 2 leds to rom 1, for second rom i have to flash boot zip.

also format rom 2 does not work. shows only: not found.

changed : mkefs -T ext4 /dev/block/mmcblk1p2 , deleted -T ext4, because i didn´t use that command in creating partitions, but still no luck.

Maybe some advice?

Thanks

sierra35
[LG Optimus 3D] dreccon:
Have you pressed the SU icon for each script in SManager?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
Yes, but it tells me: not found

Gesendet von meinem LG-P920
[LG Optimus 3D] dreccon:
Where have you copied boot1 and 2 images?

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
Into that dualboot/ bin folder

Gesendet von meinem LG-P920
[LG Optimus 3D] dreccon:
If your files are in the bin folder and you have named them boot1.img and boot2.img and it still says file not found, then you are using the old scripts. Delete all scripts and download the new ones.

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
I downloaded the dualboot.zip from first post 2 days ago. Will download it and try again. And report back..

Btw, commands -T ext4 I got stuck st boot screen, using bernis original ones it boots okay.

Gesendet von meinem LG-P920
[LG Optimus 3D] dreccon:
Don't forget to delete old scripts first, or SManager may get confused.

Anyway, I'm currently working on v2.0 scripts. They will be a lot smarter than they are today and there will be a lot less room for user error.

My only problem is my limited free time which makes development really slow, so no ETAs. Just keep tuned!

Sent from my dual-booting ICS/JB O3D!
[LG Optimus 3D] Sierra35:
waiting patiently for it ;)