[MOD][XPERIA Ion] Enabled Lookscreen Rotation for deodexed LT28h 6.1.E.2.68 - Sony Xperia S, Acro S, Ion

Hello
I have rebuild framework-res.apk to enable the lookscreen rotation
My original file are a file from LT28h 6.1.E.2.68 DEODEX.
1) copy lookscreen_rotation.zip on the SDcard
2) reboot on CMW and install the previous Zip.
3) Wipe cache and dalvik cache
4) enjoy
Tutorial :
What you need (download this Zipfiles):
Java.exe
Apktool.jar
Update.zip
How to decompile :
in first time download the /system/framework/framework-res.apk from the phone en put in the APKTool folder
if you never have used APKTool
download the /system/framework/SemcGenericUxpRes.apk file from telephone to APKTool folder
inside command window go to the APKTool Folder
type : java -jar apktool.jar if framework-res.apk
type : java -jar apktool.jar if SemcGenericUxpRes.apk
Make the modifications :
inside command window go to the APKTool Folder
type : java -jar apktool.jar d framework-res.apk
with Textfile editor
open ./framework-res/apktool.yml
Delete this lines :
Code:
usesFramework:
ids:
- 2
Save the file
open ./framework-res/res/values/styles.xml
Find and replace this lines :
Code:
Find : <item name="windowBackground">@[B]com.sonyericsson.uxp:[/B]drawable/semc_bg</item>
Replace by : <item name="windowBackground">@drawable/semc_bg</item>
and
Code:
Find : <item name="windowBackground">@[B]com.sonyericsson.uxp:[/B]drawable/semc_bg_brigh</item>
Replace by : <item name="windowBackground">@drawable/semc_bg_brigh</item>
Save the file
open ./framework-res/res/values/bools.xml
Find the line : <bool name="config_enableLockScreenRotation">false</bool>
Replace false by true
Save the file
Build and Sign Framework-res.apk (Sc01.jpg - Sc02.jpg - Sc03.jpg):
inside command window go to the APKTool Folder
type : java -jar apktool.jar d framework-res framework.zip
Open framework.zip and extract the fileresources.arsc
Open the originalframework-res.apk with zipfile editor like 7zip
Replace resources.arsc by the previously extracted file
Framework-res.apk is now Ok
How to put Framework-res.apk in the phone (Sc04.jpg):
Copy Framework-res.apk in the folder /system/framework/ of the fileupdate.zip
Copy Update.zip in the phone's SDcard
Reboot the phone on CWM and make a backup (Not required, but highly recommended)
Install Update.zip and make Wipe cache and dalvik cache
Click to expand...
Click to collapse
Screenshoot :

screens?

It's imposible for me to make a lookscreen screenshot.
When I try to do, I make a screenshot of my home. I don't know why.
Sent from my LT28h using xda app-developers app

Pretty cool, it would be neat to have something like this for Xperia S.

sorry for this bad shot

So this changes your lockscreen to the aosp one, and when you have rotation enabled it rotates your lockscreen aswell?

fcb13 said:
So this changes your lockscreen to the aosp one, and when you have rotation enabled it rotates your lockscreen aswell?
Click to expand...
Click to collapse
Exactly :good:

Looking great. Like to see mod for my SXS stock deodexed .55 fw. I can upload my framework-res.apk if u hv time to do.

Can we get this with the stock locker instead of asop
Sent from my LT28i using xda app-developers app

Got the rotation working but still got the old slide unlocker, any idea what could have happened?

If you wan't I rebuild your framework-res.apk, send me the file (DEODEX only) with the versoin on MP.
Or you can wait, I will make a tutorial.
Sent from my LT28h using xda app-developers app

pepitto52 said:
If you wan't I rebuild your framework-res.apk, send me the file (DEODEX only) with the versoin on MP.
Or you can wait, I will make a tutorial.
Sent from my LT28h using xda app-developers app
Click to expand...
Click to collapse
Better the tutorial
People have to learn instead of using everything already modded, it's more fun to do something by himself
Envoyé depuis mon LT26i avec Tapatalk

niaboc79 said:
Better the tutorial
People have to learn instead of using everything already modded, it's more fun to do something by himself
Envoyé depuis mon LT26i avec Tapatalk
Click to expand...
Click to collapse
Indeed. I know how to, but it never goes right for me.
Sent from my LT26i using Tapatalk

Any chance of you modifying this to work with small apps by niaboc?

fcb13 said:
Any chance of you modifying this to work with small apps by niaboc?
Click to expand...
Click to collapse
Hello !
I have download the last Update of Small apps by niaboc and enable the lookscreen rotation.
you can download here.
The file is not tested by me. If you install on your phone, give me feed back.

techdeisel said:
Can we get this with the stock locker instead of asop
Click to expand...
Click to collapse
I found with my ion that after install I still had stock lock screen that rotated, however in landscape there is no unlock button available. Unlock only in portrait. But the music player still worked along with notifications (you can unlock screen with notification slider)
twent4 said:
Got the rotation working but still got the old slide unlocker, any idea what could have happened?
Click to expand...
Click to collapse
When reading in SKIFYR123's "ION original theme project" thread I found I needed to remove "UxpNxtLockScreen.apk" from the /system/apps folder. Now I have rotating aosp lock screen.
~Jaramie
sent by my ION

work in Xperia S???

The tutorial work on all xperia 2012 ICS
Sent from my LT28h using xda app-developers app

You Decompiled framework-res.apk can be worked?I did it many times but failed.

pepitto52 said:
Hello
I have rebuild framework-res.apk to enable the lookscreen rotation
My original file are a file from LT28h 6.1.E.2.68 DEODEX.
1) copy lookscreen_rotation.zip on the SDcard
2) reboot on CMW and install the previous Zip.
3) Wipe cache and dalvik cache
4) enjoy
Screenshoot :
Click to expand...
Click to collapse
Thanks for that tutorial!! I did the same for Xperia S!! Based in this Framework by accts http://forum.xda-developers.com/showthread.php?t=2047999
:laugh::victory:

Related

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...

[Guide][DDKQ8] Remove "Swipe screen to unlock" | Center lockscreen Clock | more...
No guide can explain every bit of information a beginner needs to know to achieve the wanted results. You need to make an effort and have patience to learn what you need.
This guide assumes that you have some basic knowledge like managing files on your phone, setting permissions, using command prompt on your computer. I will not explain what is ADB or Root Explorer or how to use them. google can help with that.
The steps described here are the steps i did on my computer (windows) and my rom (rooted, deodexed). i cannot promise to offer support, i'm a semi-noob myself.
standard disclaimer applies: Do it at your own risk & Backup your system before trying any of this.
What you will need:
• apk file compiler/decompiler: i will use apktool
• archive manager: winrar, 7zip
• Text editor : Notepad++ is recommended
• A way to manage files on the phone: ADB, Android Commander, Root Explorer
• an image editor (for some parts): Photoshop, Gimp, Paint.NET...
Part I. Decompiling
1. First you need to download and install apktool which allows you to decompile apk files and rebuild them. some people prefer APK Manager but i find apktool simpler to use.
Download these two files and export them to your Windows directory.
apktool-install-windows-r04-brut1.tar.bz2
apktool1.4.3.tar.bz2
2. Pull the file framework-res.apk from /system/framework/ on your phone and place it on your computer. for exemple under C:\lockscreen\
3. Now open a command prompt window and change the current directory to C:\lockscreen\ by entering the command
Code:
cd c:\lockscreen
Then decompile your apk file by entering the following command
Code:
apktool d framework-res.apk
This will create a new folder named framework-res within it are the decompiled contents of framework-res.apk
Part II. Editing files
Remove "Swipe screen to unlock"
1. Open \framework-res\res\values\strings.xml
2. Find lockscreen_unlock_guide_text
3. In that line, delete Swipe screen to unlock
Note: \res\values\strings.xml is for English language. if you're using a differnet language on your phone then you have to edit the corresponding strings.xml file in the proper values directory. for exemple if you're using French then you'll have to edit the strings.xml file under values-fr
Change the date format on the lock screen
1. Open \framework-res\res\values\strings.xml
2. Find mid_month_day_mid_wday_no_year
3. Replace E. d MMM. with the format you want.
Reference:
d numeric Day of the Month (1)
dd numeric Day of the Month (01)
EEE short Day of the week (Mon)
EEEE long Day of the week (Monday)
M numeric Month (1)
MM numeric Month (01)
MMM short Month (Jan)
MMMM long Month (January)
yy short year (09)
yyyy long year (2009)
exemple: yyyy MMMM d, EEEE to display 2012 March 12, Monday
Center the lockscreen clock and date
Explaining this mod step by step would take too long. All the editing is done in a single file \res\layout\zzz_keyguard_screen_clockwidget.xml
I uploaded the edited file (not compiled). All you have to do is replace you original file under framework-res\res\layout\ with this one before you compile. Advanced users can take a look at it, compare it with the original and edit it if they want/can.
I also replaced the charging icon that appears on the lockscreen. The png file is inluded with the xml file. To apply it, after you're done with Part III of this guide, open your modded apk file with winrar/7zip, browse to \res\drawable-mdpi\ then drag the png and drop it in the apk.
Part III. Creating the modded file
After we're done editing the xml files, we will recompile them and update the original apk with the modded ones.
1. Go back to that command prompt window and enter the following command to recompile the files
Code:
apktool b framework-res
(no .apk at the end)
when it's done, you will find a new folder under framework-res named build where the compiled files are placed.
2. Go to framework-res\build\apk\ copy the resources.arsc file
3. Open your original framework-res.apk file with an archive manager like winrar or 7zip (do not extratct, open with) and paste resources.arsc inside it.
4. If you used the edited zzz_keyguard_screen_clockwidget.xml file, then you have also to copy the compiled version from \buid\apk\layout\ and paste it under the same path inside your apk file.
Now your framework-res.apk is modded and ready to be installed.
5. Place the apk in your phone under /system/framework/ and set its permissions to rw-r--r--
Note: Some may prefer to copy the file to /system/ first, set the permissions and then move it to /system/framework
6. Reboot
Changing the font of the clock:
For some reason, this clock is not actual text, it does not use a font. Instead, the numbers are png files placed under /res/drawable-mdpi/
So to change the font, you will have to make new png files for each number, plus one for the column )
I uploaded the ones i made. you can take a look at them to note the dimensions and names of the files. you have to use those same names. also notice that there are two different files for the number one.
After you're done modding your framework-res.apk and just before you send it your phone, open it with winrar and browse to /res/drawable-mdpi/ then drag the png files you made and drop them inside the apk.
Flashable zips:
lockscreen_text_patch_DDKQ8.zip => remove "Swipe screen to unlock" text
LockscreenMod_Stock_DDKQ8.zip => Centered clock and mod with replaced clock font for stock DDKQ8
dali47 said:
This is a short guide explaining how to remove the "Swipe screen to unlock" text from the new galaxy-note-like lockscreen available in the new DDKQ8 rom.
i will add more details if asked for.
Click to expand...
Click to collapse
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Nice
FROM XDA APP
PRESS THNX IF I HELPED YOU
U can remove everything from lockscreen
herpderp © aint got money to pay to my fish
Thanks..!! was searching for this..!!
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
iSxy said:
Will try this today or tomorrow...can anyone tell or make a guide on how to enable crt animation on stock 2.3.6 DDKQ8
Sent from my GT-S5830 using xda premium
Click to expand...
Click to collapse
Same way as every other
herpderp © aint got money to pay to my fish
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
i dont think u can
FROM XDA APP
PRESS THNX IF I HELPED YOU
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
Yes
FROM XDA APP
PRESS THNX IF I HELPED YOU
Good guide.
Sent from my GT-S5830 using xda premium
kmarci said:
Maybe you know how to make the date display more "acceptable"? I hate how it looks in stock...
I would really appreciate a flashable zip to solve this problem.
Click to expand...
Click to collapse
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
wassupadi said:
Hey Can u tell the way by wich i can use this lockscreen in lewa rom....
Click to expand...
Click to collapse
the lockscreen it hard coded un the framework, maybe also some other files. i personally cnt do it. if you want to try to port it i can provide you with any files you need from stock DDKQ8
hanaxxaru said:
if i want to replace stock rom lockscreen, i need to replace framework-res.apk only, right?
Click to expand...
Click to collapse
not really. not all frameworks are compatible with all roms. it probably will not work. it needs to be ported. but you can try of you want. just make a backup of your system before.
iSxy said:
1 Question..
Can we just replace that Swipe to unlock text to our own custom one?
Click to expand...
Click to collapse
sure you can. just replace "swipe screen to unlock" with whatever you want. there might be some limitations for how much text you can fit. i didnt try it.
K ty..ill try tomorw for custom text.. Anyone tell me some good line to write?
Sent from my GT-S5830 using xda premium
dali47 said:
how do you mean acceptable?
i can only make a flashable zip for specific roms and themes. maybe i will see what roms out there are based on DDKQ8 and make a couple of zips.
i usually prefer making guides than making falashable zips so anyone can apply the mod on it's own specific system.
Click to expand...
Click to collapse
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
kmarci said:
Something in this format: year. month day., name of the day. For today: 2012. march 12., monday
I'm on same rom as you are (stocklite v5). Would you please help me how to change the date display?
Click to expand...
Click to collapse
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
posibilities
is it possible to move the framework thing to another stock rom using maybe titanium back up?
dali47 said:
ok, i figured it out
open \res\values\strings.xml
find mid_month_day_mid_wday_no_year
in that line, change E. d MMM. into yyyy. MMMM d., EEEEE
re-build and replace resources.arsc in original apk
Click to expand...
Click to collapse
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
torchwolfery said:
is it possible to move the framework thing to another stock rom using maybe titanium back up?
Click to expand...
Click to collapse
not sure what "thing" you mean. but no. Titanium Backup backs up apps and settings. the lockscreen is neither an app nor a setting.
kmarci said:
Hey dude, you're unbeleivable! Thanks a lot! (Unfortunatelly I can only hit once the thanks button... )
Click to expand...
Click to collapse
glad to help

Error When Re-compiling Framework-res

I tried SO HARD changing the black background like in the Settings and all but no joy.
I followed this for decompiling :
http://androidforums.com/esteem-all-things-root/520917-guide-how-properly-decompile-recompile-apks-apktool.html
I followed this for changing for changing the desired background :
http://forum.xda-developers.com/showthread.php?t=1343484
All turned out well till I wanted to re-compile back, i got errors as in the attachment below.
have you set the framework file? "apktool if framework-res.apk" before recompiling?
if it doesnt work, try
pull twframework.apk from your phone, and use it as above.
Hope it works, again, I'm nowhere near my laptop
Sent from my GT-I8150 using XDA
you must add a picture into drawable-hdpi and name it as 'mybackground' just like the name what you set in styles.xml
reidzeibel said:
have you set the framework file? "apktool if framework-res.apk" before recompiling?
if it doesnt work, try
pull twframework.apk from your phone, and use it as above.
Hope it works, again, I'm nowhere near my laptop
Sent from my GT-I8150 using XDA
Click to expand...
Click to collapse
Yes I did, already! You mean I should now use twframework.apk instead of framework-res.apk?? :ekk:
Sent from my GT-I8150 using xda premium
skys415 said:
you must add a picture into drawable-hdpi and name it as 'mybackground' just like the name what you set in styles.xml
Click to expand...
Click to collapse
I already added the picture named "mybackground.png". I followed exactly as the tutorial but yet failed. Hmmm..
Sent from my GT-I8150 using xda premium
Guys, I'm confused on the replacing part of "resource.arcs" and "modified files".
1. I already replaced "resources.arcs" in the original framework-res.apk with the " resources.arcs" from the build > apk.
2. As for the "styles.xml" that I modified, I have no idea where to put it.
Sent from my GT-I8150 using xda premium
SyzwnFrzRdz said:
Guys, I'm confused on the replacing part of "resource.arcs" and "modified files".
1. I already replaced "resources.arcs" in the original framework-res.apk with the " resources.arcs" from the build > apk.
2. As for the "styles.xml" that I modified, I have no idea where to put it.
Sent from my GT-I8150 using xda premium
Click to expand...
Click to collapse
You no need to replace "styles.xml", you are never find it inside apk after recompiled.
As he said, just replace "resources.arcs" and the "modified files".

[MOD][GUIDE] 4.1.2 Enable Ripple Effect

Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
what tool u use? link please..
can u provide some SS guide?
thanks
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
CahBagoes354 said:
Apkmanager, or apktool
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
help me enable ripple effect please ,
heres my framework http://www.mediafire.com/?gdr089y8t6xl1y2
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
you change the image .9. png
AW: [MOD][GUIDE] 4.1.2 Enable Ripple Effect
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
cheech01 said:
No...i have only change ripple Effekt to true..... but i have a Theme Installed before. Is this the problem?
This theme : http://forum.xda-developers.com/showthread.php?t=2156286
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
you have to patch it back in the picture, use draw9patch.
Sent from my GT-I8190 using xda premium
cheech01 said:
Thanks first for you Mod/Guides !!!!!:good::good::good:
Houston we have a Problem :
Please can you help me ???
What doing wrong ??:crying:
Click to expand...
Click to collapse
Which version of apktool do you have? It needs to be 1.5.2. Update your aapt as well.
finally managed to make the changes to my framework-res.apk
apktool version needed to be updated and then it worked
thanks to CahBagoes354
This don't work for me! I use apk-multi-tool to decompile and recompile framework-res.apk but when i push it i get bootloop.
Decompile and compile without any error. Do i need to do something more?
same here :/
Sent from my GT-I8190 using xda app-developers app
same here too...
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
burak185 said:
same with xxamj3. phone boots well, when i lock the screen it goes bootloops and never opens
edit: my bad. compiled with new apktool and it works
Click to expand...
Click to collapse
how do you manage to compile i always get error apktool didnt find sorces
hello , no find this file in framework-res values-hdpi ... how to search this ? i have xxamg4 stock rom
halfnakedprince said:
how do you manage to compile i always get error apktool didnt find sorces
Click to expand...
Click to collapse
This guide worked for me
CahBagoes354 said:
Hai,
This is easy guide to get back ripple effect in galaxy s III mini...
REQUIREMENTS:
1. Rotted only
2. Deodex and not deodex
INSTRUCTION:
1. DECOMPILE framework-res.apk
2. Go to
Framework-res/res/values-hdpi/
3. Open bools.xml
4. Find
Code:
<bool name="config_isWaterRippleEnabled">false</bool>
5. Change to
Code:
<bool name="config_isWaterRippleEnabled">true</bool>
save bools.xml
6. Recompile framework-res.apk
7. Push new framework-res.apk to system/framework, set permision to rw-r-r
8. Reboot
Done, and now you get back ripple effect in your S III mini.
And if you like my work, don't forget to click on "Thanks" button
Sent from my GT-I8190 using xda premium
Click to expand...
Click to collapse
Mod Edit Quote shortened
thanks...its work for me..
khaisttj92 said:
thanks...its work for me..
Click to expand...
Click to collapse
help me please ! thanx i have xxamj2
is there any1 here have deodexed framework-res.apk s3 mini xxAMG4.....i need it pls....tq

[Share Latest Apktool 4.2.2/Guide/Tutorial/] How to Decompile/Compile/Sign Apk/Jar

How to Decompile, Recompile & Sign apk
This Guide/Tutorial for Windows user
Requirement :
1. Android SDK, you can download from here (this including Java)
2. Download Latest Apktool 4.2.2 (Including Sign & baksmali) from here (this Support All apk from GB/ICS/JB 4.1.2/4.2.2)
3. Notepad++ for your tool editing xml/smali you can download from here
If you already download/Installed Android sdk/java & Notepadd++ you just download Latest Apktool 4.2.2
Download Latest Apktool, extract to :
Windows XP : C:\Document and setting\folder your computer name
Windows 7 : C:\user\folder your computer name
copy your apk & framework-res.apk/SemcGenericUxpRes.apk/framework 2 to same folder with apktool
Now you can start Editing apk
Example Editing Walkman
Open Command Prompt (CMD)
to decompile :
Code:
apktool if framework-res.apk
apktool d semcmusic.apk ( can be whatever name you give to your apk )
Some Original system apps need installed framework 2 like on stock ROM (SemcGenericUxpRes.apk)
Example
Code:
apktool if framework-res.apk
apktool if semcgenericuxpres.apk
apktool d semcmusic.apk ( can be whatever name you give to your apk )
You can start editing as you want
to recompile :
Code:
apktool b -f -d semcmusic.apk ( can be whatever name you give to your apk )
If done, you can exit CMD
open original SemcMusic.apk using Winrar or 7zip go to folder semcmusic>dist, open semcmusic.apk using Winrar or 7zip
Drag & drop folder META-INF & Lib in original apk to Modified apk, set compression to store and click ok
to sign :
Move apk modified from folder semcmusic>dist to same folder with apktool
Open Command Prompt (CMD)
Example
Code:
java -jar SignApk.jar testkey.x509.pem testkey.pk8 semcmusic.apk semcmusic_signed.apk ( can be whatever name you give to your apk )
NOTE : Sign apk only for apps 3rd Party but you can use for system>app but not all apps
to zipalign :
Open Command Prompt (CMD)
Example
Code:
zipalign -fv 4 semcmusic_signed.apk semcmusic_signed_zipaligned.apk
How to Decompile/Recompile Jar/Editing classes.dex
Copy Jar file to same folder Apktool
Example
framework.jar
to decompile :
Open framework.jar using Winrar or 7zip and extract classes.dex
Drag & drop classes.dex to Quick-Baksmali (CMD)
if done, you can find folder classes-out
now you can start editing smali file using Notepad++
to recompile :
Drag & drop folder classes-out to Quick-Smali (CMD)
if done, you can find New file "new-classes.dex"
rename file to classes.dex
Open framework.jar using Winrar or 7zip
Drag & drop file classes.dex modified to framework.jar using Winrar or 7zip set compression to normal
Credits :
Thanks to Brut.all for apktool
Thanks to Yorzua for Sign apk tool/file
Thanks to Team Reject for Quick baksmali/smali file
NOTE : If you get error when compiling, don't blame me lolz it's your mistake when editing apk
Great Guide Rizal. I am sure many were asking for it.
great tut but can you add some screens/screenshots
auni said:
Great Guide Rizal. I am sure many were asking for it.
Click to expand...
Click to collapse
Thanks, yeah some user confusing editing apk, so i share latest apktool with easy guide
Mtakween said:
great tut but can you add some screens/screenshots
Click to expand...
Click to collapse
Later i will add screenshot for this tutorial
thx nice guide
Sent from my LT26i using xda app-developers app
No doubt.. Its a great guide for some one like me.... Will sit today night and going to learn.... Thanks a lot..
From My Xperia S With XTX7 ROM
now bookmark it!! thanks dude!! :good:
thanks
Thanks for the credits, buddy
nice share there
Great guide Rizal. Decent English too. Lol. Proud to be Sundanese..
In my opinion, there are other more simplified tools that utilized apktool better (I use apkmultitools and vts (virtuous ten studios)) but people needs to know the basic right..
And I think, you need to put the java\bin directory in Path in windows system variables (or Java_home in win8). And it's better (I think) to put sdk directory (adb, fastboot), apktool and the smali jars files in the Path too, so that users can access from any folders/directory.
Sent from my LT26i using Tapatalk 2
WahyuAndri said:
now bookmark it!! thanks dude!! :good:
Click to expand...
Click to collapse
:thumbup:
Yorzua said:
Thanks for the credits, buddy
nice share there
Click to expand...
Click to collapse
Thanks for your support my friend
m1st3r1 said:
Great guide Rizal. Decent English too. Lol. Proud to be Sundanese..
In my opinion, there are other more simplified tools that utilized apktool better (I use apkmultitools and vts (virtuous ten studios)) but people needs to know the basic right..
And I think, you need to put the java\bin directory in Path in windows system variables (or Java_home in win8). And it's better (I think) to put sdk directory (adb, fastboot), apktool and the smali jars files in the Path too, so that users can access from any folders/directory.
Sent from my LT26i using Tapatalk 2
Click to expand...
Click to collapse
Yeah I know, but some user will confusing lolz, this apktool is latest version so will work for apk 4.2.2, old version doesn't work
:thumbup:
Sent from my Xperia V using Tapatalk 2
I've seen other guides say that resources.arsc should be copied from the old apk and stored in the new one.... is that necessary?
thanks =)
THANKS:good::laugh:
Why So Serious? said:
I've seen other guides say that resources.arsc should be copied from the old apk and stored in the new one.... is that necessary?
Click to expand...
Click to collapse
Can anybody shed any light on this?
Hey rizal, following your decmpile/recompile method, the apk wont install, signature problem.
zhuhang said:
Hey rizal, following your decmpile/recompile method, the apk wont install, signature problem.
Click to expand...
Click to collapse
There are some problems when signing the apk. The workaround for this: use some tools (ticklemyandroid does good jobs) to completely signing the apk (I've done this when modifying systemui.apk), you can also learn from it (learn some of its codes). Or just move files that u've modified from the modified (recompiled) apk to original apk (7zip is your friend)
Why So Serious? said:
I've seen other guides say that resources.arsc should be copied from the old apk and stored in the new one.... is that necessary?
Click to expand...
Click to collapse
I don't think it's necessary. But keep in my mind my post above. So it's like u keep the old resource but put the modified (and compiled) files to the original.
Sent from my LT26i using Tapatalk 2
m1st3r1 said:
There are some problems when signing the apk. The workaround for this: use some tools (ticklemyandroid does good jobs) to completely signing the apk (I've done this when modifying systemui.apk), you can also learn from it (learn some of its codes). Or just move files that u've modified from the modified (recompiled) apk to original apk (7zip is your friend)
Click to expand...
Click to collapse
Just moving with normal compression?
zhuhang said:
Just moving with normal compression?
Click to expand...
Click to collapse
Yes. Just move it to one 7zip window to another one...
Sent from my LT26i using Tapatalk 2

[Help] [Pro] Help me to edit settings.apk (decompile & compile) correctly

I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Then decompiled Settings.apk of Xperia pro stock ics Rom.
After that ,without making any change I compiled the apk. Then I surprisingly noticed that the size compiled apk is 1/3 of original stock settings.apk .
Then I flashed the apk using cwm to my phone to test if it work .after flashing, the setting icon is invisible in launcher menu !
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
shouvo said:
I installed all apk found under system/framework with apktool.
*framework-res.apk & another apk
Plz anybody tech me how decompile and re compile stock settings.apk of Xperia pro properly..
----------------****---------------
I'm noob. Help me to be great like U
Click to expand...
Click to collapse
take a look here
cosmyndemeter said:
take a look here
Click to expand...
Click to collapse
On that post I found something like this
"2-STEP hope u guys know how to decompile iam not going to explain it so decompile the settings.apk (make sure u set the compression level 128mb)"
Then explain me how set compression level in apktool??
Sent from my MK16i using xda premium
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
shouvo said:
I know how to decompile and compile. Also know how to mod....but main problem Is ,after re compile, settings.apk's size is decreased...why it's happening !?
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Erhany said:
size depends on apktool aapt or other files. ıts not so important. if you truly decompiled and recompiled. Be sure on resources.arsc's compression method is STORE. Generally that causes this problem. run 2 apps (original and unsigned) with winrar. move edited xmls from unsigned to signed with normal compression. Move icons(if you added or changed) with STORE method and finally move resources.arsc with STORE method.
Click to expand...
Click to collapse
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
shouvo said:
"Be sure on resources.arsc's compression method is STORE. " how can i set it to STORE ??
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Erhany said:
as I told you, open 2 apks with winrar. drag& drop resources arsc from unsigned.apk to original.apk, a screen will appear, Check compressin method on left center( generally writes NORMAL) change it to STORE and select OK for copying. thats all
Click to expand...
Click to collapse
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
shouvo said:
thanks dude...it worked just like a charm
Sent from my MK16i using xda premium
Click to expand...
Click to collapse
You r welcom. Im glad

Categories

Resources