[MOD] Skip track via volume button only for XT907 Razr M stock - Droid RAZR M Themes and Apps

The best mod ever
[MOD] Skip track via volume button for Stock ODEX ROM JB 4.1.1 XT907 Only
Download View attachment skip_track_via_volume_buttons_RazrM_stock4.1.1.zip
put Odex to internal card
run terminal
su
copy cp -r /storage/sdcard0/android.policy.odex to /system/
change permissions chmod -R 777 /system/android.policy.odex
copy again cp -r /system/android.policy.odex to /system/framework
change permissions chmod -R 777 /system/framework/android.policy.odex
reboot
be happy!
All Instruction in the zip too.
thx for original file to ZaYAC_ua

a little more help?
I've tried this. Terminal emulator says cp: no such directory. "Odex" is that the whole package or just the file from the zip that's going onto the sd?

I extracted the files from the zip onto the internal memory. I then opened the skip track terminal file as a text document and copied and pasted the commands in terminal emulator. The phone rebooted by itself. It worked after that. I'm not on any ROM. Just rooted. Hope this helps.
Sent from my XT907 using Tapatalk 2

Is there anyway to make this compatible with the new update?
Sent from my XT907 using Tapatalk 2

Related

[Q] how to uninstall system Apps (f.e.Flickr) ?

is there a way to uninstall system apps like FLICKR service?
Maybe via console?
Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk
You can also delete the files before you install a new version of the ROM you're using. You can delete .apk files from the ROM.zip file to flash so when you flash it they wont install.
philje123 said:
Via ADB with the phone in recovery.
adb shell mount /system
adb ls /system/app
then find the apk file you want to delete and:
adb shell rm /system/app/(app name here).apk
Click to expand...
Click to collapse
you only have to put yourself in adb shell once,
adb shell
mount /system/
ls /system/app/
rm /system/app/xxxx.apk will do lol
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it
AndroHero said:
btw roms with the new file overlay system can delete system apps normally now, using a file explorer!! ive done it
Click to expand...
Click to collapse
sounds great
I use root explorer to do this
sent from my mind to yours using the power of suggestion
I'm in recovery and have no idea how to follow that instructions.
I see my options, don't see what you wrote.
Bump, sry
Sent from my HTC Desire using XDA App

[Q] youtube app porting help!!! please!!!

can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
betterment66 said:
can someone please post DETAILED isntructions to put froyo or gingerbread youtube app thing on samsung epic 4g. ive tried so many time and cant do it. and i delted the stock youtube app with titanium but cant install the other app and i dont wanna pay for root explorer cuz idk if its gonna help at all. i tried using the cmd promt but it says permission denied everytime and it also says adb is not recognized as an internal storage.. PLEASE SOMEONE HELP MEEE I DONT HAVE A YOUTUBE AP AT ALL NOW!!!!!
Click to expand...
Click to collapse
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
gremlyn1 said:
The new YouTube.apk just needs to be placed in '/system/app'. What I did was remove the original YouTube.apk and put the new one in its place and voila. Here is the method adapted for Windows (I think it's all right for Windows). This is also assuming you rooted with a one click root that included the remount script and that you have adb on your computer (the one click rooter should have adb included with it).
1. in the cmd prompt, go to the folder where you have adb and type:
Code:
adb.exe shell
2. inside shell:
Code:
$ su
# remount rw
# mkdir /sdcard/backup
# cp /system/app/YouTube.apk /sdcard/backup
# rm /system/app/YouTube.apk
# exit
$ exit
3. now in the cmd prompt again:
Code:
adb.exe push \path\to\YouTube.apk /system/app
4. Reboot the phone.
Click to expand...
Click to collapse
ok i get to remount rw but the when i type in the nect code it says
mkdir falied for /sdcard/backup read-only filesystem
I install it using terminal emulator.
All I do is type
Su
#rm /system/app/YouTube.apk
#cp /sdcard/DirectoryWithTheYoutubeApp/YouTube.apk /
system/app
Or after you rm, just use the "My Files" app and go on your sdcard and click YouTube.apk and it'll install and work fine. But remember to sign out of youtube before you close it by going to your page and clicking sign out or else it'll keep force closing after you start it up.
I hope I helped...
Sent from my SPH-D700 using XDA App
you guys are gonna freaking kill me. ALL THE TROUBLE I WAS HAVING WAS BECAUSE I HAD MY SDCARD MOUNTED THE WHOLE TIME I WAS TRYING TO DO THIS THE MINUTE I TRIED IT WITHOUT IT BEING MOUNTED IT WORKED...IM SO DUMB!!!!! LOL BUT THANKS FOR THE HELP ALL OF U!!!!!! U GUYS ROCK!!!! N SO DOES THE NEW UTUBE APP .....BTW I UNDERSTAND UR NOT SUPPOSED TO SIGN IN TO IT RIGHT???
I just uninstalled the original, put the modded youtube.apk in the SDX backup folder and installed (restored) it with SDX stock app remover. Simple, fast and no typing required.
Glad you got it worked out though.
me 2!!! this app rocks
Glad it's working! Having the SD card mounted while trying to adb is a common mistake and always a good first troubleshooting check.

Need vanilla lockscreen with haptic feefback

Please give me the zip file!
Sent From My HTC EVO
Caspers25 said:
Please give me the zip file!
Sent From My HTC EVO
Click to expand...
Click to collapse
You don't need a zip file to flash. It is already on your device. You only need to remove the HtcLockScreen.apk and the 2.2 vanilla lockscreen will be shown. This has the vibration when unlocked.
I believe you can simply remove using root explorer
OR ADB:
adb remount
adb shell
cd /system/app/
rm HtcLockScreen.apk
adb reboot
OR TERMINAL EMULATOR:
su
cd /system/app/
mount -o remount,rw /dev/mtdblock3 /system
rm HtcLockScreen.apk
reboot
DONE AND DONE!
This guaranteed WORKS
What Rom are u running? I extract Calkukin's EViO ROM with 7zip, drop the framework files from Fresh, zip it back up, flash and voila, vanilla with vibration...(calkukin has a vibrationless vanilla lock)
If your problem is as previously mentioned, then yes, you need to delete HTC lockscreen. Check Calkukins EViO thread for a flashable zip to remove it.
Sent from my PC36100 using XDA App
It doesnt have vibration on it still.

[Q] Big launcher problem, need help ASAP

Alright, when I turn my phone on LauncherPro keeps forceclosing on me, and I can't do ****. I just get 'the application LauncherPro doesn't answer', and an option to force close. When I push force close, the same message pops up again, so I can't access my phone. Is there any way I can fix this via adb or something? What I think caused the problem was that I downloaded and adb pushed a LauncherProPlus.apk (don't know the exact .apk name of it) to my phone (extremely stupid, I know).
Also, is there an adb command to view your phones files? Please help me out with this.
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Just remove the launcherpro apk again with adb. It's either a normal adb command or you have to use a shell. Make sure you have a other launcher on the phone when doing this.
If this sounds to complicated and you pushed the apk to /system you can reflash your rom without wiping data.
Sent from my HTC Desire using XDA App
mikep99 said:
Have you tried wiping dalvik from recovery and then rebooting?
If that doesnt work, you could try pushing another launchers apk to /system/app or /data/app.
Or do you have a backup that you can restore?
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Do you have an adw.apk or something? I'd like to try this first, as I have no recent backup. What do you mean wiping dalvik?
nvm guys, I managed to uninstall LauncherPro by adding a shortcut to installed programs on widgetlocker. I didn't manage to remove it with adb for some reason. Thanks anyways! Appreciate it.
Try wiping dalvik cache through recovery first.
Boot phone with vol down and power. Then choose recovery.
In the advanced menu, there should be the option to wipe dalvik cache.
Reboot.
Sent from my HTC Desire using Tapatalk
Actually, I have one more question. I downloaded this file: http://www.4shared.com/file/EMhprjdn/LauncherPro_Plus_v083.htm and pushed it to my /system/app using ''adb push file name and location /system/app''. Now I can't find any way to delete it, doesn't work with any file manager, neither do I have any adb command. This is a problem because as long as I have this file in my /system/app, I obviously can't use LauncherPro downloaded from the market. Anyone know how?
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
mikep99 said:
You need to do...
adb remount
adb shell
cd /system/app
rm launcherproplus.apk
This is going from what I remember. Check the apk name also.
You can do
ls -al before the rm command to list the files in the directory.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Thanks a bunch, but when I do ls -al, it says the launcherpro.apk name is ''LauncherPro Plus v0.8.3.apk''. An .apk isn't supposed to have spaces I guess? Anyway, when I type in rm LauncherPro Plus v0.8.3.apk I get:
# rm LauncherPro Plus v0.8.3.apk
rm: can't remove 'LauncherPro': No such file or directory
rm: can't remove 'Plus': No such file or directory
rm: can't remove 'v0.8.3.apk': No such file or directory
Can you try putting the apk name in quotes?
rm "xxxx.apk"
Sent from my HTC Desire using Tapatalk
No, that didn't work either... damn
Tried single quotes? rm 'Xxx xx.apk'
Sent from my HTC Desire using Tapatalk
When I tried that I got:
# rm 'LauncherPro Plus v0.8.3.apk'
rm: can't remove 'LauncherPro Plus v0.8.3.apk': Directory not empty
At least seems like a step forward
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
mikep99 said:
And you're booted into recovery?
Also, try putting
su
Before issuing the command.
Sent from my HTC Desire using Tapatalk
Click to expand...
Click to collapse
Guess like this; su rm 'LauncherPro Plus v0.8.3.apk'
but that gave me permission denied.
I tried booting into recovery earlier, but when I did that ''adb remount'' didn't work.
btw, i really appreciate all your help. thanks a lot mate
Ok, you need to be in recovery.
There's an option in one of the menus to 'mount system' - choose that.
Then try
adb shell
cd /system/app
rm 'xxxxxx.apk'
You wont have access to delete from /system while your phone is booted as I don't think you're S-OFF.
Sent from my HTC Desire using Tapatalk
It worked! Thank you so much! You literally saved my day!
No problem mate, happy to help
Might be worth taking a backup for the future
Sent from my HTC Desire using Tapatalk
Will definitely do that!
Hi Guys,
I am having pretty much the exact same problem as CH3Z, however i'm having problems locating LauncherPro.apk (free ver).
I've tried using the ls -al command and it doesnt show up there so i'm stuck @ the moment on what to do. I understand that i need the exact name of the apk but i dont know where it is. Any help would be appreciated.
Am running SuperNova Gingersense ROM.

[Q] replace framework-res.apk?

Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
re: install apks
TheArtiszan said:
Was just wondering if there is a way to replace the framework with just using root without a custom recovery for the stock Rom?
On my s3 I couldn't do it with just root don't know if that would work on this or if I might have missed something.
Sent using xda premium.
Click to expand...
Click to collapse
All you need is to be rooted, it does not matter if you have custom recovery or not.
You can install any apk's since you do not need to go into recovery to install apks.
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
re: install apk
TheArtiszan said:
When I tried with root only before on a different phone I used root explorer to replace.
But when I went to paste it in the folder the phone locked up and rebooted.
Was that not the right way to do it?
Maybe using adb terminal would be better and not cause it to lock and reboot when I paste over the existing framework-res.apk.
Being in the system directory causes some issue with being that is also a constant used file.
Sent using xda premium.
Click to expand...
Click to collapse
The framework-res.apk should be installed like any other app
unless the OP of wherever you got it from gives instructions
to "copy" it to the /system/app folder.
Why not do it the default normal way? just double click on it
when you are in root explorer and it should install like any
other app. If it gives an error, then you can copy it.
If you "copy" it you have to fix permissions and you have to
change the attributes of the /system/app folder so it's "read and write".
NOTE: if there is an existing framework-res-apk in /system/app
delete it with root explorer before doing any of the above.
Framework-Res.apk must reside in system directory. /system/framework to be exact.
Easiest way to do it without locking up is with adb.
You were right OP that it locks up because it's consistently being used. When I make my mods and such to the framework, this is how I quickly get it to the device.
adb remount (if the kernel supports it in other words, anything but stock)
Turn phone screen on
Adb shell stop (your phone should now have a black screen. This command stops all running threads except the one for adb)
Adb push framework-Res.apk /system/framework
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
You should now see the boot animation then the prompt "android is upgrading"
If you do not have adb remount option (it returns with permission denied)
Copy new framework Res apk to root of internal sd card.
Adb shell stop
Adb shell mount -o remount,rw /system
Adb shell cp /sdcard/framework-Res.apk /system/framework/framework-Res.apk
Adb shell chmod 644 /system/framework/framework-Res.apk
Adb shell start
Just a pointer, disregard my capitalization. Only capitalize when needed.
This method should get everything copied successfully. Any issues just post back!
Sent from my SGH-M919 using Tapatalk 2
Oh thank you very much.
I will give that a try and sounds exactly like what I was looking for.
Sent using xda premium.
Not sure if this is really relevant but...
When I had the samsung vibrant, I used root explorer to make a copy of my framework-res.apk. I extracted the entire thing, found my battery icon files, replaced them with different images given the same name, then repacked the file. Then I copied it back to the original folder to replace the original apk and my phone immediately shut off and rebooted. When it came back I had my new battery icon working just as I had hoped. I was rooted running stock.
Wait... Are you saying that I can simply copy the framework-res.apk from SlimKat and use it on a Google Play Edition ROM?
I'm going to try it!

Categories

Resources