Can't flash .so files? - Xperia Z3 Q&A, Help & Troubleshooting

Hey all,
I've been modding some apps, and for whatever reason, when I try to flash thev Xperia keyboard or the Backup &Restore app, they don't want to actually flash into the /system /app folder. I can install them normally, but unless I go in after and copy the lib folder manually the app force closes upon use... Is there any way to make these lib folders and their contents flash?
I've tried explicitly indicating the paths in my updater-script if that helps.
Thanks for any help!
Sent from my D6603 using Tapatalk

Related

[Q] How do you re-create a system .odex file?

How do you re-create a system .odex file? I deleted it when I was debloating my phone not knowing that its required if you want to use the app again. Im looking to get blur email engine and conversations back so I can use stock sms and calendar again. I have the apk's still.
Sent from my DROID X2 using XDA App
EDIT: I found some odex files from an update that are labeled .odex.p
I copied these over, renamed them, and set the permissions. This didn't seem to do anything. There must be something more that needs to be done.

[SOLVED][Q] Install titanium in /data or /system

I created a flashab;e zip or flashing TB after a fresh install.
There are two options to create ZIP to install TB as user or system app.
I see that there is an additional file in the flashable zip when i select to install it as a system app.
/system/lib/libtitanium.so
My question is
What is the diffeence between installing tB as user/system and whats the use of the additional .so file.
.so library is a native compiled (binary) library. What is it used for? I don't know, some faster functions of Titanium. Why is it in one ZIP and not it another? Because user .apk has its libs included and they're unpacked by system automatically into its own /data/data/<appname>/lib directory, while system app is expected to have its libs with the rest of system libs, and it doesn't unpack anything.
When the app is installed in /system, it doesn't take place in /data, and (AFAIK) it automatically inherits system permissions. That's about the only difference I'm aware of.
Jack_R1 said:
.so library is a native compiled (binary) library. What is it used for? I don't know, some faster functions of Titanium. Why is it in one ZIP and not it another? Because user .apk has its libs included and they're unpacked by system automatically into its own /data/data/<appname>/lib directory, while system app is expected to have its libs with the rest of system libs, and it doesn't unpack anything.
When the app is installed in /system, it doesn't take place in /data, and (AFAIK) it automatically inherits system permissions. That's about the only difference I'm aware of.
Click to expand...
Click to collapse
Bang on, thanks
Sent from a Desire S waiting for Kernel 3. WAKE UP HTC!!!!

[Q] How To Remove a Folder/file...

I downloaded a music file (using U torrent for android) to the Internal Storage/download folder. I tried to delete it but it is grayed out and unable to do so. how can I delete that folder and it's contents? Thanks in advance.
Might the file still be "in use" by the uTorrent application? Try fully stopping the torrent file and deleting it from within the app if it has the option.
Ran into a similar problem. If the above doesn't work you will need to delete the file without booting into the OS.
Options:
1. Reboot and try to delete the folder again.
2. Custom recovery with file manager and delete from there.
3. Boot into bootloader and use adb to delete the file.
All of these options can be learned courtesy of Google.
Sent from my Nexus 5

[Q] How to make any app system app?

I put KK launcher in my ROM.But,when i installed the ROM..A message apperared KK Launcher has crashed.Because it was not a system app,I dont really know that the reason for this crash is due to its lack of system permissions.
please help,i want to create a ROM.
Your Device Should Be Rooted!!
Go to Root Explorer and copy the apk file of launcher in system/app/
Or use link2sd.....
coolsuper13 said:
I put KK launcher in my ROM.But,when i installed the ROM..A message apperared KK Launcher has crashed.Because it was not a system app,I dont really know that the reason for this crash is due to its lack of system permissions.
please help,i want to create a ROM.
Click to expand...
Click to collapse
If u found the system/app method diddicult or cant do that way just install link2sd and the app then open link2sd then in option of the app convert it into system app ..............
Is your ROM deodexed? In particular, is your APK deodexed?
If so, decompile the APK. Search for a lib folder.
If there is, rejoice. If there isn't I can't help any further apart from finding a different launcher.
Okay, assuming your APK is deodexed(which it probably is) and has a lib folder, open the lib folder. Open the armeabi folder within. Copy all the libs inside to your ROM's /system/lib. Zip all, flash.
Do post the result. If any anomalies pop up, do post here as well.
Use link2sd . In the option there is one that is convert into system app. U can easily make anyapp into system app
Sent from my GT-S6102 using XDA Free mobile app
not sure if it matters but there is also the system/priv-app folder..
Sent from my SM-G900V using XDA Premium HD app

[Q] How can I restore a system app with .odex file ?

Hi,
I've deleted the app Docs that was in system\app\DocumentsUI.
There was the file DocumentsUI.apk in this folder and a subfolder named arm with the file DocumentsUI.odex like every system app.
I'd like to know how can I restore this app. I've tried to put back in place all the files but Android don't recognise the app...
Thank
Sebacestmoi said:
Hi,
I've deleted the app Docs that was in system\app\DocumentsUI.
There was the file DocumentsUI.apk in this folder and a subfolder named arm with the file DocumentsUI.odex like every system app.
I'd like to know how can I restore this app. I've tried to put back in place all the files but Android don't recognise the app...
Thank
Click to expand...
Click to collapse
Have you set the permission of both apk and odex file? Both file must be given rw-r--r-- as permission.
Yes but it didn't change anything...
The phone recognise the app if I put the .apk in directly in system/app and not in system/app/DocumentsUI but then it can't find the .odex file even if I put it next to the .apk...
It'll work without the odex won't it?
Sent from my Nexus 5 using Tapatalk
Unfortunately no. It give a force close message...
You still on kitkat?
Sent from my Nexus 5 using Tapatalk
No, I'm on official 5.1.1
Still no help. Nobody know how I can restore a system app ?

Categories

Resources