Updating from CyanogenMod - LineageOS Questions & Answers

Hi,
currently I am running CyanogenMod 13 on my Samsung Galaxy S4 Mini (serranoltexx). Now, as it get's outdated and insecure, I am about to update it to LineageOS. But I am worried, because I can't just flash the ROM over CM, but I have to wipe everything. Sure, I can take backups of all my data, but my question is:
What do I have to select in Clockworkmod Recovery in order to clean up for LineageOS? And the second point is that I parted my SD-Card to use Android's option to emulate one partition as internal storage. So if I wipe, can I keep the partitions and what do I have to save before?
Oh and.. I have tried to do a Nandroid Backup, but I can't copy it onto my PC because the storage is mounted differently within CyanogenMod (the 2 partitions I wrote about) and ADB doesn't work for this either.
I hope somebody can help me

Done! /ReqClose
Hi,
I'm glad to say that I have done it yesterday. The thread can be closed and for all who have the same questions I had:
First of all I took a backup of all my data (Apps, Music, Photos etc) and put LineageOS, GApps & SuperSU on my SD-Card. Then I booted into my recovery (CWM) and wiped all data. Unfortunately it didn't work (CWM said something like "error in lineageos.zip") so I decided to use TWRP for it. There was just an unofficial build but I didn't care too much, so I used this one. It was an img file, so I needed to convert it to .tar.md5 first using a tool I found in the Internet. So I flashed TWRP then using Odin. When I booted into TWRP everything seemed to work, but when I tried to install the zip file it just rebooted immediately without an installation. So I finally used ADB sideload, and it finally worked! Now my phone is working fine!
Hope this helps someone!!

Related

Did I brick my SGS3 ? ^_^

All right, first thing first. Thanks to everybody for this amazing forum and all support.
Well. Here's my story:
1) Planned on installing CM10 nightly
2) Went to recovery (TWRP v2.2.0) and by mistake wiped everything :/ (Cache, Dalvik Cache, Factory Reset, System Internal Storage)
3) In effect i wiped everything including system.
4) Still have access to TWRP and download mode.
Does anybody have a clue how to fix that and install CM10 again?
PS.
1) internal storage does not mount under system (WIN7)
2) TWRP does not recognize microSDXC (32gbz) formated to either exFat or NTFS. (Tried 4 (four) of them)
Should i buy another micro sd like 2gb, format it to Fat32 and drop CM.zip there ? Or need i do something else?
Very respectfully.
That happened to me I just downloaded the rom to a sd card from my old phone put it in my s3 and installed it.
Sent from my SAMSUNG-SGH-I747 using xda app-developers app
Hey thank you for quick answer. Do you know if there is any limitation for TWRP? It does not read my 32gb MicroSDXC.
Go into download mode and re flash then stock rooted rom.
Then install your twrp and try cm again.
Sent from my SGH-I747M using xda app-developers app
Personally, I would (try to?) use adb with the phone booted into TWRP to transfer the ROM you want to flash over to the phone's internal storage, and go from there.
If that's not a possibility for whatever reason, you'd be best off starting by reflashing a stock rooted image with Odin and going from there.
Well. First of all thank you all for all your help in support. Got it back to stock with root (Odin flash). However there is another small problem that i can't figure out. TWRP itself seem not to have access to anything. I mean it sees all / but after openning /sdcard or anything else all it sees is empty folders. It doesn't have an access to external sd either (when you check log it sees that it couldn't mount ext sd correctly [even if after boot to stock system it recognizes it witout any issues).
Any idea how to solve this problem? What has been tried:
1) Reflash recovery (TWRP 2.2 using ODIN)
2) moving all files to /
3) RootExplorer see files (cm.zip) after reboot TWRP doesn't
4) Installing GooManager (it crashes after granting supersu permissions)
Very Respectfully.
With all those problems, flash to stock rooted and start over. You will be better off in the long run. You may want to also format your external sd.
Don't flash twrp with Odin.
Rooted stock
Dl and use goo manager to get twrp
What about a stock kernel? Just my chime in
Sent from my SAMSUNG-SGH-I317 using xda premium
Allright small update.
1) ReFlashed to rooted stock (root66_ATT_I747UCDLK3.tar.md5)
2) Installed GooManager
3) Installed TWRP (using GooManager)
4) Downloaded lastest CM10 nightly (cm-10.1-20121218-NIGHTLY-d2att.zip) using GooManager
5) Flashed cm-10.1-20121218-NIGHTLY-d2att.zip from GooManager menu (FlashROM) - Wiped Dalvik & Cache
Now I'm stacked with CM boot splash for past 5 min hoping it just takes longer that it should.
Any ideas?
Very Respectfully.
EDIT:
Booting into recovery and performing factory reset fixes problem.
Thanks to everybody who helped.
widofmaker said:
Allright small update.
1) ReFlashed to rooted stock (root66_ATT_I747UCDLK3.tar.md5)
2) Installed GooManager
3) Installed TWRP (using GooManager)
4) Downloaded lastest CM10 nightly (cm-10.1-20121218-NIGHTLY-d2att.zip) using GooManager
5) Flashed cm-10.1-20121218-NIGHTLY-d2att.zip from GooManager menu (FlashROM) - Wiped Dalvik & Cache
Now I'm stacked with CM boot splash for past 5 min hoping it just takes longer that it should.
Any ideas?
Very Respectfully.
EDIT:
Booting into recovery and performing factory reset fixes problem.
Thanks to everybody who helped.
Click to expand...
Click to collapse
GJ take it sure and slow. Other than flashing stock/rooting form Odin I wouldn't flash anything form Odin. Once you have super user on your phone, leave Odin out and do everything from phone
That's the safest route and it gets easier from here. The countless hours you spent are much easier the more you do it. Shouldn't take more than 20 minute to backup and flash roms and new apps from now on
Oh boy.
Almost done. But here are another tiny problems that just bother me and but I think they're solvable.
1) GooglePlay suddenly gives "No Connection" error, even though every other app that requires connection (Messenger, Browser) work just fine.
Have to mention that it worked for a while, installed couple apps (drop some more to install in queue and when I woke up - FAIL!)
Things done:
-Forced to stop
-ClearedData & Cache
Is there any other solution to fix it rather than reflashing gapps ?
2) The ExternalSD is mounted under PC as Internal Storage and vice versa.
When you click "Samsung -GHS-I747) in my computer it shows both with proper sizes but once you click them it opens the other.
No clue how to solve that one.
Very respectfully.
widofmaker said:
Oh boy.
Almost done. But here are another tiny problems that just bother me and but I think they're solvable.
1) GooglePlay suddenly gives "No Connection" error, even though every other app that requires connection (Messenger, Browser) work just fine.
Have to mention that it worked for a while, installed couple apps (drop some more to install in queue and when I woke up - FAIL!)
Things done:
-Forced to stop
-ClearedData & Cache
Is there any other solution to fix it rather than reflashing gapps ?
2) The ExternalSD is mounted under PC as Internal Storage and vice versa.
When you click "Samsung -GHS-I747) in my computer it shows both with proper sizes but once you click them it opens the other.
No clue how to solve that one.
Very respectfully.
Click to expand...
Click to collapse
1. you are flashing a version of gapps that is out of touch with your rom or you did not flash it correctly/cleanly. I remember no matter how many times I flashed gapps I wouldn't get it to sync. Backed all user apps to Titanium backup. Did a clean install from scratch, and wallah it worked. Last sort.
Without doing that though there is usually one that is compatible that is listed on your rom page. Flash that one. For me that is 10/22 but I remember it giving that same error for a while so I ended up flashing the previously compatible version before that which was 7/26. Goo.im might help here, I haven't used it myself. Once you find a working gapps version etc. Store your 'safe' builds in one folder
2. Not sure what you mean. When you click your phone you should see internal and external storage on your phone. They are what they say they are. People tend to piss on not being able to find the right file size and folder attributes on this phones usb mount. It is a common problem. Probably one of the few problems on the phone. Annoying but manageable
zetsui said:
2. Not sure what you mean. When you click your phone you should see internal and external storage on your phone. They are what they say they are. People tend to piss on not being able to find the right file size and folder attributes on this phones usb mount. It is a common problem. Probably one of the few problems on the phone. Annoying but manageable
Click to expand...
Click to collapse
1) Ended up reflashing gapps with goomanger (script to TWRP)
2) What i mean is that under phone it recognizes them perfectly. Just when I connect phone through USB to PC, my PC tends to mix them up. Just shows ExSD as Internal and Internal as ExSD. No biggy, just tried to fix as many tiny issues as possible before I hit deployment.
Very respectfully.
That is a known, and stated, issue with cm 10.1

[Q] help recovering with TWRP after failed ROM flash

I've found myself stuck trying to flash a ROM. I'm a newbie, this was my first attempt at something like this, I though I read enough about the process but I guess I screwed up something. I will try to be to the point.
Phone: Samsung Galaxy S3 AT&T i747
Rooted phone with Casual, installed ROM Toolbox and purchased the pro upgrade.
installed TWRP 2.5 and made a nandroid backup, the only place this backup existed was in internal storage.
used ROM toolbox to backup user apps and user data
selected cyanogenmod 10.1 RC5 from within ROM Toolbox and there was a requester for gapps and a checked the box for that also. When the DL was complete I installed the ROM queue with those two items and I checked the boxes Wipe Data & Cache and Wipe dalvic-cache.
Phone went to recovery mode (i guess) and appeared to clear the memory and load the new rom, the phone rebooted and I got the cyanogenmod boot screen but then it went to a requester saying:
Unfortunately , the process com.google.process.gapps has stopped.
When you hit ok you get:
Unfortunately, setup wizard has stopped.
this requester never goes away, just keeps popping up when you hit ok.
So I removed the battery and booted the phone in recovery mode and try to restore but the restore nandroid file in not shown. If I hit the center button in the restore window it says "updating partition details" but never returns.
Whenever you power it up normally now you end up in this gapps loop.
My searching suggested I may have tried to install the wrong version of google apps somehow. What are my options for trying to recover from this? Does my backup still exist somewhere?
If process.gapps is your only warning you can try to reflash the gapps zip from here. http://goo.im/gapps/gapps-jb-20130301-signed.zip If this does not fix your problem, you will have to head deeper into the rabbit hold
You can look for your back with a file explorer. Should be in sdcard/TWRP/BACKUPS/******** (random number). If you dont see them here, check your ext-sd in the same location. If you don't see them, they are gone. Do a Nandroid backup now just to be sure you have one. You should chose to back it up to external in TWRP. As for your FC problem, it would appear that you have not wiped fully. You will likely need to factory reset. the problem is this will remove everything. Titanium back up is a great product for situations like this. If you have used it, you can transfer your backup from the internal storage while connected to your pc. Also copy your DCIM folder as it will contain your photos. This is why you will need to do another Nandroid, because worst case scenario, you can just restore this one.
Thanks for the reply. I will try to reflash the gapps file from the external as soon I can download it, the site is having some trouble right now. I made another Nandroid of the phones current state and stored it to external. I did also have Titanium backup and had backups of the whole system with it. Unfortunately they are also only on the internal storage.
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
theaxis695 said:
Re-installing the gapps zip file off the extSD from within TWRP did the trick. All the data and backups I created are also still there and are now backed up in several places.
Something that compounded the problem was the 64GB sd card I have for the phone. I was not able to mount it on either of my linux mint machines or an XP machine. Some oddness with the exFAT file system on it, I used a 4GB card I had laying around and it worked fine.
Thank you for the help, the phone is now running CM which is what I wanted and I learned a few things too.
Click to expand...
Click to collapse
I just bought a 64GB card as well. You may be having troubles mounting it due to a partition that comes factory in the SD. If this is the case, you can look at post #57 on the following page http://forum.xda-developers.com/showthread.php?t=1915385&page=6
It helped me tremendously.

[Q] Problems and confusion with TWRP

I'm running twrp 2.7.1 and have quite a few problems but I'll just start out with the backup and restore options.
The tutorials I've reviewed instructs to simple backup your stock rom and to reinstall, choose the file and restore.
Why isn't the wipe and factory restore procedure performed?
I followed the instructions and attempted to restore the latest backup but when I hit reboot I get the no OS installed warning, this is without any wipe. I doubled check the checksum of this backup for accuracy.
If I choose the earliest file from the restore list, I get no OS warning and am able to reboot back to the "older" flash of the stock rom. I actually performed the same procedure after a failed install of a custom rom with wipe. Got the OS warning after loading the latest backup but no warning with the oldest.
This only scratches my problem but I'd like to address and hopefully fix this first.
Thanks for any suggestions.
If the nandroid was made with a different version of twrp, maybe try reflashing that version and try again.
Alternatively, you could just flash whatever rom is backed up, then try to only restore the data portion.
Sent from my SAMSUNG-SGH-T999 using Tapatalk
Just tried your suggestion choosing latest backup and restoring data only. Now after the splash screen it wants to setup language, email etc. again.
What I meant was flash whatever rom it was that you were trying to restore. If its the sane rom in another backup that's fine though. Did the data restore pass the md5 check?
You can try again, but afterwards go to twrps advanced menu and copy log to SD. It may provide some clue as to what's wrong. Attach it here if you want me to take a look.
Sent from my SAMSUNG-SGH-T999 using Tapatalk
Well I'm starting to think twrp is corrupt.
I tried to load the ndroid backup I made yesterday but the log showed it was done in 8 seconds. I attempted to flash back to the original image I made 2 months ago which I have been successful doing..I thought everything was flashing when I noticed the screen is now says...
Could not do normal boot.
ODIN MODE
Product Name: SGH-1747
CUSTOM BINARY DOWNLOAD:Yes (3 counts)
CURRENT BINARY: Custom STATUS: Custom
QUALCOMM SECUREBOOT: Enable
Downloading....
Do not turn off target!!!
It's been stuck on this screen for a while.
Sounds like something got corrupted, or you need to try with a different recovery. Either way its in download mode for flashing with Odin.
Sent from my SAMSUNG-SGH-T999 using Tapatalk
Have you tried using Philz Touch? I was using TWRP but ran into problems flashing ROMs. I switch to Philz and the problems went away.
Unfortunately, Philz can't restore TWRP nandroid backups.
Could I please get some advice on what to do next?
Okay, I was able to pull the battery and boot into twrp, restore the old stock rom and safely reboot but this is one of many problems.
I haven't been successful installing any roms. I've downloaded Liquid Smooth, Gummy, Carbon and Slim 4.4.4 versions and encounter the following error message.............E: Unable to open zip file
Error flashing zip / external_sd / custom rom / "file name"
I'm using a 64 gb card but am not sure how it's formatted. I've created files with the roms in the internal card but twrp doesn't see it.
I've read tutorials and researched some of the blogs and I assure you that I'm not doing anything haphazard but the amount of problems I'm having is absurd.
the only thing i can think of (and hopefully someone more knowledgeable will chime in) is if in twrp settings see if 'md5 check ' is checked. if it is then uncheck it and try to flash again. srry thats all i got right now. (or bad idea doc ?)
good luck.
err on the side of kindness
Try flashing from internal SD. Don't know why but its worked for a couple other people so far. If it still doesn't work, please use the copy log to SD option and attach it here.
Sent from my SAMSUNG-SGH-T999 using Tapatalk
Challenged_101 said:
Okay, I was able to pull the battery and boot into twrp, restore the old stock rom and safely reboot but this is one of many problems.
I haven't been successful installing any roms. I've downloaded Liquid Smooth, Gummy, Carbon and Slim 4.4.4 versions and encounter the following error message.............E: Unable to open zip file
Error flashing zip / external_sd / custom rom / "file name"
I'm using a 64 gb card but am not sure how it's formatted. I've created files with the roms in the internal card but twrp doesn't see it.
I've read tutorials and researched some of the blogs and I assure you that I'm not doing anything haphazard but the amount of problems I'm having is absurd.
Click to expand...
Click to collapse
I suggest Philz Touch as a substitute for TWRP. I was having problems with TWRP until I switched to Philz.
I noted that I tried to flash from the internal card but twrp could't find the folder I created.
Twrp still didn't see the files after i moved them out of the folder and placed them among the other folders.
Challenged_101 said:
I noted that I tried to flash from the internal card but twrp could't find the folder I created.
Twrp still didn't see the files after i moved them out of the folder and placed them among the other folders.
Click to expand...
Click to collapse
Open a file explorer like es file explorer..create a new folder and put the ROM zip in the external SD..I had to do that and I use cwm
I created files with Astro file manager but twrp still doesn't see them on the internal card just the external but won't open the zips.
I'm just not getting much feedback on my problem. Will posting on a different forum help?
If the external sd is formatted as exFat, recovery may not be able to read it correctly. Since its a 64gb card, I bet this is the problem.
Have you gone into the mounts menu and remounted your internal sd and/or /data? Maybe its just not mounted...
You might also want to try twrp 2.6.3.1 or 2.8.0.1. You can get them from the link in my sig.
Or try philz recovery as suggested before.
Sent from my SAMSUNG-SGH-I747 using Tapatalk

Question about using TWRP recovery with GT-N5110

I put TWRP on it and can boot to recovery. However, it fails flashing the Cyanogenmod zip because (it says) you need to wipe the device due to an incompatible device layout. So I tried that and naturally it wiped the zip off the /sdcard. Then I mounted the sdcard from TWRP but I couldn't write to it from my computer. (I could see the now-empty drive.) So I said what the heck and rebooted the system and had a like-new device.
I had backed that up before I did anything. So transferred another copy of the cyanogemod zip to the tablet, rebooted to TWRP and tried to install it again. Still no luck. I then transferred my backup to my tablet and restored the backup so I'm back where I started.
Is there another way I haven't thought of?
I put 12 on my n5110 before I found slim rom 4.4.4. Had no trouble with the install of either one. Have you tried putting the cm zip on the external sd card and installing from that using twrp? I also think you can use either Odin or adb but as I recall the methodology will be different. Lots of people with a lot more experience here maybe someone else has some suggestions as well.
Regards
Expat

i9195 Bricked recovery/root

Hi,
The story (if you care)
I updated successfully the CM13 Rom (actually just wanted to update CM12, but what ever)
I found myself in a situation where i have CM13 but no gapps. So i changed CWM to TWRP to flash open Gapps aroma.
It worked but i found the system unstable so i decided to flash CM12.1 back and appropriate Gapps back.
But every trial I did there was a conflict with gapps etc etc. It worked, but Rom was always unstable.
During the flashings etc, I noticed that "factory reset" acutally left many files and apps in the phone. I figure "i juste do like on any PC, I completely Wipe the Data, and install clean OS".
So I wen't to TWRP and decided to wipe everything I could except microSD Card (wipe > advanced > checked all boxes : dalvik, system, cache, preload, data, internal storage ). The SD card had latest CM12.1 release and gapps aroma for 5.1, ready to flash
I found myself in a situation where neither TWRP nor CWM would flash a .zip file : and TWRP showing
Code:
E:Mount: Unable to find partition for path '/sdcard'
After multiple TWRP / CWM flash and reflash and trying to press any button suggesting that it would fix something, I managed to remove the
Code:
E:Mount: Unable to find partition for path '/sdcard'
message on TWRP.
Though TWRP would still not flash .ZIP files, so I tried to flash the CyanogenMod recovery .img into the boot partition and from there I was able to install the ROM (.zip)
The actual situation :
So now I have a CM 12.1 running without GAPPS only able to flash .ZIP files. (Cyanogen recovery is gone now because installed the ROM over it).
So I wish there was a post/walkthrough that would explain how to install/reinstall a clean recovery, maybe even a clean ROM, clean kernel (not that I know what it is). This walkthough wouldn't expect you to have a working recovery nor a ROM installed.
rsepierre said:
Hi,
The story (if you care)
I updated successfully the CM13 Rom (actually just wanted to update CM12, but what ever)
I found myself in a situation where I have CM13 but no gapps. So I changed CWM to TWRP to flash open Gapps aroma.
It worked but I found the system unstable so I decided to flash CM12.1 back and appropriate Gapps back.
But every trial I did there was a conflict with gapps etc etc. It worked, but Rom was always unstable.
During the flashings etc, I noticed that "factory reset" actually left many files and apps in the phone. I figure "i just do like on any PC, I completely Wipe the Data, and install clean OS".
So I wen't to TWRP and decided to wipe everything I could except microSD Card (wipe > advanced > checked all boxes : dalvik, system, cache, preload, data, internal storage ). The SD card had latest CM12.1 release and gapps aroma for 5.1, ready to flash
I found myself in a situation where neither TWRP nor CWM would flash a .zip file : and TWRP showing
Code:
E:Mount: Unable to find partition for path '/sdcard'
After multiple TWRP / CWM flashes and reflash and trying to press any button suggesting that it would fix something, I managed to remove the
Code:
E:Mount: Unable to find partition for path '/sdcard'
message on TWRP.
Though TWRP would still not flash .ZIP files, so I tried to flash the CyanogenMod recovery .img into the boot partition and from there I was able to install the ROM (.zip)
The actual situation:
So now I have a CM 12.1 running without GAPPS only able to flash .ZIP files. (Cyanogen recovery is gone now because installed the ROM over it).
So I wish there was a post/walkthrough that would explain how to install/reinstall a clean recovery, maybe even a clean ROM, clean kernel (not that I know what it is). This walkthough wouldn't expect you to have a working recovery nor a ROM installed.
Click to expand...
Click to collapse
Hi rsepierre,
I've got a few questions.
First of all, am I correct if I say that you're able to boot Android and use your phone normally (without GApps)?
Secondly, are you still unable to boot into recovery and use it?
If that's the case, I think you should try flashing a new CWM/TWRP recovery through Odin again.
Don't forget to boot into recovery immediately after it's flashed!
You might want to untick the option of rebooting automatically ("Auto reboot" or something similar) in Odin. In that way you can reboot into recovery manually.
If that's all done and you're in recovery, I'd use adb sideload (or an SD card) to flash the Open GApps zip.
Sent from my GT-I9195 with Tapatalk

Categories

Resources