[MOD][14 GEN 2015] [LS990] Multirom - Sprint LG G3

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Introduction
MultiROM is one-of-a-kind multi-boot mod for Lg G3. It can boot any Android ROM as well as other systems like Ubuntu Touch, once they are ported to that device. Besides booting from device's internal memory, MultiROM can boot from USB drive connected to the device via OTG cable. The main part of MultiROM is a boot manager, which appears every time your device starts and lets you choose ROM to boot. You can see how it looks on the left image below and in gallery. ROMs are installed and managed via modified TWRP recovery. You can use standard ZIP files to install secondary Android ROMs and MultiROM even has its own installer system, which can be used to ship other Linux-based systems.
Features:
* Multiboot any number of Android ROMs
* Restore nandroid backup as secondary ROM
* Boot from USB drive attached via OTG cable
You can also watch a video which shows it in action.​
Warning!
It _is_ dangerous. This whole thing is basically one giant hack - none of these systems are made with multibooting in mind. It is no longer messing with data partition or boot sector, but it is possible that something goes wrong and you will have to flash factory images again. Make backups. Always.​
Installation
Manual installation
Firstly, there are videos on youtube. If you want, just search for "MultiROM installation" on youtube and watch those, big thanks to all who made them. There is also an awesome article on Linux Journal.
Note 1: Your device must not be encrypted (hint: if you don't know what it is, then it is not encrypted).
MultiROM has 3 parts you need to install:
MultiROM (multirom-YYYYMMDD-vXX-d851.zip) - download the ZIP file from second post and flash it in recovery.
Modified recovery (TWRP_multirom_d851_YYYYMMDD.img) - download the IMG file from second post and use fastboot or Flashify app to flash it.
Patched kernel - You can use either one of the stock ones in second post or third-party kernels which include the patch, you can see list in the second post. Download the ZIP file and flash it in recovery.
You current rom will not be erased by the installation.
Download links are in the second post.​
Adding ROMs
1. Android
Go to recovery, select Advanced -> MultiROM -> Add ROM. Select the ROM's zip file and confirm. As for the space, clean installation of stock 4.2 after first boot (with dalvik cache generated and connected to google account) takes 676mb of space.​
Using USB drive
During installation, recovery lets you select install location. Plug in the USB drive, wait a while and press "refresh" so that it shows partitions on the USB drive. You just select the location (extX, NTFS and FAT32 partitions are supported) and proceed with the installation.
If you wanna use other than default FAT32 partition, just format it in PC. If you don't know how/don't know where to find out how, you probably should not try installing MultiROM.
If you are installing to NTFS or FAT32 partition, recovery asks you to set image size for all the partitions - this cannot be easilly changed afterward, so choose carefully. FAT32 is limited to maximum of 4095MB per image - it is limitation of the filesystem, I can do nothing about that.
Installation to USB drives takes a bit longer, because the flash drive is (usually) slower and it needs to create the images, so installation of Ubuntu to 4Gb image on my pretty fast USB drive takes about 20 minutes.
Enumerating USB drive can take a while in MultiROM menu, so when you press the "USB" button in MultiROM, wait a while (max. 30-45s) until it searches the USB drive. It does it by itself, no need to press something, just wait.​
Updating/changing ROMs
1. Primary ROM (Internal)
Flash ROM's ZIP file as usual, do factory reset if needed (it won't erase secondary ROMs)
Go to Advanced -> MultiROM in recovery and do Inject curr. boot sector.
2. Secondary Android ROMs
If you want to change the ROM, delete it and add new one. To update ROM, follow these steps:
Go to Advanced -> MultiROM -> List ROMs and select the ROM you want to update.
Select "Flash ZIP" and flash ROM's ZIP file.
Source code
kernel https://github.com/Skin1980/android_..._lge_msm8974ac
Device Tree https://github.com/Skin1980/device-ls990-multirom
TWRP https://github.com/Skin1980/Team-Win-Recovery-Project
Credits: @tassadar for the awesome work; @invisiblek and @savoca @patrik.KT for them help
@Tectas cause i used his ( awesome) source code for building the kernel
And sure... tnx to @HPTesla and the other guy ( sorry i deleted for error the messages) for testing this!
...and all the people that now i forget

reservedPLEASE READ THE MULTIROM WIKI TO UNDERSTAND BETTER WHAT YOU ARE DOING
IMPORTANT: Need to be with a Kitkat stock Rom ( if you use my kernel ) or with a rom that have a kernel with the kexec hardboot patch.
HOW TO INSTALL:
1- reboot in recovery and flash the new TWRP with Multirom support; --> HERE
2- reboot the recovery;
3- flash the kernel with the kexec hardboot patch HERE
4- flash the multirom zip; ---> HERE
5- install every Rom you want ( advanced--> multirom --> add rom )
6- reboot and choose the rom you want to boot.
You can also use a Cyanogenmod or similar with the wonderful Rin Kernel by @Tectas --> DOWNLOAD FOLDER
If you want show me your love for this you can consider a small DONATION
Issues:
1- On boot the touch need some seconds to work in multirom menu, you can use the volume keys to move and the power button to select.

You are awesome man. Flashed and installed with no issues. Currently running BarRin and a backup of Dirty Unicorns. I was kinda stressing on setting this up but it was way easier then I imagined it would be.
You will have a donation coming your way as soon as I get paid.

Thank you! Thank you! Thank you!
It's so exciting to see how far the G3 is coming along and I love it! Thank you! I will definitely be testing this in the future (just not right now) :good::good::good::good:

I remember this. Also safestrap. These are sweet. Thanks.
Sent from my LGLS990 using XDA Free mobile app

this sounds incredible....so is it possible to run barrin and a lolipop rom?

If I flash the modified twrp in the op so I can use this ROM, would I need to re flash a different twrp if I didn't want to use multirom anymore? Or is the twrp in the op good for any rom?

mrkrabs said:
this sounds incredible....so is it possible to run barrin and a lolipop rom?
Click to expand...
Click to collapse
I've been testing this since a few days ago. Once properly installed and set up, when my phone boots I have the choice of stock and 6 other roms to choose from. It's the best, really. Since BarRin is modified stock, you can use it as your primary as long as you use the included kernel from this post. Also, rin kernel which is included with BarRin will be getting a kexec-hardboot patch shortly. I'm sure engine will start using it once I build it.
---------- Post added at 07:52 AM ---------- Previous post was at 07:50 AM ----------
Will32 said:
If I flash the modified twrp in the op so I can use this ROM, would I need to re flash a different twrp if I didn't want to use multirom anymore? Or is the twrp in the op good for any rom?
Click to expand...
Click to collapse
I was able to restore my nandroid made with the original bump twrp just fine. If you do it the classic way thru twrp you will lose multirom boot bc it restored my old kernel but yes. You can restore old backups in this twrp just fine from my tests.

I cant for the life of me get my BarRin backups to restore, either as primary or secondary roms, I took two for safe measure, one to my internal and one to a USB OTG, both say when being Restored: "Unable to find file system (first period)." when it first moves to restore then finally fails completely with the same error followed by "Unknown restore method for '/rpm'
Now I have two questions:
I created this backup using the original non-multirom twrp and am trying to restore it with the multirom twrp, could this be the issue?
Is it as simple as with the N7 multirom to just flash the original twrp, restore, and restart the process?
I can confirm I can flash both CM12 and BarRin fresh to the Primary partition and both boot without error.
EDIT: Color me even more confused.. Flashed back to 2.8.40 twrp, got the same errors when restoring but phone booted just fine, Truly stumped

JaceAlvejetti said:
I cant for the life of me get my BarRin backups to restore, either as primary or secondary roms, I took two for safe measure, one to my internal and one to a USB OTG, both say when being Restored: "Unable to find file system (first period)." when it first moves to restore then finally fails completely with the same error followed by "Unknown restore method for '/rpm'
Now I have two questions:
I created this backup using the original non-multirom twrp and am trying to restore it with the multirom twrp, could this be the issue?
Is it as simple as with the N7 multirom to just flash the original twrp, restore, and restart the process?
I can confirm I can flash both CM12 and BarRin fresh to the Primary partition and both boot without error.
EDIT: Color me even more confused.. Flashed back to 2.8.40 twrp, got the same errors when restoring but phone booted just fine, Truly stumped
Click to expand...
Click to collapse
Yeah i have no idea. I made a nandroid of zv4 stock, installed everything then made another nandroid after. I never wiped anything, until I went to test nandroids. But ultimately I just kept stock as primary and multiple aosp as secondaries. I restored both nandroids thru twrp fine, but didn't try to add backups via multirom advanced option in twrp.....

Like I said I have no clue, Works currently though and thats what matters BarRin Primary and CM12 Secondary, Now to try the other lovelies!, Thanks for this!

I'm using barin now and I have a backup of it. I don't have the full barin zip downloaded. Can I restore my barin backup as my primary rom as long as I use the kernel in the op? I don't want to download barin unless I have to. Slow speeds where I'm at today.

Will32 said:
I'm using barin now and I have a backup of it. I don't have the full barin zip downloaded. Can I restore my barin backup as my primary rom as long as I use the kernel in the op? I don't want to download barin unless I have to. Slow speeds where I'm at today.
Click to expand...
Click to collapse
I believe so. Restore your backup and reflash the kernel. If that doesn't bring back up the multirom boot, go back into twrp and reflash the third zip, the multirom scripts. But hopefully you only need the kernel.

HPTesla said:
I believe so. Restore your backup and reflash the kernel. If that doesn't bring back up the multirom boot, go back into twrp and reflash the third zip, the multirom scripts. But hopefully you only need the kernel.
Click to expand...
Click to collapse
Man I appreciate the help. Hopefully this last question will clarify all of it for me.
As I said, I'm on barin now. If I flash all 3 items in the op in order, will my current rom then be known as my "primary rom"? Then I can flash secondary roms, right?

Will32 said:
Man I appreciate the help. Hopefully this last question will clarify all of it for me.
As I said, I'm on barin now. If I flash all 3 items in the op in order, will my current rom then be known as my "primary rom"? Then I can flash secondary roms, right?
Click to expand...
Click to collapse
Yeah, that's what I did. I restored my stock zv4 nandroid(since BarRin is stock based you're good) then flashed the kernel, twrp and multirom. I rebooted after each(kernel I rebooted system to make sure kernel was OK, twrp, I rebooted back into recovery to make sure twrp was updated then flashed multirom and rebooted system again). Then under advanced->multirom in twrp I added roms from flashable zips and under list roms I flashed gapps for each.
As for the help, anytime, it's what this community should be all about. Just pay it forward man.

I keep getting kernel crash and unable to load my 2nd rom...my default rom...cm12 runs fine...I installed the rin kernel for that...and I.tried using the kernel in post 2 for the 2nd rom which is barin...I tried with and without the kernel...
edit: ok...got 2 cm roms working as multi boot...but still can't get cm 12 and barrin working..kernel crash right after the lg screen when trying to load barrin as secondary rom

Sent from my LG-ls990 using XDA Free mobile app
Fantastic thanks a lot guys

Using the AOSP kernel provided in 2nd post, I'm not getting any MultiROM features in TWRP. Do I need to flash the stock-based kernel on install and then overwrite with AOSP? Thx!

otroguero said:
Using the AOSP kernel provided in 2nd post, I'm not getting any MultiROM features in TWRP. Do I need to flash the stock-based kernel on install and then overwrite with AOSP? Thx!
Click to expand...
Click to collapse
So after you tap advance, you don't have see a button for multirom? Are you using a theme in twrp?

Pump Ac7i0n said:
So after you tap advance, you don't have see a button for multirom? Are you using a theme in twrp?
Click to expand...
Click to collapse
I have a theme in my current TWRP 2.8.3 and that's what reboots. Same 2.8.3 as before. No MULTIROM options in Advanced. I've been per the OP. I guess my question is, can this be initiated from an AOSP system? All flashes and reboots are successful, but nothing changes... Thanks for the help @Pump Ac7i0n. Your builds make my g3 rock like it oughta.

Related

[Q&A] [MOD][14 GEN 2015] [LS990] Multirom

Q&A for [MOD][14 GEN 2015] [LS990] Multirom
Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.
Before posting, please use the forum search and read through the discussion thread for [MOD][14 GEN 2015] [LS990] Multirom. If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.
Thanks for understanding and for helping to keep XDA neat and tidy!
Say device unsupport but i have a ls990
I was really looking forward to using multirom, but once i downloaded and opened it, it said device not supported... but the thread is for LS990 which is the device i have. so i dont not understand why i cannot use it.
Sneakygasm said:
I was really looking forward to using multirom, but once i downloaded and opened it, it said device not supported... but the thread is for LS990 which is the device i have. so i dont not understand why i cannot use it.
Click to expand...
Click to collapse
Did you flash all three files, in this order, before trying to use it?
1- reboot in recovery and flash the new TWRP with Multirom support; --> HERE
2- reboot the recovery;
3- flash the kernel with the kexec hardboot patch HERE
4- flash the multirom zip; ---> HERE
5- install every Rom you want ( advanced--> multirom --> add rom )
6- reboot and choose the rom you want to boot.
[Sorry, first time I pasted the wrong information]
help with multirom
Team, i am interested in multirom please help me understand and use it. 1st i am rooted stock zv6. I have installed the multirom twrp also the supported kernel. My understanding of multirom is being able to switch between roms without having to wipe and losing data. Is this correct? Id like to test more but i hate losing data. Id like to keep zv6 as primary and try customs to see what else i like. Like i said i have multirom installed and zv6 as primary i tried illusion as secondary. When i tried to flash illusion it said boot error and i had to recover zv6. I read that illusion kernel dont work with multirom.
1st can you use different roms without wiping?
2nd what are 2 usable roms to try to test this?
3rd. Help with gapps? Im not sure what to ask about this. What is best gapps i downloaded "pa gapps" does it flash after aosp based rom?
Thanks in advance for pointing me in right direction.
1moneymark said:
Team, i am interested in multirom please help me understand and use it. 1st i am rooted stock zv6. I have installed the multirom twrp also the supported kernel. My understanding of multirom is being able to switch between roms without having to wipe and losing data. Is this correct? Id like to test more but i hate losing data. Id like to keep zv6 as primary and try customs to see what else i like. Like i said i have multirom installed and zv6 as primary i tried illusion as secondary. When i tried to flash illusion it said boot error and i had to recover zv6. I read that illusion kernel dont work with multirom.
1st can you use different roms without wiping?
2nd what are 2 usable roms to try to test this?
3rd. Help with gapps? Im not sure what to ask about this. What is best gapps i downloaded "pa gapps" does it flash after aosp based rom?
Thanks in advance for pointing me in right direction.
Click to expand...
Click to collapse
To flash new secondary ROMs you need to do it from with the MultiROM menu in the modified TWRP. If you just flash normally you're replacing the primary ROM.
Illusion works fine. I have it as my secondary ROM. Once you have a good installation of the modified TWRP, Kernal and the multiROM app, boot into recovery, tap Advanced, then MultiROM. Tap Add ROM, navigate to Illusion, and install. To flash GApps, reboot into recovery again, tap List ROMs, choose Illusion, then Flash Zip, and choose your Gapps file.
A for what Gapps, I used the one recommended in the Illusion thread.
meyerweb said:
To flash new secondary ROMs you need to do it from with the MultiROM menu in the modified TWRP. If you just flash normally you're replacing the primary ROM.
Illusion works fine. I have it as my secondary ROM. Once you have a good installation of the modified TWRP, Kernal and the multiROM app, boot into recovery, tap Advanced, then MultiROM. Tap Add ROM, navigate to Illusion, and install. To flash GApps, reboot into recovery again, tap List ROMs, choose Illusion, then Flash Zip, and choose your Gapps file.
A for what Gapps, I used the one recommended in the Illusion thread.
Click to expand...
Click to collapse
Ok. I am doing something wrong. I go into twrp, advanced, multirom, illusion and install but when i reboot it goes to stock rom. When i go to swap roms and load illusion. It boots into a boot error. Then i have to boot into recovery and flash backup.
1moneymark said:
Ok. I am doing something wrong. I go into twrp, advanced, multirom, illusion and install but when i reboot it goes to stock rom. When i go to swap roms and load illusion. It boots into a boot error. Then i have to boot into recovery and flash backup.
Click to expand...
Click to collapse
Did you install all three files in the multirom thread (TWRP, Kernel and the MultiROM program) http://forum.xda-developers.com/sprint-lg-g3/development/mod-multirom-t3002649?
Installed in the right order (see post #2 in that thread)?
If so, when the phone boots, you should briefly see a menu of sorts that includes a "boot now" button. Tapping that will take you to a boot menu where you can select which ROM to boot. Alternately, while on the boot screen, you can press a volume key to get to the selection screen. If you don't do anything the phone will boot into your primary ROM by default.
If you don't see that "boot now" screen, then I think you didn't install something right.
And I don't think you can make the stock ROM a secondary. It's too big for MultiROM to handle.
meyerweb said:
To flash new secondary ROMs you need to do it from with the MultiROM menu in the modified TWRP. If you just flash normally you're replacing the primary ROM.
Illusion works fine. I have it as my secondary ROM. Once you have a good installation of the modified TWRP, Kernal and the multiROM app, boot into recovery, tap Advanced, then MultiROM. Tap Add ROM, navigate to Illusion, and install. To flash GApps, reboot into recovery again, tap List ROMs, choose Illusion, then Flash Zip, and choose your Gapps file.
A for what Gapps, I used the one recommended in the Illusion thread.
Click to expand...
Click to collapse
meyerweb said:
Did you install all three files in the multirom thread (TWRP, Kernel and the MultiROM program) http://forum.xda-developers.com/sprint-lg-g3/development/mod-multirom-t3002649?
Installed in the right order (see post #2 in that thread)?
If so, when the phone boots, you should briefly see a menu of sorts that includes a "boot now" button. Tapping that will take you to a boot menu where you can select which ROM to boot. Alternately, while on the boot screen, you can press a volume key to get to the selection screen. If you don't do anything the phone will boot into your primary ROM by default.
If you don't see that "boot now" screen, then I think you didn't install something right.
And I don't think you can make the stock ROM a secondary. It's too big for MultiROM to handle.
Click to expand...
Click to collapse
Ok. Im getting closer. So i add rom in twrp then during boot i can pick whichto boot to. When i tried to boot to illusion said kernel crash. Yes i flashed all 3 in order listed. Is there a better kernel to use? I was thinking the swap rom in twrp would switch roms and boot into it for me.
1moneymark said:
Ok. Im getting closer. So i add rom in twrp then during boot i can pick whichto boot to. When i tried to boot to illusion said kernel crash. Yes i flashed all 3 in order listed. Is there a better kernel to use? I was thinking the swap rom in twrp would switch roms and boot into it for me.
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?p=58643700
hey guys, hows ubuntu running on the lg? I have ubuntu installed in my usb for my PC and it works great, just on the USB lol, hows the overall performance on LG?? internet speed??
Sent from my LGLS990 using Tapatalk

[Q] Howto go from cm-10.1.3 to cm-11 nightly on i9100 intl?

I am currently on cm-10.1.3 galaxy s2 i9100 intl (International, NOT G). It has CM-based Recovery v6.0.3.6. How do I upgrade to new rom cm-11 nightly?
1. Can the above CM-based Recovery v6.0.3.6 be usd for the flashing? Any link to a detailed post would be appreciated? I have seen references to problems if the above used, or first one has to goto cm-10.2 etc. It looks like cm-10.2 has been pulled back, I do not see that among cm downloads area.
2. Using the built in 'CM Check for updates' I downloaded the latest cm-11 nightly, it went without any error. But I do not see that .zip file anywhere. Where is that supposed to be?
Any help is appreciated.
CqN said:
I am currently on cm-10.1.3 galaxy s2 i9100 intl (International, NOT G). It has CM-based Recovery v6.0.3.6. How do I upgrade to new rom cm-11 nightly?
1. Can the above CM-based Recovery v6.0.3.6 be usd for the flashing? Any link to a detailed post would be appreciated? I have seen references to problems if the above used, or first one has to goto cm-10.2 etc. It looks like cm-10.2 has been pulled back, I do not see that among cm downloads area.
2. Using the built in 'CM Check for updates' I downloaded the latest cm-11 nightly, it went without any error. But I do not see that .zip file anywhere. Where is that supposed to be?
Any help is appreciated.
Click to expand...
Click to collapse
The cm11 zip file will most likely be in your internal sd card. You should be able to flash it from there from recovery, but first I would update the recovery to something more recent
Just download the latest philz recovery from HERE You want the "latest philz" from the third post. Flash this recovery, reboot into recovery(not system), do a full wipe after any backups you want to do, then flash the cm11 zip and compatible gapps(optional)
There are other recoveries you can use, just use the latest one if possible, philz is what I use
noppy22 said:
The cm11 zip file will most likely be in your internal sd card. You should be able to flash it from there from recovery, but first I would update the recovery to something more recent
Just download the latest philz recovery from HERE You want the "latest philz" from the third post. Flash this recovery, reboot into recovery(not system), do a full wipe after any backups you want to do, then flash the cm11 zip and compatible gapps(optional)
There are other recoveries you can use, just use the latest one if possible, philz is what I use
Click to expand...
Click to collapse
Thank you very much for your very helpful reply. I have more to clarify now.
A. Well, I found out why I dont see the cm-11 zip file. (I did search in the *nix console with
'find / -name cm-*.zip'. Couple of the other older zips do show up.). To see the problem I had to watch during the full download; towards the end it has a very brief popup like 'MD5 check failed'. I have no idea why the latest cm-11-20150426-nightly md5 is failing at my end!! The previous 20150412 could not be downloaded either (though I was not there to catch the md5 error, but since there was no file, I assume it failed similarly.) So I tried the 20150406, and that did ask me if I wanted to flash, I cancelled that, and the zip is in the /storage/sdcard0/cmupdater/ . Good.
B. I had never used any philz recovery tool before. So to flash this new recovery, I use the current CM-based Recovery v6.0.3.6, just like I load the gapps zip?
B1. When you say philz, from third post, this one? 8th September 2012, 11:40 PM |#3 ?
It says it 'can be flashed in stock recovery 3e: No Yellow Triangle'. Mine is no longer the stock recovery, since I had updated to the v6.0.3.6. My phone has a Yellow Triangle on boot! Does this mean I cannot use this one? Kindly explain.
So philz recovery is different flavour from the CM-10.1.3 based I have? I had used the flashing only once before to come from the stock to the 10.1.3. Are these two recoveries fully compatible?
C. I had already downloaded the gapps zip for cm-11. The date of that is rather old; I assume there is only one gapps zip version for the cm-11?
D. Since there have been so many cm-11 NIGHTLYs out there, no stable, or monthly, how does one select one of the more stable among them. I really do not need the latest, the primary reason is the main version Andorid upgrade, and I want the ones after the battery drain problem, and the music stop problems were fixed. Is there any place where they give a relative 'goodness' grading to these NIGHTLYs?
Thank you for your continuing help.
noppy22 said:
The cm11 zip file will most likely be in your internal sd card. You should be able to flash it from there from recovery, but first I would update the recovery to something more recent
Just download the latest philz recovery from HERE You want the "latest philz" from the third post. Flash this recovery, reboot into recovery(not system), do a full wipe after any backups you want to do, then flash the cm11 zip and compatible gapps(optional)
There are other recoveries you can use, just use the latest one if possible, philz is what I use
Click to expand...
Click to collapse
This is a continuation of my last reply to you. Double checking: The latest zip file I see at the goo.im downloads site phiilz_touch->CWM_Advanced_Editiion->i9100 is
philz_touch_6.48.4-i9100.zip Sun, 06 Jul 2014 22:47:33 GMT
Should I flash this from my CM-based Recovey v6.0.36 ?. After this flash, i suppose I can do a regular phone booting also, before flashing the cm-11? Thank you.
CqN said:
This is a continuation of my last reply to you. Double checking: The latest zip file I see at the goo.im downloads site phiilz_touch->CWM_Advanced_Editiion->i9100 is
philz_touch_6.48.4-i9100.zip Sun, 06 Jul 2014 22:47:33 GMT
Should I flash this from my CM-based Recovey v6.0.36 ?. After this flash, i suppose I can do a regular phone booting also, before flashing the cm-11? Thank you.
Click to expand...
Click to collapse
The latest philz is correct - 6.48.4. Yes you can flash it from your recovery, it is just an updated version of the v6.0.3.6, something like 6.0.4.something with touch ui. It will work flashing later android versions where the earlier one may not. Just flash it and reboot straight back into recovery when you are ready to do your backups, wipes and installs.
The nightly cm11's are all very stable at this stage; I would download the latest, but the more important bug fixes were implemented from about mid january(eg. fpbug fix). Anything after that would be ok. The gapps, I would download the latest just before I flashed the rom, you are better off with the latest play services etc. As long as they are compatible to 4.4.4, you can choose whatever gapps you want. I like minimal gapps by @jajb for example, but it's up to you. HERE are most of the gapps available at the moment.
If you can I would download the rom by pc. You are recommended to check the md5 sum whenever you download roms/gapps to make sure the download was successful
noppy22, Thank you. That clears up many things. The link to the gapps is a big help. I had previously read somewhere that my phone needed a small foot print gapps, because the system (?) partition was ony about 500mb. That was what I had downloaded, but I can check the newer ones.
How do I check the md5 checksum after the download? I have access to the terminal, and I can use minimal *nix commands, once i know the utility name At philz, there were .zip and .zip.md5 of the same version date. Can I flash either one? I know, as I mentioned in two msgs ago, when I use the system download of nightly, it automatically checks the md5, and saves only if it is correct. But I simply downloaded the gapps, and the .zip of he philz, so I do not know how to check the md5. Info-zip versions of zip has their own integrity check with unzip -t, but the unzip in busybox of Android appears minimal without those features. Thank you agian, I am almost ready to upgrade, as soon as I hear back from you
CqN said:
noppy22, Thank you. That clears up many things. The link to the gapps is a big help. I had previously read somewhere that my phone needed a small foot print gapps, because the system (?) partition was ony about 500mb. That was what I had downloaded, but I can check the newer ones.
How do I check the md5 checksum after the download? I have access to the terminal, and I can use minimal *nix commands, once i know the utility name At philz, there were .zip and .zip.md5 of the same version date. Can I flash either one? I know, as I mentioned in two msgs ago, when I use the system download of nightly, it automatically checks the md5, and saves only if it is correct. But I simply downloaded the gapps, and the .zip of he philz, so I do not know how to check the md5. Info-zip versions of zip has their own integrity check with unzip -t, but the unzip in busybox of Android appears minimal without those features. Thank you agian, I am almost ready to upgrade, as soon as I hear back from you
Click to expand...
Click to collapse
Yes you are generally better off with a smaller gapps package due to the smaller /system in the s2, more so in the newer lollipop roms.
You can check the md5 in a variety of ways, google will tell you ways to if you want to search, and there are apps in the market that check for you. I personally use hashtab, which you download to your pc. It gives you a tab in "properties" that allows you to compare the md5 value against the download site
Thank you. I got my s2 running on 4.4.4, thanks to your help. Everything went fine; I will reload another newer 'small' gapps pkg soon.
As for the md5 check, I was wondering if there is a way to do that from the phone (after a download) or using philz recovery, after download of a .zip.
CqN said:
Thank you. I got my s2 running on 4.4.4, thanks to your help. Everything went fine; I will reload another newer 'small' gapps pkg soon.
As for the md5 check, I was wondering if there is a way to do that from the phone (after a download) or using philz recovery, after download of a .zip.
Click to expand...
Click to collapse
Just go to play store and search for "md5 checker". There are several there. Sorry I haven't used any, so can't recommend but they should be able to give you a reference point
I have run into a problem, and I am stuck. While playing with the setting of profiles, I lost wifi, and the cell connection permanently. It is possible there is bug in the new profile version. Anyway, I flashed again the same nightly (after wipe for loading a new rom), and then this time without the gapps re-flashing, booted the system up. Both the wifi and the cell connected this time. Of course there was no google apps. So, I reflashed the philz advanced (the cm flash always gets rid of the philz advanced), then added the same apps pkg as before. But then when I booted the system up, both the wifi and the cell were not connecting!!
Any suggestions? Thank you.
PS. A related question. Does philz provide a way to save all the installed up and their setting to the external sdcard, and then reboot it? I am particularly interested in the settings save and restore.
CqN said:
I have run into a problem, and I am stuck. While playing with the setting of profiles, I lost wifi, and the cell connection permanently. It is possible there is bug in the new profile version. Anyway, I flashed again the same nightly (after wipe for loading a new rom), and then this time without the gapps re-flashing, booted the system up. Both the wifi and the cell connected this time. Of course there was no google apps. So, I reflashed the philz advanced (the cm flash always gets rid of the philz advanced), then added the same apps pkg as before. But then when I booted the system up, both the wifi and the cell were not connecting!!
Any suggestions? Thank you.
PS. A related question. Does philz provide a way to save all the installed up and their setting to the external sdcard, and then reboot it? I am particularly interested in the settings save and restore.
Click to expand...
Click to collapse
I don't know about the connection problems, you could post the problem in the cm11 thread as it is more specific to that rom. I have heard problems in cm12 with using gapps not released by cm, so you could try cm gapps HERE
Other than using the backup feature of philz, there isn't really any option to save settings. You could check out titanium backup from the market. It has the most comprehensive features for backing up apps and settings, although I have had problems with re-installing stuff using it, but plenty of people swear by it....

No OS installed! Are you sure you wish to reboot?

Hi all
How exciting it is to see that so many people are so involved in improving or fixing their mobile devices.
I got some sort of a virus on my Samsung Galaxy S3 so decided to try to wipe it clean and load a more up-to-date version of Android on it. It had 4.3.?. On a Windows 7 PC, I downloaded the Skipsoft Unified Android Toolkit (version 1.4.5). I think now I didn't need to but probably succeeded in rooting my S3 with Kingo ROOT.
Next, using the toolkit and Odin, I think I succeeded in flashing the recovery-twrp-2.7.1.0-i9300.tar custom recovery.
My phone would only boot up with the stock Android.
I took me a while before I learnt about entering the recovery mode by holding the volume up, home and power-on buttons simulateously.
In the recovery mode, I used Wipe, Advanced, ticked all of the boxes and wiped everything on the phone.
Then, using the toolkit and Odin again, I flashed the same recovery-twrp-2.7.1.0-i9300.tar custom recovery I'd flashed before.
I still can't boot my phone. If I choose Reboot from twrp (v2.7.1.0) and then either System or Recovery, I just get, "No OS installed! Are you sure you wish to reboot?"
I can still enter either download or recovery modes but the latter is something of a hit and miss affair.
Using File Manager in the twrp I can see lots of files and directories so guess I managed to flash something.
Also, using Terminal Command I see that my prompt is a "#"so think I'm still rooted.
I know something about Unix and programming mainframe computers but am not an expert with mobile devices. I'd be so grateful if someone could please advise me as to what to do?
Mike
You wiped system partition ;-;
If you want stock rom you need to flash the stock rom by odin.
I recommend you to install a custom rom like Temasek or CM13, it's real easy just flash the zip.
Haha yes^ this guy is right
You might have to flash stock rom if you somehow wiped efs, most of the time custom roms doesn't include efs with them
Turga said:
You wiped system partition ;-;
If you want stock rom you need to flash the stock rom by odin.
I recommend you to install a custom rom like Temasek or CM13, it's real easy just flash the zip.
Click to expand...
Click to collapse
Thanks for your response, Turga and snkmv, below. I didn't know what efs was so looked it up on the net and found this worrying but expert explanation from ryanrazer and Rukbat in androidcentral ( http://forums.androidcentral.com/as...erstanding-cwm-backups-efs-partition-etc.html )
In twrp's recovery mode on my phone and using File Manager, I see that the directory /efs is empty (all files are shown in File Manager, right, including invisible files?)
I'd prefer to try to flash a custom ROM which includes efs rather than the stock ROM. Do Temasek or CM13 include efs or does another, reliable custom ROM?
Thanks again folks
Mike

Issues with CWM Installation

Hello.
I am currently trying to bring my Samsung Galaxy SII (GT-I9100) to a current CM version. The phone is completely untouched and has never had any custom upload or anything similar.
The problem now is, while there are loads and loads of guides out there, all of them seem very old - and different. One says i need heimdall, other says odin, others seem way easier just adding the files to my SD card and installing through recovery - and basically all that does is confusing the hell out of me.
So, first things first - the most important thing seems to get root access - i've done that successfully using the "How To Root Samsung Galaxy SII GT-I9100"
The one thing that confuses me now is - where is CWM? I thought i installed it using that root method?
Another method i tried before updated my recovery while it was running from the stock one to CWM - but after rebooting into recovery it was the stock one again.
SO i am even more confused now as before.. At least i hope that my phone is and stays rooted, so that is a plus.
The question now is, what am i missing?
Were all of these CWM things i've "installed" just temporary? Where do i get the full version, and how do i install it?
Basically what i'm asking is, is there a current guide for all of the flashing? Can anyone maybe guide me through it? I mean, nowadays it seems the S2 should be flashed very easily, and i'm guessing it's just getting the correct CWM version and flashing it via recovery - but since i'm not sure, i'm asking for some guidance.
The easiest way to get a CWM custom recovery is to flash PhilZ recovery through your standard stock 3e recovery.
Look for your Android build number (under settings>>about device/phone) then go to the PhilZ thread......
http://forum.xda-developers.com/showthread.php?t=1877270
download the matching kernel/recovery zip (NOT .tar), copy to a micro SD card (or possibly even internal storage I can't be sure of that....It's been a while since I rooted my S2), boot into recovery and flash......
Simple as......
Edit....The thread states 'external sd card' so forget about using internal storage......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks a lot, worked flawlessly!
I hope it is okay that i just ask about the next steps here.. Since i immediately ran into new problems.
So, i booted into the CWM and tried to push my cm package that i want to install via mfastboot-v2 and it failed stating the following errors:
Warning: No file_contextdetected filesystem ext4 for /dev/block/mmcblk0p9
Can't install this package on top of incompatible data. Please try another package or run a factory reset.
E: Error in /tmp/update.zip
(Status 7)
Installation aborted
It seems obvious ofcourse that i need to do a factory reset before, but the S2 is probably susceptible to a superbrick and i should not do that factory reset on my stock rom.
The question is - what now? Also i was not able to mound the external SD card in CWM.
ThePatchelist said:
Thanks a lot, worked flawlessly!
I hope it is okay that i just ask about the next steps here.. Since i immediately ran into new problems.
So, i booted into the CWM and tried to push my cm package that i want to install via mfastboot-v2 and it failed stating the following errors:
Warning: No file_contextdetected filesystem ext4 for /dev/block/mmcblk0p9
Can't install this package on top of incompatible data. Please try another package or run a factory reset.
E: Error in /tmp/update.zip
(Status 7)
Installation aborted
It seems obvious ofcourse that i need to do a factory reset before, but the S2 is probably susceptible to a superbrick and i should not do that factory reset on my stock rom.
The question is - what now? Also i was not able to mound the external SD card in CWM.
Click to expand...
Click to collapse
1) I can't comment on mfastboot v2 as I have no experience of using it.
2) which CM package are you trying to install?
3) the super brick bug only affects android 4.0.4 Icecream Sandwich....
And PhilZ kernels have removed/patched the EMMC_cap_erase command that activates the 'bug' anyway.
4) if your CM package came from XDA or the CM website, then it should install through PhilZ recovery.
5) what are you trying to achieve that requires external SD to be mounted?
The cm i'm trying to install is the latest stable one, being cm-12.1-20151116-SNAPSHOT-YOG7DAO1JN-i9100
About the superbrick, i did not know that the philZ kernels fixed that, good to know.
And i tried to simply put the ROM image onto the external SD card to simply flash it from the CWM - but since that external SD card cannot be mounted, i tried using the adb push method.
Could i use the internal storage and simply apply update from zip file from there? Thought that might be an issue due to it being erased in the process?
CM 12 is lollipop base isn't it? The last CM I flashed to my S2 was 11.....but then my eldest son asked me for a phone so I returned it to stock and loaned it to him.
Obviously haven't been able to flash it since.
As for CM12, I've read that overall, it's not as stable as 11 (contains more bugs) and is heavier on the battery. I'm sure I've also read that the S2s memory partitions have to be re - mapped @gsstudios maybe you can help here as I'm not sure)
As far as I am aware, installing the rom from internal storage shouldn't be an issue......The only time data on that partition is compromised is if you perform a factory reset....and you would only have to do this (if at all) AFTER you have installed the rom. I'm also fairly sure that you have to have a specific version of CWM installed to be able to install newer CM roms, but again, I'd have to suggest waiting for @gsstudios to comment here......
ThePatchelist said:
The cm i'm trying to install is the latest stable one, being cm-12.1-20151116-SNAPSHOT-YOG7DAO1JN-i9100
About the superbrick, i did not know that the philZ kernels fixed that, good to know.
And i tried to simply put the ROM image onto the external SD card to simply flash it from the CWM - but since that external SD card cannot be mounted, i tried using the adb push method.
Could i use the internal storage and simply apply update from zip file from there? Thought that might be an issue due to it being erased in the process?
Click to expand...
Click to collapse
Hi,
There are a few points I will give:
- cm-12.1-20151116-SNAPSHOT-YOG7DAO1JN-i9100 is an old build of CM12.1. It doesn't have all of the latest features like Isorec (isolated recovery for TWRP 3 recovery support), hence it should be avoided. Instead, use CM12.1 Unofficial by CNBLACK or CM12.1 Unofficial by Markox89. Although they are unofficial builds, these are considered more stable than the CM12.1 snapshot build being offered.
- You can install CM12.1 via internal storage. It won't get erased during the flashing process, instead, this only happens when you re-partition your phone using a .pit file. You will need to increase you system partition size in order to flash gapps (google play store, etc) using Lanchon's repit tool. Documentation is already provided.
- Once you've installed CM12.1, it is recommended to change the recovery to TWRP (preferred) or CWM. This is because CM recovery is very limited and will become a problem later if you decide to flash CM13.
gsstudios
Hey there again.
First of all, thank you very much! I successfully flashed one of the cm's you posted @gsstudios and so far it works.
Now though i am struggling with the TWRP installation since i have to increase the partition size for gapps.. As i've read it TWRP must be flashed via heimdall (back to square one..) and there i am having problems with the connection (claiming interface error, was googling for 2 hours now, nothing helped)
Basically what i am now looking for is a way to get TWRP without having to flash via heimdall, but rather installing it through the cm recovery which seems not possible?
I am really sorry that i continue to post my issues here since i'm sure you guys helping out are really annoyed by this.. But currently i am again running my head into a brick wall not knowing how to proceed :/
Edit: jesus..
I have no idea how or why, but apparently i got it now.
I installed ROM manager externally and it showed me that i have CWM and TWRP already installed.. At first i was confused and set up TWRP as my recovery, but that only booted into the normal cm recovery. Then i tried the CWM one and when going into recovery i am now in TWRP.. Am reformatting my partitions, so far without any errors.
I am not less confused but close to being happy. As soon as i can flash gapps afterwards all of this is over and done.
Thanks still, for all the help guys! And sorry for being the usual annyoing user..
No problem fella....but in future, STAY AWAY from rom manager.....It sometimes doesn't play nice with the S2.
In the past I've read that it can 'fubar' recovery and can cause boot loops. (So up til now, you've been lucky).
For further info, Heimdall simply isn't needed.....The primary method of TWRP installation is via Odin. I'm a bit concerned that rom manager said you have both CWM and TWRP installed....Some investigation is in order....
Whichever recovery you boot into with the button combination is the recovery you have installed.....

Tab S3 always booting into Odin/Download mode

Hi there,
Not sure what happened - I'm using my Tab S3 (SM-T820) for ages in the same (stable) configuration - rooted Stock, no changes/installations for months.
This morning it was in Odin/Download mode and I cannot boot into system.
I can get into recovery (TWRP), but I cannot boot into system from there either, it always returns to Odin (tried wiping Cache/Dalvik, didn't help).
For now my only idea is to let it completely discharge, charge again and give it another try.
No buttons appear to be stuck.
Any ideas or suggestions, eg sth I could check in TWRP to see what's going on?
(hopefully nothing wrong with the system partition).
Note - I'm only familiar with the typical TWRP functions needed to install custom firmware, haven't used it for much else. Obviously would prefer not to destroy my (stable) setup and spent a full day re-installing everything
Thanks a lot for your help everyone!
@Whoooo? Backup whatever possible with TWRP onto external storage (SD or OTG).
Check if file manager can access download/DCIM folders and save them as well.
Although the charging thing might help I wouldn't set my hopes to high.
Probably somethings wrong with system or boot partitions or any file needed by them.
I'm afraid you will have to reflash stock via Odin, root again and try if restoring TWRP saved Data works.
That would reduce setting up time.
bmwdroid said:
@Whoooo? Backup whatever possible with TWRP onto external storage (SD or OTG).
Check if file manager can access download/DCIM folders and save them as well.
Although the charging thing might help I wouldn't set my hopes to high.
Probably somethings wrong with system or boot partitions or any file needed by them.
I'm afraid you will have to reflash stock via Odin, root again and try if restoring TWRP saved Data works.
That would reduce setting up time.
Click to expand...
Click to collapse
Hi there,
Thanks a lot for your reply - yes, I will try that once the complete discharge is finished.
Reflashing stock - could cause this any troubles as it's already unlocked/rooted?
Or is there a chance dirty flashing the Tweaked Stock ROM could work, too?
Tablet was still on the original Stock it came with, but rooted with magisk and manually debloated...
Thanks again!
I think Odin won't care about unlocked bootloader.
But might be necessary to unlock again.
Dirty flashing afaik only works with TWRP so only flashing of zip or img files possible.
Except you sideload although Idk if that's possible on Samsungs.
Dirty flashing of a before the problem arose made backup might work.
Did you debloat while already installed or externally?
What file format does it have?
My T825 uses the debloated ROM by rorymc628 which can be flashed with TWRP as it's a zip file.
bmwdroid said:
I think Odin won't care about unlocked bootloader.
But might be necessary to unlock again.
Dirty flashing afaik only works with TWRP so only flashing of zip or img files possible.
Except you sideload although Idk if that's possible on Samsungs.
Dirty flashing of a before the problem arose made backup might work.
Did you debloat while already installed or externally?
What file format does it have?
My T825 uses the debloated ROM by rorymc628 which can be flashed with TWRP as it's a zip file.
Click to expand...
Click to collapse
Hi there and thanks again -
Took me a while to try everything but finally it's working again.
Complete battery drain didn't help, but dirty flashing did - once I got the correct version.
Basically made a nandroid backup, then flashed the tweaked rom over my existing one, starting with newer versions down to older ones.
So, flash, reboot - didn't work, restore nandroid (all), flash slightly older rom....
Till it started booting with v2.0 (probably matching my existing rom close enough).
Had to reflash Magisk as the 2.0 Rom included didn't match my Magisk Manager, but now my Tab S3 is working again!

Categories

Resources