yashsingh1/xdaforums huggingface dataset:
[Android Software Development] kellinwood:
Yes, I know why it doesn't work. Its complicated, but I'll do my best to explain...

In order to login to Facebook from an Android app, the app developer must first register the app with facebook. Facebook provides the developer with an API key value, and the developer provides Facebook with the app's "keyhash" value (computed from the certificate used to sign the app).

Developers usually hard-code the API key value into the app because it must be passed to Facebook when the app requests a login, along with any credential information such as the user's email and password. Facebook then recomputes the keyhash value using the app's certificate, and if the API key and computed keyhash combination don't match the expected value the login fails.

Long story, short... resigning the app with a different key/certificate is what breaks the login. In theory you can fix this but the level of effort is high... You'd have to register an app yourself on developers.facebook.com, then hack the Candy Crush code to swap in the API key value you've been provided by facebook, and register the keyhash of the certificate you are using to re-sign the hacked app. The difficult part IMO is finding and modyfing the API key value inside the original app.

Ken
[Android Software Development] bigeyes0x0:
[MENTION=2854601]kellinwood[/MENTION], I sent you an email recently with this message:

Any help will be greatly appreciated.
[Android Software Development] kellinwood:
What are you using to verify the signature created by ZipSigner, the thing that says it can't verify the signature... e.g., jarsigner on the desktop? the recovery program on your device? Please attached the signed version of the zip file that doesn't pass verification. Thanks,

Ken
[Android Software Development] bigeyes0x0:
In ClockworkMOD Recovery 6.0.4.3 as mentioned in my previous post. I attach here one of the signed zips for you as all of them (other keys in your zarsigned app) failed with the same error in CWMR. This one is signed with my app using this code

try {
ZipSigner zipSigner = new ZipSigner();
zipSigner.setKeymode(ZipSigner.KEY_TESTKEY);
zipSigner.signZip(unsignedZip.getPath(), signedZip.getPath());
} catch (Exception e) {
Logcat.e("ERROR SIGNING RECOVERY ZIP", e);
mApp.showToast(R.string.error_sign_zip, Toast.LENGTH_LONG);
return;
}

In case it's important, I created the zip using standard java zip package.
[Android Software Development] kellinwood:
Your signed zip passes verification with jarsigner on my desktop using -verify -verbose -certs. Howver, apart from the signature related files there is only one other file in your zip... META-INF/com/google/android/update-binary. You are mising updater-script and files that you intend to install during the update. So I think that the recovery program fails to find updater-script, but reports the problem as a signature verification failure.

Ken
[Android Software Development] bigeyes0x0:
That's normal. It's the same as with koush's su update from recovery, the update-binary is actually a script, check

https://github.com/koush/Superuser/.../com/koushikdutta/superuser/MainActivity.java # doRecoveryInstall method

https://github.com/koush/Superuser/blob/master/Superuser/assets/update-binary

Mine is practically the same. I'm stumped at this point. I will try to ask koush and get back to you if I have anything.
[Android Software Development] FlyingHorseGA:
Keystore Wrong Version?

When trying to generate a new keystore file I get an error message at the end saying keystore is the wrong version. What am I doing wrong?

Running on Samsung Galaxy Note Pro 12.2 (SM-P900) under LL 5.0.2
[Android Software Development] pablopau:
Nice app but when the file to sign is big it just grab the meta-inf directory. Can you solve it? I love this app!!!
[Android Software Development] tattmann:
hey, I see you werent replied to for help. Did you ever get it figured out? I am having the same problem. Please let me know if you figured out how to fix the error. I am getting the exact same message.
[Android Software Development] kellinwood:
Try changing the keystore file extension from "jks" to "bks" in the "New Keystore File" field.

Ken
[Android Software Development] tattmann:
I think that did the trick. Thank you very much!
[Android Software Development] DanFreed:
Even though it's not been updated in 5 years this app has too little love. I use it to avoid update notifications on apps I don't want updated.

Download from alternative site, resign and install - Play store will not recognize it
[Android Software Development] HemanthJabalpuri:
@kellinwood Sir your app fails to verify signature in twrp..

Edit:- See my mod for fix https://xdaforums.com/t/app-android-no-pc-sign-apk-zip-within-android.3835975/post-81324327
[Vibrant Q&A, Help & Troubleshooting] enuro12:
I've created a tutorial from start to finish on how to install AOSP ish 1.1 rom. It includes rooting, backing up, flashing, bug fixing, sd card fixing, custom battery mod, and finally restoring back to stock.

Is this an alright place to post it? Its not really development. Just a How-To for newbies like myself.

I'll just link it here for now.

Video 1
[Vibrant Q&A, Help & Troubleshooting] coolairG1:
+1. I am another newbie
[Vibrant Q&A, Help & Troubleshooting] enuro12:
Bump Video Link Added

feel free to comment the video.
[Vibrant Q&A, Help & Troubleshooting] enuro12:
all the links have been updated.
[Vibrant Q&A, Help & Troubleshooting] androidcee123:
Enuro12, you are a good guy...I appreciate you putting the video up for people who may be struggling with modding; just wish that is was up when I was struggling!

Excellent job...very straightforward, clear, and concise.
[Focus General] enroh:
so I switch from an iPhone3G to the Focus and I have a timestamp issue. I know it has plagued Android units in the past and recently. I do have the correct timezone set (Central) but all txts I receive stamp of 1 hour behind me? Is there a DST setting I am missing? I have tried setting the time manually as I did with my iPhone but no luck with that - has anyone else confirmed this issue with a Focus? Thanks.
[Focus General] burningembers:
No issues here...and no issues through 3 Android phones either.

Where do you live? Arizona? Maybe the towers there are just wonky since parts of Arizona don't always change.
[Focus General] JMackey:
Dammit. My device (also from rogers) doesn't arrive until tomorrow...... I'll post back once I get mine to let you know if I have the same problem.
[Focus General] enroh:
I wish I lived in Arizona - I am in Winnipeg, MB up here in Canada eh...
[Focus General] enroh:
if you could thx - it would be appreciated...
[Focus General] ramonerojo:
SMS Time Fix for Android

I have the Samsung Captivate from Rogers running Android 2.1. I am running SMS Time Fix from the Android market. My time was off by 4 hours and I had to set the utility to correct the time by 5 hours. Works like a charm.
[Focus General] burningembers:
Is this just a Rogers thing then? That seems really weird.

All my phones have a setting somewhere that let's you set the time based on your location, which is roughly estimated based on the towers you're accessing for your signal. I find it odd that such a large subset of phones from a particular place would...ignore that.
[Focus General] JMackey:
I have had no such issue with my device. All the timestamps are correct for me.
[Focus General] enroh:
are you on Rogers?
[Focus General] enroh:
yep seems to be a Rogers thing - Android users have a fix but I cannot find one for WP7. Yes I know about the automatic time setting and it doesnt matter which way I set it - its always incorrect.
[Focus General] JMackey:
I am indeed. Over in BC.
[Focus General] enroh:
OK well thats good to hear :P

So what settings are you using? Auto?
[Focus General] ramonerojo:
A CSR told me the other day that it has been escalated beyond tier-2 support. Who knows what that means or when it will be fixed for you.
[Focus General] enroh:
What that means is nothing because that is an Android fix not Focus :(
[Focus General] JMackey:
Yes, date & time is on auto.
[Focus General] tewmgd:
Did you find a solution ?
[Focus General] enroh:
Sadly, nope. Nothing. :confused:
[Focus General] benjaminries:
WinMo has had this problem with Rogers for a while... there's a simple registry setting in CE (likely still in the CE behind WP7) that changes whether or not the phone should accept the sms timestamps from the carrier or substitute its own based on arrival time on the physical device.

Some sites are reporting that sideloaded apps can access the registry as well as undocumented APIs. If you're willing to wait, I'm betting there will be a way to tweak the WP7 registry by the end of this year.
[Focus General] enroh:
its not a huge issue as the txts are threaded anyways...just be nice to have the correct time on them - I will await the OS update (jan 2011 is what I have read)...
[Focus General] abuawab:
im located in winnipeg too and i have the issue with my new Focus.

oh and i wanted to note that i had the timestamp issue with my HD LEO and i had to modify the registery so i dont think that Rogers will do anything about this issue.

i guess we have to wait for microsoft or our geniuses here :P
[Focus General] colinbo:
I'm seeing a similar issue on the two Samsung Focus units I have. My wife and I text each other on Fido and it's five hours behind. Sounds like this is a carrier issue?
[Focus General] gthompson75:
carrier issue

its always been a carrier issue, its the way rogers/fido do the time on their sms, telus/bell you would have no problems with timestamp. Its something to do with how the tower sends it to you.
[Focus General] JMackey:
There has to be more to the issue, considering I'm on rogers with a Focus and I don't have any time stamp issues.

Maybe location wise? I'm located in BC.

Maybe it happens to unlocked units from non-rogers carriers?
[Focus General] Massonite:
Hey everyone,

I have a Rogers Samsung Focus unlocked, and I am using it on Koodo. As we all know they are TELUS, so I am not sure that it's a carrier issue. Maybe a setting on the phone, or perhaps something that will need to be addressed in an update.

I've even done a wipe because I added a memory card to it (Sandisk 16 GB Class 4, works great!) and the issue still happens.

So if anyone knows another idea to fix this, I'm all ears :)
[Focus General] mesonto:
No problems here

My timestamp is just fine with a Rogers Samsung Focus. But what isn't fine is that I still don't have a case or screen protector!!! Also my Kingston 16Gb calss 4 SDHC works great. I am located in Toronto.
[Focus General] bteljuice:
Anyone found a solution for this?
[Focus General] VelJharig:
I've got the same issue (timestamp is 1 hour behind for received SMS) with an unlocked Samsung Focus on Telus. The Focus was originally purchased off contract from Rogers. Everything other than SMS messages reports the correct time (and timezone).
[Focus General] dangub:
Bump

Anyone figured out a way to solve this? I use an unlocked ATT phone on Rogers and the time on incoming messages is always 4hrs in the past
[Focus General] Wonderbreadguy:
I have no problems with at&t focus, WiFi sharing works great and fast, visual voicemail is great and easy. I'm lovin my focus these days can't wait for the new focus s
[Focus General] dangub:
I'm really happy for you.

The main point of my question was that it doesn't work on an AT&T unlocked phone on a Rogers network. (when I used it on AT&T network it worked fine)
[Focus General] aniym:
sorry, i can't offer any solutions.

just posting to write that my T-Mobile HTC HD2, which is running a Mango ROM also has the SMS timestamp problem on Rogers. For the sake of comparison, I ran this exact ROM while I was on AT&T in the states and never had a problem.
[Android Apps and Games] snapplefish:
Is it possible for me to use my phone's microphone as a PC mic? (Samsung Captivate). I've tried http://www.placaware.com, but that only gives me webcam output. Anybody know of anything?

Thanks.
[Android Apps and Games] Mav3656:
Hi snapplefish,

It has been a time since you asked this question, but I was looking for that too. The answers I have found so far are this 2 apps :

DROIDCAM, with which you are able to share microphone and webcam by USB (through adb, check the internet to know more about it), as well as WIFI

IP CAM : It is only by Wifi, but does a lot of other things. You can have webcam and audio through it, as far as I know.

good luck with it !
[Android Apps and Games] jkark:
hellooo

hello 1st post
[Galaxy S I9000 Q&A, Help & Troubleshooting] revantk:
I was flashing a rom yesterday on my Galaxy S I9000 and had made a nandroid backup.I lost all my apps while flashing so I tried to restore the backup using rom manager.But when my phone rebooted it went into clockwork but when it again rebooted after backing up,it got stuck on the galaxy s I9000 screen and is not showing any improvement since yesterday.I don't even have the 3 button recovery!! :eek:

Can I use Odin or Kies to solve this or has it gone out of hand??
[Galaxy S I9000 Q&A, Help & Troubleshooting] mr_at_sgs:
Hi,

the only way to proceed is download mode and flashing via odin agian

without

repartion. Your backup should remain in the Clockworkmod directory. Do a advanced Restore with CWM-Recovery and don't Restore the system part!
[Galaxy S I9000 Q&A, Help & Troubleshooting] revantk:
My phone doesn't have a three button recovery.I don't think there's any other way of getting into download mode in my situation.Can Odin still help??
[Galaxy S I9000 Q&A, Help & Troubleshooting] revantk:
How do I get into download mode without the 3 button recovery?Can Odin still help?:confused:
[Galaxy S I9000 Q&A, Help & Troubleshooting] opensourcefan:
So you can't get into CWR or Download mode correct???

If that's the case you may need to build the micro usb resistor jig to get you into download mode. The how to thread is around here someplace...

nm, here it is - http://xdaforums.com/showthread.php?t=819551
[Galaxy S I9000 Q&A, Help & Troubleshooting] Qazz~:
Can you get into download mode? (vol down + home + power)
[Galaxy S I9000 Q&A, Help & Troubleshooting] cthulhu501:
For me the only way is this one, it works fine for many people:
[Galaxy S I9000 Q&A, Help & Troubleshooting] revantk:
Should I send it to the samsung service center ??

Soldering is not really my cup of tea
[Galaxy S I9000 Q&A, Help & Troubleshooting] harrydg:
if you're belgian, i can make you a cable if you want... you will have to pay for the parts of course ;)
[Galaxy S I9000 Q&A, Help & Troubleshooting] revantk:
I'm from India

I think the service center can handle this.

Will Odin or Kies be able to detect my device?
[Galaxy S I9000 Q&A, Help & Troubleshooting] harrydg:
try it... it might...

power down your phone, connect usb, start odin, power on your phone and see if odin "finds" your device... (make sure kies is NOT running)
[Touch Cruise Android Development] ion_plugged:
After lots of nights lost developing, testing and days of hard work... with all the help I could get from the work of Dzo, Incubus, Myn, l1q1d... and the other android developers... I finally came up with my own Eclair port for Polaris 200 (o2 Xda Orbit 2).

Ionny Eclair

NAND installation:

-flash the signed_ruu.nbh with the custom_ruu.exe from latest build.zip for best performance and use the radio from post 3. The kernel used is latest 2.6.25 kernel (stable) with default 460mhz cpu speed.

Alternative:

-use the Haret files.zip provided and extract in andboot folder on sd card and run haret.exe

-install the rom as usual (haret mode disables some fetures of the rom as harware aceleration and market)

What works:

-Market

-WI-FI

-Bluetooth

-Camera

-Live Wallpapers

-GPS

-3G data conection

-SWAP an Apps2SD

-More...

What doesn't work:

-Youtube

-Video recording :(

-Playng video is posible with the latest update and a 3rd party Videoplayer

Please FEEDBACK to help improve.

Feel free to modify, make this rom better, and post the results.

I don't take any responsability if your phone bricks or malfuctions using this ROM.

DOWNLOAD

I hope you find it enjoyable. Good Luck!

*UPDATE* "Jit enabler, keyboard, tutorial and 3d support Update.zip" :

-Enabled JIT - FASTER more STABLE rom

-Removed voice search but can be optionaly added from the "voice search after update.zip" in post.

-Changed the keyboard to a faster and smoother one

-better 3d hardware suport

-Added superuser.apk an su support
[Touch Cruise Android Development] dai_thang:
what is your exact radio ? I test this rom with orbit 2 - Camera usually hangd and I could not connect via 3G ! however it seem to be stable. innitially, previos radio make my devices like a battery consumpting beast ^_^
[Touch Cruise Android Development] ion_plugged:
hello

My radio is 1.59.44.02, and the kernel used is 2.6.25 (latest radio for polaris)... camera is fine... about 3g connection: it works fine in safe mode... and in starting in normal mode... will fix it.. soon.

SRY... i found about this yesterday when i bough some mobile internet...

this is the radio, extract and flash with custom ruu from first post.
[Touch Cruise Android Development] dai_thang:
thanks man ! I wonder that why your image is nearly 100MB why other froyo is around 70MB , one more question is that I could not device the Flash in to 90MB of system and 128M of data by using atools because the android installer couldnot install ( like it could not affirm the partition size )

Is this firmware could recognize swap ? and is 3D hardward enable ? I could not test by NeoCore ^_^
[Touch Cruise Android Development] btnk:
Thanks for your great work! It runs very smooth and fast on my O2 Orbit2 and the battery seems to be fine also (as far I can say after one day testing).

Nevertheless, there is one very important thing that is not working: I cannot get the access to the market ("com.google.android.googleapps") and it's also impossible to log in my google account (probably same issue)

I used the kernel you provided.
[Touch Cruise Android Development] ion_plugged:
the size of the image is 100mb becouse of the archiving. it is simply tar not tgz so it is stored, if u want more data u have suport for apps 2 sd (works great witht multi partition ex2 and fat32). yes it has hardware acceleration... a bit buggy... an it has suport for swap i use 160 mb swap.. 3g data works... it's a bug i discovered... delete all apn and leave them blank (the rom has a list of lots of apns and it choses the best one...) close all data conections and enable them again...if it does not work in settings (sometimes it doesn't) use smart bar or something do toggle data on and off(it worked for me)..about the market... if u are on nand it should work... i had no problems... what radio, what nbh are u using? it fits in 102 mb of system... frouyo is arhived that's why it is 70 mb.
[Touch Cruise Android Development] ion_plugged:
com.google.android.googleapps is this giving u an error? force close ot something? i will make an update... to try... i am sry, on my device it works, so i will look into it... how do u try to connect onto your g account? 3g or wifi? do u have a polaris 200 (o2 xda orbit 2) what radio are u using?
[Touch Cruise Android Development] ion_plugged:
Market problem fixed by post 15.

As for hardware aceleration see picture below. (sometimes the app gets stuck when i touch the screen i dunno why)
[Touch Cruise Android Development] dai_thang:
I think this room have problem with charging and recognize the battery
[Touch Cruise Android Development] ion_plugged:
what happened? you have to replug after phone reboot... this is the only issue...
[Touch Cruise Android Development] btnk:
ion_plugged, thanks for the quick reply. Unfortunately, it didn't work, com.google.android.googleapps till forces close. It doesn't make a difference if I connect by wifi or 3G and I tried both the original german O2 radio ROM and your radio. I will try to install some other android ROM to check if the error is persistent.
[Touch Cruise Android Development] btnk:
ion_plugged, I tried several other ROMs (Incubus Froyo, Myn's warm Eclair, VaniljEclair) with different Kernels and they all sync to google without any problem. My phone is a german O2 Orbit2.
[Touch Cruise Android Development] ion_plugged:
My o2 orbit is also german and the procces is registering. Well i will try to figure out what is going on on your device. how do u install the rom? with install sh or via sdvwith loader. Do u wipe data before?

Sent from my O2 Xda Orbit 2
[Touch Cruise Android Development] btnk:
I installed the ROM via the Android Installer and wiped the data directory.
[Touch Cruise Android Development] ion_plugged:
So here is the fix...hopefully

The fix...

Sent from my O2 Xda Orbit 2
[Touch Cruise Android Development] ion_plugged:
I am glad that this fixed the problem... don't forget to get the update.
[Touch Cruise Android Development] yokishadow:
HTC sync

Hi ion_plugged, I'm the beginner of android. After flash your new rom, I download the laterest version of HTC sync & install to my pc. But, it can't sync when I plugged the usb cable to my polaris 100. Can you tell me what should I do, thx!
[Touch Cruise Android Development] ion_plugged:
U connect the polaris in recovery mode to the pc... and then u hit quit.. android will load as normalk... the fphone is in sd sharing mode... i did not test htc sync.. will try. I have widows 7.
[Touch Cruise Android Development] yokishadow:
install .apk apps

Sorry ion_plugged, I just know use astro to install apk apps in android. But, it can't attached in your rom. Can you advise any other method to install the apk apps in sd. Thanks again!
[Touch Cruise Android Development] ion_plugged:
vougue tools in the rom alows u to move aps to sd. and set cache and extfs. to move apps 2 sd u have to creat an ext2fs or ext3fs on the sd card and enable apps to sd. GL
[Touch Cruise Android Development] alinescoo:
The Download link doesn't work anymore. Could you please upload it somewhere else ? Mi-ar place sa incerc rom-ul

LE: now the link works
[Touch Cruise Android Development] chyzas:
sometimes can't load android after "power off".. i'm getting messages:

31.46464 set.volume of 256 to 5

31.56465 settings function 0 for gp that i don't aim

31.5454 snd_set_device

.....

******

199.46464 set.volume of 256 to 5

199.56465 settings function 0 for gp that i don't aim

199.5454 snd_set_device

....

i tried to start with recovery mode and android freeze instantly..
[Touch Cruise Android Development] l1q1d:
Probably there is a bug in the rom, try to clear data or reinstall.
[Touch Cruise Android Development] alinescoo:
The only thing that drives me nuts is data corruption. I hope I won't have this issues with the kernel from start page.
[Touch Cruise Android Development] ion_plugged:
hi

Use the .65 kernel the old one from the first post... still experimenting now with the new modules. the rom is not intended for .32 kernel... (this is data coruption and it is not stable)i am working now in solving some issues and maybe migrate to the new kernel. i chose that kernel and eclair becouse all the libraries exist and u can merge a fully functional os for polaris. so far i am still developing fot 3d driver, and i still have some launcher problems, the default launcher2.apk won't start. soon i will upload haret files (need work on 3d suport for haret).
[Touch Cruise Android Development] ion_plugged:
for freezing after rebooting try cleanin the dalvick cache

the link is working....
[Touch Cruise Android Development] alinescoo:
The rom is incredibaly fast. I took the nbh from start page and update the panel = 1. My issue is that on DDMS the device doesn't get recognized as a valid Android install so I can't do debuging on it.

My impression is that this ROM is by far the best suited one for Polaris. Included software is very handy. The Power widget has phone and APN added on. I really love this ROM. Great job Ionut.