I am unable to replace lib files (files present in sytem/lib) in custom rom
sensors in the custom rom i am using doesn't work (auto rotation bug)
so i think there is need to replace some lib files (like senorservice.so) from stock rom
But when i replace it using ES file explorer and then reboot my device. It got stuck at boot.
PLEASE HELP If anybody can
NOTE-phone has root access
Related
I have a problem with this script, takes too long to locate a satellite, I wonder how I can remove to use PFGPS FIX v2.0 is much better! I guess you have to delete files that are in the zip, but I have doubts if that files are in the original rom.
tazlooney89 said:
I have a problem with this script, takes too long to locate a satellite, I wonder how I can remove to use PFGPS FIX v2.0 is much better! I guess you have to delete files that are in the zip, but I have doubts if that files are in the original rom.
Click to expand...
Click to collapse
Delete /system/bin/ gpsd
Delete /system/lib/hw/ everything in this folder
Delete /system/etc/ gps.conf
Copy all the files from /system/lib/hw/ from your rom's zip file to your phone's /system/lib/hw/ , set the permissions to rw-r--r--
Reboot to recovery
Install PFGPS.
I have a problem. I renamed the lib folder to liba in order to have a backup , and then i wanted to copy a lib folder called libb with modified libraries.
After i renamed the lib folder to liba everything stopped so i restarted my phone and now it only boots into recovery mode. I need help to find a way to rename the liba folder back to lib but from windows. Is there any way ?
Thank you.
by the way, i have a huawei ascend g740 aka orange yomo
Hey I need your help , thanks in advance
I have lg p765 4.1.2 v20c
How to know corresponding lib file of system/apk in system/lib ….
I tried decompiling apk but I didn’t found any relation with lib file by seeing android manifest.xml
Or u have any list that *.apk uses *.so files or something
for example old chrome apk uses lib file system/lib/libchromeview.so
but update uses different lib files (as I have removed system/lib/libchromeview.so with never lib file found in apk/lib folder and removing from apk saves space(both on system partion and internal memory) and so far I have no force close works perfect)
this things I want to know because want to remove unwanted app and update gms
Here you go.
http://forum.xda-developers.com/showthread.php?t=2737126
[TUTORIAL] Find out which shared libs (.so) are missing
If you have an detailed list of library files for in build apps (especially for HTC) like the one you mentioned of the chrome library file please share it with me.
HTC desire X, JB , TWRP
Hello,
I bought a Umi Diamond X and i just found out that it came with adware.
Since i could not find any custom roms for it, i tried editing the recovery image. Manged to remove some APK files, but SystemUI is giving me some problems.
What I did until now:
1) Used simg2img to convert system.img to a mountable image
2) mounted the previously generated image and deleted suspicious folders from system/app and system/priv-app.
3) Use SPFT to flash the edited image to the device.
However, I found that SystemUI.apk is also making dubious requests in the background, so I need to replace it with a stock version. I tried taking SystemUI.apk from different roms of similar phones, with a similar SoC, and copy-paste it into my edited system.img. However, everytime i do this, SystemUI crashes when the phone starts up.
Going into the stock recovery, i have the option to "check root integraty". This appears to scan (among others) all APK files in system/app and system/priv-app. I see it detects the deleted APKs and the 1 modified APK. Could the installer have a signature of the expected APKs and not install if the file doesn't match that signature?
Is there any way I can replace SystemUI.apk with a known good version?
Bump..
Bump again..
Hello All,
I am trying to add/edit xml files found inside "assets", "vendor" directories of an APK included in system.img (priv-app directory) of a ROM.
The APK is available at
system/priv-app/CarrierConfig/CarrierConfig.apk
system/priv-app/CarrierConfig/oat/arm64/CarrierConfig.odex
system/priv-app/CarrierConfig/oat/arm64/CarrierConfig.vdex
I have used apk tool to decompile and re-compile the apk. I also zipaligned, signed with my own key. I copied the file to priv-app directory in the phone and restarted the phone. This did not work. I did have 644 permission for apk file after replacing. Also, I did clear the dalvik cache and cache after APK replacement.
1. Do I need to change the odex or vdex files? I did not touch them since my changes were in xml files.
2. Should I sign with originally signed signature?
3. I could not see the odex and vdex file in the priv-app directory in the phone after the ROM install(when I tried to replace the APK). Why is that?
4. Should I build a rom zip file to flash(along with existing odex and vdex files) as opposed to replacing the APK in the device?
Any help?
http://www.w3.org/2001/XMLSchema
I was looking into this as well. Everything I read said you have to be registered as carrier to make modifications to carrier config.apk , unfortunately:-/ Let me know if you did find a solution, though.