hi all
I want to change versionName but after recompile the app don't show in the phone ,and if I don't rename it work . Why ???
android:versionName="7.9.A.0.1_sinhhoa"
to android:versionName="7.9.A.0.1"
thanks
P/S : after many tried I had found the problem apk wasn't sign properly . I always copy META-INF folder from original apk to modded apk so it won't work.
The signature is somehow linked to manifest more than to the apk itself. If you change anything in apk except manifest, you cannot install it either way, except as system app. But if you change something in manifest, you cannot install it even as system app.
You can disable signature check or resign the rom or some system apps can be signed with different signature.
How to create a setting app?Like storage check,Display,Glance and Extra+info
Go to programming courses and if you'll like it by the end of those you will know the answer.
How to create a setting app?
Click to expand...
Click to collapse
You can install any developer app (from the xap file) in the settings. In the: WMAppManifest.xml file, you have to add one string, in bellow line:
Code:
<App xmlns="" [COLOR=Red][B]HubType="268435456"[/B][/COLOR] ProductID=" blablabla .....
You have to add only: HubType="268435456" with spaces before and after string in the place like in the code.
For WP7.X that work.
Guys,
Do you know where i can view the application permission as it is not stored in the database. After, looking i found it is stored in the manifest.xml file after decoding the app, where developer write permission based on the application.
Also, do you know where i can look to find out if any application e.g installed application has more permissions than it should be. Do i have the correct idea compare the permissions using dab against the manifest.xml file.
Any help would be appreciated.
Nickc001
Hi,
I want to use sqlite in my xposed module but i don't have any activity or context to send the database constructor.
Is it possible to overcome this?
I tried to send null as a context, but i'm getting nullPointerException when i try to open the database.
Thanks,
Gidi
If you can't get a context from the method you're hooking, you could try the AndroidAppHelper.currentApplication method.
Code:
Context ctx = AndroidAppHelper.currentApplication();
Context myCtx = ctx.createPackageContext("com.developer.app");
pyler said:
Code:
Context ctx = AndroidAppHelper.currentApplication();
Context myCtx = ctx.createPackageContext("com.developer.app");
Click to expand...
Click to collapse
HI Guys,
I tried the AndroidAppHelper.currentApplication() option, but it returns NULL in my case...
shnapsi said:
HI Guys,
I tried the AndroidAppHelper.currentApplication() option, but it returns NULL in my case...
Click to expand...
Click to collapse
If you are editing a database using sqlite and the current process you are hooking as no context reference, you can use root to set the database file to readable, then have your own service running in the background with a file observer tracking changes to a file on the device. Inside xposed module you will write to the file with a command instructing the file observer what to do. Then your service will "hear" the command and execute the changes needed.
I plan on writing up a guide for this. Tomorrow
elesbb said:
If you are editing a database using sqlite and the current process you are hooking as no context reference, you can use root to set the database file to readable, then have your own service running in the background with a file observer tracking changes to a file on the device. Inside xposed module you will write to the file with a command instructing the file observer what to do. Then your service will "hear" the command and execute the changes needed.
I plan on writing up a guide for this. Tomorrow
Click to expand...
Click to collapse
Thanks, I'll be happy to read your guide and learn new stuff
Anyway, I read that it's possible to use Sqlite DB without using SQLiteOpenHelper, this way, i don't need context.
the problem is that when i do it i get exception:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
this is my code:
database = SQLiteDatabase.openOrCreateDatabase(DB_NAME,null);
database.execSQL(CREATE_TABLE);
Thanks.
shnapsi said:
Thanks, I'll be happy to read your guide and learn new stuff
Anyway, I read that it's possible to use Sqlite DB without using SQLiteOpenHelper, this way, i don't need context.
the problem is that when i do it i get exception:
android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
this is my code:
database = SQLiteDatabase.openOrCreateDatabase(DB_NAME,null);
database.execSQL(CREATE_TABLE);
Thanks.
Click to expand...
Click to collapse
You probably don't have the required permissions to read/write to that location.
GermainZ said:
You probably don't have the required permissions to read/write to that location.
Click to expand...
Click to collapse
Thanks GermainZ,
which permissions do i need?
I tried to do it this way too:
Code:
File db = new File("/data/data/com.example.mytest/databases/" + DB_NAME);
db.setReadable(true);
db.setWritable(true);
File path = new File("/data/data/com.example.mytest/databases/");
path.setReadable(true);
path.setWritable(true);
path.mkdirs();
database = SQLiteDatabase.openOrCreateDatabase(db,null);
Still same result...
Thanks!
shnapsi said:
Thanks GermainZ,
which permissions do i need?
I tried to do it this way too:
Code:
File db = new File("/data/data/com.example.mytest/databases/" + DB_NAME);
db.setReadable(true);
db.setWritable(true);
File path = new File("/data/data/com.example.mytest/databases/");
path.setReadable(true);
path.setWritable(true);
path.mkdirs();
database = SQLiteDatabase.openOrCreateDatabase(db,null);
Still same result...
Thanks!
Click to expand...
Click to collapse
Let's differentiate between two things: your module (normal code) and the hooked process (the Xposed code).
Remember that hooked code runs as the hooked process (that is, the app you're hooking — *not* your module), so you won't be able to write to your module's data directory.
I don't know if you can change that. Maybe you could create the database and use Context.MODE_WORLD_WRITABLE (from your module, when it firsts open), but I don't think you'll have any luck creating it from the hooked process directly.
GermainZ said:
Let's differentiate between two things: your module (normal code) and the hooked process (the Xposed code).
Remember that hooked code runs as the hooked process (that is, the app you're hooking — *not* your module), so you won't be able to write to your module's data directory.
I don't know if you can change that. Maybe you could create the database and use Context.MODE_WORLD_WRITABLE (from your module, when it firsts open), but I don't think you'll have any luck creating it from the hooked process directly.
Click to expand...
Click to collapse
So where is the best place to use AndroidAppHelper.currentApplication(); so it won't return null and i will be able to use it in my hooked method?
Hello gays, i read all post's . I've the same problem. I start develop a module for xposed for my thesis the goal of application is return fake data when some aplications want access features that they don't need. I all ready can save in sqlite database the restrictions that the user want to restrict, the package name of application and uid. Now i want to access to the database methods by the main class (with implements IXposedHookLoadPackage) and i allways getting nullPointerException when i try connect to database. Anyone can solve this problem?? I will attach my main class IdentitySpoofing and my DatabaseHelper Best Regards Joao Marques
Hi, can anyone advise me on this -
I've had an app in the playstore for a very long time, I don't have the code for my app as i lost it years ago, but have never had any problems editing and updating the app using apktool or sometimes apk editor, then resigning and uploading each update to playstore with the developer console.
My worry is google's ambition to eventually force everyone to upload only aab's (app bundles) rather than apks.
Is it possible to import my apk into the latest android studio and convert it to .aab bundle without the code?
If this is not possible, is there any other method to convert my .apk to .aab?
Any help is greatly appreciate, regards.
its possible 100% to make aab from apk i have compiled 3 4 apps
1.Decompile apk and copy res[folder] and Androidmanifest.xml into folder
2.Compile each resource into .flat file with aapt2 compile [path] -o outputfolder/
3.Use aapt2 link command to generate apk thats contains resouces.pb and manifest in protobuf format
Create base.zip put search for how to put files in it on Google
Use bundletool Build-bundle command to Create aab
or
use apktoaabconverter.com
philsilvers said:
Hi, can anyone advise me on this -
I've had an app in the playstore for a very long time, I don't have the code for my app as i lost it years ago, but have never had any problems editing and updating the app using apktool or sometimes apk editor, then resigning and uploading each update to playstore with the developer console.
My worry is google's ambition to eventually force everyone to upload only aab's (app bundles) rather than apks.
Is it possible to import my apk into the latest android studio and convert it to .aab bundle without the code?
If this is not possible, is there any other method to convert my .apk to .aab?
Any help is greatly appreciate, regards.
Click to expand...
Click to collapse
send me email [email protected]
I have a complete apk to abb solution
See my article for details
滑动验证页面