Data2system without deleting data - GT540 Optimus General

Hi!
I read how to make Data2System rom. (http://forum.xda-developers.com/showpost.php?p=14047481&postcount=14)
I try it and it works so good. I wrote a script which do that steps automatically. There is one more difference. Now the script don't flash your rom, just transform the selected nandroid backup. So you don't lose any of your data.
1. Download this zip, and unpack it to your linux running computer.
2. Backup your rom in recovery, and copy the folder (clockworkmod/backup/<yourbackup>) from your phone to the directory where you unpacked the zip.
3. Rename in data2system <yourbackup> folder to <yournewbackup>. Take care <yournewbackup> don't contain spaces.
4. Open a terminal, and type cd <the unpacked folder> (e.g. /home/user/data2system).
5. Type ./data2system <yournewbackup>, check the output in terminal. It should be something like this:
Extract boot.img
806 blocks
Command line: mem=214M console=ttyMSM2,115200n8 androidboot.hardware=swift
End extract boot.img
Change boot configuration
Pack boot-new.img
Resize boot-new.img
Boot image prepared
System and data images replaced​If you get any errors, try this tutorial again!
6. Done, copy back, and you can make a restore ​It works if:
you have a nandroid backup
your system.img is not bigger than your data partition on your phone
Download zip here: http://dl.dropbox.com/u/18578045/Data2system.zip
If you do it again with the changed backup in practice you'll get your original backup.

Awesome. Gonna try this out.

This doesn't work!!
did you even try it yourself??
i followed everything carefully
data2system is not a recongised command

Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX

vkrissz said:
Because you have to type ./data2system <the name of the folder> and not .\data...
AND check that on your computer is running LINUX
Click to expand...
Click to collapse
i did that and how do i check if i have linux?
how do i install it?
i am windows 7

Linux is a kind if OS.
Did you heard about Google? You can find for example how to install Ubuntu. Ubuntu is just one of linux OSs. You can run it in virtual machine, or just boot from live cd, or install instead of windows, or install to another partition beside the windows.

androidboss7 said:
i did that and how do i check if i have linux?
how do i install it?
i am windows 7
Click to expand...
Click to collapse
I dont wanna be rude, but I have to ask is this serious?

delsus said:
I dont wanna be rude, but I have to ask is this serious?
Click to expand...
Click to collapse
yes i am being serious!!
I know a little about android and computers!!

androidboss7 said:
yes i am being serious!!
I know a little about android and computers!!
Click to expand...
Click to collapse
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them

delsus said:
Well Linux is an open source operating system, there are alot of differant distributions of it, (infact Android is based on Linux) you can download most distributions of it free, a few are Ubuntu (which I have in a VM) Fedora, Back Track and Red Hat (paid).
It is recommended to either dual boot your PC or run Linux in a virtual machine because program compatibility isnt great with it although you can use emulators to run programs like wine.
The switch from Windows to Linux isnt easy though especially if your not great with computers because there is so much differant.
Here is a download link for ubuntu and VMWare player (both free) for you to try out, and the data2system method in this post will work.
http://www.ubuntu.com/download
http://www.filehippo.com/download_vmware_player/
PM me if you need instructions to install and run them
Click to expand...
Click to collapse
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??

androidboss7 said:
thanks bro!!
but i think this is a bit too complicated for me!
but i have 1 question!
if i use mur4iks bootloader to resize my partitions like this (or whatever)
150 system partition and 234 data partition
is that still like data2system??
Click to expand...
Click to collapse
Its 2 different things. When you change bootloader it really resize your partitions. It take effect until you change it again.
This script (Data2system) only change one of your nandroid backups. So when you flash a new rom, or restore one of your elder backups the system partition will be the original partition. Its safer then change the bootloader, but it take effect only for one backup.
For you: if your data partition size is 234 and your system is 150 (because you change your bootloader) and then you do Data2system. On that rom you will have only 150 data.
Data2system is for someone, who need more space, but don't want to resize partitions or change bootloader.

Related

where and how is root.zip saved on linux bootcd system

have a new system with kubuntu linux 10, bootcd only.
where and how is root.zip saved since nothing is installed and linux runs from cd ?
what program is used on a bootcd system to open it? since nothing is installed, how is the file saved?
as trying to follow steps in http://forum.xda-developers.com/showthread.php?t=714250
A live cd runs as if it were a fully installed operating system, the only difference is that it runs from the cd. As for the files you need they can be downloaded from the the two posts. "How to root the Aria" and the " Liberated Aria" thread.
Sent from my HTC Liberty using XDA App
I Know the files, I do NOT know how they are opened on a bootcd system with no drives
where is root,zip saved? how is root.zip opened?
Most modern LiveCDs allow you to read files from a USB drive. So, you could put the files on the key in windows and then have access to them after booting from a LiveCD.

Making/editing system.ext2 in Windows 7

I am wanting to change and get my own build working... based on enomther for the Nexus One.
Currently I do not have dual boot setup (had to format pc). Is there anyway I can just edit a current system.ext2 file that I already have in windows or would I need to generate a new one in a linux based system.
Basically I want to know if I can take an update.zip file for the N1 and replace everything in the system.ext2 file with everything in the update.zip file.
Pretty sure you need linux to mod the ext2
have you tried using a VM to install linux into?
mastajest said:
Pretty sure you need linux to mod the ext2
have you tried using a VM to install linux into?
Click to expand...
Click to collapse
yea, I had it running on my PC before I had to wipe it. I just havent gotten it running again. Been so busy with work and school.
I am off for a few days, so that will give me something to do.
Suggested solution
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Just download a disc image from here...
http://www.livecdlist.com/
Burn it to a CD and boot from that. No need for dual boot.
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. 2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
can you edit system.ext2?
i install 1&2,and i can mount system.ext2,but i can't modify anything.
sorry for my bad english!
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
simple & work in win7
thanks bro
Corias said:
I've managed to mount system.ext2 to Windows 7. Without VM and Linux at all.
What tools are needed:
1. Windows Ext2/Ext3 driver. You can get it from here.
2. Any software to mount image to virtual drive. I've used Gizmo Drive, but there are others also working.
Tip: Gizmo doesn't show ext2 as supportable image type, when you browse for image. So, manually type *.* filter.
Click to expand...
Click to collapse
you can also simply rename the system.ext2 file to system.ext2.img, will work too
idogxx said:
can you edit system.ext2?
i install 1&2,and i can mount system.ext2,but i can't modify anything.
sorry for my bad english!
Click to expand...
Click to collapse
I was not able to write anything to mounted ext2

Duel booting thread Finished :)

One of my favorite things about android is being able to duel-boot os's and playing around with Linux distros ,but ive seen a drop off of them being brought to Android sadly . so im starting this thread in order to get all the duel-boot,chroot boots and all other ones into one place if i forget one please let me now and ill do my best to add it
Note these are not all native boots and i take no responsibility for anything that happens to your device, these are not mine either and the owners should be thanked im just bringing them together :victory:
Native Boots
My favorite and best (in my opinion) are the native boots Starting off is Ubuntu as a native boot
UBUNTU
The original creators in bringing Ubuntu to the Acer a500 first are right here on XDA netham45 and sp3dev The original thread can be found here Here
To start off on booting Ubuntu Natively you're going to need Root obviously and acer recovery installer which can be downloaded from the Android market
for the sake of this tutorial ill go over booting it off the internal storage :laugh:
1.Start by making sure you have 8gigs free of internal storage as this is how big the .rar is unpacked
2. after you download acer recovery installer youll need to flash this recovery Here
3. After that download all 3 of these .rar's onto your pc put them in a folder of there own and extract the first one they should all merge giving you one rootfs File1 File2 File3
4.once you get the rootfs move it to the home directory of your internal storage
5. power off your tab and boot into your recovery using power and volume- and your good to go
6.some tweaks you could do would be
For sound
Code:
usermod -a -G audio <your username here>
For cpu frequency scale
Code:
sudo add-apt-repository ppa:artfwo/ppa
sudo apt-get update
sudo apt-get install indicator-cpufreq
it will appear in you task bar on reboot best set to performance
:laugh:
Backtrack
Ive been told it works the same way but replacing the ubuntu.img with the backtrack.img which you can download from
http://www.backtrack-linux.org/
Cannot confirm this if someone tests it please reply back
BODHI LINUX
Bodhi Linux is another Linux brought to android with the dev being here on XDA apapousek Make sure to look at the original thread and thank it Here
There are to differant builds Alpha1 and Alpha2 ill be going over Alpha2
1.Start off by using gparted or any partitioning tool should work, and partion your micro sdcard make the first one as ext4 and make it at least 1.5gb name it bodhi make your second partition 128mb at least of fat32 format
2.mount the partitions
3.download bodhi Linux from Here
4.Extract the bodhi tarball to the root of your micro sdcard by using the commands
Code:
sudo su
cd /media/bodhi/
tar -jxvf /home/name/bodhi_alpha2.tar.bz2
5.Copy recovery.img to the second partition and flash it using Acer recovery installer from Here
6.Boot into recovery and you should be good to go
7.once booted into bodhi open terminal and type in setupwifi
CHROOT
Not as good in my opinion alot less functionality but there still fun for testing out a Linux distro and require less space without having to sacrifice your recoveryThere basically running a virtual machine on top of android to run a Linux distro all the ones I've tried have been slower so i just tend to stay away from them but feel free too XD
First of all there's a couple of different apps that will help you get it installed hassle free (for the most part)
starting off there's Linux installer standard Here
There's also Complete Linux installer with two donate versions available Here
Manual Method
There's also a more manual way of setting up chroot.
1.Make sure you have a terminal emulator Here 7zip Here and a .img file for a linux distro ill put up backtrack since it seems to work well make sure you get the ARM version of Backtrack And finally Android VNC Here
2.Download the .Img file of your choice in this case Backtrack 5 and extract it once this is done you will get another folder with bt5.img.gz and a whole other bunch files right click on the bt5.img.gz and go to extract here now copy them all into a folder called BT5
3.copy the folder called BT5 to the internal storage of your device it will be around 5gigs
4.Make sure you have Root access and busybox installed
5.Now open up your terminal emulator app and type in
Code:
su
cd/sdcard/BT5
Then hit enter and type in
Code:
sh bootbt
You should see [email protected] if it worked if it did then you can go ahead and use BT5 commands or you can get a gui by typing in.
Code:
tightvncserver -geometry 1280x800
Hit enter then type in
export USER=root
hit enter then
vncpasswd
Now its going to ask you for a password just create any random one and then verify it . After that it will ask you if you want to create a view only password hit n
6.Finally open VNC android you'll have nickname which doesn't matter port which is usually 5901 if that doesn't work try 5902 or 5903 address leave bank and make sure your connected to [email protected] just hit connect and your done one final thing to remember though is when you want to exit you have to go back to terminal and type in exit to shutdown
WINDOWS
WINDOWS95
windows is actually run through an app which emulates it i believe it has little to none drivers instaled and you cant really do much that ive found but its fun to mess around with and show off :laugh: to get this up and running is pretty simple all you have to do is.
1.Download this .rar HERE
2.Extract the folder to get a sdl.apk and a folder called sdcard move both of them to the root of your sdcard
3install the .apk and open it when shutting down though you have shutdown the right way by hiiting shutdown if you dont on reboot youll get a scandisk error
WINDOWS XP
Windows xp is even slower more useless and way more complicated to run BUT its still kinda cool to have
1.First you'll want to download everything you'll need bochs for android from HERE Sdl.zip from HERE Bochs for pc from HERE and Qumu manager for pc HERE. Last thing you will need is a windows xp.iso file not .img but .iso (ide post one but i read somewhere its ilegal to post .iso for windows :/ )
2.Download and install boch's for android on your tablet then move the SDL.zip to the root of your SDcard
3.Install Boch's and Qemu manager onto your pc
4. what you going to need to do is run a virtual machine with the .iso you have so first thing you'll want to do is once you install Boch's for your pc hit the start button then go to all programs and find the Boch's folder inside of that folder there should be a program called Disk image creation tool.
5. Next type in hd then hit enter, after that type in flat then hit enter ten after that its telling you what size you want it to be usually windows xp doesnt need more than 1.5gb so type in 1500 and hit enter then finally type in c.img and hit enter.
6. Now you want to open Qemu, once inside Qemu you want to start a new virtual machine do this by going to the vm tab and click on new virtual machine.
7.you can give it any nickname it doesnt matter just give it one and hit next.
8.Now it wants to know how much ram you want to allocate to this virtual machine 512mb to 1gb is usually fine pick and hit next.
9. Then hit finish now what you want to do is install the .iso to the blank image file but you need to specify what it is so go to the drives tab, click on Harddisk zero.
10.now you have to find the file c.img its usually located in program files/bochs you might have to make sure all files is selected in your file type bar.
11.Select thec.img file and hit ok
12. Now you want to click on your cd-rom that is your windows xp.iso file so browse and find your windows xp.iso and click ok.
13.Now your ready to run your virtual machine just hit the run button (green one) and if everything went alright you should see it start to boot up.
14. Now you'll have some on screen prompts make sure you follow them and choose ntfs file system when it prompts you to. (process will take 30min+ depending on computer speed)
15. Once your installation has been completed and your at the desktop you want to stop virtual machine. click yes end session. (i know right all that time just to spend two seconds in it)
16.Now you want to find the c.img file which is no longer blank and has windows xp installed to it. Usually in program files/bochs copy it then paste it inside the folder called sdl on your sdcard. If there is already a c.img inside of it just overwrite it.
17.okay almost done (i promise ) your going to want to copy all this code
Code:
megs: 256
cpu: count=1, ips=6000000, reset_on_triple_fault=1, ignore_bad_msrs=1
# filename of ROM images
romimage: file=BIOS-bochs-latest
vgaromimage: file=VGABIOS-lgpl-latest
vga: extension=cirrus, update_freq=25
pci: enabled=1, chipset=i440fx, slot1=cirrus
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
ata0-master: type=disk, path="c.img"
#ata0-slave: type=disk, path="d.img"
#ata1-master: type=disk, mode=vvfat, path=/sdcard/HDD, journal=vvfat.redolog
#type=cdrom, path="CD.ISO", status=inserted
boot: c
config_interface: textconfig
#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga
log: bochsout.txt
sb16: enabled=1
mouse: enabled=1
sb16: wavemode=1, dmatimer=500000
clock: sync=none, time0=1
Now go to your sdcard/and go the sdl folder and find the bochssrc.txt file overwrite everything in that file with the lines of code you just copied
The megs value at the top is how much ram you want to allocate to windows xp
18 Save te text document and your ready to run windows xp just open up bochs on your phone
Miscellaneous
These are all the os's that ive found that have been duel booted but are not worth it or a tutuoriol was never released will update it as i find them.
so far the only one i know of is Armedslack thsnks to hellvy from what i know of its the same way as bodhi linux but using armedslack packages
MAC OS
Im trying to figure out old mac os and newer ones right now ill be righting a tut once i get it figured out
Just adding another distro. I'm running ARMEDslack. You can use BODHI LINUX approach for installation, but use armedslack's Mini root filesystems instead. For me, there's so many stuff i have to do after installation (mainly recompiling apps & libs) and i'm not sure if anyone interesting in Slackware distro this day. So i'm not recommend this distro unless you have too much free time and know how Slackware work
Another thing, is there anyone get nvidia display driver works? i can't see any practical step to get it working, just ac100 display driver unbuntu package. If anyone get it working, pls share xorg.conf to me
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
el.quechon said:
Does ext4 partition has to be the first partition or second to boot bodhi because vfat as second partition cannot be recognized by cwm recovery and I cannot copy any files from internal to external sdcard
Click to expand...
Click to collapse
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
gears177 said:
first and its not meant to be copied you haven to dd it to it sorry you can't just copy it directly i don't think and fat32 is what the second partition needs to be
Click to expand...
Click to collapse
it booted in to terminal but usb port didnt work so couldnt use keyboard
No need to flash the kernel to recovery partition, use my dualboot bootloader.
It booted ok for me but it wont let me login at all
Sent from my LG-MS695 using Tapatalk 2
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Drewmungus said:
I have a couple questions...
How well does Linux(mainly Ubuntu) run on the A500? Like is it smooth and all the various controls work well.
Does the HDMI out work? If so can you extend the desktop through the HDMI out to another screen. Like have two different windows on each screen.
Click to expand...
Click to collapse
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
gears177 said:
I'm not sure bout hdmi if you do all the tweaks it runs reasonably well but won't run games and still lags when opening huge programs i had it for a couple of months for the most part you can install whatever you want some programs have missing repositories and you would need to create you own but there not that common i used it for compiling c+ as i need the multiwindow to do it but it will most likely crash if you try to update it i updated it to 12.04 successfully but was then having wifi problems you wil need an external usb keynoard to set it up at first when you boot up click on the top right corner and connect to wifi before doing the setup saves you a couple of steps
Click to expand...
Click to collapse
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
el.quechon said:
gears177 can you tell me how did you fix wifi after upgrading to 12.04, are you using the ubuntu image from netham and while upgrading did you have any trouble with the packages related to plymouth
Click to expand...
Click to collapse
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
gears177 said:
i never did fix it i tried everything i could think of nthing worked i dont know it seems that its not even turning on your wifi card i dont know maybe mess around in terminal and try to turn it on with wlan0 up or whatnot im not sure maybe if i get some free time ill try again as for updating i did it in small amounts and i didnt update everything im not sure but i did have a couple of errors they might of been related to plymouth
Click to expand...
Click to collapse
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
el.quechon said:
Thats it plymouth i dont know why it keeps failing to instAll and i tryed that thousand times upgrading it always break wifi
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
try installing it manually might work
sorry it took so long guys but its finally done for the most part
does netham have a source code for his kernel
el.quechon said:
does netham have a source code for his kernel
Click to expand...
Click to collapse
maybe in the original thread i didnt find one but then again i didnt really look
http://forum.xda-developers.com/showthread.php?t=1158260
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
lifeofcoding said:
Great work man! I am so happy as a huge ubuntu fan to have this tutorial here for my beloved device.
Sent from my A500 using xda app-developers app
Click to expand...
Click to collapse
Thanks
el.quechon said:
Hey guys is there a script like v6supercharger for ubuntu
Sent from my LG-MS695 using Tapatalk 2
Click to expand...
Click to collapse
I dont believe so someone could always make one....
Backtrack works natively.
If you go on kernel-xp website there is a RTL8187 kernel for chroot which works well. Its based on acer ICS source code
Sent from my Galaxy Nexus using xda premium

{TUTORIAL} Bodhi Linux on a500

EDIT:
Now you can follow the same process into rogro82's kernel, thanks to Forzaferrarileo. Note that you can just flash the kernel, if you already put it to work with sp3dev's kernel. There's no need to repeat all process.
I've, also, changed some structures for better visualization.
This tutorial is using the sp3dev's precompiled kernel from here or rogro82's precompiled kernel from here. If you want to use rogro82's from scratch or from internal storage, please look, also, some instructions at here. Please note that you will have to build that kernel from sources before proceed. You should be able to use internal storage also, with some changes into this tutorial.
I used a phisical usb keyboard into this tutorial, but bodhi offers an onscreen keyboard into tablet profile. To change into this profile, look at here.
It's partially based into this tutorial. I'll refer to number of steps on that, so please open it. Please read everything before doing anything, and make sure you have no doubts about the process before doing anything. I'm not responsable if it damages your tablet!
First of all, download the Bodhi rootfs from here.
Then, run the first 3 steps from the tutorial above. Please note that if you'll run the rogro82's kernel, the step 2 should be flashing that kernel. For infos about how to flash the second kernel image, please read this thread's first post.
After, extract the Bodhi rootfs into the ext4 partition from your sdcard (I needed to be logged as root or use sudo for doing this step). Make sure to extract directly into the root of the partition (the result of a ls into the root of the partition should be just like running ls /).
Now, you need to donwload the zip file from step 6 from the tutorial. Note that it's not needed to install the packages asked by the step 6, just extract the donwloaded files and copy them into your sdcard's /lib/firmware folder. I just copied the brcm folder into /lib/firmware/brcm and it worked.
Now you are able to boot into the image. Put sdcard into the tablet and then boot from second kernel (hold VOL UP while powering on until it shows bootmenu and select boot into second kernel).
After complete booting, you should have the E17 home screen. For tutorials about this interface, please look into Bodhi website.
For being able to connect into wifi, I needed to open terminology (terminal application into bodhi) and run, as root, the following. Please note that it may not be necessary, but recommended:
- rfkill unblock all
- ifconfig
Now please see what number your wifi got loaded, for me, it was wlan2. I'll call it wlanx, so just change x for the number you got.
- ifconfig wlanx up
To make sure it worked, run "iwlist wlanx scan". It should bring some network details into terminology.
Now open wicd, open preferences and make sure the wifi network is correctly set into wlanx. The default value is wlan0. Then, close preferences and click into reload. Now you should be able to select your network, set up the network preferences and then connect into it.
Now you should be able to install everything you want. As I read, bodhi uses a debian base for armhf version, so you can install anything you can install from debian. Chromium web browser is broken, and firefox is named iceweasel. The default midori web browser works fine, but I personally prefer iceweasel.
Thanks:
sp3dev, rogro82, Kevin Roscom, Forzaferrarileo (if I forgot someone, please tell me, I'll put your name here!)
i'd love to try this! does this run fairly well?:good:
For me it does. I have a class 10 sdcard.
guimendes said:
For me it does. I have a class 10 sdcard.
Click to expand...
Click to collapse
root password?
Tautvaldas said:
root password?
Click to expand...
Click to collapse
Please take a look at here: http://jeffhoogland.blogspot.nl/2012/12/bodhi-linux-armhf-rootfs.html
You can use sudo bash to root access. The password is bodhilinux. Then you can set root password.
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
adrock74 said:
Hey this is my first time installing linux on a tablet. Ive got the partitioned sd card, rootfs, kernel ready to go. just not famaliar with how to flash the kernel. Could you maybe give me an idea of those steps? For a first timer as far as android is concerned, the instructions can be a little vague. Thanks
Click to expand...
Click to collapse
Please, first, make sure you're using this bootloader for dualboot. Into the thread there are all instructions for flashing the kernel into secboot, on dualboot section, into first post.
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
adrock74 said:
Ive been on v8 unlbootloader for awhile. Just never flashed a sec kernel before.
Click to expand...
Click to collapse
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Forzaferrarileo said:
download the fastboot package ( from xda , or search on google ) , next connect the tablet with usb to the pc , reboot the tablet with the bootloader menu and select fastboot ...... the pc will install drivers , when it finish , go in the fastboot folder click SHIFT + right click and select "open command window here " and type this :
fastboot flash secboot <nameofkernel> ex : fastboot flash secboot boot.img
Click to expand...
Click to collapse
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
adrock74 said:
Thanks for the reply! Ive flashed this tablet seven ways to sunday within android, but this is kinda new to me. Recently installed 12.04 on my desktop as my intro to linux without a hiccup. I cant seem to get the tablet to respond to my computer. Have the sd card setup ready to go, terminal only says file does not exist ( in regards to secboot) should sd be in tablet or usb? Ive been at it all day. Should i rename anything? Thanks again.
---------- Post added at 04:43 PM ---------- Previous post was at 04:35 PM ----------
I Simply cant seem to get the kernel flashed. Once i get past that, i believe its smooth sailing..
Click to expand...
Click to collapse
Please look if fastboot recognized your tablet. Run fastboot devices. If there's an answer, then your tablet was recognized. It can be missing drivers. From acer site it's possible to find the correct drivers.
ok. so not having the acer drivers seems to be my issue. But, Im trying to do this using my pc running ubuntu, and I'm not sure how to get the acer drivers installed on it. I'm sure there is a trick, but the downloads are for windows. And also the downloads are for honeycomb and ics and im running 4.2.2.
Well I cannot help you installing drivers into ubuntu, I made it into Windows.
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Tautvaldas said:
on android terminal emulator:
cat /proc/mounts
make sure that data is on /dev/block/mmcblk0p8 not p7
if so then:
dd if=your_second_boot.img of=/dev/block/mmcblk0p7
do it within android, not within linux or initial ramdisk console on you tablet, because linux recognize data as /dev/mmcblk0p7. sorry for bad English.
Click to expand...
Click to collapse
thanks for the response, what will this be doing??
adrock74 said:
thanks for the response, what will this be doing??
Click to expand...
Click to collapse
It'll flash the kernel into the correct partition, via android.
guimendes said:
It'll flash the kernel into the correct partition, via android.
Click to expand...
Click to collapse
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
adrock74 said:
ok gotcha. Sorry to be a bother, but i want to do this. Right now ive got my kernel and rootfs on a partitioned sd card in my extsd slot. If I flash the kernel using terminal, where should it be?
Click to expand...
Click to collapse
If you follow strict what Tautvaldas said, it'll be placed in the right place for dualbooting, the same if you use fastboot tool.
Thanks for your help guys. But mixing and matching this and that, i give up. Ive flashed the sh*t out of this tab, but without a unified tutorial, i cant make sense of this. Ive been running linux on my pc and laptop, so this isnt foreign to me, but i need a more straight forward tutorial. Thanks though again. We all have to learn sometime:good:
I ran a dist-upgrade on it and my wifi now seems broken - rfkill can unblock it but ifconfig returns SIOsomething something error, permission denied. Ideas?

[Guide] Mac OsX Snow Leopard on Zenfone 2 with Qemu-KVM

I manage to run Mac OsX Snow Leopard on zenfone 2 (thanks to ycavan and his windows 10 guide). I create a guide to help people to test it, so lets begin:
https://www.youtube.com/watch?v=COV_l-f7FO0
Edit: This guide works for install windows too. Please see post # 7: https://forum.xda-developers.com/showpost.php?p=72426017&postcount=7
You must have a kernel with KVM function enabled. I personally use this rom
which include KVM kernel: https://forum.xda-developers.com/zenfone2/development/rom-rbr-v1-0-t3550544
Download OsX Snow Leopard Iatkos S3V2 iso image (torrent search iATKOS_S3_V2.zip)
Download and Install VirtualBox 4.3.40 (newer version doesnt work) on PC
Open it and create a Virtual Machine (VM) as following:
Name: Snow Leopard
Type: Mac OS X
Version: Mac Os X (64 bit).
Ram: in the top green right
Create a Virtual Hard Drive named SnowLeopard (vdi format, 10 gb or up recommended, fixed size)
Click on Configure:
On System untick disquette and untick enable efi
On Display....video memory full to the right
On Storage click on the cd image and select your iatkos.iso previously unzziped
Click ok and start VM (green arrow)
When a chameleon image appears press F8 and type: -x busratio=29 (if busratio does not work and get kernel panic, you must google your PC processor´s bus ratio and change this number with yours)
Installation now begin:
Select your language
click on Utilities and disk utility. click on your disk, click on erase and select Mac OSX extended(journaled) and click erase. Then close disk utility and continue with installation. Click on continue, right arrow, then click in your disk and select Customize:
On bootloader untick AsereBLN and tick chameleon v2 rc4
On bootloader option tick Graphics Enabler
On drivers, in main hardware tick on SATA/IDE, and tick network
Click OK and click on Install. At this point the OSX installation will begin.
Reboot the virtual machine and your OSX should start.(if you get a kernel panic for VodooHDA kext, you have to delete the kext with this guide: http://www.osxlatitude.com/remove-kext-from-single-user-mode/ it is located in system/library/extensions).
When you started the VM, go to safari and search for "Multibeast Snow Leopard Edition", and download it. Open it and tick EasyBeast Install, and above tick ShowallFiles on OSx86 software. Click install. Reboot your machine. Go to applications, open showallfiles and click Show. Go to finder, SnowLeopard disk, /Extra folder and in extensions folder delete ElliotForceLegacyRTC.kext
Open safari, go to https://github.com/kholia/OSX-KVM/blob/master/kexts/QemuUSBTablet-1.2.pkg and download QemuUSBTablet-1.2.pkg and install this package. Power off Virtual Machine.
In your pc go to C:\Users\(your user name)\VirtualBox VMs\SnowLeopard and copy SnowLeopard.vdi to your internal storage on phone (you must have at least 11 gb of free space).
On your phone:
Go to Play Store and install Linux Deploy. Open it and click on down arrow. Change this options: distribution (ubuntu), Suite (xenial), username (android), password (advr), enable init, enable mounts and in mount points add /sdcard , enable ssh, dont enable GUI. Back and in the three dots click on install. It can take over 20 minutes to complete. Click on start.
Download, unzip and copy my script attached in your internal storage (not microsd).
Download aSpice Free from Play Store. Open it and in connect type 127.0.0.1:5901. Dont click connect, only minimize app
Download Termius from Play Store. Open it and click bottom right to start a new session. Type localhost:5900 and click connect. User: android pass: advr
Once connected type the following:
sudo su
apt-get update
apt-get install qemu-kvm (type y if prompted)
cp /sdcard/osx.sh /
chmod a+x /osx.sh
/osx.sh
If you get "QEMU 2.5.0 monitor" you are right, if not, search for errors.
Open aSpice free and click connect. VOILA! You should see your osx Snow Leopard starting!
thanks to @ycavan and his guide: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299
Thank you very much.
Can I use your guide for installing windows, or not?
bahaa87 said:
Thank you very much.
Can I use your guide for installing windows, or not?
Click to expand...
Click to collapse
Yes, the concept is the same. I recommend you use this guide made by Ycavan: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299 to run Windows, i personally use it, but for ease to manage I create the images (windows, osx) in virtualbox first and copy them to my phone and ejecute in vdi format on qemu-kvm.
this is awsome!!! i'll be trying it tonight! any luck with the newer operating systems?
bonznumber1 said:
this is awsome!!! i'll be trying it tonight! any luck with the newer operating systems?
Click to expand...
Click to collapse
Newer OS should work, I installed SL because i have this iso file on hand, but i dont think there are any problem installing Yosemite, EC, Sierra, considering obviously it will consume more resources
alvavaca said:
Yes, the concept is the same. I recommend you use this guide made by Ycavan: https://forum.xda-developers.com/zenfone2/general/zf2-running-windows-7-using-kvm-t3153299 to run Windows, i personally use it, but for ease to manage I create the images (windows, osx) in virtualbox first and copy them to my phone and ejecute in vdi format on qemu-kvm.
Click to expand...
Click to collapse
I tried Ycavan guide but I don't understand all steps. And I don't find any video explain it. So I want to try another guide to install windows in my phone, because I need it very much.
bahaa87 said:
I tried Ycavan guide but I don't understand all steps. And I don't find any video explain it. So I want to try another guide to install windows in my phone, because I need it very much.
Click to expand...
Click to collapse
My guide works for installing Windows too. Instead of installing mac osX in virtualbox you must install windows (with any iso installer image) and create a disk (vdi) called windows (no matter which version is, 7, 8, 10) and use this script instead of the other. The other steps are the same, only continue from "On the phone" part. Obviously you must copy the script attached on this post instead the other and to start windows you must run this on termius (type one by one and press enter):
sudo su
apt-get update
apt-get install qemu-kvm (it take a while) type "y"
cp /sdcard/windows.sh /
chmod a+x /windows.sh
/windows.sh
My guide differs from Ycavan in that he installs the system on the phone and I create the image on the pc with virtualbox and then transfer it to the phone, but the concept is the same. I give you my scripts ready to use, Ycavan explains how to create the scripts (is hard to understand if you dont know the elementary concepts). Good luck.
alvavaca said:
My guide works for installing Windows too. Instead of installing mac osX in virtualbox you must install windows (with any iso installer image) and create a disk (vdi) called windows (no matter which version is, 7, 8, 10) and use this script instead of the other. The other steps are the same, only continue from "On the phone" part. Obviously you must copy the script attached on this post instead the other and to start windows you must run this on termius (type one by one and press enter):
sudo su
apt-get update
apt-get install qemu-kvm (it take a while) type "y"
cp /sdcard/windows.sh /
chmod a+x /windows.sh
/windows.sh
My guide differs from Ycavan in that he installs the system on the phone and I create the image on the pc with virtualbox and then transfer it to the phone, but the concept is the same. I give you my scripts ready to use, Ycavan explains how to create the scripts (is hard to understand if you dont know the elementary concepts). Good luck.
Click to expand...
Click to collapse
Thank you very much.
I'll try it tomorrow.
apt-get is a debian tool...not found on android...how did u manage to use it?
Apt-get is used in linux deploy...not in android system

Categories

Resources