i need some help setting up permissions in updater-script. actually i want to install Gboard and PlayGames in Lineage OS 16's System/app or system/priv-app folder. i can do it manually by copying files and set-up permissions and it works but i want to make a recovery flashable zip for installation i tried ZipMe.apk APP and then edit updater-script and add permissions but nothing works.
is there any flashble zip template for LineageOS PIE to install apps in system then please reply
If you just want to install those 2 apps, looks for the Gapps package that contains both, then follow this guide (https://github.com/opengapps/opengapps/wiki/Advanced-Features-and-Options) to install just that 2 apps you want.
Related
my rom is stock odex i used universal deodexer and deodexed my.system/app and system/framework folders in my pc . now my question.how can i install that app and framework folders to my phone ??(i tried replace with root explorer but it does not .(how can i make thats to a flashable zip?
but
my problem is not that . i can make a flashable zip . its working fine but after i flashed old .odex files doesnt delete. how can i add it to meta inf for when flashing delete app and replace new app and same for framework
You just need to put in a simple delete line into the update script
for example
Code:
delete("/system/app/Vending.apk");
will delete the Vending.apk from the folder system/app
remember if you are manually pushing files with a root browser you need root permissions and you need to set the correct file permissions - for most apps in the app folder it will be rw-r-r
thnx
thanx i learned if i want to delete folde i will use delete_recursive
help
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
denizarca said:
look .
delete(system app systemui.odex
this is working succesfully but after i flashed my zip system ui is lost . it doesnt show . i looked system app its deodexed permissions is rw--r-r its true but doesnt show . what's can i do ?
Click to expand...
Click to collapse
most likely if the status bar just doesn't show but does not display a force closed message its because the SystemUI.apk is not correctly signed
as long as the file name is correct and it is correctly compiled with no errors the only thing left is the signing
You can sign an apk easily with zipsigner (playstore)
just copy the apk to any folder on your sd card
start zip signer
select your apk as the input
select the name you want to call it for the output (make it different from the input - you can change the name later)
select platform key as the key you wish to sign (this is for system apps for user apps use a test key)
sign the apk
once done the apk will be outputted as a zip file
change the name of this zip to the name of your apk and don't forget to change the .zip extension back to .apk
put in a flashable and flash in cwm with system mounted
you can check any errors with the SystemUI.apk by doing a logcat via adb as the phone is starting up
By searching the logcat for SystemUI you will be able to see any errors in it and why its not starting - eg Signature mismatch skipping loading
I'm with the latest Lollipop rom for the n910F. I thought in deodexing all my system apps and framework so I pulled out through adb my system/app, system/priv-app and system/framework. Deodex every file and then in TWRP (twrp file manager) delete the original (odex) app, priv-app and framework folders and replace those folders with the deodexed ones previously copied to my sdcard. After that fix permissions and detete cache and dalvik and reboot.
Everything work fine, the rom boots normally and all works but now although I had fix permission in TWRP my app, priv-app, and framework folders and all files inside have rwx-rwx-rwx permissions.
Is there any problem to have permissions like that?
How can I fix these folders/files permissions?
Thanks
Answering myself have all the possible permissions on is not a problem (maybe a security one...) at least the rom run without problems. But using Total Commander I've corrected all the permissions.
I deodexed system files for s3v3n's v5.0 ROM - as I know, not all customizations through xPosed are working with odexed, or partialy deodexed ROMs. Hopefully s3v3n won't have objetions. One more thing - there isn't Gravitybox - You have to install it again - I deodexed it after upgrading Gravitybox to newer version.
Instructions:
unzip files to your SD-card
boot to TWRP
go to mount and select to mount system partition
go to advanced/filemanager
delete /system/app, /system/priv-app & system/framework - you have to go to particular folder, then tap&hold select then delete
copy app, priv-app, framework from your sdcard to
/system/
fixing permissions is not necessary
PS: You are doing it on your own risk.
Download here: deodex-s3v3n-v5.0
Can you please deodex 5.1?
working on that, maybe @ evening, I have to deodex several 32bit apps...64bit are done already but because of some 32b there are some conflicts
phsnake said:
I deodexed system files for s3v3n's v5.0 ROM - as I know, not all customizations through xPosed are working with odexed, or partialy deodexed ROMs. Hopefully s3v3n won't have objetions. One more thing - there isn't Gravitybox - You have to install it again - I deodexed it after upgrading Gravitybox to newer version.
Instructions:
unzip files to your SD-card
boot to TWRP
go to mount and select to mount system partition
go to advanced/filemanager
delete /system/app, /system/priv-app & system/framework - you have to go to particular folder, then tap&hold select then delete
copy app, priv-app, framework from your sdcard to
/system/
fixing permissions is not necessary
PS: You are doing it on your own risk.
Download here: deodex-s3v3n-v5.0
Click to expand...
Click to collapse
file that comes in the download folder build.prop, we must also put ??
I hope we will see newer versions of 7 HD rom after the little storm that happened.
Back to topic: which apk is the one for smartnotice widget? I want to mod it to make it semi-transparent
After update from nougat to oreo, I've have problem with integration updated apps in to /system.
I do it like this:
1. copy apk file from data/apk to sd card
2. rename copied apk file to name of /system apk
3. extract lib folder from apk
4. copy newer file to proper folder in /system/app or /system/priv-app and replace file in it
5. Copy lib files extracted form apk to right folder /system/lib or /system/lib64
6. Uninstall update from /data/app
7. reboot + dalvik-cache wipe
In nougat it was working, but in oreo, app after integration, breaks. It cannot be open, and app name changes to random words (ex. google docs name changes to "write com.android").
To repair integrated apps I have to perform a full /data/ wipe.
Is it a some kind of protection? How to do it properly?
TitaniumBackup and Link2SD cannot integrate updates to rom properly without errors since Lolipop.
So no one knows?
or just nobody wants to write?
I am trying to edit ROM with EFT Dongle and I added Google Play Store in ROM.
This ROM has LZ4 Compression files, so i extract them all and repack into .tar file as they were.
1. I download OpenGapps for Android Oreo 8.1.0 as per my device "arm" and unzip it.
2. I Edit "System.img.ext4" with EFT Dongle.
3. I Move every app to system/app, priv-app to priv-app and permissions to permissions
4. Now i Repack ROM and Flash it.
5. ROM Flashed Successfully and My phone get boot loop error.
Please Help me here what i am missing?
Note: It's my first time to Edit any ROM I tried alot of pack & repack tools but they didn't work for me. so i tried EFT Dongle to edit ROM.