yashsingh1/xdaforums huggingface dataset:
[Galaxy S 5 Q&A, Help & Troubleshooting] vegetables:
Hey guys,

I've searched many times before creating that thread, but found nothing about my question

A while ago, i've rooted my G900F with build number LRX21T.G900FXX1BOB7 .. Now i want to un-root it to be able to get OTA updates, cuz now whenever i try to update, it tells me that the OS on my device has been modified in an unauthorized way. :(

So, can anyone provide me with the stock kernel for my build? or maybe tell me how to extract it from a stock rom?
[Galaxy S 5 Q&A, Help & Troubleshooting] *Detection*:
Just flash the same stock ROM from sammobile over the top with ODIN

You won't lose anything, but it will return the phone to Official status and allow OTA
[Galaxy S 5 Q&A, Help & Troubleshooting] vegetables:
Thanks for the fast replay! but are u 100% sure that i won't lose ANYTHING from the device data? cuz there are some important things there ..

If so, are there any options that i should check / un-check in odin ?
[Galaxy S 5 Q&A, Help & Troubleshooting] *Detection*:
Obviously back up anything important before doing anything like this, but yea, it's how I update OTA after rooting / TWRP

I flash the same ROM over the top, boot into Android, update OTA, then root and TWRP again

No options to change in ODIN, leave it default
[Galaxy Note 4 Q&A, Help & Troubleshooting] arunkrishnanr:
Phone: N910 C

Baseband: COJ5

Current Custom Rom: Electron Team Ditto Note 5

Ready to flash stock ROM version: N910CXXU2COJ5_N910CPNT2COJ1_PNT

Kindly let me know if anyone knows whether I can receive official OTA updates after flashing STOCK ROM.
[Galaxy Note 4 Q&A, Help & Troubleshooting] ithehappy:
Yes. After flashing stock ROM you will receive official OTA updates, that's a known thing by now :)
[Galaxy Note 4 Q&A, Help & Troubleshooting] MehmetAliCan:
OK, but when I use TWRP with stock rom, can I still get official updates or it says "modified"?
[Galaxy Note 4 Q&A, Help & Troubleshooting] nine5raptor:
As far as I know, no, as you have modified the recovery. Once you modify, you should always assume you are off the update path. I prefer not to blindly take OEM updates anyway.
[Galaxy Note 4 Q&A, Help & Troubleshooting] galaxy16:
as long as u have everything stock it will receive OTA with no problems. i flash to stock rom today and found out that my stock recovery mode saying DM verity verification failed.. let me knw if yours have it too.. cant find a fix for it
[Galaxy Note 4 Q&A, Help & Troubleshooting] tigsandmitch:
i thought as soon as knox was tripped thats the end of OTA updates
[Galaxy Note 4 Q&A, Help & Troubleshooting] dork997:
as far as i know, if you flash stock unrooted firmware your device status in settings >about will go back to official from custom (when u were rooted) and u will be able to take OTA.
[Galaxy Note 4 Q&A, Help & Troubleshooting] Battlehero:
KNOX will void warranty and prevent you from using KNOX apps. At least in Europe, Samsung can be forced to still repair the device if the damages can be proven to have nothing to do with root.

Got my S4 repaired twice, both times with KNOX tripped in the UK.

As long your device status is official in settings.
[Xperia Z3 General] Wolfbreak:
Hello Guys,

to keep the other Thread clean i thought lets create a new Thread where we discuss and share our Progress in Rooting the new Android 6.0.1 MM Firmware.

Here is the latest Information about Root Status for LB/UB​

6.0.1 ROM for LB/UB

Prerooted, ByeSELinux, RIC Defeat and Recovery included

LB/UB supported [Windows/Flashable]

Custom Stock Kernel with Recovery included [UB only]
[Xperia Z3 General] juanpirulo:
So you guys are able to run recovery on unlocked bootloader?

I ve got now root and rw access with kingroot and camera working so i gess at least i got the correct boot.img running

Any help please

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Wolfbreak:
Unfortunetly i only have locked Bootloader but i didnt understand your Question either, sorry.

Edit: Understand it, see under this Post.
[Xperia Z3 General] Bird40:
No
[Xperia Z3 General] Wolfbreak:
Does any Z3 Recovery even work with MM yet? Locked Bootloader we will have to wait for [NUT] but im asking about Unlocked Bootloader.
[Xperia Z3 General] juanpirulo:
Yes there is a recovery for unlocked bootloader for z3 running on mm. I flash the shoey recovery before till l i had to come back again to lollipop because i ve got a bootloop trying diferent things to get root and system rw. But now i try the new method by shoey but recovery its not working
[Xperia Z3 General] Wolfbreak:
Ok. Im sure shoey63 will fix it as soon as possible.

[MENTION=4675598]shoey63[/MENTION]

I think we need a fix for unlocked Bootloader Recovery.
[Xperia Z3 General] zxz0O0:
Updated the byselinux attachment in my post here:

http://xdaforums.com/showpost.php?p=65852374&postcount=406
[Xperia Z3 General] serajr:
Congrats my friend, you just rock!! \m/

Device booted up as it should, but root.

Edit:

Root seems to be ok, but system mountable as r/w! ric?
[Xperia Z3 General] JuanMnz93:
Can someone create a flasheable zip of the beta MM for UB? I have tried to download to many times the backup from MEGA but when I try to extract the backup, it says " Unexpected end of file".
[Xperia Z3 General] zxz0O0:
For system mount rw try my RICDefeat flashable zip: https://github.com/dosomder/SonyRICDefeat

If you have root you can also run the script from /data/local/tmp

Or easier step is:

unzip update-binary to /data/local/tmp

copy RICDefeat.zip to /data/local/tmp

su
cd /data/local/tmp
chmod 777 update-binary
./update-binary 3 1 /data/local/tmp/RICDefeat.zip
[Xperia Z3 General] juanpirulo:
have you try ricdefeat?
[Xperia Z3 General] Wolfbreak:
I confirm Root works now but System cant be mounted RW in Root Explorer for Example.
[Xperia Z3 General] serajr:
F*** yeah!! Thank you so much!!! \m/

Just to speed up things, used this one!

Proof:
[Xperia Z3 General] juanpirulo:
so in order to do a flashable zip for z3 with the ftf i am doing it will work if i add to the flashable the supersu the ricdefeat and byserlinux zips. cheers
[Xperia Z3 General] ondrejvaroscak:
I am trying to flash Xposed before loosing recovery after reboot...

EDIT - flashing xposed-v80-sdk23-arm without problem, wiped cache/dalvik, reboot ok, Android is optimizing :)))

EDIT2 - Xposed framework active and working, supersu and rw access as well.. F*cking GOOD JOB!!! guys...

---------- Post added at 20:30 ---------- Previous post was at 20:24 ----------

Yes.... hopefully we are getting some sort of recovery, although it is tough work

Maybe some sort of Flashify could work before we get real recovery... [MENTION=4904057][NUT][/MENTION]

It is a f*cking happiest day as smartphone user ... I have resisted over couple of years before getting my first smartphone (ok I had Samsung Galaxy2 Mini before, but it is not smart ....), and now happy that we have rooted M (and if sh*t not happens, it will be easy to root official Z3 Android M)... So I don't have to sell my lovely renewed Z3...
[Xperia Z3 General] juanpirulo:
you have the link for mm xposed? or its the same for lollipop? so i can integrated in flashable prerooted?
[Xperia Z3 General] ondrejvaroscak:
The do 2 version, one with xposed and one without - not everybody wants xposed..

xposed is the same version as for Lollipop, just sdk23 (Lollipop is sdk21 for 5.0 and sdk22 for 5.1)

http://xdaforums.com/showthread.php?t=3034811
[Xperia Z3 General] pyrykyto:
Awesome! Great Job. I'll just wait a little time to do this!
[Xperia Z3 General] Pandemic:
Sorry for asking of it is asked already but if we flash this on locked bl we have root also ?

Sorry just waked up ^^

Edit:

Yes read it works also on locked bl :)

Great job RXS bro [MENTION=2822871]Wolfbreak[/MENTION] and the cooperating DEVS :D
[Xperia Z3 General] ondrejvaroscak:
We are speaking about recovery, not about apps that enable to "flash" - process zip files into filesystem. Of course you can use apps that can do it. but speaking about "real" recovery, we need to wait ...

---------- Post added at 13:34 ---------- Previous post was at 13:33 ----------

Anyway, it is much more helpful to the community if you try it yourself and report here if it works :cyclops:
[Xperia Z3 General] TheXorg:
I tried. Good news: it does not damage our Z3 at all.

Bad news: it also does not work.

I think the reason why it does not work is that the "software reboot" does not really work on Z3. It was already on Lollipop like this - if I used the "software reboot" on Xposed Installer, my Z3 always did a "full" reboot. Seems like Android is rebooting itself if the "upper" system processes are killed (using "stop && sleep 2s && start").

So it seems there is no possibility for flashing anything with locked bootloader.
[Xperia Z3 General] Bidshelf:
Suppose that next month Sony will release a beta 2 of this firmware.

How I will flash this update if I lost the custom bootloader when updated with this beta? Is it necessary a custom BL for next zip updates, or the stock can do this?
[Xperia Z3 General] ondrejvaroscak:
I think it really depends... sometimes "flashing" zip file is simple copying of its content to system partition, running some scripts and then correcting permissions. Sometimes it is low-level operation (like sinflash for pre-rooted firmwares).

However, living without recovery gives all users wonderful possibility to dive into colorful world of shell scripting and understanding of diverse universe of linux system... What I wanted to say is, that you can take a look into xposed.zip file, study its content, update and install scripts, and adapt them in way that you can use it either direct in shell or over adb. :fingers-crossed:
[Xperia Z3 General] TheXorg:
Xposed has to use recovery as it replaces the binary that executes all android apps (app_process), and you can't do that while android is running. There is a reason why xposed installation is only possible using a flashable zip and not just by pressing a button in the Xposed Installer app (pre-lollipop).
[Xperia Z3 General] marenp:
There is no beta 2, first was concept and now this is only beta. Next release is going to be official. Just follow OP and you will find out what to do.
[Xperia Z3 General] zxz0O0:
Okay listen, this is nonsense. You don't need a recovery to flash zips. The recovery simply does the following steps in the background

Unzip update-binary from META-INF/com/google/android
chmod 777 update-binary
mount -o remount,rw /system
./update-binary 3 [outfd] [path to flashable zip]

These steps can also be done while android is booted, in fact that's what tools like Flashify do.

Of course people need to follow the steps correctly and flash RICDefeat otherwise the flashable zip can not mount /system as rw and fails.
[Xperia Z3 General] juanpirulo:
Yep, i can confirm that, i checked that flashfire its working fine on lp, so should be working on mm. Cheers

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z3 General] ondrejvaroscak:
This doesn't work for everything. Like [MENTION=5405633]TheXorg[/MENTION] stated before, xposed for example will not be flashed this way...
[Xperia Z3 General] zxz0O0:
Have you tried it with the exact steps I posted? Which Xposed zip are you talking about?
[Xperia Z3 General] TheXorg:
http://xdaforums.com/showthread.php?t=3034811

attatched file "xposed-v80-sdk23-arm.zip"

I don't think your method will work, all "non-recovery" methods you find on the internet use FlashFire. I don't think nobody discovered this if it would work.
[Xperia Z3 General] Bäcker:
flashed mm on locked bl today, works like a charm including xposed.

thanks for all the ppl involved
[Xperia Z3 General] Jkay7:
Great you got it working on D6633! Could you check your pm? I'm curious as to which steps you followed :)
[Xperia Z3 General] zxz0O0:
Works for me.

shell@D5803:/ $ su
su
root@D5803:/ # mount -o remount,rw /system
mount -o remount,rw /system
root@D5803:/ # busybox unzip /sdcard1/xposed-v80-sdk22-arm.zip META-INF/com/google/android/update-binary -d /tmp/
dk22-arm.zip META-INF/com/google/android/update-binary -d /tmp/ <
Archive: /sdcard1/xposed-v80-sdk22-arm.zip
inflating: META-INF/com/google/android/update-binary
root@D5803:/ # chmod 777 /tmp/META-INF/com/google/android/update-binary
chmod 777 /tmp/META-INF/com/google/android/update-binary
root@D5803:/ # /tmp/META-INF/com/google/android/update-binary 3 0 /sdcard1/xposed-v80-sdk22-arm.zip
INF/com/google/android/update-binary 3 0 /sdcard1/xposed-v80-sdk22-arm.zip <
ui_print ******************************
ui_print
ui_print Xposed framework installer zip
ui_print
ui_print ******************************
ui_print
ui_print - Mounting /system and /vendor read-write
ui_print
ui_print - Checking environment
ui_print
ui_print Xposed version: 80
ui_print
ui_print - Placing files
ui_print
ui_print - Done
ui_print
root@D5803:/ #
[Xperia Z3 General] ondrejvaroscak:
I did not tried it yet, it is just my speculation, because I doubt you can replace open file on mounted system... but correct me if I am wrong.

Also, I don't get syntax of update-binary, or better said, where you get outfd parameter from

EDIT: Ok, saw your example...

---------- Post added at 17:51 ---------- Previous post was at 17:43 ----------

I would never underestimate one of biggest magicians in Xperia world :)) This method will definitely work, I was just questioning if it can actually replace open file on mounted system, but unless the file is hardlocked, it could actually be possible... I need to try out...
[Xperia Z3 General] WiD3:
Hi everyone I flashed mm on locked bootloader few days ago and seems to be working fine, except my battery was batter on lollipop. So I wanna go back to 5.1 and I wanted to ask what's the best way to do it? Flashtool? Since there's no recovery on this rom I'm a bit confused here...thank you
[Xperia Z3 General] ondrejvaroscak:
If you want just unrooted Lollipop, then Flashtool is your friend.... If you want rooted Lollipop, you must flash unrooted KK/LP, root it, install recovery and flash ROM you want...

IF your Beta MM is ROOTED you can try this:

Since [MENTION=3975929]zxz0O0[/MENTION] have shown us the way how to flash ZIP files without recovery, you can try to use his approach and flash prerooted ZIP using his metod - original post at :http://xdaforums.com/showpost.php?p=65996334&postcount=187

Basically copy prerooted firmware zip to your sdcard, for example lp264.zip to /sdcard1 and the run following commands in shell:

su
mount -o remount,rw /system
busybox unzip /sdcard1/lp264.zip META-INF/com/google/android/update-binary -d /tmp/
chmod 777 /tmp/META-INF/com/google/android/update-binary
/tmp/META-INF/com/google/android/update-binary 3 0 /sdcard1/lp264.zip

Give it a try, if it works. It should flash your system and other partitions you have in firmware zip. Just for sure, after this POWER OFF your phone, and using Flashtool flash the same version original firmware, excluding SYSTEM and DATA. This will flash kernel and baseband in case these are not in your prerooted firmware zip.
[Xperia Z3 General] Horgar:
How I do it is I use PC companion and flash pure Sony stock 5.1.1, I then download kingroot, follow instructions but don't reboot. Then download supersume (you can get on playstore) follow instructions. It removes kingroot and replaces with supersu. Then flash nuts dual recovery. Done. Takes about 45 mins. 5.1.1 with dual recovery.
[Xperia Z3 General] bacardiandwatermelon:
Are you a Windows user? :D
[Xperia Z3 General] Flummi.FFM:
Hi and good evening [MENTION=3975929]zxz0O0[/MENTION] and all of you!!!

May i invite you to have a look on a discussion about a new possibility to get LB Root on the Xperia Z5?

Maybe one of you can help us even if you dont own a Z5 actually.....

http://xdaforums.com/xper...6#post66011376
[Xperia Z3 General] :
Is there a chance of a boot loop?
[Xperia Z3 General] elementzero23:
Is there an update for the recovery in sight?

Oh and I didn't root because on my first attempt to flash MM, I got a bootloop and after 2 - 3 hours of fixing (got a bootloop with stock firmware, too) I was a bit paranoid so I only flashed MM and restarted. And as we all know, there is no recovery yet.

So: Is there a chance to get root without flashing MM again (and potentially losing all my data again, because I have to get back to stock via PC Companion)?
[Xperia Z3 General] Lasantha:
Y pc companion? Flash tool?
[Xperia Z3 General] elementzero23:
I flashed a stock 5.1.1 with Flash Tool first but still got a bootloop. PC Companion was my last option, but this wipes all your data...
[Xperia Z3 General] caqo71:
You have to wipe data in order to not get bootloops. You are passing from lp to mm.

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] elementzero23:
Well, I tried to avoid wiping it. Never really thought about it that way, but makes sense.
[Xperia Z3 General] juanpirulo:
Thats not true you can get mm without wipe data. If he is getting bootloop its because he made something bad.

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z3 General] Wolfbreak:
Can someone with Root please check if storage/sdcard1 is present? For me it is F498-07B4
[Xperia Z3 General] Dilesh Perera:
It shows like that ever since I flashed Mm beta
[Xperia Z3 General] Bird40:
2CF1-17E0
[Xperia Z3 General] casouzaj:
It is named depending on the SD card installed.
[Xperia Z3 General] caqo71:
It's not recomended doing it restoring a backup to install just the system partition. Rom becomes unstable, i had to do a factory reset at second time to get the room booted.

Enviado desde mi D6603 mediante Tapatalk
[Xperia Z3 General] Horgar:
After flashing and Rooting mm my sd card1 became Exfat_uuid.
[Xperia Z3 General] xfire:
Mine too is called to exfat_uuid
[Xperia Z3 General] dex87xda:
Hm, how to change sd card name, is it possible? Exfat_uuid is soo...
[Xperia Z3 General] FcukBloat:
Dear [MENTION=3975929]zxz0O0[/MENTION] sorry for bothering but can i kindly ask you if it is possible to use your root exploit to root also concept MM fw? It would be wonderful!! Thanks a lot in advance!
[Xperia Z3 General] casouzaj:
What's wrong with it? Mine is exfat_uuid too. It's probably because it is formatted as exFAT.
[Xperia Z3 General] juanpirulo:
I think concept one has got dm-verity enable. thats why i think you can used the exploit. cheers
[Xperia Z3 General] pdafre4k:
is this working for z3 d6653? does this mean we can use MM beta?
[Xperia Z3 General] juanpirulo:
I Wonder if this is the problem for dualrecovery to work on lb, if dualrecovery is not able to find sdcard1 because its diferent name partition Will get a bootloop because cant find xzdualrecovery folder and dr.prop. Cheers

Enviado desde mi C6903 mediante Tapatalk
[Xperia Z3 General] Bäcker:
check the 6653 thread on the Android development section. I believe there is a patch for dual sim version
[Xperia Z3 General] Beetle84:
Its always worked on D6653 buddy

D6653 is single sim too. Same as D6603 except a few bands are different I believe.
[Xperia Z3 General] pdafre4k:
so i can use D6603 MM ROM in D6653?

since i don't see vanilla MM rom for D6653

are this the one i need? http://xdaforums.com/z3/general/d6603-sony-official-android-6-0-t3312448

just need confirmation before i try it since i dont want to brick my phone :D

because in lolipop there is a different rom for each version

yeah D6653 is also single sim, i think the only different is the frequency just like you said.

also regarding the root, i already have root on my lolipop, since the new root with locked bootloader in MM doesn't have recovery tools yet.

can i backup my TA partition and unlock my bootloader in sony website so i can use the recovery? and in later time can i relock the bootloader by restoring the TA partition?
[Xperia Z3 General] zxz0O0:
There is no exploit, root is achieved through prerooted firmware. If concept rom has dm-verity, locked bootloader root won't be possible.
[Xperia Z3 General] doresreturns:
You can use any D6603 ROM on D6653. It's like twin brothers with different radio frequencies.

Mine is D6653 and it's working fine. Just follow D6603's procedure.

And yes, you can backup your TA partition and restore it later. Just make sure that it is backed up properly. (I also put my backup on Dropbox just in case my HDD is dead).
[Xperia Z3 General] mihayash:
d6633 it's dual sim , 6653 it's single sim
[Xperia Z3 General] Wolfbreak:
No theres more Problems then that. I have a modified Recovery that installs fine and also no bootloop but still it wont access Recovery.
[Xperia Z3 General] r1kken:
how to get the right to write on the card SD?

Wysłane z mojego D6603 przy użyciu Tapatalka
[Xperia Z3 General] Gustavo RD78:
you refer to not go into recovery via key combination?
[Xperia Z3 General] ondrejvaroscak:
AFAIK XZDR works by hijacking chargemon. It would be normal that chargemon is modified in MM so recovery installs however doesn't work.
[Xperia Z3 General] shoey63:
So if hijacking chargemon doesn't work on Mm, why not try hijacking something else? Install-recovery.sh for example?
[Xperia Z3 General] Wolfbreak:
It is not sure that hijacking chargemon dont work. The XZDR chargemon doesnt replace the original so i think there should be no Problem with the LP to MM change.
[Xperia Z3 General] juanpirulo:
its there any log in the xzdualrecovery folder? so you can post it on [MENTION=4904057][NUT][/MENTION] ´s dualrecovery post?
[Xperia Z3 General] shoey63:
So how about adb pull, manually make changes to chargemon and adb push? Why not? R/w access is there. Also, perhaps led paths are different, but I doubt it.

Edit: I'd try myself, but I'm on concept rom, waiting for 3555 update, so I can make a flashable zip ;)
[Xperia Z3 General] serajr:
taimport does the job!
[Xperia Z3 General] juanpirulo:
So the value of the sd1 its diferent for anyone then?

Enviado desde mi C6903 mediante Tapatalk