yashsingh1/xdaforums huggingface dataset:
[Android General] m.morcielago:
I have stock.zip ROM for my device and I want to make .IMG flash file for my device

I unpacked sample IMG and there is bootloader.partition and I have just "bootloader.img
[Android General] mirfatif:
Sorry, no idea.
[Android General] amir.susul:
hi guys i need help, i accidenlty messed with mako lg nexus 4 touchscreen driver, i putted a script contained e015 driver which is old version to run at boot using some init.d runner, after some try it didnt worked after last reboot touch screen disabled totally even in recovery, i tried to flash stock firmware with complete wipe (and repartitions included maybe?) but it didnt helped. what else i can do please help, i need to know is there a different partition which holds drivers and firmware couldnt rewrite that?

btw 2 days before this i replaced the lcd and touch screen cause of physical damage and it was fine until today i did this, is it physical issue and its just happens with my mess in one time or its totally on me please help if you could

sorry for bad english
[Android General] Samuel Ladziansky:
Can i change gpt partition to mbr partition?
[Android General] mirfatif:
Yes you "can" but it's guaranteed that phone won't boot.
[Android General] amihir:
What is contained in /system/reserve folder/partition ?

Back story -

I recently updated to A10 on my 1+6.

The issue I am facing is that this android build doesn't have proper font support for Emoji and Indian languages.

So, I have found the fonts (https://github.com/jenskutilek/free-fonts/tree/master/Noto)

And I checked in the /system/font also, they are as it is (i.e. name of the font doesn't change)

Here is my Concern. This file is linked at another location (which happens to be /system/reserve). And at that location everything is empty.

I would like to install the fonts, but I don't want to risk my phone getting bricked ? (This is my only phone
[Android General] mirfatif:
I think that's a OnePlus-specific thing. Or may be something new in Android 10. I've never come across this.
[Android General] 1aladdin1:
Android 10 Partition Layout

in Android 10 Google introduced the so called system-as-root partition layout - link

As this has severe consequences for people interrested in upgrading from 9 to 10, could this stuff be integrated in OP?
[Android General] mirfatif:
Previously "ramdisk" was extracted to rootfs "/" from "boot.img" and "system" partition was mounted at "/system". With SAR "system" partition is mounted as rootfs "/" and it has a directory inside named "system" which contains the same contents as the old "system" partition had.

SAR isn't introduced in Android 10, it's there since Android 8 (I think or at least 9). So is A/B partitioning but that requires bootloader support for multiple slots. The new thing in 10 is dynamic super partition but that should not be relevant to the devices upgrading from 9 to 10. That would require repartitioning, though not impossible, but needs some big changes to userspace and kernel.

But generally, Treble, SAR, A/B and dynamic partitions combined together make an amalgam of so many possible configurations. It's hard to address all possible cases with upgradation challenges in mind. Also mostly there are bootloaders involved which are closed-source and very device-specific.
[Android General] Aquajd:
Thank you - this post is incredibly informative!

One thing I need to ask - NAD_REFER partitions are not mentioned here. I have one on Android pie on a Samsung s9+ - what is its purpose?
[Android General] mirfatif:
I have never been user of Samsung, so can't say anything for sure. You may get a dump of the partition for analysis, see if it's mountable or run "strings" on it. Which SoC is it?
[Android General] Alicias:
Enquiry and Insight

which partition has simcard and usb funtions? coz I installed a custom rom and now my phone does not detect usb and sim card?
[Android General] mrrocketdog:
[MENTION=6037217]Alicias[/MENTION] , please do not quote the entire OP as it clutters the thread unnecessarily. thanks

---------- Post added at 11:38 PM ---------- Previous post was at 11:03 PM ----------

someone please correct me if i am wrong but i believe the usb would be in /dev/sdc8 (/misc). simcard ? i have no idea. good luck.
[Android General] Awesomeslayerg:
What about the OP paritition? Its in the OEM parition but they are seperate paritions?
[Android General] gcrutchr:
On a Samsung Note 10, Android 10, Qualcomm cpu....where are the boot splash images?

They are not in the UP_PARAM partition as in the exynos version.
[Android General] R1000:
you need to read a lot why I still have a note 3 rooted an it's fast as possible can be best phone I have ever rooted I've rooted a lot of phones it's hard fun buy when u have to use twrp don't do it find a bloatware rom phones theses days have to be flashed twice never update your device
[Android General] sharma.ms112301@gmail.com:
Good
[Android General] chachasl:
How to fix not deecting sensors following downgrade?

MOD EDIT:

Quote of loooong OP removed.

---------------------------------------------------------------------------------------------------------
[MENTION=7805402]mirfatif[/MENTION]

What can be done to recover " not detecting sensors" following downgrade from android 10 to 9..?
[Android General] mirfatif:
How your question relates to this thread? Please ask in your device specific threads.

And avoid quoting whole post. Quote only related lines if necessary.
[Android General] Concepcn:
Well done

To the one person that started this thread....

Hats off to u. U have explained a lot that took me 20yrs in the IT field to learn. Basically a Android phone is just a handheld computer. Specifically designed to a carriers wants. That is why u have the same phone but different setups. The company's checks verify if things are what they're supposed to be mainly partitions and sizes of each. If they don't match it errors out causing chaos to users. Lol

Such as Sprint partitions are different from tmo and att etc. Understanding all of that could take years but knowing the basics would help anyone to understand variants thus becoming simplified and less troubleshooting required.

In my case, my understanding of everything covered but in the PC world helped me tremendously associate its equivalent counterpart in phones. Thus everything they say that can't be done actually can. It's all just a matter of finding the commands or for the lazy the tools that would do what they want.

Think of it as building a pc. You put h/w together but it's still nothing until you configure your CMOS (Bootloader). Once hardware working then you have hard drive (internal Storage) still useless until you format. You make one single partion (c: drive) or several of different sizes catered to ur preference (c: is d: data x:restore etc. or counterpart boot.img userdata.img recovery.img)

I hope u continue on with ur knowledge seeking but moreso you pass it on. Again congratulations and wish u the best.
[Android General] Spartan202:
i so much love this post

please i bought a phone with sd730g chipset but find out that the manufacturer locked camera features on third party camera app.

fps stops at 30 while i know that the phone can handel 240

and eis is lock too even manual iso

please hear i can enable all this feature by myself but dont know how
[Android General] ponnuvelpandian:
Hi Friends,

If I want to add an application as a system app, where should I add it? /system/app or /vendor/app?

Because both are working fine as I have tested. But don't know which one I should prefer.

After reading this thread, I prefer /system/app for it. But just wanted to know what's wrong if I add it on /vendor/app and what will be the impacts?
[Android General] Volski_:
Hi, I research in android security. This post is very informative for research. However, I have one question. If the value of OEM unlocking is stored in FRP partition, can this value be modified by directly rewriting it on NAND flash using a special hardware like UFS flash chip programmer?
[Android General] mirfatif:
Not always. On new devices the bootloader unlock state is saved in TEE which cannot be tempered with without going through proper channels. Also the partition name is not a standard. OEMs name the partitions they want.
[Android General] vanquish28:
Found your post because I am disecting the Android 11 source code and under /bootable/recovery/applypatch.cpp I see:

bool LoadFileContents(const std::string& filename, FileContents* file) {
// No longer allow loading contents from eMMC partitions.
if (android::base::StartsWith(filename, "EMMC:")) {
return false;
}
[Android General] mustafayurdagul:
Hello I am a Lenovo Legion pro user, when I just bought the device, there was no problem accidentally root While trying to do it, the device crashed, I installed with edl mod, but malese fingerprint sensor is not used. I will be glad if you help
[Android General] Gattiwhompus:
Now that is a very understandable, detailed description of how the android system works. THANK YOU for this post. Webpage is saved to desktop as we speak!!!
[Android General] Gattiwhompus:
Very nice compilation for a noob as you stated.

Written by noob, read by noob, and understood by noob.

Nice Work.
[Android General] Markie76:
Hello,

Very comprehensive and detailed OP (y)

I'm a technically minded noob who gives things a go after doing some research.

I recently accidentally deleted all my SMS messages on my Xiaomi Mi 5 which is unrooted running Android 8.0.0

OEM unlocking is greyed out but states "Bootloader is already unlocked"

In plain English;

1. Is it possible to somehow connect to the device from a PC (Windows/Linux) and recover/dump the whole internal flash memory (NAND/eMMC)? Then scan the image for files to recover the SMS.

OR

2. Establish a connection/access to the internal flash memory with a recovery software to scan and recover directly from it?

The ideal scenario would be 2 to read & recover relevant files with the SMS messages which I can then manipulate and restore back to the phone using some data backup/restore app. The phone was turned off and isn't in use when the accidental deletion happened.

Thanks.
[Android General] alecxs:
took me a while today figuring out meaning of Samsung partitions

What does the ROM files (FACTORYFS, HIDDEN, CACHE, PARAM, etc.) mean?

--CM cm.bin Crypto Manager, is it compareable to keymaster partition?

--HIDDEN hidden.img is the preload partition (bloatware)?
[Android General] valtf:
Great explanation, great post!!, thanks @mirfatif .
[Android General] karl615:
Have you looked into heimdall ? If your device has a pit file, you can flash erase and or completely repartition your device using heimdall or heimdall-frontend

However, you must do your homework before you venture into doing something like this. Whatever format your partition table was in, I'm sure that if you search the internet you will find somebody who can give you the partition info related to your device.

Hell, I was working with some Samsung phone or another oh, I can't remember which model, but the FRP lock had me so frustrated after I wrote zeros to the entire FRP partition and somehow the Google activation lock was still there, I was contemplating writing zeros to my entire emmc, then using a pit file and a factory firmware to repartition and reflash my phone with Odin or heimdall. Maybe something like this may work.

If your phone is recognized by heimdall, you can use it to download your pit file and print it out in readable format. From that printout you can use the information provided to tell you exactly where each partition begins and ends and use that info with dd to erase or reflash whatever..

Food for thought...

Sincerely,

Karl
[Android General] flash_hider:
Hi, first of all thanks for the amazing and insightful guide regarding the partitions and their roles. I am using a custom rom as I type and I have started facing some issue with it. First, on all roms that I have used, on all of them when I reboot the system the auto-rotate turns itself off even though I had turned it on before restarting. Secondly, I am facing the same bugs from a previous build of a rom which has removed those bugs in the latest build. So my question is which partition do I have to clean and how do I do that?
[Android General] karl615:
Well, that sort of thing is going to be in the system partition
[Android General] AnotherM1m:
Hi!

The nothing phone has just one hardware revision, but different models (eu/eea and global)

where could that information be stored? Where is that information generally stored on android phone?

There is just one zip for the two models so switching between one or the other shouldn't be too hard if i find what partition saves what
[Android General] Teracotta:
I have script that changes symlink between /sdcard0 and /extSDcard

is NOT POSSIBLE to change /data/data to folder on /extSdcard?
[Android General] alecxs:
it is possible, that is called adoptable storage as native solution or Link2SD as root solution. but that barely fits in this thread.
[Android General] Throbbert:
Fantastic write up, and very important. In the old days I would have printed it out and kept it on my desk next to the keyboard. :)

My question is about a Metadata partition. I have device stuck in a startup loop reporting it can’t find a file /metadata/ota and that it can’t load the metadata partition. I’m trying to boot it into a GSI.

Grateful for any help.
[Android General] lxalar:
Hello someone can help me. My Redmi 9 cannot make or receive calls. What partition is involved in this matter?? How can I fix this ?. Thanks and regards
[Android General] AnotherM1m:
Hello!

Im trying to get hold of (dump it) a partition of an old Nothing OS fw.

There are no full zips, only incrementals and proceeding with dumpers does not work because of hash check mismatch.

I saw about GSIs but i don't think i will able to dump images good for the NP from those.

I would need the uefisecapp and bluetooth partitions, does anyone know a possible way to achieve dumping those images?
[Android General] MarkLev:
Hello @mirfatif

Thanks a lots for your useful tutorial. I need your help on this particular issue.

A few months ago, I used my android phone (Redmi Note 8 Pro) to format a usb-flashdrive to NTFS. From my collective memory, here are steps I had done:

1> I used Termux running some (stupid) commands which I don't remember now, and I think I got some warnings about "fstab"

2> After I got those warnings, the usb-flashdrive did not get formatted. With a mindset of a windows user: something not right, just restart. I restarted my android phone, and it's gone dead silence -> HardBricked

My question is: where is "fstab file" located? "boot.img" or "system.img" or "vendor.img" or "dtbo.img"?

I want to try flashing one of the particular image over SPFlash tool, to get "fstab" restored. And as a result unbrick my phone, saving my data.

I can flash a complete stock rom to unbrick it, but the data will be lost.

Any idea if I can save my data?

Redmi Note 8 Pro - Android Pie
[Android General] simcart:
sir, i have a question, is that possible to re-partition a cellphone's inner disk (emmc) through EDL mode, like when i formated all emmc, is there any possible？
[Xiaomi Redmi Note 4 Questions & Answers] mdnazmul.i404:
When I changed time my phone boot logo.

Flashed Redmi Note 3 boot logo flashable.Zip

After

Logo is Crack.

Now Phone Start time showed a small duck logo.

But its not good.

I need restored mi boot logo.

Can anyone make a mi restored boot logo's flashable.Zip

Plz,,,
[Xiaomi Redmi Note 4 Questions & Answers] milogen:
The steps as below.

1. Download the boot animation for MIUI website (search from Google is much more faster) and download the bootanimation.zip file.

2. Open Root Browser (or your file manager) app and once inside, locate your original boot animation file (bootanimation.zip) in /system/media.

3. Long-press the file, choose Rename and name it to bootanimation.zip1.

4. Next, browse to the custom boot animation that you want to switch to, copy the zip file to /system/media. Long-press, choose Permission.

5. Tick the boxes as shown in the screenshot below, and press OK. After that, rename the file to bootanimation.zip, if the zip file name is different.

Note: You have to make sure that the file name is correct (bootanimation.zip) for the system to recognize your boot animation, and boot properly.

6. Now you should be able to see two zip files, one, bootanimation.zip (new file) and the other is bootanimation.zip1 (original).

Note: If you ever want to switch back to your original boot animation, delete the current bootanimation.zip and rename the original file back to bootanimation.zip (from bootanimation.zip1).

7. Reboot the device and you will be able to see your new custom boot animation!
[Xiaomi Redmi Note 4 Questions & Answers] mdnazmul.i404:
Thanks your info,

your method work are boot animation but my problem are mi (splash) boot logo.

Whatever After flashed miui rom.

Solved the problem
[Xiaomi Redmi Note 4 Questions & Answers] milogen:
i see, i thought i already include it in step 1, my bad i never provide the mi splash logo thread link.
[Xiaomi Redmi Note 4 Questions & Answers] mdnazmul.i404:
Ooh!
[Xiaomi Redmi Note 4 Questions & Answers] nikhil020:
Here is the link to splash.img of redmi note 4 SD variant https://drive.google.com/open?id=0BzCmvje6tUxFTHJjdjU1ekZxUmM

and i hope u know the procedure to flash the splash

fastboot flash splash splash.img

Please press thank button if i helped u :)
[Sony Xperia L] jarkac95:
Hello Guys i have been tried to install differnet rom and insted of installing it I jumped into cynagoen recovery and did an APPLY UPDATE wit the new rom.zip. Now it is into bootloop and i can see only logo sony. My volme + is broken
[Sony Xperia L] jarkac95:
please help me i am hopeless
[Sony Xperia L] jarkac95:
And if i try to flash firmware vie flashtool it wirter errol null
[Sony Xperia L] Kungfu73:
Don't use latest versions of flashtool, it doesn't work with xperia L! Use older versions like 0.9.18.4 , and it will do the job.

And please search the forum before posting your problems! ;)
[Sony Xperia L] jarkac95:
Yes I figure out my self and use exactly that version and it works now. Pls lock :)
[Sony Xperia L] engloa:
Thread closed
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] chealyjazz:
Here is my attempt for s8 look ,please post your efforts here.
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] yazeed_twb:
On my galaxy s5 :)

http://cloud.tapatalk.com/s/58e95035d2978/Screenshot_20170409-010206.png?
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] javierduran:
Note5!

Enviado desde mi SM-G955F mediante Tapatalk
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] demon2112:
maybe everyone can say what they used to get that specific look......then you help eachother to get the best look
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] hitchmontana:
How did you change the icons?
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] chealyjazz:
Here's what I used xwidget for clock, colour &gradients wallpaper, s8 icons pack and action launcher all available on the playstore.
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] chealyjazz:
One more good live wallpaper is s8 livewalpaper by qlw
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Tamizhmani:
How do you got the icons without root??
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Bart3n:
Install the theme and apply via the themestore
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Tamizhmani:
Link please
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Bart3n:
Really? It was allready asked in this topic.
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] yamato047:
Here's my go at it
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] Mobel:
S8 Launcher
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] comptonhubbard:
how did you get the rounded google bar with the ok google in it?

---------- Post added at 07:44 AM ---------- Previous post was at 07:38 AM ----------

how did you get the rounded google bar with the ok google in it?
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] yamato047:
Custom zooper widget
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] kaasgier:
S8 port rom on s7e

Verstuurd vanaf mijn SM-G955F met Tapatalk
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] EfeCkgz:
How did you get the nav bar?
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] ImKiira:
How did you get the rounded corners?
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] ryansmth76:
[emoji16]
[Samsung Galaxy S7 Edge Themes, Apps, and Mods] bodomfan:
What rom
[Galaxy Note5 Q&A, Help & Troubleshooting] aly+mohy1:
after clearing recent apps list randomly it shows up running 3 apps i happen two times

this is first time on android

that happened after nougat update

i think issue related to adobe reader most recent installed app

i scan the device 4 times with different antivirus apps negative result

the device run with me from 2015 smoothly

thanks
[Tilt, TyTN II, MDA Vario III General] acboydston:
My today screen date is changing from one line to two lines. I want it to only use one line.

As you can see, the font is not changing any, something is just causing it to display using two lines. After a hard reset, the date displays correctly (one line). I install Pocket Plus, SKTools, Pocket Informant, and change settings but I cannot figure out what is causing the date to change to two lines. The only consistant thing is that it happens after a soft reset. This implies one of my programs is making a registry edit that gets applied after the soft reset.

I can not find a registry edit that affects the number of lines the date uses.

Any ideas? Thanks.

ATT Tilt, original ROM W/O ATT customizations loaded
[Tilt, TyTN II, MDA Vario III General] NguyenHuu:
you can reference this thread. it provides a working solution. enjoy!

http://xdaforums.com/showthread.php?t=352193
[Tilt, TyTN II, MDA Vario III General] acboydston:
Thanks for the reference, though I have already gone thru all the suggestions in that thread (and many others).

Note that the date is changing from one line to two lines. I would like to figure out why it is changing and thus be able to fix the actual problem instead of installing a new cab and using some other work-around.

At this point, I am quite certain that SKTools is causing the change which implies it may be a registry edit.

Any other ideas?
[Tilt, TyTN II, MDA Vario III General] acboydston:
Okay, I seem to have figured it out. SKTools was indeed causing the change in used lines. SKTools has a setting, TuneUP!->System Tweaks->Single line date plugin, which is set to no by default. So after SKTools is installed and

any

of the TuneUP! settings are adjusted, the "no" setting for Single line date takes effect (after a soft reset).
[One (M9) Q&A, Help & Troubleshooting] gumiak9:
Hello. I have a problem with usb connection after flashing firmware. I tried

0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.8 _Radio_01.01_U11440261_56.02.50306G_2_F_release_42 5571_signed_2

0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.1 5_R1_Radio_01.01_U11440261_56.02.50306G_2_F_releas e_426891_signed_2

0PJAIMG_HIMA_UHL_L50_SENSE70_HTC_Europe_1.32.401.1 5_R2_Radio_01.01_U11440261_56.02.50306G_2_F_releas e_427846_signed_2

and many others, actually i flash this

0PJAIMG_HIMA_UHL_N70_SENSE80_MR_HTC_Europe_4.28.401.3_Radio_01.01_U114401011_117.00.61117G_2_F_release_498151_signed_2.zip

I have cid_032 , s-off, unlocked . While i'm flashing firmware all files are flashing correctly except tp_Syn3351.img and tp_MXM11976.img . On the screen you also see problem with sensor_hub.img, but i solve this problem (flashing 1.32................. and 4.28.................... ruu, but 3.35................. causes this error).

For this moment i can:

- flash firmware, RUU (from 0PJAIMG.zip), recovery ( Combined, Nowipe zips) and full stock from this link https://docs.google.com/spreadsheets/d/1ZaiJ3F_f76sVa4daU5H62OYi5Bj23LEBBv4xDTQ8y-M/pubhtml

- everything works, i can call, send messages, wifi also works.

I can't:

- connected phone via usb isn't recognized, device manager doesn't show anything, fastboot and adb not work. I have also HTC M8 and this device is recognized properly.

-