Fazer Root - General Questions and Answers

eu quero fazer o root no meu Multilaser H (Android 9), mas não encontro uma forma mais simples de fazer isso e, a maioria delas, usa o magisk sendo, por enquanto, a maneira que tenho tentado. Porém eu gostaria de saber se há alguma forma mais simples de se ter acesso ao superusuário. Há arquivos que quero recuperar e várias outras coisas que esse processo me permitir.
Mod translation: I want to root my Multilaser H (Android 9), but I can't find a simpler way to do it, and most of them use magisk, which is, for now, the way I've been trying. But I would like to know if there is a simpler way to access the superuser. There are files I want to recover and various other things this process will allow me to do.

To fetch data from device rooting Android is basically not needed, this can get achieved if ADB was successfully initialized on device: unplug device from PC if connected, then boot device into recovery mode , then connect device with PC via USB-cable, start ADB and pull the data you are interested in.

please use english language only. for rooting a boot.img is required. it can be read off device only with root access or custom recovery, which you obviously don't have. the only other method to read boot partition off device is EDL mode. but you need file that is especially signed for multilaser.
(example prog_ufs_firehose_sdm710_ddr.elf for Xiaomi)

Related

[guide]how to root redmi 2 pro keeping ota updates and stock recovery

Hello, i'm sharing these guides to root Redmi 2/Pro/Prime devices
I've done it in my Redmi 2 Pro with the MI 7.0.5.0 version
Procedures:
1 ) Download the file and place on sdcard ( root folder)
2} Open the Tools folder and click on the " Updates"
3 ) In the Updates screen, click now on °°° icon at the top side (right )
4) Now click Choose update package, find it with file manager on the sdcard and select the file Root_Redmi2_Global.zip ; Wait for the automatic update and device reboot
5 ) Open supersu or visit the notification of the app and the popup window click Continue to perform the update . Then click on Normal maintaining access to stock recovery
6) The device must be rebooted again
7) Open supersu , go to settings and tick the Enable Pro box as shown in the video. Reboot the Supersu and select survival mode now and Enable SU during boot .
Direct File Link:
Credits to Satyajit Ghana for root and video
Portuguese Language:
Code:
[HIDE]Procedimento:
1) Baixe o o arquivo da descrição do video e coloque na raiz do sdcard
2} Abra a Pasta ferramentas e clique no ícone "Atualizações"
3) Na tela de Atualizações clique agora no icone °°° no canto superior(direito)
4) Agora clique em selecionar pacote de atualização e navegue pelo gerenciador de arquivos no sdcard e selecione o arquivo Root_Redmi2_Global.zip ; Aguarde o update automático e o reboot do aparelho
5) Abra o supersu ou acesse a notificação do app e na janela popup clique em Continue para efetuar o update. Em seguida clique no modo Normal mantendo o acesso ao stock recovery
6) O aparelho deverá ser reinicializado novamente
7) Abra o supersu, va em configurações e marque as caixinha Habilitar Pro como indica o video . Reinicialize o Supersu e marque agora modo sobrevivência e Habilitar SU durante o Boot.
Pronto[/HIDE]

Stuck at CSC FastBoot Mode

Hello everyone,
i yesterday i bought secondhand Asus Zenphone 7 PRO stucked at CSC Fastboot MODE
When i turn on the phone it pops android icon for 1 sec then it goes automatically to CSC FastBoot Mode, then you can choose between START, Restart bootloader, Recovery mode, and Power OFF.
When you choose one of them they restart phone and again 1 sec android icon (sometimes charging icon also ) and then CSC fastboot mode .,
On PC the device can be recognise like ASUS BOATLOADER , after installing drivers it shows like Android ADB device.
Tried with platform-tools_r30.0.4-windows , on adb devices it now shows up , but when i type fasboot device it shows the serial number of my phone, and i can restart it with /fastboot reboot.
Thats all i tried stuck at this point.
Greetings
The only way to fix this is flash a full stock image.
This happened to me while trying to root. After unlocking, installing twrp, and following the rest of the directions kept booting back into twrp. After messing around with it a few more times it gave me an error that the system was corrupt and would not allow booting into anything other than crc fastboot. I was crapping my pants at the thought that I just bricked my new phone. But after a little more research I found the asus flashing tool and full image.
This is the specific link I got the flashing tool from. I see there are other versions if I do a google search. But I used this one and know it worked fine.
AFT_ASUS
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Then I grabbed this zip file, and the latest firmware from asus website. I saw the firmware from Asus was almost half the size so I was unsure what it may have been missing. Which is why I flashed the larger file from Mega first.
Also, the flashing tool gives an error about missing a frp account, you don't have to worry about that. The flashing tool likes to be started before the phone is connected as well. So if you start it and it doesn't see the phone, disconnect and reconnect and it should pop up.
Then just pick the first zip file in the tool and hit start. It took almost 10 minutes to fully write everything for me. plugged into a usb 3 port. When it is done restart it and it should be like a factory phone again. After setting it up, I copied the smaller zip i grabbed from asus to update it onto the sdcard. As soon as it was done copying the system automatically saw the zip as an update and asked if I wanted to install it.
Joeb2000 said:
The only way to fix this is flash a full stock image.
This happened to me while trying to root. After unlocking, installing twrp, and following the rest of the directions kept booting back into twrp. After messing around with it a few more times it gave me an error that the system was corrupt and would not allow booting into anything other than crc fastboot. I was crapping my pants at the thought that I just bricked my new phone. But after a little more research I found the asus flashing tool and full image.
This is the specific link I got the flashing tool from. I see there are other versions if I do a google search. But I used this one and know it worked fine.
AFT_ASUS
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Then I grabbed this zip file, and the latest firmware from asus website. I saw the firmware from Asus was almost half the size so I was unsure what it may have been missing. Which is why I flashed the larger file from Mega first.
Also, the flashing tool gives an error about missing a frp account, you don't have to worry about that. The flashing tool likes to be started before the phone is connected as well. So if you start it and it doesn't see the phone, disconnect and reconnect and it should pop up.
Then just pick the first zip file in the tool and hit start. It took almost 10 minutes to fully write everything for me. plugged into a usb 3 port. When it is done restart it and it should be like a factory phone again. After setting it up, I copied the smaller zip i grabbed from asus to update it onto the sdcard. As soon as it was done copying the system automatically saw the zip as an update and asked if I wanted to install it.
Click to expand...
Click to collapse
hello friend
you seemt to be knowledgable, do you know how i can root my zenfone 7, have you managed to root yours or get twrp installed?
articoceanic said:
hello friend
you seemt to be knowledgable, do you know how i can root my zenfone 7, have you managed to root yours or get twrp installed?
Click to expand...
Click to collapse
I was able to root mine, but the method with TWRP kept giving me a bootloop so I had to use a different way.
I used the "Method 2" listed here.
How to Install Magisk and Root Android Devices with it [2 Methods]
In this comprehensive guide, we will show you how to install Magisk Universal Systemless Interface to root Android devices. There are two different methods to install it – First…
www.thecustomdroid.com
Just make sure you pay attention to the pre-req's both the main and the method 2 specific ones.
Then it will basically go like this (assuming you already unlocked your bootloader and have adb and usb drivers already installed).
Grab latest firmware from Asus.
Copy the firmware zip to your phone storage and let it update. usually after you copy the zip and unplug your phone the system sees the update and asks if you want to apply it.
Download and install Python.
Grab payload dumper I attached to this post and extract the contents to your Python install directory.
Open the firmware zip and pull out the "payload.bin" file and put it in your python directory.
Open a command window in the python directory and run these 2 commands.
python -m pip install protobuf
python payload_dumper.py payload.bin
While that is extracting, download the latest Magisk apk, then copy it to your phone and install it.
In your python directory there should be a new folder called "output" look and see if the "boot.img" is done extracting. its the only thing you really need from it. Copy that boot.img file your phone storage (SD card preferrable if you have one).
Open Magisk manager on your phone, click "install" next to Magisk. It will ask for the method, choose to patch a file. Then select the boot.img file you copied.
After it is done look in your phones download folder for a "Magisk_Patched.img", copy that file to your adb folder.
Reboot your phone into fastboot mode.
Open command window in your adb folder. and run these commands
fastboot devices
fastboot flash boot magisk_patched.img
The first one should list your phone, if it does not, you don't have it in fastboot mode. I had that problem at first, I had it in recovery instead of fastboot.
After it is done flashing, reboot your phone with
fastboot reboot
Then you should be ready to go, although I had to go back in the manager and install Magisk a second time myself. Plus I had to use the manager to install the "Magisk hide" module and hide it from a few apps. Things like google pay don't like to work if it detects root. But hiding it from that app works great.
I am having the same problem. The AFT_Asus tool from above doesnt seem to work any more, saying too old on installation.
What I have found is Asus_Zenfonr_FlashTool_v2.0.1, which installs ok.
After starting the app and connecting the fone, I get disconnected and a warning that battery is at -1%, which is not true, its fully charged. There is nothing more I can do, Browse asks to connect the fone, hitting yes shows the same screen again.
Did somebody else run into this problem or has a working Asus flash tool?
Same issue please help
23598685 said:
I am having the same problem. The AFT_Asus tool from above doesnt seem to work any more, saying too old on installation.
What I have found is Asus_Zenfonr_FlashTool_v2.0.1, which installs ok.
After starting the app and connecting the fone, I get disconnected and a warning that battery is at -1%, which is not true, its fully charged. There is nothing more I can do, Browse asks to connect the fone, hitting yes shows the same screen again.
Did somebody else run into this problem or has a working Asus flash tool?
View attachment 5379741
Click to expand...
Click to collapse
IronSingh said:
Same issue please help
Click to expand...
Click to collapse
You did correct getting the new version, but you also need an updated driver.
I found one that works. The phone still says it is 0%, but it let me connect it this time and after selecting the image lit up the start button. I didn't want to completely wipe my phone at the time and try to redo everything so I did not hit start, but at least you can install the new drivers and give it a try yourself.
I got them from here.
Zenfone 8|Phones|ASUS USA
A new compact powerful choice: Flagship 5G processor · 120Hz AMOLED display · 4000mAh battery · Pro-grade dual rear and front camera · IP68 water resistant
www.asus.com
For some reason they don't even list the zenfone 7. it goes from 6 to 8.
But you can select the windows 8.1 64bit drivers (or x86 if you are running a 32bit system). Download and install those. It may have you reboot after, please do it.
Just in case you do not know how to install these kind of drivers. Simply extract the zip, then inside go into the "windows_xp_vista_7_8_8.1" folder, then into the "android" folder, and there will be a file called "android_winusb.inf" unless you have file extensions hidden, then it won't have the .inf on the end. But simply right click on it and it should say "install" as the second option on your right click menu. Just click on install and it should only take a couple seconds.
Thanks but I unpacked the latest zip from on official site and then just fastboot flashed everything. I have a custom script if someone wants.
Joeb2000 said:
The only way to fix this is flash a full stock image.
snip
Then I grabbed this zip file, and the latest firmware from asus website.
Click to expand...
Click to collapse
Man thank you very much for your help. I was able to recover the device using the zip file.
I was never able to get the flash tool working, the device did not connect. Even with the latest USB drivers.
How I got is working is download and unzipped the zip file from above, connected using fastboot , then ran dl_multiple_update_image.sh.
I am on Linux and had to buy a Windows 10 notebook just for this crappy flash tool, looks like this was not needed. If anybody is on Windows, there is a dl_multiple_update_image.bat file included in the Zip file.
23598685 said:
Man thank you very much for your help. I was able to recover the device using the zip file.
I was never able to get the flash tool working, the device did not connect. Even with the latest USB drivers.
How I got is working is download and unzipped the zip file from above, connected using fastboot , then ran dl_multiple_update_image.sh.
I am on Linux and had to buy a Windows 10 notebook just for this crappy flash tool, looks like this was not needed. If anybody is on Windows, there is a dl_multiple_update_image.bat file included in the Zip file.
Click to expand...
Click to collapse
Um virtual box?
and this is latest
you can also fastboot to recover
Try to flash with RAW
WW-ZS670KS-31.0210.0210.287-REL-2207-M3.35.19.26-SM8250_001522-ASUS_1.1.1-user-20220727.zip
digitalmaxMG said:
Olá pessoal,
ontem eu comprei o Asus Zenphone 7 PRO de segunda mão preso no CSC Fastboot MODE
Quando ligo ou telefone, aparece o ícone do Android por 1 segundo, depois vai automaticamente para o modo CSC FastBoot, então você pode escolher entre INICIAR, Reiniciar ou carregador de inicialização, Modo de recuperação e Desligar.
Quando você escolher um deles, eles reiniciam o telefone e novamente 1 segundo ícone do Android (às vezes também ícone de carregamento) e, em seguida, o modo CSC fastboot.,
No PC, o dispositivo pode ser reconhecido como ASUS BOATLOADER, depois de instalar os drivers, ele mostra como um Android ADB.
Tentei com platform-tools_r30.0.4-windows , em dispositivos adb agora aparece, mas quando digito fasboot device, ele mostra o número da série do meu telefone e posso reiniciá-lo com / fastboot reboot.
Isso é tudo que eu tentei neste momento.
Saudações
Click to expand...
Click to collapse
Joeb2000 said:
A única maneira de corrigir isso é fazer o flash de uma imagem completa.
Isso aconteceu comigo ao tentar fazer o root. Depois de desbloquear, instalar o twrp e seguir o restante das instruções, continuei inicializando novamente no twrp. Depois de brincar com ele mais algumas vezes, deu-me um erro de que o sistema estava corrompido e não permitiria a inicialização em nada além do crc fastboot. Eu estava cagando nas calças com o pensamento de que acabei de emparedar meu novo telefone. Mas depois de um pouco mais de pesquisa, encontrei a ferramenta de flash da asus e a imagem completa.
Este é o link específico de onde peguei a ferramenta piscando. Vejo que existem outras versões se eu fizer uma pesquisa no google. Mas eu usei este e sei que funcionou bem.
AFT_ASUS
MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.
www.mediafire.com
Então peguei este arquivo zip e o firmware mais recente do site da asus. Vi que o firmware da Asus tinha quase metade do tamanho, então não tinha certeza do que poderia estar faltando. É por isso que eu pisquei o arquivo maior do Mega primeiro.
Além disso, a ferramenta piscando dá um erro sobre a falta de uma conta frp, você não precisa se preocupar com isso. A ferramenta intermitente também gosta de ser iniciada antes que o telefone seja conectado. Portanto, se você iniciá-lo e ele não vir o telefone, desconecte e reconecte e ele deverá aparecer.
Em seguida, basta escolher o primeiro arquivo zip na ferramenta e clicar em iniciar. Demorou quase 10 minutos para escrever tudo para mim. conectado a uma porta usb 3. Quando terminar, reinicie-o e ele deverá estar como um telefone de fábrica novamente. Depois de configurá-lo, copiei o zip menor que peguei da asus para atualizá-lo no sdcard. Assim que terminou de copiar o sistema automaticamente viu o zip como uma atualização e perguntou se eu queria instalá-lo.
Click to expand...
Click to collapse
Eu tenho um rog 3 e tenho o mesmo problema. Não consigo encontrar o celular no pc para fazer os procedimentos. Instalei drivers e ainda não consigo encontrar o dispositivo, você pode me ajudar?
Widney2 said:
Eu tenho um rog 3 e tenho o mesmo problema. Não consigo encontrar o celular no pc para fazer os procedimentos. Instalei drivers e ainda não consigo encontrar o dispositivo, você pode me ajudar?
View attachment 5689357
View attachment 5689355
Click to expand...
Click to collapse
First of all english please. What Machine are you on Windows, Mac, Linux?
If your on windows please share screenshot of your Device Manager
IronSingh said:
First of all english please. What Machine are you on Windows, Mac, Linux?
If your on windows please share screenshot of your Device Manager
Click to expand...
Click to collapse
Worse, I wrote everything in English before sending.
Windows 10.
Widney2 said:
Worse, I wrote everything in English before sending.
Windows 10.
Click to expand...
Click to collapse
Update your windows and install the drivers
https://mega.nz/folder/OjpFmSQb#MLT96tXlhzmKbtGWtXrApQ drivers
IronSingh said:
Update your windows and install the drivers
https://mega.nz/folder/OjpFmSQb#MLT96tXlhzmKbtGWtXrApQ drivers
Click to expand...
Click to collapse
I did the procedure with this driver installed and it does not find the device rog phone 3 and I have already installed many drivers and finally this one that you sent me I could not find in adb and asus flash tool, thank you very much for your help.
Widney2 said:
I did the procedure with this driver installed and it does not find the device rog phone 3 and I have already installed many drivers and finally this one that you sent me I could not find in adb and asus flash tool, thank you very much for your help.
Click to expand...
Click to collapse
Your device manager stays the same?
IronSingh said:
Your device manager stays the same?
Click to expand...
Click to collapse
Yes
Widney2 said:
Yes
Click to expand...
Click to collapse
download this install it and then Update windows.

[ROM][R][GSI][UNOFFICIAL][LINEAGEOS 18.1 FOR A01 A015F]

Hello here is how to flash lineageos 18.1 GSI for galaxy A01
Prerequisite:
-Have a laptop or desktop
-Internet connection
-must be running one ui 3.0
-usb cable
Steps:
1- go to settings, about phone, tab build number untill it says "you are now a developer".
2- go back go to developer option enable oem unlock and usb debugging.
3- turn off your device then press volume up and down then insert usb cable (connect it to pc first) when it will show you a warning screen hold volume up untill it asks you if you want to unlock the bootloader click volume up (this will wipe your data) wait for your device to restart set it up quickly
4- download Odin and disable vbmeta and twrp recovery from here: link (check attachments for vbmeta) open odin on your computer click on ap put in your twrp file you have downloaded and vbmeta diabled in used data untick auto reboot then click start now wait for it till it says pass then press volume down and power untill it shows a black screen quicly switch to pressing volume up and then press power now you are in twrp
5- go to format data and type yes
6- on your computer make a folder put in the lineageos gsi (download it from link then extract it) must be a64ab in the same folder put in chondoe flasher (check attachement) then copy folder to your phone's micro sd card "if it doesnt show up reboot to system then copy it and repeat step 4"
7- go to wipe format data then type yes
8- in twrp go to install then select microsd card select the folder then chondoe flasher then swipe to install then reboot system And now you have lineageos on your device
Bugs:
-call audio
-offline charging
Credits:
@leohiper10 for twrp
@phhusson for phh treble gsi's
Lineageos team
Andy Yan for maintaining gsi updates
interesting, a pity the audio for calls is still not working, I've already tested some GSIs but both with the same problem, congratulations for the tutorial
where can i download a rom for my galaxy a01? i can't find a rom exactly for my phone.
Fggevhy said:
Olá, aqui está como fazer o flash do lineageos 18.1 GSI para a galáxia A01
Pré-requisito:
-Ter um notebook ou desktop
-Conexão de internet
-deve estar executando uma interface do usuário 3.0
-cabo USB
Degraus:
1- vá para configurações, sobre telefone, guia número de compilação até dizer "você é agora um desenvolvedor".
2- volte para a opção do desenvolvedor, habilite o desbloqueio oem e a depuração usb.
3- desligue o dispositivo e pressione o volume para cima e para baixo e insira o cabo usb (conecte-o primeiro ao pc) quando ele mostrar uma tela de aviso segure o volume até perguntar se você deseja desbloquear o bootloader clique em volume para cima (isso limpará seus dados) aguarde o reinício do dispositivo, configure-o rapidamente
4- baixe o Odin e desative a recuperação vbmeta e twrp daqui: link (verifique anexos para vbmeta) abra odin no seu computador clique em ap coloque no seu arquivo twrp que você baixou e vbmeta diabled em dados usados desmarque reinicialização automática e clique em iniciar agora aguarde para isso até que diga passar, em seguida, pressione o volume para baixo e ligue até que ele mostre uma tela preta mude rapidamente para pressionar o volume para cima e, em seguida, pressione o poder agora que você está no twrp
5- vá em formatar dados e digite sim
6- no seu computador faça uma pasta colocada no lineageos gsi (faça o download do link e depois extraia) deve ser a64ab na mesma pasta colocada no chondoe flasher (verifique o anexo) depois copie a pasta para o cartão micro sd do seu celular "se não tiver mostre a reinicialização do sistema, copie-o e repita a etapa 4"
7- vá para limpar os dados do formato e digite sim
8- no twrp vá para instalar e selecione o cartão microsd selecione a pasta então chondoe flasher então deslize para instalar e reinicie o sistema E agora você tem lineageos no seu dispositivo
Insetos:
-chamada de áudio
-carregamento off-line
Créditos:
@leohiper10 para twrp
@phhusson para phh treble gsi's
Equipe Lineageos
Andy Yan por manter atualizações gsi
Click to expand...
Click to collapse
HELLO WORKS ON A015M ONE UI 3.1 ANDROID 11?
Hey! Why can't I download anything by the link in the post?

How to install Samsung ROM with Heimdall on Linux [Como Instalar Stock Rom da Samsung com Heimdall no Linux]

Mod edit - translated by https://www.deepl.com/translator and thread moved to Android General:
INSTALLING STOCK ROM - SAMSUNG -
HEIMDALL - LINUX
1. Enable USB debugging and put the phone in download mode download mode;
2. Open heimdall in terminal with root access;
<su> enter the password
<sudo heimdall-frontend> to open the program
3. Remove the .PIT file from the "CP" folder. It will be with md5 extension, just change it to .zip, and after extracting, you will find the file;
4. Now on Heimdall, just go to "Flash" and add the .PIT file file found in the previous step.
5. Now you must put all the Stock Rom folders in .zip, because we'll need to extract them;
6. Finished the extraction, you should also extract all the files files from these new folders, because they will be as .lz4;
7. Now, on the "Flash" tab of heimdall, you will go to "Partition Files" on the right side, press "Add", and go to "Partition Name" and go adding the types of files and go inserting the files that you extracted previously.
Note: each type of partition shows the correct name of the file, so just go adding until you have completed all extracted files.
8. Now just check if the device is connected, going in the tab "Utilities" tab, "Detect Device" and click on "Detect"; in case everything is ok everything ok, it will be shown at the bottom, at "output" as "Device Detected";
9. After that, you can go back to the "Flash" tab and click on "Start" on the bottom right corner and wait for the files to finish.
10. To install TWRP, just download the file in .img and do the flash it as "Recovery" partition.
I hope to have helped. I did not find any tutorial about it on the
on the internet. Cheers!
*******************************************
Spoiler: Portuguese Version
INSTALANDO STOCK ROM – SAMSUNG –
HEIMDALL - LINUX
1. Habilitar a depuração USB e colocar o telefone em modo
download;
2. Abrir o heimdall no terminal com acesso root;
<su> inserir a senha
<sudo heimdall-frontend> para abrir o programa
3. Retirar o arquivo .PIT da pasta “CP”. Ela estará com
extensão .md5, basta trocar para .zip, e após extrair, encontrará o
arquivo;
4. Já no Heimdall, basta ir na “Flash” e adicionar o arquivo .PIT
encontrado no passo anterior.
5. Agora deve-se colocar todas as pastas da Stock Rom em .zip,
pois precisaremos extraí-las;
6. Terminado a extração, vocês deverão extrair também todos os
arquivos dessas novas pastas, pois elas estarão como .lz4;
7. Agora, na aba “Flash” do heimdall, vocês irão em “Partition
Files” no lado Direito, vão apertar em “Add”, e ir em “Partition
Name” e irem adicionando os tipos de arquivos e irem inserindo
os arquivos que vocês extrairam anteriormente.
Observação: cada tipo de Partição mostra o nome correto do
arquivo, então basta ir adicionando até terem completado todos os
arquivos extraidos.
8. Agora basta conferir se o aparelho está conectado, indo na aba
“Utilities”, “Detect Device” e apertar em “Detect”; caso esteja
tudo ok, será mostrado na parte de baixo, em “output” como
“Device Detected”;
9. Feito isso, pode voltar para a aba “Flash” e clicar em “Start” no
canto inferior direito e esperar que os arquivos sejam concluidos.
10. Para instalar o TWRP, basta baixar o arquivo em .img e fazer o
flash como partição “Recovery”.
Espero ter ajudado. Não achei nenhum Tutorial sobre isso na
internet. Abraços!!
euzebio22 said:
Mod edit - translated by https://www.deepl.com/translator and thread moved to Android General:
INSTALLING STOCK ROM - SAMSUNG -
HEIMDALL - LINUX
1. Enable USB debugging and put the phone in download mode download mode;
2. Open heimdall in terminal with root access;
<su> enter the password
<sudo heimdall-frontend> to open the program
3. Remove the .PIT file from the "CP" folder. It will be with md5 extension, just change it to .zip, and after extracting, you will find the file;
4. Now on Heimdall, just go to "Flash" and add the .PIT file file found in the previous step.
5. Now you must put all the Stock Rom folders in .zip, because we'll need to extract them;
6. Finished the extraction, you should also extract all the files files from these new folders, because they will be as .lz4;
7. Now, on the "Flash" tab of heimdall, you will go to "Partition Files" on the right side, press "Add", and go to "Partition Name" and go adding the types of files and go inserting the files that you extracted previously.
Note: each type of partition shows the correct name of the file, so just go adding until you have completed all extracted files.
8. Now just check if the device is connected, going in the tab "Utilities" tab, "Detect Device" and click on "Detect"; in case everything is ok everything ok, it will be shown at the bottom, at "output" as "Device Detected";
9. After that, you can go back to the "Flash" tab and click on "Start" on the bottom right corner and wait for the files to finish.
10. To install TWRP, just download the file in .img and do the flash it as "Recovery" partition.
I hope to have helped. I did not find any tutorial about it on the
on the internet. Cheers!
*******************************************
Spoiler: Portuguese Version
INSTALANDO STOCK ROM – SAMSUNG –
HEIMDALL - LINUX
1. Habilitar a depuração USB e colocar o telefone em modo
download;
2. Abrir o heimdall no terminal com acesso root;
<su> inserir a senha
<sudo heimdall-frontend> para abrir o programa
3. Retirar o arquivo .PIT da pasta “CP”. Ela estará com
extensão .md5, basta trocar para .zip, e após extrair, encontrará o
arquivo;
4. Já no Heimdall, basta ir na “Flash” e adicionar o arquivo .PIT
encontrado no passo anterior.
5. Agora deve-se colocar todas as pastas da Stock Rom em .zip,
pois precisaremos extraí-las;
6. Terminado a extração, vocês deverão extrair também todos os
arquivos dessas novas pastas, pois elas estarão como .lz4;
7. Agora, na aba “Flash” do heimdall, vocês irão em “Partition
Files” no lado Direito, vão apertar em “Add”, e ir em “Partition
Name” e irem adicionando os tipos de arquivos e irem inserindo
os arquivos que vocês extrairam anteriormente.
Observação: cada tipo de Partição mostra o nome correto do
arquivo, então basta ir adicionando até terem completado todos os
arquivos extraidos.
8. Agora basta conferir se o aparelho está conectado, indo na aba
“Utilities”, “Detect Device” e apertar em “Detect”; caso esteja
tudo ok, será mostrado na parte de baixo, em “output” como
“Device Detected”;
9. Feito isso, pode voltar para a aba “Flash” e clicar em “Start” no
canto inferior direito e esperar que os arquivos sejam concluidos.
10. Para instalar o TWRP, basta baixar o arquivo em .img e fazer o
flash como partição “Recovery”.
Espero ter ajudado. Não achei nenhum Tutorial sobre isso na
internet. Abraços!!
Click to expand...
Click to collapse
@euzebio22
As courtesy, I've translated your post above and moved the thread to Android General. With reference to rule no. 4 of the XDA Forum Rules, please post in English or add at least an English translation to your Portuguese posts. Thanks for your cooperation!
Spoiler: Rule No. 4
4. Use the English language.
We understand that with all the different nationalities, not everyone speaks English well, but please try. If you're really unable to post in English, use an online translator. You're free to include your original message in your own language, below the English translation. (This rule covers your posts, profile entries and signature). You could try :- https://translate.google.com/ or https://www.babelfish.com/ or use one of your choice.
Regards
Oswald Boelcke
Senior Moderator

Question Oneplus 9 CN version first steps

Hi all,
I've been reading a lot before creating this post and still have doubts.
I have a Oneplus 9 CN version that came with Global ROM, I want to root it and be able to update it with OTA, as I've been doing with My OP6T.
Do I have to unlock bootloader first? How?
ROMs of EU/Global version are valid for CN Version?
Thanks
yeah super simple bro, same phone i Got
First, go to about phone, click on Build Number 7 Times.
Then back to System > Developer Options, click the OEM Unlocking Tab, also scroll down and click the USB Debugging tab.
then to your computer, make sure you have ADB and Fastboot program installed.
- SDK Platforms.
Then go to the folder or if you have ADB installed. Click the "path" bar and tyif pe CMD and hit enter
your command prompt will no open. Connect the phone to the computer.
Type
- adb devices
if it shows your device, were good and connected. It will show a prompt, "Allow Devices" click allow always.
now you need to Download "twrp.img" from the twrp website. also download the latest Magisk and put both files into the Platforms folder or wherever you download ADB and Fastboot.
once you have that done.
go back to your command window.
type
- adb reboot bootloader
now we are in fastboot mode
type
- fastboot boot twrp.img
it will boot into TWRP recovery.
go to Advanced tab, click Flash current TWRP
now go back to advanced and click ADB Sideload
now back to command window
type
- adb sideload Magisk2022.zip "or whatever you have it named.
it will flash Magisk, once that is done, you are Bootloader Unlocked and Now Rooted.
open the app on the phone and follow the prompts. click updates if it says update on both
always do "direct install" on the first one. Unless you do an update of some sort. Then you do "inactive slot"
any other questions brother, feel free to holler at me. Hope this helps. Hope you got the 12GB/256GB phone.
Many blessings
illusiveairforce said:
Primeiro, vá para sobre o telefone, clique em Build Number 7 Times.
Em seguida, volte para Sistema> Opções do desenvolvedor, clique na guia Desbloqueio OEM, role para baixo e clique na guia Depuração USB.
em seguida, para o seu computador, certifique-se de ter o programa ADB e Fastboot instalado.
- Plataformas SDK.
Em seguida, vá para a pasta ou se você tiver o ADB instalado. Clique na barra "path" e tyif pe CMD e pressione enter
seu prompt de comando não será aberto. Conecte o telefone ao computador.
Tipo
- dispositivos adb
se mostra seu aparelho, estava bom e conectado. Ele mostrará um prompt, "Permitir dispositivos" clique em permitir sempre.
agora você precisa baixar "twrp.img" do site twrp. também baixe o Magisk mais recente e coloque os dois arquivos na pasta Plataformas ou onde quer que você baixe o ADB e o Fastboot.
uma vez que você tenha feito isso.
volte para sua janela de comando.
tipo
- bootloader de reinicialização do adb
agora estamos no modo fastboot
tipo
- inicialização rápida twrp.img
ele inicializará na recuperação do TWRP.
vá para o guia avançado, clique em Flash atual TWRP
agora volte para avançar e clique em ADB Sideload
agora de volta à janela de comando
tipo
-b sideload Magisk2022.zip "ou o que você configurou anúncio.
ele irá piscar o Magisk, uma vez feito isso, você está com o Bootloader desbloqueado e agora enraizado.
abra o aplicativo no telefone e siga as instruções. clique em atualizações se disser atualização em ambos
sempre fachada "instalação direta" no primeiro. A menos que você faça uma atualização de algum tipo. Então você faz "slot inativo"
qualquer outra pergunta irmão, sinta-se à vontade para gritar comigo. Espero que isto ajude. Espero que você tenha o telefone de 12 GB/256 GB.
Muitas benções
Click to expand...
Click to collapse
You could make a video , teach this in video , it would help the Oneplus 9 community a lot , because there is no video or someone to show this
illusiveairforce said:
First, go to about phone, click on Build Number 7 Times.
Then back to System > Developer Options, click the OEM Unlocking Tab, also scroll down and click the USB Debugging tab.
then to your computer, make sure you have ADB and Fastboot program installed.
- SDK Platforms.
Then go to the folder or if you have ADB installed. Click the "path" bar and tyif pe CMD and hit enter
your command prompt will no open. Connect the phone to the computer.
Type
- adb devices
if it shows your device, were good and connected. It will show a prompt, "Allow Devices" click allow always.
now you need to Download "twrp.img" from the twrp website. also download the latest Magisk and put both files into the Platforms folder or wherever you download ADB and Fastboot.
once you have that done.
go back to your command window.
type
- adb reboot bootloader
now we are in fastboot mode
type
- fastboot boot twrp.img
it will boot into TWRP recovery.
go to Advanced tab, click Flash current TWRP
now go back to advanced and click ADB Sideload
now back to command window
type
- adb sideload Magisk2022.zip "or whatever you have it named.
it will flash Magisk, once that is done, you are Bootloader Unlocked and Now Rooted.
open the app on the phone and follow the prompts. click updates if it says update on both
always do "direct install" on the first one. Unless you do an update of some sort. Then you do "inactive slot"
any other questions brother, feel free to holler at me. Hope this helps. Hope you got the 12GB/256GB phone.
Many blessings
Click to expand...
Click to collapse
Thanks a lot! It comes with Global ROM, but I'm not sure this is a chinese version with ads...
I guess I prefer flashing EU/Global oficial versión.
When should I do it? After unlocking bootloader?
Thanks again
I have the same model and upgraded to android v12 do I do same steps or I have to downgrade to v11 first ?
Also, from security point of view what is the possipility of collecting my phone data after unlocking my boot loader ! is that true ?
Thanks in advance

Categories

Resources