Just a note:
If you do this for system/app you will need to delete all .odex files BEFORE you can apply a theme. (don't know if you could load a theme do the odex thing and then pull the .odex files and pack with the theme, should work I guess)
If not the phone will hang and you will have to load recovery mode and do:
adb remount
adb shell
rm /system/app/*.odex
Related
This is my modding for the Power Control widget.
ON : icons are colored
OFF: icons are grey
To install, you must have rooted the phone.
Unzip the attached file and copy to the android\tools directory of PC.
This are le command line form PC:
1) to create a backup of the original file:
adb remount
adb pull /system/app/Settings.apk Settings_backup.apk
2) to push the new file in the Liquid
adb remount
adb shell rm /system/app/Settings.apk
adb push Settings.apk /system/app/Settings.apk
adb shell reboot
You can also use "Root explorer" (if you have it installed) on your Liquid.
Unzip the attached file and copy the apk in your SD.
Than open Root explorer and go to system/app, remount the system as R/W and delete Settings.apk
Now move to SD and copy the file Setting.apk and paste it in system/app
Give to the file this Permissions:
Now reboot your device.
Done.
Great work, my friend
You want to mod the animated logo on your flytouch? Follow this tutorial to know how.
First, open ADB, and connect to your device:
adb connect xxx.xxx.xxx:5555
*xxx representing your device's IP
adb shell
*wait for shell to start then type:
su
*you may need to confirm the action on your device
If you haven't gotten lost yet, type these commands:
cd /system/framework
*if u want to copy to an SD then type:
cp /system/framework/framework-res.apk /sdcard/
*if you want to copy to a UDISK then type:
cp /system/framework/framework-res.apk /udisk/
Then, with this copied, unmount:
umount /udisk/
---- or -----
umount /sdcard/
and remove the device. Then plug it up to your computer, and open the folder. Navigate to the APK, and extract it using WinRAR.
The File system within the apk will look like this:
\assets
\META-INF
\res
AndroidManifest.xml
resources.arc
navigate to assets\images\
Rename android-logo-shine.png to android-logo-shine.png.old
Rename android-logo-mask.png to android-logo-mask.png.old
Then if you want no scrolling shine, input the shine file attached, otherwise un-rename it to use it.
Then create a boot logo. it can be big, but no bigger than 1000 kb. Try to not exceed... The pixel formatting varies with different systems. For my EPAD, 600,400 pixels were enough.
Then, add the boot logo, to assets/images/ and rename it to android-logo-shine.png
Making sure the files android-logo-shine.png and android-logo-mask.png exist within the directory /assests/images/ pack up the archive again, and copy it back to the SD Card.
Now, direct your attention to the ADB Shell. Plug your SD to the device, and type:
mv /system/framework/framework-res.apk /system/framework/framework-res.apk.old
cp /sdcard/framework-res.apk /system/framework
*you should now have the modified archive apk on your android device.
Finally, set the permissions to full:
chmod 777 framework-res.apk
Double check everything on last time. Open your file browser, and check that within /system/framework you have a framework-res.apk and a framework-res.apk.old. Also, check the permissions and make sure all the boxes are checked. If all looks good, reboot your device and see. If you did this right, you should see the initial android logo, then your custom file. If you somehow messed up, I AM NOT RESPONSIBLE FOR ANY DAMAGE INCURED BY THIS PROCESS.
Hey guys, I wanted to modify the framework in cyanogenmod 7. What I did was se this command in terminal:
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock4 /system
rm /system/app/SystemUI.apk
so as you can see, i deleted the framework and after that i couldnt do anything in terminal. I turn off the phone and then i usb mounted the phone to adb push the moddified systemui.apk, i was able to push the apk, but when i restarted the phone, there was no framework.. any ideas as to why that is.. maybe the apk file is corrupted?
Its named signedsystemui.apk! Did you push it with the right name?
Sent from my......ummm...let me get back at'chya!
I don't usually delete things before pushing new file and I don't normally recommend signing system/apps.
This is what I would do. Keep in mind, your mod (whatever you may have done with it) could simply be a little goofed up.
Code:
adb remount
adb shell
stop
cp system/app/SystemUI.apk /system/app/SystemUI.bak
adb push <path to>/signedSystemUI.apk /system/app/SystemUi.apk
start
exit
In the above, <path to> refers to the location of your modified aoj. For me, it would normally be "Users/tommytomatoe/Mod/app.apk". What I do is drag and drop the apk into the terminal after typing "adb push".
If it boots up after issuing adb shell start, then you're golden! If not, then do this. Keep in mind, if you're in splash screen you will want to reboot into recovery first and mount system using the options in the menu. If you're in boot loop with bootanimation, go ahead and issue these commands:
Code:
adb remount
adb shell
stop
mv system/app/SystemUI.bak /system/app/SystemUI.apk
start
exit
Now, you will have original apk and it should boot up. Go back to ground zero and remodify your apk and make sure you've taken correct steps.
All i did was change some pngs. I did sign the apk... maybe thats why it didnt work..When changing pngs to the systemui.apk, do i also have to modify the framework-res.apk?
~CR7~ said:
All i did was change some pngs. I did sign the apk... maybe thats why it didnt work..When changing pngs to the systemui.apk, do i also have to modify the framework-res.apk?
Click to expand...
Click to collapse
It appears the newer gb stuff has elements in framework res as well as system ui. It wont hurt to change both if same files exist in both. Tjats what I think.
And also, don't sign system apk. All the system apk prefer to have same signature. Signing one would result in having to sign all in most cases...
Sent from my PC36100 using XDA Premium App
Hello Gents and Devs i found this mod and i decided to try it out and it works!
What we have here is installing Playstation Mobile on your HTC ONE VX
This gives you access to playstaion network Mobile, This Mod will make your phone certified with PSN
What you need-
Download the Zip
Knowledge of adb
What you want to do is download the zip below
make sure you do a nandroid before attempting!
Now unzip the PSM.ZIP file and mount your phone as storage, and install the apk, Once installed, unmount your phone
Now you going push some files to your phone and set permissions to it
First push playstation XML to system>etc>permissions
Code:
adb push com.playstation.playstationcertified.xml /system/etc/permissions
then the second file your going to push to system>framework
Code:
adb push com.playstation.playstationcertified.jar /system/framework
When everything is installed and pushed you gotta set permission to the .Jar file
Code:
adb shell chmod 644 /system/framework/com.playstation.playstationcertified.jar
the do adb reboot so the system can reboot and update the framework and from there go to the PSM app and sign in your credentials
Original credit goes to XxXPachaXxX
Xda wont let me upload the zip
https://dl.dropbox.com/u/8642382/PSM.zip
MOST IMPORTANT PART BEFORE FLASHING A NEW ROM MAKE SURE YOU DEACTIVATE YOUR PHONE FROM PSM
THERE IS A LIMIT ON HOW MANY DEVICES YOU CAN ACTIVATE ON PSN
Hey guys quick question if I will run into trouble doing this.
I wanted to change some .png files in the SystemUI.apk file in /system/app so I extracted it with Root Explorer.
Pulled it over to my PC, made it a zip, changed the files.
Now I want to sideload it on with TWRP back where it goes, I know it can overwrite it.
Will I have to change permissions somehow, I see "Fix Permissions" button in TWRP, will that do it?
Thanks so much for the help!
boot into TWRP
mount /system
adb push SystemUI.apk /system/app/
adb shell
chmod 0644 /system/app/SystemUI.apk
exit
adb reboot
this assumes that you are in the same folder as your SystemUI.apk and I would double check the permissions, it has been a while.