Cm 14 Root access - YU Yureka General

Hey... I had updated to cm 14.. Android 7. I need root access... In my developer options ..there is no option to enable root access.. And I also tried to zip root package 2.78 .. But I can't..

Goto settings - turn of currently enabled developer options.
Now go back to settings - about - tap 7-8 times on build - enable developer options- root access - and and apps select
Done

Related

[REF] [NOOB] [TIPS] Dictionary/Guide For Noobss

Dictionary for n00b - What is.../What does ...mean?​
Start read from 1st to last one and don't jump from one to another. If you will read all, it bring complex knowladge, if not you can be confused
Read summary to make sure, that you know everything if you think that some part(s) is not necessary to read for you!
If you post link here, please link to 1st post! Than everybody can know, what he/she can find here
Atin001 helps with some updates/corrections in Dictionary - take a minute to thanks him also.
Did you miss something here? Send me PM what you want to have here!
Basics of Unix-like system (ROOT)
su, root, rooting, superuser app - what is it, why we need it
sh, bash, user/root shell - what is bash, sh; what is user shell; what is root shell; how I can recognise it each other
Bussybox - what BusyBox is, basic list of commands from BusyBox
(in progress) Kernel - what is going on? Do I need it?
Android platform and it's specifics
adb shell - what is it, for what it is
Android SDK - what is it, tool which provides, where to download
Tools for work with Android adb shell - Terminal Emulator, ADB shell from Android SDK and how to use it
Custom recovery
What custom recovery is - what custom recovery is
Tools which custom recovery provides - list of tools with description which custom recovery bringing
ADB as root user
USB-MS Toggle
Backup/Restore
Flash ZIP from sdcard
Wipe menu
Partition sdcard + etx2, ext3, ext4 filesystem description
Mounts
Others
Is it save to install? - possible problems, why should I try it?, backup/restore of original recovery
How this whole thing works - Drellisdee's installation steps description/elaboration
Custom ROMs (generally)
What custom ROM is?
Is save install custom ROM? - potencional problems
What I need for install?
What can custom ROM brings - kernel, update, performance, customization, theme, ....
what is ...
deodexed, zipaglined, png-optimized
JIT, HW:acceleration, VM.Heap Size, stagefright
apps2sd + dalvik2sd
custom kernel (recompiled, ...)
Android versions (collecting informations)
List of versions of Android for Optimus One (official&unofficial) - what we can install into our device
What version can be rooted and how? - version list, how to root, which version can be rooted, which can't
Sources (collecting)
http://en.wikipedia.org/wiki/Android_version_history
Tools which you must have
Android SDK Tools (adb shell)
Terminal emulator
KDZ Updater tool
...
So I'm on way, where I can start doing advanced stuff?
Follow Noejn's sign-post You can find here main point for start.
If you now know basic "words of android world" you can take a look on really great tutorial how to root, install recovery and so on.
Have you some questions? Make sure that you look on Mihir287's FAQ
Credits:
The_ERROR,Wikipedia
[Tips]How to increase battery life and performance
There are a few things you can do that will help your battery life and performance
Performance
Do some graphical tweaks
1. Install Spare parts
2. Set Window animations > Fast
3. Set Transition animations > Fast
4. Set Wifi sleep policy > Never While Plugged
Click to expand...
Click to collapse
Adjust Android memory management
1. Install Autokiller
2. Menu > Presets
3. Most people have best results with 'Moderate' but you could also try 'Optimum'
4. Menu > Settings > tick 'Apply settings on boot'
Click to expand...
Click to collapse
Battery
Wipe your battery stats
1. Allow the phone to discharge completely
2. Boot into Bootloader (hold Volume Down and press Power button) >Go to Recovery, plug the phone in if you don't have enough charge to get into recovery
3. Select Wipe > Wipe battery stats
4. Go back and Reboot
5. Leave the phone to do a complete charge (preferably over night)
Click to expand...
Click to collapse
Adjust your radio settings
1. Go to Settings > About phone > System updates > Update PRL (it's normal that the phone process will force close at this point and the radio will reboot)
2. Go to your dialer
3. Dial *#*#INFO#*#*
4. Click 'Phone information'
5. Scroll down to the first dropdown selection and set according to your preference below...
· WCDMA preferred (default) - This will automatically switch you between G/E/3G/H depending on the best signal available by constantly monitoring all signals. This uses the most battery.
· WCDMA Only - If you only want to use 3G/H (3G) and do not want to use G/E (2G) select this.
· GSM auto (PRL) - This is the preferred option as it will allow you to use G/E/3G/H but uses the PRL list on your phone (provided by your carrier in the PRL update) rather than constantly monitoring all frequencies thus saving your battery. This may not work with all carriers if you have difficulty getting mobile data in some areas you will have to use one of the other options.
· GSM only - If you only use G/E (2G) select this (it's the same as selecting '2G only' through the settings menu). This option uses the least battery.
Upon making your selection the radio will reboot and the setting is saved, so just back out back to the dialer and you are done.
Click to expand...
Click to collapse
(edit your /system/build.prop with a file manager with root access)
Code:
wifi.supplicant_scan_interval=180
pm.sleep_mode=
ro.ril.disable.power.collapse=0
(needs ROM with init.d access and busybox, open empty file, insert header #!/system/bin/sh and put these there, save in /system/etc/init.d and name it something like 77tweaks)
Code:
echo "500" > /proc/sys/vm/dirty_expire_centisecs
echo "1000" > /proc/sys/vm/dirty_writeback_centisecs
Some Suggestions
Keep a Black wallpaper or a dark theme
Restart the phone once a day
Switch off GPS, bluetooth, WIFI
Uninstall unused apps
Change Refresh Intervals
Change your charging pattern
Reduce Playing videos
Stop staring at your phone....
don't sync accounts which you don't really use: twitter & LinkedIn contacts, active exchange calendar and tasks etc.
Use throttling software such as SetCPU to lower the devices power requirements when it is idle.
Remove any weather widget from home screens (or atleast reduce the frequency of update)
Don't use any Taskiller
oh...
good...
2nd floor right ...
Turn off Bluetooth, WIFI, automatic brightness and so on ...
Use the sim card does not support WCDMA you choose only GSM...
Spare Parts and Autokiller are Google Play apps, right?
Can any one assist of guide me to get a CRT effect lock screen on my rooted HTC one V.
Kindly avoid suggesting custom roms, need this option for stock firm ware.
This thread has been added to the sticky roll up here
Thank you.

[Q] su not working correct

Hi,
im using the latest slimbean rom (but also tried with the stock rom) and UPDATE-SuperSU-v1.51.zip.
My problem is that the root access is not working correctly. While it works for titanium and droidwall, it is not working for other root programs like root browser. For AdAway it worked once after several restarts.
I´ve granted root access for those programs and it always shows that the root access is granted when the program is trying to do its task. But it always stops with the info that the root acess is missing.
any ideas how to fix this?
We don't have to flash the SuperSU anymore for root to work properly.
For Slimbean, root permission to apps is disabled by default. Can you check to see if it's enabled for "Apps and ADB":
* Settings --> Advanced options --> Superuser --> Settings
OR
* Settings --> Developer options --> Root access
ah great, using the build-in su works fine. thx.
i guess using both caused the problem. i´ve uninstalled super su and flashed slim bean again. works now.

Enable multi windows on Android 6.0.0

It hás some bugs, only for root users
1. Download "Build.prop editor"
2. Find "ro.build.type"
3. Edit it to have the value "userdebug" from "user"
4. Reboot when prompted
5. When the device has booted, go to the developer options
6. Scroll down to the bottom of the "Drawing" category
7. Enable multi-window and have some fun!

How to upgrade Note 2 to newer Android and pass SafetyNet / without being flagged

Hi my friend has a Note 2 who has a very old Android version. Some apps can't be installed without upgrading the system.
I downloaded a custom ROM (Resurrection Remix Android 7.1.2 Nougat) and helped him to flash to upgrade.
However some apps limited the functionality or refused to run. I believe it has to do with the fact it is a custom ROM.
How could I solve the problem? It doesn't matter what ROM to upgrade, as long as:
1. it is stable
2. Android 6 or above (he wants permission manager, preferably with Privacy Guard)
3. can pass SafetyNet and any popular ways app use to detect a custom ROM
Thank you.
You can try to hide root using Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
audit13 said:
You can try to hide root using Magisk: https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Click to expand...
Click to collapse
Hi, I tried now but it still fails to pass SafetyNet check:
ctsProfile: false
basicIntegrity: false
I wonder it is due to the fact this is a custom ROM. Even Magisk couldn't help to pass it.
Magisk hide does not work properly either. I checked the targeted app, went back and returned. The check mark is removed.
You may have to try different combinations of custom ROMs and Magisk.
I have been out of the custom ROM scene but some of the latest Lineage ROMs may not be rooted.
audit13 said:
You may have to try different combinations of custom ROMs and Magisk.
I have been out of the custom ROM scene but some of the latest Lineage ROMs may not be rooted.
Click to expand...
Click to collapse
I'm not quite sure but does Google not let your device pass simply because you use a custom ROM, rooted or not.
It states SafetyNet tries detect whether or not a device is in a known-good state.
Do you know if it is ok to flash other stock ROM of the same series, like Note5/7/8 stock firmware?
Will it solve the issue?
If so, can he get the system updates automatically via the system menu?
Thank you.
Unfortunately, I don't know enough about Google's Safetynet to comment.
There are people who are able to use custom ROMs with apps that do not allow root. Not all custom ROMs are rooted.
You can only flash stock note 2 ROMs to your phone.
audit13 said:
Unfortunately, I don't know enough about Google's Safetynet to comment.
Click to expand...
Click to collapse
Never mind. Thank you so much for you trying to help.
I found the solution. Magisk cannot pass SafetyNet due to a lack of necessary functionality required in the kernel of our devices.
OK I managed to solve it and bypass SafetyNet checks. You have to use Lineage Su and iSu.
Step-by-step guide
Uninstall other su first if you have.
Download Lineage Su and iSu
https://mirrorbits.lineageos.org/su/addonsu-14.1-arm-signed.zip
https://androidfilehost.com/?w=files&flid=120360 (look for "iSu_X_X.apk" where X is version number)
Boot into recovery: For Samsung devices, power off your phone. Then hold "Volume Up + Home + Power Button" to boot.
Select "backup and restore" > "backup to /sdcard" (in case if anything goes wrong, you still have your system backup to restore)
If you download directly from the phone (using the internal memory), select "install zip" > "choose zip from /sdcard". It should be at /sdcard/0/Download/ or /sdcard/Download/.
If you transfer the file from the computer to the external (removable) sdcard, select "install zip" > "choose zip from /storage/sdcard1".
Select "addonsu-14.1-arm-signed.zip" file and select "Yes - Install xxx"
After install, go back to the main menu. Select "reboot system now" > "No" (do not need to fix root)
Install iSu app (Open "File Manager" and click on the iSu apk file. Do NOT use "Files" app. It can't run apk file)
Enable root access. Go to system settings > "Developer options" > "Root access" > "Apps only".
Run iSu app. Change the following:
"Change SU state" = deactivated
"Change SELinux state" = Enforcing

[GUIDE] Samsung A505FN - TWRP + Magisk + FakeGPS (No Reboot + Keep Root acces)

** Unlock Bootldr first in Download Mode.
** Flash (downgrade) to lower Firmware with the same Binary.
** Everytime you use Odin again make sure you click reset and disable auto reboot.
Things you need:
=============
- TWRP (Root + Magisk) - TWRP_A505_QQ_BTC4
- magisk_patched.tar
- Magisk.APK (latest)
- SmaliPatcher-0.0.6.7-fOmey_XDA
** Plug in your cable.
** Do not forget to Enable Developer Options
1) Enable OEM + Debug and Flash Stockrom in Odin
** If Oem doesn't show up.. Op en General Management/ Date and Time/ Disable 'Use 24-hour format'
** Connect to WI-FI and reboot the Phone, it will show up.
2) Now turn 'Off' the phone.
3) Now hold Down Button and Power Button, the Download Menu will show up.
4) Now open Odin and flash TWRP_A505_QQ_BTC4.tar
5) Once done.. hold Down Button and Power Button for 7sec.
6) Now the Phone will reboot a few times, wait till your able to config it.
** Do not connect with WI-FI yet.
7) Once done.. enable 'Developer Options'
** Do not forget to Enable Developer Options again.
** Disable Auto Update System
** Enable USB Debugging
** Disable Auto Download over WI-FI in 'Software Information'
8) Put Magisk.APK on the Micro SD Card from the phone and install the APK.
Run the App and leave it open.
Now extract the Update Firmware from your phone model and copy the AP file to your desktop.
Connect the phone to Pc and place the AP file on the Micro SD Card.
Go back to the app 'Magisk' on the phone and select 'Magisk is not installed - Install'
Tab 'Install' and choose 'Select and Patch a File'
Now open the file AP and the app will start flashing.
Once the 'Image' is written.. press the disk image in the right top corner.
Now on Pc check the phone storage and open the folder 'Download'
Copy the files magisk_install_log_2020-08-11T02:25:08Z.log and magisk_patched.tar to Pc.
Once done
9) Now turn 'Off' the phone.
10) Hold Down Button and Power Button, the Download Menu will show up.
11) Now flash magisk_patched.tar in AP and BL, CP, Home_CSC from the Original Firmware.
12) Once done.. hold Down Button and Power Button.
13) Now the device will reboot a few times.. and you will be to configure it.
** Unplug your cord.
** Dont enable WI-FI yet in these options.
** If it doesn't start after 5min press Down Button and Power Button for 7sec.
** If it is rebooting when you configure it.. than just repeat to configure it once booted.
** Still rebooting? Make sure you press OK after the warning screen when its rebooting.
14) Once on the Phone screen.. Open Magisk APK and it will be installed.
** Check also with Root Checker to confirm.
15) Now connect to WI-FI and open Magisk app, (Dont let it download the ZIP file if it ask for)
** If it ask you to do.. clear cache and data in Settings/ Apps
16) Once done close the app again..
17) Now your device is rooted.
** Do not forget to Enable Developer Options again.
** Disable Auto Update System
** Enable USB Debugging
** Disable Auto Download over WI-FI in 'Software Information'
18) Run ADB and follow steps to install + Drivers.
Once done press OK.
19) SmaliPatcher
** Make sure 'Developer Options' and 'USB Debugging' is enabled.
Connect your phone from USB to Pc.
On the phone press 'OK' to enable 'USB Debugging'
Run SmaliPatcher and it will download the latest necessary binary's.
Now enable the options below.
- Mock Locations
- Secure Flag
- Signature Spoofing
- Samsung Knox
Now click on 'ADB PAtch' and wait till the task is done.
A file named '[email protected]' is now generated in the SmaliPatcher folder.
20) Install Module
Copy the output file '[email protected]' to Micro SD Card.
Now open 'Magisk' and in the options select 'Modules'
Tab on the + and search for the file you placed on the Micro SD Card.
Once done.. reboot the phone.
21) Install Fake GPS Location
Open up 'Play store' and search for Fake GPS Location - GPS Joystick (The App Ninjas)
Once installed.. go back to 'Developer Options'
Find the option 'Mock location app' and tab on it.
Choose 'GPS Joysctick' and close the menu.
22) Link2SD
Open up 'Play store' and search for Link2SD
Once installed.. open the app.
Grant acces and search for 'GPS Joystick'
Tab on it to open and tab again above in the right corner for options.
Now choose 'Convert to system app' and press 'OK'
Once done.. close the menu and reboot the phone.
** If this method didn't work.. go to App Store and download Root Browser.
** Copy the apk to root Directory/ System/ App/ (File Here)
** You could also load ADB Shell - SU - Mount - cp xxxx.apk /system/app or mv xxxx. apk /system/app
(Or search Google for isunshare 2 Ways to Convert User App to System App on Android)
23) Pokémon GO
Open up 'Play Store' and search for Pokémon GO.
Once installed.. close the menu.
24) Hide Magisk
Open the app and go to settings.
Enable the option 'Magisk Hide'
After this step search for 'Hide Magisk Manager'
Tab on it and rename it to 'Manager'
Once done.. Reboot your phone.
** To prevent losing Root acces..
I also provide you to check and disable every security option from apps and settings.
I used Method 1 & 2 for two times, after that it allowed me to update it to latest magisk v20.4
Also i disabled most security options on the phone and Magisk keeped root acces.
Method 1 !!
=========
1) Open settings.
2) Tab on About Phone.
3) Now scroll down and under 'Looking for something else' tab 'Reset'
4) Tab on Factory Data Reset and tab Reset/ Delete All.
5) Open Magisk and select 'Cancel' the download.
6) Now close the app and reboot your Phone.
7) Phone will reboot and keep Root acces.
Method 2 !!
=========
1) Open Settings.
2) Go to Apps.
3) Search for Magisk.
4) Tab on Storage.
5) Clear Caché and Data.
6) Now reboot your phone and it keep Root Acces without Rebooting every 10sec.
I am waiting for the day when someone will post a guide like this to fully enable camera2api and make Gcam work.

Categories

Resources