Question Password protect TWRP - Samsung Galaxy A12

To prevent someone from acidentally wiping your phone or worse someone tampering and modifying the system theres a way to lock twrp with password
Please note THAT THE PASSWORD YOU SET IS STORED ON PLAIN TEXT.DONT USE A PASSWORD YOU USE FOR OTHER IMPORTANT THINGS SUCH AS GMAIL OR BANKS.
Also THERE IS NO WAY TO RESET FORGOTTEN PASSWORD WITHOUT FLASHING FULL STOCK WITH ODIN WHICH ERASES EVERYTHING INCLUDING INTERNA AL SDCARD SO WRITE THE PASSWORD DOWN AND MAKE SURE TO TYPE RIGHT WHEN SETTING IT UP
Now to requiremnents
Windows pc with python installed
Unlocked bootloader(otherwise you wouldn't be able to install unsigned software) and twrp ibstalled
Usb cable
Unencrypted device(if device is encrypted won't work)
Process.
1.install phython 3 if you dont have it
2.download
GitHub - ant9000/TWRP-protect: Script to password protect a TWRP recovery image
Script to password protect a TWRP recovery image. Contribute to ant9000/TWRP-protect development by creating an account on GitHub.
github.com
Select clone download zip decompress it in a folder of pc
3.backup recovery partition on phone with twrp and transfer it to pc(the backup is on /sdcard/TWRP/backups/[device id]/[backup name]
4.rename recovery.emmc.win to recovery.img and put on same folder as twrp protect
5.run protect script wait for it to download software data and set your desired password(it doesnt ask to confirm it) when it asks you what image you will protect type recovery.img
6.at the end the tool errors out dont worry this is normal on the directory with twrp protect go to android image kitchen then ramdisk and transfer the twres folder to phone
The rest of the process will be done on phone
7.Install MixPlorer on phone if you dont have it
8.download
[TWRP][3.0.2.0] TWRP recovery themed v1.0
I have changed the colours of original TWRP v3.0.2.0, for who want anoother colours and not always the light blue. TEAL THEME MULTI COLOR THEME GREEN THEME ORANGE THEME RED THEME YELLOW THEME BLUE THEME Notes: - language on recovery is...
forum.xda-developers.com
any color doesnt matter
9 with mixplorer open theme extract ui.zip
open extracted ui zip then copy files portrait.xml styles.xml to ui.zip
10.copy modified ui.zip to /sdcard/TWRP/theme
you will need to create theme folder within twrp
dont change ui.zip name to anything else or it wont work
now boot on twrp and enjoy pasword prorected twrp

Remove password
If you have acess to either android ot twrp delete /sdcard/TWRP/theme/ui.zip
If you dont have acess to neither android nor twrp then you will have to flash full stock firmware with odin deleting everythings
Change password
Remove password from phone and delete the twrp protect folder on pc then repeat the entire process of setting a password
Forgotten password?
Try connecting your phone to pc and running the following adb command
adb shell rm /sdcard/TWRP/theme/ui.zip
Then adb reboot
If not work flash full stock odin

Related

[Q] How to sign files so that they work in Android System Recovery 3e

Hello Guys
I am new to android so please correct my mistakes and i will try to give every detail as possible.
I am having Genx tablet GX pad 300 (It is rooted). By mistake i left my tablet as home and my small brother tried to unlock it. As it was password protected so after 15 failed failed attempts, it got hard locked and Asked for my Gmail ID and PASSWORD to unlock. BUT my wifi was disabled so i was not able to reset it.
An other method was to use ADB and bypass the Password, but The usb debugging was disabled so it didnt worked either
thirdly I saw a method (on XDA) to use Recovery mode to flash AROMA Filemanager and delete the files that were related to the password.
​Now the real problem begins so please cross your fingers.
First i copied the 'aroma file manager" .zip file in external sd card. the file is in the attachment and here is the link to its XDA page, click here
First i booted my device into the Recovery mode and seleted the the option "Apply update from external sd" and selected the update file (.zip format). It gave me error
E Signature verfication failed
Installation aborted
I had Android System Recovery 3e
I did a five hour research and came to know that it is security in android system recovery 3e to reject unofficial installation, i came to know that if i have to fix these errors the either i have to flash a Custom rom like CWM or a MODDED Android system recovery 3e which allows the installation of unofficial apps. the problem is that there is now Custom CWM for my device and i dont know how to make one from the source code. Secondly they have to be installed by ADB but i cant acess my device locked. I also found that sometimes we try to flash a new recovery form within a recovery it may brick the device. i also found that the updates that can be flashed by android system recovery should be named Update.zip and should be officially signed.
I know that there are many methods and apps to sign the .zip files so that they are accepted by the Android system recovery 3e.
i came across apps like zipsigner and signapktic both of them are available on google play. I also used used manual method to sign the aroma filemanager .zip file but every thing i tried it gave me the E signature verification error installation aborted.
My Question is this that how to Sign files so that they are accepted in the ANDROID STOCK RECOVERY 3e
Please keep it simple as possible.:good::laugh:
Download APKManager (5.1). Extract it, copy your zip to ./other/ folder, run cmd.exe, change directory to ./other/ then sign using following command in cmd.exe:
java -jar signapk.jar -w testkey.x509.pem testkey.pk8 your-rom.zip signed.zip.
~It does not require internet connect connection..you can sign in to google account without internet~
Me too!
I have the same problem and can not find an answer for my life! I really need something that can sign the zip for the stock recovery!
do not recognize the command

OTA update bootloop fix [S-ON] [BU] [Stock Rooted ROM]

Hi, I found a way to fix this bootloop which happens after you flash the latest ota update if you have unlocked and rooted your stock rom.
I own a HTC E8 China Unicom [M8Sw - dual sim], but I think it will work on other variants.
It is the SU binary/files which are preventing the phone from updating correctly.
You can also restore a clean unrooted TWRP backup and do the OTA update.. it will work just fine.
This tutorial is for those who don't want to lose their app data and modifications.
To be able to update... you need to fully unroot the phone before. Well, this was previously not possible due to system write protection.
(There are also other methods of unrooting. (deleting the SU files manually with the file manager of TWRP recovery) This doesn't work, I have tried it myself..often cause bootloops.)
But now we have a custom recovery mod which enables us to write to the system partition and thus can fully unroot with SuperSU app itself.
Requirements:
-some expertise with adb/flashing/twrp recovery management will be needed.
-stock firmware.zip, inside the OTA zip file, where you will find you stock recovery,boot image, etc
-Stock ROM, rooted with no modified existing system files
-TWRP Recovery from @Captain_Throwback works fine. I used the 2.8.6.0 one. http://forum.xda-developers.com/one-e8/orig-development/recovery-twrp-touch-recovery-t3060188
-untouched Stock Kernel Modules (IMPORTANT)
-SchKernel Extra 3.3, to gain write permission to /system http://forum.xda-developers.com/one-e8/general/schkernel-extra-3-3-t3200090
[UPDATE: SchKernel Extra has been updated to 3.5 and the old one is not available for download on the other thread. You can find attached at the bottom of this section ver3.3 which I had used. Please don't use ver3.5 as a user has reported having bootloop with that.)
-Battery +80 charge recommended...the process gonna demand a lot of power.
-Patience... loads of it....
Disclaimer: I am not responsible if you brick or damage you phone!!
Before you flash anything, be sure to have a working twrp full backup of you phone! In case anything goes wrong.
STEPS:
1. Copy the untouched kernel 'modules' folder [found in system/lib/ in your phone] to another location ( for e.g. to your internal phone memory), you're gonna need it later.
2. Flash the twrp recovery if you haven't already and boot into TWRP recovery.
3. flash SchKernel Extra 3.3 kernel mod. It will launch the aroma installer. There will be options as overclocking/underclocking etc..
I left everything on STOCK option, disabled Swipe2sleep, unselected the everything in the optional addition page. Then went to install it.
4. Reboot, and open SuperSU app, go into setting, tap the FULL UNROOT option, this might take a while. The first time, when the unrooting notice shows and it seems that the app is not doing anything, you might be required to exit the app by pressing home button. Then open the app again and redo FULL UNROOT option. If you exit the app and when re-opening it, the "unrooting notice" is still there, then it means it is working. This might take a bit of trial and error.
5. Ultimately, SuperSU app will close. Then you will need to reboot. You will see that SuperSU is gone and that you have no root access.
6. Now, turn it off again to go to fastboot. Connect to PC and flash the stock boot.img via adb to restore the stock kernel.
8. Then, in twrp recovery, mount /system partition and got to advanced >> file manager..
9. Now browse to /system/lib/ and delete the 'modules folder'.
This is because the SchKernel Extra 3.3 kernel mod flashed previously has modified your kernel modules and when you will try to update the OTA, the stock recovery will report that the kernel modules (xxxxx.ko) has be modified and it will stop the OTA update process.
10. Remember the previous untouched stock 'modules' folder you copied previously, now move it to /system/lib/HERE , to replace the deleted folder.
[DO STEP 9 BEFORE - Don't try to overwrite the folder, it won't be possible. It said operation failed for me. ]
Optional: You might also want to delete su.d folder in \system and init.d folder in system\etc
these files were for the custom kernel and won't be needed anymore.
11. Reboot into fastboot mode, connect to PC (if not already), flash stock recovery.
12. Now, you're good to flash the OTA updates. :good:
-Download it, if not already done.
If ever you have downloaded from PC and copied it to phone, and for whatever reason the phone is not detecting the zip file and asking for install.
Just move it to you exeternal SD card and rename it to "ptt.zip" , go into stock recovery and go down the list to "apply update from SD card"
and it should flash the zip file. When done, select the reboot option and it will say reboot to flash firmware.zip and the will boot. :fingers-crossed:
When booting it will take some time (3 to 8 mins), and then go to the "Android is updating - optimizing apps" screen. This might take a lot of time if you have a lot of apps installed. The phone might get really hot during this process.
When the OS finally boot completely there will be an "HTC" screen and an exclamatin mark in the notification bar. NO WORRIES, it is the just the update working. It will go away when the update is fully processed.
After OTA update is done, you can make a twrp backup of the unrooted system, so that you can restore it for future OTA updates.
If some steps are confusing, feel free to ask for any clarification
Hope I helped you. Don't forget to hit thanks
problem
hi after i flashed SchKernel Extra 3.3 my phone just turned off and won't turn on. what should i do?
neekless said:
hi after i flashed SchKernel Extra 3.3 my phone just turned off and won't turn on. what should i do?
Click to expand...
Click to collapse
how did you flash it exactly?
Did you flash it thought TWRP recovery?
also...what variant of HTC e8 are you using?
Thank you for this guide. :good:
For the newbies, here are exact instructions for each step. TWRP is required; presumably you have this because you've rooted your phone. (If you haven't rooted your phone, what are you doing here?)
Note that rebooting to TWRP can be accomplished in several ways:
Long-press the power button; when prompted choose Reboot. When the screen goes black, press and hold the Volume Down key. This will take you to hboot; from there choose Recovery.
Enable developer mode from settings, plug in to a computer, and issue the command adb reboot recovery.
Also note that it is prudent to do a full TWRP backup to external storage (microSD, USB OTG) before anything else, so you have a good recovery point if things go wrong.
To copy the system/lib/modules directory, you can use a root-enabled file explorer or TWRP. To do it in TWRP:
Reboot to TWRP.
In TWRP, select Mount. Make sure that system is checked.
Back to the main TWRP menu, select Advanced.
In the advanced menu, select File Manager. Then navigate to /system/lib/modules.
Tap on Select, then Copy Folder. Navigate to a new location - I used /sdcard/Backup - and tap Select again. Don't use your external SD or USB-OTG, they may not preserve permissions correctly.
To flash the SchKernel Extra, copy the ZIP file to your device, reboot into TWRP, and select Install. From there, navigate to where you copied the ZIP file and select it; then follow the prompts as sanijsnj specified.
Removing SuperSU works exactly as described. Don't forget to reboot at the end (although it may not be necessary).
To flash the stock boot, in a cmd window where you have the Android SDK, typically in the sub-folder platform-tools enter: fastboot flash boot boot.img (boot.img from the OTA ZIP).
To delete and restore /system/lib/modules, follow the steps above, starting of course from your saved 'modules' directory and copying to /system/lib.
To flash the stock recovery, again in the cmd window enter: fastboot flash recovery recovery.img (recovery.img from the OTA ZIP).

ZTE Zmax Pro EDL Tool - Flash / Backup / Restore in the EDL mode

This tool has been heavily modified for the zte max pro, it was originally posted as the axon 7 tool. Not all features have been included as not all work as of yet for the pro.
ZTE Zmax Pro EDL Tool
BAT-program for Flash / Backup / Restore / Unlock the phone in EDL mode
Qualcomm HS-USB QDLoader 9008 (COM ...)​
!!! Whatever you do, you do at your own risk !!!"
!!! If you are not sure of yourself do not use this program !!!​
Special requirements (read first) !!!
1. The program must be unpacked
2. Before using the program, make sure that:
- It is desirable to copy the program to the root of the disc, for example: C:\ZTE_Zmax_Pro_edl\ or D:\ZTE_Zmax_Pro_edl
- You launched this program as administrator
- You have drivers installed, preferably original for ZTE Zmax Pro
3. Read carefully what the program displays on the screen (I specially wrote the tips, the information is very useful, many questions disappear)
Features of the program:
1. Automatically reboot the phone into EDL mode
2. Finds the connected phone and forces the COM-port speed to 115200
3. Can flash , backup, restore
4. Analyzes folders for missing required files
5. and others ...)))
Structure of program folders:
1. Folder flash - in this folder you need to copy the files you want to flash
Subfolders:
folder full - if you want to flash full firmware (official, adapted for EDL mode), then in this folder you need to put all the files from the firmware for EDL mode:
its name usually looks like this: A2017 _......._ FULL_EDL
folder boot - if you want to flash your kernel file, you need to put a file named: boot.img in this folder (the file name must be exactly that!)
folder recovery - if you want to flash your recovery file, you need to put a file named: recovery.img in this folder (the file name must be exactly that!)
folder modem - if you want to flash your modem file, you need to put a file named: NON-HLOS.bin in this folder (the file name must be exactly that!)
folder splash - if you want to flash your splash file, you need to put a file named: splash.img in this folder (the file name must be exactly that!)
2. Folder backup - the folder contains backup copies of the phone partitions created by the program
Subfolders:
folder all - this folder contains backups of all partitions, except userdata
folder full - this folder contains backup of all partitions included in the FULL EDL firmware
folder boot - this folder contains a backup of the boot partition
folder recovery - this folder contains a backup of the recovery partition
folder modem - this folder contains a backup of the modem partition
folder splash - this folder contains a backup of the splash partition
folder efs - this folder contains backup of the efs partition
3. Folder unlock - contains all the necessary files to unlock (do not touch it!)
4. Folder logs - contains all the logs of the program
5. Folder tools - contains all the necessary files for the program (do not touch it!)
For those who still do not understand how to flash (FAQ):
Question: I want to flash a patched or original boot, how to do this ???
Answer: Download the boot you need, rename it to boot.img and place it in the folder ZTE_Zmax_Pro_edl\flash\boot\. Run the program ZTE_Zmax_Pro_edl.bat and select Flash -> Flash Boot
Question: I want to flash TWRP, how to do this ??? !!! Only for those who unlocked the bootloader !!!
Answer: Download official TWRP or TWRP by @NFound, rename it to recovery.img and place it in the folder ZTE_Zmax_Pro_edl\flash\recovery\. Run the program ZTE_Zmax_Pro_edl.bat and select Flash -> Flash Recovery
Question: I want to flash the modem, how to do this ???
Answer: Download or take the NON-HLOS.bin file from firmware and put it in the folder ZTE_Zmax_Pro_edl\flash\modem\. Run the program ZTE_Zmax_Pro_edl.bat and select Flash -> Flash Modem
Question: I want to flash the splash, how to do this ???
Answer: Download or take the splash.img file from firmware and put it in the folder ZTE_Zmax_Pro_edl\flash\splash\. Run the program ZTE_Zmax_Pro_edl.bat and select Flash -> Flash Splash
!!! Download !!!
View attachment ZTE_Zmax_Pro_edl.zip​
Hi loonycgb2. I have a question. I want flash a full firmware but there in not the optionin the app. Can you help me?
How do you unlock the bootloader on z981?
How do you unlock the bootloader on z981?
fastboot oem unlock command does not work.
the efs backup feature throws an error where it cannot find persist.bin. it also cant restore the backup for the same reason. all done according to instructions

BV9900 TWRP and Root for EAA Firmware

Hello I Port TWRP 3.3.1. and Magisk Manager v23 for rooting BV9900 with Firmware BV9900_EEA_S900AA_V1.0_20200522V12_user_20200523-0035!
If you have Firmware BV9900_EEA_S900AA_V1.0_20191225V08_user_20200103 Update to BV9900_EEA_S900AA_V1.0_20200522V12_user_20200523-0035.
instructions:
You must follow a procedure!
Make Backup because your data will be wiped!
Unlock Botloader!
Flash Firmware BV9900_EEA_S900AA_V1.0_20191225V08_user_20200103 with SP Flash tool -Includet Scatter File
Offical Firmware:
MEGA
MEGA provides free cloud storage with convenient and powerful always-on privacy. Claim your free 20GB now
mega.nz
Boot system
Connect wifi internet
Make system update to version BV9900_EAA_S900AA_V1.0_20200522V12_20200523-0035 - Normal Update in the Phone
Run on PC adb Tool and flash Vbmeta.imf from TWRP Folder:
adb devices
adb reboot-bootloader
fastboot devices
fastboot --disable-verity --disable-verification flash vbmeta vbmeta.img
Power on Mobile
Power off Mobile
Run Sp Flash tool and Flash:
(RECOVERY)TWRP-Recovery 3.3.1.img and
(BOOT)-Boot-Magisk23.img with SP Flash Tool
Disconect Phone from PC
HOLD KEY UP and POWER. Then click Recovery.In TWRP-Recovery Slide "Swipe to Allow Modifications"
Go "Mount" Vendor and nvada
////If you cant mount Data Partition in TWRP-Recovery:
Format Data Partition In TWRP Recovery - You must Formating data not Wipe
Wipe Dalvik/Cache
Reboot to Recovery (check now if you can mount data)
/////
Copy File from BV9900 TWRP&Magisk/fstab/Vendor/etc to vendor/etc
Copy File from BV9900 TWRP&Magisk/fstab/nvdata to nvada
Reboot to System
Instal magisk apk from your launcher....Click ok and restart phone.
Now you can login to google acount.
If you have problem with loading Widgets find build.prop file in mobile or download from Playstore BuildProp Editor
This problem is solved very easily with root access. You just need to fix one line in the build.prop file:
ro.freeme_freemanager=1
ro.hct_autostart_manager=1
In these lines you need to change 1 to 0
Magisk manager works without TWRP great
In TWRP recovery dos not work mtp
And big problem with TWRP is if you formating data then mobile can not recognize sim card (IMEI null,baseband unkown)
If anybody have solution thanks.
Android 10?
Android 9
How remove Chinese text? Thank You.

Question Is there orangefox recovery for SM-A125F/A125M(Mediatek helio p35)(not twrp but orangefox)

Hi.is there orange fox recovery for Galaxy a12 mediatek mtk6765.
I want orange fox because i want to pasdword protec recovery
If orange fox is unavaliable tell me how to apply password lock in twrp
So please either tell me how to install orange fox recovery(if availavle for mtk),someone compile for me (i dont have a strong enough pc for conplin),or tell me how to password protect the latest twrp for this device
I've found a way to protect twrp
GitHub - ant9000/TWRP-protect: Script to password protect a TWRP recovery image
Script to password protect a TWRP recovery image. Contribute to ant9000/TWRP-protect development by creating an account on GitHub.
github.com
[TWRP][3.0.2.0] TWRP recovery themed v1.0
I have changed the colours of original TWRP v3.0.2.0, for who want anoother colours and not always the light blue. TEAL THEME MULTI COLOR THEME GREEN THEME ORANGE THEME RED THEME YELLOW THEME BLUE THEME Notes: - language on recovery is...
forum.xda-developers.com
Backup the recovery partition then transfer backup to pc rename recovery.emmc.win to recovery.img and put on same folder as twrp protect script follow instructions until you get to the end and errors out now on the android image kitchen folder open ramdisk and transfer twres to phone now download any theme from other linx and use mixxplorer to replace portrait.xml and styles.xml ot the theme ui.zip with the ones you created in pc then put ui.zip in /sdcard/TWRP/themes/ui.zip(create themes folder) now enjoy

Categories

Resources