Hello..
We all know that there is a way to get root on the OPX
using the kingroot app without a custom recovery.
But the question is : is it possible to flash TWRP.img through
the terminal emulator? And if it possible, What are the commands ?
Thank you..
I'm not completely sure, but try this..
Do a backup just in-case.
Code:
su
flash_image recovery /sdcard/recovery.img
Here, su is for superuser right and the next command flashes the recovery.
Note that "/sdcard/recovery.img" means that your recovery.img file should be in the root of your Internal storage and should be renamed to "recovery" without quotes.
Kingroot is a "bad" way to root.
IMHO, you should stick on the normal way.
Be sure your BL is correctly unlocked.
Then if your root, you can flash TWRP via an "rashr app"
We king root is a bad way to root? So many times I have tried in many phone's it produces the same result as supersu, and after all i never stick with it. I always replace it with supersu at the end.
Sent from my ONE E1001
sniper20 said:
We king root is a bad way to root? So many times I have tried in many phone's it produces the same result as supersu, and after all i never stick with it. I always replace it with supersu at the end.
Sent from my ONE E1001
Click to expand...
Click to collapse
I just mean here, because some people gave tutos to easily root without unlocking BKL. Some use them, and after stay stucked trying to flash something.
And Kinroot is a software that try to install you a bunch of crap when you use it...
Related
I installed Rom Manager and then downloaded the recovery for Samsung galaxy s2. When hit reboot into recovery. I am unable to perform any operations in CWM. I had to connect the phone via usb and issue a "adb reboot" command to get back.
How do we make cwm work.
http://forum.xda-developers.com/showpost.php?p=18160002&postcount=26
ptulluri said:
I installed Rom Manager and then downloaded the recovery for Samsung galaxy s2. When hit reboot into recovery. I am unable to perform any operations in CWM. I had to connect the phone via usb and issue a "adb reboot" command to get back.
How do we make cwm work.
Click to expand...
Click to collapse
Also must people are having issues flashing in cwm after using ROM manager. If you try installing from cwm and get verification error you needed to flash again then kernel and don't use ROM manager
Flashed CWM and nothing is happening
I flashed CWM Recovery 5.0.2.3 using the instructions here http://forum.xda-developers.com/showthread.php?t=1285823. However, when i go into CWM and select something the only thing that happens is the logo for CWM shows up with a black screen. When I push the power button again it will go back to the list.I am using the stock rom and it hasn't even been rooted yet. When I try to root using super one click, it gets stuck at step #5. Please Advise.
NDN
Dont use Rom Manager. It is known to have issues with the S2
I use CWM Manager and have no problems.....
noobdeeznutz said:
I flashed CWM Recovery 5.0.2.3 using the instructions here http://forum.xda-developers.com/showthread.php?t=1285823. However, when i go into CWM and select something the only thing that happens is the logo for CWM shows up with a black screen. When I push the power button again it will go back to the list.I am using the stock rom and it hasn't even been rooted yet. When I try to root using super one click, it gets stuck at step #5. Please Advise.
NDN
Click to expand...
Click to collapse
The key mapping is different. I had the same issue. Try the home key to select in place of the power button and the back key for back
Also if not rooted I do not think CWM will work...
Use this by Entropy512 it is flawless.
http://forum.xda-developers.com/showthread.php?t=1286432
SNadler said:
The key mapping is different. I had the same issue. Try the home key to select in place of the power button and the back key for back
That was it... THANKS!!!
Click to expand...
Click to collapse
SNadler said:
Also if not rooted I do not think CWM will work...
Click to expand...
Click to collapse
Root is having access to root account in os. It has nothing to do with cwm since cwm is loaded before the os loads.
They are irrelevant
Sent from my SAMSUNG-SGH-I777
Pirateghost said:
Root is having access to root account in os. It has nothing to do with cwm since cwm is loaded before the os loads.
They are irrelevant
Sent from my SAMSUNG-SGH-I777
Click to expand...
Click to collapse
In addition, all of our CWM-enabled kernels are "insecure" kernels - They give root at all times to ADB sessions, this is why SuperOneClick works after flashing them.
But only ADB sessions get root, so you use the "rooted" ADB shell to root the system partition. After that you've got perma-root until you nuke su and Superuser.apk from /system
Entropy512 said:
In addition, all of our CWM-enabled kernels are "insecure" kernels - They give root at all times to ADB sessions, this is why SuperOneClick works after flashing them.
But only ADB sessions get root, so you use the "rooted" ADB shell to root the system partition. After that you've got perma-root until you nuke su and Superuser.apk from /system
Click to expand...
Click to collapse
I think I am confused again?
When I flash a kernel, I have root. I have never used super one click. Just flashed your kernel. I thought that is what gave me root? Are you saying I still do not have root for /system files? Or does your kernel push su and superuser when it is flashed?
SNadler said:
I think I am confused again?
When I flash a kernel, I have root. I have never used super one click. Just flashed your kernel. I thought that is what gave me root? Are you saying I still do not have root for /system files? Or does your kernel push su and superuser when it is flashed?
Click to expand...
Click to collapse
Mine does, codeworkx's doesn't.
Setting a kernel to be insecure is a lot easier and takes less time than putting in a robust root-inject script.
SNadler said:
I think I am confused again?
When I flash a kernel, I have root. I have never used super one click. Just flashed your kernel. I thought that is what gave me root? Are you saying I still do not have root for /system files? Or does your kernel push su and superuser when it is flashed?
Click to expand...
Click to collapse
Entropy512 said:
Mine does, codeworkx's doesn't.
Setting a kernel to be insecure is a lot easier and takes less time than putting in a robust root-inject script.
Click to expand...
Click to collapse
Entropy512: Does this mean that codeworkx's kernel must be flashed with SuperOneClick in order to have complete root (to /system)... but with your kernels we don't need to flash SuperOneClick? If so, in order to unroot (without SuperOneClick) I suspect one would have to flash the non-root stock kernel? Thx
DoctorQMM said:
Entropy512: Does this mean that codeworkx's kernel must be flashed with SuperOneClick in order to have complete root (to /system)... but with your kernels we don't need to flash SuperOneClick? If so, in order to unroot (without SuperOneClick) I suspect one would have to flash the non-root stock kernel? Thx
Click to expand...
Click to collapse
Yes. (Unless you flash an su package with CWM instead of SuperOneClick)
Really, all SuperOneClick is doing are the following commands, assuming you've got a proper su binary and Superuser.apk:
Code:
adb remount
adb push su /system/xbin/su
adb shell chmod 6755 /system/xbin/su
adb push Superuser.apk /system/app/Superuser.apk
adb shell chmod 644 /system/app/Superuser.apk
Entropy512 said:
Yes. (Unless you flash an su package with CWM instead of SuperOneClick)
Really, all SuperOneClick is doing are the following commands, assuming you've got a proper su binary and Superuser.apk:
Code:
adb remount
adb push su /system/xbin/su
adb shell chmod 6755 /system/xbin/su
adb push Superuser.apk /system/app/Superuser.apk
adb shell chmod 644 /system/app/Superuser.apk
Click to expand...
Click to collapse
I understand (I think) that chmod 644 is to set the permission but what is chmod 6755?
SNadler said:
Dont use Rom Manager. It is known to have issues with the S2
I use CWM Manager and have no problems.....
Click to expand...
Click to collapse
I have downloaded CWM Manager and I have tried to install it but it has failed. Is there a different type of process to doing this other than opening it through root explorer?
what are you trying to do? just use the 3 button combo or extended power option to boot into recovery and flash away?
Ok, I am having a huge issue with trying to flash a custom rom. I will try to explain this the best way I can. I have had the same problem as above when trying to use CWM in recovery. Here is what I did:
- I unrooted my phone
- flash CWM with "SGH-I777_ClockworkMod-Recovery_5.0.2.3.tar"
- then it boots into CMW recovery and I can't do jack. When I try to select anything I just get a blank screen with the clock workz logo. If I hit the volume up and down buttons again the list of options comes back, but I will be stuck with the same situation if I try to select any options.
I was able to successfully root my phone in another instance using galaxys2root.com's method, however when I tried to use cwm I also ran into the same problem. I have yet to be able to use anything in cwm recovery. Please help me. I have flashed my phone multiple times and probably bricked it also. Luckily i haven't done any damage yet, but i would like to be able to flash roms. I am still kinda new to flashing roms, but i was able to flash my old infuse like a champ without any of these problems.
ducksauce88 said:
Ok, I am having a huge issue with trying to flash a custom rom. I will try to explain this the best way I can. I have had the same problem as above when trying to use CWM in recovery. Here is what I did:
- I unrooted my phone
- flash CWM with "SGH-I777_ClockworkMod-Recovery_5.0.2.3.tar"
- then it boots into CMW recovery and I can't do jack. When I try to select anything I just get a blank screen with the clock workz logo. If I hit the volume up and down buttons again the list of options comes back, but I will be stuck with the same situation if I try to select any options.
I was able to successfully root my phone in another instance using galaxys2root.com's method, however when I tried to use cwm I also ran into the same problem. I have yet to be able to use anything in cwm recovery. Please help me. I have flashed my phone multiple times and probably bricked it also. Luckily i haven't done any damage yet, but i would like to be able to flash roms. I am still kinda new to flashing roms, but i was able to flash my old infuse like a champ without any of these problems.
Click to expand...
Click to collapse
Use the home soft key to select stuff in CWR, not the power button.
Sent from my SGH-I777 using XDA App
i didnt read all of the posts until after i posted. thanks for not slashing me. so it looks like i use the home button to select then the back button still goes back. got it.
On a side not, I do not remember reading about that within the posts for rooting and flashing clockworkz. I tend to skip over things when reading, but I think someone should put that in big fat red letters "USE HOME BUTTON TO SELECT".
I followed a tutorial to successfully root my phone in the past, but I need to do it again and want to understand it a bit better this time. (I'm doing it using command-line heimdall from Ubuntu.) Doing "sudo heimdall flash --recovery recovery.img --no-reboot", the tutorial provided a recovery.img which went on to install CWM. Then from within the rooted phone I installed another custom recovery. But do I need to do this as a 2-step process like this, or can I simply for the first time on an UNrooted phone do "sudo heimdall flash --recovery SOME-OTHER-RECOVERY.img --no-reboot"?
The tutorial also provided a CWM-SuperSU-v0.87.zip. What's actually the purpose of this, and do I even need it?
It also came with an s3pit.pit, but I didn't actually do anything with this. Did the 'heimdall' command that I ran do something with this, or is it safe to do the rooting process without it?
I'm asking because I'd like to root my phone not blindly following one tutorial which provided its own files (http://galaxys3root.com/galaxy-s3-root/how-to-root-galaxy-s3-on-linuxubuntu/). Surprisingly there are no other decent tutorials out there on rooting this phone from Ubuntu, any ideas?
You can flash any compatible recovery in step 1. I see no reason to flash something you don't need. I recommend philz recovery (link in signature) but twrp is good. I would stay away from cwm as its not great if you want to go to 4.2 android roms
Having a recovery is one thing but actually you're still not rooted. You need recovery to flash a zip which will give you root. Unless you just want to flash a custom rom, in which case you only need the recovery and can skip flashing root stuff
Sent from my GT-I9300 using Tapatalk 2
I wasn't aware of these distinctions, thanks. What alternative zips that give me root could you recommend? I would rather use one that is on xda-developers rather than on a blog post on some random website. Does it need to be compatible with the recovery, or would any 'root zip' meant for the i9300 work?
So is it possible to root the stock default ROM by just flashing a root zip using the stock recovery? Or is a custom recovery needed for this?
Roots are in Development section as said CWM is rather out of date now .
Both TWRP and Philz work well .
jje
I think I have misunderstood. In the first response it said "You need recovery to flash a zip which will give you root", which I assumed was the "CWM-SuperSU-v0.87.zip" I mentioned in the original post. I'm wondering about alternatives for this zip, not for the recovery (for the recovery I'll use Philz or TWRP as has been suggested).
iamthemandroid said:
I think I have misunderstood. In the first response it said "You need recovery to flash a zip which will give you root", which I assumed was the "CWM-SuperSU-v0.87.zip" I mentioned in the original post. I'm wondering about alternatives for this zip, not for the recovery (for the recovery I'll use Philz or TWRP as has been suggested).
Click to expand...
Click to collapse
You don't need an alternative. It contains 2 things. The su binary (what gives you root) and the super user app (a graphical "gatekeeper" to root). If you're applying root to a handset, you'll be using these things
Sent from my GT-I9300 using Tapatalk 2
Just got a uhappy up580 mtk6580 5.1LP phone.
All sorts of problems with it if I try to do anything with it, as stock it works great, no issues. Install kingroot as thats the only way to root it, Ive tried them all... Cannot remove kingroot for super SU using ANY way including superSUme, all things on here and needrom etc... cant do it.
I cant unlock the bootloader using everything I've found on here, from simply selecting it in settings to ADB on the PC and terminal in root shell, says 'not permitted' or 'not allowed' or rewboots to a selection screen and the volume up button to select it wont work.
Cannot remove install.recovery.sh using an old esfile explore, root explore, adb root shell on PC and terminal etc... all say, not permitted or 'system is r/o' Used commands to r/w system but again, this isnt allowed/permitted.
Installed chainfires 'secureADB' I think it was called to allow ADB to to be used root in system, does nothing.
MTKdroidTools doesnt work on MTK6580 so cant get CWM recovery flashed that way.
Have downloaded numerous CWM/PhilzTouch/TWRP and tried to flash them with SPtools, and removing battery before rebooting recovery and that also, doesnt work.
MTKunpacktools cant unpack the recovery.img of stock rom....
Am really at the end of my tether now.
I have the full stock rom installed, and a full SPFlashTools stock back-up if anyone has any ideas? All I'm really wanting is Xposed installed, thats it, and know with another chainfire app I can flash a zip without a recovery, but needs super SU which I cant get installed....
Dont worry, sorted it.
Hi so I originally install CM13 to make this phone better, but for some reason a game I am playing won't let me start it up because it is "rooted" even though root checker said otherwise. So I discover that CM13 leaves Su binary files in the system which the game flags even though I haven't allow any sort of root acess. So I tried using this stock recovery from another use.
http://forum.xda-developers.com/honor-5x/development/unrooted-stock-rom-t3308902
And the game STILL detects my phone as rooted even though I wipe everything in TWRP. So my question first is how to I get rid of the binary? Second is there any non-stock rom that does not leave SU binary? Thanks ahead!
to3phu said:
Hi so I originally install CM13 to make this phone better, but for some reason a game I am playing won't let me start it up because it is "rooted" even though root checker said otherwise. So I discover that CM13 leaves Su binary files in the system which the game flags even though I haven't allow any sort of root acess. So I tried using this stock recovery from another use.
http://forum.xda-developers.com/honor-5x/development/unrooted-stock-rom-t3308902
And the game STILL detects my phone as rooted even though I wipe everything in TWRP. So my question first is how to I get rid of the binary? Second is there any non-stock rom that does not leave SU binary? Thanks ahead!
Click to expand...
Click to collapse
When I want to get rid of SuperSU manually, I usually flash stock boot, Cust, system and recovery images.
Boot for if I have a systemless root, system for if I have a system root, Cust just coz it's my habit and it does not hurt and recovery so that I refrain from rooting for a while but that is all for stock firmware:crying:
In your case, the solution imho would be to root your phone by flashing a working SuperSU zip and then unrooting from inside the SuperSU app completely.
Sent from my PLK-L01 using XDA Labs
Boot for if I have a systemless root, system for if I have a system root, Cust just coz it's my habit and it does not hurt and recovery so that I refrain from rooting for a while but that is all for stock firmware:crying:
Click to expand...
Click to collapse
Thanks for the tip. I was wondering how can you do systemless root? After some stuff I read it seems like SuperSU picks automatically to do system or system less.
to3phu said:
Boot for if I have a systemless root, system for if I have a system root, Cust just coz it's my habit and it does not hurt and recovery so that I refrain from rooting for a while but that is all for stock firmware:crying:
Thanks for the tip. I was wondering how can you do systemless root? After some stuff I read it seems like SuperSU picks automatically to do system or system less.
Click to expand...
Click to collapse
Yeah, it checks for permissions and if it can not write to system, it modifies boot file to get a systemless root.
Sent from my PLK-L01 using XDA Labs
Hello!
I am using LYF wind 6 with android lollipop 5.1 and i have rooted with kingroot and as it doesn't have any custom recovery so i wanna use FLASHFIRE but it requires supersu permissions but i have installed kingroot.
i have tried many methods to replace it with supersu but nothing works.
i have used super-sume pro.apk but it stuck at "processing please wait"
i have tried to replace it using terminal emulator but it says " su binary not installed,............there is problem....etc."
i tried to push su in /system/xbin and chmod 775 /system/xbin/su but it says operation not permitted
can any please one help me to replace it please, it very urgent
or can any please one port any custom recovery for my phone i.e. LYF Wind 6
here is the stock recovery for my phone compressed
please!please!please!please!please!please! make a custom recovery for my phone.
alokjkashyap said:
Hello!
I am using LYF wind 6 with android lollipop 5.1 and i have rooted with kingroot and as it doesn't have any custom recovery so i wanna use FLASHFIRE but it requires supersu permissions but i have installed kingroot.
i have tried many methods to replace it with supersu but nothing works.
i have used super-sume pro.apk but it stuck at "processing please wait"
i have tried to replace it using terminal emulator but it says " su binary not installed,............there is problem....etc."
i tried to push su in /system/xbin and chmod 775 /system/xbin/su but it says operation not permitted
can any please one help me to replace it please, it very urgent
or can any please one port any custom recovery for my phone i.e. LYF Wind 6
here is the stock recovery for my phone compressed
please!please!please!please!please!please! make a custom recovery for my phone.
Click to expand...
Click to collapse
Try to download SuperSU and update SU binaries using "Normal" method
Sent from my GT-S7580 using Tapatalk
DodoGTA said:
Try to download SuperSU and update SU binaries using "Normal" method
Click to expand...
Click to collapse
I have tried but it says, 'There is no su binary installed and superSU cant install . there is problem' or something like that and it auto close.
http://forum.xda-developers.com/android/apps-games/replace-kingroot-supersu-t3339950
This method MIGHT work... There's also a chance that it could soft brick, so I wouldn't try unless you have the ability to reflash the original firmware.
es0tericcha0s said:
http://forum.xda-developers.com/android/apps-games/replace-kingroot-supersu-t3339950
This method MIGHT work... There's also a chance that it could soft brick, so I wouldn't try unless you have the ability to reflash the original firmware.
Click to expand...
Click to collapse
Thanks, i hope this work but i cannot try it as i have looses root permission and i am unable to root now.
alokjkashyap said:
Thanks, i hope this work but i cannot try it as i have looses root permission and i am unable to root now.
Click to expand...
Click to collapse
Then I would back up everything then reinstall the original firmware and reroot.
es0tericcha0s said:
Then I would back up everything then reinstall the original firmware and reroot.
Click to expand...
Click to collapse
There is no custom recovery for this device the how can i backup.
es0tericcha0s said:
http://forum.xda-developers.com/android/apps-games/replace-kingroot-supersu-t3339950
This method MIGHT work... There's also a chance that it could soft brick, so I wouldn't try unless you have the ability to reflash the original firmware.
Click to expand...
Click to collapse
And nothing is working for rooting my phone.
Most of the important stuff can be backed up to Google. If you need to backup your calls/texts, they're apps for that. Then copy your internal storage to a PC and that should be the main important stuff.
Finally i tried kingoroot pc app and it rooted my phone but doesn't install any superuser app in my phone, then i installed superSu from playstore and it worked.