Hi,
I tried to copy an API to /system/app, but when I did that, the screen just blinks, and the file is not pasted into the directory.
I had temp root, and had remounted R/W.
I eventually was able to do the copy by using ES Explorer, but not with RE itself.
Does anyone have any idea what might be wrong?
Thanks,
Jim
Don't know if this helps but... I recently tried to do some copying of files using AndRootFile, and RootExplorer. And like you they did not "take". I finally figured out that after I selected a file to copy, I would use the back arrow button to move to the target folder. This was the problem. When I used the Parent folder icon instead to move back out of the folder, and move to the destination folder without using the back arrow button. the file copied just fine. Hope this helps.
Reggie,
Thanks for the suggestion, but, no, I wasn't using the "back" to get to the /system/app directory. I was clicking on the parent dir, etc.
Jim
I also am having that problem. I tried both the back buttons and the parent directory. Ive tried factor data reset as well. I wander if it has anything to do with the update yesterday?
Until we/someone figures why, you can use root explorer to mount, then the built in es explorer to do the copy...
Jim
I've been doing some stuff w/command line, and I noticed that my stock Gtab doesn't have a native 'cp' command, so you have to use 'busybox cp' instead. I wonder if that's why the RE copy/paste doesn't work?
Jim
SOLVED - it was no native 'cp'
jimcpl said:
I've been doing some stuff w/command line, and I noticed that my stock Gtab doesn't have a native Cp command, so you have to use 'busybox cop's instead. I wonder if that's why the RE copynpasre doesn't work?
Jim
Click to expand...
Click to collapse
Hi,
I just tried a test, where I created a softlink for 'busybox cp':
ln -s /system/bin/busybox /sbin/cp
I then was able to use RE to copy/paste into /system/app !
CAVEAT: I don't know if busybox is on Gtab by default...
Jim
At the command line us cp vs Cp. If you want to copy an entire directory, use cp -R /indirectory /outdirectory .
NMCBR600 said:
At the command line us cp vs Cp. If you want to copy an entire directory, use cp -R /indirectory /outdirectory .
Click to expand...
Click to collapse
Hi,
That was a typo on my part. The 'cp' command (lowercase c) was really missing in my Gtab .
I've been experimenting w/alternate keyboards, and keep making typos ...
Jim
P.S. I fixed the typos ...
jimcpl,
I was just working on putting Market onto my stock machine and I am having the exact same problem. So far as I can see I have set it up right and followed procedure -- but files just won't move.
Now that I have read y'all's comments, I will try again a time or two.
Rev
butchconner said:
jimcpl,
I was just working on putting Market onto my stock machine and I am having the exact same problem. So far as I can see I have set it up right and followed procedure -- but files just won't move.
Now that I have read y'all's comments, I will try again a time or two.
Rev
Click to expand...
Click to collapse
Hi,
BTW, to create the softlink (using ln), you'll need to use adb shell. Or, you could use a terminal, if one's installed (kind of catch 22, since you'd need market to get a terminal).
Otherwise, what might work is:
- z4root to get root
- root explorer to make /system R/W
- kill then restart es file explorer and use that to copy the apks to /system/app
Jim
SIGH ... softlink doesn't survive a reboot
It looks like the softlink that I created disappears after a reboot... then RE can't copy again.
Sorry...
Jim
Related
I wonder why nobody has noticed this but the default user-agent is actually stored in a simple XML file under /data/data/com.android.browser/shared_prefs/
So if you unzip the attached file and push it to your phone, you will be using the new ua next time you start the browser
Code:
adb push com.android.browser_preferences.xml /data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml
This is tested to survive a reboot.
billc.cn said:
I wonder why nobody has noticed this but the default user-agent is actually stored in a simple XML file under /data/data/com.android.browser/shared_prefs/
So if you unzip the attached file and push it to your phone, you will be using the new ua next time you start the browser
Code:
adb push com.android.browser_preferences.xml /data/data/com.android.browser/shared_prefs/com.android.browser_preferences.xml
This is tested to survive a reboot.
Click to expand...
Click to collapse
Nice Job. Worked great.
Sorry
I'm a little new on this is there any way to do this on Os X ?
Thanks!
If you're semi-lazy and don't do adb (I've never really tried to get it working under Linux) you can do those copies under the root terminal emulator. It's the same process (cp) as copying the mountd and init files when you originally rooted the phone. The only difference is, /data is mounted read/write to begin with so you don't have to re-mount it.
you can extract the zip to the root of your sdcard and type the following in terminal
Code:
su
cp /sdcard/com.android.browser_preferences.xml /data/data/com.android.browser/shared_prefs/
Hi,
This is a working broswer for the H builds.
Bookmarks saved and deleted.
Sites display correctly.
Zoom function works.
Rename Browser.zip to Browser.apk and push to phone.
When I try and use the file explorer in DDMS for my device it just comes up as blank. I am am running JF ADP1.5 on the device and the 1.5SDK on Mac OS X.
Can someone please confirm that DDMS file explorer works for JF ADP1.5 (preferably on Mac).
Anyone have any other suggestions?
it never worked on 1.5 for me...
This is because you are using a modified firmware.
You have to replace the busybox ls file with the toolbox ls file.
but my ls is linked to toolbox ?
just had another go, it appears you have to close the file explorer and open it again
Ah ok thanks. I didn't know that. What is the easiest way for me to get a file out of an application directory then. I want to get the sqlite database from an app I am writing off the phone.
I'm using apps2sd so I thought the application data should reside in /system/sd/app but if I navigate there in linda or astro it is blank. /data/app is also blank.
BGH80 said:
I'm using apps2sd so I thought the application data should reside in /system/sd/app but if I navigate there in linda or astro it is blank. /data/app is also blank.
Click to expand...
Click to collapse
/data/data
jashsu said:
/data/data
Click to expand...
Click to collapse
/data is also empty
Have you tried opening it with Term Emu or adb instead of a file manager?
Well I'm a bit stuck now.
I got thinking my apps 2 sd wasn't working so I just decided to switch to the unionfs method.
Now my phone is looping. I don't want to do a wipe and I don't have access to ADB here at work so I can't copy a new update.zip ROM to my phone.
So I can't check anything until I get home and can reflash my phone which will hopefully fix the problem.
Ah what a nightmare. The unionfs apps2sd didn't work on the first attempt so I ended up having to reformat, wipe, reinstall etc. I'm back up and running now and was able to get the file I wanted via adb pull.
How come file managers don't show the contents of folders such as /data/data/ ?
BGH80 said:
Ah what a nightmare.
Click to expand...
Click to collapse
Welcome to A2SD.
I have read and still don't understand how to add back apps like Sprint TV. I have them all saved on my computer I just do not know the commands to get them back into the phone. Do the apps I want to ad back need to be in a certain dir on my computer first. If someone could explain or either point me to a thread that explains this I would really appriciate it.
Seems I found an easy way to add sprints, htc's apps back into the phone once removed. I saved all of them on my computer and used HTC Sync to install the app back. I removed Nscar as a test using root manager, rebooted and it was gone, then opened up HTC synch and added it back. Not sure how to get the odex files back in but it works with apk files.
AFter testing it om HTCfootprints it would not install this. Installed Nscar with no problems.
I am also trying to figure out how to add sprint tv back onto my Hero. I see that people are saying to use adb push, but I can't seem to get it to work. I just rooted with the new fresh rom and everything is great, I just want to add back sprint tv. Any help would be appreciated, thanks
Im a total noob, but I got it the apps back on this way:
Go to the directory where the ADK Tools directory is. Then the following commands:
adb shell
su
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
chmod 777 /system
chmod 777 /system/app
exit
exit
Then I copied the .apk files that I wanted to push to the tools directory
I am in.
Then did this:
adb push Sprint_TV.apk /system/app
I found it is case sensitive, so make sure you type the filename exactly.
I rebooted my phone and the apps (such as Sprint TV) were back.
I hope this helps, like I said, I spent an hour trying to figure it out, but this worked for me.
I would not recommend doing a chmod 777 on your system or app directory. Not that anything bad will necessarily happen, but it's generally not a good idea to mess with system file permissions when you don't have to.
Your procedure would work fine without those commands at all, in fact. You don't even need to enter the shell; just adb remount and then adb push.
those instructions worked perfectly. Thanks a ton.
I tried this with HtcFootprints. I removed the widget as well. When I added all 4 back in I can see the widget for footprints, but the footprint icon does not show up in the apps section.
Another thing of intrest. When I added Nscar back using HTC Sync, it now shows up as a third party app. It is no longer a system app and I can uninstall it like a market app.
Ok scratch that I did the Footprints again and the Icon is now there Thanks a Ton
I was able to push HtcTwitter.apk and .odex. i cannot get the widget to show up in the add HTC widgets menu. Any ideas?
Well, after trying my hand at update/rom modding with some success... I'm willing to take a shot at making update.zip files to easily flash individual stock apps back onto your phone. That's if there's any interest.
obelisk79 said:
Well, after trying my hand at update/rom modding with some success... I'm willing to take a shot at making update.zip files to easily flash individual stock apps back onto your phone. That's if there's any interest.
Click to expand...
Click to collapse
That would be great and very helpful to many
Easy Peasy App Install
I just copied the files to my SD card. I then browsed to the SD card folder using Linda File Manager and "clicked" the file. It asked me if I wanted to use Linda File Manager or Package Installer. I selected Package Installer and it proceeded to installed the package for me. Not need to get into the console or use any commands.
VOILA!
I have spent all morning trying to get rom manager to fix permissions and have finally tracked down the culprit. the fix_permissions script is looking for /data/system/packages.xml. At least with perception 4 it is in /dbdata/system/packages.xml
I have edited the file and attached it.
First the rename and drop the .txt. the actual name of the file is fix_permissions
Copy to sdcard.
Using root explorer copy it to /data/data/com.koushikdutta.rommanager/files
(good idea to back up the other one first.)
Issue I have is after I reboot, the file resorts back to the old file.
Not sure why.
If you want to edit the file directly in root explorer, there were 4 instances of the /data/system/packages.xml
!!All credits go to the developers of rom manager and associated programs within it!!
I for the life of me cannot figure out why the file keeps changing.
So the best thing i can think of is to load it to the sdcard.
Using terminal emulator cd /mnt/sdcard and then sh the file.
Quickest diretiest way to get it to work.
I hope it helps someone out there.
Code:
su
cd /mnt/sdcard
sh fix_*
Thank you--if it helps, I simply copied the packages.xml file into /data/system/ in order to run fix_permissions, and then just deleted the .xml file.
A temporary fix, yes, but I was just trying to fix a specific problem with ending phone calls causing an FC (see http://forum.xda-developers.com/showthread.php?p=9943863#post9943863).
Thanks, your fix worked for me as well...
jnagar said:
Thank you--if it helps, I simply copied the packages.xml file into /data/system/ in order to run fix_permissions, and then just deleted the .xml file.
A temporary fix, yes, but I was just trying to fix a specific problem with ending phone calls causing an FC (see http://forum.xda-developers.com/showthread.php?p=9943863#post9943863).
Click to expand...
Click to collapse
--Much appreciate the suggested fix. Worked like a charm.
do you have to delete the packages.xml afterwards?
what will happen if I just leave it in the data/system folder instead of copy/pasting it every time?
Oh ant thanks SO much. Really needed to be able to fix permissions after Nero v5 started to act crazy yesterday.
pushabutton said:
what will happen if I just leave it in the data/system folder instead of copy/pasting it every time?
Oh ant thanks SO much. Really needed to be able to fix permissions after Nero v5 started to act crazy yesterday.
Click to expand...
Click to collapse
I haven't played with this in awhile, but it seemed that it was overwritten every time Rom manager started.
I'll play around with this and see what I can come up with as a more permanent solution.
Hi!
I was one of the first downloaders of ARHD 5.1.11, so I've got the version with the wrong "sleep_max_freq"-file. I wanted to change it's content manually from 5xx.xxx to 460.800, but that was more complicated I guessed:
1. nano does not work correct. I started a su-console from within connectbot (yes, "#"-prompt was visible, so I was root), remounted /system/ RW and then moved to /system/etc/virtuous_oc/. Than I've tried to change sleep_max_freq with
#: nano sleep_max_freq
but that doesn't work: I can't edit anything, nano doesn't react on tipping something on the keyboard :-(
So I've copied the file to the sdcard, mounted this on my Debian desktop and edited it. After that I've tried to copy it back to /system/..., but:
2. cp does not work correctly. Normally (so the man-page told me) I can override an existing file with the parameter -f: cp -f SOURCE DEST. But cp stopped with an error-message. I had to rm the old file manually, after that I can move the file from sdcard to /system/...
Is this a normal behaviour?
Dirk
naturelle said:
Hi!
I was one of the first downloaders of ARHD 5.1.11, so I've got the version with the wrong "sleep_max_freq"-file. I wanted to change it's content manually from 5xx.xxx to 460.800, but that was more complicated I guessed:
1. nano does not work correct. I started a su-console from within connectbot (yes, "#"-prompt was visible, so I was root), remounted /system/ RW and then moved to /system/etc/virtuous_oc/. Than I've tried to change sleep_max_freq with
#: nano sleep_max_freq
but that doesn't work: I can't edit anything, nano doesn't react on tipping something on the keyboard :-(
So I've copied the file to the sdcard, mounted this on my Debian desktop and edited it. After that I've tried to copy it back to /system/..., but:
2. cp does not work correctly. Normally (so the man-page told me) I can override an existing file with the parameter -f: cp -f SOURCE DEST. But cp stopped with an error-message. I had to rm the old file manually, after that I can move the file from sdcard to /system/...
Is this a normal behaviour?
Dirk
Click to expand...
Click to collapse
That's the most complicated methods I've even seen mate. Open root explorer end edit this file with your phone
mike1986. said:
That's the most complicated methods I've even seen mate.
Click to expand...
Click to collapse
Hey, maybe
I think it's because I'm coming from Debian, so command-line is the simpliest thought I've had.
But that's not the point, I think that cp and nano are not working correct. Can anybody confirm this?
Dirk
So I am the only one? Or is there anybody outside who is able to confirm my problems?