Stock lollipop+root can't copy data back from pc - Nexus 5 Q&A, Help & Troubleshooting

When I try, it says that its been disconnected, if I use a file manager on the phone it won't let me delete anything off, any ideas on this?

Did you push any data by adb or mtp via recovery?

I copied data via recovery, I take it that's where my problem came from?

you used
adb push backup /data/media/0
Click to expand...
Click to collapse
right?

lowsnamebrand said:
I copied data via recovery, I take it that's where my problem came from?
Click to expand...
Click to collapse
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.

rootSU said:
TO your device?
If so, yes that is where the problem came from. If you PUSH data TO your device via recovery (not single files but folders) It screws permissions. There is a zip to fix it which I can link to, if you can confirm that is what you did.
Click to expand...
Click to collapse
please share the link

kamilmirza said:
please share the link
Click to expand...
Click to collapse
In this thread:
http://forum.xda-developers.com/showthread.php?t=2239421
is a sdcard fix permissions script (flashable zip)
Of course if you can't write to sdcard, you'll either need to adb push / MTP via recovery or using a root explorer, set all permissions to read, write for /data/media/0/Download

That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again

lowsnamebrand said:
That's exactly what I did sir, so I reflashed everything, now (of course) everything is running like a champion, appreciate the info,won't be making that mistake again
Click to expand...
Click to collapse
Yeah, MTP and ADB via recovery are fine if you need to get a backup on there to restore or some zips to flash, but as soon as you start pushing actual folders, permissions screw up.
Choice is to go through setup wizard and then use Android MTP or push that zip too and flash every time.

Thanks for the info, won't be making that mistake again Lol, side not lollipop is snappy and responsive as all hell

Related

Rooted, trying to reinstall deleted Stock.apk

I had a questions about restoring the deleted Stocks app. I rooted with the new unrevoked last night and then installed Titanium to remove apps. I prematurely removed the Stocks app and I have been trying to get it back since.
I've tried multiple routes, from this Wildefire thread http://forum.xda-developers.com/showthread.php?t=738147 I tried the apk via adb and Root Explorer. Neither worked.
Then I downloaded the stock odexed EVO rom from this thread http://forum.xda-developers.com/showthread.php?t=874251, grabbd the stock.apk and moved it to my \system\apps folder with Root Explorer. I've restarted, tried clearing the Dalvik Cache, pushing it via adb, none have worked.
Right now it's still sitting in the \system\app folder.
I wanted to see if there was anything else I can try to get it back? Or am I doing something wrong?
Thanks in advance.
I take it you are running stock Rom. I think the best way is to make a nandroid of the stock Rom that you are running, with ClockworkMod. Once done download Myn's Rom or sprint lovers. Both of this Rom's have the stock Sprint apps. When flashing the Roms, please, make sure to use Rom Manager and flash ClockworkMod, than flash Amo-ra; is located at the buttom as an alternate recovery. Than once you flash the Rom, let it load, than flash clockworkMod again, than go into recovery, than restore,advance restore, select the newest nandroid, and just restore data. This will give you all the stock apps. OR just try this.
http://forum.xda-developers.com/showthread.php?t=832388
Here are some more apk's.
http://forum.xda-developers.com/showthread.php?t=901393
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
you can go to the rom file open the file then open system then open app and add the apk you want and reload the rom into the phone that sit more simple
ifly4vamerica said:
grab the apk out of the stock rom you have, then in adb do this
adb remount
adb push Stock.apk /system/app
if you need to push the odex do this also
adb push Stock.odex /system/app
the important thing is the remount to make the system/app read write
Click to expand...
Click to collapse
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
baker2gs said:
I did the above while booted in recovery mode with the system mounted. It successfully went in the system/app folder. I see it in Root Explorer, although it still doesn't show up in the apps menu. Oh well.
Click to expand...
Click to collapse
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
ifly4vamerica said:
Yeah it doesn't work right if you are in recovery because it messes with permissions I heard. Just do it with phone plugged in to computer and on. If that doesn't work you can try deleting the apk and then using
Adb remount
Adb install stock.apk
Don't know if these will work but worth a try. Last resort is find a flashable zip that writes something to system/app and drop the apk in there.
Evo Sent
Click to expand...
Click to collapse
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
baker2gs said:
When I run that command with the phone on charge mode with debugging on plugged into the computer I get a "remount failed: Operation not permitted".
I installed the Sync drivers and tried it with that but it didn't work either.
Any suggestions? Thanks for your help by the way.
Click to expand...
Click to collapse
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
ifly4vamerica said:
I can't help with that, never ran in to that problem before, are you nand unlocked and s-off?
Click to expand...
Click to collapse
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
baker2gs said:
Yes to both, I have been trying to do research on it. It may be the stock rom...
I tried some workarounds but they didn't work. Thanks for your help.
Click to expand...
Click to collapse
No problem, sorry I couldn't help.
Evo Sent
Just an update, I tried the .zip route you suggested. I created a Titanium back up and threw the Stock.apk in the zip. I ran the update.zip in recovery. It placed Stock.apk in the system/app folder but the app still does not appear in the apps menu. Thanks again.

[Q] Lost root after installing 9ZGgDXDi.zip

Lost root after installing 9ZGgDXDi.zip.
This of course installed JB 4.1.1 but then when I go to recovery after entering fast boot menu I see a supine green robot with a red triangle with an exclamation point spilling out of its guts. (truly a horrible sight)
It also installed recovery-from-boot.p in System folder.
I know the solution is to rename recovery-from-boot.p file to recovery-from-boot.p.bak or renaming to something else or deleting, however since I lost root I don't see how I can rename or delete this file.
When I use root explorer I cannot mount r/w so cannot rename the file
Using ES File Explorer I rename the file but get the message that rename failed.
Connecting the phone via usb and turning on usb storage I can only access files from sd card and so cannot get to system folder in the parent directory.
Please can someone help destroy or rename the .p file.
If I'm reading it right, you lost your root and recovery after installing the OTA, right? You can still flash a custom recovery and install SU from said recovery after flashing CWM. You would then have the ability to rename the script which replaces the custom recovery with the stock. The file, if IIRC, is called recovery.sh or something along those lines.
Refer to this guide and re-root. Probably the easiest way to solve it. http://forum.xda-developers.com/showthread.php?t=1789216
chronophase1 said:
If I'm reading it right, you lost your root and recovery after installing the OTA, right? You can still flash a custom recovery and install SU from said recovery after flashing CWM. You would then have the ability to rename the script which replaces the custom recovery with the stock. The file, if IIRC, is called recovery.sh or something along those lines.
Click to expand...
Click to collapse
you are reading me right.
However I cannot flash anything thanks to recovery-from-boot.p file.
Whenever I try to flash anything I get message that "installation aborted"
Kitch16 said:
Refer to this guide and re-root. Probably the easiest way to solve it. http://forum.xda-developers.com/showthread.php?t=1789216
Click to expand...
Click to collapse
Tried that site, but the links to software are broken
edited to add:
oops, yes the links to software work, just didn't see the correct download for all the advertizements.
Thanks for your help but I have solved my problem by adb flash of cwr
koyanishi said:
you are reading me right.
However I cannot flash anything thanks to recovery-from-boot.p file.
Whenever I try to flash anything I get message that "installation aborted"
Click to expand...
Click to collapse
You get this from the fastboot screen?
chronophase1 said:
You get this from the fastboot screen?
Click to expand...
Click to collapse
I think its after fastboot screen - that is when I go to apply zip from sd card
However I have since solved the problem by using adb to install cwr again so I am now back to root
thanks to both of you for trying to help

[RECOVERY] Fixed CWM v3.0.2.8

I remember downloading this and saving it when I still had the SK4G. It works great, just replace the update.zip on the / of your sdcard to use. Click the THANKS button if you D/L'ed/Used/Referred To/So on...
Just because of the nature of this mod, I cannot and will not be held responsible for any mishaps to your devices and or any of its accessories (SDCards) that in this weird world of ours may just happen. This should not discourage you to use it, just saying.. You break it, You fix/replace it.
LINK: CLICK MEEEEEE
I'll still help you with your device (tech help mostly), if you need anything PM me. (probably only/fastest response)
dude your a life saver im on att and a flashaholic unfourtunatly while me and some pantech flex users are hard at work getting recovery after we successfully rooted our device about 5 days ago i havent been able to flash anything because the new cwm for the sk4g had been taken down everywhere and the koush one is so buggy and wont let me backup or flash i been looking everywhere for this
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
rpmccormick said:
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
Click to expand...
Click to collapse
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
I may be wrong, but I think its due to not replacing the stock binary file with the modded binary file. I'm trying to find it online but krylon's site no longer hosts the file...
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
Make sure you guys are extracting the the zip and putting the extracted recovery into the system/bin, not the whole zip.
You can also use the search and find where I reposted sduvicks fakeflash utility. It will install CWM for you.
In V2 eXDialer have force closes
shadowscott said:
I may be wrong, but I think its due to not replacing the stock binary file with the modded binary file. I'm trying to find it online but krylon's site no longer hosts the file...
Click to expand...
Click to collapse
His page on Android Spin? I used to download it from there .. don't know if its stopped working now :/
I tried sduvick's script but it wasn't working for me so I had to push the files myself.
rpmccormick said:
this doesnt work for me. Invalid signature. How do you install CWM when you have none after stock odin?
Click to expand...
Click to collapse
dudanko said:
I have the same problem. My sidekick is just rooted. I wanted to instal your cwm, but it writes Invalid signature. How can I install it?
Click to expand...
Click to collapse
replace the update.zip on the /root of the SD. No Odin required. Rename to update.zip, and place it straight on your SD.
That did not work until after I rooted it using RageAgainstTheCage
Re-upped by me here:
http://www.mediafire.com/?hn5ikyt6xpn8d9x
After doing that, then it allows the update.zip to work without failing signature check.
EDIT: Then I also used SuperOneClick to shell-root.
-__-
Ok guys the actual problem here is that there is a file missing that you need to push through to your "/system/bin" folder in your SK's root directory.
The missing file is the custom "recovery" binary file that krylon360 created. After doing so, either by ADB pushing the file or copy pasting it with a root file manager, you may boot into recovery then run the 'reinstall packages' command in the stock recovery. This in turn loads the new recovery.....
ALWAYS CHECK YOUR MOUNTS IN CUSTOM RECOVERY. It will save you an accidental pain in the ass. Trust me.
Mounts should look as follows:
----------------------------------------------------------------------------------------------------
-unmount /cache
-mount /data
-mount /sdcard (this sometimes says it is mounted-- not important)
-unmount /system (MOST IMPORTANT. IF IT DOES NOT READ AS THIS SAYS- THEN FIX THAT AND MOUNT IT BEFORE ANY BACKUPS OR WIPES. YOU WILL GET STUCK IN THE SCRIPT)
----------------------------------------------------------------------------------------------------
I will see if I can host the file in my Dropbox. As for the help, it is available in many older posts already. But a hitting that thanks button couldn't hurt ;D
Zydrate_blue said:
Ok guys the actual problem here is that there is a file missing that you need to push through to your "/system/bin" folder in your SK's root directory.
The missing file is the custom "recovery" binary file that krylon360 created. After doing so, either by ADB pushing the file or copy pasting it with a root file manager, you may boot into recovery then run the 'reinstall packages' command in the stock recovery. This in turn loads the new recovery.....
ALWAYS CHECK YOUR MOUNTS IN CUSTOM RECOVERY. It will save you an accidental pain in the ass. Trust me.
Mounts should look as follows:
----------------------------------------------------------------------------------------------------
-unmount /cache
-mount /data
-mount /sdcard (this sometimes says it is mounted-- not important)
-unmount /system (MOST IMPORTANT. IF IT DOES NOT READ AS THIS SAYS- THEN FIX THAT AND MOUNT IT BEFORE ANY BACKUPS OR WIPES. YOU WILL GET STUCK IN THE SCRIPT)
----------------------------------------------------------------------------------------------------
I will see if I can host the file in my Dropbox. As for the help, it is available in many older posts already. But a hitting that thanks button couldn't hurt ;D
Click to expand...
Click to collapse
IIRC, I believe this is the file that everyone wants..
http://www.4shared.com/file/BqnNCX3K/recovery.html
Thank you
I would like to say thanks to you all helping out with this. My lack of signing in here has to do with me not even having an Android-powered device anymore. I sold my SideKick and MyTouch together for about $250. I still come back here and look around every now and then, but see that a lot of you guys have it under control. So, once again thank you.:good:

Help needed asap to reinstall orignal stock rom on my htc one sv

HI Im a noob. I was able to root my phone successfully and everything I was downloading rooted apps so I download pimp my beats and Dolby mobile well some how it messed up all my audio I couldn't hear a thing so I tried factory reset and then tired uninstalling them and that didn't work so then I went online and downloaded the original boot and recovery.img I tired flashing the but then when I do it comes to the clockworksmod like if it needs a rom or something then when I try installing a ROM it ends up aborting. it ends up getting stuck on the start up with red lettered warning I need someone to help me please get it back to the original state like when first get it out of the box. I want to install the original kernel the original rom and get my sound back on. Or at least so I can fix it to get my warranty valid again so I can get a new one. I need help asap if additional info is needed let me know. do you have any idea why I cant hear phone calls coming in or outgoing, my music or youtube all sounds i can't hear. I am on K2_PLC_CL I am LTE on CricketWireless Thanks
Hi. You just need to restore your cwm backup, that's it.
I know but it won't work
Matlevo12 said:
Hi. You just need to restore your cwm backup, that's it.
Click to expand...
Click to collapse
I know that. I moved the backup on the computer and when I put it on my sd so I could restore it. It didn't work it says no file found do you know where I can download the Original Stock Rom and when i try starting it up it go's to a black screen with a green arrow pointing towards the found then it goes to the phone with a red triangle with a red exclamation point. What is that?
If your backup is not recognised you have put it in the wrong folder i think. So tell us, where the files are on your sd card.
old.splatterhand said:
If your backup is not recognised you have put it in the wrong folder i think. So tell us, where the files are on your sd card.
Click to expand...
Click to collapse
+1 on that, if you have one it'll be recognized as long as it is in the right folder, and made with the same recovery.
what do i do
Matlevo12 said:
+1 on that, if you have one it'll be recognized as long as it is in the right folder, and made with the same recovery.
Click to expand...
Click to collapse
So i put the backup in the CWM folder but it tells me no file found so what do I do? Can I go to some website to download the original stock Rom and kernel I need to fix my phone asap so can you please tell me exactly what I need to do. Plus what are those symbols i describe in my last reply. Thanks so much for assisting me I appreciate it.
The files must be in folder: clockworkmod/backup/2013-04-01.18.46.58
The last folder is the date it was created.
The symbols mean, your flash has failed.
What if that doesn't work
old.splatterhand said:
The files must be in folder: clockworkmod/backup/2013-04-01.18.46.58
The last folder is the date it was created.
The symbols mean, your flash has failed.
Click to expand...
Click to collapse
So as long as I put it in that file on my SD and open it up in CWM then it should work right?
I already did that once and it didn't work so what do I do then?
what are my other options I really need help thanks for everything you've done so far.
If your backup don't work, i know there is a Stock cricket jb back here in One SV Forum. Others flashed this successfully.
Otherwise i'm running out of ideas.
old.splatterhand said:
If your backup don't work, i know there is a Stock cricket jb back here in One SV Forum. Others flashed this successfully.
Otherwise i'm running out of ideas.
Click to expand...
Click to collapse
Okay well can you do me a favor and locate it for me please I'll probably do something wrong like not knowing where to find it. And
Will it work with my phone? And then when you find it can you give me the exact commands I need in order to flash that Stock properly so I know that I didn't mess up I know im asking for a lot but can you please do that. I'd appreciate it thanks.
Noob17_Me said:
Okay well can you do me a favor and locate it for me please I'll probably do something wrong like not knowing where to find it. And
Will it work with my phone? And then when you find it can you give me the exact commands I need in order to flash that Stock properly so I know that I didn't mess up I know im asking for a lot but can you please do that. I'd appreciate it thanks.
Click to expand...
Click to collapse
There are no commands, this is a cwm backup:
Clean Cricket Htc One SV Nandroid (2.04.1050.3)
Thanks
old.splatterhand said:
There are no commands, this is a cwm backup:
Clean Cricket Htc One SV Nandroid (2.04.1050.3)
Click to expand...
Click to collapse
Okay so what do I do. Do i just move the Nanadroid file and where on my Sd. I leave it in zip form right ?
Then using fastboot I go ahead and open up CWM? Will it work on any version of CWD? Thanks so much for getting that file for me and what do I do after its flashed? Like as from being to end what are the steps sorry for all the questions but thanks for everything.
Unzip it. Go into Clean JB Crkt 2.04.1050.3 folder and copy the clockworkmod to your external sd.
Then boot into cwm and choose restore and choose the backup.
old.splatterhand said:
Unzip it. Go into Clean JB Crkt 2.04.1050.3 folder and copy the clockworkmod to your external sd.
Then boot into cwm and choose restore and choose the backup.
Click to expand...
Click to collapse
Thanks I'll try that and will let you know what happens.
error
Noob17_Me said:
Thanks I'll try that and will let you know what happens.
Click to expand...
Click to collapse
Hey man I download that file but its not in zip its in Rar. so I just move the file on to my external sd out in the open not in a folder and I opened up my CWM from the install zip from sd card and that didn't work then I went to restore and it could find the file both times so how do I install it? Do I have to put it in a certain folder or something? It keeps saying no file found. Thanks
Don't copy the zip directly.
What you could do is make a backup, see where it is on your sd, replace it with the one from the zip and then restore that one.
So Noob17_Me, flash this rom from here.
old.splatterhand said:
So Noob17_Me, flash this rom from here.
Click to expand...
Click to collapse
Thanks for that. But I have a question is it exactly like the original one because I want it to be with the original stock so that i can re-lock my Bootloader and stuff? Is there some way to get that Rar. file to install on my phone? Sorry if im getting you angry or upset. Thanks for all your help
Yea but...
Matlevo12 said:
Don't copy the zip directly.
What you could do is make a backup, see where it is on your sd, replace it with the one from the zip and then restore that one.
Click to expand...
Click to collapse
Yea but what im trying to say is that the file I downloaded isn't in zip form. So how am I supposed to install it on CWM?
Sorry but what is so difficult to understand? The rar is not for flashing, its a cwm backup and if you unrar it you have a folder Clean JB Crkt 2.04.1050.3, inside you find a folder clockworkmod.
This clockworkmod folder you have to copy to SD, like it is and and boot into recovery and choose "restore".
And my zip is made from this backup, so it are the same files!

[SOLVED] TWRP backups: Delete failed

Hi
Despite several attempts with different file managers and TWRP versions I can't delete my TWRP backups. The only solutions I have is through the recovery mode or a terminal command (rm -rf /sdcard/...).
No issue to delete folders from other directories though.
Is this the same with new backups?
rootSU said:
Is this the same with new backups?
Click to expand...
Click to collapse
Yep
Primokorn said:
Yep
Click to expand...
Click to collapse
odd. i use root explorer, open twrps file, select backups, long press on the backup i want to delete, then press delete(and its gets deleted). what file explorer do you use?
Permissions look right.
Maybe TWRP is doing something funky. For example, if you bacakup your entire /sdcard via adb in recovery then push it back, you won't be able to make changes on /sdcard to any directory. Maybe TWRP is doing something when it backs up. Maybe try a few different versions of it?
rootSU said:
Permissions look right.
Maybe TWRP is doing something funky. For example, if you bacakup your entire /sdcard via adb in recovery then push it back, you won't be able to make changes on /sdcard to any directory. Maybe TWRP is doing something when it backs up. Maybe try a few different versions of it?
Click to expand...
Click to collapse
last night, i deleted my old backup and made a new one. yes, physically deleted using root explorer before i made a new backup.
simms22 said:
last night, i deleted my old backup and made a new one. yes, physically deleted using root explorer before i made a new backup.
Click to expand...
Click to collapse
I mean for @Primokorn not in general
Sent from my Nexus 5 using Tapatalk
@Primokorn try root explorer
I tried with root explorer, solid explorer and ES file. Nothing works with these apps.
Actually I already had this issue with old TWRP versions.
I manage my backups from the recovery mode now but that's really odd...
Maybe doing a new fastboot flash could fix it. Last time I had to use Flashify to upgrade because I didn't have a PC.
Then I'll try with adb if needed.
If all else fails, you could get what you want off the device and format the internal SD. Could be messed up.
KJ said:
If all else fails, you could get what you want off the device and format the internal SD. Could be messed up.
Click to expand...
Click to collapse
Yep. Better yet, flash a userdata.img I reckon
Problem solved after flashing userdata.img. Thanks guys.
I had tbis problem too after flashing NetHunter. I fixed it by deleting the directory using the file manager in TWRP
iliass01 said:
I had tbis problem too after flashing NetHunter. I fixed it by deleting the directory using the file manager in TWRP
Click to expand...
Click to collapse
It's too late for me to try but I keep this in mind. I took the opportunity to clean up my internal memory lol
BTW due to this issue ADB didn't work while being into recovery mode. Everything is fixed now.

Categories

Resources