Hey guys is it possible to do something like that?
Thank You
xReini
Sent from my Desire HD using XDA App
xReini said:
Hey guys is it possible to do something like that?
Thank You
xReini
Sent from my Desire HD using XDA App
Click to expand...
Click to collapse
yep if you can build a native gnulinux kernel you can multi boot even.
Iḿ look for this , but there some things i dont understand or just not explaned.
like standaard kernel source how do you modify that to gnulinux. ( to boot ubuntu )
Any one?
some info
http://wiki.meego.com/ARM/MSMQSD
http://wiki.meego.com/ARM/MSMQSD/Initial_Work
Jhinta said:
yep if you can build a native gnulinux kernel you can multi boot even.
Iḿ look for this , but there some things i dont understand or just not explaned.
like standaard kernel source how do you modify that to gnulinux. ( to boot ubuntu )
Any one?
some info
http://wiki.meego.com/ARM/MSMQSD
http://wiki.meego.com/ARM/MSMQSD/Initial_Work
Click to expand...
Click to collapse
Things dat sould be oke .
if you have the correct kernel you sould be able to boot it like this.
sudo ./fastboot -c 'root=/dev/mmcblk1p1 rw rootfs=ext3 init=/sbin/init rootwait noinitrd' boot zImage
mmcblk disk 1 partition 1 -> depents on your sdcard ,p2 sould be ext3 with rootfs with it .
but any thing i try i dont get ubuntu booted .
i understand android can be booted from a secure digital card, for for multiboot to work, would you not need an enviroment like grub? otherwise how would you choose what boot.img to execute
AndroHero said:
i understand android can be booted from a secure digital card, for for multiboot to work, would you not need an enviroment like grub? otherwise how would you choose what boot.img to execute
Click to expand...
Click to collapse
that's the thing I don't understand..
whit the gnu kernel we are able to mount fs on sd card (ext3) but how are we able boot it?
(sorry for my english )
Edit: sorry i mean without fastboot
xReini said:
that's the thing I don't understand..
whit the gnu kernel we are able to mount fs on sd card (ext3) but how are we able boot it?
(sorry for my english )
Edit: sorry i mean without fastboot
Click to expand...
Click to collapse
very simpel
1 you build a boot image for multi boot flash it to recovery .
2 you need multi partition on sd for multi boot
3 just boot recovery and you can select witch partition to boot
G1 has this option already
Jhinta said:
very simpel
1 you build a boot image for multi boot flash it to recovery .
2 you need multi partition on sd for multi boot
3 just boot recovery and you can select witch partition to boot
G1 has this option already
Click to expand...
Click to collapse
that sounds easy ..
but "1 you build a boot image for multi boot flash it to recovery" should be the tricky part
and i've got the Buzz OC/UV kernel and in the config from /proc/config.bz there is
CONFIG_BLK_DEV_LOOP=y already set .. do i need to recompile a new kernel?
xReini said:
that sounds easy ..
but "1 you build a boot image for multi boot flash it to recovery" should be the tricky part
and i've got the Buzz OC/UV kernel and in the config from /proc/config.bz there is
CONFIG_BLK_DEV_LOOP=y already set .. do i need to recompile a new kernel?
Click to expand...
Click to collapse
You dont get it ,
CONFIG_BLK_DEV_LOOP=y is for chroot OS !!!!NOT NATIVE ( gnulinux )UBUNTU!!!!
what we need is a kernel witch is build for GNULINUX !!!
We now have ANDRIODKERNEL !!!to boot ANDROID
you can chroot ubuntu easy , just download hd2 ubuntu 3 and extract rootfs to sdcard as ubuntu/ubuntu.img + download ubuntu pack ( google is your friend - nexusone chroot ubuntu) download that and read that site , the rootfs.ext3 is the same as ubuntu.img
Smal tip only install thightvnc server and dont doe any thing about installing lxde orso , so only the vnc setup and you have ubuntu
Jhinta said:
You dont get it ,
CONFIG_BLK_DEV_LOOP=y is for chroot OS !!!!NOT NATIVE ( gnulinux )UBUNTU!!!!
what we need is a kernel witch is build for GNULINUX !!!
We now have ANDRIODKERNEL !!!to boot ANDROID
you can chroot ubuntu easy , just download hd2 ubuntu 3 and extract rootfs to sdcard as ubuntu/ubuntu.img + download ubuntu pack ( google is your friend - nexusone chroot ubuntu) download that and read that site , the rootfs.ext3 is the same as ubuntu.img
Click to expand...
Click to collapse
i never want to boot native linux..
i want to boot 2 different roms like LeeDrOiD and CyanogenMod ..
why do i need a native linux kernel for that?
xReini said:
i never want to boot native linux..
i want to boot 2 different roms like LeeDrOiD and CyanogenMod ..
why do i need a native linux kernel for that?
Click to expand...
Click to collapse
because of the native linux kernel you can boot from sdcard ( hd2 booting android )
1 the android kernel wil boot up
2 it will boot initd from mem , bam we have android ( somthing like that )
or
1 boot GNUlinux
2 do wat ever you want
LeeDrOiD got Ubuntu booting, i've seen.
Is it possible with his Kernel?
thanks
Related
Hi !
I'm actually porting/playing with ubuntu on my Galaxy S. The goal would be to boot ubuntu "natively" from the ubuntu initramfs, but since i was unable to get a working framebuffer output on kernel boot (if someone have a solution for this, it would really help me), i'm using a chrooted environment for now. Some guys already had ubuntu to run on the Galaxy S in a chrooted environment, but the android UI was still running (using a lot of memory) and we had to use VNC to experience the ubuntu desktop. With this version, X is using the s3cfb framebuffer and fbdev driver to draw to the screen. I have also modified a Xorg input driver (plpevtch) to have a preliminary touch screen support. Since we still run it after the android services initializations, ubuntu will use the current connection (wifi, 3G).
If someone want's to play/help/try this stuff, here is the procedure i'v done for now :
Requirements :
- A Linux computer ( tested on ubuntu 10.10 )
- Galaxy S i9000 running an android kernel with ext2 support ( tested with Universal lagfix kernel )
- root (provided with the previous kernel i think)
- busybox (market)
- sdcard 2GB at least, primary partition formated to ext2 (play with the scripts to change to fat or ext4 etc)
- I think that's all
Download :
Download the attached package and extract it, this one contains the required scripts to download/patch ubuntu, prepare the sdcard, and stat/stop ubuntu.
Usage :
create.sh :
usage : create.sh /path/to/my/ext2/sdcard
This script will download the ubuntu netbook 10.10 compressed image for arm, decompress it, mount it then copy the filesystem to a specified path (should be an ext2 formated partition on the sdcard, and be the first partition on the sdcard ( /dev/mmcblkXp1 ).
Should be run first, one time ...
start.sh :
usage : start.sh
This script run "droid_ubuntu_init.sh" on the phone, which stop the android interface, mount the sdcard, prepare the chrooted environment and start a chrooted session (chroot_init.sh, which simulate a "daemon" to allow services to run in the background and start the ubuntu desktop.
Should be run everytime you wants to start ubuntu.
update.sh :
usage : update.sh
At the first "boot", ubuntu desktop (X) will not work, we have to update the distribution. To do so, run "start.sh" (if not already done) to start ubuntu, then run this script. It will update ubuntu (you should really use a wifi connection to do so), and X should then work. It will also install an ssh server. This will take a long time
Should be run one time.
====== Notes =====
If you want to run some "services", you should edit the file "scripts/chroot_init.sh" and add your service here (after the ssh service for example).
The package contains the "patch" applied to the ubuntu rootfs, and the sources of the modified touchscreen xorg input driver.
I did not work on a "stop" script yet, you'll have to reboot the phone if you want the android UI back.
It's really a work in progress, nothing really usable for now.
This is realy cool thumbs up
Il defently start looking at this at first possible time slice.
Download the attached package
Click to expand...
Click to collapse
Hi, where is the script ?
I would love to see Ubuntu running in native mode like it did on my former HD2 (witch, btw, i still think it's the best smartphone ever, Galaxy S - no were near).
mdalacu said:
Hi, where is the script ?
I would love to see Ubuntu running in native mode like it did on my former HD2 (witch, btw, i still think it's the best smartphone ever, Galaxy S - no were near).
Click to expand...
Click to collapse
Won't that be primarily because of the HUGE amount of development for it?
What about trying with a lightweight disto like puppy linux? last one uses lucid lynx package and it can run in ram (so very light).
Also maybe you can make some kind of "boot menu" using recovery mode:
in recovery mode, android is not started so if we add an entry to to recovery to run the start script on the sd from there it should be what you are looking for.
The only big problem i see for me to port ubuntu or anything else natively is a way to debug the boot process. Unfortunately, i was unable to get the kernel framebuffer to work, i would really need some help on this. For now it work great enough in a chrooted env to port some drivers etc. Anyone ? Else yes i'm using a custom rootfs to debug the kernel/drivers/rootfs.
Let's hope i find the time to try this tonight, while booting from a Ubuntu livecd
Oups, i did forget to attach the files. .. Will do so tomorow.
Has anyone worked on "really" porting another distro, done some work on kernel drivers? Actually it seems the s3cfb framebuffer isnt hardware accelerated using fbdev, preventing screen rotation and such. Any hint?
Hi,
I'm a french poweruser of Ubuntu (Server/Desktop).
May I have your script please?
Thanks,
RolluS
Hi,
I'm a french poweruser of linux
Mais ou sont donc les scripts ?
How is the script ?
Julien_050
Cpasjuste said:
Oups, i did forget to attach the files. .. Will do so tomorow
Click to expand...
Click to collapse
Posting the script might generate more interest.
When the files are up, i will try it thx.
koe1974 said:
Posting the script might generate more interest.
Click to expand...
Click to collapse
+1
hi, i was almost at goal, but when starting X-session, it unmounts my sd card... any ideas?
Right when it starts?
Maybe some x app is taking over the sdcard.. just an idea
This ROM is based on Cotulla's original NAND release with a few changes, the main one being that this is the first ROM that can be flashed using ClockworkMod Recovery.
How to flash;
1: Boot into Clockwork Recovery
2: Select flash zip from sdcard
3: Select ROM file and then confirm
4: Wait for All Done! message
5: A wipe is recommended but not always required, if you experience force closes or things not working, try wiping before posting problems.
Changelog;
-v1.0- Initial Release
-gauner1986 Kernel from Desire HD rom release
-RMNet by default, create ppp folder in system to enable PPP data
-SU Fully working
-Flashable ONLY with clockworkmod recovery found HERE
-DOWNLOAD-
*CACHE FIX IS REQUIRED TO INSTALL APPS*
-Cache Fix-
THIS ROM IS ONLY FLASHABLE USING CLOCKWORKMOD RECOVERY FOR HD2 FOUND HERE
Credits to;
Cotulla + DFT - For the base ROM and all the great work thats gone into NAND on the HD2
Gauner1986 - For the kernel used in this ROM
CyanogenMod Team - For the great recovery that allows flashing custom roms
Anyone else who has contributed to android on the HD2
RaiderX303 said:
This ROM is based on Cotulla's original NAND release with a few changes, the main one being that this is the first ROM that can be flashed using ClockworkMod Recovery.
How to flash;
1: Boot into Clockwork Recovery
2: Select flash zip from sdcard
3: Select ROM file and then confirm
4: Wait for All Done! message
5: A wipe is recommended but not always required, if you experience force closes or things not working, try wiping before posting problems.
Changelog;
-v1.0- Initial Release
-gauner1986 Kernel from Desire HD rom release
-RMNet by default, create ppp folder in system to enable PPP data
-SU Fully working
-Flashable ONLY with clockworkmod recovery found HERE
-DOWNLOAD-
-
*CACHE FIX IS REQUIRED TO INSTALL APPS*
Cache Fix-
THIS ROM IS ONLY FLASHABLE USING CLOCKWORKMOD RECOVERY FOR HD2 FOUND HERE
Credits to;
Cotulla + DFT - For the base ROM and all the great work thats gone into NAND on the HD2
Gauner1986 - For the kernel used in this ROM
CyanogenMod Team - For the great recovery that allows flashing custom roms
Anyone else who has contributed to android on the HD2
Click to expand...
Click to collapse
Very nice, thanks for the update.zip.
Thank you
SOOOOOOOOOOOOOOOO much!
As
for the cache fix. Do I flash directly after the ROM?
jhr5474 said:
for the cache fix. Do I flash directly after the ROM?
Click to expand...
Click to collapse
yes, just flash the rom then the cache fix
work very well
RaiderX303 said:
This ROM is based on Cotulla's original NAND release with a few changes, the main one being that this is the first ROM that can be flashed using ClockworkMod Recovery.
How to flash;
1: Boot into Clockwork Recovery
2: Select flash zip from sdcard
3: Select ROM file and then confirm
4: Wait for All Done! message
5: A wipe is recommended but not always required, if you experience force closes or things not working, try wiping before posting problems.
Changelog;
-v1.0- Initial Release
-gauner1986 Kernel from Desire HD rom release
-RMNet by default, create ppp folder in system to enable PPP data
-SU Fully working
-Flashable ONLY with clockworkmod recovery found HERE
-DOWNLOAD-
*CACHE FIX IS REQUIRED TO INSTALL APPS*
-Cache Fix-
THIS ROM IS ONLY FLASHABLE USING CLOCKWORKMOD RECOVERY FOR HD2 FOUND HERE
Credits to;
Cotulla + DFT - For the base ROM and all the great work thats gone into NAND on the HD2
Gauner1986 - For the kernel used in this ROM
CyanogenMod Team - For the great recovery that allows flashing custom roms
Anyone else who has contributed to android on the HD2
Click to expand...
Click to collapse
Too F'ing fast RAIDER! Thanx.
how do I convert it to ppp?
I used the search optiion, believe me. All I found was ppp to rmnet because of the early on data disconnects. Could you guys help? Thanks in advance.
elcanela said:
I used the search optiion, believe me. All I found was ppp to rmnet because of the early on data disconnects. Could you guys help? Thanks in advance.
Click to expand...
Click to collapse
the first damn post said:
-RMNet by default, create ppp folder in system to enable PPP data
Click to expand...
Click to collapse
In a terminal emulator or adb shell.
Code:
su
mkdir /system/ppp
elcanela said:
I used the search optiion, believe me. All I found was ppp to rmnet because of the early on data disconnects. Could you guys help? Thanks in advance.
Click to expand...
Click to collapse
youll need to use adb and
adb remount
adb shell mkdir /system/ppp
Click to expand...
Click to collapse
or in terminal emulator
su
mount -o rw,remount /system /system
mkdir /system/ppp
Click to expand...
Click to collapse
the initrd and the zimage on the sd card is needed for CW or its a zimage files for your zip rom?
its question becouse you write its gauner kernel from HDrom, and he have in gauner hd rom 0.3 kernel with OC to 1113mh... can i replace the zimage from the sd card with this one and its allready replace in system?
ilijan said:
the initrd and the zimage on the sd card is needed for CW or its a zimage files for your zip rom?
its question becouse you write its gauner kernel from HDrom, and he have in gauner hd rom 0.3 kernel with OC to 1113mh... can i replace the zimage from the sd card with this one and its allready replace in system?
Click to expand...
Click to collapse
the zImage on the SD is for CWM recovery, not the ROM, the zImage for the rom is in the boot partition on the NAND
shadiku said:
In a terminal emulator or adb shell.
Code:
su
mkdir /system/ppp
Click to expand...
Click to collapse
Damn, I feel like an A$$! Didnt think it was that literal, I thought you had to drop certain files in there, but I will just make one with SUFBS. Thanks.
ok so if i want to replace zimage i need to go with install.bat wia adb? or its possible with cw?
Well even though I hate Sense.. I have to flash something with Clockwork. Here we go.
ilijan said:
ok so if i want to replace zimage i need to go with install.bat wia adb? or its possible with cw?
Click to expand...
Click to collapse
I think we can change in zip file : boot --->zImage and /system/lib/modules ----> ..
wait for RaiderX303 confirm this method again.
ilijan said:
ok so if i want to replace zimage i need to go with install.bat wia adb? or its possible with cw?
Click to expand...
Click to collapse
boot into CWM, then using adb run these commands
adb shell mount /dev/block/mtdblock2 /boot
adb push zImage /boot/zImage
adb reboot
Click to expand...
Click to collapse
or just change the zImage in the cache fix zip file and reflash
canot install mdj 9.2 oc rom becouse its canot mount boot block mtdblock0
thanks so much! its work just edited install_ kernel.bat and its allready replace the zimage
@raiderx
hmmm is it possible to use your .zip and swap the system folder with a cm6 system folder+nand kernels and flash from there?
in theory its possible but asking first before my phone becomes a ticking timebomb
does it need to be signed?
[TOOL] [v3.2] [09NOV] Ubuntu Touch "system-image" Installer // w/o computers
# All credit goes to Ubuntu and contributors
ut-system-installer
I wanted to install Ubuntu Touch system-image (official, ro, OTA-enabled, for-sale-in-the-future) on my Galaxy Nexus, but there were some limitations and disadvantages to do so. It requires Ubuntu on my computer and completely wipes my device. Compared to cdimage-touch, which one can install easily with his/her phone, system-image is hard for some people to try, so I made a simple recovery-flashable zip with shell scripts to install it without computer and losing data. It downloads and installs system-image on your device(officially supported ones only).
What is does:
The same thing as doing
Code:
phablet-flash ubuntu-system --channel devel --no-backup
but without wiping the device, so
-Download files for installing Ubuntu Touch system-image (half-automatically)
-Install it on your device (supported ones by Canonical)
Supported Devices:
-Galaxy Nexus (maguro, toro, toroplus)
-Nexus 7 (grouper, tilapia)
-Nexus 4 (mako)
-Nexus 10 (manta)
Downloads:
http://d-h.st/users/zittoro/ut
Do not use anything in wip folder.
* This will install a CWM-based recovery from Ubuntu, and your device could brick but will not be compensated. *
How-to:
1. Download the zip.
2. Unzip it in /sdcard/Download/ut
3. Move or copy ut-system-dl(read "Arguments for "ut-system-dl"" in second post for options) to /data. Then run the script with root(su). You can just type these in terminal instead of doing this step manually (You need busybox and su installed)
Code:
su
cp -a /storage/emulated/0/Download/ut/ut-system-dl /data
sh /data/ut-system-dl
4. Zip everything in /sdcard/Download/ut
5. Flash it in recovery and reboot recovery (Just use the default install menu at home if you are using special recoveries like MultiROM)
6. Enjoy Ubuntu Touch
Bug reports: post your /sdcard/Download/ut/ut-system.log, /cache/recovery/last_log, and copy of the error if possible
Changelogs:
Code:
[b]09NOV2013[/b]
v3.2
-Added official UT disclaimer link
-Cleaner code
[b]07NOV2013[/b]
v3.1
-Support for "generic customization" channels
[b]03NOV2013[/b]
v3
-Support for "*-customized" channels
-More consistent and easier way of configuring files names to download
v2.2
-Download the recovery image properly as saucy-named doesn't exist in the path anymore. --Thanks to @pildoc for reporting.
[b]21OCT2013[/b]
v2.1
-Log file support to the installation script; still need recovery log because of "system-image-installer"
-Support for trusty-related channels
-Workaround for delta images when device files are the same
-Dropped support for old-channel device images
-Workaround for non-patched recoveries
-Show the actual device names rather than codenames to avoid confusion
[b]19OCT2013[/b]
v2
-Add support for deciding which build number to download --$4
-Fix delta image download
-Mount before extracting files
[b]18OCT2013[/b]
v1.2
-Fix for script error
-Aborts installation if script fails
v1.1
-Recovery installation fix; it wasn't moved to the correct path, my bad:(
-Added log file: ut-system.log
[b]16OCT2013[/b]
v1
-Initial
Arguments for "ut-system-dl":
-$1: -auto: default for script, automatically detects the device's codename using the value for "ro.build.product"
-DEVICE_NAME: images for DEVICE_NAME devices
-$2: -full: default for script, full images used for initial installation
-delta: delta images used for updates(OTA)
-$3: -CHANNEL: use CHANNEL channel to download images, default "devel"
-$4: -BUILD_NUMBER: build number of image
I dont get it
Sent from my Nexus 4 using xda app-developers app
gazhead said:
I dont get it
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
It basically installs the recommended version of ubuntu touch
Looks like your path is wrong? If its going into download/ut shouldn't it be:
su
cp -a /storage/emulated/0/download/ut /data
sh /data/ut-system-dl
hockeyadc said:
Looks like your path is wrong? If its going into download/ut shouldn't it be:
su
cp -a /storage/emulated/0/download/ut /data
sh /data/ut-system-dl
Click to expand...
Click to collapse
Dang I made a mistake
Zittoro said:
Dang I made a mistake
Click to expand...
Click to collapse
Haha no problem. I'm trying this out on my phone(Maguro) and it gets stuck at connecting to the server. Any ideas? Just a ton of people trying to download right now?
hockeyadc said:
Haha no problem. I'm trying this out on my phone(Maguro) and it gets stuck at connecting to the server. Any ideas? Just a ton of people trying to download right now?
Click to expand...
Click to collapse
Can you get a screenshot for me?
Zittoro said:
Can you get a screenshot for me?
Click to expand...
Click to collapse
Actually, i just tried again and its working. 53 min ETA but its ok. When I zip this and flash it, does it remove my current recovery? How do I go back to my current rom in the future?
hockeyadc said:
Actually, i just tried again and its working. 53 min ETA but its ok. When I zip this and flash it, does it remove my current recovery? How do I go back to my current rom in the future?
Click to expand...
Click to collapse
It installs a CWM-based recovery with some tweaks and workout for system-image installation. Since it doesn't even touch your system partition, you can just flash an android kernel and get back to android.
Zittoro said:
It installs a CWM-based recovery with some tweaks and workout for system-image installation. Since it doesn't even touch your system partition, you can just flash an android kernel and get back to android.
Click to expand...
Click to collapse
Nice! That makes it pretty easy. Now we just need a way to dual boot lol. Perhaps a program that allows you to select android or ubuntu, and upon android selection it flashes a new kernel?
hockeyadc said:
Nice! That makes it pretty easy. Now we just need a way to dual boot lol. Perhaps a program that allows you to select android or ubuntu, and upon android selection it flashes a new kernel?
Click to expand...
Click to collapse
It's already possible on gnex.
http://forum.xda-developers.com/showthread.php?t=2480404
This kernel has tri-boot option for android and ut and recovery dual-boot using its recovery
Zittoro said:
It's already possible on gnex.
http://forum.xda-developers.com/showthread.php?t=2480404
This kernel has tri-boot option for android and ut and recovery dual-boot using its recovery
Click to expand...
Click to collapse
Awesome!
hockeyadc said:
Awesome!
Click to expand...
Click to collapse
Hey did you get it installed successfully? Some people in a different community say it doesn't. Did it boot into a new recovery when you rebooted it?
Zittoro said:
Hey did you get it installed successfully? Some people in a different community say it doesn't. Did it boot into a new recovery when you rebooted it?
Click to expand...
Click to collapse
I haven't tried yet. I realized how many apps I need and use on a daily basis, so I would rather not install it yet. Just gonna wait it out until Ubuntu is more complete.
Changelogs:
18OCT2013
v1.1
-Recovery installation fix; it wasn't moved to the correct path, my bad
-Added log file: ut-system.log
v1.2
-Fix for script error
-Aborts installation if script fails
Blur
can you guys explain to me step by step in doing so. Sorry for being a noob. i want to learn how to so that i can help others and also improve my knowledge..
subaash said:
can you guys explain to me step by step in doing so. Sorry for being a noob. i want to learn how to so that i can help others and also improve my knowledge..
Click to expand...
Click to collapse
1. Download the zip from the link
2. Unzip it to the specified directory on your phone (you can do this with a file explorer app)
3. Download a terminal app and copy and paste the "code" into it.
4. If you get an error, post your /sdcard/Download/ut-system.log. If you don't, zip everything in the specified folder and flash it in recovery
5. Reboot recovery right after the installation
Changelogs:
19OCT2013
v2
-Add support for deciding which build number to download --$4
-Fix delta image download
-Mount before extracting files
Will this work with kulturom(nexus7) AS secondary ROM?
Wysłane z mojego Nexus 7 przy użyciu Tapatalk
Hello . every one :laugh:. May i ask support for running linux natively on tab 3 7.0.?
Currently i could run Kali ,Ubuntu and Debian in my tablet,,, but only in chroot method , another is i am also able to install the image file (kali.img) in the 2nd partition of my ext sdcard to give it more space,,,, .
The only method that i couldnt make is to run it natively on this tab,,,, I hope there is solution to this ,,,,
How did you get the chroot method to work? I can't get it to
Sent from my 831C using XDA Free mobile app
reinaldistic said:
How did you get the chroot method to work? I can't get it to
Sent from my 831C using XDA Free mobile app
Click to expand...
Click to collapse
just download the complete linux installer ,allow superuser permission
then go to /data/data/com.zpwebsites.linuxonandroid/files
you will see a bootscript.sh file .Edit it using a text editor you prefered and find this line
"mount -t ext2 /dev/block/loop255 /data/local/mnt"
and edit it as
"mount -t ext4 /dev/block/loop255 /data/local/mnt"
save the file. and boot linux now via complete linux installer.
You must have terminal emulator and vnc (if you want to see the GUI).
:good:
stuff to DO
anvil_10 said:
Hello . every one :laugh:. May i ask support for running linux natively on tab 3 7.0.?
Currently i could run Kali ,Ubuntu and Debian in my tablet,,, but only in chroot method , another is i am also able to install the image file (kali.img) in the 2nd partition of my ext sdcard to give it more space,,,, .
The only method that i couldnt make is to run it natively on this tab,,,, I hope there is solution to this ,,,,
Click to expand...
Click to collapse
anvil,
working on p5210 towards this end.
you need
1 an arm-linux distro set to /boot /root and/or /system and /home on seperate partitions and then an .img of those partitions
to correspond to the limitations of your devices mmcblk setup.
2 rebuild your kernel to work with the above - mountpoints dev etc.
3 put up with android for a while because figuring out the above is going to take a WHILE.
if i figure out anything i will post.
m
an afterthought- most of it's already here in a lesser form i think it's mostly
unhooking from one userspace setup into another.
moonbutt74 said:
anvil,
working on p5210 towards this end.
you need
1 an arm-linux distro set to /boot /root and/or /system and /home on seperate partitions and then an .img of those partitions
to correspond to the limitations of your devices mmcblk setup.
2 rebuild your kernel to work with the above - mountpoints dev etc.
3 put up with android for a while because figuring out the above is going to take a WHILE.
if i figure out anything i will post.
m
an afterthought- most of it's already here in a lesser form i think it's mostly
unhooking from one userspace setup into another.
Click to expand...
Click to collapse
yeah i saw many post on other forum your procedure, but unfortunately i dont have any idea how to do it, like making the custom kernel to boot the linux distro instead of android,
init process and initramfs
anvil,
i was reading on another site that the linux kernel since 2.6 [i think] has a default behaviour of searching
for an init process in alternate locations when it can't find the first one, there's also an option
during configuration that allows you to specify an specific location of/for the ramdisk.
meaning if i understand it correctly, the kernel itself is bound to your boot/kernel mmcblk
by the bootloader BUT you could locate your init/ramdisk "off-world" by setting a different / location in kernel cmdline
you can also specify support for different compression methods for initramfs/initrd but i'm not sure if that actually builds in
or if you need a module [*.ko].
m
kali linux
How to get kali linux on tab 3 7.0?? Plz tell me . Tell what all things needed and how to??
Hi there! I'm trying to build CM-12 for GT-I8160 based on TeamCanjica's CM-11. Actually, it has been compiled successfully with some hacks (I skipped imgdiff). But it bricked my phone after I flashed it via CWM. :crying:
I've unbricked my phone by flashing my backup of stock boot partition (mmcblk0p15) to "Kernel" partition via Heimdall. Then, my phone showed CM boot animation for a long time. (bootloop I think, maybe because of stock boot partition isn't compatible with it). And I use stock firmware for now.
I found that type of the boot partition (mmcblk0p15) of the stock differ with boot.img I've built.
Code:
$ file mmcblk0p15-boot (my backup of stock boot partition)
mmcblk0p15-boot: Linux kernel ARM boot executable zImage (little-endian)
$ file boot.img (boot.img I've extracted from cm-12-20141217-UNOFFICIAL-codina.zip)
boot.img: Android bootimg, kernel (0x40008000), ramdisk (0x41000000), page size: 4096
So, what are "Linux kernel ARM boot executable zImage" and "Android bootimg"? Where is the root partition (ramdisk) stored?
Is it okay to skip imgdiff? I think imgdiff is just for creation of OTA package. Am I correct?
I also found boot.img in out/target/product/codina (not in the zip file) which type is Linux kernel ARM boot executable zImage.
Is it the correct boot.img? I found that the content of that file is same with kernel file I found in the same folder. I'm afraid that the ramdisk is not included in it.
Sorry for my English n thank you very much.
Oh. All people wants to have cm12, but still 0 replies here.
I'm sorry, I can't help in this too... /
S.AMU said:
Oh. All people wants to have cm12, but still 0 replies here.
I'm sorry, I can't help in this too... /
Click to expand...
Click to collapse
Hi! It's okay, I've flashed out/target/product/codina/boot.img + gapps. It booted to CM-12 , freezed at the welcome screen n refused to boot again after I force-rebooted it :crying:. Unfortunately, ADB & recovery didn't work, so I didn't know much why it got freezed. Maybe I have to figure out how to compile a nice kernel with working ADB & recovery. Hahaha...