[Q] /mnt/.lfs cleared - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Help, I have in my samsung galaxy y accidentally deleted the contents of /mnt/.lfs because I wanted to replace in logo.jpeg via android commander, but then when it was rejected, the whole content has been deleted.
Now I do not dare turn off my galaxy y.
(luckily I still have a backup on my computer from the content)
[Q] How can I restore the content without flash with odin / heimdall
Thanks in advance

superboom said:
Help, I have in my samsung galaxy y accidentally deleted the contents of /mnt/.lfs because I wanted to replace in logo.jpeg via android commander, but then when it was rejected, the whole content has been deleted.
Now I do not dare turn off my galaxy y.
(luckily I still have a backup on my computer from the content)
[Q] How can I restore the content without flash with odin / heimdall
Thanks in advance
Click to expand...
Click to collapse
you can try to push the contents from a custom or stock rom

deathnotice01 said:
you can try to push the contents from a custom or stock rom
Click to expand...
Click to collapse
i have a backup from content, but with root explorer with root i cant copy it (failed)

superboom said:
i have a backup from content, but with root explorer with root i cant copy it (failed)
Click to expand...
Click to collapse
try Android Debugging Bridge- adb push command,
or airdroid via wireless

@deathnotice: do you know what .lfs content is?

1. I can't with adb (doesnt know the mount command) (pessimisions denied)
2. I know the content, i've the backup on my mashine

kurotsugi said:
@deathnotice: do you know what .lfs content is?
Click to expand...
Click to collapse
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?

i was asking him...not you
his advice are lil bit vague. it seems that he didn't know what is it. well...no one ever messed up their .lfs partition before. no one could help you with any workin advices. as far as I know the partition is non-modifiable. is it the content gone or the lfs folder gone?
EDIT:
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?
Click to expand...
Click to collapse
if you already know what it is, then you should remember that part was stored inside the kernel ramdisk and cannot modified by any means except kernel customization. sorry, but it's a lil bit unpleasant to see such random advice like above one.

kurotsugi said:
i was asking him...not you
his advice are lil bit vague. it seems that he didn't know what is it. well...no one ever messed up their .lfs partition before. no one could help you with any workin advices. as far as I know the partition is non-modifiable. is it the content gone or the lfs folder gone?
EDIT:
if you already know what it is, then you should remember that part was stored inside the kernel ramdisk and cannot modified by any means except kernel customization. sorry, but it's a lil bit unpleasant to see such random advice like above one.
Click to expand...
Click to collapse
sorry but my knowledge in linux based systems is limited,
and how can a partition which enables deletion of files not able to restore files in the same partition,
at least that's what i know,
can a installation of a kernel work?
out of something random i think LFS means linux-from-scratch?

deathnotice01 said:
correct me if im wrong but based in my observations,
it is the bootscreen or recovery?
Click to expand...
Click to collapse
bootscreen
EDIT:
Airdroid says the .lfs folder is gone...
Root explorer lite says, the content is gone but it says it modifited on Jan 01, 1970 01:00:00 AM (Y2K bug?)
EDIT2: Can I entry the Download mode when the jigusb_dl_flag was in .lfs?

well...if we didn't have the knowledge to answer a question, it will be better if we didn't answer that. or else, he will confused by our answer or make us looks stupid. honestly, I didn't even know what lfs partition is. it seems that you know it better than me (lol).
back to the topic...I don't know what it is but lfs partition is locked and cannot modified without certain program. that's what they told to me about our device hidden partition. if the folder is gone, it could be simply accidentally unmounted. after reboot you'll get it again under /mnt

kurotsugi said:
well...if we didn't have the knowledge to answer a question, it will be better if we didn't answer that. or else, he will confused by our answer or make us looks stupid. honestly, I didn't even know what lfs partition is. it seems that you know it better than me (lol).
back to the topic...I don't know what it is but lfs partition is locked and cannot modified without certain program. that's what they told to me about our device hidden partition. if the folder is gone, it could be simply accidentally unmounted. after reboot you'll get it again under /mnt
Click to expand...
Click to collapse
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
THANKS!!
It works!!!

Reboot your phone. Then go to root explorer then it goes ba k because it is from kernel not frm phone.

Hello

When you try to modify that partition...all images will be gone....
As sir kurotsugi said its kernel issue....
Just reboot your phone you will see all the files again
You have to reboot your phone to see those files again
Globally recognised and certified NOOB

Simple answers..
Someone with knowledge on kernel hack that part and u already know who is the person..
Only change kernel or change hacking file with original (on kernel of course) can solve the problem..

Related

[Q] Extract single application from custom rom

hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
lamppu is a good LED torch. You need root to use it, look in market
TheGrammarFreak said:
lamppu is a good LED torch. You need root to use it, look in market
Click to expand...
Click to collapse
I have looked in market, but it doesnt seem to exist there. However, do you know anyway to extract the application as working APK file?
Any other LED torches that works with LEGEND?
*EDIT: well, I found it, its named Lamppu. but anyway it didnt work, although my phone is rooted! why is that?
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
omar.elhelw said:
hey,
I wanted to extract "Torch" application from "Azure" Rom and few other applications. as Torch is the only working app which did really enable the LED for HTC Legend.
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Thanks in advance!
Click to expand...
Click to collapse
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
XtremeHTM said:
Try Extended Controls, there is a Torch Widget which worked on my HTC Legend. (NOTE:Root access Required For this very Widget)
Click to expand...
Click to collapse
I already tried using Lamppu, but it didnt work on my rooted phone!
Have any idea what might be the reason?
----
whitetigerdk said:
If you find a ROM that has both .apx and .odex in the app-folder you will not get it to work by only extracting the .apk file.. You need both of the files in order to include them in another ROM..
Click to expand...
Click to collapse
That makes sense...but who would I merge the .apk and .obex together to be in one .apk file so I can install it?
Or maybe you know some way I can install these files?
Help would be really appreciated.
----
robto said:
Use a backup program like Titanium backup or MyBackup pro: they will extract for you.
Click to expand...
Click to collapse
You mean like after loading the custom ROM, I backup the application I want then restore them after I load the custom I want?!
This is just long process of backing up your data then load custom rom, then back to the old rom, then root then restore...
I thought there might be easier and shorter ways?!
Any help would be appreciated. Gracias!
Anyone to help?????
try the kitchen method.
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
I actually opened the ZIP package to path \azure-1.0.1.zip\system\app where the applications are stored, every app comes in APK and OBEX files. I extracted few APKS, non of them worked.
I am seeking some help for extracting the application from the ROM.
Click to expand...
Click to collapse
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
TheGrammarFreak said:
Scout around in the .zip to find the package you want, copy the .apk to your ADB directory and then, with the phone plugged in:
Code:
adb install [I]path-to-package[/I].apk
To be honest you've answered your own question. What you've done is the easiest way to pull an app from a ROM. So if your issue is something else it may be an idea to re-write your question (again, I know. Sorry).
I also apologise for mis-interpreting your question the first time 'round. I hope my help in this post is better.
Click to expand...
Click to collapse
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
omar.elhelw said:
Your help so much appreciated mate!
Well, the last conclusion I got to is, the .apk and .obex files are actually one file but they were divided to 2 files just to make them work better, so if you take the .apk file only it wont work as it will be missing the other .obex file.
Anyway, I am also guessing there is a way to merge the 2 files back, I read a little about "de-odex" but I couldnt really get the best help I could get. I will post the solution once I get to it.
Thanks again for your help mate!
Click to expand...
Click to collapse
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
whitetigerdk said:
You will have to use the kitchen do deodex the files.. Search the entire forum for "Chefs Central"
Click to expand...
Click to collapse
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
omar.elhelw said:
I tried the "de-odexing" method of the Android Kitchen, but it didnt seem to be working fine. Error message of "There is a problem prasing the package." ???
Click to expand...
Click to collapse
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
TheGrammarFreak said:
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
I know it's a pain, but de-odexing the whole rom might help. Unless you already did this, in which case something is wrong with your download I imagine.
Swyped from my HTC Legend
Click to expand...
Click to collapse
I havent tried deodexing the whole rom actually. I will certainly do this and try.
I have another question to you though, from where can i get Swype? lol
Click to expand...
Click to collapse
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
TheGrammarFreak said:
Search, I might post the link when I'm home. Swype HVGA
Swyped from my HTC Legend
Click to expand...
Click to collapse
Thanks!
heres the DL link
http://goo.gl/xKSk

Changing boot animation on stock rom

I made my own boot animation, but cannot seem to find where to put it, and I can't get access to /data/cust/media. Has anyone successfully changed their boot animation? I'm running U8800-51 stock rom with Android 2.2.2. Also any help with installing custom roms/a higher Android version with 3g would be appreciated. Thank you!
Uhm its stored as bootanimation.zip & bootanimationex.zip in /curst/hw/default/media/ but ive tryed serval times to make it change my self but something is blocking my permissions to do it... anyone please help us
arnemw said:
Uhm its stored as bootanimation.zip & bootanimationex.zip in /curst/hw/default/media/ but ive tryed serval times to make it change my self but something is blocking my permissions to do it... anyone please help us
Click to expand...
Click to collapse
/cust is a spool. It's a virtual folder created from cust.img and cannot be modified without modifying cust.img. Check the marketplace for an application that does just that. I believe that there are several.

Kitkat partition files

I was wondering if anyone has been able to pull the partition files for kitkat? I ask because I've seen people get their phone stuck in fastboot mode and being able to flash the proper image files will help fix their probs, however the only image files I know of are for JB. I would do it myself if I knew how....
simon_lefisch said:
I was wondering if anyone has been able to pull the partition files for kitkat? I ask because I've seen people get their phone stuck in fastboot mode and being able to flash the proper image files will help fix their probs, however the only image files I know of are for JB. I would do it myself if I knew how....
Click to expand...
Click to collapse
what about http://forum.xda-developers.com/showthread.php?t=2600575 ?
6ril1 said:
what about http://forum.xda-developers.com/showthread.php?t=2600575 ?
Click to expand...
Click to collapse
Nice, I'll look into that later today. Thank you for the link [emoji106][emoji2]
6ril1 said:
what about http://forum.xda-developers.com/showthread.php?t=2600575 ?
Click to expand...
Click to collapse
simon_lefisch said:
Nice, I'll look into that later today. Thank you for the link [emoji106][emoji2]
Click to expand...
Click to collapse
even though that should work for getting stock partitions it doesn't give them to you in .img except for the system/userdata&cache partitions so you would only be able to fastboot flash those three partitions, all other partitions are in .bin format and unless there is a way to convert them to .img(I haven't found a working method yet) than they won't work
XxZombiePikachu said:
even though that should work for getting stock partitions it doesn't give them to you in .img except for the system/userdata&cache partitions so you would only be able to fastboot flash those three partitions, all other partitions are in .bin format and unless there is a way to convert them to .img(I haven't found a working method yet) than they won't work
Click to expand...
Click to collapse
Hmm....interesting. I did not know that. Maybe I'll ask one of the devs and see if they have a solution to that. Thanks for the tip.
simon_lefisch said:
Hmm....interesting. I did not know that. Maybe I'll ask one of the devs and see if they have a solution to that. Thanks for the tip.
Click to expand...
Click to collapse
yea unless you had used the tool before(I use it quite often) its not information available to public, if you figure something out keep us posted
XxZombiePikachu said:
even though that should work for getting stock partitions it doesn't give them to you in .img except for the system/userdata&cache partitions so you would only be able to fastboot flash those three partitions, all other partitions are in .bin format and unless there is a way to convert them to .img(I haven't found a working method yet) than they won't work
Click to expand...
Click to collapse
Sorry fot the noob question but renaming them with img ext doesn't work ?
http://forum.xda-developers.com/showpost.php?p=52391245&postcount=35
6ril1 said:
Sorry fot the noob question but renaming them with img ext doesn't work ?
http://forum.xda-developers.com/showpost.php?p=52391245&postcount=35
Click to expand...
Click to collapse
never actually tried, but it could work(if bender says it does than it should) somebody would just need to test that theory with all the partitions, but it still doesn't allow me to explore the persist.bin renamed to .img(that contains the rct check I want to do some test with it)
XxZombiePikachu said:
yea unless you had used the tool before(I use it quite often) its not information available to public, if you figure something out keep us posted
Click to expand...
Click to collapse
So I was able to pull all the partitions for the Verizon variant (VS980). They are currently in in .bin format. Not sure if I should change them to .img tho. Haven't tested any of the files yet so on looking to see if anyone is brave enough to try lol.
simon_lefisch said:
So I was able to pull all the partitions for the Verizon variant (VS980). They are currently in in .bin format. Not sure if I should change them to .img tho. Haven't tested any of the files yet so on looking to see if anyone is brave enough to try lol.
Click to expand...
Click to collapse
Using the tool mentioned earlier you can get the system into a .img, so that you an tinker with it/I already tried with the persist.bin and rename to persist.img worked but I haven't tested anything else since I've been working on other things, otherwise anything you need to know let me know and I can test on my side
Sent from my potato d800
XxZombiePikachu said:
Using the tool mentioned earlier you can get the system into a .img, so that you an tinker with it/I already tried with the persist.bin and rename to persist.img worked but I haven't tested anything else since I've been working on other things, otherwise anything you need to know let me know and I can test on my side
Sent from my potato d800
Click to expand...
Click to collapse
Actually I messaged bender and he said I only have to change it from .bin to .img. No tool needed.

delete

This thread is closed. Google it
odd, once I did downgrade once I never had to download the package again as it is stored locally until I delete it. The recovery tool picks up the stored rom and flashes it without downloading.
Here All Guy's are clever, so they uses their own mind and their own step's.
and the steps they uses that is more simple than you described here.
Why you don't go to settings menu in Recovery Tool ?
Why you don't define your "Custom Package" Folder.
Even you don't have copy any large content into any directory.
Like,
C:\ProgramData\ Etc Etc It's very complicated to backup your Image Files.
Mean, Assume I've more than 10 device and i want to place my ROM files on different Drive for backup purpose.
I.e "D:\ROMS\RM-xyz
Cheers..
derausgewanderte said:
odd, once I did downgrade once I never had to download the package again as it is stored locally until I delete it. The recovery tool picks up the stored rom and flashes it without downloading.
Click to expand...
Click to collapse
Bro its for ppl who flashes their os on their pc as well...you can backup the file's after they are downloaded from Ms recovery tool....
never mind..
djamol said:
Here All Guy's are clever, so they uses their own mind and their own step's.
and the steps they
Why you don't go to uses that is more simple than you described here.settings menu in Recovery Tool ?
Why you don't define your "Custom Package" Folder.
Even you don't have copy any large content into any directory.
Like,
C:\ProgramData\ Etc Etc It's very complicated to backup your Image Files.
Mean, Assume I've more than 10 device and i want to place my ROM files on different Drive for backup purpose.
I.e "D:\ROMS\RM-xyz
Cheers..
Click to expand...
Click to collapse
never mind it.......i am new to xda....nd all these things which you have been doing so far.....there are mistakes in every man....just learning from them....nd by the way how to open settings menu in recovery tool????
And this tutorial is for beginners.....who are frustrated like me after downloading gb's of files from navifirm....
And thnxx ....just updated tutorial with Note and easier instructions..for beginners..
Hritwik said:
never mind it.......i am new to xda....nd all these things which you have been doing so far.....there are mistakes in every man....just learning from them....nd by the way how to open settings menu in recovery tool????
And this tutorial is for beginners.....who are frustrated like me after downloading gb's of files from navifirm....
And thnxx ....just updated tutorial with Note and easier instructions..for beginners..
Click to expand...
Click to collapse
see attached. either right click onto the open wp recovery tool or click the three dots....
You can define new paths for any device you got etc...
thnxxx
derausgewanderte said:
see attached. either right click onto the open wp recovery tool or click the three dots....
You can define new paths for any device you got etc...
Click to expand...
Click to collapse
thnxx.... will just update tutorial......i just cant even notice a single simple thing like that.....:good::good::good:
djamol said:
Here All Guy's are clever, so they uses their own mind and their own step's.
and the steps they uses that is more simple than you described here.
Why you don't go to settings menu in Recovery Tool ?
Why you don't define your "Custom Package" Folder.
Even you don't have copy any large content into any directory.
Like,
C:\ProgramData\ Etc Etc It's very complicated to backup your Image Files.
Mean, Assume I've more than 10 device and i want to place my ROM files on different Drive for backup purpose.
I.e "D:\ROMS\RM-xyz
Cheers..
Click to expand...
Click to collapse
And @djamol ...do you know about any device specific thing that every app reads on wp...like first is rm no. which can be changed with your registry hack...but is there anything like google android ID in android .....which can be changed and every app reads that....???
I tried to install via WDRT.. set the location for custom package also. But it won't show the package available on disk. It only says package available on server.
What should i do ?
will it install directly by what is on Rm-xxx folder ?
or I have to do anything else please tell me.
suks said:
I tried to install via WDRT.. set the location for custom package also. But it won't show the package available on disk. It only says package available on server.
What should i do ?
will it install directly by what is on Rm-xxx folder ?
or I have to do anything else please tell me.
Click to expand...
Click to collapse
you need to use Nokia Care Suite 5 and higher to accomplish flashing.
edit: ok, ignore this. just see the next post for a good tutorial.
Hi @derausgewanderte,
Nokia Care Suite has become obsolete. Use rather Thor2.
Best regards,
DilanChd said:
Hi @derausgewanderte,
Nokia Care Suite has become obsolete. Use rather Thor2.
Best regards,
Click to expand...
Click to collapse
... Really ?
thanks Dilan!

[Q] What is /data/data/com.android.providers.downloads?

What is /data/data/com.android.providers.downloads?
My /data/data/com.android.providers.downloads/cache directory is 3.4GB, which is a major chunk of my internal storage, which is down to around ~768MB. Can I safely delete the contents of /data/data/com.android.providers.downloads/cache?
I have so little internal storage that I can't complete app updates without going in and manually cleaning up cruft. And yes, I've moved apps to external storage and am saving photos and movies on it as well.
My thanks to those who take the time to help me with this.
C'mon folks. 74 views and no one has any advice?
Please, help me with this.
Fat Rat Bastard said:
C'mon folks. 74 views and no one has any advice?
Please, help me with this.
Click to expand...
Click to collapse
Just checked and I don't have this file! So can't really give any advice ... sorry!
robmeik said:
Just checked and I don't have this file! So can't really give any advice ... sorry!
Click to expand...
Click to collapse
Thank you for the reply!
On my phone I can't see this directory with my filesystem GUI of choice, X-Plore File Manager, but it's accessible from a terminal. which is how I discovered it was filled with over 3GB of cruft. I'm about ready to just clean the cache dir in that path and see what happens. :silly:
Answered
So, tired of waiting for input (except for you, robmeik. Thanks!) I decided to just clear the /data/data/com.android.providers.downloads/cache directory an pray it is just what it appears to be, a temp directory. Turns out, yes, that is all it is. I deleted the files and have suffered no deleterious effects.
Hi, Fat Rat Bastard. So sorry no one replied to you because I have the same issue. What happened when you deleted those large files? Did you android device even notice them missing?
-Ileana
help me too here
can you help me here in the same case . I wanted to ask that did you accessed the said flder and deleted it? as for me I am unable to locate it. Can you please tell me how to access the folder data/user/0/com.android.providers.downloads/cache . As I downloaded some stuff via the google app and it is now showing up anywhere else.
anonVJ said:
can you help me here in the same case . I wanted to ask that did you accessed the said flder and deleted it? as for me I am unable to locate it. Can you please tell me how to access the folder data/user/0/com.android.providers.downloads/cache . As I downloaded some stuff via the google app and it is now showing up anywhere else.
Click to expand...
Click to collapse
You need a rooted phone and a root capable file manager to access that folder, android 101
Free: https://forum.xda-developers.com/showthread.php?t=1523691

Categories

Resources