[ROM] [CM11] SD and NAND version of Badadroid v4.4

Search This thread

neeraj797

Senior Member
Jul 9, 2013
238
13
New Delhi
Okay, so you have to flash bada (or format mmcblk0p2 to fat) IF you want to have internal sdcard (not mandatory), partition EXTERNAL sdcard (with Tigrouzen's script or however you want), modify updater script in zip, put sd kernel on sd, format system, cache and data from recovery and flash zip.
Use PM or PM in IRC channel #badadroid on freenode if you have question not directly in topic with the thread.
390 mb is already in fat format

---------- Post added at 01:08 PM ---------- Previous post was at 12:56 PM ----------

now getting, loadfile err,nt found error
 

BenzoX

Senior Member
Nov 11, 2013
296
276
Grenoble
390 mb is already in fat format

---------- Post added at 01:08 PM ---------- Previous post was at 12:56 PM ----------

now getting, loadfile err,nt found error


On last kernel no more internal sd support.


If this is Fota problem/message, that's none of my business, see the documentation of your fota to solve such problem.
By the way, you can't use badadroid fota with nand kernel, only SD fota (omni, mine, ihavenick one...)
 
Last edited:

neeraj797

Senior Member
Jul 9, 2013
238
13
New Delhi
bro, why the hell you have provided partition option in this rom and made it compulsary???????
i am facing damn issues wih it

---------- Post added at 06:46 PM ---------- Previous post was at 06:32 PM ----------

after reading instructions,i got even more confused, how can we partition 390 mb data into partitions with more size????????
looks like partition is for nand, which in EXTERNAL SD not SD.Benzox, correct me if i am wrong
 

BenzoX

Senior Member
Nov 11, 2013
296
276
Grenoble
bro, why the hell you have provided partition option in this rom and made it compulsary???????
i am facing damn issues wih it

---------- Post added at 06:46 PM ---------- Previous post was at 06:32 PM ----------

after reading instructions,i got even more confused, how can we partition 390 mb data into partitions with more size????????
looks like partition is for nand, which in EXTERNAL SD not SD.Benzox, correct me if i am wrong

I provided this at first for source code, to allow people to add it in their ROM.
Sadly, almosts all roms have uncompatible updater-script, which make it impossible to use without modifying some stuff -> some knowledge is needed.

In short : with sd kernel you have obviously to partition your sd manually (or with Tigrouzen Scripts). You don't have to touch to nand (except v1.2 and older, where, IF YOU WANT, you can have access to internal memory.
With nand kernel you have to have your nand formated ext/Fat/ext on some kernel or ext/ext/ext on thoses without internal SD support.
You can partition either manually, either by flashing bada, or by doing "format cache, format data" from recovery. (this will not work on kernel with internal sd support if 2nd partition of nand is not fat)
For information, flashing bada format to Fat/Fat/Fat, which is good and you just have to format /data and /cache from recovery.

Last i have to say, i don't remember which partition goes where, so maybe script by Tigrouzen to format Nand may not work (because trying to put system on a 20MB partition is not a good thing).

Please read this post and OP several time before asking another question, i think everything you have to know is in one of those :p
 

neeraj797

Senior Member
Jul 9, 2013
238
13
New Delhi
I provided this at first for source code, to allow people to add it in their ROM.
Sadly, almosts all roms have uncompatible updater-script, which make it impossible to use without modifying some stuff -> some knowledge is needed.

In short : with sd kernel you have obviously to partition your sd manually (or with Tigrouzen Scripts). You don't have to touch to nand (except v1.2 and older, where, IF YOU WANT, you can have access to internal memory.
With nand kernel you have to have your nand formated ext/Fat/ext on some kernel or ext/ext/ext on thoses without internal SD support.
You can partition either manually, either by flashing bada, or by doing "format cache, format data" from recovery. (this will not work on kernel with internal sd support if 2nd partition of nand is not fat)
For information, flashing bada format to Fat/Fat/Fat, which is good and you just have to format /data and /cache from recovery.

Last i have to say, i don't remember which partition goes where, so maybe script by Tigrouzen to format Nand may not work (because trying to put system on a 20MB partition is not a good thing).

Please read this post and OP several time before asking another question, i think everything you have to know is in one of those :p
ok,just explain me in simple words,how should i partition internal sd card (390 mb) in how many parts and which format?????
 

BenzoX

Senior Member
Nov 11, 2013
296
276
Grenoble
ok,just explain me in simple words,how should i partition internal sd card (390 mb) in how many parts and which format?????

Internal SD is just 2nd partition of internal memory.

For SD kernel WITH internal sd support : 1 part, fat (flashing bada is a good way to do it)
For SD kernel WITHOUT internal sd support : not needed
For Nand kernel WITH internal sd support : 1 part, fat (flashing bada is a good way to do it)
For Nand kernel WITHOUT internal sd support : not needed BUT you have to format it via recovery -> mount and storage, format /data, format /cache.
 

neeraj797

Senior Member
Jul 9, 2013
238
13
New Delhi
Internal SD is just 2nd partition of internal memory.

For SD kernel WITH internal sd support : 1 part, fat (flashing bada is a good way to do it)
For SD kernel WITHOUT internal sd support : not needed
For Nand kernel WITH internal sd support : 1 part, fat (flashing bada is a good way to do it)
For Nand kernel WITHOUT internal sd support : not needed BUT you have to format it via recovery -> mount and storage, format /data, format /cache.

ok. i am opting your second option.That means i can directly install badadroid without partitioning

---------- Post added at 01:07 PM ---------- Previous post was at 01:00 PM ----------

one more thing i observed that "fota" given in thread is for nand. so fota is given for sd, can i use any fota of sd version?????
 

BenzoX

Senior Member
Nov 11, 2013
296
276
Grenoble
ok. i am opting your second option.That means i can directly install badadroid without partitioning

---------- Post added at 01:07 PM ---------- Previous post was at 01:00 PM ----------

one more thing i observed that "fota" given in thread is for nand. so fota is given for sd, can i use any fota of sd version?????

Fota searching on INTERNAL sdcard will not work if bada (or bada partition layout= Fat Fat Fat) is not present, that's all, after that you can do anything you want.
 

duytuan665

Senior Member
Oct 10, 2013
168
19
really help me :(

oh man, i want to install sd version on wave 2 and dont understand anything how to install :( my english is too bad for it
1. dont understand how to partition sd card
2. and what do do next then..
Can someone do a tutorial step by step?
 

BenzoX

Senior Member
Nov 11, 2013
296
276
Grenoble
oh man, i want to install sd version on wave 2 and dont understand anything how to install :( my english is too bad for it
1. dont understand how to partition sd card
2. and what do do next then..
Can someone do a tutorial step by step?

1.One way is to use Tigrouzen script on his kernel, for other way there is linux, commandlines, softwares...
2. modify updater-script in zip (replace occurence to system partition by /sys as you can see somewhere in my github. You need a little understanding of how updater-script work) in zip or use a compatible ROM (maybe the one on OP works)

Too lazy to explain more, i'm not on Wave anymore and it start to be old in my memory.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 11
    Hello everyone, here is my work to make Badadroid run on SD or Nand.
    Lot of people requested it but it's for test purpose. I don't know about performance (don't look really bad, but i haven't tested it), but you can do some tests and report.

    This ROM is based on Badadroid v4.4, for both kernel and ROM.
    I advise you to read the whole Badadroid v4.4 first post first.
    It's possible that i don't use a totally up-to-date version of Badadroid, so available RAM is 270 Mb. Updated

    WARNING : Partitioning SDcard delete its content, make a backup first !
    Nand rom delete Bada, and everything on internal memory (not true anymore), make a backup first !

    Known bugs :
    -Same as Badadroid v4.4
    -Link to internal storage not removed, it appears in file explorer but can't be opened.
    -A message showing "com.android.system has stopped" may appear at first boot only.
    -cache not mounted in recovery for nand version.
    -Tell me

    Links :
    ROM
    SD Kernel See updates
    Nand Kernel See updates

    Fota S8500
    Fota S8530
    Bootfiles : same as Badadroid

    Note about Fota : with both version you can use Badadroid Fota, you'll just have to put kernel on bada_user partition instead of SDcard.
    It will change key combination, recovery will be available with Volume Down+power.

    To boot bada with this Fota : Call+EndCall
    Default boot is android.
    Other ROM adapted to NAND and SD with my updater-script:
    hero355 4.4.4 ROM : This ROM is based on Badadroid and android 4.4.4 GalaxyS1 rom.
    It feature android 4.4.4, made by @hero355.

    If you have specific question about a ROM, pease ask directly to its creator.
    If you have general feedback or bug report about a ROM, you can report so i can add in description.



    Updates
    v1.3 :
    SD
    Added fixes from Volk204 (poweroff fix by Tigrouzen, screen wake on wave 2)
    Removed internal SD
    Nand
    I won't support nand anymore, just use Volk kernel for Omni.
    v1.2 :
    SD kernel
    Added internal memory
    Nand kernel
    Changed partition table->a clean installation of bada is needed with this one. Any other partition layout will than bada one will not be compatible.
    Added internal memory

    v1.1 :
    SD kernel Updated to last Badadroid v4.4 kernel sources (more ram). Fixed wifi.
    Nand kernel Tested-Working
    Updated to last Badadroid v4.4 kernel sources (more ram)


    Installation :
    Flash bootfiles and Fota with multiloader v5.65 (v5.67 should also work)

    Put kernel (zImage) on SDcard (or on Bada_user if you use Badadroid Fota) and put zip on SDcard.
    You first need SD or Nand partitionned, maybe i'll add a way to do it with my kernel, for now you can do it with commandlines, softwares, or any other ways.
    Easiest method to partition SD on windows is using a software like EaseUS partition Master
    On linux, just use built-in software (disk)
    Partition table must be for SD (all primary partition, in this order, no label) : X GB Fat32 partition, 20MB Ext (it can be ext 3 or 4), 400 MB Ext, YGB Ext.
    On Nand : 400MB Ext, more than 20MB fat, Space_Left Ext.
    X is the size left on your sdcard after formatting (better make it as big as possible), Y is size of /data (where apps are installed), better make it between 800 MB and 2GB.

    Note : You can create FAT partition if you can't create Ext, and then format it under recovery in mount and storage/format /system, /data and format /cache then reboot recovery.
    Note 2 : You can use default bada partition layout (so you won't have to partition it yourself) for Nand ROM, but it will result in a 580 MB cache partition, 400 MB system and 880 MB data.
    Just boot recovery and go in Mount and Storage/ format cache, data and system and reboot recovery.

    Boot recovery (with home+power if you use the Fota provided earlier).
    Go to install zip/install zip from SDcard0 or SDcard1, depending where you put zip and choose Badadroidv4.4-NandSD.zip.
    Wait for it to finish.
    Then reboot (holding call if you use Badadroid Fota)

    Bootanimation should appear.
    First boot is slow, be patient, it took 2 minutes for me on Nand.
    Next boot should be faster (around 40 seconds)

    Uninstallation :
    For SD ROM, just use any partitioning software to remove the 3 ext partition, and go back to badadroid Fota if you want Bada as default boot.
    For Nand ROM, do a full flash of Bada.


    Sources :
    Main sources are whole badadroid project : here
    All the work and changes i did can be found here, i forked device and kernel git repo from badadroid and create a Nand and SD branch for each.
    To build it, you just have to replace the files i changed in badadroid sources, then compile bootimage, and then put updater-script in the rom zip.
    Note : I reversed this commit to get wifi working.

    Thanks :
    Volk204 for his help, Rebellos and all the badadroid team for their amazing work.
    Tigrouzen for his init files, which helped me understand the process, and his work on Fota with ihavenick, Mijoma and Rebellos.
    And also thanks to Hero355 and Blue59.

    I have nearly no knowledge in android development, so there is probably useless or bad part in my code.
    Feel free to improve it or use it.
    2
    Thanks benzox
    please added ram
    rom very slow

    Updated to last badadroid sources. Now there is zRam and 283 MB available.

    I'm not sure that it's faster than LOOP rom, it probably lack some tweaks, this is for test purpose and i let skilled devs find these tweaks ;)



    Just updated new version (tested this time ;) )
    Make sure to format the three partition (/cache, /system and /data) in recovery BEFORE flashing ROM.
    2
    Thank you

    BTW Android 4.4.4 is incoming... :)
    1
    Thanks benzox
    please added ram
    rom very slow
    1
    Updated to last badadroid sources. Now there is zRam and 283 MB available.

    I'm not sure that it's faster than LOOP rom, it probably lack some tweaks, this is for test purpose and i let skilled devs find these tweaks ;)

    thanks
    i try with my rom
    is speed good

    i want make new rom with you kernel
    Used with permission