yashsingh1/xdaforums huggingface dataset:
[Galaxy S 4 Q&A, Help & Troubleshooting] EvilHin:
I get the problem solved by re-formatting the sd card using my S4 and I must use usb cable to transfer files so that all files are visible on my device. But it is too strange that they are invisible if you use other methods.. Also when I was transferring files, the windows warned me that those files may not able to view in my S4 and ask me whether to copy those files or not.

I just cannot understand what is the problem. Try that! Hope it helps.
[Galaxy S 4 Q&A, Help & Troubleshooting] LaurensJ:
Thx m8... will give it a try. But first backup my sd card ;):cool:
[Galaxy Note 10.1 General] ddickenson:
Yesterday I got a notice from Verizon on my Note 10.1 that says I have an update from Verizon. It doesn't give me the option of declining it, nor does it tell me what the heck is in the update. All it gives is a web address to a page that talks about galaxy TAB updates not note. It tells me I can defer the update for up to 5 days but I'm rooted and don't want to be un-rooted so I'm a little skeptical about this up date. Has anyone else seen this or know what it is about? The net seems to know nothing about this from all the searching I've done the last few days.
[Galaxy Note 10.1 General] *Madmoose*:
Never take an OTA update when you are rooted. Just asking for trouble. Use a program like RootExplorer or any file manager that can get root access and go into your \System\Apps folder and rename SDM.apk to SDM.apk.bak or something similar. That's the file that downloads OTA updates.
[Galaxy Note 10.1 General] needoZ:
I decided to give it a shot. I updated and it does patch the frodo exploit so root does go away.
[Galaxy Note 10.1 General] ddickenson:
So by renaming this file it will stop bugging me to take the update? I never allow ota updates until I know what they do so I wasn't planning on taking it I just didn't see there being an option to not take it short of "defering" every 5 days and thats obviously BS.
[Galaxy Note 10.1 General] *Madmoose*:
That is correct. Renaming it is the safest way so if you ever want to bring the ability back, you can. But one could delete the file as well.

Edit: thinking about this a little more, the SDM.apk rename will stop any further updates from downloading, but if your phone has already downloaded the update it may keep trying to install it. You may need to find the file and delete it as well. I'm not sure what directory it is stored in, might have to search around a bit for that info.
[Galaxy Note 10.1 General] rspong:
Ive still got root, but stock recovery was installed. Cant get cmw or casual to write over.

Tried Odin , but no go.
[Verizon Droid Incredible 2] andriy921:
Two weeks ago I tried to add a global mode support to the ascention rom, and the result of me work was a great surprise for me.

First, I'll emphasis few facts about any SENSE rom.

1. ANY sense rom has almost ALL functionality, that can be on any other rom for any htc device.

2. All those phone/version/country/operator- specific functionality is DISABLED (not REMOVED) by some build properties in configuration and build constants in the code.

3. ext.jar contains HtcBuildFlag class. This class contains integer property Htc_DEVICE_flag. This property contains a number that represents a phone. For droid incredible 2 it is equal 170. For roms ported from incredible s it is equal to 169. framework.jar contains the same class with the same properties. But for roms which are combined from different peaces they can be different. For example, in viper framework.jar has Htc_DEVICE_flag equal to 225 and ext.jar has Htc_DEVICE_flag equal to 223.

4. All (or most) htc applications contain HtcFeatureList class which contains application-specific features that are enabled/disabled depending on the HtcBuildFlag values and system properties. For example, Phone.apk contains feature FEATURE_THIS_IS_WORLD_PHONE which determines whether global mode has to be switched on.

5. As far, as I understand, Phone.apk uses HtcBuildFlag from the ext.jar. But I'm not sure about teh other applications.

6. So, Global mode is turned off on most roms, because the rom "thinks", that it is not a global world device.

So, to summarize everything I found, I prepared an instruction to add global mode support to any sense rom.

1. Decompile ext.jar and get the Htc_DEVICE_flag value from the HtcBuildFlag class.

2. Decompile Phone.apk and replace all 170 to the Htc_DEVICE_flag value in the HtcFeatureList class smali code.

3. Recompile Phone.apk and flash it to the phone.

One more thing about viper. After I patched viper's Phone.apk and flashed it to my phone, I found a bug in the popup window, that asks to switch to the global mode if service is unavailable. I believe that htis bug is fixed in the newer version of the sense based roms by htc. Actually, I think that the bug exists, because when viper was created there were no global mode phones on sense 4. In my patch I fixed it(the bug was a silly cast error between Checkbox and HtcCheckbox), but I'm not sure, that I found all their occurrence. So, please, let my know if you find them.

And finally, the patches made by me (do not flash them on any other roms/versions of roms):

Ascension Oblivion V2

Viper 1.3.1
[Verizon Droid Incredible 2] felixjohan:
Thanks Man
[Verizon Droid Incredible 2] brymaster5000:
Nice one!

Sticky?
[Verizon Droid Incredible 2] andriy921:
Yes, I think it might be usefull.

It's hard to believe that users wanted global mode for two years and the answer was so simple.

By the way, I sought code, that handles dual sim. But that probably needs kernel changes.
[Verizon Droid Incredible 2] muayyadf1:
I tried the patch on acension rom, once I flashed the zip file phone kept on restarting until I removed the sim.

What is the cause and solution for this issue?

Thanks
[Verizon Droid Incredible 2] ArslanQureshi:
the Ascension Oblivion v2 patch is not working......
[Verizon Droid Incredible 2] vodka86:
My HTC is working with [ROM][CM9-kang] CyanSense [Sense 3.6ish][AOSP] ROM, and currently it does not recognize SIMS from Honduran companies.

I understand that applying the global setting, this issue will be fixed... What is the process to follow?

Do I flash both files, Ascension Oblivion V2 and Viper 1.3.1, or just one of them?

Thank you for your help.
[Verizon Droid Incredible 2] nitsua98:
Each patch is named for whichever ROM you're on so these two patches only work if you're running wither Ascension Oblivion or Viper 1.3.1. The ROM you are on will not work with these two patches.
[Verizon Droid Incredible 2] vodka86:
Thanks, already tested with ascension ROM and the patch.... my phone still does not recognize the sim.

I switched back to stock rom, it does recognizes the SIM but network is really unstable. Still, the best solution for my problem is going back to basic.

Thank you!
[Sprint Samsung Galaxy S 4 General] stealthee:
I saw here that someone is working on it for the S3. http://xdaforums.com/showthread.php?t=2321867 anyone out here want to take a stab at porting it to the s4?
[Sprint Samsung Galaxy S 4 General] 00mred00:
http://xdaforums.com/showthread.php?t=2344641
[Sprint Samsung Galaxy S 4 General] Son Rise:
Its In the progress:
[MDA III, XDA III, PDA2k, 9090 General] kcchen:
Hello,

Just purchased a SX66 and wondering if its possible to transfer sounds from one BT handsfree device to another or back to the phone itself. For instance, pick up the call from my headset, transfer sound to my in-car or back to the SX66's speakerphone... This is something I utilized on my previous T616 quite often due to conditions or simply comfort (no speakerphone, but back to the phone itself). The SX66 user guide doesn't mention this sort of switching process.

Any suggestions would be greatly appreciated!

Ken
[MDA III, XDA III, PDA2k, 9090 General] Joao_Caldeira:
Tap the headset icon in the top, transfer the call to the phone and then press the gree phone button for 2 seconds.

Joao Caldeira
[MDA III, XDA III, PDA2k, 9090 General] kcchen:
Thank you.

I saw that while playing with the phone this afternoon. Also figured out the answer to my second scenario of switching from BT to BT device. Tap and hold the BT device in BT Manager and choose "Connect".

Ken
[Motorola Atrix 2] lph1117:
I am using the lastest 4.1.2 leak. I bought my phone in HK.

Any way to unlock my CPU to 1.2Ghz? If yes, any way to change it back to 1Ghz?
[Motorola Atrix 2] Apex:
Wrong section, bud. This should have been posted in the Atrix 2 General Section. You'll get better attention there. Also, there's two separate 'Help' threads that you might have considered posting to before starting a new thread.

Just food for thought.

Sent from my SAMSUNG-SGH-I747 using Xparent Skyblue Tapatalk 2
[Motorola Atrix 2] brianmoyano:
http://xdaforums.com/showthread.php?t=2302314
[Samsung Galaxy Nexus] beekay201:
I'm almost sure the wifi network at work is running on B/G/N and my maguro connects just fine, no problem using whatever.

At home I don't have N yet; still, check gsmarena, you'll see that it's supported. (http://www.gsmarena.com/samsung_galaxy_nexus_i9250-4219.php)

Check your router settings. Try to only enable N, not mixed.
[Samsung Galaxy Nexus] CheesieOnion:
Both N and mixed are not working. When I use DHCP it won't retrieve an IP-adress and when I enter a static IP-adress it will connect to the network , but it won't connect to internet.
[T-Mobile Samsung Galaxy S 4] squraes4:
Hi I'm running Google Edition 4.2.2 on my I9505 and want stock Story Book back on, is their a way of doing this??

cheers
[T-Mobile Samsung Galaxy S 4] KennyG123:
Questions go in Q&A

thread moved

FNM
[T-Mobile Samsung Galaxy S 4] lagunas11:
Try flashing samsung gapps? You can find them on evil1art room. Wicked
[T-Mobile Samsung Galaxy S 4] squraes4:
Any links m8 cant find it

cheers
[T-Mobile Samsung Galaxy S 4] lalec:
You are looking for Samsung Bloat2 in the Wicked ROM thread. http://xdaforums.com/showthread.php?t=2265998
[T-Mobile Samsung Galaxy S 4] squraes4:
But I just want the Storybookwidget.apk only??

cheers
[T-Mobile Samsung Galaxy S 4] lalec:
It is included in that zip file. Are you asking how to extract it out of there?
[T-Mobile Samsung Galaxy S 4] squraes4:
Yes sorry my bad!!!

I tried to install apk bot says "App not installed"?

do I need to install the "Meta-Inf" file too

cheers
[T-Mobile Samsung Galaxy S 4] lalec:
I am not a developer but if my understanding is correct the meta-inf is the file used to check the apk file and make sure it has not been corrupted or tampered with before install. You may need to review that file or ask someone more knowledgeable.
[T-Mobile Samsung Galaxy S 4] demonic23ice:
Thanks
[One (M7) Themes and Apps] TarekElsakka:
Hello there

I flashed the Tweaks & Themes package by TrickDroid and unfortunately chose to install AOSP Lockscreen and it created some problems for me, and now I want to get the Sense lockscreen back. Is there any way to do this? Like perhaps by flashing a certain APK or moving it to the system/app folder?

Thanks
[One (M7) Themes and Apps] royoshukrun:
What I would do is just backup data, re-flash the rom with the options you want and then restore data.Just data though, not the whole rom, so you keep all of your apps and stuff. I dont think you can restore the lockscreen with an apk anyway.
[One (M7) Themes and Apps] TarekElsakka:
I actually just thought of something even better, and that's dirty flashing the ROM!

Thank you for your suggestion!
[One (M7) Themes and Apps] Kinoal:
We want widgets in the lockscreen!!! :'( Please someone helping us!! :)
[One (M7) Themes and Apps] mmeidl78:
No Problem? There's a thread for that :D If you've got a 4.2.2 ROM installed, you simply must put 1 apk from the official chinese 4.2.2 HTC Rom into system/app and you're good to go.
[One (M7) Themes and Apps] zboq:
I also had that problem, so I just reinstalled trickdroid without wiping data and sense lockscreen is back without loosing anything.

Wysłane z mojego HTC One
[One (M7) Themes and Apps] TarekElsakka:
Yeah I already did that and fixed the problem, thanks. I then installed Holo Locker and froze HTC Lockscreen from Titanium Backup and Holo is AMAZING.
[Sony Xperia L] BloggingWheels:
Hi,

Just received my new Xperia L. Was trying to setup whatsapp on my phone but the following message appears everytime:

"Your phone date is inaccurate! Adjust your clock and try again". FYI, I use a wi-fi network at home. I have not activated any 2G/3G services. After a bit of googling, I tried deleting the network settings and checked again but of no avail. No matter what I tried, I seem to hit a dead-end.

Any leads from the members?

Thanks!
[Sony Xperia L] Wumbo7:
Found this quote from the Xperia L Community forums: http://talk.sonymobile.com/thread/142297

"I used to have this issue on my Live with Walkman (WT19i) too. Take your sim out, place it again, then start the phone. Go to time and date and set Use Network for Tine and Date settings."

Please report back if this worked for you.
[Sony Xperia L] dipusen:
I had same problem. It was solved when I updated Whatsapp from phone. Try it.
[Sony Xperia L] BloggingWheels:
Resolved

I just couldn't wait for the forum members to reply :P

Anyways, here's what I did:

I uninstalled the app from the phone and downloaded the latest version of Whatsapp. And voila! It's working now! Thanks for the help guys :)
[Sony Xperia L] suzith:
Check if you have stamina mode enabled, If yes. Add Whatsapp to the white list, It worked for me.
[Galaxy S 4 Accessories] driodman98:
I have seen only hdmi adpaters but none that can do both at the same. Any suggestions?
[Galaxy S 4 Accessories] Shug69:
http://www.mobilefun.co.uk/samsung-galaxy-s4-mhl-2-0-hdtv-hdmi-adapter-p38702.htm
[Galaxy S 4 Accessories] lambstone:
I was under the impression that it charges if you connect your charger to the adapter it will charge as well.

IF... you were referring to charging via HDMI port alone ... can't be done.
[Galaxy S 4 Accessories] LuD0:
Does it work with Cyanogen ? thx
[Galaxy S 4 Accessories] ooop:
http://www.ebay.co.uk/itm/300916539...l?_from=R40&_sacat=0&_nkw=300916539432&_rdc=1
[Galaxy S 4 Accessories] Shug69:
As far as I know tv-out isn't supported on Cyanogen but I don't use it so I'm not up to date.

The link above will work with S4 but if it doesn't boast of 60 fps like the Samsung cable it's probably 30.
[One (M7) Q&A, Help & Troubleshooting] arlenesboyfriend:
I installed revolution today and doing a restore from tbu it wasn't installing blik calendar widget ok well I went to them market to install it from there and it is saying it isn't compatible with some other applications using the same shared id.... My question what's the other all so I can uninstall it so I can use blik
[Desire HD Q&A, Help & Troubleshooting] shafqat93:
I rooted my desire hd one year ago using aahk, today i tried to root my friend's dhd using aahk, but failed

Can anyone help me to root htc desire hd

I'll be very thankful. .
[Desire HD Q&A, Help & Troubleshooting] SmikkelMikkel:
I don't have my DHD fully rooted, but anyway.

First you have to unlock your bootloader, find instructions on htcdev.com for it. Then you can flash a stock rom with SU acces, so you'll be rooted. But I recommend you to S-OFF the DHD also, I myself didn't figure out how to do it yet.

Still learning
[Desire HD Q&A, Help & Troubleshooting] varpar:
You can try this tool (aahk2) that is found on a german forum. I got my DHD rooted and S-OFF using this tool only. Just translate the page, read instructions carefully and you are done!

http://www.android-hilfe.de/root-ha...im-unlock-s-off-supercid-custom-recovery.html
[Desire HD Q&A, Help & Troubleshooting] bananagranola:
AAHK is retired and unsupported. It also can't download the RUUs it needs anymore because the server was taken down. Use at your own risk.
[Sony Xperia S, Acro S, Ion] letama:
Hi fellow developers!

I successfully implemented EAP-SIM on my aosp rom, here is few pointers on how I did it:

First, a big reference is this:

https://code.google.com/p/seek-for-android/wiki/Index

It has source code for org.simalliance.openmobileapi.jar plus patches required on aosp tree. wpa_supplicant patch is not how sony did it so you can ignore it. I'm using Sony binary there, it would be interesting if someone could replicated what Sony does to avoid pre-built. I suspect it's not that complicated, but I don't have enough time for that.

So, let's go deeper in the subject:

1) Ril patches

EAP replies on being able to retrieve certificate from simcard, it does this by adding few request (RIL_REQUEST_SIM_TRANSMIT_BASIC, RIL_REQUEST_SIM_OPEN_CHANNEL, RIL_REQUEST_SIM_CLOSE_CHANNEL, RIL_REQUEST_SIM_TRANSMIT_CHANNEL).

Commit #1 , #2, #3.

2) SimAlliance api and SmartcardService.apk

SimAlliance is using a specific user to deal with api. Basically, Sony is using it unmodified, the only difference is the user id and name, Sony is using android.uid.smartcard, user id is 1029. I only re-use their APK, edited to allow logs and re-signed. Re-signed is important as it's using smartcard shared user.

Commits #1, #2

3) Adpu service for wpa_supplicant

Now, this is where the fun begins, this one took me a bit of time to do it right (well, kind of :)).

At the end of 1) and 2), SmartcardService should run properly and api should be fine. To make the link between the api and wpa_supplicant, Sony is using a Unix socket with a pseudo-service (net.wifi.ApduService). I took a shortcut here to make it work, baksmali, change namespace, smali. I had to fight a bit with build system using an empty class for signature, I'm afraid I'll never understand java linking properly :).

This ApduService class is not very complicated and can be reversed easily for someone a little better at smali than I am, I didn't have the time and courage to re-implement it.

Communication goes like this:

a) When wpa supplicant connects to Wifi Monitor, state machine sends a SET_APDU_SOCKET APDU_COMMAND_SOCKET string command (APDU_COMMAND_SOCKET is socket name)

b) it then starts the ApduService that will listen to the socket

c) when needed, wpa_supplicant connects to the sockets, do the apdu exchange to get the certificate information, and then do the eap association.

4) EAP-SIM user interface

This one is piece of cake, basically you just have to add two new methods strings (SIM and AKA) and add a new enterprise field pcsc that should be set to "TRUE" when method is SIM.

To be continued... That's about it, but I will expand this post later on, I don't want to lose what I wrote up to know.

Attached ApduService if someone wants to take a shot at reversing it:
[Sony Xperia S, Acro S, Ion] letama:
* reserved *
[Sony Xperia S, Acro S, Ion] letama:
* and another one, that should be enough *
[Sony Xperia S, Acro S, Ion] f(x)THaxxorX:
[MENTION=834547]letama[/MENTION] Im Just Thinking If this Will Be Possible at Stock ROM :P What Do You THink Huh? :P
[Sony Xperia S, Acro S, Ion] letama:
Well stock rom has it already, no ? It's only missing in rom built from source code like cm/aosp/aokp...
[Sony Xperia S, Acro S, Ion] mat2057:
Yes it has!

But I think you already know it if you used Sony binaries...
[Sony Xperia S, Acro S, Ion] Chacc:
Yes it as, but with the Trinity Rom and some other like XxX Rom it not works.

We need to flash the 6.2.B.0.211 of DoomLoard ROM, to connect us one time and reflash trinity ROM or XxX without Wipe.

Without do that, when we flash directly Trinity Rom or XxX Rom and choose EAP-SIM, he try to connect but return fail.

I try to solve this problem since 1 weeks..
[Sony Xperia S, Acro S, Ion] letama:
Ok, I see!

So basically, if the AP is created and established with pure stock, it will work after on these roms ?

It looks like the UI to setup an AP has been replaced in these roms then. Can you check one thing:

1) Delete the freewifi_secure AP

2) Create it with Trinity or XxX

2) check /data/misc/wifi/wpa_supplicant.conf content ?

It should look like this just after creation:

network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
pcsc="TRUE"
priority=xxx
}

It could look like this if certificate exchange work:

network={
ssid="FreeWifi_secure"
key_mgmt=WPA-EAP IEEE8021X
eap=SIM
identity="xxxxxxxxxx@wlan.mnc015.mcc208.3gppnetwork.org"
pcsc="TRUE"
priority=34
}

I suspect that pcsc="TRUE" line is missing when it doesn't work, no ?

If wpa_supplicant.conf is ok, I'd need a log to try to understand what's wrong...
[Sony Xperia S, Acro S, Ion] Chacc:
You're right;) (like always)

When i put the libe pcsc="TRUE" it works :)

Thanks a lot my favorite dev :) i ll cook my XSRevelation custom Rom :)
[Sony Xperia S, Acro S, Ion] letama:
:) Thanks to you, I know a lot more about EAP-SIM ;)

Good to know!

Thanks for the confirmation... So it means these roms are modifying Sony framework or Settings.apk and kills the user interface for AP declaration.

I had to adapt original eap patch for 4.2.2, so my diff may not help, but just in case, here are the patches to support pcsc:

diff --git a/src/com/android/settings/wifi/WifiConfigController.java b/src/com/android/settings/wifi/WifiConfigController.java
index 2598a0e..509359b 100644
--- a/src/com/android/settings/wifi/WifiConfigController.java
+++ b/src/com/android/settings/wifi/WifiConfigController.java
@@ -100,6 +100,8 @@ public class WifiConfigController implements TextWatcher,
public static final int WIFI_EAP_METHOD_TLS = 1;
public static final int WIFI_EAP_METHOD_TTLS = 2;
public static final int WIFI_EAP_METHOD_PWD = 3;
+ public static final int WIFI_EAP_METHOD_SIM = 4;
+ public static final int WIFI_EAP_METHOD_AKA = 5;

private static final String TAG = "WifiConfigController";

@@ -376,6 +378,9 @@ public class WifiConfigController implements TextWatcher,
mEapIdentityView.getText().toString());
config.anonymous_identity.setValue((mEapAnonymousView.length() == 0) ? "" :
mEapAnonymousView.getText().toString());
+ if(((String) mEapMethodSpinner.getSelectedItem()).equals("SIM")) {
+ config.pcsc.setValue("TRUE");
+ }
if (mPasswordView.length() != 0) {
config.password.setValue(mPasswordView.getText().toString());
}

And

--- a/wifi/java/android/net/wifi/WifiConfiguration.java
+++ b/wifi/java/android/net/wifi/WifiConfiguration.java
@@ -122,11 +122,13 @@ public class WifiConfiguration implements Parcelable {
public EnterpriseField key_id = new EnterpriseField("key_id");
/** {@hide} */
public EnterpriseField ca_cert = new EnterpriseField("ca_cert");
+ /** {@hide} */
+ public EnterpriseField pcsc = new EnterpriseField("pcsc");

/** {@hide} */
public EnterpriseField[] enterpriseFields = {
eap, phase2, identity, anonymous_identity, password, client_cert,
- engine, engine_id, key_id, ca_cert };
+ engine, engine_id, key_id, ca_cert, pcsc };
[Sony Xperia S, Acro S, Ion] Chacc:
Oki, merci ;)
[Sony Xperia S, Acro S, Ion] reingoku:
Bvb :b
[Sony Xperia S, Acro S, Ion] wargre:
ApduService

Hello,

I've rewriten the ApduService (I'm as close as possible to the smali file even if i clearly thinks some process are way too complex for the simple job this class do)

letama, I guess we could test this against the AOSP 4.3 you build... except I don't know the repo you use, the config you build with & co

If you have some doc on this...
[Sony Xperia S, Acro S, Ion] letama:
Great! Thanks a lot. I'll try it as soon as I have a working build back. I'm a bit in the middle of a kernel merge and nothing works anymore :). It will take some time I'm afraid...
[Sony Xperia S, Acro S, Ion] twins.7:
This APDU service. are other device has different implementation code of this?

can I use this APDU for other device?
[Sony Xperia S, Acro S, Ion] letama:
I don't know, it could work on some other qualcomm devices I guess. Ril has to support the specific sim messages though.