Editing build.prop - T-Mobile Samsung Galaxy Note II

I tried editing the build.prop om Jedi
X 6 to the international version for compatability w/ Vice city. Unfortunately my lack of knowledge with such things has left me unsuccessful. Anyone else had luck with such a thing?
Sent from my Note 2 with JediX

buid.prop file using Notepad++ and make changes to these as you wish.
Quote:
ro.build.id=
ro.build.display.id=
ro.build.date=
ro.modversion=

Related

Help running differential

I saw in a post that someone was able to run a dif on a stock systemUI.apk VS a themed systemUI.apk from a similar Rom to find what changes were made to result in the theme. Anyone have any insight into how this was done?
Sent from my ADR6300 using XDA App
Honestly I have no idea what you're trying to say. You could look into a kitchen if you're looking to make your own theme, but again, I have no idea what you're trying to accomplish here.
If I'm understanding you correctly, a possible path to that end would be to decompile the APKs (see APKTool or APK Manager) to different directories, then use a utility like WinMerge to do a text comparison on the two directories.
Jermaine is the user you're talking about, I believe.
PonsAsinorem said:
Jermaine is the user you're talking about, I believe.
Click to expand...
Click to collapse
Correct. I believe he was diff'ing the leaked SystemUI.apk vs the OTA to confirm if it was the same.

[Q] How to change "Sprint" on pull down menu?

I think I saw this done on one of Phantom's ROMS. It said Galaxy SIII instead of Sprint. Is there an APK I can decompile and modify that?
skarloey28 said:
I think I saw this done on one of Phantom's ROMS. It said Galaxy SIII instead of Sprint. Is there an APK I can decompile and modify that?
Click to expand...
Click to collapse
Yes, there is.
I would PM EMSPilot..he knows that stuff
You can also put a modified eri.xml in /data
Sent from my Galaxy Nexus using Tapatalk 2
You have to decompile SystemUI.apk and perform some XML edits. Check out this thread, second post:
http://forum.xda-developers.com/showthread.php?t=1770698

Please help me with theming!

Okay, I am really sorry if this sounds negative or like a rant, first off. I really want to get into theming. I have been trying for weeks, possibly months, to figure out how to do certain things. I have only recently been able to successfully make a zipthemer mod, and that's very easy. I really need specific help. The tutorials that I have seen are not specific enough, as they assume that you have prior knowledge of things like SDK and ADB. I am a completely clean slate. I have been completely unsuccessful in finding a step by step tutorial that I can actually follow to get the things done that I want to do. Maybe it's just me, but I have been literally hours searching for it. I have asked for help, but never get any because people tell me to go research how to do it.
I want to do only two things now...I am running dark paranoid android and I want to change the circlemod battery from the stock to white. I have the pngs, I just don't know where to put them or what files need to be edited. I also have no coding experience, so I need fairly specific help to learn what things need to change.
I also want to change the clock in the status bar from the ICS blue to white.
That's it....I know it sounds like it should be simple, but it's not to me. I have tried and tried to find the answers on my own, but have been wholly unsuccessful. It has left me feeling jaded and frustrated, leading to this thread.
Can somebody please point me somewhere that will teach me what I need to know with kid gloves? I want to really get into doing this and participate in the community, but I fail time and time again. I have tried to find pre-made themes to do what I want, but everything is usually too deeply modded whereas I only want to change a few things. Please help!
they go in the systemui.apk /res/drawables-xhdpi folder. If there is already a circles mod there, you don't need to code anything. The status bar clock color is in styles.xml of systemui.apk. The color code for ics is #33b5e5, so change it to #ffffff.
Here's the line of code you need to change. https://github.com/android/platform...r/packages/SystemUI/res/values/styles.xml#L41
change @android:color/holo_blue_light to #ffffff.
This is called hard coding, and in an ideal world, you'd change it to @color/status_bar_clock then add that value to colors.xml, but i know google will never optimize their code that way
artvandelay440 said:
they go in the systemui.apk /res/drawables-xhdpi folder. If there is already a circles mod there, you don't need to code anything. The status bar clock color is in styles.xml of systemui.apk. The color code for ics is #33b5e5, so change it to #ffffff.
Click to expand...
Click to collapse
Thank you very much. I didn't know which XML to look at.
I am pretty sure I tried putting the mod in that folder but it didn't take for some reason. I have looked pretty deeply into any other place they could be and can't find it for some reason.
Sent from my Galaxy Nexus using Tapatalk 2
liquid150 said:
Thank you very much. I didn't know which XML to look at.
I am pretty sure I tried putting the mod in that folder but it didn't take for some reason. I have looked pretty deeply into any other place they could be and can't find it for some reason.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Look in the /drawable folder in systemui. If the mod is present, you should find a stat_sys_battery_circle.xml in there.
artvandelay440 said:
Look in the /drawable folder in systemui. If the mod is present, you should find a stat_sys_battery_circle.xml in there.
Click to expand...
Click to collapse
Thank you I will check it out.
Sent from my Galaxy Nexus using Tapatalk 2
No problem. I'm writing a guide for my site on theming that's aimed at both beginners and advanced. I'll link it here when I'm done.
Sent from my Galaxy Nexus using Tapatalk 2
artvandelay440 said:
No problem. I'm writing a guide for my site on theming that's aimed at both beginners and advanced. I'll link it here when I'm done.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Any idea why when I flash white numbers into phone.apk it doesn't change anything? I am not in a place I can play with XML (no computer) so I tried something else.
Does pa/cm10 use a different apk?
Sent from my Galaxy Nexus using Tapatalk 2
liquid150 said:
Any idea why when I flash white numbers into phone.apk it doesn't change anything? I am not in a place I can play with XML (no computer) so I tried something else.
Does pa/cm10 use a different apk?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Phone.apk dial numbers used for "During a call dialer" so you have to change Contacts.apk dial numbers.
Yep- he's right. The ones in phone.apk are for the in-call dialpad.
Is there a fairly specific tutorial thread that I can turn to for editing XML files? From my very limited understanding I have to decompile it and work through it myself. Do I do this through ADB and push it? Is there an ADB tutorial to do things like that? I was hoping somebody here has a fairly specific noob-friendly tutorial.
My issue is that most of the tutorials that I have seen just say things like "use X tool and decompile." Well, I don't know how to do that. lol.
Thanks to everyone for all your help, and also to anybody else that helps in advance.
liquid150 said:
Is there a fairly specific tutorial thread that I can turn to for editing XML files? From my very limited understanding I have to decompile it and work through it myself. Do I do this through ADB and push it? Is there an ADB tutorial to do things like that? I was hoping somebody here has a fairly specific noob-friendly tutorial.
My issue is that most of the tutorials that I have seen just say things like "use X tool and decompile." Well, I don't know how to do that. lol.
Thanks to everyone for all your help, and also to anybody else that helps in advance.
Click to expand...
Click to collapse
For decompile:
*you will need to have Java runtime installed*
1.download http://minus.com/mwgtTbmZd
2.create a folder c:\apktools
3.Take the zip and unzip all 4 files to c:\apktools
4.You will need to pull the framework-res.apk from the rom you are working on. Copy it to c:\apktools
5.Rename apktool.jar.1.4.2 to apktool.jar
6.Open a command window and make sure everything you do from now on is while you are in this folder c:\apktools
* If you don't know how, just open command window and by use this command ( cd.. ) until you are in ( C:\ ) driver then ( cd apktools )
7.In command window type: java -jar apktool.jar if framework-res.apk
You only need to do this once, unless you are working on a different Rom
8.decompile framework-res with apktool: java -jar apktool.jar d framework-res.apk
make any changes you want
9.Now compile: java -jar apktool.jar b framework-res
If you get error compile it with apktool version 1.4.3, So what I do at this point is rename apktool.jar to apktool.1.4.2, and then rename apktool.jar.1.4.3 to apktool.jar
10.Once it is done compiling you will need to go to c:\apktools\framework-res\dist and you will now see your new framework-res.apk
Just remember to copy any apk you want to decompile right into the root of c:\apktools
--
Now put your new for example framework-res in flashable zip (attached) and flash by using Rom Manager aka CWM.
Note that framework-res.apk should be inside framework folder, and SystemUI.apk inside app folder.
I'll make one tonight and link it.
Sent from my Galaxy Nexus using Tapatalk 2
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
liquid150 said:
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
Click to expand...
Click to collapse
I'd start in Linux since more of the advanced concepts require it.
Sent from my Galaxy Nexus using Tapatalk 2
Check this out. It might help http://www.jbthemes.com/artvandelay440/theming-guide/
I am having trouble finding the status bar xml controlling clock color (battery, too). I am not seeing a values nor styles folder nor XML in System UI. My ROM is DarkPA. If anybody knows offhand where I should look please let me know, otherwise I will continue on my own.
you won't see a /values folder until you decompile it. then, it will be in /res.
liquid150 said:
Oh, one more question...is this a lot easier to do in Linux? I haven't installed my copy of Ubuntu on my new box yet because I haven't felt the need yet.
Click to expand...
Click to collapse
get that ubuntu booted
Sent from my Galaxy Nexus using Tapatalk 2
If you still need help tomorrow let me know. I could either do the edits for you or help you with the apps you need ...
Thyrus said:
If you still need help tomorrow let me know. I could either do the edits for you or help you with the apps you need ...
Click to expand...
Click to collapse
I am available as well. Hit me up via talk if need be. I have helped many setup theming. Although i use xdaautoapktool which is much more comprehensive theming tool...
Sent from my Nexus 7 using Xparent Blue Tapatalk 2

[Q] Porting build.prop from sprint gs3 to vzw gs3

in this thread: http://forum.xda-developers.com/showthread.php?t=1941239&nocache=1
they advise that i copy the build.prop data from the port rom to the base rom then copy the build.prop from the base to the port rom folder.
open system/build.prop from both the port and the base ROM in Notepad++. Update the Base build.prop to match the values for “ro.build.description=” and “ro.build.fingerprint=” from your Port. Now save the Base build.prop, exit Notepad++, and copy the Base build.prop into the Port ROM, overwriting the Port build.prop.
Click to expand...
Click to collapse
However, im porting a sprint gs3 rom to a vzw gs3. wouldnt i replace the port rom (sprint) build.prop data with the base rom (vzw)?
Anybody? Do I just do it in reverse? This is my first time porting anything.
Sent from my SPH-L710 using xda app-developers app

[MOD][How To] - Yet Another Tether Hack (YATH for short) Odex or De-Odex

I did this because... Its DIFFERENT!
Ok, I got frustrated with not being able to re-compile framework-res.apk which is the most known method of hacking tether. So I was inspired by Nottach and his initial Tether Mod by hacking the provisioning check. So I decided to do my own little hack. Nottach hack sends the system looking to 127.0.0.1 for a response to tether, while the original un-modified version goes to various AT&T Entitlement check servers.
I took a different route. I just redirected to my own server and give everyone a Yes response! Simple enough, heh?
Dont laugh! It works!
This hack works for Hotspot and USB tether.
De-Odex version is attached.
Installation
I used similar install method as Nottach to apply this mod.
Download the attachment. Unzip it to your desktop.
Simply copy the "Mods" folder to your internal storage
Run the "Mod Me.bat" file after copying
It will copy the mod to the correct location, then reboot phone.
Enjoy free tether
If you are STOCK Rooted (In other words odex) and are not using the de-odex rom you can still use this hack simply by deleting TetherProvisioning.odex from /system/app/ then intsll my mod.
Download HERE
If you think this was a crafty use of my Web Server hit Thanks Please!​
How this mod works
Look for any http string in TetheringProvisionActivity$TetheringPlanCheckTask.smali and change it to "http://www.scottsroms.com/tether"
Example:
Code:
.line 1081
const-string v0, "http://entitlement.mobile.att.net/teth"
[B][COLOR="Red"]Change to[/COLOR][/B]
.line 1081
const-string v0, "http://scottsroms.com/tether"
There are a total of 6 http strings. You need to change them all.
On the server side is just one simple index.html with the word "Yes". Believe it or not that is all the AT&T servers respond with, Yes or No :silly:
You can see this yourself by going to www.scottsroms.com/tether
Also, this should for any AT&T device that uses the same method of entitlement check. Not so much this file but redirecting whichever apk that does the look-up on AT&T to my server. Im going to try it on my One X and see if it works. I will post results on that later.
Feel free to do with this mod as you choose. Give it away, put it in a ROM, sell it for profit... I dont care!
If you do make this mod for another device and use my server a simple thanks in the OP is all I ask.
Neat, but I still like my framework-res.apk approach
I think to recompile framework-res.apk, I had to change 6 or so styles to use keyguard_lockscreen_control_view or something (the key was adding _view to each of the six style files). I think that's right.
romracer said:
Neat, but I still like my framework-res.apk approach
I think to recompile framework-res.apk, I had to change 6 or so styles to use keyguard_lockscreen_control_view or something (the key was adding _view to each of the six style files). I think that's right.
Click to expand...
Click to collapse
You got to admit I got creative on this one, lol. Bored much :silly:
Ok, Im gonna mess with framework-res again later and look around. Mind if I PM you if need help?
romracer said:
Neat, but I still like my framework-res.apk approach
I think to recompile framework-res.apk, I had to change 6 or so styles to use keyguard_lockscreen_control_view or something (the key was adding _view to each of the six style files). I think that's right.
Click to expand...
Click to collapse
All you need to do is add a + to the style location. It's the same for all these recompile errors.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
I thought this technique was really cool. Thanks for sharing!
shoman94 said:
All you need to do is add a * to the style location. It's the same for all these recompile errors.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
What exactly did you do to get framework-res.apk to get things to recompile correctly?
xxhorseriderxxx said:
What exactly did you do to get framework-res.apk to get things to recompile correctly?
Click to expand...
Click to collapse
I'll explain with an example when I get home.
Edit: Posted here: http://forum.xda-developers.com/showthread.php?t=2279024
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
shoman94 said:
I'll explain with an example when I get home.
Sent from my SAMSUNG-SGH-I337 using Tapatalk 2
Click to expand...
Click to collapse
Thanks! Can you start a how to thread in either Dev or Q/A and link to it from here so we dont totally sidetrack this thread?
A lot of people, including myself would be very grateful!

Categories

Resources