yashsingh1/xdaforums huggingface dataset:
[T-Mobile Samsung Galaxy S 4] hsbadr:
How to check if you are running a Stock/Virtual System?

There're many ways to check whether you're running a Stock or Virtual system. MultiSystem app should include this simple check at some point. That's important to avoint ruining the Stock system & keep it safe. To make it clear to NOOBZ & anyone who's requesting "another" proof even though I owe hime nothing. Very weird!

Anyway, BusyBox mountpoint applet can print the current block/device mounted to /system mountpoint by running the following command:

busybox mountpoint -n /system

The stock system is mounts the original system partition:

[B][COLOR="Red"]/dev/block/mmcblk0p23[/COLOR][/B]

while the virtual system mounts a loop device associated with a system IMG:

[B][COLOR="Blue"]/dev/block/loop0[/COLOR][/B]

Here're two videos for both stock & virtual systems...

[YOUTUBE]lks1D4eAZ1g[/YOUTUBE]

[YOUTUBE]o2ryf2Xr1rU[/YOUTUBE]

UPDATE:

Now, you could run the following command to print the current system (stock or virtual) and the system device (physical partition or loop device):

MultiSystem status

Note: The block device number (mmcblk0p23) may vary per device & per variant !
[T-Mobile Samsung Galaxy S 4] hsbadr:
How to repartition microSD card for MultiSystem?

You can use any tool/program for partitioning on Android, Linux, Mac, or Windows. For example, MiniTool Partition Wizard is a good partitioning tool for Windows. So, let's use it for this task. Simply, you need to follow this PDF tutorial (thanks to [MENTION=3271517]carl1961[/MENTION]). In sum:

Step 1: delete old partitions on SD card

Step 2: create FAT32 PRIMARY partition

Step 3: create EXT4 PRIMARY partition

Then, apply changes (note that the program UI may get changed in newer versions).
[T-Mobile Samsung Galaxy S 4] hsbadr:
How to check microSD card partitions for MultiSystem?

You need to correctly repartition microSD card into two partitions:

exFAT or FAT32 for the 1st partition (your new external storage)

EXT4 for the 2nd partition (your MultiSystem partition)

Use the directions in this post!

You should check your 2nd SD partition in EXT4 format mounted to /MultiSystem:

check that the /MultiSystem directory exists after a reboot

check that the 2nd SD partition (/dev/block/mmcblk1p2) is mounted to /MultiSystem by running the following command in Terminal Emulator or ADB shell:

mount | grep /MultiSystem

The output should be:

/dev/block/mmcblk1p2 /MultiSystem ext4 rw,seclabel,relatime,data=ordered 0 0
[T-Mobile Samsung Galaxy S 4] hsbadr:
How to check MultiSystem Installation?

The 1st thing to do after installing MultiSystem is to check the /MultiSystem directory & its contents (it shouldn't be empty!). Then, check usage by running the following commands in Terminal Emulator or ADB shell:

su
bash
MultiSystem

If it retuns "MultiSystem not found" or permission denied, try to use open MultiSystem app to Update Configurations & try again. If this does't fix it, try the following command:

/MultiSystem/bin/MultiSystem

This should work if you've MultiSystem binaries installed in (extracted to) /MultiSystem directory. If so, you can create a symlink in /system/xbin as follows:

mount -o remount,rw /system
ln -sv /MultiSystem/bin/MultiSystem /system/xbin/MultiSystem

Then, test it by running:

MultiSystem

The last thing before using it is to check the boot options: reboot & monitor the GREEN LED indicator for 3 seconds (change in the app) , which give you the following options:

Volume UP = Primary virtual ROM

Volume DOWN = Secondary virtual ROM

HOME KEY = Stock System

Sure, you should have installed one or more virtual ROMs.

Backup & restore or creating/installing a virtual ROM are easy as copy & paste: all img's will be at

/MultiSystem/img/system

To backup a virtual/stock system, you have many options:

Use create function to create from stock system

Use copy function to copy the IMG

Copy & paste with a new name

Use FlashFire (fully supported on virtual/stock ROMs)

...

If you've IMG mounting issues, run the following commands:

mount -o remount,rw /system
busybox ln -sv /proc/self/mounts /system/etc/mtab

If this doesn't help, try mounting from Terminal Emulator or ADB shell after selecting the IMG in MultiSystem app, by running the following command:

MultiSystem mount virtual
[T-Mobile Samsung Galaxy S 4] hsbadr:
MultiSystem Video Tutorial

[YOUTUBE]CsMZl2PfQFQ[/YOUTUBE]​

Thanks To: [MENTION=4246643]Tomsgt[/MENTION] , aka RootJunky ;)

Don't forget to subscribe & like the video to show appreciation of his great effort & time spent in making the video :highfive::good:
[Galaxy S 5 Q&A, Help & Troubleshooting] Ethanxda11:
Hey guys i had cm12.1 on my rooted Samsung galaxy s5 with twrp recovery and i wanted to restore my phone to factory settings. So i went to settings in cm12.1 and clicked restore to factory settings and it started to reboot. Now my phone everytime i turn my phone on starts to boot into recovery but before i get to the menu it turns off and does a loop into recovery again. Need help

Thanks
[Galaxy S 5 Q&A, Help & Troubleshooting] Commodore 64:
Try flashing the newest recovery.tar (either twrp or philz cwm) using Odin and see if you can get to recovery to clean up and reinstall CM
[Nexus 9 Q&A, Help & Troubleshooting] Dime-Baggins:
Is there a way to do a fresh flash of LRX22L without encryption or should I wait for Wugfresh to add it to the toolkit?
[Nexus 9 Q&A, Help & Troubleshooting] ss12108:
Was wondering the same but I figured I'll just wait for the toolkit update. Not like its 5.1.1 or anything so I don't mind waiting haha.
[Nexus 9 Q&A, Help & Troubleshooting] ss12108:
Toolkit has been updated already in case you were wondering. Just updated mine no problem.
[Nexus 9 Q&A, Help & Troubleshooting] hotwielzz:
i keep gettingthis error and it will not load or connect to the google play store and it also says google keyboard has stopped working, i have tried flashing back to stock, i have tried flashing a new google gapps pack and nothing works anyhelp would be great.
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Same issue here: Settings -> Apps -> All -> Google Play Services -> Manage Space -> Clear All Data fixed it (thanks to http://xdaforums.com/showpost.php?p=59668746&postcount=6)
[Nexus 9 Q&A, Help & Troubleshooting] hotwielzz:
tried it didnt work
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Have you tried deactivating and uninstalling Play Services, in addition to clearing all settings?
[Nexus 9 Q&A, Help & Troubleshooting] hotwielzz:
i got it uninstalled how do i clear setting a google keyboard is still crashing and the play store wont connect
[Nexus 9 Q&A, Help & Troubleshooting] Ace42:
It crashes on stock too?
[Nexus 9 Q&A, Help & Troubleshooting] PartyMango:
Yep - no modifications of any kind, no root access. Still, after updating to 4.0.2, Play Services started crashing incessantly

Hm, Google Keyboard didn't crash for me. Maybe try clearing settings for that one as well?

To get Play Store to connect and re-download Google Play, I had to re-enter my Google account password. The tablet prompted me to enter my details after a few reboots, but you could probably add your account manually using "Accounts" in the settings app as well.
[T-Mobile Samsung Galaxy S 4] hsbadr:
​

MultiSystem is a powerful tool for locked- and unlocked-bootloader Android devices.

★ Disclaimer:

★ Notes:

★ Features:

★ ChangeLog:

★ Instructions:

★ Downloads:

Please read carefully the instructions above before proceeding at you own risk!

★ Credits:

I'd like to thank everyone who made a donation just to show appreciation.

Verizon Samsung Galaxy Note 4 (N910V), Note 3 (N900V) & LG G3 (VS985)

Hit thanks, follow thread & add 5-star rating/review

... Donations are always appreciated!

​

XDA:DevDB Information

Multiystem, Tool/Utility for the T-Mobile Samsung Galaxy S 4

Contributors

hsbadr

Source Code: https://github.com/hsbadr/MultiSystem

Version Information

Status: Testing

Current Stable Version: 1.3.1

Stable Release Date: 2015-05-09

Current Beta Version: 1.1.1

Beta Release Date: 2015-05-02

Created 2015-05-06

Last Updated 2015-05-10
[T-Mobile Samsung Galaxy S 4] hsbadr:
Supported Devices

+++
[T-Mobile Samsung Galaxy S 4] hsbadr:
Reserved #2
[T-Mobile Samsung Galaxy S 4] hsbadr:
Reserved #3
[T-Mobile Samsung Galaxy S 4] hsbadr:
Reserved #4
[T-Mobile Samsung Galaxy S 4] hsbadr:
Reserved #5
[T-Mobile Samsung Galaxy S 4] hsbadr:
MultiSystem v1.3

Download the latest version from the main development thread!
[T-Mobile Samsung Galaxy S 4] hsbadr:
Simple One-Click Installation

I've fixed the installation script by setting the required symlinks (this makes it a very simple one-click installation for future versions), but I'll keep it a bit complicated for everyone to go through the Q&A thread (posts #1-6) to learn more before being able to use it.

On a side Note, I'd recommend to backup your data via TitaniumBackup & only wipe system data before rebooting to a completely different ROM.

Good luck!
[T-Mobile Samsung Galaxy S 4] hsbadr:
MultiSystem v1.3.1 [May 9, 2015]

★ ChangeLog:
[Nexus 6 Q&A, Help & Troubleshooting] Novakingwai:
Sorry this isn't really a Nexus 6 question, but I can't find this anywhere.

When I am scrolling through my playlist, sometimes I move my finger too much to the side and the app things I am swiping the song away out of the play list. And of course since I'm scrolling and moving my finger back and forth, by the time I catch it it's too late and the "undo" pop up disappears. I have a backup playlist that I copied all the songs over to and can just copy/paste the whole thing over. But I do this almost daily, and it is really annoying! is there a way to lock a play list so you can't delete songs from it?
[G3 Themes and Apps] vthnhon:
You only need this zip file Recovery and flash is oke

Thanks Met97
[G3 Themes and Apps] daywalker59:
Not working cause Fc
[G3 Themes and Apps] rezapn1255:
It works perfectly .

Also, you can just install z3 photo editor apk.
[One (M7) Q&A, Help & Troubleshooting] danpau07:
How can i upgrade my os if my phone is rooted? Thanks.
[One (M7) Q&A, Help & Troubleshooting] FingerFoo:
I'm no expert, but first thought is if not already using SuperSu get it loaded have SuperSu take over su operations then use it's built in feature to remove root.

step1

Sent from my SGH-I337M
[One (M7) Q&A, Help & Troubleshooting] alray:
root itself doesn't prevent to update the OS.

everything explained here: http://xdaforums.com/showpost.php?p=52894276&postcount=9

How can you update? Its impossible to tell without knowing your phone specs: fastboot getvar all, which recovery is installed, what you did with the phone exactly?
[LG Optimus G Pro] Genie's:
Hi, this is United Oxygen team.

We were specially working for MultiROM for a long while, and finally, it is almost finished, so we are proud to show up this project to you.

- DOWNLOAD -

@ MultiROM TWRP

- For F220K (Optimus GK)

http://drive.google.com/file/d/0BwF2VxTC-s7_RG10ZTMxWDBMVFk/view?usp=sharing

- For F240 (Korea Optimus G Pro)

http://drive.google.com/file/d/0BwF2VxTC-s7_U1Y1SDUxX09KMms/view?usp=sharing

- For E980 (Intl Optimus G Pro)

http://drive.google.com/file/d/0BwF2VxTC-s7_SE5Fc0VpN0dTYU0/view?usp=sharing

@ MultiROM

http://copy.com/7eCxh7k6f8x7o6LG

Please download all 3 files!
[LG Optimus G Pro] Genie's:
- Caution -

1. YOU SHOULD USE kexec-hardboot SUPPORTED KERNEL IN PRIMARY(STOCK) SLOT! United Oxygen will support kexec in Oxygen Kernel 2.0. Otherwise, you should check whether that kernel supports kexec.

2. In Secondary slots (MultiROM slots), you can install any ROMs, even if it doesn't support kexec-hardboot. It means, you have to install kexec-supported ROM in Original System Partition, and after that, you are free to install any ROM in MultiROM.

-How to install MultiROM-

0.Reboot to custom recovery, and install kexec supported ROM or Kernel like our Oxygen Kernel 2.0. We've already shown our ROMs in other threads.)

1. Install MultiROM TWRP in other recoveries.

2. Reboot recovery, and you will be in MultiROM TWRP.

3. Flash 'MultiROM-~~~-e980.zip'.

4. (Recommended) Reboot recovery once again.

5. Go to Advanced - MultiROM -Add ROM - Install your favorite ROMs to Secondary slots.

6. Reboot system, and you can choose ROMs that you want to boot in bootmenu.

- Must-Know about MultiROM -

Q. Bootmenu does not appear. What should I do?

A. I think you upgraded or changed the kernel. If you upgraded the kernel, please flash 'MultiROM-injectboot.zip' in MultiROM TWRP.

Or, if you deleted MultiROM data, please flash 'MultiROM-~~~-e980.zip' once again.

Q. I want to delete MultiROM.

A. Flash 'MultiROM-uninstaller.zip'.

Q. ADB Sideload not works in TWRP Recovery.

A. It is a bug...We will try to fix it soon.
[LG Optimus G Pro] MitoTakatori:
Oh, it's there already. Thanks.
[LG Optimus G Pro] victor19:
Oh God, can't believe it! Thanks A LOT Oxygen Team! This will save a loooot of time for flashing
[LG Optimus G Pro] MitoTakatori:
This is a very great addition to the G PRO community. Anyone test this then report?
[LG Optimus G Pro] Genie's:
This thread is keep being written. Please don't follow this yet.
[LG Optimus G Pro] Genie's:
I'm writting again, please wait.

======Finished!======
[LG Optimus G Pro] calitiskirby@gmail.com:
I am so excited to try this and I have some questions!

So, there is a kexec kernel for CM 12.1 and for Blisspop 3.2, so to be able to use this MultiROM I am going to need to flash either CM 12.1 or Blisspop 3.2 and their respective kexec kernel right? And that would be my primary ROM, then after that I can flash my stock ROM(or any ROM of my liking) and serve as my secondary ROM. Did I get that right?
[LG Optimus G Pro] Genie's:
1. Yeah. You just need to install our Oxygen Kernel 2.0-contained ROMs or ROM with other custom kernels that supports kexec.

2. Yeah...maybe? We didn't test stock in secondary slot, but I think it may work.
[LG Optimus G Pro] Genie's:
I recommend these to E980 users:

Install our Oxygen Kernel 2.0-contained ROMs based on F240 in E980's primary slot. Some functions will not work maybe, but you can use MultiROM. (Tested.)
[LG Optimus G Pro] yijinsa:
Any one test Twrp recovery for e980
[LG Optimus G Pro] MitoTakatori:
On Adding a secondary ROM, there are details on that part, can you detail what to choose? I am trying to flash a secondary ROM, but I don't know what to do on that part.

There are options there whether the ROM is android or multirom (.rmm)?, then where to install, whether internal, or on the other 2 options. Can you please elaborate on those parts?

Thanks.

[MENTION=5736965]Genie's[/MENTION]
[LG Optimus G Pro] Genie's:
There's no limits in installing ROMs in Secondary slots. Just install anything you just want to flash.

But you should install kexec-supported ROM or Kernel in just Primary Slot.
[LG Optimus G Pro] Genie's:
We are now tring to support E980.

Please go to my threads that contains ROM with Oxygen Kernel V2.0, download E980 version and test ROM and whether MultiROM is supported or not.

If you install this ROM in Primary Slot, please enter this adb command to know us what E980's kexec code is. :

adb shell

su

dmesg | grep -i hardboot
[LG Optimus G Pro] MitoTakatori:
Currently I have BP 3.2 installed on Internal slot, then I want to install another ROM for the secondary slot, where to install it? There are 3 options on the multirom menu
[LG Optimus G Pro] Genie's:
Use 'Add ROM' Menu to install in secondary slot.
[LG Optimus G Pro] MitoTakatori:
So, I will install on the second slot? Not on the Internal slot?
[LG Optimus G Pro] Genie's:
I will explain shortly :

Primary Slot, means Original System Partition : Kexec-Supported ROMs, like our Oxygen Kernel 2.0 contained ROM.

Secondary Slot, means Internal Memory : Any ROM you want. (But our testers said Stock ROM would not work, maybe.)
[LG Optimus G Pro] Genie's:
[MENTION=4811213]saxsymbol[/MENTION] succeeded installing MultiROM in E980 with our Oxygen Kernel 2.0 ROMs for E980!

E980 users should use our ROMs in Primary Slot if you are having trouble in installing MultiROM.
[LG Optimus G Pro] MitoTakatori:
I am still a bit confused. Sorry. If you can post SS of the MultiROM menu, and step by step guide, maybe I will understand it. Thanks by the way.
[LG Optimus G Pro] MitoTakatori:
Why is it when I install a ROM (Resurrection Remix) on Internal Memory, after a moment of installation, the screen goes black and the notification button lights just flashes. It stays like that indefinitely. Can you elaborate on how to install another ROM properly?
[LG Optimus G Pro] Genie's:
Ah...it is a bug. You should turn off 'Timeout' option from TWRP Settings.
[LG Optimus G Pro] MitoTakatori:
Oh. I see. Thanks. What about flashing GAPPS? And other Zips for the second ROM?
[LG Optimus G Pro] Genie's:
Use TWRP - MultiROM - List ROMs - Select the ROM that you want - Install Zip and flash what you want.
[LG Optimus G Pro] ecrum:
Well Oxygen is really now oxygen for me :) if you get scope pek into the recovery a bit. mtp/sideload/lockscreen..

anyway everything is working of multirom. it can't boot stock rom though. perhaps dosen't support.

things are looking great in near future :)
[LG Optimus G Pro] guitarboy021:
The new twrp doesnt read the backup i made from twrp 2.8.1.0. Im gona try and create a zip file then flash zip directly.
[LG Optimus G Pro] zohaibkhan143:
WOW man !! Its awesome :D can't wait to try this on my e980 :D

can u explain more ? Currently I m using LG G3 rom for OGP on Primary slot so can I flash another custom rom on secondary slot ? Or I need to do anything else ? Or can I use custom roms on both slots ?

And when to install boot injection.zip ?
[LG Optimus G Pro] guitarboy021:
Hey. Backup your current rom. Then install cm 12.1 with oxygen 2.0 kernel as your main rom.

Download the files. Multirom Twrp and Unzip the 3 files that contain uninstaller, multirom.zip and one more(idk the name).

Reboot to rec then flash the twrp rec but DO NOT reboot system. Reboot recovery.

Flash multirom zip and reboot again to rec.

Then flash your backed up ROM using add rom in advanced settings.

In order to make any changes to a specific rom, press list roms then select the rom and flash zip.

Edit: primary rom must have oxygen kernel 2.0 or any kernel that supprts hardboot patch.

You can flash any rom along with any custom kernel in the secondary slots but primary has to be a rom with hardboot patch kernel which in my case, the only choice being their cm 12.1 rom with oxygen 2.0 kernel
[LG Optimus G Pro] zohaibkhan143:
I installed multi rom on my e980. There is a stock kk rom on my primary system and on secondary I installed pac rom. When I try to choose pac rom to boot it fails and give an error tthat install kenel with kexec hardboot support to run this rom. Someome help me. Where is that kernel and can I flash this kernel on stock roms in primary partition ?
[LG Optimus G Pro] guitarboy021:
Ur sure about that right? Because on mine, each rom has a separate kernel. Look in the settings or advanced settings.. There must be an option to have a separare kernel for each rom.
[LG Optimus G Pro] Genie's:
You should read the thread carefully. I said you should install kexec supported ROMs or kernel like our Oxygen Kernel V2.0.

Yes, you're absolutely right. :)

I SAID YOU SHOULD INSTALL KEXEC SUPPORTED ROMS OR KERNEL LIKE OUR OXYGEN KERNEL V2.0!

You can't use MultiROM if you use Stock KK in primary slot.

I can't understand your question, but hmm...you can install every ROM in Secondary Slots even though each ROM has different kernels. Just install Kexec Supported ROMs or kernel like our Oxygen Kernel V2.0.
[LG Optimus G Pro] guitarboy021:
Lol mine wasnt a question :p but thanks I love every bit of it. Running cm11 and resurrection remix :)
[LG Optimus G Pro] zohaibkhan143:
I can't understand man.. If I installed kexec kernel on primary then can I flash any stock rom on primary ? And where is ur oxygen kernel 2.0? Is it available without rom (only kernel zip) or I need to flash complete custom rom with kexec on primary then wipe and install stock on primary ?
[LG Optimus G Pro] guitarboy021:
Somehow the primary slot doesnt support stock yet. Idk but it didnt work for me.

Before I go through with it, you gotta have a ROM, whether custom or stock, that support hardboot patch. Whatever you do, the primary slot has to have a that and when uv got that, u have to leave it as it is so as to support the other secondary slots.

So, I tried looking for just the oxygen kernel or any other kernel that supports hardboot patch/kexec but there doesn't seem to be one.

There is a cm 12.1 rom which they posted. (Ill look for it and post the link)

Download that, backup your current ROM and flash it as your primary rom. Then follow up with the OP.

NOTE: When you've installed the custom rom with kexec on primary, dont wipe and then install stock on primary coz that will just wipe everything (rom with kexec) and do pretty much nothing.

What I mean is, the primary slot HAS TO HAVE a rom with kexec in order for multirom to work. So do that for the primary and leave it as it is then install your current rom by selecting add rom after you've successfully installed multirom.

LINK: http://xdaforums.com/showthread.php?t=3101364
[LG Optimus G Pro] t3chwizard:
Idk what I did but somehow I soft bricked my device by flashing this and then from in this I flashed TWRP 2.8.1.0 and then it gave me a boot certification error and I had to flash back with LG flash tool. Stupidly I deleted my nandroid backup on my external SD card right before doing this and so I had to start from scratch again. The other thing is I am very hesitant to do this because I don't know if I can live with less space for apps and stuff on the different ROMs. Also does anyone know if this works with Emmanuel's wildkernel for the E980?
[LG Optimus G Pro] guitarboy021:
Well it doesnt take up much space. I had around 16gb and it took up 400-600mb for 2 roms. It takes arnd 200mb per rom so it wont take up that much space unless of course U install more than 3 roms.

And as for working with wild kernel. Idk what ur referring to because the primary slot has to have a rom with their own oxygen kernel and the other secondary roms can have their own separate kernel.
[LG Optimus G Pro] Paleskin:
pls provide the link to thread of the mentioned rom (Oxygen Kernel 2.0-contained ROM) for e988, since blisspop destroyed my e988 camera with low res and overexposure :/
[LG Optimus G Pro] Genie's:
We don't support both MultiROM and CM12.1-based ROMs yet for E988...
[LG Optimus G Pro] Paleskin:
So if I want to use multi boot roms on my e988, which cusrom should I install on the primary partition ? (beside blisspop)
[LG Optimus G Pro] Genie's:
Then use our CM12.1.
[LG Optimus G Pro] guitarboy021:
Uhh..what? I didnt get that. Im running cm 12.1 as my primary and resurrection remix which is based on cm 12.1 :p
[LG Optimus G Pro] DrDank:
Just finished downloading files.. -- don't lknow nothing about finding out if kernel has hardboot in it or whatrever.. So im going to try the CM12.1 and Oxygen kernel. if i can find it lol
[LG Optimus G Pro] Genie's:
We've already tested this MultiROM and some users already been using this method.

You should install our CM12.1 or BlissPop 5.1.1 because it contatins Oxygen Kernel.

Other kernels don't support kexec-hardboot, yet.

Sent from my Galaxy S2

OS : CyanogenMod 12.1 NIGHTLY
[LG Optimus G Pro] dave71670:
Trying to restore a miui backup on second partition and receiving error during boot. Any advice?

Edit: Running 0626 BP Oxygen Kernel 2.5 and trying to restore Miui 6, kitkat per backup option in MR E980 on secondary partition. Getting terminal screen error for an "error has occurred" after trying to boot backup. If this a new error let me know and I will get log.
[LG Optimus G Pro] dave71670:
OK then there must be an error on my part since there is no reply. I myself have brought much to this community and I have much more to offer.
[LG Optimus G Pro] hungz92:
hey can i install another rom except cm12.1 or blisspop in primary slot ? any stock rom or miui ?