Inodes Count
What is an inode
An inode is a data structure that keeps track of all the files and directories within a Linux or UNIX-based filesystem. So, every file and directory in a filesystem is allocated an inode, which is identified by an integer known as “inode number”. These unique identifiers store metadata about each file and directory.
Read below to understand, how insufficient inodes count affect BiTGApps installation.
No space left on device
On surface level, it may looks like system partition has enough free space for BiTGApps installation. But inodes count is a different story. The disk free command shows total/used/available disk space for each filesystem, or all currently mounted filesystems.
After disk free check, it looks like their is plenty of available free space.
Filesystem Size Used Avail Use% Mounted on
/dev/block/dm-0 2.0G 872M 1.1G 43% /system_root
After inodes check instead of blocks, free space isn't looks free anymore.
Filesystem Inodes IUsed IFree IUse% Mounted on
/dev/block/dm-0 3.9K 3.9K 23 100% /system_root
IUse% is 100%
This mean you have reached the inode limit and more files cannot be added.
BiTGApps installer backend wouldn't exit installation on insufficient inodes count. You might get the installation done but behind the scene it throws error, no space left on device, which isn't visible on recovery screen during installation.
Why not checking inodes instead of blocks?
We cannot determine, how much space is used/available with inodes instead of blocks check.
Troubleshoot Installation
Facing bootloop even with successful BiTGApps installation then this might be the case. To confirm this, we need recovery.log after installation is complete. You can pull it using below command:
adb pull /tmp/recovery.log
Let us know the inodes count using below command:
df -i MOUNTED-PARTITION
Where "MOUNTED-PARTITION"
is either /system_root or /system.
When troubleshooting, make sure that you have just ROM and BiTGApps installed.
Avoid using Custom Kernel, Magisk or other modifications.