[Q] Stock lollipop cant write to internal storage - G3 Q&A, Help & Troubleshooting

Hi all
i'm running a 16GB/2GB D855 and decided to go back to stock 20F lollipop the other day from the Cloudy G3 rom and I now can't get write access to the internal storage. When I initially flashed the kdz file I also lost the system ui and wifi. Flashing back to 10l fixed all three problems and I've since tried flashing lollipop via the LG PC Suite (20F) and via the LG Flashtool (20F and 20H), but the outcome is always the same with no write access to internal storage, wifi and system ui are back though.
From what I've been able to workout its an issue with the SELiniux content, but I haven't been able to find a way to fix it as I don;'t have root on Lollipop.
Since going back to 10L I can see the phones root files in ES, but can't edit them, so its kind of half got root access.
Anyone have any ideas of how to fix it other than going back to a custom rooted rom? (I have nothing against custom Roms, but I get much better battery life on stock which is why I'd like to stick with it.)

bribric said:
Hi all
i'm running a 16GB/2GB D855 and decided to go back to stock 20F lollipop the other day from the Cloudy G3 rom and I now can't get write access to the internal storage. When I initially flashed the kdz file I also lost the system ui and wifi. Flashing back to 10l fixed all three problems and I've since tried flashing lollipop via the LG PC Suite (20F) and via the LG Flashtool (20F and 20H), but the outcome is always the same with no write access to internal storage, wifi and system ui are back though.
From what I've been able to workout its an issue with the SELiniux content, but I haven't been able to find a way to fix it as I don;'t have root on Lollipop.
Since going back to 10L I can see the phones root files in ES, but can't edit them, so its kind of half got root access.
Anyone have any ideas of how to fix it other than going back to a custom rooted rom? (I have nothing against custom Roms, but I get much better battery life on stock which is why I'd like to stick with it.)
Click to expand...
Click to collapse
when flashing an kdz file ALWAYS do an CSE flash to prevent these problems, just try it

suljo94 said:
when flashing an kdz file ALWAYS do an CSE flash to prevent these problems, just try it
Click to expand...
Click to collapse
I've tried a number of cse flashes to various lollipop versions, but with the same outcome each time. Im guessing that the file system has been screwed up so I will probably need to root on KK and then try to sort it through TWRP.

In the end I found solution which is:
1. Flash a KK ROM through the LG flash tool, 10l in this case
2. Root with purpledrake
3. I stall TWRP
4. Install Cloudy G3 as well as a full wipe and format data.
For know I'm sticking with Cloudy G3 as I ain't be stuffed messing around with it anymore

Hi, just encountered a similar problem.
When you say format data, you mean the internal sd storage as well? That's one thing i haven't tried yet.
Thanks

kinnyfaifai said:
Hi, just encountered a similar problem.
When you say format data, you mean the internal sd storage as well? That's one thing i haven't tried yet.
Thanks
Click to expand...
Click to collapse
I used the format data option in TWRP under the advanced wipe menu, which I believe just formats your data partition.
I've since flashed a 20H ROM over Cloudy G3 through TWRP and haven't encountered the same problem again.

I even had a same issue couple of days back..here is what i did
flashed kitkat rom tot method and reinstalled lollipop..everything got automatically corrected

Related

[Q] Help - Loki-ifying Error.

Hello, myself Zoya... I bought LG G Pro F240L in mid 2013... I didn't like the Korean UI so I updated it. And I used this thread
G2 Apps Added... and I used update v5.5.
I successfully flashed it but Forgot to flash Baseband and I was stuck in Boot LG logo... Then I did Data factory Reset and My phone turned on. Even my mobile data was working without Baseband. But after some days I flashed the Baseband as well... F240L Baseband... All was well except the Theme problem. I mean I was not being able to change to any Theme. It was saying Unfortunately Home Has Stopped everytime I brows the Theme list. And very slow 2G speed in India.
So I am on G2 Apps Added v5.5 CM right now. and wanted to fix it by reinstalling the same Rom again. It said we don't need to be on Stock so I tried it on v5.5 CM itself. But everytime I try to flash it It says
Update Failed.
Error: Loki-ifying Error.
The error was on some file named 'boot' in some directory. I didn't copy that. So what do do now to get any update that will fix all my problems.
I can moove to other rom if Needed. Update to Kitkat will also be considered... The main question is what do I do at this point.
Please provide step by step proceedings too... I don't wanna End p Bricking my phone for lak of knowledge...
Thanks...
I think at least you could use the LG tool in forum to reset to phone totally back to factory state.( Not just wipe it in Recovery)
Then start from srcatch. Root, unlock using FreeGee, install recovery. flash rom
The Loki-ifying Error seems like you used a older version of recovery and not have proper loki support. Or maybe there is some problem in the rom file you downloaded. I really don't know for sure.
I would recommend use recovery to wipe everything and then clean install the rom and proper baseband for your phone. It is really hard to brick the phone if you keep your mind clear. Always do a Nandroid backup first

[Q] Is there a way to flash KDZ and not lose data?

Hey all,
I'm just wondering something. I've just downloaded the V10l KDZ file to flash using the LG Flash Tool but I thought I'd try asking something first. Is there a way to flash it without it wiping all my personal data like apps, preferences, contacts, etc. Because I've done it via KDZ before and had to go through and completely setup my phone again, so I'm wanting to know if there's a way to do it without losing my data, if possible.
If not, does anyone know if I can just back the phone and it's data up using LG PC Suite and then just "restore" it after the update is completed, kinda like how you can backup an iPhone, update it fully and then restore it in iTunes.
Reason I'm doing it this way is I haven't yet received the OTA update as other users of model on here have, and I'm anxious to get it on my phone and get it running, I've also got a few bugs I want to see if it fixes.
TL;DR: is there ANY way to update my phone via KDZ without losing data, including backups and restoring.
Thanks again guys, help is much appreciated!
With LG Flashtool 2014 just choose normal flash, it shouldnt wipe, on rare occasions it does for some reason, but its rare.
ChrisM75 said:
With LG Flashtool 2014 just choose normal flash, it shouldnt wipe, on rare occasions it does for some reason, but its rare.
Click to expand...
Click to collapse
Okay cool, thanks man!

Accidently Deleted Stock Recovery Image

Hello Everyone,
A while back i rooted my phone through stump, and knowing the risk of rooting, i used flashify to get twrp to backup everything.
All was going well, until i used a cleaning app to delete unnecessary files and unused apps, it deleted my stock recovery as i found out later.
Later the Lollipop software update came around for the att lg g3, and so i clicked to get it, and as the update went through it went to twrp and couldnt complete the update, and so i used a command in twrp
to get to the phone, and when it finally booted up, it forces me to take the update, and so i have to force stop the Software Update app, to stop the notifications and the forced update.
Is there a way for me to get recovery and get the update, an without losing any personal data.
Thanks
You should never take an OTA update w/ a custom recovery installed. And some phones will refuse to boot after taking an OTA while rooted. The only way you can take the update at this point is by first returning the phone to stock. Depending on the model of G3 you have, there are up to three methods of returning the phone to stock. Flash the KDZ, TOT, or stock image via TWRP that's specific to your phone model.
[Guide] LG G3 Stock Firmware (Go Back to Stock) KDZ & TOT Method
http://forum.xda-developers.com/showthread.php?t=2785089

Trace bootloop after ROM install

Hi guys.
I have tried to take a logcat of my phone when it bootloops upon restarting after install. Here is the code I used:
Code:
adb -d logcat>C:\adb>Bootloop.txt
However, the output file is empty.
My issue is that I can install any stock-based ROM, but not any custom ROMs (CM or AOSP). When I try to install custom ROMs (CM or AOSP) it always bootloops.
So I am trying to trace the phone when it bootloops. My PC does recognise the phone, as I get the message "This device can perform faster if blah, blah, blah".
Is there another way I can trace the boot up process to find out what errors its throwing out?
Thx in advance.
theKramer
I don't know if USB Debugging is turned on my default on custom ROMs - it isn't on stock ROMs, so logcat wouldn't work via ADB until that would be enabled, which if the custom ROM bootloops from the very start, obviously you wouldn't be able to turn it on.
Have you re-wiped Cache, Dalvik/ART and Data? Flash the appropriate Bootstack? Try moving what you want to keep from your internal storage, eject your MicroSD card/keep it ejected and wipe/reformat your internal storage from TWRP. You can always turn the phone off from TWRP after flashing the custom ROM/Bootstack and then eject the card. Last but not least, try flashing the TOT to start fresh, reroot with the Stump app, put TWRP on with TWRP Manager, and flash the custom ROM and Bootstack like that, although if you go back to stock again after that, I recommend flashing the TOT again before doing so, as some people have trouble with signal or mobile data coming from non-stock or international-stock based ROMs.
Edit: Just noticed you're on the D855, so I don't know the TOT situation there - I only know the VS985, but the advice still stands.
roirraW "edor" ehT said:
I don't know if USB Debugging is turned on my default on custom ROMs - it isn't on stock ROMs, so logcat wouldn't work via ADB until that would be enabled, which if the custom ROM bootloops from the very start, obviously you wouldn't be able to turn it on.
Have you re-wiped Cache, Dalvik/ART and Data? Flash the appropriate Bootstack? Try moving what you want to keep from your internal storage, eject your MicroSD card/keep it ejected and wipe/reformat your internal storage from TWRP. You can always turn the phone off from TWRP after flashing the custom ROM/Bootstack and then eject the card. Last but not least, try flashing the TOT to start fresh, reroot with the Stump app, put TWRP on with TWRP Manager, and flash the custom ROM and Bootstack like that, although if you go back to stock again after that, I recommend flashing the TOT again before doing so, as some people have trouble with signal or mobile data coming from non-stock or international-stock based ROMs.
Edit: Just noticed you're on the D855, so I don't know the TOT situation there - I only know the VS985, but the advice still stands.
Click to expand...
Click to collapse
Hi @roirraW "edor" ehT
This is a long ongoing issue. Basically it surfaced after flashing back to stock as I was having random reboots and thought it might be custom ROM related, but after flashing stock I still had the reboot issues, so figured out battery was toast so changed that and reboot issues were resolved.
But since flashing stock MM on my D855, I cannot get any custom ROM (CM/AOSP) to boot on my ROM except Bumped 5.0.1 ROMs.
I can install any stock or stock-based ROM without any issue, however, custom, no go. The funny thing is that I was running custom ROMs on my phone for more than a year without issue. I could throw any custom ROM at it, and where other people might have issues, my phone would always run them flawlessly.
Not anymore
I have flashed stock Lollipop about 7 or 8 times (via LGUP and LG Flash Tool 2014) and stock KK about another 4 times, so I should have blown out any MM remnants at this stage.
The weird thing is that my phone doesnt boot up with stock based KK either (all of them just hang on bootup), but LP or MM is no issue. I am running LIMITLESS ROM v10.2 at the moment (based on v30a). I cannot remember if I tried v10b actually, I did so many of them..
I have rooted from LP each time, and it is always successful (I have used 3 or 4 different rooting methods) and TWRP is successfully bumped each time.
I have tried numerous versions of TWRP (2.6/2.8/3.0/3.0.2).
I have done a full wipes (cache/dalvik/data/system), even including a format data after and still no luck..
The reason I was asking about methods to get some kind of log info during bootup was so I could maybe get some info on why it doesnt boot custom ROMs..
theKramer said:
Hi @roirraW "edor" ehT
Click to expand...
Click to collapse
Hi! Argh. Sounds really frustrating! Bear with me since it sounds like you know what you're doing and again I have the VS985. Among the 100% stock unrooted you flashed, did you only flash KDZs or is there a TOT available and did you try that? The reason I ask is that TOTs flash more partitions than KDZs and can fix problems that KDZs and ROMs can't. I can personally attest to that but once I experienced it and asked an experienced developer, it became clear that's expected, and when I extracted the partitions out of the VS985 10B TOT and compared to the KDZ I indeed noticed one or two more partitions.
Again, don't mind me if I'm telling what you already know. The other thing is the Bootstack situation, although I haven't ever experienced a bootloop due to the wrong Bootstack, only non-working modem or dangerous combo of our Marshmallow sbl1 partition along with the BUMP-vulnerable 12B aboot (bootloader), necessary for TWRP and for root on Marshmallow. Reference this VS985 post if needed http://forum.xda-developers.com/showpost.php?p=63438031&postcount=2. I don't really expect that to be the issue and since you tried from a variety of stock ROM situations, I wouldn't have expected you to have an issue with every combo you tried.
Edit: actually, the remaining item is the MicroSD card. I know it sounds silly but it's happened. Try it without the card and see what happens. While you're at it, try with the SIM ejected too just for the heck of it, won't hurt to try.
Good luck! Hope you figure it out.
roirraW "edor" ehT said:
Hi! Argh. Sounds really frustrating! Bear with me since it sounds like you know what you're doing and again I have the VS985. Among the 100% stock unrooted you flashed, did you only flash KDZs or is there a TOT available and did you try that? The reason I ask is that TOTs flash more partitions than KDZs and can fix problems that KDZs and ROMs can't. I can personally attest to that but once I experienced it and asked an experienced developer, it became clear that's expected, and when I extracted the partitions out of the VS985 10B TOT and compared to the KDZ I indeed noticed one or two more partitions.
Again, don't mind me if I'm telling what you already know. The other thing is the Bootstack situation, although I haven't ever experienced a bootloop due to the wrong Bootstack, only non-working modem or dangerous combo of our Marshmallow sbl1 partition along with the BUMP-vulnerable 12B aboot (bootloader), necessary for TWRP and for root on Marshmallow. Reference this VS985 post if needed http://forum.xda-developers.com/showpost.php?p=63438031&postcount=2. I don't really expect that to be the issue and since you tried from a variety of stock ROM situations, I wouldn't have expected you to have an issue with every combo you tried.
Edit: actually, the remaining item is the MicroSD card. I know it sounds silly but it's happened. Try it without the card and see what happens. While you're at it, try with the SIM ejected too just for the heck of it, won't hurt to try.
Good luck! Hope you figure it out.
Click to expand...
Click to collapse
Hi.
I didnt know that about there being more partitions in TOT vs KDZ files actually..
I have tried flashing without SD card also already.. I haven't tried without sim card, so why not
Is there a specific reason you mentioned flashing v10b, by the way?
theKramer said:
Hi.
I didnt know that about there being more partitions in TOT vs KDZ files actually..
I have tried flashing without SD card also already.. I haven't tried without sim card, so why not
Is there a specific reason you mentioned flashing v10b, by the way?
Click to expand...
Click to collapse
In the case of the VS985, 10B is the first or earliest build we have, and we have a TOT of it, so I was just using it as an example. I've only ever noticed a leak of one TOT per variant of a device at the most, but if you have more than one available I would choose the earliest.
Mostly useless information to you, but the VS985 does have a 10B KDZ, but it's 10B_01, whereas the TOT is 10B_03. 10B_03 was the official release so it can get OTAs, and 10B_01 was a leak so it can't. From what I've seen, the sub-build _## is only available as part of the filename when you get a hold of the KDZ and TOT. 10B for the VS985 is also the easiest to root because we can just use the Stump app with its brute force option. For us, rooting gets more complicated after 10B and putting TWRP on gets more complicated after 12B. Both 10B and 12B are still KitKat. 23C and 24B 5.0.1 are rootable via PC/USB/adb script. As far as I remember, 35B 5.1.1 and definitely 46A through 48A 6.0 has no method of permanent root, only KingRoot on 35B through 47A which gives temporary and suspicious root.
roirraW "edor" ehT said:
In the case of the VS985, 10B is the first or earliest build we have, and we have a TOT of it, so I was just using it as an example. I've only ever noticed a leak of one TOT per variant of a device at the most, but if you have more than one available I would choose the earliest.
Mostly useless information to you, but the VS985 does have a 10B KDZ, but it's 10B_01, whereas the TOT is 10B_03. 10B_03 was the official release so it can get OTAs, and 10B_01 was a leak so it can't. From what I've seen, the sub-build _## is only available as part of the filename when you get a hold of the KDZ and TOT. 10B for the VS985 is also the easiest to root because we can just use the Stump app with its brute force option. For us, rooting gets more complicated after 10B and putting TWRP on gets more complicated after 12B. Both 10B and 12B are still KitKat. 23C and 24B 5.0.1 are rootable via PC/USB/adb script. As far as I remember, 35B 5.1.1 and definitely 46A through 48A 6.0 has no method of permanent root, only KingRoot on 35B through 47A which gives temporary and suspicious root.
Click to expand...
Click to collapse
So, I haven't actually flashed v10b as I have handed my phone in to a phone repair shop as I have been having a number of hardware issues such as wifi not working, high temperatures at the back of the phone and SIM card detection issues (most likely related to the phone heating up).
However, before I had handed it in to the shop, I flashed a custom kernel (Gabriel stock-based) on the stock ROM I was running at the time, and that reminded me that I have flashed Gabriel kernel on a number of different stock and stock-based ROMs, and if I flashed a stock-based custom kernel, I also got the same bootloop error.
So I was wondering if that might help in any way to pinpoint what is going on with my phone...
theKramer said:
However, before I had handed it in to the shop, I flashed a custom kernel (Gabriel stock-based) on the stock ROM I was running at the time, and that reminded me that I have flashed Gabriel kernel on a number of different stock and stock-based ROMs, and if I flashed a stock-based custom kernel, I also got the same bootloop error.
So I was wondering if that might help in any way to pinpoint what is going on with my phone...
Click to expand...
Click to collapse
I don't think that's specific enough to narrow things down any in this case, but doesn't hurt to note the info! Good luck with your phone!
roirraW "edor" ehT said:
I don't think that's specific enough to narrow things down any in this case, but doesn't hurt to note the info! Good luck with your phone!
Click to expand...
Click to collapse
So my feeling is that there is something up with my boot image, even though my phone is rooted and bumped and TWRP is bumped, there is something my phone doesnt like in AOSP/CM or modified stock-based kernels that is not visible in LG stock.
Is there any tool/script that I can run that would collect info on the boot process...
theKramer said:
So my feeling is that there is something up with my boot image, even though my phone is rooted and bumped and TWRP is bumped, there is something my phone doesnt like in AOSP/CM or modified stock-based kernels that is not visible in LG stock.
Is there any tool/script that I can run that would collect info on the boot process...
Click to expand...
Click to collapse
I'm not very knowledgeable about logs or experienced collecting or looking through them, but maybe collecting a logcat through adb (over USB) while booting would help? You'd have to have USB Debugging turned on, and make sure it stays on across reboots - there's a common issue that is easy to resolve where if USB Debugging doesn't stay on after you reboot, turn it on, plug it into a PC, manually switch the USB connection mode on the phone from MTP and PTP and back to MTP and then disconnect the cable, and it'll stay on then.
roirraW "edor" ehT said:
I'm not very knowledgeable about logs or experienced collecting or looking through them, but maybe collecting a logcat through adb (over USB) while booting would help? You'd have to have USB Debugging turned on, and make sure it stays on across reboots - there's a common issue that is easy to resolve where if USB Debugging doesn't stay on after you reboot, turn it on, plug it into a PC, manually switch the USB connection mode on the phone from MTP and PTP and back to MTP and then disconnect the cable, and it'll stay on then.
Click to expand...
Click to collapse
So, I was suggested the app Liveboot, which was created by Chainfire of SuperSU fame. This app outputs a log to the screen and to a log file on the device of all the calls that are made during bootup (with user selectable level of detail).
Running this app, I did two traces. One with just stock LG and the second after flashing a modified stock kernel..
The stock log is 21KB, the log from when I flashed the modified kernel is 904KB.
Liveboot Stock
Liveboot with kernel
This is not an issue with the modified kernel per se, but with some settings in modified kernels. Any way to pinpoint the offending code/parameter?
This is not directed at you "roirraW "edor" ehT", but to any and all that could help me to figure out what is going on..
theKramer said:
So, I was suggested the app Liveboot, which was created by Chainfire of SuperSU fame. This app outputs a log to the screen and to a log file on the device of all the calls that are made during bootup (with user selectable level of detail).
Click to expand...
Click to collapse
Just wanted to say thanks for a reminder about that app. I had even tested the app when it first came out and I somehow keep forgetting about it.
So I have isolated the issue to some kind of hardware issue.
If I leave my phone turned off for a while with battery out, I can get it to boot custom ROMs. I have tried with 2 different batteries, so its definitely the phone itself. If I reboot the phone once the phone has booted up, then it boot loops again, even if the phone is only booted for a few minutes.
I had to debick my phone a couple of months ago using the short circuit method (due to some stupidity on my part) and it seems that that has fried something in my phone.
Since I brought my phone back to life I have been having issues with Wifi and SD-card slot not working, plus lots of heat and terrible battery life.
I would love to know though what it is in custom ROMs/Kernels that causes my phone to bootloop.
It would be great if I could isolate that somehow.
Anybody have any ideas, by any chance?

I need some advice on downgrading from MM, rooting etc

My T800 is in a right state. I was running one of the first MM roms to be released in the wild, with root and twrp. But a couple of months ago, I mistakenly installed the correct official MM rom, breaking everything. Now I can't root it, install twrp and adopted storage doesn't work.
So I was hoping I could downgrade to lollipop, root, install twrp and then update to one of the root-friendly MM roms on here. Is it possible to do that?
mickrick said:
My T800 is in a right state. I was running one of the first MM roms to be released in the wild, with root and twrp. But a couple of months ago, I mistakenly installed the correct official MM rom, breaking everything. Now I can't root it, install twrp and adopted storage doesn't work.
So I was hoping I could downgrade to lollipop, root, install twrp and then update to one of the root-friendly MM roms on here. Is it possible to do that?
Click to expand...
Click to collapse
I’ve flashed lollipop KitKat marshmallow upgrade downgrade without any issues. These are official firmware’s i been flashing via Odin SM-T705 my model is hope that answers your question..
mickrick said:
My T800 is in a right state. I was running one of the first MM roms to be released in the wild, with root and twrp. But a couple of months ago, I mistakenly installed the correct official MM rom, breaking everything. Now I can't root it, install twrp and adopted storage doesn't work.
So I was hoping I could downgrade to lollipop, root, install twrp and then update to one of the root-friendly MM roms on here. Is it possible to do that?
Click to expand...
Click to collapse
I'm not sure what you mean by break everything?
A few more specifics is required.
ashyx said:
I'm not sure what you mean by break everything?
A few more specifics is required.
Click to expand...
Click to collapse
By "broken" I mean, apps crashing, apps not installing, freezing, random rebooting, overheating. The sorts of things which drive you mental and, in effect, break everything.
I must have wiped and installed the OS a dozen times over the weekend. I was able to get the correct version of twrp and install it with odin, letting me wipe the system and data partitions in order to get a clean install. I restored all my apps, installed a system update. Then I installed twrp again, flashed the su zip and for some reason it would start freezing, reporting the sd card had been removed. So I eventually wiped, installed the rom, and then let Smart Switch install the correct version of MM for my tablet and just installed the really essential apps. Then twrp and finally su. I was even able to set half of my sd card up as adoptable storage (using root essentials app) and it is working perfectly now.
But I think its time I was looking out for a replacement tablet now. Although a great device at the time, and for a couple of years afterwards, it has become a bit long in the tooth lately.
In order to rule out any external issues, I'd use odin to flash the factory firmware (this of course will erase TWRP). Remove the sd card, and use the device for a while as is. If it works, then your past problems were some kind of software-related problem. If it still has issues, then there could be a hardware problem, like memory or the rest of logic board.
Akopps said:
In order to rule out any external issues, I'd use odin to flash the factory firmware (this of course will erase TWRP). Remove the sd card, and use the device for a while as is. If it works, then your past problems were some kind of software-related problem. If it still has issues, then there could be a hardware problem, like memory or the rest of logic board.
Click to expand...
Click to collapse
I think he's got it sorted now. Seems that's what he's already done.

Categories

Resources