this is my first tutorial, hope it help
sorry for my english
some people going to say, "but, if you have unlocked bootloader, only have to flash a custom kernel with root", this method is for peoble that want to have their original firmwares .62 and stock kerner or in my case, people that can't flash custom kernel because of the problem of "1 bad blocks encountered" in the nand memory :'(
you need:
1) Unlock bootloader
2) a custom kernel with recovery (its not going to be flashed)
3) this file root.zip
4) flashtools
Intruccion:
1) save the root.zip to your sdcard
2) open flashtools
3) press the flash button (the one with the lightning)
4) Enter the option Fastboot mode
5) conect your phone in fastboot mode (phone off and press volumen + while connect the phone, the indicator led must turn blue)
6) press "Select Kernel to HotBoot" in the flashtools (in hootboot the kernel its no really flashed)
7) select the custom kernel with recovery
8) the phone restart, press continiously volume down to enter in recovery mode
9) in the recovery enter in install zip from sdcard
10) install root.zip
flashing this file with CWM the phone gain root access, i have only prove it with the mini, i don't know if it works for other models
a video from my rooted mini
Just had to put this...
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Now..
Custom kernels already give root, after you have installed the kernel.
Someguyfromhell said:
Just had to put this...
Now..
Custom kernels already give root, after you have installed the kernel.
Click to expand...
Click to collapse
thanks for your answer
i know, but if you read the post, you see that some people CAN'T install custom kernels or some people prefer use stock kernel, this post its particulary for that cases
in my case, i unlock bootloader for flash custom kernel but i encountered the problem of "1 bad blocks encountered", a factory failure, so, i can't instal custom kernels, i find this solution for my particulary case and i want to share it, maybe someone have the same problem
salu2
lightdesiny said:
thanks for your answer
i know, but if you read the post, you see that some people CAN'T install custom kernels or some people prefer use stock kernel, this post its particulary for that cases
in my case, i unlock bootloader for flash custom kernel but i encountered the problem of "1 bad blocks encountered", a factory failure, so, i can't instal custom kernels, i find this solution for my particulary case and i want to share it, maybe someone have the same problem
salu2
Click to expand...
Click to collapse
Ah, I get it.
Great idea, dude
Very good job, it works perfectly, no needed to downgrade!!
thank you mate!!
good job.
very helpful tutorial.THANX
I Don't want to Start *****ing around but if u or someone Else used the search Funktion you had found the Same tutorial i wrote many many months ago....
So please use the SEARCH
And if u think you did something...
Someone always did IT BEFORE YOU
Sent from my SK17i using XDA
http://forum.xda-developers.com/showthread.php?t=1460072
And here is also the Link of it
Sent from my SK17i using XDA
Related
Hi,
If I follow this guide http://forum.xda-developers.com/showthread.php?t=1056334 and root my phone, is there any option to put back the stock kernel i had? because like CF says, this kernel have bugs, so maybe i'll want to put it back to stock.
Plus, what CF version should I install according to the following screen shot?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Thanks
Yes, but the main idea is to put an official kernel and the latest is the best one (kf2). You keep your root access with a very stable kernel and if you combine with modem kf2, you will have a very good configuration.
Edit: I just looking your screen capture. You can flash again ke7 kernel once rooting process if finish. You will keep root access.
bgn9000 said:
Yes, but the main idea is to put an official kernel and the latest is the best one (kf2). You keep your root access with a very stable kernel and if you combine with modem kf2, you will have a very good configuration.
Click to expand...
Click to collapse
CF-Root-SGS2_XX_OXA_KF2-v4.0-CWM4.zip ?
Does it fit with my device? watch my original post edit
Why not using litening v1.5 ? You will have everything (latest modem, kernel) and a very good firmware with CMW 4.0 embedded.
Edit: http://forum.xda-developers.com/showthread.php?t=1095274
actually i just wanted a root, i dont want any other rom , i want minimal changes..
Ok, I misunderstood you, sorry.
You need an insecure kernel and not a chain fire kernel
Edit : http://forum.xda-developers.com/showthread.php?t=1101671
Edit2: flash an insecure ke7 one through Odin (quite same version of yours) and after reboot you need superoneclick Install on your pc. The main idea is to flash a custom kernel, do the root process and ref lash official kernel. This is the only solution.
bgn9000 said:
The main idea is to flash a custom kernel, do the root process and ref lash official kernel. This is the only solution.
Click to expand...
Click to collapse
And is this the proccess you suggested above?
Another question, will I be able to restore the device to a way which I can use my warranty if needed?
Thanks
If you have an official kernel installed, warranty should be preserved.
But odin flash counter can provide the information about this unofficial kernel flash you need to do in order to become root. To reset this counter, you need a small device called USB JIB available on ebay for 6 euros.
Thanks to this device, the yellow triangle will be removed (that warns you have an unofficial kernel) and the odin flash counter will be resetted.
So, this is why, installing custom firmware is not a big deal after that...
bgn9000 said:
If you have an official kernel installed, warranty should be preserved.
But odin flash counter can provide the information about this unofficial kernel flash you need to do in order to become root. To reset this counter, you need a small device called USB JIB available on ebay for 6 euros.
Thanks to this device, the yellow triangle will be removed (that warns you have an unofficial kernel) and the odin flash counter will be resetted.
So, this is why, installing custom firmware is not a big deal after that...
Click to expand...
Click to collapse
Thank you
[too short]
Hey guys how can I go to recovery mod on z2.?
And if I flash any custom rom then how can I back to stock rom.?
And need to unlock bootloader to flash custom rom.? How?
There are a few ways to enter recovery mode on the Z2.
1) Install a recovery for locked bootloader;
How to:
1) Root your phone (if you are on 4.4.2 use a rooting tool. If you are on 4.4.4 you will have to downgrade to 4.4.2, root that and then install a pre-rooted ROM through recovery).
2) Install busybox (you can find this in the play store).
3) Run the installer by [NUT] to get recovery for locked bootloader (this an be found in the cross device development section).
2) Install a recovery for unlocked bootloader;
How to:
1) Check if your bootloader can be unlocked by going to you phone keypad and typing *#*#3738423#*#*. This will bring up the service menu, Tap Service Info, Tap Configuration, then look to the rooting status. Under that it will say either Bootloader Unlock Allowed: Yes or Bootloader Unlock Allowed: No. If it says yes you can carry on, if it says no you can only use recovery for locked bootloader.
2) Root your phone and back up you TA partition (tool can be found in the Cross Device Development section).
3) Unlock your bootloader by following the Sony guide (NOTE: This WILL wipe your internal storage, so please make a back up of everything.
4) Install a custom kernel what has recovery embedded into it.
If you flash a custom ROM and wish to revert back to stock the easiest and safest way is to flash the ftf firmware file (these can be found in the Z2 general section) with flashtool (this can be found in the cross device development section). If you are downgrading you will have to wipe data and the cache or else the phone will just bootloop.
How to unlock the bootloader and install a custom non-stock based ROM:
1) Check if your bootloader can be unlocked by going to you phone keypad and typing *#*#3738423#*#*. This will bring up the service menu, Tap Service Info, Tap Configuration, then look to the rooting status. Under that it will say either Bootloader Unlock Allowed: Yes or Bootloader Unlock Allowed: No. If it says yes you can carry on, if it says no you can only use recovery for locked bootloader.
2) Root your phone and back up you TA partition (tool can be found in the Cross Device Development section).
3) Unlock your bootloader by following the Sony guide (NOTE: This WILL wipe your internal storage, so please make a back up of everything.
4) Follow the install process of the ROM.
Hope I helped.
RK.Haldar said:
Hey guys how can I go to recovery mod on z2.?
And if I flash any custom rom then how can I back to stock rom.?
And need to unlock bootloader to flash custom rom.? How?
Click to expand...
Click to collapse
These seem like fairly basic questions. Maybe questions that have already been answered many many times.
Have you seen the xda rules?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
FORUM RULES
For a list of Forum Moderators, click HERE
1. Search before posting.
Use one of our search functions before posting or creating a new thread. Whether you have a question or just something new to share, it's very likely that someone has already asked that question or shared that news.
Click to expand...
Click to collapse
Hello!
I am going to root my honor 7, but i have some clarification questions first. Hopefully someone could kindly help me.
So, this is the procedure:
Unlock Bootloader
Flash TWRP Recovery
Install SuperSu from TWRP
My questions are:
1 - Is there a way to check if the bootloader is just unlocked on the H7? (I remember the "hidden menu" from Xperias)
2 - If i want to update to MM when it will be released, i need to unroot B170 (is it enough to select "Unroot" from SuperSU app?) and flash stock recovery. Is this enough?
3 - why should i need the stock boot.img? What is it exactly? Is it the bootloader? Flashing stock boot.img back does it mean that simply the bootloader will be locked again?
Thanks so much for the clarifications!
tonaz said:
My questions are:
1 - Is there a way to check if the bootloader is just unlocked on the H7? (I remember the "hidden menu" from Xperias)
2 - If i want to update to MM when it will be released, i need to unroot B170 (is it enough to select "Unroot" from SuperSU app?) and flash stock recovery. Is this enough?
3 - why should i need the stock boot.img? What is it exactly? Is it the bootloader? Flashing stock boot.img back does it mean that simply the bootloader will be locked again?
Thanks so much for the clarifications!
Click to expand...
Click to collapse
1 - I do not wish to check it now, but I remember if you reboot into bootloader there is a text indicating the status
2 - You need to have an unmodified system (and boot) for the OTA to work, so it could be safer to restore stock system.img and boot.img completely.
3 - I don't really know, hopefully somebody else will be able to answer. Last time I did an unroot+OTA upgrade, I did not have to restore stock boot.img.
tonaz said:
3 - why should i need the stock boot.img? What is it exactly? Is it the bootloader? Flashing stock boot.img back does it mean that simply the bootloader will be locked again?
Click to expand...
Click to collapse
the boot.img contains the kernel, and this is sometimes modief during a system update, and different version dont wpork on a certain firmware
for example, b140 and b170 use same kernel, as the on-or kernel by @sminki works (almost, but probably) fine, whoever, for what i know, it doesnt work on b121, because the kernel is different,
the latest full firmware is b121, so to downgrade or to unbrick, you need to install b121, so the boot.img also needs to be flashed, if you want it to boot
i hope that will explain it better
also to root, you can use the multitool by @inside!out, if you are not confident, or just too lazy:
link
edit:
you are really a noob!
you asked three question, not two!
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
*not meant to offend you in any way, and you are not a noob, as you know what root means*1
*1 not calling the people who dont know what root means noobs
it is hard to not make a joke, without offending someone on the internet
thank you both so much for the infos!
Eheheh Yep i got the joke was fun
themegaphoenix said:
it is hard to not make a joke, without offending someone on the internet
Click to expand...
Click to collapse
amen brother :silly:
What about the bootloader? if i want to update via emui do i have to RE-lock it?
or maybe it will be re-locked automatically when reflashing stock boot.img?
last question, if i am rooted and unlocked, will i at least recieve the updates notification via emui?
thanks a lot. i am trying to study and get better "skilled" about android.
It has reached me a Mate 10 Lite with error when unlocking the Bootloader ... once made it sends you to the custom recovery TWRP but it shows in its description that they wipe the system and do not load it, I have tried to recover with backups uploaded by other users but it does not ... someone has gone through this ... and what suggestion they give ... The same does not allow to install the Stock recovery, to use the file update.app ... Nor does it allow to i
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
nstall other types of recoverys.
Try a different twrp that has helped me kingmezi is working for my but keep in mind you need to format data (and check the mount setting and swipe to modify at start)
Thks
KOALAaufPILLEN said:
Try a different twrp that has helped me kingmezi is working for my but keep in mind you need to format data (and check the mount setting and swipe to modify at start)
Click to expand...
Click to collapse
Thanks for the answer, but it does not allow as the previous message says ... it does not allow to install any type of recovery either stock or custom ...
It does not allow to mount any partition, Boot, Recoery, etc ... from the TWRP Menu
Unlock bootloader install via command
thks
I do not think I'm spying.
1. The Bootlaoder even if it is released ... it sends you immediately to the TWRP ... once inside it says no OS installed, and it does not allow doing anything because it does not load any of the partitions.
2. Even if you release the Bootloader, it does not allow you to install another type of TWRP ... nor restore backup files ... it only allows you to flash the different OEMINFOs as if it were a rebrand.
KOALAaufPILLEN said:
Unlock bootloader install via command
Click to expand...
Click to collapse
Then you might try dc phoenix but its not free
That can install even if you have a locked bootloader firmware or even if you are bricked like your cellphone
you can download the latest firmware without problems googe it and try it (cost about 15dollar to unbrick)
If the twrp dont work cause the parameters are wrong what twrp are you using we have here 3 differents for the Huawei if im right try kingmezi twrp its working fro my l21-b432 i think it was
Thks
I managed to install another custon recovery, that allows to see the partitions, and that the team has a system ... but at the time of restart the bootloader error comes out ... and giving low CMD fastboot has the same unlocked ... perfect ... when I send the command fastboot flash (Boot, recovery, recovery2) it says Failed ... and I can not install the recovery stock.
P.S: Thanks for the advice of DC Phoenix ... I had seen it and I will try ...
KOALAaufPILLEN said:
Then you might try dc phoenix but its not free
That can install even if you have a locked bootloader firmware or even if you are bricked like your cellphone
you can download the latest firmware without problems googe it and try it (cost about 15dollar to unbrick)
If the twrp dont work cause the parameters are wrong what twrp are you using we have here 3 differents for the Huawei if im right try kingmezi twrp its working fro my l21-b432 i think it was
Click to expand...
Click to collapse
solved?
hi men, please you can solved this?, i have de same problem
I just want to finally try and install a custom rom into my Mi A3 which I rooted a while ago. I know I need this tool called TWRP, after encountering a myriad of errors trying to follow this guide step-by-step, I finally got to the point when I need to type "fastboot boot twrp.img" to boot into TWRP temporarily. But alas that couldn't be so easy now could it... Now I get this thing
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
and it's 11:41 PM and I'm about to burst a vein. I made an account solely to make this post because I can't seem to get an actual answer anywhere else... Any ideas before I give up?
is the bootloader unlocked ?
i think i got same message and it was because i forgot this.
I think there are better guides. Not sure what state your system is in. I would re-install the stock rom and start afresh. Unlock your bootloader, check which slot 'a' or 'b' is the current slot, and then follow the instruction of the Custom ROM you are trying to install. It might need TWRP but Lineage Recovery is equally as good.
#1jonna said:
is the bootloader unlocked ?
i think i got same message and it was because i forgot this.
Click to expand...
Click to collapse
Yes sir it very much is, don't think it'd have been possible to get this far otherwise
bjlabuk said:
I think there are better guides. Not sure what state your system is in. I would re-install the stock rom and start afresh. Unlock your bootloader, check which slot 'a' or 'b' is the current slot, and then follow the instruction of the Custom ROM you are trying to install. It might need TWRP but Lineage Recovery is equally as good.
Click to expand...
Click to collapse
how do I do this?
2. does Lineage Recovery even work on Mi A3s? I don't find anything about this device on their website
Follow the guide in the thread 'Slot A is destroyed'.
bjlabuk said:
Follow the guide in the thread 'Slot A is destroyed'.
Click to expand...
Click to collapse
I assume this means I can just go back to magisk and hit restore images, then return to fastboot and switch to slot b and install twrp there?
ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ said:
View attachment 5554333
I assume this means I can just go back to magisk and hit restore images, then return to fastboot and switch to slot b and install twrp there?
Click to expand...
Click to collapse
As I said, as I am not sure what state your system is in I would suggest 're-installing' the stock rom from your PC, rather than 'restoring' an image from your phone. If you have backed up your data etc (eg on Google Drive) you can restore it after you have re-installed the stock rom. You can then start again from scratch.
The latest stock rom fastboot images can be found here
https://xiaomifirmwareupdater.com/miui/laurel/
Tbh I haven't restored an image from magisk myself so I can't confirm what you are proposing, though yes I switched to slot b and installed TWRP.
You might also want to read this article on A/B partitions
https://www.xda-developers.com/how-...ess-updates-affect-custom-development-on-xda/
Try this
https://play.google.com/store/apps/details?id=com.smartpack.smartflasher
Flash TWRP installer through the app
Just a few tips when you do get to TWRP:
Disable dm-verity
Format data and wipe cache after you flash the new rom before first boot
Use a patched boot method instead of flashing magisk in TWRP on custom ROMs. High chance of soft brick.
DM me if you need help.