[Quiries] help from experts needed - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

All right I just finished my exams so I wanted to release my rom as promised
Almost everything is done but I have to do some bug fixes
So I ask my fellow Themers and devs some quiries regarding XML editing
1. How to change font colours
The blue text in settings and contacts perticularly (blue looks like crap with my theme I want complete detiles regarding this
Click to expand...
Click to collapse
2.how to rename apps (lidroid parts exactly I took a random rom and completely modified the lidroid parts but now I don't know how to rename it also I want to rename the wallpaper pack )
Click to expand...
Click to collapse
3.how to make apps not appear in drawer
Click to expand...
Click to collapse
4.how to add things to settings like rom name, dev name and also shortcuts to apps that I hide from launcher...
Click to expand...
Click to collapse
Pleez answer these questions these are all I need to complete my rom
Its an elegantly themed gaming rom
Also I am single handedly working on it from almost a month so pleez help me by answering my questions
My motivation
Sir Carl
Death notice and many more who encouraged me and made xda feel like a family (me new to root Techno tingu deadly 42d1l and many many more except avigith
Thanks in advance
Ubuntu themed apps and other stuff here
Click to expand...
Click to collapse
--->make phone faster and battery efficient
--->partition and link2sd for NOOBS?!?!?
--->3d games for galaxy y (no root no lag)

Thanks for your rom in advance bro !
Sent from my GT-S5360 using xda premium

You rename apps you need to edit smali files. I also didnt know how to rename my launcher but i searched a lot. To change color you need to edit xml files in res/layout or res/values.
Sent from my GT-S5570I using xda app-developers app

...
Here`s the tutorial on how to add option in settings[about phone]...
It worked for me...
http://forum.xda-developers.com/showthread.php?t=2061958
Press Thanx if I helped u...!!

2. The App Name is defined in the strings.xml in the res folder... But usually I get errors while compiling it back.. I dont know if this works for you
I dont know the rest... D-3V!L already gave you the tutorial about Rom name and dev name thingy

Changing text color http://forum.xda-developers.com/showthread.php?t=2151075
-respect older people-

To rename apps open androidmanifest . You might find something like 'android:label="@string/app_name" if u see some thing like this search for "app_name" (in this case ) and you will find the name of app in the strings.xml
if i hav accidently helped u, u can press that button,

colors are located in colors folder,
specifically
primary_text_****.xml
secondary_text_****.xml
etc. etc.
declared as hex codes,
please research the proper hex codes for your desired color,
and compile the apk properly to get best results,
preferably you could replace classes.dex with the previous unedited apk incase it does not install

...

Related

Modifying musicplayer.apk & other doubts regarding unpacking & packing apk!!

I like the option to change music from anywhere via notification but i hate the cheap default album art in it!! So I like to extract the apk remove those pictures!! Does removing those pictures alone will cause any problems?? If the answer is yes I ll replace those images with my own images!!
So now regarding extracting :
Does extracting by zip & repacking again with zip & changing name as .apk is enough or do I want to extract using apk extractor/manager found in this forum (forgot its name) & repack & sign it with the same??
Regarding .odex file :
I have a rough idea about odex & deodexed files!! Stock application is usually odexed!!
Now my doubt is what I have to do with the .Odex file near the music??
Help me out soon
Sorry for my bad English & unframed question!! Cz am posting via mobile!!
Sent from my GT-I9100 using XDA App
Don't ever remove stuff, depending on how they are loaded / how well coded the app is, it will most likely cause null pointers and so force close.
If you mod an apk, replace stuff but don't remove or rename.
P.S. you could deodex the app, to make your life simpler, but deodexing is no simple task for system apps if you are not familiar with the process.
Maybe the solution, if you want to mod, is to get a deodexed rom and mod away.
Sent from my GT-I9100 using Tapatalk
Am new to Android just a week old, but am not a total noob i had molded roms in Symbian!!
So please send me links or tutorials about
How to deodex & other important things about droid!!
Also am not gonna remove anything am just gonna replace default images for music player for album art with custom pics!! I already replaced camera. Apk for battery mod found in the forum!! I can request any1 to mod for me but I really like modding it on my own, i like droid more than Symbian now!! & even am not using iPad properly after buying s2!!
Coming to point, is musicplayer.apk is system app like touchwiz. Apk & framework-research. Apk??
Update:
If i wanna edit musicplayer.apk what to do with its ODEX file ?!!
Sent from my GT-I9100 using XDA App
rajaspidey said:
Am new to Android just a week old, but am not a total noob i had molded roms in Symbian!!
So please send me links or tutorials about
How to deodex & other important things about droid!!
Click to expand...
Click to collapse
http://lmgtfy.com/?q=How+to+deodex
rajaspidey said:
Coming to point, is musicplayer.apk is system app like touchwiz. Apk & framework-research. Apk??
Update:
If i wanna edit musicplayer.apk what to do with its ODEX file ?!!
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Frameworks are not applications. But yeah, Musicplayer.apk is an application apk.
As for the Odex file... http://lmgtfy.com/?q=Odex+file
messed up my music player cant able to install stock back too !! please help me !!
i need to replace default album art with this png's !! for 400x400 i need that thumb_00.png !! please help me !!
also please teach me how to modify/edit/customise/repack/sign apk's !!!
1) Reflash your current rom (look for stock roms topic in Original Android Development forum)
2) ALWAYS do a backup of your files before messing with them, especially when you don't know how to recover them -.-'
3) Asked like this, nobody will do that for you. Moreover, that's iTunes, and we, as loyal Android users, won't take any of these into our droids.
4) To modify/edit/repack/sign APK, there's Google for that. It has tons of resources if you only take a second to type in your search, and one other to look at the links.
XpLoDWilD said:
1) Reflash your current rom (look for stock roms topic in Original Android Development forum)
2) ALWAYS do a backup of your files before messing with them, especially when you don't know how to recover them -.-'
3) Asked like this, nobody will do that for you. Moreover, that's iTunes, and we, as loyal Android users, won't take any of these into our droids.
4) To modify/edit/repack/sign APK, there's Google for that. It has tons of resources if you only take a second to type in your search, and one other to look at the links.
Click to expand...
Click to collapse
thanks for your help now i learnt that i have to deodex the app to make it work !! if u can u can help me !!
i found a tool called "Andrizoid's_Deodex_Kitchen_V4" but files have extension .sh confused about what to do !! help me if you can or else i ll need to google all night
k now i have deodex tools !! but now i need framework files for samsung !! does twframework-res.apk/framework-res.apk & its ODEX & jar files are enough ??!!!
rajaspidey said:
i found a tool called "Andrizoid's_Deodex_Kitchen_V4" but files have extension .sh confused about what to do !! help me if you can or else i ll need to google all night
Click to expand...
Click to collapse
Jeeeeeeeeeezzzz....
If you don't know what a .sh is, then you shouldn't be doing what you're trying to do.
P.S. you could deodex the app, to make your life simpler, but deodexing is no simple task for system apps if you are not familiar with the process.
Click to expand...
Click to collapse
As said in the first reply.
And yes, framework-res and twframeword-res.apk should be enough.
Sorry .Sh means shell used on linux!! I hv no basic of computer programming am an civil engineering student .!!
BTW i deodexed files my doubt is musicplayer.apk is system app right I repacked it & replaced it in folder but it's not appearing in menu!! :-(
Do I wanna push it like update.Zip?? Creating update.Zip is just like creating folder system/app, putting musicplayer.apk in it & zipping it right!!
I hv a nandroid but i wn restore it I want to modify musicplayer.apk & make it work!! You gotta solve my noobish doubts bro!!
Sent from my Galaxy S II via XDA app so sorry if u did any typographical or other mistakes!!
i deodexed musicplayer.odex with help of
http://code.google.com/p/smali/wiki/DeodexInstructions
&
http://www.madteam.co/forum/tutorials/how-to-deodex-an-odex-file
now i got an out folder !! please send me link for anythread which has how to for this kind of modifications !! am too searching !!
[MOD] modified default album art images for music player in SGSII.!!
Succesfully made my music player !! the work is simple i made it complicated !! just deodexing to dex is enough !! i was more noobier than i thought & when i was about to post it i found it was already present in the forum !!
anyways i learnt how to deodex & many things heres own my mod version attached !!
thanx for your help !! & thanx to XDA Forum !! thnx to @XpLoDWilD & other member replied for me !!
just copy this to System/app/ rename your musicplayer.apk & its .ODEX to musicplayer.bak (just keep a backup)
& rename this as musicplayer.apk no install needed !!
Hell yeah finally i made an mod !!
Nice to see your first mod!!
Thank you bro!! Soon ll post detailed how to for newbie/noobs like me!! I won't ask them to Google . Lol
Sent from my Galaxy S II via XDA app so sorry if i did any typographical or other mistakes!!

[Request] How to remove recent apps from status bar

Hi devs,
I want to remove recent apps from the status bar.
The SystemUI.apk is from Hintay's HTX Mod 0.59.1|Android 2.3.3
I browsed all the forum and tried all these methods but didn't work on 2.3.3.
The methods I tried as below:
http://forum.xda-developers.com/showthread.php?t=1018818
http://forum.xda-developers.com/showthread.php?t=1225558
http://forum.xda-developers.com/showpost.php?p=15417961&postcount=107
I upload the SystemUI.apk and hope devs would be kind to teach me or help me to remove recent apps from the status bar.
Great thanks to you all !
Much appreciated !
There are two ways, one easy and one hard. In the hard one you kind of remove all the functionality of the recent apps section. In the easy one you just adjust the height to 0, so It's not visible. I only know the easy one do you know how to decompile apps? If not take a look in my guide ;-)
Then you can probably just do as the guides says or something. I haven't seen through them yet ;-) else go to res/ layout/ status bar expanded and find the line which includes recent apps or something similar. Change layout_height to 0.0dp ;-)
Edit: took a look at the guides. They are a bit more work, but you should use one of them instead, as they remove the whole thing so it will probably improve performance a bit more
Sent from my Hero using XDA
Thank you Habarug!
The purpose i want to remove the recent apps is just as you said it will improve performance when pulling down the notification bar.
So only adjusting the height to 0 may not improve the performance and reduce the laggy. Just my guess.
I've tried these guides but don't work..
But when you tried the guides, did you decompile the systemui or did you just open it with 7zip or smthing? You cannot change any xmls or smalis or stuff like that unless you decompile it
yes, i use apktool to decompile the SystemUI.apk and Notepad++Portable to edit.
who can answer...
another and easiest way is just replace system.ui from SalsaSense 4.0
http://jieehd.qap.la/options/HtcSalsaStatusBar.zip
Thank you! Good idea!
but my purpose is to learn the methods, just be curious and interested in these things
It seems that just editing the status_bar.xml as I explained above might help a bit on the performance I have no idea about the smali edits, I cannot change smalis without guide
caiyc9064 said:
Thank you! Good idea!
but my purpose is to learn the methods, just be curious and interested in these things
Click to expand...
Click to collapse
by the way,i tryed your rom and i can tell is very slow,i suggest you to try Rose v5
Habarug said:
It seems that just editing the status_bar.xml as I explained above might help a bit on the performance I have no idea about the smali edits, I cannot change smalis without guide
Click to expand...
Click to collapse
alright, i will have a try
slobo2712 said:
by the way,i tryed your rom and i can tell is very slow,i suggest you to try Rose v5
Click to expand...
Click to collapse
right, it's slow. but when i delete some apks such as htc hub, htc likes etc. and then add some scripts (06loopy_smoothness_tweak, 13KickAssKernel, 15cleanup_init_ram, 17speedy_modified, 30memtweak) from [ROM][2.3.5] Zero Hero Sense 3.5 RC 2.5 [Mar. 2, 2012] and also enable swap.
after that you will find this rom is really fast!
caiyc9064 said:
right, it's slow. but when i delete some apks such as htc hub, htc likes etc. and then add some scripts (06loopy_smoothness_tweak, 13KickAssKernel, 15cleanup_init_ram, 17speedy_modified, 30memtweak) from [ROM][2.3.5] Zero Hero Sense 3.5 RC 2.5 [Mar. 2, 2012] and also enable swap.
after that you will find this rom is really fast!
Click to expand...
Click to collapse
can u give a link to all the stuff u mentioned in your post?
tnx in advance
you mean the list of apks i remove or the scripts i add ?
caiyc9064 said:
you mean the list of apks i remove or the scripts i add ?
Click to expand...
Click to collapse
well if u can, please
List of apk's removed and scripts
scripts added:
06loopy_smoothness_tweak
13KickAssKernel
15cleanup_init_ram
17speedy_modified
30memtweak
50swapon
apks removed:
com.htc.FriendStreamWidget.apk
com.htc.MusicWidget.apk
com.htc.TrendsWidget.apk
com.htc.TwitterWidget.apk
CSPeopleSyncService.apk
DCSStock.apk
Flickr.apk
FriendStream.apk
GenieWidget.apk
GoogleBackupTransport.apk
GoogleFeedback.apk
GoogleQuickSearchBox.apk
HtcDirect.apk
HtcDirectDownloadsProvider.apk
HtcFeedback.apk
HtcGreader.apk
HtcHubSyncProvider.apk
HtcLog.apk
HtcProfileWidget.apk
HtcRecommends.apk
HtcRecommendsWidget.apk
HtcTipWidget.apk
LiveWallpapersPicker.apk
maps6.0.0-ownhere-signed.apk
MarketUpdater.apk
MyHTC.apk
MyReportAgent.apk
OnlineAssetDetails.apk
QuickLookup.apk
SpareParts.apk
Stk.apk
Stock.apk
Street.apk
Transfer-icong-8.20.0.26-S21.apk
VoiceDialer.apk
VoiceSearch.apk
YouTube.apk
maybe you could try to create and upload a flashable zip of your version of the ROM ... I'm sure many people who pay attention to your work
At least me
lolo7291 said:
maybe you could try to create and upload a flashable zip of your version of the ROM ... I'm sure many people who pay attention to your work
At least me
Click to expand...
Click to collapse
And me
lolo7291 said:
maybe you could try to create and upload a flashable zip of your version of the ROM ... I'm sure many people who pay attention to your work
At least me
Click to expand...
Click to collapse
pirlouit2 said:
And me
Click to expand...
Click to collapse
i'd love to share the rom.
but i'm in China, i can't upload it to the mediafire cause the GFW of our government.
can you suggest other web disks so i can have a try?
caiyc9064 said:
i'd love to share the rom.
but i'm in China, i can't upload it to the mediafire cause the GFW of our government.
can you suggest other web disks so i can have a try?
Click to expand...
Click to collapse
dropbox maybe? or e-mail it to somebody

[Q] How to mod/edit apk's via ApkTool

Hi guys, can you teach me how edit or mod these default apk's on our phone :
-mms.apk
To Samsung Galaxy S3 theme.
Thanks. )
Dude just use guides see in general section use search button
Sent from my GT-S5360 using Tapatalk 2
rmhoh said:
Hi guys, can you teach me how edit or mod these default apk's on our phone :
-mms.apk
To Samsung Galaxy S3 theme.
Thanks. )
Click to expand...
Click to collapse
Hey I have not edited the mms.apk which u have told.But you just asked for theming so i can help the simple theming guide
Use apktool to decompile these apk files after which you get the folder which contains res,smali etc files
As you are not modding just want to change the theme go to the res folder and open the drawable-hdpi,drawable-ldpi.
Replace the images you want to change with that from s3 and build it ....
Voila you got a themed app ...
Incase you want to edit the UI also like by adding more buttons kind of thing then you might consider doing some stuff around with the layouts and smali code..
In case of smali, learn from this site ..
http://androidcracking.blogspot.in/search/label/smali
Gud Luck.
Thanks i think this might help you,
optimus
PS:I think most of the res required for system files are present in framework.
Use the search button...
There are a lot of tuts forit...
But You can Also use APK Manager, its easy but not very good as apjtool...
Sent from my GT-S5360 using Tapatalk 2

[Rom-Dev] romname-res.apk what is the use of it?

As I have seen in many custom roms! In the framework folder like in hyperion has hyperion-res.apk.... What are the uses of keeping this file and How to use them... I am developing a rom thats why I am asking these questions... Like in a Lockscreen mod or a Statusbar mod its provided with the hyperion-res.apk but why... How does a rom simply usethat ap? Pls. someone pls. Guide me through this stuff so that I can improve my rom!
My main question is where are these resource apk's defined? Like isit namedin the framework-res.apk or twframework-res.apk? Pls. This Answer shouldbe withtechnosavie, Ganesh A, yash989, CarlDeanCatabay or someone else who knows this stuff And if like someone made a status bar mod for hyperion it contains hyperion-res.apk if I rename it to "rom-res.apk" Will it work? Pls. Provide me an answer!
One Simple Ansah
Its Lidroid-Res.apk
Used by lidroid toggles and some
Hmmm
74M3NUMB3RS said:
One Simple Ansah
Its Lidroid-Res.apk
Used by lidroid toggles and some
Hmmm
Click to expand...
Click to collapse
But like described in Ganes A's mod thread ICS Lockscreen there
death_sinker said:
But like described in Ganes A's mod thread ICS Lockscreen there
Click to expand...
Click to collapse
I dont get you :sly:
I thought u have much knowledge than me :sly:
Doesnt matter if u r 1 year older than me dude
Hmmm
74M3NUMB3RS said:
I dont get you :sly:
I thought u have much knowledge than me :sly:
Doesnt matter if u r 1 year older than me dude
Hmmm
Click to expand...
Click to collapse
I make these kinda thread to gain more knowledge People Rename lidroid-res.apk to creed-res.apk/rom-res.apk I know that too! I was getting confused nothing much >.<
y u no read guides instead of making threads start from basics u will know every this
Sent Via Muffins
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
rom-res file is the toggle file.Whenever you change the the rom-res,you just replace the toggles file with a new one.
"A fool flatters himself but a wise flatters the fool" - Doctor VC
They are used to store res files like icons drawables etc for the rom's toolbox were you customize the rom...
They basically have the lockscreen and quick toggle data.. resources nd layouts
depends on what it is declared,
i can make a lozer.apk and it is a interface pack for the whole android system,
depends on how it is declared in the xmls
deathnotice01 said:
depends on what it is declared,
i can make a lozer.apk and it is a interface pack for the whole android system,
depends on how it is declared in the xmls
Click to expand...
Click to collapse
How do we declare apk's in xml's?? I mean which xml?
Sent from my SGY with muffins.!
Mostly android manifest and style xml

Theming Help

can someone tells me guide to edits framework of galaxy y? (I means to add theme, etc) Thanks
GalKill said:
can someone tells me guide to edits framework of galaxy y? (I means to add theme, etc) Thanks
Click to expand...
Click to collapse
Sorry this question is too general
First you need to decide what exactly it is you want to do
Next type into google what it is you want to do and add xda on the end (you can add galaxy y on the end too if you want to search galaxy y threads) - eg how to add brightness slider xda galaxy y
marcussmith2626 said:
Sorry this question is too general
First you need to decide what exactly it is you want to do
Next type into google what it is you want to do and add xda on the end (you can add galaxy y on the end too if you want to search galaxy y threads) - eg how to add brightness slider xda galaxy y
Click to expand...
Click to collapse
Sorry sir :'( But how to change height name banner and change the icons?
GalKill said:
Sorry sir :'( But how to change height name banner and change the icons?
Click to expand...
Click to collapse
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
marcussmith2626 said:
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
Click to expand...
Click to collapse
Sir,Please help me also?
marcussmith2626 said:
hight will be in xml file and png will be in res folder
cant tell you which xml or what the name of the png is you will have to decompile the apk you want to mod and look through it
Click to expand...
Click to collapse
Can u give me the specific directory of the folder,please?
GalKill said:
Can u give me the specific directory of the folder,please?
Click to expand...
Click to collapse
I cant because I dont have the apk nor can I really help you - you will just have to look through the xml untill you come across the line for thing you wish to change the height of
Same for the png - look through the res folder untill you see the png you wish to change
marcussmith2626 said:
I cant because I dont have the apk nor can I really help you - you will just have to look through the xml untill you come across the line for thing you wish to change the height of
Same for the png - look through the res folder untill you see the png you wish to change
Click to expand...
Click to collapse
But it's appear on all apps; I think the problem is on the framework-res.apk. It's miniROM touchwiz nature UX
GalKill said:
But it's appear on all apps; I think the problem is on the framework-res.apk. It's miniROM touchwiz nature UX
Click to expand...
Click to collapse
then look in the framework - probably in styles.xml
you can try <item name="listPreferredItemHeight">64.0dip</item>
I presume thats the gap between items in a list/the height of each item
marcussmith2626 said:
then look in the framework - probably in styles.xml
you can try <item name="listPreferredItemHeight">64.0dip</item>
I presume thats the gap between items in a list
Click to expand...
Click to collapse
How about to make it into stock-like ? (No icon, just a banner with the app name )
GalKill said:
How about to make it into stock-like ? (No icon, just a banner with the app name )
Click to expand...
Click to collapse
most likely will require smali change as the smali will probably refer to a public value for the png or it could be a case of it just being refered as a drawable value in a drawable/layout xml - again you will have to look
without knowledge or understanding of what you are looking at it will be very hard for you to do - sorry

Categories

Resources