yashsingh1/xdaforums huggingface dataset:
[ZTE Axon 7 Guides, News, & Discussion] joaste:
There was no changelog with the update. At least not for me.
[ZTE Axon 7 Guides, News, & Discussion] caembanget:
does anyone notice that we can't turn wifihotspot in b02 ? i just realized now when i use shareit app. when it asked me to turn on the wifi hotspot manually i can't turn on the wifi hotspot.
[ZTE Axon 7 Guides, News, & Discussion] pelelademadera:
What? is almost perfect for me.

1 hour screen, almosto no signal, wifi on, 9h, 21 on, and 77% remain....

Really good battery life for me on b04
[ZTE Axon 7 Guides, News, & Discussion] paatha13:
The good sign of the ZTE Locker continues.

Seems that with B04 finally getting working by refreshing by its own 3-4 image per day.

That's good news if eventually ZTE manage to addressed specific issue.

But keep on eye to see how perform after 1-2 weeks for final conclusion.
[ZTE Axon 7 Guides, News, & Discussion] Galaxo60:
Problem with you is that you have a really bad signal, so the drain is really killing you.

;)
[ZTE Axon 7 Guides, News, & Discussion] pelelademadera:
I know... But battery in b04 is good... My battery drain is my problwm, not the rom

Enviado desde mi ZTE A2017G mediante Tapatalk
[ZTE Axon 7 Guides, News, & Discussion] joaste:
Does anyone have their screen turning on on its own from time to time? I'm not sure how often it happens, but it has already done this a few times. I recall it doing this on B02 as well.
[HTC U Play Questions & Answers] Dome9019:
Hey at all, wherr can i found root four htc u play?
[HTC U Play Questions & Answers] Mr.Robot211:
Yes, you can root your HTC U play easily. Follow the following steps to root your HTC u play. btw I try this method on my HTC u play its work very well.

If you have done the bootloader unlock, let's move on next step.

Step no 3 my favorite step, How to root phone ?

Done you have successfully install root in your device. you can check it with the help of root checker.

NOTE : SOME USERS ARE EXPERIENCING BOOTLOOP AFTER OTA UPDATING WITH TWRP.

Thanks.

Ali
[Android General] MZO:
First off, don't need be like your never be a dev, lol you never know. Secondly it's a good share. Appreciated
[Android General] saprey:
Drivers Partition

What are partitions responsible on drivers like sound and camera,

I restored ROM using TWRP but now, Sound and Camera don't work,

any help?
[Android General] mirfatif:
Camera and sound are related to your rom i.e. system partition. Do factory data reset or clean install rom
[Android General] TommyWhite:
Thanks, but why is my phone talking about a primary partition and a secondary partition?

Tia,

A real newbie ;)
[Android General] mirfatif:
At what point talking about primary / secondary partitions? Are you creating new partitions or using some tool / app to view partitions?
[Android General] TommyWhite:
Oh, I misunderstood.

It was about public storages (so whats accessible without root, right??).

It said

Public storage (primaire): /storage/emulated/0

Public storage (secondaire): /storage/94F1-34D8 (I didnt realise that was my sd card ...)

RootFs: /

System: /system

Like a said 'a real newbie' ;)
[Android General] mirfatif:
Something like this attachment?
[Android General] TommyWhite:
yes, sorry for the very late response.
[Android General] argon9898:
Great post btw! With the bootloader section mentioning like the above, I have a question: I'm having a device with Snapdragon 810 SoC and wasn't able to find the bootloader partition (or at least I didn't know it has because I couldn't get it to boot into that mode). So does that mean the bootloader is on the SoC? How do I figure it out if it exists on the chip?
[Android General] azoksky:
Hi [MENTION=7805402]mirfatif[/MENTION] , what a post! Hats off to you. By the way, where does the blobs/ HALs go when we flash a new ROM zip?
[Android General] mirfatif:
Booting in bootloader (or it's equivalent; like fastboot) mode is dependent on the phone manufacturer. Though most of the hardware manufacturers allow users to access bootloader for repair/maintenance or modified boot chain, some may restrict this for Digital Rights Management or to gain forced customer loyalty :D , irrespective of where bootloader resides. On most phones it's a partition. You may check your partition table to know about all partitions.
[Android General] mirfatif:
Thanks for mentioning. I have added this to my post. By "blolbs" you mean DTB or hardware drivers? Well AFAIK, the blobs are included in every ROM where "ROM" is boot.img and system.img at least.
[Android General] jthibault27:
thank you

This is one of the best posts that I've ever read. I'm a hobbyist and reverse engineer learn. My primary phones are Samsung S 6 7 and 8 and I've soft bricked phones them more times than I can count (but recovered) justifying it as a learning experience. Sort of like putting your hand in the fire several times and calling it a learning experience. your post opens up more questions which are great. I root all my phones and I have a fear of new security patches disguised as updates disabling what methods work last week so to speak

So if I understand finally there is a section in bootloaders which is the first bootloader that is static yet upgradable but not downgradable as you referred to like the BIOS on PCs which acts as a verification process so you can't flash downgradable security patches. Much like I've encountered with partcyborg great work on rooting the S8 snapdragon however once you upgraded to the bootloader 2 you couldn't go back to the bootloader one. This is in reference to the build, not the partition.

If someone does reply, I'd like to know can you mod a certain file and Odin in the bootloader section when flashing an update to ensure that you stay at a certain bootloader level while the other files such as AP CP and CSC remain intact from the sam mobile stock firmware.(which I assume the term combo firmware file originates)

My most recent encounters are the device and binary are not the same which I attribute to this problem.

In theory from what I understand the phone has a section that is not Factory resettable which is the NAND that contains read-only but system upgrade information? However, it can be modified by a power Superuser rooted? This obviously risking hard bricking a phone

When upgrading firmware specifically the bootloader file in Odin what file(s) {bin} are essential to the new modification patches and can those files be substituted?

Any comment is considered very helpful. Odin itself is coming out with different versions for structures (prince cosmey) for example.

I explore the system file structure often wondering what I could change or alter as simple as a 0 or 1 or a true or a false to enable or disable my ability to access what I feel I need to access.

I could buy the z3x Samprotools but it defeats my intentions to learn the details.

If you do have a suggestion on a GUI Windows-based tool it would be great. Don't know Linux just as a footnote

Once again what a great post and definition of the different sections of terminology it's just enough to educate me and confuse me at the same time keep doing what you're doing. Any tricks or tips will be very appreciated.
[Android General] koler386:
partitions

What are partitions responsible on drivers like sound and camera,
[Android General] mirfatif:
RPM (Resource/Power Management) or Primary BootLoader (PBL); controls power to radio, modem etc.
[Android General] mirfatif:
Kernel and system
[Android General] chankruze:
I got a script from a xda thread in which OP mentioned that this script is for wiping dalvik/ART cache.

Before flashing it i decided to analyse it,what i found that it was erasing my RPM partition on mmcblk0p2.

Is it really for dalvik cache ?
[Android General] mirfatif:
Thanks for appreciation. I have no educational background with mobile phones or computers. I'm also a hobbyist.

When it comes to modifying bootloader related stuff, I'm really sorry I won't be very helpful here. AFAIK bootloaders are purely proprietary and electronically signed. Qualcomm doesn't want you play with their intellectual property. In early days of Android, when all bootloaders were not signed, even a few hackers succeeded booting from USB just like a PC. But there has been no signs of such attempts in recent years. Or the developers have become wise and don't want to share their work without monetizing :)

To make one of my eMMC bricked phone fully bootable from sd card without using fastboot, I was interested to know the internals of uboot, lk and aboot, particularly for the working of fastboot, odin etc. But the web has got very limited material related to this. Keep searching and do share if you find something helpful.
[Android General] mirfatif:
What are you you actually trying to achieve now? You want to delete partitions?
[Android General] mirfatif:
I don't think so. But looking at the script and knowing its purpose will clarify.
[Android General] aleqa:
HI,

I have a redmi5+ rooted. I use luckypatcher (i applied some patchs to some apps) and i have installed once BusyBox (didn't do anything in special).

I want to know if it is secure to flash the full update?

PS: how do I confirm if the system files and vendor are ok to proceed?

Thanks
[Android General] mirfatif:
Question is quite irrelevant to thread. If you have root, create a dump of all partitions. If something goes wrong, just restore the affected partitions. However, if your root isn't systemless, OTA update can break root as well.
[Android General] jasiou7:
Ok, I really need to register here (on xda).

Anyway, there I have quite a huge problem. I've updated my os, done some experiments AND... lost some functions on my device. I lost:

- USB connection in ANY way with pc (nothing but charging work). I can get into fastboot mode, download mode etc. but MTP, debug mode just doesn't work (like if os couldn't load drivers)

- battery stats (always shows 0%, LED always blinking like low powerage state)

- cannot even root my phone to do anything myself

Besides phone works normally, it charges battery and anything is fine.

What my idea is: while making experiments with different custom roms, I got my stupid hands on some repartitioning script. Well, that was supposed to increase user space, i think. It didn't work, so I simply left it in rubbish bin. It was found on xda, but can't find it now...

So here I am: could anybody tell me something about /data filesysyem attributes? I think it might be the case here.
[Android General] mirfatif:
You can't create partitions unless you know your whole partition table. And after that you need to flash any modified or newly created partitions.

Better try official factory flasher
[Android General] oferyuval:
I read the post with great interest, to try and figure out what's wrong.

I have a situation similar to this where some partitions (system, cache, userdata) show no file system.

When I boot to (twrp) recovery those partitions can not be mounted, nor can the file system be changed or fixed.

Fastboot flashing of a rom fail (specifically flash partitions).

I tried parted tools : such as copy file system, remove partition, remake partitions - all make no change in partition table.

The same for built-in tools like mkfs and fsck.

Any idea where I go from here ?
[Android General] mirfatif:
Well, if tools like parted / gdisk (static binaries attached here) don't work to erase and create partitions, there is a high probability that partition table is corrupted (mostly due to eMMC corruption). Get it confirmed and replaced from official service center, if you can and want to. Otherwise this thread is a start up for you to make experiments. However this is not a universal step-by-step guide. Things differ for different devices at brand, model and OS version level. So I cannot be helpful in minor details unless I have that certain device in my hands.
[Android General] Moussawi90:
I want to learn

I'm confused by what do you means by SD card, is it the external sd card (which you can plug or remove) or the internal memory of phone, because some file explorers title the phone memory by sd card and the removable memory by ext sd card
[Android General] mirfatif:
I don't think I've left any confusion with the word "SD card". Please quote the statement you are confused about. You don't need to quote the complete post to ask this simple thing.
[Android General] thomst:
Help! I mistakenly deleted the /system and /userdata partitions!

Attempting to recover from the bootloop that installing a broken update to Magisk Manager caused, I accidentally deleted the /system and /userdata partitions via TWRP's Wipe menu (in my defense, that menu does warn you that doing so will wipe your OS, but it does NOT warn you that it will do so by deleting the freaking PARTITIONs altogether).

Now Windows doesn't recognize my Nexus 6 as a valid USB-connected device, and neither adb nor fastboot can see it (except in TWRP's adb sideload mode - where adb sees the device, but sideloading fails). So I can't flash a new OS image via an external application. Believe me, I've tried.

I was able to get TWRP to recognize a flash drive via USB-OTG, but I still can't flash either a .zip file of the stock 7.1.1 Shamu, or the individual .img files within it, because every attempt fails with error messages (that I have no way of capturing) that indicate the failures are due to the missing partitions.

Which basically leaves me with the TWRP terminal as the only tool available for me to recreate those partitions, so that TWRP can install a replacement OS.

I have no idea whether that is even possible, much less what terminal commands to use to accomplish it, if it actually is possible.

Obviously I'm pretty frustrated, and desparate. I've asked for help on several threads here. Other than captures of the output of various terminal commands to list the partition data on a standard, healthy Shamu filesystem (I have user ktmom to thank for those, btw), I haven't gotten any useful responses to my pleas.

Before I bite the bulllet and buy a replacement phone (which I can't really afford right now), I'm trying one last appeal for help here.

Thanks in advance for your help to anyone who can definitively answer these two questions:

a. Is it possible to create new /system and /userdata partitions from the terminal command line in TWRP's custom recovery?

b. If it is possible, exactly how do I do that? (By that, I mean, "What are the exact commands I need to issue to create and NAME those partitions, properly size them, and otherwise dot all the i's and cross all the t's necessary to be able to flash a working, factory Shamu 7.1.1 OS to my phone?")

I know I was stupid to use the TWRP wipe menu to delete those partitions, when I could have merely rebooted to the bootloader and done a factory reset, so please don't bother to tell me that. I really need your help here.

Best regards,

Thom Stark
[Android General] :
Any possible way to convert A only device to AB device?
[Android General] m.morcielago:
I have a device that the system partitions are cleaned

And i have a software that can repartition my device , but I don't know the sizes of system partitions

How can I find the sizes?

I have Official ROM, can I use it for extracting system partitions sizes?
[Android General] mirfatif:
By "system partitions are cleaned" you mean you formatted the filesystem or deleted the partitions? Which partitions you deleted and how?

Factory Firmware files that are flashed through PC Flasher software usually have partition details, such as in rawprogram_unsparse.xml for Qualcomm devices. ROMs don't contain partition information, they are just flashed to existing partitions (and sometimes existing filesystem).
[Android General] m.morcielago:
Thank you for your information

You know I have a device "Android TV box" and I tried to install a custom ROM on it

But it got broke

So now I have official ROM by .zip format

But my pc flasher just feed .IMG format files

I have a customising tool for making .IMG ROM but I need partition table for doing that

It's my question
[Android General] mirfatif:
That's a device specific information. You should search the forums with your model number for related documentation. Better look for Factory Firmware image(s) ready to be flashed with PC flasher.
[Android General] novosti:
After firmware flashing, after reboot i got error :

security check fail : modem

and booting stop with message "Security Error : This phone has been flashed with unauthorized software".

When i go to Samsung Recovery log files i see this :

[Cheking pre-multi-scs2]

[start failed section]

sales_code = [EMPTY]

Carrier ID = [EMPTY]

[WARNING] Carrier ID Error

[WARNING] sales_code empty

Don't delete TA file.

if i am correct - problem is - there is NO CARRIER ID and No sales CODE ...

Sales code - probably country code ?

anyway - teoretical - what i need to do to fix this problem ?

what i did : i roll back to stock firmware - it's not helping.

i installing another stock firmware - it's not helping.

i do not use any custome firmware or custom bootloader.

phone is not rooted.

bootloader is locked.

it's allow me to load firmware - but it's not helping me at all with this security check fail : modem problem.

I tried "combine file flash" - but it's got me same error, after reboot it's stack ...

with error :

SS DRX

Subsystem Crashed : MODEM

Please help me understand problem and what theoretically i have to do to fix it.
[Android General] aureliomilitao:
my IMEI in Huawei mate 9 is 0000000000000 what partitions is responsable for fix it ??
[Android General] bangbusdriver:
It's amazing to me how many people will post asking for help and not even mention what kind of device they have.

---------- Post added at 07:21 PM ---------- Previous post was at 07:15 PM ----------

You probably tried to flash firmware that had included modem firmware below the phones verified boot count. If the process gave you "secure check fail: modem", than it stopped flashing at that point and the rest of the room wasn't installed. Probably why you don't have product code, that's in the csc image and is flashed after modem.

Tldr;

ROM version is too old, use a newer one that supports your bootloader revision. Bootloader revision can be checked in filename of firmware. It's 5 number from the right at end of file name. IE:

G950USQU5DSC1

Bootloader revision is 5.

Sometimes firmwares with the correct bootloader revision will fail the verified boot check on other parts besides the bootloader. Only option is to try a newer one.
[Android General] Teracotta:
Hello, I am trying to resize my partition table, I reduced the cache and fota partitions and want to add the free memory to RAM.

But I don't see anything in your write up that talks about where RAM comes from. The two largest partitions on my device are the system and userdata: userdata is obviously internal storage. While moving the free space to /system add to the RAM?

Or is this impossible and I should just add the resized partitions back to userdata?
[Android General] Xenos7:
It's impossible
[Android General] SnowFuhrer:
RAM is memory and requires power to store data. Storage does not. Ram stores the data your phone is currently using so the processor can access it quickly because it is much faster than storage. They are very different from each other and can't be increased.
[Android General] mirfatif:
What I have written is completely about Embedded MultiMedia Controller (eMMC) which is a kind of flash memory; a low grade version of SSDs and high grade version of SD cards or USB sticks.

RAM is a totally different thing, it's volatile and very high speed memory. eMMC is persistent memory and relatively very slow.

On embedded devices, both eMMC and RAM are part of same unit usualy a Multi-Chip Package (MCP) from the same vendor, integrated inside a System on Chip (SoC) module.
[Android General] kezzuki:
Thank you for all the information. So glad i could find such comprehensive collection on this topic.

I have a question that i really hope i can get an answer for: where are the NV items stored?

By NV items i meant the non-vollatile settings (like LTE band stuff) you can modify through usb diag mode and Qualcomm's QPST and QXDM tools.

I messed up the LTE setting on my xiaomi mi 9t and now the diag port is not responding correctly anymore. So i am try really hard to revert the change i did on the NV items without using the diag mode.

Any input would be much appreciated.

Thank you!
[Android General] SnowFuhrer:
It should be in modem or radio.
[Android General] kezzuki:
Probably not, cus i flashed those partitions and the wrong settings were not reset. lol
[Android General] SnowFuhrer:
Hmm, what are the options then? ? Maybe EFS?
[Android General] kezzuki:
Probably EFS but in my understanding EFS is a collection of a few partions or part of those partitions.

My full story is here:

https://xdaforums.com/mi-9t/how-to/help-plz-mobile-radio-wifi-diag-mode-t3953983

Quick recap, i have even tried EDL mode and that didnt fix it lol
[Android General] abhi783821:
I have a problem with system partition(not internal storage). The problem is that it shows low space in system partition in twrp( 60 mb left) and i cant use some apps like GL Tools as they are installed in system partition. Can we resize system partition? Or something similar but without uninstalling system apps so that OTAs will not stop.

My device is redmi note 5 pro(whyred)
[Android General] mirfatif:
All apps installed on "/system" have all data stored on ”/data" partition. So low space on "/system" doesn't impact anything. See How disk space is used on Android device?

Yes, but it's risky and not recommended.

OTA updates won't work even if you once mount "/system" R/W (dm-verity breaks), rather you are talking about resizing it.
[Android General] esparkinfo:
partitioning in android

It's very informational. Thanks for sharing such great content for partitioning in android.
[Android General] Zokunei:
In Android Pie for Pixel devices, flashable zips could modify files on the system partition by copying to, for example, /system/system/priv-app in their scripts. Has some part of this path changed in Android 10? I have specifically the Pixel 2 XL.
[Android General] Dlind:
im looking to re partition my oneplus 6t to flash just about any rom or gsi i want. i realize im gonna need to basically brick my phone to re partition the entire thing. i believe i need to just change the system part, and the data part. but if im wron im glad to take advice. i cant seem to find any sort of guides to help me on my journey. you seem most knowledgeable than any other thread ive found.
[Android General] mirfatif:
A ROM at least flashes boot, system and vendor partitions (last one only on Treble supported devices). So you have to create those partitions. You can also create a separate userdata, or on the other hand share same vendor partition with both ROMs. It depends on you how you spare space for these partitions and in what numbering order you create them. You need to look into your partition table and consider how would you modify secondary ROM (or even primary too) to boot from unexpected partition numbers/names. But don't touch the partitions which have hard-coded paths in bootloaders. Otherwise you might miss seeing your phone screen live.

This can be helpful: [HOW TO] BOOT FROM SD CARD [SUCCESSFULLY] on QMobile Z8 with BRICKED/DEAD eMMC.

And for sure I'm not the most knowledgeable person, I just shared what I perceived.
[Android General] Dlind:
i was able to re partition and test a samsung one ui port but no boot. i kinda expected it. i used msmdownload tool to re set all partitions, which was super easy. this wa one hellva learning experience. i wouldnt mind being able to open up tz and see the files so i could do over clocking. i seem to have a habit of tampering with devices lol.
[Android General] m.morcielago:
What is difference between "bootloader.img" and "bootloader.partition" files??
[Android General] mirfatif:
Yeah that's how we learn undocumented things.
[Android General] mirfatif:
Bootloaders are executable binaries, you can give them whatever extensions. Where did you see those files?