yashsingh1/xdaforums huggingface dataset:
[Transformer TF300T Android Development] Graiden05:
Do You trying load it from microsd or from img? To boot from microSD You need ext4 partition on it with files copied from rootfs image with permissions (can be done with "cp -pr" command in any linux). Or just put image to /data/media/linux/rootfs.img.
[Transformer TF300T Android Development] aurel33:
The Developpers NVIDIA is output a new version of the drivers L4T : R17.1.

This version can be installed on the TF300T?
[Transformer TF300T Android Development] Alexey71:
And to sense from them?, it is necessary ubuntu 13.xx to collect
[Transformer TF300T Android Development] polomalkin:
I tried to load from rootfs.img.

So I'll be waiting for the miracle (universal aroma installer for any rom) :laugh:
[Transformer TF300T Android Development] Graiden05:
It means that something wrong with rootfs.img (e.g. bad download or may be not unpacked from lzma or transfer unpacked image with fat32 formated memory card).
[Transformer TF300T Android Development] JoinTheRealms:
Its still in development, Its a big release targeting the tegra 4 id say it will be released around Q1 2014
[Transformer TF300T Android Development] Graiden05:
Here is xubuntu 13.04 rootfs. I didn't test it too much, hope it works fine. There is user "ubuntu" with password "ubuntu".

Seems like I done something wrong, so I'll try to rebuild it later.

Looks like reinstall language selector fix issue:

sudo apt-get purge language-selector-gnome

sudo apt-get install language-selector-gnome

Updated link.
[Transformer TF300T Android Development] polomalkin:
Yep! It started! :victory:

After enter

sudo apt-get purge language-selector-gnome

it say

Reading packgage list..........22%

for 5 minutes. I hope it works.
[Transformer TF300T Android Development] Graiden05:
I'm rebuilding it right now, hope it will work more stable after that.
[Transformer TF300T Android Development] polomalkin:
Great!

Waiting for it ;)
[Transformer TF300T Android Development] Graiden05:
Updated link to rootfs. Also md5:

3eac104fc50d3a3e43be9614cb5099ee xubuntu_13.04.img.7z

ca5dc6e80606310906dbeef60a14289b xubuntu_13.04.img
[Transformer TF300T Android Development] polomalkin:
Everything is work now (wi-fi bluetooth, dock). And it's so sloooooooooow...

Looks like no GPU (the video driver not installed) in system, just CPU working.
[Transformer TF300T Android Development] Phoenix-Lead:
Question

I have almost bricked my tf300t on accident. What version of Android must I be on for this to work? Right now I am on Pacman 20131111. It is JB 4.3. I love Android and I run my web server on Ubuntu so I am fluent in both. I am just confused on the requirements.

Thanks in advance

Free premium account on fs1.androidfilesharing.com to whoever can help me get this running on my TF300T. ($45 savings for your assistance)

Adam
[Transformer TF300T Android Development] ebildude123:
You need to be using a ROM that supports the stock kernel, so your only options are CROMi-X or the stock asus 4.2 rom.
[Transformer TF300T Android Development] Alexey71:
Xubuntu 13.10 works great, but you must install the driver GPU. Who knows how to write ....
[Transformer TF300T Android Development] tailormoon:
how to install driver?
[Transformer TF300T Android Development] Phoenix-Lead:
So,

If I install the stock 4.2 ROM I just have to fastbot flash the kernel.blob in the op and then copy the rootfs to /data/media/linux and reboot. Than it should work? Any link to the stock firmware or can I just get it at Asus.com? Sorry to ask so many questions, I don't use my TF300T very often so I am not that familiar with it.
[Transformer TF300T Android Development] ebildude123:
I don't remember if the kernel is a flashable zip or not sorry, but yes, if you use the kernel from this thread with a compatible rom (stock) it should work.

Choose the firmware for the correct device model

US: http://drivers.softpedia.com/progDo...300T-Firmware-1061275-US-Download-295847.html

WW: http://drivers.softpedia.com/progDo...300T-Firmware-1061275-WW-Download-295848.html

To flash the firmware here's a guide: http://xdaforums.com/showthread.php?t=2187982
[Transformer TF300T Android Development] Phoenix-Lead:
Getting an error: mount: mounting /data/media/linux/rootfs.img on /root failed. No such file or directory. I created the /data/media/linux folder using root explorer and put the rootfs.img in it. Am I missing something?

---------- Post added at 08:12 PM ---------- Previous post was at 07:56 PM ----------

I have recovered my tablet and installed Cromi-X 5.2a. Do I have to create separate partitions or anything? I just tried to run through the install instructions after the cromiX install and it still didn't work. I feel like such a noob right now :)
[Transformer TF300T Android Development] polomalkin:
Try to use this:

# install nvidia drivers and tuned nv.conf
tar xf R16.3.tar
update-alternatives --force \
--install /etc/ld.so.conf.d/arm-linux-gnueabihf_EGL.conf arm-linux-gnueabihf_egl_conf /usr/lib/nvidia-tegra/ld.so.conf 9000 \
--slave /usr/lib/xorg/modules/drivers/tegra_drv.so nvidia_drv /usr/lib/nvidia-tegra/xorg/modules/drivers/tegra_drv.abi13.so
ldconfig -v
update-rc.d ondemand disable

Not shure that something has changed.
[Transformer TF300T Android Development] Graiden05:
This configuration already included in 13.04 rootfs.
[Transformer TF300T Android Development] polomalkin:
Try to make wi-fi work into Android.

modprobe bcmdhd_29
FATAL: Module bcmdhd_29 not found

In which folder do I need to copy the "bcmdhd_29"?

External flash/hard drives also didn't work.

It's not so easy as I thought :confused:
[Transformer TF300T Android Development] Graiden05:
To make wifi work copy cfg80211.ko and bcmdhd_29.ko to /system/lib/modules/ (make backup of original files). And my usb/SD/microSD flash drive works. May be is a lack of some usb device drivers.
[Transformer TF300T Android Development] Keshukas:
NOT TESTED

I'm in the work and tablet in the home :(

Rabit have terga drivers Tablet PPA for Raring

in the post Multiboot Linux on Infinity tf700 (project closed)

add to /etc/apt/sources.list

deb http://ppa.launchpad.net/rabits/tablet/ubuntu raring main

deb-src http://ppa.launchpad.net/rabits/tablet/ubuntu raring main

apt-get update

apt-get install nvidia-graphics-drivers-tegra3 nvidia-tegra-codecs-cardhu xserver-xorg-input-mtev

optional

apt-get install xkeyboard-config # change keabord top line to Esc, F1, F2,F3 .....
[Transformer TF300T Android Development] Alexey71:
root@tegra-ubuntu:/home/ubuntu/Desktop# apt-get install nvidia-graphics-drivers-tegra3 nvidia-tegra-codecs-cardhu xserver-xorg-input-mtev
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package nvidia-graphics-drivers-tegra3
E: Unable to locate package nvidia-tegra-codecs-cardhu
E: Unable to locate package xserver-xorg-input-mtev
root@tegra-ubuntu:/home/ubuntu/Desktop#
[Transformer TF300T Android Development] Graiden05:
Those packages already included in 13.04 rootfs and have higher versions. But xkeyboard-config may be useful.
[Transformer TF300T Android Development] tailormoon:
hi

hi guys how to install flash player?
[Transformer TF300T Android Development] JoinTheRealms:
Second to last post on page 13.
[Transformer TF300T Android Development] Graiden05:
V2.2.5 Fixed hardware video acceleration for linux but usable only with console command:

nvgstplayer -i path_to_file --svs="nvxvimagesink"
[Transformer TF300T Android Development] aurel33:
Totem also works with gstreamer plugins but the performance is worse

Envoyé de mon HTC One S en utilisant Tapatalk
[Transformer TF300T Android Development] Graiden05:
Are You sure that totem uses hardware? My test 1080p video plays perfect with nvgstplayer but any others - really bad.
[Transformer TF300T Android Development] aurel33:
the hardware acceleration does not not work, I have tried to add nvxvimagesink in gstreamer-proprieties but its not working

Envoyé de mon HTC One S en utilisant Tapatalk
[Transformer TF300T Android Development] JoinTheRealms:
Hey mate, i got hwa video also big thanks for that. Strangely though, the configs in the diff file you sent me didn't change anything (they were already included in my config) rather i just used your config and swapped out all the wifi and other device specific things and it works, but the same deal with totem not working.

Ive asked on the nvidia dev forums, so hopefully they will be able to shed some light on how to get totem working with the nvxvimagesink pipeline, this was an issue rabits had on the tf700 in earlier linux kernels.

Nvidia expect totem to work out of the box with l4t drivers on a 13.04 distro so i hope its not related to the kernel.
[Transformer TF300T Android Development] Graiden05:
With hint from tailormoon I realize how to launch video from file explorer. Create text file gst-play.sh with this content:

#!/bin/sh
gst-launch-0.10 playbin2 uri="file://$1" video-sink=nvxvimagesink audio-sink=nv_omx_audiosink

Then put this file in /usr/local/sbin/ and make it executable (in terminal: chmod +x /usr/local/sbin/gst-play.sh). Next step is associate video file with this script: right click on video file -> properties -> open with -> other application -> use custom command -> gst-play.sh

By some cause is not work for nvgstplayer but seems like gst-launch-0.10 playbin2 work with hardware acceleration as good as nvgstplayer.
[Transformer TF300T Android Development] tailormoon:
Hi all!

video works fine! 1080p
[Transformer TF300T Android Development] Graiden05:
V2.2.6 Added data2sd support and mass storage functionality to boot menu. Hope it still stable :p
[Transformer TF300T Android Development] JoinTheRealms:
Your on fire mate, keep it up ;)
[Transformer TF300T Android Development] Graiden05:
Update modules script. Use if You have problems with wi-fi on 2.2.6 kernel. Use: unpack and make mod_update.sh executable then run it with root privileges under linux.
[Transformer TF300T Android Development] aurel33:
I have created a tutorial for installing a french users

http://forum.frandroid.com/topic/174172-dualboot-android-linux-xubuntu-avec-bootloader-42/?p=2814041
[Transformer TF300T Android Development] Graiden05:
V2.2.6OC + kernel config + modules. Should support 1.8 Ghz overclocking. And it seems like I will stop here, so I leave link to packed source code of V2.2.6OC version and initramfs.
[Transformer TF300T Android Development] shenk:
ralink wifi adapter driver

hi. does anyone able to compile ralink driver?
[Transformer TF300T Android Development] Graiden05:
I found some time to make CPU management script for genmon plugin. Prerequirements: installed xfce4-genmon-plugin and zenity packages; Your user account should be in root group.

Installing:

1 - unpack cpu.tar.gz or cpuOC.tar.gz (for overclocked kernel).

2 - make cpu_setup.sh executable and run it with root privileges

chmod +x cpu_setup.sh
sudo . cpu_setup.sh
sudo chmod 755 /etc/{cpu_manage.sh,cpu.sh,gov_and_mod.sh}

3 - add to Your pannel new element - genmon plugin

4 - in settings of genmon enter command /etc/cpu_manage.sh with, at least, one of following options:

-c shows current frequencies of four main tegra CPU cores (0Mhz - CPU inactive)

-g shows button that allow change CPU governor

-m shows button that allow change CPU mode​

For example genmon with following command shows CPU cores frequencies and governor button: /etc/cpu_manage.sh -c -g

Keep in mind that -g and -m options can't be shown together in one genmon element, so if You need both of it - use two genmons.
[Transformer TF300T Android Development] aurel33:
If I change the CPU governor as root and I reboots under my user (Ubuntu), the Governor remains one configured as root user?
[Transformer TF300T Android Development] Graiden05:
You don't need to login as root to change governor, You need to be a member of "root" group. You can check it in settings -> users and groups -> manage groups. And yes, governor should remain after relogin as different user but reverts to userspase if You reboot.
[Transformer TF300T Android Development] aurel33:
Its not working
[Transformer TF300T Android Development] Graiden05:
It seems like script files doesn't have executable option. Try to run in terminal:

sudo -s
chmod +x /etc/cpu.sh
chmod +x /etc/cpu_manage.sh
chmod +x /etc/gov_and_mod.sh
chmod +x /etc/rc.local
[Transformer TF300T Android Development] aurel33:
its not working
[Transformer TF300T Android Development] Graiden05:
Can You post output of following command:

ls -l /etc/{cpu_manage.sh,cpu.sh,gov_and_mod.sh,rc.local}

ls -l /sys/devices/system/cpu/cpu0/cpufreq/scaling_*

grep cpu.sh /etc/rc.local
[Transformer TF300T Android Development] aurel33:
ubuntu@tegra-ubuntu:~$ ls -l /etc/{cpu_manage.sh,cpu.sh,gov_and_mod.sh,rc.local}

-rwx--x--x 1 root root 784 déc. 5 20:34 /etc/cpu_manage.sh

-rwx--x--x 1 root root 772 déc. 5 20:34 /etc/cpu.sh

-rwx--x--x 1 root root 2986 déc. 5 20:34 /etc/gov_and_mod.sh

-rwxr-xr-x 1 root root 1104 déc. 5 20:34 /etc/rc.local

ubuntu@tegra-ubuntu:~$ ls -l /sys/devices/system/cpu/cpu0/cpufreq/scaling_*

-r--r--r-- 1 root root 4096 déc. 6 19:37 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies

-r--r--r-- 1 root root 4096 déc. 6 19:37 /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors

-r--r--r-- 1 root root 4096 déc. 6 19:37 /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq

-r--r--r-- 1 root root 4096 déc. 6 19:37 /sys/devices/system/cpu/cpu0/cpufreq/scaling_driver

-rw-rw-r-x 1 root root 4096 déc. 6 19:35 /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor

-rw-rw-r-x 1 root root 4096 déc. 6 19:35 /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

-rw-rw-r-x 1 root root 4096 déc. 6 19:35 /sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq

-rw-rw-r-x 1 root root 4096 déc. 6 19:35 /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

ubuntu@tegra-ubuntu:~$ grep cpu.sh /etc/rc.local

. /etc/cpu.sh
[Transformer TF300T Android Development] Graiden05:
Ok, then run:

sudo chmod 755 /etc/{cpu_manage.sh,cpu.sh,gov_and_mod.sh}
[Transformer TF300T Android Development] aurel33:
It works, thank you very much :)
[Transformer TF300T Android Development] RoyalDrew:
Hi I'd like to try this kernel out since the one in 1st post is old. Can you guide me through the flash process?
[Transformer TF300T Android Development] cr4zy.b0y:
i'm about to buy my keyboard dock and test ubuntu :) BUT ... this threat is getting a bit confusing to me :confused: . would it be possible in creating a new one with all the updates/fixes/kernels/other scripts all in one place? i'm sure other users will appreciate it too ;)

thanks :)
[Transformer TF300T Android Development] tailormoon:
hi guys.

Update kernel

-UKSM

-Lowkillermemory

-Optimazation fot Tegra 3

-Overclocking 1.8

Big thanks Graiden05.
​
[Transformer TF300T Android Development] aurel33:
it's OC version?

"Overclocking 1.8"

I don't want OC my tabs...
[Transformer TF300T Android Development] Graiden05:
You can limit CPU clock by adding

echo 1300000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq

to certain governor section in /etc/gov_and_mod.sh. But GPU clock will be overclocked by the any way.
[Transformer TF300T Android Development] drew071:
+1

im really interested in this thread and putting Ubuntu onto my tab but find it a little confusing and im not really sure where to start when reading through. im currently on stock 4.2 with TWRP 2.6.3.0 as my recovery so i think im ready to start.

drew
[Transformer TF300T Android Development] aurel33:
I have a problem in ubuntu corrupted file, I can not boot into Ubuntu user and add new users.

I think the problem is probably due to the fact that some files that are changed frequently by the system by writing to log files which facilitates the bad block flash memory.

Android, when I look with Estrong file explorer the Image Properties of rootfs.img it never happens to me define the size of the file.

This type of problem is it recurring?

What are the options to avoid the bad block?
[Transformer TF300T Android Development] Graiden05:
Try use "e2fsck -f /data/media/linux/rootfs.img" or "busybox e2fsck -f /data/media/linux/rootfs.img" command.
[Transformer TF300T Android Development] aurel33:
This result with Android terminal emulator

u0_a66@android:/ $ e2fsck -f /data/media/linux/rootfs.img
e2fsck 1.41.14 (22-Dec-2010)
e2fsck: Permission denied while trying to open /data/media/linux/rootfs.img
You must have r/w access to the filesystem or be root
8|u0_a66@android:/ $ sudo e2fsck -f /data/media/linux/rootfs.img
/system/bin/sh: sudo: not found
127|u0_a66@android:/ $ su
root@android:/ # e2fsck -f /data/media/linux/rootfs.img
e2fsck 1.41.14 (22-Dec-2010)
Pass 1: Checking inodes, blocks, and sizes
Deleted inode 1500 has zero dtime. Fix<y>? y
yes

Inode 11872, i_blocks is 17752, should be 17744. Fix<y>? yes

Deleted inode 11873 has zero dtime. Fix<y>? y
yes

Deleted inode 43802 has zero dtime. Fix<y>? yes

Deleted inode 43944 has zero dtime. Fix<y>? y
yes

Deleted inode 45342 has zero dtime. Fix<y>? yes

Deleted inode 45360 has zero dtime. Fix<y>? y
yes

Deleted inode 45365 has zero dtime. Fix<y>? yes

Deleted inode 45381 has zero dtime. Fix<y>? y
yes

Deleted inode 45465 has zero dtime. Fix<y>? yes

yDeleted inode 207980 has zero dtime. Fix<y>? y
yes

Pass 2: Checking directory structure
Entry '.ICEauthority' in /home/ubuntu (945) has deleted/unused inode 46690. Clear<y>? yes

Pass 3: Checking directory connectivity
/lost+found not found. Create<y>? yes

Pass 4: Checking reference counts
Unattached inode 10455
Connect to /lost+found<y>? y
yes

Inode 10455 ref count is 2, should be 1. Fix<y>? yes

Unattached inode 10460
Connect to /lost+found<y>? y
yes

Inode 10460 ref count is 2, should be 1. Fix<y>? yes

Unattached inode 45318
Connect to /lost+found<y>? y
yes

Inode 45318 ref count is 65535, should be 1. Fix<y>? yes

Pass 5: Checking group summary information
Block bitmap differences: -94234 -(146525--146526) -148083 -149176 -747015 -(750339--750340) -(750397--750401) -(750406--750410) -(870400--877278) -890895
Fix<y>? y
yes

Free blocks count wrong for group #2 (166, counted=167).
Fix<y>? yes

Free blocks count wrong for group #4 (5145, counted=5149).
Fix<y>? y
yes

Free blocks count wrong for group #22 (6646, counted=6659).
Fix<y>? yes

Free blocks count wrong for group #26 (2527, counted=9406).
Fix<y>? y
yes

Free blocks count wrong (121746, counted=128643).
Fix<y>? yes

Inode bitmap differences: -11873 -43802 -43944 -45342 -45360 -45365 -45381 -45465 -207980
Fix<y>? y
yes

Free inodes count wrong for group #0 (65535, counted=0).
Fix<y>? yes

Free inodes count wrong for group #1 (1, counted=2).
Fix<y>? y
yes

Free inodes count wrong for group #5 (3, counted=10).
Fix<y>? yes

Free inodes count wrong for group #25 (3168, counted=3169).
Fix<y>? y
yes

Free inodes count wrong (99674, counted=99684).
Fix<y>? yes

/data/media/linux/rootfs.img: ***** FILE SYSTEM WAS MODIFIED *****
/data/media/linux/rootfs.img: 129692/229376 files (0.4% non-contiguous), 788861/917504 blocks
1|root@android:/ #

What are the causes of these errors?
[Transformer TF300T Android Development] zaki0saad:
Which rootfs is more stable to use? The OP or the 13.04 posted not long ago?
[Transformer TF300T Android Development] alb-o:
the 13.04 rootfs kept giving me various problems even when i redownloaded it multiple times. IMO the rootfs from the OP is more stable.
[Transformer TF300T Android Development] zaki0saad:
I downloaded the 13.04 img and it seems to be fine at the moment. If I run into issues.. I shall start using the OP rootfs. Thanks!
[Transformer TF300T Android Development] ch3mn3y:
Can someone post easier tutorial collecting everything in one post? I want to test xubuntu but got lost.

Im now on cromix with hundsbuah, so what i need to do? This is enough:

1. Copy rootfs (OP or 13.04)

2. Flash Kernel (2.2.9 is the newest?)

Thats everything?

I know that it can be stupid questions, but im asking them:

- how i can choose which os i want to load (still vol- for android)?

- im on 10.6.1.15.3. should i update/downgrade?

- What about drivers etc?
[Transformer TF300T Android Development] webdoctors:
I have the same questions!! :good:
[Transformer TF300T Android Development] webdoctors:
going backwards through the threads, i was able to install the 13.04 ubuntu image to my micro sd card and the v.2.9 kernel . i also used the fix to re-enable wifi in android. i also used the link on page 13 to get flash working, it would be nice if all these things could be in one new post somewhere

but how does one do the key remapping? the rabit repository link doesnt work anymore, so it cant find the xkeyboard config files.

any help would be great. thanks.

than i can get esc and alt mapped to android keys :)
[Transformer TF300T Android Development] alb-o:
you can use xev to get the keycodes for the keys you want to remap and use xmodmap to remap them, i find that sometimes xmodmap acts sketchy if you set it to remap them at startup and dosent always work perfectly. if someone else knows a better method im also interested, xmodmap is better than nothing though.
[Transformer TF300T Android Development] webdoctors:
thanks i never knew about xev before, great tooll to get keycodes for config
[Transformer TF300T Android Development] webdoctors:
Since the original post hasn't been updated in a long time, I think it would be useful for folks to know what works at the moment.

I currently have a pretty functional system, by following these steps, hopefully it can save folks time in the future.

I haven't tested the bluetooth, but I can verify wifi, sound, and stuff in general is working quite well.

I took the kernel from here:

http://xdaforums.com/showpost.php?p=48413781&postcount=327

and flashed it into the system using fastboot.

The kernel is quite cool, it detects at boot and will allow you to boot from usb, micro sd slot, or local filesystem in that order.

I prefer to use a micro sd card because it feels faster and this way I dont risk too many writes to internal system.

Also, on amazon.com you can buy a 16 GB samsung ultra fast micro sd card for $13, with 25 mb/s write, 90 mb/s read. That;s definitely faster than the internal disk.

I took a 16 GB micro sd card and partitioned it into 8 gb (system), 3 GB (home) and 4 GB swap using the gparted linux tool.

I took the rootfs from here:

http://xdaforums.com/showpost.php?p=47791204&postcount=284

and flashed it to the first partition (8 gb), using the dd command. Unfortunately, because the image is only 3.5 GB, that's all the space that will show in that partition.

After installing xubuntu kernel, you will lose wifi in android. Download script from here and run it in xubuntu to fix that problem.

http://xdaforums.com/showpost.php?p=47990253&postcount=311

Graiden05 has done a lot of stuff regarding cpu governor tweaking, can read through the posts to find out.

I just max out my governor (set to userspace at highest freq) because I don't care about battery life. Install cpufrequtils from the repository and use cpufreq-set

to set frequency.

To get flash, I used the info in this post:

http://xdaforums.com/showpost.php?p=40813881&postcount=129

I than used the info here to setup my swap as being the third partition on the micro sd card.

http://www.thegeekstuff.com/2010/08/how-to-add-swap-space/

If you don't setup a swap space, programs will randomly get killed when you run out of RAM, which is kinda annoying if you want a stable and fast system.

I than installed java using Ubuntu Software Centre, installing OpenJDK with the plugin option. Afterwards java worked in firefox.

Also, if you want to access your android files while in linux do this:

mkdir myandroid

sudo mount /dev/mmcblk0p8 myandroid

Now your files will be mounted under myandroid, specifically your files are here:

cd myandroid/media/0

I still need to get the key mappings sorted out, and try to get vnc working with my company's wifi but this feels like a regular laptop now.

I just want to disable the trackpad when a mouse is plugged in, so I dont hit it accidentally.
[Transformer TF300T Android Development] Graiden05:
Try to resize it from another linux system (e.g. linux deploy) with following commands:

e2fsck -f /dev/block/mmcblk1p1
resize2fs /dev/block/mmcblk1p1