Related
First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..
Also thanks to the devs who created the util's needed to do this mod.
Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..
Adding the CRT animation to your phone.
You'll need root access
You'll need this APK MANAGER 4.9 - http://forum.xda-developers.com/showthread.php?t=695701 install it somewhere on your PC
You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.
1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. Go into projects\framework-res\res\values\bools.xml [EDIT]
4. Make config_animateScreenLights to false [SAVE and EXIT]
5. Go back to script and select compile option 11.
6. Say y [System app]
7. Say n [don't need to retain anything else]
8. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
9. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
.......... open the apk files using 7 zip or similar. Do not extract them..
.......... Copy and paste from inside the original apk to inside the new one.
10. You'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
10a. RENAME IT to framework-res.apk
11. Copy the new framework-res.apk onto your phone in the SYSTEM folder
12. Change the permissions to RW-R--R--
13. Move the file into the FRAMEWORK folder.
Reboot...
Done..
Tested and works on my arc. (Finally!)
Video of the animation...
[EDIT - Added the apktool here as the original link is now dead.]
Hi mate, can you upload the jar file again?
Done! 10chrs
hey ice....sent you a pm!
here's my framework....thanks a lot in advance
im_iceman said:
First of all... Thanks go to sbong for bringing this to my attention and helping me through it.. including proving me with some of the files I needed to make this work..
Also thanks to the devs who created the util's needed to do this mod.
Ok - So I've already modded my framework-res.apk in UOT kitchen so I didn't want to re-do all those mods... and as much as anything else I wanted to be able to do this myself..
Adding the CRT animation to your phone.
You'll need root access
You'll need this APK MANAGER 4.9 - http://forum.xda-developers.com/showthread.php?t=695701 install it somewhere on your PC
You'll need to replace the apktool in the OTHER directory once you've installed apkmanager with the one attached below.
1. Get your framework-res.apk from your phone and put it in the "modding" folder
2. Run apk manager, decompile option 9 [NOT USING DEPENDENCY OPTION]
3. [NOT REQUIRED?] Drag twframework-res.apk into the script.
4. Go into projects\framework-res\res\values\bool.xml [EDIT]
5. Make config_animateScreenLights to false [SAVE and EXIT]
6. Go back to script and select compile option 11.
7. Say y [System app]
8. Say n [don't need to retain anything else]
9. Delete AndroidManifest.xml and Meta-Inf folder from unsignedframework-res.apk
10. Copy and paste AndroidManifest.xml and Meta-Inf folder from original framework-res.apk into unsignframework-res
11. U'll find unsignedframework-res.apk in "place-apk-here-for-modding" folder
12. Copy the unsignedframework-res.apk onto your phone in the SYSTEM folder
13. Change the permissions to RW-R--R--
14. Move the file into the FRAMEWORK folder.
Reboot...
Done..
Tested and works on my arc. (Finally!)
Video of the animation...
[EDIT - Added the apktool here as the original link is now dead.]
Click to expand...
Click to collapse
noobish question here mate, hope you can help me.
First: After compiling the framework-res.apk, how do you edit and overwrite meta.inf and androidmanifest.xml? and when you use the apk manager, their is no meta.inf folder when decompiling framework-res.apk
2nd: Do you need to rename your unsignedframework-res.apk to framework-res.apk?
just copy and paste the androidmanifest and meta.inf files from your original framework-res.apk into the new one..
and yes - rename it to framework-res.apk
im_iceman said:
just copy and paste the androidmanifest and meta.inf files from your original framework-res.apk into the new one..
and yes - rename it to framework-res.apk
Click to expand...
Click to collapse
do you mean to extract the apk again then after copying the files, zip the apk again still using the apk manager?
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Sent from The arc using XDA premium..
im_iceman said:
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Sent from The arc using XDA premium..
Click to expand...
Click to collapse
ok thanks..going to try using winrar.
i've tried this but i got a bootloop
I've done a few of these now and it works perfectly.. perhaps worth trying again.. follow the instructions very carefully.
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
i followed your steps to the letter and im getting bootloop but ill try it again and see if i get a different result
"4. Go into projects\framework-res\res\values\bool.xml [EDIT]" should be bools, am I right ?
works like a charm thanks mate, its not that hard when you know what to do thanks again
well spotted!.. yes.. it should!
kondejm said:
hello.i have small problem using apk manager 4.9 with replaced apktool.jar. problem is when i try decompile file.still i have error.please help.log attached.thanks
Click to expand...
Click to collapse
Looks like your trying to mod your phonebook.apk...
Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/signedPhonebook.apk.
Nie mo¾na odnale«† C:\Users\Niuniek\Desktop\APK editor\place-apk-here-for-modding\../place-apk-here-for-modding/unsignedPhonebook.apk.
Click to expand...
Click to collapse
I've just amended the first post...
you need to rename the unsignedframework-res.apk to framework-res.apk (ie the name of the original file)..
I thought that would have been obvious.. but perhaps not.
post deleted
Just followed the guide, no issues.
Loving the animation
One small thing, can't help feeling that the first post should be edited to include this to make it clearer:
im_iceman said:
No..open the apk files using 7 zip or similar. Do not extract them..
Copy and paste from inside the original apk to inside the new one.
Click to expand...
Click to collapse
Done!.....
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.
Hy i just de-compiled Default Themes.apk from ST15i
as i wanted to change the name From DefaultThemes.apk to something i want & i successfully did it
but now that .apk in not installing as a normal apk or by pushing into system app
even tried to sign it but no luck:crying:
I attached the .apk i moded, please someone look into it and tell me whats wrong
This defaultthemes.apk is de-compiles so just extract it and peep into it
Thanks
piousheart said:
Hy i just de-compiled Default Themes.apk from ST15i
as i wanted to change the name From DefaultThemes.apk to something i want & i successfully did it
but now that .apk in not installing as a normal apk or by pushing into system app
even tried to sign it but no luck:crying:
I attached the .apk i moded, please someone look into it and tell me whats wrong
This defaultthemes.apk is de-compiles so just extract it and peep into it
Thanks
Click to expand...
Click to collapse
What did you do after you recompiled the apk?
Ticklefish said:
What did you do after you recompiled the apk?
Click to expand...
Click to collapse
Pushed in system\app rebooted phone ( This method didn't worked, defaultthemes.apk didn't installed )
Then i tried to sign the apk and pushed - didnt workred.. then installed as a normal apk still no sucess
Thanks for the reply.
piousheart said:
Pushed in system\app rebooted phone ( This method didn't worked, defaultthemes.apk didn't installed )
Then i tried to sign the apk and pushed - didnt workred.. then installed as a normal apk still no sucess
Thanks for the reply.
Click to expand...
Click to collapse
So you didn't use the signing from the original app? Or change the compression rate of resources.arsc? Just compiled and pushed?
1.Make a copy of an original apk
2.Decompile the app
3.Do desired changes
4.Recompile
5.Replace changed resources from recompiled app back to original app (without unpacking it, use winrar or something like that open the apk and then just paste the changed resources inside)
6.Copy the file to /system/app
7.Give 644 permissions.
Ticklefish said:
So you didn't use the signing from the original app? Or change the compression rate of resources.arsc? Just compiled and pushed?
Click to expand...
Click to collapse
How to use the signing from original app?
How to change the compression ratio of resources.arsc?
Sorry for making you concern but i am really a noob
Theonewithideas said:
1.Make a copy of an original apk
2.Decompile the app
3.Do desired changes
4.Recompile
5.Replace changed resources from recompiled app back to original app (without unpacking it, use winrar or something like that open the apk and then just paste the changed resources inside)
6.Copy the file to /system/app
7.Give 644 permissions.
Click to expand...
Click to collapse
Thanks for replying..
I tired to paste the changed work from recompiled app to original but the problem is i changed the values in res\value\string ( changed the name of application so that i can install w\o replacing the original themes ) but after recompiling VALUE folder disappeared from res, now how do i move the STRING to original apk?
piousheart said:
Thanks for replying..
I tired to paste the changed work from recompiled app to original but the problem is i changed the values in res\value\string ( changed the name of application so that i can install w\o replacing the original themes ) but after recompiling VALUE folder disappeared from res, now how do i move the STRING to original apk?
Click to expand...
Click to collapse
That's inside resources.arsc. Which needs to be compressed at a STORE rate. Have a look at the tool in my signature, it can do all this for you automatically.
Ticklefish said:
That's inside resources.arsc. Which needs to be compressed at a STORE rate. Have a look at the tool in my signature, it can do all this for you automatically.
Click to expand...
Click to collapse
Can you teach me how do i make that defaultThemes.apk a normal installable apk?
I'M HERE PRESENTING REAL NOTE 5 EDGE MARSHMALLOW LAUNCHER FOR MOTION ROM,ADITYA ROM,PROMO NOTE 5 PORT.
•FEATURES•
#SMOOTH
#FINE
#BUG FREE
#RESPENSIVE
•INSTALLATION STEPS•
%GO TO ROOT EXPLORER UNZIP THE ZIP
%COPY THE APK AND PASTE IT IN PRIV~APP AND DELETE OLD LAUNCHER
PUT LIB FILES IN SYSTEM/LIB AND SET PERMISSION RW-RR AND REBOOT
WOW U HAVE REAL NOTE 5 EDGE LAUNCHER•CREDITS•
√@ALBE95
√@and2
Mod edit
Link removed please link to the original thread
DON'T FORGET TO HIT THANKS
any screen shot ??
add scree short ???
Sent from my GT-I9300I using XDA-Developers mobile app
And the lib files? They arent there.
There aren't the lib files in the zip
nice - thx
I think You can do flashable zip file for beginners - no question how to set permissions, ect.
..and if You could write about backup system files before install it - if something will go wrong.
Thx a lot
nalas said:
nice - thx
I think You can do flashable zip file for beginners - no question how to set permissions, ect.
..and if You could write about backup system files before install it - if something will go wrong.
Thx a lot
Click to expand...
Click to collapse
Are the lib files necessary or not?
heheh I wrote about it above
libs are important - without it the app will FC.
But do permissions for for folder of libs like other from /system/app or system/priv-app - lib
nalas said:
heheh I wrote about it above
libs are important - without it the app will FC.
But do permissions for for folder of libs like other from /system/app or system/priv-app - lib
Click to expand...
Click to collapse
But they aren't in the zip!
kekko123 said:
But they aren't in the zip!
Click to expand...
Click to collapse
Aha ... so if no present so I think only apk file is ok...
change name old apk via add ".bak" at the end of name and paste the new form zip folder, next set permission at
rw-r--r-- and restart the phone - if something goes wrong - rename the old apk via delete ".bak" at the end and delete the new apk copied from zip.
You can back to original version of TW.
nalas said:
Aha ... so if no present so I think only apk file is ok...
change name old apk via add ".bak" at the end of name and paste the new form zip folder, next set permission at
rw-r--r-- and restart the phone - if something goes wrong - rename the old apk via delete ".bak" at the end and delete the new apk copied from zip.
You can back to original version of TW.
Click to expand...
Click to collapse
thanks
cant open apps in appdrawer plz fix
Thread closed
If a member wants to share an app they found in another section, they need to link to original thread. And there members can download, read about issues, and thank OP if they wish.
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