[Q] Apktool Help - Galaxy S II Q&A, Help & Troubleshooting

Can anyone tell me why I'm getting this error and how I can solve it. Only half the apk recompiles, I'm missing all the values folders which is a problem.
Windows 7 x64
Latest Java JDK
Modded ICS apktools
WannamLite 4.0.3 - UHLPS

Bump!
Anybody?
Sent from my GT-I9100 using xda app-developers app

It's just a warning, the apps is even compiled

had u tried via CMD? i found that i cannot run the app, because it says that frameworks is missing. but if i run it through CMD everything works fine...
Compile pelpa.apk c:/pelpa or something like that

Related

Jbed working on x10

Modified version of Jbed working on x10!
Download the files here:
http://forum.xda-developers.com/showpost.php?p=7104312&postcount=3
First install the jbed.apk
Then copy the libjbedvm.so to /system/lib using root explore or adb.
Now it will work.
Sent from my X10i using XDA App
What is Jbed???
///MEDO said:
What is Jbed???
Click to expand...
Click to collapse
it is java
Using this app you can install java app.
Sent from my X10i using XDA App
strix75 said:
it is java
Click to expand...
Click to collapse
Realy!!
does that means that i can install file like ( .jar )
svprm said:
Modified version of Jbed working on x10!
Download the files here:
http://forum.xda-developers.com/showpost.php?p=7104312&postcount=3
First install the jbed.apk
Then copy the libjbedvm.so to /system/lib using root explore or adb.
Now it will work.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Thanks for your work
What can i do with this now? Is this now in Browser implentet or do i need to have Java Games on SD Card ?`Does anyone know good Site for Java Games or Programs
svprm said:
Using this app you can install java app.
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Hi, svprm
first of all thank you for ur work
can u give us an example for JAVA apps ??
Ghaith Alshareef said:
Hi, svprm
first of all thank you for ur work
can u give us an example for JAVA apps ??
Click to expand...
Click to collapse
check this out: http://www.getjar.com/
GetJar is a bad example (I am getting old I guess) - they seem have all kinds of apps now not like in the old days - java only (hence the 'jar' thing in their name). They still do have java apps as well though.
Anyways - there are many java apps (similarly to the apk files) which can do all kinds of things, pretty much everything.
but website with java still i can't view them.....
1. Did anyone try to install java app??
2. Did it work on the touch screen?
3. can we customize the buttons to work with the app?
thanks.
would it be possible to do the same but for flash apps and games?
@medo
Java app installed and working.
Touch screen working.
Can not customize the button.But button can be pressed using touch screen.
Sent from my U20i using XDA App
svprm said:
@medo
Java app installed and working.
Touch screen working.
Can not customize the button.But button can be pressed using touch screen.
Sent from my U20i using XDA App
Click to expand...
Click to collapse
@svprm
Thanks
i didnt know theres buttons on the screen
i just didnt want to copy the libjbedvm.so file, thats why im asking
will try now
force closes on my x10. what do you think would be the reason?
I think you didn't put the lib in correct place.
So put it on /system/lib/
And then try.
Sent from my U20i using XDA App
sorry to revive a dead thread, but I am wondering:
what phone can I pick as an equivalent to the jbed engine on sites like getjar to see only the compatible jar files?
what does this do?
@svprm - I've two questions mate.
1: What is this for as Java runs native on Android devices... I'm not being sarcastic, it is a genuine question.
2: What do you think about the repeated remarks made yesterday about your JBed library enabling J.Anderson to gain permanent root - or as he put it - crack the bootloader?
Best Regards,
MH
MrHassell said:
What do you think about the repeated remarks made yesterday about your JBed library enabling J.Anderson to gain permanent root - or as he put it - crack the bootloader?
Click to expand...
Click to collapse
Damn, you beat me to it.
Yeah bro I'm stuck in root
And how random of me to drop in the thread right now I'm pretty sure I am when I can't remount r/w with su..
I'm stuck on this rom now.. :/
Sent from my fully mounted rom.

Compiling framework-res problem (UPDATED)

Original problem has been fixed, therefor I'm editing this instead of creating a new thread
So just ignore the 3 first comment
Whenever I compile framework-res after decompiling it (Even if I haven't modified anything) it goes from 8 MB to 5 MB!
And when I try to install it on my phone, its just boot-looping.
I have tried both APK Manager and APK Tool without any luck.
It doesn't help to pull the file again either.
Sent from my GT-I9100 using XDA App
I have the same errors. I think that's a problem of apktool. Try some different tool
You need t change ur framework under home/apktool/framework/1.apk
Replace the 1.apk with untouched stock framework-res.apk renamed to 1.apk....u will be out of trouble then
I use baksmali e smali for decomile/compile
Thread updated due to the first problem was fixed, and I don't bother to create a new one
Sent from my GT-I9100 using XDA App
bruflot said:
Thread updated due to the first problem was fixed, and I don't bother to create a new one
Sent from my GT-I9100 using XDA App
Click to expand...
Click to collapse
Nobody? :'(
Sent from my GT-I9100 using XDA App

[Q] [HELP][DEVs]Help with framework-res.apk--Some serious, weired problems!!!

Hi Guys! I am trying to modify the framework-res.apk of my bro's Micromax A70 with PNGs from trettet's CosmicExperia ROM. This Q is abt. A70, but related to P-500, so I think you guys can help me out. I've searched & tried everything, but nothing seems to be working. Its been more than 2 weeks here messing up and I've tried almost EVERYTHING possible and useful I came across.
I replaced those btn_check buttons, radio buttons, zoom in-out buttons, not. icons including battery, Wi-Fi, GPS, data and other such. The point is, I've replaced them accurately, deleted the extra PNGs and the no. of PNGs are same in both original and Modded apk. Moreover I've checked each and every PNG with their names and also, each *.9.png is properly 9-patched...!!!
Here's what I tried to change them:-
First tried APK-multitool, the apk got compiled succesfully, but after replacing it with original one, I am getting crash at the boot up.
Again, i searched for the prob., and got that APK-multitool doesn't seem to work correctly with sys apps and has bugs in compiling process. So I tried apktool(apktool.jar), and manually decompiled apk with commands, made changes and again recompiled, but got the same results.
NOTE:-In both the above cases, i tried unsigned as well as signed apks, also I Zipaligned the signed apk.
For replacing APK:-
I tried creating update.zip, but after flashing, I simply get crash at boot up!!
Next, I tried to include the framework-res.apk in ROM itself. Replaced the framework apk with modded one and again built it with kitchen, flashed it, but that didn't work even...........!!!
Finally, I tried a "reframe.sh" script for replacing apk with the terminal, but no luck still......
NOTE:- I didn't/can't try ADB Push, 'cause i don't have phone with me......
What can be the problem?? Am I missing something?? PLZ. guys help me out, I am really fried up with the F*****ing problems and its all getting REALLY WEIRED here!!! HELP REQUIRED ESPECIALLY FROM DEVS AND THEMERS!!!!!!!
Thanks In Advance.....
used 7-zip and copy paste all images from drawable-mdpi
aspee said:
used 7-zip and copy paste all images from drawable-mdpi
Click to expand...
Click to collapse
That I tried first of all....... That's not the solution, the problem is much more complicated........
Sent from my LG-P500 using XDA App
I once port a70 and change framework images didn't got any such error
Sent from my LG-P500 using xda premium
aspee said:
I once port a70 and change framework images didn't got any such error
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Which things you did??? Same as i've described above???????
Sent from my LG-P500 using XDA App
Yeah somewhat
Sent from my LG-P500 using xda premium
aspee said:
Yeah somewhat
Sent from my LG-P500 using xda premium
Click to expand...
Click to collapse
Do you remember which rom's framework you modded???
Sent from my LG-P500 using XDA App
Stock
Sent from my LG-P500 using Tapatalk
aspee said:
Stock
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
I am too modding framework from a custom rom, based on the stock one.....
It worked for you, but why not for me?? Can't understand!!! What do you think the problem is???
AND, DEVS, PLEASE LOOK AT THIS MATTER!! I REALLY WANT HELP!!!!
Sent from my LG-P500 using XDA App
WTF?? The thread is going down n down!!!!! Plz someone help me with this!!!
Sent from my LG-P500 using XDA App
Guys, please help!! Its delaying!! I cant start any new things bcoz of this!!.
Sent from my LG-P500 using XDA App
D3oDex3D_Ayush717 said:
WTF?? The thread is going down n down!!!!! Plz someone help me with this!!!
Sent from my LG-P500 using XDA App
Click to expand...
Click to collapse
the a70 framework is like that a little change makes it stuck at logo or boot loops ...
follow the below method to make it work ...
In apk manager select this settings..
compression level =0
1.first change the images using any tool like apkmanager and recompile it ...
2.now again select the recompiled unsignedframework-res.apk and extract it ...now again using the apkmanager zip the apk ..
3.now zipalign the unsignedunsignedframework-res.apk manually and flash it ..then it will work...
http://forum.xda-developers.com/showthread.php?t=1195969
samrox144 said:
the a70 framework is like that a little change makes it stuck at logo or boot loops ...
follow the below method to make it work ...
In apk manager select this settings..
compression level =0
1.first change the images using any tool like apkmanager and recompile it ...
2.now again select the recompiled unsignedframework-res.apk and extract it ...now again using the apkmanager zip the apk ..
3.now zipalign the unsignedunsignedframework-res.apk manually and flash it ..then it will work...
http://forum.xda-developers.com/showthread.php?t=1195969
Click to expand...
Click to collapse
You are right! This framework is a SENSITIVE thing!!
Will surely try this!!
Thanx a lot for yor quick reply...!!!!
Sent from my LG-P500 using XDA App
Hi sam, I tried what you said, but when i decompile apk for the first time, and agiain compile it with apk-multitool, the compiled apk contains a "keep" folder in it!! I think it's gone mad!!
This I've seen for the first time! previously, there were always only assets, res, androidmanifest, and metainf files. So i tried apktool.jar manually. It recompiled properly.
Now, i placed the compiled apk in the modding folder of apk-mutitool. first extracted the the apk i.e. option no. 2, and then zip it again, i.e option no.3, right?? but now inside the zipped file, is see this- project\unsignedframewok-res.apk\assets, res, androidmanifest, and metainf , that should be directly in the root of the zip. Also due to this the file doesn't get zipaligned!!!
HELP!!!!!!
D3oDex3D_Ayush717 said:
Hi sam, I tried what you said, but when i decompile apk for the first time, and agiain compile it with apk-multitool, the compiled apk contains a "keep" folder in it!! I think it's gone mad!!
This I've seen for the first time! previously, there were always only assets, res, androidmanifest, and metainf files. So i tried apktool.jar manually. It recompiled properly.
Now, i placed the compiled apk in the modding folder of apk-mutitool. first extracted the the apk i.e. option no. 2, and then zip it again, i.e option no.3, right?? but now inside the zipped file, is see this- project\unsignedframewok-res.apk\assets, res, androidmanifest, and metainf , that should be directly in the root of the zip. Also due to this the file doesn't get zipaligned!!!
HELP!!!!!!
Click to expand...
Click to collapse
use apk manager it is better then apk tool
did you delete the resources.arsc from keep folder
D3oDex3D_Ayush717 said:
Hi sam, I tried what you said, but when i decompile apk for the first time, and agiain compile it with apk-multitool, the compiled apk contains a "keep" folder in it!! I think it's gone mad!!
This I've seen for the first time! previously, there were always only assets, res, androidmanifest, and metainf files. So i tried apktool.jar manually. It recompiled properly.
Now, i placed the compiled apk in the modding folder of apk-mutitool. first extracted the the apk i.e. option no. 2, and then zip it again, i.e option no.3, right?? but now inside the zipped file, is see this- project\unsignedframewok-res.apk\assets, res, androidmanifest, and metainf , that should be directly in the root of the zip. Also due to this the file doesn't get zipaligned!!!
HELP!!!!!!
Click to expand...
Click to collapse
As far as my experience goes ,you will have to delete the files you modified from the keep folder (if you changed any XML also delete resource.arsec) and continue with the batch script(it will tell u to do so after asking you If you want to copy unchanged files)
Sent from my LG-P500 using Tapatalk
APKTOOL IS EASIEST ACCORDING TO ME!
Sent from my LG-P500 using Tapatalk
androidusero1p500 said:
As far as my experience goes ,you will have to delete the files you modified from the keep folder (if you changed any XML also delete resource.arsec) and continue with the batch script(it will tell u to do so after asking you If you want to copy unchanged files)
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
That's not the problem. I do delete the modified files in keep folder. But that script adds a keep folder inside the apk itself when recompiled!! lol!!!!
Sent from my LG-P500 using XDA App
samrox144 said:
use apk manager it is better then apk tool
did you delete the resources.arsc from keep folder
Click to expand...
Click to collapse
Apk multitool is the updated version of apk manager. Though, i will try with that one to.........And no, i didn't delete resources. Infact nothing except the pngs in drawable-mdpi....
Thanks!!
Sent from my LG-P500 using XDA App
androidusero1p500 said:
APKTOOL IS EASIEST ACCORDING TO ME!
Sent from my LG-P500 using Tapatalk
Click to expand...
Click to collapse
By apk tool, you mean apkmanager or that apktool.jar??
I used that apktool.jar manually with cmd, when apk multitool didn't work for me.....
Sent from my LG-P500 using XDA App

[Q] Run exe in BackTrack 5?

If I install backtrack 5 onto my GT - I9100 would it be possible to install WINE onto BT5 and run exe's? I know if it works it won't work on all executables but still, it's better than nothing.
Sent from my GT-I9100 using XDA App

[Q] Can someone sign this APK for me?

I have this apk where I changed the icon, but I can't install it because it is unsigned.
If someone could sign the apk, that would be a great favor!
Anyone?
Sent from my SPH-D710 using Tapatalk 2
Just use ZipSigner 2 to sign it
All these zip signers need java I think, and this machine doesn't have java, and I can't install it on here because it's not mine.
If all you are doing is changing the pngs, there is no need. Simply use 7zip to open the apk without extracting or decompiling it. Then just drop the png where you want it to replace the old one and back out of 7zip and it is ready to install with a new icon!
jahjah440 said:
All these zip signers need java I think, and this machine doesn't have java, and I can't install it on here because it's not mine.
Click to expand...
Click to collapse
Its an app actually, you can sign it from your phone. Anyway here's the signed apk http://www.mediafire.com/?75ar0613qxxsm89
Sent from my GT-I9000 using xda premium
Thanks for your help everyone, I didn't know that you could manually extract apks.
Sent from my SPH-D710 using Tapatalk 2

Categories

Resources