My TF101 was stuck in a CWM bootloop and I used adb to push a few files (stock rom and new recovery) into the directory "/sdcard/Download"...
I then installed those and fixed the bootloop issue but now whenever I try to download something in Chrome or the Stock Browser, it fails. I now look into the filesystem and realize that I have a folder "/sdcard/Download" which I created with adb... and "/sdcard/download" which is from my old installation.
I'm unable to delete the files I put in "/sdcard/Download" and I'm thinking there's some problems with permissions. I rooted my device again and tried to use adb to delete those files and that directory but I get a permission denied message.
Does anyone have any ideas on how I can fix this so I can fix my downloading issues?
Try this method:
1. Boot into recovery mode,
2. then select cwm,
3. select advanced
4. select fix permissions then reboot.
Hope that would work
Sent from my GT-S6102 using xda app-developers app
Thanks, I tried that also and it didn't work.
I forgot to mention, I also did "su" before I tried to erase through ADB.
I checked out the permissions through chmod and both download folders and files have the same permissions. Am I supposed to do something with mounting that directory?
I don't think it has anything to do with your previous bootloop bro. This happened to me today as well. I didn't do anything specific to fix it. Like you said, browser downloads weren't working. Try Overskreen. I haven't gone back and tried again on Chrome or any other browser I have other than Overskreen because I just thought Chrome was being screwy.
Sent from my Transformer TF101 using Tapatalk 2
I've tried on Chrome, and it fails too. I don't think it's related to my previous bootloop problem, I think it's because I created a folder called, "/sdcard/Download" with ADB because if I try to add a file to that directory, I get a Permission Denied error.
Maybe try to clear your browser's data and catche.
Sent from my GT-S6102 using xda app-developers app
tomithy said:
I've tried on Chrome, and it fails too. I don't think it's related to my previous bootloop problem, I think it's because I created a folder called, "/sdcard/Download" with ADB because if I try to add a file to that directory, I get a Permission Denied error.
Click to expand...
Click to collapse
Well i would think that you can just use terminal or a adb root session and change permissions on that folder to read/write. it's odd to me that you didn't already have that folder. or at least /mnt/sdcard/Download
Sent from my DROID BIONIC using xda premium
lemonoid said:
Well i would think that you can just use terminal or a adb root session and change permissions on that folder to read/write. it's odd to me that you didn't already have that folder. or at least /mnt/sdcard/Download
Sent from my DROID BIONIC using xda premium
Click to expand...
Click to collapse
I tried to modify the folder/files through adb root session... Doing a chmod shows that the folder and files have write permissions already. I'm still am unable to modify any files in the folder or the folder itself.
I was able to find a workaround because Dolphin Browser HD uses "mnt/sdcard/download". So now I can use Dolphin to download files from the internet but Chrome/Stock Browser still don't work.
Related
Hi! I searched the forums, but didn't see any answers regarding to this.
I'm trying to install the moded versions of SMS and Phone/Contact apps found in Cyanogenmod ROM over stock 2.3.4.
What I did was to extract Contacts.apk, Mms.apk, and Phone.apk from one of CM releases and copied the APK files to /System/Apps/ via Root Explorer (set it from R/W to R/O) and rebooted the phone, but there was no change.
I then tried to install them (from the same /System/Apps/ location) through Root Explorer, but it doesn't let.
Any help would be much appreciated.
If you are trying this you need to check/change permission on each app...the phone.apk will not work though I've tried and got force closes. The dialer and mms apks will work though. The best way to do this is to push via adb. If you don't have sdk and knowledge of the basic adb and shell commands I would highly reccomend becoming familiar with them.
Sent from my Nexus S 4G using Tapatalk
I have sdk and worked with adb before to root my phone. I'll do some research on how to install apps via adb.
Thank you.
umbrae said:
I have sdk and worked with adb before to root my phone. I'll do some research on how to install apps via adb.
Thank you.
Click to expand...
Click to collapse
Just put the apps on your tool folder and enter the following commands....
adb push "your.apk" system/app
Sent from my Nexus S 4G using Tapatalk
Thanks again. I did that and got confirmation that the files were copied, but the new Mms, for example, wasn't installed.
I tried using "install" command after, but it wouldn't let me. I got a message saying that the file already exists.
I changed the permission and everything, too.
Any ideas?
umbrae said:
Thanks again. I did that and got confirmation that the files were copied, but the new Mms, for example, wasn't installed.
I tried using "install" command after, but it wouldn't let me. I got a message saying that the file already exists.
I changed the permission and everything, too.
Any ideas?
Click to expand...
Click to collapse
That's odd...I usually don't have to change permissions when I push an app. What version of the cm7 mms apk are you using? I used it from the stable 7
Sent from my Nexus S 4G using Tapatalk
sunder74 said:
That's odd...I usually don't have to change permissions when I push an app. What version of the cm7 mms apk are you using? I used it from the stable 7
Click to expand...
Click to collapse
I was using Nighties, but I'll try the latest stable 7. Downloading now.
Just to clarify what I did:
First, used the "adb push" method you suggested and the apk files were copied to system/app. I rebooted, but nothing had changed. I then tried to install the copied files via Root Explorer, but it wouldn't let me. I changed R/O and then Permissions, but still couldn't install.
Then I tried "adb install", but it said file already exists. I changed R/O then Permissions, but still couldn't.
After that, I deleted Mms.apk and Contacts.apk and tried all the methods described above again, but still nothing. The apps weren't installed and I kept getting FC.
Lastly, I manually copied the files again via Root Explorer (changed R/O then changed Permission), but still no change and couldn't install.
Hopefully CM 7 packages I'm downloading would work.
Sorry if this doesn't belong here, I can change audio easily with stock based roms but nothing I've found is working for CM based roms, preferably CM9 if possible. I don't know anything about this, looked up multiple threads none worked I tried the changes they said, editing lines in build.prop, init.local.rc and a way that says to run a script in Android terminal, everything is added/modified I get no audio still
Sent from my LG-P999 using Tapatalk
I believe it now works on the latest
Set of nightlies
Sent from my LG-P999 using XDA
There are no nightlies for CM9
Tried a few more things can someone help or is it not possible? Don't think I've ever had a cm based rom have on/off audio
Sent from my LG-P999 using Tapatalk
xBkKx said:
Tried a few more things can someone help or is it not possible? Don't think I've ever had a cm based rom have on/off audio
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
There's an app called BAC lite, it shows an option to install boot audio binary and tells to use android_audio.mp3 in /system/media/ I haven't tried it with an MP3 or even a properly named ogg but I'd say to give it a shot for a possible quick, easy fix.
Did it work?
Sent from my LG-P999 using xda app-developers app
jefdumais said:
Did it work?
Sent from my LG-P999 using xda app-developers app
Click to expand...
Click to collapse
I couldn't get it to work, app changed boot animation fine but when I tried audio it said it installed the file but still heard nothing during boot
Can't remember where I found this procedure but it does work for me using CM7. I would guess it would work for CM9 and above as well.
_______________
Another user asked for this, and I helped him through it, so I decided to post it here so everyone can have access to it. I didn't create the file, just came across it one day being bored..I digress.
Credit to barnacles10 and lithid-cm
*NOTE: Anything in brackets is either description of what is happening or an action you need to perform; don't type in anything in brackets*
What you need to do to get a boot sound on CM7/AOSP is the following.
1. http://dl.dropbox.com/u/19699565/bootsnd.sh Apparently some people had issues with the first link, so I uploaded it again. Download that file, place on your sdcard.
2. Take whatever sound you want and rename it to: android_audio.mp3 [needs to be mp3 format] and save it to the system/media folder using a file manager that lets you access system directories. I use Root Browser Lite (you can get from Play Store).
3. On your phone, open terminal emulator, and type in the following:
su [enter]
cd /sdcard [enter] *you can store the bootsnd.sh file to any folder on your SD card, so use this command to navigate to it*
ls [to list all files, you should see bootsnd.sh]
sh bootsnd.sh [enter]
You won't see a confirmation, or message, it just runs, and returns you to a # sign.
Reboot, and enjoy your boot sound.
*NOTE*
If you flash / change roms, you'll have to re-run the process to enable the boot sound again. If you get tired of it / don't want it, you can use root explorer and delete the file.
If your having trouble getting sounds to play this should fix the problem.
Quote:
Here is how to fix it.
Make sure you are mounting in R/W mode on each of these steps.
Quote:
Originally Posted by deaver_92 on XDA
To start go to
/system/etc/init.local.rc
and open it in the text editor. Delete everything from
###Bootsound - Safe to Delete: Start###
to
###Bootsound - Safe to Delete: Stop###
Delete any instances of it.
Using a app like root explorer, goto /system/bin and delete the file bootsound.
Back out to /system now open build.prop in text editor mode, look for this text.
Code:
ro.config.play.bootsound=1
Delete it from the build.prop and save and exit.
This is optional but recommened.
Reboot phone.
Verify no sound is playing.
Now run the script again and reboot.
You should have a boot sound again.
Hello everyone,
I am new to all hacking and modding so please forgive me if I do something wrong.I was uninstalling applications from my rooted atrix 2 2.3.6 stock when I deleted the task manager can you give me the apk or the file and tell me how to use it.I have the 55.28.37 Asia retail please help me.
Sent from my MB865 using XDA
A word of advice: NEVER delete system applications, instead just freeze them. You never know when you may need them or want them back, and if you delete something (case in point here) that you want back, then you're asking for possible unwanted issues...
Sent from my MB865 using xda's premium carrier pigeon service
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
kousik said:
Try doing "adb install com.motorola.PerformanceManager.apk" or copy it to SD card and then use some file manager.
Click to expand...
Click to collapse
He should have no problem downloading the file and placing on root of the /sdcard and install like any other .apk (unless he's deleted his file manager also!).
Sent from my MB865 using xda's premium carrier pigeon service
Set the right permissions otherwise even after placing app into system it will not work.
Sent from my MB865
For reference, my Performance Manager's location is /system/app/PerformanceManager.apk and the permissions are rw-r--r-- which is chmod 644
Thanks every one for your replies you people are really helpful
Sent from my MB865 using XDA
If you can give me a step by step guide then it would be very helpful
Sent from my MB865 using XDA
Easiest way is to download the file to your computer, then connect your phone in usb mass storage mode to your computer, copy the .apk file you downloaded to your sdcard (which might show up as D: or E: in your PC), disconnect phone from computer, on phone use the "Files" file manager, go to "sd card", locate the .apk and tap on it to install. (Unknown sources should be ticked in your Settings > Applications)
Delete previous performance Manager that you have copied to system/app folder
Extract the attachment then copy both files to system/app without renaming or modifying them
Now to set the permission press and hold both files one after other for 3 seconds a window will appear in that select permission .
Now set permission as I have attached a Image.
People please help me I copied the apk and odex file and I have set the permissions but its not helping
Sent from my MB865 using xda app-developers app
Please help me
Sent from my MB865 using xda app-developers app
shaurya19 said:
Please help me
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
alteredlikeness said:
If you must use root explorer, you need to copy the files first to the /system folder, and change the permissions to rw-r--r--.. Then "multi-select" both files and "MOVE" (do not copy) them to the /system/app folder, then reboot immediately. If you can go into recovery mode (with bootstrap or cwm on boot feature), then wipe dalvik and cache partition - if not, it may act up.. and it may not.. I have done this countless times with no issues (unless I was sloppy and forgot to rename or change permissions).
It's not the best method - farshad525hou is right, adb is cleaner.. but it can/does work
Click to expand...
Click to collapse
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
farshad525hou said:
Using root explorer never worked for me...
Sent from my MB865 using xda app-developers app
Click to expand...
Click to collapse
Yea, I know some folks are opposed to it and/or can't get it to work properly, but I've doing it for quite some time and never ran into a problem - unless I don't do something right. But, come to think of it, I am usually overwriting old files when pushing with root explorer, not placing new ones - I wonder if that may have something to do with it..?
But, I am all for adb - it's an excellent tool that everyone who wants to mod needs to get familiar with.
I suppose we are getting off topic, but this would make a good discussion thread somewhere...
EDIT: just checked, I guess I'm not alone after all!! http://forum.xda-developers.com/showthread.php?t=1412729 - the key steps are to set permissions (which can't be done on the sdcard) and MOVE to /system/app (or where ever)
Where can i get abd?
Sent from my MB865 using xda app-developers app
farshad525hou said:
For future reference just copying files to system/app never works. You ALWAYS have to push them with adb. Do you have adb set up on your computer?
Click to expand...
Click to collapse
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Sent from my MB865 using xda app-developers app
shaurya19 said:
I got adb but should i adb install the file that kousik has posted or should i push both the odex and apk files posted by prasannapmv?
Whenever i type adb remount it says that it is not allowed and when i try to adb install it gives an error
Click to expand...
Click to collapse
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
kousik said:
Just do adb install xx.xx.xx.apk there is no need to remount (or odex file). What is the error message do you get when you tried adb install? If it says already installed, then go to settings -> applications -> all and uninstall the same, and try adb install again.
Click to expand...
Click to collapse
it says install-failed-dexopt
Can someone help me to install Cerberus on my rooted verizon s3. I rooted using the non-flash method and I don't have a custom recovery or rom. Their instructions say:
you can manually install Cerberus in /system/app this way:
- Uninstall Cerberus from your device
- Download Cerberus.apk and put the file on your sd card
- Open a terminal emulator and execute:
su
mount -o remount rw /system
cp /sdcard/Cerberus.apk /system/app/
Click to expand...
Click to collapse
After research, it seems that I should be able to install using either Titanium Backup or root explorer or adb if necessary.
Is this a simple matter of using Titanium Backup's "convert to system app" feature? Does this automatically move the file to the /system/app directory and set the correct rights?
Or should I place the apk in the /system/app directory using root explorer? What rights would I have to set?
Thanks for your help.
I suggest using RootExplorer. You would just navigate to the system/app directory, mount r/w, and then copy the apk. All those steps are performed using the UI in RootExplorer.
Sent from my SCH-I535 using xda app-developers app
I will give it a try. Thanks.
NP. It's one of those apps that is worth two or three times what the dev charges for it.
Sent from my SCH-I535 using xda app-developers app
Wifi won't connect
I installed Cerberus in \system\app and rebooted. I got the custom lock screen but this went away after rebooting again.
However, I can no longer connect to my wifi (either automatic or forced).
When I remove Cerberus, and reboot, wifi automatically connects
Any ideas what is going on?
** UPDATE - uninstalled and reinstalled to system/app and everything worked as it should. I'm curious what happened internally - e.g. why the lock screen and why it messed up wifi.
I have accidentally installed a theme that is probably of higher resolution than my phone screen. Now in locked mode the unlocking option/pattern/graphics is not visible as it is 'spilling out of screen'.Only a part of large lockscreen wallpaper is occupying my entire screen. Android debugging is on in my device (thankfully). Please suggest me a tool/method using which i can control the phone using PC(or atleast unlock the phone). I (obviously) cannot install anything on my phone, i found some such apps that need installation on phone.
Last option is to flash my phone in recovery with a ROM, but i dont want to do that if other ways possible. my phone is on MIUI ROM developed on 26/9/12
You can wipe your /data in recovery if you don't mind
Or you can manually delete the theme using adb(the apk will be in /data/app).
PS: make a nandroid backup first in case anything goes wrong...
Edit: if you don't know the Apk name, navigate to /data/app and type find(Idk if it will work on windows, cause I tested it in android )
Sent from my LG-P500 using xda premium
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Why would you enter in your system dir.
Btw now that you have access to your phone, download rootexplorer or es file explorer and you'll have access to /data, /system and more
Sent from my LG-P500 using xda premium
but my friend i am not able to access my device,meaning i am not able to unlock it, how do i install it (even if installation possible how to open that app without accessing phone)
i dont know if i am expressing my case properly, i am a noob you see.
Jigar Gada said:
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Click to expand...
Click to collapse
FIRST YOU STOP SPAMMING EVERYWHERE
What is the problem when you can see all system files and folder. Go to data /app.. and delete it. Or if you have moved the theme apk to sdcard.. just browse your sdcard using an adapter and delete that appname.apk from ".android_secure" folder.
Use these (if you havent moved the app to sdcard)
adb shell
login as.. su
cd data/app
ls
rm appname.apk
reboot
problem solved
Sorry 'senior member' , i did not mean to spam but if u can understand my desperation. btw problem solved- a noobie like me suggested to call from a different phone and while on the call change the theme....
i myself tried a lot fiddling with command line but wasnt able to figure out.
Peace \/
Jigar Gada said:
how to i enter in my phone's system dir using command line??
what commands to enter?
thankfully i am able to atleast see files and folders in my phone's system using http://code.google.com/p/androidscreencast/
Click to expand...
Click to collapse
FPChaim said:
Why would you enter in your system dir.
Btw now that you have access to your phone, download rootexplorer or es file explorer and you'll have access to /data, /system and more
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Sorry I was sleeppy when I replied that...
Sent from my LG-P500 using xda premium