Directory structure of Froyo 2.2 OTA - Droid X General

Hello all,
While messing around I found a folder on the root of the phone named "root". Is this supposed to be there in a stock setup? If anyone could provide the directory structure of a fresh 2.2 OTA flash I would really appreciate it.
I'm ultimately looking for any differences in a rooted and stock directory structure. I'm trying to avoid an unnecessary flash, was hoping somebody had it handy.
Sent from my DROIDX using Tapatalk

Even if you only answer the question of the" root" folder at the root of the phone file structure. I really appreciate it.
Sent from my DROIDX using Tapatalk

That is always there...has nothing to do with rooting the phone...

Related

File permissions for system/app? Please read!

I've been going crazy trying to get DI07 on this thing. Out of a bonehead move of trying to save some space pre-update, I've managed to delete my SprintZone.apk from system/app. Needless to say, my update stalled because it required the apk to be there for everything to go as planned.
I've gone as far as hard resetting the phone just to get the over the air prompt back... and nothing.
I've read threads about how to attain the update manually and have my update.zip in the proper placement for recovery.
I also have my needed sprint apk ready... though even though i have the application installed, it still gives me a discrepancy when i run the update.
I've read that it must be in a very specific directory in order for the process to work. As far as I've read, everything points to system/app.
I've become so frustrated that it's pushed me to root the device and purchase root explorer from the market.... so there's only one thing left to do right? Just copy over the file?
The thing is.. I'm not able to copy anything over because as far as its told me, its a read only directory.
I've fiddled with permissions, but even then, they revert back to normal.
Is there any possible way i can copy my sprintzone.apk over to that directory? Preferably without the need for a computer?
Any kind of input or guidance would be much appreciated.
Thank you for reading.
Sent from my SPH-D700 using Tapatalk
What file browser are you using? Root explorer may work
Sent from my SPH-D700 using XDA App

Finding Droid X bloatware files

Hey I have 2.2.1 Android version and 2.3.340 Sytem version on my Droid X and I need some help. When I first rooted my X I very quickly uninstalled all the bloatware that I didn't want bc I didn't know that you could just keep it and rename it. Now I have Root Explorer and I have the capability of renaming files, but I'm missing a TON of bloatware. Do any of you guys have link directing me towards a place where I can download those missing files? Thanks!
Sent from my DROIDX using XDA App
Did you make a backup before you. Started your install spree
Sent from my DROIDX using XDA App
Unfortunately, no. I'd already uninstalled a few apps before I made my first backup. Yeah, I know....stupid, right? Lol.
Sent from my DROIDX using XDA App
Lol I'm pretty new at all this but I'm sure you could find a stock rom and flash it on your dx. Search around. I'm sure your not the only
One whose done this. If not you can get the apks for em
Sent from my DROIDX using XDA App
I sent you a PM like 5 minutes after you posted this...
Check it?
Yes I recieved the pm. Thanks for the help!
Sent from my DROIDX using XDA App
Okay, so I've got the file now that has all the stock droid x apps on it. I tried to copy and paste the apps from my sd card to system/apps. Unfortunately that crashed my phone and I had to flash back to my backup ROM. What did I do wrong?
Sent from my DROIDX using XDA App
mj23kb08 said:
Okay, so I've got the file now that has all the stock droid x apps on it. I tried to copy and paste the apps from my sd card to system/apps. Unfortunately that crashed my phone and I had to flash back to my backup ROM. What did I do wrong?
Sent from my DROIDX using XDA App
Click to expand...
Click to collapse
you cant just copy the files over.
you need the apk and the odex files
then you need to change the permissions to rw-r-r and install it
then you need to reboot
i would SBF and start over renaming them to bak or try a custom ROM thats 10x better than stock like apex, darkslide or if you prefer ASOP then Liberty.
You'll have to excuse my ignorance, but what's sbf? Lol.
Sent from my DROIDX using XDA App
Oh, and after reading your helpful info on changing the permissions I still wasn't able to install some of the files. So, a few questions:
#1- What folder do I need the files to be in before I try to install the apps?
#2- Do the still end up in /system/app like all my other apps once I install them?
#3- Why would an app like for instance "friendfeed.apk" say "Aplication not installed" after I click on "install"? Bc that's what a lot of my apps are saying when I try to install them.
Please help! I'd rather install each of these apps 1 by 1, THEN rename them, instead of completely returning my phone to stock, customizing it (ringtones, apps, wallapapers), THEN rooting it again, installing the rest of the apps that I can't run without Superuser access, and THEN renaming all those files. Ugh, this is a pain in the butt. Please give me step by step instructions on how to do this (move "x" file and "y" file to folder "z", etc....). I'm a noob at this so I need it basic. Thanks!
Back up your contacts to your Google account and return your phone to stock. All your apps can be redownloaded from the "my apps" section of the market once you sign in w/ your Google account. Your contacts will also be resynced. It's a piece of cake. And rooting with z4root is so, so, so, easy.
Sent from my DROIDX using XDA App
Ugh....I was trying to avoid returning it to stock. I've got all my ringtones and stuff customized. Is there no way to leave my phone as is and just put the files back on there?
Also, would just doing a factory data reset put all the stock apps back on there? Or do I have to do more?
Sent from my DROIDX using XDA App

[HIGH PRIORITY announcement] anyone flashing roms

Mods please make this sticky.
Before anyone flashes any custom rom further, be sure to back up your
/efs folder somewhere on your PC.
The /efs folder is a hidden folder. You wont be able to see it using a usual file explorer e.g astro. You will need to be root to do so using root explorer for e.g.
This is something found sticky in the galaxy s forums and unfortunately for some of us it is coming too late.
The backup might come handy anytime if ever you mess up your own with custom rom flashing.
Thanks
Edit: just for you to understand the situation, by messing up i mean where product code and imei of the phone gets changed to a fail-safe one and even nandroid backups are of no help.
What exactly is in /efs that we need to back up?
I actually have already flashed one rom and after that I could not make or receive phone calls. I ended up calling Sprint and after about an hour of tinkering on their end they got it working. Would this be due to something missing in the /efs folder?
Everything concerning ur hardware info in short. Bluetooth, mac number, imei, ....
Many of us have got this tampeted with and unfortunately we had no clue it was something important( despite numerous threads in the i9000 forums warning users of this and nobody had backups) ,
there is no fix yet.
Check the nexussense forum for more details.
But do make a backup please.
After that whole incident I downloaded Samsung's Reflash tool and restored my phone back to stock.
Since then I have reflashed a custom kernel, but so far all is well. What exactly should be in the /efs folder as far as files.
My /efs folder has
Code:
imei>bt.txt
uart_path
bluetooth>bt_addr
nv.log
lost+found
Could you tell me if I am missing anything. I checked my MEID by typing *#06# and it matches what I have on the box.
EDIT: the bt.txt file int he imei folder does not have my MEID in it. Is it suppose to be in there?
I just copied and pasted a back up using root explorer to my sd card. I am on miui NS4G when doing this should I be on a stock rom?
Sent from my Nexus S 4G using XDA Premium App
seekis said:
After that whole incident I downloaded Samsung's Reflash tool and restored my phone back to stock.
Since then I have reflashed a custom kernel, but so far all is well. What exactly should be in the /efs folder as far as files.
My /efs folder has
Code:
imei>bt.txt
uart_path
bluetooth>bt_addr
nv.log
lost+found
Could you tell me if I am missing anything. I checked my MEID by typing *#06# and it matches what I have on the box.
EDIT: the bt.txt file int he imei folder does not have my MEID in it. Is it suppose to be in there?
Click to expand...
Click to collapse
Did you have a backup? Also where on samsung's site is and how to use it please? And is there one that will work on nexus s?
Sent from my Nexus S using Tapatalk
Isnt this something that only gets messed with if you use someone elses Nandroid?
A custom rom doesnt normally mess with that folder, i thought...
Anyway, i have a Nandroid of my phone from before i flashed anything to it, so i assume im covered with that.
Can the OP please post a method to do the back up before making it a sticky tab?
Pointless to make it sticky and we still had to find the way to back up ourself. LOL
window7 said:
Can the OP please post a method to do the back up before making it a sticky tab?
Pointless to make it sticky and we still had to find the way to back up ourself. LOL
Click to expand...
Click to collapse
Agree even though it is pretty easy with Root Explorer. Just go to the root of the phone and find the folder called "efs". Long press the folder and choose copy. Go to the "sdcard" and paste it. I also suggest connecting your phone to your computer and save the "efs" folder to your computer somewhere you'll be able to find it.
An alternative to root explorer, you can use IO file manager (I think it works)/
From this thread ADB is also very easy.
Open a terminal emulator or ADB on your computer and type
su
busybox cp -a /efs /sdcard/
back up the file on your computer and you're done
AshsToAshs said:
Isnt this something that only gets messed with if you use someone elses Nandroid?
A custom rom doesnt normally mess with that folder, i thought...
Anyway, i have a Nandroid of my phone from before i flashed anything to it, so i assume im covered with that.
Click to expand...
Click to collapse
Nandroid doesn't touch this folder, it seems. Best to make a backup on your own to be safe.
Zehlek said:
Did you have a backup? Also where on samsung's site is and how to use it please? And is there one that will work on nexus s?
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
I did not have a previous back up. I pulled mine from my phone with adb. I have no idea about your other questions.
window7 said:
Can the OP please post a method to do the back up before making it a sticky tab?
Pointless to make it sticky and we still had to find the way to back up ourself. LOL
Click to expand...
Click to collapse
If you already have adb, just do this:
Code:
adb pull /efs
seekis said:
I did not have a previous back up. I pulled mine from my phone with adb. I have no idea about your other questions.
Click to expand...
Click to collapse
You said you used Samsung reflash tool. I was wondering where I can download it and how to use it
Sent from my Nexus S using Tapatalk
seekis said:
If you already have adb, just do this:
Code:
adb pull /efs
Click to expand...
Click to collapse
I already flashed sense 0.3 and didn't backup
Sent from my Nexus S using Tapatalk
im still trying to figure out what exactly is getting messed with as the OP did not describe why we needed to back up this folder and or what could be messed up if we don't.
Any info would be great.
Zehlek said:
I already flashed sense 0.3 and didn't backup
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
well try it anyway and see what you get...i already flashed a different rom too, but the folder was still there
seekis said:
im still trying to figure out what exactly is getting messed with as the OP did not describe why we needed to back up this folder and or what could be messed up if we don't.
Any info would be great.
Click to expand...
Click to collapse
Look at this thread here. People are losing their IMEI number and is resulting in no service. If you back up the efs folder, it saves this information in case it happens to you.
I pulled it to my sdcard and computer. The imei folder is empty. I don't see a txt file and the bin files are all weird coding
Sent from my Nexus S using Tapatalk
Zehlek said:
I pulled it to my sdcard and computer. The imei folder is empty. I don't see a txt file and the bin files are all weird coding
Sent from my Nexus S using Tapatalk
Click to expand...
Click to collapse
Yeah, I just finally looked at my imei folder that I saved to my computer and it only has one bt.txt file...

[Q] Create Rom.zip from backup

Hey,
I was just wondering, is there a way to create a flashable ROM (.zip) from an existing backup??
I have used CWM Recovery to create a backup of a ROM that I'm using (BlackICE). It has been customized to an extreme point. Removed several system apps and pushed my own apps to the system. Now I want to save it as a flashable ROM so that others, specifically a few of my friends, could also use it.
Any help would be greatly appreciated.
Thanks!
You could download a ROM, then use the kitchen in the Chef Central section to add all if your stuff and remove the original developers stuff. That's the fastest way I know. I'm sure there is a better way.
Sent from my HTC Glacier using XDA App
Thanks. I know of that method, I was just wondering if it were possible to directly convert a backup to a ROM.
I'll keep searching. Thanks though =)
SH31KH said:
Thanks. I know of that method, I was just wondering if it were possible to directly convert a backup to a ROM.
I'll keep searching. Thanks though =)
Click to expand...
Click to collapse
I've never tried but you may be able to open the backup and get the data from it
Sent from my HTC Glacier using xda premium
Root explorer will allow u to zip the archive and make it flashable.. just go to ur back up location, long press it, then hit zip this file.. it'll be saved to the speed software folder
Sent from my HTC Glacier using xda premium
Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App
SH31KH said:
Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App
Click to expand...
Click to collapse
You could try toggling signature verification in CWM and then you should be able to flash..
SH31KH said:
Kinda slow with my responses but I tried that and although it did create a zip, I was unable to flash it because the file wasn't signed.
Another question comes to mind..
If I give my backup to someone else, will they be able to restore from it? By placing my backup folder into their /sdcard/clockworkmod/backup/ ??
Just curious =)
Sent from my Htc Glacier using XDA App
Click to expand...
Click to collapse
Yes, that should work, as long as you have the same phones (mytouch4g). although, any texts or personal contact info will also restore to your friends phone
Nicgraner said:
You could try toggling signature verification in CWM and then you should be able to flash..
Click to expand...
Click to collapse
Greetings,
I made image files with dd command (boot.img, recover.img, system.img, etc.).
I zipped them, but when I wanted to flash them (usin toggling the signature), it requests an update file, which is not available.
(the phone is a bit different, Alcatel 918D)
I have been looking for the solution for 3 days with google.
Could anybody suggest?
Thanks,
Cappa.

What are there file for after rooting?

What are these files for after rooting my Nexus 7 I found them in the sdcard dir, /storage/sdcard/!ReadyToFlash/Root_Files/busybody.zip and /storage/sdcard/!ReadyToFlash/Root_Files/CWM-SuperSU-v0.94.zip and /storage/sdcard/TWRP/.twrps? Should I delete them if I do not wish to use them?
Sent from my Nexus 7 using xda app-developers app
those are the super user and busy box apps . They were pushed to your device by the root method you used. They are quite small in size and are not hurting anything being there.. I would just leave them be. But they were pushed there then extracted to the correct directories.
A different opinion:
If you are using TWRP for recovery, then keep that folder and delete the !Ready... one. If you are using CWM for recovery, then you can delete both folders.
Not much point in keeping files you don't need.
Sent from my HTC Desire S

Categories

Resources