[Q] Is Can We have Dual-Boot Kernel ?? - Samsung Galaxy SL i9003

Is this is possible for i9003 to have dual-boot kernel like galaxy s2(i9100) that can run dual rom i.e. One stock rom and other is any Custom rom. That can help in development in our mobile too. By having the stock rom which has no lag and rom which we want to develop or use as another our another rom which has some bugs i.e. CM9.
Looking forward for affermative reply thanx.

in curren situation its very difficult. Sgs2 have number of developers but we have very limited kernel developers.

NO
I'm sorry, but we can't have it for a lot of simple reason.
Kernel developers are really few than others device
Space in internal flash, Doomlord must compress its kernel for 8 megabyte boot partition, i don't think it's possible include 2 different init in ramdisk, with 2 rom flashed, we haven't Cyanogen Kernel or Miui Kernel it's supported and stable ^^
Sense, what's the sense to do this? choose your favourite and use only it, it's not sense imho
PS: It's sirya kernel feature ^^ not as i9100

Vrz. said:
I'm sorry, but we can't have it for a lot of simple reason.
Kernel developers are really few than others device
Space in internal flash, Doomlord must compress its kernel for 8 megabyte boot partition, i don't think it's possible include 2 different init in ramdisk, with 2 rom flashed, we haven't Cyanogen Kernel or Miui Kernel it's supported and stable ^^
Sense, what's the sense to do this? choose your favourite and use only it, it's not sense imho
PS: It's sirya kernel feature ^^ not as i9100
Click to expand...
Click to collapse
Personally for me i like both stock ics and cm9.. i used dual boot because sometimes i feel like running cm9 then sometimes i feel like running stock ics.. when gokhanmoral first posted about dual boot i honestly thought i won't even use it. But last week it came to me that it is very tiring to backup a rom, flash a new one, after it gets boring, restore to the backed up rom etc. I then tried the dual boot thing and never looked back Since i am a flashaholic it is good for me
Hope it comes to sgsl soon so that in the primary rom you can have a stable one and in the secondary rom you can have an experimental one just in case you need to test something or what not. It's a some sort of remedy for a flashaholic like me
Sent from my GT-I9100 using xda premium

Partitions
based on XDA DATA Info:
Code:
Partition Size Description
bml1 256 KB contains boot.bin (262144 bytes), Primary Boot Loader
bml2 256 KB contains PIT file first 512 bytes
bml3 10240 KB /dev/block/stl3 /efs
bml4 1280 KB contains Sbl.bin (1310720 bytes) Secondary Boot Loader
bml5 1280 KB contains Secondary Boot Loader (for recovery, etc)
bml6 5120 KB param.lfs /mnt/.lfs j4fs
bml7 7680 KB contains zImage and initramfs
bml8 7680 KB empty - on Epic 4G and Fascinate, contains recovery.bin
bml9 293376 KB factoryfs.rfs ( /system RFS Partition) /dev/block/stl9
bml10 137216 KB dbdata.rfs ( /dbdata RFS Partition) /dev/block/stl10
bml11 35840 KB cache.rfs ( /cache RFS Partition) /dev/block/stl11
bml12 12800 KB modem.bin
I dont think its are the same of Galaxy SII
Anyway , yes, for testing purpose it can help, but if with android's customization : if you are tired of your rom you can change theme IMHO
Waiting to more expert like Doomlord or dhiru for see if it's possible

That's also what i was thinking. We need 2.1gb in internal sd card and additional 2.1gb if you want to swap roms. I think if you put those partition in external sd then it may lag. Anyway, nothing's impossible. Was just stating the advantage of dual boot
Sent from my GT-I9100 using xda premium

Thanx everyone for reply..!!
And for your precious answer. But it is not about tired of any rom anf etc. It is for Dual rom for same time that can help to boot in favorite and experimental rom which you want to use in future.
And SII has 1.97 gb inbuilt memory around as we have 1.85 gb. And i thinks that 2 roms of 300 mb reqires 600 mb. Its just calculation may be i am wrong because i dont know too much about boot partition memory sorry but there is some chance so lets hope

nicsptl said:
Thanx everyone for reply..!!
And for your precious answer. But it is not about tired of any rom anf etc. It is for Dual rom for same time that can help to boot in favorite and experimental rom which you want to use in future.
And SII has 1.97 gb inbuilt memory around as we have 1.85 gb. And i thinks that 2 roms of 300 mb reqires 600 mb. Its just calculation may be i am wrong because i dont know too much about boot partition memory sorry but there is some chance so lets hope
Click to expand...
Click to collapse
A 300mb rom when flashed or extracted can go up to 1gb+
Sent from my GT-I9100 using xda premium

Related

[ROM]RCMixHD v0.13 1.32.405.6 fits to NAND

Thx to snq for kernels and camera patch, robocik for the rom, diaz for the theme, daedelus82 for the custom mtd and all others that by their info or work made this posible, i take no credit whatsoever, ive just cut deleted moved and edited.
1st, you need custom MTD, if you dont know how to do it, or if you are affraid to do it, stay away
CustomMTD http://forum.xda-developers.com/showthread.php?t=806321
Ive used mtd 300 10 but it fits on 292 20 if you want/ need more cache (gamers)
Ive removed some apps i dont needed (its subjective and personal, see the list below)
Ofc you need ext2/3/4 partition, the bigger the better (512 or 1 gb) i use 1 gb ext4 partition.
Create ur custom partition, wipe all, flash, enjoy
Code:
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 207.8M 0 207.8M 0% /dev
tmpfs 207.8M 0 207.8M 0% /mnt/asec
/dev/block/mtdblock3 300.0M 290.0M 10.0M 97% /system
/dev/block/mtdblock5 127.6M 5.8M 121.8M 5% /data
/dev/block/mtdblock4 10.0M 1.1M 8.9M 11% /cache
tmpfs 8.0M 0 8.0M 0% /app-cache
/dev/block/mmcblk0p2 1007.9M 129.7M 878.2M 13% /system/sd
/dev/block/vold/179:1
6.4G 1.6G 4.8G 25% /mnt/sdcard
/dev/block/vold/179:1
6.4G 1.6G 4.8G 25% /mnt/secure/asec
The kernel on the rom is the one from RCMixHD but I personally use kernel-leedroid_2.2f-chgrmod2.zip, you can also use [email protected]_CMBattFix_BFS_BFQ.
Kernels download link
http://www.multiupload.com/PWKUK4227M
Also Diaz's [THEME] Gloss Blue Sense Theme 1.5 [HD Sense 1.0] is included by default http://forum.xda-developers.com/showthread.php?t=827863
1st boot can take up to 10 mins, dont panic let it do its thing
DOWNLOAD LINK
http://www.multiupload.com/3LRWH8KQS7
Removed apps
Code:
LiveWallpapers.apk
MagicSmokeWallpapers.apk
Maps.apk
Metal.apk
Mode10Wallpapers.apk
Quickoffice.apk
SoundHound_Freemium_2.1.2b.apk
Stock.apk
Wood.apk
Removed apps download link
http://www.multiupload.com/2OX4U6Q260
Good job downloading now.
Whats the advantage of this?
Dafferen said:
Whats the advantage of this?
Click to expand...
Click to collapse
Uh, you're not gonna have half the OS on your SD card?
Dafferen said:
Whats the advantage of this?
Click to expand...
Click to collapse
whole ROM fit in NAND so its running super fast bro... just try it...
Does it have A2SD by default? Also, can you make a version without the blue theme? I prefer Slate as is.
Dragooon123 said:
Does it have A2SD by default? Also, can you make a version without the blue theme? I prefer Slate as is.
Click to expand...
Click to collapse
no it does NOT have d2sd, i will make with the default theme sometime today
this rom is made for my taste and i wanted to share, its version 0.0000001 if you want, ill try to keep up with users demands, but keep in mind, that im not a programmer or a developer or a *nix guru . I'll do what I can
baadnewz said:
no it does NOT have d2sd, i will make with the default theme sometime today
this rom is made for my taste and i wanted to share, its version 0.0000001 if you want, ill try to keep up with users demands, but keep in mind, that im not a programmer or a developer or a *nix guru . I'll do what I can
Click to expand...
Click to collapse
That's fine, I just wanted one with default theme.
Sounds good but is there a mentionable difference other than more space on SD card? E.g the villain hd rom is nand as well but there it feels rather slower than the normal one (might be subjective)...
Good question...
As far as I know villain HD Rom did'nt using default sense, it has ADW launcher right...
In my way default things running much faster than others...In this Rom has all default apps
Baadnewz just remove/move unless things.... gr8 work bro.
quad2012 said:
Sounds good but is there a mentionable difference other than more space on SD card? E.g the villain hd rom is nand as well but there it feels rather slower than the normal one (might be subjective)...
Click to expand...
Click to collapse
Sent from my HTC Desire using XDA App
great work badnews and only 300mb? impressive only 50mb bigger than the systen partition was newayz
I'll shrink it to 280 . Will update today
sent via morse code .__._
baadnewz said:
I'll shrink it to 280 . Will update today
sent via morse code .__._
Click to expand...
Click to collapse
Dude, I've asked a lot of devs to make a nand HD rom, but to no avail.
Therefore, you are an amazing man to do this. I will wait for your update
Thank you.
baadnewz said:
I'll shrink it to 280 . Will update today
sent via morse code .__._
Click to expand...
Click to collapse
if you remove installflashplayer.apk and lib.flashplayer.so your almost there, there the first things most people remove from roms anyway
if I add maps back to the ROM will it then not fit on the nand?
As most people use maps cause of free navigation while HTC Locations charge you for navigation.
Nekromantik said:
if I add maps back to the ROM will it then not fit on the nand?
As most people use maps cause of free navigation while HTC Locations charge you for navigation.
Click to expand...
Click to collapse
you can download maps from the market
What is this ROm for and why is it different from RCMixHD in the other thread?
RCmixHD Wow
wow this is very cool
First i would like to say that the rooting proces was easy enough. The only problem i ran into was when trying to install the rom.
Then my phone wouldn't start up at the boot screen. It would hang at that.
I needed to install a partition program on my computer and create and ext3 partition in my 4 gb sdhc card.
That was needed because at Clockworkmod recovery it failed to install the rom.
After that i could install it and save my phone.
Now it is just awesome. One question though. How do i apply the 720p camera fix.
265 MB (278.564.864 bytes) the size of system so far, but i had to remove most of the ringtones alarms and notifications. No problem thou ill provide a zip to install em on sdcard. Maps back to the rom but installs on sdext facebook as well. side effect of shrinking is that sense is only in english
LE: IT SEEMS IVE MADE THE ROM TO FIT ON STANDARD DESIRE NAND (250 MB) NO CUSTOM MTD NEEDED
5 stars
amazing ROM

Mtd vs Bml

The question has been asked several times. Recently a senior member asked a similar question and was told to read post two of a thread. That post did not answer the question but created more doubt. So Im going to steal some information from various posts to hopefully clarify this. Please if I get anything wrong let me know so I can correct it. But most of this will be stripped from various posts.
What is a partition?
A partition is an area of allocated space, a division of the whole overall area of space. In this case our partitions on the Epic 4G are /System, /Data, as well as /Cache. All with set permanent sizes.
What is a partition map?
A partition map is the configuration of our partitions, it's what in a vagueness sets our required sizes for the divisions of our nand also known as flash memory. A partition or partition map should not be confused with a file system. An example would be BML and MTD.
What is a file system?
A file system resides on the partition map and governs the data being read/wrote/moved/etc by the Operating System, in this case Android. Changing a file system is less complex than an overall change in partition mapping. They again, are not the same thing.
What is MTD?
MTD is an Open Source Partition map. It allows those who are using it control over how their partitions are sized and how much space is allocated here and how much space is taken away from there. Currently on MTD we have 689 megabytes of space allocated to our /data partition allowing more to be downloaded from the market as an example. MTD as a partition config has YAFFS2 as a file system residing on it governing how data is transferred and the speed of which it is done. EXT2 through 4 aren't possible on the MTD platform, just as YAFFS2 may not be possible on the BML proprietary platform.
What is BML?
BML like MTD is a partition map, however it is proprietary in nature, Close Source if you will. The size for /System /Data /Cache is set and permanent and makes opening up space more of a task for Developers. Stock the Epic 4G comes on BML, and is running RFS as it's file system, once rooted you can leave RFS for EXT4 (Journaled or Un-Journaled) as long as the kernel you use allows for EXT4. But in the end, changing a file system on BML does not lessen or enhance the control you have over your partitions.
What does it mean for me as an end user?
As an End User, MTD is an opening to a new life for the Galaxy S 4G. Things like ICS, more space in data or system, are more within our reach and grasp due to the nature of Open Source MTD is immersed in. We're closer to the Captivate, Fascinate, Vibrant, and Galaxy S international by being on MTD, we have that new freedom they've had for a long time. Not to say things like ICS aren't possible on BML but with this we're at a better standing point.
Click to expand...
Click to collapse
Basically, the internal storage on your phone is a flash device.
BML and FSR (aka XSR) acts as a software-based FTL (Flash Translation Layer).
This allows you to put filesystems like fat or ext4 on a flash device.
Hardware FTLs are everywhere. Look at your memory stick for instance. There is an FTL between the usb device controller and the nand flash chips that actually store the data. You can format your memory stick with ext4, btrfs, ntfs, whatever...
Samsung decided to go further down the rabbit hole with RFS, which is basically a modified version of FAT(32?) with ACLs and Journalling. IMO, silly.
BUT, fsr/rfs are proprietary modules and are built with a kernel that has a set of symbols exposed. If I disabled debugging (like I did) and something in one of those fsr/rfs modules depended on it, then the fsr/rfs modules wouldn't load (unless you trick it).
Moving to controlling the flash on the phone (in which the flash type on this phone isn't nand, but OneNAND-Flex) with MTD gets us away from the proprietary modules, but introduces a new problem. Can't use ext4 for /system, /data, and /cache anymore. Instead you have to use a flash filesystem, like yaffs2 (which is what the CM supported Samsung phones use). I would like to see a test on this phone with UBI/UBIFS though. I think that might have better performance then yaffs2 or jffs2 (but almost everything, including my grandma is faster then jffs2... seriously).
Click to expand...
Click to collapse
Mtd is the open source partition system used by aosp. Doing so allows more flexibility in porting roms and building from source. The proprietary stuff can be removed and get away from having to keep things like VVM for voicemail **.
This also moves us more towards vanilla android experience. Getting rid of proprietary file systems and and apps and various things to work properly.
Stolen from this thread and this post.
**note Antonx has found a way to remove the requirement for VVM. But is still working out if removing the code will break VVM for those people that use it.
I suggest we put BML to MTD and MTD to BML guides in the stickies. I know this info exists, but having it in the stickies will save many noob disasters and questions as this is getting more and more popular.
Sent from my SGH-T959V using xda premium
itzik2sh said:
I suggest we put BML to MTD and MTD to BML guides in the stickies. I know this info exists, but having it in the stickies will save many noob disasters and questions as this is getting more and more popular.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
BML -> MTD will be a non-issue now since as of the latest commits I made to the CM7 update system (and whatever MTD roms base themselves off of that) we will be able to flash using only the rom.zip. You no longer need to fiddle with the efs backup/restore since the rom.zip will take care of it for you. The basic procedure will be
Reboot to RED cwm
Flash rom.zip
You will be rebooted to BLUE cwm
Flash rom.zip again
I just tested this myself from a completely stock KJ6 install and got onto a working CM7 install using a build I just made (with working IMEI/network/data) using those exact steps.
EDIT
Going back to BML will require a one-click for the time being until we can find a better solution, preferably one that involves CWM
One thing I didn't understand - why do we need a separated one click flash just for bootloaders? Can't it be done on the same time?
2nd, do we really need the bootloaders flash if we move from GB MTD to GB BML?
I assume I can odin just the kj1 kernel after the stock one click, just to get root. Do we have an odin version of AntonX's 1.1.0 kernel?
Sent from my SGH-T959V using xda premium
Well the bootloaders aren't a problem if the person is already on gingerbread. I had been messing with flashing bootloaders via CWM a while back but that just got my phone bricked. Until someone with unbrickablemod helps me test this or I get my own phone ubm'd, we'll have to do it this way.
No, you don't need to flash bootloaders all the time. The only times you need bootloaders are from GB -> Froyo or Froyo -> GB.
You should look into making your own custom one click, it's as easy as opening the .jar file in a program like 7-zip and extracting the files within, then you can recompress them. You can customize exactly what gets installed. I say you start with bhundven's kj6 one click and replace the kernel with your favorite custom one.
The files that get flashed from a one click are these:
one-click.jar/com/AdamOutler/HeimdallOneClick/resources/ROMPackage/HeimdallPackage.tar.gz
If you open that, you'll see all the files that get flashed, particularly zImage and zImage-1.
zImage gets flashed into the KERNEL partition
zImage-1 gets flashed into the RECOVERY partition
As it stands now, both zImage and zImage-1 should be identical since we don't have any recovery images and we have to use a kernel image instead.

[RFC] universal recovery [2012/09/16]

Hello Galaxy S users,
Specifically, in this forum, it's Galaxy S 4G.
I know you've been watching T.V., and know (maybe... well here in E-merica) a little about universal health care... well I have something totally unrelated to talk with you about. [word this sentence with Steven Colbert's voice]
Universal Recovery.
As it stands, our bootloaders know nothing about the silly recovery partition on our devices.
And on stock roms, it is a total waste of good space we could put to any other partition (mostly data).
When this topic first reared it's ugly head, I thought to myself about just incorporating the unused space to data. But no! I have seen the light. And it is good!
There are a few different recoveries out there that are mostly a preference thing.
Stock Android Recovery (think the "3e" thing...) (totally friggin stock. No modifications)
ClockworkMod Recovery (cwm)
ClockworkMod Touch Recovery (cwm-touch)
TeamWin Recovery Project (twrp)
manual partition magic (that really only devs know about... [Bryan Jedi waves his hand in your face] forget I said anything here.)
... to name a few. Granted I will not support/help you on the first or last versions of recovery mentioned above.
I would like to use the recovery partition to unify the storage of the recoveries.
As we have seen with the radio partition... On stock, it is a bml partition without rfs. The modem.bin is written (redbend_ua) directly to the bml12 partition and read back by /system/bin/rild
On (Gingerbread(mtd)/CM7/ICS(mtd)/CM9) MTD based roms, the radio partition is a yaffs2 formated partition in which modem.bin's are simply copied to. A symlink (/dev/block/bml12) to allow rild to work correclty... (well and a nasty hack on SGS4G to pad the modem.bin with zeros, because the rild reads more then the size of the modem.bin but less then the size of bml12)
Lets say we format the recovery partition as yaffs2 (or either vfat or ext4 on bml roms), and store ramdisk-recovery-<version>-<fstype>-<recovery-type>.img files there.
Examples:
ramdisk-recovery-gb-bml-cwm.img
ramdisk-recovery-ics-mtd-twrp.img
Then create a cwm update.zip that allows you to switch your recovery based on what is in the /recovery partition.
The title of this post is [RFC]... This is a Request For Comments.
As an amendment to this RFC, I would also like to have universal updater.sh and updater-script files to be created so that one could say, flash:
stock bml gb (cwm) -> ics mtd (cwm-touch)
ics mtd (twrp) -> stock bml gb (twrp)
ics mtd (cwm) -> gb mtd (cwm-touch)
gb mtd (twrp) -> stock bml gb (cwm-touch)
gb mtd (cwm-touch) -> ics mtd (cwm)
...without ever needing to go to download mode to run a oneclick or odin.
This thread should eventually turn into a development thread containing the results of this discussion.
...
A little while back, I started a poll.
The results of the poll, and comments lead me to believe that users are more interested in obtaining root and having the latest version then anything else.
All of these recovery methods should provide root access to install which ever rom you want (rooted or not rooted) and whatever recovery you want to use.
Goals (no particular order):
Run an updater.zip OR run an android app to change the current version of recovery.
Unify the updater.sh and updater-scripts for our roms, so you guaranty that you can flash from any rom to any rom (unless it has not been updated to use this new standard)
Do something with the lost 6-7M of unused space currently known as 'recovery'.
Let me know what you think. I already have a WIP, but it only supports cwm (at the time of this writing. cwm-touch and twrp coming soon...).
I am working on minimal environments (android manifests) to build each specific recovery nightly so that these will always stay up to date with what is in our repositories.
Being an RFC thread, please provide some helpful feedback.
ALSO, I leave this open to other Galaxy S phones as well!
You too have a device with this stupid recovery partition.
If all Galaxy S phones used the same codebase for updater.sh and updater-scripts and for setting the currently used recovery, it would be a win for everyone.
OK, Technical section:
--------------------------------------------------------------------------------------
On the latests CM10, a patch was applied by pawitp a little while back to allow a simpler packing of ramdisk and recovery.
Because of this, you can basically repack the initramfs with a different recovery.
If we changed our stock bml gb kernel, cm7 (and other mtd based kernels) to use a similar recovery method, we could unify the way we change between recoveries.
--------------------------------------------------------------------------------------
...Comments go here VVVVVVVVVVV
As we were discussing on #teamacid, I think I can help with figuring out the mtd -> bml portion of this since most of my previous work has been with installer scripts and the recovery environment.
Bryan was telling me that it should just be a matter of flashing the bml zImage and to reboot and continue the install.
I definitely think that storing the recovery.img files in /recovery would be a great solution. It'll keep the kernel/boot.img files leaner and allow us to update the recovery without messing with the kernel.
FBis251 said:
As we were discussing on #teamacid, I think I can help with figuring out the mtd -> bml portion of this since most of my previous work has been with installer scripts and the recovery environment.
Bryan was telling me that it should just be a matter of flashing the bml zImage and to reboot and continue the install.
I definitely think that storing the recovery.img files in /recovery would be a great solution. It'll keep the kernel/boot.img files leaner and allow us to update the recovery without messing with the kernel.
Click to expand...
Click to collapse
Essentially, yes. There are two "universal"s here.
Universal recovery selection
Universal updater.sh and updater-script usage
And, yes, kind of... the reservoir may also be apart of the big problem here.
There is much experimentation and discovery to happen before anything really results from this thread.
I definitely support the movement. What can I do to speed up the process or help with this development?
Sent from my SGH-T959V using Tapatalk 2
I'm interested in the implications this could have to the S devices with a flash counter.
Sent from my SGH-T959V using xda premium
GreyDark said:
I'm interested in the implications this could have to the S devices with a flash counter.
Sent from my SGH-T959V using xda premium
Click to expand...
Click to collapse
I know that the sgs4g has a flash counter, but it never increments.
I think it was something they were thinking about, but never got working for the release.
VillaCastana321 said:
I definitely support the movement. What can I do to speed up the process or help with this development?
Sent from my SGH-T959V using Tapatalk 2
Click to expand...
Click to collapse
I just need to finish my WIP and let other devs at it so they can make changes to it.
The WIP is driven by what is in the OP of this thread. It is not written very well and not very detailed.
I hope that changes over time with feedback.
Having botched my share of kernel/recovery flashes, this would be very interesting if I could always access something that would let me flash a known-good kernel/recovery from microSD when I next mess up.
Admittedly, I could stop flashing unknown kernel/recovery when I'm not within reach of Heimdall, but...
So the SII can use triangle away for the flash counter while with the SIII it's still usable yet not recommended from what I saw. By using dd to get the recovery in, the SIII dodges the counter again, (first time by using Odin to get root) but there can always be people who might even do that wrong. I don't know about the other S devices, but if there was an easy way to get root and a custom recovery, definitely a plus for average users.
Sent from my SGH-T959V using xda premium
I think its a very good idea. It makes perfect sense, I don't see a downside and see its possible. It would be great actually
Sent from my SGH-T959V using xda app-developers app
This sounds awesome... would b willing to test.....
sent from my t959w running RemICS, Voodoo sound, Rom Toolbox pro.
Fun starts in a month or so.
Wait... For... it.
bhundven said:
Fun starts in a month or so.
Wait... For... it.
Click to expand...
Click to collapse
Patiently waiting... teeth clenched....staring at my screen,watching for that post up..... LOL
sent from my t959w running RemICS-UX, Voodoo sound, Rom Toolbox pro
abonides said:
Patiently waiting... teeth clenched....staring at my screen,watching for that post up..... LOL
sent from my t959w running RemICS-UX, Voodoo sound, Rom Toolbox pro
Click to expand...
Click to collapse
So you are told to wait about a month, and you are spazing after six days? Wow, really patient.
Cooptx said:
So you are told to wait about a month, and you are spazing after six days? Wow, really patient.
Click to expand...
Click to collapse
I think he was joking
pisherthefisher said:
I think he was joking
Click to expand...
Click to collapse
I hope so
SMH
Sent from [CONTET DELETED]
love the idea <3
Sorry,my sick twisted humour cannot b appreciated via text.
sent from my t959w running RemICS-UX, Voodoo sound

[DEV]Increase bml7(boot partition) up to 9.75 mb

I successfully increased bml7 (boot partition) to 10223616 byte [ #Blocks=39 , Block Size=256 kb ]
instructions :-
1-Download totoro_moded.pit here
2-Open odin and choose PIT the tick Re-Partition
3-After it finishes untick Re-Partition then flash a stock ROM via odin (with PIT file still in there)
4-#I don't think this step is required so try the above steps and report
5-Go to Recovery then wipe data (If it gives errors at this step please report )
6-If anything wrong happened or your phone doesn't boot anymore download the original pit file
@whitexp : you asked for 1mb more at this post I gave you 4.75mb please build CWM6.x Thanks
reserved for future updates
10 mb ?
btw .. a question
you bml increased 7 to 10 mb, and which decreased Partition?
this mod is very good !
whitexp said:
10 mb ?
btw .. a question
you bml increased 7 to 10 mb, and which decreased Partition?
this mod is very good !
Click to expand...
Click to collapse
I decreased bml8 (boot_backup) to 256kb (I don't think it's needed)
i have a crazy idea ..
galaxy y is very diff of others devices..
other devices have 1 partition for recovery separated ..
I wonder if it is Possible to create a partition only for the recovery ....
I do not have much knowledge about it ....
need talk wtih doky .....
i will send a pm for him!
whitexp said:
i have a crazy idea ..
galaxy y is very diff of others devices..
other devices have 1 partition for recovery separated ..
I wonder if it is Possible to create a partition only for the recovery ....
I do not have much knowledge about it ....
need talk wtih doky .....
i will send a pm for him!
Click to expand...
Click to collapse
Now you're talking Good idea bro :good:
btw : I'm building XIP kernel right know I hope it works
WOoW COOL
bY
SHANE
uncompressed kernel boots without any problem
but xipkernel doesn't boot (anyone knows kernel physical location ?)
whitexp said:
i have a crazy idea ..
galaxy y is very diff of others devices..
other devices have 1 partition for recovery separated ..
I wonder if it is Possible to create a partition only for the recovery ....
I do not have much knowledge about it ....
need talk wtih doky .....
i will send a pm for him!
Click to expand...
Click to collapse
While I've explored the partition table (almost 1 yr ago), I've came to the same result. Read this:
http://forum.xda-developers.com/showpost.php?p=23798644&postcount=416
...but finally never got enough time to deal with it...
Doky73 said:
While I've explored the partition table (almost 1 yr ago), I've came to the same result. Read this:
http://forum.xda-developers.com/showpost.php?p=23798644&postcount=416
...but finally never got enough time to deal with it...
Click to expand...
Click to collapse
Good Idea to put recovery on bml8
but I maid this only to make XIP kernel which will boot fast
anyway I maid a new pit file here which will flash recovery.img from odin PDA package to bml8 and here is some info
Code:
For bml7
#Blocks = 20 , size = 5mb
----------------------------------------------
For bml8
#Blocks = 20 , size = 5 mb
Partition name = "recovery" , Flahable file name = "recovery.img"
test and report
cheers
NICE IDEA PUTTING THE RECOVERY ON IT! :good:
but....i dont actually have time to flash any of that stuff...
m stuck at school work...
cant even touch my phone...
just have enough time to go take a rest and get mah hands on the computer...but....im doing researches @google
Great work!
+1 +5 stars!
What is this bml7??
Sent from my HTC-Desire using xda premium
abhijitro said:
What is this bml7??
Sent from my HTC-Desire using xda premium
Click to expand...
Click to collapse
Mohamed.Anwar said:
For all kernel developers only
newbies please stay away
Click to expand...
Click to collapse
....
boot_backup needed ?
Mohamed.Anwar said:
I decreased bml8 (boot_backup) to 256kb (I don't think it's needed)
Click to expand...
Click to collapse
well it is not needed under normal circumstances.
in other words... it's not needed until the moment when you do need it. :laugh: in case of flash failure or similar.
Mohamed.Anwar said:
Now you're talking Good idea bro :good:
btw : I'm building XIP kernel right know I hope it works
Click to expand...
Click to collapse
well done Anwar bhai.....
we need a better kernel ...after completion, please start a new thread for this kernel
it seems that sgy isn't the only one device which have same partition for the kernel and recovery. in fact, newer device have followed this trend and have no separated kernel and the recovery. I believe the vendors designed their product in this fashion with a good reason. IMO without deep knowledge of the bootloader we might want to keep away from separating the kernel and the recovery.
kurotsugi said:
it seems that sgy isn't the only one device which have same partition for the kernel and recovery. in fact, newer device have followed this trend and have no separated kernel and the recovery. I believe the vendors designed their product in this fashion with a good reason. IMO without deep knowledge of the bootloader we might want to keep away from separating the kernel and the recovery.
Click to expand...
Click to collapse
samsung p1 is like gy ..
but a lot of developers modded this device ..
and now he have mtd with partitions separated and lot of other things ..
https://github.com/CyanogenMod/android_device_samsung_p1-common
whitexp said:
samsung p1 is like gy ..
but a lot of developers modded this device ..
and now he have mtd with partitions separated and lot of other things ..
https://github.com/CyanogenMod/android_device_samsung_p1-common
Click to expand...
Click to collapse
When Samsung p1 is like gy, we we can port cm to gy
superboom said:
When Samsung p1 is like gy, we we can port cm to gy
Click to expand...
Click to collapse
lollllllllllllllllllllllllllllllllllllllll :laugh:
same = style partitions, and recovery ..
omg

Internal Memory : How to get maximum free space?

Motorola Atrix 2 has got 8GB of ROM but users get only 4.xx GB available as free.
I am not complaining about the free space but want to know if there is workaround to get more free space available free for our use? Recently fellow member @swaggy123 mentioned in one thread that he used to have 6.xx GB of free space in JB leak ROM. That strike my mind if it was possible in JB leak ROM then why not in other ROMs?
Right now I am having SlimKat 5.10 ROM with minimal GApps on system and no other ROMs on any of the systems and phone is showing 4.55 GB as total space. There I have installed apps of worth 1.02 GB and now having around 3.26 GB of free space left in the internal memory.
For instance two thoughts came in my mind :
1. If we install Standard GApps instead of Minimal GApps then do they consume that available free data space or install in the system partition?
2. If we manually include few regularly used apps in the main ROM then where will they go? In the system partition or in the visible free data partition of 4.55 GB?
Is there any practical and risk-free workaround to get maximum space visible out of the internal memory?
Jack Sparrow xda said:
Motorola Atrix 2 has got 8GB of ROM but users get only 4.xx GB available as free.
I am not complaining about the free space but want to know if there is workaround to get more free space available free for our use? Recently fellow member @swaggy123 mentioned in one thread that he used to have 6.xx GB of free space in JB leak ROM. That strike my mind if it was possible in JB leak ROM then why not in other ROMs?
Right now I am having SlimKat 5.10 ROM with minimal GApps on system and no other ROMs on any of the systems and phone is showing 4.55 GB as total space. There I have installed apps of worth 1.02 GB and now having around 3.26 GB of free space left in the internal memory.
For instance two thoughts came in my mind :
1. If we install Standard GApps instead of Minimal GApps then do they consume that available free data space or install in the system partition?
2. If we manually include few regularly used apps in the main ROM then where will they go? In the system partition or in the visible free data partition of 4.55 GB?
Is there any practical and risk-free workaround to get maximum space visible out of the internal memory?
Click to expand...
Click to collapse
I have CM11 on system 1 and no other ROMS... I use ART runtime
My stats are : Free memory : 4.88 GB Used Space : 1.4 GB
I always get over 6 GB as free memory on system 1.. I have Atrix 2 Indian version (Searet as many call it)
swaggy123 said:
I always get over 6 GB as free memory on system 1.. I have Atrix 2 Indian version (Searet as many call it)
Click to expand...
Click to collapse
Mine is also Indian retail MB865 but I never had above 4.55 in total.
ROM is of 8GB in size but looks like the default partitions have occupied bigger sizes and left only 4.55 GB as data partition in my case. I guess there should be some workaround to get more space.
BTW where the GApps install? in the data partition or in the system partition? And where system apps install?
Jack Sparrow xda said:
BTW where the GApps install? in the data partition or in the system partition?
Click to expand...
Click to collapse
System.
Jack Sparrow xda said:
And where system apps install?
Click to expand...
Click to collapse
Also in the system partition.
If you want to dig into it some more to get a little better understanding of the partitions install a good root enabled file explorer, ( Root Explorer is my preference but ES Explorer is a popular one as well) and look around in the root "/" of your device. The file path to your system apps will be /system/app & /system/priv-app. Your free user apps will be located at /data/app and (most of) your paid apps will be at /data/app-asec. Any partitions created by BMM will be in /data/clockworkmod/virtual. Etc.
Of course, don't change anything in any of the folders in the root of the device until you know what you're doing, but don't be afraid to poke around and explore. :thumbup:
Thanks @1BadWolf for clarifying things further
Since GApps install in system partition, here are few questions:
1. How do I know the size of the system partition and available free space in it? I explored the the folders mentioned by you in the root explorer and got what you said. But couldn't find how to asses the size of the system partition.
2. How do I include few more apps in the GApps? For eg Gmail, GMaps, Airdroid, Sygic, Translate, Chrome etc are few apps which I always keep in my phone so I think its better to include them in the GApps. But how do I do that? Can I find original apk file of those apps somewhere?
3. If I include those apps in the GApps, will they continue getting updated from play store?
4. Can I re-flash new modified GApps on existing custom ROM I am currently having on system 1 without need of fresh install?
Jack Sparrow xda said:
Thanks @1BadWolf for clarifying things further
Since GApps install in system partition, here are few questions:
1. How do I know the size of the system partition and available free space in it? I explored the the folders mentioned by you in the root explorer and got what you said. But couldn't find how to asses the size of the system partition.
2. How do I include few more apps in the GApps? For eg Gmail, GMaps, Airdroid, Sygic, Translate, Chrome etc are few apps which I always keep in my phone so I think its better to include them in the GApps. But how do I do that? Can I find original apk file of those apps somewhere?
3. If I include those apps in the GApps, will they continue getting updated from play store?
4. Can I re-flash new modified GApps on existing custom ROM I am currently having on system 1 without need of fresh install?
Click to expand...
Click to collapse
#1- If you're using Root Explorer just navigate to the /system folder. You'll see the amount of memory used and the amount available near the top of the screen. (See attached screenshot)
#2- I use Titanium Backup to convert certain apps to system apps then, also with TiBu, create a flashable zip with the apps. It's an extra zip to flash but only takes a few seconds to do it. If you just prefer to put them in with gapps, you can copy them with Root Explorer then insert them in the zip with ZArchiver . The TiBu method is better though because it'll even restore the app settings if you want it to.
#3-Yes.
#4-Yes.
1BadWolf said:
#1- If you're using Root Explorer just navigate to the /system folder. You'll see the amount of memory used and the amount available near the top of the screen. (See attached screenshot)
Click to expand...
Click to collapse
Strangely its showing 354 MB used and only 123 MB free. Then I tried to see whats cache partition has consumed and it shows 44kb used, 288mb free (I am on ART). Data is showing 1.3gb used, 3.3gb free.
Where my rest of the internal memory has gone?
Right now I don't have any partition, neither the root explorer is showing clockworkmod folder anywhere!
EDIT : Well I explored bit more in the root explorer and found few more folders where its showing space consumption:
/preinstall : 15mb used, 260mb free
/dev : 136kb used, 420mb free.
/pds : 1.1 mb used, 2.8mb free
/data/tmp : 4.0kb used, 420mb free
vendor : 354mb used, 123mb free (showing title is system storage)
Any idea whats happening here?
Jack Sparrow xda said:
Strangely its showing 354 MB used and only 123 MB free. Then I tried to see whats cache partition has consumed and it shows 44kb used, 288mb free (I am on ART). Data is showing 1.3gb used, 3.3gb free.
Where my rest of the internal memory has gone?
Right now I don't have any partition, neither the root explorer is showing clockworkmod folder anywhere!
EDIT : Well I explored bit more in the root explorer and found few more folders where its showing space consumption:
/preinstall : 15mb used, 260mb free
/dev : 136kb used, 420mb free.
/pds : 1.1 mb used, 2.8mb free
/data/tmp : 4.0kb used, 420mb free
vendor : 354mb used, 123mb free (showing title is system storage)
Any idea whats happening here?
Click to expand...
Click to collapse
O dear..i dont knw the reason of your struggle...But yes you can find Clockworkmod folder inside \root\Data folder
Just wipe out all systems and dont repartition the system 1 ever..just leave it as it is...without tinkering the System 1 partitions...
Can we start from the beginning ?? that will giv us a a better perspective of your issue
Answer me this question :
1) Which OS were you on SYSTEM 1 ?? JB Leak 3 or ICS ?
I was on JB Leak 3 ...
When i flashed JB Leak 3 on my phone.. It freed 6 GB internal space...If u r really bothered for internal memory just try this :
1) Flash JB Leak 3
2) Then install BMM
3) Activate System 2 ....
Now Format System 1 and install Any Kitkat ROM
DONT EVER TRY TO DELETE SYSTEM 1 PARTITIONS... JUST FORMAT WHEN REQUIRED
That shold give you 6.4 GB of internal space
Thanks for the replies.
swaggy123 said:
1) Which OS were you on SYSTEM 1 ?? JB Leak 3 or ICS ?
Click to expand...
Click to collapse
I was on ICS.
I was on JB Leak 3 ...
When i flashed JB Leak 3 on my phone.. It freed 6 GB internal space...If u r really bothered for internal memory just try this :
1) Flash JB Leak 3
2) Then install BMM
3) Activate System 2 ....
Now Format System 1 and install Any Kitkat ROM
DONT EVER TRY TO DELETE SYSTEM 1 PARTITIONS... JUST FORMAT WHEN REQUIRED
That shold give you 6.4 GB of internal space
Click to expand...
Click to collapse
Did you have 6 GB when you had ICS or GB?
How did you flash JB? Using BMM or any other way? I have become familiar with BMM and it looks easy to me. Please provide link of the threads I would need for flashing.
Jack Sparrow xda said:
Thanks for the replies.
I was on ICS.
Did you have 6 GB when you had ICS or GB?
How did you flash JB? Using BMM or any other way? I have become familiar with BMM and it looks easy to me. Please provide link of the threads I would need for flashing.
Click to expand...
Click to collapse
Yes..the Problem with MB865 indian version on ICS is we dont have access to the internal memory
When we flash to JB Leak 3...We are now accessible to Internal memory...After having JB Leak 3 on sys 1 .. . Any rom you install over Sys1 is going to give u access to all of the INTERNAL memory
Go to this thread for JB LEak 3 installation
http://forum.xda-developers.com/showthread.php?t=2092107
Or
http://forum.xda-developers.com/showthread.php?t=2093154
Root method is already posted in the thread
After you root check the internal space u get
Then install BMM according to the instructions
then flash kitkat . You are good to GO
P>S : This doesnt work on AT&T .... and You have to flash an SBF file via RSD Lite....Go through the complete instructions first
Here is a video for the same showing the whole installation process in case you are not used to RSD Flashing
https://www.youtube.com/watch?v=9p6GHpDX9qA
Go through this video all should be clear
swaggy123 said:
Yes..the Problem with MB865 indian version on ICS is we dont have access to the internal memory
When we flash to JB Leak 3...We are now accessible to Internal memory...After having JB Leak 3 on sys 1 .. . Any rom you install over Sys1 is going to give u access to all of the INTERNAL memory
Go to this thread for JB LEak 3 installation
http://forum.xda-developers.com/showthread.php?t=2092107
Click to expand...
Click to collapse
Thanks swaggy123 for the links but now a confusion, I don't have stock ICS ROM on my phone and running a kitkat ROM in system 1. The flashing steps are for the stock ICS I think. How do I install the JB leak now over the current Kitkat? And my phone is already rooted, do I need to unroot it?
Another thing I noticed in the JB leak thread that the Motorola had removed webdock support in the their JB and I guess that webdock thing was consuming the extra space. Isn't there any other way to remove the webdock related things from the phone. Maybe we can free up the space if its possible to remove webdock things.
Jack Sparrow xda said:
Thanks swaggy123 for the links but now a confusion, I don't have stock ICS ROM on my phone and running a kitkat ROM in system 1. The flashing steps are for the stock ICS I think. How do I install the JB leak now over the current Kitkat? And my phone is already rooted, do I need to unroot it?
Another thing I noticed in the JB leak thread that the Motorola had removed webdock support in the their JB and I guess that webdock thing was consuming the extra space. Isn't there any other way to remove the webdock related things from the phone. Maybe we can free up the space if its possible to remove webdock things.
Click to expand...
Click to collapse
As for flashing thing, just do a normal fxz through rsd. Boot into fastboot mode and voila. Basically you'll get stock rom on your phone. So you need to root it if you want to embark on flashing custom roms. As for other things, nah. I'll leave to swaggy to answer btw, jb leak was never officially released to our device.
Sent from my MB865 using XDA Premium 4 mobile app
noranora said:
As for flashing thing, just do a normal fxz through rsd. Boot into fastboot mode and voila. Basically you'll get stock rom on your phone.
Click to expand...
Click to collapse
Actually I am not familiar with FXZ, neither I know whats RSD. And that fastboot? is that the boot menu which we get on stock phone by pressing volume+power buttons? How to get that back? And stock ROM? I am running Kitkat ROM right now and don't have stock ROM with me so how will I get the stock rom back? Or you mean flashing that JB leak ROM? But how exactly to flash that over a Kitkat ROM? There aren't any clear cut instructions, whichever are available seems like for PROs only.
I know only one thing - BMM, nothing else. Even I rooted my phone long ago after updating to official ICS :cyclops:
Try this for fxz to jb leak
its a great guide with pictures, all details like RSD, fastboot are given here
Keep Calm !!
Jack Sparrow xda said:
Actually I am not familiar with FXZ, neither I know whats RSD. And that fastboot? is that the boot menu which we get on stock phone by pressing volume+power buttons? How to get that back? And stock ROM? I am running Kitkat ROM right now and don't have stock ROM with me so how will I get the stock rom back? Or you mean flashing that JB leak ROM? But how exactly to flash that over a Kitkat ROM? There aren't any clear cut instructions, whichever are available seems like for PROs only.
I know only one thing - BMM, nothing else. Even I rooted my phone long ago after updating to official ICS :cyclops:
Click to expand...
Click to collapse
Ok .. i sense PANIC around here
You have got a valid question there....Even i am also not sure if we can try JB Leak 3 over custom ROMs running on System 1 ..because i never needed to FXZ...One thing for sure u can FXZ to ICS without any issue....
So i suggest first FXZ to ICS...then Flash JB Leak 3 according to the video i posted.....It works 100% i guarantee....
Once on JB Leak 3 on system 1 ...you can have the full bounty of 6.2 GB...
Thats all i can suggest...Sorry BRO it seems TEDIOUS....But nothing is simple with our A2...
And about removing Webtop FROM stock ICS...I dont think it will be possible....It will cause bootloop...I could be wrong as well...Because when its Atrix2 anything is possible :laugh::laugh:
And this definitely is not for pros my bro....I did all these when i knew nothing about my A2...absolutely nothing
Jack Sparrow xda said:
Actually I am not familiar with FXZ, neither I know whats RSD. And that fastboot? is that the boot menu which we get on stock phone by pressing volume+power buttons? How to get that back? And stock ROM? I am running Kitkat ROM right now and don't have stock ROM with me so how will I get the stock rom back? Or you mean flashing that JB leak ROM? But how exactly to flash that over a Kitkat ROM? There aren't any clear cut instructions, whichever are available seems like for PROs only.
I know only one thing - BMM, nothing else. Even I rooted my phone long ago after updating to official ICS :cyclops:
Click to expand...
Click to collapse
What pro? swaggy and sameer are right. And oh. You might also want to refer to altered's thread
http://forum.xda-developers.com/showthread.php?t=1909319
Yes. That fastboot. And what do you mean how to get that back? You can just press the three buttons combination. Bmm just hijack in initial boot process. It is never been a replacement for stock recovery. Grab the jb leak file you want to flash. And follow the step in altered's thread. You can try swaggy method too. Of course which one is appear to be convenient for you. I've never tried it out. Yet. For some reason I'm sticking to ics. And I only use rsd method. You might want to snoop around this forum. Everything is in here. The reason we use rsd for flashing is because some key thing. And jb leak apparently meant to be released from motorola. Somehow I don't really remember it how the story goes
Sent from my MB865 using XDA Premium 4 mobile app
Thanks everyone for your responses.
Now something went inside my mind. Looks a tedious but doable task. Will try when I will find some spare time in bulk
My wifi not working on jb leaks 1 and 3..working fine with ics and kk..i directly fxz from Axxionkat to jb leak 3..still wifi not working..have tried factory reset repeat fxz etc..any idea guys??
Sent from my MB865 using XDA Premium 4 mobile app
Mu-ha-haa--haaa---haaa......
Finally made it, now I see 8 GB ROM and 5.5GB of Free Space
Thanks to everyone helped me to figure it out and thanks to a wrong GApps flashing in the current CM11 build which crashed my phone and I had to FXZ it from scratch :cyclops:
Jack Sparrow xda said:
Mu-ha-haa--haaa---haaa......
Finally made it, now I see 8 GB ROM and 5.5GB of Free Space
Thanks to everyone helped me to figure it out and thanks to a wrong GApps flashing in the current CM11 build which crashed my phone and I had to FXZ it from scratch :cyclops:
Click to expand...
Click to collapse
Hi Jack:
Probably it's too late, may I know how to get 8GB on this phone?
I am currently in SlimKat 4.4.4. now!
Thanks in advance!

Categories

Resources