Skip to main content
The 2024 Developer Survey results are live! See the results
16 votes

How to unpack and edit boot.img for ROM porting?

Tools selection The method I present here relies on CyanogenMod's Android source code. While Google's AOSP only provides the tool to build the boot.img file, CyanogenMod also adds the unpackbootimg ...
WhiteWinterWolf's user avatar
12 votes

Bootloader/BIOS, flashing ROMs and related risks. Why are Android devices more brickable than PCs?

SHORT ANSWER: Android phones are more brickable than PCs because they can hardly communicate with us if the bootloader is erased. And bootloader(s) live on Flash memory (eMMC) partitions which are ...
Irfan Latif's user avatar
  • 20.9k
7 votes
Accepted

Cannot flash Qualcomm with Stock Image (Lenovo Tab M10 TB-X605L LTE, Android 8 Oreo)

Solution (for flashing Qualcomm based Android devices) This seems to be an easy, fast and reproducable solution for flashing Qualcomm based Android devices (tablets, mobile phones), so it should not ...
BogisW's user avatar
  • 241
6 votes
Accepted

Is it possible to extract the kernel and device tree from a rom?

If it was that easy then we'd have custom ROMs in no time for every phone on the planet. What's on our phone are compiled, it's basically impossible to decompile them (modern decompilers are not as ...
Andy Yan's user avatar
  • 9,559
5 votes
Accepted

Cheating KNOX by cracking stock ROM certificate

If it was that simple it would have been broken long back. Knox is almost fool proof and prevents any such attempts Samsung KNOX addresses security using a comprehensive, hardware-rooted trusted ...
beeshyams's user avatar
  • 41.1k
4 votes
Accepted

Enabling ADB on Nexus 6 with dead screen

I followed this guide I went into fastboot mode by holding down the power button (force restart) and the volume down key (recovery mode) I downloaded a twrop image from: https://dl.twrp.me/shamu/ ...
TAAPSogeking's user avatar
4 votes

Should Factory Reset return the phone to the original version Android installed on it?

Factory reset only delete user data (userdata partition) and restore settings to the default values, meaning every settings will be restored to the factory state. This doesn't apply to the system, (...
esQmo_'s user avatar
  • 3,237
4 votes
Accepted

What is the proper method to manually odex an apk?

credits to com.modaco.odexme xda link Theoretically you should only need your Android device to manually odex, I ended up using both smartphone (running KitKat 4.4) and PC as explained later. I ...
Ju Tutt's user avatar
  • 514
4 votes

Sahara fail while trying to flash a rom into my phone

See here how I solved this problem. Somehow Windows is blocking the flashing of the device, that's why the sahara error occurs. https://superuser.com/questions/1538067/cannot-flash-qualcomm-with-...
BogisW's user avatar
  • 241
4 votes
Accepted

Verifying a (custom) ROM signature

In order to verify the signature of a ROM ZIP file on a PC, two things are required: The public key from the ROM creator (can be extracted from /system/etc/security/otacerts.zip if the creator is the ...
Irfan Latif's user avatar
  • 20.9k
3 votes
Accepted

What do all these letters/numbers in early Samsung ROM file name mean?

These 2 firmware names are a good demonstration of (early) Samsung naming conventions. I8160XXLL2 is the "PDA" designator, i.e. build number; I8160QXXLL3 is the "CSC" designator, i.e. baseband ...
Andy Yan's user avatar
  • 9,559
3 votes

How can I verify my phone's Bootloader, OS, and ROM haven't been tampered with?

There are a few indicators of modified/unmodified devices, depending on what was modified and how. Depending on the manufacturer and model, some of these indicators are not available. These should ...
GiantTree's user avatar
  • 4,062
3 votes
Accepted

The most lightweight custom ROM?

It is highly depend based on your phone model.. Yes as far as i know, SlimROM is minimal.. But im not sure whether it will be avilable for your phone.. Custom ROMs are not universal, it's device ...
Em Ji Madhu's user avatar
3 votes

What are the differences between a system app and user app?

I would like to add something in the above answers. System apps cannot be deleted in a full factory reset, unlike user apps. So if you want to delete all your personal files but they are too many to ...
CCCP's user avatar
  • 31
3 votes

how to check if my OS is not modified (is original)

No real way to test it unless you know what you are looking for (in terms of spyware) the best solution is to flash a new CM rom from an approved site that is known to be clean.
Iakovl's user avatar
  • 206
3 votes

Should Factory Reset return the phone to the original version Android installed on it?

Is this normal Yes. See answers here and the linked dupe question Upgraded my phone from 1.6 to 2.2 Android version, if I restore "Factory Settings", which version it will be? Is there a ...
beeshyams's user avatar
  • 41.1k
3 votes
Accepted

How can I see the history log of system updates?

Most OEM doesn't keep a log of that on your device, but the recovery (a place for installing OTA updates) does keep a log of what you installed, when you wiped data, etc. That log should be in /cache/...
Tipz Team's user avatar
  • 175
3 votes
Accepted

Why does GrapheneOS use signify instead of PGP to sign their releases (GPG, cryptographic signatures)?

Daniel Micay (Lead developer of GrapheneOS) decided to use signify instead of gpg because of many issues associated with gpg and the OpenPGP standard, including: PGP Certificate Flooding attacks gpg ...
Michael Altfield's user avatar
2 votes

What is the purpose of a ramdisk in Android?

Ramdisk ramdisk.img is a small partition image that is mounted read-only by the kernel at boot time. It only contains /init and a few config files. It is used to start to init which will mount the ...
Benny's user avatar
  • 125
2 votes

What is the purpose of a ramdisk in Android?

The Android ramdisk is the same as the normal linux ramdisk. It's used to start init which then mounts all the normal partitions (normal linux boot procedure). Have a look here for more details: ...
Walter Wolf's user avatar
2 votes

What are the differences between a system app and user app?

Another feature of system apps is that they use native libraries (libsomething.so files) from the common system libraries directory (typically /system/lib or /system/lib64), and not from the app-...
Alex Cohn's user avatar
  • 156
2 votes
Accepted

OTA update multiple times

You haven't mentioned your device but being a question on frequent updates was browsing Xiaomi forums and here is a very similar question for Redmi Note 3 asked and answered yesterday- you need to ...
beeshyams's user avatar
  • 41.1k
2 votes

OTA update multiple times

"Will it creates any software/hardware problems to the device after updating/installing several times" - No. These days, android security patches are being released every month. So, it is common to ...
Vamsi's user avatar
  • 153
2 votes
Accepted

Is this Official ROM of gt-i9506?

The size of more than a gigabyte is true. I also flashed the official ROM of this device a short while ago. As already explained, this is caused in the difference between the very light CyanogenMod ...
benjo53's user avatar
  • 96
2 votes

What is the difference between Samsung 4 files(Repairing firmware) and Single firmware file for flashing?

Some things were not explained. A 4 File is not exactly binary firmware in a sense (even though it's all binary) given that they are used to repair the device. Currently the PDA section when using ...
CASPER YOUNG's user avatar
2 votes
Accepted

How format nexus 4 before flashing new ROM

CWM is long dead, let it stay that way. You are advised to use the latest TWRP recovery, which has an interactive graphic interface, has a more powerful and thorough wipe function, and has an inbuilt ...
Andy Yan's user avatar
  • 9,559
2 votes
Accepted

Alldaymall A88s tablet popping up junk from PornClub. I have it rooted. Now what?

After rooting it and getting most of the software stopped it settled down a lot. Google browser came up without incident. A couple of coupons came on screen which closed when I clicked on the ...
SDsolar's user avatar
  • 281
2 votes

What is the difference between the official and unofficial version of a ROM?

Rahul Gopi describes the basic concept of official and unofficial, but I'd like to add some important additions. Unofficial is not necessarily different from official in sense of code and result. One ...
Andy Yan's user avatar
  • 9,559
2 votes

Security patch no longer supported android phone

If nextbit has open sourced it then you can build it and it will work. But this is an overkill for this purpose as in order to install you have to unlock bootloader and install a custom recovery. So ...
Deepak Gangwar's user avatar
2 votes

Is system apps and pre-installed apps two different concepts?

I think I might have been found the difference. According to this link : If an app is signed with System Signature, then its not allowed to Disable that app.Also , not all preloaded apps have ...
Saleh's user avatar
  • 131

Only top scored, non community-wiki answers of a minimum length are eligible