yashsingh1/xdaforums huggingface dataset:
[OnePlus 5T  Questions & Answers] cmonty14:
Hello,

I want to inspect backup files create by TWRP backup.

The file structure is this:

$ ll /mnt/HD403LJ/oneplus5t/TWRP/BACKUPS/b94a5888/2019-05-27--00-44-45
.rwxr-xr-x root root 1.0 MB Fri Apr 3 20:13:36 2020  bluetooth.emmc.win
.rwxr-xr-x root root 85 B Fri Apr 3 20:13:36 2020  bluetooth.emmc.win.sha2
.rwxr-xr-x root root 64 MB Fri Apr 3 20:13:42 2020  boot.emmc.win
.rwxr-xr-x root root 80 B Fri Apr 3 20:13:42 2020  boot.emmc.win.sha2
.rwxr-xr-x root root 1.5 GB Fri Apr 3 20:16:50 2020  data.ext4.win000
.rwxr-xr-x root root 83 B Fri Apr 3 20:16:50 2020  data.ext4.win000.sha2
.rwxr-xr-x root root 957 MB Fri Apr 3 20:18:36 2020  data.ext4.win001
.rwxr-xr-x root root 83 B Fri Apr 3 20:18:36 2020  data.ext4.win001.sha2
.rwxr-xr-x root root 65 B Fri Apr 3 20:18:36 2020  data.info
.rwxr-xr-x root root 16 MB Fri Apr 3 20:18:38 2020  dsp.emmc.win
.rwxr-xr-x root root 79 B Fri Apr 3 20:18:38 2020  dsp.emmc.win.sha2
.rwxr-xr-x root root 2.0 MB Fri Apr 3 20:18:38 2020  efs1.emmc.win
.rwxr-xr-x root root 80 B Fri Apr 3 20:18:38 2020  efs1.emmc.win.sha2
.rwxr-xr-x root root 2.0 MB Fri Apr 3 20:18:38 2020  efs2.emmc.win
.rwxr-xr-x root root 80 B Fri Apr 3 20:18:38 2020  efs2.emmc.win.sha2
.rwxr-xr-x root root 4.0 KB Fri Apr 3 20:18:38 2020  efsc.emmc.win
.rwxr-xr-x root root 80 B Fri Apr 3 20:18:38 2020  efsc.emmc.win.sha2
.rwxr-xr-x root root 2.0 MB Fri Apr 3 20:18:40 2020  efsg.emmc.win
.rwxr-xr-x root root 80 B Fri Apr 3 20:18:40 2020  efsg.emmc.win.sha2
.rwxr-xr-x root root 110 MB Fri Apr 3 20:18:50 2020  modem.emmc.win
.rwxr-xr-x root root 81 B Fri Apr 3 20:18:50 2020  modem.emmc.win.sha2
.rwxr-xr-x root root 2.1 MB Fri Apr 3 20:18:50 2020  recovery.log
.rwxr-xr-x root root 1.5 GB Fri Apr 3 20:22:04 2020  system.ext4.win000
.rwxr-xr-x root root 85 B Fri Apr 3 20:22:04 2020  system.ext4.win000.sha2
.rwxr-xr-x root root 1.0 GB Fri Apr 3 20:23:50 2020  system.ext4.win001
.rwxr-xr-x root root 85 B Fri Apr 3 20:23:50 2020  system.ext4.win001.sha2
.rwxr-xr-x root root 65 B Fri Apr 3 20:23:50 2020  system.info
.rwxr-xr-x root root 3.0 GB Thu Mar 25 21:30:59 2021  system_image.emmc.win
.rwxr-xr-x root root 88 B Fri Apr 3 20:31:32 2020  system_image.emmc.win.sha2
.rwxr-xr-x root root 594 MB Fri Apr 3 20:32:36 2020  vendor.ext4.win
.rwxr-xr-x root root 82 B Fri Apr 3 20:32:36 2020  vendor.ext4.win.sha2
.rwxr-xr-x root root 64 B Fri Apr 3 20:32:38 2020  vendor.info
.rwxr-xr-x root root 1.0 GB Fri Apr 3 20:34:44 2020  vendor_image.emmc.win
.rwxr-xr-x root root 88 B Fri Apr 3 20:34:46 2020  vendor_image.emmc.win.sha2

Can you please advise how to mount specific files, e.g.

data.ext4.win000

data.ext4.win001

system.ext4.win000

system.ext4.win001

...

?

THX
[OnePlus 5T  Questions & Answers] DebianShaka:
A quick look at the file gives :

file system_image.emmc.win

system_image.emmc.win: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=da594c53-9beb-f85c-85c5-cedf76546f7a, volume name "system" (errors) (extents) (large files)

So did you try to mount -t ext2 system_image.emmc.win /mnt/custom ?

PS: I did try and it failed - but I used "compression" while making my backups with TWRP. If you made an uncompressed backup, it's worth a try.
[OnePlus 5T  Questions & Answers] User699:
Didn't work for me either, but I do not remember whether I compressed that backup or not.

If I do

file system_image.emmc.win

I get

system_image.emmc.win: Linux rev 1.0 ext2 filesystem data (mounted or unclean), UUID=ca9d8888-a08a-51c7-b8ce-53df5d46f72d (extents) (large files) (huge files)

I might try to create an uncompressed backup later and check if it works.

I'll report back after I did it.
[OnePlus 5T  Questions & Answers] User699:
Edit: Nope, still failed.

"Couldn't be mounted in read only mode"
[OnePlus 5T  Questions & Answers] DebianShaka:
OK, I'm not telling you to execute raw github executables.. but.. while looking for a way to extract image files - using dd or adb pull in TWRP ? - I found a PDF claiming to explain the img format, e.g. "boot.img" is created using mkbootimage and contains a ramdisk : https://2net.co.uk/slides/android-boot-slides-2.0.pdf

Of course if adb pull /dev/mmblk-of-the-partition something.img gives me a fastboot-able something.img, I'll let you know (in this case it can be mounted, by finding the exact fs)
[OnePlus 5T  Questions & Answers] User699:
I actually opened a boot.img and yes, it is created using mkbootimg and does contain a ramdisk.

There is actually a perl script here on xda which allows you to open boot.img files.

But that's not the same as mounting twrp backups is it?

EDIT: Heres what I get with an boot.img from LOS 17.1 (Android 10):

A folder named "boot.img-ramdisk", a file named "boot.img-kernel.gz", a file named "boot.img-ramdisk.cpio.gz".

EDIT 2: Heres the link: https://xdaforums.com/t/howto-unpack-edit-and-repack-boot-images.443994/

You need to comment 3 lines out though on some boot.img, otherwise it won't work (these 3 lines can be found somewhere in the first 3 pages).

Hoever this is an old script. Maybe you can find another newer method / script if you're interessted.
[OnePlus 5T  Questions & Answers] DebianShaka:
1. Boot into TWRP

fastboot boot twrp-3.5.2_9-0-bullhead.img

2. Find the partition you want

adb shell
ls -alF /dev/block/platform/*/*/by-name/*
exit

In my case, it's /dev/block/mmcblk0p37 for boot

For alternatives, use google, for instance this was useful : https://stackoverflow.com/questions...artitions-of-an-android-device-from-the-shell

3. Try everything

adb shell
dd if=/dev/block/mmcblk0p37 of=/sdcard/boot_by_dd.img bs=4096
exit
adb pull /sdcard/boot_by_dd.img .

Provides /sdcard/boot_by_dd.img: 1 file pulled, 0 skipped. 8.4 MB/s (33554432 bytes in 3.813s)

Using TWRP, disable compression !, then make a backup of the boot partition

adb pull /sdcard/TWRP/BACKUPS/xxxserialxxx/2021-04-19--09-04-18_OPM7181205001/boot.emmc.win ./boot_by_twrp.img

Provides /sdcard/TWRP/BACKUPS/xxxserialxxx/2021-04-19--09-04-18_OPM7181205001/boot.emmc.win: 1 file pulled, 0 skipped. 8.0 MB/s (33554432 bytes in 4.017s)

Same size. sounds logical (boot is a 32Mb partition)

diff -q boot_by_dd.img boot_by_twrp.img

Result is Nothing. Yay !

Basically TWRP - without compression extracts a partition like dd (byte to byte).

4. Compare with flashed partition

Boot has been modified by magisk. So I tried it on vendor partition

adb shell ls -alF /dev/block/platform/*/*/by-name/* | grep vendor

In my case /dev/block/mmcblk0p39

adb shell
dd if=/dev/block/mmcblk0p39 of=/sdcard/vendor_by_dd.img bs=4096
exit
adb pull /sdcard/vendor_by_dd.img

diff -q vendor_by_dd.img StockNexus5X/vendor.img

Tells us Files vendor_by_dd.img and StockNexus5X/vendor.img differ

So basically fastboot format is not TWRP format - and TWRP format is dd format. I'll have a look into source.android.com at some point to look for 1. fastboot format and 2. partition fs format
[OnePlus 5T  Questions & Answers] DebianShaka:
EDIT : Still wrong. yaffs2 does not seem to be involved in twrp format, according to my recent tests. wrong conclusion below, sorry.

OK, mystery probably solved : see https://source.android.com/devices/bootloader/images

The yaffs2 file system format is (probably) used in "fastboot" format

EDIT: but not in twrp format.
[OnePlus 5T  Questions & Answers] User699:
Info:

· Were talking about backups without decompress and password applied via twrp.

· We use linux for those operations and the terminal

What we got so far:

System Image partition:

sudo mount -o loop ./system_image.emmc.win ./mount_point/

Userdata / Data (excl. storage) partition:

tar -xvf data.ext4.win000

Gives some errors though claiming

(Thats translated. Hope it makes sense, though.)

However I viewed that data and it seems to be all fine.

firmware partition:

tar -xvf firmware.vfat.win

Works perfectly.

boot partition:

See this: https://xdaforums.com/t/howto-unpack-edit-and-repack-boot-images.443994/

Couldn't figure it out yet for the following:

boot Logo partition:

It's data, but I cannot read it.

EFS partition:

Well, we would have to mount a tim partition...
[OnePlus 5T  Questions & Answers] DebianShaka:
"TIM image" probably a false positive. "file" uses heuristics
[OnePlus 5T  Questions & Answers] User699:
Yes maybe. Maybe we can find something else to determine its type.
[Samsung Galaxy Note 8 Questions and Answers] odb.og:
привет будет ли новая прошивка

Translation: hi will there be a new firmware
[Samsung Galaxy Note 8 Questions and Answers] It_ler:
Here is the current device list for Samsung updates:

Samsung Mobile Security

security.samsungmobile.com

If you do not longer receive Samsung updates, you may switch to a custom rom that will be updated longer and quicker.
[Samsung Galaxy Note 8 Questions and Answers] Ls_Dark>:
I can't find a Q port for this device!
[Samsung Galaxy Note 8 Questions and Answers] Ls_Dark>:
No updates.
[Samsung Galaxy Note 8 Questions and Answers] huanngo3011:
I think no
[General Topics] zachionio:
Hi!

Recently, I developed a new modern app to organize your "To-Do" list.

The app has a flowless and trending user interface to manage your daily or ongoing tasks.

The app is only for Android devices and live in the Google play store!

Link for the app: here

For any questions,features requests,feedback please feel free to write here or contact me via the app

Best regards,

Fanya
[Android Stick & Console RockChip based Computers] dtaibi:
Hi all,

I have a Firefly ROC-RK3399-PC (also called "Renegade Elite") dev board that I desperately want to turn into an Android TV 10 box. Firefly has a great how to on how to compile the stock Android 10: [Compile Android 10](http://wiki.t-firefly.com/en/ROC-RK3399-PC-PLUS/compile_android10.0_firmware.html), but not how to compile Android TV 10! Does Android TV require a special build option? A different repo source? Is it just a series of apps that have to be installed on top of the stock Android?

After googling my guts out for months I still have no clue.

I will be eternally grateful if anyone can explain how to compile Android TV 10 from source!

Thanks in advance!

-Dan
[Android Stick & Console RockChip based Computers] Dhairy:
I don't know if it's helpful https://www.96boards.org/projects/AOSPTVHikey/
[Android Stick & Console RockChip based Computers] :
You can compile it from the AOSP source using lunch. However, Android TV will be basically useless without Gapps.
[General Topics] Mark Crouch:
Spotted a blog post about this earlier today.....

From the site (Trinket Software)....

The app is still in beta at the moment, so I have no idea whether it will be free or commercial software when it's released - I'd be happy to pay for it, just for the "Note to Self" option alone :). It also offers group messaging, backup/restore of SMS messages, scheduled SMS messages - kinda like several of the applications on xda-developers rolled into one interface....Neat :D

Have a look at the product, try it, give some feedback (there's even a feedback option in the program menu which sends an email to the developer).

Cheers,

Mark.
[General Topics] mrpiggae:
Yeah, looks pretty good. I saw this one on WMExperts this morning.
[General Questions and Answers] milatave:
hi.

i use miui 11 pie .eu ROM on my device redmi note 8. i dont need to update rom and android version. want to know which partitions are independent from rom version so could be flash.

can i flash new persist.img from last rom?

how about firmwares, or below partitions:

fastboot flash tz tz.mbn

fastboot flash sbl1 sbl1.mbn

fastboot flash rpm rpm.mbn

fastboot flash aboot emmc_appsboot.mbn

fastboot flash hyp hyp.mbn

fastboot flash tzbak tz.mbn

fastboot flash sbl1bak sbl1.mbn

fastboot flash rpmbak rpm.mbn

fastboot flash abootbak emmc_appsboot.mbn

fastboot flash hypbak hyp.mbn

fastboot flash modem NON-HLOS.bin

fastboot flash sec sec.dat

fastboot flash dsp adspso.bin

fastboot flash mdtp mdtp.img

fastboot flash splash splash.img

fastboot flash cust cust.img

thx.
[OnePlus 9 Pro] laurance069:
Hey guys, I need a full package of Oxygen Os for the OnePlus 9pro.

I can't find it on their official website.
[OnePlus 9 Pro] muhand_issa:
https://www.oneplus.com/global/support/softwareupgrade/details؟code=PM1617074857015
[OnePlus 9 Pro] oddlyspaced:
What do you mean by Full Package?

[OnePlus 9 Pro][ROM][OTA][Oxygen OS] Repo of Oxygen OS Builds

As OnePlus doesn't always provide download links for all of their OxygenOS ROMs & OTA update zips, we've created an index to put the links in one post so that they're easy to find. Note: This is not a support thread for issues you may have with...

xdaforums.com

Is this not what you're looking for?
[OnePlus 9 Pro] djsubterrain:
Why does no-one search anymore? It's pinned at the top for a reason...

View attachment 5287263
[OnePlus 9 Pro] Barsky:
how come the oneplus 9 pro is not listed under oxygen updates at oneplus.com? Oneplus 9 is there. Some rom?
[OnePlus 9 Pro] Barsky:
Reading is fun dah mental!!!
[Introductions] orb3000:
Hola Im Jose! Originally from Mexico City but now a citizen of the world. I came here by 1st time back in 2007 to find how to upgrade Windows Mobile onto my beloved and actually working HTC Universal, always loved HTC phones and became more active in XDA. With some time started to write some of the 1st news for the recent launch of XDA Portal, lately was invited to be part of the Mods team in which i had a blast of fun!, I was there to meet in person the mighty old-timer Mods and Devs back in Texas on the infamous Android BBQ 1st editions.

On that time I was so active that some called me "spammer". Getting to the first places of post numbers on XDA....

I quit my regular job back in Mexico and decided to travel the world!, that was when i lowered down my activity in the forums due to obvious reasons...

Then pandemic came and i found myself unemployed and with no chances to travel for the time being....

So.... Im back!!!

Beware high posters, Im coming after you to get my place back!

Looking fwd to engage again with old time amigos around the forums and also to understand the new XDA.

Cheers to all
[Introductions] the_scotsman:
Hey Jose! Loooong time no see! :cowboy:

Great to see you back! A real blast from the past! 😯

P.S. I moved your post to it's own thread :)
[Introductions] orb3000:
Hola David!

Nice welcome! Hows the good old team doing!?

Im glad to be back! and looking fwd to see how can I help :)

1st thing is to find out what happen to my gorgeous signature with all this format changes lol

P. S. My own thread? Yessssssssss!!!! :D
[Introductions] Austinredstoner:
Sad news for u htc phones are dead this means that htc decided to stop making phones and existing ones are not gonna receive any more security and software updates the latest software version did htc phones got was android 10 sad to say that htc will never get android 11 unless they ever made a comeback meaning making phones again and stuff like that
[Introductions] orb3000:
Well, they have been deciding to stop making phones since forever so I can see possibly a couple of devices for this year.... what means HTC is not dead until it is!
[Introductions] galaxys:
Great to see you back on the XDA boards my friend! Cheers
[Introductions] orb3000:
Thanks buddy, I'm glad to come back and see many familiar friends around!!
[Introductions] svetius:
Jose!!!! I've missed you mucho bud. You've been such a big part of the XDA story. I'm sorry things haven't gone well with you...if you ever need some part time work, hit me up and I might be able to help out. Otherwise, it's GREAT to see you posting and I hope you can stick around :)
[Introductions] orb3000:
Hola Brandon! miss you guys too, really!, and I want to still be a part of XDA story!!, I will be around for sure so count me in!!

Cheers!
[Introductions] antgomat:
hello friends a greeting from barcelona, here I get to study a little of the xtrons px5 and help as much as I can a greeting
[Samsung Galaxy Z Flip 5G Questions & Answers] burrzoo:
My friend in Canada bought a US AT&T Model Z Flip 5G (which is SIM unlocked). His carrier is Telus and he's missing some Telus features.

Can he flash his Z Flip 5G with Telus (TLS) SM-F707W firmware or if needed flash the Unlocked (SM-F707U1) firmware then flash the Canadian Firmware onto this ATT Flip?
[Samsung Galaxy Z Flip 5G Questions & Answers] LDBD:
I am also looking for the answer. Last month I myself bought an AT&T Z Flip 5G from the USA (SM-F707U1). I want to flash the european firmware (SM-F707B) onto the phone. I am also willing to at least try doing it, but I won't do anything until i know the risks. What I DO know is that flashing to CSC to something else won't do any harm (like triggering knox or any kind of anti flash boobytrap by samsung). I hope someone knows anything!
[Samsung Galaxy Z Flip 5G Questions & Answers] burrzoo:
My friend went to a local shop and they successfully flashed the Telus (sm-f707W) onto his Flip.

If I am reading the specs about the International Flip 5G models, they also have Snapdragon Processors so flashing sm-f707b firmware might then work. I'm not 100% sure so you better do some further research to be sure.
[Xiaomi Poco X3 NFC Questions & Answers] Colly1212@googlemail.com:
So I purchased two pocox3 NFC phone at once, both can at once, so a Mr and Mrs have both the same phones, we have used for a few weeks. Now we noticed a big difference between the two phones. See image. Any help be great
[Xiaomi Poco X3 NFC Questions & Answers] Alrich:
It's normal that some are factory updated while some may be from a older batch. Since you're on the NFC Europe version you obviously have access to Android 11 while the other device probably has an update waiting. Just check for updates and both phones will be on Android 11 (12.0.6).

As far as the navigation buttons...those can be disabled/enabled on Full Screen Display - Show Buttons.
[Touch Pro, Fuze General] av0ider:
Hi guys. Long time lurker here, first time poster - So before I get in to it I'll just take this opportunity to thank you guys for the countless times you contributing members have saved my ass, provided useful advice or applications - XDA-Developers rocks.

Secondly, I apologise if this issue has been covered, but I searched through the forums, googled 'n' whatnot, and got no love.

Okay - The problem I'm having is with input lag - Whenever I try to type anything on the hardware keyboard, there is an SIP running, suggesting words & alterations, and this SIP is massively slow - I can type out about 15 words before it finishes accepting the input for the first one. Am I the only one having this trouble?

I believe it's an issue with the "Full QWERTY" SIP installed by default on the device, but I can't seem to change the SIP to another option - it changes itself back automatically whenever the keyboard is used. I can't find a way to remove a factory installed SIP without flashing the ROM (Which I don't really want to do right now..) and I've tried SIPChange and another similar piece of software to no gain. I've disabled all suggestions and corrections, and this makes negligable difference to the speed of input.

So, if anyone is able to help me either remove the SIP - My preferred option - or simply stop it being so damned slow, my thanks in advance. :)
[Touch Pro, Fuze General] Raspster:
Did you change from t9 to abc in the on screen keyboard? There will be a slider from t9 to ABC. Then go and disable all the spell checks and word completion in the settings. That worked for me.
[Touch Pro, Fuze General] av0ider:
I appreciate the quick Response, Raspster, but I've already done that. It did remove one of the issues - that annoying grey bar - but the keyboard input is still way slower than it should be. My old TyTN was much faster.
[Touch Pro, Fuze General] Milo123:
Potential fix

Hi guys, try this seemed to work for me kb much faster on text input only for main body of message though, not for contact selection. Using a reg editor navigate to HKCU/ControlPanel/Keybd then find value key InitialDelay and change to 0 or any smaller value. Mine set to 0 so keyboard responds almost instantly. naturally a soft reset is required. cheers
[Touch Pro, Fuze General] steveoidm:
How did you get the annoying grey box to disappear? I think I have unchecked all the right things, but it is still there.

Thanks for your help

Steve
[Touch Pro, Fuze General] av0ider:
Sorry about the delayed reply, Steve. To get rid of the grey box, all I did was open up the on-screen "Full QWERTY" keyboard, and there is a selection button for T9/ABC. Slide it to ABC, and the annoying T9 box is gone. :]
[Android Apps and Games] SagiLo:
View attachment 5260033

Ever find something you really want to read or review later, and then forget about it?

Whether it is an article, image, video, or anything else, easily send it to yourself with a single click and find it waiting for you later!

How it works?​

For sharing items like websites and files, InboxIt appears in your share menu. Click to share via InboxIt, and your item will instantly and privately be waiting for you in your email inbox. That's as easy as it gets!

For creating reminders, you can use the drawer tile, set a shortcut on the launcher screen or use the app. The reminder can be sent right away or scheduled for a later time.

What makes InboxIt unique?​

There is no need to type your email address, subject title, or email body manually. InboxIt

does it all with a 'single click'.

In addition, InboxIt grabs the website's image and description for nicer and more readable emails.

In other words, InboxIt is better than sharing to your email app!

If you are using multiple email accounts, that's not a problem, simply use "Labels" and create gmail rules to route these items directly to the right inbox. Everything with 1-click!

What's new?​

On the latest update, an option to quickly title the saved item as added, this provides a context to the inboxed item and helps organize the pending emails.

So far InboxIt used the shared text or the webpage title as the email title, but now you can control it to make sure you'll remember why it was there in the first place.

Reminders can be created via a shortcut, a drawer tile, and via the app itself.

Here is the original video, showing InboxIt functionality:
[OnePlus 8 Pro Questions & Answers] Abort Retry Fail?:
Just got my 8 Pro and found a quick problem. Windows 10 only recognizes the phone as a CD drive. I checked in Windows Device Manager, and sure enough it shows up there as a CD drive. I have uninstalled and reinstalled the OnePlus USB drivers with no success. I've gone into Developer Options on the 8 Pro and set Default USB configuration to File Transfer without any improvement. Adb recognizes the device as attached.

Any suggestions on getting Windows 10 to recognize the phone as connected USB device would be gratefully appreciated.

Abort, Retry, Fail?

P. S. The problem seems to be caused by enabling USB debugging in Developers Options. With USB debugging enabled, the phone disappears from Windows. Toggling the USB enabled option off returns the phone to Windows. As long as I keep USB debugging toggled off in Developers Options the phone appears as IN2025 in Windows. All is now well; I'm TWRP'd and rooted.
[OnePlus 8 Pro Questions & Answers] galaxys:
Glad it worked out for you and thanks for the feedback!
[OnePlus 8 Pro Questions & Answers] Abort Retry Fail?:
I spoke too soon. After the factory reset the 8 Pro connected, but now the same problem has returned.
[General Questions and Answers] Stefax2001:
Hi

I have a simple question: Is there any way to take raw photos without camera2 API enabled?