Need help to add % on services.jar - Liquid S100 Android Development

guys , is there anyone who can help me and write a guide or point me to one on how to add the % overlay for the battery? Cant find what damn smali file to edit.

Piter1225 posted this on a MoDaCo thread:
http://android.modaco.com/content-p...your-homescreen-usable-and-eye-candy/page/40/
In services.jar edit IconData.smali, StatusBarIcon.smali, StatusBarPolicy.smali
The best way is to find two services.jar from same ROM - one with, and one without percentage batt and compare them.
Good apps for comparing two files are in my opinion: ExamDiff for Windows and xxdiff for Linux
Click to expand...
Click to collapse
BTW, if you are making one for the latest FroYo leak, can you please share it?

thanks a lot. Apparently LSteam already did the editing of the services.jar so he saved me a lot of work. you should probably try pushing his services.jar. it might add the % overlay.

nevermind what i said. He went the easy way and did the changes on the framework. I guess ill have to do the whole editing thing.

Related

deodexed for themes

I see all themes ive wanted required "deodexed", but yet I cant find any information on how to "deodexed" lease.link.me.to.solution:
Thanks
allow me to assist you in your search:
http://tinyurl.com/27q5ml8
...wise guy huh
"De-odex: Apk files have respective odexes that devs use to supposedly save space. Deodexing means you convert it back to a .dex file and put it back inside the apk. This allows you to easily replace files (not having to worry about odexes), but the main point was to deodex services.jar so that you can change all text to different colors (such as the clock color to white) and to deodex services.jar, you need to deodex everything. "
I understand this aspect...but is there like a guide for (apparently) noobs? As that is what I can seem to find....
perhaps you should read a little in the dev forum??
http://forum.xda-developers.com/showthread.php?t=1162764
found it all the way on page 3...and i also found it by.... GOOGLING: deodex atrix
i also found it using the XDA SEARCH feature...remarkable thing it is: deodex atrix
sorry if you find these responses sarcastic, but for pete's sake...i had to do a SEARCH to find it....and find it I did. i cant imagine your search would be that different.
also, this should have been posted in Q&A, and any custom rom you are on is probably ALREADY deodexed...as its basically a standard that everyone does when building a rom.......
...must be my browser results thats failing No worries man, I reply the same way on other msg.brds that I have been on for since 2002 (other topics apparently LOL). Thanks alot.

[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] Framework-res.apk pngs description

Can anyone guide me which png changes what in the framework?
I mean like any step by step guide for knowing which png is for what screen, like stat_sys_battery_40.png is for Battery at 40%.
Thanks, I'm new to this, and I just want to theme my rom to my taste.
Please Help.
There are hundreds of pngs - to say what each one does is not practical
most are described as it actually is - eg batt is battery or you can just look at the png and see what is
if you want to do something specific best thing to do is search for a guide for what you want to do - eg add epm to framework
varun90rulz said:
Can anyone guide me which png changes what in the framework?
I mean like any step by step guide for knowing which png is for what screen, like stat_sys_battery_40.png is for Battery at 40%.
Thanks, I'm new to this, and I just want to theme my rom to my taste.
Please Help.
Click to expand...
Click to collapse
I think that there is a guide available for framework files by @d3cka. Check his profile.
Edit. Here is it
forum.xda-developers.com/showthread.php?t=1966585
san122 said:
I think that there is a guide available for framework files by @d3cka. Check his profile.
Edit. Here is it
forum.xda-developers.com/showthread.php?t=1966585
Click to expand...
Click to collapse
Wow, Thanks!

[Q] create a rom.

hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
saltalabanca said:
hi all, im trying to create a rom, and this is my progress. how to edit the framwork? please help
http://imgur.com/PCZShgL
http://imgur.com/wArD5yx
http://imgur.com/xUEjJon
Click to expand...
Click to collapse
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
marcussmith2626 said:
Your question is too vague - state exactly what you want to do if you want support from members
There is lots of things you can edit in framework-res and android.policy
Best to type into Google what you want to do and search for a guide
It looks from your pics you have just created a working folder in kitchen
You need to decompile the apk you want to edit with apktool then edit xmls smalis and pngs - again search for a guide for exactly what you want to do
Click to expand...
Click to collapse
i replace the framework, and the systemUI dont think how to edit all, im very noob
saltalabanca said:
i replace the framework, and the systemUI dont think how to edit all, im very noob
Click to expand...
Click to collapse
again too vague - you cant just say you want to replace the SystemUI - that is an entire apk - Unless you are just going to replace it with a SystemUI.apk from another rom but I would not recommend that as if you are going to release the rom you wouldn't have permission to do so plus the apk may have dependences of other apks and mods that you would also need to include
You need to know exactly what you want to mod
If you want to mod the SystemUI.apk you would need to decompile the apk with apktool and edit what you want - You will find guides to do this if you search google - You will find a guide to decompiling apks in my signature which has all my threads.
If you want to add lidroid toogles for example search for galaxy y xda how to add lidroid toggles in google
Same if you want to edit the framework to add extended power menu search for that
You cant just say I want to replace this and that apk
Also calling yourself a noob is no excuse - You have to learn how to use google and how to use the search feature to find what you want to do and then read everything - Once you have understood the basics and you know what you want to achieve only then if after trying you can post in the respective threads for any support relating to the thread

3minit

Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
neo4uo said:
Has anyone taken the time to change deodex the SystemUI_ZTE file and making the edits to enable 3minit functionality yet? If so let me know, if not I am gonna work on it in the next few days. The pain was deodex odex files from what I remember, anyways thanks!
Click to expand...
Click to collapse
I can upload any deodex, file you may need to get to work,
I try but no luck and been short in time to keep trying.
P.S. B29.Community ROM & Dmix7 or any ROM base on both of my ROM are deodex.
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
neo4uo said:
If you can get me the the the deodex SystemUI_ZTE file I can get the other files needed if not I may have time to deodex it myself I just remember that deodex for odex file was a pain and I will have to teach my self how to do it again.
Click to expand...
Click to collapse
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
DrakenFX said:
No problem, I'll have a zip file ready later today with SystemUI and framework?
P.S. Superr's Kitchen is a beast for cooking ROM and Deodexing is what I been using by the way.
Click to expand...
Click to collapse
That will be awesome, then we can get some 3minit action going with some custom batteries
neo4uo said:
That will be awesome, then we can get some 3minit action going with some custom batteries
Click to expand...
Click to collapse
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
DrakenFX said:
Yeah , that'll be awesome.... I'll have them ready in a few hours.
EDIT : @neo4uo
i'm about to get the zip file ready, which files you'll need? beside SystemUI_ZTE and Framework?
Click to expand...
Click to collapse
All I need is the system ZTE deodexed I have the rest!
neo4uo said:
All I need is the system ZTE deodexed I have the rest!
Click to expand...
Click to collapse
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
DrakenFX said:
okie, here is a bundle
enjoy and let us know about the progress
http://www.mediafire.com/file/79dch06482d7x39/3mint_work_files.zip
Click to expand...
Click to collapse
Thanks man I will get on it, if it goes alright you will have to start a thread in apps and themes and post the files since you are good at that kind of stuff
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
neo4uo said:
Well I got the files and made the changes and flashed and it.... Didn't work. Now when I was in one of the XML files making some edit I noticed that ZTE pulls it's battery file from another app kind of like 3minit does. So the problem is going to be tracking that down and making some more edits... Error oh well the standard procedure didn't work, but I have not given up it will take longer and I might have to change another app or have one deodexed, but I will let you know.
Click to expand...
Click to collapse
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
DrakenFX said:
Any luck @neo4uo?
Wonder if anyone from 3minit thread can help.
Click to expand...
Click to collapse
Not yet I haven't had Romero work on it much. I did ask in the 3minit forum but haven't got a response yet
This guy got it working! I flashed the US version so fat do good.
http://forum.xda-developers.com/axo...-battery-mod-zte-axon-7-a2017g-t3537460/page2
add final version

Categories

Resources