[ROM][STOCK][Lolipop][deodexed,resigned,zipaligned] D5503 14.5.A.0.270 Enhanced LP - Xperia Z1 Compact Android Development

Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), 5way reboot menu ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master .
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242/tree/ae7b18de7faa97eaf01eff1c2b6abeb540feaf6f and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Before you flash rom please read "iportant" section! Flash these new zip with any recovery. Done.
Mirrored download link (using this you no need to repack anything, just download and install!):
- https://mega.co.nz/#!Co1yERia!eJVCBjTZrjXok3KXZxM9xp_28I9Pos-LPYKjigJ6Bok
Important:
- you must fully wipe /data partition (mean delete everything from /data folder)! Or another solution, flash only userdata from any LolyPop ftf! Why? Because all old files from internal storage is not relabeled and you will encounter a lot of problems and all these files can not be accessed from android, pictures, private files... etc is not accessible than! Don't think it will work without wipe, it will not! Wioe data factory reset have no sense, I recomend installing userdata from ftf since its more a safe way!
Changelog:
- https://github.com/munjeni/D5503_14.5.A.0.242/commits/master
Enjoy!

munjeni said:
Hi, just to share with you!
Whats this? In short, it is deodexed -> resigned -> zipaligned, installed busybox, supersu, dual recovery (vol up for twrp, vol down for cwm), ...and some other changes which you can read about it here -> https://github.com/munjeni/D5503_14.5.A.0.242/commits/master . Curently I am stoped development on this rom since I am unable to solve thing like this -> lolipop have two classpaths (BOOTCKLASSPATH and SYSTEMSERVERCLASSPATH) and I not understand how to access classes from one classpath to another classpath, if you have idea how I can get this than I will probably continue development. My plan was implementing privacy guard rom cm12 but since I have problem accessing classes I am temporary stoped
How to download rom:
- go to here -> https://github.com/munjeni/D5503_14.5.A.0.242 and on the right side you have "Download zip"
- after downloading rom is not ready, do not flash!!!
How to install:
- after you download rom you must repack zip since git always add things into new folder inside zip so you will need repack it first before installing!
- simple open main zip and go to folder "14.5.A.0.242.master", select all files from these folder, drag and drop it to a new empty zip, you are done. Flash these new zip with any recovery. I have made some automated scripts so you no need to wipe anything since everything needed will be done auto so just click "install" and wait until rom get installed.
Enjoy!
Click to expand...
Click to collapse
Flashed this ROM and it is amazing.
Debloated it, installed some mods like xposed, xposed fix, modded services.jar for superuser mode, modified mixer_paths.xml for more loudness and some apps like MyAndroidTools, TitaniumBackup, Greenify.
Works like a charm and good battery life.
Only thing is the aweful toogle change by Google (no silent, vibrate toggle on quick settings) - but this depends NOT on your ROM.
Thx munjeni (one more time) for your time, work and effort.
m.

Investigated and got solution for 5 way reboot menu
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it

munjeni said:
Investigated and got solution for 5 way reboot menu, you can download from here (just download android.policy.jar and replace) -> https://github.com/munjeni/D5503_14.../system/framework/android.policy.jar?raw=true enjoy
Where you got moded services with superuser mod? I wanted to start porting it from cm12 but if it is allready exist I will be glad to look into it
Click to expand...
Click to collapse
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719

moonryder said:
http://forum.xda-developers.com/sony-xperia-z1-compact/themes-apps/mod-accent-systemui-t3088719
Click to expand...
Click to collapse
I have no idea why it is caled SuperUser Mod since it have nothing related to SuperUser. It is just SignatureDisable mod, author stupidly gave these name to these mod which apsolutly have nothing related to superuser If you look into commits on my git you will notice that you no need his services.jar since my rom allready have disabled signature verification, I not guarant you how his services is patched, but I can sugest you to replace services.jar whith one from my rom since compatibility is guaranted
This http://www.androidauthority.com/cyanogenmod-12-superuser-577985/ is what I call superuser mod (I have plan to port it here), and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this

munjeni said:
...and diferencie between "wrongly named" superusermod and real superusermod like one from cm12 is like this and this
Click to expand...
Click to collapse
LOL
Ok bro will wait for a "real" PrivacyGuard for LP 5.0.2, modded by the master munjeni itself

When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info

nemphis said:
When trying to install an app from sd card, I am getting out of space message, can't install apps from sd card
btw.. already wiped everything, and system storage shows correct info
Click to expand...
Click to collapse
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?

I can install apps from sdcard [emoji18]
But I am unable to download some apps from playstore

munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.

Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !

Freshly installed and everything is perfect ! Thank you very much brah !!
D5503 UB Dstriker ROM KK.157

Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
i tried that and / or replaced some things like bootanimation, fonts etc.
Flashing failed, so flash it untouched and remove / add things then.

pathaniya said:
NO problems here, i can install apps from sd card am on stock rooted lollipop with unlocked boot-loader.
I'll wait for another simplified flashable version of your rom.
Click to expand...
Click to collapse
I'm trying to solve this but have no idea how to do it, it is selinux restriction (if somebody have idea how it can be solved let me know please), but temporary solution is: via terminal emulator disable selinux, than install app, than enable selinux. To disable selinux write "setenforce 0", than install app, than enable selinux "setenforce 1"

Winb33 said:
Thanks @munjeni for this release !
Will give a shot tonight when everybody is sleeping
Question : Can i remove some elements ( unuseful app for my usage when repackaging rom ) regarding your install script ?
Thanks mate !
Click to expand...
Click to collapse
You can but only if you propertly remove lines from updater-script since it is hardcoded with our rom, instead recovery will abort installation if you missed something in updater-script ! My sugestion is, remove things manualy using an root file explorer, or at least add some lines in updater script which will remove things that you want

munjeni said:
Hi, I have noticed the same thing, but I don't know if it is related to lolipop in general! Anybody confirm on stock unmodified rom?
Click to expand...
Click to collapse
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app

EasySR said:
First when installed FR version same problems with SD card. Also ESexplorer had problems accessing SD card
Now on stock rooted works everything fine related to SD card.
Run also SDfix app becouse Titanium problem
Sent from my D5503 using XDA Free mobile app
Click to expand...
Click to collapse
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!

munjeni said:
No man, you no need sdcard fix. I allready included sdcard fix https://github.com/munjeni/D5503_14.5.A.0.242/commit/21b396daf721791c3675de417c543ba6184e21d1 and you can read / write any storage without problems, but we speak about problem related to the "installing apps from sdcard"! For example, if you try to install blablabla.apk which is on any storage you will get "no free space" error since selinux DENIED installing it, I don't have idea why it happen since I am not familiar with selinux, only very basic things by now. I will try to solve this problem!
Click to expand...
Click to collapse
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app

Hey guys, I'm having a hard time installing xposed installer, I get "not enough space" error. Could any of you help out a fellow user..?
D5503 UB Dstriker ROM KK.157

EasySR said:
Just installed app on stock rooted lolipop (3G Watchdog) from SD card
Sent from my GT-P5110 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks for info. On my rom selinux must be disabled temporary before installing any app from sdcard, than enabled. I will try to understand why it happening. For sure it is related to selinux. I replaced platform key in selinux_policy.xml since all apks on our rom is resigned and zipaligned but it was not solved problem related to the installing apks from sdcard.

Related

[Q] Please Help Me to Install Games & Apps to External Memory

I am a newbie to Android.
This is my first handset.
C2004 Build Number 15.2.A.2.5
(Xperia M Dual with Indian firmware)
I had tried all the methods, which are available our forum, and failed to get positive result.
Please help me someone, who is using same firmware, to get rid of my low memory issue.
I know apps to SD will not work on XM
I tried link2SD.
but, result is boot loop.
my handset is restarting after Xperia Logo.
I am using Verbatim UHS-1 class 10 64GB card.
i had partitioned my sd card and second partition is deleted to overcome restarting issue.
usually I make a partition on that unused space(10GB) in ext2 while doing experiments.
I have also one more issue,
.thumbnails folder become huge.
now it is 850MB !!!!! (aboubt half of our memory)
Can I transfer these thumbnails to external SD card??
Any one please :crying::crying::crying::crying:
spknair said:
Any one please :crying::crying::crying::crying:
Click to expand...
Click to collapse
Bro you must be half rooted that's why you are getting bootloop, did you used remount reboot fix by nut after rooting?
And you can't move the thumbnails to extsd, better update your album app...it solves the problem of oversize thumbnail problem
Sent from my C2004 using Tapatalk
Shazam_strikes said:
Bro you must be half rooted that's why you are getting bootloop, did you used remount reboot fix by nut after rooting?
And you can't move the thumbnails to extsd, better update your album app...it solves the problem of oversize thumbnail problem
Sent from my C2004 using Tapatalk
Click to expand...
Click to collapse
maybe my fault.
as i said already, I am a newbie to Android.
I had used root checker & it shows root access & busybox installed.
will you please share boot fix, you are using, to me
&
also any specific windows updates have to be installed ????
My album is up to date as per update center.
Edit:-
I was forgot to say that I am on locked boot loader
move thumbnails to extSD ???
How? just cut n paste ???
spknair said:
maybe my fault.
as i said already, I am a newbie to Android.
I had used root checker & it shows root access & busybox installed.
will you please share boot fix, you are using, to me
&
also any specific windows updates have to be installed ????
My album is up to date as per update center.
Click to expand...
Click to collapse
Check this forum for full root http://forum.xda-developers.com/showthread.php?t=2523597
And here is the latest album app - http://forum.xda-developers.com/showthread.php?t=2727819
Hit thanks
Sent from my C2004 using Tapatalk
spknair said:
maybe my fault.
as i said already, I am a newbie to Android.
I had used root checker & it shows root access & busybox installed.
will you please share boot fix, you are using, to me
&
also any specific windows updates have to be installed ????
My album is up to date as per update center.
Edit:-
I was forgot to say that I am on unlocked boot loader
move thumbnails to extSD ???
How? just cut n paste ???
Click to expand...
Click to collapse
if u r having unlocked bootloader then unroot ur phone,reset ur phone[this will remove all of ur internal data]
then flash kernel with cwm and then flash supersu...[this is full root..]..and after this update ur phone...
Requirements :
for flashtool download and install from here---> https://unrestrict.li/flashtool
for kernel download from here [for ur device use c2004 or c2005] ---> http://forum.xda-developers.com/showthread.php?t=2494793
for supersu from here ---> http://download.chainfire.eu/supersu
for how to install driver from flashtool ---> install Flashtool Driver.exe which is located in C:\Flashtool\drivers folder ....select all and install..it will ask lot of permission...give yes for all...then u r ready
and for guide how to flash see here ---> http://forum.xda-developers.com/showthread.php?t=1963961
Thannks
Thanks to both of you for guiding me.
going through the threads, which has given to me, it is known that our second partition should be in fat32.
I always tried ext!!!
maybe that was the problem of my boot loop
I will try & Inform you the results
OMG!!!!!
What did I said!!!
I am on locked boot loader with stock ROM 4.2.2
those bootfix scripts will not work with 64bit windows?????
Once I had successful bootfix on 32bit Windows 7
(I had made more than 20 attempts)
My second partition was in FAT32
I was able to link apps
but still my internal memory is not increasing even after linked&moved apps; Why?
As I am using windows, I couldn't copy data files to second partition.
Then how could I install games?
after that, I had installed more than 10 apps
due to high drain of battery, I had to hard reset my phone.
Now I am not able to fix boot loop :crying:
Please guide me....
(Now All rooting methods fails, but still I could install superSU manually
& root checker shows I have root access.
Installed busybox..
and all root required apps works without any problem)

[Q] swapped (as shown by ramprasad5394) now all aps stopped

Hi,
Sorry, newbie here.
I rooted my c1905 4.3 with towelroot.
Worked fine.
Then tried this swap method for internal and external memory
There is already a script to swap internal with external memory. i just made it to work at boot without SManager
This is just for the stock ROM!!
how to install:
1.remove SManager if u already have it
2.flash the zip in recovery OR edit the files like i did
what i did:
place the script in system/etc/init.d (script is not mine. credits to whoever made it )
edited init.qcom.post_boot.sh and added the line sh /system/etc/init.d/ext2sd
this will execute the script post boot.
any script can be executed using this method , so it kinda provides init.d support to stock ROMS
Click to expand...
Click to collapse
My phone rebooted (don't ask me why, I don't know) and now all my apps have stopped working (except google play and google chrome).
Can't acces my file browser anymore to delete changes made, and when connected to pc it only shows my sd-card contents.
UPDATE: Chrome and play store also stopped
Help?
Flasg a stock android ftf through flashtool
Wouldn't know how to do that.
But fixed it by rebooting without my sd card inserted. And then undo all the changes made.
But thanx for the reply
Oetsjie said:
Wouldn't know how to do that.
But fixed it by rebooting without my sd card inserted. And then undo all the changes made.
But thanx for the reply
Click to expand...
Click to collapse
Well, in the future, if you mess up badly, and/or get a soft brick, be sure to take a look at this thread: http://forum.xda-developers.com/showthread.php?t=2697277

[Q] SD card not detected after every reboot

Hey,
i need your help.
after every reboot i have to re-insert my external SD card, otherwise the device won't detect it.
all apps that i moved to SD won't show in appdrawer and the icons on homescreen are gone.
the Problem is new and im not sure when it started or what changes i made before.
i'm on german stock LP 5.0.2 debloated and xposed
thanks for advice
greetings from berlin
merlin.berlin said:
Hey,
i need your help.
after every reboot i have to re-insert my external SD card, otherwise the device won't detect it.
all apps that i moved to SD won't show in appdrawer and the icons on homescreen are gone.
the Problem is new and im not sure when it started or what changes i made before.
i'm on german stock LP 5.0.2 debloated and xposed
thanks for advice
greetings from berlin
Click to expand...
Click to collapse
than u may removed mediascanner from your apps -> reflash clean system
check Externer Speicher.apk
Medienspeicher.apk
Speicher.apk
Storage Capability.apk
Attached my ones ...
OK i tryd regular install your apks but it didnt help. should i flash them via recovery?
merlin.berlin said:
OK i tryd regular install your apks but it didnt help. should i flash them via recovery?
Click to expand...
Click to collapse
nah, that won't work u need to install that as system apps manualy via a root explorer and then u need to set the correct permissions rw-r-r
btw, do u haven't that apps?
yes i have all 4 of them already installed.
so might be some app or anything else deleted/blocked the mediascanner so my device can't check for SD card?
could it be some xposed addon?
merlin.berlin said:
yes i have all 4 of them already installed.
so might be some app or anything else deleted/blocked the mediascanner so my device can't check for SD card?
could it be some xposed addon?
Click to expand...
Click to collapse
could be, but i don't think so. Did u changed some options in the build.prop?
in buil.prop i just changed LTE Mode.
unfortunaly i can't enter Recovery Mode anymore and xposed module doesnt load what the Heck is going on.
im on dualrecovery but can't enter with vol up/down?
how to reactivate recovery mode? i want to restore a backup
merlin.berlin said:
in buil.prop i just changed LTE Mode.
unfortunaly i can't enter Recovery Mode anymore and xposed module doesnt load what the Heck is going on.
im on dualrecovery but can't enter with vol up/down?
how to reactivate recovery mode? i want to restore a backup
Click to expand...
Click to collapse
The only way i know to flash a system without recovery is via flashtool,
maybe the best way to you.
Save your appdata via Titanium Backup or similar app and flash a clean system.
If u don't need xposed - search a ftf / rom without that stuff

V4A Aroma Installer with neon enable optional convolver pack [MM updated Sept.5.2016

I take no credit for this amazing equalizer. All credits go to @zhuhang and the people from his thread for the convolvers.
If you don't know what V4A is check here for more details.
But basically it's an audiophiles dream that can cause serious hearing loss and such audio enjoyment at the same time!
The Zip has all the files included to enable "neon" support for convolvers, which are also included.
The feedback I've received so far is 100% success.
INSTRUCTIONS:
1) DOWNLOAD THE ZIP
2) FLASH IN RECOVERY (no need to uninstall if you already have viper installed)
3) open the app and you will be prompted to install the drivers. (I always choose the top one, although it does consume more batter, we'll worth it)
The EQ can be either super simple with just the basic adjustments or can get really technical in "expert" mode.
To activate the convolvers hit the 3 dots in the top right and click click the "ui settings" and change it to expert
Current version Download and discussion starts here
UPDATE VERSION 2.4.0.1 Neon Enabled + Convolvers
If using my previous zip version a simple flash of the new zip will update your V4A.
If you are running any version other than the one in my previous zip you will need to follow the steps below to ensure a smooth update to 2.4.0.1.
1) uninstall current driver from Viper by selecting the option is the app or use file manager and delete "libv4a_fx_ics.so" from system/lib/soundfx.
2) wipe data app with application manager or TiBackup
3) uninstall your current V4A
4) Flash to new zip
5) boot up and enjoy
6) hit the thanks button.
old version
Viper4Android neon enabled including convolvers
Enjoy!
Not working for me on MM rom. Says "Conflicted" in status.
Gonna try method from the old thread as it worked for me before.
Thanks for the effort anyway ?
Sent from the godlike G925F ^^
Work on my G925F 5.1.1
Not working, keeps saying unsupported, I disabled the driver wiped the data and uninstalled then flashed the zip
Sent from my SM-G925F
Working perfectly on my 925F - thanks man!!
Hello everyone, I have followed all the instructions but the only difference is that I downloaded and installed manually com.vipercn.viper4android_v2_2.4.0.1_HiAppHere_com.apk file. Then for the rest all went to fruition right away. Thanks stangdriver44 for the support.
Hi everyone, do I need to change the SE for android into permissive mode?
Working perfect on crisscross 6.0.1 v1.3 ael 1.4
kmw03062 said:
Hi everyone, do I need to change the SE for android into permissive mode?
Click to expand...
Click to collapse
Yep. I guess this is what was wrong when I tried to install it.
OP doesn't state it clearly enough tho.
angelus0w said:
Working perfect on crisscross 6.0.1 v1.3 ael 1.4
Click to expand...
Click to collapse
Working ?
Installed and work but nothing is neon. What did i am wrong? Viper wasnt installed anytime before. Please help
Gesendet von meinem SM-G925F mit Tapatalk
work on G925K 6.0.1?
It says kernel folder is empty but all the impulse is in kernel folder. Is there anything i missed.
Sent from my SM-G925F using Tapatalk
Doesn't work for me either on the lg g4 h811 mm
Sent from my LG-H811 using Tapatalk
Working perfectly on 6.0.1 (G925FXXU3DPAD) - good stuff!
thank you
jakir01 said:
It says kernel folder is empty but all the impulse is in kernel folder. Is there anything i missed.
Sent from my SM-G925F using Tapatalk
Click to expand...
Click to collapse
+1
To fix the empty directory error (which has happened to me on G925FXXU3DPAD), simply copy all the convolver .irs and .wav files from whereever you see them to /data/media/legacy/ViPER4Android/Kernel/ with a root browser, and you will notice the directory is indeed empty if it exists at all (at least it was in my case). I believe that with the MM changes to how the internal SD is mounted (again), V4A's old location check fails, sorta.
Hope this helps!
doomperfect said:
To fix the empty directory error (which has happened to me on G925FXXU3DPAD), simply copy all the convolver .irs and .wav files from whereever you see them to /data/media/legacy/ViPER4Android/Kernel/ with a root browser, and you will notice the directory is indeed empty if it exists at all (at least it was in my case). I believe that with the MM changes to how the internal SD is mounted (again), V4A's old location check fails, sorta.
Hope this helps!
Click to expand...
Click to collapse
Wow, thanks a lot.... Now working.
doomperfect said:
To fix the empty directory error (which has happened to me on G925FXXU3DPAD), simply copy all the convolver .irs and .wav files from whereever you see them to /data/media/legacy/ViPER4Android/Kernel/ with a root browser, and you will notice the directory is indeed empty if it exists at all (at least it was in my case). I believe that with the MM changes to how the internal SD is mounted (again), V4A's old location check fails, sorta.
Hope this helps!
Click to expand...
Click to collapse
Thanks man

Problem moving app to /system/apps

Hello!
Well, basically my problem is when I try to move an app to /system/app.
I am user of GPS spoofers and today I've unlocked my bootloader, flashed latest twrp by @Alberto97 and followed this thread to use Magisk:
https://forum.xda-developers.com/moto-z-play/how-to/how-to-safetynet-7-1-1-update-stock-rom-t3669086
I'm using Nougat 7.1.1 security patch December 1.
As I use GPS spoofers, I wanted to move GPS Location app to /system/app to do not use mock locations, and then hide Magisk to play Pokemon go, but every time I tried to move it to system with Link2sd, after trying, it was just showing the following error when I tried to to move the app to system:
"mount '/dev/block/dm-0'- '/system' device or resource busy"
I really don't want to downgrade to MM to try to move it, and maybe if I downgrade, the problem will not be fixed too... So, can anyone help me with it? I really want to move it to system, and I don't know what to do, I'm really new with this error.
Thanks, hope you help me!
/system write is disabled when the device is turned on, security
Use twrp. First mount /system in the mount menu, then advanced and file manager to move it from /data/app to system
And maybe it also needs to go to /system/priv-app, but I am not sure about that
user822 said:
/system write is disabled when the device is turned on, security
Use twrp. First mount /system in the mount menu, then advanced and file manager to move it from /data/app to system
And maybe it also needs to go to /system/priv-app, but I am not sure about that
Click to expand...
Click to collapse
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folder or just .app(?) And move it to /system/app(or just /system?) And also copy(or move?) It to priv-app?
xdaVTU said:
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folderAnd move it to /system/app
Click to expand...
Click to collapse
Yes, there should be a folder in /data/app/ that has the right name
xdaVTU said:
And also copy(or move?) It to priv-app?
Click to expand...
Click to collapse
Yes, move the folder to /system/app
Only if then the app does not work, try to move it to /system/priv-app instead
user822 said:
Yes, there should be a folder in /data/app/ that has the right name
Yes, move the folder to /system/app
Only if then the app does not work, try to move it to /system/priv-app instead
Click to expand...
Click to collapse
So after doing that, will I need to use Link2sd to something or your tutorial is enough?
xdaVTU said:
So, I need to go to mount menu of twrp, mount /system, go to advanced, file manager and search all the app folder or just .app(?) And move it to /system/app(or just /system?) And also copy(or move?) It to priv-app?
Click to expand...
Click to collapse
xdaVTU said:
So after doing that, will I need to use Link2sd or lucky Patcher to something or your tutorial is enough?
Click to expand...
Click to collapse
No that makes an app into a system app, that is all
user822 said:
No that makes an app into a system app, that is all
Click to expand...
Click to collapse
thank you for the help, but... Everything was okay until I test the app, i don't know if you use this kind of app, but when I moved it to system/app it should allow me to access the system functions. As the attached image shows, I cannot access it yet, but it's already in /system/app.
Please dude, help me, i really want to use this functions
Edit. And when i try to convert the app to a user app, link2sd show me the error showed by the error image.
First: never EVER even mention LP anywhere. It is strictly forbidden to even mention it, it's warez since you can crack Apps with it to not have to pay while still using paid functions, please all edit your posts!
Second: you are using Magisk @xdaVTU. So learn to use its full potential! Magisk was made to make changes especially to /sytem without actually changing that partition in order to allow OTA updates since they would scan partitions like the system partition which are cryptographically secured. If they where even mounted r/w the update will abort.
So if you want to make changes to /system, just make a module or use existing ones, it's actually very easy. In your case there should be a module in manager called app systemizer (or something like that, haven't used Magisk in about a month), that should do the job.
But in general, you can simply "write" your own module, you don't need much for that. Just get the module template from github, it should be linked in the Magisk release thread. Unzip it. open the module.prop in a text editor and edit it how you want (only the text behind the = signs, very self explainatory). Save it. Then open the folder "system" and create the sub-folder app (or priv-app) and inside create some folder for the app. Put the apk file of the app you want to install in /sytem/app/foldername inside. At the end, put everything back into a zip file (the folders common, META-INF and system together with the files. Make sure it's a simple zip file thats not encrypted and that inside the files and folders aren't inside another folder (which is the case when you download the zip from github) otherwise it will fail to install. Then just install your new zip through the Magisk Manager or TWRP and done. Everyting should work now.
@Artim_96
I'm sorry for that, I'll edit the posts.
About the Magisk, I don't know how does it work fully, and would like just to use that GPS as a system app, so I would need a little help for that. I didn't understand anything about the modules, and the only reason I'm using Magisk than SuperSU is because I've seen some users saying SuperSU wasn't stable in Nougat and they've got into bootloop...
Is this security of just Nougat or marshmallow also have it?
Should I use SuperSU instead of Magisk for that?
Please help me with it.
Ah, one more question, should I downgrade to Marshmallow to get it to work?
xdaVTU said:
@Artim_96
I'm sorry for that, I'll edit the posts.
About the Magisk, I don't know how does it work fully, and would like just to use that GPS as a system app, so I would need a little help for that. I didn't understand anything about the modules, and the only reason I'm using Magisk than SuperSU is because I've seen some users saying SuperSU wasn't stable in Nougat and they've got into bootloop...
Is this security of just Nougat or marshmallow also have it?
Should I use SuperSU instead of Magisk for that?
Please help me with it.
Ah, one more question, should I downgrade to Marshmallow to get it to work?
Click to expand...
Click to collapse
I already told you what to do. Just do one of the two things
Artim_96 said:
I already told you what to do. Just do one of the two things
Click to expand...
Click to collapse
As I said, I didn't understand
xdaVTU said:
As I said, I didn't understand
Click to expand...
Click to collapse
Just read. I told you just use app systemize, it will do the job
Artim_96 said:
I already told you what to do. Just do one of the two things
Click to expand...
Click to collapse
Artim_96 said:
Just read. I told you just use app systemize, it will do the job
Click to expand...
Click to collapse
I forgot to Tell you, i tried to use systemizer but i dont know what happened, It failed when I tried to install It with magisk
xdaVTU said:
I forgot to Tell you, i tried to use systemizer but i dont know what happened, It failed when I tried to install It with magisk
Click to expand...
Click to collapse
That's something for the Magisk forum. Otherwise try terminal app systemizer too.
Artim_96 said:
That's something for the Magisk forum. Otherwise try terminal app systemizer too.
Click to expand...
Click to collapse
As i just want to move an app to /system/priv-app(yes, priv-app), can I just use TWRP terminal and move it? Without rooting my phone neither with magisk nor supersu? Or it isn't gonna work?
xdaVTU said:
As i just want to move an app to /system/priv-app(yes, priv-app), can I just use TWRP terminal and move it? Without rooting my phone neither with magisk nor supersu? Or it isn't gonna work?
Click to expand...
Click to collapse
It will work, but keep in mind you won't be able to make OTA updates. So if you want to update your firmware you'll probably have to use either Motorola device manager or manually flush it through RSD lite. Using Magisk should give you root, it's huge possibilities and still keep OTA updates working. But with Motorola devices it's a bit of work to get it to work because there is a bug in the kernel for years now
I don't have sure if its gonna help because is a little complicated to do, i don't have sure if its gonna work with newer versions of magisk or the way that you installed because some module won't work in the way that you install but you can try this. I used some time ago in aosp rom maybe works on stock too
https://forum.xda-developers.com/apps/magisk/module-smali-patcher-0-7-t3680053
This gonna allow fake location without selection on settings or put app in systen
@Artim_96 @jst98 @user822
Thank you all for helping me, mainly Artim and user, because with user's help I learned that tarp also can make some system modifications with file manager, but it seems to need root as well(I'm not sure about that actually), and Artim, you really helped me with those things about magisk modules. I've just flashed nougat 7.0, then I flashed twrp 3.0.2-0 and flashed magisk, it works very well!
And I found a kernel download link that really worked for me, with magisk modules(systemizer and appsystemizer) I could do what I wanted to.
Everything is working now, but I'd like to know if that f2fs fix kernel really works.. When I was using 6.0.1, I downloaded the kernel fixed for that Android version, but I just caused me a bootloop, so now I'm afraid about trying the 7.1.1 version...
xdaVTU said:
@[email protected]@user822
Thank you all for helping me, mainly Artim and user, because with user's help I learned that tarp also can make some system modifications with file manager, but it seems to need root as well(I'm not sure about that actually), and Artim, you really helped me with those things about magisk modules. I've just flashed nougat 7.0, then I flashed twrp 3.0.2-0 and flashed magisk, it works very well!
And I found a kernel download link that really worked for me, with magisk modules(systemizer and appsystemizer) I could do what I wanted to.
Everything is working now, but I'd like to know if that f2fs fix kernel really works.. When I was using 6.0.1, I downloaded the kernel fixed for that Android version, but I just caused me a bootloop, so now I'm afraid about trying the 7.1.1 version...
Click to expand...
Click to collapse
Of course you need the Kernel matching your Android version.
There also is a Magisk module that's supposed to fix it, but I don't know if it even works

Categories

Resources