Hovatek Forum DEVELOPMENT Android SPD MEMORY REMAP
Can't login? Please, reset your password.
Hovatek is recruiting! Apply Now


SPD MEMORY REMAP

SPD MEMORY REMAP

shankar1790
shankar1790
shankar1790
Senior Member
474
24-05-2020, 07:24 AM
#1



my  device micromax Q402Plus sc9832a android 7.0 1GB RAM 8GB ROM
my internal sdcard has less free space approx 4gb andmy system img has 2550mb (2.5gb) but i installed custom rom on this whis is roughly <900 mb and rest of free space.
i tried this method in thread https://www.hovatek.com/forum/thread-32750.html

my device has following partitions
[Image: fpIfVmA.png]
https://imgur.com/fpIfVmA

Code:

Disk Flags:

Number  Start  End    Size    File system  Name          Flags
1      1049kB  6291kB  5243kB  ext4        prodnv        msftdata
2      6291kB  7340kB  1049kB              miscdata      msftdata
3      7340kB  8389kB  1049kB              l_fixnv1      msftdata
4      8389kB  9437kB  1049kB              l_fixnv2      msftdata
5      9437kB  10.5MB  1049kB              l_runtimenv1  msftdata
6      10.5MB  11.5MB  1049kB              l_runtimenv2  msftdata
7      11.5MB  31.5MB  19.9MB              l_modem      msftdata
8      31.5MB  34.6MB  3146kB              l_ldsp        msftdata
9      34.6MB  37.7MB  3146kB              l_gdsp        msftdata
10      37.7MB  40.9MB  3146kB              l_warm        msftdata
11      40.9MB  41.9MB  1049kB              pm_sys        msftdata
12      41.9MB  43.0MB  1049kB              logo          msftdata
13      43.0MB  44.0MB  1049kB              fbootlogo    msftdata
14      44.0MB  45.1MB  1049kB              wcnfdl        msftdata
15      45.1MB  55.6MB  10.5MB              wcnmodem      msftdata
16      55.6MB  76.5MB  21.0MB              boot          msftdata
17      76.5MB  78.6MB  2097kB              persist      msftdata
18      78.6MB  79.7MB  1049kB              trustos      msftdata
19      79.7MB  80.7MB  1049kB              vmm          msftdata
20      80.7MB  2755MB  2674MB  ext4        system        msftdata
21      2755MB  2761MB  6291kB  ext4        sysinfo      msftdata
22      2761MB  3023MB  262MB  ext4        cache        msftdata
23      3023MB  3044MB  21.0MB              recovery      msftdata
24      3044MB  3045MB  1049kB              misc          msftdata
25      3045MB  7818MB  4773MB  ext4        userdata      msftdata     
after restoring my twrp backup, device not booting. backup contains partition from 20 to 25 except sysinfo  partition 
and  without system img partition . because system has only 850 mb but system image has 2550 mb in size. 
if i flash this system image partition then there is no meaning of resizing my memory
This post was last modified: 24-05-2020, 07:26 AM by shankar1790.
shankar1790
shankar1790
shankar1790
Senior Member
474
24-05-2020, 07:33 AM
#2
I have rebuild my custom rom system.img file to 1027 mb and flash it but the system image partition still show 2550 mb in TWRP recovery.
is sysinfo partition is creating problem or something else.
do i need to create a new sysinfo.img
X3non
X3non
X3non
Recognized Contributor
22,062
25-05-2020, 01:38 PM
#3
(24-05-2020, 07:24 AM)shankar1790 my  device micromax Q402Plus sc9832a android 7.0 1GB RAM 8GB ROM
...after restoring my twrp backup, device not booting. backup contains partition from 20 to 25 except sysinfo  partition 
and  without system img partition . because system has only 850 mb but system image has 2550 mb in size. 
if i flash this system image partition then there is no meaning of resizing my memory

did sysinfo partition did you confirm that it holds no data? or you just decided to skip it during backup
get your device to a working state with the custom rom you intend to use.
make a twrp backup of all partitions you are going to remove while using parted... this should backup system partition to the size of the rom itself ie if the rom has system of 800mb then system partition backup should be 800mb as well.
resize the partitions
restore your twrp backup
shankar1790
shankar1790
shankar1790
Senior Member
474
29-05-2020, 07:16 AM
#4
(25-05-2020, 01:38 PM)X3non
(24-05-2020, 07:24 AM)shankar1790 my  device micromax Q402Plus sc9832a android 7.0 1GB RAM 8GB ROM
...after restoring my twrp backup, device not booting. backup contains partition from 20 to 25 except sysinfo  partition 
and  without system img partition . because system has only 850 mb but system image has 2550 mb in size. 
if i flash this system image partition then there is no meaning of resizing my memory

did sysinfo partition did you confirm that it holds no data? or you just decided to skip it during backup
get your device to a working state with the custom rom you intend to use.
make a twrp backup of all partitions you are going to remove while using parted... this should backup system partition to the size of the rom itself ie if the rom has system of 800mb then system partition backup should be 800mb as well.
resize the partitions
restore your twrp backup
the system partition backup is still 800 mb and after backing up and restores only system partition does not boot ,stuck at bootlogo. i have to backup" system image" partition too (not only system partition)  and restore it.
i have backup and restore sysinfo.img partition using dd commands
i will try to edit my fstab ,if twrp can mount sysinfo partition. .
i have already tried backup all partition ( to be deleted) with dd commands except misc ( does not know its extension may be bin file). i backup misc with twrp backup feature.
i will try unit kb (instead of unit mb) if i mistakenly overlap partition
i will update this post soon after trying some fix if it can help... thanks for attention
This post was last modified: 29-05-2020, 07:24 AM by shankar1790.
X3non
X3non
X3non
Recognized Contributor
22,062
29-05-2020, 02:17 PM
#5



(29-05-2020, 07:16 AM)shankar1790 the system partition backup is still 800 mb and after backing up and restores only system partition does not boot ,stuck at bootlogo. i have to backup" system image" partition too (not only system partition)  and restore it.
i have backup and restore sysinfo.img partition using dd commands
i will try to edit my fstab ,if twrp can mount sysinfo partition. .
i have already tried backup all partition ( to be deleted) with dd commands except misc ( does not know its extension may be bin file). i backup misc with twrp backup feature.
i will try unit kb (instead of unit mb) if i mistakenly overlap partition
i will update this post soon after trying some fix if it can help... thanks for attention

you can't overlap partitions while using parted, same way you can't overlap partition on any regular storage device
if anything it'll be from your backup and restore methods or what you're restoring / flashing as the case maybe

you can add sysinfo into twrp fstab to include it during backup, ensure to set the backup=1 flag
for misc dd backup, you don't necessarily need file format. you can set the format to anything or even no extension, e.g misc.img , misc.bin , misc e.t.c..what matters most is the contents..dd will read and write the contents regardless of the filename or extension
Users browsing this thread:
 1 Guest(s)
Users browsing this thread:
 1 Guest(s)
YtWhTl
live chat
whatsapp telegram instagram