yashsingh1/xdaforums huggingface dataset:
[Xiaomi Poco F1 Guides, News, & Discussion] scholbert:
Beryllium fastboot commands

Hi again!

In the meantime i started dissecting abl.img (Android bootloader, a.k.a. LinuxLoader), which is an essential part of the UEFI framework used on the Poco F1 to boot everything up.

The code inside abl UEFI binary is compressed using LZMA. Fortunately there are some great developers out there, who program awesome tools like this:

https://xdaforums.com/android/general/tool-imjtool-unpack-extract-variety-ota-t4078159

This tool is really straight forward and after taking a look into uncompressed binary code of LinuxLoader,

it's easy to get an idea of the implemented fastboot commands (as fastboot routines are part of this code).

See my second post, where i gave some links to the codeaurora sources of LinuxLoader...

So here's the fastboot command list for Poco F1 (beryllium):

flash:
erase:
set_active
oem unlock
oem lock
flashing get_unlock_ability
flashing unlock
flashing lock
flashing lock_critical
oem enable-charger-screen
oem disable-charger-screen
oem enable-qseelog
oem disable-qseelog
oem off-mode-charge
oem select-display-panel
oem device-info
oem edl
oem reboot-recovery
continue
reboot-bootloader
oem poweroff
getvar:
download:
oem uefilog
oem lkmsg
oem lpmsg
oem mini

Again, here's a nice sum up of the protocol...

Reference: https://gerrit.pixelexperience.org/..._core/+/refs/tags/android-10.0.0_r2/fastboot/

As most commands are well explained and we do know what they do... others (esp. the "oem" ones) are not very well documented and it is mostly unknown what happens under the hood.

So as always, be very careful not to brick or damage your device if you fiddle around with thoose.

EDIT:

Some oem commands could be found in the official/open release...

https://source.codeaurora.org/quic/.../FastbootCmds.c?h=LA.UM.8.3.r1-07900-sdm845.0

... some are vendor specific proprietary code.

The last command "oem mini" really draw some interest on my side, as i suppose it could be an underlying test system (afaik Mini OS was first found on LG devices).

Please be very careful if you try... at the moment i do know nothing in detail, it's your own risk :eek:

Stay clean!

scholbert
[Xiaomi Poco F1 Guides, News, & Discussion] pbankar7:
Is there any possibility to increase LUN Size? I want to increase system Partition by decreasing Userdata partition but in new system they both are separated by LUN.
[Xiaomi Poco F1 Guides, News, & Discussion] jackbean9:
how to access the kernel device structure? trying to flash oneplus 8 pro
[Realme X ROMs, Kernels, Recoveries, & Other Develo] SathamHussainM:
About US:

Rebellion-OS is an AOSP Based Custom ROM with Customisations ,Pix3l Stuffs & Goodies

CLEAN FLASH :

Reboot to recovery

Take Backup (Not Necessary)

Wipe System, Data, Cache , Dalvik

Flash the latest build

Reboot

DIRTY FLASH :

Download the latest build

Reboot to recovery

Wipe Cache

Reboot

Note : GApps are Prebuilt ! No need to flash again!!

[LIST]
[U][B]STATUSBAR:[/B][/U]
[*]Statusbar icons.
[*]Traffic indicators.
[*]4G Icon Instead of LTE.
[*]VoLTE icon toggle.
[*]Clock Customisations.
[*]Battery Customisations.
[*]Battery Bar customisations.

[U][B]THEMES & UI:[/B][/U]
[*]Accents.
[*]Fonts.
[*]Dashboard conditions.
[*]Other UI Stuffs.

[U][B]AMBIENT DISPLAY:[/B][U]
[*]Always ON display.
[*]Always ON on charging.
[*]Lift to check.
[*]Handwave.
[*]Pocket.
[*]Ambient display brightness.

[U][B]Navigation Bar:[/B][/U]
[*]Navbar invert layout.

[U][B]QUICK SETTINGS:[/B][/U]
[*]QS brightness slider position.
[*]QS Layout settings.
[*]QS System info.

[U][B]LOCKSCREEN:[/B][/U]
[*]Charging info.
[*]Fingerprint Authentication Vibration.
[*]Unlock keystore with fingerprint after reboot.
[*]Lockscreen Weather.
[*]Lockscreen visualizer.
[*]Lockscreen media art and Blur customisation.

[U][B]BUTTONS:[/B][/U]
[*]H/W keys customisation.
[*]H/W buttons backlight customisations.
[*]Volume key cursor control.
[*]Volume rocker wake.

[U][B]POWER MENU:[/B[/U]
[*]Power menu customisations.

[U][B]NOTIFICATIONS:[/B][/U]
[*]Headsup Customisations.
[*]Incall Vibrations.
[*]Battery light customization.
[*]Notifications light customization.

[U][B]GESTURES:[/B][/U]
[*]3 Fingers screenshot.

[U][B]MISC:[/B][/U]
[*]Wake on plug.

[U][B]ANIMATIONS[/B][/U]
[*]Scroll Animations.
[*]Others.

[U][B]BATTERY[/B][/U]
[*]Smart pixles.
[*]Agressive Battery.

Lots more to come soon!..Stay Tuned!!![/LIST]

Download ROM: Rebellion-OS for Realme X

Rebellion-OS Core Team

AOSP

Lineage OS

PixelExperience

AospExtended

Syberia OS

Nitrogen OS

Pixys OS

Advaith Bhat

Himanshu Namdev

Aryanata Andi

Spaceslayer

Important Links

Rebellion-OS Source

Rebellion-OS Device Sources

Telegram Group

Telegram Channel

REPORTING BUGS!

As soon as the problem occurs, take a logcat!

for more READ THIS

Special Thanks

SagarMakhar, indroider, gritik95 , kaderbava, hypercleric, hasunl
​

XDA:DevDB Information

Rebellion OS, ROM for the Realme X

Rebellion-OS Version Name: StarWars_1.9

Device: Realme X (RMX1901)

Maintainer: Satham Hussain (Sathamspot)

Build Type: Rebelized

Contributors

Satham spot

Source Code: https://github.com/Sathamspot/android_kernel_realme_sdm710

ROM OS Version: Android 10

ROM Kernel: Linux 4.x

ROM Firmware Required: Global COS6 A12 / Chinese COS6 A22

Based On: AOSP

Version Information

Status: Stable

Current Stable Version: Latest

Stable Release Date: 2020-06-26

Created 2020-06-26

Last Updated 2020-06-26
[Realme X ROMs, Kernels, Recoveries, & Other Develo] SathamHussainM:
reserved....
[Realme X ROMs, Kernels, Recoveries, & Other Develo] lightsbee:
Anyone try this rom. Whats about battery on stand by
[Realme X ROMs, Kernels, Recoveries, & Other Develo] ahero123a:
Hi bro, can customize Fingerprint icon and more?
[Realme X ROMs, Kernels, Recoveries, & Other Develo] ahero123a:
Tried. Some bugs. But ok than evo and ion
[Realme X ROMs, Kernels, Recoveries, & Other Develo] SathamHussainM:
No bro this ROM don't have FP customisation option
[Realme X ROMs, Kernels, Recoveries, & Other Develo] Oswald Boelcke:
THREAD CLOSED on request of OP [MENTION=9266319]Satham spot[/MENTION]
[Samsung Galaxy A50 Questions & Answers] Rijan10:
When I am using adapter for charging my phone showing charging but it is charging but when I connect it to my laptop it is charging. I check my adapter it is working with other phone also I check using other adapter and cable the problem still exists. Please help me with this.
[Samsung Galaxy A50 Questions & Answers] My mom so fat:
F

You can change the adapter and clean the laptop and try again.
[Touch Cruise General] fleadog99:
Not sure what I did but for the past few days when I click on calculator anywhere it says can not be found, When I press on calculator.exe in windows folder nothing happens. What Can I do?
[Touch Cruise General] fleadog99:
Nevermind, I mus have deleated calculator.exe alonf with the Spb calculator gif, also the links were all wrong. You can delete this thread now.
[OnePlus 8 Pro Questions & Answers] niyonsv:
Guys, my phone is 7T and it's OnePlus launcher doesn't have the Google Feed in the home screen instead it has OnePlus Shelf feature. A couple of months ago I read that OnePlus 8 series ditched the shelf and replaced it with Google Feed. May I please know is it true? If yes, which version of OnePlus launcher does your phone have?
[OnePlus 8 Pro Questions & Answers] cultofluna:
Yes is true , but this launcher with Google feed as default can run only on op8
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
If your phone has an "Android A/B-partition-slots-system" then why not simply flash an Android version of your choice on the currently inactive slot?

BTW: Your phone's internal storage media isn't eMMC but USF
[Android Q&A, Help & Troubleshooting] ShiningSpider:
I have just searched about the "Android A/B-partition-slots-system", and i have learnt that it could be very useful when playing Android Mods.

But I am not sure whether my phone has the so called "Android A/B-partition-slots-system".:confused:

However, i still hope that i can have a fully unbrick backup of the internal flash memory.:cowboy:

Or least a backup of partition table, boot partitions, radio partition and other important device specific data, so that i can revive my phone no matter what error happened.:victory:

I was confused because there are more than one "disk" in the /dev/block directory, which in my opinion should be only one.

So i don't know how to extract the necessary data to build a "Qualcomm Flash Tool" Image for my phone in this situation.:confused:
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
The adb/fastboot commands - line by line - you use to query this are

adb devices
adb reboot bootloader
fastboot devices
fastboot getvar all

Look for text (bootloader) current-slot:. If not present then device's Android is a non-A/B system
[Android Q&A, Help & Troubleshooting] ShiningSpider:
Unfortunately, no.... :(

C:\ADB>fastboot getvar all
(bootloader) unlocked:no
(bootloader) off-mode-charge:0
(bootloader) charger-screen-enabled:0
(bootloader) battery-soc-ok:yes
(bootloader) battery-voltage:4214
(bootloader) version-baseband:
(bootloader) version-bootloader:
(bootloader) variant:MSM UFS
(bootloader) partition-type:cache:ext4
(bootloader) partition-size:cache: 0x10000000
(bootloader) partition-type:userdata:ext4
(bootloader) partition-size:userdata: 0xD64CF3000
(bootloader) partition-type:system:ext4
(bootloader) partition-size:system: 0xE0000000
(bootloader) secure:yes
(bootloader) serialno:11****07
(bootloader) product:QC_Reference_Phone
(bootloader) max-download-size:536870912
(bootloader) kernel:uefi
all:
Finished. Total time: 0.093s
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
Personally always backed up all devices I owned by creating a TAR-archive ( compressed copy )

adb shell tar -czf "/data/local/tmp/backup.tar" "/data/local/tmp" /
adb pull /data/local/tmp/backup.tar C:\backup-%DATE%.tar
adb shell rm -f /data/local/tmp/backup.tar

Such an archive can easily get uncompressed.

As I've read your phone doesn't have a card-slot. Hence even if you manage to backup device's internal storage memory not using TAR, where will you write the backup to?
[Android Q&A, Help & Troubleshooting] ShiningSpider:
It doesn't matter, there are several ways to work around it. For example, I can use OTG cable and usb memory stick.

Again, my biggest question is, why there are several "disks" with various partitions, rather than a *single* "disk"(i.e. only "sda", no sdb nor sdc and so on) with a number of partitions.

Are those "disks" all virtual devices? Maybe created or emulated by TEE?

Or maybe the physical memory chip(SAMSUNG KLUCG4J1ED-B0C1, from the bootlog) do have multiple SCSI entries?:confused:

Is there any way to backup the "REAL" physical memory chip? I mean in my opinion that should be a series of 4KB blocks that has LBA number from 0 to the end, just like a HDD in a Desktop PC.
[Android Q&A, Help & Troubleshooting] Deleted member 1890170:
Your phone only has ONE storage memory namly the UFS. You may call it "disk". This internal storage memory is partitioned by means of GPT- and formatted - in a multiple of real partitions. These can be so-called block-devices or character-devices. Some partitions are created in device's RAM when device boots.

The UFS's root partition ( rootfs) is "/" and all other dependant partitions are symlinked as "/<PARTITION_NAME>" - what are only user-friendly names. For example "/boot" and/or "/data".

What partitions at the last run are mounted and therefore in use contains the listing stored in /dev/block/xxxxx.
[Android Q&A, Help & Troubleshooting] ShiningSpider:
After another day of research, i finally got the answer. I maybe wrong, but here is my answer so far:

My phone (Nubia Redmagic 1) has a UFS 2.1 memory chip, this chip has 3 W-LUNs and 6 normal LUNs. (See bootlog)

The 6 normal LUNs are /dev/block/sda, sdb, all the way up to sdf, respectively. [1]

LUNs are much like partitions, but behave slightly differ from partitions (e.g. GPT partitions, see below).

There are 6 LUNs in the chip, which is defined during chip manufacture time, but the size of them could be changed after that.

Memory blocks that are not mapped to any LUN will be purged by the chip automatically, data in those blocks will be lost as time goes. [2]

Each LUN can be write-protected, once the permanent write protect flag is set, the LUN could be never written again.

[1]See "https://www.mind.be/osseu19/2019-10-29-Universal-Flash-Storage.html" for more

[2]See Section 11.2 from "https://jaehyek.github.io/attach/ppt/2016-03-07-eMMC-UFS-About-UFS-1/M1PCA00-010_TOSHIBA_UFS_Ver2.0_Application_Note_Rev0.1.pdf" for detail.

After all, if those above is correct, then my strategy for backup my phone is quite simple.:cowboy:

I just gonna use "dd" command on each /dev/block/sdX, that would extract enough data to fabricate an unbrick package.

Meanwhile, since each LUN in the memory chip has a permanent write protect flag, that flag should never be set by accident when playing with Android Mods.

Other wise, the phone maybe permanently bricked.:angel:
[Android Q&A, Help & Troubleshooting] ttsiodras:
Sorry for the necro-bump, but I want to do exactly the same thing for my POCO F3. Currently running Lineage, but went through quite an ordeal setting things up - Magisk, making the device "certified" so I can run banking apps, etc. I don't want to repeat the process *ever* again :) hence my need for a full image backup.

My phone also reports the same as yours - devices sda to sdf:

alioth:/ # ls -l /dev/block/by-name/ | awk '{print $NF}' | sed 's,[0-9]*$,,' | sort -u

/dev/block/sda

/dev/block/sdb

/dev/block/sdc

/dev/block/sdd

/dev/block/sde

/dev/block/sdf

...so I want to ask: did you ever use your backed-up images? Did the dd-based restore work?

Basically, I am worried whether some of these devices (sda-sdf) are never meant to be re-written.
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] INTRODRUCTOR:
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/

Read the whole OP! Be respectful to each other and don't ask for ETAs, it's considered as being rude!

AncientROM is custom-rom based on AOSP that aims to provide a unique user interface packed with useful feautures for customization. Check out the screenshots below and I bet you will be sold! :D

Also, we got our Telegram channel you can find here updates about the rom, screenshots and more. Find the chat for Device here.

Here are the features! on top of AOSP! We aim to add important features that we think should be here and also what you think. For the addition of more tweaks or features, head on to our Telegram community and post the list of features that you want! Features with commits will be more helpful!

[B]
-Refined UI with several OneUI touches and an old vibe with intricate patterns in the Settings App.
-Tons of status bar mods.
-Themes with gradient themes, blurring notification centre, OneUI stylising and original icon pack for QuickSettings.
-Ambient Display with Always On.
-Quick Settings Rows and Columns adjuster.
-Customize volume rockers.
-Several features to customize Power Menu.
-Prebuilt GApps builds and Vanilla builds.
-Weeabo and Civilization builds.
-Three-finger swipe for screenshot.
-Navigation Bar mods.
-Lockscreen mods.
-Notifications behaviour changing with Ambient Edge Lighting.
-Several animation for closing, opening and switching between apps.
-Smart Charging.
-Several other miscellaneous features.

[/B]

Download ROM here for your device!

GINKGO/WILLOW

CHANGELOG

Want to try this awesomeness?

[b]
Installation -:
Flash TWRP Recovery
Backup all your data (Important)
Wipe /system, /data and cache.
Flash the ROM + Additional files you wish
Reboot And Get Ancient-ify
[/b]

IF YOU GET BOOTLOOP PLEASE FORMAT DATA

AOSP

LineageOS

SuperiorOS

DotOS

PixelExperience

AospExtended

Syberia OS

Nitrogen OS

Pixys OS

ArrowOS

MSM-Xtended

HavocOS

BootleggersROM

ABC

Rebellion

Komodo

Durex aka Corvus

DerpFest

Evolution-X

OMNIROM

AOSIP

Liquid Remix

Resurrection Remix

Dirty Unicorns

Bliss

ExtendedUI

AICP

MoKee

RevengeOS

Yodita

POSP

ION

crDroid

GZOSP

Colt-Enigma

Device: Redmi Note 8/8T

Device Codename: Ginkgo/Willow

Maintainer: Introdructor

Our Github

Kernel

//Thread template designed by [MENTION=7730292]Ashutosh Sundresh[/MENTION]//

[/CENTER]
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] CrisWCW:
Where are the screenshots? Cheers ✌?
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] peter-k:
Perfect screen-shots here: https://youtu.be/7l2ZJNn-lQU
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] crazyrexz:
no list for the bugs?
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] AllStar5:
is it have abilityvto hide notch like on havoc and bootleggers?
[Redmi Note 8 ROMs, Kernels, Recoveries, & Other De] chasco:
Thank you very much dev for this excellent rom, perfect for me, very beautiful and different from all the ones I have tried.

I have not found any error.

I have been using it for 1 day and I am very happy with it.

Just a question what is the difference between rom primeval and koshiki
[Samsung Galaxy S7 Questions and Answers] siemer:
Is the Download Mode part of the BL/bootloader file (the thing you flash with Odin)?

If not, then that part of the phone is never updated? Then it would also never be possible to permanently brick the phone with Odin as you always can came back to Download Mode and fix it, right? Or is it part of another section/file/category in Odin? The Modem part maybe?

I have a second-hand S7 whose Download Mode says it is a SM-G930V, but the system shows SM-G930F in all the areas where you can see that. Some CPU revealing tool believes to see a Snapdragon processor, so I believe someone flashed G930F parts to make the phone fit or fitter for Europe (if that is possible...).

Can I try to randomly flash whatever the phone accepts via Odin or could I end up in a state where not even Download Mode works?
[Samsung Galaxy S7 Questions and Answers] cooltt:
The recovery is located in the EFS partition which stores all the original parameters of the device. If download mode is showing G930V, that's the original hardware and software of the device.

It is a complicated process to flash a firmware like G930F which is simply not designed to work with a Qualcomm processor. This forum is littered with horror stories where an American device has been modified to work in another region. G930V to G930F and the phone either dies or has limited functionality. Attempt this at your peril!!

Do not modify the EFS partition unless you know exactly what you are doing.

One more thing, American devices have a different network connection standard to Europe and other countries. So even if you do get G930F to work it will never have full functionality outside of the region it was designed to operate in. Network connection is largely hardware dependant rather than firmware dependent.
[Samsung Galaxy S7 Questions and Answers] siemer:
Unfortunately, you have not read my post properly. Neither do I intend to turn it into a G930F (it already is as far as I can see), nor did you answer any of my questions (Can an odin flash with “random data” prohibit any future flash with proper data which would bring the device back to working state?).
[Samsung Galaxy S7 Questions and Answers] cooltt:
I did read it properly and i did answer, i told you what goes where and what you can and can't do with the phone. It's obvious you can't just flash "randon data". But since your response is so rude i'll no longer help.
[Samsung Galaxy S7 Questions and Answers] Beanvee7:
I don't know where download mode is stored, but yes you can brick a device to the extent even download mode in inaccessible. Usually you need a USB jig to save it.

I wouldn't say flashing anything Odin accepts is a good idea, counter-intuitively it will let you flash files that can brick your device even if they're not the correct files for your device.

But the phone does have read only data you can't modify, which is what download mode displays. It's also why you can't reset Knox once it's tripped.

As for your device I don't know the specifics but yes certain parts of the firmware can be modified to change what the phone shows in system information.

It's a common scam to sell broken contract or stolen US snapdragon devices, rebrand them as G930F and sell them internationally to evade any US carrier blacklists.

Your best option would be to flash the generic unbranded G930U firmware, it's the closest thing to a clean debloat you'll get on a G390V.
[Samsung Galaxy S7 Questions and Answers] arcatarc:
Yes it is: Download mode is part of Bootloader..you can compare it to the BIOS of a Pc,it only contain the basic "drivers" to manage essential functions like video or usb.

And yes,until you got a functional BL you can always recover your device (exept EFS partition that contain univoque data like imei or serial number)
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] cris2d2:
I've noticed that, unlike other phones I own (from Huawei, Meizu, Samsung), on Xiaomi phones the proximity sensor is not active outside calling screen, making the phone accidentally react to touches with face or ear when call is in progress.

As long as I leave calling screen, for example to take a note, search something on the web or to make simple calculations, things that are needed in the calling process, proximity sensor becomes disabled, meaning that if I put the phone back to my ear, the screen won't turn off like on other brands I own.

This happens on an older Xiaomi Redmi 4A, making me believe that it's a MIUI thing. I haven't got the chance to test this behavior on custom ROMs.

Is there a way to force the proximity sensor to be enabled all the time when a call is in progress, no matter what app is in foreground?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] sofir786:
Have you Checked this setting?
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] cris2d2:
Of course but my issue has nothing to do with that setting. Even that setting is ON, proximity sensor gets disabled (or its effect gets lost) if the calling screen goes in the background - which doesn't happen on other brands.

Yeah, I know, it's a Xiaomi/MIUI thing but maybe there's a software workaround for this.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] sofir786:
I don't have the issue you are having, I had a call this morning, had to grab some details off a text message, the little green call indicator went to the top right hand side of the screen, if I hover my hand over the top left hand side of the screen the screen turns off. I was in the house though I've not had the need to anything like that outside
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] cris2d2:
Interesting. What ROM are you using?

I'm on MIUI 11.2 beta 20.3.27 from Xiaomi.eu.
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] sofir786:
I'm using xiaomi.eu 12.0.2.0 stable
[Redmi K20 Pro / Xiaomi Mi 9T Pro Questions & Answe] cris2d2:
I tested MIUI 12 Beta from xiaomi.eu for about a week but the issue was still present. Maybe is'a Beta thing or "feature" that had a different approach on Stable ROM.
[Upgrading, Modifying and Unlocking] Tiberius8:
I own both a Treo 750 and an HTC Kaiser. I'm really interested in extracting some of the features from the Treo to add to the HTC - especially the contact lookup plugin for the Today screen. I've seen that this has been done before, but the ripped files were taken down for legal reasons.

I'm having trouble figuring out how to get started doing this for myself. Can anyone point me in the right direction?

Thanks!
[LG G8 Questions & Answers] Bituminario:
Hi all

Do you think that the fm radio can be activated for the LG G8s LMG810EAW ???? with Android 10???