Compiled APK Query - Motorola Droid RAZR

ok so basically i have got CM9 n i was just trying to decompile contacts.apk, change a few things n compile and basically when i flashed the zip file via bootmenu the phone icon disappeared. so i presumed i had done something wrong.. so i started over fresh again n tried just with the images, this time icon showed but kept Fc'ing. i was 100% sure that should have worked so i thought I'd test the file out itself so i decompiled and straight recompiled n it still Fc'ing. anyone know why this is??
I've done like systemUI n framework.res without problems, I've done alot of this so u can rule out basic suggestions. done wipe dalvik cache too, no luck there.
was done with CM9 01/08/2012 version.. not sure if contacts.apk has the same problem in the newest update or not..
Sent from my XT910 using xda app-developers app

anyone?
Sent from my XT910 using xda app-developers app

Questions belong in Q&A. Moved.

Related

(q) bootanimation

As the title says, anyone hav tried changing their bootanimation?
Can we used apps tht can chg our boot animation on the market? Izzit compatible..?
Im getting bored with the defaut se logo, thinking of chging to other boot animation tht is available out there...
Thanx..
Why done u use uot kitchen search it in Google you can change loads of things including bootanimation cause I have changed it
Sent from my LT15i using XDA Premium App
festa20 said:
Why done u use uot kitchen search it in Google you can change loads of things including bootanimation cause I have changed it
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
well there's a lot of bootanimation.zip in xda that people uploaded (not in this arc section) that i wanna try, so that's why im asking if i can just use the .zip file replacing it with our bootanimation.zip in system/media..
i guess i can try the uot kitchen tht u mentioned, thanx but its limited to the one tht they provided, right? n which one shud i choose? the galaxy s GB rom?
Can be done thru root explorer also.
Just find a BA u like on google or whatever even youtube.
Dl it ,
move to system ,
Rename it to bootanimation.zip
set premissions (rw-r--r--)
Move to system/media
Overwrite current BA
Reboot
Enjoy
Be careful when changing system files as it can result in boot loop.which means re-flashing thru seus
Only try it if your confident or willing to reflash
Ps: backup orignal
Sent from my LT15i using XDA Premium App
You should be able to use any bootanimation but just ask which 1 u want and ask if it would work or try it yourself and see if it works
Sent from my LT15i using XDA Premium App
pushtostop said:
Can be done thru root explorer also.
Just find a BA u like on google or whatever even youtube.
Dl it ,
move to system ,
Rename it to bootanimation.zip
set premissions (rw-r--r--)
Move to system/media
Overwrite current BA
Reboot
Enjoy
Be careful when changing system files as it can result in boot loop.which means re-flashing thru seus
Only try it if your confident or willing to reflash
Ps: backup orignal
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
Is it really as easy as that? have you tried it? I just DL'd one off UOT kitchen and the screen res is different, therefore png sizes will be different and the desc.txt is a slightly different format too....
im_iceman said:
Is it really as easy as that? have you tried it? I just DL'd one off UOT kitchen and the screen res is different, therefore png sizes will be different and the desc.txt is a slightly different format too....
Click to expand...
Click to collapse
Ya worked for me anway I have android robot burning apple at the mo have to change it tho
Sense I upgrade to 2.3.3 phone boots to fast so cuts video in half ,some clips are not at right res and dont fill screen but ya ll find one s wit right res I just do trial and error method .
Have use uot kitchen and never got a working file prob my lack of exp wit it,had boot loop few times and got sick of re flashing.
Sent from my LT15i using XDA Premium App
U have to use ur systemui.apk and framework.res.apk while on uot and it makes it for ya phone its that easy do what u want on uot aslong as you upload both of The apks simple as
Sent from my LT15i using XDA Premium App
@ im_iceman
If ya wanna try heres one I just dled
http://db.tt/bUwlvvZ
Follow instructions as stated ,do premissions before moving file into system/media not after that where most people go wrong.
The first boot will take a bit longer than normal,so dont panic
This is android scribble with red flares
Enjoy
Sent from my LT15i using XDA Premium App
festa20 said:
U have to use ur systemui.apk and framework.res.apk while on uot and it makes it for ya phone its that easy do what u want on uot aslong as you upload both of The apks simple as
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
Ya has some good features I think my prob was I changed everything I could at once and prob caused a conflict
I lost my status bar completely a few times .i need to play with it a bit more ,get the hang of it .its and excellent tool and ive seen plenty of good work come out of it.
Thanks for reply
Sent from my LT15i using XDA Premium App
I just change my bootanimation with green burning android (don't know what it named exactly) from http://forum.xda-developers.com/showpost.php?p=13933946&postcount=1 change it with root explorer like pushtostop said. just remember to change permission before you reboot and always make backup your original bootanimation.
It's worked, something laggy in first 5 sec animation but smooth afterward.
I dont know how you lost the status bar I have basically changed everything on mine what u can possibly so anyway and never had anything missing but some people might but uot is defo a good place to go
Sent from my LT15i using XDA Premium App
so basically if using uot..
choose bootanimation available
upload framework-res.apk n systemui.apk
upload to kitchen
waiting for it to finish
when done, download it n save it to ur pc
extract it
change the extracted file in system/media to bootanimation.zip
put the zip file into the phone
change the permission
paste it in system/media
right?
n izzit normal the bootanimation.zip file can be as small as under 100kb?
Just double click on the uot folder what u downloaded then find bootanimation.zip or whatever its called and copy paste make sure permissions are the same aswell should be fine
Sent from my LT15i using XDA Premium App
festa20 said:
U have to use ur systemui.apk and framework.res.apk while on uot and it makes it for ya phone its that easy do what u want on uot aslong as you upload both of The apks simple as
Sent from my LT15i using XDA Premium App
Click to expand...
Click to collapse
Hi - you don't need systemui.apk for some things.. and you don't need framework-res.apk for boot animation - it's not linked to that...
you can just create a boot animation and then put it on your phone, and because it's not active when you move it across you don't need to drop it in the system directory first..
you can put it straight into the media folder, change the perms (rw-r--r--) then reboot.. and as pushtostop said.. it works.. it really does.. Ive got the CIA one now.. geek.. but cool!!
[EDIT - bit more info.. The file that you get out of UOT for this is layered..
open the ZIP and go into the SYSTEM folder..
Then go into the MEDIA folder.
now right click and COPY the SANIM.ZIP folder.
PASTE this outside of the UOT ZIP somewhere.
rename it to BOOTANIMATION.ZIP
move to SD card.
USE ROOT EXPLORER to copy the BOOTANIMATION.ZIP into the system/media folder.
Change permissions to rw-r--r--
reboot.
done.]
[EDIT 2 - Link to a crap quality video I took of my new bootscreen anime!!.. http://dl.dropbox.com/u/28937429/VIDEO0020.3gp]
Yea I want sure if you have to but id rather do it anyway just incase anything happens it just covers my back for incase I bootloop then have to flash ftf again
Sent from my LT15i using XDA Premium App
thanks guys, i juz did like wht iceman said, n now i got cool simple android words n its file is small
@im_iceman
Its best to move to system,then do premissions,then put in system media.not sure if it will cause probs wit BA but will with systemui and
framework-res .
its a good habit yo get into.
Just my exp ,glad it worked for u
Sent from my LT15i using XDA Premium App
Hi..yes..you do have to do it in 2 stages for systemui and framework because they are active whilst you're using the phone.. But the BA is only active while booting so there's no conflict..
And advice for anyone getting a bootloop - you can re flash system image and retain user data.. There's a check box on flash tool on the right near the top when selecting which ftf to use..
Sent from The arc using XDA premium..

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]ROM from system.img

The topic says it all... How do i create my own .zip rom from my NAND backup?? (made using CWM or xRecovery)
Sent from my X10i using XDA App
championswimmer said:
The topic says it all... How do i create my own .zip rom from my NAND backup?? (made using CWM or xRecovery)
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Why would you want to do that, you can just restore the backup.
Dont forget the backup holds lots of personal info on it, so you dont want to share it....
Just curious as to why you would want to do this?
The data portion contains sensitive info right??? Not the system.img isn't it
Sent from my X10i using XDA App
I wanna make my own Rom and share it with ppl... I've added toggle panel to notification bar, changed animations in framework-res, changed icons in systemui, did some build.prop tweaks, some out-of-memory manager tweaks, took some apps from the arc s firmware, removed some preinstalled apps and added some apps to system partition itself (like browser replaced with opera, titanium backup included in system partition, applied adblocker...) and many other things.... I hope that qualifies me to call it my *own* ROM????
Sent from my X10i using XDA App
Oh and includes circular battery with percentage...
Sent from my X10i using XDA App
championswimmer said:
Oh and includes circular battery with percentage...
Sent from my X10i using XDA App
Click to expand...
Click to collapse
Oh ok,
You need to use sdk and pdk software to make your own roms, I am sure its much easier that way.
Just google them and download
PS, just themeing a custom rom doesnt make it your own, but developing from the stock rom in any way does, especially if it more than just the UI. Circular battery mod and other UI's are easily achieved in UOT, but changing OOM values and build.prop is different, as long as you know the benefits you are making
I've made changes to stock only. Not on anyone else's custom ROM. Yes did make some oom changing scripts. (umm.. Yep I guess I know what changes and what advantages. Lol) also removed some stock-ware added better alternatives like go sms n dialer in place of stock ones.
Sent from my X10i using XDA App
I have the android sdk. I'll get the pdk... But what after that?? How to make the zip file of the ROM?
Sent from my X10i using XDA App
Just pull (with adb or root explorer) everything you changed then make a flashable zip of that. No need to post a whole rom, just call it a mod or theme...
Btw I'm not even a proper firmware-tinkerer.. Far from being a dev or anything. I'm just a humble 12th grade student. Still pretty much in my teens.. Lol
Sent from my X10i using XDA App
Ok that's a good idea now... Lemme see if I can pinpoint which files I need to pull and which I can do without.... But about the zip thing.... I never really understood the certificate thingy... That meta.inf and all... What is that about??? Basically how to create a flashable zip??
Sent from my X10i using XDA App
Same here, I am not a dev, but I teach 12 grade!!!
As far as I know that can be done with apk manager, the update zips I use are generally borrowed from other zips, as I only mod things others have done for myself, or make them in UOT.
Try getting in touch with a dev called DooMLoRD
He is very good and friendly (Also from your neck of the woods) but he is very busy. He helped me out inmy noob days, and I am sure he will help you if he has the time.
Ya he did seem helpful.... I know him of course... Anyone who aspires to overclock their xperia knows him....lol... But ya he is busy usually.... And he's more of a deep dev...tinkering with kernels....not the one to make custom ROMs and all isn't it???
Sent from my X10i using XDA App
So what I can do is take the zip of someone's rom, keep the certificate in it. Remove all other files, add mine into it and voila I'm done???
Sent from my X10i using XDA App
I've made a lot of modifications to my stock rom, and would like to share it.... so is system.img a valid way to share my *own* rom or mod ? (valid as in technically feasible? means ppl can d/l it n flash using recovery n use it?)
my main concerns are... will it boot on someone else's device? (i tried it myself... total wipe + clean stock instal, followed by flashing only my backed up system.img, *didn't flash data.img, only system* it took an eternity to boot first time but it ran)
second concern... system.img doesn't have any personal data right? logs, msgs etc are in data partition i guess??
Sent from my X10i using XDA App
Sent from my X10i using XDA App
request this to be deleted please
Sent from my X10i 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

[HELP]UOT Kitchen

K i just made my first UOT theme and flashed it..after that it caused my phone to bootloop..Can Anybody tell wat did i do wrong?
I got 2.3.6 DDKQ8 with CF Root
I modiffied battery...status bar header and footer...status bar icons...popup glow..
Also i uploaded tw-framework-res.apk and systemui.apk and framerwork-res.apk
Luckily I got a nandroid backup..so m bak now..But still i wanna try again.can anybody tell wat was wrong?
What all did u upload to uot???
from XDA app
Press THANKS if I helped
maybe you downloaded the wrong file or did something which was incompatible with ace
do it again..
I uploaded
Framework-Res.apk
Systemui.apk
Tw-framework-res.apk
Sent from my GT-S5830 using xda premium
Yeah try again. Maybe it will work. Coz i did it many times on ddkq8........ it worked
from XDA app
Press THANKS if I helped
I've written all info in first post..also can anyone tell wat all things of kitchen are compatible with ace
Sent from my GT-S5830 using xda premium
Did you mount /system and /data before flashing? How-to on UOT kitchen's site also says its better to wipe cache and dalvik-cache before flashing. But I say if you've applied some sort of partitioning on your SDCard.. Just clear dalvik-cache after flashing.
Yeah its important to wipe cache partition ...
Sent from my SGA rocking CM7.2 by vo-1 + all-in-one script

Categories

Resources