Hi,
First post here, hello! and I'm new to android and smartphones in general, be gentle!
I have a Samsung Galaxy SII and I'm one of the ones who suffer from the "echo problem" during calls. In my case, turning off noise cancellation fixes the problem. The only problem is, as you might know, that you can't disable it permanently (without editing the Phone.apk).
What I'm trying to do is what's stated in this thread: http://forum.xda-developers.com/showthread.php?t=1372718
(I can't post there need 10 posts)
First of all, the software I'm using is as follows;
ROM: CheckROM v4
Kernal: DarkKnight v2.3
Modem: KI4
Am I right in thinking that my ROM is deodexed?
So, what I've done:
1. Install AndroidSDK and ADB. I followed this guide: http://www.youtube.com/watch?v=y6K1XLmafPc&feature=player_embedded
2. I found the Phone.apk in my phone and put it on my PC.
3. I've attempted to decompile Phone.apk using APKTool, using this guide: http://www.miui-au.com/add-ons/apktool/
This is where I'm stuck, I've gotten up to the stage where you put "apktool d Settings.apk" in the command prompt. This is the error I get:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now, I may be wrong but is this because it's a "Themed" apk?
I would appreciate any help! Thanks.
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Bloomfield87 said:
I've already replied on the other forum, but I'll add it here incase anyone else has the same problem.
You need to add the file "twframework-res.apk" to where apktool is aswell. Then after doing "apktool if framework-res.apk" do "apktool if twframework-res.apk" then carry on as normal .
Click to expand...
Click to collapse
Ah great, that seemed to work thank you!
Now I need to edit it and re-compile it again. Hopefully I can manage that, but it's likely I'll have a problem, will post back if I do.
Related
Hello mates!
So i wanted to use Slim ICS in my own language and wanted to start with Settings.apk from Slim 4.2.
btw.I succesfully installed adb on my computer.(checked with cmd)
I'm using latest apktool and i typed;
apktool d Settings.apk
Successfully decompiled.Settings folder created and all of the stuff is in there.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
I JUST changed a string in res/values .Then tried to compile it ... And the problem occours....
Help me please.At least i want to do this...
Sorry if i opened the thread in to wrong section but this thing is about developing so..
Have a nice day to all people!
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
NOTE: For all of the above you will need to set the framework for apktool before you will be able to de/recompile apks.
-Drop copies of framework-res.apk, moto-res.apk, blur-res.apk, and SystemUI.apk into the same folder as apktool (with APK Manager it's the "other" folder)
-Open the command prompt on the folder where apktool is (by right-clicking or holding Shift and right-clicking)
-Type the following for each apk in the command prompt:
Code:
apktool if framework-res.apk
-Hit enter
Code:
apktool if moto-res.apk
-Hit enter, and do the same for the other two apks
-Now you should have no de/recompiling problems (well I shouldn't say no... watch them .9.pngs and check the log for errors)
Click to expand...
Click to collapse
Sent from my phone's mind
http://www.blindndumb.com/2012/04/android-tutorial-how-to.html
Follow that guide to the tee and i garuntee you will not have a single issue
alteredlikeness said:
Just typed this earlier in another post but I think it applies with the Setting.apk also. Your framework files will be different, but hopefully it helps you..
Sent from my phone's mind
Click to expand...
Click to collapse
Hmm.I just had framework-re.apk in there and typed apktool if ramework-res.apk ..... Gonna try it today!
Sent from my GT-I9000 using Tapatalk 2
Me too
This is the ICS like Phone.apk.
I need a tester who has a Galaxy 5 to test this and report to me through PM.
Please.
Just flash it through CWM.
hi..
please 2 things: can you provide a screenshot of what it should like to?
and I think you should also provide a CWM file to revert to standard phone.apk (stock or Cyano roms)
Here is what is written at the original thread:
Many of you who have tested ICS, would have definetely liked the ICS dialer.
Well, Guess what? It's now available for CM7 too!!
Phone.Apk is attached.
Please Follow the Instructions well.
UPDATE: Users are having some problems using this. It is still in alpha mode. Still modding it to erase all problems. Support Developer or Tester would be nice. PM me if you would like to be involved. To revert back, use the phone.apk from this post : http://forum.xda-developers.com/showpost.php?p=29069305&postcount=22. It can be installed using the terminal method or just copying it to system\app in Airplane Mod.
Installation Procedure:
Copy the file in the root directory on your sd card.
Rename the file to Phone.apk
turn on airplane mode.
Make sure ur system partition is set to R/W mode
open terminal from your phone.
type the following commands, one by one.
su
cp /sdcard/Phone.apk /system/app
chmod 644 /system/app/Phone.apk
reboot
Now, when you place a call or receive one, You will have the ics like dialer.
NOTE : You need to enable in-call touch UI. To enable, go to Settings > Call Settings > enable In-call touch UI.
Screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Credits:
Yaac2006 for pointing it out.
Cryss for Flashable Zip
UPDATE: For some people, layout is a bit messed up. I am using official cm nightly and it works perfect for me. Will upload personal Screenies soon.
Press That thanks button there, mate.
And, um please show some feedback. I want to know how many people are using it.
Please friends help me.... My systemui fc after flashing a modded SystemUI.apk, ℓ̊ experience dis error with Ice_Hybrom & Smultronic ROM. ℓ̊ just start experiencing dis error a month ago, its ****ing annonying.. ℓ̊ will appreciate yur help guys!
Well, you should tell us which mod you installed, and which actions cause the app to fc.
Brov thanks fϕя̩ yur reply... After flashing SystemUI, my systemui doesn't show again!!!! ℓ̊ will try upload tha SystemUI.apk.
Why not try to flash the ROM again.
Sent from my Wt19a using xda premium
Am thinking of flashing a new ftf file... Am using SI Number- 1255-8731, am in west africa, africa...!
get Android Commander program, connect your phone and start the program.
From your original ROM (hybrom I suppose), take systemUI.apk and copy it to /system/app
It'll overwrite automatically.
Simple as that. You'd have to be crazy to re-flash ROM or even FW over this.
http://androidcommander.com/
iONEx said:
get Android Commander program, connect your phone and start the program.
From your original ROM (hybrom I suppose), take systemUI.apk and copy it to /system/app
It'll overwrite automatically.
Simple as that. You'd have to be crazy to re-flash ROM or even FW over this.
http://androidcommander.com/
Click to expand...
Click to collapse
hahahahahahaha.... thanks buddy, it works dat way... i just wanna use tha one i edited but not working!
what where you tryin' to do anyway with the "modded" apk?
I'm asking cuz if you wanted to theme it, you can use UOT [email protected] uot.dakra.lt
Move tha Carrier Text to top right, Battery & Network icon to top left!!! like dis in tha screenie....
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
MAKE SURE YOU ARE ROOTED and BACK UP is PERFORMED! NOT RESPONSIBLE FOR BREAKING ANYTHING!
I have just tested this with Note 10.1 2014 Edition user @aburns7487
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Must have custom recovery with root
1. DL Edited Framework-res.apk HERE: https://www.dropbox.com/s/ukj9uvnswluv6vj/framework-res.apk
2. COPY the DOWNLOADED FRAMEWORK-RES.APK that I have edited
3. GOTO SYSTEM/FRAMEWORK and PASTE the EDITED FRAMEWORK-RES.APK that you DOWNLOADED and hit YES to OVERWRITE existing Framework-Res.APK....(permissions must match though if you paste over the existing one you shouldnt have to change the permission. just double check it matches)
4. REBOOT in RECOVERY, WIPED CACHE n DALVIK, REBOOT and you should now have a Black/White, FEATHER STYLE Themed, AirCommand! BAYUMM!! lol
PUNISH THIS
https://www.dropbox.com/s/s4xp1pkak04el06/PUNISHTHIS framework-res.apk
/obviously rename it before pasting over existing framework-res.apk
Please report back if it does/doesnt work, as I have tons or commands I will convert for the N10 my Note 3 Theme thread can be found here:
http://forum.xda-developers.com/showthread.php?p=48629313
__________________________________
STRAPPED and TWEAKED
My thread http://forum.xda-developers.com/showthread.php?t=2576183
__________________________________
STRAPPED and TWEAKED
OK, thanks to tester @aburns7487 we have a method for you have any of my custom AIR COMMANDS on your Note 10.1 2014 Edition, may work on other Note tabs but needs testing, this works for sure if you are ROOTED!
I wanted the tron and resident evil one for my note 2014 .I tried to flash the ones you have in forum but it didnt work.How would i go about putting them on my 10 in. Note 2014 edition.Thanks
Edit-so i did your puish this and it worked fine.I guess if you can let me know how to get the tron and resident evil working i would appreciate it.Thanks maybe the minion one also.if you can point me in a direction to learn how to do it i dont mind reading and learning.
Nevermind,thanks though i figured out how to do it.I did the minion one.I ended up using ninja morph to edit the framework.I attached a screenshot if anyone wanted to see.
before edit/Recompile
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
after
why ?!!
UP UP UP
I hope to help me @Blekota
Up up up
what is the apktool use ?
same problem with me , but I found the problem and fix it
abd3mobaraki said:
what is the apktool use ?
same problem with me , but I found the problem and fix it
Click to expand...
Click to collapse
i'm using apktool 2.0.0 RC3
how to fix it
engloda said:
i'm using apktool 2.0.0 RC3
how to fix it
Click to expand...
Click to collapse
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
i have the same problem
engloda said:
Up up up
Click to expand...
Click to collapse
this is may come from a bad deodex ... i have the same problem.... i had changed in a milion whays the java paths andd the java jdk-version the 7 and 8 version ...and still have the problems... the same like yours... i picked up the secSettings from the rom of Sweet Rom and from Xnote i decompiled them and after that i compiled them back... and i had no issue... but decompiling and recompiling my secSettings from my build deodexed and made in two variants : with Archikitchen and with the dsixda Android kitchen i have all the time issues ,. the same like yours,,,, i don´t know whay...
i had send some messages to soloilmeglior and to not-i and untill now no response... was wantted to know wich version of apktool they are use and how they have the phat to java jdk fixed
UP UP Plz :crying:crying:
I hope to help me @thereassaad
abd3mobaraki said:
after recompiling , open by any zip program and enter res folder
then look to folders name , if there numbers an name its the problem
good luck
Click to expand...
Click to collapse
i dont found numbers anny other solution ? allah yjazik help me