[UPDATE]Awesome MOD enable/switch easily multiprofile in Leaked MI6 (android 4.3) - Galaxy Note II Android Development

How to do it exactly...
First Method using ADB/Terminal Emulator​
1) you need to flash stock rom from here N7100 Note 2 4.3 Leak MI6 Download
2) then root it from dr.ketan's thread Here
3) set up google account and download android terminal emulator (totally free) from here :
Android Terminal Emulator
4) write down this without any brackets...
su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2)
pm create-user (username here)
Click to expand...
Click to collapse
5) now go to setting and see users will be enabled in """more""" tab (((((((( Settings>>more>>users>> ))))))
6) then you'll be switched to that account and start again setting up whole phone as it was when flashed stock..
7) voila you have multi user restricted.
8) no knox on secondary users... happy
9) Reboot takes you to admin accont. you can also manage profile with ""TASKER"" or any other app specailly like profile switchers if any not seen you can contribute.. or script
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Second Method:​
::::::::::::::::::::::: AlterNative Using App :::::::::::::::::::::::::::​you can also use this awesome app :::::
SwitchMe Multiple Accounts
its damn too awesome... evaluating it right now...
its good too but gives all users all settings you can restrict it too just use that app and donate if you like.​
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------​
::::::::::::: Update:::::::::::::
::::::::::::: Switch Multi user from lockscreen:::::::::::::​
Es File Explorer and create a new file and name it "users.sh". Edit it with a text editor and type
Code:
[SIZE="6"]#!system/bin/sh
setprop fw.max_users 5
[/SIZE]
Save after this of course as "users.sh"
then go to terminal emulator and type
Code:
[SIZE="6"]su
chmod 755 /storage/emulated/0/users.sh[/SIZE]
Assuming the path to "users.sh" is " /storage/emulated/0/users.sh"
Next, open Script Manager and click Browse as root.
Navigate to "users.sh" through the Script manager.
Once "users.sh" is found, click on it. Then make sure "is script" is ticked and the icon for superuser and run at boot are lit up.
GO ahead and hit save and you should be done.
All this is assuming you already have at least one more user other than primary already setup.
This will set the Users tab in settings to come up everytime your phone boots up.
REMEMBER TO SWITCH USERS ON 4.2 YOU MUST HAVE Auto-ROTATE ENABLED AND ROTATE YOUR LOCKSCREEN TO LANDSCAPE
or use this app..
4.2 multiple user enabler root
everytime run it after reboot wont take time but you ll get what u want in settings and lockscreen.
source : Go to there
thnanks : dr.ketan , rayblo , wagnervaz , And Trái Tim leaked to us by VN forum
and so many others... sorry if i forgot anybody else's name.
also switching by monstaX

Thanx
Link added to mod thread
Sent from my GT-N7100 using xda premium

added to leaked post! thnx

sorry but what is multiprofile for??
are this like Guest Mode on LG??

spiderio said:
sorry but what is multiprofile for??
are this like Guest Mode on LG??
Click to expand...
Click to collapse
2 user can use phone but admin can restrict other created user..
for dirty friends.
adn dont know about guest mode .. will have to search.

Well, I created one more user, set it up and everything.. But how can I switch to that account ? I'm on 4.3 and lockscreen won't go to Landscape.
EDIT: Problem solved with Ultimate Rotation Control. Thanks.

su
pm get-max-users (should show 1)
setprop fw.max_users (some number above 2)
pm create-user (username here)
Click to expand...
Click to collapse
These instructions seems NOT to work for this rom from DrKetan
http://forum.xda-developers.com/showthread.php?t=2472270
su works fine
pm get-max-users (should show 1) show 1
setprop fw.max_users (some number above 2) i set 4
if i do this : pm get-max-users now my max users is 4
tricky part start here : pm create-user myuser
return me this : Killed
if i go to the settings / more / users i can see there is the new user menu
if i use the GUI to add new users, the same behavior happen, device just vibrate twice and kill the app
then when i reboot the whole process is gone, users is nowhere to be seen and i have to start back from begining to get the users appear in the settings more menu.
i feel i'm missing something or maybe this method is not totally adapted for this pre-rooted rom ? http://forum.xda-developers.com/showthread.php?t=2472270
I dont like the second method SwitchMe Multiple Accounts because it does not behave like android 4.3 multi user feature is intended to work
seems to create some kind of new partition for each user, and by re installing each app even though they are already installed in the root user.
any help to have multi user on this pre-rooted stock android 4.3 rom working fine would be greatly appreciated

Works great ok Hurricane V5 (MI6).
Cheers for this.
Sent from my GT-N7100 using xda app-developers app

Related

[ROM][S3] BackToBasics_v3 (based on RUU_VILLEC2_U_ICS_40_HTC_Europe_1.11.401.110)

So here we go I can say finally I managed to produce firs custom rom for our beloved HTC One S C2 (I called it this way cause that is how on gsmarena.net is presented). If we ever get a sub forum this is how I suggest it is called. It is not very special rom, but it is a start. cause I don't like bloatware on my phone, I've tried to remove as many unnecessary stuff as I could remember, and I could miss.
Since this is my very first rom I've build with kitchen (for public use at least), don't be to harsh on me. I will try to improve it, and remove even more sens components, cause I just prefer stock experience.
You will need android sdk on you computer (you may know it as adb shell)
REQUIREMENTS
Unlocked Bootloader and Root access
TWRP Recovery
INSTALLATION
1. Download the ROM, extract only boot.img where you have android-sdk installed installed in folder platform-tools
2. Make a backup of your apps with Titanium backup or other similar app (so that you can restore them after flashing my rom)
3. Boot into Recovery (with GooManager, or restart phone and hold volume down, when in fastboot choose recovery with volume down and press power button)
4. Make a BACKUP in recovery!
5. WIPE! Do a factory reset and System wipe
6. "install zip from sdcard"
7. "choose zip from sdcard"
8. Flash the ROM
9. Go back to the main menu of recovery, choos reboot, and then reboot to bootloader.
10. Flash kernel with Command prompt (go into direcotry where you have extracted boot.img) and run:
(step by step guide)
Short version:
Code:
fastboot flash boot boot.img
fastboot erase cache
fastboot reboot
11. Wait until android boots up, it will take a few mintues (5-10), because it is deodexed, but only first boot takes longer after that it is normal.
What is working:
Since this is sense based rom all the functionality should work (calling, texting, mobile data, GPS, wifi, bluetooth, camera, etc)
POSSIBLE PROBLEMS:
- There might be some reports of some services stop executing, this is nothing to worry about, it would just be something that I have removed cause it is only sens based and drains battery, but it should impact with phone experience.
- Due to all HTC widgets removal, not all the lockscreen options are functional (like people).
FUTURE:
I hope I'll have time and the will to make this rom to look and feel almost as an AOSP based (that is with statusbar, lockscreen, dialer, settings, etc). But I am still learning so don't expect to much. If there is themer among you or modder, I would really apperaciate some help with this stuff. Together we can make this something ! I would also need some mirror if this rom will become popular.
WARRINING:
This rom is for HTC One S with S3 processor only!!!
Flashing any kind of custom rom voids your warranty, and it could brick your phone. I am not responsible if this happens to you. So you flash this software completely at your own risk!
That being said here is the download link.
BackToBasics_v1
BackToBasics_v2:
(you have to downloade both rar files in sam folder and then extract from .part1, it will extract flashable .zip)
PART 1
PART 2
BackToBasics_V3
If you are coming from lower version of this rom, just make backup, wipe cache, flash rom and you are good to go. No need to factory reset (data wipe) or system wipe in this case
THANKS TO:
- dsixda for his amazing rom kitchen
- torxx for his update-binary and updater-script
- Chainfire for SuperSU
- PaulOBrien for his superboot, which provide us root
- Tesla Coil software for Nova Launcher
- Estrogen Inc. for File explorer
- everyone else that makes this community so good!
If I forgot somebody important please forgive me and let me know, I will immediately add him or her.
[ROM][S3] BackToBasics_v2 (based on RUU_VILLEC2_U_ICS_40_HTC_Europe_1.11.401.110)
About rom:
v3:
- HTC Lockscreen widgets enabled (People, Weather, FriendStream, etc)
- HTC Locksreen shortcuts re-enabled with application Lockscreen Shortcut (thanks to itandy)
- Added missing Gallery
- Updated SuperSU an Su binary
- Updated ES File Manager
- Added GooManager for easy rom flashing and backing up
v2:
- root access now works
- WIFI problem solved
- Camera problem solved
- added Busybox free application
- removed boot sound (it really annoys me)
v1:
- Based on RUU_VILLEC2_U_ICS_40_HTC_Europe_1.11.401.110
- All originally included languages are in there
- Deodexed
- Zipaligned
- Rooted with SuperSU
- Added busybox run parts
- Removed Rosie launcher and replaced with Nova Launcher (free version)
- Included ES File Explorer
- Insecure boot.img (stock kernel) -> adb shell root enabled
- A lot of build.prop tweaks
- Added /data/app/ functionality
- /etc/init.d script support
- custom bootanimation support (but for now I've kept original boot animation)
- 95 removed apps (all sens widgets and other stuff)!
Congratulations for the first S3 rom :]
EDIT: I noticed that you didn't claim two posts. So if you need to expand the content to this post just send me a PM and I will add it to this post erasing my content.
thx!!!
downloading
haha that's very good
hohoho
very nice to see an s3 rom get here!
Qzem, you should include some screenshot in first post.
oww .. what i should say ??? CONGRATZ TO OUR S3 DEVICE !! :laugh:
Thanks for the share.. works great.
I having a super hard time connecting my wifi ... stuck at obtaining IP address all the time !!
Down not working from dropbox
Sent from my HTC One S using xda premium
Alright , I found a solution for wifi obtaining IP address problem .
This is just a temp way to do it .
go to ur specific wifi , long press it . Click show show advance option . and choose static IP . Key in the data .
It connect successful . qzem , try to find what is the problem for cant obtaining ip automatically . It would be quite suffer when wanna use public wifi
waint for a link to download
Problem at my devices :
1) Can't save picture after took picture using camera app .
2) superusers got problem , can't get permission for the apps .
3 ) wifi cant get ip address automatically . ( have to manual set up static ip )
I will get to debugging and trying to fixing problems on monday,cause I am on camping for weekend with my buddies .
Sent from my HTC One S using xda app-developers app
Any chance its possible to remove the 3 button menu and remap menu to long hold home?
Sent from my HTC One S using xda premium
onlinechi said:
Any chance its possible to remove the 3 button menu and remap menu to long hold home?
Click to expand...
Click to collapse
Is this mode available for One S? This would be first thing I would like to change for sure :good:
There is some info HERE
Try this WIFI fix and report if it works. I am gonna test soon. And if it does I will include it in next version.
banesi said:
Is this mode available for One S? This would be first thing I would like to change for sure :good:
There is some info HERE
Click to expand...
Click to collapse
I can include this, but I will read a little more, to see if it is worth it.
EDIT: Good news I've solved WIFI and root problems. Will upload new build tommorow, cause I most probably I won't have enaught time today.
New version is up!
I suggest you to change thread caption to v2, and to move up changelog for v2.

[TOOL] SimpleSU v0.7

So.
As i was slowly preparing DSC v2.0 i met a hard decision: what root tool to include
Both Superuser and SuperSU are nice, but quite heavy
I decided to take my own way - rewrite su executable itself to suit my vision:
I've aknowledged that i have not modified my root access list for half a year. I don't need and don't want a separate Java process to control root access. I want a simple way to allow root access for application (via whitelist), but block unwanted (i.e. all not in list). Still, it should allow end-user to install either SuperSU or Superuser.
In short - ideal su solution for myself that should also work good for depersonalized custom ROM (with predefined access list), leaving it to end-user to decide which app he will install for superuser access.
And i didn't find a ready solution, so decided to write my own.
Here it is (attached):
SimpleSU
Simplest and lightest superuser solution (with access control)
How it's done:
Same as usual SU for Linux with control access list read from /system/etc/dsc.su_list
dsc.su_list structure is very simple:
One line per android app (case sensitive), windows and unix line breaks should be supported fine.
Current proposed list for DSC 2.0 (and an example):
dsc.SimpleSU.acl
dsc.settings
dsc.uv
dsc.levels
dsc.mugen
jackpal.androidterm
ru.org.amip.ClockSync
eu.chainfire.supersu
eu.chainfire.supersu.pro
com.ryosoftware.adbw
com.googlecode.droidwall.free
com.noshufou.android.su
de.schaeuffelhut.android.openvpn
de.schaeuffelhut.android.openvpn.installer
com.elsdoerfer.android.autostarts
com.speedsoftware.rootexplorer
com.geeksoft.screenshot
com.rerware.android.MyBackupPro
com.ghostsq.commander
ws.plattner.cifsmanager
mobi.pruss.superdim
com.force.timezonefixer
com.bigtincan.android.adfree
Caller process tree is walked till init, if match is found, access is granted.
How to install?
Via adb shell:
Code:
adb push su /system/xbin/
adb shell chmod 6755 /system/xbin/su
adb push dsc.su_list /system/etc
adb shell chown root.root /system/etc/dsc.su_list
adb shell chmod 644 /system/etc/dsc.su_list
Note that you have to manually add entries to white list (/system/etc/dsc.su_list) to grant root access in form of app full Java class name. For example, it's com.keramidas.TitaniumBackup for Titanium Backup.
As pointed by dr911, works in multiuser environment (being a linux binary).
Currenly SimpleSU supports two command formats:
Usual: su -c 'make me a sandwich'. Note that only "-c" works now. Seems to be enough though. Command simply passed to the shell.
Legacy (as seen in Google/Android su source): su username make me a sandwich. Shell is not executed in this case, so no environment variables right now in this format.
Have fun,
Sergei.
Changelog:
02.04.2013: v0.7. ":service" suffix granted root access for already granted app, more logging on reject. (0.6 had only more logging)
27.11.2012: GUI updated - forgot about remounting /system in rw mode. Attached to this post.
21.11.2012: GUI done. http://forum.xda-developers.com/showpost.php?p=34439975&postcount=41
14.11.2012: v0.5. LD_LIBRARY_PATH fixup (taken from ChainsDD), pointed by Rupert Rawnsley. Also some legacy format command-line handling changed. Also, insecure version added (no checks made, asked=granted).
11.11.2012: v0.4. Code cleanup, no longer beta, revised and fixed code with potential string overflows.
09.11.2012: v0.3b. Code changed to allow legacy format command execution.
09.11.2012: v0.2b. Fixed call with multiply parameters. OpenVPN installer works. Dynamic linking, so very small binary. Logging to system log.
07.11.2012: Fixed segmentation fault on reject, added version and build date, removed debug info.
A request:
If somebody owns Pro/Elite/other commercial Superuser or SuperSU - would you provide it's full Java class name?
For example, it's
eu.chainfire.supersu
com.noshufou.android.su
for free versions.
eu.chainfire.supersu.pro
Sent from my Amazon Kindle Fire using Tapatalk 2
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
com.noshufou.android.su.elite for Superuser Elite
Hi
Have you noticed any improvement in terms of speed etc? Is superuser really that heavy? How much RAM can i get by using this and ditching the superuser app? We can use this in our Galaxy 3 forum !
Get the list of all android activities from here
http://activities.droidicon.com/
Androidmarketuser said:
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
Click to expand...
Click to collapse
Delete system/xbin/su and uninstall your superuser app from the system.
Oh. Looks SimpleSU got in news
Androidmarketuser said:
Can I avoid these little delays (the appearing popup of SuperSU or Superuser) with this alternative?
And if I have Superuser preinstalled can I delete it and are there other files which belongs to it and can be deleted?
Thank you for sharing your work
Click to expand...
Click to collapse
You won't experience any delays - but in cost of manually editing the list. And no popups, it's simply a linux binary. After replacing su binary you may uninstall Java part.
Shree_Jamdar said:
Have you noticed any improvement in terms of speed etc? Is superuser really that heavy? How much RAM can i get by using this and ditching the superuser app? We can use this in our Galaxy 3 forum !
Click to expand...
Click to collapse
I did experience lags when using Superuser and SuperSU. I don't think modern device would benefit from SimpleSU. I expect to free 15-20MB. Good for Streak with 512MB.
I may eventually write a list editor, but most probably won't.
Again, this tool would do as preinstalled SU solution in Custom ROM (though i can't test >2.3 compatibility):
Grant predefined (and included in ROM) apps the superuser rights.
Allow end-user to choose and install he's preffered SU solution right from Play Store.
--
Have fun,
Sergei
_n0p_ said:
You won't experience any delays - but in cost of manually editing the list. And no popups, it's simply a linux binary. After replacing su binary you may uninstall Java part.
I did experience lags when using Superuser and SuperSU. I don't think modern device would benefit from SimpleSU. I expect to free 15-20MB. Good for Streak with 512MB.
I may eventually write a list editor, but most probably won't.
Again, this tool would do as preinstalled SU solution in Custom ROM (though i can't test >2.3 compatibility):
Grant predefined (and included in ROM) apps the superuser rights.
Allow end-user to choose and install he's preffered SU solution right from Play Store.
--
Have fun,
Sergei
Click to expand...
Click to collapse
Exactly what I searched, thanks :good:
I will test it on my old Desire with Android 4.1, I can tell you whether it's compatible or not.
nice tool...very lite. i m using this in extreme barebone roms for my galaxy mini. really nice, but the problem is only some apps r being granted permissions, some denied.
i hope u increase the list of activities. then this is a hit for me
good luck..
Android_United said:
nice tool...very lite. i m using this in extreme barebone roms for my galaxy mini. really nice, but the problem is only some apps r being granted permissions, some denied.
i hope u increase the list of activities. then this is a hit for me
good luck..
Click to expand...
Click to collapse
Can you provide an example of app you have added to the access list, but it didn't work?
i looked in the op and still dont understand how to install?? flash the simple SU zip in recovery.. then what???
evo401 said:
i looked in the op and still dont understand how to install?? flash the simple SU zip in recovery.. then what???
Click to expand...
Click to collapse
if you couldnt read/understand the OP, then your probably better off sticking with SuperSU or SuperUser...
Heres my non-developer understanding (potentially flawed):
Its a binary, with manual entry's (IE text editing) of pre-approved apps, it doesnt have a frontend/gui like SuperSU or SuperUser which allow you to graphically chose what to allow and what to deny...
OP: I like it so far, as for your thoughts on a graphical editor, I for one would love to see one, and before I get jumped for saying then whats the difference between the other options, an editor would be short and sweet, open, edit list, close, ram once again free (since that is the concern), instead of having it stay resident in RAM...
On that note, if I may, there are tools like Rays Toolbox and Android Tuner (formerly system tuner), that I would like to put in a feature request for them to add an editor in the app (Android Tuner already has a few editor's, adding a SimpleSU editor would just add to the overall completeness of the toolkit) to edit the list for SimpleSU, with your permission of course!
Thanks again!
Latest version working on Galaxy fit !!! It really imporves performance on low ram(We got 256mb) devices maybe OP might consider sharing it by moving thread to a more general location on xda rather than on a device forum my thoughts.
Dark Passenger said:
Latest version working on Galaxy fit !!! It really imporves performance on low ram(We got 256mb) devices maybe OP might consider sharing it by moving thread to a more general location on xda rather than on a device forum my thoughts.
Click to expand...
Click to collapse
Yes, exactly.. it works on galaxy y duos and galaxy yseries.. its better to move it to android app development section may be? as it will get more support there i feel.. Please do consider op.. And thanks for this cool app.. Its awesome. And i dont think it needs an editor, as we can have editors from many apps .. i have around 4-5 apps which has editors.. surely users who use this app will be bit advanced users..
and i bet all of them will have file editors.. and all file explorer apps comes with editors nowadays.. well , just my thoughts.. but if you can keep the file browser to bare minimum and keep size of apk less.. then i would surely like to see it too
i am hoping to use this from now on.. so i will give review for new updates.. have you pushed it to play store? i think you should do that.. many will like this idea!
Thanks again..
As far as i understood we can edit it to add new apk names to give permission.. Because Android_united kinda confused me.. So, asked this again.. i did use it and it did worked.. its just may be he didnt see that?
Works like a charm! The only problem I had is that I was doing this through Terminal Emulator, and for some reason, when i did all this, superuser perrmisions were not granted for Terminal Emulator. After a little digging i found that i have to add this line
Code:
jackpal.androidterm2
and leave the one that's there by default
Code:
jackpal.androidterm
to the dsc.su_list
Now it works, i have SU for Terminal Emulator, Adfree, and i added SetDNS (Impossible to use Google play on CM7.2 without it )
I like the idea of this but be extra careful to only whitelist activities you really use.
I could imagine a malware somehow managing to enter your system and masquerading as one of the prepopulated entries in dsc.su_list, though of course no such vulnerability exists so far.
Thank you for feedback.
--
I cannot publish it on Play Store - it's not an Android app. To publish it, i need to write SimpleSU Installer, or something like that (see below).
--
Regarding editor - it would be nice if someone else would write it I really don't expect to have enough free time required.
--
A 0.4 version i consider as stable (revised potentially bad code with possible string overflows) attached to first post.
--
Malware that could act as Java class - i thought of several scenarios, but any requres root access beforehand. And if you install an app - it's your responsibily to be careful.
--
Have fun,
Sergei
_n0p_ said:
Can you provide an example of app you have added to the access list, but it didn't work?
Click to expand...
Click to collapse
titanium backup, es-file explorer. i tested wit only these 2. as these 2 weren't gaining root access, so i stopped using this. if u want me to test wit more apps, i can help u out.
will be using this surely once it receives more updates :good:
:good: gud luck..

[CM12/12.1-UPDATED] S4 Display Color Profiles for CyanogenMod 11, 12, 12.1

### CM12(.1) UPDATE ### (see bottom)
Hey Folks,
are you also tired of the oversaturated colors of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by @F4k to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
After installation you can find a new settings option "advanced settings" in systemsettings/display just like they're are built in into the carbon roms.
Installation:
Download the apk from the link below.
Then you have to manually put the s4minisettings.apk to /system/app and after that it's very important to set ownership and permissions as follows:
Owner: root, root
Permissions: rw,r,r (644)
reboot!
The main option to reduce the saturation is called "Mode - Set the mDNIe mode". I choose "natural" and the oversaturation of the display is gone!
Some other options don't apply until you switch screen off an on once.
___________________________________________________
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
original thread here (search for F4K's post):
http://forum.xda-developers.com/showthread.php?t=2558702&page=11
you may also want to have a look at s4miniarchive who did a good article/video about it:
http://www.s4miniarchive.com/2014/01/enable-color-saturation-galaxy-s4-mini-cyanogenmod11.html
all thanks go to @F4k for creating this nice apk!
###CM12(.1)-Instructions###
So, f4k made a new lollipop version of this tool S4MiniSettings and built it into his S4 Mini cm12 rom. I extracted it and offer it to you for download.
Instructions:
- extract zip
- copy the folder "S4Minisettings" to /system/app folder
- set permissions of the folder to rwxr-xr-x (755), the apk to rw-r--r-- (644)
- reboot
- after reboot there is a new icon in the app drawer
- if you prefered the setting "natural" from the kitkat version, now choose "movie"
Notes:
- Important: SELinux level higher than "strikt"/"enforcing" is needed to write to system folder and/or set permissions, and the apk to be loaded at boot. Custom kernels like Alucard mostly got SELinux set to "moderat".
- Don't be confused about the app name - it does work with the S4 - definitely!
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
I use kernel perseus to better experience with real colors.
Enviado do meu GT-I9500
creage said:
Doesn't S4 4.4.2 have this by default? I can do same changes through my Display settings - no need for additional apk.
Click to expand...
Click to collapse
The "S4" has this by default in the Touchwiz ROM it ships with, but this thread is about CyanogenMod.
Speaking of which, it possible to adjust color cast in CM11 on my Note 8.0 under Display/Display Advanced. Maybe this feature will also come to CM11 on the i9500.
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Or does this only work on nightlies build?? :crying:
elmaku said:
When i reboot nothing happends :/ i have everything like you said, bit it doestn appear. I have cm 11 snapshot m3, help?
Click to expand...
Click to collapse
Did you set the permissions and owner correctly? Otherwise it can't work.
Peter Semper said:
Did you set the permissions and owner correctly? Otherwise it can't work.
Click to expand...
Click to collapse
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Edit: Also, in my settings I have Display & lights instead of "Display" as the video shows. I know nothing and I understand this may be a dumb question, but it may had to do with the problem? sorry.
Over-saturated colours of S4? Oh Dear Lord :|
elmaku said:
the permissions are exactly like you have it, but still its not working. It doesnt scan my apps when I reboot :/. Also worth noting, every time i go to see the permissions or change it it says in a square. "The current file system is read-only. Do you want to remount as read-write and continue the operation?" I click yes, then i change it rw--r--r and reboot and nothing happends. When I go check it againg is the same prosses all over againg.
Click to expand...
Click to collapse
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
devilsdouble said:
Over-saturated colours of S4? Oh Dear Lord :|
Click to expand...
Click to collapse
killjoy
Peter Semper said:
Which file manager do you use? "root explorer" i.e. has sometimes problems and sais it's write protected. I use "root browser" which does a good job, mostly.
Click to expand...
Click to collapse
I have used both! and none of them works when I reboot . Man what a bad luck I have.
elmaku said:
I have used both! and none of them works when I reboot . Man what a bad luck I have.
Click to expand...
Click to collapse
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options, I mean enable root mode.
Peter Semper said:
And also tried the file manager provided with cm 11? Just have to "unleash" it in the options.
Click to expand...
Click to collapse
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
elmaku said:
Nope... just tried it and it doesnt optimize the apps when rebooting. I'm stuck.
Click to expand...
Click to collapse
Very strange, you must have done something wrong.
Peter Semper said:
Very strange, you must have done something wrong.
Click to expand...
Click to collapse
I really don't understand :/... It is just not detecting it... maybe an option I have enable? I hate these saturated colors... :/ maybe it is only on nightlies?
Another options
splitterzelle said:
Hey Folks,
are you also tired of the oversaturated colours of the S4 amoled display??
I found out that the S4minisettings.apk, that was originally developed for the S4 Mini by F4K to regulate the saturation and other colour concerning features, does the job for the S4 aswell! It works very similar to the colour profiles built into samsung stock roms.
....
The apk can be downloaded here:
http://forum.xda-developers.com/attachment.php?attachmentid=2443961&d=1386605141
....
all thanks go to F4K for creating this nice apk!
Click to expand...
Click to collapse
This apk requires way too many permissions for the task it performs... Suspicious...
There is another option: KTweaker tool which comes with Ktoonsez kernels also allows to modify this setting (works with CM11 kernel, not only with Ktoonsez) .
After all this setting can be set via kernel "/sys" filesystem. From terminal emulator execute command:
Code:
echo 2 > /sys/class/mdnie/mdnie/mode
To make this change permanent (survive reboots and ROM updates) one may use init.d supplied with CM11, and create additional script in /data/local/ (in this location script will survive CM update).
Seems like init.d in CM11-M10 doesn't start scripts in /data/local/userinit.d/ directory, so the only option is to place script code to /data/local/userinit.sh
Permissions of this script must be set to 0755 (-rwxr-xr-x).
For anyone who interested in adopting this method I've prepared template script (also it sets some other available screen options, not only mode):
Code:
#!/system/bin/sh
# For SGS4 screen mode can be chosen from:
# 0 - STANDARD
# 1 - DYNAMIC
# 2 - MOVIE
# 3 - NATURAL
echo 3 > /sys/class/mdnie/mdnie/mode
# For SGS4 screen scenario can be chosen from:
# 0 - UI_MODE
# 1 - VIDEO_MODE
# 2 - VIDEO_WARM_MODE
# 3 - VIDEO_COLD_MODE
# 4 - CAMERA_MODE
# 5 - NAVI
# 6 - GALLERY_MODE
# 7 - VT_MODE
# 8 - BROWSER
# 9 - eBOOK
echo 0 > /sys/class/mdnie/mdnie/scenario
# Other parameters are boolean: 0 - Disabled, 1 - Enabled
echo 0 > /sys/class/mdnie/mdnie/negative
echo 0 > /sys/class/mdnie/mdnie/outdoor
Additionally I've prepared TWRP (CWM should work also, but I've not tested) installable version of this script (see attachment).
In that case if you dislike my default setting you'll need to unpack it, edit "data/local/userinit.sh" and pack it back using zip.
PS
This MAY work with other Samsung AMOLED devices. I can confirm that it works with galaxy tab 7.7 (p6800).
qolob said:
This apk requires way too many permissions for the task it performs... Suspicious...
Click to expand...
Click to collapse
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
splitterzelle said:
It's not suspicious in any way! The developer f4k who wrote this little apk is a very honorable guy, just have a look at his profile and all of the work he does...
This apk does the job perfectly and doesn't do any harm to nothing.
Click to expand...
Click to collapse
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc. and it seems suspicious to me. That's all.
splitterzelle said:
Your remark/comment is very unnessessary here. So why don't you go start a thread your own instead of lousing this one up?
Click to expand...
Click to collapse
When I was searching how to setup screen settings in CM11 on SGS4 I've found only this thread. And when I've managed to solve this problem with alternative method I've decided that other users maybe interested in this information. I've posted to Your thread because I thought that it is a good idea to post all possible solutions for 'S4 amoled display colour profiles with cyanogenmod 11' in one thread to help other people find them quickly and in one place.
Sorry if I was wrong and violated something.
qolob said:
I'm not trying to blame anyone in anything.
I'm not a pro in android programming and maybe such permissions are implied to all apk's that manage system settings.
However I can't see any reason for app that manages screen settings to require permissions to make calls, access user contacts etc.
...
Sorry if I was wrong and violated something.
Click to expand...
Click to collapse
Mostly when there are high ranking permissions for an app requested, it isn't because of maliciousness of the author, it's often just carelessness of the creator not deactivating them in the building tool's presets he uses.
And after all, just don't be so mistrustful about things coming from senior xda developers......
This method I announced here is very simple to install, safe and works perfectly even with the latest nightlies so far.

Default rotation orientation

Hi,
I have a rooted android 4.2.2 tablet ,I want to block the default screen orientation when i turn off the auto rotation , that's mean :
when i turn off the auto rotation and i'm in landscape, i don't want it to turn to portrait (and vice-versa), and i prefer to use a code and not an app that stays always in memory
Someone can help me please?
Thank you
Note : Please quote my post when you want to answer me, like that i will receive an email telling me that there is a new reply
saywow said:
Hi,
I have a rooted android 4.2.2 tablet ,I want to block the default screen orientation when i turn off the auto rotation , that's mean :
when i turn off the auto rotation and i'm in landscape, i don't want it to turn to portrait (and vice-versa), and i prefer to use a code and not an app that stays always in memory
Someone can help me please?
Thank you
Note : Please quote my post when you want to answer me, like that i will receive an email telling me that there is a new reply
Click to expand...
Click to collapse
-If you know to editing apk files then follow these steps.
- Decompile your default system launcher for example SecLauncher2.apk for SAMSUNG phones using apk multitool.
- Go to \res\values folder and open integers.xml.
- Search for this line:
Code:
<integer name="config_screenOrientation">[COLOR="Red"]1[/COLOR]</integer>
- Change the integer number to one of actions bellow:
1 = Disabled
2 = Enabled when Screen Rotation is switched on (270 degree)
3 = As same as 2
4 = Always enabled even if Screen Rotation is switched off (270 degree)
5 = Always default position
6 = Always in landscape mode (to the left)
7 = As same as 5
8 = Always in landscape mode (to the right)
9 = Upside down portrait when Screen Rotation is switched on
10= As same as 4 but for all directions (360 degree)
- Save changes.. recompile, push it to your device and fix permissions to 644 and reboot.
HIT THANKS if i helped you
pandian8552 said:
-If you know to editing apk files then follow these steps.
- Decompile your default system launcher for example SecLauncher2.apk for SAMSUNG phones using apk multitool.
- Go to \res\values folder and open integers.xml.
- Search for this line:
Code:
<integer name="config_screenOrientation">[COLOR="Red"]1[/COLOR]</integer>
- Change the integer number to one of actions bellow:
1 = Disabled
2 = Enabled when Screen Rotation is switched on (270 degree)
3 = As same as 2
4 = Always enabled even if Screen Rotation is switched off (270 degree)
5 = Always default position
6 = Always in landscape mode (to the left)
7 = As same as 5
8 = Always in landscape mode (to the right)
9 = Upside down portrait when Screen Rotation is switched on
10= As same as 4 but for all directions (360 degree)
- Save changes.. recompile, push it to your device and fix permissions to 644 and reboot.
HIT THANKS if i helped you
Click to expand...
Click to collapse
Thank you for your answer , I'm using smart launcher , can i do that using only my tab or i need a computer?!
and i don't know how to "fix permission" can you explain to me please? and i don't really know which option is responding to what i need , is it 5/7th ?!
saywow said:
Thank you for your answer , I'm using smart launcher , can i do that using only my tab or i need a computer?!
and i don't know how to "fix permission" can you explain to me please? and i don't really know which option is responding to what i need , is it 5/7th ?!
Click to expand...
Click to collapse
no no no, i told to edit your home launcher not custom launcher
if your tablet is rooted then go to /system/app/(your system launcher.apk)
and you need a computer with all resources likeJAVA(jdk) , SDK , NotePad++ , for this download each one from THIS SITEEEEEE
and click here for apk multi tool and tutorial for using apk multi tool
if you know editing apk files using means then edit
i think this is new for you then learn it from the above website
PERMISSIONS
if your done editing your system launcher then you have to paste it using root explorer in /system/app/paste and overrite it
when you are pasted it successfully then by long press that apk file a tab opens in that clickpermissions in that tick all read box and tick first box of write
this is spelled as rw-r--r-- where the r-read w-write slash is represented as not to tick
click THANKS if i helped you
pandian8552 said:
no no no, i told to edit your home launcher not custom launcher
if your tablet is rooted then go to /system/app/(your system launcher.apk)
and you need a computer with all resources likeJAVA(jdk) , SDK , NotePad++ , for this download each one from THIS SITEEEEEE
and click here for apk multi tool and tutorial for using apk multi tool
if you know editing apk files using means then edit
i think this is new for you then learn it from the above website
PERMISSIONS
if your done editing your system launcher then you have to paste it using root explorer in /system/app/paste and overrite it
when you are pasted it successfully then by long press that apk file a tab opens in that clickpermissions in that tick all read box and tick first box of write
this is spelled as rw-r--r-- where the r-read w-write slash is represented as not to tick
click THANKS if i helped you
Click to expand...
Click to collapse
Ok thanks a lot , but the problem i have uninstalled the default launcher , what should i do?
saywow said:
Ok thanks a lot , but the problem i have uninstalled the default launcher , what should i do?
Click to expand...
Click to collapse
Then search for your launcher on google you may find solution for that
Give your phone detàils
Sent from my GT-I8552 using XDA Free mobile app
pandian8552 said:
Then search for your launcher on google you may find solution for that
Give your phone detàils
Sent from my GT-I8552 using XDA Free mobile app
Click to expand...
Click to collapse
Ok thanks a lot , idk how but it works now , i've just re-install my frimware and keept smart launcher 2 .
Thank you.

Blackberry Productivity tab for all devices running Android MM and N

This is the method to get the productivity tab (Latest version) on any device running Android MM and N.
New Update (November 11, 2017 )
What's New-Bug fixes
-Performance improvements
Things you need are
-A ADB or Terminal with root access or privileges
-A android Marshmallow or Nougat device
Steps
1--If updating, replace old ProductivityEdge.apk from /system/priv-app/ProductivityEdge folder with the new .apk and reboot.
-If installing for the first time, copy the ProductivityEdge folder to /system/priv-app.
2--Set 755 permission
/system/priv-app/ProductivityEdge
/system/priv-app/ProductivityEdge/oat
/system/priv-app/ProductivityEdge/oat/arm64
Set 644 permission on
/system/priv-app/ProductivityEdge/ProductivityEdge.apk
/system/priv-app/ProductivityEdge/oat/arm64/ProductivityEdge.odex
3--No need to reset the bbry_productivity_edge_enable if you have the Productivity Edge up and working already.
If you're setting up for the first time, run
Code: settings put secure bbry_productivity_edge_enable 1
from ADB or a local terminal with root privileges.
4--Reboot.
(There's a new update which was released in which we can add multiple widgets onto a tab in a single column, move theme around and resize theme as you like. You can even change the name and icon for each individual widget tab. Also you can hide the built-in tabs such a calendar and contacts.) Will release this update as soon as it comes out.
Tested on Pexorom Nougat Sony Xperia X dual sim
Working on my Samsung S4 with rr 7.1.2 ROM. Is it also possible to install the dtek app?
No it's not possible. I tried to edit the apk but it does not work.
Installed but it opens the settings when I finish the setup. Do you need to have other BlackBerry apps installed for it to work?
Yes. BB Calendar,BB Hub,
Install update
Karma,
How to update the newest version BlackBerry Productivity Tab 1.1.0.1192 because in your discription step 1 "how to install an update" failed on my phone?https://forum-lw-1.xda-cdn.com/images/smilies/confused.gif
Karma Kesang Namdak said:
This is the method to get the productivity tab (Latest version) on any device running Android MM and N.
Things you need are
-A ADB or Terminal with root access or privileges
-A android Marshmallow or Nougat device
Steps
1--If updating, delete ProductivityEdge.apk from /system/priv-app/ProductivityEdge folder and reboot ( not necessary)
If installing for the first time, copy the ProductivityEdge folder to /system/priv-app.
2--Set 755 permission
/system/priv-app/ProductivityEdge
/system/priv-app/ProductivityEdge/oat
/system/priv-app/ProductivityEdge/oat/arm64
Set 644 permission on
/system/priv-app/ProductivityEdge/ProductivityEdge.apk
/system/priv-app/ProductivityEdge/oat/arm64/ProductivityEdge.odex
3--No need to reset the bbry_productivity_edge_enable if you have the Productivity Edge up and working already.
If you're setting up for the first time, run
Code: settings put secure bbry_productivity_edge_enable 1
from ADB or a local terminal with root privileges.
4--Reboot.
Tested on Pexorom Nougat Sony Xperia X dual sim
Click to expand...
Click to collapse
Does it need to be flashed through TWRP or installed as an apk?
Can u please create a video for this?
Karma Kesang Namdak said:
This is the method to get the productivity tab (Latest version) on any device running Android MM and N.
Things you need are
-A ADB or Terminal with root access or privileges
-A android Marshmallow or Nougat device
Steps
1--If updating, delete ProductivityEdge.apk from /system/priv-app/ProductivityEdge folder and reboot ( not necessary)
If installing for the first time, copy the ProductivityEdge folder to /system/priv-app.
2--Set 755 permission
/system/priv-app/ProductivityEdge
/system/priv-app/ProductivityEdge/oat
/system/priv-app/ProductivityEdge/oat/arm64
Set 644 permission on
/system/priv-app/ProductivityEdge/ProductivityEdge.apk
/system/priv-app/ProductivityEdge/oat/arm64/ProductivityEdge.odex
3--No need to reset the bbry_productivity_edge_enable if you have the Productivity Edge up and working already.
If you're setting up for the first time, run
Code: settings put secure bbry_productivity_edge_enable 1
from ADB or a local terminal with root privileges.
4--Reboot.
Tested on Pexorom Nougat Sony Xperia X dual sim
Click to expand...
Click to collapse
I don't want to root my device. Is it possible to install it without rooting?
djeniuss said:
I don't want to root my device. Is it possible to install it without rooting?
Click to expand...
Click to collapse
No. Not possible.
Karma Kesang Namdak said:
No. Not possible.
Click to expand...
Click to collapse
Okay, thanks
joecoeur said:
Does it need to be flashed through TWRP or installed as an apk?
Click to expand...
Click to collapse
You need to unzip the file and place the folders manually in the required place. Then set the correct permissions on the folder and apk. Then using a adb terminal which has root permissions enter the lines as stated above. Finally reboot.
(sorry for really late reply. I was busy with school and work)
where are the other apps needed for this to work?
zeratos said:
where are the other apps needed for this to work?
Click to expand...
Click to collapse
You have to install Blackberry Manager app by Cobalt and all the apps needed are in there along with other blackberry apps.
Karma Kesang Namdak said:
You have to install Blackberry Manager app by Cobalt and all the apps needed are in there along with other blackberry apps.
Click to expand...
Click to collapse
Where can i find it?
xaem said:
Where can i find it?
Click to expand...
Click to collapse
Here it is.
The tab is cool, but the animations are so laggy=(
xaem said:
The tab is cool, but the animations are so laggy=(
Click to expand...
Click to collapse
Although not buttery smooth, its smooth enough on my 2015 Motorola moto x play running DOT-OS, android version 7.1.2. Maybe it has something to do with your hardware and ROM.
---------- Post added at 12:04 PM ---------- Previous post was at 12:01 PM ----------
Karma Kesang Namdak said:
This is the method to get the productivity tab (Latest version) on any device running Android MM and N.
New Update (November 11, 2017 )
What's New-Bug fixes
-Performance improvements
Things you need are
-A ADB or Terminal with root access or privileges
-A android Marshmallow or Nougat device
Steps
1--If updating, replace old ProductivityEdge.apk from /system/priv-app/ProductivityEdge folder with the new .apk and reboot.
-If installing for the first time, copy the ProductivityEdge folder to /system/priv-app.
2--Set 755 permission
/system/priv-app/ProductivityEdge
/system/priv-app/ProductivityEdge/oat
/system/priv-app/ProductivityEdge/oat/arm64
Set 644 permission on
/system/priv-app/ProductivityEdge/ProductivityEdge.apk
/system/priv-app/ProductivityEdge/oat/arm64/ProductivityEdge.odex
3--No need to reset the bbry_productivity_edge_enable if you have the Productivity Edge up and working already.
If you're setting up for the first time, run
Code: settings put secure bbry_productivity_edge_enable 1
from ADB or a local terminal with root privileges.
4--Reboot.
(There's a new update which was released in which we can add multiple widgets onto a tab in a single column, move theme around and resize theme as you like. You can even change the name and icon for each individual widget tab. Also you can hide the built-in tabs such a calendar and contacts.) Will release this update as soon as it comes out.
Tested on Pexorom Nougat Sony Xperia X dual sim
Click to expand...
Click to collapse
You are my HERO! Been looking for this everywhere! Works like a charm!
Tested and working on Motorola moto X play (2015). Android 7.1.2 :victory:
Although, you should include installing blackberry hub services+ in your installation guide. For me right after the reboot the tab showed up, but after intro it always took me to the app settings page. Only after installing blackberry hub services+ (using bb manager by cobalt) I got the productivity tab to work.
amal vajdan said:
Although not buttery smooth, its smooth enough on my 2015 Motorola moto x play running DOT-OS, android version 7.1.2. Maybe it has something to do with your hardware and ROM.
---------- Post added at 12:04 PM ---------- Previous post was at 12:01 PM ----------
You are my HERO! Been looking for this everywhere! Works like a charm!
Tested and working on Motorola moto X play (2015). Android 7.1.2 :victory:
Although, you should include installing blackberry hub services+ in your installation guide. For me right after the reboot the tab showed up, but after intro it always took me to the app settings page. Only after installing blackberry hub services+ (using bb manager by cobalt) I got the productivity tab to work.
Click to expand...
Click to collapse
Please can you post screenshot of the BlackBerry Productivity Tab running on your Moto X Play?
djeniuss said:
Please can you post screenshot of the BlackBerry Productivity Tab running on your Moto X Play?
Click to expand...
Click to collapse
I'm using BlackBerry launcher and Hub too. For the apps to work in the productivity tab, they have to be installed first. Like for e.g. for it to show notifications, you have to have hub installed, if you want to use tasks you have to have BlackBerry tasks app installed.
For me it works with almost zero lags. Its almost as good as on a BlackBerry phone. :victory:

Categories

Resources