[MOD][LIB][A5 2015 & A7 variants] Enable/Disable TouchKey Lights - Galaxy A3, A5, A7, A8, A9 Android Development

WHAT IS THIS?
It is just a simple mod to turn off the TouchKey Light permanently without the need to install boot time scripts or 3rd party apps. If you're not familiar with the name, maybe SoftKey Button Light or the Recents/Menu and Back button key lights will give you the idea. This will not disable or break the button functions itself, just the lights.
now before i get post replies saying "but on {insert rom name} by {insert developer name} you could turn ON/OFF this feature from {insert menu name}".. i'm going to make it clear :
This mod is intended to be used on A500 variants with Custom ROM and NOT Stock Based ROMS, at the time of writing, most (if not all) custom roms/kernel for A5 can't turn this off permanently
This mod is intended only for people who want the touchkey lights to be OFF all the time/permanently
TECHNICAL NOTES
I'm almost embarrassed releasing this and calling this a mod, but then again there must be some other people that surely want this feature but have no clue how to turn this off. so here it goes :silly:
The library modded is /system/lib/hw/lights.msm8916.so *duh*
patched offset is at BD8 or 3032 and it's a 1 byte patch which effectively forcing the lib to push value 0 to /sys/class/sec/../../devices/virtual/sec/sec_touchkey/brightness everytime it is triggered to turn on the lights.
list of events/triggers affected by this mod
rt5033-charger-online
msm-usb-online
mmc0 (mount/dismount i think)
mmc1 (mount/dismount i think)
rt5033-fuelgauge-online
ps-online
wireless-online
usb-online
ac-online
battery-charging-or-full
battery-charging
battery-full
battery-charging-blink-full-solid
making a boot time script to write 0 to brightness won't make permanent change because there are low level events that triggers the lib to push value 1.
making a service to always set the value to 0 isn't an elegant solution also because it will hog up your memory.
revoking permissions (if you can) to brightness will likely derp the logger and may cause wakelocks.
PREREQUISITES
1. As mentioned earlier, you must have a custom rom installed.
2. Custom recovery to flash this zip. (using flashfire, flashify and similar tools have not been tested, you could try and report)
3. Downloaded modded lib zip file and saved to your device
INSTALLATION / REVERTING
Golden rule : make backups before doing these steps, or just backup this file : /system/lib/hw/lights.msm8916.so
i have tested these zips on my device several of times without issue
Method 1 :
1. Boot into recovery
2. Flash zip (A500x_TouchkeyLibPatcher-Twiq.zip)
3. Enjoy :highfive:
Method 2 : no longer used
1. Extract lights.msm8916.so from the zip file and put it in your device's storage
2. Using filemanager with elevated permissions (Root Explorer, Mixplorer etc) copy the file into /system/lib/hw/
3. If you could set Owner/Group then set it to ROOT then set the permission to 644 or -rw-r-r-
4. reboot and enjoy :highfive:
if my provided libs are not working out for you please attach your original lib here so i can take a look at it.
UPDATES / CHANGELOGS
01/02/2017
added support for A700FD variant
note: don't worry about the zip's filename, it should work fine with A7 too..
it's perfectly safe, library with unknown checksums will not be patched or replaced
15/08/2016
I have removed the old flashable zip and replaced it with a better and safer one as it checks for MD5 checksums, library with unknown checksums will not be patched or replaced.
With some shell script magic, now you only need 1 flashable zip to conveniently toggle On/Off the lights.
Flash OFF, Flash ON :highfive:
11/08/2016
initial release
seperate flashable zips for known A5 library

Works like a charm :good::good::good:
Sent from my Samsung SM-A500F using XDA Labs

Cool,this was a great idea,worx perfect.Thanx.

UPDATES
I have removed the old flashable zip and replaced it with a better one.
With some shell script magic, now you only need 1 flashable zip to conveniently toggle On/Off the lights.
Flash OFF, Flash ON :highfive:
if you need the old lib, just request it here. And if your lib is not supported by the patcher, attach your original lib here and i'll take a look

Work fine, very thanks bro. :good:

Super easy to install...works on A500G
Had been looking for this for such a long time, and finally someone came with a fix...Thank you @Twiq

Hi!
Will be posible to you to do this for A510? (I have A510M)
Anyway , awesome! Cheers

refes said:
Hi!
Will be posible to you to do this for A510? (I have A510M)
Anyway , awesome! Cheers
Click to expand...
Click to collapse
no problem, just attach your lights.*.so from /system/lib/hw here so i could take a peek

Attached file /system/lib/hw/lights.goldfish.so
From a Samsung A510M with ROM Stock MM 6.0.1
@ Twiq : Thaaaanks!!!

refes said:
Attached file /system/lib/hw/lights.goldfish.so
From a Samsung A510M with ROM Stock MM 6.0.1
@ Twiq : Thaaaanks!!!
Click to expand...
Click to collapse
i took a quick peek and it looked very different.
do you have any other lights.*.so inside your /system/lib/hw/ ?
like lights.msm8939.so or lights.default.so maybe?

I have samsung A510F and i sharing my hw folder and files. Please check it

refes said:
Attached file /system/lib/hw/lights.goldfish.so
From a Samsung A510M with ROM Stock MM 6.0.1
@ Twiq : Thaaaanks!!!
Click to expand...
Click to collapse
xpity34 said:
I have samsung A510F and i sharing my hw folder and files. Please check it
Click to expand...
Click to collapse
sorry for not noticing earlier..
You're running stock rom and therefor you don't need to edit any libs at all to turn off your touchkey lights.
you only need to go to System Settings > Display > scroll down to bottom and you'll see Touch Key Light Duration, set it to Always Off and you're good to go
edit: if you're still interested in this mod lib, could you also post any lights.*.so from /system/vendor/lib/hw if there are any
thanks

Thank you !
Why don't you develope something to make "softbutton notification" for our devices?

MarcoFal said:
Thank you !
Why don't you develope something to make "softbutton notification" for our devices?
Click to expand...
Click to collapse
the feature you're referring is called BLN (backlight notification), it blinks light or giving breathing effect on touchkey lights whenever you have a notification. It has to be supported by the kernel and not software sided
you will have to look for an experienced kernel developer for that

Twiq said:
i took a quick peek and it looked very different.
do you have any other lights.*.so inside your /system/lib/hw/ ?
like lights.msm8939.so or lights.default.so maybe?
Click to expand...
Click to collapse
I see, but no, there's no other file "lights*" in that folder, sorry... and thxs

refes said:
I see, but no, there's no other file "lights*" in that folder, sorry... and thxs
Click to expand...
Click to collapse
apparently the lib you provided could not be modded with just a simple patch and a bit beyond my skills right now. i will take a look at it again this weekend, but no promises

A700FD variant
Attached is the lights.msm8916.so file zipped, from my A700FD running a custom ROM.
I would appreciate it if you could take a look at it and inform me if anything can be done to get this mod to work with this variant.
Thank you!

xenthm said:
Attached is the lights.msm8916.so file zipped, from my A700FD running a custom ROM.
I would appreciate it if you could take a look at it and inform me if anything can be done to get this mod to work with this variant.
Thank you!
Click to expand...
Click to collapse
added support for attached lib.. just download and flash the flashable zip from the first post.
don't worry about the name of the zip, it should work fine
please report back

Twiq said:
added support for attached lib.. just download and flash the flashable zip from the first post.
don't worry about the name of the zip, it should work fine
please report back
Click to expand...
Click to collapse
The patch works perfectly! TouchKey Lights are now off for the A700FD variant. Thanks for the help!

xenthm said:
The patch works perfectly! TouchKey Lights are now off for the A700FD variant. Thanks for the help!
Click to expand...
Click to collapse
good to know, thanks for reporting back :good:

Related

[MOD/HOW-TO] Remove hard key vibes via android.policy.jar

I thought I'd offer my solution to disabling the hard key vibrations on the Atrix since other people might find this useful. This method differs from the other solutions in that it doesn't tamper with your Silent Mode vibrations (like StreakVibrations does) and it's code based, so it shouldn't tamper with any themes you have installed (like the framework-res.apk method). It is firmware dependent though since it's a code modification.
You'll need an android.policy.jar modified for your firmware.
What I'm doing is I'm modifying the method called performHapticFeedbackLw, and telling it to skip triggering the vibrate pattern for all effects (there are 5) except for keyboard taps. Long press vibe, virtual key vibe, safe mode disabled vibe, and safe mode enabled vibe will no longer trigger... Incidentally, does anyone know what safe mode on this phone refers to?
To use the file, you need to be on Bell, Telstra, GingerBlur, Gladiatrix or stock ATT 1.8.3 firmware, and be deodexed. Can you copy the file to your phone without being deodexed? I don't know. I'm a programmer, but an Android newbie so just to be safe it's best if you're deodexed.
Before you try anything, obviously make sure you are backed up. At least copy your existing android.policy.jar so that you can restore it if necessary.
All you need to do is either:
a) Run the novibes.bat script packaged in the zip. There are a couple prerequisites:
1. Make sure to set your USB connection to "None" on your phone.
2. On your phone, go to Settings > Applications > Development and make sure USB debugging is turned on.
3. Plug your phone into your PC and let it install any necessary drivers.
4. Then you can run novibes.bat.
or
b) Follow the steps outlined below to do it manually:
1. Replace /system/framework/android.policy.jar with the one that I've attached.
2. Make sure the permissions of the file are set to rw-r--r-- (thanks for reminding me, Meloy and for correcting, natboy!). The easiest way is to use Root Explorer, long press the file, choose permissions, and set owner: read/write, group:read, others:read. Otherwise, use Terminal and type "chmod 644 /system/framework/android.policy.jar" without the quotations.
3. Reboot.
For those not on stock Bell, I'd be willing to modify your android.policy.jar and post it here if you provide somewhere for me to download it, and specify what firmware it comes from. It's quite quick to do once you're set up so I don't mind. Alternatively, make the change yourself:
1. Download baksmali and smali (both .jars and scripts, total 4 files).
2. Copy /system/framework/ from your phone to your computer.
3. Copy all the files from step 1 to the framework directory from step 2 on your computer.
4. Unzip android.policy.jar and copy its classes.dex file to the framework directory on your computer.
5. From the command line, navigate to the framework directory and run "./baksmali classes.dex". It will create a directory named "out".
6. Open "out/com/android/internal/policy/impl/PhoneWindowManager.smali" in a text editor.
7. Search for a method called "performHapticFeedbackLw". Go to near the bottom of that method, and you will see the Dalvik bytecode representation of a switch statement:
Code:
.sparse-switch
0x0 -> :sswitch_27 #This is for long press vibe
0x1 -> :sswitch_35 #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :sswitch_3b #This is for safemode disabled vibe
0x2711 -> :sswitch_3e #This is for safemode enabled vibe
.end sparse-switch
8. Here's an example of how you might want it to change. Basically you want to replace the original goto labels with one that causes the method to step out without triggering a vibe, and that notifies the calling method there was no vibe by returning false. The label to use is called ":cond_1d":
Code:
.sparse-switch
0x0 -> :cond_1d #This is for long press vibe
0x1 -> :cond_1d #This is for virtual key vibe
0x3 -> :sswitch_38 #This is for keyboard tap vibe
0x2710 -> :cond_1d #This is for safemode disabled vibe
0x2711 -> :cond_1d #This is for safemode enabled vibe
.end sparse-switch
9. From the command line in the framework directory, run "./smali -o classes.dex out". You now have a new classes.dex that has your modification.
10. Zip up the classes.dex with the META-INF directory from your original android.policy.jar. Rename the zip to android.policy.jar.
11. Copy the new file to your phone and reboot.
12. At this point you should be done.
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
n1ckr0th said:
Will this be possible on the AT&T atrix? I currently use the streak vibe method but I'd like this much better.
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
bearsfan172 said:
http://forum.xda-developers.com/showthread.php?t=1079873&page=3
Check out that thread over in general. The info for how to edit framework.res is there, but there is a flashable .zip that will disable the vibrations in either stock/rooted 1.83 or Gingerblur 3.5 for you.
Click to expand...
Click to collapse
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
n1ckr0th said:
thank you, but i wonder if this specific method is possible on the atrix as to retain themes and such.
interesting that its in general, development may be a better home for it.
Click to expand...
Click to collapse
Yes, this would work perfectly fine on ATT. You can either follow the instructions I provided, or if you like you can post /system/framework/android.policy.jar from your phone somewhere and pm me the link so I can download it and I'll do it for you. Also mention what firmware you're on. I just don't want to download hundreds of MB of firmwares which is why I didn't set one up for all the ATT firmwares.
That other method requires editing a file that is guaranteed to change with any theme you install. That means anytime you change themes you'll need to edit that .apk yourself, or wait for someone to bring the change over. android.policy.jar is unlikely to change for themes.
Ok, I've posted a version for ATT 1.8.3 that was given to me by n1ckr0th.
n1ckr0th, let me know whether it works fine or not. There should be no problem, it looked just like the other 2 versions I modified.
Incidentally, he's using GingerBlur 3.5 so anyone on stock be careful (ie. copy your original file to somewhere else on your phone). It shouldn't matter at all because from what I see, there aren't any resources to modify in android.policy.jar so GingerBlur's should be the same as stock. At any rate, it won't brick your phone if you put the wrong one on. I put Telstra's on my phone by accident and it just messed up the the graphics on screen (maybe because the addresses were all wrong for my phone). You can still use adb, or sshdroid to copy and replace with your original android.policy.jar.
please delete
meloy said:
Don't use this on AT&T 1.83!
After the replace and reboot my phone was really laggy and some applications doesn't start anymore (camera, contacs for example). After i have replaced it with the original file i have still the same problem.
My phone config:
- SBF 1.83
- rooted (GingerBreak 1.20)
- sideloading enabled (GladEnabler)
- GladiAtrix 3 b0.2 ROM
- LauncherPRO
- GingerBread Theme only
Click to expand...
Click to collapse
What? That can't be right, if you still have the same problem after copying the original file, that means that you must have done something wrong. It's a single file change, provided you returned the file to the original, it will be back to the way it was. How did you copy the file? And also, are you deodexed? As mentioned in the original post, you have to be deodexed, because I don't know the results of using it on a non-deodexed system. Your posted config makes it sound like you might not be.
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
meloy said:
Sorry, my mistake. It is deodexed, I have just forgot to set the permissions to rw-r-r, you should maybe mention this in your start post. It's all working fine now. Thanks for the good work.
By the way, your mod (android.policy.att_1.8.3.zip) has added an "reboot" function to my phone, it is working well too.
Click to expand...
Click to collapse
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
maledyris said:
Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
meloy said:
When i go to the phone options i have now these selection:
- Silent Mode
- Airplane Mode
- Power off
- Reboot
Yes, i think it is a GingerBlur mod. But it doesn't bother me, it is a good feature.
Click to expand...
Click to collapse
Interesting, that never occurred to me. I usually go into terminal and type in reboot to reboot my phone. I think I'll add that to my phone too...
maledyris said:
Haha, that's good. Had me scared for a moment, I didn't want to break anyone's phone!
Thanks for the tip, I'll mention that in the original post. Oh, and what do you mean by the reboot function...? Where did you access that? I certainly didn't add it, so it might be a mod added to GingerBlur?
Click to expand...
Click to collapse
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
n1ckr0th said:
the reboot function is cooked into GingerBlur. for some reason my phone wouldnt boot after i replaced the file? i used root explorer and set the permissions to whats specified.
Click to expand...
Click to collapse
Hmm, how far does it get? Do you at least get to the boot animation? I notice that it may sit at the boot animation for a really long time after changing a file sometimes. Probably updating the cache or something. It's odd that it wouldn't work for you considering it's your file and it worked for meloy. How did you copy the file over?
If you try again, delete the original file, so you can be sure it's no longer there, then try the copy again.
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
I have no problems with this mod. It works all fine.
Been waiting on this mod. Streakvibrations has me missing my notification vibes. Thank you
It gave me a red light on boot, stuck at Motorola logo for infinity. I booted into recovery and reflashed gb 3.5 to fix it. Ill try your idea of deleting it then moving the new one.
Sent from my MB860 using XDA App
EDIT: still didnt boot, had to flash again..
I'm getting the flashing red light and rebooting as well. I can't get into CWM though, going to have to flash a SBF. Only think I can think of is maybe the Dalvik cache needs to be wiped before rebooting?
Edit: I'm on an AT&T phone and used GB to deodex as well.. maybe it's not catching all the files..
lurchbyrep said:
I'm on AT&T 1.8.3. I followed instructions just as in OP (yes, including the proper setting of permissions), but I soon found a significant problem. Everytime I held down my power button in order to invoke the power options menu, instead of the menu popping up, my phone just freaked out (the screen quickly FADED to black and the phone rebooted). I did this about four times, and each time it happened exactly the same. So I brought back the original framework file, and now everything works fine.
Any ideas?
Click to expand...
Click to collapse
Are you on stock 1.83? Now that we know that android.policy.jar has some mods built into it for Gingerblur pseudo rom, the att 1.83 file I posted probably isn't ideal for stock users.
If you're on stock, maybe you could post your android.policy.jar somewhere and pm me the link to download. Then I could put together a pure stock att one when I get home.
Sent from my MB860 using XDA App

Add native android SIP stack for Wifi & 3G calls in ICS - Galaxy Note-GT-N7000

This is just to help people like me that use their mobile for internet calls. As you know, it is disabled in GNote ICS and the old method here http://forum.xda-developers.com/showthread.php?t=1109962 does not work for ICS ROMs.
TESTED ON
LPY
LPF
LP8
LP9
LQ2
LQ3
Kingdroid 2.0
Kingdroid 2.1
Kingdroid 3.0
GNote i717 Team Perfection ICS (UCLE2)
Criskelo V7
MIGHT WORK FOR YOUR ROM IS THE SIZE OF YOUR framework-res.apk IS: Size: 18.7 MB (19,623,222 bytes), Size on disk: 18.7 MB (19,623,936 bytes)---checked under windows.
I will attach a modified framework-res.apk for GNote ICS ROM and the Internet call settings menu file.
Just a little changelog of what the modified framework-res.apk can do
Enables internet call (Wifi & 3G)
Enables all orientations (your phone rotates all round)
Rotating Lockscreen (Landscape + Portrait)
Screen stays off on USB/Charger disconnect
Just download one of the .zip files below extract and copy android.software.sip.voip.xml (its in this folder \system\etc\permissions) file to /etc/permissions using ES file explorer, Root explorer or any root browsing app. You can also push this file via ADB but you must be rooted in order to do any of these. After copy framework-res.apk (its in this folder \system\framework) to /system/framework, you can also push this. Your phone will freeze and quickly reboot, if not reboot manually but give it enough time to copy the files.
You should have internet calling now and all the other extras.
NOTE: Always backup incase something goes wrong, I am not to be held responsible for any bricks.
However, if anything goes wrong, just push back Stock framework-res.apk or if not reflash Non-wipe ICS ROM.
This framework-res.apk is specifically tested on the GNote ICS ROMs listed above, use it in any other ROM at your own risk.
--------------------------EASIER STEP FOR NON-ROOTED ROMS--------------------------
To simplify these steps, I have made a flashable zip. Download one of the .zip files and put it in your sdcard (external)---Do not extract pls.
Boot into recovery (Vol up + Power button + Home button all together)
-------ALREADY HAVE CWM DO THIS-------
Scroll down to 'Install zip from sdcard'
Then 'Select zip from Internal/External sd'
Find the zip where you saved it and select it
Select Yes to install.
NOTE: CWM uses Vol up & down to scroll and Home button to select
----------STOCK RECOVERY DO THIS---------
Download CWM Touch
Copy to External sdcard
Boot into recovery
Scroll down to 'Apply update from external sdcard'
Locate CWM and select it
Select Yes to install
CWM Touch will load automatically
Click 'Install zip from sdcard'
Click 'Select zip from Internal/External sd'
Locate the zip where you saved it scrolling with your finger or with volume button
Click on it and select yes to install.
NOTE: Stock recovery uses volume up & down to scroll and Power button to select while CWM Touch uses hand + Vol up & down for scrolling and Touch and Home button to select.
When all is done, go back and select Reboot system.
If you have any questions post it here.
THERE ARE FOUR DIFFERENT WAYS TO GET THIS DONE
1. Copy using root explorer
2. Push using ADB
3. Install using CWM Touch temporary
4. Install using CWM kernel installed on your phone.
FOR STEP
1. You must have root and root explorer app, just download the file, extract and copy each to their respective directories (refer to the step above).
2. Push the two files using ADB but you need root in order to do this.
3. Install temporary CWM Touch via stock recovery and flash the zip. This does not install CWM in your phone, it disappears as soon as you reboot.
4. Install CWM kernel for your ROM and use it to flash the zip.
DOWNLOADS
framework-res.apk----------> SIP + Orientation Mods for Copy or Push
SIP xml file---------> android.software.sip.voip.zip, for Copy or Push
Enable SIP + Other Mods----------> SIP + Orientation Mods for CWM
Enable SIP only with this----------> SIP Only for CWM
Stock framework-res.apk----------> Stock in case you want to revert back.
KingDroid-2.0---------> Enable SIP in KingDroid 2.0 ROM
KingDroid-2.0-REVERT ----------> Revert back in case of issues 2.0
KingDroid-2.1----------> Enable SIP + CRT effects in KingDroid 2.1 ROM
KingDroid-2.1-REVERT----------> Revert back in case of issues 2.1
Kingdroid-3.0----------> Enable SIP in KingDroid 3.0 ROM
GNote-i717-Team Perfection ICS (UCLE2)----------> Enable SIP in GNote-i717-Team Perfection ICS (UCLE2) ROM
Criskelo-V7----------> Enable SIP in Criskelo-V7 ROM
If this worked for you in another ROM just post it here so others will have confidence in flashing it.
Can you do the same for Indian ics version?
Edit: This framework works on ddlp8, it also changes swipe lock to default ics lock.
With this the device SOS going to deep sleep
Can someone on lpy check if device goes into deep sleep after setting voip?
jaskiratsingh said:
Can you do the same for Indian ics version?
Edit: This framework works on ddlp8, it also changes swipe lock to default ics lock.
With this the device SOS going to deep sleep
Can someone on lpy check if device goes into deep sleep after setting voip?
Click to expand...
Click to collapse
I ll need your framework-res.apk
mrcasmir said:
And others I have not noticed yet
Click to expand...
Click to collapse
What are the others changes?
I ask that because I don't like install something on my phones without have all the informations/changelog.
tdomikael said:
What are the others changes?
I ask that because I don't like install something on my phones without have all the informations/changelog.
Click to expand...
Click to collapse
Well there are other options I changed from false to true and vise versa and then changed it from Phone device to Tablet device. I noticed most changes in the dialogue boxes and graphical interface.
Well its your call, if you want it then go for it.
So, if I understand, after apply your modifications, my phone will most look like tablet device than phone device?
There is no performance or battery changement (no bad surprise with anormal drain battery ou low performance), but just appearance modification.
I'm right?
And an other question : Is there possibility to just add native SIP in ICS, without apply others modifications?
PS : apologise for my english
tdomikael said:
So, if I understand, after apply your modifications, my phone will most look like tablet device than phone device?
There is no performance or battery changement (no bad surprise with anormal drain battery ou low performance), but just appearance modification.
I'm right?
And an other question : Is there possibility to just add native SIP in ICS, without apply others modifications?
PS : apologise for my english
Click to expand...
Click to collapse
You sound so scared, well I will add SIP only version in a few minutes. Just check back in 10
mrcasmir said:
You sound so scared
Click to expand...
Click to collapse
scared? Not really, I just like understand what I do. I think it's the best thing to do for progress.
For example, after read your post, I know that is possible to change option. So I actually trying know how to change the false/true options. I don't know where find the files where they are, and after how to open, look and try to understand them.
I'm "noob", so I think it will take me a long time!
mrcasmir said:
well I will add SIP only version
Click to expand...
Click to collapse
Thanks a lot!!
mrcasmir said:
I ll need your framework-res.apk
Click to expand...
Click to collapse
DDLP8 framework is uploaded at the below location:
http://www.multiupload.nl/XY6SR86687
jaskiratsingh said:
DDLP8 framework is uploaded at the below location:
http://www.multiupload.nl/XY6SR86687
Click to expand...
Click to collapse
Have just compared the two files, there are thesame. Just go ahead and install this one they use thesame framework-res.apk
tdomikael said:
scared? Not really, I just like understand what I do. I think it's the best thing to do for progress.
For example, after read your post, I know that is possible to change option. So I actually trying know how to change the false/true options. I don't know where find the files where they are, and after how to open, look and try to understand them.
I'm "noob", so I think it will take me a long time!
Thanks a lot!!
Click to expand...
Click to collapse
Here is the SIP only version https://rapidshare.com/files/3975298779/SIP-only-ICS-LPY.zip
Just flash via recovery, follow the guide above
Thanks a lot!!
Edit : Working perfectly
Tested with poivy.com account, no problems!
I also figured to enable the "Ask for every call" option in order to use the sip voip with the dialer XD
mrcasmir said:
Enables internet call (Wifi & 3G)
Enables all orientations (your phone rotates all round)
Rotating Lockscreen (Landscape + Portrait)
Screen stays off on USB/Charger disconnect
Tablet like dialogue boxes
Click to expand...
Click to collapse
How did you enable 4 way Rotation ?
mrcasmir said:
Have just compared the two files, there are thesame. Just go ahead and install this one they use thesame framework-res.apk
Click to expand...
Click to collapse
Thanks. Will use it
Sent from my GT-N7000 using XDA
Thanks! :thumbup: it's ok on the Kingdroid 2.0 fantastic!
Inviato dal mio GT-N7000 con Tapatalk 2
Can we configure SKYPE and use the native android SIP to make calls via SKYPE? i hate opening Skype every time i want to make Skype call to india from here..
sharan.mu said:
Can we configure SKYPE and use the native android SIP to make calls via SKYPE? i hate opening Skype every time i want to make Skype call to india from here..
Click to expand...
Click to collapse
Sorry, Skype is not supported.
Works great very positive feedback
Confirmed, this mod is also working on LQ2 firmware without any issues.
Sent from my GT-N7000 using Tapatalk 2

[Q] Backlight of Softkeys

Hi there!
I want to disable the backlights of the softkeys, without installing an ad-filled apk.
I have installed Slimrom 4.3 from maclaw.pl and the setting to turn backlight off is invisible.
If you go with an rooted file explorer to /sys/class/leds/brightness and switch the value to 0, the backlight immediately turns off.
But if u restart the phone the value is changed everytime to 1 and the Backlight is back on.
So i thought i could write a script, that do this job for me., everytime i start my phome. The script is in the attachments.
Can anyone check if the script is okay? I dont want to brick my phone
And Do you know where the autostart folder for android devices is (like in windows), ive read something about kernel init or something.
And if i want to make a flashable zip out of this script, How to make it? because i dont want everytime i flash an update to work in the system.
Thanks for your time
Go to system settings-buttons-backlight & disable it. If that option it's not present on slim, simply download this. Don't mess with any system file cause this ain't a xperia phone:laugh:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
kinqme said:
Thanks, but my device is not listed under supported devices in this app and i dont want to keep a 3rd party app running that increases the battery drain and takes ram away. i prefer a little script at system start.
And no the option is not listed in the settings.
Click to expand...
Click to collapse
FYI, I'm using bln app & doesn't drain my bat nor ram (on cm11). Have a nice day
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
kinqme said:
Okay i found that folder it is localized in /system/etc/init.d
I copied the file to there and it is workimg, on every restart the buttons keeps off.
But how to make a flashable zip with that file? is it enough to create a zip with the folder system and its contents are only th underfolder and the file?
Click to expand...
Click to collapse
Search on xda how to make it & if you sure it works I'll add it to my FAQ
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
PolishVodka said:
Simple flashable fix for that http://www.mediafire.com/?dcq8si0xa1s348j
Click to expand...
Click to collapse
I asume it works on all maclaw roms (cm11) too, right!? Can I add it to my FAQ here. Of course I'll give you the proper credits on the special thanks section.
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Can I add it to my FAQ?
Of course then other people who has the same problem can solve this problem
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Don't think so is good script, because when you got a notification than BLN turn on lights again and will be stay it on to second boot.
sorry my very first try.
i will look on my device, if this happens to me too
The only problem i had was with whatsapp, if u get a message there, the light keeps on till restart.
But in settings - notifications - lights in whatsapp u can turn off the notification lights and then the problem is solved. ( standard is white )
Tahnk you polishwodka
kinqme said:
Here we go.
One zip to disable them and one to undo the patch.
thanks for your time
Click to expand...
Click to collapse
Thanks

[ROM][A2017G][B05 7.1.1.][stock] SLIM version

HI !
For those who want their Axon7 G stock (rooted & unlocked) to be fully (almost) stripped of bloatware or other unwanted apps, I uploaded my SLIM ROM (ad-free + SuperSU). Nothing fancy, just cleaned and ready to use.
It’s fully functional and tested for some time now. Smooth, no bugs.
From this basic, almost clean version you can simply add from scratch your favorite browser, keyboard or other stuff without being messed up with unnecessary (double) applications. Some basic apps like the file manager, calender and alarm are replaced (see info) because standard in-builts are not that great
AdAway + SuperSu added.
I hope you’ll E N J O Y !!!
Based on :
A2017G Nougat B05 “Spain” stock ROM : 5.02GB extracted
Stripped my A2017G_N_B05_stocksystem_by_raystef66 to SLIM version : 3.89GB extracted
INSTALL : ( TWRP )
1. Make a full backup of your current device in TWRP ! (use it to RESTORE if necessary) DON’T FORGET !
2. Wipe cache, dalvik, data and system
3. Install : A2017G-N-B05-bootstack : https://www.androidfilehost.com/?fid=889764386195912453
4. Install : A2017G-N-B05-slim : https://www.androidfilehost.com/?fid=889764386195923534
5. Reboot
6. Done ! No more no less :cyclops:
AFTER INSTALL :
1. Go into Adaway/give root permission/download files etc. and update DONE!
2. Go into ES File Explorer/settings/check ROOT/tab ROOT again and give R/W to ALL. DONE!
INFO :
Stripped off :
Accuweather
Browser (ume)
Chrome
Email
Google Video, Films…
Maps
Touchpal (+languages)
Zte clock replaced by Google Clock
Zte calendar replaced by Google Calendar
ZTe File mananger replaced by ES File Explorer (imo a very good ROOT file manager)
….......
Baked into :
SuperSU
AdAway
Es File Explorer (root access)
Google Calender
Google Clock
Minor Modifications :
Boot :
Init.d enabled
Dm-verity disabled
Zip aligned apk’s
Build.prop tweaks : (remove them in system/build.prop if not needed)
Improved performance
Lockscreen rotation
Faster boot
Phone rings immediately
Wifi scan interval 180sec
Better call voice quality
Better network signal
Added sounds LOS
The only apps left on homescreen : see attachments
Contributors :
myself
ROM OS Version : 7.1.1 Nougat
Source : ZTE stock-rom A2017GV1.2.0B05 / original ZTE upload/reuploaded : https://androidfilehost.com/?fid=889764386195912222
Kernel : stock
Version Information :
Status : Stable
Created : 2017-08-17
Excellent. Thank you for your contribution!
Can I update to this if I'm on 6.0.1 build GV1.0.0B10?
Can u use magisk? Dont like Supersu..
This is getting really close to my ideal rom, I like LOS but not prepared to lose daydream, camera and audio performance.
Is it possible to do a rom like the old google play edition phones, where you get all the stock features and keep zte camera app but get googles dialer, pixel launcher etc...?
bungie240 said:
Can I update to this if I'm on 6.0.1 build GV1.0.0B10?
Click to expand...
Click to collapse
If you're rooted unlocked you can. But to be sure update to B01 and B02 bootstack/stocksystem. If you prefer update to B05 bootstack/stocksystem and then flash this one. Follow guides : https://forum.xda-developers.com/axon-7/development/stock-rom-a2017g-twrp-flashable-images-t3599069
Use : https://forum.xda-developers.com/axon-7/how-to/download-center-factory-images-ota-t3606547
jw1985 said:
Can u use magisk? Dont like Supersu..
Click to expand...
Click to collapse
I already worked with Magisk and everyone has it's preference.
If you like to convert it,replace SuperSu with Magisk in ROM, rewrite the updater-script and repack again. Flash and done !
sirizak said:
This is getting really close to my ideal rom, I like LOS but not prepared to lose daydream, camera and audio performance.
Is it possible to do a rom like the old google play edition phones, where you get all the stock features and keep zte camera app but get googles dialer, pixel launcher etc...?
Click to expand...
Click to collapse
Everything is possible but everyone has it's own preferences. An ideal ROM doesn't exist. That's why i made this one to build it further with your needs.
jw1985 said:
Can u use magisk? Dont like Supersu..
Click to expand...
Click to collapse
https://forum.xda-developers.com/axon-7/how-to/replacing-supersu-magisksu-a2017g-t3614024
RR 5.8.3
Hello,
Can I install this ROM directly from Ressurrection Remix 5.8.3?
jw1985 said:
Can u use magisk? Dont like Supersu..
Click to expand...
Click to collapse
EASY METHOD ( instead of me uploading another version again ) :
For those who want to replace SuperSU with the latest Magiskv13.3 (stable) :
1. Download latest here (http://tiny.cc/latestmagisk) and put it on ext.SD
2. go into SuperSU app (#) and scroll down to 'Fully Unroot'
3. Tab it and tab YES when asking to replace boot.img
4. As soon as it starts to run and you get a first black screen : hold VOL+ and Power as to go into TWRP (so don't let it boot normaly, just go into TWRP !)
5. once in TWRP flash Magiskv13.3
6. Done !
I tested it by installing a module and no problem so far...
Can someone upload me the build.prop? I messed my up :/
Spillunke said:
Can someone upload me the build.prop? I messed my up :/
Click to expand...
Click to collapse
Here you go
https://www.androidfilehost.com/?fid=889764386195923891
Can i delete systemapps directly or is the disemmcwp command also needed with this rom?
I cant get access to system with "stock stock" Rom :/
Spillunke said:
Can i delete systemapps directly or is the disemmcwp command also needed with this rom?
I cant get access to system with "stock stock" Rom :/
Click to expand...
Click to collapse
Yes you can delete system/app/whatever with es file explorer. I did the test.
Just give ES root permission.
You don't need disemmcpwp command or whatever to delete something in root of phone.
Edit : in my experience SuperSU is more reliable than Magisk as it comes to altering system stuff. Supersu does it flawless as Magisk in some way has difficulties with root explorers. That's my opinion
Thank you for removing this ZTE Apps and replacing with original Google Apps !!!
How about the battery life? Can anyone post prints?
Thanks
raystef66 said:
Yes you can delete system/app/whatever with es file explorer. I did the test.
Just give ES root permission.
You don't need disemmcpwp command or whatever to delete something in root of phone.
Edit : in my experience SuperSU is more reliable than Magisk as it comes to altering system stuff. Supersu does it flawless as Magisk in some way has difficulties with root explorers. That's my opinion
Click to expand...
Click to collapse
With Magisk there is a problem when deleting folders.
But editing and deleting single files is working fine.
Just a hint from my experiences.
SilentEYE said:
With Magisk there is a problem when deleting folders.
But editing and deleting single files is working fine.
Just a hint from my experiences.
Click to expand...
Click to collapse
Same for me, rename files works, delete not. 'Read-only file system' notification.
I "must" use Magisk because of Xposed. Maybe it would work with SuperSU, but i deleted some apps in the zip before, so i cleaned it myself before flashing.
What about adding some nice mods?
- Extended Power Menu (this version: click)
- Center Clock in Statusbar
- "conservative" war mod
(Thats what i added to your ROM)
I would like to help you, but i dont know how.
SilentEYE said:
With Magisk there is a problem when deleting folders.
But editing and deleting single files is working fine.
Just a hint from my experiences.
Click to expand...
Click to collapse
Spillunke said:
Same for me, rename files works, delete not. 'Read-only file system' notification.
I "must" use Magisk because of Xposed. Maybe it would work with SuperSU, but i deleted some apps in the zip before, so i cleaned it myself before flashing.
What about adding some nice mods?
- Extended Power Menu (this version: click)
- Center Clock in Statusbar
- "conservative" war mod
(Thats what i added to your ROM)
I would like to help you, but i dont know how.
Click to expand...
Click to collapse
That's why i made this STOCK B05 clean ánd with the SuperSU. As you both acknowledge, with SuperSU there are no problems at all to modify, delete, ..or whatever in root's phone. Magisk doesn't it for a full 100% as SuperSU does. On the contrary when you want the benefits of Magisk which SuperSU does not quit offer, flash Magisk in a minute and you're done. So people can choose to their benefit
Adding mods like you propose are more then OK but this would mean it's not that STOCK anymore you know. I can add these mods but it will be another ROM. So in general, everyone has its own wishes but as said, i just uploaded this one as it is as far as i know the 'cleanest' one.
Hi, thanks for this Rom, but i'm not able to flash magisk. When uninstall supersu inside the supersu app, i cannot restore stock boot.img.
skaterazn said:
Hi, thanks for this Rom, but i'm not able to flash magisk. When uninstall supersu inside the supersu app, i cannot restore stock boot.img.
Click to expand...
Click to collapse
You're welcome
Normally when you follow my procedure here it should/would work. I've done it a couple of times to test. You'll have to vol+/power immediately after when it wants to reboot on a black screen, hold both buttons till ZTE logo pups-up and then release. Enther in TWRP and flash Magiskv13.3.
Should work

(06/01/22)(Official)(One Ui 3.1) TinyCore 1 Stable For Galaxy M21 "The Tiny One Ui Project For Gaming"

Name Change From PixieRom To TinyCore
Sorry About No Screenshot
Features:
Very Small Apps and Priv-app folder size (Only 1.39GB Of App And Priv-App Folder Size When Calculate Together)
Most of this need to replace floating_features.xml in vendor/etc (i put in in this thread)
Google Discover Feed
Flagship Animations
Enchanted Processing
Flagship Edge Lighting Animations
And More
How to install
Extract All File Out From Zip
Flash in System in system partition
Flash vendor in vendor partition
Flash product in product partition
Format data
Finish
If want to tweak download floating_feature.xml from under of this thread then replace in vendor/etc/
Bugs:Tell me pls i don't know
Download Links
https://drive.google.com/file/d/1zHf1B6EgEemCsqEduvnKWlfPMndbmB_-/view?usp=drivesdk
Sources:
GitHub - m21-dev/android_kernel_samsung_universal9610: Kernel source for samsung universal9610-common devices
Kernel source for samsung universal9610-common devices - GitHub - m21-dev/android_kernel_samsung_universal9610: Kernel source for samsung universal9610-common devices
github.com
@soulr344 For Permissions Script
Thanks
Flylarb
Google-Drive link is broken it seems, can you post link again?
OldNoobOne said:
Google-Drive link is broken it seems, can you post link again?
Click to expand...
Click to collapse
Okay
Flylarb said:
Okay
Click to expand...
Click to collapse
Thanks, but I still get error msg for the download link above.
I'm not sure if its a problem in my browser or the link is broken.
OldNoobOne said:
Thanks, but I still get error msg for the download link above.
I'm not sure if its a problem in my browser or the link is broken.
Click to expand...
Click to collapse
I removed that
Fix now
OldNoobOne said:
Thanks, but I still get error msg for the download link above.
I'm not sure if its a problem in my browser or the link is broken.
Click to expand...
Click to collapse
Try again
Flylarb said:
Try again
Click to expand...
Click to collapse
Thanks Dev, Downloading...
EDIT -- Where should I flash the floating_feature.xml file? Is it config file for camera?
OldNoobOne said:
Thanks Dev, Downloading...
EDIT -- Where should I flash the floating_feature.xml file? Is it config file for camera?
Click to expand...
Click to collapse
Nope
Replace in vendor/etc
Also flash fix permissions
Flylarb said:
Nope
Replace in vendor/etc
Also flash fix permissions
Click to expand...
Click to collapse
Thanks Dev Flylarb, will do, flashing now
what fixpermission do but, i mean what it is for?
OldNoobOne said:
Thanks Dev Flylarb, will do, flashing now
Click to expand...
Click to collapse
Thx
Thanks Dev, Great job!
Its booting on SM-M215G/DS as well which is great,
So far I found a few issues though maybe because its not meant for M215G so but nevertheless
1) Bluetooth Not Working error popup, bluetooth does not detect devices.
2) Battery Saver Mode absent, No Battery Saver icon as well as No battery option under settings tab
3) Can't create New Folder inside Internal Storage
4) GCam not able to save or click any pictures.
OldNoobOne said:
Thanks Dev, Great job!
Its booting on SM-M215G as well which is great,
So far I found a few issues though maybe because its not meant for M215G so but nevertheless
1) Bluetooth Not Working error popup, bluetooth does not detect devices.
2) Battery Saver Mode absent, No Battery Saver icon as well as No battery option under settings tab
3) Can't create New Folder inside Internal Storage
4) GCam not able to save or click any pictures.
Click to expand...
Click to collapse
Bluetooth are main bugs
Happen for m215f as well
Battery Saver bec i remove device manager
Cant create new folder is bugs
Gcam and samsung cam is bug at camera features
Will fix in next build
If you want to contact me
My telegram is 0816278942
Flylarb said:
Bluetooth are main bugs
Happen for m215f as well
Battery Saver bec i remove device manager
Cant create new folder is bugs
Gcam and samsung cam is bug at camera features
Will fix in next build
If you want to contact me
My telegram is 0816278942
Click to expand...
Click to collapse
1) True
2) I'm not a dev or programmer but, I saw in ( Shamshung as well as Xioame) like if we deleted the Device Security or Device Manager app OR even if we disable just one of the services of those two apps, the built-in Android Battery Saver still offered Medium Battery Saving option (no extreme battery saving option) from the QS Drop-Down Menu and if we long-clicked on the battery saver icon it took us to Battery Settings option & there too only medium battery saving option available, in Pixie the whole battery option was absent. So just an observation.
3) Also, in About Device option under Settings, it shows ElementaryOS in one place and under Software Info it shows PixieOS. So thats another one I noticed.
4) One more thing I noticed is that, after flashing FixPermissions zip , I disabled a critical system app then rebooted to recovery & wiped Dalvik/ART + CACHE and when I rebooted to system after that, OS still managed to boot but kept showing a progress bar "Starting Andoid" but went back to TWRP , so I think FixPermission is partially working, if i'm not wrong. Without flashing FixPermission it wouldnt even boot , so I think FixPermission is partly working.
5) My number got banned by Telegram for some kiddish reasons but I can DM you?
OldNoobOne said:
1) True
2) I'm not a dev or programmer but, I saw in ( Shamshung as well as Xioame) like if we deleted the Device Security or Device Manager app OR even if we disable just one of the services of those two apps, the built-in Android Battery Saver still offered Medium Battery Saving option (no extreme battery saving option) from the QS Drop-Down Menu and if we long-clicked on the battery saver icon it took us to Battery Settings option & there too only medium battery saving option available, in Pixie the whole battery option was absent. So just an observation.
3) Also, in About Device option under Settings, it shows ElementaryOS in one place and under Software Info it shows PixieOS. So thats another one I noticed.
4) One more thing I noticed is that, after flashing FixPermissions zip , I disabled a critical system app then rebooted to recovery & wiped Dalvik/ART + CACHE and when I rebooted to system after that, OS still managed to boot but kept showing a progress bar "Starting Andoid" but went back to TWRP , so I think FixPermission is partially working, if i'm not wrong. Without flashing FixPermission it wouldnt even boot , so I think FixPermission is partly working.
5) My number got banned by Telegram for some kiddish reasons but I can DM you?
Click to expand...
Click to collapse
Yep
Use Discord
i will add that battery soon
Floating feature from my elementary os port so it will say elementary
Fix permissions make system boot bec it have correct permissions bec i mistake and i dont know where
Flylarb said:
Yep
Use Discord
i will add that battery soon
Floating feature from my elementary os port so it will say elementary
Fix permissions make system boot bec it have correct permissions bec i mistake and i dont know where
Click to expand...
Click to collapse
Thanks, will wait for updates or full ROM for M215G
OldNoobOne said:
Thanks, will wait for updates or full ROM for M215G
Click to expand...
Click to collapse
Full One Ui?
Flylarb said:
Full One Ui?
Click to expand...
Click to collapse
Thanks, One UI is great but anything will do, also pls work on FixPermission zip ( Q permission system will also do if not N or P ) coz its half-functional already also pls post Donate button so we can donate to you.
Hi Flylarb, do you have the updated Fixpermission.zip file? I wanted to test it on M215G.
I'm not able to login to both telegram or discord for some technical reasons.

Categories

Resources