(Sorry for english !!)
!! Some problems with Android 5.1.x installed on External.
[Dual-Boot] I9305 [SCRIPT]
Hi. Because i dont find any kernel/script for I9305 with Dual-Boot, i try to make this script for test roms (but can be use day by day without problem).
This script help to patch .zip rom/kernel/gapps (and other i think) for install him on SDCARD. (without touch your internal rom).
How can you do this? Need to repartition your sdcard in 3 parts
1. With your sdcard data (files/music..etc)
2. external System (for system rom)
3. external Data (for data rom)
What you need to know !!!!
- Thanks on @Nicene Nerd for this App. I'm inspired from him.
- I'm not a developer.
- I don't now so much about linux (so, script not have a best optimization)
- This script is better good for people who test roms (like Lollipop).
- If you dont try this script, don't say anything. (only if you have some problem/stucks)
- Install on Internal roms like: Amcha / N4 / ..etc (big roms)..because i try to install on external rom and dosen't work
- Rom like Nameless / RR / ..etc can be install on external
- Anyone who want help me to make this script better, say here where need to edit (with what) and who can code help
- Say here what rom/kernel/script work or dosen't work to install on external. For modify script
What you need.
MiniTool Partition Wizard (or other program to repartition sdcard)
USB Cable (for repartition)
A phone (i9305 of course)
SDCARD 16gb (or more) Class 10 (if you have class 4 or other..your external rom run slow)
Backup your sdcard data (for safe)
Backup your phone (for safe)
ROM with root permision.
Water (because is good for your health)
First time you need to repartition sdcard
First partition: FAT32 (split memory from this..is good option)
Second: 1600 mb (1,6 gb) for system
Third: 2500 mb (2,5 gb) minimum memory for data
How can do this:
On MiniTool show your sdcard (like this)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
1. Right click on him > Split
2. On New Partition Size you need to have minimum (system + data) 1600 + 2500 = 3600 mb (3,6 gb)..If you want more memory on data, you can type more than 3600 mb (i need more so i split 7000 mb)
After write your value, press ok
Now look like this
3. Right click on new partition (H on me) > Delete
Now you have unallocated partition
4. Right click on unallocated partiton > Create > Ok (on warning)
5. On box you need to edit:
Create As: Primary
File System: Ext4
Partition Size: 1600 (because is system partition)
After this. Press Ok
6. Right click on unallocated partition > Create > Ok (on warning)
Create As: Primary
File System: Ext4
Partition Size: dont modify
After this. Press Ok
7. Before press Apply, check if look like this
Now you can press Apply and wait
Good
After sdcard was partitioned, go to next step
Put my script on your SDCARD
(Why in sdcard? because internal/external rom view the sdcard everytime)
(internal/external rom have separated 'internal memory')
1. Unrar on desktop (right click on archive > extract here)
2. Copy 'db' folder to your sdcard
3. Check if 'db' folder is on your sdcard
4. With file explorer (i use Root Browser), go to db folder and install 'terminal.apk'
5. After install run him
On terminal:
Type: su (for superuser permision)
Type: cd /mnt/extSdCard/db (or anywhere is db folder location..on LolliPop is: cd extSdCard/db)
Type: sh db.sh
Now you are in script menu
Option: 1 -> Save Internal BOOT.IMG
Option: 2 -> Flash Internal BOOT.IMG and Reboot phone (if not reboot, try to reboot manualy)
Option: 3 -> Mount Internal partitions on root direcotry (/.dbSystem & /.dbData)
Option: 4 -> Clean Internal partitions (use this if you are in External rom)
Option: 5 -> Save External BOOT.IMG
Option: 6 -> Flash External BOOT.IMG and Reboot phone (if not reboot, try to reboot manualy)
Option: 7 -> Mount External partitions on root direcotry (/.dbSystem & /.dbData)
Option: 8 -> Clean External partitions (use this if you are in Internal rom)
Option: 9 -> Patch file for External rom (file like rom/gapps/pa-gapps/kernel..etc)
Option: 0 -> uMount /.dbSystem & /.dbData
Option: fb -> Flash manualy BOOT.IMG file
Option: ie/ei (hidden command) -> I'm work on this.. Is a experimental function. Don't use it
Patch files for external rom:
1. Copy on 'db' folder rom who want to patch, gapps archive and kernel your need
2. Run script on terminal
3. Need to save your Internal boot.img (Option 1 on menu)
4. Option 8 to clean your external partitions (if was used before with other rom).
5. Option 9 to patch
6. Type rom/gapps/kernel..etc archive name like: my_rom.zip > And press enter
7. Wait to patch (all patched files have pre name ext-
NOTE: If you patch rom/kernel (with boot files), you need to watch if script modify any fstab file. If no, external rom not work!
8. After you patch all you archive need..go to recovery (i use TWRP 2.8.5.0) and flash him but need to kep order:
- First ROM zip
- Second GAPPS (or PA-GAPPS) (or without this)
- Third KERNEL (if is need)
- .. other patched scripts
9. After flashing, reboot and wait to new external rom start up
(if you have any error (boot loop/other) you can flash internal boot stored in "sdcard/db/.db/.imgs/boot-int.zip")
10. After your external rom is ON, install 'terminal.apk' from sdcard
11. Run script on terminal
12. Save your External BOOT.IMG (Option 5)
13. Enjoy with your external rom.
(To switch rom you have option 2 and 6 or flash manualy .zip stored in "sdcard/db/.db/.imgs/boot-*.zip")
I forgot something?
Another explain: http://forum.xda-developers.com/showpost.php?p=59570171&postcount=11
Changelog
Version 1.3:
+ Removed experimental (duplicate partitions)
+ Removed rsync
+ Add check "Where i am now" for check what system mounted (internal/external) for optimized script
+ On start, check if rom/kernel changed and you can save new rom much easy
+ Disabled some options from menu (depend where are you (internal/external) rom)
+ On mount/ckeab internal/external partitions, now check if is mounted property
+ Terminal updated at last version
Version 1.2:
+ Some bug fixes (major bug fixes)
+ Add rsync for Duplicate Partition (ie/ei command. hidden command because not work now
+ Patch init. files from kernel (work with pureSTOCK / pureCM kernel) (i'm not tested, but you can flash now a big rom (like Amcha/N4 Lite) in external rom)
Version 1.1:
+ Some bug fixes
+ Mkdir folder check after create
Version 1.0:
+ It's alive !
thanks fro this script, but i have a question:
if I understand how it works, every time I have to save the rom I'm using...it creates a backup of rom in flashable zip format.
to switch from one to another rom I have to flash the zip saved...so what is the difference with a nand backup/restore?
and what are the performance and the lag of a rom thst run on sd card?
LeoDeos said:
thanks fro this script, but i have a question:
if I understand how it works, every time I have to save the rom I'm using...it creates a backup of rom in flashable zip format.
to switch from one to another rom I have to flash the zip saved...so what is the difference with a nand backup/restore?
and what are the performance and the lag of a rom thst run on sd card?
Click to expand...
Click to collapse
Script was patched a .zip file for install on External partitions (system/data).
And modify boot.img (mounts).
Difference on nand backup/restore and this is time and to swich internal to external is much faster. (only flash boot.img for swich)
I make a Benchmark and score is 30k with Nameless (0303 version).. When you copy some file in sdcard (with usb) or you install a apk file (depend so much what sdcard you have).. have some lags..but if i use day by day i dont have lag.
I dont now if i explain so good how script works because i dont now so much english..
Look at uploaded image. How much time need to change rom from ..3 minutes..all i need is to flash boot.img (for internal/external) and reboot..
This is a good option in my opinion
il3gal said:
Script was patched a .zip file for install on External partitions (system/data).
And modify boot.img (mounts).
Difference on nand backup/restore and this is time and to swich internal to external is much faster. (only flash boot.img for swich)
I make a Benchmark and score is 30k with Nameless (0303 version).. When you copy some file in sdcard (with usb) or you install a apk file (depend so much what sdcard you have).. have some lags..but if i use day by day i dont have lag.
I dont now if i explain so good how script works because i dont now so much english..
Look at uploaded image. How much time need to change rom from ..3 minutes..all i need is to flash boot.img (for internal/external) and reboot..
This is a good option in my opinion
Click to expand...
Click to collapse
ok understand...
but i'm not still sure of utility of the external boot.
foe example: i can flash stock rom on internal and save boot.img...
after i flash aosp rom always on internal and save boot.img with another name.
in this case the time to switch one to another rom is the same 3 minutes.
i wrong?
LeoDeos said:
ok understand...
but i'm not still sure of utility of the external boot.
foe example: i can flash stock rom on internal and save boot.img...
after i flash aosp rom always on internal and save boot.img with another name.
in this case the time to switch one to another rom is the same 3 minutes.
i wrong?
Click to expand...
Click to collapse
hmm..but system files and data files where is? same in internal? You cant..
You need other partitions for system / data if you want another rom
For internal partition mount points is mmcblk0p13 (system) and mmcblk0p16 (data)
For external is mmcblk1p2 (system) and mmcblk1p3 (data)
Hm..understand?
il3gal said:
hmm..but system files and data files where is? same in internal? You cant..
You need other partitions for system / data if you want another rom
For internal partition mount points is mmcblk0p13 (system) and mmcblk0p16 (data)
For external is mmcblk1p2 (system) and mmcblk1p3 (data)
Hm..understand?
Click to expand...
Click to collapse
maybe i explain wrong.
so i try to repeat well.
1) flash stock rom on internal.
2) backup stock rom (option 1 of your script)
3) full wipe and flash aosp rom always on internal.
4) backup aosp rom (always with option 1 of your script)
(if i'm not wrong we will have 2 backup zip file)
5) switch rom (option 2 of your script)
its possible?
LeoDeos said:
maybe i explain wrong.
so i try to repeat well.
1) flash stock rom on internal.
2) backup stock rom (option 1 of your script)
3) full wipe and flash aosp rom always on internal.
4) backup aosp rom (always with option 1 of your script)
(if i'm not wrong we will have 2 backup zip file)
5) switch rom (option 2 of your script)
its possible?
Click to expand...
Click to collapse
aaaaaa...no..
il3gal said:
aaaaaa...no..
Click to expand...
Click to collapse
ok thanks
LeoDeos said:
ok thanks
Click to expand...
Click to collapse
I make now how i use this script ..with images..
Not meaning to rain on the parade here but it basically seems to be similar to just backing up and restoring like nand. It may not be exactly the same but it seems to be a similar thing.
Unfortunately it looks like it can't perform a proper dual boot.
Explain 2
I made a tutorial how i use this script. Skip the repartition step because is easy (repartition need to make one time..not everytime want you install external rom)
On my rom (N4 Elite Lite v5).
1. Copy what files need to patch in db directory (where is script). In my case (pa_gapps-modular-pico-5.0.1-20150221-signed.zip & nameless-5.0.2-20150318-i9305.zip)
2. Run script.
3. First time need to save your internal boot.img (kernel). (for swich roms)
(because script modify kernel (mount point on kernel) and when you swich rom, all who make script is to flash kernel for internal/external rom)
4. After you save internal kernel, go back to menu and type option 9 to patch zip rom/gapps/kernel..etc
(if rom have a included kernel, watch if script find a fstab.* file and if can be edited. If not edited, external rom not work)
(all rom/kernel/gapps..other script need to modify updater-script or update-binary (pa-gapps use this)..if not edited, you cannot install rom on external partitions
5. After i patch rom file, i need and gapps because i use Google Play Store, so, i patch and gapps (go in menu, option 9 and type gapps file name)
(Now my db directory look like this)
6. All good. Now i want to be sure about my external partitions is clean, and i go to option 8 to clean him
7. After clean, reboot in recovery and flash ROM (ext-nameless-5.0.2-20150318-i9305.zip) and after GAPPS (ext-pa_gapps-modular-pico-5.0.1-20150221-signed.zip)
8. Reboot phone and wait to rom boot complete..(first boot may during a time)
(At Total Memory, is total memory allocated on 'data' partition (from repartition) (third partition))
9. After boot is complete..install 'terminal.apk' from db folder (script folder)
10. Run script from terminal.
11. Option 5 (for save this external boot.img)
12. Voila..now i have 2 separated roms..installed in 2 separate partitions (internal system/data and external system/data)
To swich i have 2 option. From terminal (script). (example) If i'm in internal rom and i want to swich, open script an type option 6..For flash external kernel and reboot phone to boot in external rom.
From recovery: flash manualy .zip files stored in sdcard/db/.db/.imgs/boot-*.zip
Now is good explication?
djb77 said:
Not meaning to rain on the parade here but it basically seems to be similar to just backing up and restoring like nand. It may not be exactly the same but it seems to be a similar thing.
Unfortunately it looks like it can't perform a proper dual boot.
Click to expand...
Click to collapse
Is not same. Do you know dual windows on pc?
Partiton C have Windows 7 (example)
and partition D have Windows 8.1 (for example)
If you boot pc, have a question "Who windows want to boot" 7 or 8.1..and you choose.
My script is same, but for 'choose', need to flash a kernel (external/internal..depend what you want to boot)
hmm.
This script is same with http://forum.xda-developers.com/showthread.php?t=2639112 ...but is not app..and dont have some options like "backup"..
Tested with:
ROM
- AICP 8.0
- Resurrection Remix® LP
- NamelessROM
- Cyanogenmod 12
- SlimLP
KERNEL
- Boeffla 3.0-alpha9
Changelog
Version 1.1:
+ Some bug fixes
+ Mkdir folder check after create
I see some people was download script. Can give me feedback? (db_1.0.rar - [Click for QR Code] (1.11 MB, 32 views))
What rom is work and what not? (i dont have time to test all roms)
Abandoned.
il3gal said:
Abandoned.
Click to expand...
Click to collapse
why?
LeoDeos said:
why?
Click to expand...
Click to collapse
Because i dont have feedback..
I continue use this but i dont post update..
32 downloads / 0 feedback..
I think people don't understand how it works ..hm
I'm bad to explain this
il3gal said:
Because i dont have feedback..
I continue use this but i dont post update..
32 downloads / 0 feedback..
I think people don't understand how it works ..hm
I'm bad to explain this
Click to expand...
Click to collapse
i think you should leave the download link.
it could help for someone.
when i'll time and an sd card bigger i want try your method
LeoDeos said:
i think you should leave the download link.
it could help for someone.
when i'll time and an sd card bigger i want try your method
Click to expand...
Click to collapse
ok. i remove and [abandoned] .
just wait. now i try to add some things on script.
il3gal said:
ok. i remove and [abandoned] .
just wait. now i try to add some things on script.
Click to expand...
Click to collapse
thanks
+Tested with:
ROM
- AICP 9.0 (test version)
Changelog
Version 1.2:
+ Some bug fixes (major bug fixes)
+ Add rsync for Duplicate Partition (ie/ei command. hidden command because not work now
+ Patch init. files from kernel (work with pureSTOCK / pureCM kernel) (i'm not tested, but you can flash now a big rom (like Amcha/N4 Lite) in external rom)
+Tested with:
ROM
- N4 Elite Lite v7 (but i don't now how much fast is) (when i have time, i will tested)
Changelog
Version 1.3:
+ Removed experimental (duplicate partitions)
+ Removed rsync
+ Add check "Where i am now" for check what system mounted (internal/external) for optimized script
+ On start, check if rom/kernel changed and you can save new rom much easy
+ Disabled some options from menu (depend where are you (internal/external) rom)
+ On mount/ckeab internal/external partitions, now check if is mounted property
+ Terminal updated at last version
Who know a universal reboot command for any rom? Because reboot not work on N4 Elite Lite rom
Related
Hi ^^
Like many of us I was having some concerns about moving away from cm6 to cm7. I was using firerat's magpie build of cm6 and LOVED it. My biggest concern was that losing a2ext is not an option for me as I have a ton of apps that I use only occasionally and don't want them taking up space on my internal memory. After looking around I found a couple of solutions that work extremely well together (so far). There was not nearly enough documentation in one place to get everything working out of the box, but hopefully this post will give you enough to get started. My solution involves using a modified version of cMTD by firerat and two apps available on the market or from xda: link2sd and S2E (simple2ext).
Background information:
Firerat's cMTD is a patch that you flash in recovery which allows you to control the size of /system, /cache and /data partitions. Using this patcher you can reduce the extra space left on /system by ~30mb, /cache by ~45mb, and increase the size of /data by the combined difference. I would suggest checking out an older post of mine (linked below) that discusses adjusting the threshold value for low space warnings if you decide to use cMTD as the threshold is a percentage value based on the size of /data. This means that the more /data space you have, the higher the threshold will be (ex: default for n1 is ~20mb, after cMTD modifications that increases to ~35mb).
Ennon's eFOS is a script that you flash in recovery which moves non-essential gapps from /system/app to /data/app, thus freeing up even more space on your /system partition. This *may not* be entirely necessary as the newest gapps archive is *much* smaller (~5mb) than previous versions and many of the gapps are available directly from the market. I'm including the scripts just in case anyone wants them.
Link2sd is a frontend for a script which manages the moving of apps to your ext partition (also supports fat) and creates syslink files in your /data/app folder which point to the app's actual location on the ext partition.
S2E(Simple2Ext) is similar to Link2sd, but instead of creating symlinks for individual apps it allows you to symlink entire folders to the ext partition. S2E may require an EXT flavor partition, but I haven't tried fat so I can't say for sure. I use S2E to move my dalvik cache and download cache folders to my ext partition freeing up even more space on internal memory.
Basic Method:
[a2ext ONLY]
----------------------
Description:
This method will install a copy of Link2SD and S2E(Simple2Ext) to /system/app, create the mounting scripts for an ext3 partition, and adjust your low space threshold value from 10% to 3%. If you wish to recover additional space on your /system and /data partitions using FRcMTD and eFOS, see the Easy or Manual methods below.
Requirements:
+ cm7 rom
+ cm7-a2ext-installer-0.1.zip - http://hotfile.com/dl/112853289/7d2e803/cm7-a2ext-installer-0.1-signed.zip.html
Steps:
1. Download cm7-a2ext-installer-0.1.zip and move it to /sdcard/.
2. Reboot into recovery.
3. NANDROID BACKUP!!!
4. [optional] Wipe all data if installing cm7 for the first time (see the cm7 install instructions for more info).
5. Flash cm7.
6. Flash gapps.
7. Flash cm7-a2ext installer from /sdcard/cm7-a2ext-installer-0.1-signed.zip.
8. Reboot into CM7.
9. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
10. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
11. Reboot to complete the S2E changes.
12. Congratulations! You should now have a2ext with cm7 ^_^
Updating CM7:
1. Reboot into recovery.
2. NANDROID BACKUP!!!
3. Flash CM7.
4. Flash cm7-a2ext installer from /sdcard/cm7-a2ext/cm7-a2ext-installer-0.1-signed.zip.
5. Reboot into CM7.
6. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
7. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
8. Reboot to complete the S2E changes.
10. Congratulations! You should now have a2ext with cm7 ^_^
Easy Method:
[a2ext + FRcMTD + eFOS]
----------------------
Description:
This method will install a copy of Link2SD and S2E(Simple2Ext) to /system/app, create the mounting scripts for an ext3 partition, and adjust your low space threshold value from 10% to 3%. It also includes optional steps that will enable FRcMTD and move less essential gapps from your /system/app folder to your /data/app folder.
Requirements:
+ cm7 rom
+ cm7-a2ext-package-0.1.zip - http://hotfile.com/dl/112853580/9b85471/cm7-a2ext-package-0.1.zip.html
Steps:
1. Download cm7-a2ext-package-0.1.zip and extract the contents to your sdcard.
2. [cMTD] Copy mtdpartmap.txt from the /sdcard/cm7-a2ext/cMTD folder to /sdcard/.
3. Reboot into recovery.
4. NANDROID BACKUP!!!
5. [optional] Wipe all data if installing cm7 for the first time (see the cm7 install instructions for more info).
6. [eFOS] Flash eFOS step 1 from /sdcard/cm7-a2ext/eFOS/ennon-fso-gapps1-signed.zip
7. Flash cm7.
8. Flash gapps.
9. [eFOS] If you are using eFOS, flash step 2 from /sdcard/cm7-a2ext/eFOS/ennon-fso-gapps2-signed.zip.
10. [cMTD] Flash cMTD recovery from /sdcard/cm7-a2ext/cMTD/Recovery-cMTD.zip.
11. [cMTD] Flash cMTD boot from /sdcard/cm7-a2ext/cMTD/Boot-cMTD.zip.
12. Flash cm7-a2ext installer from /sdcard/cm7-a2ext/cm7-a2ext-installer-0.1-signed.zip.
13. Reboot into CM7.
14. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
15. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
16. Reboot to complete the S2E changes.
17. Congratulations! You should now have a2ext with cm7 ^_^
Updating CM7:
1. Reboot into recovery.
2. NANDROID BACKUP!!!
3. Flash CM7.
4. [cMTD] Flash cMTD boot from /sdcard/cm7-a2ext/cMTD/Boot-cMTD.zip
5. Flash cm7-a2ext installer from /sdcard/cm7-a2ext/cm7-a2ext-installer-0.1-signed.zip.
6. Reboot into CM7.
7. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
8. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
9. Reboot to complete the S2E changes.
10. Congratulations! You should now have a2ext with cm7 ^_^
Manual Method:
[a2ext + FRcMTD + eFOS]
------------------------
Description:
This is my original method and is more involved, but it contains all of the steps required to setup a2ext, move your cache folders, adjust your partition sizes using FRcMTD, and move gapps from /system to /data using Ennon's eFOS scripts.
Requirements:
+ cm7 rom
+ cm7-a2ext archive - http://hotfile.com/dl/112487448/8264b72/cm7-a2ext.zip.html
+ root explorer, adb, or terminal access
Steps:
1. Download cm7-a2ext.zip and extract the contents to your sdcard.
2. [cMTD] Copy mtdpartmap.txt from the /sdcard/cm7-a2ext/cMTD folder to /sdcard/.
3. Reboot into recovery.
4. NANDROID BACKUP!!!
5. [optional] Wipe all data if installing cm7 for the first time (see the cm7 install instructions for more info).
6. [eFOS] Flash eFOS step 1 from /sdcard/cm7-a2ext/eFOS/ennon-fso-gapps1-signed.zip
7. Flash cm7.
8. Flash gapps.
9. [eFOS] If you are using eFOS, flash step 2 from /sdcard/cm7-a2ext/eFOS/ennon-fso-gapps2-signed.zip.
10. [cMTD] Flash cMTD recovery from /sdcard/cm7-a2ext/cMTD/Recovery-cMTD.zip.
11. [cMTD] Flash cMTD boot from /sdcard/cm7-a2ext/cMTD/Boot-cMTD.zip.
12. [optional] If you have access to adb in your recovery see the note about adb below.
13. Reboot into CM7.
14. From root explorer:
a) Navigate to /sdcard/cm7-a2ext/link2sd-config-scripts/ use multi-select on 11link2sd and 99complete then select Copy.
B) Navigate to /etc/init.d/ and select mount r/w from the upper right corner of the screen.
c) Paste the copied files.
15. Long press 11link2sd and select Permissions. Ensure that the permissions are set to rwxr-x---. Repeat this step for 99complete.
16. Reboot phone.
17. From the market install Link2sd and S2E.
18. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
19. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
20. Reboot to complete the S2E changes.
21. Congratulations! You should now have a2ext with cm7 ^_^
Additional Steps:
22. [threshold value] If you are getting low space messages with ~30mb free space on internal memory, you should consider checking out my tutorial on adjusting the threshold value. The link is at the bottom of this post.
Updating CM7:
1. Reboot into recovery.
2. NANDROID BACKUP!!!
3. Flash CM7.
4. [cMTD] Flash cMTD boot from /sdcard/cm7-a2ext/cMTD/Boot-cMTD.zip
5. [optional] If you have access to adb in your recovery see the note about adb below.
6. Reboot into CM7.
7. From root explorer:
a) Navigate to /sdcard/cm7-a2ext/link2sd-config-scripts/ use multi-select on 11link2sd and 99complete then select Copy.
B) Navigate to /etc/init.d/ and select mount r/w from the upper right corner of the screen.
c) Paste the copied files.
8. Long press 11link2sd and select Permissions. Ensure that the permissions are set to rwxr-x---. Repeat this step for 99complete.
9. Reboot phone.
10. [Optional] Open S2E and enable the dalvik cache and download cache options. Moving applications are not necessary.
11. Open Link2sd (if you are prompted to select a partition type, see the link2sd note below. otherwise you should have working a2ext).
12. Reboot to complete the S2E changes.
13. Congratulations! You should now have an updated system with a2ext^_^
notes:
-------------------------
adb / terminal note:
If you have access to adb from your recovery, you can potentially avoid an extra reboot by copying the config scripts from /sdcard/cm7-a2ext/link2sd-config-scripts/ to /etc/init.d/ before you boot cm7 for the first time. I haven't tested this, but I see no reason that it shouldn't work. I'm not going to go into too much detail about terminal commands because I will assume that if you're trying this you know what you're doing and if you don't, you should probably just buy root explorer and save yourself the hassle.
cMTD Note:
As of this writing the current install size for cm7 nightlies is just under 120mb. If you install cMTD make sure that the values in mtdpartmap.txt allow for enough room to fully install cm7 or you will have issues. The current values are set to 125mb system, 5mb cache, and everything extra goes to /data. It should also be noted that cm7 dynamically detects the cache value and moves the cache location if the size is <20mb.
link2sd Note:
Normally when you start link2sd for the first time, it asks you to select your partition type so it can create a script to mount the partition at boot. The config scripts (11link2sd and 99complete) serve this function, so if you are prompted to create the script /sd-ext and /data/sdext2 have not mounted properly. This is probably due to a device specific configuration issue. The included files are for an ext3 partition. If you have a different flavor of ext, you will need to adjust the 99complete script accordingly. Also keep in mind that if you are using s2e, it does not yet support ext4 so use at your own risk.
default install location note:
Since you have gone through all this trouble, it might be pertinent to change the default install location to internal in settings > cyanogenmod settings > application > install location. This will prevent cm7 from installing apps to the native FroyoApps2SD, thus negating all the benefits of using a2ext in the first place.
updating cm7 note:
You should be aware that many of these steps will have to be reproduced every time you update cm7. This is due to the fact that cm7 overwrites many of the files you are installing when you update. Fortunately, you won't lose anything on your ext partition and things go much quicker the second time through. See the section updating cm7 above for instructions.
Links:
--------------------------
cm7-a2ext:
cm7-a2ext-package-0.1.zip - http://hotfile.com/dl/112853580/9b85471/cm7-a2ext-package-0.1.zip.html
cm7-a2ext-installer-0.1.zip - http://hotfile.com/dl/112853289/7d2e803/cm7-a2ext-installer-0.1-signed.zip.html
cm7-a2ext archive - http://hotfile.com/dl/112487448/8264b72/cm7-a2ext.zip.html
Apps:
Link2sd - http://forum.xda-developers.com/showthread.php?t=919326
S2E (simple2ext) - http://forum.xda-developers.com/showthread.php?t=917377
cMTD Stuff:
Firerat's cMTD - http://forum.xda-developers.com/showthread.php?p=7061471#post7061471
cMTD cm7 specific - http://forum.cyanogenmod.com/topic/17752-cm7-issues-with-cmtd/
patched cMTD for cm7 (original post) - http://www.teamuscellular.com/Forum/viewtopic.php?f=29&t=178
Ennon's eFOS:
original thread - http://forum.cyanogenmod.com/topic/...-cyanogenmod6-firerats-cmtd-ennons-fso-gapps/
other:
How to change threshold value - http://forum.cyanogenmod.com/topic/...n-space”-warnings/page__p__107672#entry107672
cross posted from http://forum.cyanogenmod.com/topic/19160-how-to-a2ext-for-cm7/
does this still work?
yes. i have successfully used it on every nightly for CM7 (that i happened to install) through to the current official build as well as the temasek "self kang" builds where available (http://forum.xda-developers.com/showthread.php?t=1421425).
thank you flashing will report bak in a while
---------- Post added at 03:22 AM ---------- Previous post was at 02:56 AM ----------
i tired and it didnt work... it says
--Installing: /sdcard/cm7-a2ext/eFOS/ennon-fso-
gapps1-signed.zip
Finding update package...
Opening update package...
E:Error in /sdcard/cm7-a2ext/efos/ennon-fso-gapp
s1-signed.zip
(Status 0)
Installation aborted.
maxesxp said:
i tired and it didnt work... it says
--Installing: /sdcard/cm7-a2ext/eFOS/ennon-fso-
gapps1-signed.zip
Finding update package...
Opening update package...
E:Error in /sdcard/cm7-a2ext/efos/ennon-fso-gapp
s1-signed.zip
(Status 0)
Installation aborted.
Click to expand...
Click to collapse
Ah. Forgot about that one. I haven't used it in forever to be honest. The ennon thing is super old now. Try looking for a new version or just delete system apps manually using titanium backup, root explorer, the terminal emulator or adb.
Search the forums for help if you're not sure what to toss.
icecreamisdrugs said:
Ah. Forgot about that one. I haven't used it in forever to be honest. The ennon thing is super old now. Try looking for a new version or just delete system apps manually using titanium backup, root explorer, the terminal emulator or adb.
Search the forums for help if you're not sure what to toss.
Click to expand...
Click to collapse
okay thanks anyways
Nexus1 S2E ext4 - individual apps?
maxesxp said:
okay thanks anyways
Click to expand...
Click to collapse
Hi, I've been following your posts - I have cm7.2 and installed S2E - it seems to just WORK without having to do all the flashing above.
.... I see that my ext4 partition has some stuff in it, but the free space still indicates that my space for apps is huge number to 190mb...
have a look at this screen shot
==
DISCLAIMER I (or any contributor) cannot be held responible in any way for any sort of damage caused for using this ROM or its derivatives.
This is the AOSP-based Android 4.1.1 Jellybean ROM using custom kernel 3.0 for Herotab C8/Dropad A8/Haipad M7/iBall Slide and compatible tablets.
The Herotab C8 and its siblings are one hackable device; It supports Android 2.2, 2.3, 3.0, 3.2, 4.0, and 4.1. It runs on a single-core Samsung S5PV210 1Ghz Processor and 512mb RAM. Pretty low spec, however with the right tinkering it can be one powerful device.
What works:
Display
Hardware acceleration
Touchscreen (thanks violet's ft506 driver and przemo27 for figuring the alternate data format)
Audio\Microphone (thanks to Asure's CM7 build for audio HAL; and mg3100's details on kernel)
Wi-Fi (thanks to violet's ar6000 driver and jolocotroco for locating source for a wpa_supplicant8 dependency)
Bluetooth
Accelerometer (thanks to Asure's port of mango210 kernel)
Battery Indicator
USB Host
USB OTG
Camera
Market, GoogleApps
Root
What does not work:
HDMI
3G dongle
(NOTE This list is not exhaustive; this build is still a Beta and not intended to be a daily driver)
Steps for flashing (using script; this will make 512MB system, 256MB cache and 1GB data partition and erase your existing settings and apps):
Extract the archive. You will get two files, one will be a GZipped tar (.tgz) and other the kernel (zImage). Copy these to the root of an external SD.
Download the attachment posted here and extract them to the root of the external SD. You should now see 6 files in the root of the external SD. (utscript, utscript_sd, utscript.sh, zImage.debug, zImage, rootfs.tgz).
Insert the SD card and boot your tablet using Menu+Power. This will flash your tablet.
Steps for flashing (using custom recovery):
Extract the archive. You will get two files, one will be a GZipped tar (.tgz) and other the kernel (zImage). Copy these into a folder (path muwst have no spaces) in your external SD card.
Boot into custom recovery.
Go to "Advanced", then "Partition SD card". Select partition sizes (make sure system partition > 320MB) and wait for it to format the partitions. Existing settings and apps will be lost.
[You can skip this step if your tab's system partition is > 320 MB]
Now return to the main menu, and select "Flash ROM". Give it the path where you stored the ROM in step 1. Wait for it to flash the ROM.
Return to main menu and select "Shutdown".
Turn on your tablet normally, and enjoy!
Links:
http://www.embedupload.com/?d=85OERSGVNV (Embedupload)
NOTE: I didn't make this ROM. The guys over at slatedroid did it, so credits all go to them. But you can thank me for sharing
Custom recovery for herotab c8
DISCLAIMER. Use this at your own risk. I will not be responsible for any damage\brick caused by using this recovery.
Currently this is a Beta and all functionality has not been thoroughly tested.
This is a custom recovery modeled on CWM recovery (built on the custom kernel based on Urbetter's source) for Herotab C8/Dropad A8/Haipad M7/iBall Slide i7011/Coby 7024 and equivalent tablets. It should also work on Coby 8024/1024 tablets.
The recovery is built to be compatible (as much as possible) with existing firmwares (stock as well as custom) and patches (again stock as well as those found in custom ROMs). The reason you might want to use this recovery to flash is that:
Its safer (bootloader, etc. are not touched so greatly reduced probability of bricking)
It does not erase your data partition (so Apps and Settings are carried over)
It maintains your existing partition layout (you can change if wanted)
In order to try this recovery,
Download BootExtRecovery.zip attached to this post.
Download the recovery zip from the GitHub link below
Extract both zip files to the root of an external SD card.
Boot your tablet using Menu+Power
This will boot the recovery externally (i.e. unless you actually do something using the recovery, your tablet will be completely unmodified). After the recovery boots and menus work, you may flash the recovery into your tablet (using "Partitions and Storage" menu). Flashed this way, the recovery can be booted into whenever both your SD cards don't have a "utscript" file (otherwise the script is executed instead of starting recovery).
Download: https://github.com/namko/midRecovery/downloads
Source: https://github.com/namko/midRecovery
Key assignments:
Herotab C8/Dropad A8/Haipad M7/iBall Slide -- HOME to select, MENU/BACK to scroll
Coby 7024 -- HOME to select, POWER to scroll
Function list:
Flash ROM - Flashes the ROM on SD card (external or internal) located in a specific folder.
This does not erase 'data' partition. If you downgrade Android, make sure to erase the 'data' partition (or at least erase dalvik-cache from advanced menu) for maximum compatibility.
This does not repartition the internal SD, so if you want a different layout, make sure to change before flashing.
This flashes only the kernel (no other partition e.g. logo, recovery, boot arguments, boot loader)
Apply patch/update - Prompts you to select a patch/update to apply.
Wipe data/factory reset - Erases the 'data' partition. This is equivalent to doing a factory reset.
Wipe cache - Erases the 'cache' partition.
Backup/Restore - Create a new backup (system = firmware, data = your settings/apps) or restore a previously created backup. Essentially this is a NANDROID backup.
Partitions/Storage - To backup or flash individual partitions (e.g. logo, kernel, recovery, boot arguments, bootloader, etc.)
Advanced - To repartition the internal SD card, erase Dalvik-cache, view log, etc.
You can flash ROM (or apply updates) from .ZIP files as well; but it doesn't support the "standard" format because they sometimes contain executables that must be executed to properly apply the patch.
Fixes and patches
Kernel fix (just update it via recovery -> apply patch/update -> update kernel):
http://www.4shared.com/zip/M_ZcGiSF/zImage.html
Wifi Patch:
http://www.4shared.com/zip/3T9hUxnt/wifipatch.html
Here's a patch implementing changes suggested by jolocotroco. To apply this patch:
Extract the zip into your external SD card (anywhere)
Boot into recovery
Select "Apply patch/update"
Select the extracted file ("wifi.patch.tgz")
Reboot after applying patch
It is also possible to apply the patch using adb. Remember to stop WiFi first. This will apply the patch and reboot your device.
adb push wifi.patch.tgz /mnt/sdcard
adb shell
su
mount -o rw,remount /
mount -o rw,remount /system
stop wpa_supplicant
stop hostapd
tar xvf /mnt/sdcard/wifi.patch.tgz -C /
reboot
Click to expand...
Click to collapse
bump
don't work
no one of this patch is recognized by the recovery...
also the kernel update is not a tgz file...
maybe i did a mistake?
j.valeron said:
no one of this patch is recognized by the recovery...
also the kernel update is not a tgz file...
maybe i did a mistake?
Click to expand...
Click to collapse
It should work, what steps did you took to install the kernel?
Custom Recovery for C8/A8/M7
I nearly forgot this. Sorry.
DISCLAIMER. Use this at your own risk. I will not be responsible for any damage\brick caused by using this recovery.
Currently this is a Beta and all functionality has not been thoroughly tested.
This is a custom recovery modeled on CWM recovery (built on the custom kernel based on Urbetter's source) for Herotab C8/Dropad A8/Haipad M7/iBall Slide i7011/Coby 7024 and equivalent tablets. It should also work on Coby 8024/1024 tablets.
The recovery is built to be compatible (as much as possible) with existing firmwares (stock as well as custom) and patches (again stock as well as those found in custom ROMs). The reason you might want to use this recovery to flash is that:
Its safer (bootloader, etc. are not touched so greatly reduced probability of bricking)
It does not erase your data partition (so Apps and Settings are carried over)
It maintains your existing partition layout (you can change if wanted)
In order to try this recovery,
Download BootExtRecovery.zip attached to this post.
Download the recovery zip from the GitHub link below
Extract both zip files to the root of an external SD card.
Boot your tablet using Menu+Power
This will boot the recovery externally (i.e. unless you actually do something using the recovery, your tablet will be completely unmodified). After the recovery boots and menus work, you may flash the recovery into your tablet (using "Partitions and Storage" menu). Flashed this way, the recovery can be booted into whenever both your SD cards don't have a "utscript" file (otherwise the script is executed instead of starting recovery).
Click to expand...
Click to collapse
Github:
https://github.com/namko/midRecovery/downloads
BootExtRecovery:
http://www.4shared.com/zip/HxPitG3B/BootExtRecovery.html
mid recovery is not working on 8024
the recovery is not working on 8024, i have just a black screen...
please help
Sorry it is working...
Now we have Jelly Bean 4.2 form SlateDroid
Please refer for the following hyperlink
http://www.slatedroid.com/topic/42771-romcm101android-421-build-1/
[WORKING]
- Audio
- Video
- Wifi
- Touchscreen
- Most regular things
[NOT WORKING]
- Bluetooth
- 3G
awesome will try it on my dropad A8 its a shame hdmi is not working
MutiTool - Swiss army knife - MUST have for Newbies. 17Menu >300 choices. believe it!
MutiTool Advaced - Swiss army knife - All in One Tool is on post#3
MutiTool Basic- Swiss army knife - MUST have tool for Newbies.
This is for N7100 only, N7105 user look here.
Glad to announce a utility tool - MultiTool.
This is state of the art must have tool for all newcomers. You can manage following things with it.
- Root
- Busybox
- EFS Backup/Restore
- Recovery changer
- Kernel changer
- Modem changer
- Backup/Restore System App & Framework folder
- Bloatware Backup-Remove-Restore
- LockScreen Security bypass
- Clean device to prepare for Triangle Away
- Flash Recovery/Kernel/Modem from SD card (.img .bin)
Details of features under Installation & Features
Installation and Features MUST READ BEFORE USING
So You must have CWM/TWRP Recovery Installed to use this tool. Here is detail guide to get CWM on your device.
Procedure to get CWM : Click to Show Contents if you want to know How to flash CWM. If you have CWM installed then move to next step - MultiTool Intallation and features.
Step 1
Download Philz_touch_*n7100.tar.md5 Also you need to have Kies OR Samsung USB driver installed on PC.
1.Open Odin and select PDA tab (see image below) (Get Odin from here)
2.Point to recovery file you have downloaded philz_touch_* -n7100.tar.md5
3.Now switch off device and reboot in download mode
press Vol down + Home +Power, And then, press Volume UP button in Warning Page to enter the Download Mode
4.Connect device to PC and wait till device successfully added to com port (it will turn light blue) (see image below)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
5.Hit ‘Start’ to flash
6.Once it flashed successfully, you can see 'PASS' in table above the ID :COM, you can disconnect device from PC (see image below)
[Note : normally, phone should auto-reboot into recovery.
If it reboots into android and your recovery remains stock, repeat above steps and untick "autoreboot" in odin. Once flash is done, keep pressing power button until it reboots (normally will go to recovery)
when in recovery, if you choose option "reboot system now" and you get "yes - disable flash recovery", select that option to avoid stock recovery overwriting cwm]
On successful flashing your recovery change to CWM, Now Next step How to use Multitool
Installation of Multitool and Detail features
- Download DrKetan_MultiTool-AromaVxx.zip from end of this post and copy to SD card (Internal / Ext)
- Reboot device to Recovery (Vol Up +Power + Home).
- You will have recovery menu like this(see image below), Select Install zip
- Then select Int/Ext SD card depending on you have copied file location.
- Select file you have copies DrKetan_MultiTool-AromaVxx.zip and hit Entre. (See image)
This will Open Aroma Installer and you will have following Option to perform. Read every option in detail before proceeding.
1.Root
Here you will have two option.
A.Root : You can root your device with this option, Also this option cleans leftover of previously installed Superuser/SU of different superuser app.
In case your device is previously rooted and on reboot you can't see SuperSU app in drawer OR if you unable to update binary, simply update from Play store and it should work.
B.BusyBox - Routinely this doesn't needs and most of app needs root works without this too. Still any of your app demand this then you can select this option also you can do it later too.
2.EFS Backup If you are newbies and don't know why you need this then first read this thread. I recommend all user to make EFS backup if you still don't have.
A.EFS Backup : This will make EFS backup in format of raw imahe efs.img to int SD card MyEFS folder
B.EFS Restore : This will restore previously made backup in case you lose IMEI and need it.
3.Recovery - This is recovery changer tool.
You can switch to different recovery like
A.Philz touch CWM based recovery
B.TWRP
C.Stock Recovery- remember if you flash stock recovery, you will have to use odin to flash CWM/TWRP.
Here is Philz Recovery original thread
Here is TWRP official project website
4.Kernel - You can switch between kernel
Available kernels are
A.NEAK kernel B.Perseus Kenel C.Stock Kernel
Here is Neak kernel original thread if you have any queries for NEAK kernel Credit @simone201 for NEAK kernel.
Here is Perseus Kernel original Thread, in case you have any kernel related queries for Perseus Kernel. Credit @AndreiLux for Perseus Kernel
5.Modem
A.Old Modem LK6 : Don't Flash this on New ROM ME6 and later otherwise you will lose IMEI
B.New Modem MG1 :If you downgrade ROM and lose your IMEI, flashing this new modem can restore your IMEI.
6.backup Restore general - Helpful before trying different MODs, if that doesn't work you can restore previous file wuth this.
A.Backup Framework folder - Will make backup of System/framework folder to IntSDcard/DrKetanMod/framework folder -Needs 100MB free space
B.Backup System Folder - will make backup of System/app folder to IntSdcard/DrKetanMod/app folder. it needs appr 700MB space.
C.Backup to ExtSD - will backup System/app + System/framework folder to ExtSDCard/DrKetanMod. Needs 800MB space.
For Restore select option according you have selected backup location.
D.Restore Framework folder from IntSD
E.Restore System/App folder from IntSD
F.Restore System app and framework folder from ExtSD
7.Bloatware
A.Backup Bloatware - Select this to backup bloatware before removing it so you can restore anytime you need it.
B.Remove Bloatware - You can remove batch bloatware with this. To remove selected bloatware use this tool
C.Restore Bloatware
8.LockScreen security bypass
A.Remove Password - If you forget your lockscreen password/Pin/Pattern, you can bypass security with this option. This will remove PIN/Password and you can reset new. In case you bypass Pattern then you may have pattern on reboot but you can unlock with any pattern and you can reset your new pattern.
9.Prepare device to use TriangleAway Newbies are not knowing about their recovery/kernel so this tool will help to reset stock.
A.Clean device - This will remove all left over of Super user app and SU, also remove Busybox and symlink of busybox. As well this will Replace CWM to Stock recovery. But still clean root access will remain present to use triangle away app. That can be unroot with SuperSU settings.
Again if device doesn't have SuperSU app OR fail to update binary then update it from play store.
Remember after selecting this option your recovery will be stock and if you need CWM, you have to use Odin again
B.Select This If you have stock kernel - If your kernel is custom and you want to make device clean you also have to select this option along with A. to use triangle away.
10.Own Flashing
No more Flashable zip OR Tar needed to flash extracted recovery/kernel.img OR modem.bin
You can extract recovery.img or boot.img or modem.bin from stock ROM by simple unzip tool and put file on Int/Ext Sd card root directory then you can follow below mentioned task from aroma to flash that stuff.
A.Flash Kernel from IntSD
B.Flash Kernel from ExtSD
C.Flash modem from IntSD
D.Flash modem from ExtSD
E.Flash recovery from IntSD
F.Flash recovery from ExtSD
Download :
DrKetan_MutiTool_AromaV11 - Basic version
Dr.Ketan_MultiTool_Advanced
Old Version
DrKetan_MutiTool_AromaV10
-------------------------------------------------------------------------------------------------------------------------------------------------------
Hope friends you will find this tool helpful to keep on your SD card so you can use it anytime. If Niewbies can't post here in dev section, use this thread instead.
GoodLuck And Happy Flashing !
ChangeLog :
[15.09.13] DrKetan's MultiTool V10 -Initial release
[17.09.13] DrKetan's MultiTool V11 - two changes. A. Own Flashing - you can flash your recovery.img /boot.img /modem.bin. B.fixed issue on twrp using ExtSD option.
[21.09.13] DrKetan's MultiTool Advance V1 added. A. Aroma File Manager with Terminal. B. Odex remover C. Simplistic backup restore. D. System push
[29.09.13] DrKetan's MultiTool Advance V2 added. A.GPS Glonass fixer B. CSC Features C. build.propTweaks D. Bloat remover customized
Credits : @Phil3759 for his amazing recovery and busybox cleaning tool @Chainfire for his Superuser.apk and SU
I MutiTool Advanced
Ok friends glad to present advanced version of MultiTool. This is not much different from basic version but having some extra features and may not be comfortable to use by newbies. so releasing here as extra version and keeping basic vesion as it is.
Index
- Root
- Busybox
- Recovery changer
- Kernel changer
- Modem changer
- Backup/Restore System App & Framework folder/ EFS /Simplistic and mass bloatware remover
- Restore
- Odex remover
- Customized bloatware remover
- Customized CSC Features
- Tweaks - build.prop
- LockScreen Security bypass
- Push System Apks
- GPS Glonass Fixer
- Clean device to prepare for Triangle Away
This is advanced version and expecting no need to write guide about how to flash CWM and install multitool, still anyone have doubt please refer post #1.
Detail features
- Tool having some welcome screen, introduction, terms and condition, changelog, features list initially.
- After this is MainMenu. You can select either of one menu
A. MultiTool Utilities
B. Aroma File Manager with Terminal Console
C. System Information.
- Starting with Mutitool utilities, you will get following options
1. Root option : Inject root to device.
2. Busybox : Inject Busybox to device.
3. Recovery Flasher
Phillz recovery
TWRP recovery
Stock recovery
Recovery from SD card - You need to put desired recovery.img file on root directory of int SD card
Recovery from ExtSD card - You need to put desired recovery.img file on root directory of Ext SD card
Do Not change - To Keep your existing recovery
4. Modem Flasher
New MG1 flash - you can restore IMEI lost by downgrading ROM. I have removed option to flash old modem as it is not useful. still can flash any modem from SD card
Flash Modem from Ext SD - Put modem.bin file on root directory of ExtSD to flash
Flash Modem from Int SD - Put modem.bin file on root directory of IntSD to flash
Do Not change - To keep your existing modem
5. Kernel Flasher
Perseus Kernel
NEAK Kernel
RedPill Kernel (TW)
Adam Kernel
Stock Kernel (MG1)
Flash Kernel from ExtSD - Put boot.img file on root directory of ExtSD to flash
Flash Kernel from IntSD - Put boot.img file on root directory of IntSD to flash
Do not change - To keep existing kernel
6.Backup and Removel utility - This will be Menu page
There will be option to skip this OR to enter to customize backup/removal
EFS - A.Backup to IntSD B.Backup to ExtSD
Bloatware - A.Backup Bloatware (To bloatware folder in intSD)B.Bloatware Removal
System Backup A.Backup System/app folder to IntSD/DrKetanMod/app B.Backup System/framework folder to IntSD/Dr.KetanMod/framework
Simplistic Backup A.OdexB.Deodex If you want to try Simplictic framework. select according you are flashing version of simplistic. Incase simplistic doesn't work, you can restore your files.
7.Restore Utility - This will be menu page
There will be option to skip OR enter customiztion of restore.
All above option of backup will available here when you needs to restore.
EFS - A.Restore from IntSD B.Restore from ExtSD
Bloatware - Restore bloatware, if you have previously made backup
System Folder - A.Restore from DrKetanMod/app to System/app B. Restore from Dr.KetanMod/framework to System/framework
Simplistic - A.Odex B.Deodexed
8.Odex remover - This is Menu page
select skip OR enter to remove selected odex. This helpful when you flashing mod on odex rom doesn't have odex removal script
There is 19 common odex you can select any of it to remove
9.Customized bloatware remover
Now there is option to remove selected Bloatwares.
10.Customized CSC Features
You can have following CSC features. Thanks to @wesamothman and @MBariya for providing feature list. Just to add
-Backup is highly Recommended -Don't Use TRIGGER option first time -If you know your fetures file name is feature.cml and not others.xml then only select workaround option. - if first time regular flashing doesn't work, select only workaround option and flash. - still fail, select Trigger option + all requred feature and flash. - still fails select only workaround and flash - Still fails, Sorry hard luck, restore your backup.
11.Build Prop Tweaks
Following tweaks you can apply. Credits goes to original founder of tweaks, searched XDA for build.prop tweaked and selected some of it.
12.Lock Screen security bypass
You can use this if you forget PIN/Password/Pattern to remove it.
13.SystemPush - Push application to System folder
place apk and / or odex to sdcard/app folder to push system/app folder
place jar,apk and / or odex to sdcard/framework folder to push
system/framework folder
14.GPS/Glonass Fixer
Read This for more info, no need to download separately as it's included in tool.
15.Clean Device -
Use this to replace recovery with stock one, also remove old leftover of multiple superuser,su and busybox. still you will have root access to use triangle away
If your kernel is custom you have to use second option, as that will do above all plus replace custom kernel with stock one.
Will update screenshot later
Download
Dr.Ketan MultiTool Advance V2 [For 4.1.*]
Dr.Ketan MultiTool Advance V6 [For 4.3]
Older Vx
Dr.Ketan MultiTool Advance V1
Mirror
MultiTool V5 (For 4.3 OS) ---------- Mirror for V5 advance
Reserved one
Last one In case
Thanks a lot Doc for the tool and your entire contribution to the Note II comminity!! We sure will miss u! Just a request here: is it possible to work with another recovery, besides cwm? I'm using TWRP, hence the question. Thanks again!!
From the middle of nowhere to the center of everywhere!!
Yeah you can use CWM/TWRP
even you can change it from this tool only (without downloading).
chandoliasnikos said:
We sure will miss u!
Click to expand...
Click to collapse
How is that,did you bought other device doc???
I will go with Note3 once out.
May be this one last development for Note2 (unless change my mind )
Sad news for this section,where is the follow button????
I will supoort this section too but there will be little possibilities to develop without device. But sure still will be here for all newbies for their question on any of my thread.
I would like to try this out but I can't seem to find the link.
I guess host is still down. Will have to check after a few hours then. Thanks dr ketan.
We will miss dr ketan's apps and presence in note 2 forums.
Sorry for delay
Download link updated to OP
Finally good news for nOObs!
All in one toolbox by Dr.Ketan, waiting for few day for testing this tool.
Great Job Dr.Ketan. No need any extra zip files. only one file will do all things.
Will Miss your mods.
Can you please provide link for guide of Aroma installer. I have searched in xda forum but can't get proper result.
I have referred few, i will send you link tomorrow from office pc. But truly still not single guide there to explain everything. I have read a guide in note1 forum few days ago and I found it better than I referred.
Sent from my GT-N7100 using xda premium
I think one more utility we can add to this tool.
Flash own choice recovery kernel and modem. As many user still unable to manage flashable zip or tar from .img
So here you can put img file on sdcard and aroma can flash it.
Also looking forward to flash stock rom with aroma so no more prerooted rom you needs.
Sent from my GT-N7100 using xda premium
Hi dr ketan. I appreciate your hard work but your tool can't seem to save to my external sd card. The log says it is trying to create a directory in /external_sd but mine is /ExtSdCard. I think a rewrite of the code will solve the problem. I could send you the log file but I do not know how to attach it here.
Which ROM you have installed? and which recovery you have used ?
Next version have extra feature
- Flash your selected Recovery/modem/kernel from SDcard
You have to just keep your desired recovery.img/boot.img/modem.bin to Sd card.
No more need to have flashable zip OR tar.
Hi people, here is a short instruction if you have a P or L version of the I8160 and want to update this (great) old phone. credits to xdas-e
for a while i thought that roms didnt work on the P version, because when installing roms i got the error that the rom was only for I8160, not I8160P. so yeah it is possible, maybe this is common knowledge, but i couldnt find out how before i found this information.
I have not tested this exhaustively but i believe they all should work, because i believe the only difference from the P version is that it has an NFC module.
]------- modify the rom for P version:
1.- Get the custom ROM.
2.- Get the /system/lib/tee folder contents from your GT-I8160P JB installation (from stock rom). You may need root access, although in my case I could simply move trough the hidden directories and copy the folder to my sd card.
3.- Swap the /system/lib/tee folder, and put what you got from step 2, into the zip file of step 1, same place, same everything. You may very well dispose the original /system/lib/tee folder in the zip file.
4.- Change /system/build.prop and introduce a P in every GT-I8160 entry (from GT-I8160 to GT-I8160P).
5.- (tricky one) look for the updater script file within the custom ROM zip file, and delete (or add a P) the first complete entry of the assert command (you shall see some GT-I8160 there). in my case it was located under META-INF\com\google\android\.
------- from here you have successfully modified the rom for the P version, these steps just show the installation:
6.- If you dont already have CWM, get yourself one (I used this one [JB] CWM Recovery 6).
7.- Put both zip files into your sd card; get a copy also of gapps (google apps, play store etc) for the android version of the rom.
8.- Back up all your data.
9.- Swicht off your phone and restart in recovery mode (up volume, home and power buttons pressed simultaneously).
10.- Load from the external sd card the CWM zip file.
11.- Make a full ROM backup to restore if things go wrong. Wipe data/factory reset; wipe cache partition; wipe dalvik cache (under advance options), format /system if needed (see rom instructions).
12.- Install from external sd card: a) custom CM rom; and b) gapps if you're for it.
13.- Restart.
14.- You shall be done!!! (first boot takes a long time)
good luck! my phone was crap with stock and now it works great, so basically it saved me from buying a new phone.. a big thanks to all the rom developers for this device .
[GUIDE] f2fs for stock, developer and custom - roms
This is my first post in xda, im a silent reader since years.
Just registerd to post this because so many people always asks the thing with f2fs and if the rom have f2fs support.
Dont ask again, make it support on your own!
its not magic, its just format the partitions, editing two lines in fstab and flashing the right kernel.
Caution! You will lose all data from internal storage so please backup your files!
What you need:
1. unlocked android device, i´m on Redmi note 5 Global 4/64
2. pc or notebook with adb and fastboot
3. custom recovery solution, i use original latest twrp
4. off course a rom of your choice, in my case xiaomi.eu latest developer (MIUI 10.4 / 9.5.16)
5. a kernel that supports f2fs, i use KangarooX r4.4 with OC but ice cold etc. works also
6. a texteditor, i use the windows notepad
7. time
Ok, lets go:
All this things must be done in a row, without reboot!
1. remove fingerprint, face and pin unlock on your running device
2. boot into twrp by pressing vol up + power button
3. go to wipe > make a factory reset
4. go to wipe > advanced wipe > select Cache > repair or change file system > change file system > select f2fs
5. go to wipe > advanced wipe > select Data > repair or change file system > change file system > select f2fs
6. connect your device to pc
7. transfer your rom, kernel and all your files you need to internal storage or take your sd card (i prepared my sd card)
8. flash your rom
9. flash your kernel
10. flash your other stuff (i flashed magisk)
11. check your cache partition, it should be f2fs if not, change cache file system again (Point 4)
12. mount the vendor partition
13. on your pc, go to your adb folder and check in terminal if device is listed
14. type in terminal without quotes "adb pull /vendor/etc/fstab.qcom"
15. edit the fstab.qcom with your editor, search for the data and cache lines
16. edit the line for the cache partition that it looks like "/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait" without quotes
17. edit the line for the data partition that it looks like "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,resize,check,crashcheck,quota" again without quotes
18. save the file and push it to your device with terminal "adb push fstab.qcom /vendor/etc/" remember without quotes
19. set permisson of the file in terminal or twrp, i use terminal "adb shell" > "cd /vendor/etc" > "chmod 644 fstab.qcom"
20. now you´re ready to reboot the device and have a lag free gcam pixel3, etc.
After reboot, check your partitions with diskinfo or similar.
This guide should also work with other devices.
Happy flashing and i hope you enjoy
PS: my english is not so good as it can be
Remember: if you flash the vendor partition, you have to edit the fstab.qcom again!
its easier to convert to f2fs data and cache and flash datafix-fstabs cachefix-fstabs in twrp
JA
raptorddd said:
its easier to convert to f2fs data and cache and flash datafix-fstabs cachefix-fstabs in twrp
Click to expand...
Click to collapse
but not work for MIUI
RubenPCA said:
but not work for MIUI
Click to expand...
Click to collapse
yes it does. i am using in xiaomi .EU
Both methods work.
Let me explain why i posted this tiny Guide.
For people who are not familiar with operating systems in this case android, its allmost tricky to find the right solutions or files without any clue what they need.
If you do things from ground, you understand what you´ve done and are able to fix it or remove it by yourself.
I personally prefer the way to do things on my own and not spend many hours to search for the right files, to download and flash without any clue what they do or how they work.
When i decided to change the filesystem of my devices, i started to search and found fragmented solutions over the net.
Btw. doesn´t found the 2 zip files easy. Heard the first time as you commented this tiny Guide. So i started to search and found the hint in a different comment from you, it can be downloaded from a telegram group.
Anyway, i doesnt had this files but knowledge in linux, so i decided to change the lines quickly by myself. It isnt much work and its always the same so you can copy and paste the two lines.
To make the choice and search for the peoples easy, here ist the link to the thread where you can find the telegram group to download the files https://forum.xda-developers.com/redmi-note-5-pro/help/f2fs-miui-pie-roms-t3922370
raptorddd said:
yes it does. i am using in xiaomi .EU
Click to expand...
Click to collapse
Do you need to reflash cache and data fix after every rom update/dirty flash?
sushuguru said:
Do you need to reflash cache and data fix after every rom update/dirty flash?
Click to expand...
Click to collapse
it depends on the rom that you want to flash.
The file that needs to edit from hand or the two zip files is on the vendor partition.
In short, the file tells the System witch partition with attributs, names and filesystem is automatic mount during the startup process.
Gerr1 said:
it depends on the rom that you want to flash.
The file that needs to edit from hand or the two zip files is on the vendor partition.
In short, the file tells the System witch partition with attributs, names and filesystem is automatic mount during the startup process.
Click to expand...
Click to collapse
Xiaomi.eu in my case, wonder if the rom will replace the file has been fixed after flashing.
sushuguru said:
Xiaomi.eu in my case, wonder if the rom will replace the file has been fixed after flashing.
Click to expand...
Click to collapse
Dont know, try it out. If the phone doesnt boot, go to twrp and flash the zips again.
sushuguru said:
Do you need to reflash cache and data fix after every rom update/dirty flash?
Click to expand...
Click to collapse
yes. rom-kernel-datafix-cachefix.
Do I need to do steps 12 to 20 for HavocOS or AOSiP? (Both these ROMs support f2fs)
Also, do I need to do these steps again after I update the said roms?
devansh8 said:
Do I need to do steps 12 to 20 for HavocOS or AOSiP? (Both these ROMs support f2fs)
Also, do I need to do these steps again after I update the said roms?
Click to expand...
Click to collapse
Nope, just format data and cache partition to f2fs and you're good to go.
Gerr1 said:
[GUIDE] f2fs for stock, developer and custom - roms
This is my first post in xda, im a silent reader since years.
Just registerd to post this because so many people always asks the thing with f2fs and if the rom have f2fs support.
Dont ask again, make it support on your own!
its not magic, its just format the partitions, editing two lines in fstab and flashing the right kernel.
Caution! You will lose all data from internal storage so please backup your files!
What you need:
1. unlocked android device, i´m on Redmi note 5 Global 4/64
2. pc or notebook with adb and fastboot
3. custom recovery solution, i use original latest twrp
4. off course a rom of your choice, in my case xiaomi.eu latest developer (MIUI 10.4 / 9.5.16)
5. a kernel that supports f2fs, i use KangarooX r4.4 with OC but ice cold etc. works also
6. a texteditor, i use the windows notepad
7. time
Ok, lets go:
All this things must be done in a row, without reboot!
1. remove fingerprint, face and pin unlock on your running device
2. boot into twrp by pressing vol up + power button
3. go to wipe > make a factory reset
4. go to wipe > advanced wipe > select Cache > repair or change file system > change file system > select f2fs
5. go to wipe > advanced wipe > select Data > repair or change file system > change file system > select f2fs
6. connect your device to pc
7. transfer your rom, kernel and all your files you need to internal storage or take your sd card (i prepared my sd card)
8. flash your rom
9. flash your kernel
10. flash your other stuff (i flashed magisk)
11. check your cache partition, it should be f2fs if not, change cache file system again (Point 4)
12. mount the vendor partition
13. on your pc, go to your adb folder and check in terminal if device is listed
14. type in terminal without quotes "adb pull /vendor/etc/fstab.qcom"
15. edit the fstab.qcom with your editor, search for the data and cache lines
16. edit the line for the cache partition that it looks like "/dev/block/bootdevice/by-name/cache /cache f2fs nosuid,nodev,noatime,inline_xattr,flush_merge,data_flush wait" without quotes
17. edit the line for the data partition that it looks like "/dev/block/bootdevice/by-name/userdata /data f2fs nosuid,nodev,noatime,discard,background_gc=off,fsync_mode=nobarrier wait,resize,check,crashcheck,quota" again without quotes
18. save the file and push it to your device with terminal "adb push fstab.qcom /vendor/etc/" remember without quotes
19. set permisson of the file in terminal or twrp, i use terminal "adb shell" > "cd /vendor/etc" > "chmod 644 fstab.qcom"
20. now you´re ready to reboot the device and have a lag free gcam pixel3, etc.
After reboot, check your partitions with diskinfo or similar.
This guide should also work with other devices.
Happy flashing and i hope you enjoy
PS: my english is not so good as it can be
Remember: if you flash the vendor partition, you have to edit the fstab.qcom again!
Click to expand...
Click to collapse
Can you pls make tutorial for exynos chipsets also? Pls pls pls
Is there a way to know if a custom rom Support f2fs or not ?