[Q] updating apps in rom - Android Q&A, Help & Troubleshooting

So I want to update some apps in a ROM, but my issue is I also need to update the lib files from the app in the ROM, but when I open the apk with 7-zip and go into the lib folder to get the files, some apps have 2 folders, one called "armeabi" and "armeabi-v7a." I was curious which folder I need to take the lib files from, and since I forgot to mention this first, will be for a HTC One ROM. Thanks!

Related

[Q] Renaming APKs

I usually download my apks in my computer and send them to my phone so I could archive them or send them to friends easily. The problem is, their file names are very long and hard to read in the phone. If I rename the apk files, would it affect installation-wise, ie it will install as another 'version' of that app. So let say if i installed a renamed apk and update it with another version of the same app, would it interfere?

Missing com.adobe.flashplayer lib files

After I rooted my EVO 3D and flashed a custom ROM, I noticed my hulu quit working. So I looked in the data-data-com.adobe.flashplayer location in root explorer and the whole lib folder was gone. Can someone provide me with the missing .so files so I can rebuild the library.
Uninstall flash using titanium and reinstall flash with the hex edited lib files. The rom builder put the lib in a different place then data /data
I figured I would have to delete through TB, but how do I find the flash with lib files that the ROM had in it? Do I have to re-flash the ROM? Sorry, I'm still a noob at this, so as descriptive as you can be will help me learn.
Well that's weird. This morning I was going to search for the library files, and low and behold, they were back on the device where I expected them to be, and hulu works again, all is right with the world..LOL

How can I make ICS create new ".odex" files?

Hello
I modded a few apks which also have .odex files. If I delete the .odex files the apk isn't shown in the app section. But of course those .odex files are old and belonged to the original app.
Is it possible to force ICS to create new .odex files? It doesn't seem to do so on boot.
I simply sent the new apks via bluetooh to my phone and then copied them to where they came from (/system/app).
Anybody have any idea how I can make ICS build new .odex files based on my new apks?
Any help would be much appreciated

where to place apps in custom rom

Hello Guys,
I am trying to make/edit my first custom rom (forgive my noob mistakes). As base i am using the Oxygen rom. This rom has all his apps stored in system/app. I inserted an launcher(hololauncher), keyboard(custom htcime) and gallery(quickpick) apk in this folder, but after the rom is flashed these apps are causing fc's and the gallery app isnt even flashed.
I know that not every apk can be placed in the system/app folder, but how can i ensure that these apps will install correctly during flashing.
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
dxppxd said:
Depends on apps.
The most common mistake is forgetting to set the permissions to rw-r-r.
Also some apps need their lib files (usually end in .so) in a specific location, like quickpic that can't be turned into a system app just by putting it in system/app address.
Edit: you can ensure these apps are installed correctly by testing.
1 install them normally and convert them to system apps.
2 write down where each of their parts end up (some will always need stuff in data/app or something similar.
4 use a root explorer or adb to copy those files to your pc.
5 modify the flashable zip. Add the files you just copied and modify the updater-script to make sure those files get flashed to the correct location (you might need to include mount data commands if any of the files flash to data/)
6 test!
Some apps might require actual edition by decompiling them, but the above should work for most.
Click to expand...
Click to collapse
How can I convert it to a system app when it already is installed normally ?
I also saw the option to make a data/app folder, isn't that easier ?
(Take in consideration that I don't use kitchen or adb tools, just winrar and notepadcc )
Sent from my HTC Desire using xda app-developers app
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
dxppxd said:
Not talking about adb and kitchen.
there are many app managing apps out there (titanium backup, link2sd) that can convert apps to system apps.
The updater script is in META-INF of the flashable zip (can be edited with notepad).
You only need a rooted device to see where the apps keep their data and copy those files.
Click to expand...
Click to collapse
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
winesh said:
Ok that is clear, thanks. What do you think about data/app. Will this work ?
Sent from my HTC Desire using xda app-developers app
Click to expand...
Click to collapse
Yeah, flashing to data app is an option, but if a data wipe or factory reset is applied after flashing the rom (to correct a bootloop for example), those apps are gone.

[Q] How to know corresponding lib file of system/apk in system/lib

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

Categories

Resources