[SOLVED] Making Themes For Non-Rooted Devices | Themers/Devs Needed #UPDATE2 ! - Sony Cross-Device General

Hello everyone,
As you all know, Un-Official themes for JB/KK/LP require SuperUserMod, And to make it work on non-rooted your theme must be signed by Sony ( that's what i've been told ) .
But, Now i got some reports that people can make themes without the needs for root, using Theme Creator Beta, without Sony Signing keys .
So, Where's the secret in making it work on non-rooted devices ?
As myself, i can't work on Theme Creator, it's buggy, very basic theming tool, and doesn't support every change, That's why i need to find the way to make it work using Apktool ( manual theming ) .
Hope to get some help from devs/themers here, because this is being a really annoying problem for me in making themes .

In other way : it's Apk Signture related, or assets building related?
Sent from my C6903 using Tapatalk

abo hani said:
In other way : it's Apk Signture related, or assets building related?
Sent from my C6903 using Tapatalk
Click to expand...
Click to collapse
From what i've seen, some of the themers used a theme from play store which were officially released by Sony and modded only png's. Since its literally replacing only images, it didn't even need apktool but only Winrar and a little knowledge of which png's to be replaced. Other than this, even i'd be curious to know if there is another way.. Sad that sony has a theming tool but nothing to make it work on non-rooted devices.

tOrNadO™ said:
From what i've seen, some of the themers used a theme from play store which were officially released by Sony and modded only png's. Since its literally replacing only images, it didn't even need apktool but only Winrar and a little knowledge of which png's to be replaced. Other than this, even i'd be curious to know if there is another way.. Sad that sony has a theming tool but nothing to make it work on non-rooted devices.
Click to expand...
Click to collapse
I've contacted @Ambor , Who is an official Sony Themer, but that's not related to his themes, he said Sony didn't sign or do anything to his themes, but his themes work on non-rooted devices, even though his making it using Apktool ( some of them ) .
I'm gonna do little tests and report back.

Update, Important Update!
You DO NOT need Sony Signing keys, it's assets related, something in the assets make it for non-rooted, maybe the building way or anything, anyway here's how did i know :
Downloaded Official non-rooted theme, Ok ? .
Took an asset from my theme, and replaced it with the stock one .
Tested the modded-stock theme, it says " app not installed " .
-----
Took an asset from stock theme and added it into my theme .
Tested, same " app not installed " .
-----
Took an asset from my theme and replaced with Stock theme asset .
Signed it ( i signed only this version ) .
Tested, Installed, And changed everything expect the asset i replaced .
----
Which means, Assets are the related files, not Apk Final Signing .
NOW, the question about what's related to it!
Hope this help, I wanna help this community, most of the themers ( about 8-9 ) blocked me, and the other replied with " i don't know " :|, So please be a true XDA Member, and be helpful .
Will keep the thread updated.

Update #2 :
Now i've made a way to fix the rooting permissions, but it's annoying way, the idea in using assets from Theme Creator Beta, and decompile them and add new images, after that compile then and replace them with the current assets .
And your theme will work on non-rooted devices .
But, Signing from userkeys won't make it for non-rooted ( someimtes ) .
How did i know ? :
Made a theme .
Copied a ready asset from Creator Beta .
Signed with testkeys.
Worked!
------
Made a theme.
Decompiled and recompiled that asset ( without changes ) .
Pushed & tested
Worked!
----
Made again
Modded that asset and added new files
Recompiled & Pushed
Didn't change
--------
So what's up and why, don't ask me :3 But here's the way for making it for non-rooted devices! hope this help you out.
As always, will keep it updated.

Update :
Signing Theme with your own keys will keep it working on non-rooted Devices .
For Assets, You Must Use the ones provided by Theme Creator Beta, and then decompile it and modify the icons, after that you can recompile it and put it and it will work without root.
But you can't add new icons to the assets, dunno why.
Anyone can help in this it will be awesome .

abo hani said:
Update :
Signing Theme with your own keys will keep it working on non-rooted Devices .
For Assets, You Must Use the ones provided by Theme Creator Beta, and then decompile it and modify the icons, after that you can recompile it and put it and it will work without root.
But you can't add new icons to the assets, dunno why.
Anyone can help in this it will be awesome .
Click to expand...
Click to collapse
After adding new icons delete public.xml then recompile and than decompile again (for the formation of the new public.xml)then recompile.
D5503 cihazımdan Tapatalk kullanılarak gönderildi

baris27 said:
After adding new icons delete public.xml then recompile and than decompile again (for the formation of the new public.xml)then recompile.
D5503 cihazımdan Tapatalk kullanılarak gönderildi
Click to expand...
Click to collapse
It won't work, tried it before i posted this thread .

I've just tried my last move.
In short, You MUST build the assets via Theme Creator, you can't add new PNG/Files, you can't modify the exiting icons, you need to open the asset via Winrar, and extract the image, then modify it, finally re-add it to the asset ZIP .
If anyone with Advanced Java Knowledge, can give a look at Theme Creator, it can be edited.

Bro i read this what you write
Any part of theme isnt request Theme Creator
Need:
Brain
Programming knowlage
and AS
@abo hani
---------- Post added at 03:53 AM ---------- Previous post was at 03:43 AM ----------
My advice Delete Theme Creator
This tool is for 15 years old boys
Who want to change the wallpaper in the phone itself and a few icons
Look there i add widgets in my themes in 15 mni..
http://forum.xda-developers.com/cro...pps/theme-dark-theme-collection-sony-t3115672

Ambor said:
Bro i read this what you write
Any part of theme isnt request Theme Creator
Need:
Brain
Programming knowlage
and AS
@abo hani
---------- Post added at 03:53 AM ---------- Previous post was at 03:43 AM ----------
My advice Delete Theme Creator
This tool is for 15 years old boys
Who want to change the wallpaper in the phone itself and a few icons
Look there i add widgets in my themes in 15 mni..
http://forum.xda-developers.com/cro...pps/theme-dark-theme-collection-sony-t3115672
Click to expand...
Click to collapse
Mate, Changing Walls / Accent colors doesn't require Theme Creator, And adding accent color for widgets also doesn't require Theme Creator, I'm using Apktool ( manual editing / theming ) .
The Main question is : What the secret in non-rooted assets , simple question, with no answer .

abo hani said:
Mate, Changing Walls / Accent colors doesn't require Theme Creator, And adding accent color for widgets also doesn't require Theme Creator, I'm using Apktool ( manual editing / theming ) .
The Main question is : What the secret in non-rooted assets , simple question, with no answer .
Click to expand...
Click to collapse
4-5 months ago and write about it guide
---------- Post added at 03:29 PM ---------- Previous post was at 03:26 PM ----------
Ambor said:
4-5 months ago and write about it guide
Click to expand...
Click to collapse
I discovered it by accident

Ambor said:
4-5 months ago and write about it guide
---------- Post added at 03:29 PM ---------- Previous post was at 03:26 PM ----------
I discovered it by accident
Click to expand...
Click to collapse
I'm talking about non-root themes.
And you are talking about supporting non-themable files/pngs in the Apks.
Please, re-read my post.
Sent from my C6903 using Tapatalk

I tried the same. I downloaded the stock lollipop theme from the thread How to make xperia themes using apktool. Decompiled it and Added assets and modified the Android manifest according to it and recomailed it with no Errors but when I pushed it to my device it says App not installed. It's very frustrating guys... Please help

Kruns said:
I tried the same. I downloaded the stock lollipop theme from the thread How to make xperia themes using apktool. Decompiled it and Added assets and modified the Android manifest according to it and recomailed it with no Errors but when I pushed it to my device it says App not installed. It's very frustrating guys... Please help
Click to expand...
Click to collapse
You need to sign it .

Well thank you but I solved it using The guide by Ambor. Now the themes are working very fine... With all assests modified.

I wanted to know if there's any easy way to import theme creator project to android studio rather than setting up the whole thing again????

Kruns said:
I wanted to know if there's any easy way to import theme creator project to android studio rather than setting up the whole thing again????
Click to expand...
Click to collapse
You can't, you must make it using Theme Creator .

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!!

I want to make my own ROM..

Sent from my GT-S5360
I want to make my own ROM,not by kitchen.Please say me what should i study.My friends told me to learn LINUX.Please help me ...
Sent from my GT-S5360
learn to search b4 posting :thumbup::sly:
Sent from my Nexus 4 using Tapatalk 2
if you want to create your own rom,
it's not a walk in the park,
you need to learn the basics,
updater-script editing, theming, xml editing,
smali is good but not nessesarrily required,
you can use windows through cywin if you dont want to change OS
deathnotice01 said:
if you want to create your own rom,
it's not a walk in the park,
you need to learn the basics,
updater-script editing, theming, xml editing,
smali is good but not nessesarrily required,
you can use windows through cywin if you dont want to change OS
Click to expand...
Click to collapse
Hey can you teach me, means I want a complete detailed video or information about all this..
Plz help he out...
I want yo learn all this, I too want to b a dev when become older...:what:
Or anyone other who have time for me can pm me...
Plz plz
And if you guruprasanth19 you learn all this plz teach me
parth_galaxy_y said:
Hey can you teach me, means I want a complete detailed video or information about all this..
Plz help he out...
I want yo learn all this, I too want to b a dev when become older...:what:
Or anyone other who have time for me can pm me...
Plz plz
Click to expand...
Click to collapse
you can check youtube,
i also have no formal programming lessons, ever!,
i'm a business and human resources management bachelor, way far from IT related studies,
i learned through googling things and constantly failing (not to mention all the bootloops i have to undergo through),
in order to learn android,
YOU WILL FAIL!. YOU WILL FAIL!.
after that you learn and make things right!
Now!!What all basics i should get through?
First we should get a backup of the rom and modify it our PC...is that the basic need ?Help me out in what software we need do all that compiling.What all programming languages we need,i googled it but no use soo,understand...i passionate about making roms,I am hungry but no food :banghead::what:
Sent from my GT-S5360
you wanna make your own rom
bro you should say that u wanna make custom stock rom !
making rom is not easy ! making custom stock rom is easy !
spend some months on xda you will learn how custom stock roms are made ...........
Ya i want to make a custom rom
Sent from my GT-S5360
I'm trying to make my own stock based cusyom rom too! But it's for personal use
One thing I have to ask, will the framework.Apk and systemui of custom ROMs work on deodexed stock?
Saving the universe, one game at a time.
as cyanogen and all ERD's say u must first learn the basics of programming and some languages and after u hv good knowledge of all the things required to make a good custom rom than u shud make it....
u hv to spend time in xda reading and experimenting things....
Sent from my GT-S5360 using xda app-developers app
simple.
read.learn.try.fail.succeed
Dude you're out of your mind. That may possibly be the hardest task to accomplish without a reasonably sized dev team. Just make a custom stock rom. Its much easier to do and you already have the base of it from the original stock rom, so you just have to add in what you want. If you're trying to make one from scratch, forget about it.
Sent from my U9200 using xda app-developers app
At least tell me a programme to modify apk...
---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------
And some thing to create theme
parth_galaxy_y said:
At least tell me a programme to modify apk...
---------- Post added at 07:55 PM ---------- Previous post was at 07:54 PM ----------
And some thing to create theme
Click to expand...
Click to collapse
VTS Studio for modifying smali and xmls also decompiling and recompiling java based apps,
for theming go with Photoshop or paint.net
deathnotice01 said:
VTS Studio for modifying smali and xmls also decompiling and recompiling java based apps,
for theming go with Photoshop or paint.net
Click to expand...
Click to collapse
In VTS studio when I select new project In the smali tab there is no 2.3.3 gingerbread there is only 2.3 gingerbread. also The default is 4.0.3 Ice cream sandwitch Shall I change It to 2.3 before decompiling
Bidyadhar said:
In VTS studio when I select new project In the smali tab there is no 2.3.3 gingerbread there is only 2.3 gingerbread. also The default is 4.0.3 Ice cream sandwitch Shall I change It to 2.3 before decompiling
Click to expand...
Click to collapse
of course,
we are 2.3.x android
deathnotice01 said:
of course,
we are 2.3.x android
Click to expand...
Click to collapse
Sir how to move clock to middle in jellyblast rom??????
I searched it but did not get it?
deathnotice01 said:
of course,
we are 2.3.x android
Click to expand...
Click to collapse
If I am on jelly bean still I have to choose Android 2.3?

[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

[HELP][ISSUE]Bricking while flashing **Modified Framework-res**

Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Imranabbas22 said:
Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Click to expand...
Click to collapse
Did u tested your kernel does it booted???
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
Yep ... It boots well enough!
I tried Merruk kernel too but no luck!
Are you using a modified framework.jar
Might be your problem
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Imranabbas22 said:
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Click to expand...
Click to collapse
I know the stock framework.jar and custom rom framework.jar are different
I don't know in what way though
I dont know about the framework.jar but there are smali files inside the framework-res.apk
I am starting to worry now
Sent with a pinch of love, 2 cups of cuteness, 3 eggs of happiness with a garnish of spit!

[Quiries] help from experts needed

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
...

Categories

Resources