/data partition - General Questions and Answers

Hello. I have a tablet with RK 3188 quad core A9/1.6Ghz, 10.1", hdmi and 1280x800px with android 4.2.2 with a directory /data of 1Gb but the total internal memory is 16Gb and I need to expand it, but I couldn't use it it as root with any of the programs I tried, only one Chinese program could partially root it.
I can enter by adb only with sideload and load an image of the original fimware.
Question: how can I manipulate update.img to increase the size of the /data partition? when viewing the firmware image on a pendrive with gparted, the partition is hidden and the rest unformatted.
Is it complicated? Thanks in advance

Related

[Q] Prestigio PMP5785C internal memory

Hello!!
I have the Prestigio Multipad 4 QUANTUM 7.85 (PMP5785C) tablet
the device has 8gb memory but only 1gb for apps and games (1gb as internal storage and rest as internal sd)
There are ways to increase internal memory?
My device is root and i have init.d support
I've tried CronMod-INT2EXT+_signed but not work
Please help me!!
Thanks!!
voliotis said:
Hello!!
I have the Prestigio Multipad 4 QUANTUM 7.85 (PMP5785C) tablet
the device has 8gb memory but only 1gb for apps and games (1gb as internal storage and rest as internal sd)
There are ways to increase internal memory?
My device is root and i have init.d support
I've tried CronMod-INT2EXT+_signed but not work
Please help me!!
Thanks!!
Click to expand...
Click to collapse
You may not be able to increase internal memory directly, but you can use your External SD card for installing apps and games, if your device supports External SD Card. There are couple of ways to do this.
1. Swap your Internal memory with External SD card
2. Use Link2SD to link to Ext partition in SD card to install apps and Games
Method 2 is superior, but more difficult to achieve. Method 1 is not recommended but less difficult to do.
Method 2 ->
http://forum.xda-developers.com/showthread.php?t=2142844
voliotis said:
Hello!!
I have the Prestigio Multipad 4 QUANTUM 7.85 (PMP5785C) tablet
the device has 8gb memory but only 1gb for apps and games (1gb as internal storage and rest as internal sd)
There are ways to increase internal memory?
My device is root and i have init.d support
I've tried CronMod-INT2EXT+_signed but not work
Please help me!!
Thanks!!
Click to expand...
Click to collapse
This family of devices seem to mount partitions based on kernel parameters passed at boot.
It is possible to expand /data by using RK29xxImageTools to unpack the original image, modify the file containing the kernel parameters and repacking the image.
Attached you can find the parameter file I use with my Prestigio, I have doubled the /data partition to 2GB.
Keep in mind that:
/data will be wiped
/mnt/sdcard will be wiped
So you need to backup the tablet before attempting to replace the firmware.
What saddens me is that the ****ers @ Prestigio could not bother to invest the 10 minutes needed to do the same and release an updated firmware.
change memory
Boozezela said:
This family of devices seem to mount partitions based on kernel parameters passed at boot.
It is possible to expand /data by using RK29xxImageTools to unpack the original image, modify the file containing the kernel parameters and repacking the image.
Attached you can find the parameter file I use with my Prestigio, I have doubled the /data partition to 2GB.
Keep in mind that:
/data will be wiped
/mnt/sdcard will be wiped
So you need to backup the tablet before attempting to replace the firmware.
What saddens me is that the ****ers @ Prestigio could not bother to invest the 10 minutes needed to do the same and release an updated firmware.
Click to expand...
Click to collapse
where is the modification in the file to change memory?
can i use all memory (8gb) as internal storage?
Thank you!!!
voliotis said:
where is the modification in the file to change memory?
can i use all memory (8gb) as internal storage?
Thank you!!!
Click to expand...
Click to collapse
You need to change the size of the userdata partition and the offsets of the partitions that comes after it. It's not that complicated.
These are the values taken from the 2GB file I have provided (I have used 410000 instead of 400000 because otherwise the tablet would show the internal partition as being 1.9xGB instead of 2GB).
SIZE..............OFFSET
[email protected](misc)
[email protected](kernel)
[email protected](boot)
[email protected](recovery)
0x0002000[email protected](backup)
[email protected](cache)
0x00410000@0x00080000(userdata) <<<only change size
[email protected]0x00490000(kpanic) <<<only change offset
[email protected]0x00492000(system) <<<only change offset
[email protected]0x005B2000(user) <<<only change offset
You need to increase the size of userdata and recalculate the offsets for kpanic, system and user. You don't need to change their sizes. user does not have a size, as it will take whatever is left available.
I hope this helps understand how to do the calculations. The next offset is the sum of the previous partition size+offset:
Userdata size: 410000 @ offset 80000 <sum the values together to get kpanic offset 490000
kpanic size: 2000 @ offset 490000 (410000 + 80000) <sum the values together to get system offset 492000
system size 120000 @ offset 492000 (2000 + 490000) <sum the values together to get user offset 5B2000
user size nothing @ offset 5B2000 (120000 + 492000)
So if you want 3GB, the values would be (you may need to use 0x00610000 or 0x00620000 to have a round number):
0x00610000@0x00080000(userdata)
[email protected]0x00690000(kpanic)
[email protected]0x00692000(system)
[email protected]0x007B2000(user)
As a rule of thumb, every time you add 200000 to userdata, you are expanding it by (approximately) 1GB.
In my opinion you should keep some space (I would go with 512MB) for /mnt/sdcard (user) because there are applications (e.g. browsers) that can only save files in /mnt/sdcard .
This should be an interesting read as well.
http://www.htcmania.com/showthread.php?t=477883
Note the format:
Code:
CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](misc),[email protected](kernel),[email protected](boot),[email protected](recovery),[email protected](backup),[email protected](cache),[email protected](userdata),[email protected](kpanic),[email protected](system),[email protected](user)
memory
Thank you my friend!!!!
You are the best!!!!
increase memory
I have make this parameters file for 6gb
please look at this and tell me if it right
Thank you!!
FIRMWARE_VER:4.1.1
MACHINE_MODELMP5785C_QUAD
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](misc),[email protected](kernel),[email protected](boot),[email protected](recovery),[email protected](backup),[email protected](cache),[email protected](userdata),[email protected](kpanic),[email protected](system),[email protected](user)
voliotis said:
I have make this parameters file for 6gb
please look at this and tell me if it right
Thank you!!
FIRMWARE_VER:4.1.1
MACHINE_MODELMP5785C_QUAD
MACHINE_ID:007
MANUFACTURER:RK30SDK
MAGIC: 0x5041524B
ATAG: 0x60000800
MACHINE: 3066
CHECK_MASK: 0x80
KERNEL_IMG: 0x60408000
#RECOVER_KEY: 1,1,0,20,0
CMDLINE:console=ttyFIQ0 androidboot.console=ttyFIQ0 init=/init initrd=0x62000000,0x00800000 mtdparts=rk29xxnand:[email protected](misc),[email protected](kernel),[email protected]00(boot),[email protected](recovery),[email protected](backup),[email protected](cache),[email protected](userdata),[email protected](kpanic),[email protected](system),[email protected](user)
Click to expand...
Click to collapse
Apart from the extra spaces you left in the params (e.g. "0x [email protected](kernel)" ), the numbers are hexadecimal, so the calculation need to be hexadecimal as well.
1GB = 0x00200000
6GB = 0x00200000 * 6 = 0x00C00000
It seems you did the math counting in base 10 (200000*6= 1200000).
If you google for the "SergioPoverony tools", it seems they include an utility to change the parameter file.
increase memory
Boozezela said:
Apart from the extra spaces you left in the params (e.g. "0x [email protected](kernel)" ), the numbers are hexadecimal, so the calculation need to be hexadecimal as well.
1GB = 0x00200000
6GB = 0x00200000 * 6 = 0x00C00000
It seems you did the math counting in base 10 (200000*6= 1200000).
If you google for the "SergioPoverony tools", it seems they include an utility to change the parameter file.
Click to expand...
Click to collapse
Thank you again!!!!
With your help now i have 6gb data storage
i have swap internal storage with external sd (vold.fstab)
and i have 32gb as internal sd
only one problem with apps and games when install in sd after reboot these deleted
voliotis said:
Thank you again!!!!
With your help now i have 6gb data storage
i have swap internal storage with external sd (vold.fstab)
and i have 32gb as internal sd
only one problem with apps and games when install in sd after reboot these deleted
Click to expand...
Click to collapse
It seems you want too much and all at the same time.
With a 6GB data partition the SD card swap is pretty much useless.
Hi.
Any1 know i how can root this tablet?
@Boozezela, thanks so much for this ! :victory:
But for 3gb the value for userdata must be 0x00620000 !
So:
[email protected](userdata)
[email protected](kpanic)
[email protected](system)
[email protected](user)
Boozezela said:
It seems you want too much and all at the same time.
With a 6GB data partition the SD card swap is pretty much useless.
Click to expand...
Click to collapse
HI. tnx for all at the start. Is it possible that the external sd card is mapped as the internal sd card, and the entire memory give to the internal memory. I dont need 3 partition 2-4-32 or 3-3-32 i whant 6-32. All available memory to /data and map /externalsd to be /sdcard like on my phone.
Increase internal memory
Hello, I have a question regarding the second method of increasing the internal storage on a tablet
My tablet has:
- 1 GB internal storage;
- 14 GB INTERNAL SD CARD
- external SD card slot
My question is:
Is it possible to format and partition the INTERNAL SD Card partition of the tablet in 2 partitions and use one of them for linking apps with link2sd app ?
I've seen a lot of tutorials but all of them seems to refer to the external SD card, so I want to ask if it is possible to partition the internal SD card as well and use one partition for internal memory extension.
Thank you very much!
Best regards,
Alex

Help me root/cwm recovery on my Gemini Q13 Tablet

Hi,
just got a Gemini Q13 13.3' tablet & would like some help to root / install cwm recovery onto it.
its a rockchip rk3066 if thats of any help.
Also it has 1gb internal storage with 14gb nand storage, is there any way to use the nand storage as internal storage for my apps ( other than move2sd type apps)
Thanks

Allwinner A33 NAND access from sdcard

Hi there!
I have an unknown A33 tablet with Sk Hynix NAND. I do not have access to the stock ROM, no adb. Recovery option only let's me factory reset the device.
I can boot from SD card and now I would like to create a full backup of the device NAND.
When booting from SD card the nand.ko driver gets loaded but I do not see the NAND under /dev or /dev/block where it is when I boot the stock ROM.
Any ideas what I can do to get access to the NAND?
Cheers and thanks in advance!

android rom update file edit

Hello,
I have an android unit >>>> allwinner a20 cpu, 1 Gb ram, android 4.4, 16Gb memory (630Mb device internal memory, 12,19Gb device sdcard memory, 3,19Gb android reserved)
After installing 3 or 4 apk i get not enough memory message and cant install more apk to my android. Because internal memory gets full.
I have my car android unit rom file.
Can someone help me that,
edit the rom file then arrange the partitions as
partition 1 >>>630 Mb to 7Gb???
I tried to use link2sd but it didnt work. Device is rooted.

Android 7.1 on a Le Potato SBC Resizing Partitions

Hello everyone.
I have a Single Board Computer called Le Potato made by Libre Computer Project.
Specs: S905x SOC
Cortex-A53 @ 1.512GHz
2GB DDR3 Ram
ARM Mali-450 @ 750MHz
SD card for O.S
They offer an Android 7.1 Image to flash on a SD Card. So basically like a Generic Android TV Box.
I have a 16GB and 32 GB SD card and when i flash the image using ETCHER in Windows 10 it always leaves 7 to 22 GB unallocated, it only gives me 1.9GB of app space, and no matter what i try i can't seem to resize the right partition to have more app space. Any thoughts would be helpful. I'm using Gparted in Ubuntu to attempt to resize the partitons.
Thank you
Did you ever figure it out? I'm in the same situation right now.
Has anyone come up with a solution?
I also saw the same thing; a 32gb SD card was used and the image file was flashed via Etcher on an Arch Linux distro. Once I booted the potato, 1.9gb available space. digging through the storage settings, I saw that the system storage (OS i guess) was using the entire SD card. I also saw a few issues where some core app kept crashing when I went into different parts of the settings menu (but it still worked) and at one point I saw a different settings menu all together. This is in the MBOX variant.
Seems to me that the image file allocates the entire storage space to the system partition (just like a phone) and whoever built this did not account for user storage, missed some files, didn't input code correctly, etc. currently I unpacked the image file and am digging through to see what's going on; it's got to be all within the coding.
Update:
looking into the fstab.amlogic file currently. this is where the image creates partitions. sense there can only be 4 primary partitions, i think this is where the issue lies. not allocating enough space in the /Data partition as internal storage...

Categories

Resources