[Q] Unable to push files to sdcard after bootloop - HTC One X

I have been busy today with a nasty problem, i hope you anyone can help me out.
I was running JDROID's custom rom with great satisfaction, had it backupped. The trouble started when i downloaded an other rom and forgot to place the rom (.zip) on my sdcard before i flashed the boot.img via flashboot.
By that time i didnt knew how to use ADB commands, so i decided that i would forget about the new rom and i would restore my working backup. (im using CWM)
After restoring that backup a bootloop occured, so tried lots of things like wiping the cache. Also ive tried to restore the backup after lots of full wipes ect. Even installing JDROID's latest rom witch i had on my sdcard dindt help. Still had a bootloop.
I managed to use ADB when my phone was switched off, and i pushed a rom.zip to sdcard. But CWM cant seem to find it.
My question is this: in CWM there is an option to "mount USB storage". When i use it i get the message "unable to open ums lunfile". I have tried formatting the sdcard, whereby i deleted my backups still didnt work.
What whould you guys try next?

relock the bootloader and run an ruu appropriate to your cid

Related

[Q] stuck in bootloader/recovery

help, stuck in bootloader/recovery
« on: Today at 01:48:03 AM » Quote Modify Remove
--------------------------------------------------------------------------------
stock 2.2 3.29 rooted w/unrevolked.
any help is appreciated.
So I was looking into roms and I downloaded ROM manager 3.0.1.1. Thats when my trouble started. I did a back up with the rom manager and it wiped my old nandroid back ups and I was stuck in bootloader/recovery and couldn't restore my back up. I do an nandroid back up about once a month and they were all gone. I did back up my sd card in december and I had an old back up on it and I flashed it and it worked.
Tonight I tired to flash an older version of clockwork (like I had before) and I'm stuck at the bootloader/recovery again. I tried to restore an old nandroid and nothing seems to work.
I'm open to suggestions.
Should I try to flash a new rom and start over ?
any way to get my old customized rom back ? (I have the clockwork back ups)
thanks
are you able to boot a rom at all?
I haven't tried a different rom, but I cannot boot my current or older.
It can't load PM36IMG.zip, I tried loading one onto my card but it just aborts the installation. Is there a more current or older one one I need ?
that might be a problem. you sayed you were trying to put a PM36IMG.ZIP on but you need a PC36IMG.ZIP i believe if your on an evo. use amon-ra and and flash a new rom and see if it works. copy and paste this link into your url and it will start a download for amon-ra recovery. hope this works
http://files.androidspin.com/downloads.php?dir=amon_ra/RECOVERY/&file=PC36IMG.zip
also don't try to flash a clockwork nandroid backup with amon-ra or vise versa. it will mess up your phone from what ive heard
I wonder if it does not like your sd. I am thinking try a different sd or see if you can format yours.
I also do not like ROM managers. They always seem to want an upgrade and then when you do the upgrade your old backups may or may not be compatible any more. To get your old file back you would probably have to run an unerase or some type of debug program on the sd card. erased files are not really erased they just have an F5 in front of them to tell the computer that the space is availible. If you have a backup on your compter or old SD I think you should be able to that.
I did check for errors on my SD card, nothing bad there.
I put a PC36IMG.zip on my SD and when I try to install the zip from my sd it says operation aborted.
I think my entire problem is the fact that I have clockworkMod recovery v3.0.0.5. I've read (after) that anything after 2.6 is not going to play nice with my evo.
I tried downloading a stock rooted rom and I cannot flash it. Anytime I boot the phone it stays on the HTC EVO white screen, I can hold down the - and power and I can go into HBOOT/fastboot/bootloader/recovery, then it cannot find the PC36DIAG.zip, and PC36ING, and a few others.
I really appreciate the help, keep it coming
edit: I'll try pulling everything off my card and formatting it...
card is fine.
I loaded a older clockwork recovery then tried to flash a different rom...
it started opening, installing, formatting, deleting, copying, then...
E: can't symlink/system/xbin/su
E:failure at line 76:
synlink/system/bin/su SYSTEM:xbin/su
installation aborted.
and when I restore a previous nand backup it appears to work then when I reboot the screen looks scrambled and freezes.
I'm tired
I'm starting to think a hard reset and starting over might be my only way out.
Your system can not root since it can not find /system/xbin/su su is not in bin
ln -T /system/xbin/su /system/bin/su would probably be the approach if you were running. Not sure if you could edit line 76 to change bin to xbin, copy a proper symbolic link or?
I looked in bin and there were many links to the tool box that appeared to be associated with error logging. With this in mind it seems to me that this link is part of the recovery/installation process.
I would try to correct the permissions.
I was able to do a hard reset and my phone booted up rooted still..so I restored my apps from Titanium Back up.
Right now I can shut my phone off, restart it, no problem. If I go into recovery, problem.
I need to get rid of clockwork asap, I've read about Amon_ra's recovery but I don't think I have enough knowledge yet on how to install. I've tried installing from a zip but I'm just not doing it right. I can go into folders on my phone (root explorer), should I just delete clockwork anywhere I find it ? I just don't want to go blindly deleting files, that would be dumb.
I need recovery back...this is scary
suggestions ?
I have been into Android modding since My G1 from day ONE, I bricked a friends G1 and had to swap internal stuff and fixed it so I have never had a problem I could not solve till now, Like the guy above I cannot boot into my ROM. I have running Myn's Roms since his(their) first release with ZERO problems until RLS5. I started getting random reboots so like any other time when this happened with anyone elses ROM I did the Recovery, Wipe Dalvic Cache, Wipe Cache reboot and that was that, However today my Evo would not stop rebooting every 5-10 minutes so I wiped from scratch even my sd card was wiped, then reflashed Myn's RLS5 got it to boot once and after finishing SETUP it was on for like 2 maybe 3 minutes and again REBOOT!!! this time staying on the white screen, So I pulled the battery and went to recovery and wiped dalvic and cache rebooted and from then on It does not get past the white screen, I can still get into Fastboot and Recovery but it DOES NOT boot into the ROM, I am now Flashing MYN'S Z 2.2 and praying it boots. Do you guys think VIRUSES are now affecting OUR EVO's????
I just need to get rid of clockwork and I'm still stuck on that...
help ...
Attached is amon_ra 2.3 boot into the bootloader and apply update, reboot, boot into recovery and clockwork will be gone.
teh roxxorz said:
Attached is amon_ra 2.3 boot into the bootloader and apply update, reboot, boot into recovery and clockwork will be gone.
Click to expand...
Click to collapse
ok, I just want to be clear.
First, I'm sorry if I'm noobish
next, I'm gonna put that PC36IMG on my SD card (just anywhere on the card) then go into the bootloader, choose apply update, then boot into recovery, then done, correct ?
side note, I've read around that it should be put on the root of the card, I don't have a root folder on the card, but there is one in the internal system file (found it in root explorer).
just want to clarify before I loose everything again.
You are correct, and the "root" of the sdcard means to just be on the sdcard, not inside any folders. Also don't extract the zip file.
solved.
you sir, are my hero.
you have solved my problem, I'm speechless and so freakin excited right now.
I sincerely thank you and owe you.
teh roxxorz said:
Attached is amon_ra 2.3 boot into the bootloader and apply update, reboot, boot into recovery and clockwork will be gone.
Click to expand...
Click to collapse
Would this work for the Incredible as well? I have the same issue (tried to flash clockwork recover but can't get into it on the phone). Also cannot get into the ROM, so stuck at the boot screen and nearly every command brings me back to it...
Thanks

[SOLVED] Phone Encrypted - can't decrypt, can't mount internal storage, can't ODIN

Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
dwnocturnal said:
Let me first apologize for all of the information, but I wanted to give you guys as much to go on as possible.
TLDWR - Can't flash roms, can't decrypt phone, can't wipe data, can't mount internal storage, can't use ODIN....where next?
Here is what I got:
SPH-L710
Android vers - 4.2.2
Cyanogenmod vers - 10.1.0-d2spr
Was getting flaky reception when I was on 10.0.0 nightly, decided to update to 10.1.2. Downloaded the the required files through Rom Manager, rebooted into CWM Recovery version 6.0.3.1 (non-touch) and did the install (dirty)....booted up and the ROM itself worked, but all my apps were getting "stopped unexpectedly". I figured, ok, did a dirty update so stuff isn't working; I'll redo it and this time wipe everything (after backup of course). When I went to do this, I noticed that it did not mount my sdcard (internal storage, not external sd card). I thought was odd, tried manually mounting, didn't work, tried rebooting recovery and that didn't work. Thought maybe it was a fluke, tried wiping and reflashing 4.2.2 (CM 10.1.2).....it went very quickly. Rebooted, and all of my stuff is gone, which is good, but now it won't let me restore apps.
At this point, I decided I'd had enough of trying to upgrade, so I decided to downgrade back to my old CM 10.0.0....long story short, the flash went quickly, booted up, things worked, but still had the same problem with the apps. I could see the data on the internal storage when the phone was booted, but it never saw it in recovery mode. After doing some reading, I saw where the filesystem changed when going to 4.2.2 so that you can use the new profiles feature. This seems to be what caused CWM Recovery to not see my internal storage anymore.
I thought well, maybe it's because I am back on 10.0.0, so I tried downloading and flashing 10.1.0. It did the same quick flash and showed after boot that I was running on 10.1.0, but I still couldn't mount internal storage (sdcard) in Recovery. I said screw it, reinstalled my apps and decided to truck on with how it was. Short version here - installed mobileiron and touchdown, ran through the encryption in mobileiron, etc etc...mobileiron didn't recognize touchdown and I could not get LEAP for wifi to work.
Decided I would try to decrypt and completely wipe phone. Removed Mobileiron as administrator, tried to decrypt - could not. Tried tweaking security settings, reboots, adb mount and format - all to no avail. Tried wiping in recovery....this failed because it cannot read my storage (because it can't mount it and it is now encrypted)!
With the phone booted up and running adb shell, I can get to the main file system, but my sdcard, data, data/media directories all look empty. I can't mount sdcard through ADB either.
When all of this failed, I looked to ODIN to fix my woes...no luck here either. Downloaded the stock Sprint ROM (4.1.1 L710VPBLJ7 L710SPRBLJ7 ) and tried flashing it but I get hung up on the "Setup Connection"...in ODIN. I have tried multiple drivers, usb ports, battery pulls, etc...I even tried from another PC.
I know this is a lot of information and I apologize again. If you read through all that, thanks for being thorough...if not, I will answer your questions, but hopefully won't have to repeat a bunch of info again.
My end all questions are - where do I go from here? What other options do I have? Is there any repair place I might be able to take this to that they might be able to decrypt/flash the phone to stock for me?
Thanks in advance,
dwnocturnal
Click to expand...
Click to collapse
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
joeyhdownsouth said:
Where did you download your stock Rom from? Did you FULLY uninstall drivers from Windows, before reinstalling?
Sent from my hybrid GS3
Click to expand...
Click to collapse
I got the link to the stock stuff through ODIN from here:
http://forum.xda-developers.com/showthread.php?t=2189539
Missed your other question the first time I read your post....Yes, I uninstalled the drivers, rebooted, reinstalled the drivers. Tried connecting on another PC as well.
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It's sounds as if you should start a totally clean install, then backup your downloaded apps with Titanium Backup after you get ROM setup again.
Sent from my hybrid GS3
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
dwnocturnal said:
Another update:
I couldn't get my backup to restore correctly....I kept getting an error restoring /data. Luckily I had an older backup from several months further and was able to restore that. After doing so, I had to remove my google accounts, readd them, and reinstall my mobile iron client for work and I am now good to go!
Man, that was a nightmare.....thought I had soft-bricked my phone.
How do I mark this thread as solved now?
Click to expand...
Click to collapse
Hit the edit/delete button under the original post, type [SOLVED] before your title. Then click the save button.
Worked!! Thanks.
dwnocturnal said:
Ok, little bit of an update.
I went through Recovery and was messing around trying to mount and wipe...I couldn't mount data or sdcard, so I figured I couldn't just format them either. WRONG! I was able to format /data and /data/media, which then let me mount /data. After doing this, I rebooted recovery and I could mount sdcard...so I did and formatted it.
Now, I had my old version of CM 10.0.0 on my external sd card, so I installed that and booted up...WOOT - back to blank CM 10.0.0!
Now I've got all my data and apps saved to a folder on my PC, if I can just figure out a way to put them back on the phones storage and restore from my backup...
Click to expand...
Click to collapse
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Same Issue
demax123 said:
It worked. Thans. It looks like this is the only solution!!! I wonder why the OS does not let people decrypt the phone......
Click to expand...
Click to collapse
Unfortunately I do have the same issue. The problem is I have not backed this up previously. Any suggestions?

problems with twrp

i've been breaking my head over this problem for 2 days now, i installed twrp to find out it couldn't make androids because a leftover folder from a deinstalled game prevented it. i tried to remove the folder but failed so i put the phone back to factory settings. now wafter reinstalling everything but the game that prevented it previously it still gives me this error. anyone know how i can get rid of the folder?( see picture)
I cant see how an old folder stops you making backups, it will be an SD card error or a partition error?
You might have to flash back to stock and then bump TWRP again.
As you can read in my op i already tried that also tried rzmoving it with rm -r as su, then i get a I/O error.
How did you restore to stock? The only way to get your desired results is to use cse flash with kdz or use the tot method.
Oh tought it was ok to do it trough pcsuite... Anyway is there a way to solve this trough terminal as well?
Ok so here's an update. I cse flashed a kdz. But the folder is still there, how is thzt even possible?? Any ideas how this can be solved? Could i use twrp to wipe the data partition?
so anyone who knows if i can use tarp to wipe the data partition?

Question about using TWRP recovery with GT-N5110

I put TWRP on it and can boot to recovery. However, it fails flashing the Cyanogenmod zip because (it says) you need to wipe the device due to an incompatible device layout. So I tried that and naturally it wiped the zip off the /sdcard. Then I mounted the sdcard from TWRP but I couldn't write to it from my computer. (I could see the now-empty drive.) So I said what the heck and rebooted the system and had a like-new device.
I had backed that up before I did anything. So transferred another copy of the cyanogemod zip to the tablet, rebooted to TWRP and tried to install it again. Still no luck. I then transferred my backup to my tablet and restored the backup so I'm back where I started.
Is there another way I haven't thought of?
I put 12 on my n5110 before I found slim rom 4.4.4. Had no trouble with the install of either one. Have you tried putting the cm zip on the external sd card and installing from that using twrp? I also think you can use either Odin or adb but as I recall the methodology will be different. Lots of people with a lot more experience here maybe someone else has some suggestions as well.
Regards
Expat

Updating from CyanogenMod

Hi,
currently I am running CyanogenMod 13 on my Samsung Galaxy S4 Mini (serranoltexx). Now, as it get's outdated and insecure, I am about to update it to LineageOS. But I am worried, because I can't just flash the ROM over CM, but I have to wipe everything. Sure, I can take backups of all my data, but my question is:
What do I have to select in Clockworkmod Recovery in order to clean up for LineageOS? And the second point is that I parted my SD-Card to use Android's option to emulate one partition as internal storage. So if I wipe, can I keep the partitions and what do I have to save before?
Oh and.. I have tried to do a Nandroid Backup, but I can't copy it onto my PC because the storage is mounted differently within CyanogenMod (the 2 partitions I wrote about) and ADB doesn't work for this either.
I hope somebody can help me
Done! /ReqClose
Hi,
I'm glad to say that I have done it yesterday. The thread can be closed and for all who have the same questions I had:
First of all I took a backup of all my data (Apps, Music, Photos etc) and put LineageOS, GApps & SuperSU on my SD-Card. Then I booted into my recovery (CWM) and wiped all data. Unfortunately it didn't work (CWM said something like "error in lineageos.zip") so I decided to use TWRP for it. There was just an unofficial build but I didn't care too much, so I used this one. It was an img file, so I needed to convert it to .tar.md5 first using a tool I found in the Internet. So I flashed TWRP then using Odin. When I booted into TWRP everything seemed to work, but when I tried to install the zip file it just rebooted immediately without an installation. So I finally used ADB sideload, and it finally worked! Now my phone is working fine!
Hope this helps someone!!

Categories

Resources