Root samsung j3 from ubuntu? - Samsung Galaxy J3 (2016) Questions & Answers

Hi, I'm trying to root my Samsung j3 phone, and i cant figure out how to do it. it seems quite simple, but i cant get it to boot twrp. Ive copied the twrp image to the recovery partition using Hemidall and then held power+volume-up+home to boot into recovery mode but the phone just boots into the normal recovery mode. Ive never rooted a phone before so i don't know what really to do.

Dont let it boot into the system, the system overwrites the recovery. Make sure as soon as its done flashing twrp, you restart instantly into the recovery. I'd recommend turning off auto reboot.

Related

[Q] Stuck in recovery boot loop...?

While using the PA Updater app to upgrade my rom, the app attempted to reboot into recovery to run an openrecovery script. While doing this, I believe it set my "reboot mode flag" to recovery.
The tablet boots with the Google screen and then shows the TWRP splash (I'm on version 2.6.0.0), then it reboots and starts again.
I am able to get to the bootloader, but even if I press start or recovery mode it reenters the boot loop trying to get into recovery. In the bootloader was where I saw the reboot mode flag set to recovery. Is there a way to use fastboot to remove that or am I just going to have to do a wipe with fastboot?
It happened to me once. I pushed the power button for 60 seconds as it supposed to do a kind of battery pull, and it worked.
HunterOrHunted said:
While using the PA Updater app to upgrade my rom, the app attempted to reboot into recovery to run an openrecovery script. While doing this, I believe it set my "reboot mode flag" to recovery.
The tablet boots with the Google screen and then shows the TWRP splash (I'm on version 2.6.0.0), then it reboots and starts again.
I am able to get to the bootloader, but even if I press start or recovery mode it reenters the boot loop trying to get into recovery. In the bootloader was where I saw the reboot mode flag set to recovery. Is there a way to use fastboot to remove that or am I just going to have to do a wipe with fastboot?
Click to expand...
Click to collapse
same thing just happened to me... tried Factory Reset and TWRP ran an Open Recovery Script and boom... boot loop... TWRP screen pops up and then goes to loop...
tried pressing powerbutton but no use...
any workaround for this???
Lordificated said:
same thing just happened to me... tried Factory Reset and TWRP ran an Open Recovery Script and boom... boot loop... TWRP screen pops up and then goes to loop...
tried pressing powerbutton but no use...
any workaround for this???
Click to expand...
Click to collapse
I've done this twice to my nexus now and I think I found a reliable way to restore to running condition. YMMV
1)Boot the nexus into fastboot (power and both volume keys) when you power up.
2)Attach your usb cable from the PC (or MAC I guess, dont have one to try)
3)start WUG Nexxus Root Toolkit. 'Launch' advanced utilities.
4)Test your fastboot with Quick tools. check the button at Fastboot-Bootloader and click 'List Devices' if the box that pops up is empty then fastboot isn't working (I can't help you there and it must be working to continue).
5)If fastboot shows a device then go to "Boot Temporary" and click 'Custom Recovery'.
6)I selected 'Touch TWRP' but CMW may work as well. This will reboot you into (temp)TWRP and from there you can force a reboot that will reset the 'Recovery' flag that has locked your bootloader.
7)Give it a few minutes (be patient for 5 minutes) and hopefully you reboot to where you were prior to this mess.
Long time lurker and couldn't fix my fails without everyone here.
Thanks to all.
Bill
HunterOrHunted said:
While using the PA Updater app to upgrade my rom, the app attempted to reboot into recovery to run an openrecovery script. While doing this, I believe it set my "reboot mode flag" to recovery.
The tablet boots with the Google screen and then shows the TWRP splash (I'm on version 2.6.0.0), then it reboots and starts again.
I am able to get to the bootloader, but even if I press start or recovery mode it reenters the boot loop trying to get into recovery. In the bootloader was where I saw the reboot mode flag set to recovery. Is there a way to use fastboot to remove that or am I just going to have to do a wipe with fastboot?
Click to expand...
Click to collapse
I had the same thing happen to me (though i updated from stock 4.4 to 4.4.2 [and i had twrp installed]). I tried reflashing to stock recovery and a few other things but same problem, it kept booting me into stock recovery. I know this is going to sound crazy, even stupid, but just letting it sit there for 5 minutes (at the stock recovery screen) let it work... I was searching for more things to try and it just started booting.... Checking the bootloader again showed the reboot mode flag set to none.
zeroedout420 said:
I had the same thing happen to me (though i updated from stock 4.4 to 4.4.2 [and i had twrp installed]). I tried reflashing to stock recovery and a few other things but same problem, it kept booting me into stock recovery. I know this is going to sound crazy, even stupid, but just letting it sit there for 5 minutes (at the stock recovery screen) let it work... I was searching for more things to try and it just started booting.... Checking the bootloader again showed the reboot mode flag set to none.
Click to expand...
Click to collapse
I guess mine worked because I was still on stock bootloader and adding TWRP was an important key but the 5 minutes seems to be the solution after all the rest.
recovery boot loop:- Is coz, one of your partitions would be facing problems while mounting.. So Wipe the Partition and Format it with Ext-2 file format. and reboot the Mobile. Then it'll stops rebooting.
Do you have a Samsung device?
Be warned - there is no such thing as fastboot mode for most Samsung Galaxy devices - you'll be wasting your time doing this and typing "fastboot devices" for many hours!
If you have problems with your recovery, it works to just reflash the CF-autoroot kit, which happens to flash the cache partition too. My problem was similar to the OP's - a bootloop with TWRP's obviously buggy OpenRecoveryScript, which was installing a ZIP file over and over again.
If you flash the CF-autoroot specific to your device, TWRP will be gone, but the phone will boot normally again - with all your data on it - hooray!
Then you install TWRP or CWM recovery as you did originally.
Stay away from OpenRecoveryScripts! I'll be installing a ZIP file in the traditional, manual way from now on, from an external SD card so I can remove the card if I get another TWRP boot loop.
carltasmania said:
Be warned - there is no such thing as fastboot mode for most Samsung Galaxy devices - you'll be wasting your time doing this and typing "fastboot devices" for many hours!
If you have problems with your recovery, it works to just reflash the CF-autoroot kit, which happens to flash the cache partition too. My problem was similar to the OP's - a bootloop with TWRP's obviously buggy OpenRecoveryScript, which was installing a ZIP file over and over again.
If you flash the CF-autoroot specific to your device, TWRP will be gone, but the phone will boot normally again - with all your data on it - hooray!
Then you install TWRP or CWM recovery as you did originally.
Stay away from OpenRecoveryScripts! I'll be installing a ZIP file in the traditional, manual way from now on, from an external SD card so I can remove the card if I get another TWRP boot loop.
Click to expand...
Click to collapse
How do you install cf-autoroot when stuck in a boot loop with samsung galaxy S device if there is no fastboot?
My phone is stuck in bootloop too. It shows Twrp at the starting and then restarts. What am i supposed to do? I need help ASAP please

Can you boot a different recovery (through scripts or adb)?

On my Note 1 I tried to update CWM-Recovery with the cwm app - and I never sticked to the device.
When installing and booting into recovery though cwm-app it worked once, but then on next reboot it got reverted to the old version again.
Later then I found out that on the galaxy devices the recovery can only be hard-flashed with odin or similar method, but not through the cwm-app.
BUT the cwm-app used install-recovery.sh or some other method to start the new recovery at least once after the first reboot.
Couldn't we maybe get a custom recovery running on our devices while still having knox untouched?
Just as a temporary boot I mean, but if that would work over adb for example, we wouldnt need to flash a recovery on the phone but instead boot the recovery over adb.
Anyone know more maybe? How does install-recovery.sh actually work, or how ccan it be used to boot a custom recovery?

I think I've bricked my device Nexus. No OS and won't boot into Recovery.

I didn't know what I was doing using the TWRP and I've formatted the entire device. Including my SDCard where my Roms and Backups were stored. So now my nexus is without an OS. This generally wouldn't be a problem since I can 'mount' the device in recovery mode and transfer a new Rom .zip to my sdcard and then flash it, however... now my phone won't go into recovery either. When I get in the Fastboot, select Recovery and hit Power, it shows the Google logo and just freezes. For good. So I'm unable to get into Recovery.
(Side note: for whatever reason, I haven't been able to get into Recovery using this method for a VERY long time. I end up having to use Rom Manager to get into Recovery, and it went into recovery every time doing that.)
Any help, please?

Note 3 stuck on Samsung logo

Is there a way to copy the data from the internal memory. My phone won't start (out of the blue), it's stuck on the Samsung logo. I tried Safe mode, Wipe cache partition but it didn't help.
I know I should have taken some backups but I didn't. Samsung authorized service didn't help me either.
Phone is not rooted and it's running Samsung ROM.
Search question posted multiple times.But if Samsung failed then its a waste .
Personally I would flash custom recovery and custom rom without wipe .
Sent from my SM-N930F using XDA-Developers Legacy app
What I read I need to have USB debugging enabled. I'm not sure whether it is enabled and if not how to proceed.
If you can boot to download mode, flash TWRP custom recovery using odin (pc). After that boot to TWRP and from there you can copy your files to memory card using twrp file manager.
I think I'm able to boot to download mode. I'm little bit worried not to mess anything up (such as delete the internal memory). Is there any step-by-step manual on how to do that? What about that USB debugging?
https://forum.xda-developers.com/showthread.php?t=2494245
Does the installation process wipe internal memory? I don't want to loose photos/videos that I didn't backup.
Flashing twrp should not wipe data.
I succesfully flashed TWRP but note 3 still boots in the "regular" recovery mode. What I read Samsung ROM's replace custom recovery with the stock one. How can I fix it?
Do I need to flash TWRP again?
This worked for me:
Before you flash the recovery, untick the Auto Reboot option in ODIN. Then flash the recovery. After flashing in done, reboot your device directly to recovery mode from download mode by pressing Vol up + Power + Home button together. Now you will see the TWRP recovery is booted in your device. Now you can reboot normally and your TWRP will be installed.
https://forum.xda-developers.com/showthread.php?t=2426426

Cant flash anything other than twrp on galaxy s8 and phone wont start

so i accidentally destroyed my efs partition on my Samsung and last baseband and all that in the process of trying to fix that i seem to have broken the bootloader or something so the phone just flashes on the samsung logo, when i try to flash stock firmware or anything other than twrp the flash fails and the phone shows this error: "an error has occurred while updating the device software. Use emergency function in the smart switch pc software." the phone isn't reconised in the smart switch software though so i cant try to fix it through that. im really not sure what to do at this point, does anyone have any ideas?
Update: i managed to find the latest firmware to flash (CRGB) however my phone gets stuck on the flashing samsung logo and idk what to do now. also my efs partition is broken is there a way i can fix that? (i dont have a backup)
can u boot to twrp?
khawarjaved said:
can u boot to twrp?
Click to expand...
Click to collapse
yes but i tried to flash stock everything including recovery and now twrp is gone and the phone boots to the s8 powered by android screen but then goes black and fails to boot. im not sure what to do now
if u can get to download mode ......flash twrp and when successfully flash reboot directly into recovery on first time ....as phone turns off after recovery is flashed immediately press power bixby and volume up....go to recovery wipe every thing including system etc...download a custom rom and move to phone via pc flash it and there you goo....any problems pm me

Categories

Resources