yashsingh1/xdaforums huggingface dataset:
[Samsung Galaxy Note 9 Accessories] miojoroafmv36:
Greetings from Brazil.

I just bought a Galaxy Note 9 and I'm enjoying it so far. I'm very inclined to purchase an used Dex Station for it (the Galaxy s8 used to come with one in Brazil so it's easy to find an "used*" one in good condition (*sometimes they never even used it but they can't sell it as new because they opened and tried it once). Anyways, my note 9 came with a case inside the box. It was alongside the papper instructions and the sim removal tool. My question is: Would I be able to use a Dex Station with this case on the phone? If not, would it fit in the dex pad? Below is a picture of the bottom of the case. I want to use dex daily so to remove and put back the case everytime would be a major headache. I have a usb-c to hdmi cable that worked fine as a dex cable but I want to plug the power cable and an usb keyboard.

Thanks!

[IMG="Case picture"]https://i.ibb.co/VMBt4Ns/20190630-014336.jpg[/IMG]
[Samsung Galaxy Note 9 Accessories] prz13:
With this case, the phone will fit in Dex
[Huawei Mate 9 Questions & Answers] jeffrimerman:
Found an article dated up to 6/24/19 that mentions 49 phones getting emui9.1 but seems like non US models. I think I've used my phone branded for UK before with no problems so if that's the only way then that's fine. Sorry if this question was asked 1.3 millions times.
[Xiaomi Redmi 4X Questions & Answers] eChino:
Hello honored folks of the santoni community! Since I could not find any working solution to my problem in any other way, I will ask here.

For some security/privacy concerns I would like to encrypt the data of my santoni with UB, Magisk and Orangefox 10. I have googled and researched and asked in some channels but could not find any solution.

Before flashing any pie rom (treble) I formatted data. When I start the encryption process from settings-> security-> phone encryption, the process starts for about 10 seconds, then hotreboots without anything done.

I tried to resize /data from recovery but it won't unmount the partition. Auto resizing didn't fix a thing. Magisk' s "hold force encryption" didn't chamge anything.

I faced that problems on AEX 6.6, AOSiP Derpfest and latest Havoc.

If I just have overseen one particular article about how to fix, please excuse. Otherwise, every attempt is welcome.

Since I have some sensitive Data on my phone, this topic is quite important for me personally.

Thx in advance.
[Android] skoar:
I'm getting the following build errors

Ubuntu 18, lineageos 16, Oracle java 9,

https://hastebin.com/maditoziqa.coffeescript
[Android Q&A, Help & Troubleshooting] skoar:
I'm getting the following build error

Lineageos 16, Ubuntu 18, Oracle java 9

https://hastebin.com/maditoziqa.coffeescript
[Samsung Galaxy S9  Questions & Answers] Chibisuke1219:
alright so I honestly don't know if this has been tried already or not but I was doing some research just now and I found a site that says it can unlock the bootloader of a Samsung device it doesn't specify as to what Samsung device though but what it says is that you use a thing called Superboot basically you run a command prompt and use the Superboot command to unlock it (the bootloader) again I honestly don't know if this has been tested already or not but I just wanted to bring it to attention if it hasn't also if anybody wants the link to the tutorial I can post it so anyways the question is would it work? and has it been tested already or not? thanks for reading
[Android Head-Units] jimakos75:
Hello i have 2din android unit and buttons has stopped and radio doesn't work. I have done format. Nothing happened. It says "Unfortunately ,app Ts 3651 has stopped! "

Please your help!

https://photos.app.goo.gl/Nh9UWUbVprXY85Po6

https://photos.app.goo.gl/JiFbzEnTs2MqBTxF6
[Android Head-Units] islam8827:
Hello, I also encountered this problem, did you solve it, if so how? Tell me please.
[Android Head-Units] joaosom:
Hello, enter the system and clear the application cache (TS 3651), the radio and volume are working again, etc.
[Samsung Galaxy S10+ Questions & Answers] JeffATL:
When I am talking to someone on the phone using wired earbud headphones they hear an echo. Anyway to resolve this? s10+
[Huawei P30 Pro Questions & Answers] amanjeetarora:
Hi,

So I have recently noticed this issue or a bug where I am unable to switch calls through wired headset or bluetooth headset on my Huawei P30 pro, so basically when I am already on a call and the other call is on wait I can easily switch to second call with the help of answer button on the headset it doesnt work. ( have used oneplus 6 and iphone x and it works on them)
[Huawei P30 Pro Questions & Answers] efrai3:
Any solution available?
[Tilt, TyTN II, MDA Vario III General] robseargeant:
I am using Dutty's hybrid 2 and having issues with both of these. I am not sure if it is the ROM or something else. I also have Medianet disabled by way of NoData and use Wifi exclusively.

Jivetalk Issues:

Freezes during reconnect process after Wifi lost. Have to close program and reopen

Palringo issues:

Freezes during reconnect process after Wifi lost. Have to got to menu offline/online to reconnect

Will not store my palringo login info through a soft reset

And the same Systray icon issue everyone else has even tho I have the box unchecked.

Any input would be appreciated.
[Tilt, TyTN II, MDA Vario III General] robseargeant:
Any idea's?

I guess to get a fast response I should have not looked first and asked a flamebait question like....Whats the best IM program!!!!!!!
[Tilt, TyTN II, MDA Vario III General] redbandana:
I too have issues with those programs on some builds. When I have issues i just use Slick, which isn't the best IM program but it does the trick and doesn't use your text messages.

attached is the cab for it.
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] puffyx:
My K20 is coming next week (i hope), it has already an unlocked Bootloader. Tradingshenzhen has unlock the Bootloader and get the Global Rom on my K20. Is it now possible to root the K20 with Magisk? I want a AD Blocker and the youtube Modul on my K20...
[Redmi K20 / Xiaomi Mi 9T Questions & Answers] DualPerson:
u might need to install twrp then flash Magisk for root
[OnePlus 6T  Questions & Answers] Kabu96:
Hi guys, a few days ago I installed the Asus Camera in my oneplus 6t and I noticed that the slowmotion mode also captured the sound, to which I thought is it not possible to enable the capture of sound even in the stock camera? sorry for english
[OnePlus 6T  Questions & Answers] Siljorfag:
Gcam also works with sound. Oneplus doesn't support it in OOS camera unforchantly and I think they won't.
[Samsung Galaxy S10 Questions & Answers] RemixDeluxe:
By default the bluetooth is turned on and I dont use any wireless devices so that was a no brainer to turn off. I'm not sure how effective it would be to turn off Always On Display and I'm sorry to any fans of it but I dont see the value in it so I'll turn that off to hopefully gain additional battery. I'm also unsure if I should turn off auto brightness or not but I'm mostly concerned with just turning off features that I wont use and its just draining the battery for nothing.

Any other suggestions?
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
Hiya folks! I'm trying to play with the firmware files for the P30 Pro, and have hit a roadblock. While I've gotten to extract the system.img (and all the other .img images) from update.app, I'm not able to mount or extract it using any of the usual tools because they are using EROFS file system.

I'm using Ubuntu 18.04 LTS, but haven't been able to spend much time on figuring out how to mount or access EROFS file systems yet. Has anyone gotten this figured out already? Any help will be great, thanks!

It started with that question, leading to finding the solution to mount the system.img, building mkfs.erofs and trying out a system.img etc.

I do not intend to work much on this, at least for quite a while owing to RL situations. In case anyone wants to build on this, please go ahead - everything I've used has a git that is linked appropriately :)

For building mkfs.erofs, here's what you need to do (mine is a Ubuntu 19.04 machine)

git clone https://kernel.googlesource.com/pub/scm/linux/kernel/git/xiang/erofs-utils.git -b dev
./autogen.sh
./configure
make

You will have the output in the mkfs/ folder.

More details from this post -
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
Current tools aren't working with EROFS, we will need new ones, compatible with EROFS.
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
Update as of today -

I have cloned erofs-utils git and have compiled mkfs for creating EROFS images. Will work on it whenever I have time to see if I can get an img to mount...

UPDATE 2 - SUCCESS!

In case anyone's looking to mount the erofs images from the stock firmware, here's what you have to do -

Download and extract UPDATE.APP from the firmware zip, and use splitupdate binary/ perl script or Huawei Update Extractor. (I have linked to the tools I have tried or used in the past)

Use simg2img to convert the system.img (or product.img or vendor.img) to raw format. simg2img is a part of android fsutils

sudo apt install android-tools-fsutils

You will need a linux box or VM with Kernel 5.x running (erofs support is added from 4.20, but I am running 5.x) - mount the raw image using

sudo mount -t erofs -o loop system.ext4.img /home/test/mnt/try2

(The "-t erofs" is optional - will work just fine with sudo mount -o loop system.ext4.img /home/test/mnt/try2)

You will get the erofs image mounted in the folder you've specified, and you can browse through it

Note that erofs images are not meant to be editable. If you want to modify the system.img, extract it's content and create a new system.img using the mkfs.erofs binary (I had linked to the source code). You'll of course need an unlocked bootloader to flash (or boot) the modified image :)
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
Have a look (read) here - > https://zhuanlan.zhihu.com/p/60617375
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
I had come across that link earlier, but that is for compiling mkfs for arm/ arm64...

Got what I needed, mission accomplished :)
[Huawei P30 Pro Guides, News, & Discussion] freeza:
So have you actually modified system and packaged it back up as erofs and booted it?
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
I do not have an unlocked bootloader yet - I have gotten as far as editing and recreating the EROFS image. One of these days I'll get the bootloader unlocked too :good:
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
Be careful with this kind of stuff after unlocking, Huawei devices are tricky as hell. Afaik Magisk already support EroFS, so it might be better to use that.

Of course,that's if you don't want to create some kind of custom rom, based on stock.
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
That is why I have two active phones, plus a few more right from the legendary HD2 to fall back on... what fun is it if you don't experiment with the flashy new hardware?! :D

I don't know when I will make credible progress on anything at all now though - am relocating to a different country shortly - to the home of Huawei :mad:
[Huawei P30 Pro Guides, News, & Discussion] JazonX:
Hey! Congratulations and thank you for the time and effort you spent on this.

Also, It's awesome to see another LEO user! Mine died a while back, but that was the modders heaven!

I've got an unlocked device and rooted using Magisk.

Root Explorer or any other root tools available today cannot read the system partition. It shows as free space is 0 MB.

Actually, I can see the content inside /system but I cannot move anything to it - Like patching the hosts file.

Any clue on how to achieve that?
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
You can't! You must use Magisk for that.
[Huawei P30 Pro Guides, News, & Discussion] goldybewon:
Hi Pretoriano,

Nice to see you on dead land. Remember those days when I was using Mate 10 Pro. Anyways let's move on and please guide us how to use magisk to push something in to system or remove / replace.

I'm rooted and looted on P30 Pro:laugh:

Thanks in advance,

goldybewon
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
Just read Magisk documentation, it's easy to build yourself simple modules. Also you can get some examples from available modules.
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
Yes, Pretoriano80 is right - EROFS by design is not meant to be modified. While I might take sometime later on to create a modified system.img, it'll be just an academic exercise - Magisk can easily add/ replace the contents of /system during boot, making system.img mods passe :angel:
[Huawei P30 Pro Guides, News, & Discussion] dimon222:
[MENTION=3339433]ph03n!x[/MENTION]

Is it possible to compile/assemble such software piece for Windows, or its unrealistical? There's millions of examples to explore ext4 images, but 0 about erofs.

I mean, we see sources. in C... i guess it should be still possible to translate it to something portable in Python or simply compile some component on Windows
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
I will explore this when I find time.. relocating between countries at the moment. That said, please do not hold your breath - I'm more comfortable with Linux than with Windows. But I'll still give it a shot!
[Huawei P30 Pro Guides, News, & Discussion] oslo83:
https://xdaforums.com/mate-20-pro/help/emui-9-1-partition-rw-t3947916/post80059824

Thanks [MENTION=2247733]ante0[/MENTION] for his mkfs.erofs arm build.
[Huawei P30 Pro Guides, News, & Discussion] Azan Mughal:
How do you convert system.img to raw img? System partion is erofs can you tell the trick clearly? With method... Plz
[Huawei P30 Pro Guides, News, & Discussion] MishaalRahman:
Has anyone tried this with WSL v2? Curious to see if it works.
[Huawei P30 Pro Guides, News, & Discussion] JazonX:
[MENTION=3339433]ph03n!x[/MENTION]

Were you able to build a system Image and flash it back to a device successfully?

I'm looking reading your thread to understand whether it's practically possible to

1. Dump a Mate 30 Pro System Image,

2. Integrate google apps (Pulled from P30 Pro System Image),

3. Rebuild Image with Google Apps and

4. Then flash it back to a Mate 30 Pro ?

have you attempted flashing a re-built image to a P30 Pro?
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
Your bootloader is unlocked? If not, then even if you manage to repack the system image, i doubt you will be able to install it.
[Huawei P30 Pro Guides, News, & Discussion] oslo83:
His P30P bootloader got unlocked back in june 19, last time code were availables

About Google apps:

It would be easier to get the Huawei Backup restore files of lzplay & GMS floating around online:

That will bring back your Google Apps on your chinese P30P.

About erofs custom building/flashing:

I'll do some test on /cust partition as it is the smaller erofs partition ~50MB...

If I don t manage to build right my erofs or if some checks prevent it to load once flashed :

I think I found a trick for custom cust & preload's erofs (not system's erofs).

I'll downgrade to 9.0 without erofs, mod the partitions that will become erofs, then I will let the 9.0 to 9.1erofs base upgrade only convert to erofs the existing partitions not included in base...

(I think I previoulsy achieved it without really noticing it.)
[Huawei P30 Pro Guides, News, & Discussion] JazonX:
Yes, Unlocked.

Thanks, Let me know how the test goes...

I don't like the LZPLAY method because that can be removed with a factory wipe.
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
I never got to do much, not even unlock my bootloader - relocating to China, and have given away my stuff. Until I setup something after the travel, won't play with the phone :(

If you have an unlocked bootloader on your Mate 30 Pro, take an image backup of system. Remember - the P30 Pro and the Mate 30 Pro use system-as-root, and other mount points originate from system.img including data, cust, vendor etc.

Also make sure you sync the make.erofs repo coz Huawei would had made some more progress since the last time I built it...
[Huawei P30 Pro Guides, News, & Discussion] JazonX:
Can you guide towards the instructions on "How to take a system image backup?"
[Huawei P30 Pro Guides, News, & Discussion] Pretoriano80:
If your Mate 30 is unlocked and have root, then you can use adb shell with this command :

dd if=/dev/block/bootdevice/by-name/system of=/sdcard/system_image_backup.img

Or you could install Partitions Backup from Playstore and use that instead (also requires root).
[Huawei P30 Pro Guides, News, & Discussion] oslo83:
Previous arm mkfs.erofs I shared was buggy and outdated.

Here is a freshly new one mkfs I built for android arm from Termux :)

Tonight, I'll try to flash erofs images baked with different compression options, to see how Emui9.1 likes it... :DView attachment mkfs.erofs_arm_0e91d131dcb21b45b21762c77c6d0377fa16f80d-oslo83.zip
[Huawei P30 Pro Guides, News, & Discussion] pavitra.das:
Not working with EMUI 10 full OTA updates. Cannot mount the image. Maybe Huawei is using newer version of EROFS which is not compatible with the mainstream kernel erofs driver module.

On same linux machine I'm able to extract and play with EMUI 9.1 images like a charm.
[Huawei P30 Pro Guides, News, & Discussion] ph03n!x:
While I haven't played with an EMUI 10 image yet, I have a fair idea of the ???? problem - all those files are from the ram disk, and considering most new phones use system as root, should be extractable using the same way Magisk uses on Huawei devices. I'll give it a shot, but it will be pretty long a time before I get a build system to play with...
[Huawei P30 Pro Guides, News, & Discussion] Dispossible:
Ummm.... It is unsupport image on Ubuntu, Ubuntu can only recognize some EROFS files of EMUI9 and no files of EMUI10. I tried many kernels of Ubuntu but not work. Did you mount the image by using huawei phone? I think it maybe accessible but I don't have time to flash a new system recently.
[Huawei P30 Pro Guides, News, & Discussion] Chr1stOnABike:
Mounted using the Ubuntu EROFS drive for 19.10, and the image mounted correctly, but extracting some files results in Unknown Error 524.
[Huawei P30 Pro Guides, News, & Discussion] Dispossible:
Your image is emui9 or 10? Using 1804 Ubuntu I can mount Emui9 file easy only a few ??? files, but Emui10 has a lot of ??? files
[Huawei P30 Pro Guides, News, & Discussion] Chr1stOnABike:
9.1
[Huawei P30 Pro Guides, News, & Discussion] newbit:
Hey Fellows,

I've run into the same issue. I could extract from a Huawei firmware zip. (Mate 30 Pro Android 10)

update_sd_base.zip -> UPDATE.APP -> super.img -> super.img.raw ->

system.img

cust.img

odm.img

vendor.img

hw_product.img

When I mount the EROFS image (hw_product.img) I got no issues, but many files and folders have these ? and are inaccessible.

for ex. region_comm/oversea/cdrom$ ls -l

ls: cannot access 'autorun.iso': Unknown error 524 -????????? ? ? ? ? ? autorun.iso

The Linux System is a Linux Mint 19.2 with a Kernel 5.3.0-51-generic.

For the UPDATE.APP I used the Huawei Firmware Extractor and the splituapp.py from SuperR Kitchen.

To convert the super.img I used the simg2img and extracted with lpunpack from the otatools.zip downloaded from the aosp-master

I was comparing the autorun.iso in binary/hex form in the hw_product.img file with a different .iso I know, and the structure looks different in a way block liked scrambled.

A lots of FF blocks where they don't belong. I would expect a lot more 00 blocks instead.

So my best guess is the either the UPDATE.APP -> super.img path or the

super.img -> super.img.raw with simg2img doesn't extract/convert as they are supposed to.

Any thoughts about it are very much appreciated.

Cheers NewBit
[Huawei P30 Pro Guides, News, & Discussion] Dispossible:
Could you please send the autorun.iso and hw_product.img to me?

I have another guess. I unpacked the vendor.img both emui9.1 and emui10.0. In emui9 only a few files with ???, but in emui10 most of the files are ???. Then I found why the files in emui9 are ???. These files are softlink. In emui9 huawei use different softlink the linux unknown. So, in emui10 maybe huawei use different erofs format but the linux unknown.
[Huawei P30 Pro Guides, News, & Discussion] newbit:
Thank you [MENTION=9626687]Dispossible[/MENTION] for your response.

You can download the Firmware in FirmwareFinder by searching for LIO-LGRP3 -> download LIO-LGRP3-CHN 10.1.0.126 (4.6GB)

In there you will find the hw_product.img.

For the autorun.iso, you can take every autorun.iso from a different device.

It is just to see the structure.

To find it you can try

getprop | grep iso

Mine is from a Android 7 version. View attachment autorun.7z

I don't fully agree with you that these ??? are all softlinks. Especially the autorun.iso should be discrete in the

in the hw_product.img file. If you can provide me a pulled autorun.iso from a device plus its corresponding Firmware file.

I can try to make an A/B compare of the structure of both of them.

I was thinking If it is possible to find the acutally extract/expand routine within the device that is inflating the super.img.

Any idea where to start looking? Perhaps in the boot.img? If it exists... Maybe the kernel itself contains it...

Or maybe there is an opensource projekt from Huawei with Android 10 that contains the otatools or rather the lpunpack

binary? Maybe Huawei also renamed the lpunpack file...

Cheers NewBit
[Huawei P30 Pro Guides, News, & Discussion] Dispossible:
[MENTION=1350876]newbit[/MENTION]

Thanks!

Ummmm can you make sure that the autorun.iso is the same???

The softlink is EMUI9.1. The EMUI9.1 's vendor.img cound be mounted and copy files except a few ???. They are duplicated files and use phone can find they are softlink. But in huawei phone, it's hard to create a softlink manually, the softlink of huawei may be some different. I use some easy methods in linux to create softlink but failed.(Not SELinux, I have set the selinux to permissive)

UPDATE.APP->super.img

I used the traditional tools for huawei UPDATE.APP

super.img->super.img.raw

I have the source code of AOSP10 and build the tools lpmake, lpdump, lpunpack.

I am continuing to follow this project https://github.com/hsiangkao/erofs-utils https://git.kernel.org/pub/scm/linux/kernel/git/xiang/erofs-utils.git/

It is erofs-utils but now it can only pack erofs image not unpack. I hope he can give some tools to unpack the erofs image.

For your condition, I think you can use the tools above to pack an erofs image, and compare or do something.
[Huawei P30 Pro Guides, News, & Discussion] Dispossible:
[MENTION=1350876]newbit[/MENTION]

I have only one SUPER.img. It means that my tools is too old to unpack the UPDATE.APP???

Huawei's erofs has two versions. One supports no more than 4G. The other is large enough. 4*0.931=3.72

May be the super is too large so the version 1 cannot support.

you get the two super.img from emui9.1 or emui10?
[Huawei P30 Pro Guides, News, & Discussion] newbit:
Maybe, why don't you just try it out and see what happens? splituapp.py

Or The Huawei Update Extractor, it tells you what files are in the UPDATE.APP, it even runs very well under Linux via wine.

Do you have any source for that claim?

I believe if the Firmware Version contains like 10. something, it also implies it is EMUI10.

So far I didn't see any super.img in Android 9 Firmware files.

If you checkout the Firmware Finder for Huawei it can tell you a lot of details regarding the Firmware files.

Cheers NewBit
[Huawei P30 Pro Guides, News, & Discussion] oslo83:
It's great news. In the past I only managed to sparse a super image. Now I see the missing key was lpunpack.

Any idea how to make an arm build of lpunpack from termux ?