yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] aitorTheRed:
Hi to all.

I have a small problem, and after struggling with it and searching on internet and xda, I haven't found a solution.

I have my Contacts.apk, which, using apktool I decompiled and edited some .xml. I have compiled again with apktool, and having my Contacts2.apk, without META-INF directory.

I tryed signing my apk with signapk.jar:

java -jar /home/aitor/Descargas/signapk.jar /home/aitor/Descargas/certificate.pem /home/aitor/Descargas/key.pk8 Contacts2.apk Contacts.apk

and when I try to install my signed Contacts.apk i get the following error:

aitor@putatilx64:~/Descargas/updateContacts/system/app$ adb install -r Contacts.apk

2717 KB/s (604449 bytes in 0.217s)

pkg: /data/local/tmp/Contacts.apk

Failure [INSTALL_FAILED_SHARED_USER_INCOMPATIBLE]

Searching, I think it's some problem of shared uuid, and the solutions I have found is that I have to resign every apk that shares the same uuid.

Other solutions I have found say that copying the META-INF folder of the original apk to the compiled .apk might solve the problem (that means, copying the original certs). I have tryied also this, but with no result:

aitor@putatilx64:~/Descargas/updateContacts/system/app$ adb install -r Contacts.apk

2724 KB/s (584945 bytes in 0.209s)

pkg: /data/local/tmp/Contacts.apk

Failure [INSTALL_PARSE_FAILED_NO_CERTIFICATES]

Again, with no success.

So, my question is, is there a way of signing Contacts.apk without having to sign every apk with the same uuid? If not, how can I find every apk (in order to resign them) with the same uuid?.

Thanks for the help!

PS: I'm not sure if this should go into Android development and Hacking subforum. If so, to any mod, please, move it.

thanks in advance!

d
[Android Q&A, Help & Troubleshooting] MongooseHelix:
Contacts.apk is one of the system apps that is signed with the shared key. As far as I know, that does mean you will have to resign all of the apps which are also signed with that same shared key. To find out which ones are, first make a new directory to work in on your computer, open a terminal, and cd to the directory you just created. Now, with you phone attached:

adb pull /system/app/ .

for i in *; do echo $i; unzip -q $i -d tmp; keytool -printcert -v -file tmp/META-INF/CERT.RSA | grep SerialNumber; echo; rm -r tmp; done

Now examine the output for any system apps that share the same serial number as what it lists for Contacts.apk. Those will be the apps that are signed with the shared key. Now, delete the non-shared key apk files from your current folder leaving just the ones you need to resign. Also add your modified Contacts.apk that is unsigned to this folder. Then you should be able to sign them all at once, push them back to your phone, assign the correct permissions, and wipe the app caches in recovery:

mkdir signed
for i in *; do java -jar /home/aitor/Descargas/signapk.jar /home/aitor/Descargas/certificate.pem /home/aitor/Descargas/key.pk8 $i signed/$i; done
cd signed
adb remount
adb push . /system/app/
adb shell chmod 644 /system/app/*
adb reboot recovery
##in recovery, wipe cache and dalvik-cache then reboot##

For future reference, system apps should always be pushed to the phone and not not installed as it will try to install it to /data/app which you don't want. Hope that helps but post back if something isn't clear or something gives you errors.
[Android Q&A, Help & Troubleshooting] aitorTheRed:
Thanks! I will try it asap and give some feedback about the results!
[Android Q&A, Help & Troubleshooting] MongooseHelix:
Something I hadn't thought of that you might want to try before taking the more extreme approach I described above...

Use 7zip to open both the original and modified Contacts.apk. Take the META-INF folder from the original(along with AndroidManifest.xml if it wasn't modified) and copy/place in the modified version. It will now contain the original signature and might work now.

adb remount
adb push built/Contacts_modified.apk /system/app/Contacts.apk
adb shell chmod 644 /system/app/Contacts.apk
adb reboot recovery
##in recovery, wipe cache and dalvik-cache then reboot##

Make sure you have a backup copy of the original Contacts.apk somewhere in case you need to restore it.
[Android Q&A, Help & Troubleshooting] Tronar:
And? Did this method work? I am asking, because when I try to re-install the HtcFacebook.apk (which is also a system app) I get the same error:

INSTALL_PARSE_FAILED_NO_CERTIFICATES

But before I start messing with my /system/app folder I would like to know, if it worked in your case. Thanks in advance!
[Android Q&A, Help & Troubleshooting] camera_geek:
I had a similar problem with another Android core app (Stk.apk). I tried the hack suggested by MongooseHelix - replacing META-INF and the manifest - and it worked :D
[Android Q&A, Help & Troubleshooting] SunnyOK:
Yes. This method works if AndroidManifest.xml has not been modified.

If AndroidManifest.xml was modified, the signing process becomes complicated. Can I resign the whole ROM using the signapk? This menas: do not use Samsung signature anymore.
[Android Q&A, Help & Troubleshooting] Spaceminer:
Another trick that usually works is changing the install location in the manifest. Then resign it.
[Thunderbolt Q&A, Help & Troubleshooting] lukesdiesel:
For some reason my TBolt will not send picture messages. I have tried using the stock messenger and handsent. I have also tried both DAS BAMF 1.7 and Cube ROM.
[Thunderbolt Q&A, Help & Troubleshooting] lukesdiesel:
Just did a factory reset using Cube 1.2.3 ROM and still can't send a picture message.

Luke
[Thunderbolt Q&A, Help & Troubleshooting] sublimaze:
Redownload the rom, factory reset & wipe dalvik a couple of times, & reflash rom
[Thunderbolt Q&A, Help & Troubleshooting] lukesdiesel:
Already tried that with DAS BAMF and Cube ROMS.

Luke
[Thunderbolt Q&A, Help & Troubleshooting] lukesdiesel:
Uninstalled and reinstalled Handcent. No difference

Luke
[Thunderbolt Q&A, Help & Troubleshooting] Dbagjones:
No need to wipe more than once. cvpcs made a post about this: http://kan.gd/o0v
[Thunderbolt Q&A, Help & Troubleshooting] CJeep:
Have you tried making the sent pic smaller via the settings in SMS. Running a GB ROM, I can only send mms if I set it to 1200 K, wont sent on 5K or 3K.
[Thunderbolt Q&A, Help & Troubleshooting] lukesdiesel:
I got it fixed. Uninstalled Handcent again and redownloaded it. 3rd times the charm.

Luke
[Galaxy S II Q&A, Help & Troubleshooting] Hironimo:
Hi.

I have the new Samsung Galaxy S II and am mostly pleased with it.

I'd like to address one of the annoying issues I'm having though:

When I plug in the headset and listen to music or audio books the pause/play button on the headset works while the music is playing back.

However, when I pause and wait for a while I cannot use the button to continue playing anymore.

I assume that the phone went to sleep and is not "listening" to the button anymore. I think this is a general issue and not only present on the SGSII, though.

Are you having this problem too?

Is there a way to make the phone react to the pause/play button so it continues playing even if it is in sleep mode?

If so, would enableing this have a noticable effect on battery life?

I should notice I both use the default music player app and also at times another app called Subsonic to play music (the latter streams the music from my NAS that I do not have directly on the phone). The problem is also apparent in the default music player.

Thanx in advance!

(I tried to add a [Q] in the title afterwards but i cant anymore

P.S.:

I moved from the LG Optimus Speed and the SGSII is much better, and its quite nice overall, but there are some issues:

- The device can easily get too hot for my taste. I understand that it has a powerful processor and if it is used much it is bound to happen when you tax the cpu much (such as when navigating or playing games), but:

I notice it happens for instance just when I scroll on the home screen. Whereas when I play audio or even video (at least in case of standard sd video) it barely gets wormer.

So I think there is lots of room to optimize and use less resources in so the heat problem is less prominent.

- I think I too am affected by the battery drain issue of the Android OS process to a degree. It is not as prominent as others have it, but i think it's still too high.

- When taking photos i have the red dot problem (both in the preview and the taken photos). It is not evident when taking videos. Apparently its a whitebalance issue. I updated to KE7 and it is still there, but only notciable when for instance pointing at a white wall.

- The screen is gorgeous but has a blue tinge. It is not noticable when looking directly at the screen unless the display is white. However it gets noticable when looking at the screen at an angle.

From what I found out its common with amoled displays to compensate for the increased loss of brightness of blue pixels, so i guess it will get fainter with time.. but still.. I hope samsung is able to improve on this with their new amoled display factory which is planned to be used sometime this summer which promises displays that use less power and have a longer life-time...
[Galaxy S II Q&A, Help & Troubleshooting] RogerPodacter:
My nexus one begins playing music while in sleep mode from the button on my headset, so maybe its an issue with the galaxy s2.
[Galaxy S II Q&A, Help & Troubleshooting] Hironimo:
Well, I had the same problem on my LG Optimus Speed, thats why I assumed it is not specific to the SGSII.

Anybody else having this issue?

How to solve it?
[Galaxy S II Q&A, Help & Troubleshooting] brandenk0:
Try holding down the button. I know when I use my headphones once it has been paused, to get it to start back up I have to hold onto for a bit. I use the headphones given with the SGS II and the Google Music player.
[Galaxy S II Q&A, Help & Troubleshooting] don nico:
Can confirm what brandenk0 said:

Try holding down the button a little bit

--> or sometimes double/tripple klicking the button works.

I tried it with the built-in music player, WinAmp and PowerAMP and it always continues the music; even after a very long sleep ;)
[Galaxy S II Q&A, Help & Troubleshooting] Hironimo:
Thanx for your help, that did it!

Another question:

Is it somehow possible to use the button to go the previous or next track?

I know there are bluetooth headsets that have buttons for that.. but with the standard cable headset there is just the one button...
[Galaxy S II Q&A, Help & Troubleshooting] brandenk0:
As far as I have tried, I haven't found a way to get the standard headphone controls to go to the previous or the next song.

Hope this helps.
[Galaxy S II Q&A, Help & Troubleshooting] jordy5:
I can confirm that the headphone button has changed from S1 in the S2. Normally no issues between standby or not on the S1, but on the S2 it seems different and much more issues unpausing :)

Pause = 1x short

Unpause within 2 sec after pausing = 1x short

Unpause after 2sec = 1x long or 2x shortly (differs ... sometimes no resume :s)

Next Track, during play = 2x short
[Galaxy S II Q&A, Help & Troubleshooting] ceuso:
Hi

try something like these (from Market):

Headset Droid

Headset Button Controller

[]'s
[Galaxy S II Q&A, Help & Troubleshooting] aarongillion63:
Official Solution:

I spent over an hour on this.

Download

Headset Button Controller

, THEN: go to Advanced, way bottom "Advanced settings", and "Prevent sleep mode". Also have Run in foreground checked.

Another thing that might help is downloading "SoundAbout", an app that overrides the kernel's decision on whether there's a mic attached with the headphones, and will override just about everything else related to audio routing as well.

+1 if this helps! :good:
[Optimus One, P500, V General] kingv10:
Hi, I've read on the forums that people have problems rooting the thrive, has anyone successfully rooted it or knows if it is even possible, I was wonder about this before I buy one, thanks.
[Optimus One, P500, V General] raenye:
I was able to root it using GingerBreak.apk, pushed via adb.

But I think I discovered a way to do it without a computer:

1) Enable unknown sources.

Problem

: The checkbox doesn't appear in Settings->Application->Development

Solution

: Enter the secret menu (dial 3845#*506#); next to last is the option "Unknow Sources Test" (sic). There you can tick the Unknown Sources checkbox.

2) Download and install Gingerbreak 1.2 APK from XDA.

3) Run Gingerbreak. After reboot, enjoy your rooted device.

Note that there still isn't a custom recovery for it, and the P500 is not fully compatible because of screen issues.
[Optimus One, P500, V General] dovedescent7:
This Sounds Intrigueing.

Bought a thrive, using an st sim on a 30day "trial" from Best Buy :D

Can you enlighten me on some of these terms?

Yes yes i know,search search search...Well ive been searching/posting for three days to finally get here!Plus the xda noobie vid said i could post in a thread at least PERTAINING, to what i want, as opposed to just starting a new thread.:p

Interested in pulling an all-nighter and doing this... Maybe i'll pm this guy just in case ;)
[Optimus One, P500, V General] raenye:
Not sure what else to say:

1) Launch phone dialer;

2) Type digits: 3845#*506# (no "send" needed);

3) Scroll down to "Unknow Sources Test" and click it;

4) Tick the "Unknown sources" checkbox;

5) Back-back-back and go (in phone browser) here;

6) Download GingerBreak-v1.20.apk and install it;

7) Continue with the instructions in the GingerBreak thread.
[G2 and Desire Z Accessories] noob1015:
hey guys i an currently looking for a good case for my desire z and was wondeirng which one everyone thought was better between the otterbox for g2 or the TPU from DCMugen.

For the TPU i hear some complaints such as the half for the top screen not fitting properly and for the otterbox that it is much bulkier and slippery. Are these issues really that bad or are they blown out of proportion (someone said the otterbox feels like its been greased up, hoping this is exaggerated).

What i really want is to know what everyone thinks i should get and why. If you have both of these products can you tell me which one you prefer and why you like it over the other one.

Any help would be appreciated and thanks in advance.
[G2 and Desire Z Accessories] PatrickHuey:
The otterbox, for sure. Its made so much better than the mugen and despite it being slippery everything else is great. When you buy an otterbox you have to expect its going to add bulk. If you don't want bulk, do not buy it.

The mugen cases for me are annoying. It doesn't always fit right, and and though it looks lean and small, the external buttons are veeeeery difficult to push and is frustrating. I've owned both, and the otterbox is the way to go.
[G2 and Desire Z Accessories] mputtr:
the otterbox would be better than the mugen, but my one and only gripe about it is that the "teeth" that holds the case unto the phone breaks extremely easily so take absolute care when you open it or you'll break the teeth.
[G2 and Desire Z Accessories] kregiel16:
Does anyone already have bought the otterbox case ?
[G2 and Desire Z Accessories] mputtr:
using one right now...
[G2 and Desire Z Accessories] gdelrosario:
using one as well, my only problem with it is it's so hard to remove when you need to take out the batt or sdcard.

as for the slippery issues people are getting, fixed mine by sticking a few non-slip stickers on the case.
[G2 and Desire Z Accessories] Lord Bodak:
I've got the dcmugen and love it-- the power button can be a little hard to hit, but it's a whole lot easier than hitting the power button on my Nokia (that also had a dcmugen on it). No problems at all with the fit, it went on easily and has stayed in place for over a month now.
[G2 and Desire Z Accessories] noob1015:
i am just wondering would the otterbox be a better buy then http://phantomskinz.com/htcdesirezchromatics.aspx this phantom chromatic cover.

only reason i am asking is this looks like it has grip so less change to drop it so i don't think you would need that much prtection that the otter provides. Or would you still recommend the otter?
[Atrix 4G Q&A, Help & Troubleshooting] zen kun:
hi when i enter in "weptop" mode i cant set highter resolution, actually its 720 and my TV supports 1080p.

the other issue i have its my tv supports @120hz and the problem its some colors sometimes looks weird :S i cant set up to @120 hz the max its @60hz 720p

anyway to change this??? my tv its vizio

Thanks a lot.
[Atrix 4G Q&A, Help & Troubleshooting] Mgamerz:
1080p is quite a lot for a phone like this, so performance would be bad.

I haven't seen an answer to your question on this forum, however. sorry, cant type fast cause on injury otherwise i'd give a more detailed response
[Atrix 4G Q&A, Help & Troubleshooting] fps_pete:
Ok so as far as the 1080p thats too much for our phone to handle and it will not make it any more sharper... and for part 120hz, that's only the output not the input... Every thing out there form dvd's to vhs and xbox's and blu rays spits out a 60Hz signal and what your tv does is it doubles that 60hz and makes it a 120Hz signal which is what you then see... but most likely you dont even have it turned on... Check your settings that would be your best bet...
[Atrix 4G Q&A, Help & Troubleshooting] zen kun:
the thing its i have a laptop and the output its 60hz so the video and some colors looks awfull :( and same happen with my atrix, my other tv its ok perhaps my 120hz the colors looks like "noise" or weird not all colors and some part of tv :( that sucks :( well i was looking 1080p to watch 1080 in youtube xD
[Atrix 4G Q&A, Help & Troubleshooting] Mgamerz:
I doubt the atrix could render and pipe it over hdmi at that speed. Can't you just use the laptop? I don't notice much between 720 and 1080 videos except for horrendous load times.

Sent from my Motorola Atrix 4G on the network with the most backhaul, whatever that is. This post might have errors as I hate touchscreen keyboards.
[Atrix 4G Q&A, Help & Troubleshooting] flw:
Hi there!

So thats kind of a problem. If you plug in your Atrix to an DVI computer-screen, as mine has got 24" 1920x1200 pixel, you cant really get that native resolution?

About performance: as long as you dont watch 1080p youtube-files, it would be alright, I guess...

As the hardware (though the tegra 250 developer board does) is able to output 1080p, is a solution possible?

greez

(edit: I even consider using a kindof HDfury hdmi to vga converter for a beamer in full resolution...)
[Atrix 4G Q&A, Help & Troubleshooting] zen kun:
so now i need worry about 120hz =X
[Atrix 4G Q&A, Help & Troubleshooting] iOSlulz:
120 vs 60 hz would make no difference on color
[Atrix 4G Q&A, Help & Troubleshooting] crnkoj:
if you have the modded webtop, with sudo permissions and lxterminal or something similar, just write xrandr -s 1920x1080 in the terminal and you should get a 1080p res.
[Atrix 4G Q&A, Help & Troubleshooting] dLo GSR:
the frequency (120 hz vs 60 hz) has NO effect on the colors of your output. it's either an issue with the connector (HDMI cable) you're using, or the TV itself. my guess is something on your TV settings is off, if you're getting the same problem with both the Atrix and a separate laptop.

by the way, a 120Hz capable TV still runs 60Hz images at 60 Hz. There is no "doubling" going on, it's just capable of displaying images with refresh rates up to 120 Hz (higher is more refreshes per second).
[Atrix 4G Q&A, Help & Troubleshooting] Vasia_Pupkin:
i think, that Nvidia Tegra 2 Cant render out 1080p resolution, because this "advantage" will be in Tegra3 (as the part of its specifications).

We should? ot we will get? somebody tried?
[Atrix 4G Q&A, Help & Troubleshooting] crnkoj:
Im using it at times on my parents TV which is 1080p, and everything is fine.

Here:

http://www.nvidia.com/object/tegra-2.html

Display Controllers	2 simultaneous

HDMI 1.3	1920x1080

LCD	1024x600 (Tegra 230)

1680x1050 (Tegra 250)

CRT	1280x1024 (Tegra 230)

1600x1200 (Tegra 250)
[Atrix 4G Q&A, Help & Troubleshooting] zen kun:
its weird not sure what its, and well i dont care atm 1080p but i cant turn off my vizio 120hz i test on my parents 60hz FHD and looks great, but in my tv some colors look like washed, well not always some parts of videos like "noise" not sure what else its, even when the hz are the refresh rate its the only different from my mom tv =X
[Android] mrzm2006:
hi all expert,

I upgrade my huawei c8600 like as huawei ascend, to cm7 CM7-Ascend-05142011 2.3.4 version and another updated version, my problem was I can't connect internet using phone like as 3g modem with windows dial-up networking. In earlier version 2.3.3 I can use phone like as usb 3g modem. In 2.3.4 I found android modem driver in computer device manager so I tested Query modem but error message appear. I found adb interface device and I can install application with computer. How can I change to phone to 3g usb modem mode or how to solve my problem. Please help me.

Thanks you
[Galaxy S II General] ekerbuddyeker:
Gps isn't great on thus device. Better than it was on the Craptivate but worse than a modded captivate.

Can any of the captivate CPA fix Apps work on the S2?
[Galaxy S II General] Blue1k:
What? My GPS lock is insanely fast. Fastest lock on any phone I have ever owned.

All reviews have shown impressive gps locks when navigating and when using maps
[Galaxy S II General] JJEgan:
There are a number of GPS posts about fixes dont know mine is perfect .

Only change i make is NTP pool server set to a more local one via Faster Fix .

jje
[Galaxy S II General] ekerbuddyeker:
I am comparing it side by side with my Atrix. Atrix always sees more birds, faster and locks on quicker. In some instances my SGS2 never locks on when Atrix will. Interestingly tried it on a flight and whereas Atrix often got a lock the SGS2 never did.

Also if the device goes off, or screen switches off the SGS2 immediately loses the lock and takes a few seconds to reacquire. Atrix is instant. That's important if u r driving.
[Galaxy S II General] akgrown:
I used FasterFix from the market since any SGS2s here in the States have the ntp server set to Europe by default. If you're rooted & have BusyBox, you can quickly change it to the North America server using that app. There is also a way you can manually change a config file to achieve the same, but you'll have to search for instructions on how to do that as I'm not familiar.

After changing the server, my GPS locks up extremely fast.
[Galaxy S II General] bilboa1:
note that apps have to keep gps awake if you don't want it to turn off on screen off.

navigation, my tracks, are for example doing that
[XPERIA X10 Q&A, Help & Troubleshooting] Kyuzo86:
Hi guys!

I just made a fresh a reinstall of the original 2.1 ROM (2.1.55, 2.1.A.0.435)

I rooted the device with SuperOneClick1.9.1. During the rooting process the program automaticly installed BusyBox. Then I tried to install xRecovery 1.0.0, but it forcecloses, or claims the device is not rooted.

Any thoughts?

Im using Wolfbreaks ROM for a while, and did reinstall a few times, but never happened this... :(
[XPERIA X10 Q&A, Help & Troubleshooting] Kyuzo86:
Never mind... Just had to reboot... :)