[Q] [GUIDE] Back up DRM Keys and so on - Xperia Z1 Compact Q&A, Help & Troubleshooting

Because it's my first post and that's why i'm not able to reply to the original thread in android development Forum i have to ask start a new thread here.
I received my d5503 few days ago and read the [GUIDE] Back up DRM Keys & unlock/relock Bootloader (Noob proof). I was wondering if i can flash instead of, as stated in step 15.Flash D5503_14.2.A.1.114_Generic UK.ftf in flashmode (boot phone in flashmode again) (select Wipe [Uncheck ALL] and Exclude [Check SYSTEM] (link deleted) my OWN original D5503_14.2.A.1.142_Telekom.de DE.ftf which i made today with the files downloaded today with the sony pc Software and flashtool and which is the newer FW? I mean to have my stock Firmware rooted and afterwards backup TA partititions/DRM Keys.
Thanks in advance

I think you can yes. But probably you also need to have a flashable zip of /system from the german rom (see step 19) (see also this: http://forum.xda-developers.com/showpost.php?p=50355068&postcount=34 ).
By the way we will appreciate if you upload the ftf and post it here: http://forum.xda-developers.com/showthread.php?t=2631291 !

zxz0O0 said:
I think you can yes. But probably you also need to have a flashable zip of /system from the german rom (see step 19) (see also this: http://forum.xda-developers.com/showpost.php?p=50355068&postcount=34 ).
By the way we will appreciate if you upload the ftf and post it here: http://forum.xda-developers.com/showthread.php?t=2631291 !
Click to expand...
Click to collapse
yep, after i read the guide again, i thought so too, but this is now the Point where my noobishness takes part. where do i have to type the
adb push busybox /data/local/tmp/
disconnect usb cable
open terminal emulator and do:
cd /data/local/tmp
chmod 755 busybox
./busybox tar pczvf /storage/removable/sdcard1/system.tar.gz /system
now you have full system backup in your external sdcard. Ater rooting, simple do:
cd /
busybox mount -o remount,rw /system
busybox tar xzvf /storage/removable/sdcard1/system.tar.gz
reboot
Click to expand...
Click to collapse
?? in Windows cmd or terminal Emulator on my phone?
ill upload my ftf asap

The first line is in windows cmd (in adb folder). Later on it's in terminal emulator (on the phone) as described. Then you can make a flashable zip of /system and use that in step 19.
And if you flash your own ftf in step 15, check if simlock.ta or preset1.ta is in the file list ("Content" in flashtool). If there is, exclude it.

zxz0O0 said:
The first line is in windows cmd (in adb folder). Later on it's in terminal emulator (on the phone) as described. Then you can make a flashable zip of /system and use that in step 19.
And if you flash your own ftf in step 15, check if simlock.ta or preset1.ta is in the file list ("Content" in flashtool). If there is, exclude it.
Click to expand...
Click to collapse
ok, i think i'll make it. i skipped all .ta files in my .ftf, because in the how to create .ftf guide it was mentioned. so no need to exclude. I'm uploading it at the Moment and post it to the thread you mentioned when upload is finished.

here's the link for the .ftf. hmm, still not able to post links...
another thing i have to ask is, where do i get the busybox from? for the adb push cmd from munjeni`s post?

You can find busybox inside the Z1C-lockeddualrecovery(...)installer.zip you downloaded on step 13
If you want you can pm me the link and I'll post it. I think you need 10 posts.

next problem, next question
if i try to set permissions for the busybox with the chmod cmd, i get a no permission for chmod error on my phone/terminal emulator. Do i have to make this system dump after step 15. of the Back up DRM Keys Guide, or does this method only work for already rooted devices?

Try this (all steps in adb on computer):
adb push busybox /data/local/tmp
adb shell
cd /data/local/tmp
chmod 777 busybox
./busybox tar pczvf /storage/removable/sdcard1/system.tar.gz /system
Copy system.tar.gz from your sdcard to your computer.

So the rooting guide was quiet good, no errors occurred and finaly i got a rooted uk .114 firmware and i coud backup my ta partitition. But, flashing my own or any other .ftf seems to make no sense, without flashing the corresponding system.zip in step 20 ;(.
I tried your adb cmd and it seemed to work in the first moment, but for the lost&found folder there was the error permission denied and in the end there was the following: tar: error exit delayed from previous errors
and theres no system.tar.gz on my external sd.
Any explanations?

Yes I said you also need a flashable zip of /system (see post #2 and #4 of this thread).
I just tested it and I also have the error "tar: error exit delayed from previous errors" but I do have the system.tar.gz on my sdcard.
Did you already flash something? Because then you overwrote /system partiton.
Another method is: extract system.sin with WinRar from the ftf file. Open flashtool => Tools => Sin Editor => Extract data. Then find a program to open ext4 file (e.g. Ext2Read), extract the data and make a flashable zip.

zxz0O0 said:
Another method is: extract system.sin with WinRar from the ftf file. Open flashtool => Tools => Sin Editor => Extract data. Then find a program to open ext4 file (e.g. Ext2Read), extract the data and make a flashable zip.
Click to expand...
Click to collapse
This is exactly what i'm doing atm and then i'm starting from the beginning...

euronaut said:
This is exactly what i'm doing atm and then i'm starting from the beginning...
Click to expand...
Click to collapse
I think if your phone is rooted now it should be enough to continue from step 15 (and use the german ftf and flashable system zip).

after trying a lot of things, i didn't get a flashable zip . i took my sytems folder and meta-inf folder of the uk flashable zip and made my Firmware.zip with winrar, but got always errors during the flashing in dual recovery. after that i tried with the original uk.flashable.zip and everything went well. probably i'm not good in making flashable zips . is there any trick? my flashable zip is 1.5gb in size?!

Open the uk flashable zip with WinRar and delete system.tgz (right click => Delete file). Then rename your system.tar.gz to system.tgz and drag and drop it into the WinRar window.

zxz0O0 said:
Open the uk flashable zip with WinRar and delete system.tgz (right click => Delete file). Then rename your system.tar.gz to system.tgz and drag and drop it into the WinRar window.
Click to expand...
Click to collapse
Finally, everything flashed properly and seemed to work. But now it stucks at the sony logo direct after switching it on . So back to original FW

Did you follow these steps:
Flash your german ftf in flashmode (boot phone in flashmode again) (select Wipe [Uncheck ALL] and Exclude [Check SYSTEM]
Go to the Recovery Menu. To do that, power off your phone. Then power it on again. After the vibrate and the green LED turns on, hold Volume Up (LED will turn violet)
Now format /system (located under Mounts & Storage) (Important: Do NOT reboot until advised so or you will have to start again)
[*]Do a factory reset
Install the following files in this order (Important) (see steps 4 - 6)
flashable german system zip
Z1C-lockeddualrecovery(...)flashable.zip
UPDATE-SuperSU-v1.(...).zip
If you created the system.tar.gz yourself, it's possible that the files don't have the correct permissions. You can try fixing permission in Recovery Menu. Not sure if it really helps. If it doesn't work I advise you to flash the german firmware (+ factory reset) and try these steps again http://forum.xda-developers.com/showpost.php?p=50559502&postcount=9 (you will lose root though).

what i did and how i did was exactly in this order:
1. I flashed my german .142 FTF to have my stock rom back.
2. i extracted a system.tar.gz according to http://forum.xda-developers.com/showpost.php?p=50559502&postcount=9
3. renamed that to system.tgz and did
4.
zxz0O0 said:
Open the uk flashable zip with WinRar and delete system.tgz (right click => Delete file). Then rename your system.tar.gz to system.tgz and drag and drop it into the WinRar window.
Click to expand...
Click to collapse
5. then i followed step 8 - 14 of your guide http://forum.xda-developers.com/showthread.php?t=2642081 with NO errors
and did these steps:
zxz0O0 said:
Did you follow these steps:
Flash your german ftf in flashmode (boot phone in flashmode again) (select Wipe [Uncheck ALL] and Exclude [Check SYSTEM]
Go to the Recovery Menu. To do that, power off your phone. Then power it on again. After the vibrate and the green LED turns on, hold Volume Up (LED will turn violet)
Now format /system (located under Mounts & Storage) (Important: Do NOT reboot until advised so or you will have to start again)
[*]Do a factory reset
Install the following files in this order (Important) (see steps 4 - 6)
flashable german system zip
Z1C-lockeddualrecovery(...)flashable.zip
UPDATE-SuperSU-v1.(...).zip
If you created the system.tar.gz yourself, it's possible that the files don't have the correct permissions. You can try fixing permission in Recovery Menu. Not sure if it really helps. If it doesn't work I advise you to flash the german firmware (+ factory reset) and try these steps again http://forum.xda-developers.com/showpost.php?p=50559502&postcount=9 (you will lose root though).
Click to expand...
Click to collapse
exactly as you described them here
after like doin your guide 5 or 6 times i'm pretty fast with it
now i'm back on my .142 FTF (flashed via flashtool) unrooted

Hm, sorry I don't know what the problem is then. Maybe @Darkimmortal can help you since he created the uk flashable zip I think.

zxz0O0 said:
Try this (all steps in adb on computer):
adb push busybox /data/local/tmp
adb shell
cd /data/local/tmp
chmod 777 busybox
./busybox tar pczvf /storage/removable/sdcard1/system.tar.gz /system
Copy system.tar.gz from your sdcard to your computer.
Click to expand...
Click to collapse
I get an error during this step:
tar: error delayed from previous errors
Click to expand...
Click to collapse
before i got
tar: /System'/lost+found: permission denied
Click to expand...
Click to collapse
Any ideas?

Related

[GUIDE][WIFI ONLY]Android 3.1 on Xoom WiFi, Root, via ClockworkMod Recovery

This guide may be obsolesced shortly, but it's still good reading for the curious. See [UPDATE][HC3.1] Wifi and 3G! Completely Flashable! No Fastboot Needed! No Data Loss. (thanks, bigrushdog)
WARNING: Following this procedure may damage or permamently destroy your device. This procedure is provided with NO WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. Perform this procedure at your own risk.
COMPATIBILITY NOTE: I have personally tested this procedure ONLY ON THE US XOOM WIFI MZ604. If other devices (i.e., Euro Xoom WiFi) implement the same Android 3.1 update file, then this procedure *should* work; some users have reported success with UK and Canadian models (see this post for more info). Know, however, that you proceed at your own risk.
AWESOMENESS NOTE: Instead of copying files which you're going to adb push to the platform-tools directory every time, why not just add the directory to your PATH environment variable ("How to update your PATH")? That way, you can run adb from any directory you want.
3G GUINEA PIGS: I've edited the 3G version of the updater_script in the same way as the WiFi, but I don't have a 3G Xoom with which to test. IF YOU ARE FLASHING AND TROUBLESHOOTING SUPASTAH, please try the attached updater-script_UNTESTED_Xoom3G_Android3.1_Root_v03.zip(Updated!) with the MZ600 HRI66 stock images and Xoom 3G 3.1 Update ZIP. If it works, I'll update the guide to cover both devices. Please PM me your feedback, since a post might be easily buried in this thread. Thanks!
[size=+1]SUMMARY[/size]
Here's a run-down on the current procedure:
Updates the Xoom WiFi to Android 3.1 using ClockworkMod Recovery (update.zip)
Resolves issue in updater-script: get_prop ro.product.device wingray
Sets correct permission on su to enable functioning root
Flashes the recovery (version 03 persists CWM Recovery), boot (kernel), and system partitions to stock (required at this time)
Stock kernel means no SD Card in Honeycomb (still available in recovery), no overclocking until devs release 3.1 compatible kernels
Updates bootloader to include Recovery in the boot menu
Leaves user data intact
Outstanding Issues:
(FIXED in updater_script version 03) Recovery partition gets overwritten to stock on reboot: Edit updater-script to leave recovery partition intact
Too many steps: Include the edited updater-script, su, Superuser.apk in the update.zip
Now, without further ado...
[size=+1]ASSUMPTIONS[/size]
You've downloaded the Xoom WiFi Android 3.1 update from Google (thanks, pof)
You've downloaded and unzipped the stock Xoom WiFi MZ604 HWI69 images from Motorola
You've downloaded su and Superuser.apk (see WiFi Xoom Root Zip link at Xoom WiFi (MZ604) Root!!)
You've flashed a boot.img that enables adb remount (Xoom WiFi (MZ604) Root!!, custom kernels, etc.)
You've flashed ClockworkMod Recovery (thanks, bigrushdog, koush, et al)
You've installed a physical SDCard in your Xoom (required for ClockworkMod Recovery updates) and have it functioning properly
You've configured the Android SDK on your PC, with adb functioning properly
You've downloaded fastboot and have it functioning properly (usually alongside adb in platform-tools)
You've installed an archive program that lets you edit the contents of an existing ZIP file (7-Zip, WinRAR, etc.)
You've downloaded and unzipped the edited updater_script file attached to this post
[size=+1]PROCEDURE[/size]
Prepare the Android 3.1 Update file
The update file as-provided is not ready for use in ClockworkMod Recovery. This fixes it. I could just include a link to a prepared update.zip file, but this is safer than trusting some dude with less than 20 posts on XDA. I'll upload one when I hit 25.
Rename the Android 3.1 Update file to update.zip
Open the zip file in an archive program for editing
Navigate to the following directory: META-INF/com/google/android
Delete the following file: updater-script
Copy the updater-script file from the ZIP file attached to this post to META-INF/com/google/android
Flash stock system.img
Prior to performing the actual update, the update script checks a number of files (including bcm4329.ko, which is usually built with the kernel) in /system. If any file doesn't match what's expected, the update halts. Flashing the stock system.img ensures a smooth update.
Code:
adb reboot bootloader
fastboot flash system system.img
fastboot reboot
Reconfigure superuser
After flashing stock, we no longer have superuser/root access on our Xoom. By pushing and configuring these files, we restore our root capability without interfering with the pre-update checks. (thanks, Berzerker for catching missing symlink)
Code:
adb remount
adb push su /system/bin/
adb shell chown root.shell /system/bin/su
adb shell chmod 4755 /system/bin/su
adb shell ln -s /system/bin/su /system/xbin/su
adb push Superuser.apk /system/app/
adb shell chmod 644 /system/app/Superuser.apk
Flash stock boot.img
The pre-update checks also include the boot partition. We wait until now to flash the boot partition to stock because we need to perform adb remount earlier in the procedure, which we can't do with the stock boot.img. The actual update flashes this partition with a new kernel that implements the new 3.1 features.
Code:
adb reboot bootloader
fastboot flash boot boot.img
fastboot reboot
Perform update
Code:
adb reboot recovery
Note that in recovery, you use the hardware volume buttons to navigate up and down, and the power button to select.
In ClockworkMod Recovery, select "mounts and storage"
Ensure your Xoom is connected to your PC via USB, then select "mount USB storage"
On your PC, copy update.zip to the root of the Xoom's SDCard ("Removable Disk" in Windows)
In ClockworkModRecovery (still on the "USB Mass Storage device" screen) select "Unmount"
In the "Mounts and Storage Menu" screen, if the option "unmount /sdcard" is present, continue to the next step; if "mount /sdcard" is present, select it then continue
Select "+++++Go Back+++++"
Select "apply update from sdcard"
Select "Yes - Install /sdcard/update.zip"
"Install from sdcard complete." will indicate that the update is completed.
.
Select "reboot system now"
New bootloader will install. The message, "Congratulation! Your bootloader was successfully upgraded" will be immediately followed by an automatic reboot.
Enjoy your rooted Xoom WiFi, running on Android 3.1!
[size=+1]POST-UPDATE NOTES[/size]
Custom kernels: As of 0730 11 May 2011, there are no kernels/boot.img that are compatible with the Android 3.1 update, though the devs are undoubtedly on it. Do not flash a custom kernel after performing this procedure unless you know that it's compatible with the 3.1 update.
Recovery: updater_script v03 no longer flashes stock recovery. If you ran a previous version of the update, please see this post by Berzerker on getting ClockworkMod Recovery to persist (thanks, Berzerker)
NICE! Will be trying this out shortly.
trying it now.... will give feedback
Can someone confirm the filesize and md5 of the update zip file? (the actual update.zip, not the updater-script)
Do I need to be using the stock kernal before I start?
good post.... cant wait to try this when I get home.
here's the official update link for wifi xoom:
http://android.clients.google.com/p...signed-tervigon-HMJ37-from-HWI69.e379f0b9.zip
just one quick question why is it US only ? don't you think it should work on wifi only euro too ?
pof said:
here's the official update link for wifi xoom:
http://android.clients.google.com/p...signed-tervigon-HMJ37-from-HWI69.e379f0b9.zip
Click to expand...
Click to collapse
Yes, but the official update won't flash in ClockwordMod Recovery unless it is modified, like the one in the OP of this thread. Posting the official version on this thread just adds to the confusion.
publicanimal said:
Yes, but the official update won't flash in ClockwordMod Recovery unless it is modified, like the one in the OP of this thread. Posting the official version on this thread just adds to the confusion.
Click to expand...
Click to collapse
All he posted in the OP was a modified script, you still need to get the update.zip from Google.
The Google server is much much faster than the 3rd party download sites too.
le_pere_noel said:
just one quick question why is it US only ? don't you think it should work on wifi only euro too ?
Click to expand...
Click to collapse
Only because I don't have a test device. I'll update the post.
Just got done with this procedure, and it works perfectly.
I'm rooted on 3.1 on my WiFi Xoom.
Thanks OP!
stachre said:
[*]Flash stock system.img
Code:
adb reboot bootloader
fastboot flash system.img
fastboot reboot
Click to expand...
Click to collapse
fastboot flash system system.img
tony710 said:
All he posted in the OP was a modified script, you still need to get the update.zip from Google.
The Google server is much much faster than the 3rd party download sites too.
Click to expand...
Click to collapse
Ah my bad, I only saw the .zip at the end of the filename
Anyone know if this works in Canada?
tony710 said:
Just got done with this procedure, and it works perfectly.
I'm rooted on 3.1 on my WiFi Xoom.
Thanks OP!
Click to expand...
Click to collapse
So, maybe a stupid question, but did you have Tiamat kernel installed? Just wondering if that makes a difference. Thanks!
-edit- plus, will this wipe all userdata??
were do we find a boot.img that enables adb remount?
Thanks man! Can't wait to give this a try when I get home!
One general question though, what program do you guys use to edit the update.zip?
Thanks in advance for the help fellas!
Peace
Dan
mbroeders said:
So, maybe a stupid question, but did you have Tiamat kernel installed? Just wondering if that makes a difference. Thanks!
-edit- plus, will this wipe all userdata??
Click to expand...
Click to collapse
Yeah, I had Tiamat installed and all my userdata stayed.
I'm currently trying to see if I can flash the latest Tiamet back to see what happens.
dowenprs said:
Thanks man! Can't wait to give this a try when I get home!
One general question though, what program do you guys use to edit the update.zip?
Thanks in advance for the help fellas!
Peace
Dan
Click to expand...
Click to collapse
I used 7z to edit the zip file

[BOOT LOOP]Afternediting a config file for Bluetooth root explorer

I edited a configuration file for Bluetooth(main.conf) in which i changed the device discoverable for value to be 0 (by default 120). then i left the folder as is (r/w) mode and saves and rebooted.
rescue mode is available(volume up - home -power)
boot loops continously
Kies not recognising when connecting when the device is turned off
there is a backup of the file at the same folder..
if you can provide me too ..how do i upload to my phone.
need help ASAP.
try installing firmware with odin
Other better ideas!
I am pretty sure that this matter was triggered because of that tweak..(editing of the file). I hope that restoring the original file would help.
Do you know about adb...?
Also i forgot where the actual bluetooth configurations file was in the root folder structure
adb will not work on device in recovery/download mode
to use adb mobile needs to be running
you can flash cwm in your mobile then upload the file and send me the link i will make a flashable zip and upload it then you can flash it
adb is running...just
Adb is running (while the phone keeps on showing boot animation-samsung logo-bootanimation-samsung logo-bootanima....) but it seems that it has permissions issues..i unrooted my phone before using adb .
i can access adb shell and list root directories but cannot enter further directories such as data\ permission denied
I donot have the file that i changed and quiet cannot remember it..
Check on your mobile and see for
data/misc/bluetoothd/
if it has files such as music.conf,main.conf etc etc..then this is the needed folder..
can you create a update.zip
like i used for rooting/ unrooting .that doesnt need CWM
that empties the directory ,because it has some backup files .bak created by root explorer
loads files from your mobile
i am currently unrooted ..do i need root?
actually adb works during splashscreen
get the original file and push it through the system, set permission and it should work
if all else fails,..... odin
download update.zip from http://dl.xda-developers.com/attach...5498d4d803e6a/4fcc0dd2/7/6/3/0/8/8/update.zip and place it in the root of your sdcard
go to recovery flash it you will get root then you can use adb
if it is not flashing first flash cwm through Odin then flash this update.zip through cwm
The file you sent is invalid. corrupt..?
what does this do..exactly.
i already have a update.zip and update-unroot.zip to root unroot my device
so
do i need root permission to use adb..because commands like
adb root gives"error not available in production devices"
&
adb shell
$ su
etc are showing permission denied.
if you have the original files on your galaxy y.. can you make update.zip with the above instruction
if adb works..i dont exactly remember the file path that i changed..so using the hints above please can you send me the file path
My aim here is to use odin or factory reset only at the last.
just root the device by flashing the root.zip in recovery and then use
adb shell
su
and it will work
No still get permission denied.... like always.
cd data
ls
open directory failed, Permission denied.
1. flash cwm recovery through odin
2. then upload the original file
3. I will create a update.zip and will upload it
4. you will need to flash it in cwm recovery
i will flash CWM using cwm.zip
i dont have the original file as i could not pull through adb..i hope your file may work
Finally i remembered the directory
/etc/bluetooth
the file i modified was main.conf however whole folder can be replaced from your mobile's or original one.
Thanks
y2k2r2d2 said:
i will flash CWM using cwm.zip
i dont have the original file as i could not pull through adb..i hope your file may work
Finally i remembered the directory
/etc/bluetooth
the file i modified was main.conf however whole folder can be replaced from your mobile's or original one.
Thanks
Click to expand...
Click to collapse
http://db.tt/2NStXBF8
flash it in recovery but it may not work as I don't have galaxy y I have a different mobile
it didnt allow installation both through cwm and recovery mode
& now
i messed up with CWM
backup-restore feature
create backup
edited the system.tar
put the original file
calculated md5 for new system,tar
edited the nandroid.md5 with appropriate editor and filled with the new calculated md5 of system.tar
advance restoore....select system files...
md5 check pass
restore fail
now boot stuck at initial screen
pretty sure even wipe data wont work
So i Had to resort to ODIN..Thanks for your time mate...
humm
I also think Odin is the last choice

[SO-01F][4.2] root / update for SO-01F 14.1.H.1.281 / 14.1.H.2.119 NTT docomo

This is the guide for SO-01F users to root and update for 4.2 14.1.H.1.281
If you are C69xx user, please exclude partition and ta when you flash docomo FTF.
[EDIT]
FTF for Japanese Xperia will be hosted in this website:
http://ftf.xn--l8je9byecb9a3syb.xn--q9jyb4c/
Requirements:
Flashtool 0.9.14 by @Androxyde (Japanese translated version is here)
ADB setup (Search how-to)
Downloads:
SO-01F_14.1.H.1.281_NTT docomo.ftf
any C6903 14.1.G.1.534 generic ftf
XZU & Z1 recovery v4 Windows
rootkitXperia
Flashtool
cwm_prerooted_Z1.zip
XZDualRecovery (Z1-lockeddualrecovery2.7.*-BETA.installer.zip)
Instruction for 14.1.H.1.281
1. Enter into flashmode and flash 14.1.G.1.534 ftf
Wipe: Check all
Exclude: Check all but uncheck kernel and system
!! This will format internal storage !!
2. Boot and enable USB debugging and Unknown source
(Search how to enable if you don't know)
3. Run rootkitXperia
4. Run XZU & Z1 recovery v4 Windows
5. Copy cwm_prerooted_Z1.zip to Z1's storage
6. Reboot and enter into recovery by pressing volume up and install cwm_prerooted_Z1.zip
7. Power off after completed
8. Enter into flashmode and flash 14.1.H.1.281 ftf
Wipe: Check all
Exclude: Check all but uncheck kernel
9. Install XZDualRecovery
10. Done!
Instruction for 14.1.H.2.119
Posted here
FTF and root tool link for 14.3.B.0.288
Posted here
How to create prerooted zip by yourself
Requirements:
7-Zip Command Line Version
cwm_prerooted_Z1.zip (template zip)
FTF to update
1. Put 7za.exe, ftf and template zip in same folder
2. Open command window by Shift + Right click -> "Open Command Window Here"
3. Type and run one by one:
Code:
7za e (name).ftf system.sin
7za e (name).ftf kernel.sin
This will extract two sin files from FTF.
4. Open Flashtool, then select tools -> Sin editor
5. Browse and select system.sin, then click "Extract data"
6. Browse and select kernel.sin, then click "Extract data"
7. In command window type and run:
Code:
7za a -tzip cwm_prerooted_Z1.zip system.ext4
7za a -tzip cwm_prerooted_Z1.zip kernel.elf
8. Done, you can now copy cwm_prerooted_Z1.zip to internal storage and install it with recovery.
You have to flash rpm.sin with Flashtool after installation.
Enter into flashmode and flash ftf
Wipe: Don't check
Exclude: Check all but uncheck kernel
Thanks @cubeundcube for rootkitXperia and @hagurekamome for template!
Our warmest thanks, I did. Now wait for 4.4.2 update again is amazing.
The operator DoCoMo has an update on 14.1.H.2.119, I have upgraded and lost root ...
Can you help me root it?
SO-01F_14.1.H.2.119_NTT docomo.ftf
https://mega.co.nz/#!rkRTXZ4b!fcb2j3UuNt10qQ_jxW6_gQk0w7t9hNV7QlK0pNTOGcg
4.4 for SO-01F will be released after docomo starts selling Z2 (Maybe in May).
p950q said:
The operator DoCoMo has an update on 14.1.H.2.119, I have upgraded and lost root ...
Can you help me root it?
Click to expand...
Click to collapse
Replace OP's cwm_prerooted_Z1.zip with updated one:
https://mega.co.nz/#!y1IQVLxJ!fgV97jd8xCIPh5BMPy8mIgvJwc5UhmjRBvKNqib8e3o
1. - 4. is same as instruction for .681
If you already have rooted .681, you can skip 1. - 4. and go to 5.
5. Copy cwm_prerooted_Z1_119.zip to Z1's storage
6. Reboot and enter into recovery and install cwm_prerooted_Z1_119.zip
7. Power off after completed
8. Enter into flashmode and flash 14.1.H.2.119 ftf
Wipe: Check all (recommended, but you can uncheck all to save your data)
Exclude: Check all but uncheck kernel
9. Install XZDualRecovery
10. Done!
When I try to flash the Kernel on last step
"8. Enter into flashmode and flash 14.1.H.2.119 ftf
Wipe: Check all (recommended, but you can uncheck all to save your data)
Exclude: Check all but uncheck kernel"
I get an error and did not flash it. Mine is a C6903, all other steps go fine, the last one is the only one having problem.
Any help?
Thank you!
Edit:
Error:
03/047/2014 15:47:26 - INFO - Flashing data
03/047/2014 15:47:48 - ERROR - Processing of userdata.sin finished with errors.
03/047/2014 15:47:48 - INFO - Ending flash session
03/047/2014 15:47:48 - ERROR - ERR_SEVERITY="MINOR";ERR_CODE="0017";ERR_DYNAMIC="0x801E0002 ";
Thank you!
SO-01F_14.1.H.2.119_Docomo_Deodex_Shell .zip 454.8 MB - deodex pack for recovery
SO-01F_14.1.H.2.119_Docomo.flashable_v1.0.zip 917.0 MB - flashable zip odex rom with root and recovery
Pleases upload file ROM of SO-01F 14.1.H.0.542 here.
@: Alreded Search: It here; http://pan.baidu.com/wap/link?uk=2704250164&shareid=2755975911&third=0
I did it. I again thank the RyokoN.
I wish everyone good luck and success.
Are you guys running it?
I'm not being able to make it work.
I get stock on first screen, it shows the micro sim card place.
Any help?
Thank you!
Alway this :
04/041/2014 11:41:34 - INFO - Checking header
04/041/2014 11:41:34 - INFO - Flashing data
04/041/2014 11:41:46 - ERROR - Processing of userdata.sin finished with errors.
04/041/2014 11:41:46 - INFO - Ending flash session
04/041/2014 11:41:46 - ERROR - ERR_SEVERITY="MINOR";ERR_CODE="0017";ERR_DYNAMIC="0x801E0002 ";
Edited:
I get it working, just unchecked Wipe: DATA.
Thank you.
Let's do it slowly and step by step you can see wrong somewhere ...?
Desperanto86 said:
SO-01F_14.1.H.2.119_Docomo_Deodex_Shell .zip 454.8 MB - deodex pack for recovery
SO-01F_14.1.H.2.119_Docomo.flashable_v1.0.zip 917.0 MB - flashable zip odex rom with root and recovery
Click to expand...
Click to collapse
Please give specific information and guidance are not you?
---------- Post added at 10:57 AM ---------- Previous post was at 10:32 AM ----------
Now just wait for Android 4.4 version of the network's Root KyokoN Docomo and left.
docomo announced their presentation will be held on May 14 (in Japan).
https://www.nttdocomo.co.jp/product...x.html?cid=CRP_PRD_sns_tw_2014_summer_feature
They will announce Xperia Z2 (SO-03F), A2 (SO-04F) and Z2 Tablet (SO-05F).
docomo's Z got update to 4.2 nine days before Z1 (4.2) is launched.
Z1 should get 4.4 soon before/after SO-03F is released, but docomo is still developing 4.4.
They even writes "OS: Android 4.4 (Under investigation)" in their catalog...
http://i.imgur.com/EDZ9HEf.jpg
can anyone anyone upload the kitkat version for SO-01F.. since I cannot update on wifi connection.. thanks
...
Got it updated using Update Service for sony
I finally got 4.4.2 for my DoCoMo z1. I got It from an ota update. It seems pretty good so far, but there seem to be a lot of wakelocks.
Hello! Has anyone here tried any custom roms on their SO-01F? Just curious if anyone has tried or not. I was rooted previously and noticed there was an OTA so I reflashed the Docomo ftf .119 and upgraded my phone with the OTA. Then I re-rooted and installed ,multi recovery.
@RyokoN: you have updated and root android 4.4.2 version from the docomo network yet?
two members on getting it there.
p950q said:
@RyokoN: you have updated and root android 4.4.2 version from the docomo network yet?
two members on getting it there.
Click to expand...
Click to collapse
Actually I sold my Z1 to get Z2, but here is the ftf for 4.4.2 update:
SO-01F_14.3.B.0.288_docomo.ftf
https://mega.co.nz/#!f4p3AKJb!GChIx9uPqnW5At8ueZrxKnECVVOCI8k6cGZqNBHc-Pc
https://drive.google.com/file/d/0B4fBjQuS8IxPbUtZNzdMZDZuWDQ/edit?usp=sharing
https://s.basketbuild.com/filedl/devs?dev=AndroPlus&dl=AndroPlus/SO-01F_14.3.B.0.288_docomo.ftf
SO-02F_14.3.B.0.288_docomo.ftf
https://mega.co.nz/#!P4RFwRbI!Kk7fi0MEO7z0OYySpXfhxn4T65kkZJVnq78pC74NYhg
https://drive.google.com/file/d/0B4fBjQuS8IxPT1hObkZHLVI2cDg/edit?usp=sharing
https://s.basketbuild.com/filedl/devs?dev=AndroPlus&dl=AndroPlus/SO-02F_14.3.B.0.288_docomo.ftf
You can use Towelroot exploit to root .288.
http://forum.xda-developers.com/showthread.php?t=2784900
How to disable sony_ric to mount system as RW:
1. Download ric_disable pack
https://mega.co.nz/#!mp5jyDKa!l13Rm8r3bspzmhwtWmChXZf0MlWJkfKsHI9Nh2p4l_Q
https://drive.google.com/file/d/0B4fBjQuS8IxPVmgyajFyRFlvdnM/edit?usp=sharing
2. If you have recovery installed in your system, install "sony_ric_disabler_signed.zip".
If you don't have recovery or "sony_ric_disabler_signed.zip" doesn't work for you,
run these commands in command prompt:
Code:
adb push writekmem /data/local/tmp
adb push findricaddr /data/local/tmp
adb shell
chmod 0755 writekmem
chmod 0755 findricaddr
su
/data/local/tmp/findricaddr | /data/local/tmp/busybox tail -n2 | /data/local/tmp/busybox head -n1 | /data/local/tmp/busybox cut -d= -f2 > /data/local/tmp/ricaddr
chmod 777 /data/local/tmp/ricaddr
/data/local/tmp/writekmem `/data/local/tmp/busybox cat /data/local/tmp/ricaddr` 0
3. Run this command to mount system as RW:
Code:
mount -o remount,rw /system
4. Done!
If "sony_ric_disabler_signed.zip" doesn't work, you have to run these commands at every boot (for example, by Tasker "Run Shell" at "Device Boot").
Code:
su
/data/local/tmp/findricaddr | /data/local/tmp/busybox tail -n2 | /data/local/tmp/busybox head -n1 | /data/local/tmp/busybox cut -d= -f2 > /data/local/tmp/ricaddr
chmod 777 /data/local/tmp/ricaddr
/data/local/tmp/writekmem `/data/local/tmp/busybox cat /data/local/tmp/ricaddr` 0
RyokoN said:
Actually I sold my Z1 to get Z2, but here is the ftf for 4.4.2 update:
SO-01F_14.3.B.0.288_docomo.ftf
https://mega.co.nz/#!f4p3AKJb!GChIx9uPqnW5At8ueZrxKnECVVOCI8k6cGZqNBHc-Pc
https://drive.google.com/file/d/0B4fBjQuS8IxPbUtZNzdMZDZuWDQ/edit?usp=sharing
SO-02F_14.3.B.0.288_docomo.ftf
https://mega.co.nz/#!P4RFwRbI!Kk7fi0MEO7z0OYySpXfhxn4T65kkZJVnq78pC74NYhg
https://drive.google.com/file/d/0B4fBjQuS8IxPT1hObkZHLVI2cDg/edit?usp=sharing
You can use Towelroot exploit to root .288.
http://forum.xda-developers.com/showthread.php?t=2784900
Click to expand...
Click to collapse
Hi.. did you try rooting Z1 before selling it? tried steps to root it but not working for kitkat.. thanks
Rolandml said:
Hi.. did you try rooting Z1 before selling it? tried steps to root it but not working for kitkat.. thanks
Click to expand...
Click to collapse
No, I didn't test but other user reported it's working.
EasyRootTool v8 has a problem to check MD5 of tr.apk, so you have to find older tr.apk or ask dev to support new tr.apk.
RyokoN said:
No, I didn't test but other user reported it's working.
EasyRootTool v8 has a problem to check MD5 of tr.apk, so you have to find older tr.apk or ask dev to support new tr.apk.
Click to expand...
Click to collapse
thanks I will just try to downgrade rom and try some generic rom

[ROOT]G955U/G955U1 SnapDragon SamPWND Root IS HERE!

FINALLY!
We Present To You
SamPWND!
Root for the USA Variants of the S8 & S8 Plus Devices!
(This thread will focus only on the S8+)
This thread had been closed/locked until further notice. The thread and links should remain active and the thread has served it's purpose. You will need to search the thread if you have any questions pertaining to root or any errors/issues that you are facing. The other reason I have decided to close the thread is because it has gone off topic one too many times, people like to argue and debate and MODS have had to come in here 1 too many times to clean it up so as to make life easier, I will just shut it down. Please do not bombard me with PM's for root assistance because if it has been answered in this thread already (and it most likely has) I will just direct you to search in the thread if I am able to respond at all.
ALSO, please do not utilize our firmware/root files/method without gaining permission first or I will ask for the thread to be removed/locked. Just because the thread gets closed does not mean we didn't spend a lot of time to get to this point.
Thank you and enjoy SamPWND root!​
DISCLAIMER:
We are not responsible for any damage done to your device as no one is "forcing" you to root your phone! If you are not sure of how to follow instructions or use ADB then I would suggest waiting for someone to help you or that you read up on how these things work before diving head first. The ENG system is not very stable when it comes to root as well as it has a ton of tools and binaries not available on stock devices so we are not responsible if you break something while on any firmwares but especially while on the ENG firmware.
DISCLAIMER 2:
Please do not take our work and post it elsewhere. We spent a lot of time on this for people to take it and use it as if it is their own. With that being said, if you have a better process for something or find any issues/errors, please PM myself or one of the listed contributors of this root method, do NOT post it directly in the thread because it causes confusion. We know with 100% certainty the files and method presented WORK. If it is not working for someone there are a number of possible reasons why. If users start modifying our files/scripts and posting them and you decide you are going to use someone else's files/scripts, do not post in our threads asking for us to help you because we will have no idea what was modified or changed and will just tell you to use the original files.
Returning to Stock:
- It is possible to return to 100% stock and it is very EASY to do.
- This is the reason why I provide both Normal, and Comsey ODIN's.
- All you need is a full stock 4 files firmware of your choice.
- Extract those files. Open ODIN and select the 4 files in their respective slots.
* IF YOU GET ERRORS such as model mismatch, start with 1 partition at a time to find out which one is throwing the error. (In my experience, it is the BL file that causes the error.) Once you find the culprit, throw that partition into the other ODIN. (For example, the BL file is giving an error in Comsey ODIN, throw the BL file in NORMAL ODIN and flash it by itself.)
* Typically you might have to throw individual partitions into either of the ODIN's but in the end you will be back on full stock firmware.
What doesn't work while rooted?
- On ANY ROOTED device, anything that utilizes "SafetyNet" will NOT work.
- Magisk and/or SuHide will NOT work. Our bootloader is still locked and these two modify the boot.img which would cause our devices to not boot up and having to start the root process over again, you have been warned!
- Systemless root also does NOT work. Again, this patched the boot.img which we cannot do because of our locked bootloader.
- Battery currently only charges to 80%. There are a few that feel it legit doesn't charge fully but others are claiming they get the same amount of life as they did with a 100% battery so the 80% might just be a visual issue or "fake" when it is really at 100%. Either way, we are still looking into this.
Main Contributors:
@elliwigy
@Harry44
@akiraO1
@BotsOne
@GSMCHEN
@jrkruse (for uploading system.img.ext4 and his root zip for the part 2 instructions)
@V0idst4r (for help in creating a "1 click" method for part 1!)
Initial Description on the process:
We are essentially flashing a modified 4 file firmware package in ODIN and then utilizing a few binaries in conjunction with SU binary and a permissive kernel. We will then be running some ADB commands and in order to have a fully working, amazing root with all things working we will be utilizing a stock system.img & a root script in conjunction with Flashfire. If you want to know all the technical details, you can take apart the files if you would like. It is released, so it is no longer a secret!
PART 1 Instructions: NEW
Flashing SamPWND 4 Files Firmware:
1) Download the PART 1 FILES Listed Below (this includes SamPWND_Root.zip and Initial ODIN 4 Files FIRMWARE and ODIN's if you do not already have them.)
2) Extract the 4 Files ODIN Firmware Package (also extract the ODIN's if you do not have them already.)
3) Open Comsey ODIN and select each partition and then select the files from the 4 File Firmware Package you extracted (BL goes in BL slot, AP in AP, CP in CP & CSC in CSC.) The options you select in ODIN shouldn't matter but I typically select F. Reset Time, Auto Reboot, Re-Partition, Nand Erase All & Update Bootloader.
4) Press Start and Wait for it to Finish. Once it finishes, if it boots into stock recovery simply select "Reboot System"
Take a breather, the ODIN portion is done (unless you have to start over for some reason...)
Now the NEW Root Process:
1) Once the phone is booted up, make sure you have ADB Enabled and connected to your PC. It should have prompted you to accept USB debugging as soon as it booted up.
2) Unzip the SamPWND_Root.zip
3) Double click "step1"
4) Wait for it to finish and once it reboots and comes back on you will be rooted with SuperSU!
5) Continue to PART 2 for "EVEN BETTER ROOT"
* It is a Windows bat file so not sure if it works on MAC. If you can't run bat files, use the OLD instructions.
* The bat will take about 30 seconds to run it's course. This is due to giving enough time for the remount script to mount the system as RW.
PART 1 Instructions: OLD
1) Download the PART 1 FILES Listed Below (this includes Systemroot + ADB zip, Initial ODIN 4 Files FIRMWARE and ODIN's if you do not already have them)
2) Extract the 4 Files ODIN Firmware Package, Also extract the ODIN's if you don't have them already.
3) Open Comsey ODIN and select each partition and then select the files from the 4 File Firmware Package you extracted (BL goes in BL slot, AP in AP, CP in CP & CSC in CSC.) The options you select in ODIN shouldn't matter but I typically select F. Reset Time, Auto Reboot, Re-Partition, Nand Erase All & Update Bootloader.
4) Press Start and Wait for it to Finish. Once it finishes, if it boots into stock recovery simply select "Reboot System"
Take a breather, the ODIN portion is done (unless you have to start over for some reason...)
Now the ADB Process to actually Root:
1) Extract the Systemroot + ADB zip listed below in an easy to find directory.
2) Make sure phone is connected to PC and ensure USB Debugging is enabled.
3) In the folder you extracted, you should see a "cmd-here" file. Double click it and it should open up an ADB cmd window.
4) Now we will start with the ADB commands:
- Type
Code:
adb push systemroot /data/local/tmp
What it will look like:
C:\Users\Thomas\Desktop\Minimal ADB and Fastboot>adb push systemroot /data/local/tmp
/data/local/tmp/systemroot/: 8 files pushed. 0 files skipped. 10.0 MB/s (7072263 bytes in 0.673s)
- Type
Code:
adb shell chmod -R 7777 /data/local/tmp
What it will look like:
C:\Users\Thomas\Desktop\Minimal ADB and Fastboot>adb shell chmod -R 7777 /data/local/tmp
C:\Users\Thomas\Desktop\Minimal ADB and Fastboot>
- Type
Code:
adb shell setsid su
What it will look like:
C:\Users\Thomas\Desktop\Minimal ADB and Fastboot>adb shell setsid su
(It will be blank with the blinking cursor, move to next step)
- Type
Code:
id
(you should at this point see that your are in a root shell!)
What it will look like:
id
uid=0(root) gid=0(root) groups=0(root),1004(input),1007(log),1011(adb),1015(sdcard_rw),1028(sdcard_r),3001(net_bt_admin),3002(net_bt),3003(inet),3006(net_bw_stats),3009(readproc) context=u:r:shell:s0
- Type
Code:
echo /data/local/tmp/systemroot/remount2.sh > /sys/kernel/uevent_helper
What it will look like:
echo /data/local/tmp/systemroot/remount2.sh > /sys/kernel/uevent_helper
(Again, it will be blank with a blinking cursor after you type the command in, move to next step)
- WAIT ABOUT 30 SECONDS BEFORE MOVING TO THE NEXT COMMAND
- Type "
Code:
mount
" (you should now see rw next to rootfs and system partitions)
What it will look like:
mount
(After we type in mount, we are looking for the below two items to say rw like they do in the next two lines)
rootfs on / type rootfs (rw,seclabel,size=1586716k,nr_inodes=396679)
/dev/block/sda19 on /system type ext4 (rw,seclabel,relatime)
- Type
Code:
sh /data/local/tmp/systemroot/root.sh
What it will look like:
sh /data/local/tmp/systemroot/root.sh
rm: /system/bin/install-recovery.sh: No such file or directory
cp: /system/bin/.ext/.su: No such file or directory
chmod: /system/bin/.ext/.su: No such file or directory
chcon: /system/bin/.ext/.su: No such file or directory
touch: '/data/.supersu': Permission denied
/data/local/tmp/systemroot/root.sh[55]: can't create /data/.supersu: Permission denied
chmod: /data/.supersu: No such file or directory
C:\Users\Thomas\Desktop\Minimal ADB and Fastboot\NEWSAMPWNDFILES>
5) If you followed all of the above commands to the T, your device will reboot and you will have SuperSU installed.
6) Install Flashfire from the Play Store.
7) Up to this point, you are on an ENG system.img with root that doesn't function the way we would like it to. This means you will feel a vibrate every time you try to gain SU access as well as it will take quite a while for an SU prompt. You can stay on this root if you would like to experiment with the ENG system, but outside of that I would HIGHLY recommend you proceed to the STEP 2 PROCESS.
PART 2 Instructions:
1) Download the PART 2 FILES listed below (this includes the system.img.ext4 and the add CSC Systemroot zip both provided courtesy of @jrkruse , view post #195 for specifics on what these are but essentially they are stock QD2 system.img and the zip has multi CSC, root, and a bunch of other goodies!)
2) Extract the System.img.ext4 zip and place that actual "system.img.ext4" onto the Internal SD Card (might work from external but some users have reported issues with chainfires root.zip and FF with external sd cards, this is not a fault of the SamPWND files/process.)
3) Place the entire Add CSC Systemroot zip onto Internal or Externdal SD Card (THIS FILE DOES NOT NEED TO BE UNZIPPED, THROW THE WHOLE ZIP FILE ONTO SD CARD OR INTERNAL)
4) Open Flashfire and grant it root when it prompts you. IF FLASHFIRE IS NOT LOADING FILES AND YOU JUST SEE A CIRCLE OR LIKE ITS CONSTANTLY LOADING, PUT THE PHONE IN AIRPLANE MODE AND THEN GO BACK INTO FLASHFIRE AND THE FILES SHOULD NOW APPEAR.
5) Press the + sign and select "Flash Firmware Package" & navigate to where you placed the system.img.ext4 and select it
6) Press the + sign and select "Flash ZIP or OTA" & navigate to where you placed the Add CSC Systemroot zip and select it, select Mount System as r/w
7) Press the + sign and select "Wipe" and select System data, 3rd party apps, Dalvik cache, Cache partiton, Cache Partiton format
8) Now, long press on "Wipe" and make sure it is on the top by dragging it. The order should be Wipe, Flash Firmware Package & finally Flash ZIP or OTA
9) Make sure the "Everoot" is disabled!
10) Flash away!
If you followed all of PART 1, then followed all of PART 2, then you will be updated to QD2, rooted with busybox (and have some other goodies) and the phone will be running great! Root will be stable and snappy as ever. Adaway, Root Checker, V4A etc. etc. are now all possible.
XDA:DevDB Information
S8 Plus SamPWND ROOT, ROM for the Samsung Galaxy S8+
Contributors
elliwigy
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 4.x
ROM Firmware Required: Android 7.0, Any Current Firmware
Based On: Stock Touchwiz
Version Information
Status: Beta
Current Stable Version: 1
Stable Release Date: 2017-08-19
Current Beta Version: 1
Beta Release Date: 2017-08-19
Created 2017-08-19
Last Updated 2017-08-19
DOWNLOADS SECTION:
PART 1 FILES:
SamPWND_Root.zip
https://mega.nz/#!8YcgTSwI!hIfbdJZ466sr1AyfiHLdtr1p-To0QdthTPDmVwtv0dc
Initial ODIN 4 Files FIRMWARE
https://mega.nz/#!5cUjnCwK!Zgw5_CaINbES08gwDzl7yMN0N4nzm56Fa12ow-gppKA
Mirror: https://www.androidfilehost.com/?fid=961840155545589828
AFH MD5: 73720c409782b751355b9443a003a6e8
Normal + Comsey ODIN
https://mega.nz/#!cFN2DD4C!I7AT4TgNSzBp7Py0UhC7pHZ0M4WDQhEC5qj2xD_qluM
Systemroot + ADB zip - OLD
https://mega.nz/#!1MVDhZxQ!Wd4Umvju1sS1DAe-jBcTue9NKSJ4co0I2gwiyC3c2pE
PART 2 FILES: (Potentially will be providing a rom.zip soon that will have latest updated U1 with multi CSC pre-rooted with other goodies)
system.img.ext4
https://www.androidfilehost.com/?fid=817550096634794132
Add CSC Systemroot
https://www.androidfilehost.com/?fid=745425885120757028
For more info on these files please see @jrkruse post located here:
https://forum.xda-developers.com/showpost.php?p=73489978&postcount=925
THANK HIM WHILE YOU'RE AT IT!
@elliwigy @Harry44 @akiraO1 @BotsOne
These months these four people are very hard, and I very relaxed!! lol
Cool Job!
GSM CHEN said:
@[email protected]@[email protected]
These months these four people are very hard, and I very relaxed!! lol
Click to expand...
Click to collapse
haha but we know it wouldnt be possible without you man
Dam it, if I wasnt drunk, and tired, I eould vet myself out of bed and do this now, lol. Thanks for all your hard work.
One thing i would suggest would be to either put the commands that need to be typed in as bold face type or im not sure if its possible on here, as im on my phone atm, but there are Code/code tags avaiable that will make them easier to copy and paste.
Again, thanks for this......I did not think it was going to be possible. This will be my morning present when i wake up, feels like Xmas.......
theboz1419 said:
Dam it, if I wasnt drunk, and tired, I eould vet myself out of bed and do this now, lol. Thanks for all your hard work.
One thing i would suggest would be to either put the commands that need to be typed in as bold face type or im not sure if its possible on here, as im on my phone atm, but there are Code/code tags avaiable that will make them easier to copy and paste.
Again, thanks for this......I did not think it was going to be possible. This will be my morning present when i wake up, feels like Xmas.......
Click to expand...
Click to collapse
to be honest its late haha, threw it together lol ill try to tidy it up when i get time lol
Awesome can't wait to try this out soon!
elliwigy said:
to be honest its late haha, threw it together lol ill try to tidy it up when i get time lol
Click to expand...
Click to collapse
You are forgiven, lol. I figured it would be out in the morning, just not this early in the morning.
You guys should have gotten some sleep you may need it after this weekend.
What a nice thing to wake up to when I'm getting ready to head to work at 530 in the morning lol. Can't wait to give this a shot once I get off work 12 hours later. Thanks for everything devs.
S8 thread will be posted tomorrow, too late to do it tonight
You guys are the ****. Thanks for all of your hard work.
Just want to know if Knox will be triggered or not? Please also add this to the first post [emoji397]
Where's the best place to get the stock firmware we might need just in case? As far as best download speed etc.
Wow,. I honestly didn't think it was possible. Amazing accomplishment ellwigy.
Sent from my SM-G955W using XDA-Developers Legacy app
powerstroke said:
Where's the best place to get the stock firmware we might need just in case? As far as best download speed etc.
Click to expand...
Click to collapse
I got mine here... Took awhile to download... Someone gave me the link in the 955U1 thread
http://updato.com/firmware-archive-select-model?record=F6B451FD73EE11E7963AFA163EE8F90B
Also do we need to back up our EFS/Imei stuff? I know its recommended when flashing roms in recovery but our bootloader is locked.... Is there a way to back up without root?
Edit* I asked about the backup before in a previous thread but didn't get an answer.... Sorry to ask again
Techvir said:
Just want to know if Knox will be triggered or not? Please also add this to the first post [emoji397]
Click to expand...
Click to collapse
Knox is not triggered
Kjc99 said:
I got mine here... Took awhile to download... Someone gave me the link in the 955U1 thread
http://updato.com/firmware-archive-select-model?record=F6B451FD73EE11E7963AFA163EE8F90B
Click to expand...
Click to collapse
And this will work with Sprint S8+ Correct? Lastly, since the latest update which included Sprint LTE Plus calling. We will still manage to have that feature after root right? Because boy do I enjoy being able to browse the internet and being on a call at the same time again lol
powerstroke said:
And this will work with Sprint S8+ Correct? Lastly, since the latest update which included Sprint LTE Plus calling. We will still manage to have that feature after root right? Because boy do I enjoy being able to browse the internet and being on a call at the same time again lol
Click to expand...
Click to collapse
If you have the system.img for the latest update then correct, if not and you want those features with root you will have to download the AP and CSC from thw firmware you want
powerstroke said:
And this will work with Sprint S8+ Correct? Lastly, since the latest update which included Sprint LTE Plus calling. We will still manage to have that feature after root right? Because boy do I enjoy being able to browse the internet and being on a call at the same time again lol
Click to expand...
Click to collapse
I have the U1 model so I'm not sure...
Edit* Deleted

How To Guide How to extract image collection from rom releases (and root the boot image and apply root to the phone)

1. To extract the image collection from your downloaded rom :
Download Payload Dumper from here (It's a zip file but it's not flashable) to your computer
Extract the zip file to a folder, make it a folder you can use regularly because this is the default tool you would use from now on
Download the rom version you want to root
Unzip the rom to a folder, you will find a file within it called payload.bin
Copy and paste that file into the "payload_input" folder within the Payload Dumper folder you created
Execute the payload_dumper.exe file within Payload Dumper folder, you will not have to specify any options as it always extracts from any payload.bin file in payload_input and outputs the image files to payload_output.
Leave the extraction to be completed, the program will automatically close itself once it's completed
Your extracted .img files will be shown within the payload_output folder
2. If you need to root the boot image you extracted :
Copy the boot.img file from the payload_output folder to a folder on your phone storage (Best to name it appropriately if you will be doing this regularly)
Download and Install the latest Magisk apk from the release site (Accept any prompt to allow install from external source)
Launch the app and then choose Install under the top "Magisk" section
Choose Select and Patch a File then browse to where you copied the boot.img on your storage
Magisk will then apply root to the boot image you specified, Your rooted image file will be output to your phone's Download folder : /sdcard/Download
You don't need to keep the default filename of the rooted image file so you can rename it appropriately for the rom version after you copy it to your computer, just ensure to keep the .img file extension
If you rename the rooted boot image, try not to use spaces in the filename, rather use _ or - as spaces make it more difficult to use in a command window although when you start typing the filename you can use TAB to autocomplete it, always ensure the filename shows .img as the extension and at the end of any commandline
3. If you need to use your rooted boot image to apply root to your phone :
Install the drivers from the mounted drive you should get when connecting the phone to your computer
On Windows you should then have a folder in C:\Program Files (x86)\OnePlus USB Drivers\Android with the platform tools (ADB.exe and Fastboot.exe) you will need, you can obviously copy the content from that folder somewhere else if you wish.
Connect your phone to your computer
Copy your rooted boot image to the folder that has adb.exe and fastboot.exe
Open a command window on your computer by right clicking in that folder and choosing Open command window here
In the command window, Type or copy/paste the command ADB devices and press enter
If you see a prompt on your phone to allow the computer connection then accept it, better still, tell it to allow from now on also.
You should see a string of characters shown in the command window, if you don't see that, then try another cable or re-install your drivers and reboot the computer.
Reboot your phone into Fastboot either by using ADB on your computer ( ADB Reboot Fastboot ) or by enabling Advanced reboot in your developer options in settings and then hold down the power button and use the 3 dot menu on the top right and choosing "Bootloader"
In the command window type Fastboot Boot <filename.img> i.e. Fastboot Boot rooted_boot.img and press enter
You should see a couple of lines in the command window telling you it's copying over to the phone, don't worry it's not being flashed or replacing your existing installed boot image
The phone should then restart and boot using the image from your computer, it will be a slightly slower boot than usual, your existing unlock method should still work
Launch the Magisk app, it should already have root access because the boot image you've used is already rooted
Go to Install under the top Magisk section
Choose Direct Install (Recommended)
Magisk will then apply root access to the boot image on the actual phone
You will be prompted to reboot the phone on the bottom right, do this to complete the process
You don't need the phone connected to your computer anymore as the installed boot image on the phone should now have root access
You can check for root either using any app which requires root or by using an app like Root Checker
Remember to empty the contents of payload_input and payload_output once you have finished, leaving them ready for any future rom versions
4. To retain root access after ROM/OTA update :
Install the update either from Oxygen Updater or from Settings > System > System updates
DO NOT REBOOT when prompted
Go to the Magisk app
Go to Install under the top Magisk section
Choose Install to Inactive Slot (After OTA)
Magisk will apply root to the newly installed boot image for the next version
Reboot when prompted by the Magisk app
The phone should reboot into the updated version with root already applied
Very nice write up! Hopefully many will read this and follow instructions. Too many threads being created with issues because they never bother to read.
Quick question as this is my first OnePlus device.
Will I lose root after a system update and will have to it all over again?
Levi4cyber said:
Quick question as this is my first OnePlus device.
Will I lose root after a system update and will have to it all over again?
Click to expand...
Click to collapse
Just added a new section to my original post for this.
Does flashing magisk change anything in encryption?
Does it wipe anything?
How do I get my ROM to extract the boot img?
Levi4cyber said:
Does flashing magisk change anything in encryption?
Does it wipe anything?
Click to expand...
Click to collapse
No and No
Levi4cyber said:
How do I get my ROM to extract the boot img?
Click to expand...
Click to collapse
Read the first post.
djsubterrain said:
Read the first post.
Click to expand...
Click to collapse
I'm asking where to get my ROM file, in order I should be able to extract the boot img?
A link? Somewhere on my phone?
Levi4cyber said:
I'm asking where to get my ROM file, in order I should be able to extract the boot img?
A link? Somewhere on my phone?
Click to expand...
Click to collapse
It's pinned at the top of the entire forum :
[OnePlus 9 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds
As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...
forum.xda-developers.com
They're also posted on OnePlus's site (eventually) :
Software Upgrade - OnePlus.com
Get the latest OxygenOS updates for your device.OxygenOS is always evolving. Learn about the latest features and improvements, and get even more out of your device.
www.oneplus.com
Make sure the version matches the one you're using
I updated to latest version 11.2.4.4.LE15AA
Since there's nowhere to download the OTA package and extract the boot img, can I use the boot img of a lower version - 11.2.2.2 ?
Levi4cyber said:
I updated to latest version 11.2.4.4.LE15AA
Since there's nowhere to download the OTA package and extract the boot img, can I use the boot img of a lower version - 11.2.2.2 ?
Click to expand...
Click to collapse
No, definitely not.
Try Oxygen Updater in advanced mode, it should let you download the full rom.
If you were already rooted though, you should've been able to retain it by following the last section in my original post.
If not, then follow the first 2 sections
djsubterrain said:
No, definitely not.
Try Oxygen Updater in advanced mode, it should let you download the full rom
Click to expand...
Click to collapse
Since I'm completely new to OP, is Oxygen updater an app (if yes, is it this; https://play.google.com/store/apps/details?id=com.arjanvlek.oxygenupdater)? Or is it built into the phone?
Levi4cyber said:
Since I'm completely new to OP, is Oxygen updater an app (if yes, is it this; https://play.google.com/store/apps/details?id=com.arjanvlek.oxygenupdater)? Or is it built into the phone?
Click to expand...
Click to collapse
I've linked it, it's not a default app
djsubterrain said:
No, definitely not.
Try Oxygen Updater in advanced mode, it should let you download the full rom.
If you were already rooted though, you should've been able to retain it by following the last section in my original post.
If not, then follow the first 2 sections
Click to expand...
Click to collapse
In the oxygen updater app, if I select "full update" in update method it only gives me version 11.2.2.2., if I select "incremental update", it lets me download 11.2.4.4, and when I unzipped it I have a file payload.bin (it's only 105MB).
Should I use that? Or do I need a full OTA package to extract the boot IMG?
Levi4cyber said:
In the oxygen updater app, if I select "full update" in update method it only gives me version 11.2.2.2., if I select "incremental update", it lets me download 11.2.4.4, and when I unzipped it I have a file payload.bin (it's only 105MB).
Should I use that? Or do I need a full OTA package to extract the boot IMG?
Click to expand...
Click to collapse
Are you choosing the correct OnePlus 9 Pro? It'll show you different variants under the model lookup.
To be honest, If I get the update pushed via OnePlus I always copy/paste it somewhere else cos I think it gets deleted once the upgrade is done.
If you extract the payload.bin and it shows a boot.img then that should suffice. I think it should be around 105MB (I'm on my work PC at the moment so can't check)
Thanks. I'm on the T-Mobile version of the OnePlus 9 Pro, technically my phone is currently on "11.2.2.2.LE5ACB" and the one on OnePlus's support site is "11.2.2.2.LE15AA". I'm not sure the difference but I assume T-Mobile bloatware. Hopefully they didn't do anything else to make the phone work "slightly better" on their network.
I'm not sure if the boot.img I extracted from 11.2.2.2.LE15AA will work with my currently-installed "11.2.2.2.LE5ACB"; any ideas?
Might be better to create a boot.img from my existing version and patch that. Do you know the dd command for me to just create the boot.img from my existing partition? In the past with other phones I've done something like "dd if=/dev/block/mmcblk0 of=/storage/sdcard1/boot.img bs=4096 count=4096 skip=7552" or "dd if=/dev/block/bootdevice/by-name/boot of=boot.img" but I don't know which partition on the OnePlus 9 Pro to image. Any ideas?
--- Update 1 ---
Code:
OnePlus9ProTMO:/ $ ls -l /dev/block/bootdevice/by-name/*boot*
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/boot_a -> /dev/block/sde16
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/boot_b -> /dev/block/sde43
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/vendor_boot_a -> /dev/block/sde28
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/vendor_boot_b -> /dev/block/sde55
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/vm-bootsys_a -> /dev/block/sde24
lrwxrwxrwx 1 root root 16 1970-01-20 02:38 /dev/block/bootdevice/by-name/vm-bootsys_b -> /dev/block/sde51
Then looking at my active mounts I saw this:
Code:
OnePlus9ProTMO:/ $ mount | egrep "sde16|sde43|sde28|sde55|sde24|sde51"
/dev/block/sde51 on /vendor/vm-system type ext4 (ro,seclabel,nosuid,nodev,relatime)
Which indicates that I'm on the "b" side. So I would want to create a boot.img from `/dev/block/bootdevice/by-name/vendor_boot_b` potentially. So this command "should" work, right?
Code:
dd if=/dev/block/bootdevice/by-name/vendor_boot_b of=/sdcard/Download/stock_boot.img
I might try that instead of the boot.img I extracted from 11.2.2.2.LE5ACB since it doesn't technically line up with the T-Mobile supplied ROM version.
--- Update 2 ---
Yeah, that didn't work.Turns out dd needs to be elevated to do its thing. Got a "Permission denied" when i tried to create the image. So yeah, ironically I need root to run said command and that's why I was trying to run the command, to get the boot.img to root. lol. oh well.
Thank you very detailed.
When I click on the payload_pumper.exe file, the cmd window flashes and nothing else happens.
glitchsys said:
Turns out dd needs to be elevated to do its thing.
Click to expand...
Click to collapse
Try watching this, man, I think this is exactly what you are missing:
Code:
https://www.youtube.com/watch?v=DyUainEJwLM

Categories

Resources