add CM Development Shortcuts to AOSP with Xposed? - Xposed Framework Development

I have an android device running AOSP 4.4.4 and I want to add CM's "App Development Shortcut" feature to it.
If you don't know what that is, when you hold down on an app in the recents screen, there is an option to force close it.
Unfortunately I can't find the CM11 source anywhere.
Can anyone help me?

Related

4.3 Lockscreen option question

I'm on Pacman 4.3 right now and I miss the long press lock icon to unlock option that Pacman 4.2 used to have. A couple of other 4.3 roms do have that option but they're missing some features I like on Pacman. I'm wondering how hard it is to enable this? Do I edit some xml file in framework apk or is it a lot more complicated? The Gravitybox xposed module can enable that but its features conflict with those that Pacman already has. Other than that I can't find any info on how to make this happen. Thanks in advance!

[Q] Tablet UI on stock ROM?

Is it possible? status bar at the bottom? some build.prop tweak? I tried the xposed module but it didnt work
Not till date...long process maybe possible...wait for PA rom..that has integrated way to do it.
developers are like gods
It was possible on Pacman ROM by xenon92. It had PA ROM features in it such as tablet and hybrid UI. But then again it's AOSP-based not stock-based...
By the way. I encountered somewhere that Google removed tablet ui after 4.4+.. just saying for info
developers are like gods

[F.A.Q][All 4.4.x ROMS]

Hello.
This is a Q&A or F.A.Q Thread for all 4.4.x ROMS.
First of all note that for flashing any 4.4.x ROM, you have to have a 4.2.2 TW ROM or a stock 4.2.2 ROM or if you have already flashed any 4.4.x ROM, that will be it.
Links(4.2.2):
http://www.sammobile.com/firmwares/3/?download=22406 (I9082XXUBMK3)(best one around)
Mirror:
http://www.firedrive.com/file/CE8FD4FAD76F0EB3
Note:
1) Don't ask for help on roms which are in alpha or beta stage. Developers will solve them.
2) Note that most Samsung stock apps will not work on these roms.
3) Don't ask about ETA's of dual sim. Till date only cm-11.0 has implemented dual sim.
F.A.Q 's:
Post#2: Common F.A.Q' s
Post#3: CM-11.0 F.A.Q' s
Post#4: ProBam KK F.A.Q' s
Post#5:Resurrection Remix F.A.Q' s
Post#6: PAC ROM(alpha stage)F.A.Q's
Post#7: XenonHD ROM(WIP stage)F.A.Q''s
Post#8: Carbon ROM and Slimkat ROM
F.A.Q's
Post#9:
Post#10:
(post is wip)
Common F.A.Q 's:
*Which build should I flash?
*Depends upon you, which build you like the most.
*Which ROM should I choose?
*I will not answer these type of questions. It is your wish which ROM to flash.
*How to upgrade to a newer build of the ROM?
*Simply flash the newer build upon the older one.
*Which recovery should I use?
*Use pawitp's 6.0.4.5 CWM recovery non - touch. Or use xenon92's 6.0.4.7 CWM recovery non - touch.
*When will new builds release?
* Please don't ask for ETA's. Developers will release new builds when they get time.
(WIP)
CM-11.0 FAQ
How do I enable Dual SIM?
Starting from the 20140309 release, Dual SIM support is available on an experimental basis. To enable or disable, run the following command from adb or terminal emulator and then reboot. SIM Settings can then be found in Settings -> Multi Sim Settings.
Enable:
Code:
su
setprop persist.radio.multisim.config dsds
Disable:
Code:
su
setprop persist.radio.multisim.config none
Note that Dual SIM mode currently has the following limitations:
Both SIMs are always enabled (no way to disable one SIM)
"Receive incoming call while data is enabled" is always enabled
The QuickSettings tile will display the status for the currently selected SIM for data
There is no arrow activity indicator in the status bar.
Changing 2G/3G network mode using the QuickSettings toggle is not supported, only do it from Settings.
Changing 2G/3G mode in Settings may show too many options if the language used is not English. If more than 3 options is shown, only use the 3 top options (which will be WCDMA only/GSM only/WCDMA preferred regardless of the actual label shown).
3G may not work properly if Dual SIM mode is enabled with only 1 SIM inserted
Cannot set different ringtone for each SIM
Baseband version not displayed in Settings
What are incremental/delta updates?
Delta updates allow updating from one version to another downloading only the difference rather than the full ROM, for those on limited bandwidth. They are named like "cm-11-20131215_to_20131216_delta-UNOFFICIAL-i9082.zip" which means that it can be used to update from 20131215 to 20131216 (simply flash it in recovery like any other update). Delta updates will not work if you have installed custom kernels or other system modifications, including editing build.prop. In those cases, downloading the full update is recommended.
Can you include Feature X into your ROM?
No. This ROM will have CyanogenMod's feature set.
Can you include S-Note/S-Planner/MultiWindow/Insert Samsung App Here?
No. This is an AOSP ROM and cannot have TouchWiz applications.
Can you include call recording?
No. CyanogenMod does not include call recording to avoid potential legal issues.
Can you add Feature X to the stock ROM?
No. I don't work on stock ROMs.
What kernel does this ROM use?
A slightly modified version of the stock kernel, the source code is linked above.
I've heard that Broadcom doesn't release source, how can you make this ROM?
Contrary to the popular belief, userspace driver source code is not always required to make an AOSP-based ROM as long as the proprietary binaries shipped with the device does not modify the API too heavily (or is from a very different version of Android). Instead of modifying the source code of the drivers, the Android source code was adapted to be able to use the proprietary binaries.
Can I use your ROM as a base?
http://source.android.com/source/licenses.html
Most of Android/CyanogenMod is licensed under the Apache License with other small parts licensed under other open-source licenses. Which means that you may modify and redistribute without asking for permission as long as the proper credits is given and it is not misappropriated as being the official CyanogenMod. (In other words, you must say that it is based on pawitp's unofficial CyanogenMod, but is not related to CyanogenMod in any other way.)
Will you make this official CM?
Due to the amount of work and commitment involved, I am not planning to make an official CM port.
Can contacts be saved to phone/SIM?
No. It is not supported in AOSP-based ROMs.
Can I mirror your ROM?
You're free to, but I will not list it in this post.
Is overclock (OC) available?
Since 20140101 build, 1.3 GHz OC is available in Settings -> Performance -> Processor (enable developer mode first). Higher frequencies are not enabled since benchmark does not show additional benefit.
Will feature X from a previous version of CM be implemented?
I don't know, probably will be, eventually. I don't really involve myself in the feature-set side of CM.
(Answered by pawitp)
Reporting bugs:
pawitp has strictly mentioned in his thread that you report bugs in his thread.
ProBam KK F.A.Q
when probam in black turn on , the systemui make force close
try to switch off black ui then restart and try enable it again
after dirty flash the device hangs and systemui make force close
you need to make wipe all and clean cache and make fresh install in this case
when try video recoding the device freeze or slow down
screen video record with ondemand or pegasusq governors u will have a laggy recorded video. If you try with performance governor from performance in settings , then the video will be a lot smoother.
Camera crashing some times and not works anymore "camera not connected"
the rom included an small application "camera restart" you can use it for fix this issue
titanium recovery not restore my applications
For those who cannot find their previous files, because CM based rom will target the sdcard storage to use root/0/ directory.
So normally all the files besides the root/0/ directory will not be shown on the file explorer.
To solve this, you will need a file browser that has ROOT capability, eg. Root Explorer
then go to mnt/shell/emulated/ all your file should be here.
Now move all the files into mnt/shell/emulated/0/ folder.
Should solve the problem.
Privacy guard IS working?
after enabling privacy guard in security settings
you have to switch to settings>apps and then choose to enable or disable each app individually.
I'm sure nobody would want to tick every single app, that would almost be the same as enabling airplane mode.
I want PIE!
Here is the alternative PIE
Not all F.A.Q 's apply to our device.
(answered by codexc)
Resurrection Remix F.A.Q 's
« How can i change the DPI?
Check here.
« I change the DPI and i have issues with the Play Store (Incompatible or some apps didn't appear) ¿What can i do?
Flash the MultiDPI Play Store by @MyLifeRocks10, you can find it here.
« How can i take a screenshot?
Just press (and maintain at least 2 or 3 seconds) the buttons Volume Down + Power
« « A temporary fix to the USB tether...
Take a look on this post by DeltaSync
(answered by westcrip)
PACman FAQ​
PIE FAQ
Q. What is PIE?
A. PIE is a new way to interact with your notifications. It provides easy gesture based interaction with all your system information without taking up valuable screen space. PIE is what you see in this image.
Q. How do I access Pie?
A. Swipe your finger from the pie gravity edge (default is the bottom) toward the center of your screen. While keeping your finger on the screen, drag your finger to the desired button and release to click.
Q. My PIE doesn't look like the ones in the screenshots. I don't see the Clock or notifications.
A. Notifications work either through the status bar or PIE. If the status bar is enabled, PIE reverts to just the softkeys. To enable the full PIE experience, enable Expanded Desktop by going to Settings -> System -> Power Menu -> Expanded Desktop (Status bar hidden). Access the power menu and turn Expanded Desktop on.
Q. How do I change PIE colors?
A. Go to Settings -> Hybrid Properties -> Interface and change the Navigation bar color.
Q. Buttons or keyboard rows near the edge of my screen are nonresponsive.
A. PIE's trigger area overlay is covering the edge of your screen. Change either the Trigger Area or Pie Gravity in Settings -> System -> PIE Settings.
Q. I don't like PIE, how do I turn it off?
A. To disable PIE set Trigger Area to None in Settings -> System -> Pie Settings. Remember to disable Expanded Desktop to turn status bar on again.
ROM FAQ
Q.Do I need to do a full wipe before installing this ROM?
A. Unless coming from a previous version of PACman it is highly recommended to do a full wipe before installing. This includes coming from ParanoidAndroid ROMs.
Q.What do the settings in Hybrid Properties do?
A. ParanoidAndroid has an extensive guide to the settings at this thread: [GUIDE][PARANOIDANDROID] A Complete Compendium on ParanoidPreferences [PA-Settings] Please do not post questions related to PA Settings in this thread, they are not ROM specific and all we'll do is point you to that thread.
Q.How do I turn on the Navigation Bar??
A.To enable the NavBar open Hybrid Properties, swipe the screen to the right to peek through to the menu.
Select Interface, now set your desired NavBar size with the slider.
Q.Something isn't working. What do I do?
A. First, make sure you are running the latest stable version. That should solve half the problems. If it persists, backup data using Titanium and do a full wipe reinstall. If the problem persists, report what it is and what triggers it so the dev can duplicate it.
(put together by IconRunner)
All F.A.Q 's regarding XenonHD ROM can be found here:
http://forum.xda-developers.com/showthread.php?t=2075368
F.A.Q 's regarding Carbon ROM and slimkat ROM can be found in chotu222's FAQ thread.
R8
Sent from my GT-I9082 using Tapatalk Pro
And on pac 4.4 alpha-1 by k2wl.
R9
Sent from my GT-I9082 using Tapatalk Pro
And on pac 4.4 alpha-1 by k2wl.
Deleted
Deleted

[Q] Is it possible on Android 6.x to have custom lockscreen and how to contribute ?

Hi,
Since I moved to a custom Rom for Oppo Find7a (last installed and kept: crDroid from jejecule), I do not have my cover window lock screen feature anymore.
I have red that Android now in Android M has removed all lockscreen widget so I don t know if it is now possible to set specific process in lockscreen ?
I have a flip cover with a window and I just want to see there time, and some notif when touching the "seeable" screen when flip cover applied.
I can may be help, contribute in code, if it is not too hard and makeable.
I also miss the color os weather lockscreen and don t know if it can be integrated in Android 6.0 (I tried to flash it 5.x.x and did not work).
Regards,
Rodolphe
Ok...
I'll try to decompile the oppo Leather apk and then compile it again for Marshmallow. Hope this will work.

CustomROM Tweaking [6.0.x]

Hi there,
i tested all the latest 6.0.x ROMs in Developers Thread and found mordesku's [GEEHRC][6.0.1_r43][OFFICIAL] Resurrection Remix M v5.6.9 [2016-05-23] most suitable for my needs.
So far i'm really pleased with the ROM. After applying the Sensor Fix ti's working really nice'n'smooth!
Now i got some little Questions:
1. On home screen > menu button > gear wheel on the right opens the startscreen settings just as the three dots (" .·. ") above it, is that a bug? on all other ROMs i used it opens the android settings. is that a bug? can i fix it?
2. in the android 5 ROM i used before, there were many settings for "time" display on status bar. is that easily patchable to this ROM? i just want to see seconds on status bar. how do i achieve it? (by searching i found something about LGG2 Deodexed Stock LGSystemUI.apk but i am not sure if it is applicable to optimus G)
3. LGOG stock ROM has inbuild am/fm radio function which isnt present in CustomROMs 6.0.x, can this readded in any easy way.
Thanks alot for your time and answers!
sorry if these are dumb questions/wrong subforum or anything, i'm not that familiar with android dev/ xda forum.
greetings, Cecilium

Categories

Resources