Enable Phone.apk on Nexus7 - Nexus 7 Q&A, Help & Troubleshooting

Hi, i wanted to enable Phone.apk on my Nexus 7 but need some help.
Well i already decompiled framework-res.apk and changed bool.xml values.
Then i built new framework-res.apk (apktool b newframework-res.apk)
So what i did next was replace old framework-res.apk by the new one, but the result was a loop booting, so i have to flash stock rom again.
Can someone tell me what i did wrong, and how can i enable phone.apk in stock rom 4.2.1?
Regards

Now tell me - what does this thread have to do with DEVELOPMENT?

Fatal1ty_18_RUS said:
Now tell me - what does this thread have to do with DEVELOPMENT?
Click to expand...
Click to collapse
Ok. Sorry, my mistake.
I appreciate if can someone help me.
Regards'
.

Related

[Q] [How to] Change the default ROSIE wallpaper in rom?

Hi guys...
I am trying to cook roms, and I cooked about 4 roms before but just for fun..
Now I am trying to cook a new rom and not for fun but for my legend and yours...
I faced with a problem...
DO anyone know how can I change the Default wallpaper of ROSIE..???
I tried these steps but with no result:
- system\customize\resource ---->>> but I can not find wallpaper,and I just can change LOCKSCREEN wallpaper from there.
- Lancher.apk---> I changed apk to zip, so I can open it, and then try to find the wallpapaers there, but I just can find wallpapare gallery photoes in there and not the default wallpaper.
- I tried every folder you think, but I can not find that wallpaper.
PLEASE HELP ME.....
how can I change the default wallpapaer..????
HtcAddProgramWidget.apk
UltimoJedi said:
HtcAddProgramWidget.apk
Click to expand...
Click to collapse
THANK YOU MAN< THANK YOU MAN.....
THANK YOU THANK YOU THANK YOU...
You are my herooooooooooooooooooooo........
THANKS AGAIN...
I dont know how to thank you....
mercury700ir said:
THANK YOU MAN< THANK YOU MAN.....
THANK YOU THANK YOU THANK YOU...
You are my herooooooooooooooooooooo........
THANKS AGAIN...
I dont know how to thank you....
Click to expand...
Click to collapse
Ok, I still do not get it? This is obviously the right way to do it, but how? What do I do with that APK?
Sorry I am new to ROM cooking, my ROM works awesome but I want to add some custom wallpapers to my ROM and change the default. This seems to be a common question with no easy answers.
ricsim78 said:
Ok, I still do not get it? This is obviously the right way to do it, but how? What do I do with that APK?
Sorry I am new to ROM cooking, my ROM works awesome but I want to add some custom wallpapers to my ROM and change the default. This seems to be a common question with no easy answers.
Click to expand...
Click to collapse
you can easily unzip the apk file in Linux and do what you want to it and then rezip it in store mode and sign it. ( tadaaaaaa, it is it)
or in windows, change the apk to ZIP and Unzip it and then do what you want and then zip it in store mode change to apk and sign it in linux (or with cigwin in windows), again ( TADAAAAA, it is it)...
mercury700ir said:
you can easily unzip the apk file in Linux and do what you want to it and then rezip it in store mode and sign it. ( tadaaaaaa, it is it)
or in windows, change the apk to ZIP and Unzip it and then do what you want and then zip it in store mode change to apk and sign it in linux (or with cigwin in windows), again ( TADAAAAA, it is it)...
Click to expand...
Click to collapse
Could you explain a bit more?
The file htc-resource.apk contains the default background. But when I open it as a zip, I dont see any file which could be the default background. On decompiling with apkmanager, it tells me it has dependencies.
I know this thread is old, but I have the same question
If you are using the latest rom FroYo I suggest you look in the folder:
\SYSTEM\customize\resource
UltimoJedi said:
If you are using the latest rom FroYo I suggest you look in the folder:
\SYSTEM\customize\resource
Click to expand...
Click to collapse
Modifying them there just shows them in Gallery. It doesnt make the background the default loaded when the rom is first installed
In framework-res.apk is what you need
UltimoJedi said:
In framework-res.apk is what you need
Click to expand...
Click to collapse
Thank you! But when I changed the default wallpaper.jpg there, it showed that wallpaper for a second while booting up, and following the language and country setup, immediately reverted to the other one..I'm guessing there's one other location where this setting is present
HtcAddProgramWidget.apk - framework-res.apk - \SYSTEM\customize\resource
They are the only places where you can find wallpapers HTC (ammen you're not working on a custom ROM)
UltimoJedi said:
HtcAddProgramWidget.apk - framework-res.apk - \SYSTEM\customize\resource
They are the only places where you can find wallpapers HTC (ammen you're not working on a custom ROM)
Click to expand...
Click to collapse
I'm making a custom rom
I think its in HtcAddProgramWidget.apk
Would you know which xml/file it is?

[HELP][ISSUE]Bricking while flashing **Modified Framework-res**

Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Imranabbas22 said:
Hi guyz,
First things about my device
~Deodexed Maximus ROM {Alpha}
~Tweaked
~My own Kernel
~And most of all... Bricked
How are y'all? I am making a custom Gaming ROM as mentioned before in the android development section. I am having a big issue here, it's that I modified framework-res.apk and I tried pushing through ADB but it Bricked. I even tried to flash it but no luck! You guys know I can't PM everyone as it takes so much time so... I need your help!
Also I tried to modify system apps like Gallery3D.apk or Settings.apk but all I get is that app disappears from my app drawer.
I know how to modify .9.png files, I take the reference from draw9patch. Any help would be Highly Appreciated!
Thanks & Regards,
Imranabbas22
Click to expand...
Click to collapse
Did u tested your kernel does it booted???
Want To Ask Question? Ask Here
Thanks,
TechnoSavie
Yep ... It boots well enough!
I tried Merruk kernel too but no luck!
Are you using a modified framework.jar
Might be your problem
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Imranabbas22 said:
I did not modify the framework.jar, only and only modified the framework-res.apk
I just changed the .9.png files and wallpaper...
Click to expand...
Click to collapse
I know the stock framework.jar and custom rom framework.jar are different
I don't know in what way though
I dont know about the framework.jar but there are smali files inside the framework-res.apk
I am starting to worry now
Sent with a pinch of love, 2 cups of cuteness, 3 eggs of happiness with a garnish of spit!

[Q]720x1280 incall called image

Good evening to all. I want to know if somebody know which .xml file i need to edit in phone.apk to take the effect. I.e. i want to mod my custom phone.apk with this mod:
http://forum.xda-developers.com/showthread.php?p=39855458#post39855458
Tnx.
EDIT: Now i saw i'm mistake the forum
yep we need this mod
maaaxy said:
EDIT: Now i saw i'm mistake the forum
Click to expand...
Click to collapse
report it

[Q] HELP from STOCK ROM Users [Modifying TouchWiz30Launcher.apk]

Good day developers, can you help me, Im using STOCK ROM DXMA1 (deodexed). I want to modify my "TouchWiz30Launcher.apk", instead of 4 icon Column dock, I want to make it 5. I follow this guide somehow, http://forum.xda-developers.com/showthread.php?t=1668984 but it didn't help me. It made my "touchwiz30Launcher.apk" 5 docks but when I put the other application(last time it was 4 and now it turns 5, 4+1=5) on DOCK, the application disappear. Then I tried following this guide again, http://forum.xda-developers.com/showthread.php?t=1500230 although it is for Galaxy Ace, I think it is similar somehow with SGY (note: I only did was, PART II number 1 and 2.)Then the problem in my first try modifying the TouchWiz30Launcher.apk is similar with the second one. Guys if you know, can you help me with this problem or guide me or if there are some similar questions/forum post like this that had been answered, kindly post it? Help me please.​
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
deathnotice01 said:
did you install it as a system app?
try removing the classes.dex from original to the modified one,
also was the app compiling process a success?
gee i had to trouble reading the text on that one
Click to expand...
Click to collapse
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
3r41nl33n said:
Yes, I install it as a system app sir, I also replace the classes.dex from the original to the modified one. I use apktool sir, and it was success.
Sorry for the bad grammar though.
Click to expand...
Click to collapse
grammar's good and understandable,
what happened when installing?
do you have a logcat?
maybe a cert mismatch
did it force close in anyway?
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
3r41nl33n said:
No FC sir. It just the application icon disappear from the menu and it was irreversible. Thanks anyway, I solved my case. This thread should be close now.
Click to expand...
Click to collapse
what the main problem did you facing and how do you solved it?? ??
assphere said:
what the main problem did you facing and how do you solved it?? ??
Click to expand...
Click to collapse
HIHIHI. I just modify Mr. zalzondabuzz 5 docks bottomfrom here, http://forum.xda-developers.com/showthread.php?t=1958201 . I just decompile his/her work and i transfer all the png's because, I dont want the actual TouchWiz30Launcher to be modified, it's just like I want to make it 5 docks. and thats it. xD

[REQUEST] Smaller Navbar

Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
EDIT - I've modified framework-res.apk for MHC19I - Grab it here. Mod changes navbar to 24 instead of 48 height.
* Backup your original /system/framework-res.apk and replace it with the download.
I'd recommend to flash resurrection remix rom where you can set the navbar to 24dp.
snachez said:
Anyone know of a working smaller navbar mod (not using xposed) that works on MHC19I ? or able to point me in the direction of guide that allows me to attempt to make one myself ?
Looking to stay stock+rooted, rather than a custom rom.
TIA
Click to expand...
Click to collapse
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Rajeev said:
U can make it by editing framework-res.apk
Decompile framework-res.apk then go to res/values/dimens.xml there u can change it.
Click to expand...
Click to collapse
Thanks, I'll give it a shot !
snachez said:
Thanks, I'll give it a shot !
Click to expand...
Click to collapse
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Hopefully you have a backup that you can restore. If not, push the stock framework via adb
snachez said:
So I've decompiled and made the edit, recompiled and signed the apk, pushed it to my device and replaced the original.. but now it just sits on the bootup logo animination and I cant get past that stage.
Click to expand...
Click to collapse
U have done something wrong.. Which apktool u used to edit ?
Rajeev said:
U have done something wrong.. Which apktool u used to edit ?
Click to expand...
Click to collapse
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
snachez said:
I used apktool 2.0.3 from https://bitbucket.org/iBotPeaches/apktool/downloads/apktool_2.0.3.jar
Signed with tool from http://forum.xda-developers.com/showthread.php?t=2723579
Many thanks for any advice
Click to expand...
Click to collapse
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
snachez said:
Aww yuss. I followed a different guide from http://forum.xda-developers.com/showthread.php?t=1814441 and found I was missing a few steps (copying the META-INF etc)
Much success now.
For anyone interested, I've posted a modded framework-res.apk in OP... Flashable Zip my next project.
Click to expand...
Click to collapse
Glad u made it dude.. Enjoy. Feel free to ask any helps

Categories

Resources