Download recovery
http://d-h.st/3Ti
Make sure you have USB drivers installed:
http://forum.xda-developers.com/showthread.php?t=2038555
Put your phone in download mode: To enter download mode
1.Power off your phone
2.Hold volume down button, home button ,and power button until it enters download mode then connect USB cable.
Wait for drivers to install
Download Odin:
http://forum.xda-developers.com/attachment.php?attachmentid=2215838&d=1377564983
Start Odin:
1.Make sure only Auto Reboot and F.Rest time is checked
2.Click PDA choose recovery downloaded earlier
Click start.
To enter recovery:
Turn off the device.
Press and hold the following three buttons at the same time:
Volume Up key
Home key
Power key
When the phone vibrates let go.
Instructions from users here thanks
Sent from my SCH-I500 using xda app-developers app
Stock Files:
TODO add files based on models
Reserved for device trees . Any devs feel free to go
Device Source and kernel source device dependent:
http://github.com/Team-Exhibit
Depends on u8500-common
https://github.com/OliverG96/android_device_samsung_u8500-common
Need u8500 hardware
https://github.com/TeamCanjica/android_hardware_u8500
Vendor blobs (WIP): thanks to oliver
https://github.com/TeamRegular/android_vendor_samsung_codinatmo
I find that just holding volume up, home and power button boots into recovery.
Sent from my SGH-T599V using xda app-developers app
tamil.soljahz said:
I find that just holding volume up, home and power button boots into recovery.
Sent from my SGH-T599V using xda app-developers app
Click to expand...
Click to collapse
Thanks well people will see your post I got that from T-Mobile site
Sent from my SCH-I500 using xda app-developers app
Original recovery as flashable zip. Hope it works.
Code:
assert(getprop("ro.product.device") == "codinatmo" || getprop("ro.build.product") == "codinatmo");
right?
View attachment SGH-T599_Stock_Recovery.zip
tys0n said:
Original recovery as flashable zip. Hope it works.
Code:
assert(getprop("ro.product.device") == "codinatmo" || getprop("ro.build.product") == "codinatmo");
right?
View attachment 2216380
Click to expand...
Click to collapse
That's correct what a weird codename
Sent from my SCH-I500 using xda app-developers app
Unjustified Dev said:
That's correct what a weird codename
Sent from my SCH-I500 using xda app-developers app
Click to expand...
Click to collapse
Yes it is
Sent through time and space from my s3mini/CM10.1
tys0n said:
Yes it is
Sent through time and space from my s3mini/CM10.1
Click to expand...
Click to collapse
Nvm
Sent from my SCH-I500 using xda app-developers app
Ah ok. I got codinatmo from the sysdump build.prop
Could be there's two different versions.
With, and without NFC?
Sent through time and space from my s3mini/CM10.1
tys0n said:
Ah ok. I got codinatmo from the sysdump build.prop
Could be there's two different versions.
With, and without NFC?
Sent through time and space from my s3mini/CM10.1
Click to expand...
Click to collapse
codina is the galaxy ace 2 the s3 mini and other u8500 phones are closer.
@tamil.soljahz could you dump all the images so I can make it a tar
# Mount point fs device
/system ext4 /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p23
/data ext4 /dev/block/mmcblk0p25
/efs ext4 /dev/block/mmcblk0p11
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/boot emmc /dev/block/mmcblk0p20
/recovery emmc /dev/block/mmcblk0p21
/preload ext4 /dev/block/mmcblk0p24
Unjustified Dev said:
@tamil.soljahz could you dump all the images so I can make it a tar
# Mount point fs device
/system ext4 /dev/block/mmcblk0p22
/cache ext4 /dev/block/mmcblk0p23
/data ext4 /dev/block/mmcblk0p25
/efs ext4 /dev/block/mmcblk0p11
/sdcard vfat /dev/block/mmcblk0p1 /dev/block/mmcblk0
/boot emmc /dev/block/mmcblk0p20
/recovery emmc /dev/block/mmcblk0p21
/preload ext4 /dev/block/mmcblk0p24
Click to expand...
Click to collapse
goldfinger already uploaded system, efs, boot, recovery and preload in the original thread (http://forum.xda-developers.com/showthread.php?p=44848780). I'll try to get the remainder, but my upload speed is horrible and might take hours to upload them.
tamil.soljahz said:
goldfinger already uploaded system, efs, boot, recovery and preload in the original thread (http://forum.xda-developers.com/showthread.php?p=44848780). I'll try to get the remainder, but my upload speed is horrible and might take hours to upload them.
Click to expand...
Click to collapse
No prob I am starting to build cm I wouldn't flash it until I have a stock firmware to odin
Sent from my SCH-I500 using xda app-developers app
@tamil.soljahz these are all we need and I can compile cyanogenmod I finished the blobs sorry @OliverG96 for being so annoying
# Partitions
#BOARD_BOOTIMAGE_PARTITION_SIZE :=
#BOARD_RECOVERYIMAGE_PARTITION_SIZE :=
#BOARD_SYSTEMIMAGE_PARTITION_SIZE :=
#BOARD_USERDATAIMAGE_PARTITION_SIZE :=
cat proc/partitions
or some of the commands from the other thread to help thanks
Device trees almost finished
@tamil.soljahz
I have the partition sizes I will upload cm-10.1 once you get a stock odin working or if I get this phone I will test cm-10.1 and debug it
Developers if any
Uploaded and updated all trees
Package Complete: /home/unjust/android/cm-10.1/out/target/product/codinatmo/cm-10.1-20130828-UNOFFICIAL-codinatmo.zip
Sent from my SCH-I500 using xda app-developers app
tys0n said:
Original recovery as flashable zip. Hope it works.
Code:
assert(getprop("ro.product.device") == "codinatmo" || getprop("ro.build.product") == "codinatmo");
right?
View attachment 2216380
Click to expand...
Click to collapse
Anyone tried flash this yet and can confirm that script working without errors?
tys0n said:
Anyone tried flash this yet and can confirm that script working without errors?
Click to expand...
Click to collapse
Code:
assert(getprop("ro.product.device") == "codinatmo" || getprop("ro.build.product") == "codinatmo" ||
getprop("ro.product.device") == "t599" || getprop("ro.build.product") == "t599" ||
getprop("ro.product.device") == "SGH-T599" || getprop("ro.build.product") == "SGH-T599");
used in my build for cm-10.1
the codinatmo should work regardless though those are just extras
Unjustified Dev said:
Device trees almost finished
@tamil.soljahz
I have the partition sizes I will upload cm-10.1 once you get a stock odin working or if I get this phone I will test cm-10.1 and debug it
Click to expand...
Click to collapse
https://www.dropbox.com/sh/2cb96xyih7heg5i/oeIGkqM1Vs
There's still two files being uploaded data and system.
Unjustified Dev said:
Developers if any
Uploaded and updated all trees
Package Complete: /home/unjust/android/cm-10.1/out/target/product/codinatmo/cm-10.1-20130828-UNOFFICIAL-codinatmo.zip
Sent from my SCH-I500 using xda app-developers app
Click to expand...
Click to collapse
can i get a download link?
Related
How to install:
Just unzip to your /sdcard
http://xt720.ru/Files/Patchs/or-147-xt720-fix2.zip
my recovery alrealy support ext2,3,4, nilfs2 (6 month ago)
if you want to add filesystem support edit switch.sh (insmod your modules) and edit to
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
We already have it in switch.sh.
But thanks! =)
Just curious: what changed in open_rcvr.STR?
fjfalcon said:
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
We already have it in switch.sh.
But thanks! =)
Click to expand...
Click to collapse
i edit this part
#app2ext partition on sdcard
if [ -b /dev/block/mmcblk0p2 ] ; then
mkdir /sddata
insmod "$MODPATH/jbd.ko"
insmod "$MODPATH/ext3.ko"
insmod "$MODPATH/ext2.ko"
insmod "$MODPATH/crc16.ko"
insmod "$MODPATH/jbd2.ko"
insmod "$MODPATH/mbcache.ko"
insmod "$MODPATH/ext4.ko"
insmod "$MODPATH/nilfs2.ko"
echo "/dev/block/mmcblk0p2 /sddata auto defaults 0 0" >> /etc/fstab
#e2fsck -p /dev/block/mmcblk0p2
fi
i remove e2fsck for nilfs2
#chek linux version
LVER=`uname -r | awk '{split($0,a,"-"); print a[1]}'`
MODPATH="/lib/modules/$LVER"
also i add it
it will auto recognize kernel's version and auto mount current modules
I took your OpenRecovery and added/fixed some things:
'Power Off' menu option
'Toggle Display Brightness' menu option (to reduce battery drain--alternates between bright/dim)
Fixed nandroid backup all (by hiding the partitions that don't work)
Fixed 'Wipe Dalvik Cache'
Renamed 'Applications Menu' to 'Utilities'
Added a symbolic link: /sd-ext -> /sddata
Updated e2fsck to a 1.41.10 (for ext4 support)
Added 'SD Card Utilities'
'Scan FAT partition for errors'
'Scan ext partition for errors'
Can convert ext2->ext3, ext2->ext4, ext3->ext4 (requires ROM support)
'Save diagnostics to /sdcard/sdcard-info.txt' for debugging
Eventually this will also manage the app/link2sd directories
Github: https://github.com/Mioze7Ae/openrecovery_xt720
EDIT: updated with statically-compiled fsck_msdos, tune2fs, e2fsck, and mke2fs from the CM6.3.0 source
Mioze7Ae said:
I took your OpenRecovery and added/fixed some things:
'Power Off' menu option
'Toggle Display Brightness' menu option (to reduce battery drain--alternates between bright/dim)
Fixed nandroid backup all (by hiding the partitions that don't work)
Fixed 'Wipe Dalvik Cache'
Renamed 'Applications Menu' to 'Utilities'
Added a symbolic link: /sd-ext -> /sddata
Updated e2fsck to a 1.41.10 (for ext4 support)
Added 'SD Card Utilities'
'Scan FAT partition for errors'
'Scan ext partition for errors'
Can convert ext2->ext3, ext2->ext4, ext3->ext4 (requires ROM support)
'Save diagnostics to /sdcard/sdcard-info.txt' for debugging
Eventually this will also manage the app/link2sd directories
Github: https://github.com/Mioze7Ae/openrecovery_xt720
Click to expand...
Click to collapse
Awesome nice wok man
The SD Card Utilities aren't working if CM6 isn't installed. I need to find a tune2fs that is statically linked. I thought this one was, but I was wrong.
Edit: fixed now in -fix4
What would it take to incorporate these changes into Androidiani OR?
I compiled static binaries for e2fsprogs and fsck_msdos and updated the zip. I should be working now. http://forum.xda-developers.com/showpost.php?p=16812349&postcount=7
3rdstring said:
What would it take to incorporate these changes into Androidiani OR?
Click to expand...
Click to collapse
Some of these changes are pretty easy. Others are a little more involved. You can look at the diffs in github and port ones that you'd like. Eventually I'd like to merge the functionality of both but I'm focusing on OR for now. You can look at what went into each change by looking at the "Commits" tab at github and then clicking on the commit number on the far right side for a particular change and you'll see what changes were made to which files. For example this is the Toggle Display Brightness change.
I can't get neither one of my sdcards ext4 to mount. I wonder if it might be cause I started with CM6.3? Instead of upgrading from CM6.1 to CM6.3? Just a thought since some of us can and can't mount ext4
LibertyMonger said:
I can't get neither one of my sdcards ext4 to mount. I wonder if it might be cause I started with CM6.3? Instead of upgrading from CM6.1 to CM6.3? Just a thought since some of us can and can't mount ext4
Click to expand...
Click to collapse
Can you install the *-fix4 openrecovery and use
OR > SD Card Utilities > Save diagnostics
And then post the /sdcard/sdcard-info.txt?
Do you have a nandroid of your ext2 partition? If so, try restoring it and the using SD Card Utilities to convert it to ext4.
Sent from my MilestoneXT720 using XDA Premium App
Mioze7Ae said:
Can you install the *-fix4 openrecovery and use
OR > SD Card Utilities > Save diagnostics
And then post the /sdcard/sdcard-info.txt?
Do you have a nandroid of your ext2 partition? If so, try restoring it and the using SD Card Utilities to convert it to ext4.
Sent from my MilestoneXT720 using XDA Premium App
Click to expand...
Click to collapse
Yeah I will post the /sdcard/sdcard-info.txt here but it says the same as what fjfalcon was quoting. And yes I do have a Nandroid of ext2 but never tried to restore it yet. I will try now...
L'enfer c'est les autres...
Mioze7Ae said:
L'enfer c'est les autres...
Click to expand...
Click to collapse
Hell is other people? lol
***Here it is View attachment sdcard-info.txt
Are you referring to the info.txt that fjfalcon posted in the CM6 thread? The commands I gave there weren't correct. In any case the sdcard-info.txt produced by *-fix4 are much expanded and look quite different... I can't find any other post by fjfalcon...
Sent from my MilestoneXT720 using XDA Premium App
Mioze7Ae said:
Are you referring to the info.txt that fjfalcon posted in the CM6 thread? The commands I gave there weren't correct. In any case the sdcard-info.txt produced by *-fix4 are much expanded and look quite different... I can't find any other post by fjfalcon...
Sent from my MilestoneXT720 using XDA Premium App
Click to expand...
Click to collapse
Oh sorry Mz didn't mean to make you look for it, I was talking about when he was saying how some aren't mounting. Anyway I posted it above your last post. I have my ext2 restored. I will try to convert it tomorrow. thanks man.
LibertyMonger said:
***Here it is View attachment 694819
Click to expand...
Click to collapse
Ok, try creating an empty /sd-ext/app|/sddata/app directory and reboot. Then go back to OR and recreate the sdcard-info.txt
Mioze7Ae said:
Ok, try creating an empty /sd-ext/app|/sddata/app directory and reboot. Then go back to OR and recreate the sdcard-info.txt
Click to expand...
Click to collapse
I'm sorry not sure what you mean here "empty /sd-ext/app|/sddata/app directory"
app|?
I think I got it... rebooting...
Yeah, so that.
Ya its called mass storage mode.
LOL
Is that what you'd use if you wanted to make a tar of your setup?
The Root said:
Is that what you'd use if you wanted to make a tar of your setup?
Click to expand...
Click to collapse
Hmm...
Make a tar on the phone?
I guess you could system dump your setup?
Or stick all your mods in the rom flash like i do and then restore with titanium.
Sorry i couldn't help i was just joking around.
You can use adb to make direct, bit-for-bit copies of each partition using the dd command, I just can't remember the exact format of the command. But the phone doesn't have a built-in method to do the reverse of what download mode is used for (although I'm not sure what Odin's dump option does, sounds like the right idea but I've never seen a how-to, and, of course, we've always been advised to uncheck all but auto reboot)
Try a google search for "xda epic 4g" and keywords pertaining to making your own odin flashable (using xda as a keyword yields more results from the forum, and using google instead of xda search yields results that actually contain the key search terms, lol). I learned of this from a thread somewhere around here, just can't recall where. Oh, and maybe it would be better NOT to include Epic, I'm starting to doubt myself as to whether the thread was in our section... Hope that helps you find what you're looking for
Sent from my SPH-D700 using XDA App
There is a "kernel panic upload mode" that various Samsung devices can get trapped in after a kernel panic. I've not seen it happen on an Epic, but that's not what you're asking about.
You can dump the flash partitions using adb. It's best done in recovery with the file systems mounted read-only, to guarantee that they're in a consistent state. While you can do it from Android, inevitably changes (particularly to /data) will be made underneath you while dumping, which is bad for restoration.
Anyways, in order to make a proper dump you need a recovery that spawns the adbd service with either ro.secure=0 or ro.debuggable=1 set in default.prop. I think ClockworkMod does this, but it's been a long time since I used it.
Boot into recovery and connect your phone up to USB. Run "adb shell" and make sure you have a root shell ("#" prompt). If you have a user shell ("$" prompt), try running "adb root", wait, then run "adb shell" again. Once at the root shell prompt, run:
Code:
mount -ro remount /dev/block/stl6 /mnt/.lfs
mount -ro remount /dev/block/stl9 /system
mount -ro remount /dev/block/stl10 /data
mount -ro remount /dev/block/stl11 /cache
mount -t vfat /dev/block/mmcblk0p1 /sdcard
mkdir /sdcard/dump
cd /sdcard/dump
sync
cat /dev/block/bml1 > boot.bin
cat /dev/block/bml2 > ries.pit
cat /dev/block/bml4 > Sbl.bin
cat /dev/block/stl6 > param.lfs
cat /dev/block/bml7 > zImage
cat /dev/block/bml8 > recovery.bin
cat /dev/block/stl9 > factoryfs.rfs
cat /dev/block/stl10 > datafs.rfs
cat /dev/block/stl11 > cache.rfs
cd /
umount /sdcard
mount -wo remount /dev/block/stl6 /mnt/.lfs
That remounts all the stl partitions read-only, mounts the SD card, creates /sdcard/dump, dumps all the partitions, unmounts the SD card, and remounts /mnt/.lfs read-write so the phone will reboot properly. At this point you can reboot and once in Android, copy the dump folder over to a computer.
From here you can create a .tar containing the partitions that you want to flash with Odin/Heimdall. In Linux or Cygwin, that would be:
Code:
tar cf foo.tar zImage recovery.bin factoryfs.rfs datafs.rfs cache.rfs
.
You could include param.lfs, but it's not worth restoring unless corrupt, and if it's corrupt it's probably better to grab the version from the latest stock tar. I also wouldn't flash boot.bin or Sbl.bin unless you absolutely have to, and again, I'd go for the stock tar versions.
Also, according to the Galaxy S wiki page, bml12 is supposed to contain modem.bin but I've never had success dumping it.
Disclaimer: I've never actually restored a dump with Odin/Heimdall--I haven't had the need to. But I believe the above should be all that's necessary.
All hail mkasick! Thanks for my daily education
Sent from my SPH-D700 using xda premium
JohnCorleone said:
All hail mkasick! Thanks for my daily education
Sent from my SPH-D700 using xda premium
Click to expand...
Click to collapse
I know understand you "ocean of knowledge" metaphor lol
Sent from my SPH-D700
Thanks guys.
whoa I just got edjumicated! that's some detailed info. thanks
Sent from my SPH-D700 using XDA App
I think it should be manditory for mkasick to post once a day minimum
Sent from my SPH-D710 using xda premium
JohnCorleone said:
I think it should be manditory for mkasick to post once a day minimum
Sent from my SPH-D710 using xda premium
Click to expand...
Click to collapse
Agreed.
Posted by Mr. Z's Epic 4G Touch+Keyboard
Considering you can't dump the modem (with anything, bmlwrite, redbend_ua, dd) is it safe to assume you can't flash one to it?
remember to thank me if I was helpful
It might be possible to dump the modem, just not with the same method as regular flash partitions. But yes, I think all the modem image we have came from stock Odin tars.
As for flashing the modem, folks definitely do it with Odin. Samsung's recovery also contains a "write_firmware_image" function that a binary diff of the modem and applies it to the current firmware. It's not part of the AOSP recovery sources, so I don't know how it works.
Come to think of it, there's no obvious check to see if the modem is the correct version when applying an OTA update. So if you're running a stock phone except for the modem, and apply an update, something unfortunate might happen.
mkasick said:
It might be possible to dump the modem, just not with the same method as regular flash partitions. But yes, I think all the modem image we have came from stock Odin tars.
As for flashing the modem, folks definitely do it with Odin. Samsung's recovery also contains a "write_firmware_image" function that a binary diff of the modem and applies it to the current firmware. It's not part of the AOSP recovery sources, so I don't know how it works.
Come to think of it, there's no obvious check to see if the modem is the correct version when applying an OTA update. So if you're running a stock phone except for the modem, and apply an update, something unfortunate might happen.
Click to expand...
Click to collapse
I know you can flash with odin...I mean on-device (if thats a word?) tools. I started looking into the di18-ec05 update.zip. What is the difference between a modem.bin and modem_delta.bin? There seems to be a pretty hefty size difference
The delta contains just the diffs between modems.
mkasick said:
You can dump the flash partitions using adb. It's best done in recovery with the file systems mounted read-only, to guarantee that they're in a consistent state. While you can do it from Android, inevitably changes (particularly to /data) will be made underneath you while dumping, which is bad for restoration.
Click to expand...
Click to collapse
Yes, that was what I was thinking of - thanks for a *much* more detailed explanation, mkasick!
Sent from my SPH-D700 using XDA App
I posted a tutorial on how to mke an odin tar a loong time ago in general.. using dd instead of cat, same **** though...
Also modem patches are redbend bindifs full modems can't be flashed except in download mode.. they aren't actually in bml12, its some trickery involved, they are really in the nvram..
Also epic does have a kernel panic upload mode... little green guy and all, seen it a few times lol
Sent from my SPH-D700 using XDA App
mkasick said:
Come to think of it, there's no obvious check to see if the modem is the correct version when applying an OTA update. So if you're running a stock phone except for the modem, and apply an update, something unfortunate might happen.
Click to expand...
Click to collapse
There is an edify script assert for baseband version btw
Sent from my SPH-D700 using XDA App
Holy crap. I found upload mode. Kinda. Get your favorite file manger, and browse to /mnt/.lfs. TELL ME WHAT YOU SEE. Cuz I'm confused
Sup I know there is a hack for ext4 on the nexus s but haven't seen anything for the NS4G. Is it the same hack or what? If so it seems a little complicated to get going with the tutorial given. Does anybody have a better tutorial or if there is a different hack for the 4g can you direct me to it please? Much appreciated.
Sent from my Nexus S 4G using xda premium
Joshhayes801 said:
Sup I know there is a hack for ext4 on the nexus s but haven't seen anything for the NS4G. Is it the same hack or what? If so it seems a little complicated to get going with the tutorial given. Does anybody have a better tutorial or if there is a different hack for the 4g can you direct me to it please? Much appreciated.
Sent from my Nexus S 4G using xda premium
Click to expand...
Click to collapse
not sure what "ext4 hack" youre talking about, but there is an ext4 mount script. itll give you a little speed/performance kick overall. but its not really a hack, its a fix. type this in a terminal emulator app..
su(press enter)
mount -o remount,noauto_da_alloc /data /data(press enter)
youll have to type it in after each reboot. or you can use an app to run it after each boot. most custom kernels already include it or some version of it, stock doesnt include it.
Use dsixda's rom kitchen to unpack boot.img: http://forum.xda-developers.com/showthread.php?t=633246
Then do this: http://forum.xda-developers.com/private.php?do=showpm&pmid=4452832 and repack.
snandlal said:
Use dsixda's rom kitchen to unpack boot.img: http://forum.xda-developers.com/showthread.php?t=633246
Then do this: http://forum.xda-developers.com/private.php?do=showpm&pmid=4452832 and repack.
Click to expand...
Click to collapse
That second link seems to not work, it says this "Invalid Private Message specified. If you followed a valid link, please notify the administrator"
Joshhayes801 said:
That second link seems to not work, it says this "Invalid Private Message specified. If you followed a valid link, please notify the administrator"
Click to expand...
Click to collapse
fter unpacking the boot.img go to BOOT_EXTRACTED/ramdisk and open the file init.herring.rc and add the following in green to the following to lines and save:
Code:
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro noauto_da_alloc
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev noauto_da_alloc
Sorry bout that
Sweet. Thanks. I'll be doing this later after I run errands.
Sent from my Nexus S 4G using xda premium
snandlal said:
fter unpacking the boot.img go to BOOT_EXTRACTED/ramdisk and open the file init.herring.rc and add the following in green to the following to lines and save:
Code:
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/system /system wait ro noauto_da_alloc
mount ext4 /dev/block/platform/s3c-sdhci.0/by-name/userdata /data wait noatime nosuid nodev noauto_da_alloc
Click to expand...
Click to collapse
I think I've done everything right and getting ready to flash soon. How will I know if it worked?
So I did everything you said, repacked (no errors, everything worked fine) now when trying to flash it gives me this "error in/tmp/sideload/package.zip (status 6)" Do you have any clue why this would happen?
EDIT: NVM I fixed it.
I don't understand why people want to make it harder on themselves. just run the script, it does the same thing.
simms22 said:
I don't understand why people want to make it harder on themselves. just run the script, it does the same thing.
Click to expand...
Click to collapse
It's not really hard...it's actually kind of easy with that particular kitchen. Plus I am willing to do it all because I like learning.
Joshhayes801 said:
It's not really hard...it's actually kind of easy with that particular kitchen. Plus I am willing to do it all because I like learning.
Click to expand...
Click to collapse
good answer
Hmm
Tried to flash the repacked rom and got stuck in a bootloop. Really can't find anything on why this happened or how to fix. Restoring nandroid as we speak.
simms22 said:
good answer
Click to expand...
Click to collapse
Lol. yeah well we all gotta start somewhere. I practically live on xda as it is, so I may as well learn as much as I can and hopefully become a contributor in some way. It started as just wanting to dink sound with my own device but now that I know that I CAN do it. I want to go further with it.
Sent from my Nexus S 4G using xda premium
Happy new year for everyone here..
First of all sorry if my english bad..
Helo S2 community i'm new here..
i was silent reader in this great XDA Dev-site for a year.. now i'm decide to join XDA for sharing a cool stuff i have for you all.. and for help other too if i can..
i found this script in this page :
forum.xda-developers.com/showthread.php?t=2584862
Credit goes to script maker Souffre..
i only make dev/block mount point to work with our i9100.. i have tested this script and so far working good.. tested binding Real Racing 3 folder and running game without problem.. but for safety make a backup your sdcard content to pc, backup internal & external sdcard, cwm backup too if necessary..
this script will placed to your system/etc/init.d folder
tested with CM11 by infected Nightly 20140101..
Thank you works sweet with resurrection remix
Sent from my GT-I9100 using XDA Premium HD app
brainbeatuk said:
Thank you works sweet with resurrection remix
Sent from my GT-I9100 using XDA Premium HD app
Click to expand...
Click to collapse
You're welcome my friend, thanks for visiting my thread..
Step by Step
Noriyuki_Fariz said:
Happy new year for everyone here..
First of all sorry if my english bad..
Helo S2 community i'm new here..
i was silent reader in this great XDA Dev-site for a year.. now i'm decide to join XDA for sharing a cool stuff i have for you all.. and for help other too if i can..
i found this script in this page :
forum.xda-developers.com/showthread.php?t=2584862
Credit goes to script maker Souffre..
i only make dev/block mount point to work with our i9100.. i have tested this script and so far working good.. tested binding Real Racing 3 folder and running game without problem.. but for safety make a backup your sdcard content to pc, backup internal & external sdcard, cwm backup too if necessary..
this script will placed to your system/etc/init.d folder
tested with CM11 by infected Nightly 20140101..
Click to expand...
Click to collapse
Hi
Thanks for the script. I'm trying to do the swap on an S2 with SuperNexus but can't paste the script into the init.d folder (I'm guessing permissions). Could you please give me a step by step of how to get the script in and what to do with the META-INF folder?
Thanks
I just flashed thru cwm recovery here is script I pulled. Is supernexus a cm11 build? If no init.d try installing dorimanc go in stweaks app and enable init.d control may help as did for me on linaro cm11.
#!/system/bin/sh
LOG=/data/extsd2.log
echo 'mark 1' > $LOG
umount /storage/sdcard0
umount /storage/sdcard1
umount /mnt/secure/asec
umount /mnt/media_rw/sdcard0
umount /mnt/media_rw/sdcard1
mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/179:9 /mnt/media_rw/sdcard0 1>>$LOG 2>>$LOG
mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/179:9 /storage/sdcard0 1>>$LOG 2>>$LOG
echo 'mark 2' >> $LOG
mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/259:3 /mnt/media_rw/sdcard1 1>>$LOG 2>>$LOG
mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/259:3 /storage/sdcard1 1>>$LOG 2>>$LOG
echo 'mark 3' >> $LOG
mount -t vfat -o umask=0000,uid=1023,gid=1023 /dev/block/vold/179:9 /mnt/secure/asec 1>>$LOG 2>>$LOG
Sent from my GT-I9100 using XDA Premium HD app
CliffMcl said:
Hi
Thanks for the script. I'm trying to do the swap on an S2 with SuperNexus but can't paste the script into the init.d folder (I'm guessing permissions). Could you please give me a step by step of how to get the script in and what to do with the META-INF folder?
Thanks
Click to expand...
Click to collapse
You in SuperNexus 4.0 ? If yes then this script should work.. Just flash in CWM, As far i know stock SuperNexus kernel based on CyanogenMOD kernel (correct me if wrong) so it have init.d support.. Permission is rwe rxe rxe or rwe rwe rwe..
Noriyuki_Fariz said:
You in SuperNexus 4.0 ? If yes then this script should work.. Just flash in CWM, As far i know stock SuperNexus kernel based on CyanogenMOD kernel (correct me if wrong) so it have init.d support.. Permission is rwe rxe rxe or rwe rwe rwe..
Click to expand...
Click to collapse
Yes running SuperNexus 4.0 and it is based on CM11. I can see the system/etc/init.d but I can't work out what to use to get the script into the folder. Also I don't know what to do with the META-INF folder from the zip file.
Thanks for your patience with a Windows geek who is on a steep learning curve
EDIT - DOH!! Root Explorer would have been a good idea.
I've copied the script over, set permissions, ignored thre META-INF and rebooted. SD0 & SD1 swapped successfully
CliffMcl said:
Yes running SuperNexus 4.0 and it is based on CM11. I can see the system/etc/init.d but I can't work out what to use to get the script into the folder. Also I don't know what to do with the META-INF folder from the zip file.
Thanks for your patience with a Windows geek who is on a steep learning curve
EDIT - DOH!! Root Explorer would have been a good idea.
I've copied the script over, set permissions, ignored thre META-INF and rebooted. SD0 & SD1 swapped successfully
Click to expand...
Click to collapse
Glad it work for you.. META-INF not needed if you place script manually, just init.d..
Hi I was wondering if you could make one for my leveno a3000 it is using fuse and has one 13gb partition for internal SD combined. I can get the vold.stab for you to look at if your interested? Please
Sent from my GT-I9100 using XDA Premium HD app
will try bro ....
Sent from my GT-I9100 using XDA Premium 4 mobile app
brainbeatuk said:
Hi I was wondering if you could make one for my leveno a3000 it is using fuse and has one 13gb partition for internal SD combined. I can get the vold.stab for you to look at if your interested? Please
Sent from my GT-I9100 using XDA Premium HD app
Click to expand...
Click to collapse
Will see what i can do.. have you try modify your a3000 vold.fstab before ?
mohaxs said:
will try bro ....
Sent from my GT-I9100 using XDA Premium 4 mobile app
Click to expand...
Click to collapse
This for you Bro
1. Tinggal hapus script nya aja gan di system/etc/init.d file nya "swapFIXcm11" lalu reboot
2. kalo ane sih ga ada yg ilang.. cuman seperti yg ane rekomen di trit baik nya backup aja data-data agan yg di rasa perlu.. cuman buat jaga-jaga aja..
nanti gunain trit aja ya gan buat diskusi nya, karena lebih banyak yang bisa bantu agan
No I haven't touched it as I don't have confidence, I hallways break things lol I have pm you the details
Sent from my IdeaTab A3000-F using XDA Premium HD app
brainbeatuk said:
No I haven't touched it as I don't have confidence, I hallways break things lol I have pm you the details
Sent from my IdeaTab A3000-F using XDA Premium HD app
Click to expand...
Click to collapse
Try swap /storage/sdcard0 and /storage/sdcard1 in your vold.fstab using root explorer or notepad , i think it will swap your sd..
Didn't work like that but I found workaround. I mount sdcard1 and didn't mount a 2nd card. Now internal shows 13gb capacity 3.5 free with 33gb app data. So works well I cannot move apps to SD as I think the ROM is made without option. Also titanium backup still shows it as extsd. Anyways thanks for the spur to try it out. I'll see if I can modify your script
Edit: It didn't work as planned my way as it still was downloading internally, I am now back to normal using link2sd and foldermount pro, actually I try move apps to SD using native2sd option in link2sd. App told me native2sd is unavailable as internal SD card is emulated from internal nand. Thanks for ya help though I presume my ROM isn't asop, even in app settings there no option to move to SD, only games like gameloft ever put data there, which I am then bind mounting extsdcard/obb over, only foldertmount can do bind though, my android tuner script doesn't work ever.
Sent from my GT-I9100 using XDA Premium HD app
:crying:
This script was working on slimkat 4.4.2 .. (by slimroms)
now i'm using slimkat 4.4.4 and the script is not working.
nothing happen after reboot the phone
Can someone help me?
Galaxy S2 i9100\slimkat 4.4.4
thats a good script, so usefull
Works fine on NamelessRom KK 4.4.4
This script is perfect for the NamelessRom 4.4.4 KitKat based, Tnx! (i9100P)
Hi i'm glad this script work for you all guys..
Noriyuki_Fariz said:
Happy new year for everyone here..
First of all sorry if my english bad..
Helo S2 community i'm new here..
i was silent reader in this great XDA Dev-site for a year.. now i'm decide to join XDA for sharing a cool stuff i have for you all.. and for help other too if i can..
i found this script in this page :
forum.xda-developers.com/showthread.php?t=2584862
Credit goes to script maker Souffre..
i only make dev/block mount point to work with our i9100.. i have tested this script and so far working good.. tested binding Real Racing 3 folder and running game without problem.. but for safety make a backup your sdcard content to pc, backup internal & external sdcard, cwm backup too if necessary..
this script will placed to your system/etc/init.d folder
tested with CM11 by infected Nightly 20140101..
Click to expand...
Click to collapse
Hi,
I've tried this mod while using xiaomi.eu_multi_GT-I9100_4.9.19_v5-4.4, and it's working flawlessly
Thanks Noriyuki_Fariz for an awesome mod!!
All-F2FS Partitions for Oneplus One
I am not responsible for any damage to your phone.
Make always a full nandroid backup.
Read before downloading or posting in the thread.
Proceed with caution if you have no experience.
Again, make always a full (including /data/media) nandroid backup.
[ What is F2FS ]
http://www.cnx-software.com/2013/01/15/f2fs-a-new-flash-file-system-for-mobile-devices-elce-2012/
http://www.xda-developers.com/android/f2fs-put-to-the-test-against-ext4/
http://en.wikipedia.org/wiki/F2FS
[ TESTED WITH ROMs ]
CM12 nightly
CM11 nightly
Temasek
Slim Saber (tested by @Setting.Out)
CM11S stock using complete guide with ak boot.img from CM11S kernel. (tested by @Leicxan)
Calkulin's_OPO_ROM (tested by @DarkAngel-81)
Madhi
Gummy (tested by @Setting.Out)
EOS (tested by @Setting.Out)
Slim (tested by @Setting.Out)
For CM12 use this guide:
F2FS for CM12.X
(if you test other roms, please report here, so we can track working roms)
Use these recoverys to work with F2FS partitions:
CWM Advanced Edition - PhilZ Touch
or
TWRP
this guide for All-F2FS on OPO is based on guide of ronedogg.
Original thread: http://forum.xda-developers.com/showthread.php?t=2694201
[ Prebuild ROM ]
Download a F2FS ready ROM:
CM-11-20141203-NIGHTLY-bacon-F2FS
CM-11S-XNPH33R-bacon-signed-F2FS
Calkulin's stock rooted XNPH33R-F2FS (thanks to @LookedPath)
Madhi 8-30 build-F2FS (thanks to @SchmilK)
SlimSaber-F2FS (thanks to @dexxa05)
Droidkang-F2FS (thanks to @SchmilK)
Carbon-F2FS (thanks to @Setting.Out)
1. Flash Philz Recovery with F2FS support.
WARNING make a FULL nandroid backup, and place it on external storage, also SD partition will be formatted
2. Boot to the Philz Recovery, format /system /cache and "/data and /data/media" to F2FS
3. Flash the downloaded modified rom, (install the gapps.zip if needed) and AK Kernel for your rom.
4. Reboot & enjoy the new speed!
[ Easy Way First time format in F2FS]
[ without using a prebuild F2FS enabled rom ]
1. Download latest CM nightly or CM11S
2. Download:
F2FS-ALL-CM11.zip for CM11
F2FS-ALL-CM11S.zip for CM11S ( tanks to @Setting.Out) and extract boot.img and updater-script
3. Copy the extracted boot.img in rom zipfile overwriting original one (tested with 7zip)
4. Copy the extracted updater-script in rom zipfile overwriting original one, for cm11 is located under .\META-INF\com\google\android\.
5. Flash Philz Recovery with F2FS support.
WARNING make a FULL nandroid backup, and place it on external storage, also SD partition will be formatted
6. Boot to the Philz Recovery, format /system /cache and "/data and /data/media" to F2FS
7. Flash the modified CM nightly zipfile, the gapps.zip and AK Kernel ( for this step, i've used an OTG cable and an external hdd, because the phone now is completely empty, or use ADB sideloading)
8. Reboot & enjoy the new speed!
[ Easy Way Upgrading a rom with partition already on F2FS ]
[ without using a prebuild F2FS enabled rom ]
1. Download latest CM nightly (https://download.cyanogenmod.org/?device=bacon)
2. Download F2FS-ALL-CM11.zip and extract boot.img and fstab.grouper
3. Copy the extracted boot.img in the CM nightly zipfile overwriting original one
4. Copy the extracted fstab.grouper in the CM nightly zipfile overwriting original one, located under .\META-INF\com\google\android\
5. Flash the modified CM nightly zipfile, and AK Kernel
6. Reboot
[ Complete guide to manually modify the rom ]
This is the exact procedure i've used for CM11 (OPO ready)
to unpack/repack the boot.img i've used http://boot-repacker.blogspot.it/
Oneplus ONE - CM Nightly with All-F2FS
1. Download latest CM nightly
2. Download AK kernel zipfile
3. Open CM nightly zipfile, extract the boot.img
4. Open AK kernel zipfile, extract the zImage and rename it boot.img-zImage
5. Unpack the boot.img in step3
6. Replace the boot.img-zImage in step5 with AK boot.img-zImage (step4)
7. Replace fstab.grouper content with this one
Code:
# Android fstab file.
#
# The filesystem that contains the filesystem checker binary (typically /system) cannot
# specify MF_CHECK, and must come before any filesystems that do specify MF_CHECK
/dev/block/platform/msm_sdcc.1/by-name/system /system f2fs ro,noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait,nonremovable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait
/dev/block/platform/msm_sdcc.1/by-name/persist /persist ext4 nosuid,nodev,barrier=1,data=ordered,nodelalloc,nomblk_io_submit,errors=panic wait,check
/dev/block/platform/msm_sdcc.1/by-name/boot /boot emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/recovery /recovery emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/misc /misc emmc defaults defaults
/dev/block/platform/msm_sdcc.1/by-name/modem /firmware vfat ro,shortname=lower,uid=1000,gid=1026,dmask=227,fmask=337,context=u:object_r:firmware_file:s0 wait
/devices/platform/xhci-hcd* auto auto defaults voldmanaged=usbdisk:auto
8. Repack boot.img place it back in the CM nightly zipfile
9. On the CM nightly zipfile, edit updater-script and edit these lines:
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/userdata", "/data");
replace it with
Code:
run_program("/sbin/busybox", "mount", "/data");
this
Code:
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
replace it with
Code:
run_program("/sbin/busybox", "mount", "/system");
and these
Code:
format("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "0", "/system");
mount("ext4", "EMMC", "/dev/block/platform/msm_sdcc.1/by-name/system", "/system");
replace with
Code:
run_program("/sbin/mkfs.f2fs", "/dev/block/platform/msm_sdcc.1/by-name/system");
run_program("/sbin/busybox", "mount", "/system");
10. Save the updater-script and put it back to the zipfile. CM nightly zipfile is complete and ready for flashing.
11. Flash Philz Recovery with F2FS support.
WARNING make a FULL nandroid backup, and place it on external storage, also SD partition will be formatted
12. Boot to the Philz Recovery, format /system /cache and "/data and /data/media" to F2FS
13. Flash the modified CM nightly zipfile, the gapps.zip and AK Kernel ( for this step, i've used an OTG cable and an external hdd, because the phone now is completely empty, or use ADB sideloading)
14. Reboot
15. Enjoy the new speed!
thanks to:
@ak for the kernel
@Phil3759 for recovery
@ronedogg for original guide
@katinatez & @johnnyslt for OPO F2FS enabled Philz Recovery
reserved
Tested,work with stock cm11s XNPH33R
I just followed step 1~7 then i restored my nandroid backup
Here's my method
Step 8,repack boot.img at first,then i use fastboot command to flash boot.img.
Step 9, Boot in to Philz Recovery, flash AK kernel ,reboot your phone
Step 10, enjoy your phone with Full F2FS
Using Complete guide from OP sholud work, you can use this rom, Calkulin's_Stock_OPO_XNPH33R_ROM_v1.0
sorry for my english
Any noticeable performance gains? Is it worth the effort?
Hi gulp79, do you have problem with power off charging? I stucked at oneplus logo , battery logo wasn't show up,I'm using AK kernel with full f2fs.
STOCK XNPH33R is good work, too
Thanks to @gulp79, @Leicxan
I do Leicxan's Guide, good work now.
XNPH30O-bacon-signed-fastboot.zip flash -> XNPH33R Update -> nandroid full backup
kernel : cm11s/stock: ak.031.opo.cm11s
recovery : bacon_philz_touch_6.57.5_katinatez.zip
sorry for my english
sublimaze said:
Any noticeable performance gains? Is it worth the effort?
Click to expand...
Click to collapse
i didn't have time to run a benchmark before and after the conversion, btw the boot time is a lot better now.
zzori said:
Thanks to @gulp79, @Leicxan
I do Leicxan's Guide, good work now.
XNPH30O-bacon-signed-fastboot.zip flash -> XNPH33R Update -> nandroid full backup
kernel : cm11s/stock: ak.031.opo.cm11s
recovery : bacon_philz_touch_6.57.5_katinatez.zip
sorry for my english
Click to expand...
Click to collapse
Can you conform if power off charging works after convert to f2fs? For me it's not working.
Leicxan said:
Hi gulp79, do you have problem with power off charging? I stucked at oneplus logo , battery logo wasn't show up,I'm using AK kernel with full f2fs.
Click to expand...
Click to collapse
with phone off i too have this problem, but i don't know if is related to FS.
Result
Leicxan said:
Can you conform if power off charging works after convert to f2fs? For me it's not working.
Click to expand...
Click to collapse
1. Power Off (83%)
2. Connect Charge cable => 1+1 Logo .............. continue
after 3min
3. Power On => (85%) +2%
I'll go home retesting.
※ Do not use "Settings - Backup & reset - Factory data reset" !!
Philz recovery unlimit loop and reset all data T.T
Sorry for my english T.T
I should make a repacker zip if no one has already. It would repack the boot.img and could be flashed after s nightly. It would save a few steps.
tiny4579 said:
I should make a repacker zip if no one has already. It would repack the boot.img and could be flashed after s nightly. It would save a few steps.
Click to expand...
Click to collapse
would be great!
Result 2
Leicxan said:
Can you conform if power off charging works after convert to f2fs? For me it's not working.
Click to expand...
Click to collapse
19:19 : Power Off (89%)
Connect Charge cable (samsung galaxy S5 LTE-A 5.3v 2.0A) => 1+1 Logo .............. continue
after 9min
19:28 : Power On => +5% (94%)
Can i only use /system as f2fs partition?
It hangs at boot and only with /cache partition at PA bootlogo?
Or is just PA incompatible?
_Beni_ said:
Can i only use /system as f2fs partition?
It hangs at boot and only with /cache partition at PA bootlogo?
Or is just PA incompatible?
Click to expand...
Click to collapse
You can use only system, but use the complete guide and don't edit these two lines in fstab.grouper
Code:
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait,nonremovable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait
if you want to use only system in F2FS, /data and /cache had to stay in ext4
gulp79 said:
with phone off i too have this problem, but i don't know if is related to FS.
Click to expand...
Click to collapse
zzori said:
1. Power Off (83%)
2. Connect Charge cable => 1+1 Logo .............. continue
after 3min
3. Power On => (85%) +2%
I'll go home retesting.
※ Do not use "Settings - Backup & reset - Factory data reset" !!
Philz recovery unlimit loop and reset all data T.T
Sorry for my english T.T
Click to expand...
Click to collapse
zzori said:
19:19 : Power Off (89%)
Connect Charge cable (samsung galaxy S5 LTE-A 5.3v 2.0A) => 1+1 Logo .............. continue
after 9min
19:28 : Power On => +5% (94%)
Click to expand...
Click to collapse
:good: Thanks for your test , it seems power off charging was working, but charge animation was not load
the charge animation was located to /res/images/charger, so i think may be it's a kernel problem.
Leicxan said:
:good: Thanks for your test , it seems power off charging was working, but charge animation was not load
the charge animation was located to /res/images/charger, so i think may be it's a kernel problem.
Click to expand...
Click to collapse
Do you have Quickboot enabled? If so it won't show the charging icon when it's off because it's in hibernate.
Saythis said:
Do you have Quickboot enabled? If so it won't show the charging icon when it's off because it's in hibernate.
Click to expand...
Click to collapse
No, i disabled Quickboot.
I'm attempting to convert Slim Saber.. (Fingers Crossed)
---------- Post added at 06:09 PM ---------- Previous post was at 05:39 PM ----------
Quick question, does Philz mount the usb?.. ( I know the option is there, just if it actually works) I would love to be able to just transfer the files and flash and not use fastboot comands..
Thanks..
gulp79 said:
You can use only system, but use the complete guide and don't edit these two lines in fstab.grouper
Code:
/dev/block/platform/msm_sdcc.1/by-name/userdata /data f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait,nonremovable,encryptable=/dev/block/platform/msm_sdcc.1/by-name/reserve4
/dev/block/platform/msm_sdcc.1/by-name/cache /cache f2fs noatime,nosuid,nodev,discard,nodiratime,inline_xattr,errors=recover wait
if you want to use only system in F2FS, /data and /cache had to stay in ext4
Click to expand...
Click to collapse
FYI it's fstab.bacon not fstab.grouper.