Related
sorry if this has been asked a lot, i have tried searching and need some help.
I flashed the latest Axura, and hate the music app installed in it. So i found the stock samsung music player, and tried to install it in the /system/app folder via Astro file manager, but i can't paste or cut anything that's not in the sd card.
so i tried adb. i couldn't push anything to the system/app folder as my permission was denied, so i copied the apk to the sd card, then i went into adb shell and used su to copy the file into the /system/app folder. that worked, but when i did that i lost the music player icon totally.
if i go to my music files on the sd card they will play individually, so the player must be installed, i just have to icon to boot into the player.
any help would be appreciated!
Anything?!
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
Anything?!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
copy to your sdcard
adb shell
su
(accept the prompt on your screen)
cd /sdcard/whereveryoustuckfile
cp blahblahblah.apk /system/app/
I did that, and the music player apj is in the folder now, but its not in my application drawer. I have tried to install it from there but it fails everytime as well. I can always reflash the axura rom but I would like the stock player back!
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
I did that, and the music player apj is in the folder now, but its not in my application drawer. I have tried to install it from there but it fails everytime as well. I can always reflash the axura rom but I would like the stock player back!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
sounds like you dont have proper permissions on it
do you have root explorer?
I had to remount the system/app folder to allow write.
Sent from my SAMSUNG-SGH-I896 using XDA App
I don't have root explorer, I have astro file manager, but thsts it.
Also I tried remounting the system/app folder to read/write but it wouldn't let me in adb.
Sent from my SAMSUNG-SGH-I897 using XDA App
drizzle67 said:
I don't have root explorer, I have astro file manager, but thsts it.
Also I tried remounting the system/app folder to read/write but it wouldn't let me in adb.
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
once you su, run this command
mount -o rw,remount /dev/block/stl9 /system
Ok everyone. Here is the lockscreen mod, power menu AND additional clock options for KC1. This will NOT work on Krylon's stock build but ONLY my deodexed one. Since there is no cwm yet you will need to push the files manually with adb or use root explorer to drop them in. Root Explorer is the easiest method. Just be sure to set permissions on all the files to rw-r--r-- after you copy them in.
Lockscreens are Rotary (default), Puzzle, Android, Glass, Epic and Star Wars (Settings > Display > Unlock Screen)(Please be aware - Lockscreen wallpapers are not supported on any of these)
Power Menu (no header) - Reboot, Recovery, Download mode
Clock Options - Hide Clock, Hide am/pm (Settings > Date and Time)
Added "Stay Awake" option (Settings > Applications > Development)
Pretty sure I killed the "battery full" pop-up as well
DOWNLOAD <<<<< KC1 Lockscreens / Power Menu / Clock Options
If using adb here is what to do...
Place the files in the zip in your adb tools folder. Navigate to your tools folder in your cmd prompt and perform these commands
First, mount your system as r/w
Code:
adb shell
su (will need to accept root access on phone)
mount -o remount,rw /dev/block/stl9 /system
Your system is now mounted as read/write. Now remove the original files from your phone.
Code:
rm /system/framework/framework-res.apk
rm /system/framework/framework.jar
rm /system/framework/android.policy.jar
rm /system/framework/services.jar
rm /system/app/Settings.apk
exit
exit
Now push the new files into place.
framework files to framework folder
Code:
adb push framework-res.apk /system/framework
adb push framework.jar /system/framework
adb push android.policy.jar /system/framework
adb push services.jar /system/framework
Settings to app folder
Code:
adb push Settings.apk /system/app
Now the files are all in place, but you need to set the correct permission on them.
Code:
adb shell
su
chmod 644 /system/framework/framework-res.apk
chmod 644 /system/framework/framework.jar
chmod 644 /system/framework/android.policy.jar
chmod 644 /system/framework/services.jar
chmod 644 /system/app/Settings.apk
DONE. Now reboot your phone. It will take about 5 minutes to reboot.
Again, you can use Root Explorer to move these files into place manually. Just be sure to set the permissions of all of them to rw-r--r-- after you do.
Credits
~ Untermensch for ultimately being my mentor on lockscreens and for his write-up on doing the power menu
~ S0niqu3 for the hide am/pm source
~ sbrissen for the hide clock source
Used root explorer to drop them in place and reset permissions work like a charm thanks
Sent from my SGH-T959V using XDA Premium App
Android, Rotary and Star Wars unlock doesn't have unlock sounds
Sent from my SGH-T959V using XDA Premium App
Wow. That was fast. Thank you much.
Sent from my SGH-T959V using XDA Premium App
chadster214 said:
Android, Rotary and Star Wars unlock doesn't have unlock sounds
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
Yea only not all the lockscreens support unlock sounds. Only the twiz lockscreens support the twiz music player widget as well.
if u use root explorer do i just have to replace the framework and put the new one?
crunkhead18 said:
if u use root explorer do i just have to replace the framework and put the new one?
Click to expand...
Click to collapse
yes, just overwrite the files
Can someone show me how to use this root explorer instead of adb
Sent from my SGH-T959V using XDA Premium App
rickyy00 said:
Can someone show me how to use this root explorer instead of adb
Sent from my SGH-T959V using XDA Premium App
Click to expand...
Click to collapse
I would honestly learn the basics before you try any of this.
i allready flashed stock deodexed kc1 rom onto my phone in hopes of putting on the lockscreens but i just wanted to know if the root explorer method was easier like he stated up there
I really want these....but its quite painful setting up all my sync'ed accounts again after flashing. I went from Deodexed to Krylon's Odexed Stock, to go back to Deodexed would be a painful process again to get all my accounts set back up and app's loaded + moved to SD. Also fixing the camera/mms/phone issue with the Deodexed ROM on top of that.
Anybody else have any thoughts? Just do it? Haha
mikeDCMDVA said:
I really want these....but its quite painful setting up all my sync'ed accounts again after flashing. I went from Deodexed to Krylon's Odexed Stock, to go back to Deodexed would be a painful process again to get all my accounts set back up and app's loaded + moved to SD. Also fixing the camera/mms/phone issue with the Deodexed ROM on top of that.
Anybody else have any thoughts? Just do it? Haha
Click to expand...
Click to collapse
I used ES File Explorer, go into settings, and check the two boxes in Root setting.
Then go to the directory where the zip is saved, extract and copy paste to the right directories. Once that was done I rebooted. It took 5 min or so to boot but It came up. Once done go into settings and change lockscreen.
Worked like a charm for me. Thanks!!!
rickyy00 said:
i allready flashed stock deodexed kc1 rom onto my phone in hopes of putting on the lockscreens but i just wanted to know if the root explorer method was easier like he stated up there
Click to expand...
Click to collapse
as the OP say " use root explorer to drop them in" come on dude!!! READ!!!
chadster214 said:
as the OP say " use root explorer to drop them in" come on dude!!! READ!!!
Click to expand...
Click to collapse
DUDE THAT GUY NEEDS TO BE SPOON FED ON EVERYTHING! Even though it's already straight outlined for him.
YES RICKY00.
IF THE OP SAYS IT'S THE EASIEST METHOD THEN YES IT IS THE EASIEST METHOD. I USE IT BECAUSE IT'S THE EASIEST METHOD AND WELL WORTH THE MONEY TO PAY FOR THAT APP CUZ OF HOW EASY IT IS TO USE AND SINCE I'M A LAZY ASS TO USE ADB EVEN THOUGH ADB ISN'T THAT HARD.
so to be clear...
i have to flash the deodexed rom in order to have this?
i cant push them with root explorer with only a rooted 4gs?
freaktractor said:
so to be clear...
i have to flash the deodexed rom in order to have this?
i cant push them with root explorer with only a rooted 4gs?
Click to expand...
Click to collapse
you have to flash to Deodexed KC1
Oh boy, so I was able to do this via ADB.
But thought I would also try and do it with Root Explorer. I am bored at my job today.
I copied the files to the sdcard. Then opened Root explorer, located the files, using multi- select I selected all but the settings file that goes into the system/app.
I then hit copy/ then tried to paste the four files to system/framework
I get an error that says there isn't enough space. Then I get all sorts of force closes, and have to re-odin the deodexed KC1.
What the hell am I doing wrong? I am sure I am just having a brain fart but its becoming irritating.
Bl4ckpheniX said:
Oh boy, so I was able to do this via ADB.
But thought I would also try and do it with Root Explorer. I am bored at my job today.
I copied the files to the sdcard. Then opened Root explorer, located the files, using multi- select I selected all but the settings file that goes into the system/app.
I then hit copy/ then tried to paste the four files to system/framework
I get an error that says there isn't enough space. Then I get all sorts of force closes, and have to re-odin the deodexed KC1.
What the hell am I doing wrong? I am sure I am just having a brain fart but its becoming irritating.
Click to expand...
Click to collapse
I had the same problem with another framework, and cringed when I tried this method. BUT, I used ES File explorer for this mod and everything worked like a charm. I didnt have to set permissions or anything.
Bl4ckpheniX said:
Oh boy, so I was able to do this via ADB.
But thought I would also try and do it with Root Explorer. I am bored at my job today.
I copied the files to the sdcard. Then opened Root explorer, located the files, using multi- select I selected all but the settings file that goes into the system/app.
I then hit copy/ then tried to paste the four files to system/framework
I get an error that says there isn't enough space. Then I get all sorts of force closes, and have to re-odin the deodexed KC1.
What the hell am I doing wrong? I am sure I am just having a brain fart but its becoming irritating.
Click to expand...
Click to collapse
Try using es file explorer
Sent from my SGH-T959V using XDA Premium App
fknfocused said:
I used ES File Explorer, go into settings, and check the two boxes in Root setting.
Then go to the directory where the zip is saved, extract and copy paste to the right directories. Once that was done I rebooted. It took 5 min or so to boot but It came up. Once done go into settings and change lockscreen.
Worked like a charm for me. Thanks!!!
Click to expand...
Click to collapse
I am not deodexed though.
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.
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.
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