Hello everyone. Does anyone know how to sign apks in Ubuntu? I modify theme apks a lot, but i need to sign them before using them.. I am aware of how to sign apks in Windows 7, but i wish to know how in Ubuntu, because i use Ubuntu primarily.. Of course, the easier the method, the better..
Thanks in advance..
Sent from my GT-I8150 using xda premium
Related
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
Ive searched for ages and nothing helps me?! why is so hard to open .xml's should there be an editor around somewhere that can do the job?
Someone please help before i set my laptop on fire
http://notepad-plus-plus.org/ ???
Nah it doesn't work
Sent from my HTC Desire using XDA Premium App
So why is it mentioned in almost every tutorial for editing xml? You sure your doing everything right?
Sent from my HTC Desire using XDA Premium App
Trust me it doesn't work. It can only open standard XML files not android ones which are different
Sent from my HTC Desire using XDA Premium App
They're Binary XML files. Easiest solution would be to decompile the apk containing the XML files using Apk Manager and then editing them.
If viewing is all you're interested in, AXMLPrinter2 is simpler.
Otherwise try UltraEdit. This tool can open almost all formats.
Can't post link here, so just google it
So I need some help. How exactly do I install a framework for an app when it is needed?
Framework-if
Should be a batch file with apk manager. Other wise get apktool and run apktool if framework-res.apk
Sent From My Sprint Galaxy Nexus
I got off my computer now but I will try this in the morning thanks.
Sent from my SPH-D700 using XDA App
okay, so I'm confused as ever. Theres no "framework-if" wiht apk manager and i downloaded apk tool and its a .jar file? And i dont know what to do with it. I can open it up but theres no programs in it or anything.
Do you want a quick tutorial? Over team viewer?
Sent From My Sprint Galaxy Nexus
That would be nice.
I downloaded and installed it. You need my ID? or how does this work exactly lol?
lilajrestnom said:
That would be nice.
I downloaded and installed it. You need my ID? or how does this work exactly lol?
Click to expand...
Click to collapse
Pm me the I'D and password and give me a second to get on my laptop
Sent From My Sprint Galaxy Nexus
ÜBER™ said:
Pm me the I'D and password and give me a second to get on my laptop
Sent From My Sprint Galaxy Nexus
Click to expand...
Click to collapse
Okay I sent it.
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
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