4GB app storage Patch for gionee m2 8 GB model - Gionee M2

4 GB app storage for Gionee M2 / Qmobile M90 / Walton Primo HM
what this patch would do ?
It will solve the problem of low app storage i.e 1.78 GB permanently and you will have 4GB app storage and 1.78 GB internal SD permanently . once you have flashed this patch according to the instructions given below it wont be affected by flashing roms or mods unless you flash your phone with SP tools , even with sp tools you can keep this layout by just replacing the files given in firmware with the files (scatter EBR1 , EBR2 given in Zip file) be sure to check firmware upgrade or you may see PMT changed error.
Which model is this patch for ?
It is for the following
Gionee m2 8GB
Qmobile M90
Walton Primo HM 8 GB
Which model is not supported?
Gionee m2 4GB
Procedure
1) Backup current ROM using CTR or TWRP
2) Download the file (place in external SD otherwise this script will fail as internal SD and data will need to be wiped after this MOD)
3) Flash with TWRP / CTR
4) Restore the backup made with recovery (Crucial, other wise use recovery to advance wipe data and internal storage to make these partitions ready to mount in android OS)
5) Done
6) If you need to flash stock rom with sp-tool and want to retain this setup just replace these EBRs in stock Firmware and use firmware upgrade option (otherwise you may see PMT changed error)
Link for the patch is below
https://mega.nz/#!jU5AybKA!mqlVZl9UjUGlppB89UDT-wAWNmId_PSBzMdN5_Ah2I0

Muhammad Faraz said:
4 GB app storage for Gionee M2 / Qmobile M90
Procedure
1) Backup current ROM using CTR or TWRP
2) Download the file (place in external SD otherwise this script will fail as internal SD and data will need to be wiped after this MOD)
3) Flash with TWRP / CTR
4) Restore the backup made with recovery (Crucial, other wise use recovery to advance wipe data and internal storage to make these partitions ready to mount in OS)
5) Done
6) If you need to flash stock rom with sp-tool and want to retain this setup just replace these EBRs in stock Firmware and use firmware upgrade option (otherwise you may see PMT changed error)
Link for the patch is below
https://mega.nz/#!jU5AybKA!mqlVZl9UjUGlppB89UDT-wAWNmId_PSBzMdN5_Ah2I0
Click to expand...
Click to collapse
I have installed resurrection remix in my device and after that 4 GB of my 8 GB phone has been unmounted. Tried to fix that with your file it didn't worked. Tell me how can i fix that.

Sanchayan De said:
I have installed resurrection remix in my device and after that 4 GB of my 8 GB phone has been unmounted. Tried to fix that with your file it didn't worked. Tell me how can i fix that.
Click to expand...
Click to collapse
This post is not about fixing internal storage not mounting , please search relevant posts however decompile framework.res.apk and replace storage list.xml from working cm based rom . also take boot img from the rom in which storages mount properly

Would this work for the 4gb model?
It worked for my 8gb but my GF has the 4gb

eokwuanga said:
Would this work for the 4gb model?
It worked for my 8gb but my GF has the 4gb
Click to expand...
Click to collapse
No it wont because of practical limitation of internal memory , if you see the partition size of her phone she will have almost 700 MB of internal SD , so swapping would not be possible as internal sd is already smaller than app storage

eokwuanga said:
Would this work for the 4gb model?
It worked for my 8gb but my GF has the 4gb
Click to expand...
Click to collapse
how to install this patch..

Related

[Q] Broken rom after clockwork backup restore

I have installed custom rom from zip and used it for several weeks.
Today I have decided to try new rom and I have made a backup trough CWM (6.0.2.5) in format .tar
I have tried to restore the backup. but the phone gives me a really strange error.
Encryption Failed. The system .. bla bla bla ... you need to reset your phone ..
I have tried to factory reset trough CWM, but the problem is the same.
I have tried to restore older backup ... the same error ...
Any ideas what is the problem and now to fix it (restore the rom)
I have tried the following ..
1. format /system /cache / data
2. install custom rom (CivZ v3.0)
3. take the setup wizard
4. reboot into recovery (CWM 6.0.2.5)
5. backup (.tar format)
6. restore from the backup
and .. the same error and no working rom ..
Can this be an internal SD memory problem ?
Any ideas ???
Anyone
Try backing up to external SD card. If that works, or you dont have an external SD card, backup and repartition your internal SD using AIO toolkit (choice 4 in the toolkit, then select the new unlocked ICS bootloader, and 512 MB system partition, or whatever your preferred size is, then run the internal SD fixer which follows that step) and try again.
The backup is on external SD
I have already repartitioned the internal SD with the default ICS layout (1.5G system)
hack_man said:
The backup is on external SD
I have already repartitioned the internal SD with the default ICS layout (1.5G system)
Click to expand...
Click to collapse
Then try backing up to the internal SD and also try changing recovery to TWRP.
I have already tried TWRP but it cannot restore CWM backup
Currently I have stock rom , but I cannot rollback to the previous rom backup.
a few days ago I have used some app (found here in XDA) for optimizing internal SD .. is it possible this app to broke something in the internal SD ?
hack_man said:
I have already tried TWRP but it cannot restore CWM backup
Currently I have stock rom , but I cannot rollback to the previous rom backup.
a few days ago I have used some app (found here in XDA) for optimizing internal SD .. is it possible this app to broke something in the internal SD ?
Click to expand...
Click to collapse
Hi! I assume that you were using the stock ics rom. Right? Stock ics use system partition as ext4 but data and cache are used as ext3. Since TWRP and CWM format data and cache as ext4 you cannot use your old backup of stock ics rom, unless you format both (data and cache) to ext3.
I created a zip which converts data and cache to ext3. Download from my attachment.
Flash the zip file then restore your backup.
Thanks :victory:
I will try

[Q] Help: Cant mount my external SD card under ClockworkMod Recovery

Please need help with this
have searched for this topic but cant find this problem under gt-n7000 only other phones.
Jelly bean stock rom
cwm base version: 6.0.3.2
Rooting is ok. used dr ketan. got root, safe kernel(philz) and cwm (cwm base version: 6.0.3.2)
Want to make back up of my stock rom which is strongly recommended (read an articel: http://www.droidviews.com/things-to-do-before-and-after-installing-a-rom-troubleshooter/)
Want to make a back up of my stock rom to my external sd with rom manager. So if I get into bootloop or something I can access my stock-rom on my ext. sd
ClockworkMod Recovery will not mount my SD card (Sandisk 32 gb ultra class 10) and posts "Error mounting /external_sd!"
Get access when I go into myfiles app. Have moved all contants to pc. and formatted with my pc( here I dont get to choose any file system - only formatting. dont know if its ntsf or fat32 or anything else. After doing this I get the same result/error in cwm
when formatting locally on the phone also same result.
Hope anybody know how to fix this
Thanks in advance
Thomas
tkolst said:
Please need help with this
have searched for this topic but cant find this problem under gt-n7000 only other phones.
Jelly bean stock rom
cwm base version: 6.0.3.2
Rooting is ok. used dr ketan. got root, safe kernel(philz) and cwm (cwm base version: 6.0.3.2)
Want to make back up of my stock rom which is strongly recommended (read an articel: http://www.droidviews.com/things-to-do-before-and-after-installing-a-rom-troubleshooter/)
Want to make a back up of my stock rom to my external sd with rom manager. So if I get into bootloop or something I can access my stock-rom on my ext. sd
ClockworkMod Recovery will not mount my SD card (Sandisk 32 gb ultra class 10) and posts "Error mounting /external_sd!"
Get access when I go into myfiles app. Have moved all contants to pc. and formatted with my pc( here I dont get to choose any file system - only formatting. dont know if its ntsf or fat32 or anything else. After doing this I get the same result/error in cwm
when formatting locally on the phone also same result.
Hope anybody know how to fix this
Thanks in advance
Thomas
Click to expand...
Click to collapse
Tried to format the ext sd card to exFat. Still error message !!!
CLOSED!!!!!!!

Some help with Dual Boot

Finaly i find a way to make phone to boot from SD (Android 5.0.2)...but i need a app (or recovery script) to swith with Internal Rom..
Any can help me?
Done..I find a way. I flash boot.img for internal/external (if i need internal i flash internal, if i need external i flash external)
Use Internal with Android 4.4.4 and External with Android 5.0.2
il3gal said:
Finaly i find a way to make phone to boot from SD (Android 5.0.2)...but i need a app (or recovery script) to swith with Internal Rom..
Any can help me?
Done..I find a way. I flash boot.img for internal/external (if i need internal i flash internal, if i need external i flash external)
Use Internal with Android 4.4.4 and External with Android 5.0.2
Click to expand...
Click to collapse
Can you please explain what you did? You are the first person Ive read about who enabled dual boot for the i9305! AND EVEN WITH LOLLIPOP:laugh:
il3gal said:
Finaly i find a way to make phone to boot from SD (Android 5.0.2)...but i need a app (or recovery script) to swith with Internal Rom..
Any can help me?
Done..I find a way. I flash boot.img for internal/external (if i need internal i flash internal, if i need external i flash external)
Use Internal with Android 4.4.4 and External with Android 5.0.2
Click to expand...
Click to collapse
How? can you make a tutorial for the dual boot process?
Sorry about that but i dont now so much about android. I find blocks for SD Card and i modify boot.img (for external rom)
I explain on large.
Legend:
iBoot = Internal Boot.img
eBoot = External Boot.img
First time do a full backup on sdcard and rom. (i make from recovery)
1. Make a backup on iBoot from Terminal: dd if=/dev/block/platform/dw_mmc/by-name/BOOT of=/sdcard/iBoot.img
2. (i mount sdcard from recovery to partitioning) Make a 3 other partition (i use MiniTool) for system/cache/data
First partiton is SD CARD (fat32) (i split from here 7gb..i have sd 16gb)
Second is a primary ext4 partition for system..i put 1,5gb
Third is a primary ext4 partition for cache..i put 800mb
And last is a primary ext4 partition for data..i put free remaining..~4gb
3. On External Rom, need to unpack boot.img and go to fstab. file to replace:
/dev/block/platform/dw_mmc/by-name/SYSTEM to /dev/block/mmcblk1p2
/dev/block/platform/dw_mmc/by-name/CACHE to /dev/block/mmcblk1p3
/dev/block/platform/dw_mmc/by-name/USERDATA to /dev/block/mmcblk1p4
and repack boot.img
(and make a copy on desktop like eBoot.img) put back on archive and go to META-INF\com\google\android\updater-script and edit ALL line
/dev/block/platform/dw_mmc/by-name/SYSTEM to /dev/block/mmcblk1p2
/dev/block/platform/dw_mmc/by-name/CACHE to /dev/block/mmcblk1p3
/dev/block/platform/dw_mmc/by-name/USERDATA to /dev/block/mmcblk1p4
save..sign archive
4. make 2 archives with iBoot.img and eBoot.img (to switch bethen need a normal flash iBoot or eBoot) (i put 1 archive in attachament for eBoot...for example)(for switch rom need to flash boot.img for Internal or External rom)
5. Flash External Rom (with meta and boot.img changed)
6. Reboot..wait to external rom make files (data files and others)
7. If you want to change rom, enter in recovery and flash iBoot (for internal) and eBoot (for external).
I use 4.4.4 (AMCHA Rom KK for i9305) (for internal ..and this is rom for daily)
And 5.0.2 (NamelessROM 2.0 [BETA] [20150106][Blazing Fast]) (on external..temporary)
I dont now if it work with all rom
I'm not developer
If you dont now how unpack/repack boot.img or sign a zip file..search on google, dont ask me about this
I'm realy happy if a developers was extend this and make a Kernel for this (or App)
i'm inspire from http://forum.xda-developers.com/showthread.php?t=2639112
Sorry for english...And i dont now if this method works for everybody.
edit: Dont forget to unmount /system /data /cache partition before flash ExternalROM.
Thanks for the tutorial, I will try to reproduce the steps when I'm free. Don't worry your English is comprehensible.
LucasBass said:
Thanks for the tutorial, I will try to reproduce the steps when I'm free. Don't worry your English is comprehensible.
Click to expand...
Click to collapse
For some reason if flash eBoot and use External Rom..and you want to go back on Internal Rom..when flash iBoot and restart phone..some time was stuck in bootloader..for solve this (temporary i think), go back in cwm..flash again iBoot, go to Advanced and Reboot in CWM..after phone reboot in cwm, press Reboot devices (normaly)..i dont now why is this problem
other thing is: you can flash without problem other rom on internal. (i try today to flash again 4.4.4). external not affected BUT after flash, need to make backup on iBoot ..i dont now why (because i flash same rom with same configuration)..
Now i use on external: Resurrection_Remix_LP_v5.3.0-20150119-i9305.zip and it works grate
I like people who like try new things . If you need help or you stuck , pm me.
Good luck
Hehe
You mean, you did it as well? and you will try to write it down. Or you will start trying.
I have only once repartioned something before, so I'll wait for good instructions.
Uberharm said:
You mean, you did it as well? and you will try to write it down. Or you will start trying.
I have only once repartioned something before, so I'll wait for good instructions.
Click to expand...
Click to collapse
I'm sorry about instructions..but i search on google all info for try Dual Boot...i dont speak english because i'm from Romania.
I try to explain how i make Dual Boot (manualy) for developers...to make this option much easy..
Someone really needs to make a script! I think this could be implemented in a custom recover. All we need now is just a complete step by step guide.
Thanks in advance to the developer who's going to write this down! ☺

【mod】【dual boot】 lollipop/kitkat

WARNING - I AM NOT RESPONSIBLE FOR WHATSOEVER DAMAGE CAUSED TO YOU OR YOUR DEVICE OR YOUR SD CARD ITS YOU WHO IS TAKING RISK SO YOU WILL BE RESPONSIBLE FOR THE SAME ,THIS IS A POTENTIALLY RISKY THING SO BEWARE THAT YOU DONT DO ANYTHING OUT OF GUIDE BY VIRTUE OF YOUR DISCRETION.
Note :- This guude may at times may frustrate you but keep patience as its fruits will b sweet
Note2 :- Sd card recommended is class 10 and not class 6 as per my experience on lollipop this os require high io capabilities.
Note3:-This guide is made around twrp recovery so philz lovers may have problem with this ,sorry for that but cant do anything about that, a addition in custom twrp will be that you can backup/restore NVRAM AND OEM PARTITIONS.
So now lets start
.1.First of all we start with partitioning sdcard;
Warning : backup your sdcard before partitioning.
(i) Partition the sdcard in 4 parts (for this you can use Gparted(Ubuntu) or mini partition tool (windows))
(ii)For 32gb sdcard (my partition sizes)
P1 size 24.6 GB filesystem fat32 To be used as mass storage(Primary partition)
P2 size 900 MB filesystem EXT4 To be used as /system(Primary partition)
P3 size 4 GB filesystem EXT4 To be used as /data (Primary partition)
P4 size 150 MB filesystem EXT4 To be used as /cache (Primary partition)
Note : you can vary these sizes according to your need ad storage constraints but no no /system /data /cache shall b less than 800mb 1gb 70mb respectively.
(iii) Now comes rom installing part;
Note : Prefer to keep stable ROMs like stock kk or cm11 on internal and bleeding edge ROMs like lollipop on sd.
(a) if you installing lollipop 5.1 By backup then ,
- using philz restore it, guve it first boot;
-switch to official twrp backup the /system /data /cache and name tge backup as "lollipop"
-Install whichever rom you want in internal storage (preferably kk);
-Now switch to custom TWRP recovery (download link given in end of this post);
-paste in the lollipop backup "boot" backup(boot.emmc.win) and (download link given in end of this post);
(b)if you are installing lollipop rom by zip then
-edit updater script of the rom's zip and change the partition address
Open updater script with notepad++
Find - mmcblk0p14
Replace with - mmcblk1p2
Find - mmcblk0p16
Replace with - mmcblk1p3
Find - mmcblk0p15
Replace with - mmcblk1p4
-save it;
-repack tge zip;
-Besure that you are on custom TWRP
-FLASH ZIP
-done.
Congratulations you have dual booted your phone
(iv)To switch between the ROMs you just have to to flash /boot partition
-for booting into sd's rom (lollipop) restore lollipop backup's boot;
-For booting into emmc's rom flash that rom's boot.imh
(For convenience and ease backup emmc rom's boot by twrp and then whenever you want to switch just restore emmc's or sd's(given in download link) rom boot backup as the caee may be reboot into system)
FAQs
Q.Why kk on internal and lollipop on sd
Ans. So that on one hand you can live on bleeding edge while not compromising stability.
Q Is there any danger to my sd card?
Ans. Yes, it may be corrupted( but its rare).
Dowload links
"Boot" backup
https://mega.co.nz/#!M55UBT4K!_qaXRcIxEs5yiP7wRzGJAbRRNav6YV3XZIcWni3C0pg
Custom TWRP
https://mega.co.nz/#!h5QnEahb!A9fGbws11yd27vh9gBz3X9HCbJYn6PHLdMFgYeAJEPw
Suppose I don't want dual boot and I wan't my lollipop's /data partition only to be on the SD card with other partitions on the Internal memory, will I be able to do it by changing the updater script as "Find - mmcblk0p16
Replace with - mmcblk1p3" from your guide and keeping the other partitions unchanged?? Or do I have to do other changes?? Thanks in advance...
Massive one ....much waited for this
varunrocks17 said:
WARNING - I AM NOT RESPONSIBLE FOR WHATSOEVER DAMAGE CAUSED TO YOU OR YOUR DEVICE OR YOUR SD CARD ITS YOU WHO IS TAKING RISK SO YOU WILL BE RESPONSIBLE FOR THE SAME ,THIS IS A POTENTIALLY RISKY THING SO BEWARE THAT YOU DONT DO ANYTHING OUT OF GUIDE BY VIRTUE OF YOUR DISCRETION.
Note :- This guude may at times may frustrate you but keep patience as its fruits will b sweet
Note2 :- Sd card recommended is class 10 and not class 6 as per my experience on lollipop this os require high io capabilities.
Note3:-This guide is made around twrp recovery so philz lovers may have problem with this ,sorry for that but cant do anything about that, a addition in custom twrp will be that you can backup/restore NVRAM AND OEM PARTITIONS.
So now lets start
.1.First of all we start with partitioning sdcard;
Warning : backup your sdcard before partitioning.
(i) Partition the sdcard in 4 parts (for this you can use Gparted(Ubuntu) or mini partition tool (windows))
(ii)For 32gb sdcard (my partition sizes)
P1 size 24.6 GB filesystem fat32 To be used as mass storage(Primary partition)
P2 size 900 MB filesystem EXT4 To be used as /system(Primary partition)
P3 size 4 GB filesystem EXT4 To be used as /data (Primary partition)
P4 size 150 MB filesystem EXT4 To be used as /cache (Primary partition)
Note : you can vary these sizes according to your need ad storage constraints but no no /system /data /cache shall b less than 800mb 1gb 70mb respectively.
(iii) Now comes rom installing part;
Note : Prefer to keep stable ROMs like stock kk or cm11 on internal and bleeding edge ROMs like lollipop on sd.
(a) if you installing lollipop 5.1 By backup then ,
- using philz restore it, guve it first boot;
-switch to official twrp backup the /system /data /cache and name tge backup as "lollipop"
-Install whichever rom you want in internal storage (preferably kk);
-Now switch to custom TWRP recovery (download link given in end of this post);
-paste in the lollipop backup "boot" backup(boot.emmc.win) and (download link given in end of this post);
(b)if you are installing lollipop rom by zip then
-edit updater script of the rom's zip and change the partition address
Open updater script with notepad++
Find - mmcblk0p14
Replace with - mmcblk1p2
Find - mmcblk0p16
Replace with - mmcblk1p3
Find - mmcblk0p15
Replace with - mmcblk1p4
-save it;
-repack tge zip;
-Besure that you are on custom TWRP
-FLASH ZIP
-done.
Congratulations you have dual booted your phone
(iv)To switch between the ROMs you just have to to flash /boot partition
-for booting into sd's rom (lollipop) restore lollipop backup's boot;
-For booting into emmc's rom flash that rom's boot.imh
(For convenience and ease backup emmc rom's boot by twrp and then whenever you want to switch just restore emmc's or sd's(given in download link) rom boot backup as the caee may be reboot into system)
FAQs
Q.Why kk on internal and lollipop on sd
Ans. So that on one hand you can live on bleeding edge while not compromising stability.
Q Is there any danger to my sd card?
Ans. Yes, it may be corrupted( but its rare).
Click to expand...
Click to collapse
http://www.amazon.in/gp/aw/d/B00L543E3K?qid=1426133570&sr=8-5&vs=1
Can i use this card in canvas a1 for dual boot help me i want to buy or recommend any other
sauron_sh said:
http://www.amazon.in/gp/aw/d/B00L543E3K?qid=1426133570&sr=8-5&vs=1
Can i use this card in canvas a1 for dual boot help me i want to buy or recommend any other
Click to expand...
Click to collapse
I will recommend sandisk ultra as m using it...but abovementioned also seems to b good
xdaaritra said:
Suppose I don't want dual boot and I wan't my lollipop's /data partition only to be on the SD card with other partitions on the Internal memory, will I be able to do it by changing the updater script as "Find - mmcblk0p16
Replace with - mmcblk1p3" from your guide and keeping the other partitions unchanged?? Or do I have to do other changes?? Thanks in advance...
Click to expand...
Click to collapse
No bro a nw boot.IMG is needed for that btw i have tried that n lost my strontium 466x 32gb as it was corrupted.... so its very risly
D2sd is unstable n very risky
Can I dual boot 2 lollipop roms?
akhilnarang said:
Can I dual boot 2 lollipop roms?
Click to expand...
Click to collapse
Yes u can jus install a general recovery n install/restore a lollipop rom on emmc......but u can install only stock lollipop on sd
More instructions
I am very interested in this thread, I think this is the greatest thread that I can find on Android One Cross-Device General.
But because I still noobs, I had trouble for following the instructions and always stuck in the last step on how to restore the .img file of kk(internal) and Lollipop(sd). I think this thread is too simple and less can be understood for a noobs like me.
So, would you like to add more explanations to help me follow the instructions so that I can make my phone into dual boot mod.
thanks in advance..
userdata only in SD card
userdata in SD card is working and im using it now. I'm on Marshmallow latest.
???you need to edit fstab in boot.img.

Huawei p8 Lite Internal Memory Problem

I have rooted and install the custom rom but failed and then i again install my stock firmware but now the issue is my internal storage is missing now i have only 2.40GB of internal storage available can any one help me how to format the internal storage and take my 16GB memory back
farhats3274 said:
I have rooted and install the custom rom but failed and then i again install my stock firmware but now the issue is my internal storage is missing now i have only 2.40GB of internal storage available can any one help me how to format the internal storage and take my 16GB memory back
Click to expand...
Click to collapse
Flash twrp, full wipe, format data, install stock b638, factory reset with stock recovery, install twrp sgsin, full wipe than install persona's mod. That's it.

Categories

Resources