yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 20 Pro Questions & Answers] dwojr:
I can confirm this. I wanted to roll back for call recording capabilities so I went into erecovery hoping that would roll me back to emui 9.1. It didnt. The only option there was Emui 10.0.0.154. I was already on Emui 10, so I dont know if that situation applies to you.
[Huawei Mate 20 Pro Questions & Answers] hsarao:
Thanks, can I ask your phone's region? Is it Global, Asia Pacific or Chinese model.
[Android Q&A, Help & Troubleshooting] iUnlockUSA:
Device:SCV37

Problem: Efs is unmounted after using N9500 system.img with modified boot.img and N9500 Home CSC.

Everything worked perfectly but after reset from Phone Menu, now Baseband unknown and IMEI Unknown. I tried using Combination and Full repair firmware on stock SCV37 but problem is still same. This phone can be downgraded to 7.1.1, and can be upgraded to 9.0

Issue happened on 8.0.0 self-modified firmware. But now Self-Destructed.

Any help would be appreciated.

Thanks
[8525, TyTN, MDA Vario II, JasJam General] efsaayman:
Hi there,

I am able to set an alarm, which will then go off. the problem is that there is no way to switch the alarm off. the on-screen option to put the alarm off is non-existent! even if I use the assigned soft keys it still rings. so my question is: how, without hard resetting the phone, do I fix this?

thanks,

Etienne.
[Android Q&A, Help & Troubleshooting] bulser79:
Note 5 xsg 7.0 romu telefonumda yuklu. Lutfen sorunsuz bır sekılde kullanacagım turkıye 7.0 stock romunun yukleme seklını yazarmısınız. 7.0 turkıye yukleyınce arama yapamıyorum.
[Android Q&A, Help & Troubleshooting] mattgyver:
Please remember to post in English (XDA forum rule 4).

Google Translation from Turkish:
[Honor 6X Questions & Answers] congtruongiit:
Who has NV Backup BLL-L22C636 file for me please

Thank you :crying::crying::crying:
[Huawei P30 Pro Questions & Answers] tigerrizky77:
Hi all,

i'm new to this thread so please be patient with me, i just brought a new phone the p30 pro from gumtree in sydney it alwyas comes up with live demo for store display only , got ripped off from the person i brought it from

is there anyway i can flash this to a normal phone , and update it to android 10?

current version 9.1.0.178D(C432E4R1PS)
[Huawei P30 Pro Questions & Answers] zimmen:
Hi.

Sorry about that, But you could check this https://youtu.be/8Sq9KQq2vrA

Next time try a search, this is for the P30, but the progress should be the same ;) https://xdaforums.com/huawei-p30/help/removing-retail-demo-to-stock-t3919704
[Realme 3 Pro Questions & Answers] hf958:
My realme 3 pro is heating up like hell after cod mobile
[Realme 3 Pro Questions & Answers] MrStark007:
Are you on Realme UI ?
[Realme 3 Pro Questions & Answers] hf958:
Yep
[Realme 3 Pro Questions & Answers] MrStark007:
It is not yet stable and there are some bugs present. I suggest you revert back to the old stable ROM from the website. Wait till Realme releases the complete build on the website. Let them fix the bugs first. Or try some other ROMs from the XDA forums.
[Realme 3 Pro Questions & Answers] hf958:
Noo oops sorry I meant I was on color os
[Realme 3 Pro Questions & Answers] MrStark007:
If it is on Color OS, then it may have something to do with the app or some other app you might have i installed recently. I use ColorOS and haven't faced any heating issues so far.
[Realme X2 Guides, News, & Discussion] coo1one:
Found a very good guide here https://xdaforums.com/realme-x2-pro/how-to/how-to-flash-havoc-evolution-gsi-t4040607 posted by [MENTION=8106230]ospeto[/MENTION]

1) For fixing Bluetooth audio - my method is a little bit different than what [URL="https://xdaforums.com/realme-x2-pro/how-to/how-to-flash-havoc-evolution-gsi-t4040607" [MENTION=8106230]ospeto[/MENTION][/URL] posted.

I simply removed

/vendor/overlay/BluetoothResCommon.apk

in TWRP AFTER flashing GSI. That's it!! Bluetooth Audio is working fine with my headphone audio devices. The sound is no longer coming from the phone speakers. Mine is CN variant.

2) Always on display (AOD)

BEFORE TURNING ON Always on display - I noticed the AOD stays at the same position, I am worried about the burn-in issue if the position isn't dynamic/movable. If someone knows if it is ok to use it? Thanks

Download the attachment https://xdaforums.com/showpost.php?p=75630470&postcount=38

move the

framework-res__auto_generated_rro.apk

file to /vendor/overlay and chmod 0644 in TWRP

You will find AOD option in - Display->Lock screen display->Always on

There seems a bug if you enable both Always on and New notifications, disable "New notifications" to keep AOD on without issues. Lift to check phone is not working for me.
[Realme X2 Guides, News, & Discussion] woocashewski:
Thanks a lot!

Maybe something to fix FP sensor? ;)
[Realme X2 Guides, News, & Discussion] exadeci:
Thanks for the share!
[General Topics] WODP:
I was searching through forum but didn't find what i was looking for.

Is it possible to connect USB Stick (powered over pda) / ext. disk (self powered) to mini usb port on PDA and use it as an external storage?

I think i saw some software in PDAViets rom for 4700.

Thanks for answers!

WODP
[General Topics] Rudegar:
depend on the device

only 2 htc pda's support usbHost which is required
[General Topics] Robson:
i use an ameo / u1000 and it has no problems hosting a usb stick. what happens is i stick in the 4 in 1 plug to the ameo. the usb is then plugged in to the jack. the ameo reads the usb stick as "hard disk"

cheers
[General Topics] WODP:
Thanks for reply.

I was wondering about Ipaq 214...

Anybody knows how?

Merci ;)
[General Topics] SUMM0NER:
As always, Google is your friend.

This is what it spat out: http://ashorterlink.com/2770

And here is a video by some bored person, demonstrating that it works: http://www.youtube.com/watch?v=Wm8q78CMqw8
[General Topics] WODP:
Thanks for that but i was more looking for software driver/program which allows you to use usb disk.

214 has already small usb port and i'd like to connect it directly in it - don't know why use another plugin between.

i hope you know what i wanted to say.

thanks again for efforts!

WODP
[General Topics] SUMM0NER:
Ones again a simple Google search revealed an Archos USB-host cable for the mini usb port.

Remember that no one said that the mini USB port on the iPaq is usb-host capable, infact a forum mod here claims that the mini-usb port is NOT host capable and no there is no addon driver that I am aware of.

In fact I am fairly sure that it is a hardware feature, otherwise someone would have written such a software for my Tytn/Hermes eons ago.

Hope this helps.
[Honor 10 Lite Questions & Answers] kaew158:
Is only china variant support WiFi 5.0 GHz?

Can I change rom to china then will get WiFi 5.0 GHz support ?

https://m.gsmarena.com/honor_10_lite-9403.php
[OnePlus 7T Guides, News, & Discussion] bynarie:
Please see this URL https://android.googlesource.com/platform/build.git/+/eec4a7cba4face3370acb6293ab357879920b467 and this for more information.

Hi everyone. I'm surprised I havent seen a thread about ota tools yet and lpunpack. This zip file contains a lot of useful tools for modifying super.img and making super.img as well as other tools found in other toolkits. This was just compiled using aosp master. The most useful function is the lpunpack tool which can extract a super.img into system, vendor, odm and product images.

Browse individual files

Download HERE

Extract super.img from device

adb shell

su

dd if=/dev/block/by-name/super of=/sdcard/super.img

exit

exit

adb pull /sdcard/super.img

Extract super.img with lpunpack

Usage on PC(linux):

./lpunpack - command-line tool for extracting partition images from super

Usage:
./lpunpack [options...] SUPER_IMAGE [OUTPUT_DIR]

Options:
-p, --partition=NAME Extract the named partition. This can
be specified multiple times.
-S, --slot=NUM Slot number (default is 0).

**Make sure <output_directory> already exists as this tool will not create a directory for you and will error if not found.**

**If you run this command with no slot specified, it will output 0 byte empty b images.

To extract all A images:

./lpunpack --slot=0 <path-to-super.img> <output_dir>

To extract all B images:

./lpunpack --slot=1 <path-to-super.img> <output_dir>

This program can take a couple minutes to run. After it is complete, your $output_dir will contain vendor, system, product and odm with either _a or _b.

Thanks for reading!

:cowboy:ALL CREDIT GOES TO HANETZER @ntzrmtthihu777 FOR ALL OF THIS INFORMATION :cowboy:

He taught me, I just wrote this!​
[OnePlus 7T Guides, News, & Discussion] manan001:
We are waiting for good dev support to build twrp, custom roms and kernel.
[OnePlus 7T Guides, News, & Discussion] Lossyx:
Most kernels already support 7T/Pro. (Except Smurf)

Not that much on the ROM side but some are there.
[OnePlus 7T Guides, News, & Discussion] bynarie:
I agree. I just felt like a lot of people don't know about lpmake/lpunpack and wanted to share it. Think its a pretty cool tool.
[OnePlus 7T Guides, News, & Discussion] ntzrmtthihu777:
Bit of a clarification. If you call lpunpack without any flags, it will extract

{odm,product,system,vendor}_a.img properly without issue, but will create 'empty'

0 byte images for {odm,product,system,vendor}_b.img. In order to get the b-sides,

you must call it again like so:

./lpunpack --slot=1 super.img

[MENTION=5375894]bynarie[/MENTION]
[OnePlus 7T Guides, News, & Discussion] holedinh:
hello [MENTION=9350973]All[/MENTION]

How to repack super.img file from Odm.img.Product.img, system.img, vender.img

Pls help me , Thanks !
[OnePlus 7T Guides, News, & Discussion] oslo83:
Any idea how I could build an arm version of lpunpack ?
[OnePlus 7T Guides, News, & Discussion] Kolibass:
For android?

You can take the build tree from my github (I cannot post external links due to the small number of posts).
[OnePlus 7T Guides, News, & Discussion] jherwig:
+1
[OnePlus 7T Guides, News, & Discussion] Hitman478™:
I did not understand: this tool can extract .img partition or only extract them from phone?

Example: I want to extract product.img partition to edit it and then reconvert to .img and then flash it to phone. Is this possible?
[OnePlus 7T Guides, News, & Discussion] elliwigy:
you need to convert it using simg2img then mount the img to edit it then when done use img2simg to convert back into android sparse img then can b flashed
[OnePlus 7T Guides, News, & Discussion] VladSector:
Invalid sparse file format at header magic, how to fix this?

./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:4294967296 --group main:2647101440 --partition system:readonly:1962512384:main --image system=./system.img --partition vendor:readonly:680239104:main --image vendor=./vendor.img --partition odm:readonly:4349952:main --image odm=./odm.img --sparse --output ./super.img
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1962512384 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 680239104 bytes
lpmake I 08-24 00:29:52 598 598 builder.cpp:1012] [liblp]Partition odm will resize from 0 bytes to 4349952 bytes
Invalid sparse file format at header magic
Invalid sparse file format at header magic
[OnePlus 7T Guides, News, & Discussion] Hitman478™:
It is not an error ;)
[OnePlus 7T Guides, News, & Discussion] M.sapry:
can you upload lpmake ! i cant find it anywhere
[OnePlus 7T Guides, News, & Discussion] mohamedfaky:
download link is broken, can you reupload it again bro?
[OnePlus 7T Guides, News, & Discussion] bynarie:
My bad, link is fixed in post. - https://drive.google.com/file/d/1h4sGXNI1Al5Y_Te9T8xMWrp3mHw1tke-/view?usp=sharing
[OnePlus 7T Guides, News, & Discussion] bynarie:
Here is a link to a shared folder containing all of the ota tools. LPMake is located under bin/lpmake

https://drive.google.com/drive/folders/1BmBmFuYZXbISAncrnrMybQ0uQk0-cZXl?usp=sharing
[OnePlus 7T Guides, News, & Discussion] osahitzelgsngar:
can't get it to work... it always says "bash: ./lpunpack: Permission denied"

can someone help?

trying to run it in mint4kitchen with all updates
[OnePlus 7T Guides, News, & Discussion] Akhil99:
Sir, can you please expand on super image repack?
[OnePlus 7T Guides, News, & Discussion] bynarie:
Probably need to chmod it..

chmod +x lpunpack

OR

chmod 755 lpunpack
[OnePlus 7T Guides, News, & Discussion] Y_Marques:
Hello,

After unpacking the super image I get successfully the contained images, but I'm having a problem at the moment of mounting them:

The ony way I could make it work is as follows (but of course I don't have write access):

sudo mount -o ro system_a.img ./mount

Also I cannot modify any of the permissions once mounted.

I didn't have this issue modifying Android Images previous to the dynamic partition implementation. Someone had experience this issue?
[OnePlus 7T Guides, News, & Discussion] Lossyx:
You need to deduplicate the blocks first. Which you can do by running e2fsck -E unshare_blocks, but first you need to resize the partition to give enough space.

If anyone's wondering, here's how you can directly modify logical partition and flash it back to your device.

Make Dynamic Partition Read/Write

Make Dynamic Partition Read/Write. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com

Big thanks to @thohac for pretty much telling me how to do it and getting me in the right track.
[OnePlus 7T Guides, News, & Discussion] Y_Marques:
Thank you for te guidance, it worked as expected. The shared post is very useful too.
[OnePlus 7T Guides, News, & Discussion] dewettie:
Anyone can help how to repack an unpacked super.img?

Try to delete an app in the product and system.img and post the instructions to repack everything into a super.img again.

My goal is to remove most of the preinstalled Google apps.

Here is the firmware link

It is for a different device but the principle should work the same

UMIDIGI_A9_PRO_128GB_V1-0_20210127

MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

www.mediafire.com

It seems the firmware is non-A/B.

How do you get this size?

3)--device super: The size of the “super” partition on the device. It must match exactly, and it must be evenly divisible by the sector size (512 bytes).

After repacking I also get this error, is it normal?

'Invalid sparse file format at header magic'
[OnePlus 7T Guides, News, & Discussion] Y_Marques:
There is multiple ways to get the size of the super partition. One of the most convenient ones is to reboot the devices in the bootloader and run

fastboot getvar partition-size:super

.

The invalid sparse message after repacking the super image is normal afaik.
[OnePlus 7T Guides, News, & Discussion] Lossyx:
Unpacking the super is not the best way. You should dump product with dd or payload bin. Or at least I think that's the best way.
[OnePlus 7T Guides, News, & Discussion] giubenez:
I edited the vendor.img followed this guide but something strange happens:

$stat -c '%n %s' *

super.img 3758096384

product.img 1596944384

system.img 1128718336

vendor.img 544976896

$../otatools/bin/lpmake --metadata-size 65536 --super-name super --metadata-slots 1 --device super:3758096384 --group main:3270639616 --partition system:readonly:1128718336:main --image system=./system.img --partition vendor:readonly:544976896:main --image vendor=./vendor.img --partition product:readonly:1596944384:main --image product=./product.img --sparse --output ./super.new.img

lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition system will resize from 0 bytes to 1128718336 bytes

lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition vendor will resize from 0 bytes to 544976896 bytes

lpmake I 02-17 12:18:27 2646704 2646704 builder.cpp:1012] [liblp]Partition product will resize from 0 bytes to 1596944384 bytes

Invalid sparse file format at header magic

Invalid sparse file format at header magic

Invalid sparse file format at header magic

BUT....

$stat -c '%n %s' super.new.img

super.new.img 3248851200

which is not divisible by 512!

Shouldn't it be 3758096384 ?
[OnePlus 7T Guides, News, & Discussion] Lossyx:
That guide seems awfully complicated, unless it's trying to accomplish something different.

You can use my guide (s). I've made the vendor partition R/W and resized couple of times now.

Make Dynamic Partition Read/Write

Make Dynamic Partition Read/Write. GitHub Gist: instantly share code, notes, and snippets.

gist.github.com
[OnePlus 7T Guides, News, & Discussion] giubenez:
thank you for your response.

I started from a super partition, so i guess i have to use lpmake to rebuild the super.img.

I just need to edit the fstab to disable avb/dm-verity manually by removing the avb keys.

However, without changing the partition size, I cannot modify (see here ) the file.

If I use

$ e2fsck -E unshare_blocks vendor.img

without resizing the partition I cannot edit the file.
[OnePlus 7T Guides, News, & Discussion] Lossyx:
You don't need to touch the super partition at all.

Again, look at my guide, I do resize the partition to make space.

With my method, just resize it to 2 or 3GB, unshared its blocks. Then in order it flash it just resize the logical partition on device.

Previously I resized vendor, unshared its block, but I couldn't resize it back because now if was bigger than before so you had to delete other stuff. Being the vendor, that would be dangerous.

Although, you could resize to minimum size and just resize the logical partition in fastbootd.

If you do want to resize the partition and then back, I used this command to get the size.

ls -l --block-size=4k partition.img
[OnePlus 7T Guides, News, & Discussion] giubenez:
Again, it seems to me that we are not talking the same language. I don't have a OP 7T, but a Doogee S96, I posted here bacause we are talking of lpunpack.

Your guide start with talking of payload.bin, I googled what it is but I don't have any stock rom nor OTA update.

I don't have vendor image, at least I can't see it from fastboot or adb.

I can't boot, i flashed TWRP but I'm not able to disable dm-verity (AVB) so my phone goes directly to the recovery after boot.

The only fstab with avb flags I found is on /dev/block/platform/bootdevice/by-name/super --(lpunpack)--> vendor/etc/fstab.mt6785

I just need to remove the avb flags, save and repack with lpmake. I don't need more space for that, I just have to edit the plain thext file and repack everything.

Nevertheless I cannot edit fstab.mt6785 without increasing the size of the partition. Is it normal? Even though I delete a wav file and unshare_blocks i cannot edit fstab.mt6785.

Thank you for your help, any suggestion is appreciated.
[OnePlus 7T Guides, News, & Discussion] Lossyx:
My bad, but given we're in the 7T section and you didn't mention your device beforehand I assumed you had a 7T.

--- My thoughts below will be all over the place, hopefully, I don't confuse you. ---

I think your device does a vendor partition, my output the same as yours of the first link you linked.

Although it should be somewhere in /dev/block/dm-x (or if there is something similar)?.

When I mounted vendor with TWRP and ran "df -h" I could see it being mounted to dm-9 for example.

Although, in your case, I see your TWRP is not properly updated for dynamic partitions so it might be hard to mount it.

I guess this is the need lpunpack. But I still believe you can follow the steps I linked, but you are just getting the vendor in another way(extracting from super partition).

On that note, I'm not sure I see the need to repack the super partition. I never touched the super partition even though vendor is in it. I just resized. unshared it blocks, resized it, and flashed it.

Fastbootd is the new interface to handle logical partitions.

Moving Fastboot to Userspace | Android Open Source Project

Other than this I am afraid I cannot help you more. I myself am still inexperienced when it comes to this, especially regarding lpunpack.
[OnePlus 7T Guides, News, & Discussion] lebigmac:
Hi @giubenez

Have you tried to disable DM verity by simply booting into TWRP and then executing these 2 commands?

adb disable-verity

adb shell avbctl disable-verification
[OnePlus 7T Guides, News, & Discussion] lebigmac:
to be edited...
[OnePlus 7T Guides, News, & Discussion] alecxs:
that works only on userdebug builds (custom ROM?)
[OnePlus 7T Guides, News, & Discussion] lebigmac:
Did you try running those commands inside TWRP which is an engineer build?

The result should carry over into android.

You can double check this by extracting the avbctl app from inside TWRP and run it inside Android. It will say that dm-verity is already disabled.
[OnePlus 7T Guides, News, & Discussion] beta.0:
Has anyone been able to repack Amlogic super.img with lpmake?

I extracted odm, product, system & vendor from an OTA zip, converted them to sparse and replaced the originals from an older aml_upgrade_package.img (extracted using xVortex kitchen v5).

lpmake built the image without any error but when I flash it to the device it goes into a boot loop, only getting to the boot logo before restarting.

Maybe xVortex is not rebuilding the full upgrade package correctly? It's an S905X4 based device.
[OnePlus 7T Guides, News, & Discussion] ytagger:
I'm having the same issue with a super partition pulled from my device with edl
[OnePlus 7T Guides, News, & Discussion] banzeo:
That's great! Thanks. Could you add lpdump also?
[OnePlus 7T Guides, News, & Discussion] blaze2051:
anyone have a guide on how to repack a boot.img with twrp injected into it?

and how to replace the system_a.img from a super.img and repack it?
[OnePlus 7T Guides, News, & Discussion] blaze2051:
can you help after i used this commnad

./lpmake --metadata-size 65536 --super-name super --metadata-slots 2 --device super:3697308624 --group main:2859118592 --partition system:readonly:1970069504:main --image system=./system_a.img --partition vendor:readonly:538230784:main --image vendor=./vendor_a.img --partition system_ext:readonly:350818304:main --image system_ext=./system_ext_a.img --sparse --output ./super.new.img

I keep getting input/output error. i already checked 4 times.
[OnePlus 7T Guides, News, & Discussion] bynarie:
Hey buddy, I havent been keeping up to date on these things lately.. I'm sure you can make a post somewhere and they can help you. Sorry
[OnePlus 7T Guides, News, & Discussion] charlis88:
This tool only work for super . . .?!? Or with system also?!?

Thanks to reply me brother 😌😌😌
[OnePlus 7T Guides, News, & Discussion] Isrgish:
Thanks for your work on this

Where can I download the tools? The Download HERE link is broken.

Will these tools work on an ARM arch.?
[OnePlus 7T Guides, News, & Discussion] Oblemay:
maybe https://github.com/unix3dgforce/lpunpack ?

or

Extract system.img,vendor.img and product.img from super.img

After lots of search i found a way to extract those img file from super.img What is need? 1.Computer with linux os. extract zip file from this post and place your super.img in same location where you extract.. then run below cmd... simg2img...

xdaforums.com

or

https://androidfilehost.com/?fid=12420606652095402042
[OnePlus 7T Guides, News, & Discussion] nomadman:
unfortunately I am unable to get the binaries to run on Intel MacOS. with error:

zsh: exec format error: lpunpack

and it's not avail homebrew. Can anyone point me to a binary for intel macos?