Hey dudes,
I have startetd to unpack the System image of the Pixel to Port it for Nexus. But the rom of the Pixel is completely different from the normal Roms. (I have downloaded the latest from Googel Dev)
In normal system images are a lot of folders like App, bin, etc, fonts... But in the Pixel's System Image are only four folders and one image. The folders are App, lost+found, preloads and priv-app. The image is "system-other-odex-marker".
In the app folder are a lot of folders witch you have expercted. But if you open them are there only ".odex" and no apk's. Lost+found is empty, preloads has some cool images and a retail demo apk and in the priv-app the same as in the app folder. The image has 0KB and none ending.
My question: What is this for a system? How can I fix my Problem? It makes me simply impossible to port this rom! :crying:
Thanks
Chris
Related
Hi..
I've had problems with Gmail and Maps applications previously with Neophyte ROMs. In that case one of the solutions was removing the apks for these apps from with the /system/app folder of the ROM zip.
My question is:
Is it possible to add our own apks to the custom ROM so that these apks come preinstalled on the ROM when someone flashes it..in a manner, a kind of 2nd generation mod?
Is it possible to add our own system variables and settings files so that the ROM autoinstalls it on First Install? In particular, I'd like to preset my own APN file for the network.
The simple answer is yes.
The entire system folder in the zip file is written to your /system partition, with the full architecture of folders and so on, so any changes made in there will also be on the system, when it is flashed.
There is also a script file, in the META-INF folder, which you can use to run commands to delete or edit something along with the flash, whenever the zip file is flashed. This is a bit more advanced though.
edit: it is the same for the data folder of course, which folders is flashed and where to is also specified in the script file mentioned above.
Thank you!
In that case, for installation of a program like Gmail.apk or Maps.apk, would be as simple as adding the .apk to the /system/app, or would I have to include other files? Would there be dependancies in other folders?
Well the apps have their own data folder on the data partition, but this is for storing changes in settings and so on, and it should be created by the app itself on first boot just like right after you wipe the data partition/factory reset
Thanks..Got some mod modding to do!
So in case I'd want to manually uninstall/manually install an apk, what would be the steps I'd have to go through?
Would there be filesystem config files (like the older Windows versions), or a central database of entries of the likes of the Registry tables of newer Windows? How does Android go about installing a file? Like which folders and files would be modified other than /system/app and /data/app? Any common files with entries? And in case of the latter, whether it would be machine readable or plain text?
There are a lot of images in folder com.sgiggle.production which belong to Tango application. These small images are always show in my stock gallery. I do not want to see these small images in my gallery then I deleted folder com.sgiggle.production and all images were disappeared from gallery. But after reboot, these images were showed again.
I am on Ommi 4.4 with stock kernel.
Gallery Excluder
JasMiL said:
There are a lot of images in folder com.sgiggle.production which belong to Tango application. These small images are always show in my stock gallery. I do not want to see these small images in my gallery then I deleted folder com.sgiggle.production and all images were disappeared from gallery. But after reboot, these images were showed again.
I am on Ommi 4.4 with stock kernel.
Click to expand...
Click to collapse
put a .nomedia file in the same folder and clear your gallery data. This will prevent the system from scanning that folder for images.
.nomedia file solved my issue. Thank you very much.
Hello, since the marshmallow images seem to take up all the internal storage space after installed, causing inconveniences like wakelocks from apps i don't really use or the inability to install modules like xposed on the system partition, i would like to know if there is a way to remove apk's from the official stock Marshmallow image, before flashing it.
After unzipping mra58v and navigating to: image-razorg-mra58v.zip/system.img/ i get the following contents:
META-INF
res
AndroidManifest.xml
classes.dex
resources.arsc
So i can't find an "app" folder where i could modify. Is it not possible at all maybe?
Hey dudes,
I have startetd to unpack the System image of the Pixel. But the rom of the Pixel is completely different from the normal Roms. (I have downloaded the latest from Googel Dev)
In normal system images are a lot of folders like App, bin, etc, fonts... But in the Pixel's System Image are only four folders and one image. The folders are App, lost+found, preloads and priv-app. The image is "system-other-odex-marker".
In the app folder are a lot of folders witch you have expercted. But if you open them are there only ".odex" and no apk's. Lost+found is empty, preloads has some cool images and a retail demo apk and in the priv-app the same as in the app folder. The image has 0KB and none ending.
My question: What is this for a system? It makes me simply impossible to port this rom! :crying:
Thanks
Chris
Hey everyone, I have a quite strange question.
In the /system/app folder, some Google apps do not have a ./lib folder. See the screenshot! Chrome lacks ./lib folder but still works fine without any update. (so it uses the original Chrome.apk)
If I replace this Chrome.apk with the latest one, and chmod 644 as usual, Chrome won't work, unless I extract the /lib folder in the .apk file.
Quite strange, right? We all know apps that include libs require ./lib folder and its .so files to run.
Anyone who can explain this please?
My goal is to merge some updated apps into /system. But the partition is so small that I don't want to extract the libs.
TEEEEEEEEED said:
Hey everyone, I have a quite strange question.
In the /system/app folder, some Google apps do not have a ./lib folder. See the screenshot! Chrome lacks ./lib folder but still works fine without any update. (so it uses the original Chrome.apk)
If I replace this Chrome.apk with the latest one, and chmod 644 as usual, Chrome won't work, unless I extract the /lib folder in the .apk file.
Quite strange, right? We all know apps that include libs require ./lib folder and its .so files to run.
Anyone who can explain this please?
My goal is to merge some updated apps into /system. But the partition is so small that I don't want to extract the libs.
Click to expand...
Click to collapse
Not all apps in /system/app folder have lib folders. Only a couple of mine do.
Edit: I may have misunderstood your question. Just let me know
shagbag913 said:
Not all apps in /system/app folder have lib folders. Only a couple of mine do.
Edit: I may have misunderstood your question. Just let me know
Click to expand...
Click to collapse
Yes, but YouTube has lib. There should be a /system/app/YouTube/lib folder.
Oh do anyone notice the system_other.img in the full factory image? It is smaller than system.img and maybe flashed into system_b. I will extract the image and see if it contains lib.
However I can't see system_b mounted... Boot slot is a...