[port]Ultra stamina mode - Sony Xperia T2 Ultra

PHP:
/*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Hit thanks if work for u
After so many search on internet and xda developer i found a way for ultra stamina port
and its also have multi user
step 1-install both apk file as normal apks
step 2-then reboot to recovery and intall zip
Tadddaa ultra stamina mode and multi user in setting
tested and working on sony d5322
View attachment 3566179
View attachment 3566180
View attachment 3568188

hi...
I installed this. but having one doubt that after exiting ultra stamina mode phone is re-starting...Is this normal???
thank u.

bsvinod said:
hi...
I installed this. but having one doubt that after exiting ultra stamina mode phone is re-starting...Is this normal???
thank u.
Click to expand...
Click to collapse
Yes,because ultra stamina mode disabled all backgrounds application and many functions so after disabling ultra stamina mode phone restart..

User selection in lock screen
Unable to select user in lock screen, is there any way to add this???

bsvinod said:
Unable to select user in lock screen, is there any way to add this???
Click to expand...
Click to collapse
No for that we need system ui from Z1 or Z2 another which have multi user..but that didn't work on our phone..

What is boot to recovery means ?? How to do

If u don't have a recovery then u can also.. Replace the build.prop which I have in that zip or intall dual recovary from intaller zip and connect your phone with debugging on and give root permission
http://nut.xperia-files.com
In zip u will see intall.bat file click on that and press 1 then enter do what the say. You will boot into recovary

sarath1701 said:
What is boot to recovery means ?? How to do
Click to expand...
Click to collapse
If u don't have a recovery then u can also.. Replace the build.prop which I have in that zip or intall dual recovary from intaller zip and connect your phone with debugging on and give root permission
http://nut.xperia-files.com
In zip u will see intall.bat file click on that and press 1 then enter do what the say. You will boot into recovary

Related

Viper4Android Working on S6 Edge (Root)

Here is how I got Viper4Android working on my stock rooted S6 Edge. This has been confirmed to work on the original S6 (non-Edge) version (see here).
Try it at your own risk. Also, if you don't know how to rename files, place new files under the "/System/" directory, change permissions, or disable system apps... don't even try to do this. Maybe in the future when we get a true custom recovery we can then create a flashable zip.
Below is what I did to get it to work:
1. Root your phone and install "Busybox". (Search to learn how)
- Example: BusyBox by Stephen (Stericson)
2. Download the latest of Viper4Android APK file and place it under "/System/Priv-app/Viper4Android/" folder. Don't attempt to install it just place the apk in this location. Also make both the Viper4Android folder and apk file have their permission set too 0755 or full access of 0777. ( Permission help, click here )
- Better Option: Alternative download to the Viper4Android APK, attached below. (I personaly use this, and others report better success. This Viper4Android version was originally created and post from this thread)
- Viper4Android Official Thread: http://forum.xda-developers.com/showthread.php?t=2191223
3. Locate the audio_effect.conf file under "/System/etc/" and rename it to "audio_effect.conf.bak". This is to save a copy of original file in case you need to revert back.
4. Download the new "audio_effect.conf.zip" (attached below) and extract the "audio_effect.conf" from the zip to the "/System/etc/" and "/vender/etc/" folders. Make sure the permissions are set to "0644" after dropping the audio_effect.conf in both locations. ( Permission help, click here )
- The "audio_effect.conf.zip" file includes the original stock audio_effect.conf and modified version so you can revert back if needed.
5. Using TitaniumBackup, freeze/disable the following apps:
Adapt Sound 4.0
SoundAlive 3.0
(if you skip the #5 step this install will never work)
6. Reboot your phone.
7. Open Viper4Android. You should be prompt to install drivers and allow superuser access. Do so, and reboot your phone once more.
8.You should be ready to use Viper4Android on your new S6 Edge or S6.
Best of luck!
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
Alternative Installation Method - Flashable Zip
Goto the following to learn how: http://forum.xda-developers.com/showthread.php?p=60417795
* * * * * * * * * * * * * * * * * * * * * * * * * * * *
In case you've never played with Viper4Android or just wanted to try out my effects settings, I've linked them below. In my opinion this can dramatically improve the audio quality with the stock Samsung earplugs.
Effect Profile: S6 Edge 20150402.
NOTE: This is not a flashable zip, you extract the folder into the "/storage/emulated/0/ViPER4Android/Profile". Then use the "Load Effect Profile" from within Viper4Android to get them going. Keep in mind this is tuned to my liking, it may not be great for all... but it's a good base to start from.
Please post your results
This works. Had to install busybox as well though.
elsupermang said:
This works. Had to install busybox as well though.
Click to expand...
Click to collapse
I forgot to add that step.. updating op
Sweet. Can't wait to install this!
It didn't work for me, I did all the steps you listed, and installed busybox before even beginning. I've restarted multiple times, reinstalled Viper too. When I extracted the Viper4Android zip, there were two different apks, one that's 2.xx and one thats 4.xx.
idksomuch said:
It didn't work for me, I did all the steps you listed, and installed busybox before even beginning. I've restarted multiple times, reinstalled Viper too. When I extracted the Viper4Android zip, there were two different apks, one that's 2.xx and one thats 4.xx.
Click to expand...
Click to collapse
Use the APK called ViPER4Android_FX_A4.x.apk. I've attached the APK I'm using to th OP.
That's the one I used,no luck. was I supposed to extract the zip file somewher?
Edit: on second thought,that may be a different file. I'll give it a try after class, thanks
idksomuch said:
That's the one I used,no luck. was I supposed to extract the zip file somewher?
Edit: on second thought,that may be a different file. I'll give it a try after class, thanks
Click to expand...
Click to collapse
You sound like you are not taking the files out of the zip. You can't just place the entire zip file in the directory.
nappent said:
You sound like you are not taking the files out of the zip. You can't just place the entire zip file in the directory.
Click to expand...
Click to collapse
I couldn't get it to work, I placed the apk in priv-app and it wouldn't even install. The older apk you posted installs, after installing the app and installing drivers, it still doesn't work.
I have no idea why you can't get the APK to install. That makes no sense.
Installation worked first time....thanks. I changed permissions for each file after copying to proper place just as a failsafe. rw-r--r 0644
Also in priv_app I put the apk inside a folder named V4A. Name is irrelevant though.
idksomuch said:
I couldn't get it to work, I placed the apk in priv-app and it wouldn't even install. The older apk you posted installs, after installing the app and installing drivers, it still doesn't work.
Click to expand...
Click to collapse
Are you making sure to set the permissions to rw-r-r?
0dBu said:
Are you making sure to set the permissions to rw-r-r?
Click to expand...
Click to collapse
What exactly does rw-r-r mean? I understood pretty much every other step but that one.
Nvm. I think I got it and the drivers installed correctly. Thanks everyone!
Thanks! Getting Viper working for the Edge made my miss my SGS4 no more.
This mod alone is so worth going back to android for. This was my bread and butter when it came to listening to music. People that tried my headphones on couldn't believe how perfect the sound was. Can't wait to get my S6 Edge.
Sent from my soon to be my Galaxy S6 Edge
I can't get it to work. Says busybox is not installed when it is, I have rebooted and everything but viper does not want to install without busybox.
Any ideas?
What did you use to install busybox?
nappent said:
What did you use to install busybox?
Click to expand...
Click to collapse
The app from play store. I've used viper for the longest time and busy box never gave me an issue. Hmmm
nappent said:
Please post your results
Click to expand...
Click to collapse
How did you get busybox working? Viper4android doesn't recognize I have it installed.

***root_your_e700h_with_recovery_twrp_3.0.2.0***

Simple And Easy Method​
Code:
[FONT="Courier New"][COLOR="Red"][SIZE="1"]* Your warranty is now void.
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you. Hard. A lot[/SIZE][/COLOR][/FONT]
INSTRUCTIONS 1:
1. Download and install Odin/usb drivers.
2. Power off the device and boot into download mode by holding [VOLUME DOWN+HOME +POWER].
3. A Warning screen appears,now press volume up once and connect the phone to the PC.
4. Open Odin with admin rights and you should see the phone added at some ID COM: port,
if not then you have to download and install the appropriate drivers.
5. Now click on AP and select the downloaded recovery file.
6. Press start And It will reboots.
INSTRUCTION 2
1.Copy Downloaded Supersu zip to Your SD
2.Power of Your device
3.Hold volume up+home+power to enter into recovery mode.
4.Press Install And Select zip from SD
5.Swipe to Install​
DOWNLOADS​Twrp3.0.2.0.tar.md5 With ODIN​SuperSu​
Does this also work for E700F too?
Theareach said:
Does this also work for E700F too?
Click to expand...
Click to collapse
i don't know brother.....try it and let me know
Rizoo27 said:
i don't know brother.....try it and let me know
Click to expand...
Click to collapse
So I gave it a try! Surprisingly, it works! Everything seems to work just fine for my variant, but the brightness doesn't. Well, I was looking for a functional custom recovery for a long time so yeah, It won't be my issue. Thanks
Theareach said:
So I gave it a try! Surprisingly, it works! Everything seems to work just fine for my variant, but the brightness doesn't. Well, I was looking for a functional custom recovery for a long time so yeah, It won't be my issue. Thanks
Click to expand...
Click to collapse
I'm glad it worked for u....:good::good: Happy To Help for brightness just go to settings and select brightness symbol and adjust ur brightness hope it works and thank u for testing
Thank you @Rizoo27.. can i flash this 4.4 stock ?
midhun.akd said:
Thank you @Rizoo27.. can i flash this 4.4 stock ?
Click to expand...
Click to collapse
Twrp i guess will work not to sure about supersu......but u give it try
Theareach said:
So I gave it a try! Surprisingly, it works! Everything seems to work just fine for my variant, but the brightness doesn't. Well, I was looking for a functional custom recovery for a long time so yeah, It won't be my issue. Thanks
Click to expand...
Click to collapse
Try this rom http://forum.xda-developers.com/gal...nt/stockcustomrome700h08november2016-t3496190
midhun.akd said:
Thank you @Rizoo27.. can i flash this 4.4 stock ?
Click to expand...
Click to collapse
Try this rom http://forum.xda-developers.com/gal...nt/stockcustomrome700h08november2016-t3496190
Rizoo27 said:
Try this rom http://forum.xda-developers.com/gal...nt/stockcustomrome700h08november2016-t3496190
Click to expand...
Click to collapse
Hello Rizzo I testing now
---------- Post added at 04:23 PM ---------- Previous post was at 04:19 PM ----------
Tested run perfectly with E700m
Thanks
If possible analize this post
http://forum.xda-developers.com/gal...ot-how-to-enable-otg-support-android-t3519835
Rizoo27 said:
Try this rom http://forum.xda-developers.com/gal...nt/stockcustomrome700h08november2016-t3496190
Click to expand...
Click to collapse
Has anyone confirmed that this work on E7OOF, bro?
If possible test otg support in your rom
Thanks
This one working flawlessly, thank you!
Sent from my SM-E700H using Tapatalk
Works as expected.
Recovery works good, although the brightness issue still persists. Proper node path for brightness setting seems to be
PHP:
/sys/devices/soc.0/1a00000.qcom,mdss_mdp/qcom,mdss_fb_primary.136/leds/lcd-backlight/brightness
in the stock ROM kernel, as echoing different values between 0-255 on that node changes the device brightness on the fly in my testing.
Though that "RECOVERY IS NOT SEANDROID ENFORCING" bothers me too much so I added the string SEANDROIDENFORCE to the end of recovery image provided in the OP.
As I use Apps2SD to keep some apps on microSD Card, I've also added an fstab entry for the second partition of type ext4 at /dev/block/mmcblk1p1 with mount point name /sdext2.
I suppose absence of a second partition on microSD Card wouldn't affect booting of recovery if I put a different card in my phone ?
At any rate, the modded recovery image's zip is in attachments for anyone to test out, test is whether it fails to boot when it can't mount 2nd partition from microSD Card.
Test script for brightness path in E700H
I've made a test ash script that attempts to vary device brightness level from minimum to maximum [0-255]. The essential code is as below:
PHP:
# brightness node path
node_path=/sys/devices/soc.0/1a00000.qcom,mdss_mdp/qcom,mdss_fb_primary.136/leds/lcd-backlight/brightness
# while loop to demonstrate brightness changes
# $i must be [0-255]
i=0
counter=0
while [ $i -le 255 ]
do
# clear
counter=`expr $counter + 1`
echo "brightness = $i, brightnessLevel=$counter"
sleep 1 # try to minimize the effect of lags
echo -n $i > $node_path
i=`expr $i + 15`
sleep 1
done
I'll link a tar.gz attachment of the script for anyone interested to test it out.
The testing steps are :
1. Put the brightness_test script file in /data/local/ or any other directory with read/write/execute access.
2. Set proper permission for the script: chmod a+x ./brightness_test.sh
>>At this stage you could run it in your current ROM if you wish. But as test
is for the TWRP given by OP,
3. Power down and reboot to recovery.
4. Go to advanced >> terminal , choose directory "/data/local" or where you put the script file.
5. Run it, "./brightness_test.sh"
Expected results should be, device brightness reduces, and then begins to rise as the while loop runs.
The expected results should be as shows in this video:
https://youtu.be/TBByqHRSyiA
@Rizoo27 , could this discovery of brightness node, allow the brightness setting in TWRP provided by you to work as intended?
Please respond!
I too seek to build the recovery as a learning exercise.

Is it possible to root Xperia M5 6.0?

As the the title says, is it possible to root M5 on 6.0 Marshmallow?
Thinking of buying this phone 2nd hand, but need to know if root is possible.
Thanks
Yes
LeRobE said:
As the the title says, is it possible to root M5 on 6.0 Marshmallow?
Thinking of buying this phone 2nd hand, but need to know if root is possible.
Thanks
Click to expand...
Click to collapse
I'm still finding ways to root mine (it's an E5606 variant).
I've found guides but it's a bit hard unless you know the whole process. I recommend you see other phones before buying this. Another issue is the battery. It suddenly shuts down because a disfunction of batt's circuit. Ah, and if you want to flash some roms on it, you can't do it symply, you need and scs file, or your phone will brick. Consider it before buying.
PS: I'm waiting root months ago (for 6.0 of course.) There's some guide but it implies DRM keys, and i forgot to backup them. So, if something goes wrong, i'm dead.
Seriously??
Years after...... Xperia M5 has not been rooted successfully yet?
Thanks for the information!
Decided not to buy it
*facepalms*
Yes, and I just rooted mine. Also, it's officially supported by Sony.
I can't post links here because I'm a new user, but the website is:
developer . sonymobile.com / unlockbootloader
PS: I selected "Xperia M" on the select box because there's no M5, but it worked.
loureirorg said:
Yes, and I just rooted mine. Also, it's officially supported by Sony.
I can't post links here because I'm a new user, but the website is:
developer . sonymobile.com / unlockbootloader
PS: I selected "Xperia M" on the select box because there's no M5, but it worked.
Click to expand...
Click to collapse
Can anyone else confirm that it works ?
Afdabrikman said:
Can anyone else confirm that it works ?
Click to expand...
Click to collapse
Just to clarify, there are 3 steps:
1. Unlock the bootloader on the Sony website;
2. Install a custom recovery (like TWRP);
3. Install a custom kernel with sudo support (use your custom recovery for this);
Note about DRM Keys:
Some tutorials recommend you to save the DRM keys before unlocking your boodloader. They say that without these DRM keys, all DRM based software (like Netflix, Spotify and the bravia engine) won't work. I say this is BS. Everything works fine: Netflix, Spotify, the Bravia engine. These Sony DRM keys are not the same DRM keys used by Android software.
----
Detailed steps:
1. Unlock bootloader:
* Note: this will wipe your data, so do a backup before;
* Note II: see "Note about DRM Keys" above;
* Go to: https://developer.sonymobile.com/unlockbootloader/unlock-yourboot-loader/
* Select “Xperia M” (there's no M5), put your email and your phone's IMEI
* Confirm your email, get the fastboot command
* On phone, enter in fastboot mode (vol up + put cable, keep pressing vol-up until: vibration and a black screen);
* Run the 2 fastboot commands you received on email (fastboot devices, fastboot ...);
* Reboot with a “fastboot reboot”
2. TWRP Custom Recovery:
* Download: https://mega.nz/#!NZIlBL5Y!xSHX-Gn0Dk9omRG-RJY3QOzr7MQD_uuzCrtv7CMPBTc
* Run: fastboot flash recovery recovery.img
* Tutorial: https://developer.sonymobile.com/20...for-a-range-of-unlocked-xperia-devices-video/
3. Kernel with Sudo:
* Follow instructions here: https://forum.xda-developers.com/xperia-m5/development/kernel-stock-marshmallow-kernel-root-t3453072
* If your kernel version is different, you can install a stock ROM with the right kernel version.
* Other methods won't work:
__* I tried Kingoroot, one click root, etc. None worked.
__* Sudo.apk on custom recovery: DO NOT try to install sudo.apk through the custom recovery. If you do that, you will soft brick your phone - your screen will be freeze on the Sony logo (no panic, it's possible to revert this brick by installing the stock rom).
--
Custom ROMs:
There are some on this forum, all from the "TRXteam" user, but DO NOT install them. They don't have support for camera, phone calls, etc. TRXteam is not working on these ROMs anymore. If you install them, you will need to revert to the stock ROM.
---
Shortcuts:
* Forced shutdown: vol up + power = keep pressing (it takes about 10 seconds) until a small vibration and keep going until a three-vibration.
* Fastboot mode: turn your phone off, then press vol up + put cable, keep pressing until vibrates+black screen. Run a "fastboot devices" command on your pc to test if it worked.
* Recovery mode: turn your phone off, then press vol down + power, then on logo, release the power button but keep pressing the down button until the recovery screen
--
Stock ROM (works on linux, windows, mac):
Usually, a Stock ROM is only necessary if you screwed up your phone.
You don't need this step when rooting your phone (unless you need a specific kernel version or if you soft bricked it).
This reverts your phone to the factory software, like a brand new phone and ALL your data will be wiped.
Step 1: Creating a TRT image
* You can use this tutorial instead: http://www.xperiablog.net/2014/08/1...re-files-using-xperifirm-and-flashtool-guide/
* Download Flashtool: http://www.flashtool.net/downloads.php
* Patch Flashtool: download "x10flasher.jar" from the above website, then copy this file to the Flashtool root folder (if you don't do it, you will get a "unresponsive app" while flashing);
* Download XperiFirm: https://mega.nz/#!0MohiK5A!m6zJs359UxbRgS3fP8a1Qyf0Jcr_I1sGFladNAZODDo
* Open XperiFirm and download stock ROM:
__* Settings > Uncheck “Unpack firmware automatically”
__* Xperia M5 (Holly) > E5663 Dual > Service Exchange Unit > Click on the “Available Firmware” item > Download
* Open the downloaded folder (ex. “E5653_Customized AU_1297-5795_30.2.A.1.21_R4B”)
__* Manually delete this file: “fwinfo.xml” (if it is there)
__* If you don’t delete it, the firmware WILL corrupt and BRICK your phone!!!!
__* Check if is there any FILE_* files. It should have. If there's none, it's because you didn't uncheck “Unpack firmware automatically” option on settings. Uncheck, remove this folder and download again.
* Open Flashtool, select “Xperia M5”
* Click Tools > Bundles > FILESET Decrypt > Chose ROM folder (with FILES_* files)
* Select all files (around 4) > Right arrow (to move) > Convert
* Once it finishes, it will open a new pop up (Bundler)
* Click “Device” field twice > Xperia M5 > E5663
* Branding (it’s just a text field, it doesn’t matter what you put actually): International
* Version (also just a text field): Put the firmware version you downloaded (is in the folder name). Ex.: “30.0.B.1.23_R1A”
* Move all items from left to right, except the “.ta” files (usually 2: cust-reset.ta and simlock.ta)
* Click “Convert”
* “A FSC script was found. Do you want to include it?”: Choose YES!!!! If you choose no, it will HARD F* BRICK your phone. A HARD BRICK can't be undone (not that I know).
* Step 2: Flashing
* Tutorial: http://www.xperiablog.net/2014/06/01/debrand-your-xperia-z2-tutorial/
Do I have to be rooted beforehand to do any of this ?
Afdabrikman said:
Do I have to be rooted beforehand to do any of this ?
Click to expand...
Click to collapse
To backup your DRM keys yes you do
hi. use magisk manager to root device is working fine on my m5 single sim.
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
Hello Rinogsm!
Please give more information on how you did this.
Thank you!
connectix said:
Hello Rinogsm!
Please give more information on how you did this.
Thank you!
Click to expand...
Click to collapse
You should take a look at this Youtube video it has link's to download everything you will need for twrp and root (for marshmallow only)
Just flash twrp and then the modified boot.img via command prompt,adb fastboot drivers are also available via the link.
Click here and it will take you straight to the Youtube channel.(at Youtube channel you'll have to select show more to access the link addresses for download)
I have used the method successfully,,The only known issue i have noticed is that my phone switches on when i plug in phone charger, however if your charging your phone i assume that you'll be powering it up
Goodluck..
help me
Does this video work? I'm following the tutorial, and unlock the bootloader now I'm going in the part of installing the twrp but I'm not totally sure, should I install another rom? or can I do it with my marshmallow stock? I read in other tutorials that unlocking the bootloader could downgrade to 5.1 lollipop, I'm a little tangled in that and nobody says anything, nor those who have already achieved, sorry for my bad English
Help
Hi guys! I've tried the root method from this thread and it worked perfectly. After that, I've tried to remove some Sony apps from the firmware and accidentally removed the notorious Download Manager. Now I can't use google play chrome and other Google apps anymore. Does anybody have any advise? Reinstall Download manager would be easy but I can't find the apk file anywhere. Would reinstalling the firmware help?
Thanks in advance!
As it looks, nobody is reading this thread so I have to answer to my self. I found a way to extract firmware apps from ftf but that didn't solve the problem. Download manager was installed but could not start. I already wanted to give up because flashing according to Sony would brick my phone so there was nothing more I could do. Then I thought that I have nothing to lose so I flashed with FlashTool and It's alive again. Many thanks to farshad9500gy cyberzeroXDA loureirorg and others.
spekis said:
Hi guys! I've tried the root method from this thread and it worked perfectly. After that, I've tried to remove some Sony apps from the firmware and accidentally removed the notorious Download Manager. Now I can't use google play chrome and other Google apps anymore. Does anybody have any advise? Reinstall Download manager would be easy but I can't find the apk file anywhere. Would reinstalling the firmware help?
Thanks in advance!
Click to expand...
Click to collapse
Re flash, just be careful next time

[TIP/TRICK] - How to enable app/screen pinning on MIUI [works for other devices]

Code:
/*
* I am not responsible for bricked devices, dead SD cards, data loss,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about tips provided here.
* Before making any alteration to your system make sure you know what you
* are doing and have previously made a backup of all sensitive data!
* YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will just laugh at you.
*/
BEWARE THE APP LINKED IN THIS THREAD ALLOW YOU TO MAKE MODIFICATIONS TO YOUR OPERATING SYSTEM WHICH CAN SERIOUSLY MESS UP YOUR DEVICE, SOME YOU MIGHT NOT BE ABLE TO RECOVER FROM
Credits for this trick goes to those two threads here and here where I found the technique.
As being said by @Thakur here are the steps to reproduce to enable app pinning.
[email protected] said:
Steps to activate/disable Screen pinning:
- Install Settings Database Editor
- Open App and go to "System Table"
- Find or Create a key (it didn't exist in my case, so I created it) with name "lock_to_app_enabled" and set value "1" (ON) or "0" (OFF)
Tested in miui global beta 9.3.21 and works flawlessly.
Credits: VAGR2018
Click to expand...
Click to collapse
Despite being last updated in 2018 the app Settings Database Editor by 4A, I can confirm this application works flawlessly on my EEA RN8PRO running MIUI 11.0.2.0 PGGEUXM.
The app being a bit similar to like regedit on Windows, dong go mess up with everything or it might end up with cries and tears.
At this point you already have App Pinning enabled. But only this.
If like for me it was enough, you may want to proceed with the next step which will enable screenlock on unpinning.
Assuming I would find the matching setting for that from a phone running stock android, I grabbed my old non MIUI phone and went to dig for the corresponding setting to lock screen when unpinning.
Turns out we can enable lock on unpinning by just adding an other simple value key in the Secure table.
To be allowed to do so, you first need to grant extra permission to app through adb:
It may not be the case for all devices but for my RN8PRO I needed root (su) to apply the adb command.
Code:
pm grant by4a.setedit22 android.permission.WRITE_SECURE_SETTINGS
Once permission granted, select Secure table in the Settings Database Editor application , and add the following new key:
Code:
lock_in_app_exit_locked 1
All set, you will now be asked to unlock screen once you unpin pinned app by long pressing back.
Hope this helps.
Regards.

(Moto g fast rav) I bricked my device

So, I was trying to flash a custom ROM onto my moto g fast (product name rav), and it's bricked. I can't seem to flash really anything, is there a chance of saving this phone? Anything will help!
Ill try to help u but there a slight twist, do u have a pc? or lappy?
Icicle2413 said:
Ill try to help u but there a slight twist, do u have a pc? or lappy?
Click to expand...
Click to collapse
If u do have a computer, does it recognize your phone?
Icicle2413 said:
Ill try to help u but there a slight twist, do u have a pc? or lappy?
Click to expand...
Click to collapse
Laptop, on Windows 10 Home 1904
Icicle2413 said:
If u do have a computer, does it recognize your phone?
Click to expand...
Click to collapse
When I do fastboot devices it's detected
JN2002 said:
When I do fastboot devices it's detected
Click to expand...
Click to collapse
What does getvar all say
Code:
fastboot getvar all
JN2002 said:
Laptop, on Windows 10 Home 1904
Click to expand...
Click to collapse
good
JN2002 said:
When I do fastboot devices it's detected
Click to expand...
Click to collapse
also good
Code:
* Your warrenty is now void.
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or your getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM.
* before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, I will laugh at you. VERY HARD!
Now follow me:
i-) Connect your device to your lappy, and download SDK Platform-Tools for Windows.
ii-) Go to where u downloaded platform-tools and unzip it. Open the folder.
iii-) Hold Shift and right-click anywhere in the folder, thee should be an option, namely "Open Powershell Window here" or maybe "Open command prompt window here", Its most likely youll get the second option (Open command prompt here). If u see neither. Then open the folder and click "File" in the top right corner. and youll see open either one of the above options.
iv-) Make sure u have connected your device to your lappy, In powershell or cmd and type
adb devices
v-) u should see your device, now reboot to fastboot mode and then type
fastboot devices
. After u see ur device, download twrp-recovery_moto-g8_moto_g_fast.img (Alternate link here)
vi-) Go to the folder where u downloaded the file, next type:
fastboot flash twrp-recovery_moto-g8_moto_g_fast.img
vii-)boot into recovery by pressing and holding the volume down + power button at the same time(when the phone is powered off, obviously).
viii-) This step is crucial!! Click on Settings / File Manager and navigate where u downloaded the lineage-18.1-moto-g8-moto-g-fast-rav-20210222.zip and move it to "/" also called ROOT folder.
Very Important!
Take a complete backup of the phone because the next steps will LITERALLY delete EVERYTHING in your phone INCLUDING the SYSTEM!!​
I think this post is becomig a bit too big so ill post the next part after posting this post.
Icicle2413 said:
Code:
* Your warrenty is now void.
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or your getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM.
* before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, I will laugh at you. VERY HARD!
Now follow me:
i-) Connect your device to your lappy, and download SDK Platform-Tools for Windows.
ii-) Go to where u downloaded platform-tools and unzip it. Open the folder.
iii-) Hold Shift and right anywhere in the folder, thee should be an option, namely "Open Powershell Window here" or maybe "Open command prompt window here", Its most likely youll get the second option (Open command prompt here). If u see neither. Then open the folder and click "File" in the top right corner. and youll see open either one of the above options.
iv-) Make sure u have connected your device to your lappy, In powershell or cmd and type
adb devices
v-) u should see your device, if not, reboot to fastboot mode and then type
fastboot devices
. After u see ur device, download twrp-recovery_moto-g8_moto_g_fast.img (Alternate link here)
vi-) Go to the folder where u downloaded the file, next type:
fastboot flash twrp-recovery_moto-g8_moto_g_fast.img
vii-)boot into recovery by pressing and holding the volume down + power button at the same time(when the phone is powered off, obviously).
viii-) This step is crucial!! Click on Settings / File Manager and navigate where u downloaded the rom.zip and move it to "/" also called ROOT folder.
Very Important!
Take a complete backup of the phone because the next steps will LITERALLY delete EVERYTHING in your phone INCLUDING the SYSTEM!!​
I think this post is becomig a bit too big so ill post the next part after posting this post.
Click to expand...
Click to collapse
ill post the next tomorrow im going to bed.
Icicle2413 said:
ill post the next tomorrow im going to bed.
Click to expand...
Click to collapse
ix-) Now Select Wipe / Advanced Wipe and select everything and swipe to wipe. Then again go to Wipe / format data and type "yes" without the quotes.
x-) Next Tap Install / (Go to root folder) rom.zip and swipe to install.
DONE!!!!!!!!!!!!!!!!!!!!!
JN2002 said:
So, I was trying to flash a custom ROM onto my moto g fast (product name rav), and it's bricked. I can't seem to flash really anything, is there a chance of saving this phone? Anything will help!
Click to expand...
Click to collapse
I bricked my Moto G Fast by trying to flash RetUS firmware without unlocking the bootloader first. Attempts to flash Boost official firmware didn't work.
What did work for me was installing the Lenovo Motorola Rescue and Smart Assistant app on my PC. Even that failed the first couple times I tried it. I think the third or fourth attempt it finally succeeded.
Rescue and Smart Assistant Tool - Motorola
<h6><span style="color:#FFFFFF"><strong>Our Rescue and Smart Assistant tool</strong><br />can help diagnose and resolve issues on your<br />Motorola phone or Lenovo phone/tablet.</span></h6>
www.motorola.com
Did you THEN unlock the bootloader? heh
Icicle2413 said:
Code:
* Your warrenty is now void.
* I am not responsible for bricked devices, dead SD cards, thermonuclear war, or your getting fired because the alarm app failed.
* Please do some research if you have any concerns about features included in this ROM.
* before flashing it! YOU are choosing to make these modifications, and if you point the finger at us for messing up your device, I will laugh at you. VERY HARD!
Now follow me:
i-) Connect your device to your lappy, and download SDK Platform-Tools for Windows.
ii-) Go to where u downloaded platform-tools and unzip it. Open the folder.
iii-) Hold Shift and right-click anywhere in the folder, thee should be an option, namely "Open Powershell Window here" or maybe "Open command prompt window here", Its most likely youll get the second option (Open command prompt here). If u see neither. Then open the folder and click "File" in the top right corner. and youll see open either one of the above options.
iv-) Make sure u have connected your device to your lappy, In powershell or cmd and type
adb devices
v-) u should see your device, now reboot to fastboot mode and then type
fastboot devices
. After u see ur device, download twrp-recovery_moto-g8_moto_g_fast.img (Alternate link here)
vi-) Go to the folder where u downloaded the file, next type:
fastboot flash twrp-recovery_moto-g8_moto_g_fast.img
vii-)boot into recovery by pressing and holding the volume down + power button at the same time(when the phone is powered off, obviously).
viii-) This step is crucial!! Click on Settings / File Manager and navigate where u downloaded the lineage-18.1-moto-g8-moto-g-fast-rav-20210222.zip and move it to "/" also called ROOT folder.
Very Important!
Take a complete backup of the phone because the next steps will LITERALLY delete EVERYTHING in your phone INCLUDING the SYSTEM!!​
I think this post is becomig a bit too big so ill post the next part after posting this post.
Click to expand...
Click to collapse
you know what to do when device recognize on pc on usb but don't go anywhere?. My device recognize on pc but when i will run the blank flash to open the fastboot it don't run the fastboot screen and continues black. The process that i trying to do is connect the phone on pc and turn it on by the connectors on the motherboard, after that theoretically i have to put it in fastboot with blankflash and install the rom by the qualcom driver but it stops on the blankflash part. It's like my phone don't have the fastboot anymore.

Categories

Resources