[Q] I need some tips and tricks - EVO 4G Q&A, Help & Troubleshooting

I plan on creating my own rom and was wanting to know what tools I may need and how to go about it the correct way? It will be Android based.

Google it, exactly what I did. Make sure you have a decent computer that can handle all that memory.
Sent from my PC36100 using XDA App

I'd hope its android based lol android sdk Java jdk notepad++ apk manager there's other stuff look around if you do a search I'm sure there are other people who asked the same thing
Sent from my PC36100 using Tapatalk

nrm5110 said:
I'd hope its android based lol android sdk Java jdk notepad++ apk manager there's other stuff look around if you do a search I'm sure there are other people who asked the same thing
Sent from my PC36100 using Tapatalk
Click to expand...
Click to collapse
Lol, sometimes when I don't have my coffee, I talk like an idiot. But yea, I'm getting ready to clean my comp for this awesomeness. Haha
Sent from my PC36100 using XDA App

Related

How to use porting tools?

I was wondering how to port to the incredible. I have windows 7, android sdk,apktool,smali/baksmali, and 7zip installed. I need to know how to use the tools mentioned and maybe some steps for porting. Modification of apk, jar, .xml, .so files are a must when porting,i just don't know how. Can someone please let me know, even if you want to pm then please do so. Thanks. Oh, afa what device I'd be porting from, not sure. Maybe from the desire or n1.
Bump
Sent from my ADR6300 using XDA App
google it my friend. GOOGLE!
type in android theme porter.
Thanks for the info, but I want to port a rom not a theme
ACD168 said:
google it my friend. GOOGLE!
type in android theme porter.
Click to expand...
Click to collapse
Sent from my ADR6300 using XDA App
I did try to google but nit anything on the incredible. I make it a general practice to google and research before I bother anyone on the forum.
Sent from my ADR6300 using XDA App
Maybe a Rom kitchen will help. I don't have much experience in this area.
It's no bother to people, I misread. rom kitchen sounds about right. you could always just try and theme the ROM you like..
Thanks for the response. What I really need is to know how to use the tools I mentioned. I have a basic overall knowledge of porting but am unsure of how to use the tools
Sent from my ADR6300 using XDA App
Bump
Sent from my ADR6300 using XDA App
I'm bumping this again cause I know there's got to be a dev with the knowledge, willingness, and time to tackle this thread request
Sent from my ADR6300 using XDA App
What are you wanting to port exactly?
Sent from my Incredible using XDA App

Runescape on gs2 with Ubuntu.

I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
hustlerman said:
I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
One day you'll realize how much of a waste of time RS is, trust me I've been there
OT: Stick to the browser, I can't imagine how hard it is to play on a phone
hustlerman said:
I just installed Ubuntu 10.10 on my phone and am trying to play runescape. It has Java 6 on it but the runedcape browser says I don't have Java or is outdated. There is an option under Java to install icetea plugin. will this make it work? Or do I need another browser besides Firefox? Is there. Way to make this work?
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
Try installing the Ubuntu restricted extras from the Ubuntu Software Center.
How did you install ubuntu on your phone?
Sent from my SAMSUNG-SGH-I727 using XDA App
iLeopard said:
One day you'll realize how much of a waste of time RS is, trust me I've been there
OT: Stick to the browser, I can't imagine how hard it is to play on a phone
Click to expand...
Click to collapse
That's funny you mention that because i was just telling a friend how addicted i was to runescape in like 2002
yh spending 3months 3hrs a day chopping only yew trees to get 99 wc...me>.<
Sent from my SGS2 powered by cm9 love
Haha I don't play that much anymore but I want to see if its possible. And which extras? There's thousands. I thought a out updating it but I didn't know if ur supposed to with the phone version. And I installed it thru the apps instructions.
Sent from my SGH-T989 using XDA App

How do I edit a framework.apk?

I'm mainly trying to edit the eri.xml and apn.xml for a non Sprint carrier. I tried APKTools but it's not really working. I keep getting a java not found error even though its installed. Also it doesn't seem that you can edit this xmls with APKTools anyway. Anyone feel like pointing me in the right direction?
cornaljoe said:
I'm mainly trying to edit the eri.xml and apn.xml for a non Sprint carrier. I tried APKTools but it's not really working. I keep getting a java not found error even though its installed. Also it doesn't seem that you can edit this xmls with APKTools anyway. Anyone feel like pointing me in the right direction?
Click to expand...
Click to collapse
You can do that straight from your zip archiver. Just open it as a zip. The xml is in res/xml
Sent from my GT-P7510 using XDA
xboxfanj said:
You can do that straight from your zip archiver. Just open it as a zip. The xml is in res/xml
Sent from my GT-P7510 using XDA
Click to expand...
Click to collapse
I'm pretty sure eri is encrypted.
He'd have to decompile it.
Hmm do you have the android sdk installed and the resources... you need more than the java developemnt kit... you need that version of androids resources and dependencies to decompile it...
And no you can't edit xmls without decompiling the framework completely.
Sent from my SPH-D700 using xda premium
ÜBER™ said:
Hmm do you have the android sdk installed and the resources... you need more than the java developemnt kit... you need that version of androids resources and dependencies to decompile it...
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Where can I get this?
cornaljoe said:
Where can I get this?
Click to expand...
Click to collapse
Google android sdk.
Or go to the android.com
Sent from my SPH-D700 using xda premium
ÜBER™ said:
Google android sdk.
Or go to the android.com
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
Already on it thanks.
Edit:
Wow my old developing persona is awakening in me as I watch the SDK install. Look out... maybe a "Hello Epic World" will follow after I'm done with this.

On-screen buttons

My phone recently fell and my capacitive keys don't work. Its sad that I can enjoy the betas of REMICS ans SENSE 4.0 ON my epic. I would grfeatly appreciate if someone could teach me how to enable these or create them. If someone teaches me I can keep updating the file for each update and push it out for most ROMs on our epics. I have decompiled and compiled frameworks and done basic editing. I know it will take more than just a little editing but I am more then willing to learn to make this happen! Thanks to anyone who tries in advance.
Sent from my SPH-D700 using XDA App
monstaX said:
My phone recently fell and my capacitive keys don't work. Its sad that I can enjoy the betas of REMICS ans SENSE 4.0 ON my epic. I would grfeatly appreciate if someone could teach me how to enable these or create them. If someone teaches me I can keep updating the file for each update and push it out for most ROMs on our epics. I have decompiled and compiled frameworks and done basic editing. I know it will take more than just a little editing but I am more then willing to learn to make this happen! Thanks to anyone who tries in advance.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Install AOKP, go to settings, rom control, enable navbar, select onscreen buttons you want
Decompile framwork-res.apk, edit /values/bools.xml and set the navigation bar value to true then recompile.
Sent from my SPH-D700 using Tapatalk 2
Can't you also just create local.prop and add line qemu.hw.mainkeys=0?
Sent from my SPH-D700 CM9 4.0.4
@dahturdima I have that on right now. I've had it like this. But I've been wanting to do it for other roms.
@ marcusant I though of that was in the process of doing it. But my decompilers wouldn't do it. I was getting chunk PNG missing files or something like that. I was trying to do it on REMICS.
If someone could upload their working set of tools I would greatly appreciate it.
Sent from my SPH-D700 using XDA App
monstaX said:
@dahturdima I have that on right now. I've had it like this. But I've been wanting to do it for other roms.
@ marcusant I though of that was in the process of doing it. But my decompilers wouldn't do it. I was getting chunk PNG missing files or something like that. I was trying to do it on REMICS.
If someone could upload their working set of tools I would greatly appreciate it.
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Go with Zeinzu's method.
I would but I have no knowledge of what that means. I am half nooby. Lol
Sent from my SPH-D700 using XDA App
monstaX said:
I would but I have no knowledge of what that means. I am half nooby. Lol
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
Open terminal emulator and type
su (enter key)
touch data/local.prop (enter key)
echo qemu.hw.mainkeys=0 > data/local.prop (enter key)
Sent from my SPH-D700 using Tapatalk 2
OK. Thanks Marcus will do that.
monstaX said:
Does zeinzu just create a text file and name it local.prop? Then put it in the root of my phone? Not my SD card but the actual phone with es file explorer?
Sent from my SPH-D700 using XDA App
Click to expand...
Click to collapse
I just posted how...
Edit: k
Sent from my SPH-D700 using Tapatalk 2
Ok I did exactly this and in es it was created and I did see it with the command. However it didn't do anything. I am on AOKP. I know there is a setting but I can't do it through terminal emulator. Let me try another ROM
Sent from my SPH-D700 using XDA App
EDIt:It worked on REMICS!!!!!!!! Now if someone is willing to help how can i change the size? I know I can do it through dimes.xml in the framework but the question is what guru can do it without decompiling it? lol
I've done it on cm9 and it works.
Sent from my SPH-D700 CM9 4.0.4
It worked great thanks Zeinzu. Youre a genius. Is it possible to resize it without decompiling?
Not sure, haven't tried. I'm assuming no though.
Sent from my SPH-D700 CM9 4.0.4
monstaX said:
It worked great thanks Zeinzu. Youre a genius. Is it possible to resize it without decompiling?
Click to expand...
Click to collapse
Nope, sorry
Sent from my SPH-D700 using Tapatalk 2
Im assuming the guys that created ROM control are gurus because it does it automagically once you put the size?-.-
EDIt: it would be awesome if someone could hook me up with the tools to decompile these kinds of frameworks. I can decompile ICS ones fine. Just not newer ones? Lol
Aapt.exe
Sent from my Galaxy Nexus using xda premium
monstaX said:
Im assuming the guys that created ROM control are gurus because it does it automagically once you put the size?-.-
EDIt: it would be awesome if someone could hook me up with the tools to decompile these kinds of frameworks. I can decompile ICS ones fine. Just not newer ones? Lol
Click to expand...
Click to collapse
The one in rom control has a framework hook
Sent from my SPH-D700 using Tapatalk 2

Would like some guidance

Im ready to start compiling my own roms for fun and to learn just need to know what programs ill need i already got the sdk program i just need to update it ..any help is appreciated tho thanks!!
Sent from my SAMSUNG-SGH-T989 using xda premium
Do you want to build in Linux or a virtual box?
Sent from my SAMSUNG-SGH-T989 using xda premium
-SGA- said:
Do you want to build in Linux or a virtual box?
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
I have a windows 7 machine. Will also like some info on building from source.
Most important things would be at least TWO apk managers (I have 4). I would reccomend ptmr3's deviant manager and wanam apk manager. Also get 7-zip and winrar. Sometimes, on aosp ROM's usually, 7-zip has a "term info bug". Use winrar when this happens. You'll also need notepad++ and apktool. Apktool is for Smali editing. Finally, get an apk/zip signing application.
Some people might use this while others, like me, don't. You might want to have the kitchen handy for some simple tasks. I personally hate the kitchen because it just makes simple stuff so complicated.
You'll definitely need the SDK and Samsung adb drivers. And I would recommend using Linux over windows and avoid osx. I hope I didn't lose you here lol.
Sent from my Nexus 7 using xda app-developers app
If you are currently running Windows, I would suggest spending some time getting familiar with Ubuntu, and deciding on a dual boot install or running it through a virtual machine.
I dual boot Ubuntu Linux 64bit because it is much faster than compiling within a virtual machine.
There are a couple good how to get started guides around if you search something like how to build CM10, or a similar query.
If you are ready to commit, i would suggest building something easy such as CyanogenMod. To begin you'll find yourself working in a terminal window for the majority of the time, and learning to navigate and debug using terminal commands. All this can seem a bit daunting at first, but you'll get the hang of it in no time.
This guide here is a good place to start. http://forum.xda-developers.com/showthread.php?t=1971645 but stop after the command ". build/envsetup.sh".
After that command you'll want to build for Hercules (our device)! In which case you would then say "lunch" and pick the corresponding number beside Hercules. After that you can say "mka otapackage", which will begin the build!
Everything should go smooth from there. Once it has finished you will find your ROM in /cm10/out/target/product/hercules.
Sent from my SAMSUNG-SGH-T989 using xda premium
OK my issue is I have windows 7 and Ubuntu the latest version and have it dual booted but getting an internet connection thru Ubuntu is a no go idk why but it just won't connect to anything
Sent from my SAMSUNG-SGH-T989 using xda premium
Yup you did a little bit haha I have everything but linux and the kitchen. Which. Not sure what the kitchen is and if u mean Linux/Ubuntu then I have that
Sent from my SAMSUNG-SGH-T989 using xda premium
thakrew317 said:
OK my issue is I have windows 7 and Ubuntu the latest version and have it dual booted but getting an internet connection thru Ubuntu is a no go idk why but it just won't connect to anything
Sent from my SAMSUNG-SGH-T989 using xda premium
Click to expand...
Click to collapse
Sometimes you need to install third party drivers to support your hardware, as Linux is open source it does not include the drivers which are closed source.
You'll find this with many things in Linux. Go ahead and try to play a DVD for an example of some of the hoops you'll have to jump through
Sent from my SAMSUNG-SGH-T989 using xda premium
How do I download the drivers if I Cant connect to the internet download em thru windows 7?
Sent from my SAMSUNG-SGH-T989 using xda premium
I'll Google it thanks everyone hopefully I can get something going
Sent from my SAMSUNG-SGH-T989 using xda premium

Categories

Resources