Hello,
I hope someone will be able to help with this, although it is very much a case of user error! I upgraded my G3 to Marshmallow using the steps detailed here:
http://forum.xda-developers.com/lg-g3/development/stock-d855-30b-images-kdz-flashables-t3282012
It all worked perfectly until I decided to encrypt the handset. The encryption process worked as expected, but as I always did on previous Android versions, I used the CryptFS Password app to change the encryption password. The app advised that it was unable to change the password and that I should run the command via shell, which I did and it seemed to work. The problem is, I changed it to an alphanumeric password and my lock screen is just a numeric PIN, so upon reboot it prompts me to enter the password to decrypt but only allows me to enter numbers.
So, I kicked myself for not changing the lockscreen from PIN to password before rebooting, but figured I could just wipe/reflash and start again. However, when I reflash, I still get prompted for the encryption password at boot. So I figured I'd just enter the password wrong 30 times and factory reset the device that way, except that doesn't work either. It says it's going to reset, reboots to recovery (TWRP 2.8.7.0) and says it has reset, but then boots back to the encryption screen again (which now advises that I am -5 of 30 attempts!!).
Flashing CM13 or 12 works fine. I have settled on CM12 at the moment because it seems to be a bit more stable, but I'd ideally like to get back to stock Marshmallow. Is this possible?
I have tried wiping all partitions and data from within TWRP, and formatting partitions, all to no avail.
Is there any way I can reinstall stock Marshmallow?
Trying flashing marshmellow KDZ and it should reset everything
Let me know how things go
TTib said:
Hello,
I hope someone will be able to help with this, although it is very much a case of user error! I upgraded my G3 to Marshmallow using the steps detailed here:
http://forum.xda-developers.com/lg-g3/development/stock-d855-30b-images-kdz-flashables-t3282012
It all worked perfectly until I decided to encrypt the handset. The encryption process worked as expected, but as I always did on previous Android versions, I used the CryptFS Password app to change the encryption password. The app advised that it was unable to change the password and that I should run the command via shell, which I did and it seemed to work. The problem is, I changed it to an alphanumeric password and my lock screen is just a numeric PIN, so upon reboot it prompts me to enter the password to decrypt but only allows me to enter numbers.
So, I kicked myself for not changing the lockscreen from PIN to password before rebooting, but figured I could just wipe/reflash and start again. However, when I reflash, I still get prompted for the encryption password at boot. So I figured I'd just enter the password wrong 30 times and factory reset the device that way, except that doesn't work either. It says it's going to reset, reboots to recovery (TWRP 2.8.7.0) and says it has reset, but then boots back to the encryption screen again (which now advises that I am -5 of 30 attempts!!).
Flashing CM13 or 12 works fine. I have settled on CM12 at the moment because it seems to be a bit more stable, but I'd ideally like to get back to stock Marshmallow. Is this possible?
I have tried wiping all partitions and data from within TWRP, and formatting partitions, all to no avail.
Is there any way I can reinstall stock Marshmallow?
Click to expand...
Click to collapse
try booting into twrp, go into command terminal, manually format data partition using command line, then reflash cm12 and wipe cache and dalvik (you may not need to reflash it but why not if you are going back to mm)
if your partitions are the same as mine this is the command you want to run.
mke2fs -T ext4 /dev/block/mmcblk0p44
make sure you don't format the wrong partition check that your variant has the same partition (grab an app called diskinfo and click on data partition then alter the last parameter to w/e ur data partition is)
mmcblk0p44 is the paramater you want to change if yours isn't identical. this should reset encryption as data is the partition that gets encrypted.
after all of this use a guide to install marshmallow (kdz or something)
(when i encrypted my data partition twrp could no longer mount the partition to format it, but if you use command land format it formats the partition without mounting it.)
i'm assuming this is your issue as well.
KronicSkillz said:
try booting into twrp, go into command terminal, manually format data partition using command line, then reflash cm12 and wipe cache and dalvik (you may not need to reflash it but why not if you are going back to mm)
if your partitions are the same as mine this is the command you want to run.
mke2fs -T ext4 /dev/block/mmcblk0p44
make sure you don't format the wrong partition check that your variant has the same partition (grab an app called diskinfo and click on data partition then alter the last parameter to w/e ur data partition is)
mmcblk0p44 is the paramater you want to change if yours isn't identical. this should reset encryption as data is the partition that gets encrypted.
after all of this use a guide to install marshmallow (kdz or something)
(when i encrypted my data partition twrp could no longer mount the partition to format it, but if you use command land format it formats the partition without mounting it.)
i'm assuming this is your issue as well.
Click to expand...
Click to collapse
Hi, thanks for the advice, I gave it a try last night. My /data partition was named /dev/block/mmcblk0p43 according to DiskInfo, so I made sure the partition was unmounted in TWRP and formatted it via the terminal following your instructions and then reflashed the MM zip from the original link and... still encrypted.
I haven't tried flashing the kdz yet, as I use Linux and I don't believe there is a way to flash kdz files using *nix. I'll have to wait until the weekend and I'll try and do it via a VM.
I don't understand how this encrypted partition is still even there. I have CM12 installed and working, it's showing the full amount of disk space available, I've done multiple wipes, formats and resets, yet the minute I put MM on it, the phone thinks it's encrypted again.
I do actually know the encryption key, is there any way I can unlock the phone via ADB or something similar?
Not sure if it's relevant, but my phone model is D855. I don't think I mentioned that before.
Thanks for the help, I really appreciate it!
TTib said:
Hi, thanks for the advice, I gave it a try last night. My /data partition was named /dev/block/mmcblk0p43 according to DiskInfo, so I made sure the partition was unmounted in TWRP and formatted it via the terminal following your instructions and then reflashed the MM zip from the original link and... still encrypted.
I haven't tried flashing the kdz yet, as I use Linux and I don't believe there is a way to flash kdz files using *nix. I'll have to wait until the weekend and I'll try and do it via a VM.
I don't understand how this encrypted partition is still even there. I have CM12 installed and working, it's showing the full amount of disk space available, I've done multiple wipes, formats and resets, yet the minute I put MM on it, the phone thinks it's encrypted again.
I do actually know the encryption key, is there any way I can unlock the phone via ADB or something similar?
Not sure if it's relevant, but my phone model is D855. I don't think I mentioned that before.
Thanks for the help, I really appreciate it!
Click to expand...
Click to collapse
very strange when i did that it got rid of my encrypted partition... i'm not sure what else to say except maybe see if someone will lend you a windows pc to do kdz flash.
KronicSkillz said:
very strange when i did that it got rid of my encrypted partition... i'm not sure what else to say except maybe see if someone will lend you a windows pc to do kdz flash.
Click to expand...
Click to collapse
I flashed the kdz via LGUP and... now the phone won't boot to anything except TWRP. Have tried restoring two previous nandroid backups, installing CM12 and MM, all install without reporting errors. LGUP detects it as an unknown device, so can't flash kdz again. Might have bricked this one. :crying:
Phew. Okay, solved! I followed the following guide to flash an old version of the stock firmware: http://www.androidrootz.com/2014/07/how-to-unroot-lg-g3-all-variants.html.
Then, I upgraded, rooted, flash TWRP and finally installed MM again and it seems to be back to normal ("Android is starting" screen as we speak. Fingers crossed!). Thanks to everyone who helped me out with this one!
Hello,
I have a big problem with my H815. I've installed H-ROM_V30-PORT-V2.1 but now I have no signal / no service and my IMEI is "unknown".
The steps i did before:
1. Unlocked the bootloader with this tutorial:
https://www.youtube.com/watch?v=O64GfQORCaE&t=450s
2. Installed TWRP (twrp-3.2.0-0-g4.img)
3. Made a full backup with TWRP (efs, boot, system, cache, etc...) and copied the backup at my pc.
Then i wiped the phone.
4. Installed H-ROM
https://forum.xda-developers.com/g4/development/rom-h-rom-v30-port-t3672567
So the system is working well and booting, but I have no signal and my IMEI is "unknown" in the android settings.
I thought this could be not a big problem, because I made a TWRP backup. So I copied the backup-files back from my PC to the phone.
At TWRP I can choose the backup but then nothing will happen.
The screen shows:
Running Recovery Commands
Updating partition details...
...done
Full SELinux support is present.
MTP Enabled.
Thats all. But TWRP does not restore anything.
Can you please help me??? I have no idea what I could do now :crying::crying:
I forgot a very importent step.
At the end I rooted the phone with SuperSU. And that's the step, when my IMEI got lost.
I used UPDATE-SuperSU-v2.76-20160630161323.
Is there a way to root the phone without loosing the imei???
try this: https://forum.xda-developers.com/showpost.php?p=73489308&postcount=2
Hello people, how are you doing, I am sending a crossroads, I have my moto z play and I do not know whether to be between nougat without imei, or in Oreo with imei but without the ability to manipulate anything of system, which in oreo I can without problem, you will say make a backup of the imei in oreo and restore in nougat, i can not, the twrp will not give me the option to create backup of the folder efs and modem, some help please PD: the twrp in red tells me "unable to mount storage "
Hello,
I was disabling journaling on my device's partitions then after rebooting from the TWRP I found a very slow startup. After that I thought it a bootloop. So I installed the previous ROM which was DevBase, followed by many as Alexis and others they were all giving the same a bootloop or at least what I thought it was.
So I flashed a stock firmware but the true issue started after this the IMEI is invalid and showing as null.
I found an EFS backup inside of .backup/efs/efs_bqckup.img.tar inside of the OTG folder together with recent.img something like that.
I tried to Gunzip to restore on the /sda3 partition didn't work nor direct dd command worked for the .img
How can I restore my EFS or repair the IMEI in a legal way note that I've everything for the phone including it's IMEI.
I`ve lost efs. Can`t get it back. the phone stuck at bootloop. tried to restore using adb command. it seems that is flashes back the modemst1 modemst2 but after a reboot they are lost again.
I also have qcn backup. but I`m not able to do anything with it.
If it happened spontaneously, then my bet is on a hardware fault.
If it is the result of something you did, then please describe as much as possible.
I did it and then the phone stuck at bootloop. I used TWRP for erasing EFS. Nothing helps like flashing different version of factory images. except the android 11. for the first boot the phone starts with no imei no wifi no mac address then if I reboot for the second time after flashing android 11. it bootloops again
Sounds like you've got a backup - if so, it should be possible to restore.
I haven't been in that situation myself, but I would try fastboot, something like described here:
How to Backup and Restore EFS Partition on any Android device
EFS is a partition on your Android device that stores all the important data associated with your phone. For instance, these data include the IMEI number,
www.getdroidtips.com
But this is for different phone, so you may have to change partition names.
I do not have my original efs but got it from another pixel 2 xl. I thought it should work but it didn`t. it flashes efs modemst1 modemst2 fsg fsc. but after reboot those files disappear
I do not know if installing the stock rom with the Deuce tools from here helps
https://forum.xda-developers.com/t/...very-flashing-script-v5-0-05-29-2019.3704761/