yashsingh1/xdaforums huggingface dataset:
[Xposed General] caioketo:
But what you said about the XSharedPreferences, that it could possible stop working on L, makes me not wanting to use it, so here is my hook code:

findAndHookMethod("android.os.Bundle", loadPackageParam.classLoader, "getString", String.class, new XC_MethodHook() {

[MENTION=439709]override[/MENTION]

protected void afterHookedMethod(MethodHookParam param) throws Throwable {

if (getExtra(loadParam.packageName)) {

String key = (String) param.args[0];

String value = (String) param.getResult();

getExtrasToSend().putString(key, value);

}

}

});

Basically it will grab every call to getExtras, of all packages, and when it get called it should check if the package that called, is the one I'm looking for (from the reciever part), I got 2 ideas, first one I'm testing right now, is I get a class wich holds a static field and method to the packageName variable, and I'm calling it with: (String)XposedHelpers.callMethod(Util.class, "getPackageName", null);

probably wont work, and I was thinking about hooking the method of my own reciever to get the variable in the module class, and use as static variable there.

Any of these should work? Is there a better way to make it??
[Xposed General] M66B:
Static variables probably won't work, since the settings holder and the settings user probably run in different process spaces. You need either some kind of shared storage or an IPC mechanism to communicate the settings.
[Xposed General] caioketo:
Is it possible to use files for that? or database? Im really lost, never work with that yet, and seems that there isnt any explanations on google.
[Xposed General] M66B:
Shared preferences does use an XML file, so yes. A database is possible too, but you need to make sure both the settings manager and the hook do have access to it, same as with using (XML) files. You'll need to take care of locking too, since multiple process will access the file or database.
[Xposed General] cryptyk:
I have broadcast receivers in my settings activity and my xposed module so they can communicate with each other. You need to setup your receiver in the xposed side programatically:

Context context = (Context)XposedHelpers.getObjectField(param.thisObject, "mContext");

IntentFilter filter = new IntentFilter();
filter.addAction(XposedReceiver.RESET_ACTION);
filter.addAction(XposedReceiver.REFRESH_ACTION);
context.registerReceiver(mBroadcastReceiver, filter);
[Xposed General] caioketo:
The problem is that I'm hooking the Intent class, and it dont have a context field for me to register the broadcast.

EDIT: I don't think Im being clear of what I need, I need to be able to set someway to send the package name to the module, I'll hook this methods:

findAndHookMethod("android.os.Bundle", loadPackageParam.classLoader, "getString", String.class, new XC_MethodHook() { [MENTION=439709]override[/MENTION]

protected void afterHookedMethod(MethodHookParam param) throws Throwable {

if (loadParam.packageName.equals(PACKAGE_NAME_FROM_BROADCAST) {

String key = (String) param.args[0];

String value = (String) param.getResult();

getExtrasToSend().putString(key, value);

}

}

});

and I need to pass that PACKAGE_NAME_FROM_BROADCAST from a broadcast receiver, dont know the way to make it, tried static variables, xsharedpreferences, etc.

Cant get it working. and I dont know more what to try.
[Xposed General] M66B:
First of all it is not a good idea to hook into android.os.Bundle, since this will impact the system performance significantly.

Moreover android.os.Bundle is used very frequently in applications and various Android components, meaning your hook will run in a variety of process spaces. Getting a Context in this Xposed hook will therefore often not be possible. If you really want to go this way, a service directly registered with the service manager is your only option, but my advice is to find another, less intrusive, way to do what you want.
[Xposed General] caioketo:
Ok, the problem is that, my module needs to grabs all calls to "getExtras" ("getStringExtra", "getBooleanExtra", etc) to know all extras that the application will expect, than I'll pass it to AutoShare app, so you can customize and start an intent with all possible extras.

Is there any other way to grab the extras without hooking the Bundle or Intent? About the perform, its doing nothing if its without the right package, so will it still slow the performance???

Thanks for the repply.
[Xposed General] M66B:
A hook never does nothing, since there will always be code executed. The hook you are trying to use will be executed really a lot, so there will be significant performance problem.

The 'bundle' is a general 'message', which is used for a lot of things. You should find a way not to hook into the 'bundle', but into a higher level function.
[Galaxy S 5 General] malybru:
Mod Edit

This only needs to be posted once,thank you

Thread closed

malybru

Forum Moderator
[Sprint HTC One (M7)] oneinwww:
I can't find this apk nowhere in internet, it disappeared from play store as well, please if someone has it, upload it for me, thanks
[Sprint HTC One (M7)] Sloth:
Greetings,

I moved this to Q&A...questions should not be posted in the Development sections.

Thanks,

BD619
[Sprint HTC One (M7)] Epiel:
same here, please help with this app!!

thanks
[Sprint HTC One (M7)] XxpikaachuuxX:
http://xdaforums.com/sprint-htc-one/general/app-sim-unlock-helper-viperboy-t2906419

have fun guys

backed it up with Titanium
[Sprint HTC One (M7)] Drimpulse:
thanks alot!!!! =p

ill keep this backed up in the cloud incase anyone else needs it thank you :cool:
[LG Optimus 2x] yasoyeso:
Hey guys I have an LG Optimus 2x A while ago I tried installing cyanogen mod on it and it failed to flash it was cyanogen mod v7 then my phone wouldn't would never boot at all, every time I would try to boot it would just freeze at the cyanogen want to boot screen but it would never open I tried a lot of solutions with one of them work can you guys please help me or tell me if this can't be fixed or how can I fix it I took it to the store and they said He doesn't know how to do it.

By the way the phone is in perfect condition.
[LG Optimus 2x] sanketkedari:
Dude where u r stucked plz browse more in this forum u can turn O2X into anything u want this forum is Just awesome and why u flashing cm7 where u cant get CM11(kitkat)
[LG Optimus 2x] yasoyeso:
Don't know

Sorry but I didn't know I'm beginner in ios and I used to use Ios
[RAZR HD Q&A, Help & Troubleshooting] Sarmatios:
I think I really outdid myself this time, was installing an official firmware on my fiancee's phone(Blur_Version.98.50.26.XT925.Brasil.en.BR) trough RSD Lite (6.1.6) and at the end of the process the phone shut down and didn't finish the rebooting process. Since then I can't get it to turn on or access fastboot. Even connecting it to a charger wont turn the led on.

So, the hard questions to ask:

1. Is there anything I can do? Anything at all?

2. Even if I can't. What may have happened? I used RSD other times and I have modded half a dozen phones and a brick happened to me before.

Thank you so much, I am probably gonna get chewed since her work depends on it and we will have to get an other one, but any nudge in the right direction or cold hard truths will be appreciated.

Stephen
[RAZR HD Q&A, Help & Troubleshooting] RikRong:
It almost seems like the battery died while you were flashing. What was the battery at when you started?
[RAZR HD Q&A, Help & Troubleshooting] OrBy:
I would try a Motorola Factory Adapter or mod a USB cable to act like one. If it still fails to boot then your looking at a hard brick.

http://shop.teamblackhat.info/Factory-Adapters-motadapt.htm
[RAZR HD Q&A, Help & Troubleshooting] Sarmatios:
Quick update,this morning when I connected to a power source it turned the green light on(left ir connecting for the night). Tried connecting to my pc and it will play the connected/disconnected sounds over and over again. Still can't fastboot it.

I imagine it might have been some sort of battery issue but it was over 60% when I began installing the firmware and the process took less than 10 minutes.
[RAZR HD Q&A, Help & Troubleshooting] RikRong:
Flashing will kill battery. You should always try to do it with a full battery. Anywho, does anything show up in the device manager on your PC when you connect the phone?
[RAZR HD Q&A, Help & Troubleshooting] Sarmatios:
Nope, my pc will make sounds as if it was being plugged and unplugged repeatedly.

Also when I press the power and volume buttons to reboot in fastboot or recovery (the cell was unlocked, rooted and had the latest JB philz recovery ) the green light will flash but the screen wont turn on.
[RAZR HD Q&A, Help & Troubleshooting] RikRong:
Nothing shows up at all? That sucks. Hmmm, leave the phone on the charger overnight and then see if you can get into fastboot.
[Xiaomi Redmi 1S] szzlgupta:
hey guys,

my redmi is rooted on v41 and I want to update it to v45. I dont want to download on updater app coz last time it downloaded 1.6gb of data just to download 515mb of v41!

Now from where to download v45 on pc and how to flash it on redmi?

Thanks! :)
[Xiaomi Redmi 1S] TheStrix:
Download the stock zip and flash it ;)

http://en.miui.com/download-226.html#325
[Xiaomi Redmi 1S] TheDj408:
This may help https://www.youtube.com/watch?v=eDVsjIacf58
[Xiaomi Redmi 1S] SH3H1:
You can download from the link our mate provided and if you have any custon Recoveries flash it like any ROM ! Or use updater app and in options choose ROM :)
[Xiaomi Redmi 1S] dony9952:
my current version is 36

My current version is 36 ...how to upgrate into 45...

This in adv
[Xiaomi Redmi 1S] balwinder_singh:
Is it safe to flash stock firmware via cmw recovery
[Xiaomi Redmi 1S] @rmE:
Go to MIUI official site and head to downloads, select your device and download the global rom for your device. Put it in sd card and simply wipe data,cache and install it as any custom rom. Clear cache again and bootup
[Nexus 5 Q&A, Help & Troubleshooting] salvosp:
Hello everyone,

i want to delete a theme installed with theme choose, but i cannot find the destination folder.

Where is it?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Belongs in Q&A section

Settings > Apps? :confused: Just like any other app?
[Nexus 5 Q&A, Help & Troubleshooting] salvosp:
I'm sorry for the post in wrong thread.

Yes, i have unistalled the app of the theme, but the theme appears and is working in theme chooser.

I think that all the theme installed go in the same folder, no?
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
Themes are installed like any other app.
[Nexus 5 Q&A, Help & Troubleshooting] salvosp:
Ok, i try to delete the app, but the theme is working anyway. Thanks for the answers
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
What you're saying makes no sense. If a theme is uninstalled, how would it work? You're probably uninstalling the wrong thing.
[Nexus 5 Q&A, Help & Troubleshooting] KelevrA_8:
Have you rebooted your phone? If not, the theme will linger.
[Nexus 5 Q&A, Help & Troubleshooting] Elluel:
No, it won't.
[JAMin, XDA Neo, S200 Software Upgrading] fuhayer:
can i find the original Qtek S200 TurkcellPDA ROM ? i have this device and is not able to stay connectted to any wi-fi more than 15 seconds.

i have tried all the ways like distances,modems,standards b and g and of course i have connected all the signals near me but my device is disconnecting after 10-15 seconds from the signals.

i have tried all the ROMS in this site like AKU 3.3 rc1 / original 2.20.7.34 / AKU 2.2 but same wi-fi connection problem by interrupting its connection after 10-15 seconds.

is there a way to find original TurkcellPDA ROM which is the original ROM of my device bought from Turkey ?

thanks.
[Samsung Galaxy Mega] Supervinom:
I am very eager for a custom ROM for such a decent mobile, so please can someone develop one??
[Samsung Galaxy Mega] AndyYan:
GT-i9152 uses a Broadcom chip which is pretty rare these days, so it's not hard to see why this device doesn't get any developer love. Dual-SIM support is also an issue to solve.

And making a custom ROM is not like "you said it and devs do it in days" - building a working device tree and everything else isn't that easy.

As of now I saw a CM10.1 tree available, but it's neither good enough to build a working ROM, nor has the popularity to attract more devs into fixing it.

Sent from Google Nexus 4 @ CM11

[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
[Samsung Galaxy Mega] GHsR:
I tried to build cm-11.0 for i9152, but does not work :

gps

ril

bluetooth

fc music player if you play music

logcat: https://yadi.sk/d/fIEtlzK5bzfbT

I applied all the patches from the Galaxy Grand duos.

Device-specific source code for i9152:

https://github.com/ghsr/android_device_samsung_crater

Kernel source for for i9152:

https://github.com/ghsr/android_kernel_samsung_crater

Firmware cm-11 https://yadi.sk/d/qCbxKK8Pby6GV
[Samsung Galaxy Mega] Supervinom:
That's sad to hear, but I heard that there should be a kitkat update for this device since July but it never got released, was it a hoax then? But 6.3 already got that update
[Samsung Galaxy Mega] AndyYan:
Samsung indeed said they "will", but things are always subject to changes. Take the international version of Galaxy S III as an example of a failed promise.

With a Broadcom SoC that's hard to support, it's no wonder that Samsung has to delay the update, if that's the case

Sent from Google Nexus 4 @ CM11

[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
[Samsung Galaxy Mega] Supervinom:
Alright then, thx for the reply
[Samsung Galaxy Mega] Supervinom:
There was post from last month says that Samsung Mega 5.8 and 6.3 is expected to get Android L, what if actually Samsung didnt release kitkat for Samsung Mega 5.8 as they wanted to release something better like Android L? I can't put the link because I am a new user...
[Samsung Galaxy Mega] AndyYan:
I'm pretty sure that both devices won't be updated to L, given that Mega 5.8 and 6.3 are S4-generation mid-range devices (in the same class as S4 Mini), and Samsung's update track record show that they don't love mid-range devices at all.

Here's hoping that they will...

Sent from Google Nexus 4 @ CM11

[WARNING: XDA Premium 4.0.13 lacks Signature function - do not update]
[Samsung Galaxy Mega] Supervinom:
Yeah maybe, but we should know by half of 2015 which is still long way to go
[Samsung Galaxy Mega] Silesh.Nair:
http://xdaforums.com/galaxy-mega/orig-development/rom-cyanogenmod-11-t2911381
[Samsung Galaxy Mega] Supervinom:
Thx! The rom is working great, but the DPI is really small (182) can someone please check the original DPI of Samsung Mega 5.8?
[Samsung Galaxy Mega] Silesh.Nair:
Try 240. You can change it in the build.prop before flashing...
[Samsung Galaxy Mega] Supervinom:
I did try 240 after flashing, but its so big, i am currently using 216
[Samsung Galaxy Mega] dperfectdude:
Update provided with DPI to 240

An update has been provided in the same thread.. its awesome. check it out...

http://xdaforums.com/showthread.php?t=2911381
[Samsung Galaxy Mega] Supervinom:
k thx
[Samsung Galaxy Mega] Alejo The Media:
Ported to GT-I9150

Hello Im from El Salvador. Im not a developer or something, but If anybody it´s interested in the ported version for GT-I9150 LATAM version Im here to help!

I have ported it and all credit goes to the developer NOT ME.

I have tested this for at least a month and I can say its 75% Stable. I used as a daily driver for heavy social media tasks and e mail
[Samsung Galaxy Mega] jarvlopes:
Galaxy Mega 5.8 Roms Stats

Hi

I did a lot of research on the net and stumbled upon a few roms like cokelate rom ,GT Lite but finally I found Cm 11 Unoffical Kitkat rom installed it and it works like a charm contact me at jarvisdlopes@gmail.com for more info about where to download will send the links

:)
[Samsung Galaxy Mega] Nottezio:
Well just got released a few days ago, I flashed it, it just great, but because of its first launch on gt i9152 dont expect a stable build, amazingly it run on Android L

Ressurection Remix
[G3 General] rosso22:
A few weeks ago i was checking my running processes and i noticed a service called mlt was running, after a little googling i found that this appears to be a sort of lg spyware that looks for keywords been searched (suicide, types of porn etc) i found you can disable this in the hidden menu - mlt test - disable after reboot. I found that with this disabled i had more free ram and less lags, so just thought id share this info as not seen it mentioned on here, feel free to say thanks if this helps anyone ?
[G3 General] Sidz4u:
Thanks, checking this out and will tell if i find improvements.
[G3 General] customworx:
Nice one...
[G3 General] kornesque:
Vzw G3 here, unable to get into a hidden menu that has this setting. Tried both the LG and program985 menus with no luck. No apps with 'mlt' listed in TiBu. Maybe vzw excluded this apk from their ROM?
[G3 General] rosso22:
Not sure about other versions, mines a uk unlocked version
[G3 General] kornesque:
Well like you said, a quick google indicates this apk is useless at bes, and possibly nefarious. Any method to turn it off if it exists is a win. Thanks for the tip.
[G3 General] rosso22:
Yeah thats what i thought too, makes me wonder what other services lg add and how much memory they take up!
[G3 General] atistang:
Doesn't look like this is in the D850 menu. Good info though
[G3 General] shaarky:
Thank you. Actually some more info : http://mobilecon.info/disable-mlt-application-on-lg-smartphone.html

Seems that it can be disabled also via Titanium Backup - LG MLT.
[G3 General] rosso22:
150 MB of ram!! Didn't realise it was that much!
[G3 General] GranFlash:
It really works. A couple months ago I did the same in LG G2. Thanks for remind !
[G3 General] BioVolt:
MLT - MirrorLink Test

Now what exactly MirrorLink is and if we need the MLT in order for it to work, that I have not researched, but just in case someone uses MirrorLink and then tries this and wonders why it is no longer working...
[G3 General] Normola:
Mirrorlink seems to be a system for connecting to certain types of in ICE setups.

http://xdaforums.com/lg-g3/accessories/lg-g3-supports-mirrorlink-t2833222"

http://www.reddit.com/r/LGG3/comments/2ay5ga/lg_g3_and_mirrorlink/

http://www.mirrorlink.com/frequently-asked-questions

Not sure if that's what this particular apk is for tho. Anyone tried decompiling it or checking for internal strings?
[G3 General] rosso22:
http://xdaforums.com/showthread.php?t=2192012&page=4

Read post 38 maybe that's why this got picked up as dodgy, but even if it is harmless, I don't need it running!
[G3 General] cooldoud:
Well What do you know... It does seem to make a noticeable difference (with the usual caveat that it may also be placebo as I restarted the phone). I've also frozen the mlt app in titanium backup to ensure it doesn't come back :)

Thanks for the tip!

Sent from my LG-D855
[G3 General] tute123456:
nay idea how to disable MLT in Marshmallow¡?
[G3 General] sebatox:
*#546368#*855#

Disable LDB in SVC menu

Or just uninstall it
[G3 General] tute123456:
thx!!!
[G3 General] Zunex95:
Are you on MM update? I'm running 6.0 and don't seem to find the MLT app.

Edit: Found it, thanks sebatox!
[G3 General] magikmichael:
Maybe a bit off topic... But does anybody know where to find fast dormancy settings in hidden menu on MM?

Verstuurd vanaf mijn LG-D855 met Tapatalk
[G3 General] Benny100:
CM 13 not working!
[G3 General] JoinTheRealms:
Simply because its not relevant to cyanogenmod
[G3 General] Verfox 95:
hi guys. i have a problem with my LG G3. There is a mesege that keeps apearing on the screen "Unfortunately LDB has stopped". I've done everything that is written on internet: factory restore, downloaded a debug tool, entered the SVC Menu after dialing*#546368#*855# and when i tap on LDB it automaticaly exit the menu back before SVC menu. please help )
[Xperia Z3 Q&A, Help & Troubleshooting] gregk232:
Anyone know if the Verizon variant of the Z3 will be able to be used on Tmobile if it is unlocked?

After having my nexus 5 for the last year, i cannot go back to wired charging.
[HTC Desire 510] CurbThePain:
Is there anyone willing to compile a recovery for our tiny beast? We really need it. Anyone with this phone that wants root access cannot attain it because there are no root methods for it other than through the recovery for this phone. :/
[HTC Desire 510] tylerholbrook:
Ditto
[HTC Desire 510] LarryBoyG:
likewise

I've tried root genius and it always fails at 65%. Has anyone had more success with this?
[HTC Desire 510] Innti:
Fine

My cousin just got this phone. I was looking for ways to root it and found that there are none. So i'm building the recovery for twrp. I probably will build a rom for it too, would cm be wanted or omnirom
[HTC Desire 510] LarryBoyG:
Warning: This Phone is tough..

CM please. :D

I tried building it but my recovery partition has been messed up since i tried loading a desire 816 CWM recovery on it :eek:

innti - I just PM'ed ya
[HTC Desire 510] Innti:
Oh dang..... why did you do that? xD
[HTC Desire 510] LarryBoyG:
Let's just say some OP's just wanna see the world burn.
[HTC Desire 510] Innti:
Why

Did you just do it cuz they both had desire in the name?
[HTC Desire 510] LarryBoyG:
NO lol

In other news Chainfire has released the Super Su Binaries for 64 bit devices. You know what that means! Root soon for ours! Innti and I are working out a recovery image as well as a few others over at phandroid. I'll keep you posted! Stay tuned! ;)
[HTC Desire 510] Crisrosas08:
hi! your devices are an A11 models??
[HTC Desire 510] LarryBoyG:
A11_CHL
[HTC Desire 510] Crisrosas08:
i hope find a rom for this device soon :eek:
[HTC Desire 510] LarryBoyG:
Lets work on root for now. I'm hoping Chainfire's root on the 64 bit Nexus 9 will give some developers some insight on root for this phone. Fingers crossed. I'm helping as much as I can.
[HTC Desire 510] acesavant00:
Root soon whoopp

Root for a 64 bit device?? Yes!!! Finally!! Lol I know that it's not here yet, but hearing that the wait time might be shortened has me excited! I just cannot wait until I can one click root this and start tweaking this beautiful lil device. This should hold me over til Lollipop is pushed to this model.
[HTC Desire 510] LarryBoyG:
Need More Devs!

Been communicating back and forth between here and and AndroidForums, Shinru has been working hard on it but we need more help. We can't create a custom recovery without root, and we can't get root without a custom recovery. It's a vicious cycle and we're stuck. If anybody knows any Devs that can help us work on it please call out to them.
[HTC Desire 510] Pinalp84:
VirginMobile HTC 510 Desire

Would this recovery work for the Virgin Mobile HTC 510 Desire? My device has 0PCV1 as the model number.
[HTC Desire 510] acesavant00:
I know know barely anything about the inner workings of rooting/android development.… would there be a way of doing both, simultaneously?

---------- Post added at 11:23 PM ---------- Previous post was at 11:21 PM ----------

Also, I'd also like to know, to know, as my phone is also under Virgin Mobile.
[HTC Desire 510] Innti:
Yep for asking on the htc
[HTC Desire 510] kalisto2002:
I am going to start working on porting philz CWM over to our device asap.
[HTC Desire 510] Beshnazzle:
Any update on this development of CMW for the 64 bit i cant find one anywhere and been waiting forever for a recovery to be able to flash roms :(

I also have root access but the binaries cant be updated because theres no recovery but root access can still function
[HTC Desire 510] kicknfree:
Is there a 64 bit cmw recovery yet?

---------- Post added at 09:34 PM ---------- Previous post was at 09:32 PM ----------

A11 is the US n CANADA'S VERSION AND THE 410 IS THE EUROPE/AUSTRAILIA. I

WHICH IS 64GB. And the other is the 32 bit. I have the 64bit