yashsingh1/xdaforums huggingface dataset:
[LG V20 Guides, News, & Discussion] shrimants:
as of now, is it unsafe to use ANY of the previous methods (including the manual method on the github page) due to the misc dumping? Or is it only an issue with the vdi method?

im not bothering to set my phone back up until I have root and a rom on there since I dont want to have to wipe everything and start over again, but that means my phone is good for talk/text and basic browsing and not much else.
[LG V20 Guides, News, & Discussion] SJMarty:
With some time to kill, I rebooted to recovery (adb reboot recovery | dead android | PWR + VOLUP) and got the built-in menu. I selected the option to apply update from SD card (although I obviously don't have anything to update yet) and got this message...

[LGE][Recovery] first_status is 0
Supported API: 3
E:failed to mount /sdcard (Invalid argument)

-- Couldn't mount /sdcard.
Installation aborted.

Is there something special I need to do here? The card was freshly formatted in the phone.
[LG V20 Guides, News, & Discussion] Zacharee1:
misc and laf are both on the sda block, while the rest is on sde. That makes things tricky.
[LG V20 Guides, News, & Discussion] runningnak3d:
For writing purposes lafd has two opcodes: WRTE and MISC WRTE. WRTE is the normal way to flash, but it also requires a SIGN opcode to be sent. This is what we can't make since the payload has an RSA signature, and we don't have the private key that signed it. MISC WRTE can only write to the misc partition. It is used for things like removing the string that causes the phone to boot to recovery if you took an OTA. It has no verification at all, which is why we are able to use it.

So, the way this works is:

MISC WRTE till misc is full

COPY what was wrote from misc to the destination partition

MISC WRTE the next chunk till misc is full

COPY again

repeat till the entire partition is flashed.

But it just so happens that carrier is 40 megs (the same size as recovery) and will easily hold TWRP. So, I am making a change so that carrier is used as temp space (it is blank on the H918), so it will go like this:

MISC WRTE

COPY to carrier

MISC WRTE

COPY to carrier // repeat till flashed.

READ carrier // this makes the dump

strip trailing whitespace from that dump

compare hash of the dump to what was being flashed (TWRP). If they match, then:

COPY carrier to laf

If they don't match, throw an error, and laf isn't touched.

This way, unless you have something wrong with your UFS chip or your CPU, there is NO WAY that you could not have a good flash as long as the hash matches.

Eventually I may add per block hashing so that an intermediate partition isn't needed:

MISC WRTE

MISC READ

compare hash of what was read to the first block being flashed

If it matches, COPY the block to the destination partition, if not send it again.

repeat till the entire image is flashed.

I am hesitant on the second method because while it is more efficient, if something happens partway through the flash, you have no way to back out. As a matter of fact, I just talked myself out of ever going the per-block route. I am only leaving this in the post in case someone can see how I could make this method as safe as using carrier as temp space for hash verification.

OK, so about the folks that have corrupt misc partitions. I have tried to recreate the problem and I can't. I have compared the dump that was made to the dump I made way back before I ever started this (it is always a good idea to have a copy of misc), and except for a few differences because misc has been slightly changed, they match.

So, my next question is, did you use adb push misc.img /dev/block/bootdevice/by-name/misc or did you adb push /sdcard/ && adb shell dd if=/sdcard/misc.img of=/dev/block/bootdevice/by-name/misc

If you used (by my instructions) the first method, it doesn't work. You can't push directly to a block device -- I was on crack when I typed that up (or sleep deprived).

-- Brian
[Xperia Z5 Q&A, Help & Troubleshooting] MajorDanger:
i have bought an xperia z5 around 2 months ago without warranty.

so my phone says SOV-32 on the back but its flashed with E6653 and the sim is unlocked, since my phone is sim unlocked how can i get my bootloader unlock allowed to yes ? i contacted sony they replied me with a subject reference code to my case but i dont know what to do with it...

any help would be appreciated.
[Xperia Z5 Q&A, Help & Troubleshooting] myztixalr:
i have the same issue, pls help this
[Xperia Z5 Q&A, Help & Troubleshooting] MajorDanger:
I have already sent and email to au phone from Japan and they replied with somthing like "we are not allowed to do that" this means that they can do it actually... The f does this mean? This is my phone, my property, I paid my money to buy it and its sim unlocked so what does this mean that they are not allowed to do that? Like what could go wrong If they do especially that my phone is sim unlocked? Id be greatful if some high Grade dev replys that why this security system cannot be broken?
[Xperia Z5 Q&A, Help & Troubleshooting] Duvel999:
Sorry to say, sell this phone. Buy one which bootloader can be unlocked.

Sony will not gonna help you.
[Xperia Z5 Q&A, Help & Troubleshooting] ColdIllyrian:
nah don't listen to duvel999 i bought a sony phone with locked/no unlock allowed bootloader i managed to change it with code but you see i didnt do it a friend did and he is just good with this kinda stuff so its possible but do some research and you will eventually be able to do it
[Xperia Z5 Q&A, Help & Troubleshooting] MajorDanger:
Thats not the case, duvel999 is right.. My phone is not just locked bl it is not even allowed to be unlocked.
[Xperia Z5 Q&A, Help & Troubleshooting] ColdIllyrian:
NO it's possible
[Xperia Z5 Q&A, Help & Troubleshooting] Duvel999:
Then you're a Magician..

Many Sony lovers would like to know that trick:good:
[Xperia Z5 Q&A, Help & Troubleshooting] ColdIllyrian:
Ok
[Off-topic] jjakajonas:
Well.

Its kinda off topic...

But I thought I would ask here.

I'm not a dev but I try learn about developing stuff by trying develop stuff.

Most of the time is it to stuff I have laying around at home.

So... I got my hands on a Samsung smt-h3126.

I short: it's a set-top box from a carrier here in Denmark called YouSee under the TDC group.

I fired the box up and discovered that it works but with the YouSee firmware..

The device have HDMI, HDD, Ethernet and runs Linux.

So I rushed to Google and made a boob search and found the source code for the box at Samsung (http://www.samsung.com/global/busin...s/resource/opensource/cable-set-top-box.html) the only problem is that I don't know what the next step is.

Normally it would be to download the file, find a guide on how to flash it, flash it and install needed apps.

But I dont think its that easy.

I am thinking I have to make a Linux environment to work with this in and code in the apps that I need (YouTube, Netflix, viaplay, Plex and so on) and also much of the interface. But I don't know where to start or how to start.

Is there someone here on XDA there can give me the kick in the behind so I land at the start point on my travels on designing my "own" software?
[Samsung Galaxy S7 Edge Questions and Answers] Brayer06:
my s7 edge does not turn on the wifi and the bl some solution?

since installing a custom rom

my model is g935f

my baseband is G935FXXU2DRC7
[Samsung Galaxy S7 Edge Questions and Answers] RVR:
Need more details.. about the rom name and stuff .
[Samsung Galaxy S7 Edge Questions and Answers] Brayer06:
the rom is s9 ported v3 sac23 that's all

leave me your telegram to contact you and explain more clearly
[Android Q&A, Help & Troubleshooting] MasterEsno:
[HELP] Need stock recovery.img samsung galaxy a8 2018 A530F

Im flash

-TWRP, format data

-Magic

-No verify

Im succes root.

But , when restart. I get botlop. Cant enter to recovery.

Im try flash TWRP again, im get show masage

"only official released binaries are allowed to be flashed"

Im dont have a backup, im download stockrom in updato(dot)com but always corrup.

Please?
[Android Q&A, Help & Troubleshooting] Ibuprophen:
I don't have this device but, you should be able to obtain what you need on the following link.

https://desktop.firmware.mobi/device:1863/firmware:15929

Good Luck!

~~~~~~~~~~~~~~~

I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.
[Android Q&A, Help & Troubleshooting] MasterEsno:
Ok thank im will try flash bot n recovery, i hope that work to me.. thanks ?
[Android Q&A, Help & Troubleshooting] Mukulgoyal:
Plz help

Actually i have Samusng galaxy A205F device and i tried to root it but now it got bricked and enter download mode automatically ..... plz help me out of this
[One (M8) Q&A, Help & Troubleshooting] filipkosteski:
So im trying to flash my beloved HTC One M8 back to stock after flashing insertcoin. I get my HTC,plug it in open up my RUU it goes through the setup and when it gets to flashing it it gives me error 155. My bootloader is locked and i am S-OFF. I dont know what to do,if anyone can help it would mean a lot,thank you! :confused:
[One (M8) Q&A, Help & Troubleshooting] filipkosteski:
Also i should mention that i have the European HTC One M8 16GB Model: 0P6B100
[One (M8) Q&A, Help & Troubleshooting] filipkosteski:
Fixed! I fixed it by going to HTC's site and downloading a RUU from there. Here you go if you need it:

http://www.htc.com/us/support/rom-downloads.html#unlocked

:);)
[One (M8) Q&A, Help & Troubleshooting] redpoint73:
None of the RUUs on that webpage are for the Euro M8 (specifically). You may have SuperCID or some other condition, which allowed one of those RUUs to work.

You probably don't care to exhaust any more time on this, since you've got an RUU to work. But if you want to know more about the CID on the phone, which RUUs would work (or not work) and why you got Error 155, we might be able to advise provided you give the following info:

- Do fastboot getvar all and post the results (delete IMEI and serial number before posting)

- Tell us what RUU (file name, version number) you originally tried, and which one actually worked
[One (M8) Q&A, Help & Troubleshooting] filipkosteski:
Yeah,that's what i did. And now it's working and i finally made it work,don't want to screw something up again,sorry i just don't feel secure. :P
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
after flashing it loops after twrp start screen
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] glehel:
Same, twrp not loading menu screen, restart.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
ok, checked. /data decryption is only necessary if you have set up fingerprint and pin code. If you have it, you only have to introduce your password ONCE (at first TWRP boot up) and in other reboots only cancel this action and you're ready to go.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
Maybe it's misunderstanding but twrp never goes further than start screen for me
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
weird... can you tell me about your device? which p10 version (vtr-l09 or vtr-l29) and which EMUI version? thanks!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
VTR-L29, Android 8.1, RR rom, Gatorade kernel
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
Ok, thank you. On Original Thread this bug is also tracked. Right now, this version doesn't work on 8.1 roms... You have to wait for debugging...
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] virusdunil:
Hi...successfully flashed it without any errors (not using pincode or fingerprint)...

while backing up,it says it doesnt backup imgs and files in download in /data :rolleyes:

(isnt it the main reason why we do backups? )
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
TWRP never did internal storage backups, you can do thst with your PC, OTG, etc... you don't need a custom recovery for that.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] tadeussenf:
Confirm working for me on L09C432 using stock oreo firmware. '/data' seems to be decrypted and also 'adb shell' was successful.

I had to use

adb reboot recovery

though, Vol+ on bootup always takes me to eRecovery (which I assume is a good thing).

Edit: One thing I noticed is that this recovery does not mount the same partitions as the stock firmware does. For instance when using adb shell, /system showed different contents when started using recovery. I was able to do mount the correct /system partition manually though.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Vol+ takes you to erecovery if you don't press it right after you power ON. Or if it's connected to PC, i think.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
why I cannot flash this kernel zip? I can flash it only from blackball TWRP for P10+?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
Could you share your what's your error message?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
It was something like error 1: wrong partition name. Some other P10 users have same problem, the only solution is to use Blackball P10+ TWRP recvoery, but that recovery doesnt support decryption and USB storage.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] f0rb1d:
TWRP automatically shuts down for somehow after few seconds.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] ure3808:
Man Whay you do not take old TWRP Kirin edition, and just 3110 and just ad emui8 to work, i have it, but I can now beacose, I have 37 models program repairs for what I am paid of.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
what?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] yungshadow:
i have the same problem
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
This is the error that occurs in TWRP when flashing the HYPER Kernel. The only way to flash the Kernel is using BlackBall TWRP (but his TWRP doesnt support data decryption and usb connection to PC).
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
This doesn't work with 8.1 roms...
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
someone got 8.1 OREO on huawei P10 allready?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
RR is 8.1
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
what has TWRP to do with system image?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
Decryption doesn't work on 8.1 for now
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
I have flash it HYPER kernel successfully. You just need to decrypt /data before backup partitions or flash kernel. I had mounted /system before to flash this kernel.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blake.80486:
Any way to get TWRP running with 8.1?

I currently have a bricked P10 after updating to 8.1.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] sfoot13:
8.1? But, there's no 8.1 for P10 yet.

Are you using a custom rom?

---------- Post added at 01:12 PM ---------- Previous post was at 01:08 PM ----------

@espaciosalter20 Thank you so much for your work, everything is working great :D
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
TWRP from [MENTION=477335]Blackball[/MENTION] in p10 + forum it's working with 8.1 treble roms, but there is no decryption
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Blake.80486:
I omitted a ton of details.

I had 8.1 working just fine using treble, but no gapps sins I could no longer start TWRP

I tried restoring everything back to stock 8.0, boot loops sins then.

TWRP 3.2.1-1 starts, but has no file system access.

I still have fastboot (everything unlocked), so I'm sure it can be recovered.

---------- Post added at 12:48 PM ---------- Previous post was at 12:19 PM ----------

Okay, didn't get much sleep last night.

Blackball's TWRP seams to have solved my issues.

From there I could do a wipe, and that fixed the boot loop.

---------- Post added at 01:05 PM ---------- Previous post was at 12:48 PM ----------

Of course now opengapps gives error 20, it's detecting it as version 7.1.2 (SDK 25) for some reason.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] sfoot13:
You can easily restore your phone using the oreo update method, Click here

I hate gapps, but I need Google market :P so I installed MicroG, you just need gmscore from microG, Google service framework and Google account manage (see image).

To avoid bugs, you need make wipes with stock recovery.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] f0rb1d:
But it is a 8.0 ROM...
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
could you give more info about your device? Which version do you have, vtr-l29 or vtr-l09, which ROM? :confused:
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] f0rb1d:
VTR-AL00 running EMUI 8.0 (Android 8.0-8.0.0.336(C00))
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Eurofighter_ty:
Hi,

Can you help me with the P10 lite ? I tried to flash this TWRP build on my device but it's stuck on device booting now and if I try to compile my own build I get invalid argument on all partitions declared in the fstab.

Here are my sources:

https://github.com/maxhartung/android_device_huawei_hi6250

What is the problem ? I am using minimal TWRP manifest.

Thanks a lot !
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Hi mate! It will never work with that device tree. I don't have a P10 Lite but i'm sure that is quiet different compared to Kirin970.

I'm not even sure it's using UFS.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] iFlashed:
I tried with LineageOS 15 but didn't work. Freezes on TWRP boot logo

Enviado desde mi VTR-L29 mediante Tapatalk
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Eurofighter_ty:
Yeah, it doesn't. I don't even know where to start with the debugging as with my sources, I can boot into TWRP, but it can't mount the partitions. I can't even save screenshot since I can't mount anything. So, do you have any ideas ?

Thanks !
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
First you should open the terminal on your decice and start with the "su" command. Tben use this commands to have more details about the partitions :

df > /sdcard/df.txt

cat /proc/mounts > /sdcard/mounts.txt

ls - l /dev/block/bootdevice/by-name > /sdcard/partlist.txt

You will find the output files in the root of your internal storage.

That's for start!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Eurofighter_ty:
I can't save them at all. It just doesn't work. So you have here a "screenshot":

https://imgur.com/a/UJwx0iC

As you can see there is nothing mounted at all. Just the temporary stuff. Even if I choose reboot to system is still booting into the recovery. So can't even set the boot partition.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
You need to use the Terminal in android, not TWRP.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Eurofighter_ty:
Here is the df command:

https://hastebin.com/utefivemip.sql

Here are the mounts:

https://hastebin.com/mapacuqede.sql

And there is the partlist:

https://hastebin.com/roxeqeyuse.hs

Thanks !
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
You have a PM!
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
P10 and P10 Plus should test this version it's confirmed working on your devices - - > https://mega.nz/#!9xVgxDwT!NOk3XkSaBX8PC5xjyrZNyIIz52aSoPZFphQNauhTKGQ
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
what are the changes and diferencies from espacioslaters twrp 3.2.1.0 in this thread?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Now it's on par with the last version for other Huawei devices as Mate 10 Pro .The changelog from 0.5 to 0.7.

twrp_blanc_0.5.img - mounting/unmounting issues shound be fixed , added a new option to exclude OEM path from wiping with Factory Reset and can be enabled/disabled in settings (thx Team OpenKirin for this), this version will work even with newer updates that bump security patch version.
twrp_blanc_0.6.img - wipe cache is now fixed
twrp_bla_alp_0.7.img - fixed decryption on EMUI 8.1 (now you can use the same password/pin/pattern to decrypt in TWRP), /recovery_ramdisk no longer available for backup./vendor no longer available for backup (use /vendor_image instead),/system and /data can be unmounting issue with 8.1 devices is now fixed.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] DallasCZ:
so also suitable for P10? if its your build, then start your own thread. it will be more clearly.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Pretoriano80:
Lol, the builds used in this thread are also my builds! ? Read the OP.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Tojgli:
Still doesn't load on android 8.1 roms (los).
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Matei004:
So does this work to flash a GSI (Generic System Image)? I'm still on EMUI 8.0 stock rom with bootloader unlocked.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jandot_de:
Yes, it works. But beware: After Flashing RR 8.1 ROM from phh, i can't enter TWRP (i heard something about it cannot decrypt data on 8.1 ROMs) so i am unable to flash GAPPS... :/ Anybody has a Solution?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] funiewski:
Use [MENTION=3117560]blackbo[/MENTION]ll twrp
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] jandot_de:
If i try to flash a GAPPS Zip with Blackballs TWRP, it says that the ZIP File is broken.. :(
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Silently:
I can confirm this works perfectly for my P10 VTR-L09 and I have added a link to the main Treble Megathread for the P10.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
OP was updated yesterday with new version from [MENTION=2642882]Pretoriano80[/MENTION].
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Matei004:
Doesn't work on Android 8.1 Treble ROMs, stuck on the boot logo.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
This is a known bug of Treble ROM (8.1) on p10/plus....
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] laoli0913:
Does it support P10 Plus with emmc? The TWRP which not support emmc will cause no partitions can be mount.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Matei004:
I think it has to do only with the P10 version. [MENTION=477335]Blackball[/MENTION] 's TWRP worked on my P10 and managed to reinstall stock EMUI rom with it.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Rookie1919:
Edit 2:

Blackballs ROM worked. I can enter it with the RR ROM. Did factory reset and the rom starts.
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] virusdunil:
Clik on...

Please try and report..... ?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] Rookie1919:
Problem here. I installed the twrp, but its encrypted. I dont know why, bc there is no password set. Bc its encrypted, I cant install Magisk or gapps. So I decided to use adb sideload, but it doesnt work. Under windows I get a good output when I type "adb devices", but when I type this in the sideload function of the twrp, there is NOTHING.

So I:

- dont have gapps installed

- an encrypted twrp

- no adb service in sideload mode

What to do?
[Huawei P10 ROMs, Kernels, Recoveries, & Other Deve] espaciosalter20:
What was you trying to do? This TWRP it's intended to be used on stock emui ROMs (8.0/8.1) but doesn't work on custom treble ROMs (AOSP, LOS, RR, AOKP...) for now...

So my best guest it's that you have to make a factory reset and set screen lock and fingerprint protection in order to make this TWRP works properly (it's depends on data decryption to achieve fully access to partitions)