yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Nexus] twistedumbrella:
Re: [kernel] Dual-Boot Support Kernel(Base Leankernel)

If you backup cache, you get both. If you skip cache, just the primary.
[Samsung Galaxy Nexus] dlhxr:
Hi. It is very nice of you to make dualboot possible by modifying kernels. I just switched from Moto Defy to Galaxy Nexus. I know some method Defy use to boot 2nd rom. Can you make it compatible with Galaxy Nexus? I am not a developer and have no ability to do so...

SHAME ON ME@@

I just gathered some information about the method Hope it is helpful.

You can also find it here.

http://xdaforums.com/showpost.php?p=39357997&postcount=32

Firstly, some korean dev managed to develope the BOOTMENU for defy to allow custom rom to run and Defyers have had CM7\Miui\CM9\CM10 since then.

Secondly, someone found a way to unload current kernel and load another custom kernel to make CM10 faster, which means the android devices with locked bootloader can boot into custom kernel.

In my opinion, we can use that way for dual boot and it is not a very difficult task.

I tried to find some original thread for bootmenu and loading custom kernel (called 2ndboot) and listed here. Hope it is helpful.

1.Bootmenu

http://xdaforums.com/show....php?t=1026853 Original thread

http://xdaforums.com/show....php?t=1028427 Another one

2.2ndboot

http://xdaforums.com/show...php?p=32097547 Original thread

3.Roms now using Bootmenu

http://xdaforums.com/show....php?t=1033654 CM7

All defy's third-party roms are using this way to boot. (miui,etc...)

3.Roms now using both bootmenu and 2ndboot

http://xdaforums.com/show....php?t=1768702 CM10

http://xdaforums.com/show....php?t=1353003 CM9

Devs like Quarx (http://xdaforums.com/member.php?u=513620) and Epsylon3 (http://xdaforums.com/member.php?u=803131) know well about this method. You can contact them for help~

Hope someone can make it ture!
[Samsung Galaxy Nexus] twistedumbrella:
Did you look at what's already here? It's got a boot menu and uses the partition best fit for a nexus to dual-boot from. You're talking about 2nd-init in half of that which is how the motorola devices have to overcome locked bootloaders. It's nice info but highly unnecessary.
[Samsung Galaxy Nexus] dlhxr:
Till now, we have only two working kernels here. If the 2ndboot works on galaxy nexus, we can choose whatever kernel we want?

It is very difficult for all the devs to modify their kernel into a dual-boot kernel, I think.

And the two kernel we have only support 4.2 and ubuntu. Maybe we can do better and make it more convenient.:p
[Samsung Galaxy Nexus] Alpha_wolf:
all the links are now dead

when i tryed tham lol
[Samsung Galaxy Nexus] twistedumbrella:
All the devs would need to modify their kernel to do 2nd boot and from the sound of it, all the roms would have to be modified, too. All that for a nearly working kernel running inside another at half speed. It hardly seems like that much improvement.
[Samsung Galaxy Nexus] dlhxr:
terrible....how can I reserve a link for this forum?:crying:

---------- Post added at 12:09 PM ---------- Previous post was at 12:08 PM ----------

Is the 2ndboot need the kernel to be modified?:confused:

Sorry, I thought it is a way to boot another kernel which does not need to be modified...
[Samsung Galaxy Nexus] twistedumbrella:
*sigh* Why not try this out before deciding a year-old mod for an obsolete phone should replace it? If you are unhappy, THEN it would be time to start talking about alternatives.
[Samsung Galaxy Nexus] dlhxr:
I did try this and your app is great saving lots of time of mine.

However, it is a pity we can only boot two 4.2 (ubuntu) systems.

Maybe I asked too much. :laugh:
[Samsung Galaxy Nexus] twistedumbrella:
Boot Manager does what you're looking for. I think you missed the part where there are two full installs on a single system, not one and some images. The advantage is the full system being present, not virtual.
[Samsung Galaxy Nexus] dlhxr:
Wish this project can go on....

Bluetooth still doesn't work yet...

I came to Galaxy Nexus just recently. To my surprise, there's no mature multiboot here since galaxy nexus is nearly the most open device on android platform.

Hope I can make some contributions in the near future~:p
[Samsung Galaxy Nexus] twistedumbrella:
Mature multiboot? Alright, since obviously everything I have said seems to have been wasted, let's try this another way...

What exactly is the purpose behind your request? I ask because on the Defy and Milestone 2, you require 2nd init because Gingerbread kernels are required to run any build, so it makes sense to streamline that into piggyback builds since you're already halfway there. It also makes sense that you would desire multi-booting because every ROM is beta, more or less. Being that the Nexus is the "most open device", the ROMs are all working. All you are really changing between ROMs is the appearance and the custom features, not what works and what doesn't. The only exception would be going from ICS to JB, or Android to Ubuntu, which is still only 2 ROMs. It sounds like what you really want is a Samsung Galaxy Motorola Defy. They don't make that. The only other option I can recommend is to start working on it yourself, but be ready for the first question to be why you chose that method over what is already here.
[Samsung Galaxy Nexus] dlhxr:
ok, you win. I just want a fully working way to dual boot.

I just have another question. Is it difficult to just modify the partition relation for the kernel ? Such as just change the cache partition to data/cache/1st ?

Is it possible to simply write a script or a app to realize it?

We dont need the kernel to be a dual boot one and we can change the kernel in recovery for booting into the second rom with the kernel recognizing the cache partition as system, data/2nd as data and data/cache/2nd as cache ?

I don't know whether I express myself well since my pooor English. Hope you can understand what I mean.

---------- Post added at 11:55 PM ---------- Previous post was at 11:49 PM ----------

This way can solve the problem of the kernel version. We can just modify a 4.1 kernel to a 2nd one and dual boot a 4.1 system.

Maybe easy saying than working and it is hard to realize what I said. But it is at least a thinking direction for the dual boot stuff
[Samsung Galaxy Nexus] twistedumbrella:
All it is is a script in the ramdisk. I've added it to a 4.1 kernel and it works the same way. It's in the kernel so it can make the adjustments to boot ubuntu. If it were done in the system, that would no longer be possible.
[Samsung Galaxy Nexus] savantist:
those links aren't dead, they all live as sober as priest on sunday, he's just copying with laughable method...

seriously dude,

1.Bootmenu
http://xdaforums.com/show....php?t=1026853 Original thread
http://xdaforums.com/show....php?t=1028427 Another one
2.2ndboot
http://xdaforums.com/show...php?p=32097547 Original thread
3.Roms now using Bootmenu
http://xdaforums.com/show....php?t=1033654 CM7
All defy's third-party roms are using this way to boot. (miui,etc...)
3.Roms now using both bootmenu and 2ndboot
http://xdaforums.com/show....php?t=1768702 CM10
http://xdaforums.com/show....php?t=1353003 CM9

http://xdaforums.com/showpost.php?p=39358281&postcount=82

where's my ****in' ROFLCOPTER?? :laugh:
[Samsung Galaxy Nexus] dlhxr:
That's great! Could you merge this function into your app? This way we can boot what ever rom we want.

There's a new U-boot here. Which one is more convenient?
[Samsung Galaxy Nexus] twistedumbrella:
Merge what function? Rebuilding a complete kernel? No
[Samsung Galaxy Nexus] dlhxr:
That's a pity. Could you tell me how to make this modification, please? Is it possible to put a script?

Thx a lot.
[Samsung Galaxy Nexus] dlhxr:
sorry about that. I have to do something by my own....

I will try to realize what i said later~

Thank you so much.:laugh:
[Samsung Galaxy Nexus] dlhxr:
Hi. I looked into your modification and tried to make a single boot kernel with partition relationship like this.

system -> /data/2nd/system
data -> /data/2nd/data
cache -> /data/2nd/cache

But I failed....

The procedure is here.

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

Can you help me find out why I can't do this? Thanks a lot...

The name of the thread is	[KERNEL] [U-boot]Dual-boot Powered by U-boot and Custom Kernel [24/03]

The modification of the kernel is in the second post.
[Samsung Galaxy Nexus] twistedumbrella:
What is the advantage to doing it that way?
[Samsung Galaxy Nexus] dlhxr:
Firstly, the dualboot with one kernel has bluetooth problem here.

Secondly, the dualboot with one kernel can only boot into 4.2 and ubuntu.

Now we have u-boot which has the dualboot kernel boot choice function.

So if I can write down how to change the partition relation in the kernel, everyone can modify their kernel to have dual-boot.

We have more choice now.
[Samsung Galaxy Nexus] twistedumbrella:
Well the 4.2 and ubuntu part isn't valid, so I still would like to know what the difference is before fixing it.
[Samsung Galaxy Nexus] dlhxr:
Could you just help me fixing the problem I encounter?

I am just a beginner who wants to make contributions to the forum.

Don't pour the water on me!!!

You are killing my interest!!!:crying::crying::crying:
[Samsung Galaxy Nexus] twistedumbrella:
Because I want to justify doing it before I spend the time?
[Samsung Galaxy Nexus] dlhxr:
OK.

Now I decide to put 2nd folder which contains 2nd system, data, cache into /data/media. So it won't be wiped.

The same as the boot folder which contains boot.imgs.

Does it make any sense....
[Samsung Galaxy Nexus] twistedumbrella:
Still trying to decipher your notes from the other part and turn it into github commits so it's easier to follow.
[Samsung Galaxy Nexus] twistedumbrella:
Check your thread, that is where this stuff should be going anyway.
[Samsung Galaxy Nexus] dlhxr:
Thank you so much for your effort.

But it doesn't work...Check my thread
[Samsung Galaxy Nexus] sam razzy:
Can I use 4.1.2 and 4.2.2 ROM as a dual boot ?
[Samsung Galaxy Nexus] Zittoro:
You can't do that with this, but you can with another method.

Check this out.

http://xdaforums.com/showthread.php?t=2204705
[Samsung Galaxy Nexus] standa75:
Is the Bluetooth switch issue solved? Many thanks in advance?

Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
[Samsung Galaxy Nexus] twistedumbrella:
Not on this kernel. I think this was a one-time thing.
[Samsung Galaxy Nexus] standa75:
Ok, I just read on page 5 that user is stating that Bluetooth is not working on both roms.so it works without problems for you?

Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
[Samsung Galaxy Nexus] twistedumbrella:
Not on this kernel.
[Samsung Galaxy Nexus] standa75:
Ok,thanks.I will try it:) could you please tell me what are the differences between 2 links to kernels in op?

I mean kernel link and my kernel settings link?

Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
[Samsung Galaxy Nexus] Zittoro:
The latter one is just a source code, so you don't need it. The kernel one is literally a cwm-flashable kernel.

edit

Bluetooth doesn't work on this kernel
[Samsung Galaxy Nexus] standa75:
All is clear now.txs:thumbup:

Odesláno z mého Galaxy Nexus pomocí Tapatalk 2
[Samsung Galaxy Nexus] joona0825:
Good but hard to realize post..

If you can, plz pm me with "Korean"!

Sent from my Galaxy Nexus
[Samsung Galaxy Nexus] Vikram Menon:
Great job... Is this kernel PGM supporting?

Thanks.
[Samsung Galaxy Nexus] icedzed:
i try with liquidsmooth as first rom and ubuntu as second, with your kernel, i can't boot, can you post the edited file for ubuntu? thanks
[Samsung Galaxy Nexus] eng_saad:
can I use it for MIUI V5 and UBUNTU?
[Samsung Galaxy Nexus] twistedumbrella:
First needs to be a 4.2 ROM. If it doesn't boot, that's most likely why.
[Samsung Galaxy Nexus] ethancottier:
Apologies if I missed something in the thread. But are there any "cons" or disadvantages to this dual boot method? I don't know much about this kinda thing, but as both roms are sharing the cache, does that cause any issues?

Anyways, I tried this method with Airkernel, and it works perfectly :)
[Samsung Galaxy Nexus] twistedumbrella:
+ battery drain, - stability
[Samsung Galaxy Nexus] ethancottier:
on both roms or just second?
[Samsung Galaxy Nexus] twistedumbrella:
It's the same kernel so it will have the same impact on both.
[Nexus 7 Q&A, Help & Troubleshooting] chucky7910:
how do i add multiple apps to a folder at the same time on the stock jelly bean launcher. yes i realize many 3rd party apps will do this...i want to know if the stock launcher will do it and how
[HTC Desire C] russell664:
Hello guys,

I'm back again,

And I have an announcement to make...

How would you feel, to have a AOSP messaging app, on our sense Roms?

Well it is here guys! I have been working on it, and it is finally brought here to us! It has all the features of stock AOSP, and a few which the HTC one didn't have, or isn't as easy to access.

I had to resize alot of things, and change some coded parts too, but it looks great, and seems to work great too. :)

There are two versions, just like my wallpaper packs located here: ReVoluTioN Wallpaper packs!

The first version will be for all those beginners, and noobies out there.

The second version is for the more hardcore members, and involves using ADB. To know where to push this app, look on the second post!

This can be installed on the sense edition of revolution, but it is made for both the Super Stripped and De-Sense Editions

#include
*
* Your warranty is now void.
*By you using my Mods, Roms etc...
* I am not responsible for bricked devices, or dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Now without a further a due, here are some screenshots of this beast in action:

Download the AOSP messaging app:

Automated install via a flashable zip:

System Wide package, recommended for both the Stripped Edition and De-Sense Edition of ReVoluTioN: Link

Manual install via ADB (Read post two of this thread, to know exactly where to push this app):

System wide package, recommended for both the Super Stripped and De-sense Edition of ReVoluTioN, but can be used on the Sense Edition:Link

A inverted version of this app may come soon. :)
[HTC Desire C] russell664:
There are a few installation methods which you can use to install these wallpaper packs, there is one for beginners as well as the mire experienced members, who prefer using ADB rather than install zips.

Custom built flashable zips for both the inexperienced members here at XDA, or just the plain lazy members who don't have much time on their hands.

Copying the individule APK to your phone,please be aware that this app does not go into the data partition, only the system partition! For example, these directories below are for inexperienced members, who are willing to try things out, and learn a little more about their phones file system, and how it is structured:

The incorrect directory to copy the custom Messaging app to via ADB:

/data/app/messagingxxxx.apk

The correct directory to copy the custom Messaging app to via ADB:

/system/app/messagingxxx.apk

If you push the Messaging app to the wrong directory, you may have a lot of system force closes, and the app will not work. This is why you NEED to push this app to the system directory and not the data directory.

How to use this app?

Use it just like your normal Messaging app. :)
[HTC Desire C] russell664:
Bugs:

Really? :D
[HTC Desire C] Phenziox:
Thank bomb incoming! Awesome bro! Is there a difference between the flash and push versions?
[HTC Desire C] whoamigriffiths:
just going to install it now thanks :good:

Looks very good russ i will even keep it over the iphone one which i thought was cute lol .

good work !
[HTC Desire C] russell664:
Meh not really lol, basically one for noobs, and the other for more experienced people. :)

I thought it was worth the option. :D
[HTC Desire C] russell664:
I am trying to make a inverted messaging app, it will be a black background, and the colours will be inverted. :)
[HTC Desire C] Brakiss:
any reason this wouldnt work on a Rezound running Sense 4+?
[HTC Desire C] russell664:
What screen resolution is it? Also if it is not running sense 4, it might not work mate.
[HTC Desire C] MrToastedAndroid:
When I'm texting a lot I get a couple "Message not sent" notifications and it force closes when I try to send a link

Sent from my HTC Desire C
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
When I use the Runme.bat file with the apparently program to root these it does this:

i.imgur. com/we7hSAm.jpg

Remove space between imgur. and com
[7" Kindle Fire HD Q&A, Help & Troubleshooting] soupmagnet:
You have to run the runme.bat from the directory it came in

And use option 1 (normal), not 2 (special).
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
Okay thanks very much im redownloading it as I am not sure where it was at.

I'll post back if I have more issues.

Edit:

Well I redownloaded and now I am getting this error.

gyazo. com/c9448f7da23cdc96e0e0ce47cdd44682

( remove space between gyazo. and com
[7" Kindle Fire HD Q&A, Help & Troubleshooting] soupmagnet:
Do you have your drivers installed and debugging turned on?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
Yeah I am pretty sure there installed.

I can see my kindle fire in device manager so yeah...

Debugging is enabled same with install unknown applications
[7" Kindle Fire HD Q&A, Help & Troubleshooting] soupmagnet:
What exactly does it say in your device manager? Amazon Kindle Fire?
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
Can you just come on teamviewer this response is to slow.

493 943 322

3qnp
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
bump still need help with this issue
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
Bump still need the help!! I have 4 of them I need rooted and its been like 3 days =/
[7" Kindle Fire HD Q&A, Help & Troubleshooting] soupmagnet:
I already have my hands full as it is, so you can be patient, or follow my most recent instructions to describe what is displayed in your device manager. ;)
[7" Kindle Fire HD Q&A, Help & Troubleshooting] kolton123:
zvdfvdsav

under device manager it says

Kindle fire > Android Composite ADB interface

then under portable devices > kindle fire
[7" Kindle Fire HD Q&A, Help & Troubleshooting] soupmagnet:
Read this

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

That will hopefully help you configure your drivers properly. The "Windows Portable Devices" is the Kindle in MTP. You may want to make sure your android_winusb.inf doesn't have the hardware ID for the device in that state.
[Samsung Infuse 4G] HulianMango:
hi, my infuse boots and reboots on its own, like the power button is constantly being held. even if i pull the battery and replace it it just boots up again on its own.. is there anything anyone knows that i can do to fix it

thanks
[Samsung Infuse 4G] GutterGuppy:
Is it Rooted?
[Samsung Infuse 4G] TJj33p3rz:
Do a search on this its there.
[Samsung Infuse 4G] HulianMango:
yeah it is rooted, its happened on all the roms, i dont think that would be the issue.. right now its on avatar
[Samsung Infuse 4G] theclarinetsoloist:
With the information provided, you may be in a bootloop. You need to boot to recovery.

1. Hold the power button to force power down the phone.

2. Quickly release the power button and IMMEDIATELY press the power button and both buttons in the volume rocker simultaneously.

3. Hold all three buttons down until your phone boots into recovery.

4. If it fails to boot into recovery and continues to normal boot, start over at step 1.

5. If you successfully boot into your recovery, do a full wipe (factory reset), flash Avatar, gapps, wipe cache, wipe Dalvik (under advanced).

6. Reboot.

See if this works! Good luck! :)
[Samsung Infuse 4G] HulianMango:
Thanks, i gave that a try but no luck..might it be something mechanical? cuz like it just boots when i put the battery in even if i dont hit any buttons.. :S
[Samsung Infuse 4G] magnetboard:
Yeah, you have a faulty power button. Common problem, replace it and your problems will be solved.
[Samsung Infuse 4G] HulianMango:
Okay thanks! :)
[Samsung Infuse 4G] omar71693:
If you don't want to spend money to replace it, you can simply slam the power button on any hard surface for a maybe 5 seconds and it will be fine. I have to do this every couple of weeks/months. If you have gotten your button fixed already, how did you do it?
[Samsung Infuse 4G] HulianMango:
I've actually just been beating it off stuff till it works, I can't afford to replace it yet :P
[Samsung Galaxy S Blaze 4G] hristopelov:
Hi guys, i know this has been done before, what elements of a stock ROM can be removed safely...

I aways used stock debloated ROMs, done by hand w Titanium Backup, after the latest 4.0.4 update i did the same thing.

First time i loaded TB i believe it read 207 elements, i deleted everything i dont use, and i know it not mess up my phone... at the end, after many weeks of freezing/deleting 1-2 elements at a time (so i can determime what i delete wont cause any problems) i was left with only 41 elements! 165+ frozen/deleted !!!

First of all, before you start anything, back up your ROM with CWM or TB.

Second, use your brain and common sence... if you use Swype, dont uninstall it etc... i dont so i removed it...

BEFORE YOU FREEZE/DELETE ANYTHING, MAKE SURE IS A SERVICE YOU DO NOT USE, CLICK ON EVERY ELEMENT YOU ARE PLANNING TO DISABLE, THEN CLICK ON ITS NAME IN THAT WINDOW THAT POPS UP, AND LOOK AT THE APP NAME OF THAT ELEMENT, MOST OF THE TIME THAT WILL GIVE YOU MUCH BETTER IDIA OF WHAT SERVICE IS CONNECTED TO.

For example, i do not synch my google calendar, thefore i dont need that element, so i deleted "GoogleCalendaySynch" app element, but probably most of you do...

What i am trying to say is, do not blindly go and delete everything i have removed, some thing you might use will stop working.

Besides that, its a absolutely fully functional ROM with minimal bloatware, exeptional battery life, very fast boot and small footprint as a CWM backup file.

Below you see Screenshots of 5 pages Titanium Backup of what i have left on my ROM, and i want to insure you, it works just fine, but is very snappy, loads much quicker on phone startup, and a CWM backup is only 382MB

Battery life is very much improved, as you can see in the screenshot after the original post, i charged my phone, unplugged it, and went to sleep, phone was in service, absolutely normal state, only lost 4% overnight in 8 hrs! that is 0.5% per hour... i dont think there is a possible lower overnight drain that can be achieved when the phone is still in servise...

Here is a list of all (about 200+ elements) Samsung ROM elements with description of what each one does and if its safe to remove in spredsheet format if you wondering what is what before freeze/delete it:

https://spreadsheets.google.com/spr...1gdDJRekl4QmkyNmIzUmRvX2h3UDVkQXc&output=html

Upon deleteing all of T-Mobile bloatware/spyware you will be pleasently supprised that the native "Mobile Hotspot" tethering app works! (I am on the $70 unlimithed 4G plan that doesnt alow tethering btw) Works just fine as you were on a unlocked Nexus device etc.

Overnight Battery Drain:
[Samsung Galaxy S Blaze 4G] hristopelov:
CM 10.0 20130630 Running on 27 Elements!

No Maps, Chrome, Gmail, so make that 30 :)

Insane Battery Life, will post SS soon, but i got 1% drain in 6hrs...

Overnight Battery Drain:
[Samsung Galaxy S Blaze 4G] hristopelov:
R e s e r v e d
[Samsung Galaxy S Blaze 4G] hristopelov:
A month later im still on my extremely debloated ROM...

Working just fine, no FCs, the only thing i have changed from my OP is that i deleted "Web" the stock browser also as i downloaded and using Chrome...

Sorry for the bump, some people might found it helpful...
[Samsung Galaxy S Blaze 4G] chandrew:
Nice complete list, I went ahead and disabled a few more. Thanks!