[GUIDE][DEVS] Multi Boot MTK Devices - Miscellaneous Android Development

This is not a guide for noobs or a step by step guide, but it is extremely easy for devs who have knowledge of all the things mentioned here.
As always, do anything at your own risk.
Require things+knowledge of:-
1. MTK Device's boot.img and custom recovery.img (CWM/TWRP/etc)
2. Windows PC with Cygwin and MT65xx .img unpack/repack scripts
3. Notepad++
4. A Class 6 or better Micro SD Card+a good card reader (lower than class 6 will give you lags/phone freeze, but, it'll work)
5. Mini tool partition wizard
6. Working roms for your device
7. A compression tool (i use 7zip)
8. Mobile uncle tool (google play, apk) installed in phone (or sp flash tool in pc, if you want it this way )
Steps:-
1. PARTITIONING MEMORY CARD:
Plug your memory card using card reader and copy everything from it to PC as we are going to partition it.
All partitions are PRIMARY
Select your card in mini tool and delete the partition. Partition it as follows-
First Partition-FAT32 (total memory card size-1924mb) <----- SD CARD
This is the space you will see as your memory card (external sd) in both of your roms.
Second Partition-EXT4 (550mb) <------ SYSTEM
This is System Partition of Second Rom
Third Partition-EXT4 (1024mb) <----- DATA
This is Data Partition of Second Rom, apps will go here
Fourth Partition-EXT4 (350mb) <----- CACHE
You can reduce it a bit more if you want to.
2. PREPARING SECONDARY ROM'S ZIP:
Get the updater-script of the rom you want to dual boot and open it up in notepad++
Press ctrl+F in notepad++ and go to replace tab.
Find what-mmcblk0p3 (may differ for different devices, look for "mount("ext4", "EMMC", "/dev/block/mmcblk0p3");" in updater script to know)
Replace with-mmcblk1p2
Save it and move it back to its location in zip (META-INF\com\google\android)
Note: if there is data folder in rom's zip then you also have to replace data partition block with mmcblk1p3, like: mmcblk0p5--->mmcblk1p3
3. PREPARING SECONDARY ROM'S BOOT.IMG:[/COLOR]
Unpack boot.img of the rom you want to dual boot using mt65xx tool and cygwin.
Open notepad++ and drag and drop all files of ram-disk to notepad++
Once again, find and replace:
Find what-[email protected]
Replace with-mmcblk1p2
Find what-[email protected]
Replace with-mmcblk1p3
Find what-[email protected]
Replace with-mmcblk1p4
Save all and pack the ram-disk with kernel to dualboot.img
4. PREPARING SECONDARY ROM'S RECOVERY (OPTIONAL IF YOU DON'T WANT TO CHANGE THE SECONDARY ROM EVER):[/COLOR]
Unpack recovery.img like your unpacked boot.img and open 'etc\recovery.fstab' with notepad++
Edit from this-
Code:
# mount point fstype device [device2]
/boot emmc /dev/bootimg
/cache ext4 [COLOR="red"]/[email protected][/COLOR]
/data ext4 [COLOR="red"]/[email protected][/COLOR]
/misc emmc /dev/misc
/recovery emmc /dev/recovery
/emmc vfat /[email protected]
/system ext4 [COLOR="red"]/[email protected][/COLOR]
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
/sd-ext auto [COLOR="red"]/dev/block/mmcblk1p2[/COLOR]
to this
Code:
# mount point fstype device [device2]
/boot emmc /dev/bootimg
/cache ext4 [COLOR="red"]/dev/block/mmcblk1p4[/COLOR]
/data ext4 [COLOR="red"]/dev/block/mmcblk1p3[/COLOR]
/misc emmc /dev/misc
/recovery emmc /dev/recovery
/emmc vfat /[email protected]
/system ext4 [COLOR="red"]/dev/block/mmcblk1p2[/COLOR]
/sdcard vfat /dev/block/mmcblk1p1 /dev/block/mmcblk1
#/sd-ext auto [COLOR="red"]/dev/block/mmcblk1p5[/COLOR]
Save and pack the edited one as dualrecovery.img.
5. MAKING UPDATE.ZIP FOR BOOT.IMG:
Download Boot.zip, copy it once, open Boot.zip with 7zip and place your Primary Rom's boot.img (replace the dummy one) in it with meta-inf folder.
Rename the Copy of Boot.zip to DualBoot.zip and place Secondary Rom's boot.img (the one you edited in step 3) in it with meta-inf folder.
6. SETTING UP IN MEMORY CARD:
a. Move all initially copied files back to your card
b. Create 2 folders with names:
"1Primary Rom"
"1Secondary Rom"
In "1Primary Rom" copy/move-
a. Boot.zip
c. Primary Rom.zip (not required)
In "1Secondary Rom" copy/move-
a. DualBoot.zip
b. Secondary Rom.zip
7. FLASHING/SWITCHING ROMS:
Just reboot to recovery and flash the Secondary rom from "1Secondary Rom' folder and after that flash "DualBoot.zip"
You will be rebooted to secondary rom automatically.
To Switch Roms, Reboot to recovery and flash Boot.zip for primary and DualBoot.zip for secondary rom.
8. SYNC DATA OF APPS BETWEEN ROMS:
Like in my case, if you want to test/use both rom at the same time or want to use features of both roms at the same time, consider making a filter in primary rom's titanium backup, of user apps which are common in both the roms, and export the list to clipboard.
Create a widget of ti backup up to 'backup all modified data' and use the filter you just created.
Open any file explorer (i use es file explorer) and create a new text file and past the list of apps (you exported to clipboard in ti backup), save it.
Reboot to secondary rom, open that text file, copy everything, open ti backup, create filter, import from clipboard, save and create a widget same way.
Restore date of this filter in secondary rom.
Whenever you want to switch rom, tap the widget, reboot to secondary/primary rom, restore filter.
For contacts, calender, browser bookmarks, etc, use google account to sync in both roms.
Notes:
1. By this folder preparation in memory card, you will get these two folders at the top in cwm recovery, this is for ease only.
2. If you want to use data on sd kind of thing, use mmcblk1p5 instead of mmcblk1p2 (not tested if data on sd will work or not with secondary rom)
3. If you want to apply any update to secondary rom, check the updater-script of the update if there is a need to edit mount path (mmcblk0p3-->mmcblk1p2)
4. Recovery for secondary rom should be flashed using mobile uncle tools/sp flash tool before flashing secondary rom, second time. As this time we will need to wipe data, cache, dalvik-cache and system if required.
Now Press THANX And Subscribe
My Work:
Mods For Lg L3 E405 Dual
Micromax Canvas Music Kernel Development Thread
How to mod lewa os PIM.apk (sms)
Multi Boot MTK Devices
Custom recoveries for Canvas Music A88 and Canvas 2 A110
Micromax Canvas Music Custom Rom's Patches
MT6577 Auto Focus Fix

Will try this out when i get to go back in win7. Thanks for sharing this bro!
Sent from my H120 using Tapatalk

AMAZING MAN!!!
Will give it a try!!

dnle71 said:
Will try this out when i get to go back in win7. Thanks for sharing this bro!
Sent from my H120 using Tapatalk
Click to expand...
Click to collapse
Shivam Bhalla said:
AMAZING MAN!!!
Will give it a try!!
Click to expand...
Click to collapse
i was still editing it when you replied. i guess there was a huge need of this.

Sudeep Duhoon said:
i was still editing it when you replied. i guess there was a huge need of this.
Click to expand...
Click to collapse
As you know buddy there's nothing much happening for MTK devices we didnt have Cyanogen Mod we didnt have source codes for our devices and there are so much development in other sections of other devices but nothing for us. So each and every new thing is very precious for our MTK devices.
Again Thanks for this tutorial !!! :good:

Looks good, thanks
This looks like the same mod i did for my old ZTE Blade, from the MoDaCo forum.
Great MOD.
Will try it on the next weekend :good:

superdragonpt said:
Looks good, thanks
This looks like the same mod i did for my old ZTE Blade, from the MoDaCo forum.
Great MOD.
Will try it on the next weekend :good:
Click to expand...
Click to collapse
I have never had a zte blade, but i did got a lg optimus. I got inspired from data on sd mod and tried system on sd, got success. Tried the same on canvas music and not to my surprise, worked again.
Will edit more to make this better.
Sent from one and only Canvas 4 unnamed rom for canvas music

Sudeep Duhoon said:
I have never had a zte blade, but i did got a lg optimus. I got inspired from data on sd mod and tried system on sd, got success. Tried the same on canvas music and not to my surprise, worked again.
Will edit more to make this better.
Sent from one and only Canvas 4 unnamed rom for canvas music
Click to expand...
Click to collapse
You mean by tassadar? From p500 forum?
Sent from my H120 using Tapatalk

dnle71 said:
You mean by tassadar? From p500 forum?
Sent from my H120 using Tapatalk
Click to expand...
Click to collapse
I don't remember as it's around 6 7 months now.
Sent from one and only Canvas 4 unnamed rom for canvas music

Sudeep Duhoon said:
I have never had a zte blade, but i did got a lg optimus. I got inspired from data on sd mod and tried system on sd, got success. Tried the same on canvas music and not to my surprise, worked again.
Will edit more to make this better.
Sent from one and only Canvas 4 unnamed rom for canvas music
Click to expand...
Click to collapse
Yeah the base MOD and the principal is the same, well done for porting to our platform
Just tested, so far so good ; )
This is something i will use, still, maybe i (we) can improve this MOD

Class! Space for improvements, in terms of switching and all that. Well done man!

Woah... Dual boot.... Wish i still had my xolo a1000... But then again I got a lot of followers who are willing to test it for me here in my country... Will try this soon .. Great job... Thanks. For sharing it
Sent from my GT-I9070 using xda app-developers app
---------- Post added at 12:51 PM ---------- Previous post was at 12:48 PM ----------
Btw... This just came to my head... Since external sdcard requires class 6 or greater.. Have you tried using the internal sdcard if it yields good results???
Sent from my GT-I9070 using xda app-developers app
---------- Post added at 12:51 PM ---------- Previous post was at 12:51 PM ----------
Btw... This just came to my head... Since external sdcard requires class 6 or greater.. Have you tried using the internal sdcard if it yields good results???
Sent from my GT-I9070 using xda app-developers app

thirdzcee said:
Woah... Dual boot.... Wish i still had my xolo a1000... But then again I got a lot of followers who are willing to test it for me here in my country... Will try this soon .. Great job... Thanks. For sharing it
Sent from my GT-I9070 using xda app-developers app
---------- Post added at 12:51 PM ---------- Previous post was at 12:48 PM ----------
Btw... This just came to my head... Since external sdcard requires class 6 or greater.. Have you tried using the internal sdcard if it yields good results???
Sent from my GT-I9070 using xda app-developers app
---------- Post added at 12:51 PM ---------- Previous post was at 12:51 PM ----------
Btw... This just came to my head... Since external sdcard requires class 6 or greater.. Have you tried using the internal sdcard if it yields good results???
Sent from my GT-I9070 using xda app-developers app
Click to expand...
Click to collapse
I am using internal sd in data partition for primary rom and moved apps to external s de for secondary rom, so i can't try. And it will be a bit difficult to partition internal sd according to our wish.
This way i get,
For primary rom-
580mb system
2.5gb data
50mb internal sd
26.76 gb external sd
For secondary rom-
550mb system
1536mb data
200mb cache
26.76 gb sd
Sent from one and only Canvas 4 unnamed rom for canvas music

Demo please.
Why don't you guys take a video and post its link? Atleast those who were not able to follow the OP can enjoy seeing the instructions in action. A fantastic idea and a fantastic guide as it is apparently working.
Thank you all once again.

hariks0 said:
Why don't you guys take a video and post its link? Atleast those who were not able to follow the OP can enjoy seeing the instructions in action. A fantastic idea and a fantastic guide as it is apparently working.
Thank you all once again.
Click to expand...
Click to collapse
The famous restriction with me-limited data.
Can't upload vid.
Sent from one and only Canvas 4 unnamed rom for canvas music

A video speaks a million words.
Sudeep Duhoon said:
The famous restriction with me-limited data.
Can't upload vid.
Sent from one and only Canvas 4 unnamed rom for canvas music
Click to expand...
Click to collapse
Any other takers ?

awesome idea

great guide !!!
I enjoyed going through the guide very easy had a few minor adjustments for my star s7189 (mt6582) worked great thanks !"!!!

billyfraser93 said:
I enjoyed going through the guide very easy had a few minor adjustments for my star s7189 (mt6582) worked great thanks !"!!!
Click to expand...
Click to collapse
what are the changes youve made?

@OP, I've a class 4 SD-CARD. Are you sure they'll there will be freezes?
Regards.

Related

[GUIDE] another way to increase data partition size (non-dualboot)

having a 750mb for data partition like in my previous post seems interesting for everyone. however, make a 2nd rom isn't easy for everyone. there are some people who can't download a rom, which makes dualboot mod useless for them. well...I want to share the joy of having a bigger data partition, so I modify a kernel to enable 2nd ext3 sdcard partition as data partition. for now on lets call this mod **data-2sd**. the steps is quite easy.
preparation step:
1. download a modified kernel from here
2. rename the file to 'boot.img'.
3. repartition your sdcard. all partition is primary. 1st partition fat32. 2nd partition ext3. adjust the partition size to any size you want.
Click to expand...
Click to collapse
the steps:
1. install the kernel
2. make a blank file named 'bootsdcard' in your root sdcard
3. reboot your device.
notes:
1. this kernel is made based on irfanbagus's kernel. (credits for him)
2. if you already have 2nd partition in your sdcard, please reformat it.
3. don't use link2sd or a2sd.
4. clean you init.d folder (optional)
5. you'll need a fast sdcard for best result. our default sdcard is too slow.
Click to expand...
Click to collapse
well...thanks for irfanbagus who has make a dualboot kernel for us. as I have said, I modify the kernel based on his work. the modified script is not an efficient one. I have to admit that. feel free to edit the kernel if you don't satisfy with my work.
btw, I realize that not everyone want to use sdcard's 2nd partition, especially when their sdcard is slow and they have to wait till they have enough money to buy a faster one. well...you don't have to uninstall this kernel since I've made an option to turn off data-2sd feature simply by delete 'bootsdcard' from your sdcard. now, it will act as stock DXLC stock kernel with init.d support. when you already have a fast sdcard you can turn on data-2sd feature again by make 'bootsdcard' file in your sdcard.
you could find the modified files here
www.mediafire.com/download.php?cc1kg8s7cx27onb
www.mediafire.com/download.php?0xydu66254ic6yz
DISCLAIMER:
do it with your own risk. no need to thanks or press it. I'm just a noob. give that to the original dev instead.
KNOWN ROM INCOMPATIBILITY ISSUE
============================
please read this before install this kernel. these roms are reported to incompatible with this kernel. some user said it work, but some other said it doesn't work in these rom. to minimilize the risk, I'll list all reported incompatibility issue with my kernel.[/b]
Incompatibility list
1. chobits digital v1.8 and v2
2. m.u.r (merruk ultimate rom) v1
please inform me if you got another incompatibility issue with other custom rom[/quote]
ADDITIONAL STUFF
==============
if your rom incompatible with this kernel you may try this guide to increase your /data partition as well. you'll need a kernel with init.d support to use this method. please read carefully before modify your system.
1. go to system/etc/init.d
2. delete all a2sd and link2sd related stuff
3. create a new file named 01data2sd. put this script inside it
Code:
#!/system/bin/sh
unmount /data
mount -t ext3 -o nosuid,nodev /dev/block/mmcblk0p2 /data
4. set the permission to 777 (rwxrwxrwx)
5. open your terminal manager. type these command.
Code:
su
mkdir /data/sd-ext
mount -t ext3 -o nosuid,nodev /dev/block/mmcblk0p2 /data/sd-ext
note: its blk-zero-p-two, not blk-O-p2
6. via root explorer go to /data.
7. copy all stuff in /data into /data/sdext.
8. open terminal manager. type these command.
Code:
umount /data/sd-ext
9. restart your device.
if you got bootloop, via adb, type these command
Code:
adb shell
su
mount -o remount rw /system
chmod 222 /system/etc/init.d/*
exit
exit
adb reboot
KNOWN ISSUE: gps not working.
NOTE: the bug is a lil bit annoying for several person. if you want a BETTER-FASTER-BUGLESS-BATTERY FRIENDLY method to save your internal memory, you can use my akuro tweak.
TERM OF USE AND SHARING:
this thread intent is for sharing. feel free to use, edit, distribute all material inside this thread which came from me. if there any parts of this mod which comes not from me please refer to the original dev I've mentioned in this thread. if want to share it to another forum or modify it you don't have to ask my permission. no need to credits, put links or whatsoever. you'll only need to remember that you should held all the responsibility by using this mod, modify it or distribute it. DO IT WITH YOUR OWN RISK
Click to expand...
Click to collapse
what is the advantage?
sgy's original data partition size is only 190mb. you can get 1gb or bigger data partition for your device by using this mod.
I see. I will try this, does it work on creeds 2.0?
it will work on all rom but will make your a2sd didn't work. please remove all a2sd script in init.d before use this mod.
So this will be my steps?
1. FLash your ROM/CUSTOM ROM
2. Delete the scripts in data/system/init.d via Root Explorer.
3. Make a file name "bootsdcard" in root directory of your sdcard.
Question : What file? .txt? .exe?
4. Flash the Kernel via Odin or other methods.
5. Reboot your device.
So now all my apps are on my SD? or all futured apps are on it?
just a plain file without any extension.
for the second question...this mod will change your data partition to 2nd sdcard ext3 partition. its completely different with a2sd or link2sd since it won't move any installed app in your device. your previous app will remain in your original data partition. when you activate the feature and reboot your phone, it would be like when you turn on the device for the first time.
so it will show 750mb not 190mb?
I will try this tomorrow
bla bla bla
devion14 said:
so it will show 750mb not 190mb?
Click to expand...
Click to collapse
it depends on your partition size. you can make it 750mb, 1gb, or any size you want.
does it support init d tweaksthe kernel is based on what??
---------- Post added at 06:23 PM ---------- Previous post was at 06:22 PM ----------
and what stock rom should i used? what roms have no sd card issues? im using dxlc1..
Sir. I dont have to modified the custom rom with modified updater-script? I just have to flash the kernel and then custom rom with the formated 1st. Fat32 and 2nd. Ext3. ?
Sent from my GT-S5360 using Tapatalk 2
kurotsugi said:
sgy's original data partition size is only 190mb. you can get 1gb or bigger data partition for your device by using this mod.
Click to expand...
Click to collapse
Now I am using DDLC2 official firmware and my 2nd partition (ext3) size is 1.06 GB,
but I am not using any kernal and other thing, I am using pure official ROM and
rooted my mobile thats all. From lot of months I am using this second partition
with Link2sd app.
See this attachment

			
				
devion14 said:
does it support init d tweaksthe kernel is based on what??
---------- Post added at 06:23 PM ---------- Previous post was at 06:22 PM ----------
and what stock rom should i used? what roms have no sd card issues? im using dxlc1..
Click to expand...
Click to collapse
it supports init.d script. however, there are some script in init.d which will mount your 2nd partition in different place. its better to remove them before you activate this feature.
it works for both custom and stock rom.
krishna_nirvana said:
Now I am using DDLC2 official firmware and my 2nd partition (ext3) size is 1.06 GB,
but I am not using any kernal and other thing, I am using pure official ROM and
rooted my mobile thats all. From lot of months I am using this second partition
with Link2sd app.
See this attachment
Click to expand...
Click to collapse
thats your choice. however this mod doesn't require any app and you don't have to link your app to to ext partition. when you uninstal link 2sd you'll lose all your app in ext partition.
tandob said:
Sir. I dont have to modified the custom rom with modified updater-script? I just have to flash the kernel and then custom rom with the formated 1st. Fat32 and 2nd. Ext3. ?
Sent from my GT-S5360 using Tapatalk 2
Click to expand...
Click to collapse
nope. you don't need to install any rom. but make sure that you have a clean 2nd ext partition.
What is the Base Firmware of This Modified Kernel?
I Hope its DXLC1? Or ?
tandob said:
Click to expand...
Click to collapse
is it for real?
kurotsugi said:
it supports init.d script. however, there are some script in init.d which will mount your 2nd partition in different place. its better to remove them before you activate this feature.
it works for both custom and stock rom.
thats your choice. however this mod doesn't require any app and you don't have to link your app to to ext partition. when you uninstal link 2sd you'll lose all your app in ext partition.
nope. you don't need to install any rom. but make sure that you have a clean 2nd ext partition.
Click to expand...
Click to collapse
ok...ill try...i will use
v6 supercharger only
yup...its based on DXLC kernel. we do only a minor modification in init.rc and /sbin folder.
ok, downloading now..will give this a shot
BTW does increasing internal memory with this increase speed a little bit? coz the more internal memory the faster right?
internal memory space doesn't related to device speed. in fact, it will a little bit slower since ext3 partition is slower than rfs. nevertheless, the differences is not significant. and could only seen in benchmarking test.

3d Max step by step help

Does anyone know how to flash it step by step
Sent from my LG-P925 using xda app-developers app
lazylu said:
Does anyone know how to flash it step by step
Sent from my LG-P925 using xda app-developers app
Click to expand...
Click to collapse
Assuming you already have gingerbread installed, you are rooted, your phone connected with PC and usb debugging enabled.
Step 1
Donwload
recovery.img from http://www.wuala.com/caroceiro/optimus 3d/roms/acura/Acura3DMAX V2/?lang=en
Download
Clockwork Touch.rar from http://d-h.st/zdj
extract Clockwork Touch.rar
run LGP920_CWM_5.8.1.5_Flasher_WinXP.exe BUT DO NOT PRESS SPACEBAR YET
copy recovery.img from your downloaded files and paste it into same directory with LGP920_CWM_5.8.1.5_Flasher_WinXP.exe and overwrite old recovery.img
Now press spacebar in the dos box and let it flash
Step 2
Copy Acura3DMAX_V2.zip in your internal sdcard.
Reboot into touch recovery
go to mounts
Format DATA
Format SYSTEM
Format CACHE
Step 3
Install from internalsd Acura3DMAX_V2.zip
THATS IT
If you followed this guide its flashed now you should reboot and wait for startup guide.
Thxs
Sent from my LG-P925 using xda app-developers app
do we still need to do the STEP 1 even if we already have the CWM Touch?
JastaPein said:
do we still need to do the STEP 1 even if we already have the CWM Touch?
Click to expand...
Click to collapse
i think acurra did some changes to cwm touch so maybe it's better to do it that way.
i did it like i describe above.
dont be lazy
xbsall said:
i think acurra did some changes to cwm touch so maybe it's better to do it that way.
i did it like i describe above.
dont be lazy
Click to expand...
Click to collapse
thanks man
this guy *LINK* successfully flashed it without doing the one that you posted.. . check his post
http://forum.xda-developers.com/showpost.php?p=27926815&postcount=6
nice so you can skip that part..
xbsall said:
nice so you can skip that part..
Click to expand...
Click to collapse
does it need to be in internal sd
usually no .
but you can try it with your external sd and tell us.
i flashed it from my internal sd
---------- Post added at 02:13 AM ---------- Previous post was at 02:12 AM ----------
more info here
http://www.htcspain.com/roms-lg-optimus-3d-384/rom-ginger-acurateam-v2-51172/
xbsall said:
usually no .
but you can try it with your external sd and tell us.
i flashed it from my internal sd
---------- Post added at 02:13 AM ---------- Previous post was at 02:12 AM ----------
more info here
http://www.htcspain.com/roms-lg-optimus-3d-384/rom-ginger-acurateam-v2-51172/
Click to expand...
Click to collapse
i did of internal sd says cant open /emmec/Acura3DMAX_V2.zip (bad)
probably corrupted zip.. copy it again and retry if it still doesnt work download it again
xbsall said:
probably corrupted zip.. copy it again and retry if it still doesnt work download it again
Click to expand...
Click to collapse
well it wont boot stuck on lg screen so how will i put on sd after d/l?
restore your backup
if you dont have a backup try this
get into cwm
mount emmc
run LGP920_CWM_5.8.1.5_Flasher_WinXP.exe that you downloaded earlier
but dont press spacebar
look into the directory of LGP920_CWM_5.8.1.5_Flasher_WinXP.exe and there should be a file called adb-win.exe
open a command prompt and drag an drop adb-win.exe into it put a space and type push and then drag and drop Acura3DMAX_V2.zip leave a space and type /emmc/
it should look like this (although it depends on your directory structure)
"D:\LG Optimus3D\Clockwork Touch\adb-win.exe" push D:\downloads\Acura3DMAX_V2.zip /emmc/
or you could try installing it from your external sdcard
xbsall said:
restore your backup
if you dont have a backup try this
get into cwm
mount emmc
run LGP920_CWM_5.8.1.5_Flasher_WinXP.exe that you downloaded earlier
but dont press spacebar
look into the directory of LGP920_CWM_5.8.1.5_Flasher_WinXP.exe and there should be a file called adb-win.exe
open a command prompt and drag an drop adb-win.exe into it put a space and type push and then drag and drop Acura3DMAX_V2.zip leave a space and type /emmc/
it should look like this (although it depends on your directory structure)
"D:\LG Optimus3D\Clockwork Touch\adb-win.exe" push D:\downloads\Acura3DMAX_V2.zip /emmc/
or you could try installing it from your external sdcard
Click to expand...
Click to collapse
will this mean i will have to do everything again?
no this will copy rom file into your internalsd and you will install zip file from sdcard
Well it works thanks but my call app is gone
Sent from my LG-P925 using XDA
Contact gone also
Sent from my LG-P925 using XDA
Im back to stock things kept crashing
Sent from my LG-P925 using XDA
I hope everyone is hitting that "thanks" button for xbsall
So if I'm following correctly, we DO need to flash the recovery image or we DO NOT need to?
If this is just a rom then this is simple flashing with no extra steps but there has to be a reason for the recovery...

[TOOL] RomGen

Tool for making a flashable zip directly by dumping rom from your phone, enjoy!
Disclaimer:
Since many noobs use this tool with poor linux knownlegde... I am not responsible for any damage produced by this tool! You, noobs and all non experienced users must use this tool on own risk, I am not responsible for anything!
Code:
cd /data/local/tmp
chmod 755 romgen
./romgen -h
--------------------------------------------------------
.::::.. ROMGEN by Munjeni @ XDA 2013 ..::::.
** Tool for making a flashable zip. Enjoy! :) **
**--------------------------------------------------**
------ USAGE -----
Simple command:
./romgen device device2 system data cache boot out_zip
1. device mean: name of the device in updater-script
2. device2 mean: another name of the device in updater-script
3. system mean: block device for the system partition updater-script,
for example: /dev/block/mmcblk0p10
4. data mean: block device for the data partition updater-script,
for example: /dev/block/mmcblk0p11
5. cache mean: block device for the cache partition updater-script,
for example: /dev/block/mmcblk0p12
6. boot mean: block device for the boot partition updater-script,
for example: /dev/block/mmcblk0p9
7. out_zip mean: where to write final zip file
for example: /sdcard/rom.zip
/data/local/tmp #
gr8 idea
gonna try it
can it be used as backup / restore without cwm ?
removed
New version. Improved logic and checks, added function for boot.img dump + updater-script generator. Now remain thing for storing META-INFO folder. Will post beta version soon, hope in next post.
Sorry, not have free time to finish this but soon I will give you full working version!
Promising at least for me. Thanks will wait for a fully version
Great work! Just tried this on a K2_CL (Boost Mobile CDMA) device. Placed it in my system/bin. Ran it, and it works good. Only issue I have seen so far is the location it writes the ROM.zip to. Goes directly to data/local/tmp. Not good at all. In the midst of it running it abruptly stopped due to lack of space available. If could be taken to int or ext sdcard then would be flawless in that regard. In midst of it stopping abruptly the .zip file became corrupted so even if I were to want to make manual changes I still could not access the contents. Anyways, GREAT WORK!
Heads up.... In the updater-script you have the format () set for 4 arguements, but just so you are aware it will not work. The update-binary you are using only allows for three arguements so it will ultimately fail. You will need to use one that allows for 4 arguements.
Modding.MyMind said:
Great work! Just tried this on a K2_CL (Boost Mobile CDMA) device. Placed it in my system/bin. Ran it, and it works good. Only issue I have seen so far is the location it writes the ROM.zip to. Goes directly to data/local/tmp. Not good at all. In the midst of it running it abruptly stopped due to lack of space available. If could be taken to int or ext sdcard then would be flawless in that regard. In midst of it stopping abruptly the .zip file became corrupted so even if I were to want to make manual changes I still could not access the contents. Anyways, GREAT WORK!
Click to expand...
Click to collapse
I can easilly add another command line argument (zip path), and for sure I will improve whole tool! Need help now since not understand how to generate certs and metadata to META-INF folder. Want to implement openssl libs into by tool which will be used for generating these things and finaly for signing whole zip. But some one need to help me because I need an step by step tutorial for generating meta-inf things with openssl (since I not understand how it is generated)!
I wouldn't worry too much about the meta-inf folder and what not. Anyone can go in the zip and add that themselves. I usually always do that manually anyways, because I always handle the updater-script manually or at minimum I will make some modifications. However, it would definitely be good to redirect the zip file to either the internal or external sdcard simply for space reasons. I tried to edit the file myself to make some adjustments but couldnt figure out how to restore it without having to use a hex editor. A hex editor I can accomplish some changes but it will cause for more work in my opinion then what it would be if I actually could view the file in its originality, but not sure how to do that on a windows computer. Also, you have the command built only to work if all four listed partitions are being included. I tried to run it by only going for one or two of the listed partitions but wouldn't work unless I used all four. Any way you can make it an option? I would prefer to just pull the boot.img and system.img instead of all four that you list. The option to choose only one, or two, or three, or all four would be awesome. Especially since I would like to make some roms and pulling only the system and boot would speed this up vice having to wait for all of it to be pulled which can take a while to do lol.
Sent from my C525c using XDA Premium 4 mobile app
---------- Post added at 12:44 PM ---------- Previous post was at 12:35 PM ----------
I have no problem testing your tool . What you are trying to accomplish will eliminate in a sense the need for a pc. I am all for those who find ways to implement such work on a device without needing to use a pc. Most of my work is done on my device and I hardly ever use my computer so something like this is a must have for me lol. If you need me to run some tests, let me know. Shoot me a PM .
Sent from my C525c using XDA Premium 4 mobile app
---------- Post added at 12:49 PM ---------- Previous post was at 12:44 PM ----------
Oh, forgot to mention... When I ran your tool again after making some room on my phone the zip file can't be open on the device when wanting to make some changes. It comes up with an error regarding a duplication which aborts opening to view the contents in the zip. The only way I could view it was by placing it on my pc. Afterwards, I flashed it and my phone failed to boot... I think because of this duplication... Need to run more tests. Can't remember the exact error off the top of my head. I will let you know soon.
Sent from my C525c using XDA Premium 4 mobile app
Alright, I took a screenshot of the error while trying to view the contents in the zip. See attachment below.
Sent from my C525c using XDA Premium 4 mobile app
Not sure why I get that error? I have another Rom using a kitchen and that same file is there as well but it doesn't give me the duplication error... Maybe something to do with the compression level? Not sure honestly.
Sent from my C525c using XDA Premium 4 mobile app
Modding.MyMind said:
Not sure why I get that error? I have another Rom using a kitchen and that same file is there as well but it doesn't give me the duplication error... Maybe something to do with the compression level? Not sure honestly.
Sent from my C525c using XDA Premium 4 mobile app
Click to expand...
Click to collapse
Compresion level is 9 ! You can compare context of these errored folder in my zip and your working zip, to make sure if its realy duplicated! If you found what cause these problem please let me know!
About 4 arguments to romgen: I not going to change these arguments because every android device model have diferent blok device number so user must to define them (I thinked to automate them but that have no priority by now, maybe later)!
munjeni said:
Compresion level is 9 ! You can compare context of these errored folder in my zip and your working zip, to make sure if its realy duplicated! If you found what cause these problem please let me know!
About 4 arguments to romgen: I not going to change these arguments because every android device model have diferent blok device number so user must to define them (I thinked to automate them but that have no priority by now, maybe later)!
Click to expand...
Click to collapse
I agree, I basically just removed the format () line in the updater-script all together because I format my device using the custom recovery anyways so I find no need to format it again lol. Personal preference. But yea, those who get errors regarding the arguements will just need to use an update-binary that accepts such arguments or else remove the line altogether. I will update you if I find out what is causing the duplication error. As I said before, I have two roms currently on my device and both have the exact same information in them. One rom I created based on your tool and the other I used a kitchen, but only your rom based on your tool gives me that error while the other rom opens up just fine. I will look in to it.
New version is out, just added 5.th parameter for zip out and added meta-inf update-binary and some otacerts.. bla, but need to make real metadata and otacerts and to sign final zip... need help (tutorial) for them since not understand how it is generated with openssl.
I need a tutorial on how to make these files to work on android period. Lol, I usually have to edit these things with a hex editor but downloading now
Sent from my C525c using XDA Premium 4 mobile app
Looking great my friend
I not tried on not-rooted devices but if some one have a free time for trying them... please let me know if tool can make ota on not-rooted devices!
@munjeni
Is this project open source? If not, then that is ok; I just wanted to ask.
Sent from my K2_CL using Tapatalk
No, all things which have no licence is private projects and I not going to open them public. Is latest version ok now?

Make Application storage from 1 GB to 2.5 GB as per your requirement in Micromax A117

Worried about the application storage in Micromax A117 Magnus (or any MTK6589 with 4GB memory) device. Here is the solution.
Steps:-
Note : Please make a backup of installed apps in your apps and contacts, messages you may require to factory reset your phone
Do it on your own risk, Me and nor Xda responsible for any thing happened to your device.
1 extract this file it contains 3 folders
2 first open driver folder and install the vcom drivers (only for xp/vista/7)
3 switched off your phone and take out your batter from it
4.now open sp_flash_tool folder and run Flash_tool.exe
5 click on scatter-loading and select MT6589_Android_scatter_emmc file from "Micromax a117 ebr files" folder for 2.5 GB and for other storage requirement select form EBR.rar file uploaded below. Just replace ebr1 and ebr2 given in first attachment by the new ebr files in second attachment
6 click on download on sp tool a popup will appear just ignore it and select yes
7 now connect your phone using usb cable
8 sptool will detect your phone and a yellow bar comes at bottom of sptool
9 don't disconnect your phone until a green circle would appear (it just take 5 seconds after phone detected by sptool)
10 after the green circle appear click on x and disconnect your phone and put the battery and restart your phone.
Files Attatched
Hit thanks if you like
works great, but internal almost vanished..
Is it possible to have only 1 gb swap or only 500 mb swap???
is it working??
Why unhappy logo attached to the rom the read:>?
uchihaobito said:
is it working??
Why unhappy logo attached to the rom the read:>?
Click to expand...
Click to collapse
Yeah working great
droid-devz said:
works great, but internal almost vanished..
Is it possible to have only 1 gb swap or only 500 mb swap???
Click to expand...
Click to collapse
yes it's possible if you want i can make it 4 u
uchihaobito said:
is it working??
Why unhappy logo attached to the rom the read:>?
Click to expand...
Click to collapse
its just by mistake and i am going to change it. its fully working i m using it.
kumar87 said:
yes it's possible if you want i can make it 4 u
Click to expand...
Click to collapse
Yes please, make it configurable.
I want to increase the size from 1 to say 1.5 or 2Gb
anonymousinin said:
Yes please, make it configurable.
I want to increase the size from 1 to say 1.5 or 2Gb
Click to expand...
Click to collapse
Already done download new ebr files given in 2nd attatchment. For help read instructions given above
kumar87 said:
yes it's possible if you want i can make it 4 u
Click to expand...
Click to collapse
where is 500MB Increase EBR Files ?
I have a question.. Will i have to format after flashing this or simply flashing it and restarting will do ?
I have canvas magnus on stock jb.
Ebr 1 is data ? And ebr 2 is internal sdcard ?
Please help.. Noob..
shivangtyagi said:
I have a question.. Will i have to format after flashing this or simply flashing it and restarting will do ?
I have canvas magnus on stock jb.
Ebr 1 is data ? And ebr 2 is internal sdcard ?
Please help.. Noob..
Click to expand...
Click to collapse
Yeah same here, do I lose all of my data when I flash all of this? How do I prevent my data from being lost???
KoolKid98189 said:
Yeah same here, do I lose all of my data when I flash all of this? How do I prevent my data from being lost???
Click to expand...
Click to collapse
No data will be lost. Its just 30sec procedure. All your data will be safe.
navtab said:
No data will be lost. Its just 30sec procedure. All your data will be safe.
Click to expand...
Click to collapse
But doesn't the scatter file wipe the data?
KoolKid98189 said:
But doesn't the scatter file wipe the data?
Click to expand...
Click to collapse
No yaar. It will not do anything to your data. I have done that.
navtab said:
No yaar. It will not do anything to your data. I have done that.
Click to expand...
Click to collapse
So what do I click in SP tools once I've opened the scatter file?
---------- Post added at 02:45 PM ---------- Previous post was at 02:36 PM ----------
I plug it in, then after a few seconds it makes the "hardware disconnect sound"???
KoolKid98189 said:
So what do I click in SP tools once I've opened the scatter file?
---------- Post added at 02:45 PM ---------- Previous post was at 02:36 PM ----------
I plug it in, then after a few seconds it makes the "hardware disconnect sound"???
Click to expand...
Click to collapse
Make sure drivers are installed rightly. It happens sometimes but don't worry. Keep trying. It will be all fine.
Follow all steps mentioned in the post 1.
Is it safe, I mean if I will use your ebr files will it effect my system.
How much will be the internal memory left to be used(if left)?
And If I wish to install the stock rom using sp tools will it revert back to original settings or not.
Please clarify.
Sent from my Micromax A117 using XDA Forums Pro.
Will it work if I flash the v4 ROM for mmx a117 first and then flash the ebr files for 2.5 gb.
Sent from my Micromax A117 using XDA Forums Pro.
HELP!
I had increased storage to 2.46GB successfully and for the past week, my storage suddenly dropped to 134MB available with 717MB occupied although it's showing that 2.46GB is the total available memory.
It's like it reverted to its original storage but still showing 2.46GB.
I flashed it again, but still remains the same.
Please help. Much appreciated.
Hi Kumar87,
I am trying the above procedure given by you. upto point number 5 I did. But I didn't understand the 5th statement.
"click on scatter-loading and select MT6589_Android_scatter_emmc file from "Micromax a117 ebr files" folder for 2.5 GB and for other storage requirement select form EBR.rar file uploaded below. Just replace ebr1 and ebr2 given in first attachment by the new ebr files in second attachment".
I clicked on scatter-loading and select MT6589_Android_scatter_emmc file from "Micromax a117 ebr files" folder for 2.5 GB. It worked and a list was displayed. Now what about "other storage requirement"? Where is that?
Please resolve.
Waiting for your reply
Ganesh

Rom Builder

Rom Builder​ Hi guys this is me a small utility for creating flashable zip custom firmware for recovery I think will help many​how to use​unzip the contents of a folder on your computer
connect your phone via usb and enable USB debug
run the program and press enter
Click OK on your phone
We are waiting for the completion
So almost all ready, we go on a memory card and look for the folder "ROM" and see there copy 4 files to your computer
almost finished
Now we take update.zip to move all the files
That's just what we've created custom firmware for recovery
Download RomBuilder​
Automaticaly Version​
thanks Symbuzzer ​
XDA:DevDB Information
[dev tools] Rom Builder, Tool/Utility for the Nokia X2
Contributors
y-bee4pda
Version Information
Status: Beta
Created 2015-08-01
Last Updated 2015-08-01
Thanks, will try on Monday.
I have 2 questions:
-Which partitions are created?
-Can we modify updater-binary vs without resigning?
Thanks again.
Sent from my NokiaX2DS using XDA Free mobile app
yes
symbuzzer said:
Thanks, will try on Monday.
I have 2 questions:
-Which partitions are created?
-Can we modify updater-binary vs without resigning?
Thanks again.
Sent from my NokiaX2DS using XDA Free mobile app
Click to expand...
Click to collapse
-partitions
recovery.img
boot.img
system.img
custom.img
You can easily modify the file update script in Notepad ++ and update binary can take on any of the other newer firmware example of CM
nice ,the recovery build also
@ybee4pda
I enhanced your code a bit and make it fully automatic. How can I send you new codes?
Sent from my NokiaX2DS using XDA Free mobile app
thanks
symbuzzer said:
@ybee4pda
I enhanced your code a bit and make it fully automatic. How can I send you new codes?
Sent from my NokiaX2DS using XDA Free mobile app
Click to expand...
Click to collapse
Thank you, you can submit it here
y-bee4pda said:
Thank you, you can submit it here
Click to expand...
Click to collapse
Thanks
It can:
-back up boot, system and custom partitions as img file to sdcard (recovery partition not supported for now)
-move these 3 img files from sdcard to PC
-make flashable zip (update.zip)
-clean img files from sdcard and PC
Note: When you start build_Rom.bat again, it deletes update zip. So you should backup your update.zip for every process.
All credits to go this topics creator. I only modified a bit to automate process.
I have flash the update.zip with 2 partitrions inside and i get NokiaVariantManager has stopped message when boot up the phone...how can i fix it
kaotd99 said:
I have flash the update.zip with 2 partitrions inside and i get NokiaVariantManager has stopped message when boot up the phone...how can i fix it
Click to expand...
Click to collapse
it wipes 3 partitions. so you probably lost your custom partition. try to reflash it.
@y-bee4pda , thanks for your work. One thing, why the rom zip size is always 600mb+ ?
Nokia variant manager has stopped
symbuzzer said:
it wipes 3 partitions. so you probably lost your custom partition. try to reflash it.
Click to expand...
Click to collapse
Hi.I installed one Rom and I get this problem when I want restore my back up. I try any thing but I can't find any things for this.cm roms work correct ly but I want restored my stock Rom .please help.....:crying:

Categories

Resources