mounting NFS shares (T210)? - Galaxy Tab 3 Q&A, Help & Troubleshooting

Hi can somebody tell me which kernel or rom for sm-t210 has nfs support? And is it possible to mount NFSv4 shares?
I'm using RocketTab atm but
# modprobe nfs
gives me an error...
edit: okay..nfs seems not to be modularized and is already working...
$ cat /proc/filesystem
nodev nfs
nodev nfs4
but the commands I used (found here http://forum.xda-developers.com/showthread.php?t=718719&page=7) were wrong... finally it worked mounting my nfs drive with this command
busybox mount -o nolock,ro,hard,intr <host>:<remotedir> <localdir>
(as <localdir> I used: /mnt/sdcard/Download/nfs/)
thread can be closed

Related

DZO Please help me !!!!!

I have update the kernel to 2.6.32.9
but there is some problem
I cannot run follow command
insmod /system/lib/modules/lzo_compress.ko
insmod /system/lib/modules/lzo_decompress.ko
insmod /system/lib/modules/xvmalloc.ko
insmod /system/lib/modules/ramzswap.ko disksize_kb=32768 memlimit_kb=24576
echo insmod /system/lib/modules/ramzswap.ko disksize_kb=32768 memlimit_kb=24576
swapon /dev/block/ramzswap0
Click to expand...
Click to collapse
here is the *.ko
Please help me
may be i fix it
sorry just fix like
swapon /dev/block/mmcblk0p3
...

[INFO][DEV] Wildfire S (marvel) partition information/recovery commands

Hello all,
Upon porting sense 4 I needed to mount a certain partition via a command that needed the exact dev block, so I decided to find out using adb and post my results here for other devs to see:
Filesystem........................Size......Used........Available......Use%........Mounted on
tmpfs...........................209.0M......48.0K.........209.0M...........0%................/dev
/dev/block/mmcblk0p1....861.1M....739.5M.........121.6M.........86%............/sdcard <-- May vary
/dev/block/mtdblock4.......35.0M.......1.3M...........33.7M...........4%............./cache
/dev/block/mmcblk0p2..1003.6M....330.8M..........672.8M.........33%............/sd-ext <-- May vary
/dev/block/mtdblock3.....269.4M....165.0M..........104.4M.........61%.........../system
/dev/block/mtdblock5.....150.0M.......1.5M..........148.5M...........1%............../data
I hope somebody finds this helpful. I was going to post this is general, but since it is not a question and is directed for developers like myself (and this is where I would look for this info TBH) I posted it here.
Okay guys, have fun
Here is a list of commands you can use in recovery/installation scripts.
[ flash_lock mesg setserial
[[ flash_unlock mkdir setsid
adbd flashcp mkdosfs sh
adjtimex flock mke2fs sha1sum
arp fold mkfifo sha256sum
ash free mkfs.ext2 sha512sum
awk freeramdisk mkfs.vfat sleep
base64 fs mknod sort
basename fsync mkswap split
bbconfig ftpget mktemp stat
bbinstall.sh ftpput modinfo strings
blkid fuser modprobe stty
blockdev getopt more sum
brctl grep mount swapoff
bunzip2 groups mountpoint swapon
busybox gunzip mpstat sync
bzcat gzip mv sysctl
bzip2 halt nanddump tac
cal head nandwrite tail
cat hexdump nbd-client tar
catv htcbatt nc taskset
chattr htcdumlock netstat teamwin
chgrp id nice tee
chmod ifconfig nohup telnet
choice_fn insmod nslookup telnetd
chown install ntpd test
chroot iostat od tftp
clear ip offmode_charging tftpd
cmp kill parted time
comm killall patch timeout
cp killall5 pgrep top
cpio less pidof touch
crond libbmlutils.so pigz tr
crontab libc.so ping traceroute
cut libcutils.so pipe_progress true
date libdl.so pkill ttysize
dc libext2_blkid.so pmap tune2fs
dd libext2_com_err.so power_test ueventd
depmod libext2_e2p.so poweroff umount
detect_key libext2_profile.so printenv uname
devmem libext2_uuid.so printf uncompress
df libext2fs.so ps unexpand
diff libflashutils.so pstree uniq
dirname liblog.so pwd unix2dos
dmesg libm.so pwdx unlzma
dnsd libmmcutils.so rdev unlzop
dos2unix libstdc++.so readlink unpigz
du libstlport.so realpath unxz
dump_image libz.so reboot unzip
e2fsck linker recovery uptime
echo ln renice usleep
ed losetup reset uudecode
egrep ls resize uuencode
env lsattr rev vi
erase_image lsmod rm watch
expand lsof rmdir wc
expr lsusb rmmod wget
false lzcat route which
fbsplash lzma run-parts whoami
fdisk lzop rx xargs
fgrep lzopcat sdparted xz
find man sed xzcat
fix_permissions.sh md5check.sh seq yes
flash_image md5sum setconsole zcat

[Guide] Ubuntu Lucid 10.04 Defy CHROOT port

Ubuntu Lucid 10.04 android-vnc Defy port
{
"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"
}
THIS DOESNT MODIFY, REPLACE OR CHANGE YOUR CURRENT ROM OR ANDROID OS. IT RUNS IN CHROOT USING VNC, LIKE A VIRTUAL MACHINE! SO IT CANNOT BRICK OR HARM YOUR DEVICE!
Requirements :
Root and Busybox installed
At least 3.5GB free space on SD card
Android Terminal Emulator (Available on Play Store)
android-vnc-viewer (Available on Play Store)
Click to expand...
Click to collapse
Downloads :
Ubuntu image + scripts
ubuntu.sh script
*Froyo kernel scripts​
Click to expand...
Click to collapse
Installation guide
1. Download Ubuntu image from Downloads section
2. Extract Ubuntu 7-zip file contents to /sdcard/ubuntu
3. Download ubuntu.sh from attachments to /sdcard/ubuntu and replace the existing one
4. Start Terminal Emulator
5. Type in the following lines, each line is followed by enter (return) key, you'll need to run this only the first time :
su
cd /sdcard/ubuntu
sh ubuntu.sh
6. The Installation script starts and it creates necessary files and folders on internal memory, type in starttux
7. When the starttux command finishes, type in ui
8. Now you'll have to switch to android-vnc-viewer without closing Terminal Emulator (press home key to go to launcher and start vnc)
9. Setup VNC viewer :
password : 12345678
address : 127.0.0.1
port : 5901
color format : 24-bit color
10. Now press connect and Ubuntu GUI will start!
11. To exit Ubuntu GUI press menu while in vnc -> disconnect
12. Return to terminal emulator and type in killui
13. Type stoptux
14. Type exit
15. Type exit if Terminal is still opened, reboot device for proper unmount.
Click to expand...
Click to collapse
Video instalation guide :
http://www.youtube.com/watch?v=O9ercgiqwi0
Screenshot gallery :
Click to expand...
Click to collapse
Notes :
Tested on Defy CM10 2007+ by Quarx and HTC HD2 CM9 4.0.4 HWA build
I recommend using touchpad as input in vnc viewer
127.0.0.1 is known as localhost
If you have any errors post them here
The script can run without ubuntu.sh from downloads, but I recommend to replace it anyway
Credits : anantshri for image file
Soon I'll port Backtrack 5
Fell free to donate
Click to expand...
Click to collapse
F.A.Q
Q : Can this brick or harm my device?!
A : It simply can't cause it doesn't change anything inside your system!
Q : Is this a ROM or what?
A : THIS ISN'T A CUSTOM ROM! This is an image file that starts using Terminal and VNC (for gui), and it doesn't change or modify your system.
Just like a virtual machine.
Q : Can we use BT keyboard & mouse?
A : Yes.
Q : I've got problems with mouse/keyboard mapping, solution?
A : Open $HOME/.vnc/xstartup file with a text editor, and copy the text below :
Code:
#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
#x-terminal-emulator -geometry 80×24+10+10 -ls -title “$VNCDESKTOP Desktop” &
#x-window-manager &
export XKL_XMODMAP_DISABLE=1
/etc/X11/Xsession
For noobs : "XKL_XMODMAP_DISABLE=1" fixes the mapping or wrong positioning the mouse.
Q : Can we use this for other devices than Defy?
A : The script supports ext4 module roms, so it should work on ICS (I've tested on Jelly Bean) and GB rooted devices.
To change the resolution (by default 850x480) type this into the terminal after starttux command :
Code:
vncserver -geometry 1280×800
1280x800 represents scren resolution, so if you use SGS3 e.g, use vncserver -geometry 1280x720
Q :Can this work on ARMv6?
A : I don't have an ARMv6 device, so I haven't tested it, I think that it may work pretty slow, but it should still work somehow.
So please, if anyone has ARMv6 based device, please test and report.
why not 12.04????
Enviado desde mi MB525 usando Tapatalk 2
Both 11.04 and 12.04 aren't supported on our CPU or it would be slow (their image files are way to big for my sd card)
I've also tried this on HTC HD2 and it works.
Tommorow expect Backtrack 5.
mihovil13 said:
Both 11.04 and 12.04 aren't supported on our CPU or it would be slow (their image files are way to big for my sd card)
I've also tried this on HTC HD2 and it works.
Tommorow expect Backtrack 5.
Click to expand...
Click to collapse
Pre-Installed 11.10 and 12.04 OMAP3/OMAP4 images...
https://wiki.ubuntu.com/ARM/OMAP
Thanks for the link, I'll try in cca 12h.
Also tommorow (in my time) I'll post a port of BT5 (I hope that this script could get it work)
Can wie use phone?
Sent from my MB526 using xda app-developers app
What phone?
Swyped off my Defy using Jelly Bean
Defy development is on fire these days....gonna try this in 10 days when I go home...!!!!!
Sent from my MB526 using xda app-developers app
Can I install and play linux games?
Is it possible to connect Bluetooth mouse and keyword?
Sent from my MB525 using xda app-developers app
Yes it is, I use BT mouse and keyboard, games are already installed.
I'll edit FAQ now
Updated second post with FAQ
mihovil13 said:
What phone?
Swyped off my Defy using Jelly Bean
Click to expand...
Click to collapse
The phone apk so can i telephone with this Rom...
Sent from my MB526 using xda app-developers app
Jojo1992 said:
The phone apk so can i telephone with this Rom...
Sent from my MB526 using xda app-developers app
Click to expand...
Click to collapse
Apparently you haven't read the OP.
This isn't a ROM, it's like a virtual machine inside your system.
Your ROM stays as it is, this starts using an app (VNC and Terminal)
Problem
I have followed all the steps in terminal but i get an error after i enter 'starttux'.
See the screenshot if u can help me,,, thank u
oxristsis said:
I have followed all the steps in terminal but i get an error after i enter 'starttux'.
See the screenshot if u can help me,,, thank u
Click to expand...
Click to collapse
Try changing the script files using Notepad++ to this (delete all the text and replace with this)
ubuntu.sh
Code:
echo " "
echo "Ubuntu Chroot v0.2-anant-netbook"
echo "This process does NOT damage Android OS!"
echo " "
echo "Original Script by Charan Singh"
echo "Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net"
echo "Xperia Customized by Anant shrivastava http://anantshri.info "
echo " "
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
echo "Cleaning up old Chunks . . ."
rm /system/bin/tuxcmd
rm /system/bin/starttux
rm /system/bin/stoptux
echo "Creating necessary directories"
if [ ! -d /data/local/mnt ]
then
mkdir /data/local/mnt
fi
#copy the files to places
echo "Setting up files"
cp -f starttux /system/bin
cp -f stoptux /system/bin
cp -f tuxcmd /system/bin
echo "Ubuntu is now configure!"
echo " "
echo "to Start ubuntu type 'starttux'"
echo "once ubuntu started use tuxcmd to gain shell"
echo "when you want to shutdown type 'stoptux'"
starttux
Code:
#Mount SYSTEM RW
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
#exporting useful variables
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
# Mounting Image to the farthest loop point
# FIXME : check if mount sucessfull otherwise abort whole process.
mknod /dev/block/loop255 b 7 255
busybox losetup /dev/block/loop255 $kit/ubuntu.img
busybox mount -t ext2 /dev/block/loop255 $mnt
mount -t devpts devpts $mnt/dev/pts
mount -t proc proc $mnt/proc
mount -t sysfs sysfs $mnt/sys
# Mounting SD Card inside the CHROOT
busybox mount -o bind /sdcard /data/local/mnt/sdcard
#seting environment
sysctl -w net.ipv4.ip_forward=1
echo "Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4"
echo "nameserver 8.8.8.8" > $mnt/etc/resolv.conf
echo "nameserver 8.8.4.4" >> $mnt/etc/resolv.conf
echo "Setting localhost on /etc/hosts "
echo "127.0.0.1 localhost" > $mnt/etc/hosts
echo "Brought to you by NexusOneHacks.net and the open source community! "
echo "Customized by Anant shrivastava http://anantshri.info"
echo "Ubuntu configured to use it just type 'tuxcmd'"
tuxcmd
Code:
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
echo "Brought to you by NexusOneHacks.net and the open source community! "
echo "Customized by Anant shrivastava http://anantshri.info"
echo " "
busybox chroot $mnt /bin/bash
stoptux
Code:
#Cleanup
#After exit command is executed clear it all up
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
export kit=/sdcard/ubuntu
export bin=/system/bin
export mnt=/data/local/mnt
export PATH=$bin:/usr/bin:/usr/sbin:/bin:$PATH
export TERM=linux
export HOME=/root
echo "Cleaning the Ubuntu leftover and returning back the memory to Android."
echo "by Anant Shrivastava http://anantshri.info "
echo "Shutting down Ubuntu"
sync
busybox umount -l $mnt/sdcard
busybox umount -l $mnt/dev/pts
busybox umount -l $mnt/proc
busybox umount -l $mnt/sys
busybox umount -l $mnt
busybox losetup -d /dev/block/loop255
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
echo " "
echo "Please reboot to properly unmount Ubuntu"
echo "Specially If you recieved an error before this line"
You maybe even don't have to go type tuxcmd after the starttux shell, if the shell changes to root:localhost automatically, then just type ui
update : I've managed to get BT5 working!!
Gnome shell 3 is working ?
Sent from my MB525 using xda premium
tarunyad said:
Gnome shell 3 is working ?
Sent from my MB525 using xda premium
Click to expand...
Click to collapse
is not avaliable for ubuntu 10.04, so no gnome shell 3...
Yes but there's gnome preinstalled in the image
Swyped off my Defy using Jelly Bean

[INSTALLER]Universal NativeSD installer for all roms v0.1

Hey guys people here have constant troubles flashing mods to NativeSD roms as they can't be flashed the normal way like gapps,etc
I intend to provide people a solution to patch their roms with the mods of their choice.
Also chefs cooking/porting roms can use this to patch their roms while debugging
Also people willing to contribute mods circulating XDA can also put them up here in the thread
How it works:
This is Aroma based installer based on tytung's NexusHD2 JB 1.0
This is a zip file so people have to first extract it,place the respective mod files/apps in the system folder zip it again and flash
Devs/Chefs working on roms can also place the patches to be made in the system folder.also the original files can be placed in the system-original folder so that patches can be reverted to see what works and what not
Most importantly don't forget to change the ROM_NAME to the nativesd name of the rom you wish to flash in the mount_nativesd.sh file with the help of any text editor(If using your android device,it can be done using jota text editor set to linefinder)
v0.1(Modified by wwchang originally for JellyBelly rom)
DOWNLOAD
MODs by me
Acid Audio Engine Version 5
DOWNLOAD
After flashing this add these lines to build.prop
HTML:
#Sony Xloud & Clearbass +
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
#Resampling
af.resampler.quality=255
persist.af.resampler.quality=255
#Beats Engine
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
Native 720p mod for any of the existing JB roms out there
DOWNLOAD
Reserved#2
Anurag pandey said:
Most importantly don't forget to change the ROM_NAME to the nativesd name of the rom you wish to flash in the mount_nativesd.sh file with the help of any text editor(If using your android device,it can be done using jota text editor set to linefinder)
Click to expand...
Click to collapse
There are a few of these installers floating about (with a few made by myself); the last one I had extracted the rom name from the initrd.gz in /sdcard/NativeSD, thus removing the need for the above, if I can find it feel free to modify the installer, it should cut down on some of the work for end users (and make 1 zip usable with multiple ROMs without further modification)
Edit. Changing Mount_NativeSD.sh to:
Code:
#!/sbin/sh
mmcblk0p2=`ls /dev/block/mmcblk0p2`
# Mount the ext4 partition
if [ $mmcblk0p2 == "/dev/block/mmcblk0p2" ]
then
mkdir -p /ext4p
mount -t ext4 /dev/block/mmcblk0p2 /ext4p
cp /ext4p/NativeSD/initrd.gz /tmp/initrd.gz
mkdir /tmp/ramd
cd /tmp/ramd
gzip -d -c ../initrd.gz | cpio -i -d
if [-a "init.android"]
then
sed -n '/rom_name=/w romname.txt' /tmp/ramd/init
sed -i 's/rom_name=//' romname.txt
else
sed -n '/--bind/,/system/w initrc.txt' init.rc
sed -n '1w romname.txt' initrc.txt
sed -i 's,exec /bin/busybox mount --bind /NativeSD/,,
s,/system /system,,
s/ *//g' romname.txt
fi
export ROM_NAME=`cat romname.txt`
mount --bind /ext4p/$ROM_NAME/system /system
mount --bind /ext4p/$ROM_NAME/data /data
#the sd-ext directories are ready, so flag the updater-script
echo "NativeSD=true" >> /tmp/nfo.prop
else
#no ext4 partition found
echo "NativeSD=false" >> /tmp/nfo.prop
fi
should do it, you may want to run your eye through it first.
Good work anuraj as always...
@Hypoturtle... i saw this script on Sportstar too, but I havent tried it... Seems quite interesting but afraid to try (as hd2 is my primary and only phone...) Dont understand much of these code but, is there any way the script uncomment or remove the following lines in init.rc or init.htcleo.rc?
mount yaffs2 [email protected] /system noatime nodiratime
mount yaffs2 [email protected] /data nosuid nodev noatime nodiratime
mount yaffs2 [email protected] /mnt/cache nosuid nodev
Sorry I'm still learning, and dont have unserstand any language C,C++ or Java...
macs18max said:
Good work anuraj as always...
@Hypoturtle... i saw this script on Sportstar too, but I havent tried it... Seems quite interesting but afraid to try (as hd2 is my primary and only phone...) Dont understand much of these code but, is there any way the script uncomment or remove the following lines in init.rc or init.htcleo.rc?
mount yaffs2 [email protected] /system noatime nodiratime
mount yaffs2 [email protected] /data nosuid nodev noatime nodiratime
mount yaffs2 [email protected] /mnt/cache nosuid nodev
Sorry I'm still learning, and dont have unserstand any language C,C++ or Java...
Click to expand...
Click to collapse
This script is different to whats on Sportstar's thread (I think, not sure what your referencing)
All that code does is take the ROM_NAME from the currently used ROM and set it as the ROM for the update to be applied to.
If you want to check if it works then just add a text file into the system folder and see if it installs into the currently running ROM.
The patcher (look at sig.) does the commenting of yaffs in init.rc (as well as other stuff to turn a NAND ramdisk into a NativeSD one).
sense 3.5 kernel
who can help(assist) me to make a sense 3.5 kernel nativeSD able?
pixelfreak
-pixelfreak- said:
who can help(assist) me to make a sense 3.5 kernel nativeSD able?
pixelfreak
Click to expand...
Click to collapse
Try hypoturtle's patcher On linux
http://forum.xda-developers.com/showthread.php?t=1953428
Sent from my NexusHD2 using xda premium
re
Anurag pandey said:
Try hypoturtle's patcher On linux
http://forum.xda-developers.com/showthread.php?t=1953428
Sent from my NexusHD2 using xda premium
Click to expand...
Click to collapse
many thanks this is not whas i mean. in the kernel must change the init.rc file with script for nativeSD. and this must change in my sense 3.5 kernel thats work sense 3.5 with nativeSD
i am not a linux coder i work with windows. thats work must make a profesionel coder for kernel "tytung or other user"
pixelfreak
Anurag pandey said:
MODs by me
Acid Audio Engine Version 5
DOWNLOAD
After flashing this add these lines to build.prop
HTML:
#Sony Xloud & Clearbass +
ro.semc.sound_effects_enabled=true
ro.semc.xloud.supported=true
persist.service.xloud.enable=1
ro.semc.enhance.supported=true
persist.service.enhance.enable=1
ro.semc.clearaudio.supported=true
persist.service.clearaudio.enable=1
ro.sony.walkman.logger=1
ro.somc.clearphase.supported=true
persist.service.clearphase.enable=1
#Resampling
af.resampler.quality=255
persist.af.resampler.quality=255
#Beats Engine
htc.audio.swalt.enable=1
htc.audio.swalt.mingain=14512
Click to expand...
Click to collapse
Thanks for your mods. I downloaded the file Acid audio engine for jellybelly.zip. How do I flash it to the Jellybelly NativeSD ROM?
Can I use 4EXT Recovery for the same?
Well I had some people reporting that NativeSd Gapps installer that i put together using script from HypoTurtle is not working on PAC rom.
So I checked it and it seems that PAC has somewhat different was of mounting, rom name is located in mounts.sh script.
Anyway I've updated it, and now it should also work on such ROMs.
Code:
#!/sbin/sh
mmcblk0p2=`ls /dev/block/mmcblk0p2`
# Mount the ext4 partition
if [ $mmcblk0p2 == "/dev/block/mmcblk0p2" ]
then
mkdir -p /ext4p
mount -t ext4 /dev/block/mmcblk0p2 /ext4p
cp /ext4p/NativeSD/initrd.gz /tmp/initrd.gz
mkdir /tmp/ramd
cd /tmp/ramd
gzip -d -c ../initrd.gz | cpio -i -d
#!/bin/sh
if [ -a "init.android" ]
then
sed -n '/rom_name=/w romname.txt' /tmp/ramd/init
sed -i 's/rom_name=//' romname.txt
else
if [ -f "mountfs.sh" ]
then
sed -n '/rom_name=/w mount.txt' mountfs.sh
sed -n '1w romname.txt' mount.txt
sed -i 's/rom_name="//' romname.txt
sed -i 's/"//' romname.txt
else
sed -n '/--bind/,/system/w initrc.txt' init.rc
sed -n '1w romname.txt' initrc.txt
sed -i 's,exec /bin/busybox mount --bind /NativeSD/,,
s,/system /system,,
s/ *//g' romname.txt
sed -i 's/[[:blank:]]//g' romname.txt
fi
fi
export ROM_NAME=`cat romname.txt`
mount --bind /ext4p/$ROM_NAME/system /system
mount --bind /ext4p/$ROM_NAME/data /data
#the sd-ext directories are ready, so flag the updater-script
echo "NativeSD=true" >> /tmp/nfo.prop
else
#no ext4 partition found
echo "NativeSD=false" >> /tmp/nfo.prop
fi
how can i flash another kernel to a native sd rom?
firebird11 said:
how can i flash another kernel to a native sd rom?
Click to expand...
Click to collapse
For now download tytungs jb kernel and replace his kernel files with the kernel u want to install.
I guess tytungs jb kernel is based on aroma installer for nativesd
Sent from my LG-P990 using xda premium
Anurag pandey said:
For now download tytungs jb kernel and replace his kernel files with the kernel u want to install.
I guess tytungs jb kernel is based on aroma installer for nativesd
Sent from my LG-P990 using xda premium
Click to expand...
Click to collapse
thank you but tytungs kernel doesn't have aroma installer,,
i'll change the files in the rom before flashing
Link is down.
Hello,
I know this thread is quite old but I tried to download the Universar NativeSD installer to install a mod into my current NativeSD rom, but the link is down. Where can I get the installer? Is there another way to do what I'm trying?
Thanks.
Regards,
pepemonje said:
Hello,
I know this thread is quite old but I tried to download the Universar NativeSD installer to install a mod into my current NativeSD rom, but the link is down. Where can I get the installer? Is there another way to do what I'm trying?
Thanks.
Regards,
Click to expand...
Click to collapse
The link to the 720p mod is still working, you could change the system files and rom-name in that one to suit. Or just put your files in your NativeSD rom.zip and re-flash without wiping, backup first though
Robbie P said:
The link to the 720p mod is still working, you could change the system files and rom-name in that one to suit. Or just put your files in your NativeSD rom.zip and re-flash without wiping, backup first though
Click to expand...
Click to collapse
Thanks Robbie P for your help. But I was referring to the Universal NativeSD installer for all roms v0.1 download link. Anyway, what is the 720p mod?
pepemonje said:
Thanks Robbie P for your help. But I was referring to the Universal NativeSD installer for all roms v0.1 download link. Anyway, what is the 720p mod?
Click to expand...
Click to collapse
the 720p mod is in post#2, it allows people to play 720p quality video files. afaik it uses the same install method as the original installer.
You can delete the system folder in the zip and add yours. You would also need to change the rom_name in mount_NativeSD.sh to whatever the rom you are modifying uses (same name as the folder in /sdcard/NativeSD)
Note that permissions and possibly symlinks for the new files might need changing after installation.
If you put the mod files in your original rom.zip and reflash as i mentioned earlier, there is no need to change rom-name.

[DEV][CLK][2013-12-08]CM-11.0 unofficial - Android 4.4 [2.6.x and 3.0.101 kernel]

CM 11.0 for HD2 (unofficial)
Status: testing
CWM-Recovery 6.0.4.4: Download
Download: 2013-12-08 (2.6.32 tytung kernel) compiled by chautruongthinh: http://d-h.st/yoY
fixed: sdcard and nativeSD, directSD
source updated to Android 4.4.1
2013-12-03 (2.6.35 kernel) http://d-h.st/e9c
For magdlr: View attachment cm-11-20131203-UNOFFICIAL-leo-NAND-MAGLDR.zip
Download: 2013-12-04 (3.0.101 kernel) http://d-h.st/xAm
View attachment 2431327View attachment 2433342
2.6.32 kernel source:
2.6.35 kernel source:
3.0.101 kernel source:
THANKS to:
CyanogenMod - Team for CM-11
EVERVOLV TEAM for the legacy codes.
TYTUNG for his contribution Kernel, Aroma Installer, libgps with AGPS
MARC1706 for contribution to developing new kernels.
Sportsstar89, Securecrt, Xylograph, Pixelfreak, ph03n!x, datagr, chautruongthinh, Rick_1995, Daekin, BSDgeek_Jake
texasice, marco.palumbi, Robbie-P, zeppelinrox, zexmunze, zain0300 for all HD2 kernels, libs, mods, corrections
And all those individual/teams who I might have missed.
What is working 2.6.32 kernel;
- lights
- calling
- mobile data 2g/3g
- camera
- sound
- display + touch
not working
- adb
- wifi
- camcorder
What is working 2.6.35 kernel:
- adb
- lights
- LED
- Display + Touchscreen
- mobile data 2g/3g
- no need for xattr on yaffs2
What is working 3.0.101 kernel:
- Lights
- LED
- Display + Touchscreen
- Sound
- 2g/3g
- calling
OLD !!
Android 4.4 for HTC - LEO
Code:
[COLOR=Blue]What work:[/COLOR]
- rom boots but display did not work. (black screen only backlight on)
- Sound
- Touchscreen
- adb
For Android 4.4 we need a new recovery and new kernel with some security options enabled.
Leo NAND use yaffs2 file system. --> We need to port xattr support for yaffs2.
Leo NativSD use ext4 file system. --> I compiled a recovery and a kernel with enabled xattr and security for ext4.
Recovery for EXT4 only support: http://d-h.st/wa4
Kernel: http://d-h.st/368
Kernel source: https://github.com/walter79/android_kernel_htc_leo_2.6.35-mark1706-based
(cm-10.2 branch)
UPDATE 2013-11-21:
Recovery for yaffs2 and ext3/4 support (only for 3.x kernel yet)
Download: http://d-h.st/QtF
Kernel source: https://github.com/walter79/android_kernel_htc_leo (cm-11.0 branch)
2.6.35 - Local.xml: https://github.com/walter79/android_htc_leo_local_xml
With the recovery and a custom installer script we can install Android 4.4 on sdcard ext4 partitions.
(files need to install to mmcblk0p2)
Installer:
Code:
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/system");
.
.
ui_print("Mounting System...");
mount("ext4", "EMMC", "/dev/block/mmcblk0p2", "/system");
ui_print("delete old System...");
delete_recursive("/system");
ui_print("Installing System...");
package_extract_dir("system", "/system");
Local.xml: https://github.com/walter79/android_htc_leo_local_xml
init.htcleo.rc
Code:
on fs
# Mount all partitions
# mount_all ./fstab.htcleo
# mount mtd partitions
# Mount /system rw first to give the filesystem a chance to save a checkpoint
#mount yaffs2 [email protected] /system noatime nodiratime
#mount yaffs2 [email protected] /system ro remount
# move cache to data -TYT
#mount yaffs2 [email protected] /data nosuid nodev noatime nodiratime
#mount yaffs2 [email protected] /mnt/cache nosuid nodev
# wait for sdcard
# wait has a timeot of 5 seconds.
# calling it 4 times allows 20 seconds for the mmcblk0p2 partition to show up
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p2
wait /dev/block/mmcblk0p3
wait /dev/block/mmcblk0p3
wait /dev/block/mmcblk0p3
wait /dev/block/mmcblk0p3
# SD Card Speed Fix
write /sys/devices/virtual/bdi/179:0/read_ahead_kb 2048
# File system check
exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p2 > /fscksystem.log"
exec /bin/busybox sh -c "/bin/e2fsck -p /dev/block/mmcblk0p3 > /fsckdata.log"
# mount the 1st (NativeSD) SD-EXT partition
mount ext4 /dev/block/mmcblk0p2 /system wait noatime nodiratime barrier=0
# mount the 2nd (NativeSD) SD-EXT partition
mount ext4 /dev/block/mmcblk0p3 /data wait noatime nodiratime barrier=0
# cleanup
# delete /bin to free ram
rm /bin/busybox
rm /bin/e2fsck
rmdir /bin
I will uploading my compiled Android 4.4 rom. Installer works it use 2 ext4 partitions. mmcblk0p2 for /system and mmcblk0p3 for /data.
Boot.img will installed to NAND /boot.
!!! You will need 2 ext4 primary partitions on your sdcard !!!
!!!This rom will delete all data from your ext4 partition !!!!
ROM: http://d-h.st/0at
1 st reply
1 st reply.
Good Jobs!
Thank you for your hard work!
This is awesome... thankyou thankyou...
@walter79
clk or magldr ?
BLiZzR said:
@walter79
clk or magldr ?
Click to expand...
Click to collapse
CLK.
walter79 said:
CLK.
Click to expand...
Click to collapse
hello walter , thank's for your great work . i have installed clk and after kitkat , the rom boot but stuck on white android screen .what is the size of the partition?
philipped346 said:
hello walter , thank's for your great work . i have installed clk and after kitkat , the rom boot but stuck on white android screen .what is the size of the partition?
Click to expand...
Click to collapse
We need to fix display_legacy. I use 650 mb for first ext4 and 1200 for 2nd ext4 partition.
Good job @walter79
hope to get yaffs2 with xattr done soon
nice job
thanks dear...
mosi hd2 said:
nice job
thanks dear...
Click to expand...
Click to collapse
Wo0ow Thanks Bro
Mosi
Ignore this
http://d-h.st/wa4
walter79 said:
http://d-h.st/wa4
Click to expand...
Click to collapse
What we need for using kitkat with nand, can you explain please?
Kernel update with yaffs filesystem support for xattr and security. For more information ask "google" xattr yaffs patch, please.
I already knew that, searched before asking. Thanks anyway.
Probably I couldnt ask rightly. Can we need a new flasher (and/or bootloader) for magldr & clk for flashing kitkat on nand memory? Because DAF only supports raw (for boot and recovery part.) and yaffs types fot example.
walter79 said:
Rom boots. ADB works well but some EGL errors. Loop on bootanimation
Click to expand...
Click to collapse
Well rom does boot, but you don't get stuck in bootloop, but when in finishes booting, the screen does show anything.
And going trough logcat i see this line constantly showing up
Code:
E/WVMExtractor( 96): IsWidevineMedia not found in libwvm.so
maybe libwm.so is the problem for lack of screen output?
Ignore
For NativeSD script, creating 2 EXT4 partitions on SD card are we going to lose multiboot futures with older ROMs which use just first EXT4 partition as System?
lolerpro8 said:
Well rom does boot, but you don't get stuck in bootloop, but when in finishes booting, the screen does show anything.
And going trough logcat i see this line constantly showing up
Code:
E/WVMExtractor( 96): IsWidevineMedia not found in libwvm.so
maybe libwm.so is the problem for lack of screen output?
Click to expand...
Click to collapse
That error have nothing to do with Graphics, In my Sense 5 port, i have this error, and it works well

Categories

Resources