[Q]How can I change the rom UI? - Desire HD Q&A, Help & Troubleshooting

Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?

Galliture said:
Hi i wanna know how can I edit the UI of my rom for example in ics I want to change that blue line on title of apps or the icons or the status bar background and icons?
Click to expand...
Click to collapse
You would need to flash a theme for the rom or theme the system apks yourself.

zelendel said:
You would need to flash a theme for the rom or theme the system apks yourself.
Click to expand...
Click to collapse
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?

Galliture said:
No i like to theme the rom myself but how can I do it? Ones I tried to decompile the systemUI.apk with apk manager but it didnt decompiled it ... How do modders make modes? which app should i use for modding?
Click to expand...
Click to collapse
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?

zelendel said:
Apktool is the prefered method but it is alot of trial and error depending on the rom used. Did you install the framework files? Do you have the SDK installed?
Click to expand...
Click to collapse
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?

Galliture said:
im using ice cold sandwich 7.5 but my sdk is for platform 9 and i cant update it ... can you give me a link for apk tool?
Click to expand...
Click to collapse
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS

zelendel said:
ICS requires a special apktool set up you have to use a command line set up and 2 different apktool jar files. a Search for decompiling ICS will get you a link to the how to and tools.
http://forum.xda-developers.com/showthread.php?t=1511730
Here is a link that came up in the first result of a search but you will need to update the SDK to allow editing ICS
Click to expand...
Click to collapse
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?

Galliture said:
Tnx.I have the lastest version of sdk manager but when i wanna update it it just shows my current sdk .. i tried many ways to update it but i couldnt. How did you get sdk for platform 13?
Click to expand...
Click to collapse
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2

zelendel said:
Just ran manager with admin rights and downloaded and installed all updates. I have windows 7 64 bit
Sent from my Inspire 4G using Tapatalk 2
Click to expand...
Click to collapse
ran manager? does it update the sdk? no im using win xp sp3 32bit(i loooove xp)

Related

[TUT] ICS transition animation for SGA

Original thread here: (thank to capez
http://forum.xda-developers.com/showthread.php?t=1342117
Click to expand...
Click to collapse
I think this tut is for advance users. But others can try
1. Get your "framework-res.apk" in /system/framework
2. Use apktool to decomplie that file. (I recommend apktool becoz I often use it )
- Command to decomplie: apktool d framework-res.apk framework-res
3. Download source file here:
http://www.mediafire.com/?4u6y6udecy60dei
Click to expand...
Click to collapse
4. In extracted folder which u get from "framework-res.apk", find "anim" folder in \res
5. Extract source file in step 3, u will get 2 folder:
- anims
- other_files
6. Copy files from both folders in step 5 into "anim" folder in step 4
7. Open "integers.xml" in /res/value and find this line:
<integer name="config_shortAnimTime">150</integer>
Click to expand...
Click to collapse
then add the following lines after it:
<integer name="config_activityShortDur">150</integer>
<integer name="config_activityDefaultDur">220</integer>
Click to expand...
Click to collapse
8. Complie your "framework-res.apk" with command: apktool b framework-res new.apk
9. You will get a file "new.apk" but dont use it. Open extracted folder which u get in step 2, u will find a folder "build" and a file is "resource.arsc" inside
10. Now you need to use 7zip. Right click on that resource file, choose 7zip > add to archive and select original framework-res.apk with type is zip.
11. Open "new.apk" in step 8 and original "framework-res.apk" with 7zip. Drag and drop "anim" and xml folders in "new.apk" to "framework-res.apk"
12. It's finished. U can use the file "framework-res.apk" now and see the transition.
Have fun! If u have question, just ask and I will answer
Example of ICS transition:
http://www.youtube.com/watch?v=vf1U_30Ngfk
Click to expand...
Click to collapse
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
I'm writing tut for stock samsung roms
devilsking said:
I'm writing tut for stock samsung roms
Click to expand...
Click to collapse
Good, i have whole stack patchers for other phones
-LG Optimus One
-Nexus One
-Desire
-Galaxy S2
-Nexus S
And many many more! Works on MIUI, Cyanogen and Stock HTC Roms... Havent tested on Samsung Stocks...
Sent from my Nexus One using Tapatalk
"java" is not recognised . :/
Edit: Fixed my problem
EmoBoiix3 said:
"java" is not recognised . :/
Click to expand...
Click to collapse
Have u install Java??
Sent from my Nexus One using Tapatalk
DaxElectro said:
Have u install Java??
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
he solved )
It's done, working perfectly
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Aadigoku13 said:
Ohh *like* devilsking work ^^ ...
Well can any one help me do for general user like meh?? ....
M NT advanced ^^
Sent from Wherever I was last using XDA :]
Click to expand...
Click to collapse
Yes, framework???
Sent from my Nexus One using Tapatalk
could someone do this mod with my framework.apk? I tried few times and always bootloops, FCs or nothing changed.
here's my framework:
http://www.megaupload.com/?d=9DD6XC30
I didnt manage to install the apktool
Can someone help telling me how to install it and get it working?
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Click to expand...
Click to collapse
Worked fine for me by using your tool, thanks.
Got a bootloop when I install the patcher from recovery :/, already tried two times
alcachofita said:
Got a bootloop when I install the patcher from recovery :/, already tried two times
Click to expand...
Click to collapse
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Im stucked in the step of signning the apk
DaxElectro said:
Hi alcachofita,
You have just PM me about the framework-res.apk bootloop, maybe you havent tried my patcher yet but nevermind, here you go and others who are running CM7-KANG-cooper like his, u can use this patch...
Dax
Click to expand...
Click to collapse
Thank you sir! (Pressed thanks button too)
The patch is working.
not working for me :/
@ alchaforta, killmyself
Last try, one of them already claim its working...
Sent from my Nexus One using Tapatalk
DaxElectro said:
Actually i have the easier way to apply the animation but it will only work on CyanogenMod... I call this easy patcher by Achep.... For Samsung Stock ROM (Rooted!), please give me ur framework-res.apk as i can work something for the intergers.xml...
Link: http://forum.xda-developers.com/showpost.php?p=19285951&postcount=41
Use it on the PC!
1. Put ur framework-res.apk to res/framework
2. When ur ready, press Patcher.exe
3. Then press Enter
4. Once done patching, put the patchers (flashable zip) to ur phone and flash it!
Remember this is only for the CyanogenMod 7 or other stock AOSP, for Stock ROMs, please pm me the framework-res.apk...
Sent from my Nexus One using Tapatalk
Click to expand...
Click to collapse
thanks, working well on nims's sonygenmod.

[Q] editing/modifying .apk file

anyone who know how to edit or modifying the framework-res.apk, twframework-res.apk?? please....... give me an idea what should i do & i nid?? i want to modify a rom on to fit my brother style..
download sdk manager and then apk tool from google webiste... after this use ADB to get those framework files on ur computer then simply go in apk tool and decompile them... after that you can make any changes u want in it... after fiddling wid it recompile it usin any tool u r comfortable wid n den push it in ur cell
A lot easier will be to use apk manager.
Visit here http://apkmultitool.com/
Go to download section and download apk manager
Don't download apk multi tool as I think it has some bugs.
Extract... there will be folders describing what they are for.
put you apk in (put_apk_for_modding) folder
*some what like that I don't remember the exact folder name
Run script.bat you will see a cmd window having options to compile decompile...
1st select project using 22 option
Then decompile with option 9
Go to project folder find your project do necessary modification and then compile using option 11
Remember The option numbers may differ so check.
*Before that you must have java jdk 1.6 installed
Nice.... Sharing.... Bro
Sent from my GT-S6102 using xda premium
Millan.SIS said:
A lot easier will be to use apk manager.
Visit here http://apkmultitool.com/
Go to download section and download apk manager
Don't download apk multi tool as I think it has some bugs.
Extract... there will be folders describing what they are for.
put you apk in (put_apk_for_modding) folder
*some what like that I don't remember the exact folder name
Run script.bat you will see a cmd window having options to compile decompile...
1st select project using 22 option
Then decompile with option 9
Go to project folder find your project do necessary modification and then compile using option 11
Remember The option numbers may differ so check.
*Before that you must have java jdk 1.6 installed
Click to expand...
Click to collapse
Whenever I try decompiling stock apps like mms.apk I get a buttload of errors. I've read around and it seems it has something to do with tw apps? Idk lol. What else do I need to setup?
Tapatalked.
Post the errors...
Ah well, thought it was a general thing. I'll try again tomorrow and post the errors.
Tapatalked.

[q][devs]viewing xml in android

guys help,
i still cant view XML files for android
here's the software i got:
Eclipse Classic (latest)
Latest Java Runtime
Android SDK (Latest for GB)
Android Platform Tools
Android Dev't Tools for Eclipse
Notepad ++
APK Multitool
Click to expand...
Click to collapse
still cant view them, all i get is [null] and wierd symbols in NP++
sorry if i posted here, but i tried everywhere
google, to xda, to search button, even my dog's house!
cant also view it in hex, pretty wierd
I'm not sure...apk multitool or apk manager should work to decompile xml files.
Latest JRE with apk-tools work on my pc. Forget other tools but as long i remember my 1st time to decompile dont have SDK and eclipse.
SGY FAQ Thread
http://forum.xda-developers.com/showthread.php?t=1675474
savie said:
Latest JRE with apk-tools work on my pc. Forget other tools but as long i remember my 1st time to decompile dont have SDK and eclipse.
SGY FAQ Thread
http://forum.xda-developers.com/showthread.php?t=1675474
Click to expand...
Click to collapse
reinstalled JRE 2 times already still no luck
some awfully wierd is going on
even if i change the encoding in NP++ it still wont work

[Q] Recompiling SystemUI.apk or any other apks Error

Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
federico rotundi said:
Everytime i try to compile system apps i get this error, i have latest sdk installed, latest jdk and last version of apktool. I did apktool if framework-res.apk then apktool if semcgenericuxp.apk and decompiled systemui.apk, i have it done. I edited things, when i try to recompile it, gives me this error. I searched a lot but nothing helped, so if there is anyone who's facing this issue and then solved it, please help me. This is really eating me inside
Click to expand...
Click to collapse
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Sahaab said:
Try deconpiling then recompiling without any changes
If it still shows error change the semcgeneric or framework
Sent from my LT18i
Click to expand...
Click to collapse
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
federico rotundi said:
It showed that error, i changed it showed that again, i tried it again with framework and semcgenericuxpres from your rom.
Click to expand...
Click to collapse
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Sahaab said:
Where is the systemUI from?
Is it a port?
Sent from my LT18i
Click to expand...
Click to collapse
Yes it's from MXY1997's thread.
federico rotundi said:
Yes it's from MXY1997's thread.
Click to expand...
Click to collapse
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Sahaab said:
Then I suggest u PM him
But I will give u a suggestion
Use the framework-res and semcgeneric from DdcCabuslay's Xperia Z theme
Sent from my LT18i
Click to expand...
Click to collapse
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
federico rotundi said:
It is not about the SystemUI, there is something wrong about java, i can't recompile any other system app with apktool as i said, i used lots of versions of apktool and this problem still remains, maybe it is something to do with Windows 8?
Click to expand...
Click to collapse
Ya maybe windows 8 isnt supported yet
Sent from my LT18i

Sign apk with Platform keys no need to Unlock SuperUserMOD in jar

Here is the way to sign your apk with system platform...
Jar modification bye bye for Cyanogen Users... Hahahaha...​
Method
1) Unzip and put apk were data uncompressed...
2) rename it to k.apk
3) and run script...
Password :android
zip Attached
enjoy... signed apk only for CM12 and CM12.1.1 , my AOSP uses Cm12.1.1 platformkeys
so it work on rom that build with cm12 or cm12.1.1 keys​
reserved
Why it's protected with a password ?
Plus, it's should be posted on Android Themes/General forums not Xperia specif forums.
I used ZipSigner.apk for that
wolfmannight said:
Here is the way to sign your apk with system platform...
Jar modification bye bye for Cyanogen Users... Hahahaha...
Unzip
and put apk were data uncompressed...
rename it to k.apk
and run script...
Password :android
zip Attached
enjoy... signed apk only for CM12 and CM12.1.1 , my AOSP uses Cm12.1.1 platformkeys
so it work on rom that build with cm12 or cm12.1.1 keys
Click to expand...
Click to collapse
It mean i can make superuser mod with this?
Sent from my Xperia L using Tapatalk
it will enable SU for that signed apk
for many apk you need to sign every apk by this
After this do we need superuser mod. And just by that can we install any app on any phone
khurshid_258 said:
After this do we need superuser mod. And just by that can we install any app on any phone
Click to expand...
Click to collapse
any apk with any cm12 or cm12.1 based rom
abo hani said:
Why it's protected with a password ?
Plus, it's should be posted on Android Themes/General forums not Xperia specif forums.
Click to expand...
Click to collapse
Sir,
signing apk can done without password with keystore ? I don't think so..
I not put password , its a basic manual method to sign apk with platform keys
(keystore)A Java KeyStore (JKS) is a repository of security certificates – either authorization certificates or public key certificates – used for instance in SSL encryption.
I thought , 70% of Xperia apk works by signing them with Platform key ... So I posted
and I never open xda's other forms
I only open Sony Cross-Device General and Sony Cross-Device Development Themes and Apps , hahahaha
darknessmc said:
I used ZipSigner.apk for that
Click to expand...
Click to collapse
ZipSigner.apk is phone based I also have apksign.apk , but my phone take too much time to sign 14 Megabyte file , my phone is too slow
so i used to be sign apk on my mac
Nice tutorial, but I'll stick with replacing the testkeys in Apktool with the custom ones I currently need.
Just keep in mind that apps signed with platform keys cannot be installed normally. They gotta be pushed directly to system to work.
Just mentioning.
WhiteNeo said:
Nice tutorial, but I'll stick with replacing the testkeys in Apktool with the custom ones I currently need.
Just keep in mind that apps signed with platform keys cannot be installed normally. They gotta be pushed directly to system to work.
Just mentioning.
Click to expand...
Click to collapse
yup bro.
I can't do it . whenever I run the script it show some file not found error in command prompt , and my file get deleted
khurshid_258 said:
I can't do it . whenever I run the script it show some file not found error in command prompt , and my file get deleted
Click to expand...
Click to collapse
before run rename your xxxx.apk to k.apk
then run script
wolfmannight said:
before run rename your xxxx.apk to k.apk
then run script
Click to expand...
Click to collapse
I am doing like that only then also that error is coming. I have attached the image of the error
khurshid_258 said:
I am doing like that only then also that error is coming. I have attached the image of the error
Click to expand...
Click to collapse
Make sure you have jdk installed first.
If so then make sure you use the right path for it, maybe you have different version of jdk installed. As for me my jdk bin folder as follows:
"C:\Program Files\Java\jdk1.8.0_60\bin"
because I have jdk version 1.8.0_60 installed.

Categories

Resources