I messed up htc clock widget, haaalp! - Android Software/Hacking General [Developers Only]

I copied, using root explorer, deodexed htcclockwidget.apk over odexed one in /system/app.
Desktop restarted.
The widget was no longer on the list.
So copied old files back. The widget still missing.
Anything I can do to restore functionality?

Reflash the rom, wipe not required.

Try this:
Using the root explorer long press on the APK file and give the permission to the file, RW-R--R-- or if you whant RWX-RWX-RWX. restart the phone and see if they apear agian, try this before flash again.
Cheers.

Related

installing system apps

I deleted all of the touchwizcalendar.apk files, now I am trying to install a basic android Calendar.apk, and it is not allowing me to.
I have chmod'd EVERYTHING to 777 in the system/app directory, including the file. Still will not let me install it through Astro File manager.
What am I doing wrong? I have the file in the system/app directory, upon reboot it still does not install. Though I notice that rebooting makes all the permissions go back to what they were. At this point, I just want my calendar back. Any calendar.
- KrossXC
KrossXC said:
I deleted all of the touchwizcalendar.apk files, now I am trying to install a basic android Calendar.apk, and it is not allowing me to.
I have chmod'd EVERYTHING to 777 in the system/app directory, including the file. Still will not let me install it through Astro File manager.
What am I doing wrong? I have the file in the system/app directory, upon reboot it still does not install. Though I notice that rebooting makes all the permissions go back to what they were. At this point, I just want my calendar back. Any calendar.
- KrossXC
Click to expand...
Click to collapse
Move it to your sdcard and install it that way.. then if that does work move it over to /system/app and reboot

[Q] Change stock launcher(home app) to Launcher Pro or whatever. How ?

I've read about this here a bit but it's not really well documented or tutorialized.
So, how can someone change stock launcher to whatever launcher he/she wants ?
I know this is done via adb console, this is not the issue. But dunno what needs to be taken out and replaced; if something needs to be renamed or not. Where can the apk files be found for newly installed software ? and also what needs to be removed from the stock launcher ? odex & apk ? I know where to find the apk, but not the odex. and are any more files "bound" to the stock launcher except the apk and the odex file ? If say i use a filemanager to locate my desired launcher (having said launcher installed), will pushing it into the /system/app folder do the trick or do I have to rename it ? That means that basically the system/app folder is like a folder for apps that are launched automatically when phone starts.
Can someone help me & shed some light on this ? Thanks !
as few ways to do this. isntall launcherpro (or what launcher you want).
use root explorer to move com.fede.launcher.apk from /data/app to /system/app
change the name to launcherpro.apk
change the permissions to read for user, group and others. write for user only.
reboot
once you select launcherpro, use root explorer, go to /system/app, and delete launcher.apk or home.apk or whatever your rom uses as stock home/launcher.
or, use adb
Code:
abd push launcherpro.apk /system/app
Thanks man, though I have some questions:
Q1: how do I do
change the permissions to read for user, group and others. write for user only.
Click to expand...
Click to collapse
Q2:
once you select launcherpro, use root explorer, go to /system/app, and delete launcher.apk or home.apk or whatever your rom uses as stock home/launcher.
Click to expand...
Click to collapse
Don't I have to rename launcherpro.apk to home.apk in order for it to work @ startup time ?
Instead of deleting home.apk, perhaps moving them to the sdcard might be better (just in case).
ldq said:
Thanks man, though I have some questions:
Q1: how do I do
Q2: Don't I have to rename launcherpro.apk to home.apk in order for it to work @ startup time ?
Instead of deleting home.apk, perhaps moving them to the sdcard might be better (just in case).
Click to expand...
Click to collapse
you can use root explorer to change permissions. just long press the apk and a submenu will pop up with permissions being an option.
whether or not you need to change the name of launcherpro will depend on your rom/device. you can leave launcherpro as is and leave home.apk in there, reboot. when it boots, it should have a popup asking which you'd like to use as the launcher.
or, install launcherpro like normal, select it to be the default launcher and it should always launch at boot.
thanks a lot ! will try this out !
How to change stock launcher with any launcher
Victory !
Step by step:
1. Backup original launcher
Code:
adb pull /system/app/Launcher.apk Launcher.apk.bak
2. Backup installed launcherpro/adw/golauncher apk's to either HDD or SDcard
2a. Use root explorer mount r/w to copy corresponding file to SDcard & after that
rename the file to Launcher.apk or whatever your stock launcher is. ( user installed apps can be found in /data/app)
2b. Pull file to HDD
Code:
adb pull /data/app/Launcher.apk Launcher.apk
3. Push file to /system/app
Code:
adb push Launcher.apk /data/app/Launcher.apk
4. Reboot & Enjoy

[Q] HELP ME! I deleted a system app with Titanium Backup

HELP ME...
I have a Samsung Galaxy S2, running Gingerbread XWKDD, Android 2.3.3, Samsung's Touchwiz 4.0.
Rooted my SGS2 and got Titanium Backup, I uninstalled the clock app because I thought it was a widget and I didn't want to see alot of widget. Anyway, turns out the clock 1.0 is actually a system app by the name of com.sec.android.app.clockpackage
and titanium backup can't reinstall it, when i extract the .apk from the backup file and try manually installing, it doesn't install either, just says application not installed.
I also can't find this on Android market.
ok, so after some digging i found that com.sec.android.app.clockpackage.apk still existed in system/apps but just wasn't running. I also noticed for almost every .apk, there was a .odex. But for my clockpackage, there was no .odex, maybe that's why it's not working?
on that thought, maybe anyone here can copy their .odex files for the 2 clock .apks and send them to me? Just use Root Explorer to see the system/app folder, mount R/W if you need to, then copy the 2 .odex files and then upload them somewhere? Pls?!?
if you want root explorer, holla at me via pm
Hi,
I have the same problem with Contacts.apk (no .odex, Titanium or. RootExplorer can't install), so i can't open the number-pad to make a call.
I have tried to copy the backuped Contacts.apk manualy to /system/app, the rebooted, but it don't hlep.
Solved: I have Installed the VillainROM 1.0 and the app is back.
U tried reflashing your current rom??
Its the most clean solution... Because if you copy and paste from another device i'm sure about the system file its not going to work correctly(cache data from another device...mmm i think it will not work...)
sent from my amstrad CPC powered by LOL..(premium xda)

Mini Applications

Is there a way to remove the mini applications? I don't really need all these appz.
I use a custom rom and no mini apps found my device is p-5100 10 inch tab2 i tried fryrom version 7, cm9 and now in cm10 no mini apps or button for screenshot in any of them
Try a custom rom that conform to you device and you will not have them see developers section and take care of model number of your tab as it will help you choose the custom rom that is designed specifically for your tab
Sent from my GT-P5100 using xda app-developers app
If you are rooted, use a file explorer that allows you to mount the system as Read/write (Root Explorer is a good one) and go into /system/app.
Remove, move, or rename everything with "mini" in the name.
Then go to /system/framework and remove minimode.jar
Reboot.
Done.
colorado_al said:
If you are rooted, use a file explorer that allows you to mount the system as Read/write (Root Explorer is a good one) and go into /system/app.
Remove, move, or rename everything with "mini" in the name.
Then go to /system/framework and remove minimode.jar
Reboot.
Done.
Click to expand...
Click to collapse
colorado_al said:
If you are rooted, use a file explorer that allows you to mount the system as Read/write (Root Explorer is a good one) and go into /system/app.
Remove, move, or rename everything with "mini" in the name.
Then go to /system/framework and remove minimode.jar
Reboot.
Done.
Click to expand...
Click to collapse
I just removed them from my 3113 with stock rooted Jellybean, I removed the apk and odex from system/app and the file from system/framework. Note: do not remove every file with "mini" in it on the JB OS, the taskmanager has a bunch of files with the word mini in them, it'll probably break something.
Doing just the files did not remove the arrow from the bottom right however, I had to extract SystemUI.apk and mod the button PNG files to make them transparent, just used 7zip to extract and add back to the archive, recopied in and reset permissions. I attached the transparent PNG's to this post. Only thing to note is if you press in the area where the arrow used to be, you still get the blue circle effect, there's a couple PNG's for that, doesn't bother me though so I didn't mess with them.

[Q] Uninstalled TaskManager by mistake

Could someone help me? I uninstalled the Task Manager by mistake. I already extracted it from the zip file of the rom, but i am not sure about how to reinstall it. I am using NExtGen Rom
If you already have the apk, simply use a root explorer and copy the apk to system/app folder. Change permissions to rw-r--r--. Reboot, and done!

Categories

Resources