yashsingh1/xdaforums huggingface dataset:
[Galaxy 3 Android Development] mankokoma:
- It's not about formating, but CONVERTING (no data loss, if nothing goes wrong). Have to admit - I don't know, which format is given by CWM - never did it this way ;)

- I use ext4 and disabled journaling. ext2 has no journaling and is faster in reading but not in writing, ASAIK. Checking the filesystem on booting lasts very much longer in ext2.

I just gave the conversion to ext2, because hillbeast did it one post before.
[Galaxy 3 Android Development] bautrupp:
I wasn't aware of that one.

I'm slightly familiar with linux filesystems but have never meant that journaling could slow things down noticeable.

I saw that but did not understand why formating the data partition would solve the problem of the OP.

Thank you very much.
[Galaxy 3 Android Development] pmanian:
Please help me to fix this. What ever ROM I install, it says Memory Full. Even tried installing the stock rom again.

This is what I see when I wipe cache from CWM (G3 MOD 2.0)

-- Wiping Cache --

Formatting CACHE...

E:Can't mount /dev/block/stl8

(File exists)

Error mounting /cache/!

Skipping format...

Cache wipe complete.

I created a thread here

Thanks in advance.
[Galaxy 3 Android Development] mohsin2cool:
check tht ur g3mod folder contains thz files

data2sd.dirs

fs.data2sd

multiosdata

multiosdat.cache
[Galaxy 3 Android Development] hillbeast:
It's the exact same thing. Do that exact command in Terminal Emulator. ADB is a lot easier then it looks.

Also don't use Root Explorer, it's rubbish.

He needs a format, not a conversion. The conversion will most likely fail.

Same thing: mkfs.ext2 /dev/block/stl8
[Galaxy 3 Android Development] TheF3nix:
The latest kernel rocks.

Battery life update: 30% loss with an uptime of 21h. Wifi 4 hours video watching 2 hours.

Accidentally sent from my ultra-speedy SG3 phone using Tapatalk

P.S If my post has helped you in any way, don't feel shy to click the Thanks button(:
[Galaxy 3 Android Development] i_rnb:
I m getting fcs when I multibooted cm7 from kyrillos.. I hav multiosenabled & app,data,dalvik-cache on sdext.. & I m on g3mod2.1b2. :/
[Galaxy 3 Android Development] hillbeast:
Okay try 'echo 0 > /sdext/lastos' then reboot
[Galaxy 3 Android Development] i_rnb:
I had data & system backup.. So it dint bcum a trouble.. :)

Jst wanted to let u know.

Ps: I had data folder on sd.
[Galaxy 3 Android Development] Digibonez:
Maybe a suggestion... isn't it possible to put all the available g3mod settings in one single file? It might help to keep things tidy and avoid confusion as you might be able to document each setting within the settings file.

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] hillbeast:
It requires a lot more coding and this is more backwards compatible.
[Galaxy 3 Android Development] Digibonez:
Ok ... it's not that important too. Was just an idea. Please keep up the good work

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] hillbeast:
Ah preempting. It is an interesting thing, yet it is not enabled on our phone. My goal: get it working. I managed to enable it, and the phone will init, but as discovered by Apollo way back wehn Apocalypse was around, the drivers don't support preempting.

Well I plan on solving that. My main feature I hope to bring in with 2.2 is preempting. I can see it being possible. I managed to get the onedram to insmod, so that's a start. I just need to go through all the drivers and get them working.

What is preempting?

Basically, it's a better method for multitasking then whatever mode it's in on our phone. I don't know what it could be (I'm guessing cooperative?) but it is used by Windows, Mac OS X, Linux, Amiga, just anything good... except our phone... That is the STUPIDEST thing Samsung have EVER done.
[Galaxy 3 Android Development] andreapier:
Wow, THIS actually is a news!

Hope you get into it soon!
[Galaxy 3 Android Development] Eselter:
[KERNEL][HYBRID]G3MOD v2.1b2 OC+/OC/nonOC - update.zip's

G3MOD v2.1 beta 2 All versions (update zip)

G3MOD v2.1 beta 2 OC+

G3MOD v2.1 beta 2 OC

G3MOD v2.1 beta 2 nonOC​
[Galaxy 3 Android Development] hawk396:
after the code:tar -xf kernelname.tar,a error messages returned:tar short read.

and the .tar file wasn't extracted,any suggestion?

thanks.
[Galaxy 3 Android Development] mankokoma:
have also the short read message but it's extracted...

"kernelname.tar" of course must be the right name of the tar-file you wanna extract from...

sent from the desert with xda app
[Galaxy 3 Android Development] hawk396:
yes,i had changed the kernelname.tar to my tar-file.

after seeing your reply,I give a look at the sdcard,and Zimage file is just there:)

perhaps the progress of extracting last for few minutes.

thank you very much,you are so kindly.:)
[Galaxy 3 Android Development] FadeFx:
just tried to install the 2.1b2 but after boot i was presented with welcome screen because my ext partition was not mounted from sdcard. so went back to 2.0 and everything is fine again. is this a known issue? didnt read anything about this yet afair
[Galaxy 3 Android Development] sohail77:
Thanks!!!!!!!!:):):) hillbeast finally worked for me its really fast
[Galaxy 3 Android Development] i_rnb:
Hey hillbest, can u implent sumthing in kernel so that we can manually backup current /data/data & /data/dalvik-cache ??
[Galaxy 3 Android Development] Digibonez:
Facing strange problem since beta 1 OC+. None of the test kernels before had this bug. When booting, phone freezes about 30-60 seconds after entering pin. Also beta 2 seems to have the same bug. Don't really know the cause, but I know the solution.

It seems that the freeze happens during the last scan of mediascanner after each boot up AND after entering pin. Both these conditions need to be fulfilled to have to bug. Therefore I have to wait until mediascanner finishes all it's scans to enter my pin code. When I enter my pin after the last scan of mediascanner is completely finished, there is no lag or freeze at all and I can use my phone for days without any problem.

ROM: Kyora Infinity beta 2

Kernel: G3mod 2.1 beta 2 OC+

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] DaBigFreak:
OK, so I downloaded the zip version of 2.1beta2, where is the Odin version?

Can we PLEASE focus the downloadlinks? Its a pain crawling through all the posts that has been done since last visit.

If you dont mind, I can provide them through dropbox, where you all need only to remember ONE single link, it will be a folder, visit the folder to see if there is an update.

Maybe devs can send me the kernel via mail, or I will give access to that folder.

Currently its a mess...that doesnt make fun at all^^
[Galaxy 3 Android Development] Digibonez:
Here you are......

http://xdaforums.com/showthread.php?p=18868751

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] fedee13:
Here it is.....
[Galaxy 3 Android Development] debaj:
In setcpu disable the "Set on boot" option, then reboot. After that select Autodetect speeds in the Device selection, then set the proper values in the main screen.
[Galaxy 3 Android Development] Digibonez:
Thanks mate.. tried this already but it doesn't seem to help. The only solution at the moment seems to be waiting until mediascanner finished it's job to enter the pin.

EDIT: Problem is not related with UV. Tested it with standard voltages.

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] hillbeast:
Try OC version. Its more stable.
[Galaxy 3 Android Development] dhirend_6d:
CM7, with HybridData, MultiOSData enabled, when I typed mount in terminal, there was no stl7. And now when I rebooted, its stuck at G3Mod logo. :x:x

I reflashed CM7 again and applied your kernel again, just to check. No data conversion, no multiosdata, etc. Still why is /stl7 /data not showing in terminal?? O.o
[Galaxy 3 Android Development] hillbeast:
mkfs.ext2 /dev/block/stl7
[Galaxy 3 Android Development] sohail77:
Do I need to enable multiosdata in 2.1 to switch between 2.2 to 2.3 or its not necessary
[Galaxy 3 Android Development] dhirend_6d:
#mkfs.ext4 /dev/block/stl7 worked. My thanks are over. Thank you.

Lolzzzz. I converted stl8 to ext2 as it was rfs in CM7. Now I am getting /dev/block/stl8 on /g3mod_data type ext2. So my partition name changed to g3mod_data??
[Galaxy 3 Android Development] i_rnb:
Wat to do??
[Galaxy 3 Android Development] mankokoma:
goto CWM

and open adb shell

umount /dev/block/stl7
e2fsck -fy /dev/block/stl7

and let repair the filesystem
[Galaxy 3 Android Development] i_rnb:
hey man how to change file system manually??
[Galaxy 3 Android Development] hawk396:
thanks,I have the same prolem,and after the code you give above,the problem has been fixed.
[Galaxy 3 Android Development] mankokoma:
easiest way is with fs.convert file.

I explained it somewhere in the post bottom right of my signature links about CM7 or the left one about fs optimization.can't se it in this app...

EDIT: or use KMApp, which works quite well in the last version.

sent from the desert with xda app
[Galaxy 3 Android Development] i_rnb:
ya.. i know that.. but i m on g3modv2.2b2, & fs.convert seems not to b workin.. :/

btw, great thanx for the previous code.. :))
[Galaxy 3 Android Development] mankokoma:
then use an older kernel to convert...

sent from the desert with xda app
[Galaxy 3 Android Development] Huee:
Greate work.Also how i can install new cwm (i have old ver )
[Galaxy 3 Android Development] dhirend_6d:
It works, I just converted stl8 to ext2.

---------- Post added at 06:13 PM ---------- Previous post was at 05:34 PM ----------

I have another problem. Whenever I reboot, my sdext partition keeps on formatting. There are no installed apps. In CWM when I wipe data I get,

E: Can t mount sd-ext........................File already exists.

Damn!!!!

Anybody know of the solution??
[Galaxy 3 Android Development] manish19:
what do u type in Terminal to get these stats?
[Galaxy 3 Android Development] dhirend_6d:
I tried almost everything. My apps just keeps dissappearing everytime I reboot with data2sd enabled. :(
[Galaxy 3 Android Development] i_rnb:
#cat g3mod.log
[Galaxy 3 Android Development] Digibonez:
Ok. Thanks for the reply. I am not bothered by this problem too much. I just have to wait long enough at the pinlock screen whenever I reboot.

I also know this kernel version is unstable due to the smaller kernel steppings. So I tried to lock the frequence at 667 Mhz but the same problem

occurred. I think it has something to do with data2sd as it only happened during the last mediascan when the sd ext partition is accessed.

Anyhow, this was just meant as a bug report and not as something that I really can't live with.

Especially when compared to all the good things this kernel does.

Send from my Samsung GT-5800.
[Galaxy 3 Android Development] pante5:
I am experiencing like some strange shutdowns. I'm currently on 2.0b2 OC+ .
[Galaxy 3 Android Development] debaj:
Today my phone froze in my pocket while it was idle, then after restart it froze again on the pinlock screen after it finished the media scan. After the second restart the phone booted up successfully, but I got a lot of force closes, mainly installed apps, no system processes. I restarted in recovery, wiped cache and dalvik-cache, did a permission fix, no problem since then (for almost 7 hours), but it scared the hell out of me :-)

2.1b2 OC+, Kyrillos 8.4.2, 249-1251 MHz, lagfree governor.
[Galaxy 3 Android Development] m1trand1r:
kyrillos 8.4.2 ??? from where???

Sent from my hybrid sg3

Kyrillos' v 8.2.1 powered by

g3mod 2.1 b2 OC
[Galaxy 3 Android Development] moikop:
OC+ version is known to be unstable on some phones. So if I were you, I'd just flash OC version :P
[Galaxy 3 Android Development] z3c0:
Finally I may post here. Oh boy, I hope I'll prove worthy :D

Question: Why do we bother so much with App2SD & Data2SD (and all their versions)?

I'm using symlinks for several folders and I think this might be a more reliable and flexible solution for users who often change kernels and ROMs.

For an instance, I store stuff like app, dalvik-cache & log in /sd-ext/romdata/cm7 for cm7.1 and in /sd-ext/romdata/agg3 for an older Froyo ROM. All it takes is to replace the symlinks in /data when you change the ROM, which can be done in /etc/init.d

If you do this to every relevant folder in /data (and eventually some in /data/data) there might not even be a need for multiosdata in its current form because each ROM gets its own set of symlinked data where neccessary while using "Androidversion-agnostic" appdata on stl7 jointly.

I think this would save some time when you switch ROMs and it even gives you options to move folders or even files from inside app / dalvik-cache etc to more suitable locations. You might even do optimization attempts on a per-app basis.

While this isn't perfectly clean either, I think this solution would be less fragile than those mount commands which give you less freedom with naming the remote locations on a partition and which might even be more of a burden on system ressources if there's an unnecessary number of them.
[Galaxy 3 Android Development] hillbeast:
There is no newer version of CWM for G3MOD. I need to make the decision to port CWM 5 and get newer features, or keep CWM 2.5 and keep the old update.zip format supported.

Tried this already and it was a hassle to code up and be completely automated. I had lots of permissions issues and things crossing over each other.
[Galaxy 3 Android Development] Pinak.ahuja:
Imo you should try to port tthe new cwm as older zips can be converted to edify and if we have the latest cwm we may have a chance for official rom manager supprt which would be awesome.
[Galaxy 3 Android Development] debaj:
8.2.1, my bad.

It was a bugreport, not a complaint.
[Galaxy 3 Android Development] sohail77:
Are u using data 2sd or hybrid data2sd I was facing the same problem but I changed from data 2sd to hybrid data2sd using km app and everything solved
[Galaxy 3 Android Development] manish19:
Battery Drain

I am on Kyrillos 8.2.1 and g3mod V2.1 B2 OC. Whenever my data connection is active, battery drains very fast. Otherwise it drains slowly.

What to do? How do I fix this? I have done abt 5-6 cycles and have re-callibrated.
[Galaxy 3 Android Development] EdisDee:
same here. Kyrillos 8.2.1 and g3mod V2.1 B2 non-OC. i leave the data connection always on and it drains really slow. but whenever i open youtube app or online radio app or any other app that uses internet my battery drains like crazy. i noticed that the battery isn't hot. though it should be because of the abnormal drain.
[Galaxy 3 Android Development] sambastrakan:
data batt drain

normal having a batt drain using data connexion but I think that it's a bit too much with v2.1b2: 1% less batt at every 2-3 minutes !

I also did a calibration and a full discharge/charge.

regards.
[Galaxy 3 Android Development] m1trand1r:
yeah 3g drains battery a lot...but speed of 3g network is 2300kbps...before turbocharger..wasn't that fast...try tu run new script which is in zeppelinrox post...it has battery saving mode...but speed is much slower then...

Sent from my hybrid sg3

Kyorarom Infinity b2 powered by

g3mod 2.1 b2 OC
[Galaxy 3 Android Development] EdisDee:
i don't care about the speed much. what's the point if the battery lasts only 3-4 hours max on heavy data connection usage? if youtube works and digital imported radio app plays 96kbps streams then the speed is good enough for me. for better speeds g3 has wifi, remember? :)
[Galaxy 3 Android Development] sambastrakan:
I'm not using turbocharger, I'm running with stock 3g parameters ...
[Galaxy 3 Android Development] DaBigFreak:
I would also like to have a w-lan power saving option, cause with wifi on its draining much more than with mobile data, normaly vise-versa...
[Galaxy 3 Android Development] z3c0:
I think as long as there's a reliable central registry of where the symlinks are, the complexity of any number of interwoven symlinks should be manageable.

Permissions shouldn't be much of a problem as long as the symlinks' target fs support the same permissions (ext2/ext4).

Automation would be a bit of work, certainly.

A simple version might be implemented using a shell script. It wouldn't neccessarily need to be included in the kernel but otherwise you would have to patch each of your ROMs in /etc/init.d

People switch kernels as well, but all a different kernel has to do is simply not to interfere with the existing symlinks.

ROM=cm7
symlinkdb=/sdcard/Android/data/g3mod/symlinks
symlinkfolder=/sd-ext/romlinks/$ROM
if [ $# -lt 1 ]; then echo Usage: $0 [file or directory to be moved to symlinkfolder]; exit 1; fi
if [ ! -d "$symlinkfolder" ]; then mkdir -p "$symlinkfolder" || exit 1; fi
file=$1
if [ ! -h "$file" ] && [ -d "$file" -o -f "$file" ]; then
file=$(readlink -f "$file")
filename=$(echo "$file" | sed 's:.*/::')
targetfile="$symlinkfolder/$filename"
if [ $(( $(df -Pk "$symlinkfolder" | tail -n1 | sed 's/ \+/ /g' | cut -d\ -f4) - $(du -sk "$file" | cut -f1) )) -gt 0 ]; then
cp -a "$file" "$targetfile" && rm -r "$file" && ln -s "$targetfile" "$file" && echo "$file" >> "$symlinkdb"
fi
fi

This is just a very basic (but working) example .sh-script that moves any file/folder to sd-ext while leaving a symlink at its previous location and logging it to a plaintext "database", so it's easy to undo.

It already checks for available space beforehand (long line) but not all eventualities are accounted for.

Am I missing something? I've been using symlinks without much hassle.
[Galaxy 3 Android Development] hillbeast:
I spent about 3 days working on it before 2.0 and couldn't get symlinks to work. It was buggy, slow and using symlinks also means you are actually now using Data2SD which is far too slow for some people. Tarballs work way quicker. As I said, they don't take long, only about half a minute to do, so it's not much of a concern.
[Galaxy 3 Android Development] manish19:
@Hillbeast

Any clue why battery drains so much when on an active data connection? :confused:

Im currently on G3MOD 2.1 b2 OC
[Galaxy 3 Android Development] z3c0:
I just don't see what problems one would run into.

I've run some tests along the lines of

bash

mkdir /sd-ext/tst1 /sd-ext/tst2

ln -s /sd-ext/tst2 /data/tst2

time (for i in $(seq 500); do dd if=/dev/zero bs=10000 count=2 of=/sd-ext/tst1/$i 2>/dev/null; done)

time (for i in $(seq 500); do dd if=/dev/zero bs=10000 count=2 of=/data/tst2/$i 2>/dev/null; done)

and they produced equal results. (this should be a test of writing random data. maybe too sterile?)

The only issue I ran into was that someone (I guess the kernel) replaces the symlinks for log, dalvik-cache and app with empty folders at boot time.

My quick and dirty fix was to rmdir those folders and to put the symlinks back in place using a script in init.d.

I'm using some relatively ressource-heavy apps (Google+, GoodNews, TweetDeck, ...) and while they don't always run smooth as butter, they certainly don't seem to have slowed down for me since I'm on symlinks.

(159 apps installed, only few running background services though)

On my device reading from internal storage seems to be ~2.5x faster than reading from sdcard (13 MB/s vs 5 MB/s), while writing speeds seem to be identical (a bit below 5 MB/s). SD is Samsung Class 10.

Since the G3 seems to be able to read data from internal memory and sdcard concurrently without noticeable slowdowns (concurrent writing gets slower though, maybe fs-specific), there may be much to gain if you place certain app-data and their dalvik-caches in different storages.

So that's just my thoughts. If I'm completely mistaken somewhere I won't bug you anymore on this matter.

Some apps like Google+ are running much much more fluid for me than they used to a short time ago, but who knows whether this isn't due to the most recent g3mod kernel (2.1b2 oc+) or the app itself getting an update.
[Galaxy 3 Android Development] vleutmans:
Hi I completely understand what you mean, and I follow your threads closely.

The application link2sd does about the same thing, it creates logical links to sd-card, but only for :

/data/app (only the (user) apps that you 'want' to link..not the system apps)

/dalvik-cache/ (only the data@app*.dex files , not the system@app*.dex!!)

/data/data/[application]/lib/*.so (if the application has lib files)

I can only tell from end-user perspective that it is faster then using app2sd or hybrid data2sd. Not to give off on a designer, but to let them think "why" this is the case.

Maybe it's the fact that with link2sd you will read/write at same time to internal storage and sd-card (so in parallel), while app2sd or hybrid data2sd will mostly read/write to sd-card. It could also be the fact that you keep your system apps+ dalvik-cache+ lib on the superfast internal storage?

Some side note getting the most smooth experience with "any" rom :

use "autostarts" application, to disable autostart feature (after boot) for many apps that you don't want to startup at boot or bother you later. Also check per application what could trigger them (some are even trigger by connecting power cable etc.)...disable when you think it's not necessary.

Br. and enjoy this great phone and great designers :-)

Michel
[Galaxy 3 Android Development] kulparsan:
my sd-ext gets formatted everytime i reboot .. i'm using hybrid data2sd with g3mod v2.1b2 and kyrillos 8.2.1

plz help
[Galaxy 3 Android Development] m1trand1r:
u have enabled multiosdata?

Sent from my hybrid sg3

Kyorarom Infinity b2 powered by

g3mod 2.1 b2 OC
[Galaxy 3 Android Development] kulparsan:
yes i've enabled multidata. Was working fine with oc+ , but i experienced freezes so moved to oc . Since then i'm facing this problem
[Galaxy 3 Android Development] m1trand1r:
try to owerwriting files in Android/data/g3mod...with fresh ones...

download:

http://db.tt/b5ahm2zW

i suppose u have backup img's...

go in cwm...wipe data/factory reset...and restore again...tht should work...

Sent from my hybrid sg3

Kyorarom Infinity b2 powered by

g3mod 2.1 b2 OC
[Galaxy 3 Android Development] kulparsan:
tried it .. buut the problem still persists
[Galaxy 3 Android Development] m1trand1r:
try to place this file in g3mod folder and owerwrite old one....maybe will help...

download:

http://db.tt/0gKvMqFV

ps: and reboot phone:)

Sent from my hybrid sg3

Kyrillos' v 8.2.1 powered by

g3mod 2.1 b2 OC
[Galaxy 3 Android Development] hillbeast:
3G always drains power more rapidly. It was Apples excuse for not putting it in the iPhone 2G.

3.5G drains it even quicker. Yesterday I was using Mobile AP quite heavily and it went from 100% to 60% in about 5 hours, and it was about the same months and months ago when I was using it, so nothing has changed here.

There's no difference in the initramfs between OC+ and OC, therefore both scripts will be identical. I'm not sure, but I'd reflash everything, format SDEXT and INTDATA, and delete all your old configs for G3MOD and try again from scratch.

Remove the SD Card.
[Galaxy 3 Android Development] Fakso:
I m having a strange problem with g3 mod v2.0 iN kyrillos ROM v.8.2.1...

Whenever I call someone or receive a call my screen goes black..

I am able to make d conversation but not able 2 use any keys to bring back d display...

Only after d call is disconnected it reappears...

I think deer is some bug related to d light sensors settings...

Plzzzzzz help!!!!!!!!
[Galaxy 3 Android Development] Pastorelli:
I remember using different versions of Eclair and there was no issue with battery heating or draining with data connection on.
[Galaxy 3 Android Development] Mohanshbhr:
in 2.1 rom battery drains also but we cant realize because 2.1 dont have 1% battery mod
[Galaxy 3 Android Development] mankokoma:
I think that does not come from kernel...

I use kyorarom with kernel 2.1beta2 and not such problems

with dialing *#*#0588#*#* you can go to the proximity test screen
[Galaxy 3 Android Development] mohsin2cool:
while switching from cm7 to kyora rom.........i got my all applications bt my data wasnt restored............like contacts or application data.........

bt whn i switch back to cm7 .....my all data there.......

wt would hav been the reason

:rolleyes: