yashsingh1/xdaforums huggingface dataset:
[Xposed General] shnapsi:
Hi,

Thanks for your reply.

from the test i did, the method is being correctly hooked, there are no errors in the logs.

The method is definitely being called, I added logs to the original method, so I see that it's being called.

Since i need to hook this method, I'm not sure if IXposedHookZygote/initZygote will work here (at least from the examples i saw).

can I use IXposedHookZygote/initZygote to hook a method?

Thanks,

Gidi
[Xposed General] shnapsi:
Ok, I managed to hook my method as you suggested.

Now, I've a problem I don't understand.

in AOSP, there's a class called RIL (com.android.internal.telephony.RIL), when i try to hook it, and give it as com.android.internal.telephony.RIL.class, I get an error, the IDE doesn't recognize this class (only com.android.internal.util) can be found...

any idea?

Thanks,

Gidi
[Xposed General] GermainZ:
Use "com.android.internal.telephony.RIL" (as a string).
[Xposed General] shnapsi:
Thanks, but then i need to give a classLoader as a parameter which i don't have when i'm using initZygote method.

Have i missed something?
[Xposed General] shnapsi:
I found the solution: i'm using the startupParam class's classloader

startupParam.getClass().getClassLoader(),

Thanks a lot!
[Xposed General] GermainZ:
If you're using initZygote the classloader argument can be null as well.
[Xposed General] shnapsi:
So now I'm confused... :)

In that case, if i want to hook this specific method (or method located in packages that are not recognized, it's better to use handleLoadPackage and not initZygote?
[Xposed General] GermainZ:
No, just replace "startupParam.getClass().getClassLoader()" by "null". :)
[Xposed General] shnapsi:
Sorry, now i lost you completely :eek:
[Xposed General] GermainZ:
Here's an example that should show the difference clearly. Both methods (initZygote and handleLoadPackage) will have the same effect (this is only true if you're hooking the "android" package; if you're hooking anything else, you must use handleLoadPackage).

public class XposedMod implements IXposedHookLoadPackage, IXposedHookZygoteInit {
[PLAIN]@Override[/PLAIN]
public void initZygote(StartupParam startupParam) throws Throwable {
XC_MethodHook myHook = new XC_MethodHook() {
[PLAIN]@Override[/PLAIN]
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
// Do something.
}
};

findAndHookMethod(SomeSdkClass.class, "methodName", myHook);
findAndHookMethod("SomeOtherClass", null , "methodName", myHook);
}

[PLAIN]@Override[/PLAIN]
public void handleLoadPackage(final LoadPackageParam lpparam) throws Throwable {
if (!lpparam.packageName.equals("android"))
return;

XC_MethodHook myHook = new XC_MethodHook() {
[PLAIN]@Override[/PLAIN]
protected void beforeHookedMethod(MethodHookParam param) throws Throwable {
// Do something.
}
};

findAndHookMethod(SomeSdkClass.class, "methodName", myHook);
findAndHookMethod("SomeOtherClass", lpparam.classLoader , "methodName", myHook);
}
}
[Xposed General] shnapsi:
Thanks a lot!!! :laugh:
[Android Q&A, Help & Troubleshooting] akosikristo:
I bought a 2nd hand phone. when i test it at my house using a micro sim there is no signal from my service provider.

i tried several micro sims but still have same result. I also flashed the official rom from the sky vega website (i have sky vega iron) but still got no luck and my phone still has no signal.

i saw that my IMEI in the back of the battery and in the #*06# are different i checked it from an IMEI checking site and the IMEI is from different phone models, at the back it says in the site that the imei in the back is for a870L and at the #*06# it says its for a870S (S is for SK provider in korea, L is for Lte+ provider and L is for Olleh) but both imei is not blocked based on the website result my question is,

is having different IMEI is the reason why my phone cannot register to anynetwork?

whats are my option to fix this problem? (having a money back from the one who sold it is not an option because i already flashed a rom because i think rom is the phones problem)

thanks in advance.
[Android Q&A, Help & Troubleshooting] hadiyalkishan:
Change your imei to *#06# displaying to back of the battery..

Sorry for my bad English
[Android Q&A, Help & Troubleshooting] akosikristo:
how can i do that sir?
[Android Q&A, Help & Troubleshooting] akosikristo:
help
[Android Q&A, Help & Troubleshooting] hadiyalkishan:
Google it..

For your information imei porting (changing) is illegal in many countries.. Best of luck
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
Don't think there is an known way for phones like that. If it was a MediaTek based phone, then possibly. However, you are incorrect about it being illegal to change the IMEI as OP is trying to restore his own correct IMEI. It'd only be illegal if they were using an IMEI from another phone they didn't own to defraud the carrier of unpaid services. Changing the IMEI to properly reflect the number the phone came with is not illegal in any way, shape, or form.
[Android Q&A, Help & Troubleshooting] akosikristo:
my phone is not Mediatek sir.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
Which is why I said I don't think there is a way for phones like that...
[Android Q&A, Help & Troubleshooting] Planterz:
A different IMEI on a battery won't matter.

More likely your problem is your APN settings.
[Android Q&A, Help & Troubleshooting] jahanzaib khan:
You have a korean phone. It needs unlocking. There are a few custom ROMs which do this for u. :D Is the baseband in settings>about showing "unknown?
[Android Q&A, Help & Troubleshooting] akosikristo:
baseband is good sir. ive tried many custom roms and official roms and also tried flashing basebands.
[Android Q&A, Help & Troubleshooting] akosikristo:
up! help..
[Android Q&A, Help & Troubleshooting] zelendel:
Wrong. Tampering with the imei in any way is illegal in many places. The only people that have the right is the OEM. The laws differ a bit from country to country which is why all talks of changing the IMEI are banned from XDA.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
I think it would have to be a ridiculously strict interpretation of that law to include restoring the correct IMEI to be considered "tampering". I'd like to see some citations for that. It's not considered that in the US, at least nor not allowed here - for example:

http://xdaforums.com/showthread.php?t=2461059

There's a big difference between changing and restoring.
[Android Q&A, Help & Troubleshooting] zelendel:
It is here. Its covered under the cell phone cloning laws that these numbers are not to be tampered with. The only way we allow talks about it are restoring the backed up files from the proper directory or by flashing a stock system jmg. All tools that can edit the imei are also banned from then site.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
Once again, restoring the correct IMEI is not tampering. And you are incorrect about banning tools here that can edit the IMEI because MobileUncle has been on the site and in many of the subforums for plenty of time for the mods to remove it if it were an issue. We aren't talking about dealing with any cloning or tampering of the sort. I'm not sure how to make it more clear that restoring the IMEI isn't considered tampering or off-topic here.

What difference does it make if you are restoring from a backup after your IMEI is unknown or 0000000000049 or using an app to do it?

Edit 2: We even have tools to restore the IMEI on some phones if you didn't even make a backup. How is THAT different?
[Android Q&A, Help & Troubleshooting] zelendel:
They should not be there as I personally have removed dozens of thread with those tools.
[Android Q&A, Help & Troubleshooting] es0tericcha0s:
It's unfortunate to hear that considering it shouldn't be that way. I don't get many Mediatek devices at my shop but I have had a customer with a faux S5 that tends to randomly lose it's IMEI and MobileUncle was the only available way to fix it. It's absolutely ridiculous to think that restoring the correct IMEI would be considered tampering or not legal in anyway. I've still yet to find any evidence that that is the case here or otherwise.
[Android Q&A, Help & Troubleshooting] zelendel:
Well let's look at this. As clone devices do not use legal IMEI anyway. It has already been proven that the IMEI on cheap POS knock offs do not use valid IMEI any way so what your doing is against the law under the Fcc ruling. Look up the Fcc ruling on cloned devices. Now if you search well enough you will find the info needed. Mainly as it was a huge deal with Samsung devices that place the IMEI files on a writable partition that can be erased on roms flash.
[Android Q&A, Help & Troubleshooting] Qdm123:
I dont have option of sync photos on my android mobile so it means i'm not able to sync my pics my phone is chinse made q mobile and it have android 4.2 jely bean
[G3 Q&A, Help & Troubleshooting] Mystery-M:
Hi ...

I need stock fonts of LG G3 ...

Could anyone help me ?
[G3 Q&A, Help & Troubleshooting] Mystery-M:
Could anyone push it from his or her phone ? :/
[Sony Cross-Device General] TheHunk_2:
Just Enter Here :fingers-crossed: http://xdaforums.com/xperia-z1/themes-apps/how-to-make-sony-underwater-apps-device-t2847686
[Xposed General] Zachary droid:
Its a simple question, but i cnt get an answer or nobody will acknowledge, i just wana no after i install xposed, and it gives me the warning that it can get stuck in a bootloop, what are the odds of it happening loll, im using a lg g3 tmobile rooted, and no rom, i think this is an awesome app and i really wana use it, but i dnt wana deal with a bootloop, mostly because im not home to fix it right away haha, but yea if anyone can answer id appreciate it, and ill delete this post once someone does, so no one gets mad tht im clogging up the thread, or posted in the wrong spot or whatever.. Thanks..
[Xposed General] kusanagi666:
Most of all you must back up your rom .. from recovery ... before testing the application ... so you avoid problems
[Xposed General] Zachary droid:
I backed up with titanium, im rooted but i dnt have a custom rom installed, i dnt really want one, is titanium good for a backup in this case
[Xposed General] czach5932:
Even if your not using a custom Rom you should always have a recovery installed. Messing with any system settings can cause a bootloop (not just xposed). What he was referring to was having nandroid backup.
[General Topics] phuongth:
Hi all,

I use WTL in VS 2005 to create some dialog. I want to get status of keyboard is open or not. Because, when keyboard will be open, some part of my form will be hidden by keyboard. So I want to get status of keyboard (is opening or not) for resize my form.

Hope you help me!

Thanks!
[General Topics] vijay555:
Do you mean hardware or software keyboard? Look up SIP on pocketpcdn.com

V
[General Topics] phuongth:
Add more information!

Thank for remind me!

I developer for PocketPC application. So keyboard is software.
[General Topics] phuongth:
Thank,

I solved my problem as your suggesting as link below:

http://www.pocketpcdn.com/sections/sip.html

http://www.pocketpcdn.com/articles/sip.html
[Verizon Galaxy S 5 Q&A, Help & Troubleshooting] brando56894:
At my company all the users have S5s, one of the VIPs just got the S5 and he's having problems opening emails sent from our exchange server, whenever he tries to open one from within the "Email" app sometimes it will take multiple taps to open an email. I don't have this problem with my S5, nor does anyone else here that I know of. I tried rebooting his phone but that didn't seem to fix it.

Any ideas?
[Nexus 5 Q&A, Help & Troubleshooting] sxeMonster:
Hey everyone.

Around 2 months ago proximity sensor in my nexus 5 lagged and stopped working. 'Proximity sensor finder' app says that it just stuck in one position continuously showing the same distance. The lag happened after regular What's App session, basically I noticed the problem when I called my friend shortly after. My first thought was to reboot the phone, but it didn't help, as well as full wipe and flash of a custom firmware didn't make it work. And I forgot to mention that the problem initially occurred on stock firmware. And I'm pretty sure that it's not broken or whatever, since when I checked it during a call it turns on and flashes, it can be easily seen through another smartphone's shooter.

So if you guys have any ideas how to fix this feel free to share, any help will be highly appreciated!
[Nexus 5 Q&A, Help & Troubleshooting] beekay201:
Flash latest factory image.
[Nexus 5 Q&A, Help & Troubleshooting] Venomous Viper 119:
Flash the factory image once. If this doesn't help, there's an Xposed module that helps you disable the proximity sensor. Install it & then try toggling it & after a while, uninstall it & reboot. See if this works. I'm not sure though, just trying to help.
[Nexus 5 Q&A, Help & Troubleshooting] sxeMonster:
well, thanks for your suggestions, but nothing helped:(

I actually thought that messing with exposed module, as was advised, would help, but it didn't:(
[Nexus 5 Q&A, Help & Troubleshooting] beekay201:
RMA it.

Thread solved, seems like HW failure
[Galaxy S 5 Q&A, Help & Troubleshooting] tee00max:
So im an avid phone person as you can see from my signature and now am venturing with the S5 and actually love it so far suprisingly. What I wanted to know is how are you guys dealing with just having 16GB internal space? I think it is enough for the apps I use and since I have a 64Gb SD, there will be no media on my intneral. Just wanted to see everyone elses thougts on it.

I know back in the day you could move your apps to your SD with an app such as apps2sd but I know I saw rumors of Kit Kat killing this feature. Input?
[Galaxy S 5 Q&A, Help & Troubleshooting] russ18uk:
Without the external SD, I'd doubt 16GB would be enough. But like you say, my music is stored on the external; camera stores to external. And as long as you root and run sdfix app from Google Play, permissions are the same as before.

Google are still trying to push as many users as possible to cloud storage, which has its uses but I detest the fact they are trying to kill off external SD phones in doing so.
[Galaxy S 5 Q&A, Help & Troubleshooting] tee00max:
Ahhh I didnt know about the add sdfix, that is exactly what I was looking for if it lets me install my apps to the external. Im going to look into it some more.
[Galaxy S 5 Q&A, Help & Troubleshooting] mediumsteak:
I'm using the Sandisk Ultra 64 GB Class 10 UHS 1 micro SD which is more than enough for my media needs.

My only complaint is that this specific SD has poor write speeds of only 8.77 MB/S despite the fact that Class 10 are required to have a 10 MB/s write speed. Read speeds are fine, and perform better than the advertised 30MB/S - I am getting 37MB/S read speeds.

My friend has the same SD as well as the S5 and also suffers from lower than 10MB/S write speeds.

On another note, this card seems to write at 10MB/S when its plugged straight into my PC.

I am beginning to suspect that the specific combination of the S5 and the Sandisk Ultra yields such performance.
[Galaxy S 5 Q&A, Help & Troubleshooting] tee00max:
I haven't really tested the speeds out for myself but I have the same sd card.
[Galaxy S 5 Q&A, Help & Troubleshooting] fffft:
No doubt 16 GB is enough for most people. Mind you, that's really about 12 GB of effective user space after the system files claims it's tithe.

It's tenuous for power users though. Frankly it's a crime that Samsung's so called flagship only has 16 GB when the (North American) Note3 has a default 32 GB. For myself, I like to have 20 GB+ of music alone on my phone. Yeah, it could be worse i.e. no SD card like most IOS models. But the external card speeds are abysmal compared to internal memory. There should be 32 and 64 GB models available for a flagship model.

Anyway, there is an XDA thread that does a good job of swapping the internal and external memories i.e. it designates your external card as the "internal card". You take a bit of a speed hit in exchange for 128 GB default capacity. The mod works better than the app you cited. Also note that it's a simple edit in platform.xml to revert the restrictive Kitkat permissions for the external card.

.
[Galaxy S 5 Q&A, Help & Troubleshooting] jzmtl:
After I reverted the permission 16GB is workable, since I can now put GPS maps on external SD, before that I had 500mb of free space left on the internal SD.

Still if you play games it's very tight, a single not-so-new game like Nova 3 takes up 2.8 GB, and it won't store the extra files on external SD either way.
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
I'm about to decide between buying a 32GB and 16GB S5. To properly answer "Is the 16GB internal storage good enough for you?": from those on a Samsung Galaxy S5 16GB could we get a few reports on your current available (internal storage) space.

I'd be especially grateful if you could provide:

A screenshot of your available space (Settings > Storage ?).

The number of user apps you have installed. (E.g. Titanium Backup > Batch Actions (Action button on top menu) > Backup > Backup all user apps <Values show a count of your user apps>

The current ROM you are using (e.g. Samsung Stock G900IDVU1ANG3, or Edgarf28's XtreStoLite Custom Rom, etc)

A description of what you intentionally store on the external SD card, if anything.

... but by all means just provide a text report of your available space if that's all you'd otherwise be inclined to bother with.
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
Bump.

A simple text report of your available space and the number of user apps you have installed, for a Samsung Galaxy S5 16B, would do!
[Galaxy S 5 Q&A, Help & Troubleshooting] drduser:
Your decision on 16 or 32GB may be easier than you think. To my knowledge and from my inquires into Samsung, they have not actually produced any 32GB versions yet. Someone correct me if they have one, I've been looking for a while. I haven't purchased the S5 yet because the lack of the 32GB version.
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
Samsung has produced several Galaxy S5 32GB variants. Specifically the SM-906K, SM-906L, and SM-906S. See http://www.samsung.com/sec/consumer/mobile-phone/mobile-phone/kt/SM-G906KSIEKTO. He is Erica Griffin compariing a SM-G906S to a regular, 16GB, S5.

On XDA developers there is active, although relatively limited, development for 32GB SM-906[K|L|S] devices. See, for example, M-G906S/K/L/ S805 Info Sharing thread (Root/CWM/Custom Rom) .
[Galaxy S 5 Q&A, Help & Troubleshooting] drduser:
I didn't know that thanks for the information. I wish they would release it in the US.
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
You can import it to the US, and other countries around the world, through a "grey importer", like www.t-dimension.com. The main limitation wtih Galaxy S5 32GB SM-906[K|L|S] devices is that the range of telephony radios (3G and 4G) might not be as ideally suited to your region as the Galaxy S5 16gb devices released in your region.
[Galaxy S 5 Q&A, Help & Troubleshooting] drduser:
That is correct, I'm in the US. I wish they would of disclose that up front unless I missed it also.

Thanks for the information!
[Galaxy S 5 Q&A, Help & Troubleshooting] Hellscythe:
It's alright. I got the 16gb one because it was 749 dollars and the 32gb one was 999 dollars....sooo yeah....
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
I'd be grateful if you could answer my previous post (which helps with answering the original question).
[Galaxy S 5 Q&A, Help & Troubleshooting] Hellscythe:
Roughly 12gb free space

38 user apps installed. 7.4gb used, 4.4gb free

ANI2 ROM, cbf finding a link, but it's on sammobile

My internal storage is pretty much just for apps and downloads because Chrome defaults the download path to internal storage. Music, movies go onto my external sd.
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
Thanks very much for the reply Hellscythe. But I'm confused about whether you have 12GB or 4.4GB free.

Do you mean that you had 12GB free at factory conditions and after 38 user apps (and various Chrome downloads) you have 4.4 GB free?
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
Thanks [MENTION=5353566]fffft[/MENTION]. Yes my presumption was that she meant that.

Thanks for the information that 7GB remaining free, at factory conditions, was the worst case you've seen.

Fortunately I'm in Australia like [MENTION=4835365]Hellscythe[/MENTION] so would be faced with the same sort of device and ROM choices. Hellscythe is on the Taiwanese ROM for the SM-G900I, G900IZTU1ANI2 (PDA).

Anyone else got some stats from their 16GB phone?
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
I've just bought the 16GB Samsung Galaxy S5, SM-G900I. Here follows the available space / free space statistics.

I let the over-the-air (OTA) updates install the latest firmware. I remain unrooted. I have an external microSD card installed (virtual empty).

Firmware Identity: Manufacturer Android - Android 4.4.2 - Touchwiz - Samsung Galaxy S5 - SM-G900I - klte - Australia - XSA - G900IDVU1ANG3 (Manufacturer_442_TouchWiz_S5_SMG900I_Australia_XSA_G900IDVU1ANG3) [The string you've just read is a firmware identification standard I'm playing with].

Firmware Build Date: "Fri Jul 18 21:38:58 KST 2014" (as reported in "Phone Info *Samsung*").

[IMG="Screenshot_2014-10-17-18-24-53_G900IDVU1ANG3_Fresh_VersionInfo"]http://i.imgur.com/bs4TgZy.png[/IMG]

Device Status: Fresh Install of Firmware, no user apps or other data imported, but preinstalled apps included..

Stats Taken: 2014-10-17 19:04 (from *Settings > System > Storage*):

Total Space: 16.00GB

System memory: 4.40 GB

Used Space: 525 MB

Cached data: 5.38 MB

Miscellaneous files: 476 MB

Available Space: 10.62 GB

[IMG="Screenshot_2014-10-17-19-04-32_G900IDVU1ANG3_Fresh_AvailableSpace"]http://i.imgur.com/ksTgBh0.png[/IMG]

Device Status: After Fresh Install of Firmware: Apps added (105 in total of downloaded user apps, with app data, and preisntalled apps); personal data imported (Contacts, SMSs, Notes, Calendar Events); No significant media files to speak of.

Stats Taken: 2014-10-19 11:31

App count taken from adding up Play Store > My Apps > Installed > "Recently Updated" (20) and "Up to Date" (85) = 105.

[IMG="Screenshot_2014-10-19-11-36-31G900IDVU1ANG3_AfterAppInstalls_AppCount_RecentlyUpdated"]http://i.imgur.com/U1Y033q.png[/IMG]

[IMG="Screenshot_2014-10-19-11-37-3731G900IDVU1ANG3_AfterAppInstalls_AppCount_UpToDate"]http://i.imgur.com/dO8Hgl8.png[/IMG]

Total Space: 16.00GB

System memory: 4.40 GB

Used Space: 1.8 GB

Cached data: 86.2 MB

Miscellaneous files: 496 MB

Available Space: 9.21 GB

[IMG="Screenshot_2014-10-19-11-31-36_G900IDVU1ANG3_AfterAppInstalls_AvailableSpace"]http://i.imgur.com/Ug5CzhO.png[/IMG]

In short, on a 16GB Samsung Galaxy S5, manufacturer's firmware, 105 installed apps, personal data imported (Contacts, SMSs, Notes, Calendar Events) the available internal storage space is: 9.21 GB .

That's a rather large number of apps and a large amount of available space. If you manage your media (video, photos, music) to ensure it gets stored on the external SD card you are unlikely to feel the need for a 32GB Samsung Galaxy S5 over the lifetime of your (16GB) phone. Unless, that is, you have some freakish use case.

"Is the 16GB internal storage good enough for you?". Unequivocally, yes.

Nevertheless I hope, next time, Samsung does release a 32 GB version to all markets.

Added: "and a large amount of available space"
[Galaxy S 5 Q&A, Help & Troubleshooting] dlads:
Not enough for me, 32gb would be perfect, however with the use of folder mount I get by
[Galaxy S 5 Q&A, Help & Troubleshooting] John Bentley:
How much available space (internal storage) do you have? How many installed apps do you have? What else is filling your internal space such that it is not enough for you?