[Dev] Pit file modification to change datafs partition size? - Galaxy Note GT-N7000 General

I recently made a tool to modify PIT file. (here)
my ultimate goal is the following:
1. remove or shrink to minimum the UMS(internal_sd) partition
2. mount my external sd as the internal sd
as a first step i made 3 modified pit files out of the original 16gb pit file
1. has no UMS partition
2. has 128mb ums partition
3. has 0mb ums partition
can you please tell me
1. if the structure of these files is corrupt(by my tool) or not (the original pit has rw flag set to 1 for datafs partition, is that normal?)
2. which one is the best to try
3. will flashing a wrong pit file hard brick my phone?
4. if this is just a crazy idea
and if everyhing (miracoulously) goes well:
5. how to mount external_sd as internal_sd
edit: http://forum.xda-developers.com/showpost.php?p=26285877&postcount=12
is it better to use the gparted method described in this thread?
edit2: i did a little searching and i found a init.d script that does the mounting for the s3 (no repartitioning needed)
here http://forum.xda-developers.com/showthread.php?t=1772234
i tried to tweak the script he provided to achieve the result i wanted (which is slightly different)
original author script
Code:
sleep 2
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:49 /mnt/sdcard
original system mounts
Code:
/dev/block/vold/259:3 /mnt/sdcard
/dev/block/vold/179:9 /mnt/sdcard/external_sd
modified script:
Code:
sleep 2
mount -o remount,rw /
mount -t vfat -o umask=0000 /dev/block/vold/179:9 /mnt/sdcard
mount -t vfat -o umask=0000 /dev/block/vold/259:3 /mnt/sdcard/external_sd
i haven't tried this whole thing out yet, since i'm awaiting to get my 32gb card in the coming days.
and also i'm awaiting for positive feedback from experienced users especially over the partitioning part (the idea of bricking my phone scares the s**t out of me

first off, I dont have an n7k, I have the AT&T version the i717...
That being said, Im looking for something similar i think, but I dont know how to modify or even generate/retrieve the pit file for the i717's ICS release, OR, if like you ask, will it even work!
I know on my TF101 (Asus Tranformer), when I modified the partition layout with nvflash the bootloader refused to go anywhere when I outright removed a partition, however changing the size to zero let it work. That was the TF101 with nvflash, and this a Samsung with Odin, yes I know, but they where the ends to the means in getting the same desired result!
Back to the pit file mod: did you get your 32GB card and can report on the outcome of doing the mod (if you ended doing it yourself, how did you modify the pit file), did you make sure to modify the mount places in the kernel/rom (wherever it needs to be done) to get it to work properly?
How is my desire similar? I want the 16GB dedicated entierly to programs (and the files associated), I dont want a 2GB limit and I dont want to store anything on the phone itself, thats why I LOVE external memory! So I can always take my info elseware! (ex: to another phone), id even nix mounting internal for anything other then /data! Id finally get my MicroSD card to be mounted as /sdcard! (its annoying trying to move TB without having to modify the save location everytime I change ROM's... I want it on the SDCARD that >>I<< think should ACTUALLY be my SDCard!
Thats a bit of a rant post but Im basicly looking for an update because if it can be done on the n7k, i dont see why it cant be done on the i717 as well!
Thanks!~
EDIT: in my excitement, and on my mobile browser (on my TF101), i missed the link to the tool you made... will look into it as well as waiting for a reply...

Hammerfest said:
first off, I dont have an n7k, I have the AT&T version the i717...
That being said, Im looking for something similar i think, but I dont know how to modify or even generate/retrieve the pit file for the i717's ICS release, OR, if like you ask, will it even work!
I know on my TF101 (Asus Tranformer), when I modified the partition layout with nvflash the bootloader refused to go anywhere when I outright removed a partition, however changing the size to zero let it work. That was the TF101 with nvflash, and this a Samsung with Odin, yes I know, but they where the ends to the means in getting the same desired result!
Back to the pit file mod: did you get your 32GB card and can report on the outcome of doing the mod (if you ended doing it yourself, how did you modify the pit file), did you make sure to modify the mount places in the kernel/rom (wherever it needs to be done) to get it to work properly?
How is my desire similar? I want the 16GB dedicated entierly to programs (and the files associated), I dont want a 2GB limit and I dont want to store anything on the phone itself, thats why I LOVE external memory! So I can always take my info elseware! (ex: to another phone), id even nix mounting internal for anything other then /data! Id finally get my MicroSD card to be mounted as /sdcard! (its annoying trying to move TB without having to modify the save location everytime I change ROM's... I want it on the SDCARD that >>I<< think should ACTUALLY be my SDCard!
Thats a bit of a rant post but Im basicly looking for an update because if it can be done on the n7k, i dont see why it cant be done on the i717 as well!
Thanks!~
EDIT: in my excitement, and on my mobile browser (on my TF101), i missed the link to the tool you made... will look into it as well as waiting for a reply...
Click to expand...
Click to collapse
in fact after further reading it turns out that, for a sound system, it is way better and much easier safe to use parted
so in the coming days (maybe tonight) i will make a definite guide about the whole thing with parted, if possible there will be also a part about adding swap
stay tuned

i finally got my sdcard and the whole thing out and got it to work properly (yeah)
but it's two late in the night and i'm too tired now to write a proper guide
so stay tuned for tomorrow
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}

well done..
Sent from my GT-N7000 using Tapatalk 2

Bien joué
Just got my 32 GB micro sd as well and was thinking I should look into doing something like that. Looking forward to your guide!

look here
i finally finished i guide
it's here http://forum.xda-developers.com/showthread.php?p=31579304#post31579304
your feedback is welcome

Related

An easier way to theme you build

Hey guys, Stericson finally publicly release his meta morph app, for those who don't know it's a way new way to theme you build.
More info here http://forum.xda-developers.com/showthread.php?t=591329
Someone needs to try this out and report back if it works.
mssmison said:
Hey guys, Stericson finally publicly release his meta morph app, for those who don't know it's a way new way to theme you build.
More info here http://forum.xda-developers.com/showthread.php?t=591329
Someone needs to try this out and report back if it works.
Click to expand...
Click to collapse
it requires andexplorer which isnt supported in the market for QVGA
it's a free download from their website here: http://www.lysesoft.com/products/andexplorer/AndExplorer.apk
mssmison said:
it's a free download from their website here: http://www.lysesoft.com/products/andexplorer/AndExplorer.apk
Click to expand...
Click to collapse
worked like a charm thanks
checking out metamorph now... will post back
EDIT: well it works i used the hero icon pack from here which you have to put on your sdcard, then use the app to apply it
well i just tried this out, and i did every everything i was suppose to, i'm trying to install a full stock android 2.0 theme (found on this tread), and once it finshes installing the theme, it asks to reboot. I choice dont and nothing happens. then i did it again and choice reboot, and it doesnt work.
i'm running tmo-ota-drc92 1.6
It mentions that we need root to use Metamorph. Do these vogue-android roms by default have root?
Has anyone been able to use MetaMorph? I keep getting "Zip was not found on your phone. MetaMorph needs this to run...." Even after I hit "Yes" it continues to prompt.
The author states:
You must have root to use this. That is a must.
Here is what is going on with the check:
MetaMorph is downloading the zip binary to your sdcard.
Metamorph should have already made the /system partition of your phone read/writeable at the intial startup.
After downloading the file, it copies it over to /system/bin and chods it to 0755 so it is ready to use.
Metamorph then restarts the process that checks for all required files, so it can verify that all files are in place.
For the zip binary, we check a few places:
/system/bin/
/system/xbin/
/data/local/xbin/
/data/local/bin/
/system/sd/xbin/
If MetaMorph doesn't find the file in one of these places, it prompts you to download Zip again thinking that it failed.
It checks for it in the directories because these are usually in the phones PATH. (refering to an operating systems PATH, in this case Androids path variable.
Hope that helps
Also, at any time, you may watch the ddms output to see every "root" command that is being passed through.
Stephen
Click to expand...
Click to collapse
Every rom I've tried the /System is read only. How are you guys able to use this app?
you need to download zip and install it to your phone
adb shell mount -o remount,rw /system
adb push zip /system/bin
adb shell mount -o remount,rw /system
Try that.
If you check the last couple pages of stericons thread you'll find a link for zip.
Thanks. I tried it but no workie
For reference I am using this via traditional SD Card (not using EXT2 method or NAND)
Running "Droid-Ion Donut 1.6"
Code:
C:\Download>dir zi*
Volume in drive C has no label.
Volume Serial Number is C8E7-AA81
Directory of C:\Download
12/05/2009 04:19 PM 822,807 zip
1 File(s) 822,807 bytes
0 Dir(s) 8,560,734,208 bytes free
C:\Download>adb shell mount -o remount,rw /system
C:\Download>adb push zip /system/bin
failed to copy 'zip' to '/system/bin/zip': Read-only file system
C:\Download>
Seems to work via EXT2 method but not by traditional sd card.
Works
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Works
Works on Zens droid build...
myn said:
Seems to work via EXT2 method but not by traditional sd card.
Click to expand...
Click to collapse
No it wouldn't. If you're using a squashfs file system that it will not work. You must be using either a system.ext2 image for the sdcard partition method or the nand method.
Help
I am running Donut 1.6 on my vouge and when i try to use Metamorph it says setting up zip but does nothing. I have the AndroidThemes folder with themes on it I am running metamorph 1.5 with the zip file on my SD card. I am using the EXT2 setup and it is doing nothing Any advice
crackeyes said:
I am running Donut 1.6 on my vouge and when i try to use Metamorph it says setting up zip but does nothing. I have the AndroidThemes folder with themes on it I am running metamorph 1.5 with the zip file on my SD card. I am using the EXT2 setup and it is doing nothing Any advice
Click to expand...
Click to collapse
Hi
Once it finishes the setup you should go back to the screen from where you pick themes. Has the downloading completed?
I have the zip file on the root of the SD card but it just sits there saying setting up the zip file
Have you tried making /system read/writeable?
adb shell mount -o remount,rw /system
adb push zip /system/bin
myn said:
Have you tried making /system read/writeable?
adb shell mount -o remount,rw /system
adb push zip /system/bin
Click to expand...
Click to collapse
Sorry for noobness but how. I am slowly working on learning all th ins and outs
mssmison said:
No it wouldn't. If you're using a squashfs file system that it will not work. You must be using either a system.ext2 image for the sdcard partition method or the nand method.
Click to expand...
Click to collapse
Is there an easy way to change a squashfs system image into an ext2 image so that we can use this with the partition method?
TheKartus said:
Is there an easy way to change a squashfs system image into an ext2 image so that we can use this with the partition method?
Click to expand...
Click to collapse
you'd have to dl to a windows box, unsquash it and use genext2fs to recreate the android ext2 image file.

Speed Fix?

Any chance of bringing this speed fix by mimocan to the Captivate?
Supposedly some international version Galaxy S'ers are sitting pretty with 1700's Quadrant scores because of this fix among other firmware flashes, etc.
Can we replicate this for the Captivate?
Here's a little inspiration:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
"I have made a custom kernel to mount an ext3 partition on the sdcard at the boot time."
Can't make a custom kernel without source... and there is no source out yet... or even a stock firmware.
designgears said:
"I have made a custom kernel to mount an ext3 partition on the sdcard at the boot time."
Can't make a custom kernel without source... and there is no source out yet... or even a stock firmware.
Click to expand...
Click to collapse
Isn't the stock firmware in this? http://forum.xda-developers.com/showthread.php?t=731989
I've compiled kernels for linux before on my own PCs, and from what I can tell, he's just added ext3/ext4 support and customized the init.rc to mount the partition at boot time. I should dig around and see what I can find.
MANG~
I will worship the ground you walk if you can get this to work on Captivate.
I bricked my phone many times trying to make this work. Apparently when mimocan's kernel installed, external sd card can not be detectect and g sense will be off 90 degrees. however, all buttons do what they are suppose to do.
Anyways, please please help with this MOD. Alot of us Captivate owners are looking for this fix.
You will be my new hero if you get this working on the captivate.
sl8125 said:
MANG~
I will worship the ground you walk if you can get this to work on Captivate.
I bricked my phone many times trying to make this work. Apparently when mimocan's kernel installed, external sd card can not be detectect and g sense will be off 90 degrees. however, all buttons do what they are suppose to do.
Anyways, please please help with this MOD. Alot of us Captivate owners are looking for this fix.
Click to expand...
Click to collapse
You ain't kidding either! That fix is the [email protected]! I've finally gotten my Captivate to run decently with LauncherPro but it's that nothing compared to what it could do with this fix. It's a shame really, we have KILLER hardware and the software implementation has seriously crippled it.
designgears already posted the stock firmware... no? Twenty bucks to anyone who can get my captivate up to these benchmark scores.
Koush posted up the stock kernel too.
Sent from my Samsung Captivate using XDA app
I'd donate $20 as well.
im in for 20$ for a fix, even using SetCPU to 1000mhz whenever the screen is on I still get little stutters that feel like memory read issues, buddy was just over with his froyo nexus 1 and it was amazingly fast.
20$ is cheaper than the 35$ return see
I am in. I love to see happen. $$s for your time and bro.
Holy CHIT!
Ck this vid out. Its running the Mimocan Fix.
I need a FIX now. Come on man gotta do this.
http://www.youtube.com/watch?v=_b363eq0dXY&feature=related
http://www.youtube.com/watch?v=AjJdT-tlHOY
Well..... I just drooled all over my keyboard..... Anyone out there want to take a stab??? PLEASE!!!!
Hopefully that won't take much get running for us
Sent from my SAMSUNG-SGH-I897 using XDA App
I'm not a baller like some of you, but I would give 10 dollars to whoever makes this work with the captivate and maybe makes a vid on how to do it.
Don't worry it will come around.
Sent from my Nexus One using XDA App
it appears ext2/3 are already supported...
On my stock Captivate kernel /proc/filesystems shows ext2 and ext3 are already supported. Only boot scripts should need to be changed to use them. Also interesting, cramfs and romfs are supported but unused.
I tried this fix with ext3 and ext4, it didn't work just a black screen. Check this reply i posted to see my steps
vietphunguyen said:
Yep Ext4 nor Ext3 works on Captivate, it just goes to Black screen, Here are my steps below:
1.) Rooted Captivate
2.) Installed Busybox
3.) Made GParted ISO, booted computer up with GParted, Made the FAT32 2.5GB and EXT3/4 1.5GB (no labels and I have a 4GB SD)
4.) Put phone into Download mode (cmd: adb reboot recovery)
6.) Selected the v3/v4 for PDA, successfully worked, phone rebooted up fine
5.) adb shell, su, ran "mount -o remount,rw rootfs /" to mount the ext3/4 file system as writeable
6.) Ran the busybox commands (listed on main post of this thread)
7.) rebooted and it went to the Samsung Galaxy i9000 screen, then the 3g/att animation, then the galaxy S loading screen, then it turned black, when i tried ext3 and ext4,
8.) Cries, hoping someone finds a fix for captivate
Click to expand...
Click to collapse
in that case, anyone care to try the i9000 bootscripts with our kernel?
Kagoshema said:
in that case, anyone care to try the i9000 bootscripts with our kernel?
Click to expand...
Click to collapse
how is this done? new to this. i'll give it a try.
Good luck with that. I hope it works for you. We really need this fix until Samsung can fix the "bottle neck" but that probably wont happen until froyo is ready.

More RAM on LG GT540(Swap)

Using Swap on LG GT540​
What is Swap ?
Code:
If I'm right, Swap is used to move UNused running programs from RAM to a file created in SD card or a swap partition
What method are we using ?
Code:
We will Swap by using [URL="http://adf.ly/4Hoa5"]SWAPPER[/URL]
Pros:
Code:
More Free RAM and faster response
SWAP will Fix "auto-close of some HD games while loading problem".
Cons:
Code:
Takes more time when switching between tasks (Depends on SD card speed)
How to use Swap ?
Code:
Simple just Download Swapper from [URL="http://adf.ly/4Hoa5"]HERE[/URL]
Run application and allow superuser permission
select the amount of MB's you want to swap I recommend 200MB
Select active on boot and click save
How to know if swap is working ?
Code:
In "Terminal Emulator" type free and it should be somthing like this
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
VERY IMPORTANT NOTE : It wont work on (SDSL3) because of some permission bug if someone got it worked just tell me.
List of games I used and worked after Swap:
Code:
GTA III (Never ran correctly before swap)
X-Formula (Never ran correctly before swap)
Worms (Never ran correctly before swap)
Gangstar 1 and 2 (worked at random times before swap)
i do recommend using a swap partition, more stable and with an easy script usable so no need for using swapper.
We can also check is swap working in setcpu. I dont recommend swap on stock sd card because phone is slower. Being ohnest swap is only usefull for games
Sent from my GT540 using Tapatalk
hey i made a thread about this last time time to bump it!!!
Hi,
I tried 'swapper for root' from the market before rooting my 'LG Optimus Pro C660'
no action happened !
I rooted my phone thanks to this great community !!!
Now i re-installed the 'swapper for root' and this time i saw some action, i created a swap size and checked the 'active on boot' and there was a small pop-up saying the swap file was being created.
I got so excited hoping that my 256MB RAM would now be less bothersome...
But alas! my excitement was short-lived ... a 'free' command on my terminal showed swap at 0-total 0-used 0-free
Can somebody help me implement swap successfully on my device
thanks,
aiamuzz.
aiamuzz said:
Hi,
I tried 'swapper for root' from the market before rooting my 'LG Optimus Pro C660'
no action happened !
I rooted my phone thanks to this great community !!!
Now i re-installed the 'swapper for root' and this time i saw some action, i created a swap size and checked the 'active on boot' and there was a small pop-up saying the swap file was being created.
I got so excited hoping that my 256MB RAM would now be less bothersome...
But alas! my excitement was short-lived ... a 'free' command on my terminal showed swap at 0-total 0-used 0-free
Can somebody help me implement swap successfully on my device
thanks,
aiamuzz.
Click to expand...
Click to collapse
Make sure you select the fat partition. Also, make the file smaller. Stay at 200 until it doesn't work, and roll back.
Sent from my LG GT540 Swift using Tapatalk
Thanks for looking into my post.
My research lead me into partitioning my SD card for a swap partition(instead of the swapfile method of 'swapper for root') and enabling swap on it through a shell script from here...
Auto Swap Partition
I was able to execute everything including
mkswap /dev/block/mmcblk0p1 ...
which resulted in the following response...
"Setting up swapspace version 1, size = 1733292032 bytes uuid=4e22c415-5500-48f9-8dc8-a93ebde7794e"
But the final command to implement swap...
swapon /dev/block/mmcblk0p1
resulted in the following error...
" swapon: /dev/block/mmcblk0p1: Function not implemented "
Which did not enable swap successfully !!!
I believe in the case of 'swapper for root' too the same command played the spoil sport.
swapon: /sdcard/swapfile.swp: Function not implemented.
Any Help to have swap enabled on my Android device 'LG Optimus ProC660' is most appreciated.
thanks,
aiamuzz
@up if you want swap on you other phone im sure it needs custom kernel
Thank you!
thanks ...........

[HOW TO] Create SWAPFILE to extend memory

Hi guys. I want to share with you how to create SWAPFILE to extend memory.
Requirements :
- rooted ROM
- working init.d (if you want to mount it at boot, you need init.d capability)
- busybox (Stericson version is recommended)
- terminal emulator
1. Create swapfile
Open your terminal emulator, then escalate to root access using command
Code:
$ su
Before we step further, choose where you want to make swapfile. In this tutorial, I'll create swapfile on /data directory. Different locations, means different command!
To create swapfile, apply this command
Code:
# dd if=/dev/zero of=/data/swap bs=$((1024*1024)) count=YOUR_DESIRE_VALUE
Make your choice, how big your swapfile will be created. In this tutorial, I'll make 1024 kb of swapfile, yes it's 1 GB of swapfile.
So my command is
Code:
# dd if=/dev/zero of=/data/swap bs=$((1024*1024)) count=1024
Wait a second. The bigger your value, the longer the process. After it's finished, and there's no error. Proceed to next step.
2. Format swapfile using mkswap command
After the creation is success, format the file using mkswap, so that file can be used as swap.
Code:
# mkswap /data/swap
Remember, my swapfile is located in /data directory. Yours maybe different. Depends on where you created it in 1st step.
3. Mount your swapfile
After we format it, now we can mount it as swap using following command
Code:
# swapon /data/swap
Remember, my swapfile is located in /data directory. Yours maybe different. Depends on where you created it in 1st step.
4. Tweak swappiness value to optimize swap system
Code:
# echo 20 > /proc/sys/vm/swappiness
You can put value between 1 - 100. The less the value, the better the result. Why? Swappiness is a condition when to put overload memory to swap when your RAM is running out of memory. If you put value 20, System will put overload memory to swap when RAM is 80% (free 20%). By the way my value is 1 (ONE)
After that, drop cache so next time overload memory will be placed in your swap.
Code:
# echo 3 > /proc/sys/vm/drop_cache
I need to wait 1 - 2 hour(s) to make it work.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As you can see, my swap is really working. You may need sometime to make it work.
Hit thanks if this helpful.
Is this really necessary on Z1? What improvement we will get have 2gb real Ram + 2gb Swap Ram on SD?
eclyptos said:
Is this really necessary on Z1? What improvement we will get have 2gb real Ram + 2gb Swap Ram on SD?
Click to expand...
Click to collapse
Agreed. Do you see any measurable difference on benchmarks, even?
I can't activate swapp on official 4.3... Can you help me?
Sent from my C6903 using xda app-developers app
On stock rooted .257, last command is
Code:
echo 3 > /proc/sys/vm/drop_cache[B]s[/B]
with an "s" to drop_cache.
This is the most idiotic idea ever, do not do this people, it will not increase performance in the slightest.
benben972 said:
I can't activate swapp on official 4.3... Can you help me?
Sent from my C6903 using xda app-developers app
Click to expand...
Click to collapse
No one knows what you did and what went wrong. Learn to ask questions.
xasbo said:
No one knows what you did and what went wrong. Learn to ask questions.
Click to expand...
Click to collapse
He did.
4.3 is the point - on locked bootloaders as no system rw access. In orher words not possible on LB. A part of that the swap idea is nonsense as it slows down the device.
Sent from my C6903 using xda app-developers app
Swap file is useful when the system needs more 'memory space than available physical memory (RAM)
Z1 has 2GB of RAM and able to provides resources for most of the time without the needs for swap file.
BTW ,swapping to external storage is slow and may increasing the storage failure.
On my Z1, it uses about 1GB of RAM and still have some more ready to be use.
Thank you.
Ref:
Code:
$ cat /proc/meminfo
Sent from my C6903 using xda app-developers app

[Q] /data partition size?

Hi all, could you please tell me the /data partition size on Samsung Galaxy Note 3? You can check it just in rooted devices. You can do it, for example, executing in a terminal emulator:
Code:
su
df -ha
Thanks and regards.
partisano said:
Hi all, could you please tell me the /data partition size on Samsung Galaxy Note 3? You can check it just in rooted devices. You can do it, for example, executing "df -ha" in a terminal emulator.
Thanks and regards.
Click to expand...
Click to collapse
That does not work on my terminal, either normal or SU mode.
I have a question: Any place I can download list of all build in functions? Even if I used it daily, which I don't, those commands are so cryptic I need cheat sheet and all I find is bits and pieces and even then half of them don't work, like yours for example.
pete4k said:
That does not work on my terminal, either normal or SU mode.
I have a question: Any place I can download list of all build in functions? Even if I used it daily, which I don't, those commands are so cryptic I need cheat sheet and all I find is bits and pieces and even then half of them don't work, like yours for example.
Click to expand...
Click to collapse
That's just Linux:
df: Linux command to get Disk Free for all the partitions on your system (it provides you information about mounted path, device, total size, free size, etc).
-ha: parameters for df command. It returns the size in MB or GB instead of bytes (Human readibility).
If you want to know commands for the console you should learn Linux commands. A cheat sheet? There are many of them.
for the note 3 and other newer devices there isnt such a clear answer to this question, because /data and the internal sdcard content share space.
the content of the sdcard is inside /data/media/0 and if you factory reset the sdcard gets cleared as well (the internal..).
But off course this partition has a size which's size you can get with "df".
pete4k said:
That does not work on my terminal, either normal or SU mode.
I have a question: Any place I can download list of all build in functions? Even if I used it daily, which I don't, those commands are so cryptic I need cheat sheet and all I find is bits and pieces and even then half of them don't work, like yours for example.
Click to expand...
Click to collapse
I assumed that users with a rooted device knew to use it (a ROOTED device) so I didn't mention that the first command to execute (before "df -ha") is the su command (Switch User: this command is used to switch your user to root user). So you should execute:
Code:
su
df -ha
zroice said:
for the note 3 and other newer devices there isnt such a clear answer to this question, because /data and the internal sdcard content share space.
the content of the sdcard is inside /data/media/0 and if you factory reset the sdcard gets cleared as well (the internal..).
But off course this partition has a size which's size you can get with "df".
Click to expand...
Click to collapse
And what's that size? (that was my question on the OP haha).
Nobody knows it? Amazing...
Enviado desde mi MB526 mediante Tapatalk
partisano said:
Nobody knows it? Amazing...
Enviado desde mi MB526 mediante Tapatalk
Click to expand...
Click to collapse
The question was badly formulated and even worse explained (not everybody around is rooted and with busybox installed ; also -ha is not a valid option for the df from busybox).
You could also search after "Note 3 PIT" and you could see a more complete set of information. Also the fact that different versions of Note 3 might have different partitioning schemes.
32GB N9005 EU on 4.3 has it at 26.4G. And you can now add a 128GB microSD if that really bothers you :silly:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
xclub_101 said:
The question was badly formulated and even worse explained (not everybody around is rooted and with busybox installed ; also -ha is not a valid option for the df from busybox).
You could also search after "Note 3 PIT" and you could see a more complete set of information. Also the fact that different versions of Note 3 might have different partitioning schemes.
32GB N9005 EU on 4.3 has it at 26.4G. And you can now add a 128GB microSD if that really bothers you :silly:
Click to expand...
Click to collapse
"df -ha" worked perfectly on my rooted Samsung Galaxy S II with Busybox installed, I tried it before asking.
And if I ask for the Samsung Galaxy Note 3 everybody knows that it means the INTERNATIONAL version and not a local version. I searched for Note 3 PIT and I didn't find it, that's the reason why I asked.
Thanks for the information! I am interested on that information since there are many applications which install their data on that partition and if you install some heavy size applications you fill the full partition (until 90 %, of course): my Samsung Galaxy S II /data partition size is just 1.97 GB!!!
P.S.: "not everybody around is rooted" --> Check this on my post "You can check it just in rooted devices." hahaha.
FeralFire said:
View attachment 2609561
Click to expand...
Click to collapse
Thank you very much! That is what I was looking for. Amazing!!!! 26.4 GB!!! My poor Samsung Galaxy S II just has 1.97 GB haha.
partisano said:
"df -ha" worked perfectly on my rooted Samsung Galaxy S II with Busybox installed, I tried it before asking.
And if I ask for the Samsung Galaxy Note 3 everybody knows that it means the INTERNATIONAL version and not a local version. I searched for Note 3 PIT and I didn't find it, that's the reason why I asked.
Thanks for the information! I am interested on that information since there are many applications which install their data on that partition and if you install some heavy size applications you fill the full partition (until 90 %, of course): my Samsung Galaxy S II /data partition size is just 1.97 GB!!!
P.S.: "not everybody around is rooted" --> Check this on my post "You can check it just in rooted devices." hahaha.
Thank you very much! That is what I was looking for. Amazing!!!! 26.4 GB!!! My poor Samsung Galaxy S II just has 1.97 GB haha.
Click to expand...
Click to collapse
There is no such thing as a single international version, and more specifically the N9005 Hong-Kong is a very popular version which is mostly sold with 16GB flash and will have a VERY different partition scheme. Also the Exynos International devices have a slightly different partitioning scheme.
On older devices (and android versions) you had a DATAFS partition and a separate/biger UMS partition (which you could also eventually mount over USB), the newer devices tend to have instead of those two a much larger USERDATA partition.
partisano said:
Thank you very much! That is what I was looking for. Amazing!!!! 26.4 GB!!! My poor Samsung Galaxy S II just has 1.97 GB haha.
Click to expand...
Click to collapse
Isn't there a mod on the SGS2 that lets you repartition the flash memory? I remember seeing one.

Categories

Resources