Camera tutorial for LineageOS and other AOSP based roms. - Samsung Galaxy S7 Guides, News, & Discussion

Hello,
As the google camera on ASOP and LineageOS is pretty bad, then our community has found a good temporal fix. (Thanks core720 for making your thread )
The one and mighty HTC Camera
Altough, there is one problem...... my perfectly rounded icons...... they are gone!!
If you like it the way it is you can only install the HTC Camera(Found by a google search),
if not continue.
So i have found an easy solution to fix that problem.
1) First, you are going to need the APK Editor by SteelWorks (Found at GooglePlay)
2) Download the pixel launcher icons apk (Give it a little google search )
3) Now download the HTC Camera (Found by a google search)
4) Open the APK Editor and press "Select an apk file"
5) Open the download folder and press on the Pixel Launcher icons apk, we are going to do a simple edit so press on that.
6) Now press "res" then "mipmap-xxxhdpi-v4" and press the save icon next to "ic_camera" and save it somewhere where you can find it.
7) Now you close this apk from the bottom of the screen and you can select a new one, select the HTC Camera apk and press "images" at the top of the screen.
8) Scroll down until you find "icon_launcher_camera.png", press the little pencil button next to it.
9) Find your saved Google Camera icon and press on it.
10) Press save at the bottom of the screen and then press install.
11) You are done !
Yay, hopefully you have now got your perfectly rounded icons back. and good luck to you on XDA Community.

Related

Disable wake with Home button!?!

Hey all,
I did a pretty extensive search for this with little luck. I used to have the Note 2 and disabling wake with Home was simply editing the sec_keys.kl file. I tried to edit all the files in the S5 but I can't seem to stop this sucker from waking with the Home button. I don't want to go through a bunch of kernels and roms and whatnot...simply stop it from waking. Has anyone had any luck doing this?
Thanks!
BoomerFZ1 said:
Hey all,
I did a pretty extensive search for this with little luck. I used to have the Note 2 and disabling wake with Home was simply editing the sec_keys.kl file. I tried to edit all the files in the S5 but I can't seem to stop this sucker from waking with the Home button. I don't want to go through a bunch of kernels and roms and whatnot...simply stop it from waking. Has anyone had any luck doing this?
Thanks!
Click to expand...
Click to collapse
I don't think you can do it without rooting your device. might wanna search through the Dev section bud. good luck
Sorry...I should clarify...
It is rooted. I just need to know which file I need to edit. Here's the steps for performing this on the Note 2 but I can't do it with this new phone as there's no "sec_keys.kl":
1. open root explorer
2. navigate to : system/usr/keylayout
3. now press the mount r/w button near the top of screen to enable read and write permissions
4. scroll down to: sec_keys.kl
5. press and hold until menu pops up, select: Open in Text Editor
6. locate line: key 172 HOME WAKE
7. tap behind the word WAKE and delete it so you see: key 172 HOME
8. press menu and select: Save and Exit
BoomerFZ1 said:
It is rooted. I just need to know which file I need to edit. Here's the steps for performing this on the Note 2 but I can't do it with this new phone as there's no "sec_keys.kl":
1. open root explorer
2. navigate to : system/usr/keylayout
3. now press the mount r/w button near the top of screen to enable read and write permissions
4. scroll down to: sec_keys.kl
5. press and hold until menu pops up, select: Open in Text Editor
6. locate line: key 172 HOME WAKE
7. tap behind the word WAKE and delete it so you see: key 172 HOME
8. press menu and select: Save and Exit
Click to expand...
Click to collapse
Since it is rooted, you may want to try to install Wanam Xposed.
http://forum.xda-developers.com/xposed/modules/app-wanam-xposed-customize-stock-t2383484
There is a "Disable Wake Home button" feature and many more.
Do not forget, you need a Xposed framework for this to work.
http://repo.xposed.info/module/de.robv.android.xposed.installer
Deleted

[GUIDE] FIX Theme Engine Bug on N9 (Alternative Method) [SystemUI not Themed]

First of all, this guide uses elements of another method, originally posted on G+ and YouTube (https://www.youtube.com/watch?v=MW1UsCyOidY) but for some reason, on the Nexus 9, this method does not always work. The below method will work 100% of the time on the Nexus 9.
Go into the Theme Engine, and apply the SYSTEM DEFAULT THEME
Open Play Store, and purchase and download SQLite Editor (paid app, have not found a free version that actually works with Root access) - https://play.google.com/store/apps/details?id=com.speedsoftware.sqleditor&hl=en
Open SQLite editor.
In the APP list (selected by default) tap on the Settings Storage entry that says com.android.providers.settings underneath it
Tap on settings.db
Tap on secure
Scroll all the way to the bottom of the list, and long press on themeConfig entry
Tap on DELETE ENTRY
Exit SQLite Editor and go into Settings
Select Apps, and then All
Find the Theme Engine, and tap on it
Select FORCE CLOSE and then CLEAR DATA and clear the Theme Engine's data
Reboot your Nexus 9
Apply whatever theme you would like, and enjoy everything being themed, that was not themed before
Prosper
Please let me know if this method did, or did not work for you. I have tried it on three different N9s that were all experiencing the Theme Engine bug, and it worked on all three.
Thanks for reading.

[stock] Cm launcher with auto-rotation - no computer needed

Need root. Tested on Z1c with stock deodexed rom.
1) Flash this port, (not my work) - http://forum.xda-developers.com/moto-e/themes-apps/app-cm12-1-trebuchet-rom-t3145576 Now you can use Trebuchet on stock rom.
2) Install apktool for Android here - http://onhax.net/tag/apktool-for-android-5-2-0-apk Choose the right version for your phone. I'm using Z1c, so I installed 'arm7'. After installed, go to settings and check 'device has root', then close the app, and reopen to grant root access.
3) Using a root browser, make a directory in storage somewhere called 'apktool', {or something}, and copy the following to it: /system/framework/framework-res.apk, /system/framework/SemcGenericUxpRes/SemcGenericUxpRes.apk, and Trebuchet.apk, (from the zip you flashed).
4) Open apktool, go to apktool directory, and import all 3 files as framework, by tapping them and choosing the option. Now you can decompile Trebuchet, and you should get a folder called Trebuchet-src.
For auto-rotation - go to /res/values/bools.xml and change 'false' to 'true' in the 'allow rotation' line.
For other tweaks - poke around and figure some stuff out. I was trying to change the background in the app drawer, since I don't like the white, and you can see in screenshots that I changed the background behind the background, but the white is still there around the apps. I did it by changing a color value in 'colors', then adding a line in 'apps_customize_pane', but I haven't figured out the other layer. I think it might be in smali somewhere. I also changed the background in Trebuchet settings.
After saving changes, open apktool app and tap on the Trebuchet-src folder and choose 'recompile'. You should get a new apk called 'Trebuchet-src.apk'. Then tap on that, and choose 'sign', which will create a new apk called 'Trebuchet-src-sign.apk', which you can install normally. Note that you might get an error message on recompile about default translation. Don't worry about it; as long as there is a new apk created, it should be fine.
{Mods: I know I'm not a dev, and I was going to just post in Z1c general, but it seems like it may apply to 'cross-device', so I figured I'd give it a shot. Please judge as you will}
Found a couple more layers...
Got it, (kind of - it's a hack)...
This was an old post so not sure it still applies..found it while searching.
Might be a stupid question..but
Does CM Launcher not work in landscape mode? It's not rotating and no setting for it. Can't imagine it doesn't in 2018..
What am I missing here?

[How-To] REMAP CAPACITIVE BUTTONS ON GALAXY S6 [ROOT]

HOW TO REMAP CAPACITIVE BUTTONS ON GALAXY S6​
If you're left handed like me, then you might wanna remap your capacitive buttons if you use the back key more often than the multitask button.
You can remap many other buttons such as volume keys and the power button, just use some logic and you'll figure it out.
As we progress on, you'll realize that there are many more things you can remap other than the physical buttons.
!!!DISCLAIMER!!!
I'm not responsible if this doesn't work for you!
I'm not responsible if your capacitive buttons don't work!
!!!DISCLAIMER!!!
1. You'll need root access for this, otherwise it won't let you edit the file
2. Go to Play Store and download the app called Total Commander (you can use any other file manager that supports root, but this one worked best for me)
3. Open the app, and go to File system root
4. Go to data folder and when it asks you, grant it the permissions
5. Go back and go to the system folder, then to the usr folder and then to the keylayout folder
6. Long press on the Generic.kl file and click on Open as, then on Text and then select Totalcmd Editor
7. Now click on the magnifying glass icon without an arrow in the top right corner
8. Search for the word BACK, but select the Whole Words checkbox
9. Change it to APP_SWITCH (make sure it's capitalized!)
10. Search again for the word MENU and change it to BACK (there may be two MENU words in the file so search twice)
11. Search for the word APP_SWITCH and change it to BACK
12. Click on the Floppy disk icon on the top of the window and then click OK
13. Exit and close the application
14. Reboot your device and enjoy!​
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Change both MENU words to BACK.
thatsupnow said:
What do you change the second MENU in the file??
Sent from my SM-G925W8 using XDA-Developers mobile app
Click to expand...
Click to collapse
Oh, and I see that you may be using CM, I'm not, so I'm not pretty sure if the files are same. I used stock ROM on my Galaxy S6, but I'm pretty sure any other ROM would work, as long as you have the S4 or S5 or S6 or even S7 and the latest version.

How to: -> get more fonts on OREO withou root!

If you want to get mor fonts on OREO ,you can follow this way:
1.) select one ore more of the fonts you want to use here: ->https://forum.xda-developers.com/honor-8/themes/noroot-font-styles-updated-02-09-16-t3453551 and download them to your phone.
2.) rename all files to ...hwt and copy them to internal sd folder themes
3.) tap onto the themes app button to see the option menu and select "text style"
4.) tap onto the font you need and press "apply" (you can’t install them as theme! please use text style option for it!!)
that’s it!
Thanks for this. I'm on Oreo and enabled the system extra fonts via adb. Unlike EMUI5, all I got was 1 more font.
Thanks it's run on PIE :good:
3.) tap onto the themes app button to see the option menu and select "text style"
Click to expand...
Click to collapse
can someone make a screenshot where exactly "tap onto"?

Categories

Resources