[Q] Custom Rom Ext4 Based on Stcok - Samsung Galaxy Gio GT-S5660

Hello everybody.
i'm trying to make a custom rom based on stock and so far so good, but my problem is to convert that rom to ext4 for that can be used by lastest recoverys, and, of course, increase the performance...
So someone can give me a little help?
Thanks ^^

use format command to do this.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

add there commands into updater-script:
Code:
format("ext4", "EMMC", "/dev/block/stl12");
format("ext4", "EMMC", "/dev/block/stl14");
format("ext4", "EMMC", "/dev/block/stl13");
but you need to have a kernel that can boot from ext4 fs.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

czkwg8 said:
use format command to do this.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)
Click to expand...
Click to collapse
yeah but then not boot... In a zip for rfs it works perfectly. Another with the format command dont work. by the way, i'm using a custom kernel that supports ext4 :/
Any idea? :S

MatZ69 said:
yeah but then not boot... In a zip for rfs it works perfectly. Another with the format command dont work. by the way, i'm using a custom kernel that supports ext4 :/
Any idea? :S
Click to expand...
Click to collapse
which kernel you use?
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

PX-Kernel 3.0

MatZ69 said:
PX-Kernel 3.0
Click to expand...
Click to collapse
it seems that v3.0 use a different init.rc.
try another kernel or add a old style ramdisk to it
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

Some of the recoveries have issues formatting to ext4 properly.
You could always provide your own binaries to do it.
What error message do you get when it fails to boot? (logcat or ddms)
Sent from my Nexus S using XDA

With a new kernel (of Delano) it works, but now wifi is not connecting, and SU dont give the right permissions --'

Finished.
I will upload soon.
中国人正在尝试提高!
(translation:Chinese people are trying to improve themselves!)

Related

Modules for Gingerbread (cifs/ext4)

Because of the newer kernel for Gingerbread (2.6.35.7) we need newer modules for cifs and ext4. Compiled them:
download here: http://xda.richardtrip.org/?dir=tab/Gingerbread/modules
Before you ask.... a tun.ko is not needed (compiled in the kernel).
Correct me if im wrong but will these modules give us EXT4 support on ginger ?
crisvillani said:
Correct me if im wrong but will these modules give us EXT4 support on ginger ?
Click to expand...
Click to collapse
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.
how to?
i have kernel 2.6.32.9
hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?
k0sh said:
hmm .. i doubt about it ... the rom is very fast and as far its good , why do i need to go for ext4 if the ext4 suck the battery life ?
Click to expand...
Click to collapse
I have never heard of a file system sucking the battery life. If anything, FAT32 would be the worst used in practice today.
richardtrip said:
insmod /system/lib/modules/jbd2.ko
insmod /system/lib/modules/ext4.ko
and it should work.
Click to expand...
Click to collapse
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )
fidjit said:
So really dumb, newb ( but learning so much so quickly ) question. Can I get my CIFS support back to stream videos on Overcome 2.0.0 if I use
insmod /system/lib/modules/cifs.ko
insmod /system/lib/modules/slow-work ???
( think slow-work is needed from research )
( Settings ->About Device->Kernel Version 2.6.35.7 [email protected] #2 )
Click to expand...
Click to collapse
you need to load slow-work.ko first.
please,
howto install these modules on the new GB roms?
Wow. This is great now i have working cisco vpn.
Thank you very much
Sent from my GT-P1000 using XDA App
bartito said:
please,
howto install these modules on the new GB roms?
Click to expand...
Click to collapse
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
TheGrammarFreak said:
Download the modules to /system/lib/modules/ (or anywhere really, just not the SD card) then load them using insmod. If you need them of every boot you can use an init.d script to load them automatically
Click to expand...
Click to collapse
Unfortunatly, init.d doesn't work in current version...
Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel
fidjit said:
Tried to manually load as per instructions.
Didn't seem to do anything to assist my cifs manager. Figured I'd go back to my nandroid backup I'd made just before. Stuck on Samsung screen. on reboot after restore
Had to do a restock and rebuild. As say in previous post learning a lot ..........like always take an Nandroid
Think I'll be leaving this to the experts and wait for a new already compiled kernel
Click to expand...
Click to collapse
Cifs mananager doesn't help you. But it is simple to do that manually:
$su
#busybox insmod /system/lib/modules/easy-work.ko &&
#busybox insmod /system/lib/modules/cifs.ko
#mount -r -t cifs -o <YourShareName,login,password> <MountingPoint>
I use GscriptLite for that.
acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
so if i flash this via cwm it will give me ext4?
acolwill said:
For those of you who are inept, please find a link below to the same modules inside a CWM flashable zip.
CLICK ME!
Click to expand...
Click to collapse
Sorry for being inept, but that doesn't make CIFS Module to work
--
Enviado desde mi móvil
maxtcee said:
so if i flash this via cwm it will give me ext4?
Click to expand...
Click to collapse
it just copy the *.ko to your /lib/module,you still have to add script inside init.d to make it load automatically when boot
init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?
bartito said:
init.d dobt supported in gb, seems to me
howto make these modulez autoloaded without init.d?
Click to expand...
Click to collapse
CF-Root will run scripts from init.d. Overcome includes CF-Root.
Sent from my Galaxy Tab. Now that's dedication

[MOD] dsexton702's Universal Shot XIX

A tweak thats amazing and beautiful made my phone more buttery smooth so now i have underclocked at 13800 instead of 15200 the whole time! Battery life is more excellent and amazing liquid transitions.
What do these tweaks do?
Greatly improve the smoothness of your phone especially with scrolling
increase your phones repsonsiveness
for some it increases FPS and allows better gaming
Improves the HTC's Evo 3d, 3d quality
improves better I/O performance
speed up start up time
handles multitasking better
improves ext4 partition mounts
improves better cpu performance
least importantly it improves quad scores
Do NOT tamper with the files inside or else you will brick! I have used it, works perfectly, and you must use the BL version and you need the official CWM. Not the one you used to root at first. you can find it in the dev section
Credits~ dsexton702 and the Samsung Galaxy S 4G community (for reporting bugs and what not)
Link: Universal Adrenaline Shot BL XIX
Sorry for putting it up as a link to the thread. i cant find the link for the download. ( YOU MUST DOWNLOAD/FLASH THE UNIVERSAL BL VERSIONS! )
im on EB rom with clockwork recovery. is it safe to flash?
reason i am asking is because i do not have an external SD card and i can't make backups.
EDIT: flash away
You must not read very well. These need a kernel that supports init.d to work correctly.
Sent from my SGH-T989 using XDA App
its been working for me so far.
mikeyinid said:
You must not read very well. These need a kernel that supports init.d to work correctly.
Sent from my SGH-T989 using XDA App
Click to expand...
Click to collapse
uhmm its safe. To make sure use the BL version not the Adrenaline or the Universal XIX use the universal BL XIX. the other ones wont work
CozzaFrenzyy said:
im on EB rom with clockwork recovery. is it safe to flash?
reason i am asking is because i do not have an external SD card and i can't make backups.
Click to expand...
Click to collapse
phreshjoker said:
its been working for me so far.
Click to expand...
Click to collapse
UNIVERSAL ADRENALINE SHOT
THIS WILL WORK ON ANY 2.1 OR HIGHER ANDROID DEVICE
[BAll versions are now compatible with supercharger script[/B]
REQUIREMENTS
kernel that supports init.d
IN CWM MOUNT /SYSTEM BEFORE FLASHING
it raised my fps + keeps it steady as opposed to fluctuating.
used this on the sgs4g worked great!
Lol
mikeyinid said:
UNIVERSAL ADRENALINE SHOT
THIS WILL WORK ON ANY 2.1 OR HIGHER ANDROID DEVICE
[BAll versions are now compatible with supercharger script[/B]
REQUIREMENTS
kernel that supports init.d
IN CWM MOUNT /SYSTEM BEFORE FLASHING
Click to expand...
Click to collapse
Sent from my SGH-T989
Flashed while running EB 1.0 with official CWR confirmed safe....
I have not noticed any difference thou...at all....a bit confused as to if this makes any difference for us sg2 users....
Wats this liquid transition stuff mentioned? That sounded pretty awesome
Ill get back with battery life information...
Sent from my SGH-T989 using XDA App
I'm running EB 1.0 and I DEF saw a difference in my cfbench score. Jumped by a thousand points. WTF?!! Awesome!
This is for modified kernel and your supposed to delete your init.d folder before flash. It works great on the gs4g. Not sure if it will even do anything for us YET. This is a great tweak and dsexton702 is boss!
Sent from my HercuBEAST!!
Updater-script issue?
Did anyone that flash this get an error in CWM Recovery that ends with an aborted installation? I've mounted /system and ran the script off my /sdcard/external_sd - unsure if I need this ran off my internal or not.
Additionally, the updater-script that comes with the BL version has blocks that don't seem to correspond with our partitions?
Original updater-script:
Code:
ui_print("Mounting System...");
run_program("/sbin/mount", "/dev/block/stl9", "/system");
run_program("/sbin/mount", "/dev/block/stl10", "/data");
run_program("/sbin/mount", "/dev/block/stl11", "/cache");
I edited the script on my end; I assume that our blocks are different than the OP's device, but I haven't flashed it yet (will test that in a few):
Code:
ui_print("Mounting System...");
run_program("/sbin/mount", "/dev/block/mmcblk0p24", "/system");
run_program("/sbin/mount", "/dev/block/mmcblk0p25", "/data");
run_program("/sbin/mount", "/dev/block/mmcblk0p26", "/cache");
If anyone has reported errors, do let us know what remedy you used to solve it.
EDIT:
No errors for me after script change, until it hits the wiping of /data/dalvik-cache (don't quite understand why the script fails here).
Including screenshots of post-tweak application:
Babyj303 said:
This is for modified kernel and your supposed to delete your init.d folder before flash. It works great on the gs4g. Not sure if it will even do anything for us YET. This is a great tweak and dsexton702 is boss!
Sent from my HercuBEAST!!
Click to expand...
Click to collapse
He included a script to delete the init.d folder already so you dont have to do that anymore.
Sent from my SGH-T989 using xda premium
This are my results
Masters of tweaking
This may not be the place but since his name is being mentioned do we think we could get dsexton to give these phones some pf his dsexy sexton injection and ofcourse drhonk and whitehawx and others where are you guys?????
Sent from my SGH-T989 using xda premium
i keep getting a abort... i mount the system. dunno what im doing wrong.
Try not to mount it. Just flash it. Pul out the battery and reflash
jr8801 said:
i keep getting a abort... i mount the system. dunno what im doing wrong.
Click to expand...
Click to collapse
Sent From my Galaxy S II T-Mobile
Are you using a kernel that supports it that seems like a must before flashing and when you mount the system it then should appear as unmount hope this helps.
Sent from my SGH-T989 using xda premium
phreshjoker said:
Try not to mount it. Just flash it. Pul out the battery and reflash
Sent From my Galaxy S II T-Mobile
Click to expand...
Click to collapse
Thats what I was thinking because when I flashed eaglesblood rom and glowing battery mod in cwr I just cleared cache and delvik cache and flashed away with no issues at all although besides formatting system but that was only required for the rom and everything works nice!
Sent from my SGH-T989 using xda premium

[HELP] Kernel and Kernel Modules

Hi to all devs here,
I am currently creating a new ROM with modified stock kernel. Currently I have basic features for the ROM and for my kernel, what I have is init.d support. I would like to add the following kernel modules:
DroidWall
Governors and IO Scheduler
BaCem
EXT4
Now, would copying the modules to system/lib/modules do the trick? Or do I need anything else? I'm currently new in creating custom ROMS, so any help/advise is greatly appreciated.
Also, can anyone give me the link for SpareParts.apk? I have seen many spareparts.apk but all of them are from creeds rom.
Thanks,
Carl
you'll need init.d script to call the modules. for bacem tweak, you should put the init.d script from irfan's thread since it also contain the script needed to set the voltage and fix the bug in bacem tweak. for another modules, you'll only need to call the modules in boot via init.d script. you can use these script
Code:
#!/system/bin/sh
insmod <location of modules1>
insmod <location of modules2>
the modules are usually stored in /sytem/lib/modules so you'll need to replace <location of modules> with /system/lib/modules/<module name>. after boot you can check whether if the modules loaded or not by typing "lsmod" in terminal.
EDIT: you can find sparepart.apk in my thread about one pack tweak.
can i use ur kernel in m stock rom...if yes put it
Sent from my GT-S5360 using xda premium
kurotsugi said:
you'll need init.d script to call the modules. for bacem tweak, you should put the init.d script from irfan's thread since it also contain the script needed to set the voltage and fix the bug in bacem tweak. for another modules, you'll only need to call the modules in boot via init.d script. you can use these script
Code:
#!/system/bin/sh
insmod <location of modules1>
insmod <location of modules2>
the modules are usually stored in /sytem/lib/modules so you'll need to replace <location of modules> with /system/lib/modules/<module name>. after boot you can check whether if the modules loaded or not by typing "lsmod" in terminal.
EDIT: you can find sparepart.apk in my thread about one pack tweak.
Click to expand...
Click to collapse
Thank you sir kurotsugi. BTW, do i need to include the extension of the module like this:
Code:
insmod /system/lib/modules/modulename.ko
CarlDeanCatabay said:
Thank you sir kurotsugi. BTW, do i need to include the extension of the module like this:
Code:
insmod /system/lib/modules/modulename.ko
Click to expand...
Click to collapse
Sure...
Sent from my GT-S5360 using xda app-developers app
be carefull if yo're using ext4 as a modules. it should be mounted first before another script running and don't ever change your /data, /system, and /cache partition to ext4.
kurotsugi said:
be carefull if yo're using ext4 as a modules. it should be mounted first before another script running and don't ever change your /data, /system, and /cache partition to ext4.
Click to expand...
Click to collapse
Sir...if i change ext3 to ext4 in ur ope pack tweak, can i mount ext4?
Sent from my GT-S5360 using xda app-developers app
theoritically it will work only if your kernel support it and you have loaded ext4 modules before mount command. never interested to test it. ext3 is easier and better.
kurotsugi said:
theoritically it will work only if your kernel support it and you have loaded ext4 modules before mount command. never interested to test it. ext3 is easier and better.
Click to expand...
Click to collapse
Bro, how to change /system /data and /cache from ext4 to rfs ??
our default system partition is already in rfs. you can modify ext4 file from maroc to revert it.
kurotsugi said:
our default system partition is already in rfs. you can modify ext4 file from maroc to revert it.
Click to expand...
Click to collapse
I know, but somehow i format /cache to ext4. Maybe. Coz when i create backup nandroid file is cache.ext4.tar else is system.rfs.tar and data.rfs.tar
And yes it show in /sys/fs/ext4/stl10 which mean /cache partition fyi i use my kernel that support ext4.
I want to change /cache from ext4 to rfs again but dont know how try with tick repartition in odin still no hope just stuck in download mode.
Code:
ui_print("Starting Operation...");
show_progress(0.1, 0);
unmount("/cache");
ui_print("Formarting cache with rfs...");
format("rfs", "EMMC", "/dev/block/stl10");
ui_print("Mount cache with rfs...");
mount("rfs", "EMMC", "/dev/block/stl10", "/cache");
show_progress(0.1, 100);
ui_print("Done");
ui_print("All praise is due to Allah");
its an updater script. you can give it a shot
Hi devs,
I would like to ask few more n00b questions:
1. Should I put EXT4 at 00EXT4_module or 00bacem-tweak and put ext4 at 01 inside init.d?
2. How do I set the default keyboard for a custom ROM
3. How do I get 14 Toggle Status Bar + Swipe to Clear Notification working on DXLE1? It works on lower firmware version but on DXLE1, it makes the status bar disappear.
PS. I don't want to start another thread so I am asking here. Thanks in advance!
Sorry Sir I can't help u bt advice to change heading so ppl vil cum to knoe wat ur askin by reading only heading
sent using repencis 3.5 wid a2sd
DELETED
Sent from my GT-S5360 using xda app-developers app
Sir....
I just can help no. 2 and 3
2. Choose ur keyboard in Settings>locale and text>choose ur keyboard..this step just make ur keyboard as default
3.u can use system-unsigned and framework.jar in http://forum.xda-developers.com/showthread.php?t=1691397 I use this and work perfectly
Sent from my GT-S5360 using xda app-developers app
shoutokuyaki said:
Sir....
I just can help no. 2 and 3
2. Choose ur keyboard in Settings>locale and text>choose ur keyboard..this step just make ur keyboard as default
3.u can use system-unsigned and framework.jar in http://forum.xda-developers.com/showthread.php?t=1691397 I use this and work perfectly
Sent from my GT-S5360 using xda app-developers app
Click to expand...
Click to collapse
I think he is askin how to make any 3rd party keyboard as a system/default keyboard while compiling rom
I might b wrong bt u tried to help him
sent using repencis 3.5 wid a2sd
press thnxxx
CarlDeanCatabay said:
Hi devs,
I would like to ask few more n00b questions:
1. Should I put EXT4 at 00EXT4_module or 00bacem-tweak and put ext4 at 01 inside init.d?
Click to expand...
Click to collapse
i don't get it. do you mean the script used to call the modules? if yes, it doesn't matter where you put it. you'll only need to make sure that it run before another script, especially a2sd script or similar method. you can easily arrange the sequence by the number and alphabet.
2. How do I set the default keyboard for a custom ROM
Click to expand...
Click to collapse
if you still have the default keyboard, our system will use that as default keyboard. you can remove it so your keyboard will work as default but make sure that your keyboard is working since not all 3rd party keyboard could work as system app.
3. How do I get 14 Toggle Status Bar + Swipe to Clear Notification working on DXLE1? It works on lower firmware version but on DXLE1, it makes the status bar disappear.
PS. I don't want to start another thread so I am asking here. Thanks in advance!
Click to expand...
Click to collapse
if there's no status bar FC issue the problem could come from improper method of compiling the apk. it sometimes happen when we use old apktool version. dxlc and dxle are using similar framework, you can try to use systemUI from another custom rom based on dxlc for an alternative if you can't solve that compiling issue.

[Q] Is there a flashable android 2.3.5 stock for my gio?

Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
0nemisis0 said:
Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
Click to expand...
Click to collapse
I think it's kind of an dead end for us non developers to convert from EXT4 to RFS (The filesystem stock uses). Guide on how to do it with odin can be found here. Note that u can use Enhanced236. It's based on stock 2.3.6 and uses EXT4 as internal filesystem, the same as CM. Alot of people think it's the most bugfree ROM for GIO. Here is the link to the thread where u can download a flashable .zip based on AROMA Installer :laugh:
Regards
X-Zone
RFS , not RTF
formula01 said:
RFS , not RTF
Click to expand...
Click to collapse
Oh yeah typo. :laugh:
BTW: Use quotes, makes everything much easier.
X-zone said:
I think it's kind of an dead end for us non developers to convert from EXT4 to RFS (The filesystem stock uses). Guide on how to do it with odin can be found here. Note that u can use Enhanced236. It's based on stock 2.3.6 and uses EXT4 as internal filesystem, the same as CM. Alot of people think it's the most bugfree ROM for GIO. Here is the link to the thread where u can download a flashable .zip based on AROMA Installer :laugh:
Regards
X-Zone
Click to expand...
Click to collapse
But can use stock kernel in zip package. Clean 2.3.6 RFS zip package is a good idea but idk how to properly edit update-script file.
WYPIERDAALAAC said:
But can use stock kernel in zip package. Clean 2.3.6 RFS zip package is a good idea but idk how to properly edit update-script file.
Click to expand...
Click to collapse
why do need to edit the script file? if you really want to reflash your phone back to the original use odin and follow this GUIDE but if whant a flashable stock rom download this STOCK ROM this is a 2.3.6 gio stock made by Peteragent5
badagila said:
why do need to edit the script file? if you really want to reflash your phone back to the original use odin and follow this GUIDE but if whant a flashable stock rom download this STOCK ROM this is a 2.3.6 gio stock made by Peteragent5
Click to expand...
Click to collapse
For no format and i do not want i just wrote about good idea. Peteragent5 ROM has custom kernel so its not the same as clean firmware from samsung.
WYPIERDAALAAC said:
For no format and i do not want i just wrote about good idea. Peteragent5 ROM has custom kernel so its not the same as clean firmware from samsung.
Click to expand...
Click to collapse
ahhh you are trying to build your own flashable rom and rdit your own script?
badagila said:
ahhh you are trying to build your own flashable rom and rdit your own script?
Click to expand...
Click to collapse
Not really, I am just a user, time ago I tried to edit script because there are lines for format ext4 and idk how to change it for good working.
now i do not care.
WYPIERDAALAAC said:
Not really, I am just a user, time ago I tried to edit script because there are lines for format ext4 and idk how to change it for good working.
now i do not care.
Click to expand...
Click to collapse
i am not sure but i think all flashable firmwares are using custom kernel
badagila said:
i am not sure but i think all flashable firmwares are using custom kernel
Click to expand...
Click to collapse
and i do not know why, in md5 is boot.img file like in zip package for extract so can use samsung kernel.
WYPIERDAALAAC said:
and i do not know why, in md5 is boot.img file like in zip package for extract so can use samsung kernel.
Click to expand...
Click to collapse
in custom rom and all other flashable rom's kernel is always in boot.img file
badagila said:
in custom rom and all other flashable rom's kernel is always in boot.img file
Click to expand...
Click to collapse
exactly i talk about it man so i think can use it instead phiexz stock kernel.
WYPIERDAALAAC said:
exactly i talk about it man so i think can use it instead phiexz stock kernel.
Click to expand...
Click to collapse
not so sure dude i already try to change the boot.img after cooking but it is still installation aborted but i keep on trying to create a successful flashable rom and if it be done i will create one for you
It's for updater-script for RFS but how to edit updater-script from custom rom based on 2.3.6 (how to replace ext4 commands correctly)?
Code:
unmount("/system");
unmount("/data");
unmount("/cache");
ui_print("- please wait...");
package_extract_dir("tools", "/tmp");
set_perm(0, 0, 0755, "/tmp/rfs.sh");
set_perm(0, 0, 0755, "/tmp/fat.format");
run_program("/tmp/rfs.sh");
ui_print("- done!");
ui_print("- mounting all partitions");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl9", "/system");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl11", "/data");
run_program("/sbin/busybox mount", "-t", "rfs", "/dev/block/stl10", "/cache");
run_program("/sbin/busybox mount", "-a");
run_program("mount", "-t", "rfs", "/dev/block/stl9", "/system");
run_program("mount", "-t", "rfs", "/dev/block/stl11", "/data");
run_program("mount", "-t", "rfs", "/dev/block/stl10", "/cache");
0nemisis0 said:
Hey, i want to downgrade my phone from cm7 to android 2.3.5 and i wondered, is there is a flashable version of the stock rom because that is a lot easier to use than odin imo.
Click to expand...
Click to collapse
if you really want the original from samsung try this link, it odin flash able md5 file so you will need to know how to flash with odin
Original Stock Rom Samsung Galaxy Gio all Country

F2FS Thread. Ask your questions here

Since there is no F2FS support thread, I'll try to help here as much as my knowledge goes (or not).
Thread was opened because our dear friend @bsmitty83 and @aosp managed to do a tremendous non.human work and made possible F2FS tor our beloved GNEX.
Here you'll post some questions and everybody will try to help.
For Windows users, here is the ADB/Fastboot pack:
http://forum.xda-developers.com/showthread.php?t=2588979
Thread under heavy construction
(I'll keep on editing when I arrive home)
First of all, thank you for your availability.
What do you think about grouping the links for kernel and recovery that support f2fs?
I know that many roms will appear, but recovery and kernel are the basis.
Once again, thank you.
Sent from my Galaxy Nexus using XDA Free mobile app
Someone should link and teach the step for f2fs support so normal user can try to create it by themselves :good:
Atento said:
First of all, thank you for your availability.
What do you think about grouping the links for kernel and recovery that support f2fs?
I know that many roms will appear, but recovery and kernel are the basis.
Once again, thank you.
Sent from my Galaxy Nexus using XDA Free mobile app
Click to expand...
Click to collapse
That's a good start. Will start on that base Thank YOU.
xzilem said:
Someone should link and teach the step for f2fs support so normal user can try to create it by themselves :good:
Click to expand...
Click to collapse
What do you mean by "teach the step for f2fs support". If you mean to compile a kernel, there are plenty of where to start on XDA.
If you refer on "how to install the testing F2FS kernel by @bsmitty83 and @aosp", I'll do that over this thread. Just wait for it
Anyone converted their 2012 nexus 7 to f2fs?
[poo]
jhonnyx said:
That's a good start. Will start on that base Thank YOU.
What do you mean by "teach the step for f2fs support". If you mean to compile a kernel, there are plenty of where to start on XDA.
If you refer on "how to install the testing F2FS kernel by @bsmitty83 and @aosp", I'll do that over this thread. Just wait for it
Click to expand...
Click to collapse
I mean teach the step to convert other roms to f2fs. I think there's no need to compile a new one just like f2fs for grouper.
xzilem said:
I mean teach the step to convert other roms to f2fs. I think there's no need to compile a new one just like f2fs for grouper.
Click to expand...
Click to collapse
im pretty sure its something in the updater-script within the rom,you just have to change it from mounti ext4 to mounting to f2fs,someone in the dirtyv thread compared the commotio script and a slimkat one and made a slimkat f2fs,plus you have to use the kernel from the alpha commotio rom as well
pattyboi:) said:
im pretty sure its something in the updater-script within the rom,you just have to change it from mounti ext4 to mounting to f2fs,someone in the dirtyv thread compared the commotio script and a slimkat one and made a slimkat f2fs,plus you have to use the kernel from the alpha commotio rom as well
Click to expand...
Click to collapse
I'll be pumped when someone writes a guide on this. Once I can make PAC f2fs I'll be a happy camper.
Convert to F2FS Steps
@Hetalk and @Punkiderma
Can you guys tell us the steps to convert any rom to F2FS?
xzilem said:
@Hetalk and @Punkiderma
Can you guys tell us the steps to convert any rom to F2FS?
Click to expand...
Click to collapse
Just woke up. I'll try to put up something later today.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Hetalk said:
Just woke up. I'll try to put up something later today.
Sent from my Galaxy Nexus using XDA Premium 4 mobile app
Click to expand...
Click to collapse
xzilem said:
@Hetalk and @Punkiderma
Can you guys tell us the steps to convert any rom to F2FS?
Click to expand...
Click to collapse
Same for me, I'll try to write something as soon as I can
Inviato dal mio Galaxy Nexus utilizzando Tapatalk
How I changed paranoid (pa_maguro-4.4-BETA1-20140603) a f2fs compatible ROM.
1) Download latest dirty f2fs compatible kernel zip file. Extract the file "boot.img" to a temporary location
2) Download ROM zip file.
3) Open ROM zip file using 7-zip. Delete "boot.img" and replace with "boot.img" from the dirty kernel (saved in step#1)
4) Open ROM zip and browse to "\META-INF\com\google\android\". Extract "updater-script" to a temporary folder.
5) Open "updater-script" in a text editor. I use notepad++.
6) Replace string
"mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/system");"
by
"run_program("/sbin/busybox", "mount", "/system");"
Again, replace string
"format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0", "/system");"
by
"run_program("/sbin/mkfs.f2fs", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system");"
7) If you need to mount data partition add string
"run_program("/sbin/busybox", "mount", "/data");"
after strings
"run_program("/sbin/mkfs.f2fs", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system");"
"run_program("/sbin/busybox", "mount", "/system");"
8) Add string
"symlink("../bin/fsck.f2fs", "/system/bin/dump.f2fs");"
after
"package_extract_dir("system", "/system");"
also add string
"symlink("mount.exfat", "/system/bin/fsck.exfat",
"/system/bin/mkfs.exfat");"
after
"symlink("mksh", "/system/bin/sh");"
9) If you loaded data partition in step 7 you'll need to unmount it at the end by adding string
"unmount("/data");"
10) Replace original updater script the edited one in the ROM zip.
11) Done.
12) Seriously. It's done. Go test it out.
Basically, all(hopefully) this does is, it make sure that ROM's updater script formats/mounts partitions are f2fs, rather than ext4.
Again, I'm not a developer and have just a little working knowledge of what these commands might do. Use this at your own risk.
I've attached original and updated scripts that I've used. You can use compare (ctrlD) feature in notepad++ and see difference between them.
Hope this helps. All the best. :good:
To all the developers and smart people out here, please feel free to suggest changes, or let me know when there's a more comprehensive guide out there, so I can remove this and link to the improved post.
P.S. This might look complicated, but just takes about 5 minutes, not including download time.
Hetalk said:
How I changed paranoid (pa_maguro-4.4-BETA1-20140603) a f2fs compatible ROM.
Again, I'm not a developer and have just a little working knowledge of what these commands might do. Use this at your own risk.
I've attached original and updated scripts that I've used. You can use compare (ctrlD) feature in notepad++ and see difference between them.
Hope this helps. All the best. :good:
To all the developers and smart people out here, please feel free to suggest changes, or let me know when there's a more comprehensive guide out there, so I can remove this and link to the improved post.
P.S. This might look complicated, but just takes about 5 minutes, not including download time.
Click to expand...
Click to collapse
Nicely done, i will try it thanks :good:
Add some of this step to the thread maybe? F2FS Convertion by @burstlam
Hetalk said:
Basically, all(hopefully) this does is, it make sure that ROM's updater script formats/mounts partitions are f2fs, rather than ext4.
Click to expand...
Click to collapse
I did exactly the same, however for slim there was no need to add some lines.
Simply, from what I saw, replace every line that has mount or format ext4 with the appropriate line for F2FS:
mount("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "/ANYPARTITION");​
get replaced by
run_program("/sbin/busybox", "mount", "/ANYPARTITION");​
and
format("ext4", "EMMC", "/dev/block/platform/omap/omap_hsmmc.0/by-name/system", "0", "/ANYPARTITION");​
get replaced by
run_program("/sbin/mkfs.f2fs", "/dev/block/platform/omap/omap_hsmmc.0/by-name/ANYPARTITION");​
obviously:
1.change ANYPARTITION following the partition wrote in your updater script
2. REPLACE ONLY WHAT IS NECESSARY: I think you should not add MORE format partition lines than the one present before. Just replace what you have. If you followed the steps explained by AOSP inside the DIrtyV thread, you should have already all the partition F2FS formatted.​
A useful thing to do if you have doubts (is what I've done) is to search if the rom you want to convert already has a F2FS version on another device and compare the scripts (without caring about lines that are different because of the different device). For example, I compared Grouper's F2FS slimkat to maguro one, and thanks to this I've understood that mount/format partitions thing.
^^ Lot better.
I'm guessing it wouldn't be too hard if we modified this to work with our phones: http://forum.xda-developers.com/showthread.php?t=2731666
[poo]
poo706 said:
I'm guessing it wouldn't be too hard if we modified this to work with our phones: http://forum.xda-developers.com/showthread.php?t=2731666
[poo]
Click to expand...
Click to collapse
I downloaded looked at the scripts and when I get a chance I'll try to do it for our device. Maybe this weekend.
There is like only 4 lines that need to be changed in omni updater-script. Am i right?
hi guys...one question, is cm11 rom Compatible with F2FS?!! if not how do it myself?
massoudsh said:
hi guys...one question, is cm11 rom Compatible with F2FS?!! if not how do it myself?
Click to expand...
Click to collapse
Read about 5 posts back. Punkiderma and I have outlines steps for paranoid. You can follow them for cm11 as well. Post your results here.

Categories

Resources