is deodexing like this? - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

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,

Related

[Q] is this the right step to modify framework-res.apk ?

hi...
i want to change standard notification bar from my htc desire running sense froyo rom with mod battery percentage, animation icons for data, signal, etc.
what i did is :
1. pull framework-res.apk from /system/framework folder
2. extract framework-res.apk using apktool
3. extract & overwrite with icons colour pack v4 downloaded from http://forum.xda-developers.com/showthread.php?t=722993 into drawable & drawable-hdpi folder from extracted framework apk folder.
4. bundled modified framework-res.apk using apktool
5. sign framework-res.apk
6. in recovery mode, adb push framework-res.apk to /system/framework. before doing that, i mount /system first..
7. reboot
what i found, everytime i choose network setting or wireless setting it crashed with error message process.com.android.settings has stopped unexpectedly.
why this error occured ? any other step that i did is wrong ?
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Why not use the UOT kitchen?
Sent from my HTC Desire using XDA App
HTCinToronto said:
I just pull from adb, my PC has 7zip installed so can see drill into the compressed file, drag replace the altered images, back out of the compressed file to commit, push via adb, reboot.
Sent from my Nexus One using XDA App
Click to expand...
Click to collapse
This is what I do, basically. I make the battery mod with UOT, and when the flashable zip is ready I extract the framework-res to some folder and just replace couple of images, then I'll put the modified framework-res back to the UOT-file and flash it. Works every time.
EDIT: I don't extract the files within framework-res.zip, only the .zip itself so I can open it via WinRar and replace the files. It isn't probably even needed, you could probably replace the needed files when browsing the UOT file with winrar/whatever etc etc. Haven't tried.
Can this same method be applied to anything that can be found in the framework ?

Trying to Install xRecovery

So I'm trying to install xRecovery using this link and I download the .zip file and unpack it. First I try to "Automatic Installation (recommended): Open xRecovery installer app and tap "Install xRecovery" but I can't find the xRecovery installer anywhere so I try:
Manual Installation:
- Download the apk, rename it to xrecoveryZIP
- Unpack the file, find ./res/raw folder inside. It should contain 3 files (chargemon, busybox, xrecovery.tar)
- copy these 3 files into /system/bin using root explorer (remember to remount /system rw
but when I go to the /system folder there's no /bin folder and I have zero clue what to do
PS - as far as i know i've successfully rooted my phone using superoneclick
hambino83 said:
So I'm trying to install xRecovery using this link and I download the .zip file and unpack it. First I try to "Automatic Installation (recommended): Open xRecovery installer app and tap "Install xRecovery" but I can't find the xRecovery installer anywhere so I try:
Manual Installation:
- Download the apk, rename it to xrecoveryZIP
- Unpack the file, find ./res/raw folder inside. It should contain 3 files (chargemon, busybox, xrecovery.tar)
- copy these 3 files into /system/bin using root explorer (remember to remount /system rw
but when I go to the /system folder there's no /bin folder and I have zero clue what to do
Click to expand...
Click to collapse
First make sure your phone is rooted, then install Busybox from Market. Make sure Busybox is installed on xbin, not bin..
Got into the same prob coz its installed on bin, tried to reinstall busybox and saved it to xbin and i manage to install xrecovery..
Thanks for the quick reply! In the busybox installer it says "status: done" but i don't know if it actually installed or not b/c i don't see busybox anywhere ??
k so i can get to the system/bin folder on my phone but i can't copy over the files like the instruction says it says "xxxx file copy failed" for every file i try to paste into the /system/bin...i like to think i'm not completely retarded but this ish is killin' me
When you install Busybox, theres an option where to install it. install it to xbin, not bin.
When it's done, its done. then try installing xrecovery.
Also, install xrecovery using the Automatic way, its easier..
When doing a copy/pasting or editing, make sure Root Explorer is in r/w, not r/o
I would install it the automatic way if I could find the installer anywhere :-/
hambino83 said:
I would install it the automatic way if I could find the installer anywhere :-/
Click to expand...
Click to collapse
Dude its in that thread: http://www.mediafire.com/?eyihuzn4h96xw4c
DL that then, go to Market and search for an apk installer. install that.
Then copy the xrecovery apk to ur sd. open the apk installer of ur choice. it should then scan for apks in ur sd card. install xrecovery and ur done.
I too am having the same problem as yours but managed to overcome this issue by installing xrecovery via flashtool.
Sent from a public phone.
the file that downloads from that link is a .zip. do I need to change the extension to .apk? (i know it says .apk on the link but when you download it there's no .apk)
hambino83 said:
the file that downloads from that link is a .zip. do I need to change the extension to .apk? (i know it says .apk on the link but when you download it there's no .apk)
Click to expand...
Click to collapse
Because your pc is not showing the file extensions.
thats the right one.
ok...when i put it on my sd card the apk installer doesn't find it
clixt said:
When doing a copy/pasting or editing, make sure Root Explorer is in r/w, not r/o
Click to expand...
Click to collapse
how do i do that?
If ur using root explorer, tap the r/w on the upper right..
Sent from my Rooted X10i
awesome...something else i need to dl *sigh* brb lol
edit - nm..do i really need to buy software to install this thing?!
hambino83 said:
awesome...something else i need to dl *sigh* brb lol
edit - nm..do i really need to buy software to install this thing?!
Click to expand...
Click to collapse
Theres a free root explorer in the market. Look for one.. Try looking for some youtube videos online for the x10...
Sent from my Rooted X10i
if i watch this video, there's a point where he clicks on the file on his phone and the file's icon is the little android mascot or whatever and when he clicks on it it gives him the option to open it with the app manager and when he clicks on it it takes him through the installation. whenever i go to the file on my phone, 1) the icon attached to it is the same as for a .zip file and 2) when i click on it it only gives me the option to extract it.
Also, give flashtool a try.... Gtg.
Sent from my Rooted X10i
thx for trying to help, much appreciated.
any other takers???
Dont extract it, just copy the file the way it is to ur sd card... Scan again with an apk installer...
Sent from my Rooted X10i
that's what i did, copied it without extracting it

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 ?

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

How to Deodex Lollipop 5.1.1 (10.7.A.0.222)

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

Categories

Resources