Please help.. Updated my T-Mobile GS4 to 4.3 and tried to fix the root access that was ruined by update.. Seemed to root ok, but custom recovery wouldn't stick.. keeps reverting back to stock... I read that a fix was to just "re-name" the system/etc/install-recovery.sh file to resolve the issue... I remembered doing this for a different phone with similar problem without a hitch.. Renamed "system/etc/install-recovery.sh" to "system/etc/fix-annoying.bug" Not only did this renaming fail to resolve problem, but it was causing new ones Can't even install custom recovery now... So I simply tried to change name back to normal, and look for a different fix for the custom recovery problem. But "now" I'm stuck with problems in that "etc" directory.. It seems I was able to rename the "install-recovery.sh" file back to normal, but ever since making the changes I can't install the custom recovery at all.. Renaming appeared to restore the install-recovery.sh file, but it left a residual copy of that "fix-annoying.bug" file in the "etc" directory... I tried to delete it, but the system attempts to delete it, but just freezes/hangs on the "delete" operation until I perform a battery pull... So now, I can't even install a custom recovery.. before renaming that file I could at least flash the custom recovery.. Yes it would quickly revert back to stock, but at least it would install... Now I can't even perform the install.. I assume it's because the system/etc files are messed up... Is there a way to replace them with "stock" versions of those files or that directory? already tried restoring phone to factory but that process doesn't affect those files... any help would be greatly appreciated.
It would be best for you to just Odin back to stock
My S4 Is Insane
DEVIANT DEVELOPMENT
Related
I've learned to mount while in recovery and put a ROM in the root folder, but when i go to "flash zip from sdcard" i can't select anything?
Was there something i forgot? I see that the ROM is a img file, do i mount it and extract the files within it and then put those into the root folder? (Just tried it, and nothing happens when i mount the img?)
Are there other things i have to do all over again b4 i can even flash a rom?
*I wiped everything b/c i was trying to re-flash the rom i had in order to see if that would solve my Wi-Fi problems.
It needs to be a zip file in order to flash through recovery.
So how do i get it to be a zip file instead of img?
Hmm i assume i need to download winzip then?
Got WinZip, put the rom back in the root folder as a zip file, still nothing showing up.
Jut redownload the rom from wherever u got it from. Make sure its a zip file then try that
Sent from my PC36100 using xda premium
Wow, this whole time i've been extracting the downloaded file and then putting the files into the root folder. I'm supposed to just put the downloaded zip directly into the root huh?
Lets see if it works now.
Ugh, okay. Got it to work. Installed new ROM. But, the reason i tried all of this was b/c my Wi-Fi was not working. It still isn't.
Well that totally depends on the rom. Some custom Rom's might not have wifi set up yet, which does seem strange because that is a basic. But go over the simple things first such as :Is wifi enabled. I know it sounds stupid but it could be a fix lol!
So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
What ROM are you on?
Sent from my LG-LS970 using xda app-developers app
I had this same issue after flashing CM. Had to erase internal storage.
Sent from my LG-LS970 using xda premium
janob09 said:
So as of recently TWRP will not read the current files in my storage on my OG. I download new files and reboot recovery to flash, IE kernel, and TWRP still shows old files and not new ones. I've gone through and deleted old files and left only the new ones in the sdcard directory but TWRP still reads only old files. I'm using root explorer to delete/ move files, i have flashed the recovery about five times through GooManager, and have even flashed an older TWRP in fastboot. I'm stuck... any input??
Click to expand...
Click to collapse
It will recognize the 0 folder as your SD card. You can either move all the files out of 0 copy to sdcard and delete 0, or just move stuff that you want to flash into the 0 folder. I did the latter because every time I flash aosp the 0 folder returns.
I looked for the 0 folder, but found nothing. But it did seem to happen shortly after flashed cm. Must be it I guess I'll have to format storage.
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
bruiserman said:
I have this problem and I can't restore or flash a rom since I can't find the files. When you say delete internal storage what does that actually do? I don't want to lose everything including my backups (which I did save on my laptop) and not be able to restore my phone. I am currently just rooted stock but did flash CM10 to play a little bit.
Put my zip files in the 0 folder and my TWRP theme in the TWRP folder inside the 0 file and it see them and works. This zero file thing is weird. I'm hoping I can get rid of it eventually.
Click to expand...
Click to collapse
You could try and sideload a rom with ADB to the directory that TWRP is reading from.
If you use Root Explorer and go to root(mount R/W), you can access your 'new' backups under data/media/TWRP. This is where I found all of my back ups after flashing a new ROM. This seems to be default storage for back ups, at least for me, so I copied my original stock back up form my 'sdcard' partition and brought it to the new location. That way I have an original configuration in both places; cover all the bases that way. Hopes this helps others......:good:
BTW - I am running EOS right now; not sure if this will be the case for every ROM flashed.......
Hello All!
I seem to have gotten a strange directory structure after going to CWM and CM
/storage/sdcard0/
and /storage/sdcard0/0
both have the same directories underneath. With /storage/sdcard0/0 being the directory that shows up when I move stuff onto the phone and /storage/sdcard0/ being the directory that holds the CWM backups.
Is this normal? And if not is there anyway to wipe it to be normal? Even when i'm trying to install a new rom I have to use , use last directory .zip install of the normal download folder (the default one goes to /storage/sdcard0/)
ippikiokami said:
Hello All!
I seem to have gotten a strange directory structure after going to CWM and CM
/storage/sdcard0/
and /storage/sdcard0/0
both have the same directories underneath. With /storage/sdcard0/0 being the directory that shows up when I move stuff onto the phone and /storage/sdcard0/ being the directory that holds the CWM backups.
Is this normal? And if not is there anyway to wipe it to be normal? Even when i'm trying to install a new rom I have to use , use last directory .zip install of the normal download folder (the default one goes to /storage/sdcard0/)
Click to expand...
Click to collapse
I had an error like this yesterday while flashing stock rom using LGPNST and going to CM 11.
If going between CM Roms and Stock roms, keep both. Copy root to "0" folder. Easiest way
After you flash your rom, make sure you factory reset, thats what did it for me. I was using TWRP though.
Thanks for the help. I eventually figured out it was partially due to what you mentioned + clockworkmod. changing to TWRP and flashing CM11 made it all go back to normal
I want to install the 3.32 OTA so I had to restore my phone a bit. Last time I did this was about a month ago, and I must be forgetting something... but I cannot run the OTA because of problems with the build.prop file.
I flashed the default recovery and uninstalled one app that I know tweaked the system by modifying the build.prop file, however, this didn't work. The log still says "unexpected content in system/build.prop".
I have uninstalled 3 or 4 other apps that I suspect may modify the build.prop file and turned on the SuperSU logging to make sure I wasn't missing any other app which was getting root permission to modify it.... I thought I found them all. However, I just tried running the OTA for the third time, and it still shows that the build.prop file has been altered.
I know I could download the OTA, modify the updater script, then copy it back to the phone, but before I do that I wanted to just get a default copy of the file. What could I download (i.e., a RUU, a stock nandroid, etc.) that I could unpack to get one??
Thanks!
This is a tough one. The OTA only has the patch file so that is out. You can unpack the RUU but then you get disk image files. If you can figure out a way to unpack the .img files, I'm guessing would be in there.
FreydNot said:
This is a tough one. The OTA only has the patch file so that is out. You can unpack the RUU but then you get disk image files. If you can figure out a way to unpack the .img files, I'm guessing would be in there.
Click to expand...
Click to collapse
Thanks for replying... I must have had a brain tumor for breakfast yesterday because there was already a backup copy in the system folder. I don't know how I missed it.
First off, though I don't know that it'd be a factor here, but I switched carriers from T-Mobile to AT&T. I don't really see how switching SIM cards would have any effect - I'd already updated to 20e, re-rooted, and installed TWRP. Double checking under Settings/Hardware Info, it shows my phone still is listed as a LG-D851.
It's been awhile since I made or checked my local TWRP backups but checking just now my TWRP folder displays as a 0 byte file. My thought was delete the file, copy a full set of TWRP folders (nandroid) back from my extSDcard and I'd be fine. Problem is I can't delete the file (and now thinking best to ask first, lol!).
I've tried with FX file manager (with root granted) but get an access denied error. Going in under System as root user and navigate to /mnt/sdcard/, I see all other folders but no TWRP file. I've tried ES File Explorer which successfully deletes it, but it reappears. Even tried deleting and creating a temporary TWRP folder immediately after but I get "Sorry, operation failed".
I'm able to get into TWRP, run a backup which says it completed successfully, but I see it as this file rather than a folder like it should be... Searching, I found one a workaround: TWRP Troubles
I use TWRP Manager free and thought about installing the latest TWRP for my D851 (from 2.8.6.0 to 2.8.7.0) but don't know if it'd create a bigger problem. Thought best to ask the pros!!
Any thoughts?
wha2do said:
I've tried with FX file manager (with root granted) but get an access denied error. Going in under System as root user and navigate to /mnt/sdcard/, I see all other folders but no TWRP file. I've tried ES File Explorer which successfully deletes it, but it reappears. Even tried deleting and creating a temporary TWRP folder immediately after but I get "Sorry, operation failed".
I'm able to get into TWRP, run a backup which says it completed successfully, but I see it as this file rather than a folder like it should be... Searching, I found one a workaround: TWRP Troubles
I use TWRP Manager free and thought about installing the latest TWRP for my D851 (from 2.8.6.0 to 2.8.7.0) but don't know if it'd create a bigger problem. Thought best to ask the pros!!
Any thoughts?
Click to expand...
Click to collapse
As I added after my initial post, if I boot into TWRP recovery and connect to my PC, TWRP shows on my PC as a folder. I'm able to copy it to my PC, but this isn't the most elegant. Is there something more I can do to get back to seeing/using folder operations on it while using an android file manager?
Again wondering if I update TWRP via TWRP Manager if that'd help any...and presumably my hardware hasn't changed any, so still would be TWRP for the d851?
Thanks!!