has anyone tried this? - AT&T Samsung Galaxy S6

http://forum.xda-developers.com/showthread.php?t=3180586
Found this in g4 forums. Root by injecting root into system.img. not sure if it touches bootloader but i don't really know much about this stuff. So I'm putting it here for someone else to read and maybe test
Sent from my SAMSUNG-SM-G920A using XDA-Developers mobile app

schhy said:
http://forum.xda-developers.com/showthread.php?t=3180586
Found this in g4 forums. Root by injecting root into system.img. not sure if it touches bootloader but i don't really know much about this stuff. So I'm putting it here for someone else to read and maybe test
Sent from my SAMSUNG-SM-G920A using XDA-Developers mobile app
Click to expand...
Click to collapse
I would assume if it were possible for our device it would have been done by now. The locked bootloader will only allow signed system files to be flashed, so I would venture to guess that once you alter the system.img file by injecting root that it would no longer be signed and would fail on flash from odin. I could be wrong, though.

PMDColeslaw said:
I would assume if it were possible for our device it would have been done by now. The locked bootloader will only allow signed system files to be flashed, so I would venture to guess that once you alter the system.img file by injecting root that it would no longer be signed and would fail on flash from odin. I could be wrong, though.
Click to expand...
Click to collapse
Yeah, i don't know how the whole signing stuff works but I was hoping that maybe it would stay signed after injection and if it does, someone could test it
Sent from my SAMSUNG-SM-G920A using XDA-Developers mobile app

Related

One-Click Fastboot Restore to recover from bootloop or softbrick

Thanks to dhacker29 for the orginal idea and script!
Check out his orginal post for the Droid Bionic here!
Also, thanks to kennethpenn for providing the files you are about to use!
You have to be unlocked to use this!!
I AM NOT RESPONSIBLE FOR ANY THING THAT HAPPENS TO YOU OR YOUR PHONE!
I will try to help as much as possible, but that does not allow you to hold me responsible for anything whatsoever.
Step 1. Download this zip file and extract it, putting all the files in a folder.
Step 2. Download the file "One-Click Fastboot Restore.zip" and extract it, putting all the files in the same folder as the one above.
Step 3. Run the .bat file and follow the instructions.
DO NOT FIX PDS PARTITION UNLESS NECESSARY! IT WILL WIPE YOUR MAC ADDRESS FOR WIFI AND BLUETOOTH!
(Found some typos, not serious. Will fix soon)
No comments yet? I take that as a good sign, I haven't screwed up the script!
What does this do? Restore a backup from fastboot
Sent from my MB860 using XDA App
I'm also curious what exactly it does. At 140k it isn't replacing very much. Does it just fix files related to booting?
Didnt run it because I'm on linux and my phone is fine, but looking at the batch file, it automates flashing the stock gingerbread rom and restores PDS via fastboot.
when I run it, it gives me AdbWinApi.dll error. any suggestions?
I ran this for ****s and giggles and it returns everything back to stock AT&T 2.3 while giving you options along the way of what exactly you wanna restore to stock? webtop, system,pds, wipe data etc. works perfectly! makes life easier really! Phone booted right up after running no problems! Thanks!
beidave said:
when I run it, it gives me AdbWinApi.dll error. any suggestions?
Click to expand...
Click to collapse
Look for that dll file on Google and put it in the folder
Javi97100 said:
What does this do? Restore a backup from fastboot
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
tapeworm_george said:
I'm also curious what exactly it does. At 140k it isn't replacing very much. Does it just fix files related to booting?
Click to expand...
Click to collapse
It restores your phone back to stock AT&T android via fastboot automatically. It also gives you the option to *fix* your pds partition.
It's also an alternative to RSD
Gutterball said:
I ran this for ****s and giggles and it returns everything back to stock AT&T 2.3 while giving you options along the way of what exactly you wanna restore to stock? webtop, system,pds, wipe data etc. works perfectly! makes life easier really! Phone booted right up after running no problems! Thanks!
Click to expand...
Click to collapse
Thanks for your reply, it assures me that the file isn't screwed up!
What happens if i run this on a non-US retail-EU Atrix?
Nevermind.
Sent from my MB860 using XDA App
hkkla said:
What happens if i run this on a non-US retail-EU Atrix?
Click to expand...
Click to collapse
Anyone has a clue? Is this a complete restore to out of the box-state?
sorry if this is a noob question. but dose this revert ext 4 format back to stock? haven't been keeping up lately and this ext 4 ext 3 stuff is new to me.
It restores it back to stock AT&T. EVERYTHING will be restored to stock.
hkkla said:
What happens if i run this on a non-US retail-EU Atrix?
Click to expand...
Click to collapse
It restores it back to stock AT&T. I tried this on an international Atrix.
Pardon my ignorance, i'm trying to restore a bricked Atrix 4G for a friend. It gave error Failed to boot SVF 105:1:2 0x1000 after bad upgrade. Is it possible to use this as a solution? How can i find that out? and in any case, i have downloaded all files, what's the correct procedure to do this?
Thanks in advance.
Anyone?
Sent from my X10i using XDA App
Barzobius said:
Anyone?
Sent from my X10i using XDA App
Click to expand...
Click to collapse
If its already bricked it can't get much worse using this script. Try it.
Sent from my MB860 using Tapatalk
Phalanx7621 said:
If its already bricked it can't get much worse using this script. Try it.
Sent from my MB860 using Tapatalk
Click to expand...
Click to collapse
Well, been trying but haven't been able to do anything with it. I mean I never used it before and seems like it needs to boot into fastboot mode which I haven't been able to do.
Is in any way possible to make the phone boot into that via usb cable with this software? I installed all requiered software including drivers but it never detected the phone in that (bricked) state, not even once. The phone turns a green light when u connect the usb without battery in, thats it.
I haven't found any solution yet, only seen ppl saying to buy a new one. Is this brick really that bad that there's absolutely no solution? And it all seems to be caused by lack of SBK as ive read on the net...
Well if there's any good news I would like to hear them
Sent from my X10i using XDA App
It's a hard brick. I'm sorry, but it cannot be fixed. You can always try a factory cable, but so far, nothing can be done. I feel your pain

[Q] Bricked?

I was attempting to work through applying the .218 update to my droid 4. It was giving me a system validation error while when it was running in recovery. I found a thread that stated I needed to replace the apks and odex's as well as the build.prop. I didn't read it carefully enough as it said to replace *THE* problem ones. My validation error was on the build.prop file, I think.
In any case, I was using root explorer to copy *ALL* the files from a base zip file's app folder into the /system/app folder. Things were going along fine, until the phone app forced closed, then the phone rebooted.
Now I'm boot looping.
What can I do? I don't have any safe straps.
Can't access safestrap? Stock recovery? Adb services?
Sent from my DROID4 using Carrier Pigeons
The Magician Type 0 said:
Can't access safestrap? Stock recovery? Adb services?
Sent from my DROID4 using Carrier Pigeons
Click to expand...
Click to collapse
thanks for the reply...
I don't have safestrap installed on the device, and I've never used it. I don't think that's an option, unless you have something up your sleeve there
As for Stock recovery, I'd love to give it a try, but I don't know how that would work. I can't get to ADB because I can't boot the phone.
I *CAN* get into the bootloader. From there, I can get into recovery, AP Fastboot, BP SBF Flash BP boot... and others.
So, I'm hoping there's some kind of way to push to the device from one of the boot loader options. I've had a Droid 1, and a number of other android devices, but I've never gotten this far into a hole before.
again... thanks for whatever you got
It doesn't look good my friend, not without a SBF to flash. The only thing I can think of off the top of my head would be to try flashing the update again and cross your fingers that you got things in place before the bootloop. However I'm 99.9% sure that won't work. If I find anything else I'll let you now, but at this point you might be a sitting duck.
Sent from my DROID4 using Carrier Pigeons
The Magician Type 0 said:
It doesn't look good my friend, not without a SBF to flash. The only thing I can think of off the top of my head would be to try flashing the update again and cross your fingers that you got things in place before the bootloop. However I'm 99.9% sure that won't work. If I find anything else I'll let you now, but at this point you might be a sitting duck.
Sent from my DROID4 using Carrier Pigeons
Click to expand...
Click to collapse
I have the update on the SD Card, and nope, flashing it results in the same system validation error, and a bootloop.
thanks. Do you think that flashing the RAZR sbf's would get me a booting device? I only got the thing 14 days ago. Maybe I can exchange it
jbeazell said:
I have the update on the SD Card, and nope, flashing it results in the same system validation error, and a bootloop.
thanks. Do you think that flashing the RAZR sbf's would get me a booting device? I only got the thing 14 days ago. Maybe I can exchange it
Click to expand...
Click to collapse
If you're still in the 14 day return window I would try to return it. If it can't get past the bootloader than they won't know you rooted it. Just tell them you tried to do the update and it bootlooped. That's probably you're safest bet.
kwyrt said:
If you're still in the 14 day return window I would try to return it. If it can't get past the bootloader than they won't know you rooted it. Just tell them you tried to do the update and it bootlooped. That's probably you're safest bet.
Click to expand...
Click to collapse
I'm heading down there in a few minutes. Thanks for the help all ! I think I'm getting the razr maxx. My wife has one and the screen on that thing is incredible. I think it's worth losing the keyboard to get that screen... and the battery life. That part is also incredible.
again.. thanks.
BTW, you guys absolutely rock. You've helped me out of some serious holes with my OG Droid and other devices more often than I can count.
Sent from my DROID4 using Tapatalk 2
You can use bp tools to push over a clean system. I believe theres a tutorial somewhere that written for bionic. Just replace that with the droid 4 system. I would extract it from one of the stock roms available and push it thru bp tools.
Sent from my DROID4 using Tapatalk 2
Can you link that tutorial? I'm also trying to figure out how to use adb via stock recovery. Thanks!
Sent from my DROID4 using Carrier Pigeons
http://forum.xda-developers.com/showthread.php?t=1236465
Sent from my Galaxy Nexus using Tapatalk 2
Thanks!
Sent from my DROID4 using Carrier Pigeons
Let me know
Sent from my Galaxy Nexus using Tapatalk 2
It sounds like OP is going to exchange their phone, but could you really just replace the entire /system folder and have it work? (Nothing special with permissions, etc?)
If so, that is definitely something worth knowing...
Yes i believe so.
Sent from my DROID4 using Tapatalk 2

A quick question

Please see pic below...
Do I need to unlock the bootloader before I can flash this fix for the barclays banking app?.
I'm already rooted
Thanks
Sent from my C6903 using Tapatalk now Free
Pic, sorry forgot to add to first post! :-/
Sent from my C6903 using Tapatalk now Free
As far as I know there is no way to install a recovery without unlocking the Bootloader and you will need CWM or TWRP to install this fix.
OfficerTux said:
As far as I know there is no way to install a recovery without unlocking the Bootloader and you will need CWM or TWRP to install this fix.
Click to expand...
Click to collapse
I have twrp installed would it hurt if I tried installing the zip?
Sent from my C6903 using Tapatalk now Free
How did you install TWRP if your phone is not unlocked?
If you have a working recovery it would not hurt to install the fix, as it seems to be the only installation method
Of course I can not garuantee for anything.
Because you do not need to unlock to install recovery....
Just flash the zip in either cmw or twrp recovery
Or just extract the build.prop from the zip and push it manually.
But to be honest, why does barclays need a build.prop tweak to work. I wouldn't trust my bank in this case
Sent from my C6903 using xda premium
gregbradley said:
Because you do not need to unlock to install recovery....
Click to expand...
Click to collapse
I know is slightly OT, but how would I do that? I thought you would have to flash some custom kernel to get a working recovery. The dual recovery for locked BL is still work in progress isn't it?
Thanks in advance!
It works fine for 40 seconds then reboots. That's more than enough to flash a small zip like that. It just is not write long enough for a backup or restore.
Also you do not flash a partition for recovery as Sony devices do not have a recovery partition. Recovery on Sony devices hijacks the chargemon file to boot up into it.
I am not 100% sure about all the technicalities so don't shoot me if I am wrong on that, but the recovery for locked bootloaders will work for small flashes.
Sent from my C6903 using Tapatalk now Free
gregbradley said:
Because you do not need to unlock to install recovery....
Just flash the zip in either cmw or twrp recovery
Or just extract the build.prop from the zip and push it manually.
But to be honest, why does barclays need a build.prop tweak to work. I wouldn't trust my bank in this case
Sent from my C6903 using xda premium
Click to expand...
Click to collapse
Sadly the barclays banking app doesn't work on a rooted phone, and this is a fix for it to work.
Sent from my C6903 using Tapatalk now Free
Are you sure? What part of rooting affects the build.prop? None that I am aware of.
Sent from my C6903 using Tapatalk now Free
gregbradley said:
Are you sure? What part of rooting affects the build.prop? None that I am aware of.
Sent from my C6903 using Tapatalk now Free
Click to expand...
Click to collapse
Definitely, when I try to log into the app I get a in app message saying the barclays banking app is not supported on rooted devices. And then it just quits
Sent from my C6903 using Tapatalk now Free
I've got my Z1 rooted, but how do I install a custom recovery to it!?... I thought I had already, but haven't
Sent from my C6903 using Tapatalk now Free
Only way with a locked Bootloader is described here:
http://forum.xda-developers.com/showthread.php?t=2455959
But it is still in development and I would not advise it if you're not 100% sure what you're doing.
You could also unlock your phone and flash the Advanced Stock, Doom or any other kernel containing a recovery, but you will loose your Sony DRM Keys (Camera, X-Reality,...). They can be backed up (Backup TA partition) and restored, but the procedure is not that easy either.
Is this banking app really that important?
OfficerTux said:
Only way with a locked Bootloader is described here:
http://forum.xda-developers.com/showthread.php?t=2455959
But it is still in development and I would not advise it if you're not 100% sure what you're doing.
You could also unlock your phone and flash the Advanced Stock, Doom or any other kernel containing a recovery, but you will loose your Sony DRM Keys (Camera, X-Reality,...). They can be backed up (Backup TA partition) and restored, but the procedure is not that easy either.
Is this banking app really that important?
Click to expand...
Click to collapse
It's convenient for me to have it, but suppose I could always use the mobile Web version
I shall wait until there's a fix for the unlock bootloader, not worth losing your camera for
Sent from my C6903 using Tapatalk now Free
gibbo82 said:
Definitely, when I try to log into the app I get a in app message saying the barclays banking app is not supported on rooted devices. And then it just quits
Sent from my C6903 using Tapatalk now Free
Click to expand...
Click to collapse
I understand that bit, but rooting does not affect the build.prop, so why would modding it let the app think your phone is not rooted? Please can you send me a link to the thread you posted a picture of so I can look inside the zip and see what it is trying to do
Sent from my C6903 using Tapatalk now Free
bumping this thread as it's related to my post since that's my Cwm zip in op, barclays checks the build prop for the debug keys and if it's successful says Device is rooted, barclays latest versions have much more advanced detection methods
Sent from my LG-D802 using Tapatalk

NEXUS 6 OTA Question

Hello XDA, I recently rooted / unlocked my N6. I used WugFresh NRT to do so. However, I did not like the process of rooting so I (using NRT) flashed stock + unrooted and then factory reset followed by an OEM lock. Reading about lollipops new way of OTA, can I perform OTAs? Or is it too late?
Sent from my Nexus 6 using XDA Free mobile app
Hi,
As long as you are now stock, no system partition changes and Stock recovery, you should get and be able to install an OTA.
But, I don't own the device, so I'll have your thread moved to your device section in case there's something I don't know about the N6 in particular.
Good luck!
Thanks! I'm a newb to this whole technology stuff. My first nexus device as well. I soft bricked it too while attempting to remove a ROM.
Sent from my Nexus 6 using XDA Free mobile app
TheSkillfulTroll said:
Thanks! I'm a newb to this whole technology stuff. My first nexus device as well. I soft bricked it too while attempting to remove a ROM.
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
Not sure if this is of any value to you but considering the device apps are similar it may be used.
http://forum.xda-developers.com/google-nexus-5/general/stock-checker-zip-prepare-ota-t2927865
Oh to be honest I'm done with rooting for now. Ill wait till 5.0.2 comes out if I OTA good then great but if it fails (hopefully ill still be able to access phone if it does) I'll then flash and root. Hopefully its not the latter
Sent from my Nexus 6 using XDA Free mobile app
TheSkillfulTroll said:
Oh to be honest I'm done with rooting for now. Ill wait till 5.0.2 comes out if I OTA good then great but if it fails (hopefully ill still be able to access phone if it does) I'll then flash and root. Hopefully its not the latter
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
If your completely stock and unrooted their is nothing to worry about. You will indeed get updates.
Even with lollipops new way of checking?
They check blocks
Sent from my Nexus 6 using XDA Free mobile app
if you are rooted and on TWRP. Just download the 5.0.1 image. Extract it till you see the system.img and boot.img. Also download twrp and run
fastboot flash system system.img
fastboot flash boot boot.img
I then reboot and then run
fastboot flash recovery whateverthefilefortwrpis.img
after that restart to system and twrp will ask if you want to install supersu. I let it install and now i'm on 5.0.1. Everything is intact and no wipe is required.
I don't think you quite understand what I am asking... I had 5.0.1 , I rooted and unlocked using NRT. I installed a ROM, didn't like it and attempted to remove. At the attempt to remove it, I screwed up and the setup wizard wouldn't start, so I FORCE FLASHED USING NRT Stock and unrooted. This allowed me to start the phone and use it, I factory reset then relocked the OEM. I do not want to root nor unlock, I am asking if that, after these events, and lollipops new way of OTA, will I be able to update via OTAs?
Sent from my Nexus 6 using XDA Free mobile app
What is the new way lollipop handles OTA's?
Sent from my Nexus 6 using Tapatalk 4
Back then, it used to check file by file which was easily avoidable. Now, it checks a whole block of a partition, if it sees something as small a byte changed, it aborts. You can read more NY just googling Nexus 6 OTA root.
Sent from my Nexus 6 using XDA Free mobile app
TheSkillfulTroll said:
Back then, it used to check file by file which was easily avoidable. Now, it checks a whole block of a partition, if it sees something as small a byte changed, it aborts. You can read more NY just googling Nexus 6 OTA root.
Sent from my Nexus 6 using XDA Free mobile app
Click to expand...
Click to collapse
It's not hard to understand, actually quite simple. If you have flashed the stock image then there is nothing to worry about and there is no need for assumptions. Yes, you will receive OTAs. No need for the "what if" and "how about," if you aren't willing to accept an answer, don't ask a question.
If you're 100% stock then you will get ota.
Oh okay, thanks for the help! Once 5.0.2 rolls out, if it does not work, I'll just have to do it within NRT
Sent from my Nexus 6 using XDA Free mobile app

best way to simple reflash stock

my friend has this phone, and he is having lots of issues, im thinking something is corrupt. i have been looking through the different threads trying to figure out the best route as i dont own this phone. i remember in the fascinate GS1 days, i would just download a tar and flash in odin with a repartition file to start fresh again. im getting lost in these forums looking for the files i should get, and the procedure i should follow.
would someone mind leading me to the proper procedure and files to the most relevant stock rom please.
Before trying to reflash stock, confirm the bootloader on the phone to ensure that you flash the same or newer ROM.
Could you list the firmware in order from oldest to newest for me please? I'm having trouble finding a list... Man it sucks trying to catch up on a phone from so far behind.
Sent from my XT1575 using XDA-Developers mobile app
audit13 said:
Before trying to reflash stock, confirm the bootloader on the phone to ensure that you flash the same or newer ROM.
Click to expand...
Click to collapse
the phone is on oc2 right now.. 100% stock. im having trouble locating oc2 odin tars and pit. did they ever get pulled? and if not what baseband\ tar would be safe to flash to?
You may be able to flash This: http://forum.xda-developers.com/note-3-att/general/n900aucucnc2-odin-files-t2838117
or this: http://forum.xda-developers.com/note-3-att/general/100-stock-lollipop-5-0-n900aucueoc1-t3069609
thanks
do i need to include the pit? i thought i read somewhere not to include pit on the 32gb model. that may have been in the international forums though.
A pit file is only needed if Odin can't read the partition information.
There is only one version of the att note 3.
Thank you very much. Everything went smooth. I did the 4 file flash method as what I read seemed to point to that being the best method. The phone works great again.
Sent from my XT1575 using XDA-Developers mobile app
neh4pres said:
Thank you very much. Everything went smooth. I did the 4 file flash method as what I read seemed to point to that being the best method. The phone works great again.
Sent from my XT1575 using XDA-Developers mobile app
Click to expand...
Click to collapse
May I ask what you mean by '4 file flash method'?
Sent from my SAMSUNG-SM-N900A using Tapatalk
Meaning, I used ap,bl,cp,csc Odin files instead of the all in one.
Sent from my XT1575 using XDA-Developers mobile app
I think these are the four files: http://forum.xda-developers.com/note-3-att/general/n900aucucnc2-odin-files-t2838117 or here: http://forum.xda-developers.com/note-3-att/general/100-stock-lollipop-5-0-n900aucueoc1-t3069609
The ones you linked
Sent from my XT1575 using XDA-Developers mobile app

Categories

Resources