Hey,
Every one knows the problem: ran out of internel memory... I heard about something like edit the androidmanifest to let android install the app on sd unrooted, and without SDK, all stock.
Only, how do i edit the androidmanidest? I tried this: go with Astro file manager into the .apk file, and open the androidmanifest.xml file with xml editor, but it says error: unreadable. How can i change the manifest? (then i finely can install minebuilder)
Thanks in advance, but i dont want to root, SDK, or run costum rom
Sent from my GT-S5570 using XDA App
No ane that can answer?
Sent from my GT-S5570 using XDA App
Related
I installed this from the market on my legend rom. I have created a nandroid backup of that rom and I'm now rockin the nonsense rom from team-slide (great rom by the way!). However I'm trying to find this on the market now and it seems like it is nowhere to be found. I've tried a variation of searches with no luck. So I thought, well I'll just restore my legend rom backup and adb pull the file from there. It was located in the /data/app as a .zip file while the other apps were .apk. Anyhow I was able to pull the file and its now on my computer. I then did a restore to my nonsesnse rom but I'm unsure how to get the zip file back on the phone. I can adb push it on there but it doesn't 'install' it per sey. Any ideas on how to get this app back on the nonsense rom?
You can place the apk on the sd card and then on the phone you can use astro to install it. If that doesn't work you can connect to the pc and use the "adb install" command.
Sent from my HTC Mytouch 3G Slide using XDA App
Part of the problem is that I don't see an apk file. The file is actually .zip in the /data/app path. The other files in the /data/app path are .apk files. Am I missing something here or is the apk file in another path? When I unzip the file on my computer there are multiple folders. If I had the actual apk then I might be in business. Any suggenstions on where it might be hiding?
go to app private in the backup that u got the zip from there should b the apk
update - app private had the apk, installed and working fine, thanks for all the help. So is it safe to say if it is a zip file the apk will always appear in app private? Why make this different from the other apks? Is it just developer specific i guess?
So I figured out I can use root explorer to extract framework-res.apk to edit the eri.xml file to change my carrier name....what I don't know is how to put it all back together to replace the current apk ...
Any tips?
Sent from my HERO200 using XDA App
7 zip on the pc is the best way. Right click on the apk, and just open archive, and drag and drop files as necessary. No need to rezip
Sent from my HERO200 using XDA App
Thanks!
Sent from my HERO200 using XDA App
Vandelay007 said:
So I figured out I can use root explorer to extract framework-res.apk to edit the eri.xml file to change my carrier name....what I don't know is how to put it all back together to replace the current apk ...
Any tips?
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
you can unzip and rezip but its not needed, you can also decompile and recompile with apktools but that is might not be needed. If your just replacing a file all you need to do is open it in 7zip or winrar and drag it in to the appropriate folder it will replace the old file. You will need to resign it though.
My question is how are you editing the xml file are you decompiling it and then editing it? if so you need to recompile the apk before you copy it back in other wise you'll most likely get boot loops since android compiles their xmls to binary format.
Root explorer is the easiest way to edit xml's. You can read and edit binary xml's without any hex editors and crap. Much easier.
Sent from my HERO200 using XDA App
Yeah - that's what I thought too - however - there is no option on the eri.xml file to edit it when you long press on it - you can extract it - but it just moves it to sdcard/extracted - which is what brought me to wonder how i could zip it back up -
danaff37 said:
Root explorer is the easiest way to edit xml's. You can read and edit binary xml's without any hex editors and crap. Much easier.
Sent from my HERO200 using XDA App
Click to expand...
Click to collapse
Well technically you dont need to hex edit any of android xml's they just need to decompiled. They compile them to binary for speed and optomization purposes not like a java or c compilation where compile makes byte code.
Vandelay007 said:
Yeah - that's what I thought too - however - there is no option on the eri.xml file to edit it when you long press on it - you can extract it - but it just moves it to sdcard/extracted - which is what brought me to wonder how i could zip it back up -
Click to expand...
Click to collapse
So back to apk tool... use it to decompile the apk and edit your xml then recompile it. I don't use root explorer so there might be a way to use it to accomplish the same thing.
Well I got an app from the market and some of the info in the app are completely wrong. I messaged the dev but no response. So how can I edit the text myself?
Rename the .apk file extension to .zip and then view the files within using a hex editor. Make your changes and then use the market app to resign your apk.
There are a number of zip apps on the market that will let you extract as a normal zip, also...
Sent from my Nexus One using XDA App
using this app here which is great but cant seem to locate the files needed to edit
http://forum.xda-developers.com/showthread.php?t=890199
ermacwins said:
using this app here which is great but cant seem to locate the files needed to edit
http://forum.xda-developers.com/showthread.php?t=890199
Click to expand...
Click to collapse
Just figured out some strange behaviour while saving in APK Edit.
Looks like aatp (wich I use in the background) can't handle external resources that well.
No real solution yet, just a pointer...
Try APK Manager instead?
i've never considered this, but can we really just rename an apk to zip and view its contents?
i just tried this with the gmail app (bad example to use?) and i can see the manifest file and res folder, but i cannot see any of the activity java classes or anything. i'll look into the apk manager thread.
what are some of the market apps called for this?
i didnt think it would be so easy to edit any apk once compiled. otherwise wouldnt it be so easy to make gmail apk black background, etc?
I use Androzip from the market...
Sent from my Nexus One using XDA App
RogerPodacter said:
i've never considered this, but can we really just rename an apk to zip and view its contents?
Click to expand...
Click to collapse
Yes, although you don't get absolutely everything, as some xml is compiled into resources.arsc
Hi all,
Trying to mod the framework for the first time.
I have no problem replacing the png. But when i try to modify the xml, i get bootloop.
I used the apk manager (4.9) to decompile the apk, then edit one xml before i recompile. I did notice that the recompiled apk is at least 2MB smaller than the original.
Am i missing a step here?
Sent from my GT-P1000 using XDA Premium App
Hi
yap ,,,the generated apk is unsigned...and no sign for system apk..so you have to copy by drag & drop the following files from the unsigned apk onto the original apk via WinRar and choosing ZIP archive format, NORMAL compression method.
- resources.arsc file
- res folder
- classes.dex file if exisit in the non-system apks
hope that help
good luck
Galaxyer said:
Hi
yap ,,,the generated apk is unsigned...and no sign for system apk..so you have to copy by drag & drop the following files from the unsigned apk onto the original apk via WinRar and choosing ZIP archive format, NORMAL compression method.
- resources.arsc file
- res folder
- classes.dex file if exisit in the non-system apks
hope that help
good luck
Click to expand...
Click to collapse
Ah,
I was thinking this as a possible workaround so it looks like it is thr solution?
Just a confirmation, if i change the battery_charging.xml, then i should compile, then extract out the battery_charging.xml from the recompiled framework-res.apk and insert into the original, signed framework-res.apk?
Sent from my GT-P1000 using XDA Premium App
I tried taking the compiled xml ( that defines the animation of battery charging icon on the status bar), put into the original framework-res.apk, and end up with non existent icon for the battery charging. Everything else remains working though.
What could have gone wrong?
Sent from my GT-P1000 using XDA Premium App
Where can i remove AOSP Lockscreen? is it in framework-res.apk?
have u backed up framework-res.apk , twframework-res.apk and SystemUI.apk ?
which rom do u have?
Sent from my GT-I9001 using xda premium
yeah, i've backed up. i'am using cryberts rom 1.2.1
Restoring framework-res.apk should do the trick.
you have to restore android.policy.jar and frsmework-res.apk
Sent from my GT-I9001 using XDA App
and where i get them from? sry i've made a mistake, i haven't backed up :/
nice thread! is it possible to replace the stock lockscreen like this https://lh3.googleusercontent.com/-Hr3v14aMnZw/TrDJHMNOkoI/AAAAAAAABKQ/M53DbJOVkKQ/11+-+1
without the android on the middle ?
Lutschiw said:
and where i get them from? sry i've made a mistake, i haven't backed up :/
Click to expand...
Click to collapse
Open the zip u flashed and there you find android.policy.jar and framework-res.apk in system/framework/ push them pack to ur phone with adb or root explorer
Sent from my GT-I9001 using XDA App
SkillCam said:
Open the zip u flashed and there you find android.policy.jar and framework-res.apk in system/framework/ push them pack to ur phone with adb or root explorer
Sent from my GT-I9001 using XDA App
Click to expand...
Click to collapse
sry, you've missunderstood me i mean the original one without AOSP or theme. i know where framework-res and android policy are, but i don't know where to remove AOSP or edit original one
Kamajoo said:
nice thread! is it possible to replace the stock lockscreen like this https://lh3.googleusercontent.com/-Hr3v14aMnZw/TrDJHMNOkoI/AAAAAAAABKQ/M53DbJOVkKQ/11+-+1
without the android on the middle ?
Click to expand...
Click to collapse
yes it is, but only if you get that sliders from somewhere
Then I would recommend to extract them from your original ROM you flashed.
Depending on which file format this ROM is in:
open up a *.tar.md5 file with 7zip (freeware), then extract system.img.ext4, download linux reader (freeware), drag the system.img.ext4 file into this program and open it. Navigate to /system/framework and copy to your desktop or where ever you like it. Than put it back on device as described earlier.
If you are on linux, you may mount you image directly (something like "mount -o loop /path/to/system.img.ext4 /where/to/mount") and extract those files. Then umount it.