Where is the /boot partition and the kernel? - Galaxy Tab 10.1 General

On my Samsung Galaxy Tab 10.1 WiFi, I don't see any boot partition and there is no file name "zImage" anywhere on the device. Does anyone know where the kernel image is on a Samsung Galaxy Tab 10.1 wifi?
Code:
C:\>adb -d shell
[email protected]:/ $ su
su
[email protected]:/ # ls boot
ls boot
boot: No such file or directory
[email protected]:/ # df
df
Filesystem Size Used Free Blksize
/dev 362M 76K 362M 4096
/mnt/asec 362M 0K 362M 4096
/mnt/obb 362M 0K 362M 4096
/system 568M 560M 8M 4096
/cache 440M 11M 429M 4096
/data 13G 463M 12G 4096
/efs 11M 4M 7M 4096
/mnt/sdcard 13G 463M 12G 4096
[email protected]:/ # find . -name "*zImage*"
find . -name "*zImage*"
[email protected]:/ # find . -name "*zimage*"
find . -name "*zimage*"
[email protected]:/ #

Related

APPS2SD newbie help please please

can anyone help me?? I don't get the line /system/sd to continue procedure for installing apps on SD card..... I have Amon Ra 1.6 recovery but original ROM.....
I must change ROM or any good and expert user can help me to resolve this enigma?
List of command via Windows 7 consolle CMD terminal.
List of devices attached
HT9AWLG02845 device
C:\A21\tools>adb remount
remount succeeded
C:\A21\tools>adb shell
# dd if=/sdcard/busybox of=/system/xbin/busybox
dd if=/sdcard/busybox of=/system/xbin/busybox
/system/xbin/busybox: cannot open for write: No such file or directory
# dd if=/sdcard/busybox of=/system/bin/busybox
dd if=/sdcard/busybox of=/system/bin/busybox
1283+1 records in
1283+1 records out
657372 bytes transferred in 0.305 secs (2155318 bytes/sec)
# chmod 4755 /system/bin/busybox
chmod 4755 /system/bin/busybox
# busybox df -h
busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 93.0M 0 93.0M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 150.0M 136.5M 13.5M 91% /system
/dev/block/mtdblock5 165.1M 149.2M 15.9M 90% /data
/dev/block/mtdblock4 150.0M 4.9M 145.1M 3% /cache
/dev/block//vold/179:1
6.6G 3.0G 3.6G 46% /sdcard
#
# su
# ls -l /data
lrwxrwxrwx root root 2010-06-14 01:35 drm -> /data/local
-rwxrwxrwx media system 44 2010-07-15 22:35 awbautocal.bin
drwxr-xr-x system system 2010-06-24 14:42 tombstones
drwxrwx--t system misc 2010-06-14 01:36 misc
drwxrwx--x system system 2010-06-14 01:35 app-private
-rw-rw-rw- root shell 91 2010-07-02 22:34 reboot.chk
drwxrwx--x system system 2010-07-17 22:52 data
drwxrwx--x system system 2010-07-17 22:52 dalvik-cache
drwxrwx--x system system 2010-07-17 22:52 app
drwx------ root root 2010-07-11 17:17 property
drwxrwx--x shell shell 2010-06-14 01:36 local
drwxrwxrwx bluetooth bluetooth 2010-06-28 22:05 btips
-rw-rw-rw- media system 14 2010-07-10 13:14 StreamingPacketLost.txt
drwxrwx--x system system 2010-07-12 00:12 anr
prw-r--r-- system system 2010-06-14 19:36 gps_nmea_fifo
drwxrwxr-x system system 2010-07-17 22:52 system
drwxrwx--- root root 1980-01-06 03:12 lost+found
#su
# busybox df -h
Filesystem Size Used Available Use% Mounted on
tmpfs 93.0M 0 93.0M 0% /dev
tmpfs 4.0M 0 4.0M 0% /sqlite_stmt_journals
/dev/block/mtdblock3 150.0M 136.5M 13.5M 91% /system
/dev/block/mtdblock5 165.1M 148.5M 16.7M 90% /data
/dev/block/mtdblock4 150.0M 4.8M 145.2M 3% /cache
/dev/block//vold/179:1
6.6G 2.8G 3.8G 42% /sdcard
#

Get Extra 295MB from "hidden" partition

Unlike my sgs1 which has all its partitions used, the Galaxy Tab 10.1 appears to have a "hidden" partition that seems to do absolutely nothing (at least on CM10). I saw it on the siyah kernel thread. By adapting that idea to the GTab 10.1 you can run this script
Code:
mount -o,remount,rw /
mkdir /storage/sdcard1
busybox mount /dev/block/mmcblk0p10 /storage/sdcard1
busybox chmod -R 777 /storage/sdcard1
you will have access to that extra 295MB that's apparently just sitting there collecting virtual dust. It's indeed legitimate:
Code:
Filesystem Size Used Free Blksize
/dev 360M 48K 360M 4096
/mnt/asec 360M 0K 360M 4096
/mnt/obb 360M 0K 360M 4096
/system 568M 371M 197M 4096
/cache 440M 80M 360M 4096
/data 13G 8G 4G 4096
/efs 11M 4M 7M 4096
/storage/sdcard0 13G 8G 4G 4096
/storage/sdcard1 295M 12M 282M 4096
[email protected]:/ $ mount | grep mmcblk0p10
/dev/block/mmcblk0p10 /storage/sdcard1 ext4 rw,relatime,user_xattr,acl,barrier=1,data=ordered 0 0
Just thought I would share the finding. You would have to run that script at boot or whenever you wanted it.
Nice find! Thanks for the info :thumbup:
Sent from my SGH-I747 using xda premium
Nice find, Where will it "put" the additional space, ie will it add it to the storage, system etc...
Sent from my GT-N7100 using Tapatalk 2
RavenY2K3 said:
Nice find, Where will it "put" the additional space, ie will it add it to the storage, system etc...
Sent from my GT-N7100 using Tapatalk 2
Click to expand...
Click to collapse
The script I suggested will make it like a second sd card. It will be in /storage/sdcard1.
Sent from my GT-I9300
Might try that. What terminal emulator did you use. There are so many?
rob2011 said:
Might try that. What terminal emulator did you use. There are so many?
Click to expand...
Click to collapse
https://play.google.com/store/apps/details?id=jackpal.androidterm
thanks. ill give that a try
Some additional information...
On Toldo's rom these partition is used for other things.
Code:
/dev 360M 68K 360M 4096
/mnt/asec 360M 0K 360M 4096
/mnt/obb 360M 0K 360M 4096
/system 568M 513M 55M 4096
/cache 440M 7M 433M 4096
/data 13G 8G 4G 4096
/efs 11M 8M 3M 4096
/mnt/sdcard 13G 8G 4G 4096
[B]/preload 295M 216M 78M 4096[/B]
That partition is named /preload and holds some other things.
Code:
[email protected]:/preload # ls -a
CPW
Common_app
DBT
ITV
KOR
XEF
XEO
XEU
The only partion that holds data is /Common_app.
Code:
[email protected]:/preload/Common_app # ls -a
Aurora.apk
Bluesea.apk
HoloSpiralWallpaper.apk
Kobo.apk
PolarisOffice.apk
PressReader.apk
ReadersHub_EUR.apk
Swype.apk
Zinio.apk
So for users outside CM this partition is not free. It can be used but only 78MB are free.
I think this partition will be made while booting, so files on it will be copied while booting.
But i am can be totaly wrong. I have to searvh for it first.
Update about /preload:
What i have found is the following:
Code:
recovery filesystem table
=========================
0 /tmp ramdisk (null) (null) 0
1 /efs ext4 /dev/block/mmcblk0p1 (null) 0
2 /recovery emmc /dev/block/mmcblk0p2 (null) 0
3 /boot emmc /dev/block/mmcblk0p3 (null) 0
4 /system ext4 /dev/block/mmcblk0p4 (null) 0
5 /cache ext4 /dev/block/mmcblk0p5 (null) 0
6 /data ext4 /dev/block/mmcblk0p8 (null) 0
7 [B]/preload[/B] ext4 /dev/block/mmcblk0p10 (null) 0
After a test i have seen that the partition is read only. But ES File Explorer says: rwx r-x r-x
Means that a User can read, write and excute, Group and Others only read and execute.
Lucky the guys who are using CM. But no issue at all, the USB post is working perfect for
external media. At the end a good find...

32GB Ubuntu Touch success (SGP312)

Just thought I'd post a quick note for those of you eyeing an Ubuntu load on a 32 GB machine. It does work, with a caveat: out of the box, recovery would not mount my sd card. So, after you apply the boot.img, you need to adb root/adb shell into the box and add "/dev/bloack/mmcblk1p1 /external_sd auto rw" to fstab. (i.e. adb pull /etc/fstab fstab, vim fstab, adb push fstab /etc/fstab)
At this point, mounting /external_sd works, and you can flash the zips to your device.
And, the df output, to prove it works:
1|[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 895.8M 48K 895.7M 4096
/mnt/secure 895.8M 0K 895.8M 4096
/mnt/asec 895.8M 0K 895.8M 4096
/mnt/obb 895.8M 0K 895.8M 4096
/system 2G 218.1M 1.8G 4096
/cache 541.9M 9.7M 532.2M 4096
/data 25.7G 1.2G 24.5G 4096
/lta-label 15.8M 4.7M 11M 4096
/mnt/qcks 895.8M 0K 895.8M 4096
/data/ubuntu/dev 895.8M 48K 895.7M 4096
/data/ubuntu/run 895.8M 68K 895.7M 4096
/data/ubuntu/run/shm 895.8M 72K 895.7M 4096
/data/ubuntu/run/lock 5M 0K 5M 4096
/data/ubuntu/system 2G 218.1M 1.8G 4096
/data/ubuntu/vendor 2G 218.1M 1.8G 4096
/data/ubuntu/data 25.7G 1.2G 24.5G 4096
/mnt/shell/emulated 25.7G 1.2G 24.5G 4096
Also, because it wasn't obvious from the docs, to get ssh installed after, you need to do:
adb root
adb shell
ubuntu_chroot shell
in order to get apt-get to work. At that point, apt-get install openssh-server works just fine, and you're off and running.
Enjoy!
themikem said:
Just thought I'd post a quick note for those of you eyeing an Ubuntu load on a 32 GB machine. It does work, with a caveat: out of the box, recovery would not mount my sd card. So, after you apply the boot.img, you need to adb root/adb shell into the box and add "/dev/bloack/mmcblk1p1 /external_sd auto rw" to fstab. (i.e. adb pull /etc/fstab fstab, vim fstab, adb push fstab /etc/fstab)
At this point, mounting /external_sd works, and you can flash the zips to your device.
And, the df output, to prove it works:
1|[email protected]:/ # df
Filesystem Size Used Free Blksize
/dev 895.8M 48K 895.7M 4096
/mnt/secure 895.8M 0K 895.8M 4096
/mnt/asec 895.8M 0K 895.8M 4096
/mnt/obb 895.8M 0K 895.8M 4096
/system 2G 218.1M 1.8G 4096
/cache 541.9M 9.7M 532.2M 4096
/data 25.7G 1.2G 24.5G 4096
/lta-label 15.8M 4.7M 11M 4096
/mnt/qcks 895.8M 0K 895.8M 4096
/data/ubuntu/dev 895.8M 48K 895.7M 4096
/data/ubuntu/run 895.8M 68K 895.7M 4096
/data/ubuntu/run/shm 895.8M 72K 895.7M 4096
/data/ubuntu/run/lock 5M 0K 5M 4096
/data/ubuntu/system 2G 218.1M 1.8G 4096
/data/ubuntu/vendor 2G 218.1M 1.8G 4096
/data/ubuntu/data 25.7G 1.2G 24.5G 4096
/mnt/shell/emulated 25.7G 1.2G 24.5G 4096
Also, because it wasn't obvious from the docs, to get ssh installed after, you need to do:
adb root
adb shell
ubuntu_chroot shell
in order to get apt-get to work. At that point, apt-get install openssh-server works just fine, and you're off and running.
Enjoy!
Click to expand...
Click to collapse
Noob here, but would this be the same for the SGP311?
telx85 said:
Noob here, but would this be the same for the SGP311?
Click to expand...
Click to collapse
For SGP311, you need no modifications, this only applies to the 32GB version.
mamenyaka said:
For SGP311, you need no modifications, this only applies to the 32GB version.
Click to expand...
Click to collapse
Sorry but that didn't make sense to me. Are you saying either:
1) won't work as it applies to the 32gb only, or...
2) will work and won't need to modify anything?
Sent from my SGP311 using Tapatalk 2
telx85 said:
Sorry but that didn't make sense to me. Are you saying either:
1) won't work as it applies to the 32gb only, or...
2) will work and won't need to modify anything?
Sent from my SGP311 using Tapatalk 2
Click to expand...
Click to collapse
2.
mamenyaka said:
2.
Click to expand...
Click to collapse
Cheers mate

[Q] CM11NewLife: internal storage fullish (950MB/1000MB)

Hi aLL !
Is it just me or did I forget to do anything ?
I did upgrade to new bootstrap a month ago using the *.7z package provided by Quarx and then adjusted it with another one which was posted on the development thread by an user.
There are 52 user apps installed and the internal memory will soon occupy all its GB space !
Right now I´m away from home and unable to use adb in order to give any verbatims of terminal´s outputs.
Bump !
df
Code:
Filesystem Size Used Free Blksize
/dev 239.0M 136.0K 238.9M 4096
/mnt/asec 239.0M 0.0K 239.0M 4096
/mnt/obb 239.0M 0.0K 239.0M 4096
/mnt/fuse 239.0M 0.0K 239.0M 4096
/storage 239.0M 0.0K 239.0M 4096
/bootstrap 48.4M 15.5M 32.9M 4096
/system 617.1M 383.4M 233.7M 4096
/cache 47.2M 4.1M 43.1M 4096
[B][COLOR="Red"]/data 1.0G 970.0M 103.9M 4096[/COLOR][/B]
/pds 3.9M 1.2M 2.7M 1024
/mnt/media_rw/sdcard0 28.9G 27.1G 1.7G 16384
/mnt/secure/asec 28.9G 27.1G 1.7G 16384
/storage/sdcard0 28.9G 27.1G 1.7G 16384
/mnt/asec/com.keramidas.TitaniumBackup-1 9.0M 7.4M 1.6M 4096
/mnt/asec/com.quoord.tapatalkxda.activity-1 5.0M 3.8M 1.2M 4096
/mnt/asec/it.radiorai-1 9.0M 7.7M 1.3M 4096
/mnt/asec/de.motain.iliga-1 16.0M 14.7M 1.3M 4096
So... I have more than 100M free but I am unable to update apps.. ??
Thanks for reading, have a nice day.
Do you have the dict.cc app installed?

[Q] Low /system space on watch?- G Watch R

Hi i noticed i currently have low system space on my g watch r, tried to reset the watch, also tried reset the watch by installing the system.img again. but still the system only have 33mb left.
anyone else having such issues. or an idea how to fix it?
Code:
Filesystem Size Used Free Blks
/dev 232.9M 20.0K 232.9M 4096
/sys/fs/cgroup 232.9M 12.0K 232.9M 4096
/mnt/asec 232.9M 0.0K 232.9M 4096
/mnt/obb 232.9M 0.0K 232.9M 4096
/system 248.0M 215.0M 33.0M 4096
/cache 248.0M 17.6M 230.4M 4096
/data 2.9G 529.0M 2.4G 4096
/persist 11.7M 84.0K 11.7M 4096
/mnt/shell/emulated 2.9G 529.0M 2.4G 4096
same with lg g watch
FettleifIsMyUserName said:
Hi i noticed i currently have low system space on my g watch r, tried to reset the watch, also tried reset the watch by installing the system.img again. but still the system only have 33mb left.
anyone else having such issues. or an idea how to fix it?
Code:
Filesystem Size Used Free Blks
/dev 232.9M 20.0K 232.9M 4096
/sys/fs/cgroup 232.9M 12.0K 232.9M 4096
/mnt/asec 232.9M 0.0K 232.9M 4096
/mnt/obb 232.9M 0.0K 232.9M 4096
/system 248.0M 215.0M 33.0M 4096
/cache 248.0M 17.6M 230.4M 4096
/data 2.9G 529.0M 2.4G 4096
/persist 11.7M 84.0K 11.7M 4096
/mnt/shell/emulated 2.9G 529.0M 2.4G 4096
Click to expand...
Click to collapse
This is completely fine. Low space on /system will not cause any problems on your device. Apps, data and ART cache are stored in /data and /cache respectively, the only time /system is ever touched is during an update or if you for some reason install apps to the system partition (possibly to make them survive a factory reset?)
Other than that, you should never need to worry about the space on /system. The current update solutions patch the partition contents directly (hence the reason why if you change something on /system, you're ineligible for OTAs)

Categories

Resources