[Q] Modding an APK, fail to install some modded apk, help please - Android Q&A, Help & Troubleshooting

hi Im steve and im quite a noob,
I wanted to post this under the android forum for Android software and hacking discussion or development tools, but I dont know which one is the most right place. the hacking discussion said "no noob here please" so I posted it here.
I tried modding some APK to make the app able to be multi view (tutorial : http://forums.androidcentral.com/verizon-galaxy-note-2/236929-how-edit-apps-use-multi-window.html ), I succeed modding 8tracks.apk, musicxmatch.apk but then when I tried to do it to LINE (NAVER) and installed it, it said "app was not installed".
so I tried answering that it is a system tool while building the apk, and it still doesnt work.
can anyone help me?
oh, and I have some question also
why some people said to not sign a system tool apk? while from what ive read, android cannot install an unsigned apk.
and also can anyone help me to mod the NAVER/LINE Games to stop checking if i am a rooted device?
thanks

I just tried editing the androidmanifest again with notepad++(before was with notepad) for LINE (modding for multivew), and now I solved the problem that I had (app was not installed).
now it is installed but I cannot run it, it just shows black screen and messed up my launcher. (TSF launcher restart everytime I launch the LINE and the LINE close after black screen).

Related

Is there software out there to...

...let you decompile and apk and edit the layout in the xmls, and then display the results in a device emulator without having to recompile and sign the apk and push it to your device? I have all the tools (SDK, Eclipse, apk manager, etc etc etc) but as I am new to Android tweaking I may be missing some simple knowledge that will save a lot of trial and error!
I am looking initially to edit the HtcQuickLaunchWidget.apk (the non-m10 version) and was wondering if there was a way of loading the apk or decompiled apk back into Eclipse or something similar to then be able to tweak the layout of the widget and view the result on the PC rather than spending hours of making single changes and pushing to my phone each time to see the result.
The answer might be a simple 'no other way' or as I say I might be missing something obvious and all I need to do is 'this, this and this'... Any advice would be greatly appreciated. And before you mock, remember we all have to start (or in my case start again) somewhere
Thanks.
Questions or Problems Should Not Be Posted in the Development Forum
Please Post in the Correct Forums
Moving to Q&A

[Q] What does "this tool is depreciated" Mean in GoSMS Theme Maker?

I am a programming noob and I need some help. I just need someone to translate an error message for me. I have already made two complete themes successfully with this tool.
http://gosms.goforandroid.com/?p=235
When it is compiling the APK though, I get an "error" that says "THIS TOOL IS DEPRECIATED" (see attached screenshot). Yes, it is in all caps, which makes me think this is important. Sometimes if I see this the tool does not apply my changes...I get an APK, but it is the same APK I had before with no changes made.
I am a designer, not a programmer. I know enough to slop my way through the process using tools like this, but I don't know what messages like this mean or even if they matter at all. I have been able to compile usable APK despite this warning, but I'd still like to know what is triggering it and whether or not I should care about it.
I get this even with a "fresh" copy of the ZIP for the tool and deleting the old one.
I have tried googling this phrase with GOSMS and the threads are mostly translations from asian developers and I can't really understand them.
Any ideas?

[Q] Certificate Trouble

Hi all, I'm pretty new to this modding stuff, and I'm having some trouble with reinstalling an apk after doing some modifications with apktool. Hopefully someone can lend me a hand.
I can disassemble and reassemble the apk just fine, but the problem is that when I try to install it gives me
"Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]"
I did some Googling and saw that it' s because apktool doesn't sign the apk, so I went ahead and tried to put the modified files into the original apk. However, I still get the same error.
Finally, I tried to use the apk multitool to sign it, but then I get
"Failure [INSTALL_PARSE_FAILED_INCONSISTENT_CERTIFICATES]"
which i imagine is because they are signed with different keys.
If it helps, I'm trying to toy with the Touchless Controls apk from the Moto X.
Thanks!
EDIT: I should say that I also tried uninstalling the application. However, it seems to be impossible to remove because even when I uninstall it and get a "Success", it still is there. If I restart the phone the app will update again as well. I am wondering if this is so difficult because Motorola did something to prevent it from being uninstalled.

[Q] How To Arrange the application load order (sequence) while Booting?

I serched many threads without getting any fixed solution.
I'll try to make the Question CLEAR/SHORT/Strait forward...
Is there a file within the rooted Android system that can be edited to change the order of the application while booting up the device?
For example:
After you Flash the ROM, if you have installed Application "A" the Application "B" ..."C"...etc.
When the device is booting, some times you find that Application "C" is loaded before Application "A".
What i need is:
Application "A" to be always loaded FIRST then "C" then "B .......etc...
I tried to check "init.rc" and some others without success...
Appreciate any Help, and excuse me for NOOB.
robekia1 said:
I serched many threads without getting any fixed solution.
I'll try to make the Question CLEAR/SHORT/Strait forward...
Is there a file within the rooted Android system that can be edited to change the order of the application while booting up the device?
For example:
After you Flash the ROM, if you have installed Application "A" the Application "B" ..."C"...etc.
When the device is booting, some times you find that Application "C" is loaded before Application "A".
What i need is:
Application "A" to be always loaded FIRST then "C" then "B .......etc...
I tried to check "init.rc" and some others without success...
Appreciate any Help, and excuse me for NOOB.
Click to expand...
Click to collapse
It is not possible AFAIK.

[4.2.2][Fake GALAXY S5 mini][SM-G800][Translation] Useful notes on Translating

Hello
[INTRO](a little background)
This is a guide for those who want to have their phone in their language but the operating system does not have it built in. You can flash a new ROM that has it or install an app right? Not so much. There are reasons for these methods to fail or simply not work for your situation. My problem was that the bootlegged hardware was not supported by the official ROMs or the Android community. This forum is also riddled with threds that started by people who need to mod something about their phone but have no technical knowhow. There wouldn't be annything wrong with that exept that the awnsers in these threds are something along the lines "Oh you just need to do this thingnemabob" that's it one sentence pointing to a technical slang word that means nothing to anyone but a seasoned developer despite first post DIRECTLY STATES IT WAS MADE BY A PERSON ASKING FOR A STEP BY STEP SOLUTION OR A LINK TO A TUTORIAL!
[pre-procedure]
List of necessary software:
Zipsigner (this goes on your phone)
ADB
text editor of choice( notepad++ recommended)
AIO-Flasher
smali/backsmali (depeding on wether your system files are odexed more on that later)
APKstudio
[installing above software]
Zipsigner
Why you need it?
As you modify your apk files their signature changes. Basically if you change anything about them the phone will no longer recognise these as "its" therfor you need to convince your phone that these are in fact okay with zipsigner.
how to install?
This is an app. If you ever installed anything from Google playstore before than you know how to install it. Go to your Google play store app on your phone. Search for Zipsigner and pick the top app. Agree to all the demands and tap on install
ADB
why you need it?
this is a command line piece of software. these might be very scary to use but don't worry follow the tutorial and you'll be okay. That aside what is it used for. ADB is a powerful tool but we will use it only to copy and paste files to and from Phone
how to install it?
ADB comes packed up with Android Development Kit so the easiest way to install it is to get the ADK
[STEP 1]
Okay so you want to translate your phone for one reason or another. Make backup! Backups are important. You want to have something when you fail to fall back on. Yes "When" you fail. Not "if" you fail. You will screw up but as long as you have a proper backup everything is okay.
You can back up your phone in few different ways.
Hello
[INTRO] (skip if you are not interrested in fluff)
For the past week I lived in Android Hell looking for what I thought would be a simple procedure and I wanted to share my expieriences somewhere so that no one else has to go through this flustrating expierience.
I got two phones (Galaxy S5 and Galaxy S5 mini)and I was taked with translating them. Well It should not be a problem I thought because it should be as easy as going into [settings]>>[region and langages] and choosing Polish. There is no Polish. So that was my first step towards the translating thiese.
[STEP 1]
First thing first backup. I am by no means a talented programmer or modder so I went with Samsung Kies but software didn't recognise neither phone. After fiddling with drivers and a back-and-forth with samsung costumer support we came to conclusion that phones are fake. IMEI of one identifies it as a Blackberry and other as Nokia >_< well okay they still have some sort of Android so there should be a way to translate them anyway. First thing on the agenda is still backup. So I went through a triall and error to get both roms dumped. I was successful with ANDROID AIO FLASHER which was a godsend after I failed time and again to push romdump's INSTALL into the phone. I managed to get one ROM off by now but other Phone still insists on denying me ability to dump the rom because of Segmentation error. but at least I have one rom backed up.
[STEP 2]
Okay I got myself ROM now what? I decided to make a transfusion. Why bother with getting down and dirty when you can just use the work of others. So I downloaded a ROM with same version of the Android OS and begun looking for language pack or something similar. No luck this is not how Android works. After some research I came to the conclusion that in order to make things work I need to basically decompile each and every APK file that refers to system functionality and translate Strings.xml by hand in order to ensure compatibility.
[PRESENT DAY]
this is where I am now. all I wonder if there is a way to add a new file in the APKs with polish in it or should I just translate English "strings.xml" file and set langage to english?
Feel free to point out faults in my logic as well as provide tips and tricks for those of us who bought our phones on the cheap and just want to usethem with language they are comfortable with. I will build up this topic with factual information that I come across and try to make this into a universal guide to Android translation with resources to download. I do this because no one should be subjected to this and there is no decent step by step guide on this forum just disjointed and incompleate information in posths here and there. Belive me I looked both here and Google and after two weeks of finding nothing more than a hints I want to just give back to the community all I found.

Categories

Resources