Settings.apk does not run - Android Software/Hacking General [Developers Only]

Hi, I hope someone can help me with my problem:
I run an HTC Sensation, with the latest ICS leak, and have a mod I want to apply, which is an AOSP-ized Settings.apk.
The problem is that if I adb push it onto the phone (/system/app), it does not show in the main menu, like its not installed.
BUT if I first install the stock Settings.apk, boot the phone, reboot into CWM and then flash the modded Settings.apk, it works just fine...
Does the stock Settings.apk alter anything that the second one needs?
I am attaching the modded one if anyone would be willing to help me find the problem...
Thanks!
Kristof

I've got a similar issue.
I wish to install an AOSP settings.apk & settingsUI.apk but I can't find the directory to paste them in. I then made a folder and placed them in there and installed them via ES File Explorer and the changes weren't applied.

Related

HTC_IME mod

Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
could have something to do with it being made for the nexus one
obsanity said:
Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
Click to expand...
Click to collapse
i've made one from there, and installed it. I didn't push it to /system/app.
try doing that.
also make sure you are using the low res option.
obsanity said:
Link to apk file:
forum.xda-developers.com/showthread.php?t=624416
I'm running rooted stocked 2.1...5 with this mod installed. I tried to put it in the system/app folder because there is some room in there, since I removed some apps, but it did not like it. It just kept foreclosing it.
Any idea how to put it in there or even replace the original HTC_IME?
Click to expand...
Click to collapse
First make sure you downloaded the "lo" version, since Hero is low-res. And unpack the ZIP. It's not flashable, it's just zipped for convenience.
And then you can just install HTC_IME_lo.apk from your file manager by clicking it. There's no need to manually push it into /system/app. (It's registered differently from the default HTC_IME, so it can be installed like any normal application.) If you removed Clicker.apk while you were removing junk from /system/app, you'll need to reinstall that as well.
If you really want to replace the original HTC_IME, just rename HTC_IME_lo.apk to HTC_IME.apk and push it to /system/app. I think that's what you were trying to do before.
Hope this helps!
Oh, sorry I guess I forgot to mention that it is running fine in the user folder after installing it. It's just that I wanted to put in the system/app folder to save some space. I'll try renaming it and replacing with the stocked file. BTW, I'm typing on it now and its way better than the stocked because of how much customization you can do.
I finally tied this and it's a no go. Still get FC messages. However, all seems fine when I install it as an app. I think it's because the HTC_IME.odex file which is tied to the original. Even after rebooting it didn't work.
Anyone know how to get that odex file from the new HTC_IME I'm trying to install in the system/app folder?

LatinIME.apk/Keyboard installation help please

I couldn't find an appropriate thread to place this under, but this looked like the most logical.
I recently rooted my phone and installed a custom rom on it. The Smoked Glass v6.0.1. I find the default apps very annoying and found a way to make them disapear. I changed the .apk file in the/system/app section to .bak.
Well in this rom the Voice Search app is also connected with the Android keyboard. If I remove the Voice Search I also remove the virtual keyboard. The app is called VoiceSearchWithKeyboard.apk.
So I changed it to .bak and tried to install the android stock keyboard called LatinIME.apk. I also found the libjni_latinime.so. I pushed these to my phone using the SDK tool. One to the /system/lib and the other to /system/app. When I booted my phone up I didn't get the keyboard. So I also pushed the LatinIME.odex over to the /system/app file and it still didn't work. The phone ended up not being able to boot up, so I had to go into flash recovery and back up the phone.
So I am just wondering what am I doing wrong? I know this may not make sense as to why I just don't deal with the extra icon. But I don't know, I just want it perfect I quess.
Any help would be greatly appreciated. Thanks.

Extract framework-res.apk from CWM backup from phone

I need to swap a custom framework-res.apk from a CWM backup with a new customized framework. I've tried doing this through ADB but it doesn't work. I want to swap the files so I can restore the backup and have the custom framework in it.
I also need to be able to do this on my phone using a file manager app and/or any other app I would need. I'm new to modifying and customizing ROMs, so if someone could explain how i could do this, that would be awesone. If it is not possible to do from my phone, an explanation of how to do it from my Windows 7 PC would be great too.
I have done some modifications similar to this before, but only had to extract and compile zip and apk files. Fron the looks of it, I would guess that framework-res is hidden in the data.ext3.tar file in my CWM backup. If so, how do I extract the files and switch out the framework-res.apk, then recompile? Is it even that simple? Is there anything I'm overlooking?
Thanks so much for any advice any of you can offer
Sent from my Incredible with Ice Cream Sandwich
sixfearstheseven said:
I need to swap a custom framework-res.apk from a CWM backup with a new customized framework. I've tried doing this through ADB but it doesn't work. I want to swap the files so I can restore the backup and have the custom framework in it.
I also need to be able to do this on my phone using a file manager app and/or any other app I would need. I'm new to modifying and customizing ROMs, so if someone could explain how i could do this, that would be awesone. If it is not possible to do from my phone, an explanation of how to do it from my Windows 7 PC would be great too.
I have done some modifications similar to this before, but only had to extract and compile zip and apk files. Fron the looks of it, I would guess that framework-res is hidden in the data.ext3.tar file in my CWM backup. If so, how do I extract the files and switch out the framework-res.apk, then recompile? Is it even that simple? Is there anything I'm overlooking?
Thanks so much for any advice any of you can offer
Sent from my Incredible with Ice Cream Sandwich
Click to expand...
Click to collapse
Why not just grab your framework-res apk that you need and copy it to the sd card, then restore backup then copy new framework to proper place?
If I'm assuming you mean to just overwrite the old framework-res by pasting the new one in, I tried that with ES File Explorer and it wouldn't let me overwrite it. I also tried deleting the old one and quickly pasting the new one in, but I started getting perpetual force closes that prevented me from being able to paste the new one in.
How do you suggest doing it?
I should also point out I need to swap in a new SystemUI.apk as well as framework-res.apk to get this theme working
Sent from my Incredible with Ice Cream Sandwich
sixfearstheseven said:
If I'm assuming you mean to just overwrite the old framework-res by pasting the new one in, I tried that with ES File Explorer and it wouldn't let me overwrite it. I also tried deleting the old one and quickly pasting the new one in, but I started getting perpetual force closes that prevented me from being able to paste the new one in.
How do you suggest doing it?
I should also point out I need to swap in a new SystemUI.apk as well as framework-res.apk to get this theme working
Sent from my Incredible with Ice Cream Sandwich
Click to expand...
Click to collapse
I use root explorer to do this which does work. Yes at time you have to be fast to get between the FC but it can be done. You could also try and grab a theme update zip and modify it to use your files instead.

[Q] HELP! How do I sign an .apk file?

Here's the deal...I downloaded youtube v2.4.4 from here. I opened it in 7zip and extracted the res folder so I could re-theme it. I made my changes then put the res folder back into the original apk. Now this is where the problem occurs. I can't for the life of me figure out how to re-sign the .apk! I have tried every single apk-signer out there to no avail. I have put it in apkManager then decompiled it optimized PNGs recompiled then signed then zipaligned but EVERY time I install it on my phone I get either "Application not installed." or "There is a problem parsing the package." I have uninstalled all versions already on my phone through Titanium Backup prior to installing my themed one. I have manually put it in /System/app and changed permissions and rebooted. NOTHING I do works. I have adb and java installed and in the PATH. I have tried every possible solution I have found on the internet and none work. Any help would be appreciated. Thank You!
P.S. I have an HTC Thunderbolt running the latest build (3/17/12) of ThunderStick Full Blown Sense 3.0 (Thread for this ROM here)
Here is the edited res folder - Maybe someone can look at or use it for troubleshooting.
Thanks again for any input on this problem.
go to market and search and download zipsigner2. open it and navigate to the app and then chose and output and save it as an .apk file and it should install like normal

[REQ] Desire Default Live Wallpaper

I've searched and I can't find it so I wonder it any one can help, I've just installed a Sense 4.0 ICS ROM but I really miss the default bokeh live wallpaper that came on the Desire by default, it was on the Sensation originally but it appears to have been dropped for the newest version of Sense. Does anyone know where I can get it for my newly updated Sensation?
I'm also looking for it... There's a bunch of bokeh look alike LWs but I want the original that came with my sensation.
If nobody has it would anyone know how to get it from old gingerbread Rom and port it to ics??
I use this one?
http://www.youtube.com/watch?v=Urj5GW9AQF4
Thanks for the link but I'm a fan of the original... I managed to pull the apk from an ics rom running sense 3.6 the only problem is that on roms with sense 4 the apk doesn't install. Any ideas on how to get it to work?
Use Root Explorer or ES File Manager's root mode and push the apk to /system/app/
Then, change the permissions to match the permissions of all the other apks there, I believe it's RW R R, but just match it to the others. To change permissions in Root Explorer, hold your finger on the file and hit Permissions or whatever. Not sure if ES can do it, but it probably can.
After it's in /system/app and the permissions are edited, reboot and it should show up in the Live Wallpaper list.
Edit: If that doesn't work, look up the APK signer. https://play.google.com/store/apps/...1bGwsMSwyLDEsImtlbGxpbndvb2Quemlwc2lnbmVyMiJd This is ZipSigner 2 and it works perfectly. Sign the APK, then try to install it using a file manager or something, you know, install it like normal. If it still doesn't install after being signed, use the method above and push it to /system/app and change the permissions, then it should run without issues.

Categories

Resources