Unable to update CM13 - LG Optimus L90

Hello guys, i was trying to update my CM 13 today and it didn't work. It made the download but once in the recovery, nothing happened :S i'm trying to understand why and i hope some of you know of this.
By the way, my TWRP version is the 2.8.7.0 if it helps..

ugh...Can't really understand what happened
You installed via OTA/cm updater? meaning you downloaded with your phone
Just download the zip directly and flash it with twrp
You'll also need to re-flash gapps unless you're using TWRP 3.0.0

Make sure that you have not installed any additional mods which alters system partition (kernels, soundmods etc.) If not, easiest solution would be to dirtyflash new one or clean install.

Same problem here.
405. CM13. TWRP 3.0.0. Merged SD card with internal storage.
In Recovery I can see folder structure but no files. I know its because of SD-encryption but I hoped I could at least see files in internal storage to update. Hope there's a solution soon. Does anyone have a workaround?
Gesendet von meinem LG-D405 mit Tapatalk

Filesystem of sdcard mount point
What is your /sdcard mount point filesystem? Mine is 'auto' (Maybe that might be causing the problem?) , and you can check by going into TWRP -> Wipe -> sdcard -> Repair or Change File System

Thank you for your answer. I checked that quickly, but couldn't find the option 'repair or change filesystem' without actually wiping the storage... I'll check again later if there's more time.

I found and changed the option from exFAT to ext4. All folders on the SD were lost in TWRP. Changed back to exFAT: couldn't see them either..

When using adopted storage (i.e. formatting external SD and using it as internal storage), then /sdcard in Android becomes /emmc in TWRP. At least it's what I see here using TWRP 3.0.0 Dark Blue.
From what I've looked, all internal storage is used only for app and app data once I started using adopted storage, so the only way I can think of using internal storage in TWRP to flash anything is either sideloading or using MTP in TWRP.

I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now

kreativpause said:
I managed updating through sideload.
1. Connect your phone to your computer via USB
2. Activate sideload in TWRP (advanced)
3. In platform-tools folder press Shift+right click to open commandline
4. If your device is connected properly ('adb devices') you can sideload zips (in platformfolder) via the command 'adb sideload filename.zip'
5. Restart device. Note: It took a few minutes for all apps to appear in the appdrawer again.
Thank you all for your help! I will looks after the folder emmc, but as I see no files, just folders anywhere, I am not that hopeful. But at least it works now
Click to expand...
Click to collapse
What did you wipe prior to your sideload? I want to do a wipe and fresh install of gapps and cm13, but I am afraid I could soft brick my phone.

I chose both. Dalvik and the other option ( I believe cache). No issues.

kreativpause said:
I chose both. Dalvik and the other option ( I believe cache). No issues.
Click to expand...
Click to collapse
Mine gets stuck at "detected filesystem ext4 for /dev/block/platform/msm_sdcc.1/by-name/system" then it just reboots to TWRP again. Sideload says "
serving: 'cm-13.0-20160322-NIGHTLY-w7.zip' (~0%) * failed to read command: No error". Did you wipe system before you sideloaded?

I did not wipe anything beforehand.

Related

[Q] sdcard unmounted somehow help phone works otherwise

hi guys i hope someone can help
somehow my sdcard has become unmounted
i have s-off with revone done with cmd and adb
i have set cid to 11111....
i have updated firmware to 2.17 and 2.14
all was working well until i did factory reset
now i cant access internal storage. camera doesnt work. wifi doesnt work
what do i need to do?
any help would be much appreciated. i have been working on this for hours
flash your ROM again
IINexusII said:
flash your ROM again
Click to expand...
Click to collapse
i have not flashed a rom yet and the stock rom works fine i just cant access sdcard
do i need to flash a rom?
which one? a stock one or a custom one?
stock one
okay
i cant access the sd card to copy a rom to
on the laptop the phone comes up like normal. click on it internal storage comes up like normal. but inside the internal storage folder has a folder called storage. inside that is emulated. inside that is legacy. inside that is the normal file structure.
windows errors when trying to copy files anywhere inside the internal storage folder
when in the camera app on the phone it shows a black image and click on the gallery icon it says no sd card
its like the "sdcard" is unmounted. how do i mount it? ive tried CW recovery and TWRP
try sideloading the ROM, there should be an option for adb sideload and use the command adb sideload romName.zip
is there an adb command to mount sdcard?
jtilz said:
is there an adb command to mount sdcard?
Click to expand...
Click to collapse
there should be in one of the recovery menus
This is exactly what has happened to my phone, and there seems to be more thread cropping up about this.
I can see in TWRP recovery there is an SDCard but cant do anything with it. I can flash a rom via sideload (hardly flashes, my lack of understanding) and from OTG USB in Recovery but there will be no installed rom once done, or at least it wont boot.
Same thing in CWM except that recovery can not see the SDCard so no mounting.

Need Help Quick plz :|

hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
armindelavari said:
hi dears,
i lost my sdcard then in twrp i wipe internal storage my sd card (now have 26GBs free) turned back
but after flash any rom , sense UI Stopped , even i cant access to my sdcard via PC
whats wrong ?? help quick if you can plz :|
Click to expand...
Click to collapse
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Reply
Danny201281 said:
Which recovery version? Have you tried "Format Data" reboot recovery. adb push and install rom?
If your with TWRP 2.8.4.0 you can use MTP instead of push
Click to expand...
Click to collapse
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
armindelavari said:
TWRP 2.6.3.3, yes i try wipe internal storage and no i dont try push rom ? how can i push rom ??
Click to expand...
Click to collapse
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip /sdcard
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
@armindelavari Check the adb push command. I noticed I had a space missing. I have edited it so it's correct now :good:
Danny201281 said:
I don't mean wipe internal storage. "Format Data" is not the same as Wiping Internal Storage. Format Data will wipe everything by deleting the System Data and Boot Partition. You must reboot recovery after format to write the new partition structure then push a new Rom to the phone with adb.
In twrp go to "Wipe" then "Format Data" you will be prompted to type yes to confirm.
When it's done go to the reboot menu and reboot recovery. You will get the No OS installed message. Reboot anyway, you will also be prompted to root the device say No.
When your back in recovery connect your usb cable. Put your Rom in your fastboot folder and rename it rom.zip
In the command window type.
Code:
adb push rom.zip/sdcsrd
The command window will appear unresponsive until the push complete (Several Minutes) When it's done Install the Rom with twrp :good:
Click to expand...
Click to collapse
wow , tnx for your complete Reply
ok , i do these step right now

[Q] HELP Deleted internal in TWRP

This is the first time I've done this so I have NO idea how to fix it . I was just flashing a new rom
when I accidently checked off system in WIPE. Everything is gone obviously. Can someone please tell me what to do from here? I have no access to a computer till later today. Any help is appreciated thank you!
Update: internal storage is also deleted. The phone has nothing. No OS what so ever.
What do i do?
Thanks for any help
You deleted system or internal storage? If just system then reflash the rom. The zip should still be on your phone
your sdcard contents are still there, since sdcard "lives" in /data/media NOT in /system
proceed to flash whatever ROM+gapps you were going to install, wiping system is actually one of the steps many people do when doing a clean install
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
sgloki77 said:
if internal storage is deleted you have 2 options
1. copy ROM and gaps on a USB flash drive , use a OTG cable to connect them, reboot into recovery , mount USB-OTG, you can install whatever zips you have on the flash drive
2. push the files to the sdcard from your computer using ADB push
Click to expand...
Click to collapse
TWRP Supports MTP connections. Plug the phone in via USB then go into "Mounts" and "enable MTP". Then just drag and drop the files into internal storage
the babadook! ?

Can't find magisk.zip in twrp, Internal Storage (0MB)

I have my magisk.zip in my sdcard/download but it's not showing on twrp (Internal storage 0 MB)... I tried wiping cache and data but it failed... I made sure that "Install ZIP" is selected. I'm using this twrp (color is orange instead of blue).
I'm using SM-J730F (used to be SM-J730F/DS but because of bootloop I had to install SM-J730F firmware, everything seems to work as it should).
I successfully rooted my other android phone but it's a lot more complicated for this model...
Is there any solution for this problem?
Edit 1: I tried with this solution by "format data" and then copy magisk.zip to sdcard/download, formating worked (Internal storage was't 0MB anymore) but when I connected with PC and opened my mobile folder was completely empty... It was empty before and after formating when accessing mobile folder on PC while on twrp (access was allowed the first time system booted) but in home screen mobile files can be accessed on PC. I'm starting to hate SM-J730F...
Edit 2: This solution worked (I can transfer files directly from my PC while on twrp) but my whole OS got wiped as well and had to flash it with odin... Which returned me to square one (no twrp)...
Well, i had same problem, got around it by flashing twrp in adb
markoscekic said:
Well, i had same problem, got around it by flashing twrp in adb
Click to expand...
Click to collapse
I just installed this kernel
Dragonknigh said:
I just installed this kernel
Click to expand...
Click to collapse
try to install via Magisk Manager app
Dragonknigh said:
I have my magisk.zip in my sdcard/download but it's not showing on twrp (Internal storage 0 MB)... I tried wiping cache and data but it failed... I made sure that "Install ZIP" is selected. I'm using this twrp (color is orange instead of blue).
I'm using SM-J730F (used to be SM-J730F/DS but because of bootloop I had to install SM-J730F firmware, everything seems to work as it should).
I successfully rooted my other android phone but it's a lot more complicated for this model...
Is there any solution for this problem?
Edit 1: I tried with this solution by "format data" and then copy magisk.zip to sdcard/download, formating worked (Internal storage was't 0MB anymore) but when I connected with PC and opened my mobile folder was completely empty... It was empty before and after formating when accessing mobile folder on PC while on twrp (access was allowed the first time system booted) but in home screen mobile files can be accessed on PC. I'm starting to hate SM-J730F...
Edit 2: This solution worked (I can transfer files directly from my PC while on twrp) but my whole OS got wiped as well and had to flash it with odin... Which returned me to square one (no twrp)...
Click to expand...
Click to collapse
Same problem, fixed! flowing this link
https://************/how-to-fix-twrp-unable-to-mount-storage-internal-storage-0mb/
Just save my day!
I fixed this by removing i.e. the password that locks my device i.e. no password
ADB Sideload

Many errors when wiping cache partition in TWRP

Hello,
As stated in the titled I have tried to root my OP 3T and it horribly wrong. First I got the error message telling me it couldn't mount my /system partition. I googled how to fix it and discovered that I had to wipe the partition as it might be corrupt. Just to be sure that it was indeed corrupt. The size was stated as 2913MB but the used space was stated as 1728265MB. I therefor wiped it and tried to boot. Now I couldn't boot into Oxygen OS...The only thing i can boot into was fastboot and recovery. I then tried to install the LineageOS and it worked. I can finally boot to a OS. However when going in the recovery again and wiping the cache I get a slew of errors. Almost all of them are "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)". There is also one other error: "Unable to mount storage"
How do I fix this?
uptivuptiz said:
First I got the error message telling me it couldn't mount my /system partition.
I therefor wiped it and tried to boot. Now I couldn't boot into Oxygen OS...
Click to expand...
Click to collapse
System partition is the OS. So from that fact, it should now be obvious that wiping system (and therefore wiping the OS) will result in not being able to boot to OS.
Not being able to mount system is a little odd. What version TWRP? Current version is typically recommended (currently 3.2.3-1).
You can try in TWRP Wipe section, the "Format data" button. This will often fix corruption issues with data partition (format is not the same as wipe), although I'm not sure how the system partition was affected.
redpoint73 said:
System partition is the OS. So from that fact, it should now be obvious that wiping system (and therefore wiping the OS) will result in not being able to boot to OS.
Not being able to mount system is a little odd. What version TWRP? Current version is typically recommended (currently 3.2.3-1).
You can try in TWRP Wipe section, the "Format data" button. This will often fix corruption issues with data partition (format is not the same as wipe), although I'm not sure how the system partition was affected.
Click to expand...
Click to collapse
I'm using TWRP 3.2.3-1. I tried to format with the "Format data". It seems that I still can't install the OxygenOS. Also the error "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" still accurs.
I'm still able to install and run LineageOS.
uptivuptiz said:
I'm using TWRP 3.2.3-1. I tried to format with the "Format data". It seems that I still can't install the OxygenOS. Also the error "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" still accurs.
I'm still able to install and run LineageOS.
Click to expand...
Click to collapse
Formatting with 3.2.3-1 will remove the encryption footer. It's basically the only build of TWRP you DO NOT want to use! 3.2.3-10 is the latest but that won't reinstate your encryption footer. My advice is this. Flash TWRP 3.2.3-0, format at least /system, /data and /cache from the Wipe/Advanced screen and then Wipe everything for good measure.
Make sure you are in front of your PC when you do this. Back up everything to PC first as formatting will delete everything from Internal Storage. Make sure you have all your Install zips ready to go on your PC. Whn you're done formatting and wiping you can copy the install zips back to Internal Storage and flash OOS full Zip (or Custom ROM).
Dirk said:
Formatting with 3.2.3-1 will remove the encryption footer. It's basically the only build of TWRP you DO NOT want to use! 3.2.3-10 is the latest but that won't reinstate your encryption footer. My advice is this. Flash TWRP 3.2.3-0, format at least /system, /data and /cache from the Wipe/Advanced screen and then Wipe everything for good measure.
Make sure you are in front of your PC when you do this. Back up everything to PC first as formatting will delete everything from Internal Storage. Make sure you have all your Install zips ready to go on your PC. Whn you're done formatting and wiping you can copy the install zips back to Internal Storage and flash OOS full Zip (or Custom ROM).
Click to expand...
Click to collapse
Thanks! I will try that when i get time tomorrow. There will come an update.
uptivuptiz said:
Thanks! I will try that when i get time tomorrow. There will come an update.
Click to expand...
Click to collapse
Let me know.
Remember to reboot Recovery once you have 3.2.3-0 installed so that your format operations are carried out with that version.
Dirk said:
Let me know.
Remember to reboot Recovery once you have 3.2.3-0 installed so that your format operations are carried out with that version.
Click to expand...
Click to collapse
I have now downgraded TWRP to version 3.2.3-0 and wiped everything. I didn't backup as I don't have anything on there because it's not my main device. After wiping I tried installing OOS again and this time I get the same "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" error and now it cant mount the /system partiton again
uptivuptiz said:
I have now downgraded TWRP to version 3.2.3-0 and wiped everything. I didn't backup as I don't have anything on there because it's not my main device. After wiping I tried installing OOS again and this time I get the same "Error opening: '/data/local/nhsystem/kali-armhf/dev/xxxx' (Not a directory)" error and now it cant mount the /system partiton again
Click to expand...
Click to collapse
You're not just wiping, You're formatting. Select each of the partitions (Cache/Data/System) and format in each case. (I recommend EXT4 for Data)
Dirk said:
You're not just wiping, You're formatting. Select each of the partitions (Cache/Data/System) and format in each case. (I recommend EXT4 for Data)
Click to expand...
Click to collapse
Ok. I tried to format all the partitions with EXT4 and tried to install OOS again with a adb sideload. This didn't work and I got an error "adb sideload cannot read 'OnePlus3TOxygen.zip'". So I tried installing it with a OTG adapter and a USB inside TWRP and it worked. OOS is running and working! Thanks for the help
Now I'm just curios as to why I can't sideload...
uptivuptiz said:
Ok. I tried to format all the partitions with EXT4 and tried to install OOS again with a adb sideload. This didn't work and I got an error "adb sideload cannot read 'OnePlus3TOxygen.zip'". So I tried installing it with a OTG adapter and a USB inside TWRP and it worked. OOS is running and working! Thanks for the help
Now I'm just curios as to why I can't sideload...
Click to expand...
Click to collapse
A few possibilities:
1) OnePlus3TOxygen.zip of course isn't the name of the file as downloaded, so i assume you renamed it to something more sensible before trying to sideload? Do you have 'Hide Extensions of known filetypes' selected in Windows Explorer? Could it be that what you ended up with was 'OnePlus3TOxygen.zip.zip', which of course wouldn't work if you were trying to sideload 'OnePlus3TOxygen.zip'?
2) You didn't move your download to your platform-tools folder in adb?
3) You didn't open a CMD window in your platform-tools folder?
Anyway, good that you're back on your feet.
Dirk said:
A few possibilities:
1) OnePlus3TOxygen.zip of course isn't the name of the file as downloaded, so i assume you renamed it to something more sensible before trying to sideload? Do you have 'Hide Extensions of known filetypes' selected in Windows Explorer? Could it be that what you ended up with was 'OnePlus3TOxygen.zip.zip', which of course wouldn't work if you were trying to sideload 'OnePlus3TOxygen.zip'?
2) You didn't move your download to your platform-tools folder in adb?
3) You didn't open a CMD window in your platform-tools folder?
Anyway, good that you're back on your feet.
Click to expand...
Click to collapse
Here's what I did:
Moved the zip file to the platform-tools folder.
Kept the stock name of the zip file.
opened CMD window in platform-tools folder.
I still get the error.
uptivuptiz said:
Here's what I did:
Moved the zip file to the platform-tools folder.
Kept the stock name of the zip file.
opened CMD window in platform-tools folder.
I still get the error.
Click to expand...
Click to collapse
You wouldn't be the first. It's a common issue. You know you can just move the zip to Internal Storage and flash it with TWRP? The Recovery is MTP enabled. Useful to know for future reference. :good:

Categories

Resources