How to deodex my z2 .291 - Xperia Z2 Q&A, Help & Troubleshooting

Hey guys, how can I do this? I used some tool to deodex the files but failed to make a flashable zip, could anyone point me out? thanks

LukBoy99 said:
Hey guys, how can I do this? I used some tool to deodex the files but failed to make a flashable zip, could anyone point me out? thanks
Click to expand...
Click to collapse
Use lordroid tool to deodex. It will deodex the rom as well as create flashable zip

vikash1994b said:
Use lordroid tool to deodex. It will deodex the rom as well as create flashable zip
Click to expand...
Click to collapse
i have some odex.xxx folder in /system such as odex.priv-app, should I delete those after or ignore?

LukBoy99 said:
i have some odex.xxx folder in /system such as odex.priv-app, should I delete those after or ignore?
Click to expand...
Click to collapse
Those will be deleted once u flash the zip.
Just replace this delete.sh file in the flashable deodexed zip.it will delete the odex files,sqsh file.
Delete.sh-https://drive.google.com/file/d/0B_ACsHR2ThfsalVfbWJ4QWotTnM/view?usp=drivesdk

vikash1994b said:
Those will be deleted once u flash the zip.
Just replace this delete.sh file in the flashable deodexed zip.it will delete the odex files,sqsh file.
Delete.sh-https://drive.google.com/file/d/0B_ACsHR2ThfsalVfbWJ4QWotTnM/view?usp=drivesdk
Click to expand...
Click to collapse
alright thanks, im doing it now ill tell you how it goes.

vikash1994b said:
Those will be deleted once u flash the zip.
Just replace this delete.sh file in the flashable deodexed zip.it will delete the odex files,sqsh file.
Delete.sh-https://drive.google.com/file/d/0B_ACsHR2ThfsalVfbWJ4QWotTnM/view?usp=drivesdk
Click to expand...
Click to collapse
Failed to deodex photos, should I just do it anyway?
[20:29:51][stdError] Photos.odex contains multiple dex files. You must specify which one to disassemble with the -e option
[20:29:51][stdError] Valid entries include:
[20:29:51][stdError] /system/app/Photos/Photos.apk
[20:29:51][stdError] /system/app/Photos/Photos.apk:classes2.dex
[20:29:51]It's exit value was : 1
[20:29:51][Deodexer][E]Failed at baksmali Photos.odex
[20:29:51][Apkworker][E]Photos.apk Failed to deodex

LukBoy99 said:
Failed to deodex photos, should I just do it anyway?
[20:29:51][stdError] Photos.odex contains multiple dex files. You must specify which one to disassemble with the -e option
[20:29:51][stdError] Valid entries include:
[20:29:51][stdError] /system/app/Photos/Photos.apk
[20:29:51][stdError] /system/app/Photos/Photos.apk:classes2.dex
[20:29:51]It's exit value was : 1
[20:29:51][Deodexer][E]Failed at baksmali Photos.odex
[20:29:51][Apkworker][E]Photos.apk Failed to deodex
Click to expand...
Click to collapse
Yes,just proceed and create zip
After u flash and reboot, photos force close so u just need to ignore it and update it via playstore then it wont happen similarlt for other apps like drive and maps afaik.
Btw u did move the odex files to respective folders right? If u didnt then u will have to do it and then deodex it orelse phone will bootloop.

vikash1994b said:
Yes,just proceed and create zip
After u flash and reboot, photos force close so u just need to ignore it and update it via playstore then it wont happen similarlt for other apps like drive and maps afaik.
Btw u did move the odex files to respective folders right? If u didnt then u will have to do it and then deodex it orelse phone will bootloop.
Click to expand...
Click to collapse
what do you mean move? I just copied from system: framework, apps, priv-app and build.prop and moved semcxxx which was 3 files from framework to apps and after finished back to framework.

LukBoy99 said:
what do you mean move? I just copied from system: framework, apps, priv-app and build.prop and moved semcxxx which was 3 files from framework to apps and after finished back to framework.
Click to expand...
Click to collapse
Oh,then its fine.
If u had extracted system folder from system.sin then u need to move the odex files to respectively folder.
Have u flashed the deodexed zip?

vikash1994b said:
Oh,then its fine.
If u had extracted system folder from system.sin then u need to move the odex files to respectively folder.
Have u flashed the deodexed zip?
Click to expand...
Click to collapse
unfortunately DownloadAgent has stopped. this message is being spammed and every restart i need to optimize 307 apps...

LukBoy99 said:
unfortunately DownloadAgent has stopped. this message is being spammed and every restart i need to optimize 307 apps...
Click to expand...
Click to collapse
Don't know why is popping for u.it never happened with me. If u want i can upload my deodex patch.

Ok got rid of that apparently by moving it (bootinfo.apk) to sd card then back and restarting, now anyawy to test deodex is success?

vikash1994b said:
Don't know why is popping for u.it never happened with me. If u want i can upload my deodex patch.
Click to expand...
Click to collapse
Ok it's ****ing back,,, can you give me your /system/app/bootinfo folder? it's that.

LukBoy99 said:
Ok it's ****ing back,,, can you give me your /system/app/bootinfo folder? it's that.
Click to expand...
Click to collapse
Here-https://drive.google.com/file/d/0B_ACsHR2ThfsZk02SDg4cUZmTWs/view?usp=drivesdk

vikash1994b said:
Here-https://drive.google.com/file/d/0B_ACsHR2ThfsZk02SDg4cUZmTWs/view?usp=drivesdk
Click to expand...
Click to collapse
Still download agent has stopped..

Ok on 2nd thought can you give me camera, camera common, and video apps? (Video has camera icon not video viewer)

Related

[Q] Taskmanager APK

I deleted taskmanager from system/apps.
Does someone knows wich apk that is so I can download it
from a original rom. (I'am from the dutch so I don't know if
I need to download it from a Stock dutch rom/or is it multi-language).
Ok downloaded stock rom but extracted everything but I can't find system apps.
Can someone provide me please the taskmanager apk?
Thnx.
I have downloaded the stock apps maps from the system, but knows someone wich apk I needed
is it jobmanager for example?
Please put something in the title - something relevant.
Thanks
johncmolyneux said:
Please put something in the title - something relevant.
Thanks
Click to expand...
Click to collapse
Fixed the title.
It is called jobmanager.apk..if you are on a stock odexed rom you need both the .apk and .odex file otherwise it wont work.
KayvinM said:
It is called jobmanager.apk..if you are on a stock odexed rom you need both the .apk and .odex file otherwise it wont work.
Click to expand...
Click to collapse
Thnx buddy.
Jobmanager.apk I have that file but the .odex not, could you please
upload that .odex file on mediafire please.
Again thnx.
davelinders said:
Thnx buddy.
Jobmanager.apk I have that file but the .odex not, could you please
upload that .odex file on mediafire please.
Again thnx.
Click to expand...
Click to collapse
The odex file has to match. What firmware are you running? You can also try a deodexed apk from a custom rom.
KayvinM said:
The odex file has to match. What firmware are you running? You can also try a deodexed apk from a custom rom.
Click to expand...
Click to collapse
I'am running KF3 kernel.
I have downloaded already a custom rom but when unzipped
there are some image files and when I try to unzip those or mount
it with some iso program it will give a error.
davelinders said:
I'am running KF3 kernel.
I have downloaded already a custom rom but when unzipped
there are some image files and when I try to unzip those or mount
it with some iso program it will give a error.
Click to expand...
Click to collapse
I attached a program that will help you. Unzip and install.
1. Open the program and click on the "Drives" tab then "mount image" use the factoryfs.img from the rom you downloaded.
2. Once the image is loaded it will be labeled "Linux native volume 1" double click this.
3. This will open up the drive and allow you to view the contents. Search for the files you need and then click the "save" tab.
I also attached a deodexed apk for you, see if it works.
Gonna try it tonight.
Thnx for your help.
Jobmanager won't install.
I put it in the system/app folder that's good right?
davelinders said:
Gonna try it tonight.
Thnx for your help.
Jobmanager won't install.
I put it in the system/app folder that's good right?
Click to expand...
Click to collapse
Yes that's right. It should work, have you tried rebooting your phone? Also make sure that there is no .odex file for jobmanager. If there is, delete it from system/apps if you're using the deodexed one I gave you.
KayvinM said:
Yes that's right. It should work, have you tried rebooting your phone? Also make sure that there is no .odex file for jobmanager. If there is, delete it from system/apps if you're using the deodexed one I gave you.
Click to expand...
Click to collapse
Ok gonna try it again after reboot I didn't reboot the phone.

[Req][App] Samsung Stock Gallery App 4.1.2 [Urgent]

I accidently deleted my gallery app using Titanium backup and now I have no gallery on my phone.. can anyone please upload the 4.1.2 gallery app for the S3. Please I need it.
if you use omega as it says at your signature you can locate the gallery apk and copy to your device /system/app
eytan123 said:
if you use omega as it says at your signature you can locate the gallery apk and copy to your device /system/app
Click to expand...
Click to collapse
Yes, I already checked there. The apk isn't present in the folder.
dibyajyoti said:
Yes, I already checked there. The apk isn't present in the folder.
Click to expand...
Click to collapse
So you are saying that omegarom has no gallery included in the rom? i find that hard to believe
DSA said:
So you are saying that omegarom has no gallery included in the rom? i find that hard to believe
Click to expand...
Click to collapse
I'm not saying that Omega rom doesn't have the gallery app at all. In my case I can't find it in the /system/apps/ folder. It must've gotten deleted somehow. It'll be of great help if you could upload yours or provide a link from where I can download the app.
dibyajyoti said:
I'm not saying that Omega rom doesn't have the gallery app at all. In my case I can't find it in the /system/apps/ folder. It must've gotten deleted somehow. It'll be of great help if you could upload yours or provide a link from where I can download the app.
Click to expand...
Click to collapse
He's saying extract it from your Rom you downloaded, or just re-flash dirty
DSA is right.
system\app\SecGallery2_Galaxy.apk
next time try to look for yourself i promise you'll get a faster solution than waiting for me or anyone else look it up for you.
cheers.
eytan123 said:
DSA is right.
system\app\SecGallery2_Galaxy.apk
next time try to look for yourself i promise you'll get a faster solution than waiting for me or anyone else look it up for you.
cheers.
Click to expand...
Click to collapse
dude I tried searching for it .. it isn't there.. why would I lie? here's a screenshot of my file manager.
As you can see after SecFileShareServer it moves onto SecHTMLviewer
slaphead20 said:
He's saying extract it from your Rom you downloaded, or just re-flash dirty
Click to expand...
Click to collapse
Yeah thanks for the tip!..I forgot I could extract it from the zip I downloaded..
Its weird that the app disappeared from system folder as well.. Anyway thanks a ton!
i wasn't saying you lied...
i said you should get the downloaded omega file, open it (pc\phone doesn't matter) and extract only the SecGallery2_Galaxy.apk located at system\app\ inside the omega zip and than copy it to your /system/app and make sure permissions are the same as all the other apk's in this folder.
make sure you mount r/w on so you can copy the file.

[Q] Signing apk makes app force close?

Hey friends i just decompiled an apk(SystemUI) from MiniCM10 rom...
and again i recompiled the apk with editing a sinle file..
and then i signed it and pushed to my system..
Set the correct permissions and booted..
But i am getting just fcs..
any solution?
TheStrix said:
Hey friends i just decompiled an apk(SystemUI) from MiniCM10 rom...
and again i recompiled the apk with editing a sinle file..
and then i signed it and pushed to my system..
Set the correct permissions and booted..
But i am getting just fcs..
any solution?
Click to expand...
Click to collapse
A search would have told you that you don't sign system apks unless your gonna resign all of them.
zelendel said:
A search would have told you that you don't sign system apks unless your gonna resign all of them.
Click to expand...
Click to collapse
Mate i did that too...
I just pushed the recompiled apk to my system that was not signed(No META-INF floder)..
But i stilll got fc..
so?
TheStrix said:
Mate i did that too...
I just pushed the recompiled apk to my system that was not signed(No META-INF floder)..
But i stilll got fc..
so?
Click to expand...
Click to collapse
It needs the original meta-inf folder. Read up on how to properly edit these files.

How to deodex Xperia Z2 6.0.1 firmware?

Can anyone tell me how to deodex Xperia Z2 6.0.1 firmware step by step? Thanks in advance....
+1
I am also looking for the same. On MM rom, Sony is using symlinks to link odex files.
A step by step guide would be highly appreciated.
Thank you
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
install Rom eXistenZ MM, rom is rooted and deodex
lokitooxd said:
install Rom eXistenZ MM, rom is rooted and deodex
Click to expand...
Click to collapse
The intention of this post was to learn how to do it. I know there is existenz and ultraslim deodexed roms. Thanks anyway.
@ticktock666
Thanks for the steps.
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
AlanDS said:
These steps looks to be from older version. Anybody with 6.0 Sony MM steps?
Click to expand...
Click to collapse
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
vikrant7027 said:
@ticktock666
There are certain other folders such as odex.app, odex.framework, odex.priv-app...what about these? These folders also contains similar odex files for app, framework and pri-app...
Click to expand...
Click to collapse
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
ticktock666 said:
I deodexed my MM rom about a week ago, so I'm saying this from experience : it is up-to-date.
I'm not sure, but here's some of the stuff I noticed during the deodex process :
- I used to get the files using adb pull command directly to pc after a fresh rom install (remember to install a pre-rooted rom), but I did not get any odex files with the apps this way, so deodexing didn't work.
- after pulling the files from the device using a root explorer, each app had the odex files with them inside the correct folders.
- about odex.xxx folders and odex.xxx.sqsh files : they contain an exact duplicate of the odex files, no idea why (you can extract the sqsh files, they're basically special compressed odex file container sort of thing), which means the rom contains 3 versions of the same odex file, makes no sense.....
after deodexing and flashing the deodexed rom/files, I deleted odex.xxx folders and odex.xxx.sqsh files, and my rom works fine, fully rooted and with xposed. My current issue is that now if I browse into /data/app on the root of the drive I'll find an odexed version of every app I have installed, be it a user app or system app, and it's driving me crazy.
Click to expand...
Click to collapse
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Silverstarjigar said:
Can u make a deodex rom for Xperia z2 mm rom d6502 indian version and post it on gdrive?? thanku in advance..? @ticktock666
Click to expand...
Click to collapse
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
ticktock666 said:
sorry buddy, but although just the deodexed files from my rom should work perfectly (it's only the apks, no other settings from the rom are included), it is near impossible for me to upload anywhere due to slow & unstable connection and power situation, since none of the hosting services support upload resume on their apps/sites.
Click to expand...
Click to collapse
Okk.. I will give it a try then!
Is there any script or something that we can flash through recovery ?
do you mean a script to deodex the rom on the phone ? if so then the answer is no
You can try this
ticktock666 said:
I'm not gonna go into deep details, but this should help.
- flash MM rom for your device, make sure it is ROOTED as you'll need to use an explorer with root access,it's better if you do this on a clean install, but this is just me
- boot your device and go through the setup process
- once done, install a browser with root access, I recommend MiXplorer, root explorer
- browse into /system folder
- check your /app, /framework, /priv-app, they should have odex files inside them (this was the case for me)
- copy these folders, plus build.prop file into sd card or the phone memory
- connect phone to pc and copy files over
- look up and download SVADeodexerForArtx(32 or 64 based on your system), you also need to have java installed on your machine.
- extract the SVADeodexerForArtxxx to your c: drive, and create a folder named /system insides, and post the files from your phone inside that
- your final folder will look something like this : c:/SVADeodexerForArtxxx/system/ (app, framework,priv-app) and build.prop file
- remember to move the Semcxxx app folder from /framework into /app folder or it won't be deodexed
- run SVADeodexerForArtxxx and point it to your /system folder, it will show you your android version, tick the checkbox for app, framework, priv-app, hit the start button
- it'll run and once done the log file will open and tell you how many were deodexed.
- the deodexed folders will be in the base folder, make sure to return the Semcxxx folder from the /apps to /framework
- create a flashable zip and flash these folders back on your rom
now your rom is deodexed
Click to expand...
Click to collapse
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
A1nur said:
But with file odex.app.sqsh format...are that no need to extract
Sent from my D6503 using XDA-Developers mobile app
Click to expand...
Click to collapse
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
ticktock666 said:
sorry for the late reply, haven't been checking much recently.
now about those sqsh files, I've tried extracting them, and they seem to contains a 2nd copy of the odex files, not sure how they work, but after deodexing my rom I simply deleted them, and everything worked normally.
Click to expand...
Click to collapse
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
A1nur said:
In new build fw 291 i try deodex that rom sir, n i do not extract sqsh.file...all normally work but if i delete boot.art n boot.oat it butlop....
How to i delete that sir
Click to expand...
Click to collapse
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
ticktock666 said:
I don't have the latest rom yet (not released for 6502), but when you go into your /system/app folder using a root explorer, do you see "arm" folder inside any of the installed apps ? maybe they changed something in 291, and now they only use sqsh files, also what does the log from the app says when you deodex the rom says ? it should say something like "300 apps deodexed, 10 apps already deodexed" or something like that.
Click to expand...
Click to collapse
Thanks sir for your answered...
Sent from my Sony Xperia Z2 using XDA Labs
Hi!
Thanks, for good instructions!
It is also working for Xperia Z3 Compact on MM .291. I failed in the past, cause of forgetting 'semcxxx' in framework.
Greetz, brockn

Z2 575 systemUI required

So as the title says, I need the Z2 575 original stock systemui preferably in a flashable zip format
The reason is I recently flashed the Xperia X lockscreen and I want to revert back ( yes I have taken the backup but it's less hassle if someone provides me the systemui.
Thanks
Exactly same issue.
I flashed the whole zip prepared through prf though.
Hi Here you are..
Not a flashable but just copy the apk file.
Hope this will help you.
https://drive.google.com/open?id=0B6Uj-JoIxvh8NTMySFMxWjRsVkk
jeoleo7 said:
Hi Here you are..
Not a flashable but just copy the apk file.
Hope this will help you.
https://drive.google.com/open?id=0B6Uj-JoIxvh8NTMySFMxWjRsVkk
Click to expand...
Click to collapse
Is there any permissions ?
EDIT : I copied it and changed the permission rwrr but systemUI has stopped.
Any ideas ?
I just copied the file sysmteui.apk only and I don't know where to copy the other folder.
You can just copy it and overwrite the system so that permission remains r-w-r-r.
or manually check it and make r-w-r-r.
jeoleo7 said:
You can just copy it and overwrite the system so that permission remains r-w-r-r.
or manually check it and make r-w-r-r.
Click to expand...
Click to collapse
It didn't work and now am ****ed
Have to flash prerooted zip again
UPDATE : Restored my backup and back to stock lockscreen again :whew:
Oh really, should have cleared the cache too.
Anyway its fine now. ☺

Categories

Resources