Need "persist" Partition - OnePlus 3 Questions & Answers

Hi there,
I need your help. My Persist Partition is damaged and I have no Backup. Cann anyone send me this one?
Found only this (For OnePlus 5) but the way is the same:
adb shell
su
dd if=/dev/block/bootdevice/by-name/persist of=/sdcard/persist.img
exit
Click to expand...
Click to collapse
Please help me... :crying::fingers-crossed:

I'm Stuck aswell
Can anyone please lend their persist partition zip file. even I have all my sensors corrupt.

Here you go hope that works fine

The Unbrick tools also include the persist image. Why not just use them to revert your phone to a factory-like state? Just a few clicks away.

That doesnt work.
morphvale said:
The Unbrick tools also include the persist image. Why not just use them to revert your phone to a factory-like state? Just a few clicks away.
Click to expand...
Click to collapse
Tried it a lot of times. that doesnt work. plus i just noticed that the image uploaded is 32mb in size while the one in full unbrick tool is 4mb.
---------- Post added at 03:46 PM ---------- Previous post was at 02:58 PM ----------
liam_davenport said:
Here you go hope that works fine
Click to expand...
Click to collapse
Appreciate the help but when I flash the partitions, phone just doesnt boot up at all like it does with the broken partition. Seems like some other software malfunction.
Do you mind telling what oxygen os you are using?

Related

Bootmenu for XT320

Many thanks to my friend rootdefyxt320 who told me:
rootdefyxt320 said:
1. Patch adbd by using adbd insecure. http://forum.xda-developers.com/showthread.php?t=1687590
(ADB will refuse to push things through /system if adbd is secure).
2. Download BootMenu_v2.0.2.zip. http://forum.xda-developers.com/show....php?t=1997638. (Tried the apk, it doesn't work.)
3. Unzip it.
4. Double click on the .bat file and it should install.
5. Reboot and press vol- right after moto logo.
Click to expand...
Click to collapse
Well, ADB insecure is not really needed. If you have init.d support (if not, see http://www.xda-developers.com/android/init-d-support-for-any-rooted-phone/) you just have to :
I ARE DOING THIS AT YOUR OWN RISKS. I AM NOT RESPONSIBLE FOR ANY DAMAGE YOU MAY CAUSE TO YOUR PHONE (but I can help you repair it )
MAKE A FULL BACKUP BEFORE GOING ANY FURTHER
Your phone has to be rooted.
I made a flashable zip
It comes with init.d support.
This one come with this http://forum.xda-developers.com/showthread.php?t=2190758 2ndInit.
For now 2ndInit is for dev only. Don't try anything foolish.
0 - download the attached zip
1 - push the XT320_bootmenu.zip on your sdcard
Code:
> adb push XT320_bootmenu.zip /sdcard/XT320_bootmenu.zip
2 - Reboot with a CWM... (recovery.img attached)
Code:
>adb reboot bootloader
> fastboot boot recovery.img
3 - Flash XT320_bootmenu.zip thorough CWM
4 - Reboot and enjoy !
What I did (if you are interested):
In /system/bootmenu/script/pre_bootmenu.sh, I replace (line 9)
PART_CACHE=/dev/block/mtdblock10 by PART_CACHE=/dev/block/mtdblock9
and (line 64)
button-backlight by keyboard-backlight (this is not a major issue, I think but it is still raising errors)
same in stock.sh (line 24)
button-backlight by keyboard-backlight
and finally in _config.sh (line 6-7-8)
PART_SYSTEM=/dev/block/mtdblock8
PART_CACHE=/dev/block/mtdblock10
PART_DATA=/dev/block/mtdblock11
by
PART_SYSTEM=/dev/block/mtdblock11
PART_CACHE=/dev/block/mtdblock9
PART_DATA=/dev/block/mtdblock12
So what you have to do if it is not working, is to check which block correspond to which partition and then adapt the values.
In shell:
Code:
$mount
Check if init.d support is working:
In shell:[/COLOR][/B]
Code:
$cat /data/Test.log
You should be careful before trying 2ndInit and 2ndBoot functionality of bootmenu. They are NOT viable.
Thanks to aweosomeabhijeet
Code:
CHANGELOG
V2:
If booting on stock, the amber led is lightening up
If booting on 2ndInit, the red led is lightening up
I repack a more recent version of CWM Recovery (V6.0.9)
Clean the /system/bootmenu folder before install
Hey has anyone tried cwm from fire xt? It might work on our phone
http://forum.xda-developers.com/showthread.php?t=1997638
Guitwo2 said:
I'm trying, using : http://forum.xda-developers.com/showthread.php?t=1600805
But with the small /system partition it seems impossible to have a fully deodexed ROM. Maybe a few apps...
---------- Post added at 11:27 AM ---------- Previous post was at 11:20 AM ----------
A few post earlier, we add a similar discussion. There was the final answer :
Click to expand...
Click to collapse
This one doesn't use logwrapper, it uses 97bootmenu to hijack the boot process. The Moto Fire XT 530 has a MSM7227T-1 chipset.
rootdefyxt320 said:
This one doesn't use logwrapper, it uses 97bootmenu to hijack the boot process. The Moto Fire XT 530 has a MSM7227T-1 chipset.
Click to expand...
Click to collapse
Then I am interested ! I will have a closer look. You tried it already ?
---------- Post added at 10:08 AM ---------- Previous post was at 09:29 AM ----------
I just get the apk. Installation seems successful. However, no led is going blue on boot to let me enter bootmenu (V2.3)
I tried V1.4.2, but it was more like if I reset my phone. Still no bootmenu. [EDIT] : I think it just cleared my /etc partition (at least), that's why it messed up. [EDIT2] Or maybe it was working ? I am not sure about how to check if it was.
If the trick were explained somewhere, I could have a closer look...
[EDIT3]
Well I tried http://forum.xda-developers.com/showthread.php?t=1026853 which shall be the same thing as the apk, but no success.
It seems that this method replaces /system/bin/mount_ext3.sh by an other one. But this file does not exist in the in the stock version of my ROM. So I guess the trick cannot work. Or I don't understood how it works.
Guitwo2 said:
Then I am interested ! I will have a closer look. You tried it already ?
---------- Post added at 10:08 AM ---------- Previous post was at 09:29 AM ----------
I just get the apk. Installation seems successful. However, no led is going blue on boot to let me enter bootmenu (V2.3)
I tried V1.4.2, but it was more like if I reset my phone. Still no bootmenu. [EDIT] : I think it just cleared my /etc partition (at least), that's why it messed up. [EDIT2] Or maybe it was working ? I am not sure about how to check if it was.
If the trick were explained somewhere, I could have a closer look...
[EDIT3]
Well I tried http://forum.xda-developers.com/showthread.php?t=1026853 which shall be the same thing as the apk, but no success.
It seems that this method replaces /system/bin/mount_ext3.sh by an other one. But this file does not exist in the in the stock version of my ROM. So I guess the trick cannot work. Or I don't understood how it works.
Click to expand...
Click to collapse
Use adbd insecure.
http://forum.xda-developers.com/showthread.php?t=1687590
Patch adbd to run as root.
Then use the Batch installer. The last time I did it, it installed, but it was about to boot into bootmenu, then it exited. Make use the Fire XT 2nd-Init. Not the Defy One.
rootdefyxt320 said:
Use adbd insecure.
http://forum.xda-developers.com/showthread.php?t=1687590
Patch adbd to run as root.
Then use the Batch installer. The last time I did it, it installed, but it was about to boot into bootmenu, then it exited. Make use the Fire XT 2nd-Init. Not the Defy One.
Click to expand...
Click to collapse
I'll try that !
Guitwo2 confirmed that bootmenu worked. Go to the link to see it.
http://forum.xda-developers.com/showthread.php?t=1997638
Moved to http://forum.xda-developers.com/showpost.php?p=39961127&postcount=1
Here is 2nd-boot for fire xt:
http://forum.xda-developers.com/showthread.php?t=2190758
You must have 2ndinit CWM for it to work.
If FireXT CWM works on our phone then 2nd-Init/2nd-boot should work on our phone.
The one you download doesn't include 2nd-boot
rootdefyxt320 said:
Here is 2nd-boot for fire xt:
http://forum.xda-developers.com/showthread.php?t=2190758
You must have 2ndinit CWM for it to work.
If FireXT CWM works on our phone then 2nd-Init/2nd-boot should work on our phone.
The one you download doesn't include 2nd-boot
Click to expand...
Click to collapse
I tried the 2nd init that were here originally, and it seems tp work. But I donot really know what I should expect.
Sent from my XT320 using xda app-developers app
Guitwo2 said:
I tried the 2nd init that were here originally, and it seems tp work. But I donot really know what I should expect.
Sent from my XT320 using xda app-developers app
Click to expand...
Click to collapse
The bootmenu doesn't seem to work for me. I check the mtdblocks and it matches yours. I have busybox installed, init.d support. The blue led loads up after the bootloader, but when it tries to boot into bootmenu, it exits.
rootdefyxt320 said:
The bootmenu doesn't seem to work for me. I check the mtdblocks and it matches yours. I have busybox installed, init.d support. The blue led loads up after the bootloader, but when it tries to boot into bootmenu, it exits.
Click to expand...
Click to collapse
Try to run in shell
Code:
$su
#sh /etc/init.d/97bootmenu
and see what you get.
Im a noob. Can someone tell me what is bootmenu?
Sent from my XT320
junk031 said:
Im a noob. Can someone tell me what is bootmenu?
Sent from my XT320
Click to expand...
Click to collapse
It's a way to run CWM on locked bootloaders, it is 2nd-Init basically.
---------- Post added at 06:39 PM ---------- Previous post was at 06:35 PM ----------
Guitwo2 said:
Try to run in shell
Code:
$su
#sh /etc/init.d/97bootmenu
and see what you get.
Click to expand...
Click to collapse
It still doesn't boot into bootmenu
rootdefyxt320 said:
It still doesn't boot into bootmenu
Click to expand...
Click to collapse
Nothing prompting ?
Try then (in shell with root) :
Code:
exec /system/bootmenu/binary/bootmenu
How can i change the Permissions ?
Tubii said:
How can i change the Permissions ?
Click to expand...
Click to collapse
Code:
chmod XXX /filepath/filename
http://en.wikipedia.org/wiki/Chmod
What am I doing wrong?
http://www7.pic-upload.de/09.04.13/ogq36obcugkw.jpg
Defy is Rootet.
USB Debugging is enable.
Tubii said:
What am I doing wrong?
http://www7.pic-upload.de/09.04.13/ogq36obcugkw.jpg
Defy is Rootet.
USB Debugging is enable.
Click to expand...
Click to collapse
You forgot to "su" before "exec"
If you are not root when executing 97bootmenu, it will not work.
Guitwo2 said:
You forgot to "su" before "exec"
If you are not root when executing 97bootmenu, it will not work.
Click to expand...
Click to collapse
Ok then my screen darker
http://www7.pic-upload.de/09.04.13/ta1rsvpkl1sk.jpg

[Q] SIM not recognized - Help needed

Hi
My wife bought a Note 2 (N7100) in China, second hand. I thought it was stock, so I tried to update it manually (official update) with Odin. But of course it was rooted and with some chinese ROM (my guess since I saw chinese charachters).
That didn't work so I proceeded to install a custom rom. After trying over and over, my phone would not recognise the SIM no longer (it worked before I started out with this mess). I have basically tried installing multiple roms (4.1, 4.3, 4.4), Odin fails when trying offical roms, multiple modem zips etc. Dont know what to do.
Problem is that I can not get the PCode because there is no connection with the SIM. IMEI is on the back of the phone, but trying *272*#IMEI-code# doesn't give me nothing because i just get fail. Trying to download a official rom from china over baidu.com, but until now no luck. What would you do? Right now its a phablet with wifi, nothing else. Anyone have an idea how to fix this little mess I put myself into?
Flash custom recovery and TRY THIS method in ADB.
Confirm if they have the same efs address though, but I think it's the same.
cz4r3n said:
Flash custom recovery and TRY THIS method in ADB.
Confirm if they have the same efs address though, but I think it's the same.
Click to expand...
Click to collapse
Looks like my /efs/ partition is zero, nill nothing. What to do? Use it as a wifi phablet? I dont have linux, only mac, so I cant do these two steps, but I guess it does not matter since I can not open the efs.img file
linux# losetup /dev/loop0 efs.img
linux# fsck /dev/loop0
So the phone is impossible to fix now - right? /efs/ folder on phone is emtpy.
Found my IMEI number for this phone on Google Dashboard. Is it possible to restore the EFS image only using that?
mikasjoman said:
Found my IMEI number for this phone on Google Dashboard. Is it possible to restore the EFS image only using that?
Click to expand...
Click to collapse
Did you ever have a backup on your efs?If yes, then restore it.there are so many threads on how to restore your efs.
---------- Post added at 07:55 PM ---------- Previous post was at 07:44 PM ----------
mount efs in adb.
adb shell
su
mount
dd if=/dev/block/mmcblk0p3 of=/sdcard/mmcblk0p3.bin
Code:
dd if=/dev/zero of=/dev/block/mmcblk0p3
dd if=/sdcard/mmcblk0p3.bin of=/dev/block/mmcblk0p3
mmcblk0p3.bin
That is a no Or maybe. I made a copy to my harddrive with those instructions you linked to. Could I email the efs.img file to you and you check if its usable? Maybe it is just corrupt. I really don't know how to figure it out on this mac. If it was empty it should not be the 21 MB it is.
I did a "cat" on the efs.img file and it seems full of info.
Being the poor student I am, I wont be able to buy a new phone in some time

[Q] everybody~need the I467 4.4.2 NI2 STOCK RECOVERY file! PLZ!!!!!

My I467 because I wanted ROOT. I was in a state with ODIN 4.4.2 NI2 4.1.2MF1 firmware upgrade
Now the plate could not be activated ..
I find all posts
Only find NI2 the boot.img file .. Is there NI2 official reocvery file?
If there is an official RECOVERY .... flat NI2 should be able to seek to live together!
Posts NI2 boot file in the http://forum.xda-developers.com/showpost.php?p=57025810&postcount=18
Request @muniz_ri help! PLZ !!!!!
!!nobody?!
lovehuiping said:
!!nobody?!
Click to expand...
Click to collapse
How would one pull a Recovery/img? I'll gladly help in any way
K1979C20 said:
How would one pull a Recovery/img? I'll gladly help in any way
Click to expand...
Click to collapse
Need root to pull image. We ain't got no root.
TMartin said:
Need root to pull image. We ain't got no root.
Click to expand...
Click to collapse
Well crap. If we need root in order to pull those, how would we give chainfire the recovery.img so he can make a root?
---------- Post added at 05:12 PM ---------- Previous post was at 04:54 PM ----------
Sorry to double post, but I believe using adb in ubuntu I can pull the recovery.img. Just need to know where to look/file name. Searching "recovery" pulls up quite a number of files. any suggestions?
Recovery partition is located on this block "/dev/block/mmcblk0p10" so if u can pull the block and convert into an img format your good!!! Plus you might wanna pull "/system/etc/recovery-resource.dat" and rename it "recovery-resource.zip
RootSuperSU said:
Recovery partition is located on this block "/dev/block/mmcblk0p10" so if u can pull the block and convert into an img format your good!!! Plus you might wanna pull "/system/etc/recovery-resource.dat" and rename it "recovery-resource.zip
Click to expand...
Click to collapse
I literally had just discovered that mmcblk0p10 is the recovery. Although adb pull of that file fails, it will allow me to adb backup that file. But when it says backup complete on my tablet, the file is nowhere to be found on my computer. not sure where to go from here. Maybe I'm not doing adb backup correctly? Here is the script I entered:
adb backup /dev/block/platform/dw_mmc/mmcblk0p10 C:\backup.ab
But no dice. Backup.ab does not exist in C:/
Edit: found backup.ab after a very long search of my C:\.
Now I just need to find a way to "decrypt" it and convert it.
K1979C20 said:
I literally had just discovered that mmcblk0p10 is the recovery. Although adb pull of that file fails, it will allow me to adb backup that file. But when it says backup complete on my tablet, the file is nowhere to be found on my computer. not sure where to go from here. Maybe I'm not doing adb backup correctly? Here is the script I entered:
adb backup /dev/block/platform/dw_mmc/mmcblk0p10 C:\backup.ab
But no dice. Backup.ab does not exist in C:/
Edit: found backup.ab after a very long search of my C:\.
Now I just need to find a way to "decrypt" it and convert it.
Click to expand...
Click to collapse
Thank every reply, and now can only wait for it?
lovehuiping said:
Thank every reply, and now can only wait for it?
Click to expand...
Click to collapse
Sorry, not sure I understand your question.
Update on my back up file....
I managed to soft brick my laptop while installing Ubuntu. Cant boot into ubuntu, or windows. Also, the power supply on my PC took a dirt nap. So im at a stand still until I can get one of these machines up.and running again.
K1979C20 said:
Sorry, not sure I understand your question.
Update on my back up file....
I managed to soft brick my laptop while installing Ubuntu. Cant boot into ubuntu, or windows. Also, the power supply on my PC took a dirt nap. So im at a stand still until I can get one of these machines up.and running again.
Click to expand...
Click to collapse
thank you,,,PLZ give me links..
TMartin said:
Need root to pull image. We ain't got no root.
Click to expand...
Click to collapse
You can use KingoRoot to root the Note 8.0 i467.

LG Docomo Disney DM01G THREAD

Hello
I recently got my hand on a device which is specific to Japan which is called LG Disney by Docomo. Find about it HERE
I am interested to help people around to see what can be done with this device. I do not own it personally so I can not do much.
Here is the opensource for the device.
http://opensource.lge.com/osSch/list?types=ALL&search=Dm01G
I have also made a complete dump of the system and will see if someone is interested in version LGDM01G10B
I am looking for the latest LGDM01G10E system dump or something that can be used to extract the dump or used to make a KDZ file.
Dump updated for users.
Update about how to flash it coming soon.
Check here for DUMP
https://forum.xda-developers.com/showpost.php?p=79244517&postcount=13
System Dump with all partitions
All partitions except System
https://mega.nz/#!W80zxCSZ
system dump
https://mega.nz/#!C9EC2AyA
WITH KEYS
https://forum.xda-developers.com/showpost.php?p=79244517&postcount=13
Rough Guides
http://forum.xda-developers.com/showthread.php?t=2582142
http://forum.xda-developers.com/android/general/unbrick-lg-model-download-recovery-t3060184
This is for some other tab so make sure change the directory accorrdingly
Extract and place it onto your sd card!. Make sure all files are under /sdcard/* directory. Boot into the recovery, go to wipe -> advanced wipe -> wipe everything except sd card and internal storage. In recovery, go to advanced, then terminal. Folders should pop on the screen but do not go to any different directory, just press select. Now you should be in the terminal. Now, I'm really sorry but it will take some time, you have to enter each of this commands separately into the terminal:
Code:
dd if=/sdcard/V40010C/bootloader/aboot.bin of=/dev/block/platform/msm_sdcc.1/by-name/aboot
dd if=/sdcard/V40010C/bootloader/factory.bin of=/dev/block/platform/msm_sdcc.1/by-name/factory
dd if=/sdcard/V40010C/bootloader/laf.bin of=/dev/block/platform/msm_sdcc.1/by-name/laf
dd if=/sdcard/V40010C/bootloader/rpm.bin of=/dev/block/platform/msm_sdcc.1/by-name/rpm
dd if=/sdcard/V40010C/bootloader/sbl1.bin of=/dev/block/platform/msm_sdcc.1/by-name/sbl1
dd if=/sdcard/V40010C/bootloader/sdi.bin of=/dev/block/platform/msm_sdcc.1/by-name/sdi
dd if=/sdcard/V40010C/bootloader/tz.bin of=/dev/block/platform/msm_sdcc.1/by-name/tz
dd if=/sdcard/V40010C/boot.bin of=/dev/block/platform/msm_sdcc.1/by-name/boot
dd if=/sdcard/V40010C/cust.bin of=dev/block/platform/msm_sdcc.1/by-name/cust
dd if=/sdcard/V40010C/modem.bin of=/dev/block/platform/msm_sdcc.1/by-name/modem
dd if=/sdcard/V40010C/persist.bin of=/dev/block/platform/msm_sdcc.1/by-name/persist
dd if=/sdcard/V40010C/system.img of=/dev/block/platform/msm_sdcc.1/by-name/system
Remember only system is an img file! It is about 2,5GB so to flash it will take about 5-10 min.
Once you flashed everything you can reboot, in my case it said that OS is not installed but the recovery didn't know yet that we just flashed it. So just swipe to reboot and tablet should boot up with 4.4.2 !
Hnk1 said:
System Dump with all partitions
All partitions except System
https://mega.nz/#!W80zxCSZ
system dump
https://mega.nz/#!C9EC2AyA
Click to expand...
Click to collapse
sir your files are decryption..... are these a paid files
zahid.ali.83 said:
sir your files are decryption..... are these a paid files
Click to expand...
Click to collapse
No. Let me provide you key as well
Hnk1 said:
System Dump with all partitions
Hello,bro
Some error occurred during flashing REC, my DM-01G become brick.
Need to flash LG DOCOMO DM-01G to Stock ROM.
Would you please provide the KDZ format ROM file?
Thank you so much!
Click to expand...
Click to collapse
Hnk1 said:
System Dump with all partitions
And your files are decryption, plz help!
---------- Post added at 03:55 PM ---------- Previous post was at 03:50 PM ----------
zahid.ali.83 said:
sir your files are decryption..... are these a paid files
Click to expand...
Click to collapse
"All partitions except System"
Hi bro, would you send me these files?
thanks you so much!
Click to expand...
Click to collapse
biosct said:
Hnk1 said:
System Dump with all partitions
And your files are decryption, plz help!
---------- Post added at 03:55 PM ---------- Previous post was at 03:50 PM ----------
"All partitions except System"
Hi bro, would you send me these files?
thanks you so much!
Click to expand...
Click to collapse
I don't have a kdz. I made a backup of this device when i had the device which i borrowed from a friend.
However if you still need the files, i can send you the link
Click to expand...
Click to collapse
Hnk1 said:
biosct said:
I don't have a kdz. I made a backup of this device when i had the device which i borrowed from a friend.
However if you still need the files, i can send you the link
Click to expand...
Click to collapse
Bro, Thank you so much!
Would you please send me the link?
---------- Post added at 03:33 PM ---------- Previous post was at 03:25 PM ----------
Hnk1 said:
biosct said:
I don't have a kdz. I made a backup of this device when i had the device which i borrowed from a friend.
However if you still need the files, i can send you the link
Click to expand...
Click to collapse
https://mega.nz/#!W80zxCSZ
this link is decryption, please help!
Click to expand...
Click to collapse
Click to expand...
Click to collapse
App storage issues
Hi! Just get the phone. Anyone knows how to move an app from internal storage to SD? Or if I wanna try root. What program can root this phone? Thanks
Please provide the decryption key for your MEGA links I want to explore the system partition
Hnk1 said:
System Dump with all partitions
All partitions except System
https://mega.nz/#!W80zxCSZ
system dump
https://mega.nz/#!C9EC2AyA
Click to expand...
Click to collapse
brother share decryption key for these files
pchacker47 said:
brother share decryption key for these files
Click to expand...
Click to collapse
sorry it took some time. I was travelling and could not reply sooner
https://mega.nz/#!W80zxCSZ!XnvKXhruRu0fKulHyTowbOz7k4srM2x0EMr1ap_KtGk
https://mega.nz/#!C9EC2AyA!zxTQbpczRhGqWXZeHjsdFRGGtFQs43WpBz2ng0Evg78

Unlocking Bootloader/ Magisk Attempt

MAGISK FULL GUIDE (APK for install and other mods coming soon!)
The bootloader unlock is pretty similar to any other phone.
Go to settings>about> click on build number until developer options are enabled. Go back and select system>Developer Options. Make sure to enable OEM unlocking.
(On PC) "adb reboot bootloader", "fastboot flashing unlock_critical", use volume to select unlock. THIS WILL ERASE ALL CONTENT ON YOUR DEVICE.
IF YOU DONT WANT TO DO THIS FROM SCRATCH, SKIP TO PART 2
Go to https://support.microsoft.com/en-us/surfacerecoveryimage
Select Surface Duo from the drop down
Enter your serial number and download the file
Extract the firmware .zip
Extract the Payload file
Moved bootloader to root
Installed Magisk Manager apk and patched bootloader image
Attempted to flash which resulted in "cannot write to partition_b"
PART 2:
download the patched magisk_boot.img from here https://drive.google.com/file/d/1-7NWj8_jFH8AtpTTpXITOv1eh-wo7xlz/view?usp=sharing
adb reboot bootloader
fastboot boot magisk_patched.img
PART 3 - All right, lets make it permanent!
Place magisk_patched.img on your sd root
adb shell
su
cd /dev/block/by-name/
chmod 777 boot_a
chmod 777 boot_b
DEV=$(ls /dev/block/by-name/boot_b); echo $DEV
dd of=$DEV if=/sdcard/magisk_patched.img
DEV=$(ls /dev/block/by-name/boot_a); echo $DEV
dd of=$DEV if=/sdcard/magisk_patched.img
Reboot and we are good!
I am working on an app to streamline the process as well as provide additional mods and addons to the device. I hope to have something for you guys by the end of the week.
I do plan on streaming some of this stuff (twitch.tv/goingh0st), and am working on a section of my discord for the same thing (World of Gh0st)
https://www.patreon.com/GoinGh0st
Thank you for your support and I cant wait to get more stuff to you guys!
Would you mind sharing the patched Boot?
Everything you posted is spot on, try switching partitions.
Perseu5 said:
The bootloader unlock is pretty similar to any other phone. Go to settings>about> click on build number until developer options are enabled. Select oem bootloader unlocking. Adb reboot bootloader, fastboot flashing unlock, use volume to select unlock. This will erase all content on your device.
Go to https://support.microsoft.com/en-us/surfacerecoveryimage
Select Surface Duo from the drop down
Enter your serial number and download the file
Extract the firmware .zip
Extract the Payload file
Moved bootloader to root
Installed Magisk and patched bootloader image
Attempted to flash which resulted in "cannot write to partition_b"
Attempted to boot the patched boot image which resulted in a bootloop.
Out of town for the time being but will be attempting something different when I get back in a day or so.
Click to expand...
Click to collapse
I tried the same and I had the same issue. Seems the the boot partitions, both a and b, are not writable or erasable even with the bootloader unlocked.
I even went as far as unlocking critical and still the same issue.
Sent from my Surface Duo using Tapatalk
really????
try different USB CABLE! DO NOT USE type C to C.
Use USB-A to C
So anyone tried my method? Should work
avetny said:
really????
try different USB CABLE! DO NOT USE type C to C.
Use USB-A to C
Click to expand...
Click to collapse
Haven't had time to try, but I was using c to a cable
Sent from my Surface Duo using Tapatalk
bxmoney181 said:
Haven't had time to try, but I was using c to a cable
Sent from my Surface Duo using Tapatalk
Click to expand...
Click to collapse
u mean usb type A to C?
avetny said:
u mean usb type A to C?
Click to expand...
Click to collapse
Yup
Sent from my Surface Duo using Tapatalk
---------- Post added at 07:29 PM ---------- Previous post was at 07:27 PM ----------
avetny said:
So anyone tried my method? Should work
Click to expand...
Click to collapse
Have you confirmed successful flash of partitions??
Sent from my Surface Duo using Tapatalk
bxmoney181 said:
Yup
Sent from my Surface Duo using Tapatalk
---------- Post added at 07:29 PM ---------- Previous post was at 07:27 PM ----------
Have you confirmed successful flash of partitions??
Sent from my Surface Duo using Tapatalk
Click to expand...
Click to collapse
ok I'll try it tomorrow after work my self
I'll be back in town tonight, I was in fact using a c to c cable so hopefully a a to c cable will work. Should be back by 8 and will attempt it then!
Perseu5 said:
I'll be back in town tonight, I was in fact using a c to c cable so hopefully a a to c cable will work. Should be back by 8 and will attempt it then!
Click to expand...
Click to collapse
im still at work....
Please try it out....I remember in my pass that was a issue with many phones
Perseu5 said:
I'll be back in town tonight, I was in fact using a c to c cable so hopefully a a to c cable will work. Should be back by 8 and will attempt it then!
Click to expand...
Click to collapse
How did it go?
Just tried with a to c cable with same result unfortunately. Sending successfully, writing boot_b gives flashing not allowed to this partition. Also did a critical unlock and verified with fastboot oem device-info
wtf!!!!!!!!
---------- Post added at 09:21 PM ---------- Previous post was at 09:11 PM ----------
...... I will return this phone man.
I'm not sure with anything about unlocking and rooting (noob atm) but i noticed in developer settings that the default USB configuration is set to "No data transfer"
Is that by any chance causing the write issues?
panzercool said:
I'm not sure with anything about unlocking and rooting (noob atm) but i noticed in developer settings that the default USB configuration is set to "No data transfer"
Is that by any chance causing the write issues?
Click to expand...
Click to collapse
Nah that's not it. I was once that's there too lol. Keep reading and keep learning.
Sent from my Surface Duo using Tapatalk
bxmoney181 said:
Nah that's not it. I was once that's there too lol. Keep reading and keep learning.
Sent from my Surface Duo using Tapatalk
Click to expand...
Click to collapse
Would you post the patched boot image?
I want to try this myself without going through the prerequisite hoops.
Updating the main post now. I figured it out guys!
Perseu5 said:
Updating the main post now. I figured it out guys!
Click to expand...
Click to collapse
oh broo tell us whats happening
Perseu5 said:
Updating the main post now. I figured it out guys!
Click to expand...
Click to collapse
Tell us!!!

Categories

Resources