How to compile CM10 from source? - AT&T, Rogers HTC One X, Telstra One XL

Ok bright minds I need your help. I've been told that in order to make an xml change in the contacts and phone apps that I have to make the change in source then compile the rom. In JB and ICS you can't make changes to the xml's in those apps like you can in every other app.
So can someone please tell me how to make those changes to source and then compile the rom? Once I get it compiled I won't need to do it again. It's the only part of my theme that isn't theme.
Sent from my One X using xda app-developers app

SkizzMcNizz said:
Ok bright minds I need your help. I've been told that in order to make an xml change in the contacts and phone apps that I have to make the change in source then compile the rom. In JB and ICS you can't make changes to the xml's in those apps like you can in every other app.
So can someone please tell me how to make those changes to source and then compile the rom? Once I get it compiled I won't need to do it again. It's the only part of my theme that isn't theme.
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
skizz what sort of changes are you making and are you building a theme manager theme?
there's a howto build for nexus 7 I imagine the method is the same you just check out the evita tree instead of grouper http://forum.xda-developers.com/showthread.php?t=1846651

gunnyman said:
skizz what sort of changes are you making and are you building a theme manager theme?
there's a howto build for nexus 7 I imagine the method is the same you just check out the evita tree instead of grouper http://forum.xda-developers.com/showthread.php?t=1846651
Click to expand...
Click to collapse
Thanks I think that's what I was looking for. All I need to do is change one line of code so that I can theme the contacts app. I have to do all that just to change that one line.
EDIT: I can't do all that. I sent h8 a pm asking if he could make the change for me next time he compiles his rom and just compile an extra one with the change but he didn't answer back. =(
Sent from my One X using xda app-developers app

follow the guide for getting everything set up, and instead:
. build/envsetup.sh
lunch cm_evita-userdebug
make otapackage -j8

rohan32 said:
follow the guide for getting everything set up, and instead:
. build/envsetup.sh
lunch cm_evita-userdebug
make otapackage -j8
Click to expand...
Click to collapse
My computer can't handle it. It's slow. =/

Related

Decompiler

Hello, I want to decompile my framework-res apk so I can possibly add a battery that displays percentages. Is there any program out that will let me do this?
Sent from my Xoom using XDA Premium App
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
No offense taken. I am in the process of teaching myself these things so Google and xda are my best friends. Thanks for the reply
Sent from my Xoom using XDA Premium App
Kcarpenter said:
Your looking for Smali/BakSmali.
No offense intended here, but the fact that you are asking tells me that you are going to need a lot of research in doing this. It's not necessarily decompiled into the most readable source code. But it's that way with most decompiling, and you probably realize that.
Also, since we don't have source code for HoneyComb, the current Smali/Baksmali implementation doesn't work well/at all for some files.
Good Luck.
Click to expand...
Click to collapse
Is it possible to read the Stat sys battery XML? I've been reading on how to decompile the files but no real help with this really
Sent from my Xoom using XDA Premium App
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
zone23 said:
I use apk_manager_4.9 it may be the woosie way but it works for me. Try this thread: http://forum.xda-developers.com/showthread.php?t=695701
Click to expand...
Click to collapse
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
I will offer to help you out.
1. Install latest SDK from http://Developer.google.com & Eclipse.
2. Search for apktool and unzip files into the SDK folder under platform_a DB
3. Buddy fix apktool with attached files. You will need to rename these files to Apktool, etc..
4. Copy framework-res.apk, systemui.apk, settings.apk, and launcher2.apk from \system + copy the odex
5. Run apktool d framework-res.apk (do this for each apk)
6. Look in the Res/drawing folders for images to mod.
Now you have the .9.png files with marks & the decompiled XML for reference.
Use Photoshop to modify the files.
Use draw9patch to compile any .9.png files
This is really important. Use 7zip or any other zip app that allows you to open and view an apk as a zip without actually unzipping it. Just copy the new photo files in and add them to an update.zip (you can download this from XDA Xoom Development thread) or use a DB to push the updated files to the Xoom.
Theaming is a subject but that's the basics. I can't upload files for newapktools.zip right now but will edit this when I get home later. Alternativly, maybe someone can post the patched up Xoom compatible apktool files. They are also in XDA theaming thread if you search.
Hth
Sent from my Xoom using XDA Premium App
nbeebe24 said:
Thank you, I have previously viewed that thread. There aren't really any clear cut instructions on setting it up properly. Are you able to edit the XML files contained in the drawable folder? That is all I'm interested in. I can't seem to successfully decompile the framework-res apk. Thanks again
Sent from my Xoom using XDA Premium App
Click to expand...
Click to collapse
Yes I can you need Java JDK installed:
http://www.oracle.com/technetwork/java/javase/downloads/index.html
Eventually you will need Eclipse and I use Gimp because its free and doesn't break any .png files.
http://www.eclipse.org/downloads/
IDE for JAVA Develpoers search youtube for a video on how to set it up for android.
http://www.youtube.com/watch?v=ZoWVeXizfbo
I use Notepad++ to edit XML
http://notepad-plus-plus.org/download
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
nbeebe24 said:
Thank you very much for that! I edited the images I want to use, I waes just trying to add the respective values into the XML. Is it possible to add a battery with 1% increments as of now?
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
zone23 said:
I have no idea all I know is on the EVO you had to edit the services.jar for that and it is beyond my capabilities. Sorry.
Click to expand...
Click to collapse
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Hey nbeebe24, check out my post over here: http://forum.xda-developers.com/showthread.php?t=1063657
This should help you decompile/recompile framework-res.apk for your mod. I look forward to seeing your results
nbeebe24 said:
I'll pay money if someone can link me to the decompiled battery_stat_sys and battery_charge_sys XML's
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
you tryed this tool
Code:
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://ragotnicolas.free.fr/Android/ax10mk.rar
http://forum.xda-developers.com/showthread.php?t=928864

[Tutorial] How to add CRT TV off effect:

First off this is for people that know how to decompile/compile apk's..
What this is = Watch here
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...
~~~~~~~~~~~~~~~~~~
How to change the statusbar color:
1: Decompile SystemUI.apk
2: Edit the file \smali\com\android\systemui\statusbar\Clock.smali
3: Search for the line with ->setTextColor comment it and the line above out with a # infront of the two lines.
4: Compile the SystemUI.apk
5: Decompile framework-res.apk and edit the file \res\values\styles.xml
6: Find the style name 'TextAppearance.StatusBar' and change the textColor item to the color you want
7: Compile framework-res.apk
8: Profit More.
These guides will work with about any 2.3 rom out. Thanks to various sources for help on finding these..
(Will add more to this later)
do you have the compiled version of the CRT TV effect?
I will post a version later as the one I got is tweaked and would more and likely cause you guys bootloops.
I decompiled framework but I don't have a values folder in res. Am I missing something? Thanks!
dubntz said:
I decompiled framework but I don't have a values folder in res. Am I missing something? Thanks!
Click to expand...
Click to collapse
are you sure you "decompiled"? or just extracted?
I used APK Manager. Does that not decompile it?
c19932 said:
are you sure you "decompiled"? or just extracted?
Click to expand...
Click to collapse
Going to update my guide so people know to decompile and not extract
I used APK Manager. Does that not decompile it?
Click to expand...
Click to collapse
if you used the decompile option it should have.
Yeah, I just extracted and did not decompile it. Now that I did it right I see the file. Thanks for the help! Much appreciated!
I'm a little curious. Chris mentioned they left the screen-off animation disabled because of issues they were having. Have you experienced any issues at all?
tweezit said:
1: Decompile framework-res.apk using something like apk manager
2: Edit the file \res\values\bools.xml
3: Change value of bool name='config_animateScreenLights' from 'true' to 'false'
4: Compile framework-res.apk
5: Push new framework-res.apk to your phone with root explorer or adb push.
6: Profit...
Click to expand...
Click to collapse
What would you suggest to look into if the setting is already set to false?
Have you got this to work for Cm7 yet?
Sent from my LG-P999 using XDA App
Thanks! Now I gotta reflash 2.3 so I can try to get the status bar vanilla.
MWBehr said:
I'm a little curious. Chris mentioned they left the screen-off animation disabled because of issues they were having. Have you experienced any issues at all?
Click to expand...
Click to collapse
Yes on some roms you will get wake lag bad & others it will work fine.. On the 2.3 leak it will go to a black screen for a while. (that's due to 2.2.2 drivers though from what I can tell.)
Have you got it to work on cm7?
Is it possible to clarify what framework-res.apk is referred this tutorial?
I read these posts and seems like it has not mentioned so far. However, in my case (i am running MoDaCo Fr16 CR) after decompiling framework-res.apk i cannot see that config inside res->values->bool.xml.
Maybe i'm missing something
Thanks in advance.
name="config_annoy_dianne"
lol, just thought that was amusing. let's not annoy dianne.
anyways,trying this now on bionix.
i'm no expert at decompiling etc. just figured it out today lol. i'm pretty positive i did it correctly using apktool. however, after copying the compiled apk back to phone, it just hangs at a black screen on reboot. maybe i did it right and it's just not compatible with bionix? i did read on the apktool site that it won't be signed after recompiling. is this why it won't work? anybody successful here?
crazythunder said:
name="config_annoy_dianne"
lol, just thought that was amusing. let's not annoy dianne.
anyways,trying this now on bionix.
Click to expand...
Click to collapse
Bionix? For the g2x?
Sent from my HTC Vision using XDA Premium App
drewtang said:
Bionix? For the g2x?
Sent from my HTC Vision using XDA Premium App
Click to expand...
Click to collapse
shhhh, it's a secret.
crazythunder said:
shhhh, it's a secret.
Click to expand...
Click to collapse
Ahhhhhhh I WANTS IT.

Theme Question. Please Help.

CM10. I can't for the life of me figure out how to theme these blue parts in the Contacts.apk without the Phone app FCing. Everytime I edit anything in the colors.xml for the Contacts.apk the Phone app FC's. I've edited other app xml's just fine with no fc's. I've managed to successfully change the blue parts in this picture to red by editing this line in colors.xml <color name="people_app_theme_color">#ff33b5e5</color> but whenever I do that, like I said, the Phone app FC's and I have to change it back. I'm trying to change the #ff33b5e5 which is blue to #ffcc0000 which is red. It's the only part of my theme I haven't been able to fix. Can someone with the know-how PLEASE help me. I'm so frustrated lol. I've been trying to figure this out for 5 days now.
You had to make the edit to the source file before the apk is built. This has been an issue for a long time.
Sent from the Bat Cave
zelendel said:
You had to make the edit to the source file before the apk is built. This has been an issue for a long time.
Sent from the Bat Cave
Click to expand...
Click to collapse
Thank you. Someone finally answered lol.
I don't understand tho. This is what I did:
-Decompiled the Contacts.apk with apktool
-edited the colors.xml in Contacts > res > values
-Saved the color.xml with the new changes
-Recompiled Contacts.apk with apktool
Now the Phone app fc's. How come there is a problem with this but no problems with any of the other apks I edit?
You can't edit ICS/jb contacts that way anymore. You have to do it in the source file and then build the apk. I also faced this issue and had to build the apk from scratch to make it work.
Sent from the Bat Cave
zelendel said:
You can't edit ICS/jb contacts that way anymore. You have to do it in the source file and then build the apk. I also faced this issue and had to build the apk from scratch to make it work.
Sent from the Bat Cave
Click to expand...
Click to collapse
I see. That must be why there are so many blue themes lol. I thought I've seen some red ones tho.
Can you show me how? Or lead me in the right direction?
Also, is that the only apk that you need to do that for?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I see. That must be why there are so many blue themes lol. I thought I've seen some red ones tho.
Can you show me how? Or lead me in the right direction?
Also, is that the only apk that you need to do that for?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
What I had to do was set up a build environment and then sync with the the ROMs git hub and then sync the repo and then made my edits and built the whole ROM.
The phone apk is also like this
Sent from the Bat Cave
zelendel said:
What I had to do was set up a build environment and then sync with the the ROMs git hub and then sync the repo and then made my edits and built the whole ROM.
The phone apk is also like this
Sent from the Bat Cave
Click to expand...
Click to collapse
Damn that's so much work just to theme one line. Does the same thing happen if I use Theme Chooser?
Is it only CM10 roms that have that problem? I'm wondering if the same thing would happen if I try to make a Sense theme.
Sent from my One X using xda app-developers app
I wonder if it's because the colors of those apps are inverted. The background of the phone app is dark and the one in the contacts app is white. Maybe that's why there is a problem?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
I wonder if it's because the colors of those apps are inverted. The background of the phone app is dark and the one in the contacts app is white. Maybe that's why there is a problem?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
The problem is from the apktool jar file. It decodes a few apks badly. Not sure what set up your using but seems The newest apktool from ibots fixed this issue.
zelendel said:
The problem is from the apktool jar file. It decodes a few apks badly. Not sure what set up your using but seems The newest apktool from ibots fixed this issue.
Click to expand...
Click to collapse
Awesome do you have a link?
Sent from my One X using xda app-developers app
SkizzMcNizz said:
Awesome do you have a link?
Sent from my One X using xda app-developers app
Click to expand...
Click to collapse
A search would have found it easy enough lol. Here is a link. I have been able to edit all the xmls without an issue.
http://forum.xda-developers.com/showthread.php?t=1755243
zelendel said:
A search would have found it easy enough lol. Here is a link. I have been able to edit all the xmls without an issue.
http://forum.xda-developers.com/showthread.php?t=1755243
Click to expand...
Click to collapse
Thanks man. You have been such a great help. I appreciate it.
What should I download? Just the apktool.jar or the updated aapt also? It says on one page that the aapt is only required for Linux but on the OP it says that the patched aapt is required. It says it under previous versions.
Sent from my One X using xda app-developers app
I use a modded version of apkmultitool and all I did was tale the apktool jar file
Sent from the Bat Cave
zelendel said:
I use a modded version of apkmultitool and all I did was tale the apktool jar file
Sent from the Bat Cave
Click to expand...
Click to collapse
Can you send me your apktookmultitool? I'm still getting a fc when I try to open the Phone app. The only thing I changed is the line in the colors.xml in the Contacts apk that said "People app theme color". I changed it to #ffcc0000. Whenever I decompile the Phone.apk it decompiles fine but I get a bunch of errors when I recompile even if I dont' change anything. I'm not using apkmultitool or apkmanager. I'm just using apktool and these commands: java -jar apktool.jar d Contacts.apk and to recompile I use: java -jar apktool.jar b Contacts.
EDIT: Holy Sh*t, Nevermind I got it. I didn't need to change anything in the Phone.apk at all just the Contacts.apk. But I'd still like to know how come my Phone.apk gives errors every time I try to recompile.
I can finally move on now! lol
SkizzMcNizz said:
Can you send me your apktookmultitool? I'm still getting a fc when I try to open the Phone app. The only thing I changed is the line in the colors.xml in the Contacts apk that said "People app theme color". I changed it to #ffcc0000. Whenever I decompile the Phone.apk it decompiles fine but I get a bunch of errors when I recompile even if I dont' change anything. I'm not using apkmultitool or apkmanager. I'm just using apktool and these commands: java -jar apktool.jar d Contacts.apk and to recompile I use: java -jar apktool.jar b Contacts.
EDIT: Holy Sh*t, Nevermind I got it. I didn't need to change anything in the Phone.apk at all just the Contacts.apk. But I'd still like to know how come my Phone.apk gives errors every time I try to recompile.
I can finally move on now! lol
Click to expand...
Click to collapse
Yeah then only changes that need to be done in the dialer is for the in call screen. I will upload my apkmultitool as soon as I can. My PC is hooked up to the TV and better half has control
Sent from the Bat Cave
zelendel said:
Yeah then only changes that need to be done in the dialer is for the in call screen. I will upload my apkmultitool as soon as I can. My PC is hooked up to the TV and better half has control
Sent from the Bat Cave
Click to expand...
Click to collapse
Ok sounds good. Thanks.
Btw would you know why I would get a fc when I try to theme the Swiftkey 3 keyboard? I themed it and then put it on my sdcard and tried to install it but it said "app not installed." That happened when I tried to theme the Facebook app but I put it in System/app and it worked but when I put Swiftkey 3 in System/app it just fc's. I know its not because of the 9.png's because I themed them correctly. I'm wondering if its maybe because its a paid app that I purchased? Do you think I'll have that problem with all the apps that aren't in System/app such as Chrome, Play Store, etc.?
SkizzMcNizz said:
Ok sounds good. Thanks.
Btw would you know why I would get a fc when I try to theme the Swiftkey 3 keyboard? I themed it and then put it on my sdcard and tried to install it but it said "app not installed." That happened when I tried to theme the Facebook app but I put it in System/app and it worked but when I put Swiftkey 3 in System/app it just fc's. I know its not because of the 9.png's because I themed them correctly. I'm wondering if its maybe because its a paid app that I purchased? Do you think I'll have that problem with all the apps that aren't in System/app such as Chrome, Play Store, etc.?
Click to expand...
Click to collapse
It could be that the app developer has it set not to work if decompiled. Hand cent is that way (and pisses me off as I am stuck with bob issues due to their lazy theming lmao.) I have edited a few apps and have no issues. Like tapatalk and what not. But some just won't work.
Sent from the Bat Cave
zelendel said:
It could be that the app developer has it set not to work if decompiled. Hand cent is that way (and pisses me off as I am stuck with bob issues due to their lazy theming lmao.) I have edited a few apps and have no issues. Like tapatalk and what not. But some just won't work.
Sent from the Bat Cave
Click to expand...
Click to collapse
Yea that sucks lol. I wanna add some red to the Swiftkey 3 keyboard. =(
Here is a link to my version of the apkmultitool. You can unzip it anywhere and it will work. At least it does for me lol
https://dl.dropbox.com/u/7544625/apktool test.7z
zelendel said:
Here is a link to my version of the apkmultitool. You can unzip it anywhere and it will work. At least it does for me lol
https://dl.dropbox.com/u/7544625/apktool test.7z
Click to expand...
Click to collapse
Thanks. I'll try it out. Just wondering, is there any reason you don't just use apktool? Also, what did you change in the apkmultitool?
Sent from my One X using xda app-developers app

[GUIDE][TUTORIAL]So, you want to port a rom to the MT4GS?

Ok, porting roms to our device is actually very easy. i am going to put together a guide for those of you who wish to port a rom to this device. This may not be the best method and may not work 100% of the time but it does work. As long as you follow this guide you should not hurt your device. That being said i take no responsibility for your actions you are doing this on your own accord.
To get started you will need to make sure you have a few programs set up on your windows PC:
7zip - http://www.7-zip.org/
notepad++ - http://notepad-plus-plus.org/
ADB - http://forum.xda-developers.com/showthread.php?t=928370
Apktoolv3 - http://forum.xda-developers.com/showpost.php?p=32649311&postcount=4
Also, you will need to know the terminology for this guide:
base rom - the rom already designed for the MT4GS
port rom - the rom you wish to bring over to the MT4GS
First step is to extract (using 7zip) both your base rom and your port rom into seperate folders
In your base rom you need to delete the following folders from system: apps, fonts, framework, and media
in your port rom you need to copy the same folders: apps, fonts, framework, and media; then paste them into your base rom
next open up the bin folder from port rom and copy all; now paste in base rom bin folder. BUT we only want what is not already there so when you use the paste command windows should prompt you that multiple files are already present in that folder. you want to select DO NOT COPY and do that for all the files.
now you need to do the same procedure for the the xbin folder. (you will need to copy the su file from port rom and paste to base rom)
Then you will need to open the etc folder and you will need to do the copy & paste trick with init.d and permissions folders
stay in the etc folder. underneath all the folders you will notice several "loose" files. use the same copy & paste trick so all additional files will be in your base rom.
after that we move on to the lib folder. we will use the same copy & paste trick. when you have the extra libs moved you will need to copy the following libs from port rom and paste them to base rom: libandroid_servers.so and libmedia_jni.so
you will need to open both port rom and base rom build.prop with notepad++. you need to make these following lines match the port rom:
ro.build.id
ro.build.display.id
ro.build.version.incremental
ro.config.ringtone
ro.config.notification_sound
ro.config.alarm_alert
Last zip your rom and flash it. if it boots you will need to move on to the next post. if it doesnt boot you will need to get a logcat to see what the problem is. if you want anyone here to look at make sure you use pastebin.
OK, you got your rom to boot!!! except your keyboards are all jacked up. This is the known fixes for the MT4GS!
you will need the framework-res apk from your booted rom and paste it to the root of your apktoolv3 folder.
you will need to decompile framework-res with the following command:
apktool d framework-res.apk
this will create a folder inside apktool titled "framework-res". open this folder and navigate to res>values
you will need to open bools.xml and integers.xml with notepad++
lets start with bools.xml
<bool name="config_forceDisableHardwareKeyboard">false</bool> change false to true
save bools.xml
in integers.xml you need to make the following changes:
<integer name="config_lidOpenRotation">90</integer>
<integer name="config_lidKeyboardAccessibility">1</integer>
<integer name="config_lidNavigationAccessibility">1</integer>
save integers.xml
run the following command to rebuild framework-res:
apktool b framework-res
your finished product will be in the "dist" folder.
last step is to open your new framework-res.apk and the original with 7zip. (DO NOT extract only open archive)
copy META-INF folder as well as AndroidManifest.xml from the orignal and paste to your new framework-res.
add framework-res.apk to your rom and zip it up.
Points of Reference
http://forum.xda-developers.com/showthread.php?t=1777999
http://forum.xda-developers.com/showthread.php?t=1598713
http://forum.xda-developers.com/showthread.php?t=1957219
http://forum.xda-developers.com/showthread.php?t=2113479
MAN!! That is one AWESOME guide there Bro! Now THAT should be insprirational to anyone that's ever dreamed of pulling over a port! NICE JOB!!!!!:good:
....and unless I overlooked it, you should mention that any extra folders in "system" in your port ROM that don't exist in you base need to be copied over too. (I don't know of the times I've forgotten that one!)
OH....and BTW, I've found that a copy of Winmerge is a HUGE help in comparing the files you need to compare for continuity & content. Namely the build.prop & updater-script files. It will save back to the proper format like Notepad++ will. (thanks Strapped365) :good:
Re: [GUIDE]So, you want to port a rom to the MT4GS?
So is anyone trying this?
Sent from my SGH-T889 using Tapatalk 2
I am, but I don't think I count.
can it be done on a pre-made rom or gotta start from scratch?
Re: [GUIDE]So, you want to port a rom to the MT4GS?
crimedave1987 said:
can it be done on a pre-made rom or gotta start from scratch?
Click to expand...
Click to collapse
This is for AOSP. Its the same guide SWaRM uses for our ports.
Sent From SaberMod using my Nexus 4
Re: [GUIDE]So, you want to port a rom to the MT4GS?
Use any cm or aokp base.
Sent from my SGH-T889 using Tapatalk 2
cool thanks
crimedave1987 said:
cool thanks
Click to expand...
Click to collapse
Good Luck! ....and don't get discouraged!
Re: [GUIDE]So, you want to port a rom to the MT4GS?
Thanks for this guide. I've learned so much with this device & following the development threads from the solid developers we have(had). I truly appreciate your work & willingness to share.
Sent from my KFTT using xda premium
Re: [GUIDE]So, you want to port a rom to the MT4GS?
etom said:
Thanks for this guide. I've learned so much with this device & following the development threads from the solid developers we have(had). I truly appreciate your work & willingness to share.
Sent from my KFTT using xda premium
Click to expand...
Click to collapse
No problem. If you have any issues post them here
Sent from my SGH-T889 using Tapatalk 2
Re: [GUIDE]So, you want to port a rom to the MT4GS?
mattlowry said:
No problem. If you have any issues post them here
Sent from my SGH-T889 using Tapatalk 2
Click to expand...
Click to collapse
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
strapped365 said:
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
Click to expand...
Click to collapse
I'll be trying during spring break. No time for me between work and school since the end of the term is creeping up.
strapped365 said:
Yeah one of us will get him right huh.
*
Has this worked for anyone yet? Or still no attempts
Sent From a Freaked out Nexus 4
Click to expand...
Click to collapse
It's given me another NICE one. I just haven't figured out where it recognizing external storage went. Don't I remember you saying you ran across this when you were building XE.....or is that just my "wishful" thinking?
Actually, I would have thunk people would have been all OVER this post!
Re: [GUIDE]So, you want to port a rom to the MT4GS?
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
wiswis said:
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
Click to expand...
Click to collapse
The very first thing to consider for simplicity's sake is to match one using the same processor. You can do that from HERE.
Secondly, gravitate to one with our screen size. (800x480) That will keep you away from ports that you'll have to resize a bunch of stuff in. You can find those HERE.
Then you just go to those developement threads & start shopping! LOL:laugh:
And GOOD LUCK! :good:
Re: [GUIDE]So, you want to port a rom to the MT4GS?
wiswis said:
I have midwinter break so I'll try this in a couple day just don't know what ROM to port
Sent from my MyTouch Slide 4G using Tapatalk 2
Click to expand...
Click to collapse
Could always try to port a pure Google ROM . I know anything that's Paranoid Android 3+ is based off Google source code as is much more stable than anything CM I've seen yet. It don't have as many tweaks and such BUT its pure
Sent from my Nexus 4 using Tapatalk 2
strapped365 said:
Could always try to port a pure Google ROM . I know anything that's Paranoid Android 3+ is based off Google source code as is much more stable than anything CM I've seen yet. It don't have as many tweaks and such BUT its pure
Sent from my Nexus 4 using Tapatalk 2
Click to expand...
Click to collapse
Would that mean A base CM4.1 or 4.2 ROM or AOKP?

Building with a custom theme apk as default

A question. What do i do if i want to build cm with another theme, meaning I want to replace the Default Cm theme apk with another one i have(from xda/playstore), and build from it (as source), with it set as default?
Could anyone help me out please? UBER or any themers?
I'm building cm10 from source.
Sent from my Nexus 7
TheDarkDefender said:
A question. What do i do if i want to build cm with another theme, meaning I want to replace the Default Cm theme apk with another one i have(from xda/playstore), and build from it (as source), with it set as default?
Could anyone help me out please? UBER or any themers?
I'm building cm10 from source.
Sent from my Nexus 7
Click to expand...
Click to collapse
I want to know this also.
Sent from my Nexus 7 using xda app-developers app
TheDarkDefender said:
A question. What do i do if i want to build cm with another theme, meaning I want to replace the Default Cm theme apk with another one i have(from xda/playstore), and build from it (as source), with it set as default?
Could anyone help me out please? UBER or any themers?
I'm building cm10 from source.
Sent from my Nexus 7
Click to expand...
Click to collapse
blmvxer said:
I want to know this also.
Sent from my Nexus 7 using xda app-developers app
Click to expand...
Click to collapse
There isn't a default .apk for CyanogenMod. (At least from what I see after searching everywhere in /vendor/tmobile/ and when clicking on the info button in the ThemeChooser it says the System Default theme's package is com.android.systemui) So to change the default theme you will have to first decompile the theme you want to use or if you made it just simply put everything you made into the /frameworks/base/packages/SystemUI/ and if you want to change the theme name, author, and preview from "System", "Google", and the default preview you can go to /vendor/tmobile/providers/ThemeManager/res/ in the xml/ folder there the system_theme.xml that contains the names and the path to the preview. It is possible to just add in the theme .apk you want and set it to default but that looks to be more work and it would still leave the system theme in there but if you really want to still then I recommend going to /frameworks/base/core/java/android/content/res/Configuration.java and search for "customTheme" and see how CyanogenMod saves which theme is the default and override the setToDefaults() so that instead of setting customTheme to null; to set it to your theme. Just replacing the SystemUI theme would probably be the best idea in my opinion.
Hope this helped!
TheDarkDefender said:
A question. What do i do if i want to build cm with another theme, meaning I want to replace the Default Cm theme apk with another one i have(from xda/playstore), and build from it (as source), with it set as default?
Could anyone help me out please? UBER or any themers?
I'm building cm10 from source.
Sent from my Nexus 7
Click to expand...
Click to collapse
Hi!!! Do you ever found a solution to your question? Please reply:good:

Categories

Resources