TWRP and Root - General Questions and Answers

Samsung galaxy A01 (A015F) How to install TWRP and unlock bootloader?

1. Unlock your bootloader enter in download mode Vol+ + Vol- + USB conected to pc (Keep in mind that by doing this you will lose your files, it is advisable to make a backup of your photos, music, etc.)
2. Once you start your cell phone install magisk manager, Choosing the boot.img file of your rom into the app (Tip: Only!!! If your model is SM-A015M Android 11 I leave you my own modified boot.img to flash:
File on MEGA
mega.nz
Otherwise, you can download the firmware (3.79 gb) and extract the boot.img from the firmware of your model SM-A015 M / F ... Android 10, Android 11... etc. And No need for pc
https://samfrew.com/model/SM-A015M/
3. The image will begin to flash
4. When it restarts you will have Root on the cell phone!
------------------------------------------------------------------------------------------------------------------------------------------------
Extra: If you need the custom recovery I give you the link with my TWRP which is installed through the Odin program on a PC (this step does not delete your files)
File on MEGA
mega.nz
Keep in mind that to install TWRP you must deactivate the DM-VERITY & FORCEENCRYPT DISABLER I leave it in a link:
Zackptg5 - Android
zackptg5.com
This is a module that can be installed via magisk, which is necessary to decrypt the system ... so once TWRP is installed, it is advisable to uninstall it via Magisk to avoid R / W errors

Tell me please, without pu it is impossible to flash the phone at all?
Подскажите пожалуйста, без пу прошить телефон вообще нельзя получается?

Related

root redmi note 4 mtk[no ota break]

$$root your Redmi note 4 mtk[nikel] miui without breaking ota updates $$
!! red wolf recovery is only available for snapdragon[mido], so we need an alternative !!
it is an alternative to the red wolf recovery method(google it)
**things required**
1.unlocked bootloader
2.pc running windows
3.twrp cofface recovery (url in comments)
4.latest magisk zip (url in comments)
5.platform tools (url in comments)
+unzip the platform-tools.zip and put it on desktop with the downloaded img file.
+put the magisk zip file in the phone's internal storage.
+boot the phone in fastboot mode and connect it with pc via usb cable
+run cmd as administrator.
++run the commands
1.cd %path to platform-tools%
2. fastboot devices
3.fastboot boot %path to your desktop%\cofface_twrp_nikel_recovery1124.img
[[[common error : can't load the img file
solution: just give the administrative privilages to fastboot.exe]]]
phone will boot in twrp recovery in a few minutes.
+now flash magisk zip
+wipe dalwik/cache. reboot system
=done. install magisk manager apk and start using root apps.
##this will not flash the twrp recovery, only boot temporarily into I,t so that we can root without flashing custom recovery.
******originally the post made for snapdragon version. but i got some problem with mtk version and finally found this solution******
shyamvora5 said:
$$root your Redmi note 4 mtk[nikel] miui without breaking ota updates $$
!! red wolf recovery is only available for snapdragon[mido], so we need an alternative !!
it is an alternative to the red wolf recovery method(google it)
**things required**
1.unlocked bootloader
2.pc running windows
3.twrp cofface recovery (url in comments)
4.latest magisk zip (url in comments)
5.platform tools (url in comments)
+unzip the platform-tools.zip and put it on desktop with the downloaded img file.
+put the magisk zip file in the phone's internal storage.
+boot the phone in fastboot mode and connect it with pc via usb cable
+run cmd as administrator.
++run the commands
1.cd %path to platform-tools%
2. fastboot devices
3.fastboot boot %path to your desktop%\cofface_twrp_nikel_recovery1124.img
[[[common error : can't load the img file
solution: just give the administrative privilages to fastboot.exe]]]
phone will boot in twrp recovery in a few minutes.
+now flash magisk zip
+wipe dalwik/cache. reboot system
=done. install magisk manager apk and start using root apps.
##this will not flash the twrp recovery, only boot temporarily into I,t so that we can root without flashing custom recovery.
******originally the post made for snapdragon version. but i got some problem with mtk version and finally found this solution******
Click to expand...
Click to collapse
download links
https://drive.google.com/open?id=1ScHj3zisQfntLCFlReYQlKtvP0wBT2fC twrp img
https://github.com/topjohnwu/Magisk/releases/download/v16.0/Magisk-v16.0.zip magisk zip
https://dl.google.com/android/repository/platform-tools-latest-windows.zip platform-tools

DOOGEE S70 Lite - Root Method done - Searching for Custom Recovery

Hi there,
I am one of the lucky DOOGEE S70 Lite owners and I want to start a move in developing the typical things like root (done) and TWRP and other tweaks.
In the end, my goal is to modify the system files to make my phone auto booting when a charger is plugged in (done). It shall be my navigation device for my motorcycle.
However I think many others of you may can make use of root privileges (done) or a nice custom recovery for this device. So I'm starting this thread to collect information, give status updates and forcing the development.
So let's start and see what we can do together.
So what do we have?
Status
Bootloader
Bootloader is locked on this phone by default.
There is an instruction to unlock it:
https://gearallnews.com/how-to-unlock-the-bootloader-of-doogee-s70-liteguide/
(gearallnews.com)
Note that there is an option in the Android "Developer Options" to configure Android shall not try to relock Bootloader and reset the change.
For me it worked and it seems that my bootloader was permanently unlocked. You see a warning on bootscreen.
Stock ROM
Stock ROM is available on the internet (Doogee S70 Lite_factory_MT6763T_8.1). Including all tools that are needed to download (flash) it to the phone. A scatter file is included for SP Flash Tool.
This should also help to unbrick the phone if needed.
https://www.getdroidtips.com/stock-rom-doogee-s70-lite-firmware/
(getdroidtips.com)
Tools
SP Flash Tool:
This tool can be used to download (flash) and readback (backup) the whole phone image. Scatter File can be used from the Stock ROM.
https://www.getdroidtips.com/download-smartphone-flash-tool/
(getdroidtips.com)
MTK Droid Tools
This tool is used to create scatter files and to build custom recovery images.
I was able to install and connect the tool but currently it is not working properly. See reply threads.
https://androidmtk.com/download-mtk-droid-tool
(androidmtk.com)
Root
Root can be installed with Magisk Manager.
See https://forum.xda-developers.com/showpost.php?p=79137797&postcount=5 for instuction.
Custom Recovery / CWMR / TWRP
Currently no custom recovery
Auto Boot on power / charger / USB connect
Enter the following commands in a connected ADB console:
Code:
adb reboot bootloader
fastboot oem off-mode-charge 0
fastboot reboot
Other Information
Enabling USB Debugging works as normal.
Relevant Specs
MediaTek Helio P23 (MT6763T)
2300 MHz Octa-core
ARM Mali-G71 MP2 770 MHz
RAM 4 GB
Screen 1080 x 2160 pixels, 403 ppi, 158 ppcm
Android 8.1 Oreo
I will update this first thread if we make progress.
Hope, many of you can help.
Flashtool
First step... Flashtool...
I installed all types of driver I was able to find.
Note that Win10 has to be started without the driver signation checks.
https://www.maketecheasier.com/install-unsigned-drivers-windows10/
And don't forget to run as admin.
Afterwards I was able to use SP Flash Tool to load scatter file of the downloaded Stock ROM.
Then I wrote down the end address until the cache/user data begins.
Then I used the readback function to dump my current image.
This was no problem.
Here some additional information:
https://www.getdroidtips.com/backup-restore-imei-nvram-data-mediatek/
So I am able to backup the current firmware and I guess flashing the stock ROM would also work.
Recovery
Next step... Recovery...
There are several instructions how to create custom recoveries for a MTK Device:
https://forum.xda-developers.com/showthread.php?t=2519432
https://www.youtube.com/watch?v=s66e-kwvKUU&t=1s
and so on
I took the latest version of MKT Droid Tools and was able to connect to the phone.
Hardware, Model, Build number, Build date UTC, Android v, Baseband v, Kernel v
All those fields were shown.
Uboot build v, LCD Driver IC, IMEI 1 and 2 were not shown...
And I had the following errors:
Code:
--->>> Connect to device <<<---
--- ERROR : --- TotalBytesPerChunk Not Found. Set default Page/Spare=2048/64 !!!
--- Unknown ROM structure, backup NOT possible!
ATTENTION! File /system/recovery-from-boot.p which restore factory recovery in case of phone switching on in a normal mode Is Found!
on the tab "root, backup, recovery"...
The button "To process file ROM_ from FlashTool" is locked.
So I'm stuck here...
Maybe I need an other version of MKT Droid Tools?
Or is it possible to use the scatter file somehow to fix this?
I have a dump of my original recovery and I have the scatter with the start and end addresses. Somehow it should be possible to generate a recovery image, isn't it?
I managed to make the phone auto booting when a charger or usb is connected.
That's handy if are like me and wanting to use this phone as a navigation device on the motor cycle.
Here is what I did:
Enable USB Debugging.
Connect Phone with your PC.
Open up a console in your adb directory.
Execute:
Code:
adb reboot bootloader
fastboot oem off-mode-charge 0
fastboot reboot
I just managed to root the device.
Magisk does the job!
Inspired by https://www.youtube.com/watch?v=sATW0cPT_uQ
* I took the "boot.img" file from the image download.
* Placed it on the phone.
* Opened up Magisk Manager.
* "Install" -> "Patch Boot Image File" -> select "boot.img"
* Wait until done.
* Copy the "patched_boot.img" to your PC.
* Open SP Flash Tool and select scatter file (from downloaded image)
* Uncheck all partitions except "boot".
* Update file for "boot" partition with the "patched_boot.img".
* "Download" and plugin phone.
* Flash should be done in seconds.
* Uplug and boot the phone.
* You should have root now managed by Magisk Manager
Have you manage to get a working recovery ?
Beda974 said:
Have you manage to get a working recovery ?
Click to expand...
Click to collapse
No.
But currently I don't see an urgent need for a custom recovery.
Image backups can be done with SP Flash Tool over USB.
And there is a working root method with Magisk Manager.
And it seems that there are not many others that are interested in developing for this device. So my effort in writing down these whole things seems to be useless. You are the first poster here.
Yep I have manage to Root my device with magisk but I want to flash some zip files.
I tried with flashfire, flashify ans rashr but none of thoses work.
GSIs work and you don't need to unlock the bootloader
Hey guys, so apparently you can flash stuff in spflashtool without unlocking the bootloader! Most arm64 a-only GSIs work, thanks to these devices being treble compatible. It will usually fail to boot the 1st time, then ask to factory reset. You NEED the scatter file. I took a screenshot of my phone with the magisk patched-boot.img in the slot. BTW I have the Doogee s70 (not lite), but it should work given that you only need your device's scatter file to backup and flash stuff.
Now we need to figure out how to get gapps on without a custom recovery
I have found a twrp recovery that works.
I just wanted to let everyone know that I found a twrp compatible recovery it's unofficial though so flash at your own risk. I used a unofficial one from the doogee s80 which is actually a twrp recovery from ulefone power 5 by Geo geo. It has the usual encryption bugs and can't flash system images so you will have to flash system images with fastboot or sptools. Also this device is somewhat project treble compatible I am currently running phhussons Android 9.0 asop gsi image on my s70 lite it took a combo of using the twrp recovery and fastboot to make it happen and I had to flash stock firmware on my device a couple times from incompatibility issues and making mistakes. The only bug or issue with the project treble Android 9.0 asop arm64gapps-A-su.img I've seen is mtk engineering mode won't open can send and recieve texts have 4g data can call and my imei number is fine. The reason I flashed the phhussons Andoid 9.0 asop is because one of the compatible phones they have listed is the blackview BV9500 pro this phone shares alot of the same hardware specs with the doogee s70 lite I flashed other project treble gsi images and had to many bugs to consider using them as a daily driver.
TWRP for doogee s70
https://4pda.ru/pages/go/?u=https%3A%2F%2Fyadi.sk%2Fd%2FO-OjCdbyDl_Lww&e=84420395
Help..
Hi, can someone help me? I need to install unoficial linageos 15.1 on my doogee s70 lite ARM64 processor...
Anyone knows what version should i install. Doogee isn't in the compatibility list.
Thanks
lucaspc82 said:
Hi, can someone help me? I need to install unoficial linageos 15.1 on my doogee s70 lite ARM64 processor...
Anyone knows what version should i install. Doogee isn't in the compatibility list.
Thanks
Click to expand...
Click to collapse
U can flash all Treble ROM ; Image for ARM64 A-only device
Unlock Bootloader ( fastboot oem unlock)
Erase system (fastboot erase system)
Install System (fastboot -u flash system name_of_system.img)
Beda974 said:
U can flash all Treble ROM ; Image for ARM64 A-only device
Unlock Bootloader ( fastboot oem unlock)
Erase system (fastboot erase system)
Install System (fastboot -u flash system name_of_system.img)
Click to expand...
Click to collapse
I needed to make work miracast. Finally i sold out the phone and bought an Ulefone Armor 6E. Thanks
Is there a beginner friendly way to root the S70?
doogee s70
Beda974 said:
U can flash all Treble ROM ; Image for ARM64 A-only device
Unlock Bootloader ( fastboot oem unlock)
Erase system (fastboot erase system)
Install System (fastboot -u flash system name_of_system.img)
Click to expand...
Click to collapse
Здравствуйте,я вижу что вы разработчик и хорошо в этом разбираетесь ,я к вам с просьбой и советом ,у меня смартфон doogee s70 ,android 8.1.0 MTK (MT6767T) ,TWRP ,Magisk + root ,это всё я уже установил ,а вот в чем вопрос: как и где мне можно взять прошивку android 10 Q на мой девайс, ???,заранее благодарю !!
---------- Post added at 10:11 PM ---------- Previous post was at 10:03 PM ----------
Beda974 said:
U can flash all Treble ROM ; Image for ARM64 A-only device
Unlock Bootloader ( fastboot oem unlock)
Erase system (fastboot erase system)
Install System (fastboot -u flash system name_of_system.img)
Click to expand...
Click to collapse
Я видел на сайте разработчиков android 10 ARM64 A-only ,его можно прошить на doogee s70 ,объясните пожалуйста !!
Buenas noches amigos me gustaría saber si se puede instalar Android 10 en mi Doogee s70lite

[ROOT] Galaxy J810x Methods Magisk And Twrp

[ROOT] Galaxy J810x Methods Magisk And Twrp
[ROOT Normaly]
1. Download Stock ROM 9.x or upgrade normaly
2. Start your ROM enter configuration, developer options and set Unlock by OEM
3. Download Odin 3.14 and drivers
4. Download Magisk and TWRP 3.3.0 and no-verity-opt-encrypt-6.1.zip
5. Install drivers for J7
6. Copy Magisk and no-verity-opt-encrypt-6.1.zip to SD Card
7. Enter in Stock Recovery and Factory reset
[Download MODE]
8. After this enter in download mode imediatly or your system encrypt
9. no start your stock rom or your system encrypt
10. Open Odin 3.14 flash Stock Bootloader and Modem Only If necessary
11. Flash TWRP with Odin or upgrade via img
12. Reboot imediatly in Recovery
13. Flash Magisk 20
14. Flash no-verity-opt-encrypt-6.1.zip
15. iNTALL your prefered Custom ROM
16. Install Magisk Manager 7.5
17. Press Thanks please
18. in this moment install Havoc or Lineage 17.1
[mAgisk mEthod]
You will need the stock Rom files from Sammobile for your phone model(BL, AP, CP, HOME CSC) and Odin on your PC.
1. Install Magisk manager on your phone.
2 Copy the AP file on your Download folder of your phone.
3 Open Magisk and tap Install Magisk then Select and patch a file. Go on Download folder and select the AP file to patch. After is done it will create a file in your Download folder named magisk_patched.tar. Copy this file back on your PC.
4 Run Odin and put your phone on Download mode. To get in Download mode shut your phone off, Hold pressed VOLUME UP + POWER, select Reboot to bootloader.
5 In Odin select BL, CP and Home_CSC from your stock ROM folder. In AP select the magisk_patched.tar file. Go on Optons and uncheck Auto Reboot. Hit START and let him finish. IMPORTANT, READ FIRST : After is done you have to restart the phone by pressing VOLUME DOWN + POWER and when the screen is black immediately press VOLUME UP + POWER. Dont let go until you are in Recovery mode, even if restarts.
5 select Wipe data/ factory reset and then Reboot system now. Might take a while to boot.
6 Set up your phone and install Magisk Manager again. It will ask you to complete the rooting will need to install few more files. Press OK.
WELL DONE. You have root now.
[RECOVERY][UNOFFICIAL]TWRP 3.3.1-0 Galaxy J8 J810M/F/FN/G/DS
https://forum.xda-developers.com/an...overy-twrp-3-3-1-0-galaxy-j8-j810m-f-t3962423
[Magisk 20.4] Primary option
https://github.com/topjohnwu/Magisk/releases/download/v20.4/Magisk-v20.4.zip
[Manager 7.5.2]
https://www.apkmirror.com/apk/topjohnwu/magisk-manager/magisk-manager-7-5-2-1e2de1bb-release/
[no-verity-opt-encrypt-6.1.zip]
https://build.nethunter.com/android-tools/no-verity-opt-encrypt/
[Official]
Magisk Official Post
https://forum.xda-developers.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445
[RMM State Fix] Miracle box
https://forum.xda-developers.com/ga...-rmm-fix-oreo-8-1-oem-unlock-fix-dez-t3877764
The Secret Of My Seccess is Jesus​
Since you mentioned custom ROMs in the first guide, have you found any that are compatible with the J8? If so, could you link them?
Edit: Found a port of LineageOS 16 (Android 9.0) by the developer Bad Guy. However I couldn't get TWRP to flash it as it always resulted in error 7, despite modifying the file to remove the assert section. The no-verity-opt-encrypt-6.1.zip would not flash either due to error 1.
Someonerandom said:
Since you mentioned custom ROMs in the first guide, have you found any that are compatible with the J8? If so, could you link them?
Edit: Found a port of LineageOS 16 (Android 9.0) by the developer Bad Guy. However I couldn't get TWRP to flash it as it always resulted in error 7, despite modifying the file to remove the assert section. The no-verity-opt-encrypt-6.1.zip would not flash either due to error 1.
Click to expand...
Click to collapse
Hello my friend
technically j8 has a native treble and means that any treble ROM can be installed on the j8 with a custom kernel
If You have time test this ROM
https://forum.xda-developers.com/ga...om-crdroid-6-3-android-q-10-0-galaxy-t4048917
You need Kernel Android 10
Remember backup your files
Unlock oem and USB debugg
hacker812c said:
Hello my friend
technically j8 has a native treble and means that any treble ROM can be installed on the j8 with a custom kernel
If You have time test this ROM
https://forum.xda-developers.com/ga...om-crdroid-6-3-android-q-10-0-galaxy-t4048917
You need Kernel Android 10
Remember backup your files
Unlock oem and USB debugg
Click to expand...
Click to collapse
I have taken a look at your ROM, however I don't think it would work.
The ROM is ARM64, and the Galaxy J8 is an ARM device with a 64-bit binder. This means that the ROM needs to have that architecture to work.
It also requires Spaget X which is built for Exynos, and the J8 is a Snapdragon device.
And on another note, do you happen to know the fix for error 1 on the disable forced encryption zip?
Someonerandom said:
I have taken a look at your ROM, however I don't think it would work.
The ROM is ARM64, and the Galaxy J8 is an ARM device with a 64-bit binder. This means that the ROM needs to have that architecture to work.
It also requires Spaget X which is built for Exynos, and the J8 is a Snapdragon device.
And on another note, do you happen to know the fix for error 1 on the disable forced encryption zip?
Click to expand...
Click to collapse
Yes
If j8 use custom kernel 10
You install any release treble
I have release arm and arm64
Can i do that with android 8?
J810F android 8 or 10 working ???

Galaxy A01 root possible ?

Can I root a galaxy A01, without a PC?
onearm6661 said:
Can I root a galaxy A01, without a PC?
Click to expand...
Click to collapse
Use a one-click root tool
1. Unlock your bootloader enter in download mode Vol+ + Vol- + USB conected to pc (Keep in mind that by doing this you will lose your files, it is advisable to make a backup of your photos, music, etc.)
2. Once you start your cell phone install magisk manager, Choosing the boot.img file of your rom into the app (Tip: Only!!! If your model is SM-A015M Android 11 I leave you my own modified boot.img to flash:
File on MEGA
mega.nz
Otherwise, you can download the firmware (3.79 gb) and extract the boot.img from the firmware of your model SM-A015 M / F ... Android 10, Android 11... etc. And No need for pc
https://samfrew.com/model/SM-A015M/
3. The image will begin to flash
4. When it restarts you will have Root on the cell phone!
------------------------------------------------------------------------------------------------------------------------------------------------
Extra: If you need the custom recovery I give you the link with my TWRP which is installed through the Odin program on a PC (this step does not delete your files)
File on MEGA
mega.nz
Keep in mind that to install TWRP you must deactivate the DM-VERITY & FORCEENCRYPT DISABLER I leave it in a link:
Zackptg5 - Android
zackptg5.com
This is a module that can be installed via magisk, which is necessary to decrypt the system ... so once TWRP is installed, it is advisable to uninstall it via Magisk to avoid R / W errors

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.

Categories

Resources