back up apps??????? - G1 General

ok, so i searched and i searched... forums, googling, and video sites (for tutorials and not just one search each, several times each one.) and i haven't been able to find out how to back up apps... i have root access and i'm running a jacheroski rom. i think i can back up free apps only. is it possible to back up my paid apps that i've bought off the market through the phone?? can i do it through a computer??? any insight will help. thank you ahead of time.
thanx to the site for all the roms and tutorials and all the people who contributed to them. ^_^

valefore said:
ok, so i searched and i searched... forums, googling, and video sites (for tutorials and not just one search each, several times each one.) and i haven't been able to find out how to back up apps... i have root access and i'm running a jacheroski rom. i think i can back up free apps only. is it possible to back up my paid apps that i've bought off the market through the phone?? can i do it through a computer??? any insight will help. thank you ahead of time.
thanx to the site for all the roms and tutorials and all the people who contributed to them. ^_^
Click to expand...
Click to collapse
You can try My Backup for Root users
http://www.cyrket.com/package/com.bg.smsbk
Or My Backup
http://www.cyrket.com/package/com.rerware.android.MyBackup
or apps manager
http://www.cyrket.com/package/de.android_telefonie.appmanager
EDIT:
As long as you use the same google account signin, no matter what phone you use, you will always have access to your paid apps again without having to pay for them again, so there is really no need to backup paid apps. If you switch phone (as I have done because I have two) just go to my downloads and all the paid apps (as well as unpaid apps) will be there ready to download again. Or you can use the programs suggested above.

DirectMatrix said:
You can try My Backup for Root users
http://www.cyrket.com/package/com.bg.smsbk
Or My Backup
http://www.cyrket.com/package/com.rerware.android.MyBackup
or apps manager
http://www.cyrket.com/package/de.android_telefonie.appmanager
EDIT:
As long as you use the same google account signin, no matter what phone you use, you will always have access to your paid apps again without having to pay for them again, so there is really no need to backup paid apps. If you switch phone (as I have done because I have two) just go to my downloads and all the paid apps (as well as unpaid apps) will be there ready to download again. Or you can use the programs suggested above.
Click to expand...
Click to collapse
well, when i rooted my phone, i went to "my downloads" in the market and the apps were there, but i needed to redownload but the thing was that if i didn't DL all at once, when i go back to "my downloads" it just shows the recent ones i downloaded and the ones already installed.
but thanx, i'm gonna try those apps right now.

You can also type in the terminal:
$su
#mkdir /sdcard/AppBackup/
#cp -r /system/sd/* /sdcard/AppBackup/
this will put all of your apps, including paid apps, in the directory you created.

Diceman4 said:
You can also type in the terminal:
$su
#mkdir /sdcard/AppBackup/
#cp -r /system/sd/* /sdcard/AppBackup/
this will put all of your apps, including paid apps, in the directory you created.
Click to expand...
Click to collapse
wow... sweet. gonna try that now... the apps didn't work backing up my paid apps. =/

valefore said:
wow... sweet. gonna try that now... the apps didn't work backing up my paid apps. =/
Click to expand...
Click to collapse
I assumed you were using apps 2 sd, if not let me know.

valefore said:
wow... sweet. gonna try that now... the apps didn't work backing up my paid apps. =/
Click to expand...
Click to collapse
The one downside to backing up and reinstalling paid apps from SD is the maret no longer checks for updates on those apps...you have to update manually from the market (But once you do it once through the market then it will keep checking until you wipe again of delete the app)

#cp -r /system/sd/* /sdcard/AppBackup/
is the "*" where i add my folder name or is it after "/appbackup"??? capitalization necessary for the A and B in "appbackup"??
it said optional or options but didn't store anything in my new folder labeled "yoe" in the SD's root...

valefore said:
#cp -r /system/sd/* /sdcard/AppBackup/
is the "*" where i add my folder name or is it after "/appbackup"??? capitalization necessary for the A and B in "appbackup"??
it said optional or options but didn't store anything in my new folder labeled "yoe" in the SD's root...
Click to expand...
Click to collapse
Code:
# mkdir /sdcard/test
mkdir /sdcard/test
# cp -r /system/sd/* /sdcard/test
cp -r /system/sd/* /sdcard/test
# ls /sdcard/test/
ls /sdcard/test/
app
app-private
app_s
This is what should happen when you type in the commands (This is the output when I actually do it)
The mkdir is creating a folder on your SD so when you 'cp' or copy all of the files in /system/sd/ the '*' is a shell wildcard for all files you need to reference the exact folder you created in sdcard.
so if you did:
$su
#mkdir /sdcard/yoe
you should do:
#cp -r /system/sd/* /sdcard/yoe
Then if there are no errors check your sdcard to make sure they got copied
Edit: The 'ls' command is like a 'dir' command in the windows shell

uh.. tried exactly what you wrote down with "test" instead of "yoe", didn't work. and no, i'm not using the app2sd, i don't believe. i'm running the "slow" rom due to me not having a memory card that can be partitioned. (sorry, forgot to mention it.)
i made the yoe folder with astro.
there's just one file under the "test" folder and it's labeled "placeholder"...???

valefore said:
uh.. tried exactly what you wrote down with "test" instead of "yoe", didn't work. and no, i'm not using the app2sd, i don't believe. i'm running the "slow" rom due to me not having a memory card that can be partitioned. (sorry, forgot to mention it.)
i made the yoe folder with astro.
there's just one file under the "test" folder and it's labeled "placeholder"...???
Click to expand...
Click to collapse
OK then type:
#cp -R /system/app-private/* /sdcard/test/
#cp -R /system/app/* /sdcard/test/
The app-private apps are your paid apps the rest are free.

Diceman4 said:
OK then type:
#cp -R /system/app-private/* /sdcard/test/
#cp -R /system/app/* /sdcard/test/
The app-private apps are your paid apps the rest are free.
Click to expand...
Click to collapse
i did this and it said
cp: cannot stat '/system/app-private/*': No such file or direntory
#

valefore said:
i did this and it said
cp: cannot stat '/system/app-private/*': No such file or direntory
#
Click to expand...
Click to collapse
type
$su
#ls /system/
and let me know what it outputs

Diceman4 said:
type
$su
#ls /system/
and let me know what it outputs
Click to expand...
Click to collapse
lib
usr
fonts
sd
xbin
etc
app
customize
build.prop
media
framework
bin
lost+found
#

valefore said:
lib
usr
fonts
sd
xbin
etc
app
customize
build.prop
media
framework
bin
lost+found
#
Click to expand...
Click to collapse
Hmmm... how about:
#ls /system/sd/
and
#ls /system/app
Thanks!

Diceman4 said:
Hmmm... how about:
#ls /system/sd/
and
#ls /system/app
Thanks!
Click to expand...
Click to collapse
the first one gave me
placeholder
the other one gave me a list of .apk and .odex but i checked and double checked but i didn't see the hello im i paid for... ???

valefore said:
the first one gave me
placeholder
the other one gave me a list of .apk and .odex but i checked and double checked but i didn't see the hello im i paid for... ???
Click to expand...
Click to collapse
I should have asked, did you try to set up apps 2 sd? If so it may have been configured wrong.
WHat exactly are you running:
Partitions: order & size
ROM version:
SD Class:
Also could you go to Settings->SDCard and let me know how much Internal storage space you have left.
Thanks!

Diceman4 said:
I should have asked, did you try to set up apps 2 sd? If so it may have been configured wrong.
WHat exactly are you running:
Partitions: order & size
ROM version:
SD Class:
Also could you go to Settings->SDCard and let me know how much Internal storage space you have left.
Thanks!
Click to expand...
Click to collapse
i stated that i didn't believe i have apps2sd because i don't have an sd that can be partitioned.
i have JACHero2.7.3_SuperLite installed i believe.
ota-radio-2_22_19_26I
haykuro latest spl
i don't know the sd class. it's the one gb that came with the phone.
sd total 974 available 623. internal 9mb (lol)

valefore said:
i stated that i didn't believe i have apps2sd because i don't have an sd that can be partitioned.
i have JACHero2.7.3_SuperLite installed i believe.
ota-radio-2_22_19_26I
haykuro latest spl
i don't know the sd class. it's the one gb that came with the phone.
sd total 974 available 623. internal 9mb (lol)
Click to expand...
Click to collapse
You said you don't know if you got apps2sd set up. Did you ever create a second partition (ext2/ext3/ext4)

supremeteam256 said:
You said you don't know if you got apps2sd set up. Did you ever create a second partition (ext2/ext3/ext4)
Click to expand...
Click to collapse
Well, i tried, but it didn't let me. so continued to flash the JACHero roms as the came out and didn't worry bout the apps2sd because i'm happy with just aim and a browser. it has terminal and tether and a twitter client so the only app i really need/want that i have to install from market is the hello aim, i had a few other apps i just wanted to try out but i uninstalled them already.

Related

Can't delete Apps (A2SD)

Hi,
Ive got a problem. Yesterday i did the update from Dude 1.1 to 1.2, first without wiping, but then the G1 reboot when i want to download an app.
So i wiped it and it works fine. INternal Memory is 355MB free.
Today i wanna delete the APP SMS/MMS because i use chompSMS, but the G1 says that it cant delete. ("Uninstall not successful" "SMS/MMS could not be uninstalled")
So what could i do?
Thanx for ya help
if im not wrong in saying this, the stock sms mms program needs to be on the phone. chomp doesnt get your messages
it gets them from the stock messaging app.
Not sure what you're trying to uninstall (haven't heard of an app called SMS/MMS). However, if you're trying to remove the application "Messaging", you can't. Just disable notifications in the Messaging program and use chomp as the default.
Its the same with this Amazon Mp3 app, i cant uninstall it, what do i wrong? Or how can i get this app off my phone( dude 1.2 full)
You can't uninstall those programs..
G1StefanG1 said:
Its the same with this Amazon Mp3 app, i cant uninstall it, what do i wrong? Or how can i get this app off my phone( dude 1.2 full)
Click to expand...
Click to collapse
If you are using a G1 build, its in /system/app. Remount the system partition and delete it from that directory.
Yeah great, thanx for ya help.
But now I now i'll gonna be beaten for that question, but can you explain me what you mean with 'remount the system partition"?
I've looked it up with ASTRO Filemanager and its really in /system/app, but i cant delete it from there, if i want to it says again "error deleting file".
Just searched a bit around and found the remount command that i know from a2sd, so i think i have to go to Terminal at G1,
#su
#mount -o rw,remount /dev/block/mtdblock3 /system
#rm com.amazon.mp3 /system/app
Is this right? So then i'm gonna eating my shoes But i think it isnt so i ask you before i delete complete G1
Or is it enough to remount with that command above and then go with ASTRO FIlemanager to that directory and delete it?
G1StefanG1 said:
Yeah great, thanx for ya help.
But now I now i'll gonna be beaten for that question, but can you explain me what you mean with 'remount the system partition"?
I've looked it up with ASTRO Filemanager and its really in /system/app, but i cant delete it from there, if i want to it says again "error deleting file".
Just searched a bit around and found the remount command that i know from a2sd, so i think i have to go to Terminal at G1,
#su
#mount -o rw,remount /dev/block/mtdblock3 /system
#rm com.amazon.mp3 /system/app
Is this right? So then i'm gonna eating my shoes But i think it isnt so i ask you before i delete complete G1
Or is it enough to remount with that command above and then go with ASTRO FIlemanager to that directory and delete it?
Click to expand...
Click to collapse
Yes, you remount it that way (or with DroidSans) and rm the Amazon file. I would still recommend against deleting the messaging one though.
I tried it this way, but it says error "Read only file".
I think i just let it on the phone and try to ignore that app.
G1StefanG1 said:
I tried it this way, but it says error "Read only file".
I think i just let it on the phone and try to ignore that app.
Click to expand...
Click to collapse
use this code to remove amazon
Code:
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
rm -r /system/app/com.amazon.mp3
that will remove amazon but removing messaging will make your system EXTREMELY unstable and most likely unusable
The problem was that i don't add the Fileending ".apk"
Thanx for ya help, tubaking182. It worked with your Command with adding .apk
Got the next problem, now i want to delete the Messenger App 'IM' but even if i do the same with 'amazon mp3' it says rm: cannot remove '/system/app/com.android.im.apk': No such file or directory
So what i am doing wrong, i tried it with "rm -r /system/app/com.android.im.apk"
"rm -r /system/app/com.android.im"
And many more but i get ever the same output -> No such file...
That means theres no such file...doesn't exist.
IT might be named IM.apk
Mh you're right!
I dont know how it tells me 'com.android.im' in ASTRO Filebrowser, and why i could delete it with IM.apk
With AmazonMP3 i have also to write: com.amazon.mp3.apk
Doesn't matter, THANK YOU for the fast help
amazon
spend a couple bucks and get root explorer, it is well worth it, and then its very easy to delete anything after that.
Wait wait let me get this right ... with root explorer i could avoid the whole going to terminal and typing all that code and just simply delete the apk from root explorer program and thats it >?
Can it really be that easy ... tell me thats the case
Also when you use the terminal code or the root explorer method ( if it can be done like that) when you go to applications in the phone menu to view list of apps you still see the amazon mp3 app in the system .. how do i remove that also
Chosen_on184 said:
Wait wait let me get this right ... with root explorer i could avoid the whole going to terminal and typing all that code and just simply delete the apk from root explorer program and thats it >?
Can it really be that easy ... tell me thats the case
Also when you use the terminal code or the root explorer method ( if it can be done like that) when you go to applications in the phone menu to view list of apps you still see the amazon mp3 app in the system .. how do i remove that also
Click to expand...
Click to collapse
I'm testing right now..

preserving market "my downloads" list between wipes/rom installs

I've wiped and installed a lot of roms lately, and generally when I go to 'my downloads' in the market, only my paid apps are there. So, I have to go though the process of searching the installing each app again. It's just easier when they are all in a list.
I figured it would be a good idea to backup all my apps and then reinstall them afterward with adb in linux as such:
for a in `ls *.apk`; do adb install $a; done
this works, but of course they don't show up under 'my downloads' and I don't get update notifications.
Is there a way around this?
gsgleason said:
I've wiped and installed a lot of roms lately, and generally when I go to 'my downloads' in the market, only my paid apps are there. So, I have to go though the process of searching the installing each app again. It's just easier when they are all in a list.
I figured it would be a good idea to backup all my apps and then reinstall them afterward with adb in linux as such:
for a in `ls *.apk`; do adb install $a; done
this works, but of course they don't show up under 'my downloads' and I don't get update notifications.
Is there a way around this?
Click to expand...
Click to collapse
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
I assume you would want to do this to get update notifications. If so you can grab "aTrackDog" from the market. It will list all you apps and when you refresh it will tell you when updates are available and give you a link to get the update from the market.
AdrianK said:
I assume you would want to do this to get update notifications. If so you can grab "aTrackDog" from the market. It will list all you apps and when you refresh it will tell you when updates are available and give you a link to get the update from the market.
Click to expand...
Click to collapse
will it only work for software installed through the market or will manually installed software show up as well?
DirectMatrix said:
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
Click to expand...
Click to collapse
Awesome. I'll do this next time I wipe and reflash with the latest coolest rom. =)
gsgleason said:
will it only work for software installed through the market or will manually installed software show up as well?
Click to expand...
Click to collapse
nope, works for the apps on my ext3 even after switching builds several times, works great.
DirectMatrix said:
You need to backup and restore the database file located in the market folder....it should be here...
Code:
/data/data/com.android.vending/databases
I'm assuming since you can backup and restore your apps thru adb then you can figure out how to pull and push this to your phone
Click to expand...
Click to collapse
For those of us who are not that familiar with adb, can you give a short tutorial on how to pull and then push that database folder?
well i just wiped and installed the latest cyanogen mod and when i went to the "my downloads" section of the store all the apps i had downloaded before were all there (paid and free)
I also thought it didnt do that, apperently it does
Gilliland12 said:
For those of us who are not that familiar with adb, can you give a short tutorial on how to pull and then push that database folder?
Click to expand...
Click to collapse
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
AdrianK said:
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
Click to expand...
Click to collapse
Many thanks.
Backup for Root works perfectly for me
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
opasha said:
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
Click to expand...
Click to collapse
No, you will not get updates without re-purchasing the app. And talking about ripping off app developers on this forum is frowned up so please stop discussing it.
opasha said:
if you got a paid app through adb and got a refund, can you still get updates for that app if you have it installed?
Click to expand...
Click to collapse
If you got a refund, then you shouldn't have the app. That's stealing and it's not nice. Most apps are cheap (a couple of bucks at most), stop being a cheapskate.
Originally Posted by AdrianK View Post
You don't need ADB, you can use the terminal emulator from the market or the recovery console.
To pull the database, open terminal or recovery and type:
Code:
su
cd /data/data/com.android.vending/
cp databases /sdcard
that will copy that database file to the root of your sdcard.
When pushing it back it is probably best to do it while the phone isn't running, so only use the recovery console:
Code:
cd sdcard
cp databases /data/data/com.android.vending/
reboot
I haven't tested this, but it will have the same results as the ADB method.
i tried this but it dodnt work.
when I did the first command it said ommiting databases. so I thought it worked.
flashed to the new cyanogen 4.0 rom (which is amazing btw!) did the second command and it said cannot stat file "databases" no such file or folder.
what gives??
Id say the databases were open and couldnt be backed up.
You should try to copy them from the recovery.
Also, after copying why didnt you check if the database files were in your sdcard (or the path you specified for the copy) before wiping? If the file is not there its obvious that it cant be restored after the wipe..
thought it might have been hidden or on my ext2 partition! never mind i got atrackdog!
addiosamigo said:
thought it might have been hidden or on my ext2 partition! never mind i got atrackdog!
Click to expand...
Click to collapse
Seems you can only copy each of the four db files individually... but copying the entire folder doesn't work.
All that is needed is assets.db
Open the terminal and enter
$ su
# cp /data/data/com.android.vending/databases/assets.db /sdcard
Wipe, flash, reboot.
YOU MUST OPEN THE MARKET AND AGREE TO THE TOS BEFORE RESTORING!!!!
Open the market, agree to the TOS, and close the market. Open the terminal and enter
$ su
# cp /sdcard/assets.db /data/data/com.android.vending/databases/assets.db
# reboot

Get Apk file from Market

When i download and install an App from the Android Market where the Apk installation file is temporary placed? Which path?
tnx in advance
the apk's are stored at /data/app and /data/app-private after you installed the app and will be removed if you uninstall it.
Tnx for the answer mopodo, but if i hard reset the device, can i will use theese files to reinstall them?
i'm sorry for my bad english...
sidvizioso said:
Tnx for the answer mopodo, but if i hard reset the device, can i will use theese files to reinstall them?
i'm sorry for my bad english...
Click to expand...
Click to collapse
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
So which is the temp path of the downloaded apk from market?
i want to grab them...
Pinesal said:
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
Click to expand...
Click to collapse
of course you can.
you just have to copy them to your sdcard or pc an install them again, with «adb install something.apk» or «Astro File Manager» (or a similar file managerapp)
a hard reset will delete everything on «/data»
If you have root copy the contents of both folders to your SD card.
mkdir /sdcard/apps
cp /data/app/* /sdcard/apps
cp /data/app-private/* /sdcard/apps
Then after you wipe (I've never heard anyone call it a 'hard reset' before) you can use an app like Astore or ApkInstaller to reinstall them.
If you don't have root then not only will you not be able to read app-private, but your ROM wont have busybox so you wont be able to bash in those commands. In that case use an app like Astro or AppManager to copy non-private apks to the sdcard, but for private apps you'll have to redownload them (without being charged of course.)
Pinesal said:
No, you can make a backup to your SD card with apps like MyBackup or Backup For Root Users.
Click to expand...
Click to collapse
Only if they're non-private (reside in /app, private being /app-private).
He's probably coming from WinMo. We called a factory reset/wipe a hard reset.
mopodo said:
the apk's are stored at /data/app and /data/app-private after you installed the app and will be removed if you uninstall it.
Click to expand...
Click to collapse
Slightly off topic lol But i see you said Private does that mean you could manually back up Private apps you buy off market by just copying them /w root access?
When I run the following from an adb shell, with or without SU root:
cp /data/app/* <my location on sd>
I always get:
cp: permission denied
In fact, no matter how or where I cp from or to, and no matter what I am trying to copy, even if I leave all arguments blank, I still get "cp: permission denied" -- I have busybox installed in /system/xbin from /data/local and as far as I can tell it installed ok. Phone is a rooted Sprint hero 1.56.651.2 running stock ROM.
I have also tried to 'adb pull /data/app' and it always find 0 files. None of this is a big deal for me, however, as I am just trying to backup a bunch of apks for free apps in case versions change too much. Mostly just curious...
Any ideas?
EDIT: Both Astro and AppManager handled the (non-private) apk backups fine -- so I have no real need for the cp method to work, but I am still wondering why it will not -- is it the adb shell? must I use a terminal emulator from on the phone instead? something else? Anyways, if I really want to pursue it, perhaps I should take it to a busybox thread at this point...
EDIT2: It appears as if the 'cp' command as I was running it wasn't getting passed through busybox (not sure why). From what I can piece together reading other threads, it seems that if you have installed busybox on top of a ROM that doesn't already have it (like stock, after rooting and recovery setup) than you must prefix commands with 'busybox' when entered, as in 'busybox cp /data/app/* <my location>' and it does work for me that way. Still cannot seem to copy /data/app-private which I thought having root access would allow -- I guess I just don't understand nearly enough about busybox implementation, linux permissions, and, well, linux in general.
You could try an app manager and back 'em up from there.
Just try the following command.
busybox cp /data/app/* /sdcard/<your backup loc>
askwhy said:
When I run the following from an adb shell, with or without SU root:
cp /data/app/* <my location on sd>
I always get:
cp: permission denied
In fact, no matter how or where I cp from or to, and no matter what I am trying to copy, even if I leave all arguments blank, I still get "cp: permission denied" -- I have busybox installed in /system/xbin from /data/local and as far as I can tell it installed ok. Phone is a rooted Sprint hero 1.56.651.2 running stock ROM.
I have also tried to 'adb pull /data/app' and it always find 0 files. None of this is a big deal for me, however, as I am just trying to backup a bunch of apks for free apps in case versions change too much. Mostly just curious...
Any ideas?
EDIT: Both Astro and AppManager handled the (non-private) apk backups fine -- so I have no real need for the cp method to work, but I am still wondering why it will not -- is it the adb shell? must I use a terminal emulator from on the phone instead? something else? Anyways, if I really want to pursue it, perhaps I should take it to a busybox thread at this point...
EDIT2: It appears as if the 'cp' command as I was running it wasn't getting passed through busybox (not sure why). From what I can piece together reading other threads, it seems that if you have installed busybox on top of a ROM that doesn't already have it (like stock, after rooting and recovery setup) than you must prefix commands with 'busybox' when entered, as in 'busybox cp /data/app/* <my location>' and it does work for me that way. Still cannot seem to copy /data/app-private which I thought having root access would allow -- I guess I just don't understand nearly enough about busybox implementation, linux permissions, and, well, linux in general.
Click to expand...
Click to collapse
Well in windows
'adb pull' is used if that helps

[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

[SOLVED]Please help me with the terminal emulator (Samsung s4 i9500 rooted)

Firstly I'd like to thank you for this best forum.
My problem is that when I run the terminal as super user it's can't read sdcard it's give me nothing .
This is the commands
===========================
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # ls
[email protected]:/sdcard #
===========================
But without running as super user give me
===========================
[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ ls
Alarms
Android
Application
DCIM
Documents
Download
INDI
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
SMemo
SecretBox
ShareShot
Subtitles
UCDownloads
WhatsApp
comquoordtapatalkxdapreactivity
data
media
viber
[email protected]:/sdcard $
=============================
I've rooted my phone with CF-Auto-Root-Chainfire‏
Please what is the solution.
Thanks again.
just uncheck "mount namespace separation " on supersu app
Hi,
Superuser access on Terminal isn't useful for directory listing, as the function is mostly related to system functions.
Sent from my GT-I9500
What exactly do you want to do? And maybe some one can point you in the right direction.
krasCGQ said:
Hi,
Superuser access on Terminal isn't useful for directory listing, as the function is mostly related to system functions.
Sent from my GT-I9500
Click to expand...
Click to collapse
Thanks.
How I can make it access?
GDReaper said:
What exactly do you want to do? And maybe some one can point you in the right direction.
Click to expand...
Click to collapse
I just wanted to boot backtrack.
Have you installed BusyBox?
Mandark52 said:
Have you installed BusyBox?
Click to expand...
Click to collapse
Yes , I have .
ABSLHM said:
Firstly I'd like to thank you for this best forum.
My problem is that when I run the terminal as super user it's can't read sdcard it's give me nothing .
This is the commands
===========================
[email protected]:/ $ su
[email protected]:/ # cd sdcard
[email protected]:/sdcard # ls
[email protected]:/sdcard #
===========================
But without running as super user give me
===========================
[email protected]:/ $ cd sdcard
[email protected]:/sdcard $ ls
Alarms
Android
Application
DCIM
Documents
Download
INDI
Movies
Music
Notifications
Pictures
Podcasts
Ringtones
SMemo
SecretBox
ShareShot
Subtitles
UCDownloads
WhatsApp
comquoordtapatalkxdapreactivity
data
media
viber
[email protected]:/sdcard $
=============================
I've rooted my phone with CF-Auto-Root-Chainfire‏
Please what is the solution.
Thanks again.
Click to expand...
Click to collapse
On most devices, the SDCard is either mounted or at least linked to either /mnt/sdcard or /sdcard. However, when the device features both, an internal and external SDCard, the latter usually is to be found "inside" the former, e.g. at /sdcard/external_sd. Alternatively, it may be mounted at /mnt/extSdCard or /storage/extSdCard. Note the capitals. Android filenames are case-sensitive.
I think you just tried the wrong path. You can use a file explorer to easily find the correct path.
Lennyz1988 said:
On most devices, the SDCard is either mounted or at least linked to either /mnt/sdcard or /sdcard. However, when the device features both, an internal and external SDCard, the latter usually is to be found "inside" the former, e.g. at /sdcard/external_sd. Alternatively, it may be mounted at /mnt/extSdCard or /storage/extSdCard. Note the capitals. Android filenames are case-sensitive.
I think you just tried the wrong path. You can use a file explorer to easily find the correct path.
Click to expand...
Click to collapse
I tried
/sdcard and /mnt/sdcard
But this one just work...why
/storage/emulated/0
Try this:
cd /storage/extSdCard
Mandark52 said:
Try this:
cd /storage/extSdCard
Click to expand...
Click to collapse
It's work
ABSLHM said:
It's work
Click to expand...
Click to collapse
Glad it worked
Mandark52 said:
Glad it worked
Click to expand...
Click to collapse
But it's the memory card I wanna the phone memory
ABSLHM said:
But it's the memory card I wanna the phone memory
Click to expand...
Click to collapse
Then you are mixing things up because /sdcard is the phone memory.
ABSLHM said:
But it's the memory card I wanna the phone memory
Click to expand...
Click to collapse
For phone memory : cd /storage/emulated/0
Mandark52 said:
For phone memory : cd /storage/emulated/0
Click to expand...
Click to collapse
I know that ? but how I can make it
/sdcard
ABSLHM said:
I know that ? but how I can make it
/sdcard
Click to expand...
Click to collapse
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Mandark52 said:
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Click to expand...
Click to collapse
Ok.... thank you a lot. ?
Mandark52 said:
Why do you want to make it as /sdcard? Your apps will crash because of it. May be I could help you with if you tell about it.
All the best!
Click to expand...
Click to collapse
Why it's crash....I saw some videos on YouTube it's work with /sdcard
Sorry for my a lot questions?
ABSLHM said:
Why it's crash....I saw some videos on YouTube it's work with /sdcard
Sorry for my a lot questions?
Click to expand...
Click to collapse
Its ok you may ask many questions in a thread. I just want to know that why do you want to change the /emulated/0 to /sdcard.

Categories

Resources