[Q] Certificate Trouble - Android Q&A, Help & Troubleshooting

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.

Related

Retrieving stock apks (mainly TrackID)

Greetings. Been haunting this place for awhile, happy to finally have root.
After the phone is rooted the last step is something that sweeps up a bunch of SE's stock apps that most people don't want. What about us who actually liked a few of them, though?
I would have liked to keep the app called "TrackID," and am wondering if there's any way to get it back? I can't really find like a repository for the base APKs (I might want the Mixi plugin for Timescape back in the future, as well).
Can someone rip these out somehow for individual installing?
Here it is:
http://rapidshare.com/files/403753839/trackid.apk.html
Just install the apk.
Its works for me.
Nice threat, nice anwser.
It works fine with me too.
Thanks!
Preventing the rooting process from removing apps
Hello, You could just enter the step4 folder and open the cleanup.sh file in notepad or similar.
Remove the line saying rm *packagename here*. Then your app will only be copied to your SD, but it will also remain on the phone.
track id request
i couldnt download the package, the link no longer works :-(
Could someone uóad it again to another server? Because its a common problem and will br of much help thanks
http://balsat.hopto.org/builds/seX10-system/index.php?dir=..%2FseX10-system%2Fdir%2Fsystem%2Fapp%2F
ok... but now...
I have the app already installed, but now evertime it tries to connect it says "authentication error".... help?
I gave up and rooted the phone again, i went from steps 1 to 3 with no problems, using track id everytime to make sure it worked, and it did, I even used the cleanup script and it was there working very well...
So, I used steps 4 and 5 (for the X10a) But now it wont work... it says "authentication error".... what gives?
Sorry for my english, I´m from mexico...
Everything on my phone is working fine...
For TrackID I can only say that it was probably a rights issue.
Use chmod or Root Explorer to set the rights(644).
For step 4 and 5 i cant help,i have only a 3 step X10i ,sorry.
But dont give up, i think u find the help here on XDA.

[Q] Applications not working - Not signed with trusted certificate

This is my first post, so apologies if this is in the wrong place or has been asked before (I have searched and found some answers, but none of these worked)
Basically, last night whenever I tried to use an application on my HTC HD2 I was getting the following error message:
"The file xxx cannot be opened. Either it is not signed with a trusted certificate, or one if its components cannot be found. If the problem persists, try reinstalling or restoring this file."
In searching for the solution, a lot of people are saying that I need to edit the reistry. (Specifiaclly HKEY_LOCAL_MACHINE\Security\Policies\Policies DWord = 0000101a - Change value from 0 to 1)
I have tried downloading the recommended registry editors on the forums (Resco Explorer etc.) but am unable to install because the "program is from an unknown publisher." I click yes to get pass this initial message, like I always have done in the past, and the following is displayed:
Installation was unseccessful. The program or setting cannot be installed beacause it is not digitally signed with a trusted certificate."
I have also tried using a program recommended called CeRegistryEditor and using my PC via ActiveSync to edit the registry, but am getting an error message "Access Denied!".
Does anybody know any other way of editing the registry? Am I actually doing the right thing? Are there any security settings that I need to disable to allow CeReistryEditor to edit the registry?
This is really bugging me, I have only been without my apps for about 12 hours throughout the night but it is hard to live without them!! I REALLY don't want to perform a hard reset and will do anything to avoid this!
When I get this I just remove evertyhing to do with it on the phone and re download it (the cab file usually) and it seems to work.
thanks for your reply. I have tried this but when I try and reinstall I am getting the message: Installation was unseccessful. The program or setting cannot be installed beacause it is not digitally signed with a trusted certificate.
I think that the security settings have been changed, but I cant see how to change them with editing the registry which I am struggling to do
Can I ask what app you are trying to install? Or is it any app?
Multiple Apps that were running OK yesterday, but not today. I think it is all the apps that I have downloaded from Omarket.... Omarket isnt working either!
Hi,
Any luck on this. I m also facing similar issue after installing Android on my HD2.
I have the exact same issue after running Android from SD card. No application (non-stock ones) are working anymore. Like 3rd party certificates are being blocked or something...
For everyone with this problem, download Mobile Registry Editor and connect your phone to your PC via USB, then start the Editor and go to "HKEY_LOCAL_MACHINE\Security\Policies\Policies" and search for the DWord "0000101a" and change the decimal to "1", that will fix your problem. This problem happens to me if I "reboot" while in Android instead of turning the phone completely off and then back on.
Edit: Added link to download.
As a side note, I always did this to mine while running Windows Mobile, then booted Android after fixing the registry.
and when this is not possible
Hi,
i have the same issue after loading android from the sd-card.
But, i am not able to change the reg, access denied, also with ceregistry unlock tool.
So, what can i do?
regards
Nine
Niine said:
Hi,
i have the same issue after loading android from the sd-card.
But, i am not able to change the reg, access denied, also with ceregistry unlock tool.
So, what can i do?
regards
Nine
Click to expand...
Click to collapse
Hi,
I also have the same issue after loading android from the sd-card. I have also re-installed the stock rom and the problem still persists. Im also unable to install any reg editors as keep getting the "not signed with a trusted certificate".
I read that a cooked rom may be a solution around this but I liked the set up I had and wanted to keep my original rom so any other suggestions would be appreciated.
Thanks
Lee
Exactly the same problem.
Non-stock programs not working after failed boot of android from SD card, and I'm unable to change any registry entries either. Practically I'm locked out of my phone, just the basic functions working. Any help would be greatly appreciated!
if forget where I originally found this link (its on xda some place)
http://www.internet-tools.co.uk/blog/wp-content/uploads/2008/11/sda_unlock.zip
but run this first and you no longer get the access denied when using the mobile registry editor , hope it helps.
I have the same problem, just remove the program that was not working, pull out your memory card , then delete the files in the sd card except the application installer, hard reset your phone, and remember to go to SETTINGS-UPDATES&FEEDBACK-ERROR REPORTING-DISABLE ERROR REPORTING, and turn off your phone, put in the memory card and turn your phone on and install the application one by one, the application installed will work as normal, Good Luck, remember to back up your data before hard reset
larrytango said:
if forget where I originally found this link (its on xda some place)
http://www.internet-tools.co.uk/blog/wp-content/uploads/2008/11/sda_unlock.zip
but run this first and you no longer get the access denied when using the mobile registry editor , hope it helps.
Click to expand...
Click to collapse
i tried this methode but unfortunately this message pops up all time:
"phone is not unlockable"

[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] Modding an APK, fail to install some modded apk, help please

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).

Possible to install LGE Alarm/Clock app on a Samsung phone?

Does anyone with experience on the subject know whether it is possible (or im-possible) to install LG's OE Alarm/Clock app on a Samsung phone? The donor phone is an LG Optimus Fuel LGL34C on KitKat 4.4.2. The recipient phone is a Samsung Galaxy Core Prime S820L (Tracphone) on KitKat 4.4.4 and I am loathe to leave behind the stopwatch/timer function (Alarm/Clock) on my old LG. I want to transfer it over but I'm finding that's that's easier said than done.
I have found a number of websites offering a pre-packaged version that's supposed to be that app (LGAlarmClock.apk, or something close to it) sourced from a package of OE LGE apps. Unfortunately, I can't find one that will install. When I tried to install them, most of them failed from the get-go saying there was a problem parsing the file. One of them attempted to run, appeared to run normally but ended with "App not installed," existing package yadda yadda yadda. But I note that they were all of substantially different file sizes and I can't be sure any of them were for KitKat (but I know at least one was sourced from Lollipop).
So when these all failed, next I tried the App Transfer app, which is supposed to compile an installable apk from the files currently on the source phone. But when I tried to install it on the target phone, it did the "App not installed" thing again.
Then I tried a couple of PC-based data and application transference applications. One of them transferred everything except the proprietary LGE stuff, which it ignored, to include Alarm/Clock.
After than I decided to take a shot at installing it manually, so I searched the source phone for all instances of what appeared to be related files. This is what I arrived at:
/system/cust/overlay/app/com.lge.clock.apk
/system/lib/liblgomx_clock.so
/system/priv-app/LGAlarmClock.apk
/system/priv-app/LGAlarmClock.odex
/system/priv-app/LGClockWidget.apk
/system/priv-app/LGClockWidget.odex
/data/data/com.sika524.android.quickshortcut/cache/thumbnails/com.lge.clock:2130837606.0
/data/data/com.sika524.android.quickshortcut/cache/thumbnails/com.lge.appwidget.clock:2130837534.0
/data/dalvik-cache/[email protected]@[email protected]
/data/dalvik-cache/[email protected]@[email protected]
/data/resource-cache/[email protected]@[email protected]@[email protected]
The first file on the list was a problem because the Samsung doesn't have a '/system/cust' directory, much less '/system/cust/overlay/app.' However, it does have a '/system/app,' which is chockablock with apk files, so I stuck the file 'com.lge.clock.apk' in there.
All the others had a matching directory structure, except the shortcut thumbnail caches, which I gather were the result of the shortcuts I made on the LG phone and not required for the Samsung anyway. So I moved them to a corresponding location on the Samsung and gave them all 644 permissions, same as they were on the source phone, and same as all the other files in the same directories on the target phone.
After copying the files over and rebooting, the new app shows up in the App Drawer, and in the installed apps. Some of the functions work. The Stopwatch works. The Timer function runs but when it counts down to zero, the alarm doesn't sound and it displays the error, "Unfortunately, Alarm/Clock has stopped." If I access the Timer settings and try to change the volume, I get "Unfortunately, Alarm/Clock has stopped." If I try to change the time setting in Alarms, I get that same error. Also the same error if I try to add a city under World Clock. It's like it lacks the ability to activate the alarm tone, or to manage whichever file that stores its configuration settings.
Since the only real "wild card" in my set-up was the lack of the proper directory structure for the 'com.lge.clock.apk' file, I created a matching structure (where none existed before) with a symlink in '/system/cust/overlay/app' pointing back to /system/app/com.lge.clock.apk. That didn't work either so I deleted the link and replaced it with a copy of the file.
Still nothing changed so I gave all the new files 777 permissions, just in case there was a permissions thing I was overlooking. Zip, zilch, nada, bupkis.
So I'm outta bullets. Anybody got a spare magazine? Is it even possible?
did you ever figure this out?
DrWu said:
Does anyone with experience on the subject know whether it is possible (or im-possible) to install LG's OE Alarm/Clock app on a Samsung phone? The donor phone is an LG Optimus Fuel LGL34C on KitKat 4.4.2. The recipient phone is a Samsung Galaxy Core Prime S820L (Tracphone) on KitKat 4.4.4 and I am loathe to leave behind the stopwatch/timer function (Alarm/Clock) on my old LG. I want to transfer it over but I'm finding that's that's easier said than done.
I have found a number of websites offering a pre-packaged version that's supposed to be that app (LGAlarmClock.apk, or something close to it) sourced from a package of OE LGE apps. Unfortunately, I can't find one that will install. When I tried to install them, most of them failed from the get-go saying there was a problem parsing the file. One of them attempted to run, appeared to run normally but ended with "App not installed," existing package yadda yadda yadda. But I note that they were all of substantially different file sizes and I can't be sure any of them were for KitKat (but I know at least one was sourced from Lollipop).
So when these all failed, next I tried the App Transfer app, which is supposed to compile an installable apk from the files currently on the source phone. But when I tried to install it on the target phone, it did the "App not installed" thing again.
Then I tried a couple of PC-based data and application transference applications. One of them transferred everything except the proprietary LGE stuff, which it ignored, to include Alarm/Clock.
After than I decided to take a shot at installing it manually, so I searched the source phone for all instances of what appeared to be related files. This is what I arrived at:
/system/cust/overlay/app/com.lge.clock.apk
/system/lib/liblgomx_clock.so
/system/priv-app/LGAlarmClock.apk
/system/priv-app/LGAlarmClock.odex
/system/priv-app/LGClockWidget.apk
/system/priv-app/LGClockWidget.odex
/data/data/com.sika524.android.quickshortcut/cache/thumbnails/com.lge.clock:2130837606.0
/data/data/com.sika524.android.quickshortcut/cache/thumbnails/com.lge.appwidget.clock:2130837534.0
/data/dalvik-cache/[email protected]@[email protected]
/data/dalvik-cache/[email protected]@[email protected]
/data/resource-cache/[email protected]@[email protected]@[email protected]
The first file on the list was a problem because the Samsung doesn't have a '/system/cust' directory, much less '/system/cust/overlay/app.' However, it does have a '/system/app,' which is chockablock with apk files, so I stuck the file 'com.lge.clock.apk' in there.
All the others had a matching directory structure, except the shortcut thumbnail caches, which I gather were the result of the shortcuts I made on the LG phone and not required for the Samsung anyway. So I moved them to a corresponding location on the Samsung and gave them all 644 permissions, same as they were on the source phone, and same as all the other files in the same directories on the target phone.
After copying the files over and rebooting, the new app shows up in the App Drawer, and in the installed apps. Some of the functions work. The Stopwatch works. The Timer function runs but when it counts down to zero, the alarm doesn't sound and it displays the error, "Unfortunately, Alarm/Clock has stopped." If I access the Timer settings and try to change the volume, I get "Unfortunately, Alarm/Clock has stopped." If I try to change the time setting in Alarms, I get that same error. Also the same error if I try to add a city under World Clock. It's like it lacks the ability to activate the alarm tone, or to manage whichever file that stores its configuration settings.
Since the only real "wild card" in my set-up was the lack of the proper directory structure for the 'com.lge.clock.apk' file, I created a matching structure (where none existed before) with a symlink in '/system/cust/overlay/app' pointing back to /system/app/com.lge.clock.apk. That didn't work either so I deleted the link and replaced it with a copy of the file.
Still nothing changed so I gave all the new files 777 permissions, just in case there was a permissions thing I was overlooking. Zip, zilch, nada, bupkis.
So I'm outta bullets. Anybody got a spare magazine? Is it even possible?
Click to expand...
Click to collapse
probably not supposed to say this out loud but yolo i wanna give a Beretta a blow job
>>be rooted
>>have latest Lucky Patcher
>rebuild apk componants ,permissions, and resighn
>>have xposed installed
>>get module APP SETTINGS
>>edit build.prop for debug_true flag and others like test-keys making all apps debugable*dont quote me
>>>force install or side load or dont
>>>debug app changing all resorces names to your host device
>>>build an entire rom around this one clock app to make it work for some reason..
whats up with this app anyways? whys it imperative you use it?
₥ike_grips said:
probably not supposed to say this out loud but yolo i wanna give a Beretta a blow job
>>be rooted
>>have latest Lucky Patcher
>rebuild apk componants ,permissions, and resighn
>>have xposed installed
>>get module APP SETTINGS
>>edit build.prop for debug_true flag and others like test-keys making all apps debugable*dont quote me
>>>force install or side load or dont
>>>debug app changing all resorces names to your host device
>>>build an entire rom around this one clock app to make it work for some reason..
whats up with this app anyways? whys it imperative you use it?
Click to expand...
Click to collapse
This is a very very important App to this day.
Here it is 2021 it's very imperitive. For one reason.
It has a PUZZLE option for the Alarm that forces you to complete in order to turn off the Alarm
So that I will ACTUALLY wake up on time and not be late for work.
And I wanna know if this has been solved or if the above mentioned is the only pain in the ass way to do it.
.I wanna put it on my Motorola
YOLO !

Categories

Resources