System app structure on Nougat: I'd like to understand - Android Q&A, Help & Troubleshooting

Hello
I come from Kikat to Nougat and I'm a bit lost to transform a user app into a system one.
I understood that there is a folder for each app, and inside it the apk (named sometimes base.apk or an other name) and lib/arm with the libs extracted from the apk.
OK
But some system apk do have libs that are not extracted. This is the case for example with PrebuiltGmsCore. It seems that these apk with libs inside them are not compressed.
So, what is the rule ? Or there are 2 possibilities: libs extracted when they are compressed in the apk, and libs inside the apk when uncompressed ??
Thank you !!

Related

[Q] help me for find xml files

where i find the XML files associated with UI sound like charger_connecting or sound camera
Sounds aren't defined by XML files; they typically are in "assets" or "res/raw" folder inside an APK file.

[ROM] Zelly Cream 6.0_Rejuvenated

Hi,
when I download ZC 6.0_Rejuvenated http://forum.xda-developers.com/showthread.php?t=2155803, Avast in my computer (and 11 other AV on virustotal.com) reports virus in ROM (Android:SMSSend-PX[Trj] in NavBar.apk). Can I download anywhere the ROM without a virus? Do you have same problem?
Last update was in 2014-03-12. Can I expect that there is any new version corrected vulnerabilities?
@michal.652
I think it's a false positive. However ,thats the last and final version. Saqib Nazm no longer develops for MDPI.
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
michal.652 said:
@karandpr
Is there any possibility * .zip file to edit and remove NavBar.apk of ROM? I tried ROM unzip, delete untrustworthy (insecure) apk, packed into a zip and install but the installation is corrupted (Error: Installation aborted.) Replace * .apk another file with the same name also did not help. Finally I watched in the META-INF\MANIFEST.MF there is SHA1 for folder system\app, where is NavBar.apk. Can I create new SHA1 for folder system\app without NavBar.apk? How? I tried create the SHA1 for folder using Total Commander but it creates SHA1 only for files, not folder.
Click to expand...
Click to collapse
In Windows use 7zip archiver.
Open the archive
Delete the file in the archive
and you are good to go.
SHA1 has no effect since that checksum is not verified in recovery.
Perfect, it's working! Thank you very much!
I tried unzip (with 7zip), deleted the file and zipped again. But not occurred to me to delete a file in the zipped file. I am in installation so I'm going to finish. I hope that now it be without problem.
Almost without problem. ANT+ doesn't working. :crying: ANT+ Heart rate belt working with another mobile. I have everything what I need: ANT Radio Service (4.14.0), ANT+ Plugins Service. In this Xperia with official GB 2.3.4 and official ICS ANT+ working perfect. Can I find out if the service is running? For example in terminal? Any advice or a solution?
Edit:
I try this: ANT+ fix and ANT+ works.
I'm testing clear voice during the call - the other side heard me fitfully/jerkily (=not cleanly, I don't know how I can say it. )

Note 5 Launcher.

Note 5 Touchwiz For 5.1.1 Lollipop.It Fully Work On S6 Port Rom,Also Work On Stock.
Stock Odex Users,Delete Your Arm Folder.
Installation
Extract The Zip and put the apk in system/priv-app/TouchwizHome_MR1 and the libs in system/priv-app/TouchwizHome_MR1/lib/arm, then set correct permissions and reboot.
If Not Work,Delete Old ToucwizHome Folder From System/APP And Copy The New Extracted Folder To System/App,Then Set Correct Permissions,don't forget to give permissions for the lib folder and the lib files
Folder Permission:-rwxrxrx
Apk Permissions:-rwrr
lib Permission:-rwrr
hope you'll like it......

Help- Not able to sucessfully recompile samsungcamera apk

Hi.
I extracted samsungcamera from qsrom 4.4.2 i9300 nl1, and decompiled it using apktool.
then I modified smali files and replaced
"com.sec.android.gallery3d" to "com.alensw.PicFolder"
"com.sec.android.gallery3d.app.Gallery" to "com.alensw.PicFolder.GalleryActivity"
but after recompiling it with some error I got new modified class ,resourceses, and other xmls,
then I opened original samsungcamera.apk and replaced inside with new class, recources and xmls, and then pushed new samsungcamera.apk in system app gave proper permissions , installed quickpic and restarted,
after restart camera icon shows in app drawer but when opened it force-closes.
if someone with knowledge could could modify samsungcamera the it would be great help, ThankYou
files used
quickpic- http://forum.xda-developers.com/android/apps-games/app-quickpic-v4-5-2-classic-version-t3204543
samsung camera apk decompiled and modified - http://d-h.st/IdeC
samsungcamera original in attachment

[HELP][DEVs] Adding flashable zip contents to the aosp build

I want to add flashable zip contents to my aosp build. It contains some folders (check below image) with framework and build.prop addons. I don't know where to place these files. Although I've placed priv-app folder contents to packages/apps/here with each .mk file in it. Can any Developer help!
http://i63.tinypic.com/b6syyr.png
You place the folders normally like you place it in an existing rom using root explorer.
Basics:
What your updater script does is move the complete system folder to system partition
There is nothing such in the script which copies files individually from a given folder to destination
So if you want to copy something inside priv-app , place desired apk's in priv-app
If you want to do some symlinking or change permission , head to updater-script and edit it using Notepad++ only..
Good Luck Dev ,
Cheers

Categories

Resources