[Q] System Dump - Epic 4G General

Sorry if this is mentioned anywhere else, but I tried searching and couldn't find the answer.
Does anyone know how to get a system dump of our phones after doing an "odin"?

tar cvf /sdcard/system_epic.tar /system
or
adb pull system system

skeeterslint said:
tar cvf /sdcard/system_epic.tar /system
or
adb pull system system
Click to expand...
Click to collapse
That's exactly what I needed. I knew it was simple.
Thanks!

Related

How to flash zips?

Is there a way on the Vibrant to flash *.zip files like on the Nexus One? For example, I have a Mobile Defense as System App *.zip file that on the N1 I flash from the Recovery menu. Is this possible on the Vibrant? How else can I install System Apps?
it will be posible to flash .zip files in recovery once we get a custom recovery. there is a guy working on porting clockwork as we speak so it souldnt be too long before we can flash roms and kernals and other .zip stuff
hah2110 said:
Is there a way on the Vibrant to flash *.zip files like on the Nexus One? For example, I have a Mobile Defense as System App *.zip file that on the N1 I flash from the Recovery menu. Is this possible on the Vibrant? How else can I install System Apps?
Click to expand...
Click to collapse
You can only use the .zip flash function on the phone to manipulate some files. If you wanted to add a completely new rom you must use Odin. The clockwork recovery being done is still in it's very basic stage where nothing is working. So it's impossible to tell if they will get it to work especially since the bootloader is completely different from all other android phones.
Why not just inzip it on your computer and move the apk to your sd and install it that way?
Sent from my SGH-T959 using XDA App
spigatelli said:
Why not just inzip it on your computer and move the apk to your sd and install it that way?
Sent from my SGH-T959 using XDA App
Click to expand...
Click to collapse
Cause then it wouldn't be a system app. He could just use adb to push the file though.
Tried to push the file but I can't do adb remount. It says no such file or directory. What am I doing wrong?
Anyone??????
Your probably pushing the file to the wrong place.. Do you have the Samsung drivers and SDK installed?
DAKIDD236 said:
Your probably pushing the file to the wrong place.. Do you have the Samsung drivers and SDK installed?
Click to expand...
Click to collapse
Yes, because every other command works. Also, if you look, I am getting the error when not even trying to push. I am trying to do ADB REMOUNT.
hah2110 said:
Yes, because every other command works. Also, if you look, I am getting the error when not even trying to push. I am trying to do ADB REMOUNT.
Click to expand...
Click to collapse
Samsung devices use a different code to remount. Try this
mount -o rw,remount /dev/st9 /system
This is ripped from the behold 2 so you might have to play with the directories
yeah, if anyone can figure out what the mount directories are from /dev/ it would be great. i'm trying to push my ringtones so that they dont show up in media scanner. seems like a simple trick, but when remount wont work and we dont know the mount directory, its harder than it seems.
psychoace said:
Samsung devices use a different code to remount. Try this
mount -o rw,remount /dev/st9 /system
This is ripped from the behold 2 so you might have to play with the directories
Click to expand...
Click to collapse
Operation not permitted
hah2110 said:
Operation not permitted
Click to expand...
Click to collapse
Do you have root?
If so then it might just be because we don't know what mounting block to use.
we do know what mounting block to use.
http://forum.xda-developers.com/showthread.php?t=729976

Fascinate/Vibrant Widgets on Captivate

Sorry if this has been mentioned before (I did search before posting), but there are a few widgets from the other Galaxy S phones that are rather nice, the weather clock in particular. I know there is a Fascinate dump out there, but can I just extract the apk and install it, or is there something else that I need to do. Any help is appreciated.
Sent from my SAMSUNG-SGH-I897 using XDA App
I would like to know this as well. Have subscribed to this thread.
Sent from my SAMSUNG-SGH-I897 using XDA App
Download the firmware that has those widgets and pull the apks and install them on your firmware of choice
If anyone does this post it please, if you link a how to ill do it.
Well, i pulled the APK's out of the ROM, but I'm not able to install them. I'm really new at this, so forgive me for the ignorance. there are ODEX files that accompany the apks...do i have to do something with those on order to install the widgets?
you'll need to use adb shell once you copy the files to a location on your internal sd card
you'll need to mount system as r/w first so do this, so:
adb shell
su (your device needs to be awake and unlocked so you can verify the SU request)
mount -o remount rw /system
cp /sdcard/xxxx.odex /system/app
cp /sdcard/xxxx.apk /system/app
reboot
the reboot is just for good measure. i've used this technique to get apps onto the phone, but as usual YMMV. If you post up the apk and odex files as a zip i'll give them a shot.
uiskibum said:
you'll need to use adb shell once you copy the files to a location on your internal sd card
you'll need to mount system as r/w first so do this, so:
adb shell
su (your device needs to be awake and unlocked so you can verify the SU request)
mount -o remount rw /system
cp /sdcard/xxxx.odex /system/app
cp /sdcard/xxxx.apk /system/app
reboot
the reboot is just for good measure. i've used this technique to get apps onto the phone, but as usual YMMV. If you post up the apk and odex files as a zip i'll give them a shot.
Click to expand...
Click to collapse
Do you have o remount /system as read only or will the reboot do that?
alphadog00 said:
Do you have o remount /system as read only or will the reboot do that?
Click to expand...
Click to collapse
the reboot will do that
What kind of cool stuff do they have?
Do tell!!
I had asked about putting the Samsung Touchwiz widgets on if using Launcher Pro. Was told no.
Would this method allow that for them?
Well, I've uploaded the files to Rapidshare, but thanks to the restrictions on my noob account, I can't link to the files.
rapidshare files 421816817 Samsung_Fascinate_Widgets zip
OK, major problem.
I copied the ODEX and APK's to the System/App folder and rebooted...now my phone will get stuck at the "Galaxy S" logo page and the display stops working. connecting via USB to the computer allows me to access the system via ADB, but I can't get the display running. What's the command in ADB to remove the files I just copied over?
adb shell
su
mount -o rw,remount /dev/block/st19 /system
rm /system/app/[name of widget file].*
Sgt_Bilbo said:
OK, major problem.
I copied the ODEX and APK's to the System/App folder and rebooted...now my phone will get stuck at the "Galaxy S" logo page and the display stops working. connecting via USB to the computer allows me to access the system via ADB, but I can't get the display running. What's the command in ADB to remove the files I just copied over?
Click to expand...
Click to collapse
Thanks for that info. Phone is back to normal. Now, back to the topic at hand. Anyone had success at getting these widgets working on the Captivate?
Sent from my SAMSUNG-SGH-I897 using XDA App

deodex file

Hi guys
I'd manage to manually deodex the app and framework file from my stock rom. The problem are I can't push them either thru adb nor update.zip. Been googling around but can't really get a correct adb command for sgs. I need to push these files so that I can install themes. Anybody who can guide please help. Thanks in advance.
You need super user permission to push things into read only memory. So you would need to go through adb shell, mount whatever folder framework is in to readable, etc.
snapper.fishes said:
You need super user permission to push things into read only memory. So you would need to go through adb shell, mount whatever folder framework is in to readable, etc.
Click to expand...
Click to collapse
Hi snapper.fishes
By the way, I got superuser permission. The only problem I don't know the correct command for the adb shell - su - mount etc, etc....
This are the command I got from Droid forum but it does not work for SGS I guest.
adb shell
su
stop
mount -o rw,remount -t ext3 /dev/block/mmcblk1p21 /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount -t ext3 /dev/block/mmcblk1p21 /system
reboot
Anybody got any idea?
Try this:
adb shell
su
mount -o rw,remount /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system
reboot
Sent from my GT-I9000 using XDA App
g00ndu said:
Try this:
adb shell
su
mount -o rw,remount /system
cp /sdcard/done_app/* /system/app/
cp /sdcard/done_frame/* /system/framework/
rm /system/app/*.odex
rm /system/framework/*.odex
mount -o ro,remount /system
reboot
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
angiogram said:
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
Click to expand...
Click to collapse
I say remove the lagfix first. It's not necessary, but if you do screw up your phone you are going to have to reflash your phone, and the last thing you want to do is to flash your phone with lagfix on.
angiogram said:
Thanks for the tips g00ndu. If I push those deodex file, they will overide and delete all the odex file right? Should I disable the universal lagfix first and is it safe pushing deodex file this way?
Click to expand...
Click to collapse
It's been a long time since I pushed files this way. Right now I'm using update zips and flash it via ulfk. Reason: it is much more simpler and more effective. If I remember correctly, your apk files need to be deleted too before you can push your deodexed apks and jars files to the system folder if you do it via adb.
Besides, I would not advocate this method of pushing through adb, bcos, there is always chances that your /system, /data partitions may result in data corruption.
Try using update zip.
Sent from my GT-I9000 using XDA App
g00ndu said:
It's been a long time since I pushed files this way. Right now I'm using update zips and flash it via ulfk. Reason: it is much more simpler and more effective. If I remember correctly, your apk files need to be deleted too before you can push your deodexed apks and jars files to the system folder if you do it via adb.
Besides, I would not advocate this method of pushing through adb, bcos, there is always chances that your /system, /data partitions may result in data corruption.
Try using update zip.
Sent from my GT-I9000 using XDA App
Click to expand...
Click to collapse
Thanks for your reply g00ndu. I've already try that. But after the zip file updated nothing happen. Maybe the zip creator that I use is not compatible with sgs. Can you kindly link to the correct source for sgs. Or maybe you can post the file and tutorial here so that we can learn the correct method from you. Thank you so much for that.
Anybody can help?
Deodexing Your Device - Full Step By Step Tutorial
angiogram said:
Hi guys
I'd manage to manually deodex the app and framework file from my stock rom. The problem are I can't push them either thru adb nor update.zip. Been googling around but can't really get a correct adb command for sgs. I need to push these files so that I can install themes. Anybody who can guide please help. Thanks in advance.
Click to expand...
Click to collapse
angiogram said:
Thanks for your reply g00ndu. I've already try that. But after the zip file updated nothing happen. Maybe the zip creator that I use is not compatible with sgs. Can you kindly link to the correct source for sgs. Or maybe you can post the file and tutorial here so that we can learn the correct method from you. Thank you so much for that.
Anybody can help?
Click to expand...
Click to collapse
Hey angiogram... I'm not sure if this thread still has a pulse, but I came across this thread and feel confident I can offer you some great information.
g00udu was on the right track, only one small detail I would add is reverting the permissions back to the system files once returned to the system directory.
See this link http://forum.xda-developers.com/showthread.php?t=990238
for an extremely detailed step by step how to perform this process from beginning to end.
If this issue has been resolved, keep it for future reference or pass it on to someone who you believe it may help.
Peace-
Thanks Liv33vil.
Sent from my GT-I9000 using XDA Premium App

[Q] Honeycomb Keyboard

I'm kinda new to android
I've started to delete useless apps through Titanium Backup(acer staff,games etc) , and exidently deleted smth connected with honeycomb stock keyboard.
Now every time when i want to use stock keyboard, pops up a messege "The application Android keyboard (process com.google.android.inputmethod.latin) has stopped unexpectedly. plz try again".
Ive tryied to reset factory data but it wont helped. Is thera any solution for this problem? if there no, plz tell how to completely reset tablet) ive read "system Images " thread but i didn understand some things
here is my recover steps: (for a500 which is bricked)
for a500 is normal:
root it
put the system.img into a500
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
then reboot
Click to expand...
Click to collapse
connect to the computer with adb and follow the codes:
su
dd if=/sdcard/system.img of=/dev/block/mmcblk0p3
what that means)
You might very well have ruined your tablet.
I'm not a developer or coder so I can't make any sense of the code you posted but if a reset didn't fix it then you've certainly deleted something important. Hopefully someone has some ideas.
If not, then maybe you can return it? And next time, don't delete something unless you know what it is you're deleting.
ok ive recovered from image, but now wifi is not working , what should i do?
There are posts about having to change file permissions to fix wifi. Search this forum, there are a few.
edit - linked post
http://forum.xda-developers.com/showthread.php?t=1074449&highlight=wifi+permission
yeah ive read this but i dont know how to move that files to system folder on devide, wifi is down , so i cant download any file managing apps from market and theres no any file managers on stock Rom
If you've got the adb working, you can use the command mv to move the file.
I'm not sure of the exact path involved, but for example. the file is in /mnt/sdcard/filetobemoved and needs to go into /sytem/lib/modules
mv /mnt/sdcard/filetobemoved /system/lib/modules
That'd put it in the location you need. To change the permissions, you'd use the command chmod
chmod 655 /system/lib/modules/filetobemoved
The 655 is an octal(0-7) representation of the file's permissions. I'm not sure what permissions it needs, but you could try 655 as a start unless someone else knows for sure.
if you want, hit me up on msn, I can try to walk you through it: [email protected]
Glebaka said:
ok ive recovered from image, but now wifi is not working , what should i do?
Click to expand...
Click to collapse
Ah *phew* Good to hear.
gammaRascal said:
Ah *phew* Good to hear.
Click to expand...
Click to collapse
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
muqali said:
lol How'd he get in that shape to begin with? Any idea what exactly it was he deleted that bonked his system?
Click to expand...
Click to collapse
No clue. I really should start reading up on HC app development and at least familiarize myself with that environment.
I haven't rooted yet cause I'm e'scarded to.
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules it says i dont have permission to do this.
tryed in connectbot type "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted what if
Glebaka said:
ahh i cant replace that files , somehow installed astro manager(through docsttogo) but i cant remove/replace/rename that files in system/lib/modules i dont have permission to do this.
tried connectbot tryied "mv /mnt/sdcard/filetobemoved /system/lib/modules"
got this "failed on '/system/lib/modules/filename' - cross-device link"
im rooted
Click to expand...
Click to collapse
type mount and paste/retype the line that has /system in it. It might be mounted read only.
or try the cp command in place of mv
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
ah im total noob tried cp instead of mv it said permission denied .
t
ype mount and paste/retype the line that has /system in it. It might be mounted read only.
Click to expand...
Click to collapse
i didnt get that (
edit - also, the filetobemoved is just an example. I think one of the filenames is bcm4329.ko but I'm not sure. so /system/lib/modules/bcm4329.ko would be the full path
Click to expand...
Click to collapse
yeah thats i know)
Are you logged into the tablet using adb's shell? I've only used that once on a different tablet, but iirc the commands are standard Unix/Linux commands. Someone correct me if I'm wrong but aren't you already logged in as superuser like this? You don't need to 'sudo' or 'su' to switch over do you?
I'm not familiar enough with this specific environment to figure out what might be keeping you from placing those files in that location. The command to check the partitions mount options is
mount
It should return a bunch of text, one line of which is gonna be the /system partition. If it's ro(read only) then you can't write to it and would need to remount it.
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
My knowledge of adb is limited as well. All I know is that I can connect to it, type: adb devices (in the command prompt) to make sure it sees my tab then 'adb push filename.extension /directory/structure' to force files... Conversly, I think adb pull filename.extension /directory/structure will grab files on the tab if you know what they are called and where they are located.
Glebaka said:
yeah it looks like it is "ro"
ive got /system ext4 ro
how to remount)
Click to expand...
Click to collapse
what was the /dev/block/mtdblock for /system?
there is a number after it...for example /dev/block/mtdblock1
mount -o rw,remount -t ext4 /dev/block/mtdblock1 /system
would remount it read/write, provided that it is mtdblock1, change the number depending on what your device has.
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Glebaka said:
yeah now /system have "rw", but it anyway refuses to copy using mv(failed on '/system/lib/modules/filename' - cross-device link"
) or astro manager
Click to expand...
Click to collapse
If cp won't put it there either, I'm out of ideas. Maybe ask in the other thread how they were able to copy/move the file and set the permissions?
I know it may not be really classy, but how about downloading an .apk That will let you mount the drive, to an sd card in a computer then transfer that to the Acer. (If it's an extreme case and nothing else will work..not condoning piracy, but don't know what would work...)
or is it possible to copy the system data from a Titanium backup and send it over so he can restore the missing files?
This following step I can't be responsible for it's safety. It looks safe to my eyes, but proceed having been forewarned. I did some research and you might be able to use dd to get the file there.
dd if=/mnt/sdcard/filname of=/system/lib/modules/filename

Need System files from Kindle Fire HD 2013 model (no camera)

Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
MarcoJoo said:
Hello Everyone. I bricked my device and need the following files to fix that. Please, can someone with a rooted device provide this files?
Thanks much:
/system/framework/services.odex
/system/app/DownloadProvider.apk
/system/app/DownloadProvider.odex
/system/app/DownloadProviderUi.apk
/system/app/DownloadProviderUi.odex
Thanks again
Click to expand...
Click to collapse
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
My Kindle is alive. If someone need this files too, they can be found in the Update.bin at Amazons website.
@crzyjoker13. Good luck with your device.
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
crzyjoker13 said:
hey don't feel bad I need boot img and system img to get my running again....or I just need to pop it in the microwave and call amazon and ask for a new one and start over
Click to expand...
Click to collapse
You can get them from Amazon's website. That's your best bet at this time.
really lost
NighthawkXL said:
Here you go, pulled straight from the latest update...
It's just the files you requested, the file structure should be correct.
Click to expand...
Click to collapse
ok this is a start but how do I get them to /system/app
crzyjoker13 said:
ok this is a start but how do I get them to /system/app
Click to expand...
Click to collapse
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
step in the right direction
NighthawkXL said:
Your need to get the device to be picked up by ADB and then push the files if your not able to boot into the actual system itself. Your have to ask someone else for the commands... but here's a snippet for services.odex the rest the files should be similar pieces of commands.
Code:
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb reboot
Click to expand...
Click to collapse
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
crzyjoker13 said:
well hey this is a step in the right direction but all I need now Is to gain read write acess to /system and system/app abd I should bea able to push the old files back...my problem lies in the fact that es explorer tried to update and it messed up so I went to remove and just install the new version at the same time I was following the directions to put play market on the dev so now I can download and I have no file explorer
or if anyone know how I can push and execute an apk to the kindle I would be happy
thanks in advance
Click to expand...
Click to collapse
I was having the same problem as you are and was able to fix it by doing the following.
Download and extract the files NighthawkXL has provided.
From within the folder that you saved the files run command and do the following
adb shell
su
mount -o rw,remount /system
chmod 777 /system/framework
exit
exit
adb push services.odex /system/framework
adb push DownloadProvider.odex /system/framework
adb push DownloadProviderUi.odex /system/framework
exit
adb shell
su
mount -o rw,remount /system
chmod 777 /system/app
exit
exit
adb push DownloadProvider.apk /system/app
adb push DownloadProviderUi.apk /system/app
adb reboot
I think this will solve your problem with the downloads not working. Please keep in mind I have small amount of knowledge when it comes to rooting, but figured that it couldn't do more damage to it since it wasn't working.
LinearEquation said:
You can get them from Amazon's website. That's your best bet at this time.
Click to expand...
Click to collapse
can you provide a link to the system images please
thanks cant seem to find them
davethebrave14 said:
can you provide a link to the system images please
thanks cant seem to find them
Click to expand...
Click to collapse
https://s3.amazonaws.com/kindle-fire-updates/update-kindle-11.3.1.0_user_310084920.bin
Just downloaded .bin gonna check this out also. I didn't brick mine its usable but I screwed it up trying to take things off to get more memory and easier on battery. Runs ok now but I took off the system keyboard thinking the android keyboard file would be it the asop or whatever. So had to add Google keyboard which is better and the main navigation is gone with the back and menu key. ROFL. Using all in one gestures and omega status bar as a rig lmao.
adb install package.apk works fine after adb start-server with linux.
Theres app in 1 mobile market for moving .apk to /system/app folder.

Categories

Resources