yashsingh1/xdaforums huggingface dataset:
[Android Q&A, Help & Troubleshooting] bethnesbitt:
partitions

I just finished. What I found is you have to use your device EBR, 99.5% of the time without soft bricking. My mod is right, when you add the same value to those three it actually subtracts the 2tib on partition 3. You can't have a zero fat. If you do adb shell and type cat /etc/dumchar_info those are your blocks. The mod doesn't actually change that, it's written in the ram. That has to be something that has to be done in android SDK I think. Or if the manufacture were to willingly give you the ramdisk.IMG. another way is to go to android-x86.org, there are instructions on making a ROM with a working kernel, which I actually have. Its on irulu.com, under downloads in a file called imei. Its for mtk6572, same kernel, 3.4.5. Even think its kitkat.

I actually was able to get my internal storage all the way down to 110kb, lol screenshots attached. Just doesn't like a zero fat in the EBR, but I did figure out that in the scatter, if the data hex matches the EBR but the fat hex is 0, it will hide the internal.

With the zte tomorrow I want to 0 the fat EBR fat and also do a second with the kb size then just redit the scatter with one being the full data 0 fat. Second try could be a 0 fat with a hex just one kb less then the data and fat

Had to give up PC time for football, ugh, and hes sleeping, should turn it off just so that he can say, uh uh hey im watching that.:D Tomorrow the power is fixed, running a cord from one outlet so we have to be careful.
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
Congratulations & Thank YOU

Congratulations for resolving the ZTE issue and THANK YOU :)

ZTE-Mini-2gb-110kb-InternalStorage.zip worked fine, the full one did not work (same as before, SD Card and Internal won’t mount). I didn’t do any restore – it just worked :)

As for ‘…some system apps that…wants to use that internal storage, 110kb isn't enough room….” This is not an issue for me as I have swapped the external memory card with phone storage.

Thanks again, will test with THL now (although the current solution that you have provided is fine by me, lol)
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
Ok, tried the THL_T5_MT6572-Full.Fat-Userdata.zip did not work with THL as well (won’t even load Android even after factory reset). THL_T5_MT6572-110kb-InternalStorage.zip worked fine. Will use this as it is optimized further.

I think I did not swap the external card with phone memory with THL but will see if it causes any issue (Default Write Disk is set as SD Card). I don’t think I will keep it for long so don’t want to swap and cause headache for any new owner. :)

Probably best solution (for ZTE Q Mini, THL T5 and even Doogee DG310) would be to somehow disable it mounting all together.

Many Thanks for all the trouble you went through and thank you again :)
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Repartition of the Doogie

Here is the Doogie, just like the 6572, it's that number, 4294967295, but unlike the 6572, the 6582 kinda hides it and the math has to be done just a bit different to get it to work. Same with my Irulu, the new mod worked perfectly, no restore, the 4294967295 makes a difference, but it has to be edited to go with the new EBR file. Was wondering, does the doogie update your app storage or does it just merge the 2 internal storage spaces?

This mod might work without the false, so I included both, just in case. as for the new scatter, you can use the same one with either EBR1. I don't even know if the scatter matters when changing the hex values for userdata and fat, it doesn't change the blocks. Maybe it's my imagination that it works faster, did you notice a difference in speed with the mod and scatter matching?

As for the ZTE, I suggested the hiding of the 110kb completely, was wondering if the edit of the internal storage was causing the conflict. If maybe you could hide that little extra internal storage, maybe then it will work. I used gparted, it told me that it couldn't do anything with space under less then -1mb but when I rebooted the partition was gone. Makes me happy, was almost going to do the vold.fstab mod, now I may not have to worry about it. :cool:
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
Tried using the attached scatter and ebr1 and it did not work. Tried using EBR2-False-MT6582_Android_scatter with the attached ERB1 and it did not work. As before, it asked to format once booted to Android and it keeps failing…reboot and it won’t load….had to download everything again using flash tool…and then restore.....

I think MT6582 either needs erb2 to be changed as per http://www.android-hilfe.de/attachm...rkmoon-partitionsgroesse-aendern-ebr-how-.pdf or Doogie just does not like anything above 6gb (I tried 6.12 using that guide and had the same issue.)

Doogie updates the data partition using your erb1 and my ones as well i.e. it has internal and phone storage (similar to THL & ZTE). I took your word on performance improvement when changing the hex values for userdata and fat, lol. But now thinking about it, I think ZTE does feel faster now…I am not sure, lol. I have not changed the scatter on Doogie, perhaps, I should.

I had a crazy idea yesterday, lol, wanted to flash the ZTE with THL modified scatter that you sent (to gain extra space as ZTE has larger cache and system partition). But it requires editing the system.img as flash tool complains about the size mismatch, which you can’t do on Windows. In any case, I tried using ImgBurn as someone suggested on some forum but that didn’t work, lol. I think I need to install a Linux VM, any ideas what is best out there - GUI?
[Android Q&A, Help & Troubleshooting] bethnesbitt:
repartition cache

I actually did this and started to write instructions on how to do it. It can be done in the EBR file. I actually took your ZTE and jacked it, got it to run on mine, but it was messy so I deleted the draft. After my discovery with getting the EBR to load without errors, was thinking about retrying it. When I jacked your ZTE EBR it gave me 3gb of internal storage and 126mb of cache. THing is, I realized that some of the apps I was running was using way over 126mb so then ended up installing cache2sdcard.

Right now my PC is booted insto android, but just might give that a try again after dinner.

As for linux, well my opinion, VM sucks, it is so slow. If one wanted slow, why not just dust off their old 486 from the attic and install windows ME on it. Tried android 4.4 in VM and it took forever, really was painful.

On ubuntu.org there is a windows installer that works pretty well. Haven't used it in a few years, but it lets you install a lightweight version of ubuntu, then you can just reboot into ubuntu. Comes with the basics, doesn't give much room to install extras, but it probably is good for android hacking. All you would need is gparted, gdisk, the calculator and terminal comes with it, think gdisk does to,
[Android Q&A, Help & Troubleshooting] bethnesbitt:
As for the Doogie

Well, actually, never mentioned this before because you mentioned about being scared to format. I was actually a little curious to what would happen if you were to format, use the false scatter and not download the EBR2 at all. See if you are downloading not formatting, the EBR2 is still there.a This would actually fake the MTK6582 into being an MTK6572 with only one EBR1 instead of 2.

No even sure if that would work, was also a little curious as to, what if the EBR1 was editied like the one for the MTK6572, the Doogie was formatted and the MTK6572 EBR1 was loaded.
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
I don't seem to have a lot of cache for some reason, never used more than 50MB. Just checked now, max I have is 18MB, lol

I actually flashed THL system.img, lol, just to see whether it actually works but at least it went further (won't load android as I guess it is using different kernel, etc).

I see, if it is slow, then forget it, lol......I think I will install on a bootable HD as I don't want to mess my main system, lol (too many stuff on it, also need to sort out my TrueCrypt partition as they did a runner, lol)....That SARDU USB disk needs updating in any case :)

---------- Post added at 08:18 PM ---------- Previous post was at 08:12 PM ----------

I think I did this when I messed up the IMEI, lol....didn't work although I did load the original EBR2. I will have a another go....So basically, format, load false scatter with the new erb1 that you sent earlier and not select erb2 - can you confirm?

I will also try MTK6572 edited EBR1 if you can provide, I am confident now, lol....did you have a look at the Asus ERB files - any clue on them as Asus came with all internal storage?
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Cache

Noticed that with mine use about 156mb a day, so if were to redo the cache for myself, 200-250mb would be good. It was cool seeing the 3gb internal app space. 150 would probably work for you, even maybe 200, this would give you 3gb of app space.

If you have a USB stick, could always just install the bootable usb stick ubunto. Then in bios just change your boot pref from, think most PCs automatically go from CDROM to HD. Mine has an option to add usb, most probably do now. ould always just burn ubuntu to a cd, boot to the cd and do just the basic android hacking, the cd includes gparted.

Right now my HD is messed up from the electricity issues, it doesn't make sense to me here the wires are underground, so why does the power go out more then in NY? Maybe it's because the more use of AC, still reaching the mid 80s here in Alabame. Have bad sectors from the last power issue, probably going to have to do a zero fill on the HD and start new.

Saw somewhere about a mod where the EBR could be flashed via CWM, if that could be done, would just start over and forget about windows. Windows drives me nuts, doesn't like installing more then one android device driver at a time, snappea and pdanet lets you attached without problems but don't really like it when snappea keeps installing on the tablet.
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
Doogie Format did not work

I think 200 MB cache is more than enough for me…..

Driver issue is a pain with Doogie - as soon as I use ZTE or THL, MtkDroidTools just doesn’t recognise the Doogie anymore (have to restore from CloneZilla image to get stated again)…

Amway, I was curious as well, lol, so here are the results:

Formatted, used your last ERB1 and scatter file, did not select EBR2

Formatted, used your last ERB1 with the false scatter (no EBR2 so nothing to select in any case)-

Result: Did not work - this time it won’t even load Android – keep rebooting just after the boot animation, lol

Restoring now.....

Probably best to give up on Doogie, lol
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Repartiion Cache

Tried doing the cache mod last night, pretty much the same problem, just really messy. To trick the phone, like before, seem to remember having to manually format the cache and userdata to the new sizes, then flashing everything except for the cache and userdata. Next in CWM had to restore just the data and leave the cache alone, when tried formatting or restoring the cache, the phone just bricked.

Gave up after trying a few other things, said hell with it, not going to worry myself for an extra 175mb of space. If you want to play with it, i'll upload you the one for the ZTE, but if you have to go through all that, probably going to do the same issues with the nvram as before. Think the phone is faster anyways with more cache, seem to remember after lowering the cache before, the tablet slowed down a bit, seemed bit laggy.

Now for the THL if you wanted to try to increase the cache and decrease some of the data, you could see if the performance is better, but just like decreasing the cache, probably going to have to trick the phone. Was even considering myself about decreasing the cache by another 125mb, giving me a 500mb cache. There are some games I play that don't seem to perform real well, wondering if it's the cache, not really sure.
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Repartiion Cache

Tried doing the cache mod last night, pretty much the same problem, just really messy. To trick the phone, like before, seem to remember having to manually format the cache and userdata to the new sizes, then flashing everything except for the cache and userdata. Next in CWM had to restore just the data and leave the cache alone, when tried formatting or restoring the cache, the phone just bricked. Then to make sure that the backup in CWM always works, need to make a new backup so that the backup includes the modified cache.

Gave up after trying a few other things, said hell with it, not going to worry myself for an extra 175mb of space. If you want to play with it, i'll upload you the one for the ZTE, but if you have to go through all that, probably going to do the same issues with the nvram as before. Think the phone is faster anyways with more cache, seem to remember after lowering the cache before, the tablet slowed down a bit, seemed bit laggy.

In collage, in one computer class, the professor talked about space helping speed. Was something like, if you have a large HD programs will utilize the HD before jumping over to your ram. Another words, you could put a 6gb hd with a 16mb cache in a pc with 4gb of ram. If one were to install a 150gb hd with 32mb cache, with the same 4gb of ram, you will notice a better performance.

Now for the THL if you wanted to try to increase the cache and decrease some of the data, you could see if the performance is better, but just like decreasing the cache, probably going to have to trick the phone. Was even considering myself about decreasing the cache by another 125mb, giving me a 500mb cache. There are some games I play that don't seem to perform real well, wondering if it's the cache, not really sure.

Love the game spades, found one that can be played with other users, regular straight spades. After messing with the cache, forgot to format it back and noticed this morning that the game wouldn't open. Well just went in and reformated the cache back to default now it's running fine.

Yes, might just tweak my cache.
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Changing cache

Just finished a post on changing the cache size:

http://elizabethswikis.blogspot.com/2014/10/increasedecrease-mtk6572-cache.html

Increased mine from 376MiB to 512MiB and the tablet is like running my fingers over silk, LOL.
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Asus

Do you have a scatter.txt with that asus?

THink might be able to repartition that, looking at the cubot right now. With the cubot noticed that, in the scatter, unlike the Doogie, the EBR2 isn't protected, it is in the Doogie. Really think if you changed the doogie to false and did a format and download the mod would work, same for the cubot to, will do a quick partition, you can decide. :)
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
Sorry, has been bit unwell for last few days and still recovering…

Cached & System:

THL:	492mb System & 124mb Cache

ZTE:	997mb System 370MB cache

DG310:	885mb System and 124mb Cache

My objective was to decrease the system & cache on ZTE like THL so as to get more space for data partition. But if it means lower performance, and also the hassle of reducing the system.img file, then might well just leave it as it is.

I did format Doogie and tried the mod – it did not work (see post #57).

The reason I mentioned Asus was that they somehow merged all memory into internal storage (i.e. data partition, no phone storage). For some reason I am unable to create scatter file using MTK Droid for Asus. However, stock scatter is attached which looks different as well.
[Android Q&A, Help & Troubleshooting] bethnesbitt:
Making a scatter

Not a problem, hope you feel better soon. Took a break myself for a few days, got bored yesterday and decided to take a look at the other two devices, was curious.

If you go into:

adb shell

cat /proc/dumchar_info > firmware.info

I can make a scatter with that, or what you can do is take the firmware.info, in MTKdroid tools click scatter from file, navigate to the firmware.info and it will make one, or maybe it's spflash tools? Or if you want, just

adb shell

cat /proc/dumchar_info

it will look like this:

Part_Name	Size	StartAddr	Type	MapTo

preloader 0x0000000000600000 0x0000000000000000 2 /dev/misc-sd

mbr 0x0000000000080000 0x0000000000000000 2 /dev/block/mmcblk0

ebr1 0x0000000000080000 0x0000000000080000 2 /dev/block/mmcblk0p1

pro_info 0x0000000000300000 0x0000000000100000 2 /dev/block/mmcblk0

nvram 0x0000000000500000 0x0000000000400000 2 /dev/block/mmcblk0

protect_f 0x0000000000a00000 0x0000000000900000 2 /dev/block/mmcblk0p2

protect_s 0x0000000000a00000 0x0000000001300000 2 /dev/block/mmcblk0p3

seccfg 0x0000000000020000 0x0000000001d00000 2 /dev/block/mmcblk0

uboot 0x0000000000060000 0x0000000001d20000 2 /dev/block/mmcblk0

bootimg 0x0000000000600000 0x0000000001d80000 2 /dev/block/mmcblk0

recovery 0x0000000000600000 0x0000000002380000 2 /dev/block/mmcblk0

sec_ro 0x0000000000040000 0x0000000002980000 2 /dev/block/mmcblk0

misc 0x0000000000080000 0x00000000029c0000 2 /dev/block/mmcblk0

logo 0x0000000000300000 0x0000000002a40000 2 /dev/block/mmcblk0

expdb 0x0000000000a00000 0x0000000002d40000 2 /dev/block/mmcblk0

android 0x0000000028a00000 0x0000000003740000 2 /dev/block/mmcblk0p4

cache 0x0000000017800000 0x000000002c140000 2 /dev/block/mmcblk0p5

usrdata 0x0000000020000000 0x0000000043940000 2 /dev/block/mmcblk0p6

fat 0x0000000087040000 0x0000000063940000 2 /dev/block/mmcblk0p7

bmtpool 0x0000000001500000 0x00000000ff9f00a8 2 /dev/block/mmcblk0

then copy and paste in a message.

I'm looking to find a way to fix the blocks. If the blocks can be modified to match the EBR, then it should help with a a huge number of MTK devices that use EMMC. Also, thinking that there has to be some type of tool that the manufactures use to partition these devices. Unless somebody actually does sit there and manually partitions EBR/MBR in hex editors. Another road block I'm hitting is, ubuntu's gdisk doesn't really show all the partitions, for example, the MTK6582 have 4 partitions but gdisk is only showing 3, that is what is causing a block. Disktype shows all four, but being able to see the start and end sectors would help a great deal. There are other partition utilities in linux but the ones I've tried do not like the android EBR/MBR formats.

Taking the two MTK6582s you have will help me figure them out. Wish I had one myself, man I would brick and rebrick the way I did the 6572 to figure it out. Figure that If I could fix a zte merit brick and help a zte merit expert unbrick his, then there is no brick that can get the best of me, yet, LOL.
[Android Q&A, Help & Troubleshooting] chinapneuk2014:
there you go, its different to other ones:

PRELOADER 0x0
{
}
MBR 0xc00000
{
}
EBR1 0xc80000
{
}
__NODL_PMT 0xd00000
{
}
__NODL_PRO_INFO 0x1100000
{
}
__NODL_NVRAM 0x1400000
{
}
__NODL_PROTECT_F 0x1900000
{
}
__NODL_PROTECT_S 0x2300000
{
}
__NODL_SECCFG 0x2d00000
{
}
UBOOT 0x2d20000
{
}
BOOTIMG 0x2d80000
{
}
RECOVERY 0x3380000
{
}
SEC_RO 0x3980000
{
}
__NODL_MISC 0x3f80000
{
}
LOGO 0x4000000
{
}
__NODL_EXPDB 0x4300000
{
}
ANDROID 0x4d00000
{
}
CACHE 0x64d00000
{
}
USRDATA 0xa4d00000
{
}
__NODL_BMTPOOL 0xffff00a8
{
}

OR firmware info

preloader 0x0000000000c00000 0x0000000000000000 2 /dev/misc-sd
mbr 0x0000000000080000 0x0000000000000000 2 /dev/block/mmcblk0
ebr1 0x0000000000080000 0x0000000000080000 2 /dev/block/mmcblk0p1
pmt 0x0000000000400000 0x0000000000100000 2 /dev/block/mmcblk0
pro_info 0x0000000000300000 0x0000000000500000 2 /dev/block/mmcblk0
nvram 0x0000000000500000 0x0000000000800000 2 /dev/block/mmcblk0
protect_f 0x0000000000a00000 0x0000000000d00000 2 /dev/block/mmcblk0p2
protect_s 0x0000000000a00000 0x0000000001700000 2 /dev/block/mmcblk0p3
seccfg 0x0000000000020000 0x0000000002100000 2 /dev/block/mmcblk0
uboot 0x0000000000060000 0x0000000002120000 2 /dev/block/mmcblk0
bootimg 0x0000000000600000 0x0000000002180000 2 /dev/block/mmcblk0
recovery 0x0000000000600000 0x0000000002780000 2 /dev/block/mmcblk0
sec_ro 0x0000000000600000 0x0000000002d80000 2 /dev/block/mmcblk0p4
misc 0x0000000000080000 0x0000000003380000 2 /dev/block/mmcblk0
logo 0x0000000000300000 0x0000000003400000 2 /dev/block/mmcblk0
expdb 0x0000000000a00000 0x0000000003700000 2 /dev/block/mmcblk0
android 0x0000000060000000 0x0000000004100000 2 /dev/block/mmcblk0p5
cache 0x0000000040000000 0x0000000064100000 2 /dev/block/mmcblk0p6
usrdata 0x0000000305c00000 0x00000000a4100000 2 /dev/block/mmcblk0p7
bmtpool 0x0000000001500000 0x00000000ff3f00a8 2 /dev/block/mmcblk0

Played around with kubuntu (installed on a spare Laptop HD and loaded via USB) to try to extract\repack system.img (to reduce size so as to try your 3gb-110kb-EBR1-Scatter.txt/3gb-110kb-EBR1 on ZTE) but don't work (followed http://web.djodjo.org/?a=articles:android_articles:crackers:repack_ext4). I can extract on Windows but need to find out how to re-pack the damn system.img
[Android Q&A, Help & Troubleshooting] NaturalBornCamper:
Hay Elizabeth!

I read your blog 2 times plus other info on MBR and EBR1 files and I am still completely lost and it doesn't make sense to me.

I have a MTK6572 (Cubot P5, bastard brand, works ok) but I'm tired of being limited in space with all the apps being heavier and heavier with each update. I don't want to eradicate the internal sd-card, I just want to take around 1gb of its 1.27GB and add it to userdata. Now I read several posts on internet and I am confused because the EBR1 and MBR files have partitions with sizes that don't make sense (2TB) and such, and I just cannot understand how to work these stupid files, whatever how many tutorials I read, as they all seem to contradict or do several things.

Tried that guy's files as well but I get checksum errors in SPFlash tool:

http://xdaforums.com/showpost.php?p=55106479&postcount=1

So I thought maybe that it would work to only change the scatter file like a guy is doing in one of his posts on XDA, would that work?

http://xdaforums.com/showpost.php?p=55160827&postcount=100

It looks a lot easier than editing MBR and EBR1 that I don't get. But then on your blog, you seem to only modify EBR1 and not the scatterfile...??

Which am I supposed to do?

1-Edit scatter file AND EBR1?

2-Edit only scatter file?

3-Edit only EBR1?

It pisses me off because I am a software engineer and I can get on with pretty much anything by myself but I just can't understand MBR and EBR1 GRRRRR!!

Thank ya!

Marco