Hi all, I using Lg Optimus Black p970.
I want to create swapfile for this phone. I did not succeed :
- Turn on the terminal emulator and type the following line:
" su
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=xxxx "
( xxxx=1024x512mb=524288 ).
- Next :
" mkswap /sdcard/swapfile "
- Next :
" swapon /sdcard/swapfile "
=>swapon: /sdcard/swapfile: function not implementd.
why ? Please help me !
anhungai said:
Hi all, I using Lg Optimus Black p970.
I want to create swapfile for this phone. I did not succeed :
- Turn on the terminal emulator and type the following line:
" su
dd if=/dev/zero of=/sdcard/swapfile bs=1024 count=xxxx "
( xxxx=1024x512mb=524288 ).
- Next :
" mkswap /sdcard/swapfile "
- Next :
" swapon /sdcard/swapfile "
=>swapon: /sdcard/swapfile: function not implementd.
why ? Please help me !
Click to expand...
Click to collapse
Original stock kernel from P970 doesn't have swap support implemented.
Huexxx said:
Original stock kernel from P970 doesn't have swap support implemented.
Click to expand...
Click to collapse
Thanks ! I using rom CiCi v3.0 final. Can you help me ? I have not experienced this problem !
Sent from my LG-P970 using xda app-developers app
Can this so difficult ?
What do the Cici rom devs say, have you asked them?
Sent from my LG-P970 using xda premium
I use CyanogenMod-10, kernel 3.0.8+ on LG P970.
..
I created swap partition and successfully enabled it using "swapper 2"but after reboot phone stucks in boot loop. Then again i hav now reinstalled cm10.
..
Can anyone help, how to achieve complete success in creating a swap partition.
Thank you.
Sent from my LG-P970 using xda app-developers app
Devs rom Cici nói gì, đã yêu cầu họ
Click to expand...
Click to collapse
Yes. But no answer !
Tôi sử dụng CyanogenMod-10, hạt nhân 3.0.8 + vào LG P970.
Click to expand...
Click to collapse
Can use into rom CiCi v3.0 ?
Related
Hey developers!
We all know that our device has little memory. The Cache partition is only 64MB, of which only 20 are free!
Because of that, I'm going to show you how to use a folder on your SD card to download games and apps from the Android Market, instead of the default one(/cache/download)!
Requirements:
-Terminal Emulator (or ADB Shell)
-Root access
Tutorial:
1. Open Terminal Emulator
2. Type these commands in order:
Code:
su
mkdir /sdcard/cache-download
rm -rf /cache/download
ln -s /sdcard/cache-download /cache/download
3. Enjoy your Cache2SD!
This was tested and it works on SwiftDroid 2.0 RC1
Does this tweak speed up the phone in anyway?
Sent from my GT540 using XDA Premium App
eoghan2t7 said:
Does this tweak speed up the phone in anyway?
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
No, but it allows you to download big games from the Market, like Pocket Legends, Drift Mania, etc.
despotovski01 said:
No, but it allows you to download big games from the Market, like Pocket Legends, Drift Mania, etc.
Click to expand...
Click to collapse
Might put that in my softmod to have a rom with it pre configured
Sent from my GT540 using XDA Premium App
Thanks for sharing!!!
just one question: I can't do this. When i write the third line:
cp -a /cache/download /sdcard/cache-download
Click to expand...
Click to collapse
terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited
Can you help me??
You don't have Root permission. Root your phone using SuperOneClick, for example.
BRONCHAS said:
Thanks for sharing!!!
just one question: I can't do this. When i write the secon line terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited
Can you help me??
Click to expand...
Click to collapse
Did you type 'su' at the beginning?
despotovski01 said:
Did you type 'su' at the beginning?
Click to expand...
Click to collapse
Yes yes, first su and Root permision i have, bc i use Swiftdroid 2.0 RC1
BRONCHAS said:
Yes yes, first su and Root permision i have, bc i use Swiftdroid 2.0 RC1
Click to expand...
Click to collapse
Try this:
Code:
su
mkdir /mnt/sdcard/cache-download
cp -a /cache/download /mnt/sdcard/cache-download
rm -rf /cache/download
ln -s /mnt/sdcard/cache-download/download /cache/download
BRONCHAS said:
Thanks for sharing!!!
just one question: I can't do this. When i write the third line:
terminal says: cp: can't preserve ownership of '/sdcard/cache-download/' : Operation not permited
Can you help me??
Click to expand...
Click to collapse
Thats the same error im getting. Even after clearing the download folder.
Sent from my GT540 using XDA Premium App
despotovski01 said:
Try this:
Code:
su
mkdir /mnt/sdcard/cache-download
cp -a /cache/download /mnt/sdcard/cache-download
rm -rf /cache/download
ln -s /mnt/sdcard/cache-download/download /cache/download
Click to expand...
Click to collapse
Sorry but same error:
cp: can't preserve ownership of '/mnt/sdcard/cache-download/download' : Operation not permitted
Click to expand...
Click to collapse
despotovski01 said:
Try this:
Code:
su
mkdir /mnt/sdcard/cache-download
cp -a /cache/download /mnt/sdcard/cache-download
rm -rf /cache/download
ln -s /mnt/sdcard/cache-download/download /cache/download
Click to expand...
Click to collapse
Same error mate
Sent from my GT540 using XDA Premium App
root explorer says that perrmissions cant be changed on the sdcard.
Sent from my GT540 using XDA Premium App
eoghan2t7 said:
root explorer says that perrmissions cant be changed on the sdcard.
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
Hmm, for me it works great, as you can see from the screenshot...
eoghan2t7 said:
root explorer says that perrmissions cant be changed on the sdcard.
Sent from my GT540 using XDA Premium App
Click to expand...
Click to collapse
I've found a fix: just don't run the line that causes problem and you should be good.
despotovski01 said:
I've found a fix: just don't run the line that causes problem and you should be good.
Click to expand...
Click to collapse
Thanks!!!! I'll test it
EDIT: Works great!!!
Good job
Try this worked for me
mkdir /mnt/sdcard/cache-download
cd /sdcard/cache-download
mkdir download
rm -rf /cache/download
ln -s /mnt/sdcard/cache-download/download /cache/download
Sent from my GT540 using XDA Premium App
You have error because fat32 doesn't support extended attributes (file owner and group). Better solution is to create ext4/2/3 partition on sd card and set it mount point to cache or link it.
Sent from my GT540 using Tapatalk
maslokm said:
You have error because fat32 doesn't support extended attributes (file owner and group). Better solution is to create ext4/2/3 partition on sd card and set it mount point to cache or link it.
Sent from my GT540 using Tapatalk
Click to expand...
Click to collapse
Thanks for your suggestion! I'll keep that in mind, but my method works good too.
If cache is just a partition we should be able to repartition internal memory and add 64mb to other one.
Sent from my GT540 using Tapatalk
Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
joezel said:
Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
OKAY lets get started.
As u said that u have changed ur touchscreen so now i assume that u have a cypress one.
Now download the file attatched below , extract it and move it to
\system\lib\modules\"place the file here"
now open terminal emmulator
and type there
Code:
su
dmesg | grep ax8mt
now reboot ur phone.
LOL!!!
its done.
Download x8toolbox, plug in your phone, open toolbox,go to modules find dual touch,done
Sent from my X8 using xda premium
I did both of your suggested but not work to me. Please give me other suggestion.
Sent from my E15i using xda premium
joezel said:
I did both of your suggested but not work to me. Please give me other suggestion.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
I dont know much about it.Maybe this thread can help u http://forum.xda-developers.com/showthread.php?t=1135965
Actually there is another method, search at youtube and you will find it,it will may work
Sent from my X8 using xda premium
joezel said:
Guys would you give me some instructions for my xperia x8, because i change my touchscreen for now and its not the original one. My problem is i cannot back my dualtouch anymore, even i install any rom,kernel,x8gesture in my phone. Would you please help me what can i do now to work it again?
Sorry for my bad English.
Sent from my E15i using xda premium
Click to expand...
Click to collapse
Ok, here's what you have to do.
1. Go into terminal emulator.
2. Type in:
Code:
su
dmesg | grep "cyttsp-i2c"
3. if you get something like this output:
Code:
<6>[ 4.185259] cyttsp_i2c_probe: Successful registration cyttsp-i2c
you have cypress and should use AX8MT.ko
If you did not have that output, you have synaptics and you should use X8gesture.ko.
4. Now that you know which digitizer you have, if you are not using a custom kernel or ROM with the modules auto-insmodded in, do this:
Add the correct module to /system/lib/modules
Enter in the following lines to terminal emulator:
Code:
su
chmod 644 /system/lib/modules/*module name*.ko
chown 0.0 /system/lib/modules/*module name*.ko
insmod /system/lib/modules/*module name*.ko
Then check in Multitouch visualiser if the module is loaded and working.
If working, add this line to /system/etc/hw_config.sh
Code:
# DT
insmod /system/lib/modules/*module name*.ko
Done! (hopefully)
Su660 V30C ,Finally...:laugh:
http://www.lg.com/global/support/opensource/opensource.jsp
zaldax said:
Su660 V30C ,Finally...:laugh:
http://www.lg.com/global/support/opensource/opensource.jsp
Click to expand...
Click to collapse
http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGSU660
It seems like that this kernel support not only SU660 but also P990/P999
from "arch/arm/mach-tegra/lge/star/Kconfig"
Code:
menu "LGE Board Selection"
#config MACH_STAR
# depends on ARCH_TEGRA
# select MACH_LGE
# select MACH_HAS_SND_SOC_TEGRA_WM8994 if SND_SOC
# bool "TEGRA STAR"
# help
# Support for the LGE STAR
choice
depends on MACH_STAR
prompt "STAR Board Selection"
default MACH_STAR_SU660
config MACH_STAR_SU660
bool "TEGRA STAR SU660"
help
Support for the LGE STAR SU660
config MACH_STAR_P990
bool "TEGRA STAR P990"
help
Support for the LGE STAR P990
config MACH_STAR_P999
bool "TEGRA STAR P999"
help
Support for the LGE STAR P999
endchoice
endmenu
from arch/arm/configs/star_su660_defconfig
Code:
#
# LGE Board Selection
#
CONFIG_MACH_STAR_SU660=y
# CONFIG_MACH_STAR_P990 is not set
# CONFIG_MACH_STAR_P999 is not set
Code:
ls arch/arm/configs/star*
arch/arm/configs/star_p990_defconfig
arch/arm/configs/star_p999_defconfig
arch/arm/configs/star_su660_defconfig
Good to see that but I feel like most of O2x users are sleeping as I don't see much posts after this good news
Sent from my Optimus 2X using xda app-developers app
when all the devs starting to see this news our 2x forum will be alive and happy..!!
wkpark said:
http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGSU660
It seems like that this kernel support not only SU660 but also P990/P999
Click to expand...
Click to collapse
It seems we can expect CM10 for P990 within 24 hours
Netuser said:
Good to see that but I feel like most of O2x users are sleeping as I don't see much posts after this good news
Sent from my Optimus 2X using xda app-developers app
Click to expand...
Click to collapse
Yee hawwww
Sent from my Optimus 2X using xda app-developers app
Finally,suvh great news this early.
I saw it on androidcentral and came here to check,but everyone's sleeping...
Going back to sleep myself...
And I hope there is working cm10 by weekend,I was planning to go back to stock otherwise
wkpark said:
http://www.lg.com/global/support/opensource/opensource-detail.jsp?detailCustomerModelCode=LGSU660
It seems like that this kernel support not only SU660 but also P990/P999
from "arch/arm/mach-tegra/lge/star/Kconfig"
Code:
menu "LGE Board Selection"
#config MACH_STAR
# depends on ARCH_TEGRA
# select MACH_LGE
# select MACH_HAS_SND_SOC_TEGRA_WM8994 if SND_SOC
# bool "TEGRA STAR"
# help
# Support for the LGE STAR
choice
depends on MACH_STAR
prompt "STAR Board Selection"
default MACH_STAR_SU660
config MACH_STAR_SU660
bool "TEGRA STAR SU660"
help
Support for the LGE STAR SU660
config MACH_STAR_P990
bool "TEGRA STAR P990"
help
Support for the LGE STAR P990
config MACH_STAR_P999
bool "TEGRA STAR P999"
help
Support for the LGE STAR P999
endchoice
endmenu
from arch/arm/configs/star_su660_defconfig
Code:
#
# LGE Board Selection
#
CONFIG_MACH_STAR_SU660=y
# CONFIG_MACH_STAR_P990 is not set
# CONFIG_MACH_STAR_P999 is not set
Code:
ls arch/arm/configs/star*
arch/arm/configs/star_p990_defconfig
arch/arm/configs/star_p999_defconfig
arch/arm/configs/star_su660_defconfig
Click to expand...
Click to collapse
As a G2X owner, this made me smile from ear to ear
Sent from my Nexus 7 using xda app-developers app
Omg such a wonderful news in the morning i just bought new battery, it look like it was good decision
Sent from my LG-P990 using xda premium
I compile the kernel source with "make star_p990_defconfig ARCH=arm", and you can download the binaries from :
http://pan.baidu.com/share/link?shareid=88597&uk=1293221681/
This should be the P990 kernel binaries , maybe someone can build a update.zip from it...
PS: I have no P990 , only has a SU660, so I can't test it...
marsgod said:
I compile the kernel source with "make star_p990_defconfig ARCH=arm", and you can download the binaries from :
http://pan.baidu.com/share/link?shareid=88597&uk=1293221681/
This should be the P990 kernel binaries , maybe someone can build a update.zip from it...
PS: I have no P990 , only has a SU660, so I can't test it...
Click to expand...
Click to collapse
here is update zip for kernel P990 compiled by marsgod. This may or may-not work.
This is untested, so take nandroid backup first. I will not be responsible for any data loss or phone brick.
http://www.mediafire.com/download.php?rudjirq1alujj0w
Harsh said:
here is update zip for kernel P990 compiled by marsgod. This may or may-not work.
This is untested, so take nandroid backup first. I will not be responsible for any data loss or phone brick.
http://www.mediafire.com/download.php?rudjirq1alujj0w
Click to expand...
Click to collapse
Running a backup and trying it out. I'll let you kids know how it goes!
marsgod said:
I compile the kernel source with "make star_p990_defconfig ARCH=arm", and you can download the binaries from :
http://pan.baidu.com/share/link?shareid=88597&uk=1293221681/
This should be the P990 kernel binaries , maybe someone can build a update.zip from it...
PS: I have no P990 , only has a SU660, so I can't test it...
Click to expand...
Click to collapse
Can u compile one for p999? Using the same command. I am available to test
Sent from my LG-P999 using Tapatalk 2
Harsh said:
here is update zip for kernel P990 compiled by marsgod. This may or may-not work.
This is untested, so take nandroid backup first. I will not be responsible for any data loss or phone brick.
http://www.mediafire.com/download.php?rudjirq1alujj0w
Click to expand...
Click to collapse
Tested. And it works. Bluetooth works now .... and possible wifi sleep issue fixed too.
tetrahedonism said:
Running a backup and trying it out. I'll let you kids know how it goes!
Click to expand...
Click to collapse
Howd it go? Lol
Sent from my LG-P999 using Tapatalk
G2xer said:
Howd it go? Lol
Sent from my LG-P999 using Tapatalk
Click to expand...
Click to collapse
Nandroid is just finishing up, gimme a few. It's confirmed up by Harsh there too!
Gunna try out Chrome first of all!
Harsh said:
Tested. And it works. Bluetooth works now .... and possible wifi sleep issue fixed too.
Click to expand...
Click to collapse
Harsh ... p999 one plzzz
Sent from my LG-P999 using Tapatalk 2
Well, I feel silly asking this but I had a few drinks earlier this evening: I'm running ParanoidAndroid JB, and this is an ICS kernel. I did do a backup, but I'm sure you understand the fear!
Sent from my LG-P990 using xda app-developers app
tetrahedonism said:
Well, I feel silly asking this but I had a few drinks earlier this evening: I'm running ParanoidAndroid JB, and this is an ICS kernel. I did do a backup, but I'm sure you understand the fear!
Sent from my LG-P990 using xda app-developers app
Click to expand...
Click to collapse
hmmm ... hope the backup is ready ...
Sent from my LG-P999 using Tapatalk 2
ok.
i flash it over kostja_v rebuild for V30C
and camera now are no longer taking dark pictures
and im so damn excited
1080P video recording are working !!
"but it seems that battery drain are little bit worse , maybe because its P990 kernel and kostja_v are based on the V30C that supposed to be for SU660"
im gonna try harsh build ..
Hi all,
I've been using official V20A with CWM installed and everything was great. But after updating to V20C I flashed unsecure boot to get CWM but I had a problem with WiFi not toggling. I remember that the unsecure boot of leaked V20A beta had the same issue with official V20A so gordon0001 created a new one.
Can anybody modify it or create a new one for V20C as well?
Can you upload the V20C kernel somewhere and then post a link here? To get it, issue these commands in terminal emulator:
su
cat /dev/block/mmcblk0p2 > /sdcard/v20cboot.img
You will find it in /sdcard with the name v20cboot.img
Sent from my LG-P880 using Tapatalk 2
exFAT said:
Can you upload the V20C kernel somewhere and then post a link here? To get it, issue these commands in terminal emulator:
su
cat /dev/block/mmcblk0p2 > /sdcard/v20cboot.img
You will find it in /sdcard with the name v20cboot.img
Sent from my LG-P880 using Tapatalk 2
Click to expand...
Click to collapse
i attached it
future81 said:
i attached it
Click to expand...
Click to collapse
Here it is.
http://d-h.st/qmU
exFAT said:
Here it is.
http://d-h.st/qmU
Click to expand...
Click to collapse
Thanks man. It worked! :thumbup:
Hello
How to do Hot Boot/Hot Reboot on lg l5 ? What command to do it in terminal emulator ? Any mods to add hot boot to power options ? I am using Jelly Bean rom
Sorry for my bad English...
Azargardius said:
Hello
How to do Hot Boot/Hot Reboot on lg l5 ? What command to do it in terminal emulator ? Any mods to add hot boot to power options ? I am using Jelly Bean rom
Sorry for my bad English...
Click to expand...
Click to collapse
Try "busybox kill" command
Sent from my LG-E610 using xda app-developers app
Psykic said:
Try "busybox kill" command
Sent from my LG-E610 using xda app-developers app
Click to expand...
Click to collapse
what is hot boot?
and i notice in a lot of thread the word "fast boot" what is it?