Xposed cant find method - Xposed General

Code:
XposedHelpers.findAndHookMethod(packageManagerService, null,
"deletePackageAsUser", String.class,
"android.content.pm.IPackageDeleteObserver", Integer.class, Integer.class /*delelePackageArgs*/, deletePackageHook);
Xposed cant find this method.

That method probably doesn't exist for the Android version you're using.

Exists.
https://github.com/android/platform.../android/server/pm/PackageManagerService.java
GermainZ said:
That method probably doesn't exist for the Android version you're using.
Click to expand...
Click to collapse

So which Android version are you using? Also, are you using a custom ROM?

GermainZ said:
So which Android version are you using? Also, are you using a custom ROM?
Click to expand...
Click to collapse
No, stock 4.4.4 on Nexus 7.

Well, there's no deletePackageAsUser method in the class you linked.

GermainZ said:
Well, there's no deletePackageAsUser method in the class you linked.
Click to expand...
Click to collapse
https://github.com/android/platform.../server/pm/PackageManagerService.java#L10001?

Problem solved. I used Integer.class, but i should use int.class.

pyler said:
https://github.com/android/platform.../server/pm/PackageManagerService.java#L10001?
Click to expand...
Click to collapse
Ah, sorry. I was on mobile data and the page must've been cut off because searching showed no matches.
pyler said:
Problem solved. I used Integer.class, but i should use int.class.
Click to expand...
Click to collapse
Good to know you got it fixed. :highfive:

Related

[Q] How to gain root access and possibly some sort of method to unlocking 4.3

Hey guys, so I need help in gaining root access on my phone.
I followed this guys guide to getting to rooting ( under 10 posts, but yeah I followed a youtuber by the name of Qbking77 ), and it was good!,,, Until I used 2 root checkers and they said I don't actually have root access!
Right now I have twrp installed, an unlocked bootloader, and a phone sim locked to sprint and my main goal is to unlock it for a canadian carrier and root it to run custom roms.
I'm even willing to fork out some coffee money if someone can help me out here!
Feel free to ask me questions if you need to know more about my phone, and thanks in advance guys !
Did you flash SuperSU/superuser?
bigdaddy619 said:
Did you flash SuperSU/superuser?
Click to expand...
Click to collapse
Yeah, I did everything as posted in the video that I used, and he flashed it with twrp (sorry if I get the terminology wrong lol)
You may just need to go into the SuperSU/superuser app and update the binaries
bigdaddy619 said:
You may just need to go into the SuperSU/superuser app and update the binaries
Click to expand...
Click to collapse
How would I go about doing that (sorry lol I'm actually really new to using androids)
happyfuntimes7 said:
How would I go about doing that (sorry lol I'm actually really new to using androids)
Click to expand...
Click to collapse
Open your app drawer and find the supersu/superuser app and select it to open the app
It will tell you if the binaries need to be updated
bigdaddy619 said:
Open your app drawer and find the supersu/superuser app and select it to open the app
It will tell you if the binaries need to be updated
Click to expand...
Click to collapse
Ok so this is what my su looks like,abd when I click that info box nothing happens...so does that mean it's good in terms of the binaries?
happyfuntimes7 said:
Ok so this is what my su looks like,abd when I click that info box nothing happens...so does that mean it's good in terms of the binaries?
Click to expand...
Click to collapse
The pic is not showing so I can't really tell
bigdaddy619 said:
The pic is not showing so I can't really tell
Click to expand...
Click to collapse
better!
happyfuntimes7 said:
better!
Click to expand...
Click to collapse
Nope still broken try a dropbox link maybe or an image hosting site
bigdaddy619 said:
Nope still broken try a dropbox link maybe or an image hosting site
Click to expand...
Click to collapse
https://www.dropbox.com/s/smjijhqhp8rv1mh/Screenshot_2013-12-07-19-52-48.png
Maybe this link will work
Hmmm I use SuperSU so not really sure about superuser.
I would try SuperSU you can find it here
http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
Copy it to your phone and flash in recovery
bigdaddy619 said:
Hmmm I use SuperSU so not really sure about superuser.
I would try SuperSU you can find it here
http://download.chainfire.eu/370/SuperSU/UPDATE-SuperSU-v1.80.zip
Copy it to your phone and flash in recovery
Click to expand...
Click to collapse
omg it worked!!! Thanks btw! Just curious, can you help me sim unlock it also ????
happyfuntimes7 said:
omg it worked!!! Thanks btw! Just curious, can you help me sim unlock it also ????
Click to expand...
Click to collapse
There is an app in the themes section but I don't think it's working on 4.3 as of yet.
There is a thread in Q&A I believe has a solution for 4.3 users
http://forum.xda-developers.com/showthread.php?t=2491840
bigdaddy619 said:
There is an app in the themes section but I don't think it's working on 4.3 as of yet.
There is a thread in Q&A I believe has a solution for 4.3 users
Click to expand...
Click to collapse
okay, I'll take a look at it tonight, thanks soo much btw!!
happyfuntimes7 said:
okay, I'll take a look at it tonight, thanks soo much btw!!
Click to expand...
Click to collapse
Just edited my post with the link
bigdaddy619 said:
There is an app in the themes section but I don't think it's working on 4.3 as of yet.
There is a thread in Q&A I believe has a solution for 4.3 users
http://forum.xda-developers.com/showthread.php?t=2491840
Click to expand...
Click to collapse
okay, just one last thing cause I just opened the thread, what does it mean to not flash a rom "wet" aha?
happyfuntimes7 said:
okay, just one last thing cause I just opened the thread, what does it mean to not flash a rom "wet" aha?
Click to expand...
Click to collapse
lol never heard that before

[Q] Wipe With smw6180_superwipe.zip

can this still be used? I used it on the LTEvo on old and new partitions and it worked fine.
View attachment 2704174
No.
Captain_Throwback said:
No.
Click to expand...
Click to collapse
ok. thank you. i thought id ask before i tried.
Well it wouldn't even have flashed if you did . There's a device check in the updater-script to prevent flashing on the wrong device.
Captain_Throwback said:
Well it wouldn't even have flashed if you did . There's a device check in the updater-script to prevent flashing on the wrong device.
Click to expand...
Click to collapse
hahaha, nice!!!!! :laugh::laugh::laugh::laugh:

[Tool] Installer for Xposed Installer (for ZenFones)

Please see the continuation of this thread here: http://forum.xda-developers.com/xposed/modules/tool-installer-xposed-installer-zenfones-t2983589
Standart installation method from app doesn't work for ZenFones?
pyler said:
Standart installation method from app doesn't work for ZenFones?
Click to expand...
Click to collapse
Nope.
@rovo89 should know about this issue.
He's a busy guy!
pyler said:
@rovo89 should know about this issue.
Click to expand...
Click to collapse
He already does. I have also read that he had created a build for x86 devices. However that build is now outdated.
rovo89 addressing an Asus MemoPad user
Anyone tested it? Ty.
It works. XD
Eduardomb said:
Anyone tested it? Ty.
Click to expand...
Click to collapse
I did test before posting this thread. And it worked. Secondly, out of the 106 download (as of this moment) I have not recieved any negative feedback. Albeit I haven't received positive either. Honestly, after creating this tool I have used it a couple of times.

Otg in new android?

Hello did anyone try to enable otg function on new update.
didnt it require root?
Yes is requier root ,but it.needs 2.65 version and from another post I saw.that in 7.0 u can only root.with lastes 2.79
cropp7 said:
Yes is requier root ,but it.needs 2.65 version and from another post I saw.that in 7.0 u can only root.with lastes 2.79
Click to expand...
Click to collapse
Yes correct. Maybe getting in touch with the dev of the otg app(BadWolfe - might not be entirely correct name) and ask if he has s nougat capable version or if he willing to upgrade his app....
Sent from my NEM-L51 using XDA Labs
iantechie1979 said:
Yes correct. Maybe getting in touch with the dev of the otg app(BadWolfe - might not be entirely correct name) and ask if he has s nougat capable version or if he willing to upgrade his app....
Sent from my NEM-L51 using XDA Labs
Click to expand...
Click to collapse
Yes that's a good idea. Thanks.
cropp7 said:
Yes that's a good idea. Thanks.
Click to expand...
Click to collapse
try this method once
https://forum.xda-developers.com/honor-4c/how-to/how-to-enable-otg-multi-window-eye-t3594001
miststudent2011 said:
try this method once
https://forum.xda-developers.com/honor-4c/how-to/how-to-enable-otg-multi-window-eye-t3594001
Click to expand...
Click to collapse
No official release if twrp for emui5 . So no twrp for nougat users
gopinaidu77 said:
No official release if twrp for emui5 . So no twrp for nougat users
Click to expand...
Click to collapse
WTH TWRP is related here?
Did I mention it ?
miststudent2011 said:
WTH TWRP is related here?
Did I mention it ?
Click to expand...
Click to collapse
Hahaha , please open the last but second post in your link.
gopinaidu77 said:
Hahaha , please open the last but second post in your link.
Click to expand...
Click to collapse
miststudent2011 said:
For those who are looking for OTG,Multi Window,Eye Protection and Multi user support on EMUI 3.0+ devices here is the guide .
Enable Root and install Build Prop Editor app (https://play.google.com/store/apps/details?id=com.jrummy.apps.build.prop.editor) and grant root access now open it and backup Stock Build.prop file and add the following lines (if present edit the values respectively )
##otg_support
ro.config.support_otgstorage=true
ro.config.hw_otgFeature=true
##Multi_User
fw.show_multiuserui=1
fw.max_users=5
##Eye Protection
ro.config.hw_eyes_protection=7
##Multiwindow
ro.huawei.multiwindow=true
ro.config.hw.multiwindow=true
ro.config.hw_multiscreen=true
ro.config.hw_easywakeup=true
Click to expand...
Click to collapse
I cant find any mention regarding TWRP in this post can you?
miststudent2011 said:
I cant find any mention regarding TWRP in this post can you?
Click to expand...
Click to collapse
Not this but in the second post in above link
gopinaidu77 said:
Not this but in the second post in above link
Click to expand...
Click to collapse
In post #6 i included the above content link check it there is no mention of TWRP .
miststudent2011 said:
In post #6 i included the above content link check it there is no mention of TWRP .
Click to expand...
Click to collapse
Alright bro , why debate about twrp ? Plz neglect , i had a purpose why mentioned twrp.
gopinaidu77 said:
Alright bro , why debate about twrp ? Plz neglect , i had a purpose why mentioned twrp.
Click to expand...
Click to collapse
No ,Bro I was confusing whether I made a wrong post or so like that.
miststudent2011 said:
No ,Bro I was confusing whether I made a wrong post or so like that.
Click to expand...
Click to collapse
Both of us are right bro . We are on right track but on two different ways
gopinaidu77 said:
Both of us are right bro . We are on right track but on two different ways
Click to expand...
Click to collapse
That's for Sure Bro Everyone has their own approach.
Yes they do have one

question about installing lineageos 14.1

when I tried to install lineage os 14.1 on my honor 4x, it says : "E3004: This package is for device: c8817d,g620s,C8817D,C8817E,G621-TL00,G620S-UL00,G620S-L01,Che1-CL20,Che1-L04,Honor4x; this device is Honor4x" but I have checked my build.porp, my device name is Che1-CL20, how can I solve this problem?
RemainingWind said:
when I tried to install lineage os 14.1 on my honor 4x, it says : "E3004: This package is for device: c8817d,g620s,C8817D,C8817E,G621-TL00,G620S-UL00,G620S-L01,Che1-CL20,Che1-L04,Honor4x; this device is Honor4x" but I have checked my build.porp, my device name is Che1-CL20, how can I solve this problem?
Click to expand...
Click to collapse
Did you wipe data before flashing?
Sent from my Honor 8 using XDA Labs
adriansticoid said:
Did you wipe data before flashing?
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
yep
RemainingWind said:
yep
Click to expand...
Click to collapse
Are you in EMUI?
Sent from my Honor 8 using XDA Labs
adriansticoid said:
Are you in EMUI?
Sent from my Honor 8 using XDA Labs
Click to expand...
Click to collapse
well yes
RemainingWind said:
well yes
Click to expand...
Click to collapse
I don't understand. It should insgall without problems. Please try flashing an older version.
Yes chances to work with lower versions
RemainingWind said:
when I tried to install lineage os 14.1 on my honor 4x, it says : "E3004: This package is for device: c8817d,g620s,C8817D,C8817E,G621-TL00,G620S-UL00,G620S-L01,Che1-CL20,Che1-L04,Honor4x; this device is Honor4x" but I have checked my build.porp, my device name is Che1-CL20, how can I solve this problem?
Click to expand...
Click to collapse
If you are sure that the ROM is made for your device just remove the device model check script from the update script file.
And try to flash it you will succeed.
miststudent2011 said:
If you are sure that the ROM is made for your device just remove the device model check script from the update script file.
And try to flash it you will succeed.
Click to expand...
Click to collapse
the problem is I cant, I don't know how to get SHA1-Digest after I make changes in update script file.
RemainingWind said:
the problem is I cant, I don't know how to get SHA1-Digest after I make changes in update script file.
Click to expand...
Click to collapse
you dont need a SHA1-Digest just a simple text editor is enough.
RemainingWind said:
the problem is I cant, I don't know how to get SHA1-Digest after I make changes in update script file.
Click to expand...
Click to collapse
Well u can find updater-script in the zip.
Edit it with notepad or similar
miststudent2011 said:
you dont need a SHA1-Digest just a simple text editor is enough.
Click to expand...
Click to collapse
ok.. now it says updater process ended with ERROR:6
RemainingWind said:
ok.. now it says updater process ended with ERROR:6
Click to expand...
Click to collapse
Have you ever tried installing any other ROM did it get successful or any error with that also?
Error 6 is related to updater script . Some lines are incorrectly written
it seems while you editing updater script you edited wrong lines send me the script file i will edit and send you back.
miststudent2011 said:
it seems while you editing updater script you edited wrong lines send me the script file i will edit and send you back.
Click to expand...
Click to collapse
View attachment updater-script.zip
thx!!
RemainingWind said:
View attachment 4189123
thx!!
Click to expand...
Click to collapse
Replace the old update script file with this one.
I have removed device check script from the file.
Double check whether the ROM is compatible with your device and flash it.
Double check the ROM
Did you try the script? have you got succeeded? @RemainingWind
miststudent2011 said:
Did you try the script? have you got succeeded? @RemainingWind
Click to expand...
Click to collapse
yes, thx!
RemainingWind said:
yes, thx!
Click to expand...
Click to collapse
then we can conform that this is caused due to device model check failed by script.

Categories

Resources