[GUIDE][MOD]ICS Pattern locksreen(Change path thickness) - Galaxy Y GT-S5360 Android Development

Guide to changing path thickness of Pattern Lockscreen to ICS style​
I wandered places searching this off. I found some traces in direction of my destiny but none of them worked fully correctly
So, as stated, I searched a lot for this mod and came face to face with failures and smali errors. So, I had to figure it out myself some modification to do in it to make it work.
Note: IT is not COMPLETELY my mod but I have done modifications in it to make it work. This is based on a guide for Froyo outside of XDA.
Pre-Requisites:
1. PC with Java JDK or JRE
2. Deodexed ROM
3. 7-Zip
4. classes.dex decompiling tool
5. Notepad++
6. Patience
7. Carefulness for editing smali files
Let's Start
1. First we would have to decompile classes.dex inside framework.jar
For that, you can use my Tool ROM Tool v3
First using 7zip, Right click on your framework.jar and open it as archive and drag and drop classes.dex in input folder of the tool
(Note: If you don't have classes.dex in framework.jar [only META-INF and preloaded-classes.dex], then your framework isn't deodexed)
Now, open Script.bat and choose 1 (Decompile classes.dex)
2. Now, we will make the changes. Go to decompiled folder and go to \classout\com\android\internal\widget and open LockPatternView.smali in Notepad++
Search for mDiameterFactor:F [Ctrl+F]​
See the code above it.
It should be like this:-
Code:
const[COLOR="Red"]/high16[/COLOR] v2, 0x3f00
If it is, then you will have to remove red part /high16
Because it will not allow the change of code we will be doing which will have a different hexadecimal value which will not be supported till this code is in effect
Now, it will look like this:-
Code:
const v2, 0x[COLOR="Red"]3f00[/COLOR]
Now, we will change the thickness value 3f00 to 3dcccccd
Final code will look like this
Code:
const v2, 0x3dcccccd
Save it
I am attaching final and before smali for comparison below.
View attachment 1936707
(Note: If you don't have /high16, it's good , then just change the value and save)
3. Go to Script.bat again and choose 2 (Recompile classes.dex) and after it's done, you will get classes.dex
Drop it in framework.jar
4. Push framewotk.jar in /system/framework
Eg:
Copy it in platform-tools folder of android SDK and type following with pressing Enter after each command
Code:
adb remount
adb push framework.jar /system/framework/
adb shell chmod 644 /system/framework/framework.jar
adb shell killall system_server
Last command will Hot Reboot your phone to apply changes. It is fast and better than rebooting phone.
5. Enjoy
Screenshots
{
"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"
}
Before
After
Credits​
A member from other forum to answer a question to other member of that forum
Google for letting me search somethings
Samsung Galaxy Ace s5830i members for supporting me so much

reserved!!!! :good::good:

zenxus31 said:
reserved!!!! :good::good:
Click to expand...
Click to collapse
For?
Don't post things like this in guide threads atleast. Reporting
A Hero Can Be Anyone.

Bruce Wayne said:
For?
Don't post things like this in guide threads atleast. Reporting
A Hero Can Be Anyone.
Click to expand...
Click to collapse
for question

zenxus31 said:
for question
Click to expand...
Click to collapse
Better go through this post. You need to I say. http://forum.xda-developers.com/showthread.php?p=40990860
A Hero Can Be Anyone.

U arE aWeSOME !!
I hav searched so many threads and forums for this ..!!
Thanks man!!
Sent from my GT-S5360 using xda app-developers app

question:
in the shell command,afaik chmod 777 is rw-r--r--
what is 644 stand for?
because adb and shell command new to me (i never use that,and still know little about that),so i want to apply the framework.jar manually via rootex
Sent by a Schoolar Boy ​Question? Better go to [Help Thread] by Deadly

Droid_beginner_student said:
question:
in the shell command,afaik chmod 777 is rw-r--r--
what is 644 stand for?
because adb and shell command new to me (i never use that,and still know little about that),so i want to apply the framework.jar manually via rootex
Sent by a Schoolar Boy ​Question? Better go to [Help Thread] by Deadly
Click to expand...
Click to collapse
alternate version.
4 - read (r)
2 - write (w)
1 - execute (x)
so 777 implies rwx rwx rwx
and 644 rw r r

Working good!

AaaaaaweSoooooomE
Sent from my GT-S5360 using xda app-developers app

Thank you all
Looking forward to learn more

Updated OP with some correction and link to RTv3

Can you pls make a flashable zip
Can't use my PC
Really want this badly
sent from my muffin phone

darkshadow246 said:
Can you pls make a flashable zip
Can't use my PC
Really want this badly
sent from my muffin phone
Click to expand...
Click to collapse
This isn't a universal mod as different ROMs have different framework.jar.
So, it can't be made into Flashable Zip
Sorry

Violaa..
That was my first modification by my self..!!
Thanks OP

sir areeb could help me how to add the pattern lock. in op edit only the thickness. my problems is in sgs3 rom dont have this pattern

ProGTXjay said:
sir areeb could help me how to add the pattern lock. in op edit only the thickness. my problems is in sgs3 rom dont have this pattern
Click to expand...
Click to collapse
It isn't possible(why would someone do that) for a ROM to remove Pattern lock!
It would be there is Settings/Security/Lockscreen

Hey I have changed the path thickness...
But how to change the thickness of those dots? Are they pngs or we have to edit some xmls for that too?

TheStrix said:
Hey I have changed the path thickness...
But how to change the thickness of those dots? Are they pngs or we have to edit some xmls for that too?
Click to expand...
Click to collapse
PNG
But if you edit them heavily and they appear out of place , then xml will come into play

iamareebjamal said:
PNG
But if you edit them heavily and they appear out of place , then xml will come into play
Click to expand...
Click to collapse
Where are those pngs located?? Or which xml to edit?

Related

[Mod][How-To] Change Sense 1.0 Lockscreen Sprint Banner

Hey gang. I know a lot of people know of JsChiSurf. You should. That man is one of the main reasons I do what I do today. Buy him some beers or fund his retirement
Anyways. He came up with a mod that can change the Sprint Banner in the Sense Lockscreen. The hack is pretty straightforward yet awesome. I based this mod off of his. Check it out here
His goal was to use a hex editor to modify the text, but I am taking a different approach. We have so many tools available now. Apktool, apk manager, and of course, Android Utility. This is for Sense 1.0 ota 4.54 Evo 4g.
This mod is easy to do.
Tools: Android-Utility, or apktool, Java
Download the attached files below: HtcLockScreen.apk and Testsign.jar
1. Have com.htc.resources.apk and framework-res.apk from your rom ready
2. Decode the apk like this if using apktool, run in command prompt or terminal:
Code:
apktool if framework-res.apk
apktool if com.htc.resources.apk
apktool d HtcLockScreen.apk out
3. Now, you should have a folder called "out"
4. Open the folder and look for res/layout/lock_screen_bar.xml
5. Open the xml in Notepad ++ or Gedit
6. Search for where it says "EVO Classic"
7. Change it to your desired text
8. Save and exit
9. Now, we compile the apk
Code:
apktool b out HtcLockScreen-new.apk
10. Now, we resign the apk.
Code:
Method A:
Open the original apk with 7-zip.
Take out the entire "META-INF" folder.
Open new apk with 7-zip.
Put in META-INF folder.
Method B: (only works on Evo Classic and other roms with signature verification off)
type in this command:
java -jar testsign.jar HtcLockScreen-new.apk HtcLockScreen-signed.apk
11. Download the sample Update.zip Found here, attached at bottom
12. Put the apk (renamed to HtcLockScreen.apk) inside the zip under system/app/
13. Flash and enjoy!
Sorry if this isn't noob-friendly enough. I tried to come up with a different way but this is all I got. The details are all there.
Please try it first.
But if you really can't get it, feel free to request a specific word or banner. I can upload them for you.
{
"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"
}
Once again, thanks to JsChiSurf for original mod. I took and modified for the latest 4.54
Sincerely,
Tommy Nguyen
Requests
Only changes the Banner Text. Lockbar will not be included.
All to be applied with ZipThemer
-EViL-KoNCEPTz- Banner
Sprint Banner
I'm guessing we can still use sprint apps, because this only changes the banner. Would I be correct?
bcarter2000 said:
I'm guessing we can still use sprint apps, because this only changes the banner. Would I be correct?
Click to expand...
Click to collapse
You sir are correct
Sent from my PC36100 using Tapatalk
The command:
apktool HtcLockScreen.apk out
Doesn't seem to work. I am using the most recent version of apktool on a Windows machine.
Whoops.
apktool d HtcLockScreen.apk out
Typo corrected.
all you need is a lovely signature.
Tommy you are a beast! You write these guides like you wrote the code or something. Do you know of a guide somewhere that breaks down smali code? That's where I need to be lol
Swyped from my Red Hot Razr phone running Tapatalk
i got it all working except building the new .apk
it builds but instead of an .apk its a folder...
edit: i think i might have found it.
mpitcher225 said:
Tommy you are a beast! You write these guides like you wrote the code or something. Do you know of a guide somewhere that breaks down smali code? That's where I need to be lol
Swyped from my Red Hot Razr phone running Tapatalk
Click to expand...
Click to collapse
Being that smali is a hack language there arent any guides...but you can read on java. It will help.
life_420 said:
i got it all working except building the new .apk
it builds but instead of an .apk its a folder...
edit: i think i might have found it.
Click to expand...
Click to collapse
Hope you find it!
Sent from my PC36100 using Tapatalk
just flashed and lockscreen came up with my personal banner, it worked...
screenshot in a minute
nice thanks button is hit.
That was way to easy... LOL
life_420 said:
just flashed and lockscreen came up with my personal banner, it worked...
screenshot in a minute
nice thanks button is hit.
That was way to easy... LOL
Click to expand...
Click to collapse
I thought so too when I posted the guide
Glad you got it! Looking good robert
Sent from my PC36100 using Tapatalk
tommytomatoe said:
Being that smali is a hack language there arent any guides...but you can read on java. It will help.
Hope you find it!
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Wow I didn't know that lol. Thanks man
Swyped from my Red Hot Razr phone running Tapatalk

[Tutorial] How To Port MIUI-v5 for Galaxy S Plus

[Tutorial] How To Port MIUI-v5 for Galaxy S Plus GT-i9001 (also for Galaxy Wonder GT-i8150)
Beginning
MIUI is a fantastic rom. But for s+ the ram is too low to run miui-v5. Finally I move to cm. Since I don’t update it some weeks, I receive some PM to request update. I think I should write a guide, and I think you who love this amazing rom should try to port one by yourself. Here we go.
What you need
I will not teach you how to use those tools, you'd better having knowledge about it.
Windows 7 (or XP, 8)
WinRAR or else
Beyond Compare
Notepad + +
Apktool
Android Kitchen with Cygwin (or something else can un-pack boot.img)
Choose rom
For i9001, you are able to port cm-10.1 base rom from i9000 , i8150 or Nexus S. Best from i9000 in my opinion.
PORT ROM: http://xiaomi.eu/community/ (download i9000 one)
BASE ROM:cm-10.1 ion by ADC team is good
Start porting
PART 1
Unzip the PORT ROM(we call it miui) and BASE ROM(we call it cm10.1)
Compare two system folder using Beyond Compare
In system folder, you can find these subfolder
addon.d
app
bin
cameradata
etc
﹂permission
--others
firmware
fonts
framework
lib
media
tts
usr
vendor
xbin
build.prop
Click to expand...
Click to collapse
in red is that need to move
in black we needn’t do anything
Step
All move files is from PORT ROM(i9000) to BASE ROM(i9001)
Compare two system folder using Beyond Compare
Click to expand...
Click to collapse
Delete cm10.1 app and framework and fonts folder, and move miui's to cm10.1
Click to expand...
Click to collapse
etc and lib folder, move all files which miui have, but cm10.1 don't have
move and cover libandroid_servers.so from miui to cm10.1
As for subfolder of lib folder(examples, hw and modules),you needn’t do anything
Click to expand...
Click to collapse
Delete cm10.1 media/audio , and move miui's to cm10.1 (don’t forget bootanimation.zip ,and lockscreen, theme, wallpaper folders)
Click to expand...
Click to collapse
xbin folder , move shelld and su from miui to cm10.1
Click to expand...
Click to collapse
Edit build.prop (use Beyond Compare could help you find how to edit)
Only need to change version and ringtones
Code:
ro.build.display.id=JDK39E
ro.build.version.incremental=3.12.27
Code:
ro.config.ringtone=MI.ogg
ro.config.notification_sound=FadeIn.ogg
ro.config.alarm_alert=GoodMorning.ogg
ro.config.sms_received_sound=FadeIn.ogg
ro.config.sms_delivered_sound=MessageComplete.ogg
now delete your old cm10.1 system folder(in zip) , and push your new system folder into zip.
{
"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"
}
Go to cm10.1 META-INF/com/google/android/updater-script (open with notepad++)
search
Code:
set_perm(0, 0, 06755, "/system/xbin/su");
Add this line above it
Code:
set_perm(0, 1000, 06750, "/system/xbin/shelld");
save
PART 2 - - KERNEL
If you don't want to do it, use my kernel [Download] (only i9001)
Un-pack your boot.img using Android Kitchen
Open init.rc using notepad++
Search and delete this line
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
replace with
Code:
export BOOTCLASSPATH /system/framework/core.jar:/system/framework/core-junit.jar:/system/framework/bouncycastle.jar:/system/framework/ext.jar:/system/framework/framework.jar:/system/framework/framework_ext.jar:/system/framework/telephony-common.jar:/system/framework/mms-common.jar:/system/framework/android.policy.jar:/system/framework/services.jar:/system/framework/apache-xml.jar
then add this lines at the end of init.rc
Code:
service shelld /system/xbin/shelld
class main
save , and re-pack your boot.img , put into cm10.1 zip
Now, your rom have been done, it is ok to flash it in recovery, but you need to fix some bugs
PART 3 - - BUGS FIX
BUG 1 com.android.phone FCs
(1) Decompile system\framework\telephony-common.jar (both cm10.1 and miui)
Code:
Apktool d telephony-common.jar
(2) go to telephony-common.jar.out\smali\com\android\internal\telephony
(3) Move and cover all Samsung******.smali from cm10.1 to miui
(4) Compile.
Code:
Apktool b telephony-common.jar.out
telephony-common.jar.out\build\apk
you will find classes.dex, put it into telephony-common.jar
-
[*]BUG 2 USB mount
(1) Decompile framework-res.apk
Code:
Apktool d framework-res.apk
(2) Delete this folder “drawable-ldrtl-hdpi”
(3) Go to xml folder
(4) Replace storage_list.xml and power_profile.xml with mine DL my xml
(5) Compile
Code:
Apktool b framework-res
[*]BUG 3 Black notification drawer and laggness of lockscreen
(1) Decompile framework_ext.jar
Code:
Apktool d framework_ext.jar
(2) Go to framework_ext.jar.out/android/app/ExtraActivityManager.smali (open with notepad++)
(3) line 23
Code:
const-string v0, "GT-I9000"
Change to
for I9001
Code:
const-string v0, "ariesve"
for I8150
Code:
const-string v0, "ancora"
(4) Save and Compile
Code:
Apktool b framework_ext.jar.out
after step the same as BUG 1, i think you know how to do it.
Sorry for my bad English, if you have any questions, you can ask here.
reserved
Thanks sir for this guide
should we may do some changes to miui build.prop exept from these that you are writing?
Great tutorial Thanks
Gesendet von meinem Sony Xperia Z
I like ur tutorial but ur written english is really horrible. There r sentences which aren't able to understand. And some sentences are really confusing.
U should rewrite ur tutorial in some parts.
I don't want to teach anyone. My english is as most of us here not perfect. But I'm trying to make things clear to avoid misunderstanding.
It's really confusing to read ur tutorial.
I didn't understand the part of fixing the bugs. I think u should describe in smaller steps so that everyone can understand.
BigAznJimmy said:
I like ur tutorial but ur written english is really horrible. There r sentences which aren't able to understand. And some sentences are really confusing.
U should rewrite ur tutorial in some parts.
I don't want to teach anyone. My english is as most of us here not perfect. But I'm trying to make things clear to avoid misunderstanding.
It's really confusing to read ur tutorial.
I didn't understand the part of fixing the bugs. I think u should describe in smaller steps so that everyone can understand.
Click to expand...
Click to collapse
I am very sorry about my bad English.
But i think someone should learns how to use apktool(Android Kitchen) first, and read my guide second.
Sent from my GT-I9001 using xda app-developers app
Is it necessary to having knowledge in using the tool before trying to do the steps in ur tutorial?
I would make a tutorial for those who aren't good at porting roms or for those who are new at it.
chrisg4 said:
should we may do some changes to miui build.prop exept from these that you are writing?
Click to expand...
Click to collapse
Yes
Yeah, thanks sir and your tutorial
Sent From my Esia Hidayah
Thread Edit
add some pictures
BUG 3
Hope you can understand my broken English sentences
Great Tut
zxc123coke said:
Thread Edit
add some pictures
BUG 3
Hope you can understand my broken English sentences
Click to expand...
Click to collapse
Hi zxc123coke,
i really appreciate your effort and your tutorial and please don't feel attacked by sentences like "your written english is horrible" !!!
Such statements are horrible in a technical forum - If there are any questions concerning possible misunderstandings they could be asked....
The most of us here are people who's native language isn't english so the way to deal with each other shoud be based on a kinder way ...
Enough of OffTopic
Could this tut also be used for other ROMs to port ? Or is it so specialized that it could not be applied ?
THX in advance
Rhonin
Rhonin86 said:
Hi zxc123coke,
i really appreciate your effort and your tutorial and please don't feel attacked by sentences like "your written english is horrible" !!!
Such statements are horrible in a technical forum - If there are any questions concerning possible misunderstandings they could be asked....
The most of us here are people who's native language isn't english so the way to deal with each other shoud be based on a kinder way ...
Enough of OffTopic
Could this tut also used for other ROMs to port ? Or is it so specialized that it could not be apllied ?
THX in advance
Rhonin
Click to expand...
Click to collapse
Yeah, similar for porting other roms. Even easier because you needn't do anything with updater-script and boot.img But i don't know what bugs will you get so you have to debug by yourself.
I really understand what you mean sir, for me it's simple to understand for port ROM haha
this tutorial is really useful :highfive:
Thank you for this guide! Might be helpful in my effort to port MIUI to the SGH-I727 Skyrocket.
For people asking, yes the guide (and there are MANY others available, also check Offical MIUI Dev Porting Team http://en.miui.com/forum-12-1.html) can be used as a reference when porting MIUI to other devices. I say reference because you cannot follow the same steps since your device will be different. The files needing editing and specifically what needs editing will be different.
askpcguy said:
Thank you for this guide! Might be helpful in my effort to port MIUI to the SGH-I727 Skyrocket.
For people asking, yes the guide (and there are MANY others available, also check Offical MIUI Dev Porting Team http://en.miui.com/forum-12-1.html) can be used as a reference when porting MIUI to other devices. I say reference because you cannot follow the same steps since your device will be different. The files needing editing and specifically what needs editing will be different.
Click to expand...
Click to collapse
This guide was MADE FOR i9001/i8150 ONLY.
As for Official Porting Team or others, they use MIUI patchROM project. But i didn't, i just tell people how to port a cyanogenmod base rom from i9000 to i9001/i8150. (yes, both miui i9000,i9001,i8150 are base on cyanogenmod). So it is unable for other devices i think.
Sir I'm success port MIUI from Galaxy S with this guide thanks again for you
Thanks zxc123coke

[Q] baksmali to deodex lollipop system app

I've tried posting this in the Q and A section with no luck.. Maybe someone here can help.
I'm trying to make a battery mod for stock lollipop. Of course the ROM is odexed which makes life a lot more difficult when trying to decompile system apps. I'm attempting to deodex my systemUI.odex. However, using the backsmali command "java -jar baksmali.jar -a 21 -x systemUI.odex -d framework -o classout" is giving me an error stating that systemUI.odex is not an apk, jar or odex file
I have everything setup correctly...my whole framework directory is on my :C drive....I was wondering if you could explain why I'm getting this error? It worked for me on KitKat with no issues..
Sent from my Nexus 5 using xda premium
I'm looking to do the same too. but with DeskClockGoogle and WebViewGoogle pulled from the N5 factory image, to finish my Lollipop Gapps pack.
Unfortunately, even with baksmali and smali that I've built from source with the latest changes, I get the same errors. I'm guessing we'll have to wait until they're (hopefully) updated.
I've attached my compiled builds of baksmali and smali with up-to-date changes from source (latest being November 6, 2014) if you or anyone wants to mess with them or whatever.
I made it on my nexus 5 stock rom.
{
"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"
}
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
how you deodexed stock SystemUI ? please give link on HOWTO
how edit smali (as he reached smali) ?
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
I want this
youland said:
I made it on my nexus 5 stock rom.
View attachment 3036525
Click to expand...
Click to collapse
Youland, seriously....how'd you go about doing that?
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
Youland, seriously....how'd you go about doing that?
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
My state:
[email protected]:~/Downloads/smali-oat/baksmali/build/libs$ java -Xmx512m -jar baksmali-2.0.3-dev.jar -a 21 -x SystemUI.odex -d ./framework
Error occurred while loading boot class path files. Aborting.
org.jf.util.ExceptionWithContext: Cannot locate boot class path file /system/framework/conscrypt.jar
at org.jf.dexlib2.analysis.ClassPath.loadClassPathEntry(ClassPath.java:227)
at org.jf.dexlib2.analysis.ClassPath.fromClassPath(ClassPath.java:161)
at org.jf.baksmali.baksmali.disassembleDexFile(baksmali.java:68)
at org.jf.baksmali.main.main(main.java:298)
Click to expand...
Click to collapse
Seem it know how to deodex but framework file conscrypt only 372 byte. It isn't contain classes.dex.
Link to file
https://mega.co.nz/#!NUoQxSLa!het4J3GXvtGVmI43m_Gl0jqBZ7X9BhHb7xErseEjnUc
hiepgia said:
...It isn't contain classes.dex...
Click to expand...
Click to collapse
Most files contain only META-INF file and folder and have no odex files..
That's art.
So simply decompile odex files, will no longer work.
We need new baksmali and smali tools or similar.
Your uploaded baksmali file works great with KK odex but not with LP odex.
cargobr151 said:
Most files contain only META-INF file and folder and have no odex files..
That's art.
So simply decompile odex files, will no longer work.
We need new baksmali and smali tools or similar.
Your uploaded baksmali file works great with KK odex but not with LP odex.
Click to expand...
Click to collapse
I solved framework miss classes.odex and deodex successful.
I will upload it when i return home. Now im in a trip
Sent from my iPhone using Tapatalk
hiepgia said:
I solved framework miss classes.odex and deodex successful.
I will upload it when i return home. Now im in a trip
Sent from my iPhone using Tapatalk
Click to expand...
Click to collapse
It is not a true .odex. It requires the oat2dex script to strip the oat header. Then you have the classes.dex file. The problem is getting the apk and the dex to happily coexist in the same APK. AOSP can deodex but we are still breaking the same apks just decompiled and recompiled (Stock factory or modded). SystemUI is only one I have been able to lock down as an auto break due to time constraint and ability to visualize the break.
.
Well I'm happy to see discussion being stirred up in this thread finally!!!! I gave up on trying to deodex the system apps.....until Jesus freak can update the smali/baksmali tools I'm in no position to get that working.
On the other hand, I've been working on "work around" to get the battery percentage in the status bar. We can all see the battery percentage in the drop down menu and in the lock screen (key guard.) I'm attempting to modify the keygaurd text view for the battery percentage and add it to the status bar in the "system_icons" XML file. Right now I'm able to compile the mod but its not showing up. If someone would like to help with it feel fee to reply here or shoot me a PM. The theory is to get a working battery percentage in the status bar without deodexing.
Sent from my Nexus 5 using xda premium
Pain-N-Panic said:
I've tried posting this in the Q and A section with no luck.. Maybe someone here can help.
I'm trying to make a battery mod for stock lollipop. Of course the ROM is odexed which makes life a lot more difficult when trying to decompile system apps. I'm attempting to deodex my systemUI.odex. However, using the backsmali command "java -jar baksmali.jar -a 21 -x systemUI.odex -d framework -o classout" is giving me an error stating that systemUI.odex is not an apk, jar or odex file
I have everything setup correctly...my whole framework directory is on my :C drive....I was wondering if you could explain why I'm getting this error? It worked for me on KitKat with no issues..
Sent from my Nexus 5 using xda premium
Click to expand...
Click to collapse
You need to have python installed, but if you have it you can run the oat2dex.py script on your odex file and then you'll be able to baksmali/smali it with the latest versions of those. I just don't know how to turn the dex file back into the original format to pop back into the rom.
Me neither, and I've never messed around with python
Sent from my Nexus 5 using xda premium

How To Make Card Stack Recent Apps like Android Lollipop in JB 4.2.2

Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_item.xml
4) Now in its line no. 2 add this code android:layout_marginTop="-75.0dip" android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250.0px
Tested in JB 4.2.2 MTK
Samsung JellyBean Users Can go Over HERE
Full Credit to Arta Bagger and UI DESIGNER PRO
Dont Forget To Hit Thanks Button
{
"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"
}
Can you attach screenshots please?
---------- Post added at 02:01 PM ---------- Previous post was at 02:00 PM ----------
Thanks.
Screen shot in my comment sir you can click there to check ss
Awesome :good:
eboybasit said:
Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_panel_item.xml
4) Now in its line no. 2 add this code android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250px
Tested in Cherry Mobile JB 4.2.2 MTK
Full Credit to Rommel Vallisor
Dont Forget To Hit Thanks Button
Click to expand...
Click to collapse
There is no "status_bar_recent_panel_item.xml" only "status_bar_recent_panel.xml" and "status_bar_recent_item.xml" in the res/layout folder
Sir you can try finding it in layout-port folder
Try finding in layout-port folder
Thanks sir @syaeful
eboybasit said:
Items Required :-
1) SystemUI.apk
2) Apktool
3) Text Editor (Notepad ++)
Procedure:-
1) First of All decompile SystemUI.apk using apktool.
2) Now Goto res/layout folder.
3) Open status_bar_recent_panel_item.xml
4) Now in its line no. 2 add this code android:rotationX="-10.0"
5) Save it.
6) Also Open Status_bar_recent_panel.xml
7) In line no. 2 add android:rotationX="10.0"
8) Save it.
9) Recompile and push meta inf and androidmanifest.xml of your original apk to the modded one.
10) Push it and set permissions to rw--r-r
Dont cook up your phone.
Note:- If You faced any deformalities regarding thumbnail size change
Thumbnail_height and thumbnail_width to 250px
Tested in Cherry Mobile JB 4.2.2 MTK
Full Credit to Rommel Vallisor
Dont Forget To Hit Thanks Button
Click to expand...
Click to collapse
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Papdya said:
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Click to expand...
Click to collapse
Ahh..... wait i'll give you xmls for compare sir your recent app style is different,,,, are you a samsung user...?
eboybasit said:
Ahh..... wait i'll give you xmls for compare sir your recent app style is different,,,, are you a samsung user...?
Click to expand...
Click to collapse
No it micromax and its a rom which i have ported and themed according to my liking.. Dont call me sir plz.. i am just 16
Papdya said:
Mine turned out like this Jb 4.2.2
[img=http://s13.postimg.org/bq1owupz7/Screenshot_2015_03_07_21_01_19.jpg]
Click to expand...
Click to collapse
Compare your xml with this Hope this will help You
K sure i will check n tell.
Okay :thumbup:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Papdya said:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Click to expand...
Click to collapse
Dont change height or any drawable or add any extra drawable.....only compare codes placement and layout margins ,paddings and relative layouts
Papdya said:
http://d-h.st/KA06
http://d-h.st/nxuj
Here are my files a few lines are different ..do i make it same as urs or let it stay?
Click to expand...
Click to collapse
Dont add any drawables,,,,,only compare the placement of codes in linear layouts , relative layouts, paddings and margins
eboybasit said:
Dont add any drawables,,,,,only compare the placement of codes in linear layouts , relative layouts, paddings and margins
Click to expand...
Click to collapse
I will try it tmrw and tell if it works. Thanks fr the help btw. :thumbup:
Papdya said:
I will try it tmrw and tell if it works. Thanks fr the help btw. :thumbup:
Click to expand...
Click to collapse
Your Welcome

[APP] [TOOL] ApkTool in Android

{
"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"
}
An All in One App To De-Compile , Re-Compile , Extract Meta-inf Folder , Add Meta-inf Folder , Sign , Zipalign , Jar to Dex and Dex To jar & Many more (Even All Lollipop Apps SDK 21) Right in Your Phone or tablet , No needed for a PC Anymore
This app is a continue for The open spurce ApkTool and with many imrprovements like adding Apktool v2.0 and many more So cridit for main application goes to chinese sources and people from AG Who worked Before me on This​
*some people having issue with installing this as a regular app , for faster operation on decompile recompile recommended to manually push it to system apps or either patch to android signature ..
Small request : if anyone have a good key for sign please sign it and give me the key to use for next releases..
works for ArmV7 Devices
i will be glad if my App Be sticky in Developers Android hacking forum​
ApkTools Is a well Known Android Reverse Engineering Tool that decrypt/translates an app or system apps To human language Code
I made this app for my personal use now im sharing with you
it have Latest ApkTool v2.0 and other versions could be find in about , you can use two different apk tool
you can optionally decompile Dex or decompile resources only
And many other futures , even more easy than a PC
Just Import Frameworks And youre good to go
you may need a good cpu for faster Decompile/recompile consumed time will be shown
Custom motifications for jobs are implemented
Download :
v4.7 :
Download From Mega
I didnt share this to earn anything just to help people and easier developement , tell me if im wrong, i dont know the exact Cridits tell me and i will add to OP
Donations Welcome For Donation Plz Email/PM me
Plz Don't Ask Compile , Decompile related help questions and ApkTool related stuffs
XDA:DevDB Information
ApkTool For Android, Tool/Utility for all devices (see above for details)
Contributors
HAYLCION, ApkTool
Version Information
Status: Stable
Current Stable Version: 4.7
Created 2015-05-23
Last Updated 2015-05-23
Awesome work bro.. I always find this kinda app... Great :good: :good:
metaspook said:
Awesome work bro.. I always find this kinda app... Great :good: :good:
Click to expand...
Click to collapse
Youre welcome bro, sorry could you plz remove quoted OP post? Thanks its not looking good
Edit: and youre so nice thanks for your works!
HAYLCION said:
Youre welcome bro, sorry could you plz remove quoted OP post? Thanks its not looking good
Edit: and youre so nice thanks for your works!
Click to expand...
Click to collapse
Oh! Sorry... Don't mind I'm not so used to in XDA but I'll, Ok I removed that quote.. :good:
metaspook said:
Oh! Sorry... Don't mind I'm not so used to in XDA but I'll, Ok I removed that quote.. :good:
Click to expand...
Click to collapse
So where else? I like your jobs they're hady , thumbs up for the busybox you shared !
It won't let me install on my m9
ahrion said:
It won't let me install on my m9
Click to expand...
Click to collapse
Push to system/app if youre on armv7
Dear dev.
Here my spec:
-Xperia m single
-Cm 12.1 android 5.1.1
-Using latest apktool from this thread.
The steps I take
1. Push apktool to /system/app
2. Reboot
3. Import the /framework/framework.apk
4. Next is decompile, recompile apk.
5. Copy dialer.apk to /sdcard/apkproject
6. Decompile dialer.apk
7. Not editing was made to source dialer_src
8. Recompile dealer_src
9. Add (META-INF) original to dialer_src.apk
10. Open root Explorer file manager, open the dialer_src.apk and for the result see screen shot.
A see the aapt your apktool provide is aapt v4.4 is that compatible with cm 12.1 android 5.1.1?
And the apktool is v2.0: apktool-2.0.0rc3.jar
Thanks for this apktool. Awesome. Amazing.
Everything I doing in a PC I can do in the phone.
This is screen shot of the original dialer.apk
I decompiled Fb lite.apk
After 2 seconds,it says:'decompile finished'
And a lot of problems like
at.brut.....
How can I fix
Nhien Nguyen said:
I decompiled Fb lite.apk
After 2 seconds,it says:'decompile finished'
And a lot of problems like
at.brut.....
How can I fix
Click to expand...
Click to collapse
Can you post the full log.
ndrancs said:
Dear dev.
Here my spec:
-Xperia m single
-Cm 12.1 android 5.1.1
-Using latest apktool from this thread.
The steps I take
1. Push apktool to /system/app
2. Reboot
3. Import the /framework/framework.apk
4. Next is decompile, recompile apk.
5. Copy dialer.apk to /sdcard/apkproject
6. Decompile dialer.apk
7. Not editing was made to source dialer_src
8. Recompile dealer_src
9. Add (META-INF) original to dialer_src.apk
10. Open root Explorer file manager, open the dialer_src.apk and for the result see screen shot.
A see the aapt your apktool provide is aapt v4.4 is that compatible with cm 12.1 android 5.1.1?
And the apktool is v2.0: apktool-2.0.0rc3.jar
Thanks for this apktool. Awesome. Amazing.
Everything I doing in a PC I can do in the phone.
Click to expand...
Click to collapse
No i forgot to change it in app its not rc3 its the latest v2.0.0 final that works wor lollipop flawsly too
ndrancs said:
This is screen shot of the original dialer.apk
Click to expand...
Click to collapse
Yeah it supports that you Have to adjust Min max sdk in apktool.yml if not recompiles but what you showed is about signature
Hey @HAYLCION , I keep getting error when reconciling saying too many symbolic links found... Anybody know what that means?
bdizzle1686 said:
Hey @HAYLCION , I keep getting error when reconciling saying too many symbolic links found... Anybody know what that means?
Click to expand...
Click to collapse
Copy err log and send, i can tell you
Hi dev and thank you for your work.
I'd like to decompile HydrogenOS launcher apk, include in it OxygenOS framework and recompile hoping it could work on other AOSP based rom and not only in OxygenOS.
I'm a noobe and I was just wondering: is that possible? And, can I do this completely with your tool?
Thank you so much
mega link is dead... please reupload
Download link problem
Download issues still. Anyone have a copy of this?
for me brut broo -_- when I dc my systemUI

Categories

Resources