Compiler for n7105...ALIJ - T-Mobile Samsung Galaxy Note II

Does such a thing exist?
I've used apktool versions from 1.4.2 up to 1.5.0 with no joy.
I am trying to edit the framework-res.apk
I can decompile ok, I can edit the .xml file ok, but I cannot get the blasted thing compiled again.
Can anyone help?
Sent from my GT-N7105 using xda app-developers app

Read over this take you time .. its very frustrating just remember once you have it set up your golden
Sent from my SGH-T889 using XDA Premium HD app

Hah! I did it! I neglected to do the first line of code; essentially, I was de- and recompiling with different apktools. I can verify that 1.5.0 works on this build.

Related

Why is it so hard to open .xml's !!

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

quick question about apk manager

alright so im trying to decompile "services.jar" except apk manager wont find it to "start the project" any help would be appreciated
Tribby Im not sure it can handle jar.
You can just use 7zip on that services.jar.
What wildstang said works well, the apk tool your using is not able to handle jar files
Sent from my ADR6300 using XDA App
Cryous said:
What wildstang said works well, the apk tool your using is not able to handle jar files
Sent from my ADR6300 using XDA App
Click to expand...
Click to collapse
Hey Cryous, Love your Android over there on the right. Thats pretty cool.

[Q] framework

do framework apk's need to be signed?
i decompile framework with apk tool. i get no errors. edit and xml and then recompile. then sign. then replace the Roms framework with the modded one. i flash and the bootanimation keeps going and going. what am i doing wrong? i need alot of help. please dont point me to threads. help me.
i edit the strings.xml files
i am getting a yml file that says:
version: 1.4.3
apkFileName: framework-res.apk
isFrameworkApk: true
You have 40 posts and know more than thou please teach me oh great one lol
I don't have a speedy enough pc nor a lot of time for this stuff otherwise I would too.
Sent from my SPH-D700 using xda premium
joe_d08_17 said:
do framework apk's need to be signed?
i decompile framework with apk tool. i get no errors. edit and xml and then recompile. then sign. then replace the Roms framework with the modded one. i flash and the bootanimation keeps going and going. what am i doing wrong? i need alot of help. please dont point me to threads. help me.
i edit the strings.xml files
Click to expand...
Click to collapse
No, it should not have to be signed. I never sign the ones I edit but then again I don't edit the xmls.
im sorry guys but im trying lol.
i just started man gees lol sorry
btw if your pc is slow run disk defragmenter about 20 times and it should speed it up
joe_d08_17 said:
btw if your pc is slow run disk defragmenter about 20 times and it should speed it up
Click to expand...
Click to collapse
Or just reinstall windows the unltimate defragger
I plan on getting a better one soon here I come i5 sec-gen cpi
Sent from my SPH-D700 using xda premium
lol do it! haha. i have an i5 but u should get an i-7 cus it has hyperthreading and already unlocked and ready to overclock. that would be better! that was my mistake-.-
joe_d08_17 said:
lol do it! haha. i have an i5 but u should get an i-7 cus it has hyperthreading and already unlocked and ready to overclock. that would be better! that was my mistake-.-
Click to expand...
Click to collapse
Lol also that you could have gotten a quadcore for cheaper
Sent from my SPH-D700 using xda premium
it is a quad-core. but i-7 has 8 threads. not just 4 like i5 xP
to down a autosign software can resolve it.
Yes you need to sign it I gave you a adroid signer that will work perfect sorry I forgot to mention it
Sent from my SPH-D700 using xda premium
lol ok. yes ive been using it. but someoene else told me not to sign framework-res.apk so i havent been but leemme signit this time to see if it works.
is it poosible to change what things say. cus i wanna change how it says before u power off. it says your phone will not shut down. i want to change that can i do it this way? or is impossible?
eDIT; ok now i know its the stupid apk tool. ive tried everything. ive decompiled then recompiled without changes and flashed it and it didnt work!!! im freaking pissed man!!!! idk what to do!!!!!!-.-
ive even updated the aapt. i have java i have everything!!!!! im frustrated
Welcome to the party can I get you a beer ?
Sent from my SPH-D700 using xda premium
lol shut up xP. help me!!!
That's why stick to editing pngs and not xmls and so forth so much done with so little effort
This wouldn't happen to be fore cm9 is it? This happens to be a known problem if it is...
Sent from my SPH-D700 using xda premium
ive been trying even with bml frameworks and still nothing working
Bml and mtd frameworks are the same.
Sent from my SPH-D700 using Tapatalk
oh ok. do u know how to decompile and compile in eclipse? i kinda did it but i didnt get all the other folders with xml's inside.
dude ur an expert lol:can i edit the text that comes out on the phone. Like when you pu power off, and then it says "Your phone will shut down."

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

Categories

Resources