[Guide] Android Application Development Tutorials - Android General

Mod Edit: Closed and removed by OP request.

hey bro can you gimme a start with PORTINg the system apps?
i would really appriciate you if you would just put up a guide or tut or something ..
or just decompile an apk n tell which things matter while porting from one device to another..
or can we jst build the SYSTEM app from sources for the device?? by just editing the source files?

Yash Rulz said:
How to Port Android to Another Device​
Dont forget Hit the thanks button :good::good:​
Click to expand...
Click to collapse
i didnt meant the rom.. i meant only the system aplication like the lockscreen or mms.apk

mhrsolanki2020 said:
i didnt meant the rom.. i meant only the system aplication like the lockscreen or mms.apk
Click to expand...
Click to collapse
Lockscreen is part of framework-res.apk And yeah i am interested in how to port App from JB/ICS to GB for example...

Xmaster8 said:
Lockscreen is part of framework-res.apk And yeah i am interested in how to port App from JB/ICS to GB for example...
Click to expand...
Click to collapse
ya i know it is a part of the framework-res.apk .
but there has to be some way to port it right?? for eg you can jst extract those sources(imgs,line of codes, .smali files) n then put it in to the lockscreen apk itself.. n change the location of those sources mentioned in the lockscreen apk ..??

Nice collection of tutorial vids! Im going to watch tem all

Related

[DEV] ICS transition effect

Please see the below link for the ICS transition effect.
Is it cool? I think I could port that to Galaxy R as well
http://www.youtube.com/watch?v=vf1U_30Ngfk
its quite easy..the xml's are lying around in Android themes and Apps section
ardatdat said:
Please see the below link for the ICS transition effect.
Is it cool? I think I could port that to Galaxy R as well
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Yes u can.
The guide is here.
http://forum.xda-developers.com/showthread.php?t=1342117
Go go go !
Is it only me or Android 4.0 transitions are kinda invisible.Flip,rudolf are even cooler
This is just an example
sakindia123 said:
its quite easy..the xml's are lying around in Android themes and Apps section
Click to expand...
Click to collapse
s4sixty said:
Yes u can.
The guide is here.
http://forum.xda-developers.com/showthread.php?t=1342117
Go go go !
Click to expand...
Click to collapse
May I ask sakindia123 to do that as it is so easy for him.
Let's make it based on ZSKK5 ROM and make a CWM package to flash it
ardatdat said:
May I ask sakindia123 to do that as it is so easy for him.
Let's make it based on ZSKK5 ROM and make a CWM package to flash it
Click to expand...
Click to collapse
Though i hate themeing,i will do it
*Downloading APK Manager*
U just have to decompile the apk,replace the xml's ,and then compile it again.
sakindia123 said:
Though i hate themeing,i will do it
*Downloading APK Manager*
U just have to decompile the apk,replace the xml's ,and then compile it again.
Click to expand...
Click to collapse
Thanks very much!
Although I know how to make it, I do not have much time recently.
Quite busy on work now ~~~
I also think the second video is cooler.
ma bad.............
sakindia123 said:
Is it only me or Android 4.0 transitions are kinda invisible.Flip,rudolf are even cooler
This is just an example
Click to expand...
Click to collapse
Looks nice, but won't it get irritation after a while with all that bouncing ??
All i wish for is a snappy phone, no FC, no hang, no reboots.
ICS transition ? Easy !
UOT Kitchen can solve all your problems
CM7 will have the option to slow/quicken the transition animations , so please be patient
EmoBoiix3 said:
ICS transition ? Easy !
UOT Kitchen can solve all your problems
CM7 will have the option to slow/quicken the transition animations , so please be patient
Click to expand...
Click to collapse
Yup UOT kitchen works I made one for LA4 nad there is android market app caled spare parts plus that can controll speed of animations
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
m.kochan10 said:
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
Click to expand...
Click to collapse
Did U attached twframework.apk to kitchen? Anyway I attached one for LA4 on my new theme thread
nedooo said:
Did U attached twframework.apk to kitchen? Anyway I attached one for LA4 on my new theme thread
Click to expand...
Click to collapse
Always framwork, twframework and SystemUI. With no effect unfortunatelly. But since I know how to do it manually it's no longer a problem And it's much more fun if you do everything manually
m.kochan10 said:
Always framwork, twframework and SystemUI. With no effect unfortunatelly. But since I know how to do it manually it's no longer a problem And it's much more fun if you do everything manually
Click to expand...
Click to collapse
Always but manually decompile-compile gave me errors so I made it with UOT
nedooo said:
Always but manually decompile-compile gave me errors so I made it with UOT
Click to expand...
Click to collapse
Oh yes, I get errors every time "decompile-compile" is involved. The only way I managed to change window animations was to replace the original anim-folder from framework-res.apk with the tweaked one Surprisingly this method didn't work with ICS-transition effect.
Could I help you? I made the port for Galaxy S II ...
Sent from my GT-I9100 using Tapatalk
Orr.Penn.18 said:
Could I help you? I made the port for Galaxy S II ...
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Thanxs man
And I also made one and attached it with my theme
http://forum.xda-developers.com/showthread.php?t=1507595
m.kochan10 said:
Really? I couldn't make windows animations work with UOT kitchen. I had to extract frameworks and replaced anim folders manually.
Click to expand...
Click to collapse
Mounted /system and /data prior to installation ?
Herpderp Defy.

Do not enter.

Mod is down: The new thread: HERE
Moderators, feel free to delete this post.
Good Start Man, Hope someone will advise very soon.
Thanks for your effort.:good:
Only de- and recompiling will not really lead to anything.
You have to solve each error here step by step. And as you can see there are many entries missing when recompiling against a framework from a different device and/or Android version.
This means that resolving the missing entries (like simply deleting them in each file) won't help because even if the recompile succeeds it will never run because of errors in the dependencies of the apk etc..
you should specify where you've changed
Tried almost everything but i cant get it working. Also tried VRTheme ZIP but it doesnt work too, it doesn't recognize the 9.png files and show the UI stretched... This is not my work, its for Not-i, Majdinj, Zai89 and other amazing themers for this amazing device (sorry if i forgot other users). I've seen it in S2 forums (Themes and Themed roms too) with the TW2013 UI for 4.1.2 so i dont think it will be very hard to an experienced themer. Thanks for the support. Good Luck to everyone!
You are compiling a a 4.2.2-based apk file with 4.1.2 installed framework, if you see in another thread they must have same version or it is themed apk file.
Can just use X-plore open apk as zip file n copy all the themes but not xml to another apk open as zip file.
not much changes wif just a framework.res.apk n options is alittle too small to fit it..
so no point to make a mod just framework.res.apk
@galaxynote2
The pictures in the attachment aren't useful!
If you want to change the png's, then take them from the original apk out!
Don't decompile it!
So, never use 9.png's from decompiled apk!
Try it again with the 9.png's from the original apk. Just copy them from the apk to your new one. Don't decompile it.
If you try to add some 9.png (from decompiled source), then they looks ugly with the vrtheme system...
(and can't build it with apktool too...)
@tkari4 thank you for the answer! I will try again now..
galaxynote2 said:
@tkari4 thank you for the answer! I will try again now..
Click to expand...
Click to collapse
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
tkari4 said:
@galaxynote2
Not working, sorry never made something like that.
The solution for your problem:
Install the 4.2 framework-res.apk (command in the CMD window: apktool if c:/framework-res.apk)
Now decompile your 4.2 framework-res.apk
From the decompiled folders you can add the 9.png's to your 4.1 farmework-res.apk
Install the 4.1 framework-res.apk again
Build your apk and so must work...
Click to expand...
Click to collapse
@tkari4 some progress (attached files). That is my result putting the non-decompiled images in a vr-theme:
Popups are still bugged, 9.png resizing doesnt worked.
Action bars themes (Holo Light and Holo Dark) are now working!
Almost all buttons, checks and ticks are now converted and working.
What to do:
Fix the bugged popups
Convert Text fields (wich are 9.png too so its the same as the popups problems...)
__________________________________________________________________________________________
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
galaxynote2 said:
@tkari4
Can you provide me an S4 framework? Im using the Touchwiz 2013 theme for 4.2.2 Galaxy S3 flasheable zip for converting. I cant find the S4 framework-res to download.
Click to expand...
Click to collapse
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
tkari4 said:
Yeah, must have the original apk and decompile it with the 4.2 framework.
You can find it here: http://forum.xda-developers.com/showthread.php?t=2272392
Click to expand...
Click to collapse
@tkari4 Ok, downloaded... (Slow connection).
So, first i need to install the recently downloaded framework in apktool and then decompile my 4.1.2 Note Framework?
Nevermind! Recompiled without problems! I've modified some pngs to se if it works and worked, so now im porting the fully theme. Thank you!
galaxynote2 said:
After all S4 mods for our Note, this is the last touch to have the new Touchwiz Interface in this amazing device.
Click to expand...
Click to collapse
You are gonna be rocked,,
Waiting for download link, As I understand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
mjrifath said:
You are gonna be rocked,,
Waiting for download link, As I stand without TW interface out grear Note is useless.
Thanks for your effort and share.:good:
Click to expand...
Click to collapse
Could you don't quote the whole thread next time please? Just click the reply button thats all
Juhan Jufri said:
Could you don't quote the whole thread next time please? Just click the reply button thats all
Click to expand...
Click to collapse
Thanks for the info mate. Post edited:laugh:
When you realese this mod?
____________
YES WE SCAN!!!
This thread has to be closed since no updates from OP or there is no any valid MOD
mjrifath said:
This thread has to be closed since no updates from OP or there is no any valid MOD
Click to expand...
Click to collapse
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
el5arsawi said:
for people who can't wait , you can try flashing this one
http://forum.xda-developers.com/showthread.php?t=2297906
Click to expand...
Click to collapse
Thats for 4.2.2
Please op just provide the s4 style launcher
Sent from my GT-I9100 using xda app-developers app

port request

can any one port this rom from galaxy ace cm 10.1 based complete tw nature ux mod like s4
link
http://forum.xda-developers.com/showthread.php?t=2363309
it looks very nice... I hope someone will port it...
OMG awesome ...lets see someone ports it :fingers-crossed:
adityapal said:
can any one port this rom from galaxy ace cm 10.1 based complete tw nature ux mod like s4
link
http://forum.xda-developers.com/showthread.php?t=2363309
Click to expand...
Click to collapse
that rom requires resizing and not many know the trick to resize and hence it may be tougher to port and also guys who know are not willing to teach others about resizing apks
yeshwanthvshenoy said:
that rom requires resizing and not many know the trick to resize and hence it may be tougher to port and also guys who know are not willing to teach others about resizing apks
Click to expand...
Click to collapse
+1
Me too wants to know that resizing stuff. Any help will be appreciated,
cosmickamal said:
+1
Me too wants to know that resizing stuff. Any help will be appreciated,
Click to expand...
Click to collapse
yup bro only ravi h basawa and aspire have done that to fit...ravi hasnt been responding well and aspire i think isnt coming much to xda nowadays so no go
yeshwanthvshenoy said:
yup bro only ravi h basawa and aspire have done that to fit...ravi hasnt been responding well and aspire i think isnt coming much to xda nowadays so no go
Click to expand...
Click to collapse
Any tutorial or something u know, which could be helpful?
cosmickamal said:
Any tutorial or something u know, which could be helpful?
Click to expand...
Click to collapse
if i knew i would have written a alpha guide now bro let me know if u know we ll work together to find a way bro galaxy fit needs gud roms from ace and other mdpi devices
I will study. Will share the information if I succed.
Sent from my GT-S5670 using Tapatalk 2
this can help....
Download & Install FreeImageConverter then launch it.
Click Add Folder... and add the folder were the wallpapers are
Then click Advanced Convert...
Select Exact Size and set the image quality to 100
Set your Width and Height resolutions for your device.
Uncheck Add "Converted by www.freeimageconverter.com"
Select Leave the same file name and leave the Postfix & Prefix empty. Then set your output in a folder.
credits: http://forum.xda-developers.com/showthread.php?t=1598713
Did anyone try 9patch resizer software? It automatically sets the dpi according to our device..https://code.google.com/p/9patch-resizer/
Or u can try this
Android Resizer Tool
swat4samp said:
Did anyone try 9patch resizer software? It automatically sets the dpi according to our device..https://code.google.com/p/9patch-resizer/
Or u can try this
Android Resizer Tool
Click to expand...
Click to collapse
yes. i tried 9patch resizer. but for resizing you should change some layouts too! resizing of pngs is just the beginning . hard part is to resize layouts.

[GUIDE][MOD] How to enable CRT-off animation on MTK devices(BUG-FREE)

Hello!
I love CRT OFF animation but it so happened that there was a bug in it.. the phone started to soft reboot after a while so i was looking up on XDA and came across a guide and I have tested it so far there are no bugs in it..:victory::victory:
I have uploaded CRT off animation for the stock v2 of mmx a89 so People who want CRT off effect on stock v2 can do so by downloading CRT_OFF_FOR_A89.zip from the attachments and directly flashing it via recovery:cyclops:
for people who do not want it on stock rom can do so by following the GUIDE BELOW:
Instructions:
*Assuming that you know how to decompile apks*
1)pull framework-res.apk from your phone which can be found in /system/framework
2)decompile it
3)navigate to res/values
4)open bools.xml
5)look for
<bool name="config_animateScreenLights">true</bool>
6)change true to false
7)recompile and push or flash
8)download crt-off.zip from the attachments
9)flash it
10)enjoy!!
Click to expand...
Click to collapse
No Harm in pressing thanks if i have helped you
GOOD TUT BRO :good:
BUT HARD TO READ THE INTRO. PLEASE MAKE IT SHORT AND CLEAR SO EVERYONE CAN ENJOY READING
noobpremium said:
GOOD TUT BRO :good:
BUT HARD TO READ THE INTRO. PLEASE MAKE IT SHORT AND CLEAR SO EVERYONE CAN ENJOY READING
Click to expand...
Click to collapse
yea sure dude where did u feel uncomfortable?
shashanksetty said:
yea sure dude where did u feel uncomfortable?
Click to expand...
Click to collapse
The introduction of post bro,.. make some sentences seperate that will make it look clean.
noobpremium said:
The introduction of post bro,.. make some sentences seperate that will make it look clean.
Click to expand...
Click to collapse
how about now?
shashanksetty said:
how about now?
Click to expand...
Click to collapse
:good: looking clean and good. keep it up
I use this effect with gravity box.
And question; where can i find custom rom for mtk phones? (Mtk 6572 s4)
leyneli said:
I use this effect with gravity box.
And question; where can i find custom rom for mtk phones? (Mtk 6572 s4)
Click to expand...
Click to collapse
Here You Go:
NeedRom - MTK6572
Follow this Guide To port:
XDA Developers - MTK65xx Porting Tutorial
İ didnt find there
GT-1317 cihazımdan Tapatalk kullanılarak gönderildi
thanks broo
shevchovski said:
thanks broo
Click to expand...
Click to collapse
there is a button for it
Okeeyy
im lost at step 3. i cant find res/values. can someone help me ?
hurvee12 said:
im lost at step 3. i cant find res/values. can someone help me ?
Click to expand...
Click to collapse
Hello mate!
Every framework should contain a res folder and a values folder! If you can't find it, check if you have decompiled the framework correctly, try using the search option.
If you're still having trouble, try using xposed tweakbox (xposed module) for the CRT off effect.
thanks for the quick reply. hmm xposed tweakbox ? does that have crt animation ? unfortunately im having problems understanding recompiling/decompiling apps
i tried to do it now but i just got stucked to bootloop. lol. lucky i haved backup.
i have gravity box right now. but it does not support crt animation off. any modules have crt animation off sir for easy not doing this recompiling thing
sorry for bad english
hurvee12 said:
thanks for the quick reply. hmm xposed tweakbox ? does that have crt animation ? unfortunately im having problems understanding recompiling/decompiling apps
i tried to do it now but i just got stucked to bootloop. lol. lucky i haved backup.
i have gravity box right now. but it does not support crt animation off. any modules have crt animation off sir for easy not doing this recompiling thing
sorry for bad english
Click to expand...
Click to collapse
Which phone do you use? If it doesn't have a mtk(mediaTek) chipset you don't have to include the lib file, just the books.xml would be sufficient, and do tryout xposed tweakbox.
shashanksetty said:
Which phone do you use? If it doesn't have a mtk(mediaTek) chipset you don't have to include the lib file, just the books.xml would be sufficient, and do tryout xposed tweakbox.
Click to expand...
Click to collapse
i have a micromax a110. hmm i give up on this recompiling. installed lockscreen tweaks. it works. but when i locked my screen it reboots. help ?
hurvee12 said:
i have a micromax a110. hmm i give up on this recompiling. installed lockscreen tweaks. it works. but when i locked my screen it reboots. help ?
Click to expand...
Click to collapse
You can't be sure what is causing that unless you look at a log!
It's most probably because it isn't compatable for the android version you are running or it might me for a different rom, and I have modded the stock framework for a friend he had a canvas 2 too, there were no problems at all! I think you haven't decompiled the framework-res.apk
Try using tickle my android for decompiling and recompiling its very easy to use!
shashanksetty said:
You can't be sure what is causing that unless you look at a log!
It's most probably because it isn't compatable for the android version you are running or it might me for a different rom, and I have modded the stock framework for a friend he had a canvas 2 too, there were no problems at all! I think you haven't decompiled the framework-res.apk
Try using tickle my android for decompiling and recompiling its very easy to use!
Click to expand...
Click to collapse
tweakbox is not working for me
well to be frankly i think i have done recompile/decompiling. i watched a youtube video on how to do it.
but im lost at push or flash step. i have the new framework.res apk. how to do it sir. tweakbox is not working for me
does flash means i have to zip the framwork.res apk ? then flash it ?
hurvee12 said:
tweakbox is not working for me
well to be frankly i think i have done recompile/decompiling. i watched a youtube video on how to do it.
but im lost at push or flash step. i have the new framework.res apk. how to do it sir. tweakbox is not working for me
Click to expand...
Click to collapse
You need an empty zip file to flash. download the CRT_OFF_FOR_A89.zip that I have attached to this post and replace the existing framework-res.apk with your framework-res.apk using 7-zip or winrar just delete the existing one and drag and drop your framework to the same directory
Put the zip in your sdcard and go to recovery select install zip from SD card and then select the zip. Then reboot

Modded SystemUI.apk required

Hey guys I know it is a silly request but can anyone pleas give me a modded kitkat style SystemUI.apk? I've tried several xposed modules but none of them do the job quiet right. Thanks in advance.:fingers-crossed:
devrookie said:
Hey guys I know it is a silly request but can anyone pleas give me a modded kitkat style SystemUI.apk? I've tried several xposed modules but none of them do the job quiet right. Thanks in advance.:fingers-crossed:
Click to expand...
Click to collapse
It's actually more practical to use Xposed Modules since the changes will are not permanent.
Modules like GravityBox, Xblast Tools and Android L Navigation will give you what you are looking for.
pls help.. i accidentally delete some files on my systemUI, can someone pls help me how to push systemUI using PC/desktop computer?
i cant access my phone because it always shos system ui has stopped... pls help
KitKat easteregg in Xperia C
I have some files so that u can get
Android 4.4 KitKat easteregg in Xperia C
Just place these files in a custom rom.
Visit this thread by me :
http://forum.xda-developers.com/son...to-add-android-4-4-platlogo-xperia-c-t2830988
And dont forget that thanks button.
iSiddharth said:
I have some files so that u can get
Android 4.4 KitKat easteregg in Xperia C
Just place these files in a custom rom.
Visit this thread by me :
http://forum.xda-developers.com/son...to-add-android-4-4-platlogo-xperia-c-t2830988
And dont forget that thanks button.
Click to expand...
Click to collapse
Can these be used in Xperia SP
Yes but after edit
ravendra275 said:
Can these be used in Xperia SP
Click to expand...
Click to collapse
Yes the "KitKatPlatlogo.apk" can be placed in the specified destination and you will have to edit some codes in "framework.jar" after decompiling it.
iSiddharth said:
Yes the "KitKatPlatlogo.apk" can be placed in the specified destination and you will have to edit some codes in "framework.jar" after decompiling it.
Click to expand...
Click to collapse
..or u could just install xposed and eggster?
mabaso said:
..or u could just install xposed and eggster?
Click to expand...
Click to collapse
I think Easteregg cannot be changed using Xposed framework.. you have to edit smali files inside framework.jar and then place the platlogo app in system and framework folders.
to do this on Xperia C you can use the tutorial whose link i have given some post above

Categories

Resources