[SOLVED] Logcat not working - Optimus One, P500, V General

Hi there,
As I am developing my first apps for Android, I've run into an issue that bothers me. When trying to logcat (via terminal or Eclipse), this is the output I get:
Unable to open log device '/dev/log/main': No such file or directory
Click to expand...
Click to collapse
I've googled, but found solution only for Huawei devices (getting into service menu and activating logging) but it doesn't work with my P500. Everything (deploying , debugging) works just fine. BTW I am using NightlyFourE V4.1 ROM (that's Cyanogenmod 2.3.7) and linux workstation. Any help appreciated!

Sent from my LG-P500 using Tapatalk

Look for a tweak the same as that on the /system/etc/init.d folder
rm -r dev/log/main
or something similar to that and delete it..
Sent from my LG-P500 using Tapatalk

Coffei said:
Hi there,
As I am developing my first apps for Android, I've run into an issue that bothers me. When trying to logcat (via terminal or Eclipse), this is the output I get:
I've googled, but found solution only for Huawei devices (getting into service menu and activating logging) but it doesn't work with my P500. Everything (deploying , debugging) works just fine. BTW I am using NightlyFourE V4.1 ROM (that's Cyanogenmod 2.3.7) and linux workstation. Any help appreciated!
Click to expand...
Click to collapse
next you should use stock roms for testing and developing applications not modded ones

dnle71 said:
Look for a tweak the same as that on the /system/etc/init.d folder
rm -r dev/log/main
or something similar to that and delete it..
Click to expand...
Click to collapse
Thanks a bunch man! Worked like a charm..
trettet said:
next you should use stock roms for testing and developing applications not modded ones
Click to expand...
Click to collapse
I guess I should, but as long as it's my daily-driver I think I will prefer custom ROMs (i'm definitely not full-time developer, just a fan)..

Related

[Discontinued] xWildFirePro 2.1 v0.2b

Hello,
This is the my port of the Wildfire 2.1 Eclair Rom for the Mini Pro.
I chose Eclair because the drivers will probably be easier to find like this, you can expect a 2.2 Sense rom to come once the 2.2 AOSP is done.
Project discontinued due to GSM incompatibilities.
[Download v0.2a Here]
[Download v0.2b Update]
The Work's
Apps2SD
ADB
Booting
Display
xRecovery
Touch
SD-Card
OpenGL
Ext4 for Apps2SD
OMX (proper video playback)
Sound
The Won't 's
Charging [It says it's charging but it's not!]
GSM/3G
WiFi
Keyboard layout
USB mounting
Vibration
Sensors
Bluetooth
LED Flash & Light
Camera
YouTube Video showing installation.
YouTube Video in high quality by maxaan
Developer Notes:
Developer Notes:
I ask developers for help to try out finding how to get the drivers for the non-working hardware parts to work. Simply said, you need to copy drivers from the SE 2.1 build to this build and report if it worked and which files were used.
Changelog:
Changelog:
Project on hold until progress on CM port and until I have more users supporting me, not in the form of donations but actual work.
v0.2b is confirmed to work. It fixes sound, video playback and the dialer lags less now, thanks nefan
v0.2a is up! Prepared the system for future drivers, little faster, ext4 support for apps2sd
v0.2 Alpha is up! Fixed a lot: SD, Touchscreen, xRecovery, OpenGL
v0.1 Technical Preview / Pre-Alpha released for developers.
Hey, where do i download the x10 mini drivers??
jmms94 said:
Hey, where do i download the x10 mini drivers??
Click to expand...
Click to collapse
I have provided an link in post 2. But this is really dev only, please don't try if you don't know what you're doing, since you WILL screw up your phone otherwise.
edit
good work
when you are done with the 2.2 aosp couldnt you just upload the ported sense.apk in that thread so you can install it via root explorer or xrecovery or something?
maxaan said:
when you are done with the 2.2 aosp couldnt you just upload the ported sense.apk in that thread so you can install it via root explorer or xrecovery or something?
Click to expand...
Click to collapse
Nope, sense is integrated deep into the system. It isn't just an apk, it's an entire framework and uses more than just one application (music player, contacts, image viewer, web browser, etc.)
Mikevhl said:
Nope, sense is integrated deep into the system. It isn't just an apk, it's an entire framework and uses more than just one application (music player, contacts, image viewer, web browser, etc.)
Click to expand...
Click to collapse
oowkay.. i understand
i think this is the drivers for the touch: i cant upload it right now but if u can find them by yourself in the stock that would be good
/sys/bus/serio/
/system/etc/ts_fw_update.sh
/system/etc/firmware/cy8_truetouch_jtouch.hex
/system/etc/firmware/cy8_truetouch_tpk.hex
i read on another thread that it was those.
maxaan said:
i think this is the drivers for the touch: i cant upload it right now but if u can find them by yourself in the stock that would be good
/sys/bus/serio/
/system/etc/ts_fw_update.sh
/system/etc/firmware/cy8_truetouch_jtouch.hex
/system/etc/firmware/cy8_truetouch_tpk.hex
i read on another thread that it was those.
Click to expand...
Click to collapse
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Mikevhl said:
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Click to expand...
Click to collapse
Im just glad to help
I will se if i can find the other drivers
Mikevhl said:
Aaargh I can't pull sys/bus/serio
Thanks for the tip though!
Click to expand...
Click to collapse
sys/bus/serio is a folder.
maxaan said:
sys/bus/serio is a folder.
Click to expand...
Click to collapse
This things is in the folder
sys/bus/serio/devices/serio0
sys/bus/serio/drivers/cy8ctma300_ser/bind
sys/bus/serio/drivers/cy8ctma300_ser/bind_mode
sys/bus/serio/drivers/cy8ctma300_ser/description
sys/bus/serio/drivers/cy8ctma300_ser/serio0
sys/bus/serio/drivers/cy8ctma300_ser/uevent
sys/bus/serio/drivers/cy8ctma300_ser/unbind
sys/bus/serio/drivers_autoprobe
sys/bus/serio/drivers_probe
sys/bus/serio/uevent
As i said before i will try to find drivers for more things later. Im at school right now so i look for that when i come home.
maxaan said:
sys/bus/serio is a folder.
Click to expand...
Click to collapse
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Mikevhl said:
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Click to expand...
Click to collapse
Try with only
system/etc/firmware/cy8_truetouch_jtouch.hex
system/etc/firmware/cy8_truetouch_tpk.hex
or whole firmware folder?
Mikevhl said:
Yes I understood that, but sys/bus/serio/devices/serio0 is as well, and MANY files refuse to be pulled, even when mounted rw and pulling through recovery (uses root permissions)
Click to expand...
Click to collapse
Try to "cat old-file new-file"
and then pull the new-file.
maxaan said:
Try with only
system/etc/firmware/cy8_truetouch_jtouch.hex
system/etc/firmware/cy8_truetouch_tpk.hex
or whole firmware folder?
Click to expand...
Click to collapse
not working
EGL folder didn't fix it either.
is /sys/ formatted too when formatting /system ?
If not serio won't fix it. I've included references in init.buzz.rc but still no good
/sys files are part of the kernel - you won't be able to pull or modify them.
Ah crap, sony decided to use another touchscreen in the Pro, that's why touch is working on the mini but not on the pro

[REQUEST][ROM]CM9-Based ROM {Lending Mine Possible}

Yes, we just got our own forums and YES it seems a bit pointless to be offering this up right away.
However, I've been reading up on ROM kitchens, etc, and I am *very* eager and excited to start playing with the newest ICS build for the Mediapad.
If anyone starts working on any CWM-9 based ROM, I would more than gladly be an active tester. My tablet currently acts as a daily Pandora-listening device, so I am more than willing to test nightly/bi-nightly/4x per day builds, whatever you request.
My tablet is at your command. Heck, if you need to remote into my PC to access the tablet, I can set up a dedicated computer connected to the Springboard, just for you.
Otherwise, I am also very much willing to temporarily donate/lend my device to a credible dev who would like to work on this.
great idea to start a thread like this..
i'm also willing to do alpha/beta testing of some new custom ROMs for our lovely MediaPad
Adreno 2xx drivers for ICS now available!!!
https://developer.qualcomm.com/deve...phics-optimization-adreno/tools-and-resources
zombolo said:
Adreno 2xx drivers for ICS now available!!!
https://developer.qualcomm.com/deve...phics-optimization-adreno/tools-and-resources
Click to expand...
Click to collapse
I have installed them on my huawei phone,-not noticed much difference.
patch
manual install
maybe try it on the pad? remember to edit build prop and set composition type to gpu.
mangoman said:
I have installed them on my huawei phone,-not noticed much difference.
patch
manual install
maybe try it on the pad? remember to edit build prop and set composition type to gpu.
Click to expand...
Click to collapse
Wouldn't the ICS build we're running already have this driver?
I'm working on a CM9 port now but it'll be my first ROM ever so it's slow going haha. It will happen though.
i think they're already on the MediaPad, but we can try this...
anybody can post a short list of steps, how to install it on the MediaPad?
or is it just as simple as extracting the zip to /system folder and modifying the build.prop?
i've checked the files on mediapad already:
- /system/etc/firmware -> has the "leia" and "yamato" files, but doesn't have the "a255" and "a300" files...
- /system/lib -> this folder doesn't exist at all
hiko36 said:
I'm working on a CM9 port now but it'll be my first ROM ever so it's slow going haha. It will happen though.
Click to expand...
Click to collapse
that's excellent news hiko36
let us know if you need testing, or anything we can provide you with, to help you on this journey
Klacik said:
i think they're already on the MediaPad, but we can try this...
anybody can post a short list of steps, how to install it on the MediaPad?
or is it just as simple as extracting the zip to /system folder and modifying the build.prop?
i've checked the files on mediapad already:
- /system/etc/firmware -> has the "leia" and "yamato" files, but doesn't have the "a255" and "a300" files...
- /system/lib -> this folder doesn't exist at all
that's excellent news hiko36
let us know if you need testing, or anything we can provide you with, to help you on this journey
Click to expand...
Click to collapse
Yes, they are already there and they are more performance oriented than the genaral drivers (NenaMark2: 33.2 fps for the general driver vs. 37.9 for the one already there). Tried it by adb pushing the new driver files to the mediapad.
€: /system/lib did not exist on your device? What firmware do you use?
mblaster said:
Yes, they are already there and they are more performance oriented than the genaral drivers (NenaMark2: 33.2 fps for the general driver vs. 37.9 for the one already there). Tried it by adb pushing the new driver files to the mediapad.
€: /system/lib did not exist on your device? What firmware do you use?
Click to expand...
Click to collapse
thanks for the information.. i'm not going to try it then
i'm using the ics b010, but the /system/lib exists.. i must've been blind or something.. maybe i've looked ih /system/etc... sorry, my bad

Best ROM / Kernel / Library combination

I've tried a lot of the available ROMs (including the new JB ones), but this combination is just awesome:
Firmware MediaPad ICS 4.0.3 HWMOD C232B005
[KERNEL][AOSP][ICS 4.0.3][09/12/12] Mediapad EX (Don't flash modules)
New Qualcomm JellyBean Driver / Libraries
lagfree Governor
Overclock to 1,67 GHz
I'm pretty sure that the new Qualcomm Drivers tip the scales. Overall this combination gives you a fully working and outstanding smooth mediapad.
Have fun and press the thanks button if this helped you.
h25p said:
I've tried a lot of the available ROMs (including the new JB ones), but this combination is just awesome:
Firmware MediaPad ICS 4.0.3 HWMOD C232B005
[KERNEL][AOSP][ICS 4.0.3][09/12/12] Mediapad EX (Don't flash modules)
New Qualcomm JellyBean Driver / Libraries
lagfree Governor
Overclock to 1,67 GHz
I'm pretty sure that the new Qualcomm Drivers tip the scales. Overall this combination gives you a fully working and outstanding smooth mediapad.
Have fun and press the thanks button if this helped you.
Click to expand...
Click to collapse
Amazing testing, I am now on after_silence's CM10. Would the JB drivers with the same adb commands work with his CM10? Only thing not really working is the wifi MAC thing on that rom.
I'm pretty sure that the cm10 Rom already contains the new drivers. I believe I've read that flashing these files won't work with cm based Roms (maybe look at thread where the driver download is located).
Gesendet von meinem LT18i mit Tapatalk 2
Normally I have no problem with ADB, but for some reason I am unable to push the system files for the JB Adreno Drivers. I've attached a screenshot of my command window, but basically it's saying the file doesn't exist or I don't have permissions. I tried moving the file to a drive that wasn't hosting my Win8 OS, and ran the command with the new local file location but I got the same error.
I also tried to use Root Explorer and ES File Explorer to simply copy the files, but Root Explorer causes a hot reboot, and ES FIle Explorer freezes the tablet completely.
I've rooted a ton of devices in my day including that P.O.S. Notion Ink Adam, but this Huawei tablet is turning out to be a whole different beast in and of itself.
Any ideas on what to do now?
EDIT/UPDATE: took out the " / " after local system folder in adb command and all is golden.
I highly advice against flashing the Jellybean Adreno libraries on a ICS flavored ROM!
I've tried it and now the screen remains black. ADB works fine still though, so I can restore things to the way they were.
Still... stay away from mixing Jellybean flavored stuff into ICS!
MrColdbird said:
I highly advice against flashing the Jellybean Adreno libraries on a ICS flavored ROM!
I've tried it and now the screen remains black. ADB works fine still though, so I can restore things to the way they were.
Still... stay away from mixing Jellybean flavored stuff into ICS!
Click to expand...
Click to collapse
Do you have flashed exactly the files contained in the linked zip using adb push? Don't push the complete set from the qualcomm site.
MrColdbird said:
I highly advice against flashing the Jellybean Adreno libraries on a ICS flavored ROM!
I've tried it and now the screen remains black. ADB works fine still though, so I can restore things to the way they were.
Still... stay away from mixing Jellybean flavored stuff into ICS!
Click to expand...
Click to collapse
No problems here. I'm getting butter smooth interactions, and a whopping 3062 in Quadrant. Also the lag over HDMI has gone away for me. I can now play games on my television with my sixaxis!
isolated_epidemic said:
No problems here. I'm getting butter smooth interactions, and a whopping 3062 in Quadrant. Also the lag over HDMI has gone away for me. I can now play games on my television with my sixaxis!
Click to expand...
Click to collapse
Which ROM are you using?
I'm using CM10 ,I flashed whole of them then reboot,after that it couldn't display anythings,so I must restored system back.
chok_thewa said:
Which ROM are you using?
I'm using CM10 ,I flashed whole of them then reboot,after that it couldn't display anythings,so I must restored system back.
Click to expand...
Click to collapse
h25p did say that very likely CM10 would already have the JB fixes, so perhaps the adb pushed driver is borking the one in CM10? If you are successful again I will try.
h25p said:
Do you have flashed exactly the files contained in the linked zip using adb push? Don't push the complete set from the qualcomm site.
Click to expand...
Click to collapse
Can i just flash this zip file directly from twrp? Currently im on HWMOD b005 rom with latest Bart kernel (r08) now. Thanks
Sent from my HUAWEI MediaPad using Tapatalk 2
joy_van_hallen said:
Can i just flash this zip file directly from twrp? Currently im on HWMOD b005 rom with latest Bart kernel (r08) now. Thanks
Click to expand...
Click to collapse
It didn't work for me, but you can try.
athanaso77 said:
It didn't work for me, but you can try.
Click to expand...
Click to collapse
is it possible to just copy the system folder using root explorer and change the permission?
Sent from my HUAWEI MediaPad using Tapatalk 2
zelduy said:
is it possible to just copy the system folder using root explorer and change the permission?
Sent from my HUAWEI MediaPad using Tapatalk 2
Click to expand...
Click to collapse
When I tried to do that with Root Explorer, it froze my tablet completely. And ES File Explorer (with root activated) caused my tablet to hot reboot every time I tried. ADB is going to be your only route I believe.
isolated_epidemic said:
ADB is going to be your only route I believe.
Click to expand...
Click to collapse
That's correct.
Ok.. but I'm quiet new in this adb thingie.. do I need driver for this? cause when I type adb devices / adb remount it said no devices found..
and yes.. I'm already in debug mode...
thanks
zelduy said:
Ok.. but I'm quiet new in this adb thingie.. do I need driver for this? cause when I type adb devices / adb remount it said no devices found..
and yes.. I'm already in debug mode...
thanks
Click to expand...
Click to collapse
Install HiSuite for the proper ADB drivers. It's one of the programs on the "Disc" drive that mounts when you plug the tablet into the computer.
the combination is awesome
but after i use this combination, I have no front camera. The problem is that image need it for Skype video chat.
can somebody tell me what's wrong?
thank you
you need to push the EX's modules
Sent from my HUAWEI MediaPad using Tapatalk 2
danisukses said:
you need to push the EX's modules
Sent from my HUAWEI MediaPad using Tapatalk 2
Click to expand...
Click to collapse
so for bootR08 we need the modules?
---------- Post added at 06:10 PM ---------- Previous post was at 05:33 PM ----------
Just flashed. will test out the combi. thanks

pacman 4.3 port for (p769) updated 9/29/13

Must have unlocked bootloader and cwm installed.
So I wanted the 4.3 PACrom and was able toe port it. It wasn't too hard. I used antonx cm 10.2 as base and mateo1111 pacrom as port.
Everything works so far that I see. i just thought i would share. The WiFi is working on boot but I'm putting links to files in my dropbox if anyone wants to make this better. Thanks to everyone that made this possible.
Slimbean apps. http://db.tt/KUk1ug4e WiFi fix scripts. http://db.tt/Hq9GUcyk
(Old ROM link on 2nd page)
Okay so I updated the port and everything works great.
WiFi works without any scripts. No fc errors. No random reboots added leolawliet build prop and penderengine tweaks. runs great. This port is basically the same as mateo1111 all in one pacrom but made to use on p769
Minor fixes. Tweaks can be enabled or disabled in PAC settings init. Just like in mateo1111 all in one pacrom.other then that no other tweaks added.l9advanced settings app works. Surprisingly a lot smoother and faster and more stable then before no random reboots or any other problems so far.
updated rom link. 9/14/13 http://db.tt/rrUVfCND
updated rom link 9/28/13 https://db.tt/cMc3BfU7
updated rom link 9/29/13 https://db.tt/dIGIqJbN
Minor fixes
For tweaks check out @leolawliet thread
Everything's the same for installation. Wipe install ROM install gapps and reboot. No need to fix WiFi thanks to kuma82. WiFi is working on boot
All credit goes to ANTONX ,MATEO 1111 , AND KUMA82. And leolawliet.
SORRY FOR NOT MAKING THAT CLEAR.
twinnfamous said:
So I wanted the 4.3 PACrom and was able to port it. It wasn't too hard. I used antonx cm 10.2 as base and mateo1111 pacrom as port.
Everything works so far that I see. i just thought i would share. The WiFi needs to be fixed like the other PAC port but I'm putting links to files in my dropbox if anyone wants to make this better. Thanks to everyone that made this possible.
ROM link. http://db.tt/L4RkK4pC. Slimbean apps. http://db.tt/KUk1ug4e WiFi fix scripts. http://db.tt/Hq9GUcyk
Everything's the same for installation. Wipe install ROM install gapps reboot fix WiFi and reboot
Click to expand...
Click to collapse
I know you mean well but you can do a better job on giving credits
Plus you didn't even give me any credit for making those scripts. :what:
Actually, Lelus script is a lot cleaner to use.
Anyways, thanks for sharing.
CM 10.1 P769
twinnfamous said:
So I wanted the 4.3 PACrom and was able to port it. It wasn't too hard. I used antonx cm 10.2 as base and mateo1111 pacrom as port.
Everything works so far that I see. i just thought i would share. The WiFi needs to be fixed like the other PAC port but I'm putting links to files in my dropbox if anyone wants to make this better. Thanks to everyone that made this possible.
ROM link. .http://db.tt/L4RkK4pC Slimbean apps. http://db.tt/KUk1ug4e WiFi fix scripts. http://db.tt/Hq9GUcyk
Everything's the same for installation. Wipe install ROM install gapps reboot fix WiFi and reboot.
All credit goes to ANTONX ,MATEO 1111 , AND KUMA82.
SORRY FOR NOT MAKING THAT CLEAR.
Click to expand...
Click to collapse
maybe a couple of screenshots of it installed running??
elpuertorro said:
maybe a couple of screenshots of it installed running??
Click to expand...
Click to collapse
Here u go .
twinnfamous said:
Here u go .
Click to expand...
Click to collapse
Thank you sir!
Nice work, thank you for the port.
Sent from my LG-P769 using xda app-developers app
Should I release my port? It's not plain PACrom JB anymore, added my tweaks.
Sent from my LG-P769 using Tapatalk 2
leolawliet said:
Should I release my port? It's not plain PACrom JB anymore, added my tweaks.
Sent from my LG-P769 using Tapatalk 2
Click to expand...
Click to collapse
Yea I just did this for personal and thought I would share. I just got impatient I would love to try yours.
Wifi working on fresh install
What's up people, thanks to @Lelus and a couple of other xda members (@zeppelinrox & @dk_zero-cool), I modified Lelus script a little, and it's a init.d.
The think I like about @Lelus method is the Wi-Fi MAC address is a spoof (it's not your real MAC address)
This guyyy (Italian voice) @Lelus :highfive:
So you won't have to use the other scripts I made, unless you want your real Wi-Fi MAC address shown.
anyways, here is what the script looks like
#!/system/bin/sh
while [ ! "`ps | grep [a]ndroid`" ]; do sleep 10; done;
busybox sleep 30
if [ -e /data/misc/wifi/config ]; then
busybox mount -o remount,rw /system
busybox ifconfig wlan0 down
busybox rm /data/misc/wifi/config
busybox wifimac
busybox rm /system/etc/init.d/90kuma
exit 1
else
sh /system/etc/init.d/90kuma
fi
After the first boot, it's set to delete, so you won't ever see if you look in /etc/init.d
Anyone is welcome to include the script in your port
Since I'm a real nice guy, I uploaded the PAC 4.3 (ported by @twinnfamous) with the script included HERE
md5sum: 216cfd36237d3eb1fe7d444def082a9d
Note: I have not tried this on a dirty flash, soo... report your findings lol
ALL THANKS GO TO
@AntonX
@mateo1111
@Lelus
@twinnfamous & @leolawliet (for saving me the time on porting it LOL)
Last but definitely not least
Cyanogen Team
AOKP Team
Paranoid Android
PAC-man Team
Well for some reason WiFi just stopped working after a deep sleep, and rebooting it, did not help. I had to run the script again. It's a small price to pay for a spoofed Mac in my opinion. I really don't know what happened. I can turn it off/on and the WiFi sticks. Must have been a hiccup, I guess.
Sent from my LG-P769 using xda app-developers app
kuma82 said:
Well for some reason WiFi just stopped working after a deep sleep, and rebooting it, did not help. I had to run the script again. It's a small price to pay for a spoofed Mac in my opinion. I really don't know what happened. I can turn it off and on the WiFi sticks. Must have been a hiccup, I guess.
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
For some reason i think these phones on cm 10.1 and 2 and derived work have a deep sleep issue..i notice that while on cm if i press my mic on the BT headset to make a call it doesn't do anything..if i press power to wake then the BT signal even by passes the default lock screen as it should - on the tmo rom it wakes the phone and makes the call without me even have to touch the phone..so maybe that's something to look at in these phones with the cm rom..
elpuertorro said:
For some reason i think thsese phones on cm 10.1 and 2 and derived work have a deep sleep issue..i notice that while on cm if i press my mic on the BT headset to make a call it doesn't do anything..if i press power to wake then the BT signal even by passes the default lock screen as it should - on the tmo rom it wakes the phone and makes the call without me even have to touch the phone..so maybe that's something to look at in these phones with the cm rom..
Click to expand...
Click to collapse
Did you bring this to @AntonX or @mateo1111 attention?
Sent from my LG-P769 using Tapatalk 2
leolawliet said:
Did you bring this to @AntonX or @mateo1111 attention?
Sent from my LG-P769 using Tapatalk 2
Click to expand...
Click to collapse
Nope but will do now that you mention it thanks!
kuma82 said:
What's up people, thanks to @Lelus and a couple of other xda members (@zeppelinrox & @dk_zero-cool), I modified Lelus script a little, and it's a init.d.
The think I like about @Lelus method is the Wi-Fi MAC address is a spoof (it's not your real MAC address)
This guyyy (Italian voice) @Lelus :highfive:
So you won't have to use the other scripts I made, unless you want your real Wi-Fi MAC address shown.
anyways, here is what the script looks like
#!/system/bin/sh
while [ ! "`ps | grep [a]ndroid`" ]; do sleep 10; done;
busybox sleep 30
if [ -e /data/misc/wifi/config ]; then
busybox mount -o remount,rw /system
busybox ifconfig wlan0 down
busybox rm /data/misc/wifi/config
busybox wifimac
busybox rm /system/etc/init.d/90kuma
exit 1
else
sh /system/etc/init.d/90kuma
fi
After the first boot, it's set to delete, so you won't ever see if you look in /etc/init.d
Anyone is welcome to include the script in your port
Since I'm a real nice guy, I uploaded the PAC 4.3 (ported by @twinnfamous) with the script included HERE
md5sum: 216cfd36237d3eb1fe7d444def082a9d
Note: I have not tried this on a dirty flash, soo... report your findings lol
ALL THANKS GO TO
@AntonX
@mateo1111
@Lelus
@twinnfamous & @leolawliet (for saving me the time on porting it LOL)
Last but definitely not least
Cyanogen Team
AOKP Team
Paranoid Android
PAC-man Team
Click to expand...
Click to collapse
just remove the "remove" part of the script and it will apply it on each reboot.
Code:
busybox rm /system/etc/init.d/90kuma
now time to fix Hybrid Properties in 4.2.2
Kid_Ding said:
just remove the "remove" part of the script and it will apply it on each reboot.
Code:
busybox rm /system/etc/init.d/90kuma
now time to fix Hybrid Properties in 4.2.2
Click to expand...
Click to collapse
Yeah I thought it was a one time deal but, it stops working sometimes. Not sure why.
kuma82 said:
Yeah I thought it was a one time deal but, it stops working sometimes. Not sure why.
Click to expand...
Click to collapse
right, but at least you've made a semi-permanent fix. keeps wifi going without having to run terminal commands after a flash. after every reboot wifi is solid everytime. thanks again @kuma82
Kid_Ding said:
right, but at least you've made a semi-permanent fix. keeps wifi going without having to run terminal commands after a flash. after every reboot wifi is solid everytime. thanks again @kuma82
Click to expand...
Click to collapse
Thanks
Yeah, I had a lot of trial and errors before I was finally able to get it to work. I'm thinking I can lower the wait ttime, but I didn't want to put to much stress on the system at boot.
updated 4.3 pac
Here is link for updated port http://db.tt/DsLV6O7G
Updated base with antonx latest cm10.2 and added kuma82 script to init.d. So wifi works on first boot and every boot so far.
Seems alot smoother and faster and everything is working that I see. No random reboots even at 1350.
Big thanks to kuma82, antonx, lelus, mateo1111,and everyone else that helps make this possable.
pender engine works great
Pender engine and leolawliet build prop tweaks works great on this port. Here is link for pender engine. http://d-h.st/WKN
U can take out boot animation and no frills is not needed as overclocking options is built in settings performance app. Thanks again leolawliet
Your work is great.
I'm crossing my fingers and hoping that I can get this working on my phone. I'm so tired of stock firmware.
Sent from my LG-P769 using XDA Premium 4 mobile app

[MODULES] Cifs.ko and md4.ko for desire X

CIFS.ko
MD4.ko
With the compiled modules we will get the well-known great network features:
cifs.ko & md4.ko when loaded allow cifs (aka samba, windows) network shares to be mounted and viewable as local media.
Then we could mount-points to our samba-shared NAS ... Perfect for our DX and all music lovers with music on a smb-share.
Click to expand...
Click to collapse
These are compiled with my prototype kernel.
@Steffen_2009 here you go bro
prototype-U said:
CIFS.ko
MD4.ko
These are compiled with my prototype kernel.
@Steffen_2009 here you go bro
Click to expand...
Click to collapse
Cool! So, what command do we use to mount the shares? mount -t cifs?
Sent from my Nexus 7 using Tapatalk 4
Stereo8 said:
Cool! So, what command do we use to mount the shares? mount -t cifs?
Click to expand...
Click to collapse
I processed the insmod (from my low-level point of knowledgle) with the app mountManager and cifsManager.
From the apps I get the feedback "share sucessfully mounted"
But ...
opening mount-point results in an empty folder.
I can not navigate or see my samba-shared path or folder.
When opening the mount-point in ESfileexplorer from mountManager the folder is empty,
returning to mountManager I see a grey mountPoint.
Has mountManager lost the mount point ?
Does someone have an idea how to process it sucessfully ?
Something about permissions ?
What is a possible mount-point path, is
/storage/sdcard0/cifs/music
Click to expand...
Click to collapse
ok ?
Sorry for posting similar things two times ...
Once I thought the modules are only for the mySENSEDX+RC3.0,
but perhaps they are possible for all similar ROMs.
Anyway ... the compiling from prototype-U is the best thing for my Desire X I have seen for many weeks,
(thanks again), so lets get the samba-shares work sucessfully.
Any ReiserFS support for kernel models ?
I can't find any source code so far ...
Really want that so
Sent from my HTC Desire X using xda premium
Mounting with the compiled cifs.ko not possible yet
@prototype-U,
today I spent about 4 hours with the new modules for our D :cyclops:X.
I was testing the new modules with cmds in the DX terminal, app CIFSManager and MountManger.
The insmod was sucessfully and works without problems.
But the mount-command to the share
SU
Click to expand...
Click to collapse
mount -t cifs //192.168.x.x. /storage/sdcard0/cifs/media
Click to expand...
Click to collapse
results with "mount: invalid argument"
Perhpas I am making a mistake here.
So also the mountManager isn't processing sucessfully :crying:.
The mount smb:// on my desire x with the app mountmanager results in "Failed to connect to server"
ESfileManager has no problem finding the samba-share (with no pw) ...
Do the compiled modules work on your X ?
How do you mount a samba-share with the new compiled modules then ?
Really want to know how this has to be done...
Steffen_2009 said:
@prototype-U,
today I spent about 4 hours with the new modules for our D :cyclops:X.
I was testing the new modules with cmds in the DX terminal, app CIFSManager and MountManger.
The insmod was sucessfully and works without problems.
But the mount-command to the share
results with "mount: invalid argument"
Perhpas I am making a mistake here.
So also the mountManager isn't processing sucessfully :crying:.
The mount smb:// on my desire x with the app mountmanager results in "Failed to connect to server"
ESfileManager has no problem finding the samba-share (with no pw) ...
Do the compiled modules work on your X ?
How do you mount a samba-share with the new compiled modules then ?
Really want to know how this has to be done...
Click to expand...
Click to collapse
Can you try also fulmix.Kernel? I added CIFS support, please test.
xpirt
Steffen_2009 said:
@prototype-U,
today I spent about 4 hours with the new modules for our D :cyclops:X.
I was testing the new modules with cmds in the DX terminal, app CIFSManager and MountManger.
The insmod was sucessfully and works without problems.
But the mount-command to the share
results with "mount: invalid argument"
Perhpas I am making a mistake here.
So also the mountManager isn't processing sucessfully :crying:.
The mount smb:// on my desire x with the app mountmanager results in "Failed to connect to server"
ESfileManager has no problem finding the samba-share (with no pw) ...
Do the compiled modules work on your X ?
How do you mount a samba-share with the new compiled modules then ?
Really want to know how this has to be done...
Click to expand...
Click to collapse
I will release a kernel which can actually run cifs.ko. I think its not working because the kernel you are using doesn't expect cifs running on it. But my logic seems wrong so m nt so sure abt it
Can you tell me the procedure of testing it?
prototype-U said:
I will release a kernel which can actually run cifs.ko. I think its not working because the kernel you are using doesn't expect cifs running on it. But my logic seems wrong so m nt so sure abt it
Can you tell me the procedure of testing it?
Click to expand...
Click to collapse
Yes, prototype-U, it seems to inter-act with the kernel.
Procedure of testing.
There are three scenarios of testing.
1. test with app MountManager
2. test with app CIFSManager
3. cmd-test with commands in terminal
Details to 1.
In the app (from play store market) it is possible to define serveral details.
Details can be:
which modules
when process loading (start of app/boot/not at all)
path to cifs.ko and md4.ko on the DX
After definition of the details, checking of loaded modules is possible.
If no cifs.ko is loaded, processing further mounting steps have little chances
Then processing the mount to an external stick/HDD running a samba-share
Last step is checking the mount point with different file managers like ESfileExplorer and totalCommander.
If okay the path should be also usable in any app.
Details to 2.
Similar to 1. ,
but is not having detailed check-possibilies like loaded module-checking.
Is to verify the result of 1.
Details to 3.
"classic" cmds in a terminal
SU
Click to expand...
Click to collapse
then to load from cmd line
insmod /path/to/cifs.ko
insmod /path/to/md4.ko
Click to expand...
Click to collapse
Last
mount -t cifs //IPaddress/path/to/share/on/server /path/where/you/want/to/access/it/on/the/phone
or
mount -t cifs -o username=USERNAME,password=PASSWD //IPaddress/path/to/share/on/server /path/where/you/want/to/access/it/on/your/phone
Click to expand...
Click to collapse
A kernel with working integrated Samba-access for our Desire X's would be a gorgeous dream !
Hi xpirt,
thanks for your information about fulmix kernel.
I am not 100% sure if I processed everything correctly.
So I did it three times with two different combinations
Can you try also fulmix.Kernel?
Click to expand...
Click to collapse
Yes, ... I came from [ROM] mySENSEdx+ RC3.0 (JB | Sense 4+).
Today I installed also the breathless-theme and a battery-mod.
Then I flased the fulmix#2 kernel-image on that.
added CIFS support, please test.
Click to expand...
Click to collapse
Yes ... I love to be the first to try it
Result.
There was no loaded cifs.ko and md4.ko in mountManager.
So it seems to be not working yet.
Not possible (for me) to mount with cifsManager, not possible to mount with mountManager
Then I tried to load the files from prototype-U with MountManager.
Only loading the md4 was possible, not the cifs.ko any more.
Then flashed the recovery of mySENSE without breathless-theme and without battery-mod.
Then I tried again to load the files from prototype-U with MountManager.
Loading was possible again.
But mounting a share didn't process sucessfully yet.
So it is really gorgeous news to read of a kernel with integtrated cifs.ko
Try using those modules on my latest kernel.
Where can i find your latest Kernel?
Sent from my HTC Desire X using xda app-developers app
Steffen_2009 said:
Where can i find your latest Kernel?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
in my thread
original dev section
Thanks
... Is
http://forum.xda-developers.com/showthread.php?p=44641531 with built 55 the right Kernel?
I am not really sure... Sorry
Sent from my HTC Desire X using xda app-developers app
Steffen_2009 said:
Thanks
... Is
http://forum.xda-developers.com/showthread.php?p=44641531 with built 55 the right Kernel?
I am not really sure... Sorry
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
Yep, that's correct
I flashed built #55 kernal on [ROM] [17.07.13] mySENSEdx+ RC3.0 and tested with modules from
http://forum.xda-developers.com/showthread.php?p=45132569#post45132569
Result:
Now I am able to load cifs.ko and md4ko sucessfully again.
Mounting a samba-share is still not possible (for me) using cifsMansger or Mountmanager
error:
Mount:Invalid argument
What can we do , is someone able to process a sucessfull samba-mount ?
Steffen_2009 said:
I flashed built #55 kernal on [ROM] [17.07.13] mySENSEdx+ RC3.0 and tested with modules from
http://forum.xda-developers.com/showthread.php?p=45132569#post45132569
Result:
Now I am able to load cifs.ko and md4ko sucessfully again.
Mounting a samba-share is still not possible (for me) using cifsMansger or Mountmanager
error:
Mount:Invalid argument
What can we do , is someone able to process a sucessfull samba-mount ?
Click to expand...
Click to collapse
You've used it on any other phone? Does it work there?
Sorry, i just have my HTC dx to test it.
If we are compiling a kernel isn't it important to spezify for which mobile?
Sent from my HTC Desire X using xda app-developers app
Steffen_2009 said:
Sorry, i just have my HTC dx to test it.
If we are compiling a kernel isn't it important to spezify for which mobile?
Sent from my HTC Desire X using xda app-developers app
Click to expand...
Click to collapse
no m saying.. have u used this feature on some other phone? Maybe the way you are doing is wrong? Just wanted to check if you know what u are doing..
You are sure your samba share is working correctly? When I have time, I'll try it myself.
Maybe the way you are doing is wrong? Just wanted to check if you know what u are doing..
Click to expand...
Click to collapse
dansou901 said:
You are sure your samba share is working correctly?
Click to expand...
Click to collapse
This samba-share is accessed from my ubuntu-pc and from my windowsXP-PC without any problems.
With ESfile explorer it is also possible to access any files on the smb with DX phone.
Of course the way I do it could be wrong. I am not 100% sure ....
want to learn, if I make a mistake somewhere.
When I have time, I'll try it myself
Click to expand...
Click to collapse
That would be nice and really a great help :good:
... at the moment I feel something like "being alone out there"
Hi prototype-U,
I am still hoping you as a really talented guy is
able to create a working samba-share access for our dx.
These are compiled with my prototype kernel.
@Steffen_2009 here you go bro
Click to expand...
Click to collapse
Is it possible to find the missing point ?
Has someone managed to access ROM/kernel native a smb device ?

Categories

Resources