Hi xda,
I have problem. I am just trying to create a new theme and I do not know if i just edit only (in META-INF) File "updater-script". My folder META-INF containing: folder "com" and "CERT.RSA" "CERT.SF" and "MANIFEST.MF". In addition, the folder "com" contains the folder "google". In the "google" folder is folder "android". "android" contains "update-binary" and "updater-script". So I do not know if i need to edit only the file "updater-script" and there enter various commands. Please advise me... I just want to add and remove applications.
Thanks for advices
No one knows?
Just edit the script. Though if you are asking this question you might want to do more research. You might find more issues along the way.
Sent from my Galaxy Nexus using xda premium
lithid-cm said:
Just edit the script. Though if you are asking this question you might want to do more research. You might find more issues along the way.
Sent from my Galaxy Nexus using xda premium
Click to expand...
Click to collapse
Thanks... I will try it and i will reply you if it works or does not.
Related
Guys, can anyone write a guide to teach us how to make your own framework?
I searched all over the net and actually not one is teaching.
Please make a guide if u know how to make it.
Thanks in advance.
There are at least ten guides on xda. One of them is written by me. Search xda properly. Check the android themes forum.
In fact if I remember correctly Kevin even gave u the link to one of the best guides.
Sent from my HTC Wildfire using XDA App
here's the link again ;D
http://forum.xda-developers.com/showthread.php?t=916814
lol link from xda app fail so you beat me to it
also if you want to do some hardcore theming, if you're in windows, download apk manager, learn how to decompile and compile apks using it. also learn how to edit .9 pngs
any easier guide?
I dont need too advance guide and full of words...
i just want to change the signal. wifi and battery in framework..
so is there easier guide?
1. make your custom icons. (size 25x25)
2. open framework-res.apk in any zip manager (winrar, winzip, watever)
3. open the /res/drawable-mdpi folder
4. replace whichever icons you want to replace, making sure you name them correctly.
5. save
6. use adb to push file to phone from recovery.
7. reboot.
I'll try tomorrow. Thanks
Sent from my HTC Wildfire using XDA App
Getting the Beatz theme without apktool
This is a Guide to this thread : http://forum.xda-developers.com/showthread.php?t=1543351
Please read it incase you have'nt.
GUIDE
Software's required
Just 7 zip
Steps:
Create a working Directory
For a working directory just create an empty folder.
You will be using this folder to modify the apk and replace them.
Take the rom's zip file
Open it with 7 zip
PART 1(Theming the music PLAYER)
Open the app folder inside the system folder.
Locate the music.apk file
Drag and drop it to the working directory.
Now open the music.apk file with 7zip.
Find the folder drawable-mdpi.
now locate the following 4 files inside the drawable-mdpi folder.
1) stat_notify_musicplayer.png(The HeadSet Icon on the status bar)
2)albumart_mp_unknown.png(The album art)
3)albumart_mp_unknown_list.png
4)music_app.png(The app icon)
Replace these files with the files attached
If you find the drawable-land-mdpi folder, rename the attached albumart_mp_unknown_land.png file to albumart_mp_unknown.png and then replace the renamed file with the existing one inside the Music.apk's drawable-land-mdpi.
Now delete the original music.apk from the ROM and replace it with the one we modified from the working directory.
Note: This way can be used to Theme any Apk file without using apktool.
Just make sure your replacing file is of the same resolution.
You can change resolution with the Microsoft Office Picture Manager
PART 2(Replacing the BOOT animation)
Locate the media folder in the system directory
Now locate the bootanimation.zip file
Delete that and replace with the one attached.
PART 3(Changing the DEFAULT Wallpaper)
Locate the framework folder in the system directory
Now locate the framework-res.apk file inside the framework folder .
Move the framework-res.apk file to a working directory
Now open the framework-res.apk file with 7 zip.
Locate the drawable-nodpi folder.
You should be able to locate the default_wallpaper.jpg file inside it.
Replace that with the one attached.
Now replace the modified framework-res.apk file in the ROM.
PART 4(Adding the BEATS Audio)
NOTE: Can also be achieved by flashing the zip file.
Replace all the files present in the beats_aceport.zip in the ROM.
Do this by properly replacing the corresponding files in the folders with the same folders in the ROM.
For example, if you find bin folder inside the system folder, replace the files inside the bin folder of beats_aceport.zip with the ROM's.
Credits and Thanks to Smooth Sense with beats developers
Here's the Link to their complete htc beats port
http://forum.xda-developers.com/showthread.php?t=1535536
Special Thanks to Spacecaker Now Known as CoolCatGetHome
Find it helpful, gimme a thank
Any Queries please ask by posting.
Thanks
I might be a pain in the familiar place but doesn't this give an error on installation? Something like:
INSTALL_PARSE_FAILED_NO_CERTIFICATES
Click to expand...
Click to collapse
Xr01d_GT said:
I might be a pain in the familiar place but doesn't this give an error on installation? Something like:
Click to expand...
Click to collapse
That's only when you decode and build without signing.[Pretending that you are talking about this]
This is pure replacing the existing files.
This is a Guide to this Thread, if you have not seen it.
http://forum.xda-developers.com/showthread.php?t=1543351
csifreeman said:
That's only when you decode and build without signing.[Pretending that you are talking about this]
This is pure replacing the existing files.
This is a Guide to this Thread, if you have not seen it.
http://forum.xda-developers.com/showthread.php?t=1543351
Click to expand...
Click to collapse
This I saw, Excellent compilations of all ROM's.
Never mind, as I said, I was just being pain the you-know-it
Sent from my i9070 using xda premium
CoolCatGetHome said:
those pics ?
where they from
Sent from my i9070 using xda premium
Click to expand...
Click to collapse
Sorry for missing the Credits for the pics..nearly forgot what i was sharing.
I don't wanna say i got those by googleing
Anyways special credit added to you with your old name too
Strong support the sharing of spirit
csifreeman said:
Sorry for missing the Credits for the pics..nearly forgot what i was sharing.
I don't wanna say i got those by googleing
Anyways special credit added to you with your old name too
Click to expand...
Click to collapse
lol realy everyone wantsy old.name back xd
Sent from my i9070 using xda premium
coolcatgethome said:
lol realy everyone wantsy old.name back xd
sent from my i9070 using xda premium
Click to expand...
Click to collapse
yesss please spacecaker is sooo much cooler!!
Excuse me for being so dummy but what is beats?
Sent from my Ace using miui
Beats audio is an premium headphone/speaker compony created by Dr.Dre and used by alot of Dj's and ow there are roms themed to look like beats audio
(O and some phones also come out with enhanced beats like some HTC's and also some laptops(Ultra books) like hp's)
The cost about 250-800$
Some pics
undead2 said:
Excuse me for being so dummy but what is beats?
Sent from my Ace using miui
Click to expand...
Click to collapse
Beats or Monster Beats are high end audio equipment manufacturers who started from their legenday Monster cable.
Beats audio is a set of audio libraries owned by beats known to enhance the Audio quality.
It has been recenty added to Hp-laptop(http://www.hp.com/united-states/campaigns/beats/index.html?jumpid=re_r602_q312_beats_us_redirect) and Htc-Phones(http://www.htc.com/in/smartphones/htc-sensation-xl/#overview)
I saw lots of theme which has this in their title. but I can't find any guide or tutorial about this. So, what is this? how could I use it? has it any benefit over usual "decompile/theme/recompile/replace"ing an apk?Is there any script to implement it like apktool?
Its the universal theme flasher created by Villain ROM.
As for all your other questions I'm not sure.
Sent from my GT-I9100 using XDA
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
sam5154 said:
thanks,
correct me if I'm worng pls.
Universal theme flasher, is kind of template. and I should extract compiled PNGs and xmls from apk file and paste theme into that. and for editing theme, I need to paste and replace those files into the apk file and then decompile that apk.
then what should I do if I changed something in "values" folder? cause it just appears in decompiled apps and It can't be seen in a compiled app.
Click to expand...
Click to collapse
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Ba7rani123 said:
I think after compiling the apk, you should copy the "classes" and the other file *-) I can remember its name, and add them there.
Am not sure *-) I had this question too but I thought abt trying it first and if it doesnt work I wld ask. I have no time to try I have exams
Click to expand...
Click to collapse
classes.dex is for the smali that has been edited if there was any.
I assume that if the xmls were edited and they point to new PNG images/objects then the resources has been changed. I would say that in this case you would need to have an updated resources file for these adjustments? This could be pulled from your newly compiled .apk that you want to base your flashable theme off?
I am unsure if resources needs to be updated though for certain? I have flashed in the past new xmls and they worked fine, however these were not referencing any new sources or images...so my thoughts are that these mods I made didn't require this additional file?? I could be wrong. I really should read the thread about it here on XDA. I did a long time ago, but have come a long way since then.
I diverse. Try using it without new resources file and see what happens?
You may also like to looking into Morphing as well (very similar concept).
James
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
xdarkmario said:
i would also like a explanation to what vrtheme is, all i know is that when i flash it IT NEVER WORKS!
Click to expand...
Click to collapse
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
sam5154 said:
is your ROM deodexede? It only works on deodexed Rom?
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
yep, both my phones i tried them on are deodexed.
hello everyboday.
i realized, that the bitpool of the samsung galaxy s3 is set to 32 as default.
it seems, that the value 32 is too bad for a2dp with my bluetooth headphone.
I found the file where we can setup the bitpool, but i don't know how to edit android .so files.
the file name is audio.a2dp.default.so
the location of the file is.
/system/lib/hw/audio.a2dp.default.so
does someony know how to edit .so files.
Thanky and sorry for my bad english.
best regards
Sufeng
Whatsup OP
Try copying the file to your SD then editing the file with Notepad++ (google it) also try changing the extension to .txt >edit > then back to .so
Sent from my GT-I9300
Garethkungfu said:
Whatsup OP
Try copying the file to your SD then editing the file with Notepad++ (google it) also try changing the extension to .txt >edit > then back to .so
Sent from my GT-I9300
Click to expand...
Click to collapse
I tryed to edit with notepad, but its's not possible. tryed on computer and phone. both not working.
Why dont you post in the correct forum ....the i9305 q/a forum
Sent from my GT-I9305 using xda app-developers app
Did you use this notepad ?
http://notepad-plus-plus.org
Powered by Panda!
HaZ TeH CoDeZ?
Garethkungfu said:
Did you use this notepad ?
http://notepad-plus-plus.org
Powered by Panda!
HaZ TeH CoDeZ?
Click to expand...
Click to collapse
i tried but no chance!
Just for your reference , .so files are linux binaries (equivalent of windows exe). It isnt possible to edit them without a hex editor. Even with a hex editor the code you see isnt human friendly. My guess is you need to edit a .xml file to change simple configurations.
Hit thanks if I helped.
Sent from my GT-I9300 using xda app-developers app
Hi, I am hoping that one of the Android developers on here might be able to give me a bit of advice please regarding editting my 'framework.jar' file.
I have a Jiayu G3 phone running Android Jelly Bean 4.1.2 but my caller ID is not functioning properly because it is not matching local & international numbers. Having done a lot of searching it appears that this is probably due to the parameters in the 'framework.jar' file as per this post on xdadevelopers here
I have succesfully decompiled the 'framework-res.apk' file using apktools and confirmed that the 'config_use_strict_phone_number_comparation' variable is set to false. However, I am having trouble decompiling the 'framework.jar' file.
I have copied the 'framework.jar' file from my phone and opened it in a Jave decompiler. However, all I am presented with is the following:
Code:
META-INF
MANIFEST.MF
preloaded-classes
(See attached image)
In the xda post it says the following:
II) Check for and fix MIN_MATCH constant in telephony framework
1) Decompile framework.jar
2) Open smali/android/telephony/PhoneNumberUtils.smali
3) Search for MIN_MATCH constant and set it to 0x7
Click to expand...
Click to collapse
...but I don't appear to have that in mine.
Am I doing something wrong.
If anyone could offer any advice I would be very grateful.
Many thanks
Russell
P'S. I tried replying about this in the original xda post itself but I don't have authorisation to post in the developers section so I thought I would try here instead.
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Russell_S said:
So, is no one able to help me with this then. All the searching I've done indicates that when I decompress 'framework.jar' then I should have 'classes.dex' inside. However I don't have that.
Can anyone explain to me why this is please before I pull the rest of my hair out.
Thanks
Click to expand...
Click to collapse
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Does annybody know....
Where i can find a clean Settings.apk for the GE 4.3 (i9505) that i can mod? (Decompile/Recompile)
frapedas said:
You have to use apktool and apply the command to decompile..
eg.
apktool d framework.jar
this in cmd, will create a new folder named framework.jar.out, then you navigate inside this folder were all the smali's files are etc..
PS. you can't open framework.jar in java decompile, you can open framework.jar extract the classes.dex then use dex2jar tool and turn it back into framework_classes.jar this is the one that can be viewed with java decompilers
Click to expand...
Click to collapse
Thanks for the help. I'm away this week but I'll give it a go next weekend when I'm back.
Sent from my GT-I9100 using Tapatalk 2
Force it into submission
be rough with it
Sent from my HTC One using Tapatalk 4
Russell_S said:
then I should have 'classes.dex' inside. However I don't have that.
Click to expand...
Click to collapse
Are you using a deodexed ROM?
XperienceD said:
Are you using a deodexed ROM?
Click to expand...
Click to collapse
You've got me there. How would I find out?
Sent from my GT-I9100 using Tapatalk 2
Ok, I'm gradually learning here. Having done a bit of research it appears that my rom is odexed (I have .apk and .odex files in my /system/app folder).
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Sent from my GT-I9100 using Tapatalk 2
Russell_S said:
I'm assuming then that this will scupper my plans to edit my framework.jar file.
Click to expand...
Click to collapse
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tools] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
XperienceD said:
No no, you just need to deodex your ROM then, luckily for you I've got a little thread here - [Info/How-To/Tool] Deodexing Made Easy... - which will help you with that, obviously ignore the Xperia Z Users part and give the rest a read.
Click to expand...
Click to collapse
Thanks very much for that, I shall digest the information while I'm on holiday ready to act on it when I get back.
I'll let you know how I get on.
Sent from my GT-I9100 using Tapatalk 2