[Q] Problem with overclocking P760 - LG Optimus L9 P760, P765, P768, P769

I have a problem..
I am doing it http://forum.xda-developers.com/showpost.php?p=33418985&postcount=1
First, I copy symsearch.ko and cpu_control.ko to /system/lib/modules
Next, I change permissions to rw-r-r and owner to root-root for that two .ko files.
Next, I open Android terminal terminal andi write
su
(I touch enter)
insmod /system/lib/modules/symsearch.ko
(I touch enter)
Then the error appears on the screen: '/system/lib/modules/symsearch.ko' failed (Exec format error)
Probably I am doing something wrong. What?
Phone information
Android 4.0.4
version 3.0.21
P76010a-EUR-XX
Please, help me.

Related

[Q] help with cifsmanager 1.41

Hey guys i really need help trying to figure out how to use cifsmanager, could someone please help me? ....i tried following some guides on the web about pushing the cifs.ko under /system/lib/modules, but even after i tried that cifsmanager keeps saying the same exact freaking thing, it says: mounting 192.168.x.xx:/media/Data/My Music on /mnt/cifs/failed: no such device, and its just driving me crazy because i really want to get this to work....my rom version is cyano-6.1 rc1 and if someone could help me out i would greatly appreciate it thanks.
A couple of suggestions :
1) Did you go to the settings menu in CIFS Manager and check "Load via insmod" and enter the correct path in "Path to cifs.ko" ?
2) cifs.ko must also match the version of your installed kernel. You can test in Terminal. If insmod gives you a "exec format error" it is the wrong cifs.ko for your kernel.
More info on how to debug here :
http://androidcommunity.com/forums/f28/browse-your-computer-from-android-9292/
and here :
http://forum.sdx-developers.com/and...ifs-for-network-share-mounting-in-the-kernel/
ok yea I already did number 1, and two, i just did that now and here is what i came up with:
# cd /system/lib/modules
# ls
bcm4329.ko cifs.ko
# insmod cifs.ko
insmod: init_module cifs.ko' failed (File exists)
#
im not sure what that means, do you have any idea? Well i got the info placed in the program correctly and the drive mounts ok, just that i have to make the file viewer run as su before i can see any of the items....this is driving me crazy, oh and by the way thank you for replying
Try a "su" command before the insmod.
sometimes permissions are not correct.
I have also found the correct version of the module in an alternate directory on some of the overclock kernel mods. (i.e. /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs).
I can't get it work too. Meanwhile, I am looking for a nls_utf8.ko for Aria. Does it even exist? I searched and got zero result.
alright, i tried using su before running insmod and i came up with the same thing :/ and about the /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs.ko, i dont have the 2.6.29.6-cyanogenmod folder in my /system/lib, im not sure what to do....thanks again for your time to reply and help me
thefawns said:
alright, i tried using su before running insmod and i came up with the same thing :/ and about the /system/lib/2.6.29.6-cyanogenmod/kernel/fs/cifs.ko, i dont have the 2.6.29.6-cyanogenmod folder in my /system/lib, im not sure what to do....thanks again for your time to reply and help me
Click to expand...
Click to collapse
look in /system/lib/modules
are you using an oc kernel ? if so can you provide the link ?
and did you install cifs.ko from an alternate source ? if so , link please...
cm6.1-rc1 has its own /system/lib/modules/cifs.ko included in the rom.
insmod it for the first time will have no feedback at all meaning it's loaded, right?
If running it again then it will show
insmod: init_module '/system/lib/modules/cifs.ko' failed (File exists)
Yes , that's correct "Files exists" indicates the module is already loaded.
Then a mount in Terminal (i.e. mount -t cifs -o username=yourusername,password=yourpassword //192.168.1.20/sharename /sdcard/mnt/cifs/sharename) should work.

[What] An error apeared

I want to install a custom rom on my Lg Optimus One.I did just like here: http://forum.xda-developers.com/showthread.php?t=971245 but an error apeared: "windows cannot find groot.exe". I saw that there was anotxer member with the same problem but i didn't understood how to fix it.
I found the groot file and i typed the code starting with "su" but when i typed the comand: cat/sdcard/flash_image > /system/bin/flash_image an error apeared: cannot create /system/bin/flash_image: read-only file system. What am i supposed to do?
Type SU, wait for the pop-up, click allow and then hit ENTER button.
L.E: After you type su does the $ change to # ?
Dont bother anymore. I fixed it. Thanks anyway.

bootsound for 2.2 and 2.3

THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Thanks Owain, this is one of the little things that makes u smile XD
I've got just a problem (don't kick me please ):
I've downloaded a terminal emulator but when I type "adb shell" it says "permission denied" with "su" I get the superuser permissions, and again, with the "adb shell" command it says "adb: not found".
I know, there's something I should know, what exactly? Or where can I find infos about this?
Thanks XD
LordSnow said:
Thanks Owain, this is one of the little things that makes u smile XD
I've got just a problem (don't kick me please ):
I've downloaded a terminal emulator but when I type "adb shell" it says "permission denied" with "su" I get the superuser permissions, and again, with the "adb shell" command it says "adb: not found".
I know, there's something I should know, what exactly? Or where can I find infos about this?
Thanks XD
Click to expand...
Click to collapse
you dont have to type adb shell on mobile
that is only when u use terminal from pc
when you open terminal do you see "#" before you typ somthing on the line?
if yes don't typ in su
if not try su
but on terminal emulator don't use adb shell
hi owain,
i tried this one but unfortunately it doesn't seem to work..
after flashing the .zip file with xrec i type this one into terminal emulator:
su
enablebootsound
bootsoundon
but at enablebootsound it says: not found.
when i type bootsoundon it says: boot sound enabled..
but i don't get any sound at boot at all
can someone try
sh ./system/bin/enablebootsound
and not just enablebootsound ??
Owain94, have tried your sh command. Have attached result.
pbezza said:
Owain94, have tried your sh command. Have attached result.
Click to expand...
Click to collapse
can you try to mount /system and /data in rootexplorer
then do this
su
sh ./system/bin/enablebootsound
bootsoundon
reboot
and report back if it works?
thanks in advance
Do you mean mount as r/w? /system and /data are mounted as r/w. There was no option to mount /data as r/w or r/o but it was r/w by default.
Drocap image attached.
Rebooted but still no sound.
owain94 said:
can you try to mount /system and /data in rootexplorer
then do this
su
sh ./system/bin/enablebootsound
bootsoundon
reboot
and report back if it works?
thanks in advance
Click to expand...
Click to collapse
Hey owain,
this is great thanks for this. But it is also not working for me even when mounting system and data as r/w, and i followed you steps that ive quoted. Anyway if you need anything else just let me know.
Oh and heres my screenshot.
Cheers,
Jeremy.
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
you know the nice boot sound some devices got?
i really liked it and i did want it so badly so i made an script for it wich can be flashed thru xRecovery
download it here!
when you reboot you hear nothing
this is because you can turn it on and off
enablebootsound
bootsoundoff
bootsoundon
newbootsound
to enable do this in terminal ONE LINE EACH TIME
Code:
adb shell
su
enablebootsound
bootsoundon
and if you want another boot sound place the mp3 on you sdcard and rename it to "android_audio.mp3" without quotes ofc and then typ this NOTE: don't do it with a song it will probz not work
Code:
adb shell
su
newbootsound
Enjoy
Click to expand...
Click to collapse
Ok, do you mean :
''enablebootsound
bootsoundoff
bootsoundon
newbootsound
to enable do this in terminal ONE LINE EACH TIME '', OR :
''to enable do this in terminal ONE LINE EACH TIME
Code:
adb shell
su
enablebootsound
bootsoundon
''
I've tried both, but they dont work (terminal emulator) ..
Look at attached pics
excellent,
will try this on droid explorer when I get home.
hi owain,
tried with the newer instructions you gave us but i get the same result as pbezza an jeremyward420
also tried but doesn't work...
Not sure but think I found part of the problem...
If you remove the ! from the first line of the enablebootsound file, when you type enablebootsound it comes up with
Code:
preparing system...
in/proc/mounted /system
mkdir failed for -p, file exists
checking previous boot sound installation...
enablebootsound: 65: syntax error: end of file unexpected (expecting "then")
projectsome said:
Not sure but think I found part of the problem...
If you remove the ! from the first line of the enablebootsound file, when you type enablebootsound it comes up with
Code:
preparing system...
in/proc/mounted /system
mkdir failed for -p, file exists
checking previous boot sound installation...
enablebootsound: 65: syntax error: end of file unexpected (expecting "then")
Click to expand...
Click to collapse
no no no
the ! is supposed to be there
it got an syntax error i will post manually way within a couple hours
owain94 said:
no no no
the ! is supposed to be there
it got an syntax error i will post manually way within a couple hours
Click to expand...
Click to collapse
It's nothing we've done then ? xP
updated first post with working version
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Click to expand...
Click to collapse
Don't put the .rar file on sdcard ? extract it and put those in ?
Edit : Sorry, I guess I am that noob that shouldn't try this xD
But I rlly rlly want it! Could you explain a little easier ?
Dumb question ; what does ''push the files'' mean ? is it to move/copy the files from sdcard to system? xP
(the only thing I need help with is :
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer)
owain94 said:
THIS WON'T WORK ON SE SOFTWARE!
download THIS
push all files to your device
in wich map do you need to place the files?
don't worry they are in the right map in the donwload
when you pused them all set all permission to 777 (chmod 0777 /system/*file) or check all checkboxes in rootexplorer
when you've done that open up /system/build.prop
and add this line at the end
ro.config.play.bootsound=1
now reboot
if you are thinking "wtf is he talking about?" then DO NOT TRY THIS! this is for advance user only
Enjoy
Click to expand...
Click to collapse
Works fine on CM7 =)
ok and exactly what this do?

[Q] Uruk 1.5 Update (RC to stable)

Hey guys
sorry to bother you with this but since I'm not allowed to post in the developer-forum with less than 10 posts I need to ask here:
I'm running Uruk 1.5RC1 on my 101 and want to upgrade to 1.5 stable.
There's a fix I need to apply first and it says:
lease copy this file to /.upgrade/ directory (if it's not there - create it) - and restart your device (during boot you should see for few seconds update message with progress bar)
Click to expand...
Click to collapse
I don't have that directory and if I want to create it it says that it is already there but I don't see it. So I can't access it to paste the file.
Any help?
Thank you very much!
Do you navigate in your folders as Su?(Super User)
Yep, I'm using ES with su-right and I can see the directories.
Except for the one I need I gues...
Do you have a terminal app?
Try something like this:
su
pwd
ls
Then tell me if you see it
I tried terminal and it's not there.
Try to copy the file with terminal
Code:
Su
cd [where you have the file]
Sudo cp [filename] /../.upgrade
This should work
Greets,
Lenn
Thanks. I guess you meant ".update" instead of ".upgrade"?
Anyways, I tried both (without any errors) but there's no update sequence for the fix when I reboot and the update itself still fails.
Try
Code:
su
Cd /../
sudo mkdir .upgrade
With that you create a folder
"Cannpt create directory '.upgrade': File exists"
Why isn't it visible with ES?!
I dont know...
Try it with
Code:
su
cd /../.upgrade
sudo rmdir -r
This should remove the directory, after that try to create a new one like i wrote above
Ok, this is weird now:
"can't cd to /../.upgrade"
When I try .update it says
"rmdir: invalid option --r"
boert said:
Ok, this is weird now:
"can't cd to /../.upgrade"
Click to expand...
Click to collapse
Try it to do first cd /../ and then cd /.upgrade
When I try .update it says
"rmdir: invalid option --r"
Click to expand...
Click to collapse
hm... try it without -r (-r is a value to delete also the folders in the directory)
Thanks for your help so far, I appreciate it!
It says:
"can't cd to /.upgrade"
Trying the same command in ".update", which obviously exists (I can acess it) is "invalid option" (with -r) or missing operand (without -r).
I dont have so much linux-experience like other guys around here, sorry..
I think the mrdir command is old.. try it with rm -r
I made it.
Did it again from the scratch with some help from a Linux beginners guide (worked with rm -rf /../xyz/) and updated to 1.5 stable.
Thanks for the help guys!

[MOD] [Stratos/Pace] Universal init.d Enabler!

What is init.d?
init.d is a folder placed in /system/etc wich has been legendary used since the old android times to run scripts at boot. I've decided to make this simple script becouse lots of my users on my AmazBoost MOD thread were asking how they can enable init.d on stock ROM or simply on an unsupported ROM. It's easy to run and doesn't require any kind of coding skills!
What you need
- AmazFit Stratos/Pace
- Rooted ROM
How to install
1) Download the mod zip from download link and unzip it
2) Connect the wath to the PC
3) Place the enable.sh file inside your adb folder and open there a command prompt (or terminal for Mac OS/linux) then type the following codes:
Code:
adb root
adb push enable.sh /sdcard/
adb shell sh /sdcard/enable.sh
4) Done!
5) You NEED to reinstall the mod running the installer after every ROM update!
Changelog
First release!
Download and enjoy!
https://goo.gl/HYqEZt
If my work was useful always press thanks!​
There is a typo in the script:
touch /system/ect/install-recovery.sh
chmod 755 /system/etc/install-recovery.sh
chown 0:2000 /system/ect/install-recovery.sh
should be
Code:
touch /system/etc/install-recovery.sh
chmod 755 /system/etc/install-recovery.sh
chown 0:2000 /system/etc/install-recovery.sh
jprelay said:
There is a typo in the script:
touch /system/ect/install-recovery.sh
should be
Code:
touch /system/etc/install-recovery.sh
Click to expand...
Click to collapse
Ooops didn't check it perfectly just used a Compiler to see if there were some syntax errors, thanks I'll updating the file now!
Inviato dal mio G8141 utilizzando Tapatalk
Script name and command name don't match either, enabler.sh
I think that I found a solution..I wish is helpful !
1) First of all you need to have unlock bootloader and then run the temporary root
(check in "PERMANENT INSTALL" description)
AFTER ROOTING LETS GO FOR UNIT SUPPORT!
I used the init.d support through terminal emulator
2) Download the term-init.sh v3 .
3) Connect the watch to your PC.
4) Place the term-init.sh file inside your adb folder and open the command prompt.. then type the following codes:
(if adb shell or adb root not working, try to disconnect and connect your watch )
Code:
adb root
adb push term-init.sh /sdcard/
(or you can drag and drop it in your sdcard)
adb shell sh /sdcard/ term-init.sh
5) After that go and run the installer.bat file from Amazboost folder!
6) Done!​
I tried this tools but i have error
Code:
+ $'\r'
: not foundble.sh[12]:
/sdcard/enable.sh[13]: syntax error: 'if' unmatched
tminhnhat said:
I tried this tools but i have error
Code:
+ $'\r'
: not foundble.sh[12]:
/sdcard/enable.sh[13]: syntax error: 'if' unmatched
Click to expand...
Click to collapse
Same here too, the OP seems to have been making a lot of mistakes in his scripts
How is the init.d supposed to be enabled?
Hi, i want to enable AmazBoost so i came to this post to enable init.d but i lost, i dont understand what i need to do, when i follow the instructions i get this error.
########################################################
# #
# AmazFit universal init.d enabler by @AmazDev #
# #
########################################################
Mounting system...
Usage: mount [-r] [-w] [-o options] [-t type] device directory
: not foundbler.sh[12]:
/sdcard/enabler.sh[13]: syntax error: 'if' unmatched
I have Stratos 2 A1619
I have a Stock ROM 2.3.6.0 Unlocked
Thanks
---------- Post added at 05:20 PM ---------- Previous post was at 05:04 PM ----------
Hi, i tried with the other instructions but again i have a error:
C:\Program Files (x86)\Minimal ADB and Fastboot>adb shell sh /sdcard/term-init.sh
Init.d Enabler by Ryuinferno @ XDA
Script NOT running as root!
Superuser access not granted!
Please type 'su' first before running this script...
C:\Program Files (x86)\Minimal ADB and Fastboot>su
'su' is not recognized as an internal or external command,
operable program or batch file.
kostasntamas said:
I think that I found a solution..I wish is helpful !
1) First of all you need to have unlock bootloader and then run the temporary root
(check in "PERMANENT INSTALL" description)
AFTER ROOTING LETS GO FOR UNIT SUPPORT!
I used the init.d support through terminal emulator
2) Download the term-init.sh v3 .
3) Connect the watch to your PC.
4) Place the term-init.sh file inside your adb folder and open the command prompt.. then type the following codes:
(if adb shell or adb root not working, try to disconnect and connect your watch )
Code:
adb root
adb push term-init.sh /sdcard/
(or you can drag and drop it in your sdcard)
adb shell sh /sdcard/ term-init.sh
5) After that go and run the installer.bat file from Amazboost folder!
6) Done!​
Click to expand...
Click to collapse
hi mate, do you modify the term-init.sh?
may i know which version of busybox that you are using?
currently im using the busybox from here: https://forum.xda-developers.com/showpost.php?p=78031249&postcount=107
and when i try to install term-init.sh, i encountered below error:
Code:
grep applet NOT FOUND!
run-parts applet NOT FOUND!
Required applets are NOT FOUND!
Please reinstall busybox!
illkid69 said:
hi mate, do you modify the term-init.sh?
may i know which version of busybox that you are using?
currently im using the busybox from here: https://forum.xda-developers.com/showpost.php?p=78031249&postcount=107
and when i try to install term-init.sh, i encountered below error:
Code:
grep applet NOT FOUND!
run-parts applet NOT FOUND!
Required applets are NOT FOUND!
Please reinstall busybox!
Click to expand...
Click to collapse
i have same problem do u find any solution?
Is anybody enable init.d on stock fw?
Hi,
I'm trying to install the Amazboost tweaks on my rooted Stratos (A1619) with Global FW (2.3.10.5) but I suspect that the installation of the tweaks via busybox is not running correctly. I have followed precisely the procedures with success but there is no log in the AmazBoost/LOGS folder after the reboot.
I have installed the last version of busybox (V1.29.3 for MIPS) in both /system/bin and /system/xbin but no log at all.
Some posts said that init.d is not working with stock fw.
Is that true?
Is anybody can help me to check if init.d can be enabled on my rooted Stratos (A1619) with Global FW (2.3.10.5)? And how can we verify that it works?
Thanks
Hi,
I'm still trying to understand why init.d is not running on my Stratos (A1619) with Global FW (2.3.10.5).
The init.d script refers to the "run-parts" file located in the /system/xbin/ directory.
But run-parts is not present.
I have found one file coming from the xperia x10 forum but it is not working on the Stratos: /system/xbin/run-parts: not executable: 32-bit ELF file
Is somebody could provide me this run-parts file compliant with the Stratos? (or help me to understand why the amazboost tweaks are not correctly installed)

Categories

Resources