why wont twrp see my backups??? :( - Sprint HTC One (M7)

Ok I allways keep 2 good backups.. i flashed a aosp rom last nite which i dont really like just to try it out.. backed up my sense rom like always now today i go into recovery to wipe and restore my backup and twrp wont find the backups.. i kno they are there cause i can hit install and i see the folder and i can go into it.. everythings fine.. this sucks so bad man!! whats the deal with twrp anyone ever have this problem? O SNAP! sorry im a big dummy i just tried to mount internal storege and it works now.. sorry never had that happen before.. i was going nuts! thanks

P.Mobile said:
Ok I allways keep 2 good backups.. i flashed a aosp rom last nite which i dont really like just to try it out.. backed up my sense rom like always now today i go into recovery to wipe and restore my backup and twrp wont find the backups.. i kno they are there cause i can hit install and i see the folder and i can go into it.. everythings fine.. this sucks so bad man!! whats the deal with twrp anyone ever have this problem? O SNAP! sorry im a big dummy i just tried to mount internal storege and it works now.. sorry never had that happen before.. i was going nuts! thanks
Click to expand...
Click to collapse
just out of curiosity what version of TWRP do you run?

adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP

weird now when i use root explorer i have 2 storages?? when i plug my phone into my laptop i have a bunch of folders one new folders thats named 0 and thats where my other storage is at?? i dont get it.. it was never like this before... im on twrp 2.5.0.0.. this sux! i dont kno what the heck happend?

Indirect said:
adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP
Click to expand...
Click to collapse
what is that?

P.Mobile said:
what is that?
Click to expand...
Click to collapse
It'll let your backups be seen? I thought that was what your thread was for.

Indirect said:
It'll let your backups be seen? I thought that was what your thread was for.
Click to expand...
Click to collapse
Yea it is but I wrote I figured how to get to my backups in the end of my post.. now my storage is messed up look.. I have to go into this then in that 0 folder to get to my stuff.. it wasn't like this before very odd I'll post screen shots
Sent from my HTCONE using Tapatalk 2

Sent from my HTCONE using Tapatalk 2

Now I go into my storage which is now them 3-4 folders and my old storage in that 0 folder
Sent from my HTCONE using Tapatalk 2

Yup flashing an asop Rom changes the file structure.
Sent from my HTCONE using xda app-developers app

Konfuzion said:
Yup flashing an asop Rom changes the file structure.
Sent from my HTCONE using xda app-developers app
Click to expand...
Click to collapse
dam no way to fix it back to normal now huh?

P.Mobile said:
dam no way to fix it back to normal now huh?
Click to expand...
Click to collapse
There is if you search.
http://forum.xda-developers.com/showthread.php?t=2321685&highlight=aosp+sense

Indirect said:
adb shell
rm -r /data/media/0/TWRP
ln -s /data/media/TWRP /data/media/0/TWRP
Click to expand...
Click to collapse
Just ran into this problem after being stuck in a boot loop. Working on a new Rom. Went from 4.1.2 to 4.2.2 so the file structure changes. Thought I was screwed but this worked perfect. Thanks

Rirere said:
There is if you search.
http://forum.xda-developers.com/showthread.php?t=2321685&highlight=aosp+sense
Click to expand...
Click to collapse
i only been coming on here for a few years i dont search first.. next time ill try that

Related

push hero widget

Hi I running a version of hero that runs very smooth on my g1 but the only flaw is that the contact widget isn't working ...does some1 know how I can push a working 1 thru thru terminal.....for instance. I dloaded another rom took the contact widget apk out of it & placed it to the root of my sd how can I install from there.....
I tried all of the app installers but they just say they cannot install
Thanx in Advance!!
Dam no 1,.....
mccurt29 said:
Dam no 1,.....
Click to expand...
Click to collapse
you can just adb push to /system/sd/app_s/
double post
palosjr said:
you can just adb push to /system/sd/app_s/
Click to expand...
Click to collapse
So it would be
Adb install /system/sd/app_s/nameofapp.apk
Or
Adb push /system/sd/app_s/nameofapp.apk
if it's on your sdcard, go to the terminal and type
cp /sdcard/blahblah.apk /system/sd/app_s
AdrianK said:
if it's on your sdcard, go to the terminal and type
cp /sdcard/blahblah.apk /system/sd/app_s
Click to expand...
Click to collapse
Thanx ths worked
mccurt29 said:
Thanx ths worked
Click to expand...
Click to collapse
glad you got it figured out, and for anyone else that may read this later, it would have been
Code:
adb push nameoffile.apk /system/sd/app_s/

{UTIL}( Vibrant )Enable Adb Push / Pull

We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries, I tried Pushing File's & forgot adb push didn't work...
Now this Script originally is what I made for the Behold 2, but the Basic still works For the SGV..
Just mod the script if your using the userinit.sh
Using this script you can place the userinit.sh any place you would Like...
I hope ever gets Good use out of this & Please Enjoy!
~Eugene
Download > adbpushGS1.zip
Installing*
Reboot to recovery, run the update.zip to run ClockworkMod Recovery, then installed the ZIP..
eugene373 said:
We had are First Sleepless Night with the New baby Boy.... Between Trying Figure out what was Wrong & taking turns with the Wife Holding Aries.
Click to expand...
Click to collapse
Glad mine is now past that stage! lol
Thanks for the script.
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
rhcp0112345 said:
Anyone test this with the init script + this?
Sorry for double doubting again ) But i just want confirmation.
Also, Some of us are still having force close and other issues with the init sript. Just FYI.
Click to expand...
Click to collapse
FYI, I don't have nor Run the inituser.sh, so FC IDK... doubting People Gets Old ( Mainly when you state it )..
I will never Release Something that Don't work &/or would brick a Device!
Script Does work, I'm leaving up to the User to add back in support for userinit.sh though.
~Eugene
Word. so ill wait till someone tests this with the userinit
I think it has something to do with davik cache. I have to figure out a way to clear all cache without wiping. I dont want to go through all that non-sense.
Great work though. *Hats off*
Thank's Eugene for all your hard work,your the sh**
Hey eugene you think your battery hack will work on the vibrant?
sent using my xda app
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
anomalous3 said:
this won't work with the userinit because it replaces the same file as the userinit. Now it could easily be modified to do both.....
Click to expand...
Click to collapse
That's what I said
Just mod the script if your using the userinit.sh
Click to expand...
Click to collapse
eugene373 said:
That's what I said
Click to expand...
Click to collapse
This is what happens when I don't read the whole thread
anomalous3 said:
This is what happens when I don't read the whole thread
Click to expand...
Click to collapse
np
Honestly you could just add the script from userinit.sh inside of the script, or the other way around & should still work fine.
Question, I would like to do as you said. Just add to the userinit
Is the problem just having the system/data mounted? It seems thats all your script does. If so, I can just use a widget to unmount/mount as i go. and not bother to have my system/data mounted all the time Please let me know.
Thanks!
Nicely done! I appreciate the work, I was hoping someone figured out a way to do adb push.. xda to the rescue again
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
fit333 said:
hi, somewhat n00bie-ish (sorry) but what could
..deamon started.. "remount failed: no such file in directory"
in command prompt after i enter "adb remount" mean??
Click to expand...
Click to collapse
Am having the exact same problem, with a Samsung spica (i5700) though. Any ideas?
adb remount is not needed with my script.. system / rootfs is already mount via the script.
shameless bump
so I can find this easier... I wish our Moderator would get on his job...
thanks for your work eugene..

[Q] ginger bread keyboard!

Hello everyone. Last nite I installed that gingerbread keyboard on my nexus and im not really liking it and there's no options to revert back to the original keyboard plz help. Thank u all!
Nexus 1 running cm 6.1 rooted.
Restore your nandroid...
Sent from my Nexus One using XDA App
Hi danger rat. Im alittle new at this. How do I do that. And if I do what else will I lose?
Is there an original keyboard apk that I can just install?
Very much appreciated
If you don't know how to restore a backup, you probably didn't make one...
The keyboard has more than just the apk to it, so it's a bit more complicated than just switching the old apk back...
Ask in the keyboard thread, because I'm sure you're not the only one.
Sent from my Nexus One using XDA App
xxkhbxx said:
Hi danger rat. Im alittle new at this. How do I do that. And if I do what else will I lose?
Is there an original keyboard apk that I can just install?
Very much appreciated
Click to expand...
Click to collapse
reflash the rom that you are using. and, since you are kinda new to this, ALWAYS make a nandroid backup in recovery. one da it WILL save your ass
...or you can do that, too. xD
Might wanna back up your apps and settings first, with Titanium backup.
Sent from my Nexus One using XDA App
Or save time and flashing just adb push old latinime and the lib.so back in and reboot.
ilostchild said:
Or save time and flashing just adb push old latinime and the lib.so back in and reboot.
Click to expand...
Click to collapse
Hi ilostchild. How do I go about doing that. Thanks everyone!
If you got android sdk installed you can do it . But if you don't its best to titanium back up everything you need and reflash your current rom
You can also do it with Root Explorer, or Terminal Emulator...
Sent from my Nexus One using XDA App
danger-rat said:
You can also do it with Root Explorer, or Terminal Emulator...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
I was gonna say terminal but then I thought if he did it would probably fc soon as he did. Root explore would probably be the easiest way to go
I do have terminal and also sdk.
How would I go about it in terminal and or sdk? Thanks a bunch
Get a copy of your existing ROM.
Extract the following files:
LatinIME.apk
libjni_latinime.so
The apk goes in /system/app
The lib.so goes in /system/lib
You'll have to remove (rm) the existing files...
It will be far easier for you to do in Root Explorer.
Reboot when done.
Sent from my Nexus One using XDA App
Ok Sdk way
Adb shell
Su
#mount -o remount,rw /dev/block/mtd3block /system
#exit
Adb push latinime.apk /system/app
Then
Adb push lib.so /system/lib
Adb shell
Su
#reboot
And there you go got stock back..works both ways too if want to push gb kb
but to do this make sure Adb is in environment variable
If not gonna have to put all files in sdk folder where Adb is at
danger-rat said:
Get a copy of your existing ROM.
Extract the following files:
LatinIME.apk
libjni_latinime.so
The apk goes in /system/app
The lib.so goes in /system/lib
You'll have to remove (rm) the existing files...
It will be far easier for you to do in Root Explorer.
Reboot when done
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Not really have too when you push it overwrite existing but if yourself cautious then yea remove first then push. Root explore would be faster and easier
danger-rat said:
Restore your nandroid...
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Stupid question....
Surely re flashing CM6.1 would restore to stock so to speak?
(I took a nandroid so no worries if it would not )
Can't it be as easy as someone giving me a .zip of the stock nexus kb and installing it from recovery?
AndyClough said:
Stupid question....
Surely re flashing CM6.1 would restore to stock so to speak?
(I took a nandroid so no worries if it would not )
Click to expand...
Click to collapse
Yup
Sent from my Nexus One using XDA App
danger-rat said:
Get a copy of your existing ROM.
Extract the following files:
LatinIME.apk
libjni_latinime.so
The apk goes in /system/app
The lib.so goes in /system/lib
You'll have to remove (rm) the existing files...
It will be far easier for you to do in Root Explorer.
Reboot when done.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Cool ill try that.... but another stupid question.. when I do get the original rom do u mean cm 6.1 or the original rom? And if it is cm 6.1 how do I extract the files that I need. Thank you.
danger-rat said:
Yup
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
Indeed. Just tested that myself whilst having a break... Gotta reflash the kb now lol, I like it...

[Q] EFS folder gone

I have flashed my phone multiple times without any problems (as far as I know). And now I realised that the backup of the original /efs and /persist folders have been lost. So I want to back them up again, but I can't find them. They're not on the phone. I also can't find them in my original Nandroid backup I made of GB 2.3.6 (stock) prior to going to an ICS Rom.
But my IMEI number is showing up correct on the phone, so it must be somewhere, but where?
Any help would be greatly appreciated.
schnurrbidurr said:
I have flashed my phone multiple times without any problems (as far as I know). And now I realised that the backup of the original /efs and /persist folders have been lost. So I want to back them up again, but I can't find them. They're not on the phone. I also can't find them in my original Nandroid backup I made of GB 2.3.6 (stock) prior to going to an ICS Rom.
But my IMEI number is showing up correct on the phone, so it must be somewhere, but where?
Any help would be greatly appreciated.
Click to expand...
Click to collapse
use rooted file explorer n go to /efs
Sent from my GT-I9000 using xda app-developers app
I would, if I could, but the problem is, that I don't have a /efs folder on my phone. I did a search with root explorer...nada. But since my IMEI is currenly present and correct, it must be stored somewhere else, right? And that location is the one I'm trying to find.
I'm currently running Ehndroix III Rom on my SGS+.
use some app from gstore to backup efs from system. juz search for efs backup
Sent from my GT-I9000 using xda app-developers app
compacity said:
use some app from gstore to backup efs from system. juz search for efs backup
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the tip. I tried and failed
Andromizer (sp?) didn't even show the option for backing up the /efs folder and Nitrality claims it backed it up, but its backup directory is nowhere to be seen. Yes, I did google the default location and it says it's supposed to be something like /clockworkmod. I have TWRP, could that have something to do with it?
schnurrbidurr said:
Thanks for the tip. I tried and failed
Andromizer (sp?) didn't even show the option for backing up the /efs folder and Nitrality claims it backed it up, but its backup directory is nowhere to be seen. Yes, I did google the default location and it says it's supposed to be something like /clockworkmod. I have TWRP, could that have something to do with it?
Click to expand...
Click to collapse
nope,twrp backup usually in extsd. if /efs cannot be seen after already rooted, then its weird, naturally da folder doesnt have dot (.) in front of da name.try disabling hidden file in system using any rooted explorer
Sent from my GT-I9000 using xda app-developers app
compacity said:
nope,twrp backup usually in extsd. if /efs cannot be seen after already rooted, then its weird, naturally da folder doesnt have dot (.) in front of da name.try disabling hidden file in system using any rooted explorer
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I always have "show hidden folders" ticked. The weird thing is, I decided to have a look at DH's phone (same model, same rom) and again, no /efs folder. I wonder if it may be the rom? I'll be getting a new phone tomorrow, so once that's set up I'm going to return my current one to stock and see what happens.
schnurrbidurr said:
I always have "show hidden folders" ticked. The weird thing is, I decided to have a look at DH's phone (same model, same rom) and again, no /efs folder. I wonder if it may be the rom? I'll be getting a new phone tomorrow, so once that's set up I'm going to return my current one to stock and see what happens.
Click to expand...
Click to collapse
JUZ DO IT!
i also wanna know what will happen
Sent from my GT-I9000 using xda app-developers app
compacity said:
JUZ DO IT!
i also wanna know what will happen
Sent from my GT-I9000 using xda app-developers app
Click to expand...
Click to collapse
I will keep you posted. Promise
schnurrbidurr said:
I will keep you posted. Promise
Click to expand...
Click to collapse
Ok, I tried to reflash stock, but failed. I don't have the phone anymore and therefore can't report anything.
Read this..
http://forum.xda-developers.com/showthread.php?t=1841250
Sent from my GT-I9001 using xda premium
schnurrbidurr said:
Ok, I tried to reflash stock, but failed. I don't have the phone anymore and therefore can't report anything.
Click to expand...
Click to collapse
well, thanks for keeping ur promise mate
n sorry if i cant help u here
Sent from my GT-I9000 using xda premium
Ok. if imei is showing you can back it up with adb. use these commands.
Code:
adb shell su -c "dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.ext4 bs=4096"
adb shell su -c "dd if=/dev/block/mmcblk0p12 of=/sdcard/persist.ext4 bs=4096"
you will get a backup in sdcard.
jabrif said:
Ok. if imei is showing you can back it up with adb. use these commands.
Code:
adb shell su -c "dd if=/dev/block/mmcblk0p27 of=/sdcard/efs.ext4 bs=4096"
adb shell su -c "dd if=/dev/block/mmcblk0p12 of=/sdcard/persist.ext4 bs=4096"
you will get a backup in sdcard.
Click to expand...
Click to collapse
Is this method safe? I had never used adb before
Walentyn15 said:
Is this method safe? I had never used adb before
Click to expand...
Click to collapse
Yeah.. it is safe... I recommend it to use with i9001 only..

Running out of space.

Could I just format the SD in twrp and clean up all these excessive folders and lost space.
Sent from my HTC One using xda premium
Mr.Muscles said:
Could I just format the SD in twrp and clean up all these excessive folders and lost space.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
What you've just described is a recipe for disaster if you don't know what you're doing. You also haven't told us if you've got a lot of apps installed/movies/music, etc. If we have that information, we can probably help you more.
I'm using vanilla root box right now. I had a few movies before I flashed and now I can't find them. I had the viper ROM prior to the flash. I know that's where all my space is but when I'm looking for the files in root explorer i can't find it.
Sent from my HTC One using xda premium
Mr.Muscles said:
I'm using vanilla root box right now. I had a few movies before I flashed and now I can't find them. I had the viper ROM prior to the flash. I know that's where all my space is but when I'm looking for the files in root explorer i can't find it.
Sent from my HTC One using xda premium
Click to expand...
Click to collapse
If you dont need anything prior to your flashing of Root Box, navigate to /data/media in twrp and delete that. That is your old file system.
Sent from my HTCONE using xda app-developers app
Could be cache files as well. They build up quickly and you'd be surprised how much can be there over a month or so. I have deleted gigabytes worth before 0_o
Run this command from terminal emulator....
su
cd /sdcard/
find . -name "cache" -exec rm -rf {} \;
Hit enter after each line.
All your cache is gone from your SD card now.
Thanks so much guys. Back to where it should be now.
Sent from my HTCONE using xda premium
Admiral Sir Manley Power said:
Could be cache files as well. They build up quickly and you'd be surprised how much can be there over a month or so. I have deleted gigabytes worth before 0_o
Run this command from terminal emulator....
su
cd /sdcard/
find . -name "cache" -exec rm -rf {} \;
Hit enter after each line.
All your cache is gone from your SD card now.
Click to expand...
Click to collapse
Tried that. Says there is no -rf directory.
Sent from my HTC One using xda premium
Typo on my part my bad. Take out the r in rf
Admiral Sir Manley Power said:
Typo on my part my bad. Take out the r in rf
Click to expand...
Click to collapse
Says the same thing.
"rm failed for -f, no such file or directory"
Does that mean no cache? Lol.
Sent from my HTC One using xda premium
The mistake is likely the call out to /sdcard/
Verify the path exists...
They are case sensitive
Lmao....EDIT***
put your file path in {}
So... {/sdcard/} for example
If that doesn't work.... Well, watch your thumbs, do it again.
Admiral Sir Manley Power said:
The mistake is likely the call out to /sdcard/
Verify the path exists...
They are case sensitive
Lmao....EDIT***
put your file path in {}
So... {/sdcard/} for example
If that doesn't work.... Well, watch your thumbs, do it again.
Click to expand...
Click to collapse
So...
find . -name "cache" -exec rm -f {/sdcard} \;
Still said the same thing.
Sent from my HTC One using xda premium
At this point I'm pretty sure you're typing something wrong
Admiral Sir Manley Power said:
At this point I'm pretty sure you're typing something wrong
Click to expand...
Click to collapse
Copied it right from that post.
Sent from my HTC One using xda premium
So nothing?
Sent from my HTC One using xda premium
Honestly not sure bro. Something isn't right there but I ran it.... Worked
Admiral Sir Manley Power said:
Honestly not sure bro. Something isn't right there but I ran it.... Worked
Click to expand...
Click to collapse
Yea doesn't work at all.
Sent from my HTC One using xda premium
k get rid of the -f
Admiral Sir Manley Power said:
k get rid of the -f
Click to expand...
Click to collapse
find . -name "cache" -exec rm {/sdcard} \;
Says {/sdcard} isn't a directory. If I do it like this...
find . -name "cache" -exec rm /sdcard \;
Then it asks for the exec command.
Sent from my HTC One using xda premium

Categories

Resources