yashsingh1/xdaforums huggingface dataset:
[OnePlus 9 Pro] vangry2020:
Hello there. Was bored and decided to make a gui that dumps Payload.bin file for easy flashing.

Tested on Lineage OS 18 Payload.bin

View attachment 5737629

Result:

View attachment 5607573

Credits:

Based on vm03 payload_dumper script.

Github:

Payload_dumper.py

Update:

--Version 2.0 changes:

1.Made Program more responsive.

2.Added Payload File and Output folder selection dialogs.

3.Added multi-threading to prevent Gui freezes.

4.Added Android 12 Payload dump support. Tested on Lineage OS 19.1

--Version 2.1 changes:

1.Added Exception handling.

2.Small bug fixes.

3.Slight GUI adjustments.

--Version 2.2 changes (Experimental) (Might return corrupt files):

1.Reworked GUI Design.

2.Packaged Gui & Dependencies Into a Single Executable.

3.Slight Performance Improvements.

--Version 2.3 changes

1.Fixed bug resulting in corrupt img files after dumping.

2.Updated Python to (version: 3.11.0).
[OnePlus 9 Pro] TheKnux:
@vangry2020 you're the heckin' best! 😎
[OnePlus 9 Pro] flaxjef:
Thank you!

I will give it a try soon💪🏻💪🏻
[OnePlus 9 Pro] IamTheBRAVE:
@vangry2020 you should get bored more often 😂

Thanks for this. Was planning to downgrade with msm and root using the the larest oos11 so this will be very helpful 👍
[OnePlus 9 Pro] vangry2020:
😅 Glad you found this useful.
[OnePlus 9 Pro] NeonHD:
WTF, how was this not made before?! This is literally an essential tool for all ROM flashers.

I tried doing it on my own and followed all the instructions to a tee, but I still end up with errors in powershell. And if that error is fixed, another error turns up. I find it unbelievable how others manage to do this error-free. And in theory it should be easy, but not for me unfortunately.

After I loaded up this tool it instantly returned all the files, thank you!!!

They should attach your tool in all ROM posts.
[OnePlus 9 Pro] JohnTheFarm3r:
There is a tool called Payload-Windows-GO. Basically you just hover over the payload file over the EXE file of the tool and it extracts it. No commands or terminal needed. It's been there for ages.
[OnePlus 9 Pro] NeonHD:
Really? Never heard of it until now. Dunno if that's just me though.
[OnePlus 9 Pro] EtherealRemnant:
Yeah it's great.

GitHub - ssut/payload-dumper-go: an android OTA payload dumper written in Go

an android OTA payload dumper written in Go. Contribute to ssut/payload-dumper-go development by creating an account on GitHub.

github.com

When one of the EXE ones floating around didn't work on a ColorOS payload, that one worked perfectly.
[OnePlus 9 Pro] NeonHD:
Interesting, well at least now I know such programs exist. A total life saver.
[OnePlus 9 Pro] golfgtiedition30:
Work well thanks buddy (y)
[OnePlus 9 Pro] Feilau:
Worked well, thanks very much:coffee::coffee:
[OnePlus 9 Pro] vangry2020:
Added new version to topic made some improvements.
[OnePlus 9 Pro] dir05dp:
best
[OnePlus 9 Pro] RSM10:
Can anyone share some good tool to extract and repack android 12 and 13 roms on windows. The new roms have payload.bin files, i tried this tool but it says corrupt input data.
[OnePlus 9 Pro] IamTheBRAVE:
Try this:

[TOOL][Windows] Fastboot Enhance [Payload Dumper & Image Flasher]

Fastboot Enhance What it can do? - Show fastboot vars - Switch between fastbootd & bootloader - Switch between A & B slot - Flash Payload.bin in fastbootd - Flash images - Erase partitions - Delete logical partitions - Create logical partitions...

xdaforums.com
[OnePlus 9 Pro] RSM10:
Is there any all in one tool to unpack and repack roms?
[OnePlus 9 Pro] IamTheBRAVE:
Sorry, i misunderstood the question. You can use lpunpack/lpmake binaries but i don't know much about this. You need to read up on it.
[OnePlus 9 Pro] RSM10:
Ok thanks
[OnePlus 9 Pro] Imxeno:
Thank you so much
[OnePlus 9 Pro] DroidFire:
THANKS FOR THIS!!
[OnePlus 9 Pro] Thomasfp:
Where is file exe ? There isn`t.
[OnePlus 9 Pro] cs76:
Hi. I have a Asus ROG phone 6, and i am wondering if version 2.3 will work now since i am on Android 13? cv83ft@gmail.com
[OnePlus 9 Pro] huyka9x:
unpack for editing, so how to repack the payload.bin file??
[OnePlus 9 Pro] rodken:
You might want to consider giving SuperR's kitchen and {Mod edit: Link to paid services website removed. Oswald Boelcke, Senior Moderator} a good read.
[OnePlus 9 Pro] tripin@:
Seems to work great Thanks !

Need now to flash dumped files and check

NB: when dumping last img file, app (Payload Dumper Gui v2.3.exe) stay in "Progress", despite all files dump is done.
[OnePlus 9 Pro] slyblue5:
Thank you SO. MUCH.

I will treasure this software with my life
[OnePlus 9 Pro] RussianBear:
Does this one work with incremental otas? Thanks!
[OnePlus 9 Pro] TheGhost1951:
If the OTA has a payload.bin file
[OnePlus 9 Pro] RussianBear:
Most of these dumpers don't support incremental paylod.bins, so i was seeing if anyone knew for sure with this one. I'll give it a try.

update: it does work! thanks a ton!
[OnePlus 9 Pro] magi44ken:
Hi

Is it possible to add an argument or option to exclude an image from extraction?

For example, often times we only to extract the boot.img, init_boot.img, dtao.img and other small images and don't need to extract the product.img (2.5GB file size). This will save lots of extraction time.
[XPERIA X1 General] cyberblue:
Thanks & all credits to BGR

http://www.boygeniusreport.com/2008/11/10/sony-ericsson-xperia-x1a-hitting-best-buy-next-month/
[XPERIA X1 General] SCtud:
anybody know how reliable these reports are?

a December 7th release date would be amazing.
[XPERIA X1 General] contaygious:
That would be great, hurry up Sony!
[XPERIA X1 General] mlinz:
Sony is said to be shipping X1a to retailers (best buy) starting Dec. 1st. So 7th should be somewhat accurate. As for the 799.99 price tag, I would probably hold off and look at other retailers, specifically online for a much lower price than a big box store. Case and point... HTC touch diamond US version (GSM) sells in bestbuy stores for 699.99, online its 549.99. I wouldn't be surprised to see the X1a sell for around 600 dollars at online sellers (mobilecityonline etc.)

Still, expect them to show up around the same time.
[Samsung Galaxy S10 Questions & Answers] aprold:
Hi!

Didn't find anyone else describing my predicament, so I'll post it here.

I have kept my S10+ up to date with official LineageOS 18.1 weekly updates for a long time now. Today I discovered that I can't update it with the updater app anymore, because Linux4 has transitioned the official ROM to 19.1, and version upgrades should be done manually.

View attachment 5607585

Reading through that page I noticed the warning:

WARNING: Before following these instructions please ensure that the device is currently using Android 12 firmware.

This immediately raised a red flag for me because 18.1 is Android 11 of course. Thinking that the warning might be a mistake and it should still be possible to do the upgrade from 18.1 to 19.1, I downloaded the 19.1 nightly, rebooted the phone to the recovery, and sideloaded lineage-19.1-20220504-nightly-beyond2lte-signed.zip. When the phone started the verification, it told me that I need Android 12 firmware and did not proceed with the upgrade.

Linux4's own page also says that This firmware can only be used with LineageOS 19.1!

Googling around I found that this guy here was able to upgrade his Pixel 4a to version 19 without any previous Android 12 requirements.

And now to my question(s): how should I get my phone to Android 12 firmware if I can't get LineageOS 19.1 installed in the first place? Seems like a chicken and egg situation to me. Is it even possible without losing my data? Do I have to use Odin and flash an official Samsung Android 12 ROM first and then start from scratch? It feels like I have missed something (what?) and therefore I'm puzzled about how to continue. Any advice? Thanks!

Aprold
[Samsung Galaxy S10 Questions & Answers] bmwdroid:
This problem usually occurs afaik when bootloader gets changed/upgraded by Samsung during firmware upgrade.

So your assumption is correct to flash 12 stock first.

So Imo you gotta start from scratch by using Odin or Heimdall.
[Samsung Galaxy S10 Questions & Answers] aprold:
SOLVED! It turned out that I tried to make an ass out of u and me e.g. *assumed* that the firmware on the Linux4's page was the full firmware when in reality it was only a bootloader and exactly the thing that was needed to complete the transition. Flashed it to BL slot with Odin and after that everything went as it was supposed to. Data partition intact and such. Thanks to bmwdroid and contributors on other threads to put me on the right track!

View attachment 5608451
[Samsung Galaxy S10 Questions & Answers] msna:
This did't work for me. When I first flashed the correct new bootloader from 19.1 (lineage-19.1-20220505-recovery-beyond0lte.img) I still couldn't install the new lineage 19.1.

I always got the error, that I need the Android 12 bases firmware.

What I had to do is the following:

unpack the following file

META-INF/com/google/android/updater-script

from the zip (lineage-19.1-20220505-nightly-beyond0lte-signed.zip) and remove the line

assert(exynos9820.verify_bootloader_min("G") == "1" || abort("ERROR: This package requires Android 12 based firmware. Please upgrade firmware and retry!");

and replace the file in the original .zip via:

zip lineage-19.1-20220505-nightly-beyond0lte-signed.zip META-INF/com/google/android/updater-script

This file I could sideload (I had to accept that the signature is not correct).

With that the upgrade von lineage 18.1 to lineage 19.1 worked without a loss of data.
[Samsung Galaxy S10 Questions & Answers] Bluestar01:
If i follow this, it tells me could not start Android, try reset data
[Samsung Galaxy S10 Questions & Answers] Bluestar01:
After reset data, device boots succesfully to 19.1
[Samsung Galaxy S10 Questions & Answers] perolalars:
@aprold Hi I been searching for the threads you related your success with upgrading s10+ but cant find it. Where or what thread did you get the info to been able to upgrade it? And if there are a step by step tutorial for upgrading to Lineage 19.1 from 18.1 I would be really happy! Best regards Per
[Samsung Galaxy Tab S7 / S7 Plus Questions & Answer] Shadow9876:
When I connect an ethernet cable or other accessories to my tab 7, the games start lagging. The screen seems to shake and stutter. Any ways to fix it?
[Android Apps and Games] gravitycodegravity:
If you have been looking for an app that will help you put your shooting skills to the test, you have come to the right place. Ultimate Shooting Range will provide you with a real shooting experience and help you become the ultimate range shooter. In this shooting range simulator you will find a wide range of weapons and guns to choose from which you will use for shooting moving targets.

In this realistic first person shooter simulation you will have to complete challenging levels and missions that will make you feel like you are in a real shooting range. If you are a fan of gun games, shooting games and weapon games, you will fall in love with this shooting range simulator!

Features of Ultimate Shooting Range:

big selection of weapons and guns

authentic weapon mechanics

realistic weapon sounds and backgrounds

high resolution graphic

more than 50 levels

Ultimate Shooting Range application has been created for entertainment purposes only.

Download on Android: https://play.google.com/store/apps/details?id=com.ultimate.shootingrangegame

Download on AppStore: https://apps.apple.com/us/app/ultimate-shooting-range-game-shooting-range-pro/id1224524508
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Screenshots

See my new website for the screenshots
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Overrule Settings

See my new website for the settings
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
For future use
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
another one for future use.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Version History

See new website for the version history
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
Great job!

My only (stupid?) concern is that by using your (otherwise nice) "BattClock" we miss custom battery indicators.

You will say that, then we should disable this. But then (a) you still get it when device is locked (why we HAVE to see the valid taps after we get used to them?) and (b) you have one less method to lock the device from the very few: just two - i.e. one left.

This comes to the second thing. Why not also lock it with other method?

I can think of: (a) Touching the capacitive area one right, one middle (action button), one left.... in fact you could even UNLOCK by doing the opposite. (b) Using some program shortcut (for some of us is enough to lock the device by running a shortcut in TF3D or some today manager like SPB Pocket Plus or even changing a default action in TF3D via SSMaPa)...

The best way would be to still use the area of the battclock but WITHOUT changing whatever the user has there (is there such a thing like a transparent window?)...

Another way would be to auto-lock after some timeout (which in fact is also the most common method among smartphones too) or configurable if the power button is pressed.

For example in my case pressing the power button to sleep the device exactly means I don't want the screen functioning (so lock it if something else turns it on - like a call), while if I leave the device to sleep by timeout, I probably mean I have it on my desk and don't care or need to lock it.

Sorry for the brainstorm, I hope it gives you some ideas.
[Touch Diamond, MDA Compact IV Themes and Apps] fl4r3:
Seems to be working fine so far....but I have one problem;

I'm using wisbar so your battery indicator does not show on the screen when the phone is unlocked. This means I have to lock the phone by using the stylus. The indicator does however appear when the phone is locked.

Is there no way to correct this, or make a shortcut for locking instead?
[Touch Diamond, MDA Compact IV Themes and Apps] at10ti0n:
can i set this app to only lock the screen on incomming phone call and unlock it by tapping 3 times on the capacitive area?

something like the answerkeys disabler did before uninstalling... :D
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
You can position the BattClock over the Windows Start logo, at the left side of the Start bar. You can still go to Programs, just by pressing the Start text then.

Yes, the BattClock must be visible AND have focus to get the capacitive touches. So moving to another position is the only option, if you want to use the triple touches approach to unlock.

I can only get keyboard/sensitive touches when my battClock has focus. And when there is another program in front, I cannot get them.

I am working on an Action screen addin for TouchLockPro. It will be activated by pressing the BattClock OR you can start the program by a shortcut, because it is a separate program. But be patient, working on that......I even want it possible by other programs to lock the device, just by writing some registry key.

To my knowledge, there is no real transparant window possible, you can just not draw the background. But the underlying windows will not update. Or does someone know this is possible?

That would be something for my new Action screen program. I will think about your suggestions. Thansk for the ideas and comments.
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
flickering clock white/black

Hey ZuinigeRijder!!

thanxx again for your new app TouchLockPro 1.0!!

so far I have it on my diamond it's working ok, but I noticed one thing...when my screen is on standby f.e. see my clock etc...I saw that the clock/batt indicator is contantly flickering white/black....just like it's locked...unlocked....locked...unlocked...

Do you know what I mean or do I have to be more specific??

Maybe you did it on purpose....

Just wanted to report it to you...neways... thanxx man!!

You rule!:D:D

Greetzz Jeroen
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
I do not know wisbar, but apparently this is a FullScreen app, so the BattClock will not be visible.

As written as answer in my previous post:

I can only get keyboard/sensitive touches when my battClock has focus. And when there is another program in front, I cannot get them. This cause me also some serious thinking, how to solve this. I found a method, as described here:

http://xdaforums.com/showthread.php?t=436671&page=5

I am working on an Action screen addin for TouchLockPro. It will be activated by pressing the BattClock OR you can start the program by a shortcut, because it is a separate program. But be patient, working on that......I even want it possible by other programs to lock the device, just by writing some registry key.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
That is one of the magic tricks I needed to do, to get the focus to the BattClock, for getting the capacitive touches. I will only get those events, when a Form is in the foreground. And that is normally another application :mad:

When e.g. an incoming call is coming in, it will get the focus, because that is the foreground application. Or if you have a Full Screen application, the BattClock will even not be visible. But I discovered, when I make a Child Window at the start-bar as WS_POPUP, it will get focus, when created.

But damned, it will not keep focus, if another application regains focus:mad:

So how to solve this problem :confused:

The only solution, I could think of, was regularly recreate the WS_POPUP child window, and in between I switch back to another BattClock. At the same time, this 'flashing' indicates the system is accepting capacitive touches. So 4 seconds we have the WS_POPUP BattClock and 1 second the 'normal' BattClock. So actually I switch between 2 clocks.

More background info you can find here: http://xdaforums.com/showthread.php?t=436671&page=5
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Unfortunately not (yet).

I did not yet included specific code for detecting incoming calls, I just made a generic solution. But it might be something for the future.......

I think more people would like a general solution to distinguish when they press themselves the power button to awake the phone and when this is done by an application. For the latter, they would like it locked, on their initiative, they would like it automatically unlocked.

But still, in your pocket you can also accidently press the Power button, although less likely. But of sure you never want missed calls!

So I will think about it......
[Touch Diamond, MDA Compact IV Themes and Apps] Pietje_1985:
Right! Well....I also see that actually the device itself stays locked, so I'm not so worried.....

on the other hand...I can imagine you would like to solve tis problem just like it was on StylusLock v1.6, because that one didn't had that issue...

To be honest...I really would like to help you, but I don't know how...I don't have any programming experience, so i'm sorry man:o

n e way...if I can help you with something else...please let me know!

Cheers

Jeroen
[Touch Diamond, MDA Compact IV Themes and Apps] NLS:
ok something else then

since this small window is the trick to make it work, I wonder (sorry I could probably find my self, but haven't installed yet) if we could just move the whole rectangle to... the BOTTOM bar (!), just left of the keyboard icon!

also change the battclock to a small lock (locked and unlocked) now THAT would make great sense AND not mess with our customisations
[Touch Diamond, MDA Compact IV Themes and Apps] 4D3:
this looks nice, stylus lock 1.6 was impressive, i cant wait to try this!!

flashing a new rom tonight, ill be sure to install this first!!

thanks
[Touch Diamond, MDA Compact IV Themes and Apps] schluff1:
Thanks for this great app!

One thing: When phone goes to suspend, approximately in the next 20 seconds i cant turn the screen on by pressing the power button. Only stylus-out turns the screen on. After 20 seconds everything runs fine.

Furthermore an option to also lock the phone when the screen switches off by pressing the power button would be very nice.
[Touch Diamond, MDA Compact IV Themes and Apps] the guitarist:
I second That:)
[Touch Diamond, MDA Compact IV Themes and Apps] gtpete:
seems like a good alternative to S2U2. although i dont know what this does that is better than S2U2.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Today I also experienced something like that. It did not react on Stylus Out. I have a good hunch what is wrong. I redesigned the program, but did not do this yet for the Stylus part. Probably this gives the strange behaviour. I will look into this problem and post a bug fix release after I solved this.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Also replied above, I encountered it too once. So I will look into this problem.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
It is fully functional, only it does have the sometimes appearing stylus bug, as reported above. But you can still easily unlock then. I do not have a battery drain problem, but I use the default settings. So you can safely try out version 1.3, or wait on the bug fix release.
[Touch Diamond, MDA Compact IV Themes and Apps] ZuinigeRijder:
Is it possible the phones screen got on by another application (cancelled incoming call, alarm)? That would explain the behaviour, because only then the light sensor will unlock. It will only poll the light sensor once per second when the screen is on and it is locked (normal with AutoLockOnPowerOn).

My algorithm does not react on changes of light, it just react if there is light sensed above the minimum configured level. So the device will also unlock if there is no change in light, but if the light level is above 0 for the period of time.

I do not have this experience. So how are other experiencing this?

I used the default settings, I will also check with the setting LockTouchPanelOnly = 1 and with LockIndicator = 0, maybe this combination drains more battery?

I also changed the default into SuspendOnBacklightOff = 0.

Thinking about it, it is maybe not so smart. If the phone gets unlocked in your pocket by a call and you keep it in your pocket, it will not fall directly to sleep after the backlight off event. So it will drain more battery than needed.

Also when you do not put the phone to sleep by the Power button, after having it been used, it will be longer on, because normally the light sensor will unlock. So you need to put it off using the Power button, after each use.

I thought there would be no people interested in giving in a donation. But thinking about it, I often make features not needed for myself, so yes, maybe I should get a Donate possibility.

Do people have good experiences by Donate links?

Is PayPal the best approach?

Is it really worth the effort to have it?
[Touch Diamond, MDA Compact IV Themes and Apps] Kessler:
I tried 1.3 and then 1.1 and they both are not working at all for me. I haven't been able to make the phone lock once. I have a cdma Diamond. Help?