How to flash custom recovery by adb/fastboot for unrooted device (@1)... - Android One (First-Generation) Cross-Device Origin

Hey guys anyone know how to flash custom recovery by adb or fastboot mode for unrooted device any a1

Extract the content given below and on that folder click shift and right click on pc ,and open command window. Then connect your phone to your pc with fastboot mode .then on command window type fastboot oem unlock ,if your bootloader is not unlocked .if it is unlocked then type fastboot flash recovery recovery.img and enter.[at first place recovery.img {custom recovery,name it to recovery.img} on the extracted folder .]

Ya tq that I know but I don't know that we should unlock it,can we flash by locked bootloader n also wat is that mmx a1 logo

Aftrer unlocking bootloader you can also lock the boot loader again .

Ya okay tq I know and wat is that rar file wat is there in it in mmx logo rar file

Related

[Q] Partition Problem

While I flashed 1.2GB.zip to expand my partition size, I got some issue to reset my phone. now, my recovery is xiaomi stock recovery and when i go into fastboot mode, my pc can't detect my phone by adb function. I test variety of version and pc, still not work. Can someone help me to write a stock partition that can fastboot with MITool? Many thanks, my phone only can detect with MiTool in this moment. Sorry for interruption.
First flash cwm or twrp recovery with fastboot .flash stok repartition zip in cwm then flash with miflash.
Sometimes adb not work due to bad driver reinstall drivers for adb.
cfw950116 said:
While I flashed 1.2GB.zip to expand my partition size, I got some issue to reset my phone. now, my recovery is xiaomi stock recovery and when i go into fastboot mode, my pc can't detect my phone by adb function. I test variety of version and pc, still not work. Can someone help me to write a stock partition that can fastboot with MITool? Many thanks, my phone only can detect with MiTool in this moment. Sorry for interruption.
Click to expand...
Click to collapse
I was in the same situation. Mi recovery without adb and
and fastboot only. I'm on the phone and can't post links but if you go to the repartitioning thread and find my posts(there are not many)read it through and you will find a link to "how to fastboot" thread. If your computer recognizes your phone in fastboot mode than you'll be fine. Download from the same thread repartitioning to stock from the HTC mania guy if you want to flash miui with miflash. Otherwise it won't work. Good luck.
ashish289 said:
First flash cwm or twrp recovery with fastboot .flash stok repartition zip in cwm then flash with miflash.
Sometimes adb not work due to bad driver reinstall drivers for adb.
Click to expand...
Click to collapse
If you can flash CWM ,then you are good to go.My phone is not detected via adb devices command but I dont know how fastboot commands work all the time.
gauravsaini964 said:
If you can flash CWM ,then you are good to go.My phone is not detected via adb devices command but I dont know how fastboot commands work all the time.
Click to expand...
Click to collapse
i think adb will not work in this case because mi recovery dont support adb so boot into fastboot mode by pressing volume down + power key there will be mi bunny and fastboot mode .
u will need recovery in img format so extract recovery.img file from cwm r11 zip file and put it in adb or fastboot folder . then
open command prompt in adb folder and type.
fastboot devices
if it show device id then type
fastboot flash recovery recovery.img
fastboot reboot
try to boot it into recovery mode by using key combination ( vol up+ power buttuon) and it should boot in clockwork mode recovery.
and flash reparition zip to return to stok partition
repartition stok zip by eaxir http://forum.xda-developers.com/xia...ize-extend-partition-capacity-t3011918/page17
if u dont have repartition zip then use adb side load method to send file to device and flash it or ask me again.
now you can use miflash.
ashish289 said:
i think adb will not work in this case because mi recovery dont support adb so boot into fastboot mode by pressing volume down + power key there will be mi bunny and fastboot mode .
u will need recovery in img format so extract recovery.img file from cwm r11 zip file and put it in adb or fastboot folder . then
open command prompt in adb folder and type.
fastboot devices
if it show device id then type
fastboot flash recovery recovery.img
fastboot reboot
try to boot it into recovery mode by using key combination ( vol up+ power buttuon) and it should boot in clockwork mode recovery.
and flash reparition zip to return to stok partition
repartition stok zip by eaxir http://forum.xda-developers.com/xia...ize-extend-partition-capacity-t3011918/page17
if u dont have repartition zip then use adb side load method to send file to device and flash it or ask me again.
now you can use miflash.
Click to expand...
Click to collapse
can i flash repartition stock zip by eaxir via twrp ? please answer

Help - Remove Root, Restore to Original (VTR-L29)

I have the P10 64gb Dual Sim version, VTR-L29C63B162
I have rooted the phone, unlocked the boot loader and upgrated to VTR-L29C63B162
After searching the forums and the web I can't find a successful or comprehensive way to Revert all the changes, can someone provide thier help please?
- Relock bootloader
- Remove root
- flash stock recovery and OS
Thanks:good:
Hey Mate,
First: i never did locked the bootloader again, but i readed something on the internet about it. I also not have a Guide, but maybe i can give you some hints about it.
Flashing Stock Recovery and System via. Bootloader
If you want to flash back the Stock Recvovery and System you have to download the original Firmeware (Update.app from Huawei).
After you got the Update.app (should be like 2 GB) you have to extract the Update.APP to get BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG).
To extract the UPDATE.APP you can use this tool (HUAWEIUPDATEEXTRACTOR) from worstenbrood:
https://forum.xda-developers.com/showthread.php?t=2433454
Extract the BOOT.IMG, SYSTEM.IMG, RECOVERY.IMG (plus CUST.IMG) to your ADB and Fastboot Platforms Tool.
after that you can flash the Images in the fastboot mode.
I think (i am not 100% sure about it) to flash the Images in this sequence (control that on the internet):
fastboot flash boot BOOT.IMG
fastboot flash recovery RECOVERY.IMG
fastboot flash system SYSTEM.IMG
(fastboot flash cust CUST.IMG)
after that your phone should boot like your unboxing it the first time.
Locking Bootloader again via fastboot
I think you can relock your Bootloader again with one of these fastboot commands:
fastboot oem lock YourCode
fastboot flashing lock
fastboot oem relock YourCode
if one of this is working you can boot your devices (fastboot reboot).
I never tried this and dont know exactly whats your goal (relock, lock whatever) but maybe this is another hint:
https://forum.xda-developers.com/mate-9/how-to/guide-rebrand-chinese-al00-mate9-to-t3554656/page57
Kind Regards
@neuenburg Thanks!
I will try this and let you know if it works for me
It worked , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc
Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot
Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
dev_don said:
It worked , although I had to:
- restore factory settings
- connect device to pc via usb
- click on build to enable developer mode
- enable USB debugging in developer mode
- unplug device, replug and authorise usb debugging for the pc
Then I did this via adb cmd
- adb reboot-bootloader
- fastboot flash boot BOOT.IMG
- fastboot flash recovery RECOVERY.IMG
- fastboot flash system SYSTEM.IMG
- fastboot reboot
Go back into fastboot after device restart
- fastboot oem relock [unlockcodexxxxxxxxx]
Click to expand...
Click to collapse
:highfive: :good:
Thanks a lot, works great!
When relocking the bootloader does the phone then say *bootloader relocked" or anything like that or is it back to standard as if first unboxed?
Also, on a side note, is there a way to use banking apps with the bootloader unlocked/rooted etc? On my old phone Barclays wouldn't work with the root but it looked like Magisk etc were working on ways top get past this.

I have a soft rocked Red Magic 3

Can anyone tell me what this (remote: Flashing is not allowed in Lock State).
What exactly is locked? Is my cell OEM unlocked?
I flashed the wrong TWRP (for the 2017 Red Magic-NX209J) and even though I have been able to unlock my cell via CMD commands; it remains permanently in fastboot mode?
If I send a CMD command to reboot it reboots straight back to fastboot mode.
No form of ADB connect seems to work an my windows PC cannot see/show the cell?
How the hell do I fix this? It's been in this state for a week.
Can anyone help?
Meaby try this?
Then, to unlock your bootloader, enter "fastboot oem nubia_unlock NUBIA_NX629J"
And meaby try the recovery backup instead of TWRP.
xronaldx said:
Meaby try this?
Then, to unlock your bootloader, enter "fastboot oem nubia_unlock NUBIA_NX629J"
And meaby try the recovery backup instead of TWRP.
Click to expand...
Click to collapse
Thanks for the suggestion. I have no recovery back up Is it possible to get past TWRP being locked and use CMD to flash the International or chinese ROM? Or recovery image?
Unless tools are developed to unbrick this device I am scared this problem might be permanent
Download this twrp, and then upload it to google drive or something so the rest of us can download it too .
Password is: 6i3i
https://pan.baidu.com/s/1ZdMPjm2fEwt...06770439204444
Secretcow said:
Download this twrp, and then upload it to google drive or something so the rest of us can download it too .
Password is: 6i3i
https://pan.baidu.com/s/1ZdMPjm2fEwt...06770439204444
Click to expand...
Click to collapse
Thanks but what do i do with it? Its all in an asain language?
Link not open bro
The TWRP does not work
Sorry. That link to the twrp does not result in a bootable twrp recovery for me.
I am starting to think my cell is not fixable.
I did not do that much wrong I just flashed the twrp for 2 models of red magic earlier. It only has a fastboot mode. I either get a boot screen then fastboot mode or a warning about the bootloader being unlocked.
Whatever is wrong with my cell prevents ADB connect an the cell is not able to be seen by windows.
This $1100 New Zealand dollar cellphone may be permanently bricked by my mistake.
I might just need to bin it an buy another one.
Lesson learned.
It confusing....
My cell acts like it has a softbrick (can turn off an on an has fastboot options and I have erased it an OEm an bootloader unlocked it)
And also behaves like a hard brick (resists every method of repair).
I just do not understand it or Nubia products. I am unfamiliar with this phone.
Does anyone have any clue how I can see this cell on my windows pc or ADB connect it an boot into TWRP?
Are there any Nubia repair software tools?
I already share nubia red magic 3 twrp check my all post
sandeepkhatri said:
I already share nubia red magic 3 twrp check my all post
Click to expand...
Click to collapse
Thanks for that. I'm talking about using CMD to totally wipe everything in the cell an reflash the Chinese ROM that came with it. Repair software. Might take months to develop software like that.
sandeepkhatri said:
I already share nubia red magic 3 twrp check my all post
Click to expand...
Click to collapse
Also it isn't a zip. It's some other kind of file. And does not boot into TWRP on my unit
So are you able to unlock your bootloader in its current state?
If you have an older TWRP installed maybe try changing the model on your bootloader command to match it:
fastboot oem nubia_unlock NUBIA_NX209J
If this works then flash the correct TWRP and the boot IMG from your original rom
fastboot flash recovery <new recovery>
fastboot reboot bootloader
Sent from my NX629J using Tapatalk
terrapin4 said:
So are you able to unlock your bootloader in its current state?
If you have an older TWRP installed maybe try changing the model on your bootloader command to match it:
fastboot oem nubia_unlock NUBIA_NX209J
If this works then flash the correct TWRP and the boot IMG from your original rom
fastboot flash recovery <new recovery>
fastboot reboot bootloader
Click to expand...
Click to collapse
Terrapin. Absolutely nothing worked. I am the 3rd person who has had this issue I know of. 2 other xda members had the same issue. One with TWRP like me an the other got stuck in fastboot mode after trying g to flash an apk of Gapps? I think these cells do not like tinkering. But your advice enabled me to be OEM and bootloader unlocked. But always.....straight back to fastboot mode no matter what I flash? My red magic 3 device is currently at a service center with a technician trying to solve the problem. I have 3 repayments left on my Xiaomi Mi9 that has zero flashing issues. O admit i.may be ignorant of the ways of Nubia ?
I did it
I extracted the file system.img
this is what I did ....
starting from the Chinese ROM http://ui.nubia.cn/rom/detail/62
Download download necessary files https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot reboot
enter recovery, use a FAT32 pendrive format, add Chinese ROM, rename it (update.zip) to OTG flash.
Everything works again.
good luck.
emmegitony said:
I did it
I extracted the file system.img
this is what I did ....
starting from the Chinese ROM http://ui.nubia.cn/rom/detail/62
Download download necessary files https://drive.google.com/drive/folders/16in6Jnyi4s5aIIuQwapQ1KK1LjysSfYm?usp=sharing
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash parameter parameter.img
fastboot reboot
fastboot oem nubia_unlock NUBIA_NX629J
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash splash splash.img
fastboot flash modem NON-HLOS.bin
fastboot flash system system.img
fastboot reboot
enter recovery, use a FAT32 pendrive format, add Chinese ROM, rename it (update.zip) to OTG flash.
Everything works again.
good luck.
Click to expand...
Click to collapse
Thank God. Maybe the Chinese service guy I'm paying will get on xda an try your idea. I'm being lazy saying that lol. Thanks very very much. I will show your post to the service guy who has my red magic 3 or try it myself.
There's no way your a junior member working all this out. I'm a junior member listed as a senior member who makes rookie flashing errors with Chinese cellphones lol.
I will share if I can implement your ideas successfully. Thanks buddy my missus really loved this phone I felt really bad when I incapacitated it.
Fingers crossed.....
I have no idea how did you managed to flash the system.img
C:\adb>fastboot flash system system.img
target reported max download size of 805306368 bytes
Invalid sparse file format at header magi
LE: After this error, somehow it manages to continue and flash all partitions of the system, but after above tutorial, the phone still reboots in fastboot mode and cannot access recovery
The solution is here:
https://forum.xda-developers.com/re...tboot-mode-t3937527/post79715050#post79715050
sakilxda said:
The solution is here:
https://forum.xda-developers.com/re...tboot-mode-t3937527/post79715050#post79715050
Click to expand...
Click to collapse
Thanks for the help. I do not understand some of the commands an cannot seem to get them right? And I do not understand why the instructions say to cmd flash the image (IMG) via command prompt (which just errors like the strange NON-HLOS command?) Then the instructions say to flash the Chinese rom via otg?
Are you supposed to flash the ROM twice?
Can someone please give me some more detailed instructions as this cell has been non functional about 2 months now.
Planning to fix it an give it to my partner
Bryceicle1971 said:
Thanks for the help. I do not understand some of the commands an cannot seem to get them right? And I do not understand why the instructions say to cmd flash the image (IMG) via command prompt (which just errors like the strange NON-HLOS command?) Then the instructions say to flash the Chinese rom via otg?
Are you supposed to flash the ROM twice?
Can someone please give me some more detailed instructions as this cell has been non functional about 2 months now.
Planning to fix it an give it to my partner
Click to expand...
Click to collapse
Hane you fixed the phone or not?
JerryYin said:
Hane you fixed the phone or not?
Click to expand...
Click to collapse
No still not working. Might try again when I have spare time. Very hard cellphone to fix
Bryceicle1971 said:
No still not working. Might try again when I have spare time. Very hard cellphone to fix
Click to expand...
Click to collapse
My suggestions is, download a full sd card update package, unlock the bootloader temporarily,extract the update file and flash the vbmeta.img to vbmeta partion, then flash the recovery.img to recovery partition, after that, try to boot into recovery through bootloader. You have to make sure that you use all the same file from same package, if you are use a low version vbmeta file to boot a high version system (or recovery ) it will not boot. the vbmeta is very important on this phone.

Help me , my phone is corrupt data, not boot!

My phone can't boot . The display is " your device is corupt . It cant be trusted and will not boot after I root and install twrp, gapps , i have used the command "fastboot oem lock" "fastboot flashing lock" "fastboot oem relock" .
i can't unlock bootloader ( flasing unlock not allow )
my bootloader is lock
plz help me !
nil3m1 said:
My phone can't boot . The display is " your device is corupt . It cant be trusted and will not boot after I root and install twrp, gapps , i have used the command "fastboot oem lock" "fastboot flashing lock" "fastboot oem relock" .
i can't unlock bootloader ( flasing unlock not allow )
my bootloader is lock
plz help me !
Click to expand...
Click to collapse
You need to enable bootloader unlock through setting in developer option enable oem unlock, and then you can use the ' fastboot flashing unlock'
You can't root with locked bootloader as it will show an error message your device is corrupt,
At you situation now you should flash stock boot and then the phone will open and then you go to settings as i mentioned to enable oem unlock through developer option in settings
Fastboot unlock bootloader with long command, you will see it unlock temporarily till reboot, flash boot.img and recovery.img, reboot into recovery wipe data & cache, utilize USB otg to reinstall rom.
em902566 said:
You need to enable bootloader unlock through setting in developer option enable oem unlock, and then you can use the ' fastboot flashing unlock'
You can't root with locked bootloader as it will show an error message your device is corrupt,
At you situation now you should flash stock boot and then the phone will open and then you go to settings as i mentioned to enable oem unlock through developer option in settings
Click to expand...
Click to collapse
-I cannot boot into os to enable oem unlock ,I can't go into recovery
Hope you will help me,thank you
SuperDroidMe said:
Fastboot unlock bootloader with long command, you will see it unlock temporarily till reboot, flash boot.img and recovery.img, reboot into recovery wipe data & cache, utilize USB otg to reinstall rom.
Click to expand...
Click to collapse
I used the command "fastboot oem nubia_unlock NUBIA_NX629J" ,"fastboot flashing unlock" , command but it reported an error "flashing unlock not allow"
Please help me with what I should do. thank you
nil3m1 said:
I used the command "fastboot oem nubia_unlock NUBIA_NX629J" ,"fastboot flashing unlock" , command but it reported an error "flashing unlock not allow"
Please help me with what I should do. thank you
Click to expand...
Click to collapse
Okay now you have to download the stock cn version from official site, and extract the zip file , now olyou have to flash the stock boot image and recovery image
,Fastboot devices
,Fastboot fastboot oem nubia_unlock NUBIA_NX629J
,Fastboot flash boot boot.img
,Fastboot flash recovery recovery.img
,Fastboot reboot
And wait let it reboot at least 3 time
And it will work just fine ?
em902566 said:
Okay now you have to download the stock cn version from official site, and extract the zip file , now olyou have to flash the stock boot image and recovery image
,Fastboot devices
,Fastboot fastboot oem nubia_unlock NUBIA_NX629J
,Fastboot flash boot boot.img
,Fastboot flash recovery recovery.img
,Fastboot reboot
And wait let it reboot at least 3 time
And it will work just fine
Click to expand...
Click to collapse
it dont work . my device not boot with report " your device is corrupt .It can not be trusted and wil not boot " .
update?
nil3m1 said:
it dont work . my device not boot with report " your device is corrupt .It can not be trusted and wil not boot " .
Click to expand...
Click to collapse
did you fixed it? we have same situation.
godric12 said:
did you fixed it? we have same situation.
Click to expand...
Click to collapse
Use "Fastboot fastboot oem nubia_unlock NUBIA_NX629J" to unlock the bootloader and flash the correct boot img. Or you can go to stock recovery flash the whole system. It is caused by an unsigned boot file.
JerryYin said:
Use "Fastboot fastboot oem nubia_unlock NUBIA_NX629J" to unlock the bootloader and flash the correct boot img. Or you can go to stock recovery flash the whole system. It is caused by an unsigned boot file.
Click to expand...
Click to collapse
I have this error when installing the rom, what should I do to fix it?
mos98p said:
I have this error when installing the rom, what should I do to fix it?
Click to expand...
Click to collapse
Maybe you can check other post and find the solutions, there are someone already fix the phone with same issue

Hi, was stuck on fasboot since 5 days, white nithg

BUT no free space, can't transfert a rom to install, whatt can i do? i did all things in TWRP. Plz NEED A ROM :crying::crying::crying::crying::crying::crying::crying::crying:
what did u do? why r u stuck in fastboot? tell us the reason m8
Srormer89 said:
BUT no free space, can't transfert a rom to install, whatt can i do? i did all things in TWRP. Plz NEED A ROM :crying::crying::crying::crying::crying::crying::crying::crying:
Click to expand...
Click to collapse
Restore the phone with an official MIUI fastboot ROM.
https://c.mi.com/oc/miuidownload/detail?guide=2
If viewing the page on a mobile, you'll need to change the browser to desktop mode.
In step 5 change the flash option, at the bottom of the Mi Flash Tool, to 'clean all'
Afterwards you'll be able to try and install the ROM you want.
A. Download
1. vbmeta. Img for your device.
2. Twrp
3. Fastboot for desktop
B. Then Flash it with fastboot.
How?
Note: Copy the vbmeta.img to the fastboot folder.
1. At the folder of the downloaded fastboot,
Hold shift and right click of your computer keyboard.
Click open power shell window.
2. Type
Fastboot flash vbmeta vbmeta.img
Fastboot flash recovery twrp.img
Fastboot boot recovery.img
Hope it helps

Categories

Resources