Related
Does anybody succeded in booting a functional chroot ubuntu or debian on this beautifull smartphone?
.. i'm kinda stuck at top of it, can't load at all the image
Please post here your discoverings/progress/scripts
hi , i try to install debian from the linux installer app but the installation stop at fetching distro. I really need it because need hamachi to work.
if you can post a prepared image for mounting in a loop??
i search it....
imayoda81 said:
Does anybody succeded in booting a functional chroot ubuntu or debian on this beautifull smartphone?
.. i'm kinda stuck at top of it, can't load at all the image
Please post here your discoverings/progress/scripts
Click to expand...
Click to collapse
chroot does work but sadly i could only get it working through adb shell and even that by manually typing every command.Tried to create a script for it but sadly that does not work.could not understand why that is as manually typing those commands in adb worked.
Anyway been a long time since i tried that.Will re-try in a day or two once i fix my computer
I guess that's something wrong with kernels.. does anybody compiled one with loop ? mine seems not containing it..
plus scripts act very strange, confirmed..
any more people trying this?
imayoda81 said:
I guess that's something wrong with kernels.. does anybody compiled one with loop ? mine seems not containing it..
plus scripts act very strange, confirmed..
any more people trying this?
Click to expand...
Click to collapse
Nothing wrong with the kernel.Which one do you use?I use the Stock Rom.It has support for looping.I can give u a screen shot of the adb running ubuntu(on the command line ofcourse).Will start with the scripts again in a day or two.Interested?
mickeul said:
why don't you try to install archlinux, because you can install it with the chroot installation on the desktop ?
Click to expand...
Click to collapse
I doubt it will work on the Optimus.Will try your suggestion also soon.
edit:got debian to boot from terminal emulator.The only thing remaining are the scripts.
manasgirdhar said:
I doubt it will work on the Optimus.Will try your suggestion also soon.
edit:got debian to boot from terminal emulator.The only thing remaining are the scripts.
Click to expand...
Click to collapse
Can you please upload some material? also we may try Gscript for booting.. what's wrong with scripts ? I can't immagine where's the probelm.. sh problem? maybe better bash?
imayoda81 said:
Can you please upload some material? also we may try Gscript for booting.. what's wrong with scripts ? I can't immagine where's the probelm.. sh problem? maybe better bash?
Click to expand...
Click to collapse
Yaa Sure.i will upload the stuff in a day or two.See the Problem is creating loop using scripts.When i give the following indiviual command:-
mknod /dev/loop99 b 7 0
then it works but when i give the same command using a script(.sh) it gives an error 'knod:invalid number'.Till the loop is created we wont be able to mount the device.at the moment i am trying a few alternate commands.If it can work i will post the complete work.If not then i will post the image file and the temp scripts.
Its damn hard getting it to work.If it works then i will also work on debain and BackTrack 5 and other arm linux's.Lets hope for the best.
manasgirdhar said:
Yaa Sure.i will upload the stuff in a day or two.See the Problem is creating loop using scripts.When i give the following indiviual command:-
mknod /dev/loop99 b 7 0
then it works but when i give the same command using a script(.sh) it gives an error 'knod:invalid number'.Till the loop is created we wont be able to mount the device.at the moment i am trying a few alternate commands.If it can work i will post the complete work.If not then i will post the image file and the temp scripts.
Its damn hard getting it to work.If it works then i will also work on debain and BackTrack 5 and other arm linux's.Lets hope for the best.
Click to expand...
Click to collapse
we should contact some kernel developer just to understand if loop is compiled in actual kernels.. I use B17 modaco but thing act crazy when i issue a mount command.. best wishes for ur work
imayoda81 said:
we should contact some kernel developer just to understand if loop is compiled in actual kernels.. I use B17 modaco but thing act crazy when i issue a mount command.. best wishes for ur work
Click to expand...
Click to collapse
No need to bug the dev's for such a small thing.Loops are supported in the original LG Kernel.Like i said i can mount it by typing all the commands manually but the problem occours when i use a script to do the process automatically.
If loops were not compiled i doubt i could get it to mount even by manual commands.
What craziness happens with you when you issue a mount command?
Maybe i could advise you on that?
EDIT:I think i finally found the problem with the script.Not Sure.will do some further testing and get back to you.
Hello !
If that can help, got Ubuntu running on mine, using this : http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
I'm using the CM7-RC1. The files should be placed in /sdcard/ubuntu/ <-- check your /sdcard symlink ! With CM7, it's fine. But stock got a weird behaviour.
anyvie said:
Hello !
If that can help, got Ubuntu running on mine, using this : http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-android/
I'm using the CM7-RC1. The files should be placed in /sdcard/ubuntu/ <-- check your /sdcard symlink ! With CM7, it's fine. But stock got a weird behaviour.
Click to expand...
Click to collapse
even i just moved to cm7 RC-1.Gonna check my scripts now.
i got my hands on Maemo in a chroot envoirnment.atleast thats what was said on the file.i still have not tested it.Anyone interested in the img?
Edit:Got the Boot script to work for debian Finally.Now creating the prep script.once done will check on the official kernel and then post Debian atleast.Right now checking on cm7.
manasgirdhar said:
i got my hands on Maemo in a chroot envoirnment.atleast thats what was said on the file.i still have not tested it.Anyone interested in the img?
Edit:Got the Boot script to work for debian Finally.Now creating the prep script.once done will check on the official kernel and then post Debian atleast.Right now checking on cm7.
Click to expand...
Click to collapse
CM7 RC1 is a good base to start from.. even too good
however I get variable results launching mount commands in FR17 even from adb... sometimes it crashes the shell after a ioctl error..
i'm giving up on stock based roms.. there something wrong with busybox commands in them..
are u working chroot on top of CM7 RC1 ?
This thread should be moved to dev, am i wrong or maemo is on works here?
Sent from my Optimus 2X using XDA App
imayoda81 said:
CM7 RC1 is a good base to start from.. even too good
however I get variable results launching mount commands in FR17 even from adb... sometimes it crashes the shell after a ioctl error..
i'm giving up on stock based roms.. there something wrong with busybox commands in them..
are u working chroot on top of CM7 RC1 ?
Click to expand...
Click to collapse
No Mate.Nothing wrong.I got it to work on FR17 as well as cm7.the only problem is that i have been unable to download tightvnc and lxde on the Debian chroot envoirnment.Some prob with my net connection.Keeps disconnecting.anyway.I have to make the read me file with instructions and then i will zip it and upload it.any special request for the file host?
svceon said:
This thread should be moved to dev, am i wrong or maemo is on works here?
Sent from my Optimus 2X using XDA App
Click to expand...
Click to collapse
no point in moving to dev.i am trying to chroot into Maemo.Not Native booting.altough i will give the native boot a go in August because my exams begin soon.
imayoda81 said:
i'm giving up on stock based roms.. there something wrong with busybox commands in them..
are u working chroot on top of CM7 RC1 ?
Click to expand...
Click to collapse
You mean, use debian as a primary OS, like launching it when the phone start ?
In case of yes, debian would be started when Android start, or you want to avoid Android ?
manasgirdhar said:
No Mate.Nothing wrong.I got it to work on FR17 as well as cm7.the only problem is that i have been unable to download tightvnc and lxde on the Debian chroot envoirnment.Some prob with my net connection.Keeps disconnecting.anyway.I have to make the read me file with instructions and then i will zip it and upload it.any special request for the file host?
Click to expand...
Click to collapse
Did you try to change your DNS Servers ? You can use Google's on 8.8.4.4/8.8.8.8
Did you try to connect by other means ? 3G, WiFi ?
Finally, for personal use, which debian img did you use ? Your own-made ? I ask because I just DLed an ubuntu image that someone else did, based on the ARM-one. But I don't see any ARM specific image on debian's website (or I don't know the other name, which could be shown).
Can anyone tell me the default kernel command string for 3.0.8 kernel?
found it
init=/init videoout=omap24xxvout omap_vout_mod.video1_numbuffers=6 omapfb.vram=0:5M lpj=2334720 fuelgauge=g muic_state=0 console=/dev/null mem=512M vram=16M omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y androidboot.hardware=black
suleymanovemil8 said:
Can anyone tell me the default kernel command string for 3.0.8 kernel?
found it
init=/init videoout=omap24xxvout omap_vout_mod.video1_numbuffers=6 omapfb.vram=0:5M lpj=2334720 fuelgauge=g muic_state=0 console=/dev/null mem=512M vram=16M omap_vout.video1_numbuffers=6 omap_vout.vid1_static_vrfb_alloc=y androidboot.hardware=black
Click to expand...
Click to collapse
For future reference it's close to the top of dmesg.
Out of curiosity, what did you want it for?
xonar_ said:
For future reference it's close to the top of dmesg.
Out of curiosity, what did you want it for?
Click to expand...
Click to collapse
I`d like to set as root sdcard and enable framebuffer console and later try to boot linux(ubuntu or Angstrom)
suleymanovemil8 said:
I`d like to set as root sdcard and enable framebuffer console and later try to boot linux(ubuntu or Angstrom)
Click to expand...
Click to collapse
Not sure if our bootloader can handle it. You can only boot from sdcard if it fails to load U-boot or X-loader from internal flash memory (according to OMAP, Lg might've changed this).
You need a different X-loader or U-boot if you wan't to force it to boot from sd.
Not 100% sure about all this. If you get anywhere please don't keep it to yourself.
Linux's minimum requirements aren't met by our phone so it might lag seriously if you do get it working
Sent from my LG-P970
xonar_ said:
Not sure if our bootloader can handle it. You can only boot from sdcard if it fails to load U-boot or X-loader from internal flash memory (according to OMAP, Lg might've changed this).
You need a different X-loader or U-boot if you wan't to force it to boot from sd.
Not 100% sure about all this. If you get anywhere please don't keep it to yourself.
Linux's minimum requirements aren't met by our phone so it might lag seriously if you do get it working
Sent from my LG-P970
Click to expand...
Click to collapse
There is some options for console in -> Device Drivers-> Graphics support-> Console display driver support-> Framebuffer Console support
but if i enable it phone stuks at lg logo and nothing....
I need this
Hello there,
Right now I'm stuck with an HTC one with its complete system wiped out i.e format cache/system/sdcard/media etc via CWM recovery throught the option in mounts and storage (I did that by mistake on CWM, forgetting about how the phone does not have an external sd card which I'm used to...) I don't think its USB debugging option was enabled either because I had fresh unlocked the bootloader so the phone was reset to factory settings, so I don't know if adb sideload is an option. (I don't know how this works either, at least not entirely... only what I learnt over the past 4-5 hours through the web) I feel like i have the adb path set up right, all I need to do is be able to access the device through my computer so I can somehow transfer the ROM zip onto the sdcard so I can install it. Can I just flash the ROM zip through fastboot? I already read around that prolly not but someone mentioned that I can flash the factory stock update... Where can I get that. Help pls! 2 months salary down the drain... replacement is not an option here... there is no customer service where I come from..
crazhy said:
Hello there,
Right now I'm stuck with an HTC one with its complete system wiped out i.e format cache/system/sdcard/media etc via CWM recovery throught the option in mounts and storage (I did that by mistake on CWM, forgetting about how the phone does not have an external sd card which I'm used to...) I don't think its USB debugging option was enabled either because I had fresh unlocked the bootloader so the phone was reset to factory settings, so I don't know if adb sideload is an option. (I don't know how this works either, at least not entirely... only what I learnt over the past 4-5 hours through the web) I feel like i have the adb path set up right, all I need to do is be able to access the device through my computer so I can somehow transfer the ROM zip onto the sdcard so I can install it. Can I just flash the ROM zip through fastboot? I already read around that prolly not but someone mentioned that I can flash the factory stock update... Where can I get that. Help pls! 2 months salary down the drain... replacement is not an option here... there is no customer service where I come from..
Click to expand...
Click to collapse
Check my guide
If u still have cwm recovery u can plug ur phone to pc via USB and select mount USB storage and drop the Rom zip onto internal sd and flash it through recovery.. if not u can download a cwm recovery that u can flash thru adb via command prompt on pc then u can do what I sed earlier
Sent from my HTC Sensation Z710e using xda premium
sibozzy1811 said:
If u still have cwm recovery u can plug ur phone to pc via USB and select mount USB storage and drop the Rom zip onto internal sd and flash it through recovery.. if not u can download a cwm recovery that u can flash thru adb via command prompt on pc then u can do what I sed earlier
Sent from my HTC Sensation Z710e using xda premium
Click to expand...
Click to collapse
No you can't
Thank you for the quick response! This is the message I get after typing "adb devices" in the command prompt from the platform tools folder
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
I'd already tried this before but this time I extracted the sdk in C:\ just to see if it made any difference... I even used the command "adb remount" it still says "error device not found". Could this be because of the USB debugging option from the developers menu in settings? I can't make that change right now because i can't boot into the phone! What can i do to correct this?
"C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb devices
List of devices attached
C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb remount
error: device not found"
This is what i get in the cmd script
My laptop that i connect to the phone is on a 64 bit operating system does it matter if the sdk i downloaded is for 32 bit?
crazhy said:
Thank you for the quick response! This is the message I get after typing "adb devices" in the command prompt from the platform tools folder
adb server is out of date. killing...
* daemon started successfully *
List of devices attached
I'd already tried this before but this time I extracted the sdk in C:\ just to see if it made any difference... I even used the command "adb remount" it still says "error device not found". Could this be because of the USB debugging option from the developers menu in settings? I can't make that change right now because i can't boot into the phone! What can i do to correct this?
"C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb devices
List of devices attached
C:\adt-bundle-windows-x86-20130522\sdk\platform-tools>adb remount
error: device not found"
This is what i get in the cmd script
My laptop that i connect to the phone is on a 64 bit operating system does it matter if the sdk i downloaded is for 32 bit?
Click to expand...
Click to collapse
did you give up or is this resolved ?
clsA said:
did you give up or is this resolved ?
Click to expand...
Click to collapse
Still looking for a solution!
crazhy said:
Still looking for a solution!
Click to expand...
Click to collapse
are you using MacHackz guide here ? >> http://forum.xda-developers.com/showthread.php?t=2325853
Also do you still have the fastboot folder in c:\fastboot you used to unlock the bootloader ?
crazhy said:
Still looking for a solution!
Click to expand...
Click to collapse
Hop on TeamViewer, think I have the solution
clsA said:
are you using MacHackz guide here ? >> http://forum.xda-developers.com/showthread.php?t=2325853
Also do you still have the fastboot folder in c:\fastboot you used to unlock the bootloader ?
Click to expand...
Click to collapse
Yes I do
MacHackz said:
Hop on TeamViewer, think I have the solution
Click to expand...
Click to collapse
Downloading right now... my internet is really bad today itll be 10 mins to doenload that 5 mb file
crazhy said:
Downloading right now... my internet is really bad today itll be 10 mins to doenload that 5 mb file
Click to expand...
Click to collapse
Will it sustain a connection then ;D
MacHackz said:
Hop on TeamViewer, think I have the solution
Click to expand...
Click to collapse
MacHackz I just had a couple suggestions and I'll step aside
I use the same fastboot folder I used to unlock the bootloader for all adb stuff it contains a working copy of adb
and makes sure the path is easy and correct. (no spaces)
2. I see he mentions using a laptop ..be sure your using a usb 2 port .. not the blue usb 3.0 ports their know to cause issues with adb.
MacHackz said:
Will it sustain a connection then ;D
Click to expand...
Click to collapse
Ill restart it, it reverts to high speeds its just being super spiky right now
MacHackz said:
Will it sustain a connection then ;D
Click to expand...
Click to collapse
Ok lets go! remote control or meeting?
@ clsa, its most deifinitely a usb 2.0 port
crazhy said:
Ok lets go! remote control or meeting?
@ clsa, its most deifinitely a usb 2.0 port
Click to expand...
Click to collapse
Remote just post your id and pass, I will get there first
MacHackz said:
Remote just post your id and pass, I will get there first
Click to expand...
Click to collapse
186 608 490
z57pf4
crazhy said:
186 608 490
z57pf4
Click to expand...
Click to collapse
Black screen ;D
dammit again... i dunno which button to press lol
crazhy said:
dammit again... i dunno which button to press lol
Click to expand...
Click to collapse
Just had the same problem but i got my rom on with usb otg can you try that?
mount usb otg and load zip
This is a recovery flashable image for the PostmarketOS.
I DID NOT MAKE THIS. It has only been compiled by me following the guide on their wiki
The recovery may warn about no OS being installed, but that can be ignored.
I recommend using a mouse and a keyboard with the USB, though the touch works.
It is a bare minimum image, so do not expect a lot.
Download
Yeah hahha
its for those who dont wants degooglifried
I like it hihahaha
Be wary, calling/sms/data don't work (yet?), at least they weren't when I tried it a month or so ago.
try to txt sms hahah using cli command no worries hahah
I get install error 1. The log says error ''mmcblk0p24 /system not mounted'. Any idea whats wrong?
Rishabh1x said:
I get install error 1. The log says error ''mmcblk0p24 /system not mounted'. Any idea whats wrong?
Click to expand...
Click to collapse
Had the same error, but it worked as expected on a reboot.
can you post plasma mobile to kenzo?
Rishabh1x said:
I get install error 1. The log says error ''mmcblk0p24 /system not mounted'. Any idea whats wrong?
Click to expand...
Click to collapse
unmount system and data, then sideload rom or install from sdcard, it fine
thinhx2 said:
can you post plasma mobile to kenzo?
Click to expand...
Click to collapse
Nope, even though it works it is slow, very slow.
I only managed to get a black screen with a mouse pointer but i wasn't patient enough.
How to use the terminal... No virtual keyboard
bro, what's the password
mathew..denniss said:
How to use the terminal... No virtual keyboard
Click to expand...
Click to collapse
ssh into the device
What does it mean and how to fix it
-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE
Snowcone12 said:
What does it mean and how to fix it
-3001: INSTALL_FAILED_REJECTED_BY_BUILDTYPE
Click to expand...
Click to collapse
.try fixing it with this
adb shell pm install-create -i "com.android.vending" -r /sdcard/launcher.apk
replacing launcher.apk with your apk filename, and have your apk in the root of your sd card
Would you tell me more details
Snowcone12 said:
Would you tell me more details
Click to expand...
Click to collapse
do you know how hot use adb ?
Yes
What does this command means?
Thank you so much for replying and using your time to help me!
I just wanna ask you what this command means.
Before trying what you told me
Snowcone12 said:
I just wanna ask you what this command means.
Before trying what you told me
Click to expand...
Click to collapse
its just trying to force install in a different location
Are you sure it will work?
Snowcone12 said:
Are you sure it will work?
Click to expand...
Click to collapse
Not certain, it's an older trick and I don't have that device, but it won't do any harm trying it will either work or it wont
Thank you so much!
And what is the next step?
Success:created install session
Snowcone12 said:
And what is the next step?
Success:created install session
Click to expand...
Click to collapse
There shows the message Success:created install session
Snowcone12 said:
There shows the message Success:created install session
Click to expand...
Click to collapse
So the app isn't installed ? Have you tried rebooting and checking ? Have you tried to reinstall the apk again
No it hasn't