How to Deodex Lollipop 5.1.1 (10.7.A.0.222) - Sony Cross-Device General

Hey guys! Since deodexing older Z series phones with this latest update has been a pain in the *** for deodexing here's a detailed guide on how to get a correctly deodexed system folder and avoid bootloops...
First part: Getting files from the phone.
To get the files from our phone first we'll have to install ADB Drivers, you can find them here on xda or go google it. Once you have adb drivers installed go to the folder where you installed them. Press Shift while right clicking on the folder and select Open command promp.
Here are the commands to get the folders with apk, note that you'll find them in your C:\ folder.
- To get app folder:
Code:
adb pull /system/app /app/
- To get framework folder:
Code:
adb pull /system/framework /framework/
- To get priv-app folder:
Code:
adb pull /system/priv-app /priv-app/
You will get apk's only on app and priv-app folders, the only folder with odex files (arm folder) will be framework.
------------------------------------------------------------------------------------------------------------
Now let's go for sqsh files to get odex files for app and priv-app folders.
- To get odex.app.sqsh:
Code:
adb pull /system/odex.app.sqsh
- To get odex.app.sqsh:
Code:
adb pull /system/odex.priv-app.sqsh
You'll find these files inside the same folder where adb.exe is
Second part: Unpacking .SQSH files
To resume a little, you may refer to IaguCool's guide
Once you have downloaded SquashFS Tool, move both .sqsh files to the folder.
When you have opened the command promp use these codes to extract files...
> To get odex files for app folder (After extracting rename the squash-root folder to app):
Code:
unsquashfs -no-xattrs odex.app.sqsh
> To get odex files for priv-app folder (After extracting rename the squash-root folder to priv-app):
Code:
unsquashfs -no-xattrs odex.priv-app.sqsh
Third part: Merging files
Create a folder named system and move app, framework and priv-app folders from C:\ to the new folder.
After that grab the folders you extracted with SquashFS Tool and merge them with app and priv-app folder.
After doing this move SemcGenericUxpRes folder to priv-app folder
Fourth part: Deodexing
Download JoelDroid's Lollipop Batch Deodexer and replace the file named oat2dex.jar found on /tool folder with this one: Latest oat2dex
Then open the program and select the /system/ you've created to start the process.
Once it has finished, grab SemcGenericUxpRes folder and move it back to /framework
Now you can either replace folders manually on your phone using TWRP by moving the deodexed system folder to your phone and mounting System partition, erasing app, framework and priv-app folder and then pasting the ones from the deodexed folder. OR make a flasheable zip.
How to manually move folders to /system partition
> Boot to recovery (TWRP MANDATORY)
> Mount system partition
> Go to file manager and go to: /system/ partition
> Manually delete app, framework and priv-app folder (you must first open the folder, then open the menu and delete)
> Then go to where you put the deodexed folders, open app folder, open menu, choose copy and paste on /system/ folder, same process for priv-app and framework.
> Once you're done go to Wipe option, choose advanced wipe and wipe Dalvik-cache and cache.
> Boot and you're good to go! No need to fix permissions
In both cases, after you have either flashed or replaced the folders, go to Wipe option > Advanced Wipe and clean Dalvik-cache and cache to avoid problems.

Does it have issue with OpenGL and Play Store?
Sent from my D6503 using Tapatalk

RyTekk said:
Does it have issue with OpenGL and Play Store?
Sent from my D6503 using Tapatalk
Click to expand...
Click to collapse
No, that's why you need to download latest oat2dex version See deodexing part

Why not just copy App, priv-app and framework folder from system and deodex them?

Black_Eyes said:
Why not just copy App, priv-app and framework folder from system and deodex them?
Click to expand...
Click to collapse
Cause you get bootloop if you just replace odex files present in app and priv-app (Especially after replacing the deodexed framework folder in system).
If you extract via adb you'll get app and priv-app folders clean, without odex files. That way you can make a cleaner deodex since you don't replace .odex files, just merge both folders in one, app with .apks and app with .odex
I wish it was as easy as in 5.0.2 but no, on 5.1.1 is way more complicated to have a properly deodexed system.

BTW i've tried by deodexing manually by copying folder and then boot into recovery delete app, priv-app and framework folder via TWRP file manager and then flashed the deodexed zip and it worked

C:\adb>adb pull /system/odex.app.sqsh
remote object '/system/odex.app.sqsh' does not exist
C:\adb>adb pull /system/odex.priv-app.sqsh
remote object '/system/odex.priv-app.sqsh' does not exist
help

Everything was fine except google play services, it crashes every time i want add account

Perfect work @xkeita ,
I saw you asking so many guys about deodexing .222 firmware these days and finally you managed!
Great work, great tutorial. I will try asap.

could you provide the zip? or the zip from this thread http://forum.xda-developers.com/sprint-galaxy-s5/general/how-to-deodex-lollipop-rom-t3065596 can be used?
zyclops1 said:
C:\adb>adb pull /system/odex.app.sqsh
remote object '/system/odex.app.sqsh' does not exist
C:\adb>adb pull /system/odex.priv-app.sqsh
remote object '/system/odex.priv-app.sqsh' does not exist
help
Click to expand...
Click to collapse
same problem..

edi194 said:
Everything was fine except google play services, it crashes every time i want add account
Click to expand...
Click to collapse
Same here bro
I thought I had accidently deleted some necessary google services files while removing bloatwares so I tried flashing latest Gapps for 5.1.1 over stock sony FW but no effect. Can't figure out why
I'm having Xperia ZR (5.1.1 Stock)

zyclops1 said:
C:\adb>adb pull /system/odex.app.sqsh
remote object '/system/odex.app.sqsh' does not exist
C:\adb>adb pull /system/odex.priv-app.sqsh
remote object '/system/odex.priv-app.sqsh' does not exist
help
Click to expand...
Click to collapse
gundam_warlock said:
could you provide the zip? or the zip from this thread http://forum.xda-developers.com/sprint-galaxy-s5/general/how-to-deodex-lollipop-rom-t3065596 can be used?
same problem..
Click to expand...
Click to collapse
If you have an Xperia Z1 it might differ from this a little bit, I think those don't have odex.xx.sqsh on their filesystem, check if you have odex files in app and priv-app.
Phones that I know that so far work with this sqsh filesystem are Xperia Z, ZL, ZR, Xperia Tablet Z

edi194 said:
Everything was fine except google play services, it crashes every time i want add account
Click to expand...
Click to collapse
sshivampp said:
Same here bro
I thought I had accidently deleted some necessary google services files while removing bloatwares so I tried flashing latest Gapps for 5.1.1 over stock sony FW but no effect. Can't figure out why
I'm having Xperia ZR (5.1.1 Stock)
Click to expand...
Click to collapse
Did you clear dalvik-cache and cache? If it still gives you googleplayservices fc, manually download the GooglePlayServices from APKMirror and install as normal app

xkeita said:
If you have an Xperia Z1 it might differ from this a little bit, I think those don't have odex.xx.sqsh on their filesystem, check if you have odex files in app and priv-app.
Phones that I know that so far work with this sqsh filesystem are Xperia Z, ZL, ZR, Xperia Tablet Z
Click to expand...
Click to collapse
I tried to deodex directly without pull sqsh, everything except nfcnci failed, when i tried to copy to system and reboot, nfc is fc. When check nfcnci folder only apk and lib folder exsist, but nothing exsist inside lib folder.
Where do i wrong?

xkeita said:
Did you clear dalvik-cache and cache? If it still gives you googleplayservices fc, manually download the GooglePlayServices from APKMirror and install as normal app
Click to expand...
Click to collapse
Dalvik-cache & Cache ! I tried wiping the whole data, it didn't work.
App install window goes on forever and app not installing.
Got it working by installing latest play services before deodexing. (as the updated play services app in the data partition runs, no matter if system is having broken play services package)
Fixed it for now but still wondering what causes the issue

sshivampp said:
Fixed it for now but still wondering what causes the issue
Click to expand...
Click to collapse
same issue here , how can i fix this?

@xkeita Bro if not ask for much could create a video tutorial ? ?????

Hamidreza2010 said:
same issue here , how can i fix this?
Click to expand...
Click to collapse
what I did is flashed the ftf (to go back to stock)
installed latest play services via play store
then followed the deodexing guide
Note: after deodexing, do not wipe data or uninstall updated play services otherwise error will occur again

works fine thank you
ZR 5.1.1

After download the rom by XperiaFirm I must continue this step?
Second part: Unpacking .SQSH files
To resume a little, you may refer to IaguCool's guide
Once you have downloaded SquashFS Tool, move both .sqsh files to the folder.
When you have opened the command promp use these codes to extract files...
> To get odex files for app folder (After extracting rename the squash-root folder to app):
Code:
unsquashfs -no-xattrs odex.app.sqsh
> To get odex files for priv-app folder (After extracting rename the squash-root folder to priv-app):
Code:
unsquashfs -no-xattrs odex.priv-app.sqsh
Third part: Merging files
Create a folder named system and move app, framework and priv-app folders from C:\ to the new folder.
After that grab the folders you extracted with SquashFS Tool and merge them with app and priv-app folder.
After doing this move SemcGenericUxpRes folder to priv-app folder
Fourth part: Deodexing
Download JoelDroid's Lollipop Batch Deodexer and replace the file named oat2dex.jar found on /tool folder with this one: Latest oat2dex
Then open the program and select the /system/ you've created to start the process.
Once it has finished, grab SemcGenericUxpRes folder and move it back to /framework

Related

Help with compiling apk for framework-res

I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Rockstar52 said:
I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Click to expand...
Click to collapse
You have to sign it with 12
Lenn said:
You have to sign it with 12
Click to expand...
Click to collapse
Tried it, still boot loops at the Archos screen. I then have to do a complete format & wipe reinstalling the SDK, firmware, and the root files. I don't get it.
Lenn said:
You have to sign it with 12
Click to expand...
Click to collapse
Do not sign frameworks! How many time do I have to say this! System apps do not get signed...
Now, as far as the framework, there's two things to check. First, what XMLs have you edited? Second, instead of using root explorer to copy the framework, connect to a pc and use adb to perform these commands:
Code:
su
stop
cp /system/framework/framework-res.apk /system/framework/framework-res.old
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
If it continues boot-looping, you will still be connected through adb, so you just
Code:
stop
cp /system/framework/framework-res.old /system/framework/framework-res.apk
sync
start
and it will come back up without having to reformat or anything.
If it's bootlooping even when you use the adb method to copy, then your XMLs must be reencoding incorrectly. Post a list of all XMLs you have changed.
msticninja said:
Do not sign frameworks! How many time do I have to say this! System apps do not get signed...
Now, as far as the framework, there's two things to check. First, what XMLs have you edited? Second, instead of using root explorer to copy the framework, connect to a pc and use adb to perform these commands:
Code:
su
stop
cp /system/framework/framework-res.apk /system/framework/framework-res.old
cp /sdcard/framework-res.apk /system/framework/framework-res.apk
chmod 644 /system/framework/framework-res.apk
sync
start
If it continues boot-looping, you will still be connected through adb, so you just
Code:
stop
cp /system/framework/framework-res.old /system/framework/framework-res.apk
sync
start
and it will come back up without having to reformat or anything.
If it's bootlooping even when you use the adb method to copy, then your XMLs must be reencoding incorrectly. Post a list of all XMLs you have changed.
Click to expand...
Click to collapse
I do have my system set up for adb, but for some reason it don't read my A101, it works fine for my phone. The device manager shows my A101 listed as a Gen8 ADB Device, but it don't show up when i use the command: adb devices.
With your help I did manage to replace all of the stock .png's. I also found that I don't need to edit the .xml files to do what I want to. Thanks, for so much of your help! Although I would like to replace the .9.png's also and I understand that you must de-compile the .apk in order to do so. this way I could build a custom theme.
Rockstar52 said:
I do have my system set up for adb, but for some reason it don't read my A101, it works fine for my phone. The device manager shows my A101 listed as a Gen8 ADB Device, but it don't show up when i use the command: adb devices.
With your help I did manage to replace all of the stock .png's. I also found that I don't need to edit the .xml files to do what I want to. Thanks, for so much of your help! Although I would like to replace the .9.png's also and I understand that you must de-compile the .apk in order to do so. this way I could build a custom theme.
Click to expand...
Click to collapse
Have you done this yet(from the archos support site):
Windows: echo 0x0e79 >> "%USERPROFILE%\.android\adb_usb.ini"
Macos: echo "0x0e79" >> ~/.android/adb_usb.ini
Linux: echo "0x0e79" >> ~/.android/adb_usb.ini
And disabled/reenabled debugging on the tablet?
msticninja said:
Have you done this yet(from the archos support site):
Windows: echo 0x0e79 >> "%USERPROFILE%\.android\adb_usb.ini"
Macos: echo "0x0e79" >> ~/.android/adb_usb.ini
Linux: echo "0x0e79" >> ~/.android/adb_usb.ini
And disabled/reenabled debugging on the tablet?
Click to expand...
Click to collapse
No but I will give it a try and report back.
None of my changes are taking effect??!
Still not working, just a question. I am running Win7 64bit could this be the problem?? Do I need to be on a 32bit system to do the decompiling, compiling?
Tried on my wife's 32bit system still the same. For some reason it's not compiling the .apk right.
Rockstar52 said:
I am trying to create a custom theme, by modifying the framework-res.apk. I have been successful in porting some really cool .png files, but my problems start with the de-compiling & recompiling the .apk so I can modify the .xml & .9.png files. It seems every time I recompile my .apk it sends me in to a boot loop. I have used both APKTool and APK Manager with no luck. Here are my steps:
APK Manager:
1. Use a root explorer to copy the framework-res.apk.
2. Paste the file on my sd card.
3. Copy the file and paste it in the "place-apk-here-for-modding" folder.
4. Choose option 9 for compile.
5. Open the .xml file with Notepad++.
6. Recompile .apk using option 11.
7. Yes to "is this a system file?"
8. Yes to "keep original files & signatures"
9. Delete the files I modified from the "keep" folder and the resources.ascr file.
10. Finish the build of the .apk.
11. Copy & paste the modified .apk back to my sd card.
12. Rename the file from unsigned-framework-res.apk to framework-res.apk.
13. Use root explorer to cut & paste the modified to my /system/framework folder.
14. Reboot.
I now end up in a boot loop what am I doing wrong??
Click to expand...
Click to collapse
With ApkManager did you delete the 'public.xml' folder in ..\res\values ?
waterpolo said:
With ApkManager did you delete the 'public.xml' folder in ..\res\values ?
Click to expand...
Click to collapse
No, I did not. Was I supposed to?
EDIT: Ok I did some digging and what I have found is that the file size of the original framework-res.apk is 9.32mb. Once I rebuild it whether I modified anything or not the rebuilt .apk is only 7.34mb. Upon further inspection it seems to leave out all of the "value" named folders from the newly built .apk, and it does this whether I use APKTool or APK Manager(even though I say keep files). Has anyone else had this problem?
IM having the same problem,no solution though ! i edited bools.xml but after recompiling its not there ! Anyone solution ?

is deodexing like this?

if there is an apk named browser.apk and an odex file named browser.odex
if i do is modify the zip and rename the .odex to classess.dex and placing it on .apk will this be eodexing?
if so would this work on my cherry mobile titan tv/karbonn a30 ics MTK6577?
No Deodexing is something else.... If you wanna deodex then
1.) Download XUltimate (google it)
2.) Switch on USB Debugging Mode and connect phone to pc! (Dont switch on USB Transfer)
3.) Now Select pull and deodex all folders! (if this option is not there then something similar to this will be there)
4.) After deodexing all apks the place where you installed xUltimate there will appear to folder done_app and done_framework.. (Something similar... This depends on the version of xUltimate)
5.) Rename the folders to app and framework and then copy to sdcard after activating usb mode
6.) Push the folders into system folder va Root Browser! (I hope you have rooted your mobile)
7.) Reboot! You are done
*NOTE: If you get an error while deodexing delete the .odex of which it is giving error and then select deodex both folder!
death_sinker said:
No Deodexing is something else.... If you wanna deodex then
1.) Download XUltimate (google it)
2.) Switch on USB Debugging Mode and connect phone to pc! (Dont switch on USB Transfer)
3.) Now Select pull and deodex all folders! (if this option is not there then something similar to this will be there)
4.) After deodexing all apks the place where you installed xUltimate there will appear to folder done_app and done_framework.. (Something similar... This depends on the version of xUltimate)
5.) Rename the folders to app and framework and then copy to sdcard after activating usb mode
6.) Push the folders into system folder va Root Browser! (I hope you have rooted your mobile)
7.) Reboot! You are done
*NOTE: If you get an error while deodexing delete the .odex of which it is giving error and then select deodex both folder!
Click to expand...
Click to collapse
I found one on xda but link is dead can u give me a copy and does xultimate work with ics?
Sent from my Titan TV S320 using xda premium
odex is a file which makes the system load apps faster,
so you cannot modify a system app without editing the odex file,
it's like a browser with cache,
deodexing would cause the system to load each time you access a system app,

help me how to install

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

[Guide] Xposed without recovery Locker Bootloaders

Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
It's not working for me, the installer keeps saying Xposed isn't currently active
I got boot looped with this solution...bummer!
ahsan530 said:
Okay so I just tried to install xposed on my Xperia Z and it was a success. All you need to do is be rooted. For that, go to this thread, http://forum.xda-developers.com/xperia-z/development/super-su-xperia-device-lollipop-easy-t3119006. The procedure mentioned here worked like a charm for me.
Once you are rooted, go to this thread: http://forum.xda-developers.com/showthread.php?t=3034811. Download the .zip file and the .apk file. Install the .apk file like any other normal .apk file. Unzip the .zip file using any file explorer (I used root explorer). After you've unzipped the files, all you have to do is move and replace them in the system folders and assign correct permissions.
Click to expand...
Click to collapse
Would it be possible to explain the file copying process in more detail. My Xperia Z crashed whilst copying and overwriting the files into the LIB and now is in a boot loop. Copying the appropriate files to BIN and FRAMEWORK worked fine.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
alexfra said:
Done! Its working great! In order to work need to set the correct permissions in relevant files.
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
alexfra said:
I have installed the files separately (one by one) in the relevant system's paths
Sent from my C6603 using XDA Free mobile app
Click to expand...
Click to collapse
I reinstalled the 5.0.2 firmware. Then did the KingRoot and replaced with SuperSU. The I tried to install Xposed followin the above steps and copied file by file like you did, and if I copy the 3rd file in LIB over, the phone reboots and goes into bootloop.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
adrianh_za said:
Did you copy the FRAMEWORK, BIN and LIB files over. My Xperia rebooted whilst copying the LIB files over and the went into bootloop.
Busy re-installing lollipop as we speak.
Click to expand...
Click to collapse
Whizzoo said:
Same, although it rebooted just fine. I then copied the files again, no reboot but also no Xposed.
Click to expand...
Click to collapse
I'm in a bootloop again, so off to re-install lollipop...again. Becoming quite a pro at installing and rooting it now This time around, I had a clean install of 5.0.2 without any updates from Play Store. Also did a KingRoot and the replaced it with Super SU before trying to install Xposed. Not sure how @alexfra got it installed...lucky bum!
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
ahsan530 said:
Okay do the following, copy the LIB files in the root of the system folder and assign the correct permissions. After you've done that, cut and paste the LIB files in to the LIB folder. That will work for sure. Check images for further assistance. Also check image of Gravity Box attached. Everything running great. Hope it works for you too.
Click to expand...
Click to collapse
Same problem. As soon as I overwrite libart.so, phone reboots and goes into bootloop.
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
done exatly that m8...and it caused a bootloop ...flashing lollipop again now.
Howell said:
Succeeded with my Xperia Z on official Lollipop ! Thanks !
To all who have troubles : take good care to the PERMISSIONS !!! If you don't change permissiosn IT WON'T WORK !
For LIB folder files use the method described before :
- extract to /system
- change permission to rw-r--r-- (or 0644 in octal)
- move files to /system/lib
For bin folder files permission are rwxr-xr-x (or 0755 in octal) and for framework folder it's rw-r--r-- (or 0644 in octal)
If you don't do EXACTLY this, Xposed won't work !
Click to expand...
Click to collapse
I did this on my third try over the weekend. Copied the LIB files into system, changed the permissions and the moved the files one by one. Reboot and bootloop occured when moving libart.so.
1) What file manager did you use? I used ES File in root explorer mode.
2) Did you move file by file, or move the files all at once or per folder?
3) Do you remember any specific order when moving the files? I just went alphabetically through the folders.
4) Must the .props file also be copied that is in the zip?
5) Did you do a clean install to Lollipop, or was it an upgrade from KK?
Any help would be appreciated
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Whizzoo said:
Thanks for your help guys! I figured out what the problem was for me. There were some Xposed files in my lib folder already, I assume from my installation on KitKat (I did not do a clean upgrade). So I removed those, rebooted and presto! Good to have Xposed again
Click to expand...
Click to collapse
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
adrianh_za said:
Do you know what the files were so I can check?
Should I not install the Xposed installer APK until I have copied the zipped files in?
Sent from my Samsung Galaxy Note 10.1 using Tapatalk Pro
Click to expand...
Click to collapse
Go to /system/lib and search for all the files that are also in the lib folder in the zip and remove them. I already had the Xposed installer installed when I did it, in fact I used it to reboot the system.
I have done,,thanks for guide sir,,
Sent from my C5502 using XDA Free mobile app
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
adrianh_za said:
Can anybody comment on which file manager they used to do the copying and setting of permissions and successfully install Xposed? I see the OP used Root Explorer. I personally use ES File Explorer with root mode enabled, but I am thinking that maybe the issue I keep having when copying the files is due to ES File Explorer and maybe I should try Root Explorer.
Click to expand...
Click to collapse
I used root explorer. Yeah, use root explorer. Root explorer le best.

[LGH870][Oreo] How to integrate apps update in rom.

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?

Categories

Resources