So i have decompiled/edited/recompiled system apk's before with no issue. I usually copy the oringinal META folder and androidmanifest.xml to the new apk..
To invert settings as well as some other apps (im starting with settings first) some edits to androidmanifest.xml were made. So obviously bringing the old one to the new apk isnt going to work. I have tried many solutions that were hinted @ in various threads and forums to no avail.
Best i can figure is i will need to resign all system apps to a new key? Before i go about doing all that i would like to confirm i am on the right track as i have yet to find a thread where someone solved their issue doing this. Also in my mind this doesnt make sense as i see lots of downloads for inverted system apps floating around.. how would they work if they were resigned with different keys?
Is there no resign solution for edits to androidmanifest.xml, and if not why are there so many threads where people are showing what and where to make edits for various mods?
Please only answer if you know the answer and can provide steps that can be reproduced to make it happen.
As a side note to mods... most of these sorts of questions i found in my search were moved to the theme sections. I find the policy strange that these sorts of dev/hacking questions cant be asked in the dev/hacking forums where they would likely be answered by any number of dev's that fequent those areas...
Ends up resigning all the stock apps in /system was the solution. Signed with the test key using batch mode in apk_manager.
Related
Sorry, but I have to do this here, i tried so many things, so many guides, asked people and still...
It doesn't work.... even if I dont change anything
Simple question, I am using apk manager, de/compiling does not show any errors but the apks wont run properly (other apks running smooth, of course with the right options selected)
framework-res.apk
SystemUi.apk
Both on Villain 2.0. I really dont know, tried with dependencies, without, normal, as system app .... and after maybe 50 times compiling I cant anymore...
Thanks in Advance
Im trying to teach myself here and actually reading unlike others at times, but What my GOAL: is to remove the GPS icon in my ROM when it is not active. I may be wrong so please correct me if I am...
I started with "APKtool" to decompile my "systemUI.apk" I then edited "HtcCdmaStatusBar.smali" located in "com/android/systemui/statusbar/policy"
I ran into a problem with compiling it back together with errors (after trying for hours to find my mistake) I moved on to...
"APK-Manager"
Again following instructions I decompiled "systemUI.apk" using "com.htc.resources.apk" as well since its a system file..
It seems to have worked, it said to delete whatever I modified in the "keep" folder well the ".smali" files don't appear only XML and system images but I went ahead and tried to take that "SystemUI.apk" that I recompiled with the edited files and dropped it in my phone via root manager
(well yea that didnt seem to work)
I moved on to this link http://forum.xda-developers.com/showthread.php?t=549309
I used it as a reference to edit the files I wanted to and not the the ones that were on the guide. well I had no errors and I and did everthing correctly, as i thought and the finally step I pushed the "SystemUI.apk" via adb and then rebooted
That resulted in a force close on my "status bar" i believe it said when I booted it up, after i cleared the force close my phone worked fine except the fact I had NO TASKBAR what so ever...
I am running "Showdown 1.0'
http://forum.xda-developers.com/showthread.php?t=1209777
Like always, Thanks for any help or ideas in advanced....
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A
Where did the thread go? Dont see it in Q &A forum??? Having the same problem
I was JUST having a very similar issue.. I was trying to decompile and recompile rosie but it kept giving me errors. Someone said try apkmanager 4.9 (I was using 5) and my problems went away. Also I noticed if you are using a file that has already been modified apkmanager didnt seem to like that. I had to take a stock one, make the xml changes, build it then replace whatever images I had replaced in the original
and now I cant get the ***** to build right. I'm not trying to mod it so the pull down notification bar is semi-transparent but it wont build correctly
pastebin of my apkmanager log file http://pastebin.com/uZ8JacJL
Hey guys.
I tried my hand at some modding last night and was able to de/recompile with no problems and get the mods to work, but I noticed this morning that my Recent Apps menu isn't showing anything.
The things that I edited were Rosie.apk and SystemUI.apk.
I followed some of the mods in the Dev section, and didn't do anything that other than what was told to do.
I attached a screenshot. If anyone could help that'd be great!
same problem here buy I havent done anything but flash a ROM (OMJ's) flash the hotspot hack, and mod for the battery gauge.
OK, I have traced it down to the 1x/3x mod on the systemUI file, but I don't understand why it's doing what its doing.
Do you have to include the AndroidManifest.xml file when you copy everything from apktool into the Modded apk?
I'm also including the classes.dex and resources.arsc from the build/apk.
Any advice would be greatly appreciated!
no clue but over here (http://forum.xda-developers.com/showthread.php?t=1681063) it talks about the same issue. This is also where I got the mod that I flashed. He is working on a fix from the sounds of it
From looking at it, his mods include the 1x/3x, which would leave me to believe that this mod is either not being implemented properly, or it doesn't work.
I checked the 1x/3x Mod forum, but the OP closed it down right after he posted it...
Hello xda forum!
This is my first post, so please forgive me if I am doing anything wrong.
Probably like others who frequent this forum, the second I got my S4, I immediately rooted the phone and tried to delete all the Verizob/Samsung bloatware using Titanium Backup. This went without hitch, BUT there was one problem: Backup Assistant Plus.
I have completely uninstalled the Backup Assistant Plus app itself, but the uninstall did not get rid of the "Backup Assistant Plus" icon from the "Accounts" menu in the settings. Now the button just causes the settings to force close and annoys me to now end. I have attached a screenshot of my settings to be clear as to what I am talking about.
I have googled the problem, and see that the owners of the Galaxy S3 have solved the problem by modding the secsettings.apk on this thread
http://forum.xda-developers.com/showthread.php?t=1814099
However, the thread does not provide any explanation as to how the modder did it, so I was not able to reproduce it on the S4.
Can anyone help quell my ocd and give advice on getting rid of the menu?
Thanks in advanced!
It is indeed in secsettings. Do you know how to decompile and recompile apks?
sent from my Verizon Galaxy s4
Dubbsy said:
It is indeed in secsettings. Do you know how to decompile and recompile apks?
sent from my Verizon Galaxy s4
Click to expand...
Click to collapse
Hello, thanks for replying!
I have read about the process while scouring the forums, but have never actually had a reason to try it
I am a quick learner though and know how to program, so if it requires decompiling and recompiling, I think I'd be fine.
TheChoBro said:
Hello, thanks for replying!
I have read about the process while scouring the forums, but have never actually had a reason to try it
I am a quick learner though and know how to program, so if it requires decompiling and recompiling, I think I'd be fine.
Click to expand...
Click to collapse
Head over the android development section and download whichever apktool/apkeditor/decompile+recompile tool you want. I use Rujelus22's AIO Script personally but they all work.
You'll need SDK and JDK downloaded. You'll need 4.2.2's SDK branch downloaded. Installed and path setup correctly(you'll find that info while gathering the tools). Then you'll need 7zip and notepad++(a modified notepad++ is included in Ruj's AIO)
While at it decompile the framework-res.apk, systemui.apk, and settingsprovider.apk. You may want to dig in those as well to pick out lingering VZW services.
When you go to decompile make sure your AAPT in your SDK folder is in platform-tools folder. Make sure it's up to date. Make sure you are using whatever the latest apktool is. If using the Ruj AIO it will walk you through setup. But if you go about the more manual methods you will need to install your framework-res and tw-framework-res files so that it can decompile and recompile correctly.
Be careful what you delete and what you modify. Fair warning, you will likely boot loop the first few times. You also will probably find recompiling will error out often. That's because when it decompiles it sometimes drops neccesary symbols that need to be in the files in order to pack back up. For systemui specifically there was a missing + sign from a bunch of strings. When you run across these errors, read your log, and then google search... 9 times out of 10 you will find something of use to correct the issue.
:good:
Hello people, before we start i am new to android so i am not up to speed with everything yet. I need some help trying to change the settings background from white to either a picture or transparent.
I am using using the Xtrestolite rom for my G925F but would like to change the settings background. I have used various xposed mods to try to achieve this but non seem to work, wanam xposed, xbackground, gravitybox.
Next i used Tickle my Android to decompile the framework, systemui and tw_framework apks from the rom. From the guides i have read i think i should be looking for tw_background_holo_dark.xml but i cant find this file anywhere or a .png version (i guess these guides are for older android versions).
So i have edited various other files that i think relate to the settings background, active_background.xml, active_background_holo_dark.xml to transparent and solid colors and others but nothing affect the settings background. I also tried deleting the xmls and replacing them with .pngs of the same names and in different drawable folders.
I used Tickle my Android to make zips to flash and also put the edited framework apk back in to the rom folder and flashed the full rom but nothing works.
So before i waste a few more hours i will ask for a nudge in the right direction if anyone can help. Thank you