CyanogenMod update - G2 Q&A, Help & Troubleshooting

Hello all,
I had rooted my LG G2 (D802), flashed my Factory reset to TWRP v2.8.4.0, and installed CyanogenMod12 nightly but when I have used the CM OTA update the first time, my phone wouldn't start so I needed to run the "dd if=/dev/zero of=/dev/block/platform/msm_sdcc.1/by-name/fota" command through TWRP terminal.
Since then I'm flashing my updates over the current CM12 nightly along with the Google Apps for the current OS; I may also need to clear the Dalvik/Cache via the recovery manager for things to work properly. I have flashed the OS without the Google Apps once but everything was crashing as the system optimized all apps. Luckily I'm not losing any data when I flash both zips (CM12 & Gapps for 5.0.1)
my queries are:
1) Am I doing my upgrades correctly or someone up there loves me?
2) Is there another way to upgrade my CM12 OS without booting in TWRP, clearing Dalvik/Cache, flashing the new OS over the current along with the Google Apps?
3) What if I need to downgrade one nightly; will it remove any data or crash the system?
4) can I somehow get the LG apps for CM12? Some of them are really useful
5) Isn't CM12 prerooted? mine is not..!
it's not that I haven't searched online for the solutions but I couldn't find anything related for the matters
thanks!

Related

Having strange issues flashing roms

-I know this is development but this is geared mostly toward this rom feel free to move this if its inappropriate
Hey guy, been having a strange issue that I've never encountered in the past. I'll try to be as clear and concise as possible. I am a LG VS980(VERIZON) user. I received a replacement device in the mail yesterday. *****My issue is that I rooted the device installed a custom recovery and am now having a number of issues after flashing various roms***** I'll outline my process and highlight some issues I've experienced.
1) Used IOroot10 (one click root) to establish root and push SuperSU - Successful
2) I utilized flashify to push Philz latest CWM recovery.img - successful
4) Created backup of stock rom -successful
5) Downloaded Omnirom and PA 4.0+ and checked MD5's on both files (+Banks latest Gapps standard)
****this is where problems arise*****
6) Wipe Data/system/cache/dalvik X3 - succesful
7) Flashed Omnirom+GAaps flashes and boots succesfuly
- allowed to settle, ****No LTE can be achieved, calls can be placed*****
- check mobile network settings everything as it should be, toggle airplane mode -nothing, toggle data, nothing
-reflashed - nothing(NO LTE)
****NO DATA CONNECTION CAN BE ACHIEVED OVER MOBILE NETWORK ******
8) Flashed PA4.0+ +GAaps, flashes and bootloops once, boots to setup, crashes on gallery and bootloops, this process loops endlessly
9) Wipe data/system/cache/dalvik
10) Restored nand of stock rom, all functionality is restored and DATA BEHAVES AS INTENDED
11) ATTEMPTED ALL THE ABOVE IN EXACT ORDER WITH TWRP recovery.img
****i.e. not a sim issue, not a device defect, does not seem to be recovery related as its spans both recoveries******
Can someone please provide some insight? It would be much appreciated…
AGAIN VS980 VERIZON USER
Sent from my VS980 4G using Tapatalk
I haven't flashed either of these, but the instructions call for you to wipe cache and dalvik again after flashing the ROM. Tried that?
If so you might try flashing one of the ROMS from the Verizon Development page to see if you have the same issues.
Just a thought....
Good luck!

[Q] lost IMEI after flashing Temasek's CM12.1 v. 14.9

Hi,
I very much hope you can help me with this issue.
I wanted to flashTemasek's CM 12.1 v. 14.9 on a N9005 running stock Lollipop (N905XXUGBOE9_N9005DBTGBOF1). After much reading, I believed it would be best to first downgrade to stock 4.4.2 (N9005XXUENB4_N9005DBTENB1_DBT). I then flashed TWRP 2.8.7.0 hlte 4.4. Could this be the reason? I later read that for Kitkat 4.4.2 without updates I should have rather used the 4.3 version of TWRP. I did a backup of the system including efs. After that I flashed Temasek's CM 12.1 v.14.9 doing a clean install by following the steps outlined in the thread:
Clean Installation
1. Download the appropriate ROM using links provide in the second post.
2. Download the appropriate GApps following the links in the second post.
3. Back up any and all important data.
5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.
6. WIPE SYSTEM.
7. Flash the ROM in recovery.
7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.
8. Flash the GApps.
9. WIPE DALVIK/CACHE (for good measure).
10. Reboot Device.
Flashing went fine, but the phone did not recognize the SIM card. Initially believing that this might be an issue with the ROM, I downgraded to Temasek's CM 12.1 v. 14 only to find that I was having similar issues. I then tried to restore the backup I created earlier but basically only got a black screen and a ton of notifications that apps had stopped working. I then tried to flash back stock kitkat (N9005XXUENB7_N9005DBTENB2) hoping that this would work with my version of TWRP but have had no success. Before causing any further trouble, I was hoping that some kind soul would be capable of and willing to help me with this. How can I recover my efs from the backup created with TWRP? And how can I finally restore my phone and hopefully end up with the ROM I was trying to flash? Any help is very much appreciated!
Thank you!
django e said:
Hi,
I very much hope you can help me with this issue.
I wanted to flashTemasek's CM 12.1 v. 14.9 on a N9005 running stock Lollipop (N905XXUGBOE9_N9005DBTGBOF1). After much reading, I believed it would be best to first downgrade to stock 4.4.2 (N9005XXUENB4_N9005DBTENB1_DBT). I then flashed TWRP 2.8.7.0 hlte 4.4. Could this be the reason? I later read that for Kitkat 4.4.2 without updates I should have rather used the 4.3 version of TWRP. I did a backup of the system including efs. After that I flashed Temasek's CM 12.1 v.14.9 doing a clean install by following the steps outlined in the thread:
Clean Installation
1. Download the appropriate ROM using links provide in the second post.
2. Download the appropriate GApps following the links in the second post.
3. Back up any and all important data.
5. WIPE DALVIK/CACHE/DATA/FACTORY RESET.
6. WIPE SYSTEM.
7. Flash the ROM in recovery.
7.1. DO NOT FIX PERMISSIONS AFTER FLASHING, doing so will cause a bootloop.
8. Flash the GApps.
9. WIPE DALVIK/CACHE (for good measure).
10. Reboot Device.
Flashing went fine, but the phone did not recognize the SIM card. Initially believing that this might be an issue with the ROM, I downgraded to Temasek's CM 12.1 v. 14 only to find that I was having similar issues. I then tried to restore the backup I created earlier but basically only got a black screen and a ton of notifications that apps had stopped working. I then tried to flash back stock kitkat (N9005XXUENB7_N9005DBTENB2) hoping that this would work with my version of TWRP but have had no success. Before causing any further trouble, I was hoping that some kind soul would be capable of and willing to help me with this. How can I recover my efs from the backup created with TWRP? And how can I finally restore my phone and hopefully end up with the ROM I was trying to flash? Any help is very much appreciated!
Thank you!
Click to expand...
Click to collapse
Who said you need 4.4 to update to cm12.1? You need 5.0 bootloader. That's what you had.
Maybe use another version of twrp. I use 2.8.5? And it's fine.
In twrp go to back up and restore. Restore by navigating to location of your back up.
kenny1991 said:
Who said you need 4.4 to update to cm12.1? You need 5.0 bootloader. That's what you had.
Maybe use another version of twrp. I use 2.8.5? And it's fine.
In twrp go to back up and restore. Restore by navigating to location of your back up.
Click to expand...
Click to collapse
Thanks! I managed to restore the imei flashing stock lollipop. I initially downgraded because it seemed to me that all instructions were based on kitkat and not much information was available on lollipop. Just wanted to make sure I followed the instructions to the letter. Stupid me...
I tried to restore efs the way you describe it, but it didn't work out for me. Thankfully, things are back to normal now and I will flash cm12.1 directly from stock lollipop now.
Thanks for taking the time to help!

GT-I9505 not allowing any custom ROM after CM13??

Hi,
Yesterday I "blindly" installed the latest CM nightly without noticing that I was installing CM13... After the install, no Google App was working (as expected). When I noticed I had installed CM13, I tried downloading OpenGapps (all from nano to stock for ARM, -not ARM64-), and none of these can be installed, I always get an error (Status Code 1). After a lot of trying, I coundn't even make a wipe (I got an error while formatting data).
After flashing a stock ROM via Odin, the phone worked again, so I tried reinstalling. Now the issue I have is that I can't install any custom ROM to the phone, I have tried flashing CyanogenmodRecovery (for CM12 and CM13) and CWM 6.0.4.7, all of them let me install the latest CM12.2 nightly (26.12), but the phone always hangs on the Cyanogenmod Bootscreen. Wiping is not showing any errors anymore.
Any thoughts? Am I missing something? I am relatively new to the S4, and I got mine already with CM11 on it, and until yesterday I was always able to update without any issues... Am I missing some step?
Small update: I get some errors in the recovery logs: unable to mount /efs. I don't understand why I get this error when a OEM Kitkat works, but well, will keep trying, maybe I find a way to get it working...
1. Use TWRP, CWM is outdated.
2. "Nightly" realeases are testing firmwares. CM13 for GT-i9505 is in early releases too. They have lot of bugs still.
3. - Download the latest stable CM firmware: HERE and copy it to your SDCARD external + Gapps (ARM+ android 5.1 + nano).
- Go to DOWNLOAD MODE and flash TWRP. Boot in TWRP - Select Wipe - Advanced Wipe and wipe all (less usb-otg and external memory).
- Flash CM12.1 firmware and GApps then. Reboot and enjoy.
Use TWRP. Google for s4 twrp. On that page you will also have various install instructions. Afterwards you can flash pretty much any custom rom.
Well, tried exactly these steps, I only skipped gapps for now. I installed following version: cm-12.1-20151117-SNAPSHOT-YOG7DAO1JN-jfltexx. However the phone still hangs while booting... I will let it for a while and see if it boots, but I think it's still stuck... The stock Samsung Kitkat flashes properly from Odin and can be booted... Really strange. Is there anything I can do to see what's going on? I only get the Cyanogenmod Bootscreen, but no adb access...
Well, I am getting some errors: unable to mount /efs... This seems to be the problem, no idea why this is happening... I will keep looking around for a fix... I still don't quite understand why a stock KitKat works...
mschmiedel said:
Hi,
Yesterday I "blindly" installed the latest CM nightly without noticing that I was installing CM13... After the install, no Google App was working (as expected). When I noticed I had installed CM13, I tried downloading OpenGapps (all from nano to stock for ARM, -not ARM64-), and none of these can be installed, I always get an error (Status Code 1). After a lot of trying, I coundn't even make a wipe (I got an error while formatting data).
After flashing a stock ROM via Odin, the phone worked again, so I tried reinstalling. Now the issue I have is that I can't install any custom ROM to the phone, I have tried flashing CyanogenmodRecovery (for CM12 and CM13) and CWM 6.0.4.7, all of them let me install the latest CM12.2 nightly (26.12), but the phone always hangs on the Cyanogenmod Bootscreen. Wiping is not showing any errors anymore.
Any thoughts? Am I missing something? I am relatively new to the S4, and I got mine already with CM11 on it, and until yesterday I was always able to update without any issues... Am I missing some step?
Small update: I get some errors in the recovery logs: unable to mount /efs. I don't understand why I get this error when a OEM Kitkat works, but well, will keep trying, maybe I find a way to get it working...
Click to expand...
Click to collapse
Try dowloading the rom from a thread here on the forum.
You didn't mention what phone model you got so I assume it is a GT-I9505. You can find the official thread in the I9505 original android development section. The maintainer is AntaresOne.
It is the GT-I9505, I now was able to install a stock Kitkat, and it now is allowing me to update via OTA, (first time I got a message that I had a "changed" phone and OTA was disabled). I will let it install this way and see what happens.
Last time I tried with TWRP I was getting the error "unable to mount /efs", but after flashing an ODIN ROM the phone works, I have LTE Data and can place and receive calls, IMEI is there, so I am now confused about what can be wrong.
When this OTA update works, I will try to reflash TWRP via Odin (and not mess around with heimdall anymore), and see if then I can install CM12...
I downloaded the version from the Cyanogenmod site, the latest stable CM12.1 release, so I guess it should be as good as downloading it from an xda thread...
I don't know. It's worth a try.
If you get errors about efs,be careful.The EFS partition contains the most important stuff like your IMEI.There are some backup/restore tools of EFS, you should check them out.Wipe everything,flash cm,then restore EFS backup.

G900F Bricked after update: cm-14.1-20161219-NIGHTLY-klte.zip

Hello all.
I have a Galaxy S5 running cyanogen 13 ( cm-13.0-20161013-SNAPSHOT-ZNH5YAO21L-klte.zip ). Last night I updated it with the cyanogen tool, as usual, thinking that I was just getting a more updated version of cyanogen 13, but apparently I got it working with android 7.1.
As gapps were not working, I downloaded both 7.1 gapps, and cm-13 to try to install gapps or comeback to cm-13 if it did not work.
The problem is that I had no chance to test it. I rebooted the phone with the option "recovery reboot" and after it turned off it showed something like "no command", then it got to the first screen (recovey booting... in blue, samsung galaxy s5 white logo...) and freezed there.
I've tried every key combination and it does change nothing. I've read in another forum an user having the same issue so I advice you to not install this update. At least not from CM13. I will update when I get more details from the other users or if one of us success while trying to unbrick.
I suggest you to install twrp with Odin so you are sure that you have working recovery. Then backup what left of this not working ROM and download cm 13 and gapps for it. Then wipe system partition and install those two. By some chance you will end up with working ROM. If it works, I suggest you to backup all data with titanium backup and clean flash cm 13 to be sure that you got rid of all the issues... If cm 13 doesn't boot also wipe data and start on new.
I hope it helps you
LGaljo said:
I suggest you to install twrp with Odin so you are sure that you have working recovery. Then backup what left of this not working ROM and download cm 13 and gapps for it. Then wipe system partition and install those two. By some chance you will end up with working ROM. If it works, I suggest you to backup all data with titanium backup and clean flash cm 13 to be sure that you got rid of all the issues... If cm 13 doesn't boot also wipe data and start on new.
I hope it helps you
Click to expand...
Click to collapse
Hello!
Thank you very much, as I found the problem was the recovery I've re installed TRWP. CM14 was replacing it each time I installed it by ODIN so i had to start it just directly after flashing it (without letting the phone boot) and i've installed last CM14 klte file and 7.1 GAPPs
Now all is working , I hope it can help others with the same problem
Thank you!

Struggling with flashing reliably - PRA-LX1

Hello,
I wanted to reach out as I am having some difficulty getting custom ROMs to work correctly, and the issues I am experiencing seem to be unique in that no-one else in the ROM threads are having the same issues, so I suspect there may be something I am missing that is causing me issues.
I previously was on an older version of lineage, but decided to take the plunge and try out treble, so I have upgraded myself to EMUI 8.
The version I went to is 8.0.0.369, although the build number shows as 8.0.0.046 (0OXY).
From there I flashed a Treble TWRP - https://forum.xda-developers.com/p8...lopment/unofficial-twrp-3-2-1-0-oreo-t3773970
I then went to try out Haky86's LineageOS 16.0 Huawei P8 Lite 2017 PRA-LX1, but this required me to flash a new TWRP, but I had to do a ADB shell command to clear data every time I went into TWRP. I had a few other issues too, but there isn't much point going into them here. I raised them on the thread.
I then tried out DarkJoker360's LineageOS 15.1 for Huawei P8 Lite 2017 but I kept getting strange issues on first launch (Google services crashing etc)
I am now back to stock.
I can't work out why I am getting all of these strange issues given that most users don't have a problem. Is there something I am missing here?
I am pretty familiar with the standard process of flashing a ROM:
Clear Data & System
Flash ROM & GApps
Wipe data & Clear cache
Apologies for the long story, and thanks for your time in advance!
Thanks,
Charlie
Hey,thats my way.
After brick i flashed new stockrom over erecovery with wifi,in new rom it comes directly the last ota update,bo problem at all.
So i have perfectly installed all rom etc on my pra lx1.
First ive flashed Ascuccius twrp (need bootloader unlocked),from twrp i choosed shutdown device.
Now power on the phone until see the bootscreen with the warning blabla.There ive used volume + to boot to erecovery,there i done factory reset and reboot to twrp,in twrp i format data partition and rebootet to once more to twrp to flash rom and gapps with dalvik and cache wipe after flash,rebootet and have errors like you.So again to erecovery and again factory reset,now in twrp i flashed rom and gapps and wiped dalvik and cache and reboot system,boom,perfect.After this flashed Magisk to root,even perfect till now,have tested 3 times with different pie roms,no issues at all.So i hope you have luck and fun by do it,many greetz!!!

Categories

Resources