Root without power button? - Samsung Galaxy J5 Questions & Answers

I have an old phone,Samsung galaxy J500h(2015).Because of it's UI,the battery drains too much,So,I thought to root my mobile and install a custom rom.But it's power button doesn't work.Is it going to make any problem?and which rom will be good for a decent battery backup?

The battery is the best with Lineage ROM in my experience since it's debloated.
I don't think you can root it if you cannot get into recovery or Download mode other than getting there using terminal which requires root...

Are you able to enable developer options through the GUI and run adb commands such as
adb reboot bootloader

Related

Cannot root my N7

Unlocked the bootloader with Google Nexus 7 Toolkit 1.1 but the device will not gain root no matter what options I try. I cannot get root, I cannot boot into CWM Recovery, and I am not sure what the issue is.
I am running the stock ROM, I simply wanted to unlock it and root it for a couple apps that I needed.
Anyone point me in the right direction? How do you even boot into Recovery, so that I can try and install root from there?
SquireSCA said:
Unlocked the bootloader with Google Nexus 7 Toolkit 1.1 but the device will not gain root no matter what options I try. I cannot get root, I cannot boot into CWM Recovery, and I am not sure what the issue is.
I am running the stock ROM, I simply wanted to unlock it and root it for a couple apps that I needed.
Anyone point me in the right direction? How do you even boot into Recovery, so that I can try and install root from there?
Click to expand...
Click to collapse
boot into the bootloader/fastboot then select recovery. then flash the su binaries or any custom rom while in recovery. thats all. anyways, i highly recommend twrp recovery over cwm.
simms22 said:
boot into the bootloader/fastboot then select recovery. then flash the su binaries or any custom rom while in recovery. thats all. anyways, i highly recommend twrp recovery over cwm.
Click to expand...
Click to collapse
How? none of the toolkits actually gain root. For a "developer" platform, this one is harder to root than any of the HTC or Moto phones I have had...
I can't even get into Recovery. On my Rezound, you hold the volume down and hold power and it boots into recovery, I have no idea how to do it on this device...
SquireSCA said:
How? none of the toolkits actually gain root. For a "developer" platform, this one is harder to root than any of the HTC or Moto phones I have had...
I can't even get into Recovery. On my Rezound, you hold the volume down and hold power and it boots into recovery, I have no idea how to do it on this device...
Click to expand...
Click to collapse
do not use toolkits, ever. you are just shooting yourself in the foot. learn to do it yourself, its much easier with any nexus. fastboot oem unlock, fastboot flash a custom recovery, flash a custom rom or the su binaries in your new recovery, reboot. that is all. to get into the bootloader/fastboot, power on holding volume down and the power button.
---------- Post added at 02:49 PM ---------- Previous post was at 02:48 PM ----------
my nexus 7 was rooted 4 minutes after i got home with it. that is not difficult at all.
SquireSCA said:
How? none of the toolkits actually gain root. For a "developer" platform, this one is harder to root than any of the HTC or Moto phones I have had...
I can't even get into Recovery. On my Rezound, you hold the volume down and hold power and it boots into recovery, I have no idea how to do it on this device...
Click to expand...
Click to collapse
adb reboot bootloader
Make sure you re-enable USB debugging on your tablet after unlocking.
It might get turned off after wiping data.
simms22 said:
boot into the bootloader/fastboot then select recovery. then flash the su binaries or any custom rom while in recovery. thats all. anyways, i highly recommend twrp recovery over cwm.
Click to expand...
Click to collapse
Tried the toolkit again, but this time I told it to install SuperSU instead of Super User, and it worked. Great success!
SquireSCA said:
Tried the toolkit again, but this time I told it to install SuperSU instead of Super User, and it worked. Great success!
Click to expand...
Click to collapse
great!
for you i am happy
I unlocked, rooted and installed CWM. Titanium backup works however some apps say I'm rooted and some say I'm not. How can I get fully rooted?
A very simple video on how to install the Android sdk :
http://www.youtube.com/watch?v=oaNM-lt_aHw&feature=youtube_gdata_player
Sent from my Nexus 7 using Xparent Blue Tapatalk 2
one80oneday said:
I unlocked, rooted and installed CWM. Titanium backup works however some apps say I'm rooted and some say I'm not. How can I get fully rooted?
Click to expand...
Click to collapse
Probably because the toolkit u used didn't create a symbolic link to su in /system/xbin.
Try an other kernel or learn how to do it yourself
Sent from my Nexus 7 using Tapatalk 2

Rooting without flashing custom recovery

Is it possible at all to root my Nexus 7 (on Android 4.2 JOP40C) without having to flash a custom recovery or something else that would cause me to lose all of my data, and would allow me to continue to receive normal OTA updates? I understand that an OTA update would likely remove my root, that's a non-issue if I can re-root in a similar way.
Skyline969 said:
Is it possible at all to root my Nexus 7 (on Android 4.2 JOP40C) without having to flash a custom recovery or something else that would cause me to lose all of my data, and would allow me to continue to receive normal OTA updates? I understand that an OTA update would likely remove my root, that's a non-issue if I can re-root in a similar way.
Click to expand...
Click to collapse
It's not the rooting part which erases the data., it's unlocking the boot loader which does that. But an unlocked boot loader is necessary to root.
My advice is that you create a backup using one of the toolkits or using TitaniumBackup and then go ahead and begin the rooting process. After that's complete you can just restore the backup.
Sent from my Nexus 7
veeman said:
It's not the rooting part which erases the data., it's unlocking the boot loader which does that. But an unlocked boot loader is necessary to root.
My advice is that you create a backup using one of the toolkits or using TitaniumBackup and then go ahead and begin the rooting process. After that's complete you can just restore the backup.
Sent from my Nexus 7
Click to expand...
Click to collapse
Titanium backup requires root in the first place.
Unlocking boot loader does a factory reset so save any personal pictures etc you have, copy them to your PC using one of the many methods available.
The apps you can just red-download but you will loose the data from them, whether that's a concern depends what data you have in your apps that you can't manage to save or recreate.
Once the bootloader is unlocked then flash a custom recovery, I use twrp. Then you can do a nandroid backup before you flash the files needed for root just in case it screws up.
If an OTA removes root then you can just reflash the root files.
My Backup Pro is a backup program that works without being rooted. It's also dead easy to use and its free.
Sent from my Nexus 7 using xda premium
I was curious about this too.
I don't care about losing data when unlocking the bootloader.
BUT I would like to know if it is possible to root the nexus 7 but not have a custom recovery?
I just want to be able to use apps that require root access but I remember from my old phone that with custom recovery there were a whole lot of things (like doing a factory reset using the settings) that couldn't be relied upon. I would like to avoid this if possible. For the moment I have no interest in custom roms.
But every time I search for this no one can give a clear answer.
So Yes or No? Can I have a rooted nexus 7 but stock recovery?
And if possible do you know how? I'm on a mac so a non-toolkit method would be amazing
Will rooting remove any data from an unlocked bootloader?
I reflashed my device and accidently left it unlocked... well seems like it was lucky maybe, since I want to root now
Unlocking bootloader wipes ALL data.
Flashing custom recovery does not wipe any data.
Rooting, ie flashing root files, does not wipe any data.
You must have an unlocked bootloader to install custom recovery.
You must have an unlocked bootloader to root.
You can have have a custom recovery and root.
You can have a custom recovery and no root.
You can have root and no custom recovery.
NOTE NOTE NOTE
The easiest way to obtain root is by flashing root files via custom recovery.
If you have an unlocked bootloader then you may as well flash a custom recovery and take a full backup of the device via the custom recovery before you root in case you mess something up. There is no reason to not have a custom recovery. It allows you to also perform a 'factory reset' by wiping certain parttitions and makes rooting MUCH easier as you flash the root files via the custom recovery.
If you want to root, you have to unlock the bootloader first (as said before):
> fastboot oem unlock
After that, you can boot a custom recovery (not flash, the normal recovery will be back again after a restart)
> fastboot boot [recovery.img]
And when the recovery has started, you can mount /system and push the necessary files:
> adb push su /system/xbin
> adb push Superuser.apk /system/app
After that, you should set the correct permissions:
> adb shell
(now you are in your device's shell)
> chmod 06755 /system/xbin/su
> chmod 0644 /system/app/Superuser.apk
> exit
And now just reboot:
> adb reboot
Enjoy
Edit:
The custom recovery can be found here: http://clockworkmod.com/rommanager
The su and Superuser.apk files can be found here: http://forum.xda-developers.com/showthread.php?t=1538053 (just extract the two files from the .zip, I dont like those installer scripts )
Interesting thread. I also posted something similar but was ignored, so never got a answer.
So, to anyone with the answer, PLEASE,
Is there ANY way to backup the WHOLE device, apps included, BEFORE any bootloader unlocking + rooting is done ?
I have googled this question for the past week and cannot get a definitive answer, some saying yes with xx-app, some saying it's not possible because the hidden folders are not accessible to a non-rooted device.
I have purchased many apps on google play store, I don't mind downloading most of them again but I am worried if I wipe the device whether I will be allowed to download from the play store, or whether I will get asked to pay for them again - don't want this.
Plus, most of my games are HUGE, GTAIII, NFS Most Wanted, Asphalt 5,6,7, etc.. and these take a very long time to download again via wifi.
So please, a simple yes or no would suffice. If I have to bite the bullet then so beit, but I have quite a lot to lose if I do, so you can see why I need to get a definitive answer and then do some thinking. Would have rooted 2 weeks ago when I bought the Nexus 7 32Gb, but hindsight is a good thing when you know how.
JohnRM said:
Is there ANY way to backup the WHOLE device, apps included, BEFORE any bootloader unlocking + rooting is done ?
Click to expand...
Click to collapse
Yes, there is the adb backup command:
> adb backup –apk –shared –all –f C:\path\to\backup.bak
However, this will not backup your SMS&MMS. But there is the tool SMS Backup & Restore, which can do this job
Edit:
Here is another Thread with a more detailed description:
http://forum.xda-developers.com/showthread.php?t=1420351
kroegerama said:
Yes, there is the adb backup command:
> adb backup –apk –shared –all –f C:\path\to\backup.bak
However, this will not backup your SMS&MMS. But there is the tool SMS Backup & Restore, which can do this job
Edit:
Here is another Thread with a more detailed description:
http://forum.xda-developers.com/showthread.php?t=1420351
Click to expand...
Click to collapse
Many thanks. :good:
JohnRM said:
Many thanks. :good:
Click to expand...
Click to collapse
You can re-download from the playstore again without repaying. Just as you would re-download if you were using a new device and/or additional device.
You can download one app to multiple devices, is have an app installed on multiple devices at the same time, but you only pay once.
kroegerama said:
And when the recovery has started, you can mount /system and push the necessary files:
> adb push su /system/xbin
After that, you should set the correct permissions:
> adb shell
(now you are in your device's shell)
> chmod 06755 /system/xbin/su
Click to expand...
Click to collapse
Thank you so much for the info! this helped me a lot. Except one thing didn't work for me. Did you mean "adb push su /system/bin" and "chmod 6755/system/bin/su"??? I tried what you said and discovered that /xbin is not a directory.
BTW if you can't be bothered doing it manually, CMW recovery has a nice "install from sideload" feature.

[Q] Problems rooting Nexus 4 on Linux

(OK, the board ate my first post; maybe this one will do better...)
I am trying to root my Nexus 4 in order to install Titanium Backup. (I have some user data to transfer over from my old Samsung Vibrant before I retire it.) I'm using the Nexus Toolkit for Linux, here:
http://forum.xda-developers.com/showthread.php?t=1999065
The first two steps work fine. I can unlock the bootloader and install clockwork mod. When I try to actually root the device and install su, though, I run into a problem. Specifically, going into recovery mode (either automatic through the toolkit or manually myself) I get the Andy the Android "error" icon (Android flat on his back, chest open, with a red warning triangle over it). That remains until I reboot the device.
Any suggestions? I'm not an experienced rooter (Ti Backup is the ony reason I'm even bothering), so keep it basic please.
Crell42 said:
(OK, the board ate my first post; maybe this one will do better...)
I am trying to root my Nexus 4 in order to install Titanium Backup. (I have some user data to transfer over from my old Samsung Vibrant before I retire it.) I'm using the Nexus Toolkit for Linux, here:
http://forum.xda-developers.com/showthread.php?t=1999065
The first two steps work fine. I can unlock the bootloader and install clockwork mod. When I try to actually root the device and install su, though, I run into a problem. Specifically, going into recovery mode (either automatic through the toolkit or manually myself) I get the Andy the Android "error" icon (Android flat on his back, chest open, with a red warning triangle over it). That remains until I reboot the device.
Any suggestions? I'm not an experienced rooter (Ti Backup is the ony reason I'm even bothering), so keep it basic please.
Click to expand...
Click to collapse
It sounds like you're losing recovery. Do you restart your device after you flash CWM?
Try flashing CWM manually through fastboot, don't restart the device (will overwrite custom recovery) and just go directly into recovery then flash SU.
Alternatively, make sure you're using the right version of CWM and/or double check that the writing process for CWM is going to completion. I don't know if you can disable the stock recovery overwrite without first having root, but you can also look into that
hoponpop said:
It sounds like you're losing recovery. Do you restart your device after you flash CWM?
Try flashing CWM manually through fastboot, don't restart the device (will overwrite custom recovery) and just go directly into recovery then flash SU.
Alternatively, make sure you're using the right version of CWM and/or double check that the writing process for CWM is going to completion. I don't know if you can disable the stock recovery overwrite without first having root, but you can also look into that
Click to expand...
Click to collapse
I'm using whatever version is included in the Universal Tooklkit download. It has two versions included, Standard and Touch. I've tried both, same effect.
Any pointers on "manual" installation of CWM? (As I said, rooting newbie.)

[Q] Nexus 4 rooting problem

Searched a lot of forums and couldn't really find anything.So basically the problem is I rooted my nexus 4(Using Kingo Android root) and everything went quite successfully.I saw the bootloader screen and the menu came up,etc.However once I installed some applications which require super root access It gave the error "The phone is not rooted" so I downloaded a root checker and it also confirmed this.However I can access the Android recovery if I hold the right keys and there is an unlock icon when I boot up my phone.Not really sure why this is happening.
p.s:I'm not really used to the technical jargon as I am a relatively new user to android.
Thanks
Omegao said:
Searched a lot of forums and couldn't really find anything.So basically the problem is I rooted my nexus 4(Using Kingo Android root) and everything went quite successfully.I saw the bootloader screen and the menu came up,etc.However once I installed some applications which require super root access It gave the error "The phone is not rooted" so I downloaded a root checker and it also confirmed this.However I can access the Android recovery if I hold the right keys and there is an unlock icon when I boot up my phone.Not really sure why this is happening.
p.s:I'm not really used to the technical jargon as I am a relatively new user to android.
Thanks
Click to expand...
Click to collapse
do you have Superuser or SuperSu on your phone. Do you have busybox installed? Do you have a custom recovery installed? Personally I never heard of the the toolkit you used. I used Wugs when I did mine
playya said:
do you have Superuser or SuperSu on your phone. Do you have busybox installed? Do you have a custom recovery installed? Personally I never heard of the the toolkit you used. I used Wugs when I did mine
Click to expand...
Click to collapse
Umm I don't know if I have Superuser,I got a notification when I attempt to use applications which require superuser access stating I do not have superuser access.Also no I did not download any of the above applications as they all require root access which my phone( for some reason) says I don't have.Which is the main problem.
I can access that screen where there is an android having open-heart surgery(Is that the bootloader?)
Thats pretty much it.I didn't install any additional software after rooting it with that.And tbh the only reason I used that is because it was a one-click root process
Toolkits are pretty useless. All that is needed to root a nexus device is to unlock the bootloader, flash a custom recovery (technically optional), use custom recovery to flash supersu.
The unlock icon means bootloader is unlocked, do you have a custom recovery yet such as TWRP or clockworkmod?
Omegao said:
Umm I don't know if I have Superuser,I got a notification when I attempt to use applications which require superuser access stating I do not have superuser access.Also no I did not download any of the above applications as they all require root access which my phone( for some reason) says I don't have.Which is the main problem.
I can access that screen where there is an android having open-heart surgery(Is that the bootloader?)
Thats pretty much it.I didn't install any additional software after rooting it with that.And tbh the only reason I used that is because it was a one-click root process
Click to expand...
Click to collapse
none of them are truly one click and rooting this phone is not that difficult. To be honest if you have a problem following rooting instructions for a Nexus may I say rooting may not be for you and quit while your a head. If you used a toolkit you might be able to download Superuser from playstore and test your root.
DrFredPhD said:
Toolkits are pretty useless. All that is needed to root a nexus device is to unlock the bootloader, flash a custom recovery (technically optional), use custom recovery to flash supersu.
The unlock icon means bootloader is unlocked, do you have a custom recovery yet such as TWRP or clockworkmod?
Click to expand...
Click to collapse
lets be honest toolkits are useful for most that need a little help. For more advanced users of course its an issue. Flashing a recovery would still require downloading of software and understand adb slightly.
DrFredPhD said:
Toolkits are pretty useless. All that is needed to root a nexus device is to unlock the bootloader, flash a custom recovery (technically optional), use custom recovery to flash supersu.
The unlock icon means bootloader is unlocked, do you have a custom recovery yet such as TWRP or clockworkmod?
Click to expand...
Click to collapse
I'm not sure if I have.But when I hold certain keys when turning it on it does bring an interface which says clockwork something at the bottom(Maybe the mod?)

How to root using OSX/MAC?

Hey Guys,
I just bought my second Android phone and again I want to root this device to get rid of the Huawei bloatware and/or install plain vanilla Android (is there already a custom plain vanilla rom for this device?) but all the unlocking bootloader and rooting tutorials use Windows tools.
Is there a way to root this phone using OSX/MAC? Is there also a way to install the most basic form of Android on this device using OSX/MAC?
I am not the most knowledgeable as a lot has seem to have changed since my last Android device. many thanks!
If you are able to unlock the bootloader, you can flash TWRP (fastboot flash recovery twrpname.img) and then flash Chainfire's SuperSU From recovery to root you phone.
I'm not sure that fastboot commands are the same as Windows, but I think so

Categories

Resources