Hi there,
I modded the Phone.apk so that the image of the caller is seen completely now. In addition I modded the call icons slightly so that you can see them regardless of the caller image color.
Push the .apk to /system/app, set the permissions to rw-r--r-- and delete Phone.odex if you have an odexed system!
Reboot and you are done, enjoy!
Great!!! Thanks!
A question: Kitkat works in the same way as in JB? Part of the contact picture appears only?
Psychoferno said:
A question: Kitkat works in the same way as in JB? Part of the contact picture appears only?
Click to expand...
Click to collapse
I had the N5 a few days with the same issue so at least in 4.4 the bug is still present.
This is the 4.3 Phone.apk, don't try this in Kitkat
Thanks, I asked because I have not rooted Moto G and I wonder if this would be fixed in 4.4. Not yet my courage to root on my device, but as soon as I'll use your mod.
Thank you,
I ended up not asking but need root to make this change?
Yes.
Working fine here...
Thanks
Would you mind modding the Phone.apk for 4.4.2 KitKat?
As soon as I have the time to install Kitkat: yes.
But I wait for my official sbf. Next week probably.
And for the 4.4.2 odex
shaftenberg said:
Hi there,
I modded the Phone.apk so that the image of the caller is seen completely now. In addition I modded the call icons slightly so that you can see them regardless of the caller image color.
Push the .apk to /system/app, set the permissions to rw-r--r-- and delete Phone.odex if you have an odexed system!
Reboot and you are done, enjoy!
Click to expand...
Click to collapse
Hi can I ask a couple of questions:
1) Does this work on the Moto G XT1033 Dual SIM version
2) Did you compile this from the vanilla Google Android source, or some other method?
Thanks,
-S.
1) don't know...
2) I decompiled the deodexed stock app with apktool
managed to solve this issue with GravityBox module in Xposed.
velopnc Cordage
> 1) don't know...
I can confirm it works ok on a Dual SIM XT1033 purchased in Singapore. Thanks.
> 2) I decompiled the deodexed stock app with apktool
How did you do this exactly? I would like to do this for an Acer Liquid Z3 as well.
I had a go. I managed to deodex Phone.apk with apktool, and then used baksmali on Phone.odex.
./apktool if f/framework-res.apk
./apktool d Phone.apk Phone
./baksmali -a 18 -x Phone.odex -d f -o Phone/smali
I made the modification but when I tried to repackage I got the following error. Even if I make no modifications I get the same error when trying to build the .apk
./apktool b Phone Phone-deodexed.apk
I: Checking whether sources has changed...
I: Smaling...
[36,4] Error for input '.param': Invalid directive
[37,4] Error for input '.param': Invalid directive
[50,4] Error for input '.param': Invalid directive
[36,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
[50,11] mismatched input 'p1' expecting END_METHOD_DIRECTIVE
Exception in thread "main" brut.androlib.AndrolibException: Could not smali file: /home/mint15/root/a2/Phone/ap/Phone/smali/com/android/phone/CellBroadcastSms$MyHandler.smali
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:45)
at brut.androlib.src.DexFileBuilder.addSmaliFile(DexFileBuilder.java:33)
at brut.androlib.src.SmaliBuilder.buildFile(SmaliBuilder.java:66)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:50)
at brut.androlib.src.SmaliBuilder.build(SmaliBuilder.java:37)
at brut.androlib.Androlib.buildSourcesSmali(Androlib.java:257)
at brut.androlib.Androlib.buildSources(Androlib.java:214)
at brut.androlib.Androlib.build(Androlib.java:205)
at brut.androlib.Androlib.build(Androlib.java:176)
at brut.apktool.Main.cmdBuild(Main.java:228)
at brut.apktool.Main.main(Main.java:79)
Any pointers would be really appreciated thanks.
-S.
S0bes said:
And for the 4.4.2 odex
Click to expand...
Click to collapse
Hi Thanks a lot for the fix for 4.4.2
I have tried to install it to my Moto G, but unfortunately it did not succeded.
I have a stock phone and did not made any manual modifications to it.
What shall I do to install your fix?
Thanks in advance,
Itso
im.itso said:
Hi Thanks a lot for the fix for 4.4.2
I have tried to install it to my Moto G, but unfortunately it did not succeded.
I have a stock phone and did not made any manual modifications to it.
What shall I do to install your fix?
Thanks in advance,
Itso
Click to expand...
Click to collapse
Have you got gravitybox?
S0bes said:
Have you got gravitybox?
Click to expand...
Click to collapse
Hi and thanks for your fast reply.
No i do not have gravity box (I have no root). Is there any possiblity to install this tweek without any root?
Thanks and regards,
im.itso said:
Hi and thanks for your fast reply.
No i do not have gravity box (I have no root). Is there any possiblity to install this tweek without any root?
Thanks and regards,
Click to expand...
Click to collapse
You have two options:
1. Unlock your bootloader, root your phone, install xposed framework and gravitybox module. Gravitybox has possibility to fix call photo.
So, you still able to get OTA
2. Unlock your bootloader, install CWM, flash my patch through CWM.
Now you unable to install any OTA updates when their come. Because of editing system files.
It's up to you
S0bes said:
And for the 4.4.2 odex
Click to expand...
Click to collapse
Hi all (and specially S0bes )
Tried your patch...response of my G : "Android update" after install...test from a call, message is "Phone apk ended"...no issue to answer, but ring is the good one for contact but no answer possibility
Here is a short overview of my G's configuration :
Rom : Unofficial carbon rom (still in 4.4.2) : http://forum.xda-developers.com/showthread.php?t=2624111&nocache=1
Kernel : Latest Pink Kernel : http://forum.xda-developers.com/showthread.php?t=2634745
Full GAPPS with their updates...
I'm using full caller Id Pro...but it's a little bit buggy (nice but not 100%...) Would be nice to switch that
satanas17 said:
Hi all (and specially S0bes )
Tried your patch...response of my G : "Android update" after install...test from a call, message is "Phone apk ended"...no issue to answer, but ring is the good one for contact but no answer possibility
Here is a short overview of my G's configuration :
Rom : Unofficial carbon rom (still in 4.4.2) : http://forum.xda-developers.com/showthread.php?t=2624111&nocache=1
Kernel : Latest Pink Kernel : http://forum.xda-developers.com/showthread.php?t=2634745
Full GAPPS with their updates...
I'm using full caller Id Pro...but it's a little bit buggy (nice but not 100%...) Would be nice to switch that
Click to expand...
Click to collapse
If you'll give me a dialer.apk from your rom I can try to fix photo. But I'm preparing for exams now and I have not so much free time to use my PC (and this damn world cup every night...). So it can take some time
Related
Hi,
I wish to permanently use the "Restrict background data" feature ( under settings->data usage ) on my JB rom, but the problem is that when I enable that feature, I always get a notification, asking me to "touch to remove" that feature...
I don't wish to do that, even by mistake! I want that notification GONE completely, but to retain the "restrict" feature...
I understand, it's possible to permanently disable notifications, by altering "Settings.apk" somehow - but I don't know what and where to change ( wish file inside that apk ).
I used "apktool" to unpack the apk, but again - which file should I change ? what value/line should I delete ?
My rom is VJ's AOKP v2.2, so "Settings.apk" file is from that rom's version.
Any help would be great :highfive::fingers-crossed:
EDIT:
Guess it has something to do with "DataUsageSummary.smali" (after unpacking the Settings apk -> smali\com\android\settings):
BUT WHAT SHOULD I CHANGE ?!
please reply
gps3dx said:
Any help would be great :highfive::fingers-crossed:
Click to expand...
Click to collapse
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
gps3dx said:
Seriously ? Not even the smallest hint you ppl can give me ?:crying::crying:
Can't you even redirect me to the most prevalent sub-forum, here at XDA, for that kind of question ?:silly:
Click to expand...
Click to collapse
Something called the search function; it's really useful.
You can't just expect others to answer your questions promptly. As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing. SO if you want to go on with that kind of attitude, you can try it yourself.
droid_<3er said:
Something called the search function; it's really useful.
As for your questions, that's part of the android system and if you want to modify it, go ahead. It's not a notification because you can't swipe it away; it's an ongoing thing.
Click to expand...
Click to collapse
I really do appreciate your reply man - even though I googled xda from top to button.
( there are thread about modifying various stuff inside settings.apk / SystemUI.apk - but NON are about that "restriction notification" i'm talking about. )
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Update: For a while now it's already available in Xposed modules repository: http://repo.xposed.info/module/org.adam77root.removerestrictednotification.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
WOW thnx... but just a few moments before you posted your message I to fulfill that wish of mine... I SOLVED IT !
Although I admit - I DO NOT KNOW if I disabled all of the "restrict background" feature, but I DO managed to enable the "restrict backgound data" checkbox ( then press OK at the popup ) WITHOUT getting any notification at all !
HOW TO DISABLE NOTIFICATION ALERT FOR "RESTRICT BACKGROUND DATA" ( under settings-> data usage-> options )( I tried that fix on JB 4.2.2 ( to be specific: AOKP VJ Jelly Bean v2.2), BUT I guess it works on all JB 4.2.2 )1. copy "services.jar" from "/system/framework/services.jar" to your computer.
MAKE A SAFE COPY OF THIS FILE IF SOMETHING HAPPENS TO YOU.
2. extract the jar file using Winrar or any compatible app.
3. using MultiTool decompile the "classes.dex" file as instructed by Multitool's thread.
4. open with any txt editor ( I used Notepad++ ) the file "NetworkPolicyManagerService.smali" under "decompiled\classout\com\android\server\net\" ( which is a sub-folder of Mulitool's folder that you've previously extracted )
5. A . search for:
Code:
invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
delete completely that line or add "# " in the start of that line ( which is what I did ) so that line looks like that:
Code:
# invoke-interface/range {v0 .. v6}, Landroid/app/INotificationManager;->enqueueNotificationWithTag(Ljava/lang/String;Ljava/lang/String;ILandroid/app/Notification;[II)V
B. search for:
Code:
invoke-virtual {v0, p1}, Ljava/util/HashSet;->add(Ljava/lang/Object;)Z
add "# " in the start of that line ( which is what I did ) or delete completely that line
6. SAVE that smali file that you've just edited.
7. using Multitool, recompile the classes.dex file.
if everything went good, you'll have classes.dex file under MultiTool's sub-folder named "output"
8. using Winrar, open "services.jar", replace the current "classes.dex" with the recompiled one that you've made.
9. copy the remade "services.jar" to your device(using adb etc ):
Code:
adb push "services.jar" /system/framework/services.jar
10. chmod "services.jar" to "-rw-r--r--", meaning you need to:
Code:
adb shell chmod 644 /system/framework/services.jar
11. restart your device, and It should rebuilt your dalvik cache.
ONLY if it didn't, I guess you should delete "/data/dalvik-cache/[email protected]@[email protected]" file, reboot again so your OS will create that dalvik-cache file.
I'll be happy to know if anyone can verify that indeed my fix just remove his/her notification, but retain the ability to disable background data. THANKS !
Sorry I doubted you. You are a genius!
Many thanks!!
Adam77Root, thank you so much for that module! I can confirm it working on my Galaxy Note 2. That notification was unbelievably annoying.
gps3dx, thank you too for this thread and your fix. While I didn't try it because I already have Xposed framework installed and I'd rather use the less invasive approach, I am still grateful for your seeing a problem, addressing it, and proactively doing something about it. My respects to you. I searched around quite a bit and came across many other forums on different sites where people had this same problem unanswered. I hope they find their way to this thread.
To the above poster who jumped down the OP's throat for bumping this topic 4 days after it went unanswered, obviously you didn't do any search on this topic yourself. I did. And until this thread, I found nothing really useful. And lo-and-behold, someone was kind enough to actually do something useful instead of pointlessly sitting there and criticizing. The squeaky wheel gets the grease. Rudely telling someone to 'check their attitude and search' is not helpful- it's just rude and pointless. Just FYI.
I have an i9300 and I can't find the first line in that archive...
eXtremeDevil said:
I have an i9300 and I can't find the first line in that archive...
Click to expand...
Click to collapse
mybe it is because you run JB 4.1.2 not 4.2.2 like I do, plus mybe you're running some custom framework ( it is not AOKP as I suspect from you sig )
Adam77Root said:
...I've quickly put together an Xposed module that removes the notification.
Click to expand...
Click to collapse
@Adam77Root
Big thanks for this module: I installed another 4.2.2 JB rom for my HTC Desire, and your module works !:good::good:
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
this was working fine on my aokp jb mr1 Milestone 2, but stopped working when i installed the nigthly nightly (jb-mr1)2013-08-21 (wich fixes my camera issues and soe other stuff)
is there anything i can try myself to fix this or is it just incopatible with that nightly? (its still 4.2)
I'm using Lenovo phone, 4.2.1 Version. In "services.jar" I see only folder "META-INF" and file "MANIFEST.MF". I tried to rename the file to classes.dex then using MultiTool decompile but I receive: "Unexpected top-level exception:java.lang.RuntimeException:bad magic value...etc"
So what's wrong, where to find classes.dex? Someone?
new edit: Thanks a lot for all the replies, also Xposed framework+module didn't work.
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
Thanks a lot. Works awesome. Is it possible to post the source code to this?
css771 said:
Thanks a lot. Works awesome. Is it possible to post the source code to this?
Click to expand...
Click to collapse
I'm almost certain I don't have the original files anymore. Since it's pretty simple, you can either decompile the apk or check Android source of the class I mentioned in the post you quoted. Only one function is replaced with returning null.
Edit: Just checked, the function is enqueueRestrictedNotification.
Sent from my OmniROM-powered LG Optimus 4X HD
Xposed module works perfect on LG G2. Thanks a bunch!
Sent from my VS980 4G using Tapatalk
Adam77Root said:
I've seen this thread in the unread threads of XDA app and although I don't use that feature, I got curious to try it out. So I've quickly put together an Xposed module that removes the notification.
You have to install Xposed framework. Get it here: http://forum.xda-developers.com/showthread.php?t=1574401
Also, install my module from the attachment, enable it and do a soft reboot in Xposed.
It works for me on my Galaxy R with CM10.1 and I assume it will work for you too, as the module doesn't change the Settings, but com.android.server.net.NetworkPolicyManagerService class. If you have any problems, post a logcat and /data/xposed/debug.log
Click to expand...
Click to collapse
nice module.. work perfectly.. thanks
rooting?
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
yasboss said:
do i have to root my phone to do this? will the module work without rooting? i'm new to playing with codes on my phone but I have done a lot of work with linux before so i can understand the process, i've just never rooted my phone before. i'd really like to get rid of this notification and the "usb connectivity" app's notification: internal storage &SD card- internal storage &SD card connected to PC. I mean, do i really need a notification to tell me that my phone is connected to my PC?
that last request isn't as important, at least if i accidentally click on that i'm not turning on background data use!
-yasboss
xperia z1s
jb 4.3
(just joined xda devs)
p.s.
is this the right place to ask this question?
Click to expand...
Click to collapse
you need root to use xposed installer..
what else can it be used for?
ajeesh vijayan said:
you need root to use xposed installer..
Click to expand...
Click to collapse
can i use it for other notifications like i asked? I mean there's more than just the USB connectivity etc
Out of date!!! Go to my my latest rom thread -> http://forum.xda-developers.com/showthread.php?t=2723674
Changelog
05.Mar.2014
- initial release
06.Mar.2014 (update 1)
- new recovery (solved bug http://forum.xda-developers.com/showpost.php?p=50862613&postcount=7) ; temporary disabled special button until I continue my work on recovery
- deodexed last 3 remaining jars (com.quicinc.cne.jar, cneapiclient.jar, com.playstation.playstationcertified.jar), now everything is deodexed
08.Mar.2014 (update 2)
- removed chrome browser
- AOSP browser
- patched fm radio without needs for headset
- cpu control and cpu stats in settings menu
11.Mar.2014 (update 3)
- replaced Supersu with Superuser
- chargemon init.d fix
- enabled real timestamp in converstations.apk (thanks to @Riyal)
- new CWM recovery with screenshoot feature
- removed mount submenu in CWM related to internal storage-to-pc mount since it is no supported on Z1C
12.Mar.2014 (update 4)
- solved digital clock widged
15.Mar.2014 (update 5)
- removed Superuser
- finaly I implemented my faforite app - LBE security from MIUI rom (not full working but you have full control for gaining advance permissions for every installed app! Remaining LBE thing which I need to implement is app startup control, hope I get them implemented soon), enjoy! To enable LBE root, open app and enable them in root menu (root is disabled by default)!
19.Mar.2014 (Z2 camera v2)
- camera update from Z2 (huge update from Z2) = added timeshift video and 4k video apks + shortcuts to the camera widget - now you can see these two apps (probably I will disable 4k video shortcut since these feature is not curently supported on Z1C until kernel for Z2 come public out so we can implement 4k support)! In new update there is now Z2 camera things like cameraui and camera3d, some needed libs... 4K video is only not working, probably because missing 4k implementation kernel side...etc. I have noticed better camera + some new video formats, better ui, better camera focus, better picture, better graphics, new efects, new video and photo editor, movie creator, better widget...etc, for sure better than Z1C cam!
04.Apr.2014 - 06.Apr.2014
- Messing with stupid chargemon script to get full root on booth locked and unlocked bootloaders
reserved
Some other link?
1jkan said:
Some other link?
Click to expand...
Click to collapse
Yes, curently I downloading rom to my server, tomorrow will be a direct link!
Ooooooooooooooooooooook!
First Test of the ROM
So, I installed the ROM and up to now almost everything works nicely. Especially the Power button menu is perfect!
There are just two small nuisances that I've discovered yet:
Firstly, the CWM asks to install root permissions every time you reboot to system, which is a bit stupid of course, as the system-partition is pre-rooted. No big problem at all, but maybe it can be fixed.
And secondly and more important: on the normal swipe-lockscreen, the digital clock widget doesn't work. Every other widget works, but if I choose the standard clock, it says widget can't be added. Maybe the apk is missing?
Greetings and big thumbs up for starting the development on this nice little device!
I am sure widget bug is related to the apktool. I have sent a message to the maintainer of the apktool, hope hi solve.
Recovery bug is solved, simple read first post (there is a download link), download update_1, install update... see changelog on 3.rd post, enjoy! Tnx for feedback!
Best note ever!!
Note:
- I not like and not using any mod like Xposed Framework...etc, all my roms is based on "native" modifications !
Click to expand...
Click to collapse
By the way @munjeni
Aren't you planning on updating the build to 14.2.A.1.142?
https://mega.co.nz/#!pRkR0ArS!sLr2-ygOEqEwx-7v7Yv7v_RfJ6e3GVrObiHBDpMKKqs
That's for D5503 and not chinese firmware.
Hi, I rooted my phone follow by http://forum.xda-developers.com/showthread.php?t=2642081, am I just copy your two zips file to internal memory, and wipe then flash is OK?
Thanks.
do not forget important step 2 and step 3 !
Riyal said:
Best note ever!!
By the way @munjeni
Aren't you planning on updating the build to 14.2.A.1.142?
https://mega.co.nz/#!pRkR0ArS!sLr2-ygOEqEwx-7v7Yv7v_RfJ6e3GVrObiHBDpMKKqs
That's for D5503 and not chinese firmware.
Click to expand...
Click to collapse
When I get oficial update for my phone for sure I will update!
I can not install even though I have made exactly according instruction. Perhaps because I have unlocked the bootloader?
1jkan said:
I can not install even though I have made exactly according instruction. Perhaps because I have unlocked the bootloader?
Click to expand...
Click to collapse
Its working booth on unlocked or locked bootloader! You missing something in steps?
Too all... update 2 is out, enjoy!
munjeni said:
When I get oficial update for my phone for sure I will update!
Click to expand...
Click to collapse
hi
released updated firmware to v14.2.a.1.142 (camera and Some bug fixed and More speed)
please deodexed and root for v14.2.a.1.142
thanks
http://forum.xda-developers.com/showthread.php?t=2661192
munjeni said:
Its working booth on unlocked or locked bootloader! You missing something in steps?
With each attempt to install I get the message "Instalation aborted"
Click to expand...
Click to collapse
1jkan said:
munjeni said:
Its working booth on unlocked or locked bootloader! You missing something in steps?
With each attempt to install I get the message "Instalation aborted"
Click to expand...
Click to collapse
Error 7 ? To solve error 7 install mine recovery first, or remove asert line from updater-script in zip
Click to expand...
Click to collapse
masuods70 said:
hi
released updated firmware to v14.2.a.1.142 (camera and Some bug fixed and More speed)
please deodexed and root for v14.2.a.1.142
thanks
http://forum.xda-developers.com/showthread.php?t=2661192
Click to expand...
Click to collapse
These firmware is German Telecom network firmware, I not gona to install these firmware. When my phone get notification about update than I will make huge update!
munjeni said:
1jkan said:
Error 7 ? To solve error 7 install mine recovery first, or remove asert line from updater-script in zip
Click to expand...
Click to collapse
This?
Z1C-lockeddualrecovery2.7.94-BETA.flashable
Click to expand...
Click to collapse
1jkan said:
munjeni said:
This?
Z1C-lockeddualrecovery2.7.94-BETA.flashable
Click to expand...
Click to collapse
No, mine recovery is not dual, mine recovery is CWM based recovery latest from CM11, if you realy have a problem installing rom - simple open zip, go to META-INF/com/google/android/updater-script, extract updater-script, open updater-script with notapad+ texteditor or with pspad text editor and remove folowing lines:
assert(getprop("ro.product.device") == "D5503" || getprop("ro.build.product") == "D5503" ||
getprop("ro.product.device") == "amami" || getprop("ro.build.product") == "amami");
Click to expand...
Click to collapse
put these modified file back to zip and try to install! After you get suces you will have my recovery installed including whole rom. Than install update 2. Do not forget step 2 and 3 since its important steps!
Click to expand...
Click to collapse
AOSP Dialer and Contacts for ArchiPort 4.4.2 and ND5 4.3 based ROMs.
4.4.2 AOSP apps are from UltimaAOSP 4.4.2
This includes the Open Source Reverse Lookup by chenxiaolong - Reverse Look up requires Google Search to work correctly
4.3 AOSP apps are from CyanogenMod 10.2 - Does not include Reverse Lookup
Download & Screenshots
>>>Click here<<<
Instructions
Download the file
Flash in recovery
Do not try to install any other way unless you know what you're doing
Restoring
Locate /sdcard/AOSP_Dialer_Contacts_Restore.zip which is created in the installer
Flash in recovery
Issues
Some people on some networks, worldwide, have a problem with crackling audio in calls, constantly. The only solution is to uninstall I'm afraid.
Others crackling audio for 1-2 seconds at the beginning of a call, after which, is it ok throughout.
Important:
ROM Cooks: Please feel free to include these in your ROM. Just shoot me a mention somewhere.
4.4.2
Added/Modified/Removed
/system/priv-app/SecPhone.apk
/system/priv-app/SecContactsProvider.apk
/system/priv-app/SecContacts_OSup.apk
/system/priv-app/Dialer.apk
/system/priv-app/TeleService.apk
/system/priv-app/Contacts.apk
/system/priv-app/ContactsProvider.apk
/system/framework/framework2.jar
/system/framework/services.jar
4.3
Added/Modified/Removed
/system/priv-app/SecPhone.apk
/system/priv-app/SecContactsProvider.apk
/system/priv-app/SecContacts.apk
/system/priv-app/Dialer.apk
/system/priv-app/Phone.apk
/system/priv-app/Contacts.apk
/system/priv-app/ContactsProvider.apk
/system/framework/framework.jar
/system/framework/services.jar
/system/framework/telephony-common.jar
Changelog
3rd July
Fixed 4.3 release. Now works fully. Based on XXUGND5
13th June
Added 4.3 ND1 support
11th June
Initial release
reserved
You can also have this change to firmware 4.3?
Upload services.jar, framework.jar and framework2.jar
Kryten2k35 said:
Upload services.jar, framework.jar and framework2.jar
Click to expand...
Click to collapse
http://www.mediafire.com/download/eznoere0euweorq/ffs.zip
Kryten2k35 said:
Upload services.jar, framework.jar and framework2.jar
Click to expand...
Click to collapse
From ROM 4.3 ND1
http://www.mediafire.com/download/21jf8qcsao0vjiv/4.3ND1.rar
I'll make it now, but, it won't have the Open Source Reverse Lookup support, that's a 4.4.2 feature.
Who is available to test for 4.3? Please let me know if this works for you. I haven't got 4.3 installed to test.
EDIT:
Moved to OP
Kryten2k35 said:
Who is available to test for 4.3? Please let me know if this works for you. I haven't got 4.3 installed to test.
Click to expand...
Click to collapse
Works very fast!
But don't works t9 search, sms app.
And there is no Russian and Ukrainian alphabet in the dialer.
With pleasure ready to help if I can.
I'm fairly sure T9 must be enabled in the settings. I'm not sure what you mean by SMS app. Do you want AOSP Mms.apk as well?
EDIT:
There don't appear to be any Ukrainian or Russian dialer images in the AOSP tree.
Kryten2k35 said:
I'm fairly sure T9 must be enabled in the settings. I'm not sure what you mean by SMS app. Do you want AOSP Mms.apk as well?
EDIT:
There don't appear to be any Ukrainian or Russian dialer images in the AOSP tree.
Click to expand...
Click to collapse
I mean that the SecMms.apk crashes every time when you start it.
I think stock SMS app don't work with AOSP contacts and dialer.
Can you provide a logcat?
Kryten2k35 said:
Can you provide a logcat?
Click to expand...
Click to collapse
Of Course, but send zip one more time, because I don't save it.
It is on the website in the OP now
http://ultimarom.com/downloads/mods/aosp-dialer-contacts/
Kryten2k35 said:
It is on the website in the OP now
http://ultimarom.com/downloads/mods/aosp-dialer-contacts/
Click to expand...
Click to collapse
Here is the log.
Found one more issue, dialer crashes when in settings turn on "Dial pad autocomplete" (How I understand - it's T9)
@picklnows Try this one for me (restore to original first, then flash this).
Kryten2k35 said:
@picklnows Try this one for me (restore to original first, then flash this).
Click to expand...
Click to collapse
I'm on 4.3 ND5 now. Should I try this one you mentioned above or the one in the website ?
Creenshot plz!
Aditya Keri said:
I'm on 4.3 ND5 now. Should I try this one you mentioned above or the one in the website ?
Click to expand...
Click to collapse
Try this one, let me know how it works.
If it fails, there will a file on the internal storage to restore your original setup
Luvbigpig said:
Creenshot plz!
Click to expand...
Click to collapse
It's the AOSP Dialer and contacts...
Introduction
BDFreak said:
[What is this? Let me explain you. It will Bypass the signature checking of sony. Sometimes when we mod any system app and put it back in to system with correct permission but the app doesn't work or doesn't install or force closes. Most of the time these problems are happening because of signature checking.
Click to expand...
Click to collapse
I saw some themes in cross dev section which needed this mod to run so I made it for our devices. Thanks to BDFreak for the TUT.
Installation
- Download the modded services.jar from here.
- Push it to /system/frameworks
Code:
adb push services.jar /system/framework/
- Give correct permissions(644)
Code:
adb shell chmod 0644 /system/framework/services.jar
- Reboot
Code:
adb reboot
Now let the OS be adapted to new services.jar. Once it ready use it and enjoy.
it is great to see you abhinav sir:victory:
hope very soon we will see roms kernel and mods from your master side
thanks a lot for joining t2 ultra forum
chauhanjayc said:
it is great to see you abhinav sir:victory:
hope very soon we will see roms kernel and mods from your master side
thanks a lot for joining t2 ultra forum
Click to expand...
Click to collapse
Will build ROMs for the device Currently CyanogenMod for our device is way toooo smooth but still most things aren't working and major issue of it is audio. I spent 5-6 hours yesterday on it trying to figure our problem, taking logs and using some vendor from stock to see if I can get it to work but I got nothing. I'll try to debug it tonight also and its my assumption that if I can get audio to work, I can fixup most stuff Also waiting for sony to release kernel sources for latest firmware which I can merge and then try to fix with it
Cheers,
AJ
Abhinav2 said:
Will build ROMs for the device Currently CyanogenMod for our device is way toooo smooth but still most things aren't working and major issue of it is audio. I spent 5-6 hours yesterday on it trying to figure our problem, taking logs and using some vendor from stock to see if I can get it to work but I got nothing. I'll try to debug it tonight also and its my assumption that if I can get audio to work, I can fixup most stuff Also waiting for sony to release kernel sources for latest firmware which I can merge and then try to fix with it
Cheers,
AJ
Click to expand...
Click to collapse
no words to say thank you very very very much dear DEV:good:
my bad that i cant get you a bear personally
Can you make this mod for 4.4.3 ( 19.1.1.C.56 ) ?
lungtung123 said:
Can you make this mod for 4.4.3 ( 19.1.1.C.56 ) ?
Click to expand...
Click to collapse
Send me services.jar from deodexed firmware.
AJ
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5. Done Enjoy Stock Camera on any custom rom
I'd like to give credit to DevendraMilmile121 for the original port here.
Also credits to data365 for his mod here
I patched the apk to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Download v6.0.54.1
Download v6.0.78.1
Enable Write to external sdcard:
ExtSD_Fix_rw-signed-v1.9b.zip
Thank you so much. Working fine on pure Nexus
Enviado desde mi Moto G4 mediante Tapatalk
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Working fine on crDoid. Thank you so much!
echo92 said:
Many thanks for this, working on resurrection remix 5.8.3 26/04 build without issue. how did you get around the FC problem, if I may ask?
Click to expand...
Click to collapse
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Would you please share another link beside afh because i get some problem with download from afh
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
baunthiyal said:
Thank you for this. After I deleted those files, an FC message saying "Motorola Settings" has stopped would greet me at every boot. This'll take care of that.
I don't believe it has anything to do with video recording though, does it?
Click to expand...
Click to collapse
I didn't see issues with video recording either with the patched Moto camera and deleting the .jar files, or using this Moto camera as is. The Motorola settings seems to pop up whenever, but dismissing it doesn't seem to cause issues with the camera app or the system itself - curious!
dedik46 said:
Would you please share another link beside afh because i get some problem with download from afh
Click to expand...
Click to collapse
https://ufile.io/y6fm5
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
ramansehra said:
How to change the storage location to external SD card.? It is not accessible through settings.
Thanks in advance.
Click to expand...
Click to collapse
https://forum.xda-developers.com/mo...-motorala-camera-write-to-externalsd-t3498573
gabriwinter said:
My understanding is that when /system/framework/com.motorola.frameworks.core.addon.jar is present
com.motorola.camera.device.framework.CameraMotExt.<clinit> fails to find class "android.hardware.Camera$EnvDetectCallback"
So I emptied out the static method (<clinit>) and initialised a couple of variables outside.
I used DexPatcher to modify it.
Then the behaviour is the same as if /system/framework/com.motorola.frameworks.core.addon.jar wasn't there.
Clearly this is a workaround not a fix. It would be nice to know why it can't find the class and fix it so that "CameraMot" is supported (I guess this is some hardware optimisation)
Click to expand...
Click to collapse
Yes look forward to [emoji4]
gabriwinter said:
STOCK ANDROID NOUGAT [N] CAMERA FOR ALL CUSTOM ROM
How To Install
1. Download Zip file
2. Reboot into TWRP recovery
3. Flash Zip file
4. Reboot
5.Done Enjoy Stock Camera on any custom rom
Download
All credits to DevendraMilmile121 for the original port here.
I just patched to avoid the FC when com.motorola.frameworks.core.addon.jar is present.
No need to delete the com.motorola.*** .jar files from system/framework/
Click to expand...
Click to collapse
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
optionalmgrr.la said:
Thx!!!!!!!!!!!!!!!!!!
Can we auto-update via Playstore to newer version?
Is quality as good as it's on stock roM? thx!!!!!!
Click to expand...
Click to collapse
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
gabriwinter said:
It can't be updated or it would loose the patch.
Quality wise I would say it's close to stock but probably a little below (can someone confirm this?)
For now I think this is the best we can get for non stock roms.
If someone wants to step up and try to get a proper fix that would be ideal.
Click to expand...
Click to collapse
Cool. Let's hope someone fix this further
i mean, perhaps setup a wrapper to divert the error message.... something like that.
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
optionalmgrr.la said:
btw, on stock there is a "Camera tuner for Moto G(4)", is it needed?
https://play.google.com/store/apps/details?id=com.motorola.imagertuning_athene
Click to expand...
Click to collapse
I'm using cr droid and had this camera tuner by default
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
tiagovicente2 said:
i'm geting "device not compatable" when i open the camera. And nothing to delete com system/framework
i have an moto x2 (xt1097) on aosp extended 7.1.2
help
Click to expand...
Click to collapse
This camera port is for athene only.