Hi,
I just updated my SGS5 (G900F) to android 6.0.1 and I encountered a problem when ever I have the screen to choose an app in order to complete the action, I mean that screen when you can choose to "use this app only once" or "use as default".
Now I don't get to choose, I can only tap on the app that I want and it automatically chooses that app to be the default.
If I want to change it to the other app I can't because I couldn't find how to do this.
Any help would be appreciated.
Thanks.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Hey follow the steps in this thread
http://forum.xda-developers.com/galaxy-s5/general/bringing-buttons-to-select-task-t3404748
yash92duster said:
Hey follow the steps in this thread
http://forum.xda-developers.com/galaxy-s5/general/bringing-buttons-to-select-task-t3404748
Click to expand...
Click to collapse
Thank you for your reply, I'm kinda noobie so I didn't understood anything...
Where do I find framework.jar?
Royal_R said:
Thank you for your reply, I'm kinda noobie so I didn't understood anything...
Where do I find framework.jar?
Click to expand...
Click to collapse
First Install Root Explorer APP
download from google or install from playstore
You will require root to access system files
if you have root
then open root explorer and locate to
system/framework/framework.jar
copy it to sd card
and follow those instructions how to edit from previous post
yash92duster said:
First Install Root Explorer APP
download from google or install from playstore
You will require root to access system files
if you have root
then open root explorer and locate to
system/framework/framework.jar
copy it to sd card
and follow those instructions how to edit from previous post
Click to expand...
Click to collapse
Thanks I found it, I downloaded Batch apktool but I can't find where is the decompiled jar file in order to edit it
Royal_R said:
Thanks I found it, I downloaded Batch apktool but I can't find where is the decompiled jar file in order to edit it
Click to expand...
Click to collapse
Put the jar file in
Input jar folder
Then run batch apktool press 06 to decompile jar
You will find decompile jar in input jar folder itself
Now
Make changes to jar by using notepad++
Save
Now press 07 in apktool
Recompiled jar will be in output jar folder
" Make sure " sign out put file is turned off " or else press 89 "
Now put the recompiled jar into input apk folder
And in apktool
press 4 to sign the jar
Now the signed jar will be in output apk
Now push the jar manually using root explorer or make a flashable zip
Good luck
yash92duster said:
Put the jar file in
Input jar folder
Then run batch apktool press 06 to decompile jar
You will find decompile jar in input jar folder itself
Now
Make changes to jar by using notepad++
Save
Now press 07 in apktool
Recompiled jar will be in output jar folder
" Make sure " sign out put file is turned off " or else press 89 "
Now put the recompiled jar into input apk folder
And in apktool
press 4 to sign the jar
Now the signed jar will be in output apk
Now push the jar manually using root explorer or make a flashable zip
Good luck
Click to expand...
Click to collapse
Thank you again but I'm still struggling with the process
I did as you say but I can't find the decompiled jar file.
Here I recorded my steps, perhaps I'm missing something:
https://s32.postimg.org/5ufi421ol/Animation.gif
Royal_R said:
Thank you again but I'm still struggling with the process
I did as you say but I can't find the decompiled jar file.
Here I recorded my steps, perhaps I'm missing something:
https://s32.postimg.org/5ufi421ol/Animation.gif
Click to expand...
Click to collapse
try putting
framework-res.apk &
twframework-res.apk
in _framework folder
then press 06 and check
Hey im using Batch ApkTool Version 3.4.5
Download it from my drive
Download Link
https://drive.google.com/open?id=0B6YfELxJkuUNdHRUYmxfa2hESGs
@Royal_R
I forgot to say this
did you Install
JAVA - JRE AND JDK
If not install them first
yash92duster said:
Put the jar file in
Input jar folder
Then run batch apktool press 06 to decompile jar
You will find decompile jar in input jar folder itself
Now
Make changes to jar by using notepad++
Save
Now press 07 in apktool
Recompiled jar will be in output jar folder
" Make sure " sign out put file is turned off " or else press 89 "
Now put the recompiled jar into input apk folder
And in apktool
press 4 to sign the jar
Now the signed jar will be in output apk
Now push the jar manually using root explorer or make a flashable zip
Good luck
Click to expand...
Click to collapse
yash92duster said:
@Royal_R
I forgot to say this
did you Install
JAVA - JRE AND JDK
If not install them first
Click to expand...
Click to collapse
Ok so I tried installing Java JDK & JRE and re-do the process. I tried decompile framwork.jar but still getting the same result as shown above and the same goes for framework-res.apk & twframework-res.apk.
I downloaded your version of Batch ApkTool and reset my computer but the results are the same. :crying:
Royal_R said:
Ok so I tried installing Java JDK & JRE and re-do the process. I tried decompile framwork.jar but still getting the same result as shown above and the same goes for framework-res.apk & twframework-res.apk.
I downloaded you version of Batch ApkTool and reset my computer but the results are the same. :crying:
Click to expand...
Click to collapse
Send me your framework-resapk, twframework-res.apk, framework.jar
Add them in your drive and share the link
I will do it for you
There may be something wrong you have done
Did you add the JAVA location in system advance properties ?
yash92duster said:
Send me your framework-resapk, twframework-res.apk, framework.jar
Add them in your drive and share the link
I will do it for you
There may be something wrong you have done
Did you add the JAVA location in system advance properties ?
Click to expand...
Click to collapse
I think you're right, I didn't add the location of the JAVA, I figured it will do it by itself but I guess not.
Any way thank you so much for your gesture I really do appreciate it a lot, it will save me a lot of time.
Here i uploaded the files:
http://www69.zippyshare.com/v/hfDF43Tt/file.html
Thanks again! :good:
Royal_R said:
I think you're right, I didn't add the location of the JAVA, I figured it will do it by itself but I guess not.
Any way thank you so much for your gesture I really do appreciate it a lot, it will save me a lot of time.
Here i uploaded the files:
http://www69.zippyshare.com/v/hfDF43Tt/file.html
Thanks again! :good:
Click to expand...
Click to collapse
Give me sometime
---------- Post added at 02:16 PM ---------- Previous post was at 02:09 PM ----------
@Royal_R
Bro the framework.jar which you gave me is only 11.0 KB
Its wrong one
There is no smali_classes2 in it
framework.jar should be around 7.93 MB
Who gave it ? Did you get from your device only ?
Are using on Stock or Deodexed Rom??
yash92duster said:
Give me sometime
---------- Post added at 02:16 PM ---------- Previous post was at 02:09 PM ----------
@Royal_R
Bro the framework.jar which you gave me is only 11.0 KB
Its wrong one
There is no smali_classes2 in it
framework.jar should be around 7.93 MB
Who gave it ? Did you get from your device only ?
Are using on Stock or Deodexed Rom??
Click to expand...
Click to collapse
I got it from my device , I'm using original firmware I downloaded from sammobile I do have rooted device so I used EZ File Manager to retrieve the files.
Royal_R said:
I got it from my device , I'm using original firmware I downloaded from sammobile I do have rooted device so I used EZ File Manager to retrieve the files.
Click to expand...
Click to collapse
Sorry bro
you need deodexed rom inorder to mod framework.jar
Deodex your rom inorder to mod it
have a look at my framework.jar it has classes2.dex which is req to mod
may be someone else can help you find a way if it is possible to mod on Stock ROM
yash92duster said:
Sorry bro
you need deodexed rom inorder to mod framework.jar
Deodex your rom inorder to mod it
may be someone else can help you find a way if it is possible to mod on Stock ROM
Click to expand...
Click to collapse
Oh man... Is there a way to deodex my firmware?
Royal_R said:
Oh man... Is there a way to deodex my firmware?
Click to expand...
Click to collapse
Search in Xda
You will find tools to deodex rom
Royal_R said:
Oh man... Is there a way to deodex my firmware?
Click to expand...
Click to collapse
Hi friend
use this tool for deodexing your odex rom
http://forum.xda-developers.com/showpost.php?p=65741469&postcount=574
if your device is 32 bit download SVADeodexerForArtx32.zip
if 64 bit download SVADeodexerForArtx64.zip
Download the Dat img extractor & cache extractor from my drive
https://drive.google.com/open?id=0B6YfELxJkuUNdHRUYmxfa2hESGs
Cache img Extractor - CacheRipperUX.zip
ExtractorforcynogenmodforDAT& IMG.rar
Steps
1. Download your rom zip from sammobile or any other site
2.extract the zip
3. use 7zip to open the extracted file and drag and drop to a new folder the cache, boot, and system images
4. use "Extractor for cynogenmod for DAT & IMG" application for extracting files from system.img
( i have attached the "Extractor for cynogenmod for DAT & IMG.zip" in my drive )
5.After system.img gets extracted copy or move the system folder to "SVADeodexerForArtx32" folder
6.Make sure you dont name folders with space
eg: new folder - gives error
newfolder - works
7. now extract "SVADeodexerForArtx32.zip" and run SVADeodexerForArt.exe
8 select the path of system folder ( which you cpoied to " SVADeodexerForArtx32 " folder
9.then click on app, priv-app, and framework
10. press execute
11. it will take 3 to 4 minutes to deodex your stock rom
12. now after execution completes you will see a log in which it says
symlinks are needed
so you must add them in your updater-script of your flashable zip
13 If you dont know then get META-INF folder of your model from any devs
14.now make a flashable zip of the system folder including boot.img
15.Goto twrp and flash the zip
Good luck bro
Make backup of old rom so that if anything goes wrong you can revert back
yash92duster said:
Hi friend
use this tool for deodexing your odex rom
http://forum.xda-developers.com/showpost.php?p=65741469&postcount=574
if your device is 32 bit download SVADeodexerForArtx32.zip
if 64 bit download SVADeodexerForArtx64.zip
Download the Dat img extractor & cache extractor from my drive
https://drive.google.com/open?id=0B6YfELxJkuUNdHRUYmxfa2hESGs
Cache img Extractor - CacheRipperUX.zip
ExtractorforcynogenmodforDAT& IMG.rar
Steps
1. Download your rom zip from sammobile or any other site
2.extract the zip
3. use 7zip to open the extracted file and drag and drop to a new folder the cache, boot, and system images
4. use "Extractor for cynogenmod for DAT & IMG" application for extracting files from system.img
( i have attached the "Extractor for cynogenmod for DAT & IMG.zip" in my drive )
5.After system.img gets extracted copy or move the system folder to "SVADeodexerForArtx32" folder
6.Make sure you dont name folders with space
eg: new folder - gives error
newfolder - works
7. now extract "SVADeodexerForArtx32.zip" and run SVADeodexerForArt.exe
8 select the path of system folder ( which you cpoied to " SVADeodexerForArtx32 " folder
9.then click on app, priv-app, and framework
10. press execute
11. it will take 3 to 4 minutes to deodex your stock rom
12. now after execution completes you will see a log in which it says
symlinks are needed
so you must add them in your updater-script of your flashable zip
13 If you dont know then get META-INF folder of your model from any devs
14.now make a flashable zip of the system folder including boot.img
15.Goto twrp and flash the zip
Good luck bro
Make backup of old rom so that if anything goes wrong you can revert back
Click to expand...
Click to collapse
I can't thank you enough, I did as you said and reached the step where I need to to find those symlinks (btw: I have no idea what they are or where to get a META-INF folder :cyclops
During the execution it encountered an error, here:
I don't know if it's ok or not because at the end when the log opened I saw that the files were deodexed without any errors:
Is it safe to continue?
Royal_R said:
I can't thank you enough, I did as you said and reached the step where I need to to find those symlinks (btw: I have no idea what they are or where to get a META-INF folder :cyclops
During the execution it encountered an error, here:
I don't know if it's ok or not because at the end when the log opened I saw that the files were deodexed without any errors:
Is it safe to continue?
Click to expand...
Click to collapse
Is java sdk installed ??
if not install latest one
get META-INF folder from your device customs roms
Related
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FIRST READ THIS !!!
-I will try to put it simple , and remember I don't know everything!
-I'm not a helpdesk , somethings you need to figure out yourself , don't expect me to put all my time in guiding you personal so please don't pm me about questions!!
-Second this is not a request thread , this is a do it your self thread!!!!!!
-I start with simple things and build my way up! I will also point you to the tools or upload the tools you need when it comes to that.
-All things I post here are mods I tried so if it doesn't work on your pc , IT is your pc setup not mine!
(My system is Windows 7 64bit professional.)
Click to expand...
Click to collapse
Mods that need no decompiling and recompiling of a APK (Difficulty Level x---)
(Only thing you need for this is WinRar or 7Zip and Graphic program)
1:Changing background color of the MENU on ICS.
-Extract the framework-res from the rom zip (system/framework) using a zip extracter (WinRar or 7Zip)
-You got the "framework-res.apk" , you extract that with WinRar like you would extract a zip file.
-Now you got the "framework-res" folder with his extracted content in that folder.( Remember this is not decompiling so only simple .jpg/png files can be switch this way NOT ".9.png" files)
-Now navigate to "framework-res/res/drawable-nodpi = background_holo_dark.png".
-You can use 2 sizes for it , default size is 512x512 the other size you can use is 1155x685 (for pictures with more than colors)
-Mod background_holo_dark.png the way you want.
-If finisched you select all folders and files (ctrl-a) in the "framework-res" folder and create a new zip file of it , BUT as you want to create it you change the "framework-res.zip" to "framework-res.apk " , now you create it with WinRar on store setting !
-You should have your own framework-res.apk now .
-Get the" MOD-INSTALLER.zip " I put in the attachments and you open it with WinRar (don't unpack it) , there is a folder "system/framework" , navigate to it using WinRar and now you drag the "framework-res.apk" you modded to that folder.(WinRar will ask to put it in the .zip file , you confirm this ).
-Put the "MOD-INSTALLER.zip " on your tablet and flash with CWM.
Click to expand...
Click to collapse
2:Changing the soft touch buttons(Home , Back , Menu , recent) and more icons like Wifi , etc.......
(This not for battery % mod , for that we need to decompile or use a SystemUI with battery % mod already build in , I will upload one that is prepared for battery% and one stock , see attachments)
(On a later stage we are going to build our own SystemUI.apk with battery% mod included and change the statusbar , but that involves decompiling , signing , and modding .9.png images and is of modding level ,xxx-)
Using the attached SystemUI =
Rename the "STOCK-SystemUI.zip" to "SystemUI.apk" before you flash it.
Rename the "%-SystemUI.zip" to "SystemUI.apk"before you flash it.
Click to expand...
Click to collapse
-Extract the "SystemUI.apk" from the rom zip (system/app) using a zip extracter (WinRar or 7Zip)
-You got the "SystemUI.apk" , you extract that with WinRar like you would extract a zip file.
-Now you got the "SystemUI" folder with his extracted content in that folder.( Remember this is not decompiling so only simple .jpg/png files can be switch this way NOT ".9.png" files)
-Now navigate to "SystemUI/res/drawable-mdpi = Here you can find all the Icons for the soft-touch buttons , wifi icons , AcerRing Icon and battery Icon
-Mod ....png the way you want or replace them with other icons but respect the image size as much as you can (A little of is no problem) .
-If finisched you select all folders and files (ctrl-a) in the "SystemUI" folder and create a new zip file of it , BUT as you want to create it you change the "SystemUI.zip" to "SystemUI.apk " , now you create it with WinRar on store setting !
-You should have your own SystemUI.apk now .
-Get the" MOD-INSTALLER.zip " I put in the attachments and you open it with WinRar (don't unpack it) , there is a folder "system/app" , navigate to it using WinRar and now you drag the "SystemUI.apk" you modded to that folder.(WinRar will ask to put it in the .zip file , you confirm this ).
-Put the "MOD-INSTALLER.zip " on your tablet and flash with CWM.
Click to expand...
Click to collapse
Changing the layout of the AcerRing.
(I added the stock AcerRing.apk in attachments , just rename it from AcerRing.zip to AcerRing.apk)
-Extract the "AcerRing.apk" from the rom zip (system/app) using a zip extracter (WinRar or 7Zip)
-You got the "AcerRingI.apk" , you extract that with WinRar like you would extract a zip file.
-Now you got the "AcerRing" folder with his extracted content in that folder.
-Now navigate to "AcerRing/res/drawable = Here you find all the .png's that you can mod to change the look of the ring.
-Mod ....png the way you want (YOU NEED TO RESPECT THE IMAGE SIZE).
-If finisched you select all folders and files (ctrl-a) in the "AcerRing" folder and create a new zip file of it , BUT as you want to create it you change the "AcerRing.zip" to "AcerRing.apk " , now you create it with WinRar on store setting !
-You should have your own AcerRing.apk now .
-Get the" MOD-INSTALLER.zip " I put in the attachments and you open it with WinRar (don't unpack it) , there is a folder "system/app" , navigate to it using WinRar and now you drag the "AcerRing.apk" you modded to that folder.(WinRar will ask to put it in the .zip file , you confirm this ).
-Put the "MOD-INSTALLER.zip " on your tablet and flash with CWM.
Note about AcerRing:
AcerRing is not supported on all ICS roms , just flashing the AcerRing.apk is not enough to make it work, that is rom building and a whole different thing
Click to expand...
Click to collapse
Changing the default wallpapers or creating your own:
(I added a template(created by scottw714) (A500 HD Template.psd in a zip file ) in attachments that you can use to mod wallpapers so if you put a text in the wallaper it is put in the center or you can line it out with the helping lines , you will need a graphic program that support this type of working file (I use "paint shop pro" for all my modding)
-Extract the "Launcher2.apk" from the rom zip (system/app) using a zip extracter (WinRar or 7Zip)
-You got the " Launcher2.apk " , you extract that with WinRar like you would extract a zip file.
-Now you got the " Launcher2" folder with his extracted content in that folder.
-Now navigate to " Launcher2/res/ drawable-sw600dp-nodpi = Here you find all the wallpapers.
-Mod ....wallpapers or replace the ones that are there ,but you need to keep the original name (so just adding wallpapers won't work) and you need to respect the size. You got the excual wallpaper (1920x1408) and the _small version (180x180)is the one you see when you select it in settings.
-If finisched you select all folders and files (ctrl-a) in the "Launcher2" folder and create a new zip file of it , BUT as you want to create it you change the "Launcher2.zip" to "Launcher.apk " , now you create it with WinRar on store setting !
-You should have your own Launcher2.apk now .
-Get the" MOD-INSTALLER.zip " I put in the attachments and you open it with WinRar (don't unpack it) , there is a folder "system/app" , navigate to it using WinRar and now you drag the "Launcher2.apk" you modded to that folder.(WinRar will ask to put it in the .zip file , you confirm this ).
Click to expand...
Click to collapse
Changing the bootanimation
You got 2 options , use the BootAnimation-Flasher or do it manualy.
Using the BootAnimation-Flasher (see attachments):
-You open the "BootAnimation-Flasher with winrar or 7-zip (don't upack).
-Go to the folder system/media = here you put your "bootanimation.zip" (and it has to have that name!!!)
-Put the "BootAnimation-Flasher on your tablet and flash with cwm ( Your current bootanimation will be overwriten)
Doing it manualy (you need to have full root):
-Use a file manager with root permission (example: EsFileExplorer)
-Navigate to system/media = Here you put your "bootanimation.zip" (and it has to have that name!!!)
-You can backup your other (if there is one already installed) bootanimation.zip in system/media by copy/past it to a other place or just by renaming it to "bootanimation.zip.bak"
Note :
If you delete the "bootanimation.zip" and don't replace it in system/media you will get the stock android bootanimation , that is present on all Stock Acer ICS roms.
Click to expand...
Click to collapse
More to come , I will try to do something everyday.
Decompiling & recompiling apk
Decompiling and recompling APK (Difficulty level xxx-)
First we need
-Install android SDK and make sure when you run installation you select the tools and platform tools to install.(rest is of no use for Decompiling and recompiling a apk.
modding)
-Install Java SDK (JDK & JRE)(I install the Java SE 7.. and the SE 6.. as some tools only run on SE 6..) Make sure you install the JAVA Runtime (JRE)
-APK_MAnager_ICS that I put together so it works on ICS apk's.
You can also use APK-MultiTool , just google it but I don't like that new layout (personal I think)and the decompiling and recompiling doesn't work on ICS without problems.
Click to expand...
Click to collapse
We are gonna build the battery% mod into the SystemUI.apk(you can use the Stock SystemUI that I added in attachments above).
Extract the APK-Manager_ICS.zip and open that folder , You click on the "script.bat" , if nothing happens or you get a error (no adb) some of the Java stuff is missing or not installed correctly or the android SDK is not installed !!!!!!
Now lets begin building our SystemUI % mod
Decompiling:
-You place your APK in the folder "place-apk-here-for-modding
-Look at screenshot , make sure you use the correct apktool.jar , you find these in the APKtool-switch folder that I put in there. You put the correct apktool.jar in the folder "other" , if you use the wrong one decompiling and recompiling won't work.
You set your project
Select your project apk
Decompile
MODDING YOUR APK FOR %Battery
-Now in the "projects" folder you got to SystemUI/res/drawable-mdpi , here you add your battery icons from 0 - 100 , you can do this also for the charging icons.(I never change the charging stage icons ,I'm not interested to see a charging level in %)
-After you did that you go to SystemUI/res/drawable-sw600dp-mdpi , and here you delete all the battery icons , also the charging icons(just to save you some work)
(In this folder you also find the notify panel but these are .9.png files , that is for later but if you want to mod these now is the time)
-Now you go to SystemUI/res/drawable , here you replace the "stat_sys_battery.xml" with the one I put in the attachments (unpack the zip and use the xml file that is in it) Why use this XML , well then you don't need to mod it yourself.
If you also changed the charging level into % you need to change the "stat_sys_battery_charge.xml". Also see attachments.
Click to expand...
Click to collapse
RECOMPILING
-Now you go back to the Script.bat and run it , select your project (22) and choose the SystemUI (1 in this case) and select the option "11" , Recompile.
-It will start ...........
-Answer "Yes" when it asks wheter it is system file
-Answer "Yes" when it asks "would you like to copy over any additional files...?"
-Script is paused => (don't press a key) and a 'keep" folder is created.
-Go to the "keep" folder (it's in the same folder than "script.bat")
In this "Keep" Folder, (DON'T MISS A STEPP !!!)
-delete "resources.arsc" file (You always do this when you changed XML files)
-delete originals "stat_sys_battery.xml" and "stat_sys_battery_charge.xml" from the "keep\res\drawable" folder
-delete all originals battery PNGs in / res/drawable-mdpi that were meant to be edited and delete the battery icons in /res/drawable-sw600dp-mdpi .
- Go back to "script.bat" and press a key to finish the job
Click to expand...
Click to collapse
-Your new "SystemUI.apk" has been created in the "\place-apk-here-for-modding\" folder. It's called "unsignedSystemUIapk".. but it's not working yet.
-Unzip all the content of the "unsignedSystemUI.apk".
-Select all the files in the "unsingedSystemUI" folder (ctrl-a) and with Winrar/7zip BUT as you want to create it you change the "SystemUI.zip" to "SystemUI.apk " , now you create it with WinRar on store setting !
-Get the" MOD-INSTALLER.zip " I put in the attachments and you open it with WinRar (don't unpack it) , there is a folder "system/app" , navigate to it using WinRar and now you drag the "SystemUI.apk" you modded to that folder.(WinRar will ask to put it in the .zip file , you confirm this ).
-Put the "MOD-INSTALLER.zip " on your tablet and flash with CWM.
Click to expand...
Click to collapse
NOTE !!!!
If it doesn't work from the first time keep trying you missed a step , If you got a error on decompiling or recompiling is because you are not using the correct "apktool.jar" that you need to put in the "other" folder. Or you missed a step.
Or you are using a apk that is corrupted with a previous mod (that is why I decompile and recompile all my mods so I can build on them , just copy/past images like in the easy step guide can result in errors when decompiling such a copy/paste apk.).
Click to expand...
Click to collapse
reserved2
Knowledge is power and this is why we share
thank you civ
You are a boss civato.
Envoyé depuis mon A500 avec Tapatalk
I'm not a helpdesk , somethings you need to figure out yourself , don't expect me to put all my time in guiding you personal so please don't pm me about questions!!
-Second this is not a request thread , this is a do it your self thread!!!!!!
Click to expand...
Click to collapse
Civato , you are now , you know that!!!!lol!!!!
Bossman civato
Sent from my Galaxy Nexus using Tapatalk 2
Added soft touch button mod.
Awesome!!!!!!!!!!
Thanks so much. Will have to give this a go.
Sent from my A500 using xda premium
Nice work, very useful
Added some more stuff , enjoy.
Hey, great work Civato! Just wondering, will your Mod Installer zip work with Thor's ROM? Thanks for everything!
chaosking121 said:
Hey, great work Civato! Just wondering, will your Mod Installer zip work with Thor's ROM? Thanks for everything!
Click to expand...
Click to collapse
Yes.
civato,
Decided to post this question in your modding ics thread.
I'm using the stock Acer_AV041_A500_1.031.00_WW_GEN1-FULL-ROOT zip you posted in another thread. I am slimming it down a bit but am having trouble finding the Docs to Go apk and odex files to remove them. It use to be DTG.apk in the system/app folder in 3.2. Is it under a different name somewhere in the original zip?
After install, the apk shows in the system/vendor/app; but in the original zip the vendor folder only contains fake.txt
Any help locating these would be appreciated.
Thanks
bytemehard said:
civato,
Decided to post this question in your modding ics thread.
I'm using the stock Acer_AV041_A500_1.031.00_WW_GEN1-FULL-ROOT zip you posted in another thread. I am slimming it down a bit but am having trouble finding the Docs to Go apk and odex files to remove them. It use to be DTG.apk in the system/app folder in 3.2. Is it under a different name somewhere in the original zip?
After install, the apk shows in the system/vendor/app; but in the original zip the vendor folder only contains fake.txt
Any help locating these would be appreciated.
Thanks
Click to expand...
Click to collapse
The stock one stores it in flexrom folder. That is where Acer puts his stuff.
possible to ad "change boot animation" ?
z-control said:
possible to ad "change boot animation" ?
Click to expand...
Click to collapse
yes, if i got time I do a quick write up on that.
EDIT:
Done , added the how to change bootanimation
I'm also working on the guideon how to decompiling and recompiling systemUI for battery% mod and statusbar modding , will take a few days as I'm very busy.
Decompiling & recompiling apk
New , see post 2 , level xxx-
Thanks civato
Envoyé depuis mon GT-I9100 avec Tapatalk
Thanks civato
Hey Guys,
This is a small tutorial for those who want to Deodex a Single Application manually.
Deodex And Odex:
The APKs or JARs of Android contain certain .odex files whose supposed function is to save space. These ‘odex’ files are actually collections of parts of an application that are optimized before booting. Doing so speeds up the boot process, as it preloads part of an application. On the other hand, it also makes hacking those applications difficult because a part of the coding has already been extracted to another location before execution.It will make your faster theoretically even though it would be too small to notice.When deodexing the .odex file is changed to classes.dex file. Deodexing also allows us to theme and install mods.Many of the Stock Roms and CyanogenMod 7 roms are now odexed and to theme them or to add mods we need to have it deodexed. So lets learn how!!
Deodexing:
Preparation:
Hope you have Java Development Kit installed on your computer to run the scripts.Get it from: here.Select you OS from the list and download the suitable package.(We would need the full thing and not the Demo versions.)
Download the Attached .zip File
Extract its Contents to a Folder.(Extracting to a New Folder in the Desktop is Preferred for Ease)
We will name this Folder with the Extracted Contents as Deodex(or any name that you like)
Procedure And Explanations:
First of all copy the Application file that you need to Deodex.A Android Application file is the .apk file found in the system/app directory.Copy the .apk file and the .odex file of the application that you want to Deodex and paste in the Deodex folder(Folder to which the attachment's contents was extracted)
Now go to your system/framework directory and you can see a lot of .jar and .odex files in this folder and copy all its contents to the folder to which the attachment's contents was extracted.
Before doing anything more backup your rom and the application file(If anything goes wrong you can use it then)
To Deodex a application you need to specify its "BOOTCLASSPATH" files. BOOTCLASSPATH are files that contain the classes for an application or in simple language BOOTCLASSPATH files are those files that are required by a android application to run properly. They are actually those files that we have copied from the system/framework directory to our Deodex folder. There are mainly 5 BOOTCLASSPATH files for every android rom.They are: android.policy.jar , core.jar , bouncycastle.jar , ext.jar , framework.jar
All apps are dependent on these files but some apps are dependent on some other BOOTCLASSPATH files.So sometimes the problem is that we actually dont know to which of these files is a particular app dependent to.So we will have to specify all the BOOTCLASSPATH files or the .jar files in the system/framework directory.So problem solved!! Now enough with the theory class,lets proceed to the practical classes!!!!!
Open Command Prompt.
As an example we will Deodex Settings.apk
Type in this command in Command Prompt:
Code:
java -Xmx1024m -jar baksmali.jar -c :am.jar:android.policy.jar:android.test.runner.jar:bmgr.jar:bouncycastle.jar:
com.android.location.provider.jar:com.google.android.maps.jar:sonyericsson.suquashi.jar:
core.jar:corej-unit.jar:ext.jar:framework.jar:ime.jar:input.jar:java.awt.jar:javax.obex.jar:monkey.jar:pm.jar:
:services.jar:sqlite-jdbc.jar:svc.jar -x Settings.odex
Here:
-Xmx says the heap memory needed.In the above command it is given to 1024m. Sometimes deodexing may have errors due to the low heap memory.So set it to 1024m itself.
-jar baksmali.jar says the program to run baksmali.jar file.
-c says that the following files are the BOOTCLASSPATH files of the application we are deodexing.
-x says the name of the application that we are deodexing.It should end with .odex extension.
Note:
When you specify the .jar files just add all those .jar file names in the system/framework folder(only add the .jar files and not the .odex files).Ensure that you have added the .jar extension at the end of each file. Separate the .jar files with colon " : " symbol.
If you have made no spelling errors and have done everything mentioned you will get a folder named "out".
Now we have to smali the out folder into classes.dex file.
So again type in the Command Prompt:
Code:
java -Xmx1024m -jar smali.jar out -o classes.dex
Here:
-o says what the output file should me named to.Dont rename the classes.dex file into anything else.
Now you will have a file in our Deodex folder(Folder to which the attachment's contents was extracted) called "classes.dex".
Finalizing:
Now open the application's .apk file(which you were trying to deodex) with WinRar.
Move the classes.dex file that you got to this .apk file.(Just drag and drop it to the .apk file opened with WinRar.)
Now you will have a deodexed .apk file.
Note: After deodexing you will have to delete the .odex file of the particular application which you had deodexed.
I will make a guide to Odex back a Deodexed application soon!
Hope this guide helps you....
For any doubts or questions please post it here in this forum and I will try to attend to it.........
Re: Deodex A Single Application
Thanks bro..
Good tut..
sent from my phone using hands and brain...
thanks
Re: Deodex A Single Application
Good tut...
But quite long
Sent from my W8 using xda app-developers app
hey...nice tutorial and nice explanation :good:
thanks
Re: Deodex A Single Application
But helpful too...
sent from my phone using hands and brain...
Gogeta said:
Good tut...
But quite long
Sent from my W8 using xda app-developers app
Click to expand...
Click to collapse
I made it long so that everyone understands.Even those who are very new to android
i'm stucked when i try to deodex settings.odex..
any suggestions???
Hidzrie said:
i'm stucked when i try to deodex settings.odex..
any suggestions???
Click to expand...
Click to collapse
you must deodex
settings.apk + settings.odex.....
i've already follow exactly like the tutorial above but cmd just stucked...
in 'out' folder there are \com\android\settings\ folder and these files were in it and nothing more:
AccessibilitySettings$1.smali
AccessibilitySettings$2.smali
AccessibilitySettings$3.smali
AccessibilitySettings$4.smali
AccessibilitySettings$5.smali
AccessibilitySettings$6.smali
AccessibilitySettings.smali
please anyone help..
Credit/thanks: http://forum.xda-developers.com/showthread.php?t=1208320 ?
Hidzrie said:
i've already follow exactly like the tutorial above but cmd just stucked...
in 'out' folder there are \com\android\settings\ folder and these files were in it and nothing more:
AccessibilitySettings$1.smali
AccessibilitySettings$2.smali
AccessibilitySettings$3.smali
AccessibilitySettings$4.smali
AccessibilitySettings$5.smali
AccessibilitySettings$6.smali
AccessibilitySettings.smali
please anyone help..
Click to expand...
Click to collapse
follow the highlighted lines and try again and deodexing takes time according to your computer's ram.so be patient.if you still cant do it then just upload the system=>framework folder and the app you want to deodex and its odex file and Private Message me the links. I will check whats the problem.
L_S said:
Credit/thanks: http://forum.xda-developers.com/showthread.php?t=1208320 ?
Click to expand...
Click to collapse
this can be found in the android sources site but it not so easy to understand for beginners so i made it a little easier to understand and i didnt refer that guide because all is clearly written in the android sources site.
i understood why some of you are making mistakes when trying to deodex a apk or jar file.
its because you are copying exactly the same bootclasspath files that i specified in the guide.
it varies depending on your device and your rom. So I have made some changes in my guide.some lines are highlighted in red.
follow those lines.
Hidzrie said:
i'm stucked when i try to deodex settings.odex..
any suggestions???
Click to expand...
Click to collapse
Specify your device and rom that you use. Are you sure that you followed what i told itself? Try it once more as I have made some more changes in the guide to help you guys.
Still if you cant do it then just copy your framework folder and the apk and .odex file that you want to deodex and pm me. I will try to deodex it.
fotak-x said:
you must deodex
settings.apk + settings.odex.....
Click to expand...
Click to collapse
no fotak we dont need to deodex settings.apk. We only need to deodex the .odex file but we will have to keep the apk file also in the same folder.
Leon1234 said:
Specify your device and rom that you use. Are you sure that you followed what i told itself? Try it once more as I have made some more changes in the guide to help you guys.
Still if you cant do it then just copy your framework folder and the apk and .odex file that you want to deodex and pm me. I will try to deodex it.
Click to expand...
Click to collapse
I'm using samsung gt-s5830i.. Rom simplicity v4..
I've tried like many times..still wont work..
Hidzrie said:
I'm using samsung gt-s5830i.. Rom simplicity v4..
I've tried like many times..still wont work..
Click to expand...
Click to collapse
dont worry,we can figure it our!
what error are you getting in command prompt?
can you give the lines that come up in command prompt?
Leon1234 said:
dont worry,we can figure it our!
what error are you getting in command prompt?
can you give the lines that come up in command prompt?
Click to expand...
Click to collapse
There are no error appear on cmd..
After I insert a command to deodex settings.odex and press enter, it just like nothing happen...
There are no error appear on cmd..
After I insert a command to deodex settings.odex and press enter, it just like nothing happen...
Click to expand...
Click to collapse
you will have to wait for some time when deodexing depending on the ram of your device.
what is the ram of your computer?
and do you have java 7?
Holla Guys this i am back with a Guide which you would have seen many times on XDA but still were you able to follow them??
And answer is "NO"as they all focus on Android Kitchen which is a big tool but not a wall for blind!! Mark it you will have to use your own sense(Not Htc Sense ) while making a ROM!
But then also i can provide you a Boost Start in Android Development World for Sure
This tutorial is specially for
Newcomers to the world of Android
People who want to create their own ROM but unable to do so as it is going over the head
People who did not had any encounters with Programming
Even Experienced One
Click to expand...
Click to collapse
Thanks to
Click to expand...
Click to collapse
dsixda for his ultimate kitchen
lokeshsaini who is the original writer i have just modified it and simplified for better understanding
Neroyoung -For his video tutorials
If i left any one's name PM me
Click to expand...
Click to collapse
Tools Required : (Report me dead links please)
Java JDK Download Link-For Installing Cygwin
(Note: Do not install Cygwin before the JDK!!
Click to expand...
Click to collapse
Android Kitchen Official Thread
Cygwin Link-Linux Terminal on Windows
Apktool/Apkmanager
Notepad++-For editing .xml files
7-Zip-Handy tool
Click to expand...
Click to collapse
Part 1: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
Code:
*Before you do anything install the java jdk*
watch this video tutorial by gitagaire for how to setup cygwin and kitchen(recommended)
Click to expand...
Click to collapse
INSTRUCTIONS
->Download and extract the cygwin_packages.zip
-
>Run the set up(make sure there is no previous cygwin installation)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
->when it shows all the package names, go to the top and select "all default" until it changes to "all install" (you must click on the arrows)
->Download the kitchen from above. Then, extract the kitchen's .zip file to a folder under your home account. Rename the dsixda-android-kitchen-*** folder to just "kitchen". In Cygwin, this folder would depend on what was set for your Cygwin install directory, e.g. C:\cygwin\home\John\kitchen
NOTE!! If your user folder contains spaces (e.g. C:\cygwin\home\John Smith\kitchen), then the kitchen will not function properly. Instead, copy it under C:\cygwin\home\kitchen.
->Now your ready to run the kitchen type:
those who have their kitchen like this C:\cygwin\home\John\kitchen use these commands given below
Code:
[COLOR="Sienna"]cd kitchen(enter)[/COLOR]
[COLOR="DarkRed"] ./menu(enter)[/COLOR]
those who have their kitchen like this C:\cygwin\home\kitchen use these commands given below.
If you did things right you should see this:
Click to expand...
Click to collapse
Part 2:Setting up a working folder
THERE ARE TWO METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
->First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
-> Inside the kitchen it should look like this:
-> Now we need a rom to work on, for KarbonnA5 users i will recommend this rom by ME only but you can use any rom.
-> Just Place the original rom zip in the original_update folder inside the kitchen.
run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
-> Now enter option 1, enter again. You should see your rom listed, choose and enter
you will be asked about changing the working folders name, at this point it makes no difference so just continue.
congratulations you have a working folder!!!
Second METHOD -it is almost like ROM Dumping works on any device!
-> FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
IT SHOULD LOOK LIKE THIS
cygwin folder/home/your user name/kitchen/WORKING_(your rom name)
Click to expand...
Click to collapse
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - Rooted phone required!!)
This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES.
Open it and type:
Code:
su
tar -c system/* >> sdcard/system.tar
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
/etc
/fonts
/framework
/lib
/lost-found
/media
/sd
/usr
/xbin
build.prop
Click to expand...
Click to collapse
-> Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
NOW COPY THIS system FOLDER TO WORKING FOLDER
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
1. getting stock boot.img from stock rom.
extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder
2. getting custom boot.img from custom kernel.
download any custom kernel which is only for your device.
extract it with winrar or 7zip and copy boot.img to working folder
NOTE: many of new devices have kernel.bin and other files instead of boot.img so skip this part if your device don't have it...
Click to expand...
Click to collapse
Part 3 :Change/modify/update rom
YOU CAN MODIFY YOUR ROM IN TWO STEPS:
[*] MODIFY USING ANDROID KITCHEN - for basic modification.
[*] MODIFY MANUALLY. - for advanced modification.
Click to expand...
Click to collapse
2. MODIFYING MANUALLY.
Check this Guide for some MODs like center clock,CRT animation, ics and jelly bean style mods etc...
Adding/removing applications
1. Go to the working folder where you extracted your rom, inside you will find:
OR
2. Then go to "system/app" inside this folder you will find all the rom applications(apks) you may also find some in the data folder if your rom has this folder.
3. Copy, replace, and change any app(apk) be carefull if you dont know what the apk is do not delete!!
LIST OF APPS YOU CAN DELETE - HERE OR HERE
If you can not find some apps in this guide then try opening all those app in your phone and see app name and icon or move those apps from system/app to sdcard and see what is not working...
Adding new boot animation
android kitchen doesn't works for my Karbonn A5 . So we need a different method.
1) Download and extract the bootanimation and samsungani file from Custom Booting.zip attached in first post.
2) Put them in the /system/bin folder and replace the existing files there
3) Now download any boot animation, and rename the bootanimation to “sanim.zip”.
4) Now, navigate to /system/media and replace the “ODEanim” with “sanim.zip”
You are done with the bootanimation change
Edit the gps script for your country/location
1. In the workingfolder/system/etc/ you will find a file named gps.conf, you can
edit this file with notepad++ or even word.
2. using the right gps script in this file can speed up gps lock, you can
find some from angeldeath, download extract and replace the gps.conf.
Adding ringtones :
Take your ringtone file...it should be in .ogg format..If not then convert it to .ogg..
Locate to the folder system>media>audio>ringtones>
Copy and paste your .ogg files here in ringtones folder..
You can also change notifications, alarm and UI tones like this..
Changing the Fonts :
Take your desired font.ttf file and rename it as DroidSans.ttf..
Locate to the folder system>fonts>
Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
To change the lock screen clock font...replace the Clocktopia.ttf with your desired one..(rename first)..
build.prop tweaks!!
check this or this or this post for build.prop
NOTE: EDIT BUILD.PROP WITH NOTEPAD++. SIMPLE NOTEPAD WILL CORRUPT THE FILE.
Click to expand...
Click to collapse
Click to expand...
Click to collapse
Part-4 Theming Your ROM
Via UOT Kitchen
Apex said:
Credit to Jermaine151
Click to expand...
Click to collapse
Deaaling with .9 pngs
Here neroyoung will teach you how to deal with the pngs ening with .9 extension
Click to expand...
Click to collapse
Some Great and simple Guides
All things needed theming thread by theimpaler747
Theming .apk byAndrewtst
How to make "basic" theming mods + .9.png tutorial by dully79
Cooking with UOT Kitchen by Apex
[GUIDE]Theming Guide for changing system text settings(Recommended)
[TUTORIAL][ICS][GB]How to change Android's black background(By me)(recommeded)
[Tutorial]-ICS-AOKP/CM9-UPDATED-Miscellaneous MODS[Nav bar,Notification header etc](most recommeded)
MORE ADVANCE MODIFICATION (starters for beginners)
editing .apk files
THERE ARE TWO BEST TOOLS FOR EDITING .APK FILES
1. APKTOOLS
This video by neroyoung teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files
2. APK Manager
this video by adgoosuc teaches you How to unpack,repack and sign an APK File with APK Manager
Editing .JAR Files
In this video by neroyoung you will get information on how to edit .jar files like services.jar using APKTOOL
How to integrate an app in settings(recommended)
Thread Junction
adding mods and scripts...
download mods and scripts from links below and copy past all files in same folder as your rom... like for init.d scripts add them to system/etc/init.d/here and all permissions in updater script to your updater script...(dont forget to give them credit for it...)
links:-
Tweaks
[TweakZV6] Init.d best tweaks[Flashable] Increase your performance by [email protected]
Collection build.prop; init.d; etc. by optik19918
init.d Tweaks collection by dsexton702
[SCRIPTS][TWEAKS][CWM]SlaidyBoost-V2.3 by slaid480
[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine by ImbaWind
V6 SuperCharger by zeppelinrox
[SCRIPTS]CronMod-A2SD/D2EXT/INT2EXT by croniccorey
Maximum MultiTasking Mods + V6 SuperCharger BY zeppelinrox
All in one tweaks build.prop,init.d,Wifi,Xloud,Bravia,A-Gps,A/V Sync,Modules by XtremePeople
Xloud and Bravia engine by aiman112
Sound/Audio MODs
AwesomeBEATS™ v.3 by ...Awesome...
(MOD)Beats Audio(2.3+up) by RockoDev
Tuned MegaBassBeat by kurotsugi
[AROMA] Beats Mode - Enhanced Beats sound V7.5 by MemAllocatoR
Miscellaneous Tweaks
Interactive Phone Modification [GUIDE]
ICS Style 'Settings.apk' - Make it yourself by balamu96m
StatusBar Tweaks by Master&Slave™
Change lockrings on any rom by daveyannihilation
change ICS lockscreen animation to Honeycomb style by evilisto
S Voice for any devices [ICS] by PlaYOuT
Implement Swipe to Remove Notification by hansip87
Remove SMS log from Call log by wilfredcool007
Activate the rotation of the lockscreen by GalaxyUser
Add 6 lockscreens Mod + Lockscreen Gestures by pratyush.creed
How to add customizable 14 statusbar toggle buttons for samsung ROM by lidroid
Create a custom notification dropdown by jeffsanace
One Click odexing for better RAM Speed
these are few i love, find more yourself...
MORE WILL BE ADDED SOON...
Click to expand...
Click to collapse
Few Guides
Xposed - ROM modding without modifying APKs/flashing
.
Compiling CWM Recovery
.
Compiling TWRP Recovery
.
Building Kernels and Android Sources
.
Porting ARM V7 Roms to ARM V6
.
Porting MIUI with JB/ICS
.
Porting Jelly Bean( A few Assists)
.
Dev Basics Collection
.
MIUI v4
.
MIUI v4 Updated- Different and Noob Friendly
.
Sense UI
.
Making a Flashable Package (Update.zip)
.
Making a CWM Flashable Zip
.
Complete Android ROM development and essential tutorials
.
Re-Odexing a ROM
.
Porting AOSP ICS ROMs
.
Compiling CM9 on Mac-OSX Lion
.
MIUI (Source GB)
.
Create your own De-Bloat Tool
.
Porting LewaOS,JoyOS for Noobs
.
UOT Kitchen Guide
.
Making your Own Custom ROM
.
Unpack or Repack an APK
.
Building your first KERNEL
.
Compile JB on Ubuntu
.
DEODEXing Stock ODEXED ROM
.
[GUIDE]How to use AROMA Installer on any ROM/Device|NOOB Friendly|
.
[Guide][How To] Adding Brightness Bar Slider to Status Bar
.
[Guide] Jellybean navigation layout for CM7 ROM
.
[GUIDE] How to add TABS to Settings with swipe gesture
.
[DEV][TOOL] Android Image Kitchen - Unpack/Repack Kernel/Recovery + ramdisk
.
[EASIEST WAY ROM DUMP] ROM dumping method for any phone
.
How to use GitHub
Other Modding and Theming:
Remap Hardware Button to ICS Recent Apps
.
Create GB Dictionary for your Language
.
ICS Recent Apps Button/Softkeys to Status Bar
.
Smooth Scrolling and Volume Increase
.
Re-Odexing a ROM
.
How to LogCat
.
Convert .jar to .apk
.
Setting up Android Dev Environment in Ubuntu 11.10
.
Modifying APK Files
.
Modifying APK files - Another Method
CREDITS:
Credits to the Original Developers/Writers for posting this stuff.
I am just linking it to their threads, all credits go to them.
NOTE:
If you find any other Topic that maybe useful, Post it in comments, so that We can make a huge thread of Guides.
THANK YOU ALL:
I Thank you all for referring to this.. I have just searched a bit and though making a thread would be useful. I am really Happy that it helped many of you!! Will keep adding!!
Click to expand...
Click to collapse
Last but the not the least: repackage the rom
AFTER YOU HAVE DONE ALL CHANGE/MODIFICATION YOU WANTED OPEN CYGWIN AGAIN AND TYPE
now convert update script to updater script(in option 23)
now lets edit updater script(optional)
the updater-script basically tells CWM what steps to take during the installation(flashing rom).
If you don't have any experience please don't edit anything other than what is in this simple tutorial.
TO EDIT UPDATER SCRIPT -
1.Go to META-INF/com/google/android
2.Open the updater-scrip file with Notepad++
3.Any text that would appear during the CWM install should be in this format :
Code:
ui_print("Put your text in HERE");
Add your text start at top and save,
then replace with new updater-scrip
Add New Aroma Installer to your ROMLink to Guide(By Me only)
AND AT LAST
[*]Now that you have made some changes it's time to pack the rom and test!!
Run the cygwin and type
enter option 99 - "biuld rom from working folder"
Choose your build option and few more enters
I recommend that you go with all default options until you get more experience with the kitchen.
When rom is packed and signed it will ask to change rom zip name (type name of your rom)
When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
Inside the folder is your new rom ready to be flashed and tested!!!
IF YOU WANT THAN YOU CAN MAKE CWM FLASH ABLE ZIP'S MANUALLY USE THIS TOOL BY I.AM.H3RO
congratulations you have build your own rom
TROUBLESHOOTING
If you are facing java related problem with cygwin than refer post #8
If you have a rom without kernel then remove these lines:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
If there is a package error then extract the files of the rom and repack them using any compression software.
If rom installed correctly but stuck onto logo screen?? Then remove try removing kernel and flashing rom again.
If rom installed correctly but got onto bootloop then there could be many possibilities which could lead to this. If you want accurate cause of it then do a logcat.
If there are some apk's which are not working then check if you correctly modded them.
Now what do you want more in a thread
Just Press thanks button and rate the thread 5 Stars and Show your Appreciation :highfive:
Well you beat me to it,i was contemplating wether or not i should do this,hahaha,very nice,i see your not finished yet,if you need any help,pm me,i have been using the kitchen for a couple of years now.I've learned a few tricks you can do with the kitchen.
Re: [UltimateGUIDE][How-to]Create your Own Custom ROM an easy way|Android Secrets -_-
You have done that like a boss..8|
Sent from my Karbonn A5 using xda premium
shreyans4020 said:
You have done that like a boss..8|
Sent from my Karbonn A5 using xda premium
Click to expand...
Click to collapse
hehehehe thank you
good
epic guide bro..
sahil11 said:
epic guide bro..
Click to expand...
Click to collapse
Press thanks button+ Rate the thread also
Thread cleaned
Discussions of the sort I just removed from this thread need to take place privately. Very little will get accomplished when they get posted on the forum. The primaries need to take this to PM and send me a message when an agreement has been reached.
An excellent piece of work...Awesome
coolbud012 said:
An excellent piece of work...Awesome
Click to expand...
Click to collapse
And if you ever gets confused post here and i will do my best to solve it
Diablo67 said:
Well you beat me to it,i was contemplating wether or not i should do this,hahaha,very nice,i see your not finished yet,if you need any help,pm me,i have been using the kitchen for a couple of years now.I've learned a few tricks you can do with the kitchen.
Click to expand...
Click to collapse
u can share you New Stuffs which u learning from Kitchen here too if you can Plz
hello, congratulations for the very detailed but the last step guide tells me that java is not installed, I installed java jdk 7u17. How can I fix?
I already tried reinstalling java but no change, here is a photo of the error https://pbs.twimg.com/media/BGcGYNOCIAAy4bk.jpg:large
EDIT: I solved, on Windows 8 64bit, java jdk is installed in x86 version, I had downloaded the x64 version. Now it works
Thanks for the guide, its great! But I have a problem, everytime I compile the zip I have a status 6 error, what do I have to edit with notepad++ in the update-script to make it work? Its quite frustrating xD And its already in Unix code ^^
Hello,
Yesterday night I was trying to decompile Settings.apk with apktool...
Bt it was being unsuccessful on every try...
Showing errors, see attachments.
plz guide..
LINK: http://d-h.st/mk9
Try with another apk decompiling tools.
aniket.lamba said:
Try with another apk decompiling tools.
Click to expand...
Click to collapse
tried with apkmanager... not wrking..
EDIT: Can I give u the apk to decompile.. as im noob in these things
Did you import "framework-res.apk" and "twframework-res.apk"?
If yes then are you using the same framework from the same rom of the "settings.apk" or your using settings.apk of other rom?
Sent from my GT-S5360 using Tapatalk 2
just load it up,together with your framework-res.apk and twframework-res.apk,so we can help i hope.
-CALIBAN666- said:
just load it up,together with your framework-res.apk and twframework-res.apk,so we can help i hope.
Click to expand...
Click to collapse
WTF, giving error while uploading zip.. :/
your first screenshot shows that you have not placed framework-res.apk in the location your command prompt is at
in other words you did not place framework-res.apk in the location c:\new folder
just as a tip - when working with dos prompt - never put a space in folder or file names - it doesnt like it
marcussmith2626 said:
your first screenshot shows that you have not placed framework-res.apk in the location your command prompt is at
in other words you did not place framework-res.apk in the location c:\new folder
just as a tip - when working with dos prompt - never put a space in folder or file names - it doesnt like it
Click to expand...
Click to collapse
No, Ive placed two folders named 'apktool' and 'new folder'...
'apktool ' includes apkmultitool and new folder includes PY-APKTOOL, I found that here http:// http://forum.xda-developers.com/showpost.php?p=39697820&postcount=4 respectively.
Ive used apkmultitool as:
I renamed framework-res.apk as apktool if framework-res.apk and tried to decompile it. Bit i ve faced an error.
I could not install framework-res.apk in my computer..
Framework-res.apk:
I followed guide to decompile framework-res.apk from here [URL=" http://caliban666isaddicted.blogspot.in/2013/06/guide-for-change-platlogoeasytextmaybe.html?m=1" ] http://caliban666isaddicted.blogspot.in/2013/06/guide-for-change-platlogoeasytextmaybe.html?m=1 [/URL]
And done my modifications in framework-res.apk and installed it successfully.
While I was trying to decompile settings.apk, the errors were occuring..
crazysuraj said:
No, Ive placed two folders named 'apktool' and 'new folder'...
'apktool ' includes apkmultitool and new folder includes PY-APKTOOL, I found that here http:// http://forum.xda-developers.com/showpost.php?p=39697820&postcount=4 respectively.
Ive used apkmultitool as:
I renamed framework-res.apk as apktool if framework-res.apk and tried to decompile it. Bit i ve faced an error.
I could not install framework-res.apk in my computer..
Framework-res.apk:
I followed guide to decompile framework-res.apk from here [URL=" http://caliban666isaddicted.blogspot.in/2013/06/guide-for-change-platlogoeasytextmaybe.html?m=1" ] http://caliban666isaddicted.blogspot.in/2013/06/guide-for-change-platlogoeasytextmaybe.html?m=1 [/URL]
And done my modifications in framework-res.apk and installed it successfully.
While I was trying to decompile settings.apk, the errors were occuring..
Click to expand...
Click to collapse
I dont understand what you are doing with importing the framework
just do this
create a folder called apktool in the root of c: - in other words create a folder apktool so its location is c:\apktool
place framework-res.apk from the rom zip along with the apk you wish to decompile - in this case settings.apk in the folder apktool you have just created
open a command prompt as admin
type the following
cd c:\apktool
apktool if framework-res.apk
apktool d settings.apk settingsdecompiled
-CALIBAN666- said:
just load it up,together with your framework-res.apk and twframework-res.apk,so we can help i hope.
Click to expand...
Click to collapse
Ive uploaded apks
Google Drive :LINKS REMOVED
UPDATED LINK: http://d-h.st/mk9
Thank You!
crazysuraj said:
Ive uploaded apks
Google Drive :LINKS REMOVED
UPDATED LINK: http://d-h.st/mk9
Thank You!
Click to expand...
Click to collapse
no problems with decompiling that apk
Its user error - make sure you are using apktool correctly - there is no point in uploading any decompiled files because you will not be able to recompile it if you dont learn how to use it including trying anything else in the future
here is a screen shot with all my commands
make sure you put framework-res.apk and twframework-res.apk and settings.apk in the folder to which your command prompt is at - in my case its c:\apktool
marcussmith2626 said:
no problems with decompiling that apk
Its user error - make sure you are using apktool correctly - there is no point in uploading any decompiled files because you will not be able to recompile it if you dont learn how to use it including trying anything else in the future
here is a screen shot with all my commands
make sure you put framework-res.apk and twframework-res.apk and settings.apk in the folder to which your command prompt is at - in my case its c:\apktool
Click to expand...
Click to collapse
Yes Sir,
Here, its my fault and I should have knowledge if I love modding
I have to learn more things about how to use apktool : rolleyes:
Thank You...!
regards.
marcussmith2626 said:
no problems with decompiling that apk
Its user error - make sure you are using apktool correctly - there is no point in uploading any decompiled files because you will not be able to recompile it if you dont learn how to use it including trying anything else in the future
here is a screen shot with all my commands
make sure you put framework-res.apk and twframework-res.apk and settings.apk in the folder to which your command prompt is at - in my case its c:\apktool
Click to expand...
Click to collapse
What is this ??
crazysuraj said:
What is this ??
Click to expand...
Click to collapse
it means you havent installed apktool correctly and/or not got java jdk installed as well
Java development tools (JDK)
http://www.oracle.com/technetwork/ja...ads/index.html
Apktool
http://code.google.com/p/android-apktool/downloads/list
Place both apktool files in C:\Windows\
see my thread here for a full picture guide to using apktool
http://forum.xda-developers.com/showthread.php?t=2206938
also why have you renamed your apks to apktool if framework-res and so on in your screenshot thats a big no - do not rename your apk files
they should just be called framework-res.apk settings.apk and twframework.apk
you have renamed them to commands you type into a command prompt and I dont understand why you have done that!
you type in the command prompt apktool if framework-res.apk - you do not rename any files
marcussmith2626 said:
it means you havent installed apktool correctly and/or not got java jdk installed as well
Java development tools (JDK)
http://www.oracle.com/technetwork/ja...ads/index.html
Apktool
http://code.google.com/p/android-apktool/downloads/list
Place both apktool files in C:\Windows\
see my thread here for a full picture guide to using apktool
http://forum.xda-developers.com/showthread.php?t=2206938
also why have you renamed your apks to apktool if framework-res and so on in your screenshot thats a big no - do not rename your apk files
they should just be called framework-res.apk settings.apk and twframework.apk
you have renamed them to commands you type into a command prompt and I dont understand why you have done that!
you type in the command prompt apktool if framework-res.apk - you do not rename any files
Click to expand...
Click to collapse
OMG!
crazysuraj said:
OMG!
Click to expand...
Click to collapse
well done you have decompiled settings.apk to a folder called settings
make sure you use notepad++ to edit any xml files (different from windows notepad)
http://notepad-plus-plus.org/download/v6.6.3.html
to recompile just type
apktool b settings newsettings.apk
and it will recompile the folder to an apk called newsettings.apk (assuming no errors have been made in modding files)
you can then rename this apk back to settings.apk and sign it if required (if you have edited the androidmanifest you need to sign the apk) - you can use zipsigner from the playstore to sign apks if you need to - use a testkey for non system apps and a platform key for system apps
Hi,
I want to edit the SystemUI_ZKE.apk, but when I use "APK Editor Pro" for instance the apk crashes after a reboot.
What would be the right way to do this? My goal is to delete the charging.ogg file that wakes my wife as I plugin a charger when I go to bed
Any other solution to *that* problem is welcome too.
I'm on a A2017G B06 btw.
Thanks in advance,
Cheers,
/Cacti
Edit: Sorry, wrong forum, should be posted in the Questions & Answers. @mods: please move it, thanks.
le_cactus said:
Hi,
I want to edit the SystemUI_ZKE.apk, but when I use "APK Editor Pro" for instance the apk crashes after a reboot.
What would be the right way to do this? My goal is to delete the charging.ogg file that wakes my wife as I plugin a charger when I go to bed
Any other solution to *that* problem is welcome too.
I'm on a A2017G B06 btw.
Thanks in advance,
Cheers,
/Cacti
Edit: Sorry, wrong forum, should be posted in the Questions & Answers. @mods: please move it, thanks.
Click to expand...
Click to collapse
You need to use apktool on Windows or Linux instead: https://ibotpeaches.github.io/Apktool/. You'll need Java already installed.
Your device also needs to be rooted and have TWRP recovery installed.
Put the apktool.jar and wrapper script in the system directory (C:\Windows on Windows)
Pull frameworks and SystemUI from your device with
Code:
adb pull /system/framework/framework-res.apk
adb pull /system/framework/framework-zte-res.apk
adb pull /system/priv-app/SystemUI_ZTE/SystemUI_ZTE.apk
Install frameworks to your computer:
Code:
apktool if framework-res.apk
apktool if framework-zte-res.apk
Decompile SystemUI_ZTE.apk:
Code:
apktool d SystemUI_ZTE.apk
Make whatever changes you want to make then recompile with:
Code:
apktool b SystemUI_ZTE
Use signapk.jar to sign the apk then put the apk into a flashable zip and flash to your device in TWRP.
If you want to make changes to smali you'll need to pull the SystemUI_ZTE odex file and deodex the apk with oat2dex and then use 7-zip or WinRAR to paste the classes.dex file into the apk before decompiling.
Gr8 tutorial. I'll try that tomorrow, hope I get it fixed. Thank you!
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
Hi,
*
Earlier I tried with APK Editor Pro (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor.pro)
What happened was (after replacing the SystemUI_ZTE.apk with the modified APK) after a reboot the system booted with parts of the UI nog working. Navigationkeys didn't work except for the home button, and I had no status bar at all. After rebooting again it only showed my wallpaper, and no matter what I did it wouldn't show me anything else. So I had to restore.
*
Modifying the APK with the APKTool gave me the exact same result. Only thing i did differently as to bkores guide was I signed it using ZipSigner (but that never failed me before) and I just replaced the file using TWRP, instead of flashing it through an installer zip. But I can't imagine that being the problem?
*
Anyways, anybody able to modify the SystemUI_ZTE.apk? All I need is the B06 (A2017G) with a replaced charging.ogg (with only silence).*Any tips are welcome.
*
TIA,
*
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
le_cactus said:
Hi,
*
Earlier I tried with APK Editor Pro (https://play.google.com/store/apps/details?id=com.gmail.heagoo.apkeditor.pro)
What happened was (after replacing the SystemUI_ZTE.apk with the modified APK) after a reboot the system booted with parts of the UI nog working. Navigationkeys didn't work except for the home button, and I had no status bar at all. After rebooting again it only showed my wallpaper, and no matter what I did it wouldn't show me anything else. So I had to restore.
*
Modifying the APK with the APKTool gave me the exact same result. Only thing i did differently as to bkores guide was I signed it using ZipSigner (but that never failed me before) and I just replaced the file using TWRP, instead of flashing it through an installer zip. But I can't imagine that being the problem?
*
Anyways, anybody able to modify the SystemUI_ZTE.apk? All I need is the B06 (A2017G) with a replaced charging.ogg (with only silence).*Any tips are welcome.
*
TIA,
*
Cheers,
/Cacti
Click to expand...
Click to collapse
Try copying META-INF folder from old apk to new apk. If that doesn't work try copying resources.arsc from new apk to old apk and flash the old apk. Don't sign
Can it have anything to do with the .odex file?
I'll try the meta-inf thingy and see if that works
Cheers,
/Cacti
Sent from my ZTE A2017G using XDA-Developers Legacy app
Actually try this instead. I think the apk needs to be deodexed before it can be modified like you said.
Pull the odex file
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI.odex
Get smali folder from the odex file with oat2dex.jar here: https://github.com/testwhat/SmaliEx/releases/tag/snapshot
Open command window in directory of odex file
Code:
java -jar oat2dex.jar smali SystemUI.odex
Decompile the apk and then copy and paste the smali folder into the directory of the decompiled apk.
Make your charging.ogg change and then recompile the apk. Copy and paste the META-INF from original apk to new apk.
Push apk to your device and delete the "oat" folder in the SystemUI_ZTE folder on your device.
Hi,
Thank you for your support so far, but that didn't work out eighter....
bkores said:
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI.odex
Click to expand...
Click to collapse
Assuming you made a typo (since there is no SystemUI.odex) I used this instead:
Code:
adb pull /system/priv-app/SystemUI_ZTE/oat/arm64/SystemUI_ZTE.odex
bkores said:
Get smali folder from the odex file with oat2dex.jar
Click to expand...
Click to collapse
After the oat2dex command I don't have a smali folder, just 5434 smali files scattered over serveral folders, so I don't know how to proceed from there.
Cheers,
/Cacti
le_cactus said:
Hi,
Thank you for your support so far, but that didn't work out eighter....
Assuming you made a typo (since there is no SystemUI.odex) I used this instead:
After the oat2dex command I don't have a smali folder, just 5434 smali files scattered over serveral folders, so I don't know how to proceed from there.
Cheers,
/Cacti
Click to expand...
Click to collapse
Well then create a folder called smali in the directory of decompiled apk and paste the folders into smali
Can someone help me, i want to change framework.jar but there is no classes.dex in jar nor framework.odex in /system/framework/oat/arm64 (also arm). Because of it i can't decompile it with smali/baksmali tool. I want to change volume steps in AudioService exactly what VolumeSteps+ do but without Xposed. Any help? I'm on Nougat B10 Rom.
SkaboXD said:
Can someone help me, i want to change framework.jar but there is no classes.dex in jar nor framework.odex in /system/framework/oat/arm64 (also arm). Because of it i can't decompile it with smali/baksmali tool. I want to change volume steps in AudioService exactly what VolumeSteps+ do but without Xposed. Any help? I'm on Nougat B10 Rom.
Click to expand...
Click to collapse
Perhaps this can help a bit : https://forum.xda-developers.com/axon-7/themes/a2017-volume-steps-enabler-call-media-t3745747
If you want a decompiled framework, I can send you. Just pm me.
If you want I'll implement your mods and recompile again. Up to you to test
raystef66 said:
Perhaps this can help a bit : https://forum.xda-developers.com/axon-7/themes/a2017-volume-steps-enabler-call-media-t3745747
If you want a decompiled framework, I can send you. Just pm me.
If you want I'll implement your mods and recompile again. Up to you to test
Click to expand...
Click to collapse
I solved a problem, AudioService is not in framework.jar anymore, it's on services.jar. Check my post on your mentioned thread.