de-odex trouble - Android

I am having trouble with de-odexing com.htc.rss.odex
I get the following error
Code:
org.jf.dexlib.Code.Analysis.ClassPath$ClassNotFoundException: Could not find interface Lcom/sun/msv/datatype/SerializationContext;
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.loadAllImplementedInterfaces(ClassPath.java:819)
at org.jf.dexlib.Code.Analysis.ClassPath$ClassDef.<init>(ClassPath.java:675)
at org.jf.dexlib.Code.Analysis.ClassPath.loadClassDef(ClassPath.java:280)
at org.jf.dexlib.Code.Analysis.ClassPath.initClassPath(ClassPath.java:163)
at org.jf.dexlib.Code.Analysis.ClassPath.InitializeClassPathFromOdex(ClassPath.java:110)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:93)
at org.jf.baksmali.main.main(main.java:277)
Error while loading class Lorg/dom4j/datatype/DatatypeAttribute; from file com.htc.rss.odex
Error while loading ClassPath class Lorg/dom4j/datatype/DatatypeAttribute;
I have tried including all possible framework, has anybody else had success with this file?

I am having the same trouble, it's the only odex that I can't de-odex.

Stupid question: How can I de-odex my /app folder?

nickiberli said:
Stupid question: How can I de-odex my /app folder?
Click to expand...
Click to collapse
/app ?
you mean /system/app
- or -
/data/app
?
those are totally different.
system in stock is odex'ed
data is not - just apks

Of course I mean the /system/app folder

http://code.google.com/p/smali/issues/detail?id=31&can=1
use the -I option in baksmali to get it to deodex.
Click to expand...
Click to collapse
Hope this help.

Related

[Q] Create /data/app in a Rom?

Hi, im trying to add a .apk for a keyboard into my rom but when i put it into the /system/app foldrer and flash it, it just keeps FCing when i boot. So now im thinking of putting it into the /data/app folder, but my rom doesnt have a /data folder so i need to make one. What do i need to add in the update-script to copy /data/app from rom into my phone? my phone is the Desire Z and i think it has ext 4?
Have you looked into using dsixda's kitchen? It runs in Linux(or windows with a little work) it can add that option plus a lot more stuff.
Sent from my Kanged Shooter
netwokz said:
Have you looked into using dsixda's kitchen? It runs in Linux(or windows with a little work) it can add that option plus a lot more stuff.
Sent from my Kanged Shooter
Click to expand...
Click to collapse
Yeah, use dsixda kitchen, but I don't think it is a problem of where is the apk installed. U should place it in system. What apk is it? sometimes 2.2.X apks are not compatible with 2.3.X ones or 4.0.X
luiseteyo said:
Yeah, use dsixda kitchen, but I don't think it is a problem of where is the apk installed. U should place it in system. What apk is it? sometimes 2.2.X apks are not compatible with 2.3.X ones or 4.0.X
Click to expand...
Click to collapse
nope...most 3rd party keyboard will give you FC if you put them on /system/app. the easiest way is using dsixda's kitchen to put them on /data/app. we can also add these lines into the updater script to copy the apk into /data/app.
Code:
mount("EXT4"; "EMMC"; "<your data partition location>"; "/data")
extract_package_dir("data"; "/data")
kurotsugi said:
nope...most 3rd party keyboard will give you FC if you put them on /system/app. the easiest way is using dsixda's kitchen to put them on /data/app. we can also add these lines into the updater script to copy the apk into /data/app.
Code:
mount("EXT4"; "EMMC"; "<your data partition location>"; "/data")
extract_package_dir("data"; "/data")
Click to expand...
Click to collapse
Yea i was searching and found that code, but im also not sure what the name of the partition is
is it mmcblk0p8? not sure what the ending number should be
evilcuber said:
Yea i was searching and found that code, but im also not sure what the name of the partition is
is it mmcblk0p8? not sure what the ending number should be
Click to expand...
Click to collapse
try running
Code:
adb shell cat /proc/mounts
that should get you the mounting points. If not try:
Code:
adb shell cat /proc/mtd
do i need to set permissions? if so, what are the lines for the persmissions i need to set? or do i just need those 2 lines that you mentioned?
Also can i delete the stock android keyboard .so file in the library if i get the 3rd party keyboard to work?
I could be wrong, but I don't believe you need to set permissions. And what .so file are you talking about, and where is it located?
netwokz said:
I could be wrong, but I don't believe you need to set permissions. And what .so file are you talking about, and where is it located?
Click to expand...
Click to collapse
Its the .so file for latinjni_latinime.so which is for the default android kb. also can i just put those 2 lines anywhere in the updater script?
Here i changed the formating of the script to match my script
mount("ext4", "EMMC", "/dev/block/mmcblk0p26", "/data");
extract_package_dir("data", "/data");
looks right?
Ok when i try to flash it it says Error in /sdcard/romename.zip
(status 6)
I put it the above lines of code in the updater script
I wouldn't delete it, that's what tells the OS what keys you have available, and is needed. As far as the script goes, I'm not sure, I could never get it to work editing it myself. That's why I used dsixda's kitchen, as it does it for you.
i used the kitchen to make data/app but i still get the error
EDIT: Fixed
data/app
What is the use of data/app folder? And, how is is different from system/app
data/app is user apps and system/app is apps needed by the os
Sent from my GT-I9100G using xda app-developers app
i dislike dsixda's kitchen, i build my roms manually how to do this manually?
just copy the lib which is in the apk to system,libs,set permission to rw-r-r-- and reboot.done

[Q] Deodexing JB

Hi,
Wanted to know how to deodex the Jelly Bean Stock ROM. After deodexing, How do I test if all the files are working properly? (Without opening them).
Thanks.
Droid.Anoop said:
Hi,
Wanted to know how to deodex the Jelly Bean Stock ROM. After deodexing, How do I test if all the files are working properly? (Without opening them).
Thanks.
Click to expand...
Click to collapse
Use deodexer tools on xda or use kitchen.
If your rom is deodexed should not have any .odex files in /app and /framework folders (but do not delete them manually!).
xpirt
xpirt said:
Use deodexer tools on xda or use kitchen.
If your rom is deodexed should not have any .odex files in /app and /framework folders (but do not delete them manually!).
xpirt
Click to expand...
Click to collapse
Thanks, So the steps would be.
1. Pull the /system/app and /system/framework files.
2. De-odex using this tool for eg : http://forum.xda-developers.com/showthread.php?t=2213235
3. Reboot to recovery.
4. Delete all the files in app and system.
5. Copy the deodexed files to their respective folders.
6. Wipe Cache and Restart.
Is it?

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

How to deodex my z2 .291

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)

Editing Settings.apk - Signing possible or custom ROM needed?

Hi guys,
my father recently bought a so-called China phone (Doogee X5max) that comes with several malwares right out of the box.
Most of the are quite easy to remove, two of them give me the creeps.
I am no pro when it comes to Android and so I stumbled across several problems.
First of all I managed to remove the malware from Settings.apk and SystemUI.apk by decompiling, editing and odexing the files and compiling them again. Easy going...
So far so good.
Now for the hard part.
How to get those files back into the ROM? Since those files need to be resigned with the same certificate that was used signing all the other system files I am kind of stuck here. Resigning the files with Zipsigner (using all possible types, "platform", etc.) did not work which leads me to the conclusion that Doogee did not use the AOSP certificates to sign their ROM. Am I right?
The only possible solution seems to be creating a custom ROM out of the Doogee X5max stock ROM. Is this correct?
I googled a lot but have not found up-to-date or understandable manuals/instructions on how to do this.
Can someone please help me or give me a hint at least?
Thanks in andvance
deomaki
deomaki said:
Hi guys,
my father recently bought a so-called China phone (Doogee X5max) that comes with several malwares right out of the box.
Most of the are quite easy to remove, two of them give me the creeps.
I am no pro when it comes to Android and so I stumbled across several problems.
First of all I managed to remove the malware from Settings.apk and SystemUI.apk by decompiling, editing and odexing the files and compiling them again. Easy going...
So far so good.
Now for the hard part.
How to get those files back into the ROM? Since those files need to be resigned with the same certificate that was used signing all the other system files I am kind of stuck here. Resigning the files with Zipsigner (using all possible types, "platform", etc.) did not work which leads me to the conclusion that Doogee did not use the AOSP certificates to sign their ROM. Am I right?
The only possible solution seems to be creating a custom ROM out of the Doogee X5max stock ROM. Is this correct?
I googled a lot but have not found up-to-date or understandable manuals/instructions on how to do this.
Can someone please help me or give me a hint at least?
Thanks in andvance
deomaki
Click to expand...
Click to collapse
After recompiling your modded apk, unzip it and the original apk, replace everything in the original apk with what is in your modded apk except meta-inf and Android manifest. Zip back up, change it from .zip to .apk. That is what you use to replace your system apk. That only goes for system apks. You sign the others.
Tulsadiver said:
After recompiling your modded apk, unzip it and the original apk, replace everything in the original apk with what is in your modded apk except meta-inf and Android manifest. Zip back up, change it from .zip to .apk. That is what you use to replace your system apk. That only goes for system apks. You sign the others.
Click to expand...
Click to collapse
Hi,
Thanks for your reply.
Before giving this a chance, just one question: By "Android manifest" I suppose you mean manifest.ms?
Kind regards
deomaki
deomaki said:
Hi,
Thanks for your reply.
Before giving this a chance, just one question: By "Android manifest" I suppose you mean manifest.ms?
Kind regards
deomaki
Click to expand...
Click to collapse
I have never seen a manifest.ms but I suppose so if that is what is in yours.
Tulsadiver said:
I have never seen a manifest.ms but I suppose so if that is what is in yours.
Click to expand...
Click to collapse
The manifest.ms resides inside the META-INF folder...
Trying to installl the so manipulated original apk via adb results in [INSTALL_PARSE_FAILED_NO_CERTIFICATES].
Am I supposed to uninstall the original settings.apk from the device first (which I did) or just replace the original apk on the device with the newly created one and delete the odex in oat/arm?
Thanks in advance
deomaki
deomaki said:
The manifest.ms resides inside the META-INF folder...
Trying to installl the so manipulated original apk via adb results in [INSTALL_PARSE_FAILED_NO_CERTIFICATES].
Am I supposed to uninstall the original settings.apk from the device first (which I did) or just replace the original apk on the device with the newly created one and delete the odex in oat/arm?
Thanks in advance
deomaki
Click to expand...
Click to collapse
You leave the original meta-inf like I said. You use the original apk replacing everything in it with the modded stuff, res, resource.arsc if any and any classes.dexs. Don't worry about any oat folders.
Tulsadiver said:
You leave the original meta-inf like I said. You use the original apk replacing everything in it with the modded stuff, res, resource.arsc if any and any classes.dexs. Don't worry about any oat folders.
Click to expand...
Click to collapse
Hi Tulsadiver,
I followed your advice and replaced everything except the menta-inf folder from the original apk. Then I copied over my modded apk and restarted the device (just to be sure).
After rebooting the Settings icon was gone from my homescreen and the app drawer, leaving me unable to start the settings.
Tapping the seetings.apk using a file browser left me with the error, that there was an error while parsing...
Regards
deomaki
deomaki said:
Hi Tulsadiver,
I followed your advice and replaced everything except the menta-inf folder from the original apk. Then I copied over my modded apk and restarted the device (just to be sure).
After rebooting the Settings icon was gone from my homescreen and the app drawer, leaving me unable to start the settings.
Tapping the seetings.apk using a file browser left me with the error, that there was an error while parsing...
Regards
deomaki
Click to expand...
Click to collapse
I actually said, everything but the original meta-inf folder and original Android manifest....
Steps
Decompile apk.
Edit your apk
Recompile apk.
Unzip both modded and original apk
Delete everything in the original apk except meta-inf and Android manifest.
Copy everything from modded apk over to original apk except for the meta-inf and Android manifest.
Zip it back up, change it from .zip to .apk.
Copy this apk to the root of your phone.
Change permission to 0644
Copy/Move to replace the existing apk.
Reboot
Tulsadiver said:
I actually said, everything but the original meta-inf folder and original Android manifest....
Steps
Decompile apk.
Edit your apk
Recompile apk.
Unzip both modded and original apk
Delete everything in the original apk except meta-inf and Android manifest.
Copy everything from modded apk over to original apk except for the meta-inf and Android manifest.
Zip it back up, change it from .zip to .apk.
Copy this apk to the root of your phone.
Change permission to 0644
Copy/Move to replace the existing apk.
Reboot
Click to expand...
Click to collapse
Hi again,
thanks for your efforts by the way
That's exactly what I did except taking the original androidmanifest.xml since I had to change some things in it...
Will the whole process be not applicable then?
Regards
deomaki
deomaki said:
Hi again,
thanks for your efforts by the way
That's exactly what I did except taking the original androidmanifest.xml since I had to change some things in it...
Will the whole process be not applicable then?
Regards
deomaki
Click to expand...
Click to collapse
Unclear. I've seen some doogee posts on here. Maybe try one of those?
Tulsadiver said:
Unclear. I've seen some doogee posts on here. Maybe try one of those?
Click to expand...
Click to collapse
mmmh, maybe if will have to find out all system apks that use the same certificate framework-res.apk does and resign them with a new cert including the modded system.apk.
I was trying to find a way around that, but maybe I have to go the hard way...
I think that should solve my problem, what do you think?
Regards
deomaki

Categories

Resources