do u think it is possible ??
http://www.youtube.com/watch?v=_rphm-vAKcg
i think he has cypress digitizer
fifo171 said:
i think he has cypress digitizer
Click to expand...
Click to collapse
what's that and what it does? =o
there are 2 types of digitizers on X8:
1. synaptics - doixanhs x8gesture works with this digitizer, it's simulated pinch-to-zoom
2.cypress - AnDyXs module works with this digitizer, it's real dualtouch
and if i have cypress digitizers
how do i install that real dualtouch ?
i've checked in the terminal that command-
dmesg | grep "cyttsp-i2c"
and it said
[ 2.520489] cyttsp-i2c: probe of 0-0024 failed with error -12
is that means that i have cypress?
sultanovski said:
and if i have cypress digitizers
how do i install that real dualtouch ?
i've checked in the terminal that command-
dmesg | grep "cyttsp-i2c"
and it said
[ 2.520489] cyttsp-i2c: probe of 0-0024 failed with error -12
is that means that i have cypress?
Click to expand...
Click to collapse
are you rooted??? if no, root your phone and try this
on first screen select 4, after that select 1
it will say you if you have cypress or synaptics
if you want to install x8gesture/cypress dt, then select 2 (install dualtouch/multitouch) on the same screen where you pressed 1 it will install module depending on your digitizer (it will recognize it automatically)
sultanovski said:
and if i have cypress digitizers
how do i install that real dualtouch ?
i've checked in the terminal that command-
dmesg | grep "cyttsp-i2c"
and it said
[ 2.520489] cyttsp-i2c: probe of 0-0024 failed with error -12
is that means that i have cypress?
Click to expand...
Click to collapse
You have synaptics. Install fake multitouch by doixanh.
sultanovski said:
do u think it is possible ??
http://www.youtube.com/watch?v=_rphm-vAKcg
Click to expand...
Click to collapse
Are you blind or what?
Related
Working now. Check my rom
You mean you want to try if you can activate the 3G module?
I flashed it but it doesn't work. There isn't even the mobile data option. You know where you can change APNs etc.
I couldn't grab the adb output though. Adb doesn't see my TF I'll try again in the evening.
Sent from my Galaxy Nexus using XDA
Nebucatnetzer said:
I flashed it but it doesn't work. There isn't even the mobile data option. You know where you can change APNs etc.
I couldn't grab the adb output though. Adb doesn't see my TF I'll try again in the evening.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
You can also put "ls /dev" in Terminal Emulator and give me the output
Nebucatnetzer said:
I flashed it but it doesn't work. There isn't even the mobile data option. You know where you can change APNs etc.
I couldn't grab the adb output though. Adb doesn't see my TF I'll try again in the evening.
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
1. Make sure you have usb debugging enabled on the transformer (this is often not the case on new installs)
2. try the naked drivers
Naked drivers: http://forum.xda-developers.com/showthread.php?t=1379875
You can also put "ls /dev" in Terminal Emulator and give me the output
Click to expand...
Click to collapse
Here you go.
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ ls /dev
accelirq
alarm
android_adb
ashmem
asusec
battery
binder
block
bus
compassirq
console
cpu_dma_latency
cpuctl
device-mapper
dsp_fm34
full
fuse
graphics
i2c-0
i2c-1
i2c-2
i2c-3
i2c-4
input
kmsg
knvmap
lightsensor
log
maXTouch
maXTouch_messages
max_online_cpus
mem
mi1040
mpu
mpuirq
mtp_usb
nct1008
network_latency
network_throughput
null
nvhdcp1
nvhost-ctrl
nvhost-display
nvhost-dsi
nvhost-gr2d
nvhost-gr3d
nvhost-isp
nvhost-mpe
nvhost-vi
nvmap
ov5640
port
ppp
ptmx
pts
random
rfkill
rtc0
snd
socket
tegra-crypto
tegra_avp
tegra_camera
tegra_dc0
tegra_dc1
tegra_mediaserver
tegra_rpc
tegra_sema
timerirq
touch_debug
touchpanel
tps6586x
tty
ttyHS1
ttyHS2
ttyHS3
ttyS0
ttyS1
ttyS2
ttyS3
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3
ttyUSB4
ttyUSB5
tun
uinput
urandom
usb
usb_accessory
vga_arbiter
wm8903
xt_qtaguid
zero
[email protected]:/ $
do you have a public source tree for your work ?
Nebucatnetzer said:
Here you go.
Code:
[email protected]:/ $ export PATH=/data/local/bin:$PATH
[email protected]:/ $ ls /dev
accelirq
alarm
android_adb
ashmem
asusec
battery
binder
block
bus
compassirq
console
cpu_dma_latency
cpuctl
device-mapper
dsp_fm34
full
fuse
graphics
i2c-0
i2c-1
i2c-2
i2c-3
i2c-4
input
kmsg
knvmap
lightsensor
log
maXTouch
maXTouch_messages
max_online_cpus
mem
mi1040
mpu
mpuirq
mtp_usb
nct1008
network_latency
network_throughput
null
nvhdcp1
nvhost-ctrl
nvhost-display
nvhost-dsi
nvhost-gr2d
nvhost-gr3d
nvhost-isp
nvhost-mpe
nvhost-vi
nvmap
ov5640
port
ppp
ptmx
pts
random
rfkill
rtc0
snd
socket
tegra-crypto
tegra_avp
tegra_camera
tegra_dc0
tegra_dc1
tegra_mediaserver
tegra_rpc
tegra_sema
timerirq
touch_debug
touchpanel
tps6586x
tty
ttyHS1
ttyHS2
ttyHS3
ttyS0
ttyS1
ttyS2
ttyS3
ttyUSB0
ttyUSB1
ttyUSB2
ttyUSB3
ttyUSB4
ttyUSB5
tun
uinput
urandom
usb
usb_accessory
vga_arbiter
wm8903
xt_qtaguid
zero
[email protected]:/ $
Click to expand...
Click to collapse
Many thanks for that, now I can see kernel supports it, so it should be possible to integrate 3G
I'll fix the build later
Cool looking forward to this. Maybe it stops my TF from rebooting when it's unconnected to a power source.
Sent from my Galaxy Nexus using XDA
new build on the first post
still no public source ?
rhaaa said:
still no public source ?
Click to expand...
Click to collapse
I'll provide it when everything is working
It doesn't work. I can't save any APNs because there is no save button.
And if I want to choose the network operator it fails at the search.
Do you need any specific logs?
Nebucatnetzer said:
It doesn't work. I can't save any APNs because there is no save button.
And if I want to choose the network operator it fails at the search.
Do you need any specific logs?
Click to expand...
Click to collapse
A logcat would be nice, when you try to search for networks
ricardopvz said:
A logcat would be nice, when you try to search for networks
Click to expand...
Click to collapse
Et voilà
10 char
Is there anyone working on it? Its really worth a shot. Even for the Aroma installer.
Özgürce said:
Is there anyone working on it? Its really worth a shot. Even for the Aroma installer.
Click to expand...
Click to collapse
Blefish is porting touch recovery, he tweeted that he will be releasing it with CM9 0.03 in mid July.
Yea, its working well, but its missing the atmel support again (...). I will tweet as soon as I get it properly working on both touch panels.
Sent from my U8800 using Tapatalk 2
Can you release it? At atmel will work with hardware buttons until you fix this..
Sent from my U8800
Why release it since the touch wont work for Atmel users, so no TOUCH recovery.
AceDroidX said:
Why release it since the touch wont work for Atmel users, so no TOUCH recovery.
Click to expand...
Click to collapse
Yes, but Blefish could release a version for those with synaptics... I think it wouldn't hurt
Sent from my U8800
It will be only for U8800 (not for pro) I think??
fjsferreira said:
Yes, but Blefish could release a version for those with synaptics... I think it wouldn't hurt
Sent from my U8800
Click to expand...
Click to collapse
Yes, and we could act as beta testers, so if there is some bug it could be fixed on next, atmel support version.
Blefish said:
Yea, its working well, but its missing the atmel support again (...). I will tweet as soon as I get it properly working on both touch panels.
Sent from my U8800 using Tapatalk 2
Click to expand...
Click to collapse
Thats great! Glad to hear someone working on it. I'm using 4EXT Touch recovery on my Incredible S. Its awesome.
Blefish said:
Yea, its working well, but its missing the atmel support again (...). I will tweet as soon as I get it properly working on both touch panels.
Sent from my U8800 using Tapatalk 2
Click to expand...
Click to collapse
Will it support Universal Flasher Tool for theming?
With your CyanogemMOD ROM that will be a must have!!!
For the moment it is only supported by 5.0.2.7 CWM...
sr21 said:
Will it support Universal Flasher Tool for theming?
With your CyanogemMOD ROM that will be a must have!!!
For the moment it is only supported by 5.0.2.7 CWM...
Click to expand...
Click to collapse
Can you get me the log? Try to flash it and after that go to advanced options, you should find it there.
About recovery - I'll cook it up, it will not have "offmode" charging as it's not handled by recovery nowadays. And of course, no Atmel support just yet.
Blefish said:
Can you get me the log? Try to flash it and after that go to advanced options, you should find it there.
About recovery - I'll cook it up, it will not have "offmode" charging as it's not handled by recovery nowadays. And of course, no Atmel support just yet.
Click to expand...
Click to collapse
LOG:
Code:
failed to open /sys/class/android_usb_/android0/state: No such file or directory
Universal Flasher Tool 3.6
sr21 said:
LOG:
Code:
failed to open /sys/class/android_usb_/android0/state: No such file or directory
Universal Flasher Tool 3.6
Click to expand...
Click to collapse
That error is common in 2.6.35 kernel with CWM 5.5.0.4. I'd need the whole log to help you. Or, you can send me the updater-script that should be located at zip-file/META-INF/com/google/android.
Blefish said:
That error is common in 2.6.35 kernel with CWM 5.5.0.4. I'd need the whole log to help you. Or, you can send me the updater-script that should be located at zip-file/META-INF/com/google/android.
Click to expand...
Click to collapse
You can see the script in the Universal Flasher Tool link that I provided before. The zip is a template.
It uses a script to do the modding in the recovery.
You can also check one of my flashable zips that I use in my TouchWiz MOD/ADDON PACK: Touchwiz_for_u8800_u8800pro_v4.1.0.1u1_signed.zip
You need to check the /META-INF/com/google/android/, the /tools/, /MORPH/ (themed apps goes here) and the MOD.config file.
I think the script fails here (/tools/run.sh):
Code:
################### MORPHING ##################
UI_PRINT " "; LOG="MORPHING >>"; LOGS "$LOG"; UI_PRINT "$LOG"
CHECK2=0
x=1
until [ $x = 0 ]; do
if [ -d $PATHDATA ];then
WORK=$PATHDATA
SYSTEM="/data/app"
elif [ ! -d $PATHDATA ] && [ -d $PATHFRAM ];then
WORK=$PATHFRAM
SYSTEM="/system/framework"
elif [ ! -d $PATHDATA ] && [ ! -d $PATHFRAM ] && [ -d $PATHAPP ]; then
WORK=$PATHAPP
SYSTEM="/system/app"
elif [ ! -d $PATHDATA ] && [ ! -d $PATHFRAM ] && [ ! -d $PATHAPP ]; then
x=0
fi
if [ $x = 1 ]; then
for f in $(ls $WORK); do
if [ -e $SYSTEM/$f ];then
if [ `/cache/tools/tar -tPf $RESTORE/backup.tar $SYSTEM/$f | wc -l` = 0 ]; then
/cache/tools/tar -prPf $RESTORE/backup.tar $SYSTEM/$f
fi
mkdir -p /$APPLY
f2="`echo $f | cut -d "." -f 1`.zip"
mv $SYSTEM/$f /$APPLY/$f2
#FIX -V4 SUFFIXES IN FOLDERS
if [ $V4MORPHING = "yes" ] && [ -d $WORK/$f/res ];then
FILES=`/system/xbin/7z l $APPLY/$f2 | awk '{print $6}'`
cd $WORK/$f/res
find * -type d | while read i;do
if [ `echo $FILES | grep $i-v4 | wc -l` != 0 ]; then
mv $WORK/$f/res/$i $WORK/$f/res/$i-v4
fi
done
fi
#CYANOGENMOD vs STOCK BASED ROM
if [ $MULTIPLATTFORM = "yes" ];then
cd $WORK/$f
find * -type f | while read i;do
if [ $CYANO = "yes" ] && [ `basename $i | cut -d "#" -f 1` = "CMOD" ];then
mv $WORK/$f/$i $WORK/$f/`dirname $i`/`basename $i | cut -d "#" -f 2`
elif [ $CYANO = "no" ] && [ `basename $i | cut -d "#" -f 1` = "CMOD" ];then
rm $i
fi
done
fi
#MORPH, ZIP & ZIPALIGN
if [ $CLEANMORPHING = "yes" ];then
MORPH=`/system/xbin/7z a -ur0x2y2z2w2 $APPLY/$f2 $WORK/$f/* | grep -o -E "Everything is Ok" | wc -l`
else
MORPH=`/system/xbin/7z a $APPLY/$f2 $WORK/$f/* | grep -o -E "Everything is Ok" | wc -l`
fi
/cache/tools/zipalign -f 4 $APPLY/$f2 $SYSTEM/$f
rm -Rf $APPLY $WORK/$f
chown 0.0 $SYSTEM/$f && chmod 644 $SYSTEM/$f
if [ ! -e $SYSTEM/$f ] || [ $MORPH = 0 ]; then
/cache/tools/tar -pxPf $RESTORE/backup.tar $SYSTEM/$f
LOG="[X] Error with $f!"; LOGS "$LOG"; UI_PRINT "$LOG"
LOG="[<] Restored original $f"; LOGS "$LOG"; UI_PRINT "$LOG"
let CHECK2=$CHECK2-1
else
LOGS "[v] $SYSTEM/$f morphed"; UI_PRINT "[v] $f morphed"
let CHECK2=$CHECK2+2
fi
else
LOG="[!] $f not found, ignoring"; LOGS "$LOG"; UI_PRINT "$LOG"
fi
done
rm -R $WORK
fi
done
if [ $CHECK2 -le 0 ];then
LOG="[!] Nothing to morph"; LOGS "$LOG"; UI_PRINT "$LOG"
fi
[CM9.0.0][Siyah v4.1rc1+] Prolific/FTDI Serial Terminal HowTo
Hi everybody out there!
I just finally managed to use my Galaxy S2 as a serial terminal for my newly bought cubox (google for solid-run)
and as I found very little information on how to achieve that, I thought about telling the word to other folks like me.
As I am definitely not experienced with compiling kernels and stuff, I used a precompiled kernel and rom:
Siyah Kernel: Siyah-s2-v4.1rc1-CWM.zip
Cyanogenmod: cm-9.0.0-galaxys2.zip
I also installed Busybox from BusyBox Pro by Stephen (Stericson) which contains the tool microcom
Now I use Irssi Connectbot, open a session and enter the following commands:
For becoming root: su
Needed first: insmod /lib/modules/usbserial.ko
If I want the Prolific Adapter: insmod /lib/modules/pl2303.ko
If I want the FTDI Adapter: insmod /lib/modules/ftdi_sio.ko
Now I check, if the modules have been loaded: lsmod
That gives me the following:
dhd 399255 0 - Live 0xbf04e000
ftdi_sio 27902 0 - Live 0xbf044000
pl2303 11895 0 - Live 0xbf03e000
usbserial 24441 2 ftdi_sio,pl2303, Live 0xbf034000
j4fs 68207 1 - Live 0xbf00a000 (P)
Si4709_driver 24227 0 - Live 0xbf000000
ftdi_sio ... Live ... <- FTDI Module loaded
pl2303 ... Live ... <- Prolific Module loaded
Now I plug my Usb2Microusb cable into my device and my OTG Adapter and finally into my Galaxy S2
Because me OTG Adapter was a very cheap one,
I need to check if it is actually connected:
dmesg | grep usb
...
<6>[53402.191025] usb 2-1: Manufacturer: Prolific Technology Inc.
<6>[53402.237498] usb 2-1: pl2303 converter now attached to ttyUSB0
I now have a ttyUSB0 in /dev , which I can use with microcom:
microcom -s 115200 /dev/ttyUSB0
et voilà, im using a serial terminal connection to my device.
When I'm finished, I close microcom with Ctrl-x.
( I actually need to push the onscreen Ctrl in Connectbot and then press x on my touchscreen keyboard)
Now I unplug the OTG Adapter and unload the loaded modules with rmmod:
rmod pl2303
rmmod ftdi_sio
rmmod usbserial
Thats all. No more Bulky Laptops for Serial connections in cramped places!
PS: Thats my 1st post on this site and about my 10th post in forums in my lifetime.
So yeah, Im a "noob" in forumposting and a not so perfect english speaker.
Please feel free to correct and guide me
Thanks for the post. You can also create a script for faster execution.
Does it necessary to unload the modules after use?
Sent from my GT-I9100 using xda app-developers app
What do I have to do to get this working on rooted Xperia Z? I do not see any /lib folder in root.
Hi
I want to bring you the fix permission script , t exactly same as the one in cwm/twrp ! The whole codes are written by cwm and cyanogen mod developers . I did some changes and modification to make it run on android enviroment .
How to use ?
You have two ways to use this script :
1- Using Script Manager :
Just change it names from fp.txt to fp.sh and run it in root mode
2- Using terminal emulator :
rename it to fp.sh . move it to /system/bin . change permissions to rwxrwxrwx ( 777 ) . open terminal and type :
Code:
su
fp.sh
Credits
cyanogen mod team
777 is a good permission? Sorry but this makes the file world-writable. Maybe learn something about permissions in linux before providing a script?
Nexus 4 cihazımdan Tapatalk 4 Beta ile gönderildi
droidjam said:
777 is a good permission? Sorry but this makes the file world-writable. Maybe learn something about permissions in linux before providing a script?
Nexus 4 cihazımdan Tapatalk 4 Beta ile gönderildi
Click to expand...
Click to collapse
But I don't think he need it all the time!
Maybe he want remove it after run it
Sent from my GT-I9300 using Tapatalk 4 Beta
droidjam said:
777 is a good permission? Sorry but this makes the file world-writable. Maybe learn something about permissions in linux before providing a script?
Nexus 4 cihazımdan Tapatalk 4 Beta ile gönderildi
Click to expand...
Click to collapse
All busybox applets + system applets are moded in 777 !
I is just an small script and you have to remove it when you done your work . IT IS NOT A SYSTEM FILE OR A SYSFS FILE to be concerned about !!!!!!
Good! I needed some times something like this thanks for the scripts
regards!
Hello alireza7991 and thank you for this script!
I tried it on my Galaxy Tab 3 running RocketTab v3.1 ROM (excellent stuff, Android 4.1.2) using SSH Droid and Terminal (on my Mac) but I get a "Bus Error" for each application.
The fp.sh permissions are correct, and running it as "su" too, but I still get this below. Any idea what's wrong, please?
I think it starts by the fact it's not mounting properly. (please note this is run live, in Terminal via SSH) Check the "applet not found" error...
Code:
[email protected]:/data/data/berserker.android.apps.sshdroid/home # ./fp.sh
mount: applet not found
./fp.sh started at 02-08-2014 22:50:32
Processing (1 of 113): com.google.android.location...
Bus error
Processing (2 of 113): com.imdb.mobile...
Bus error
Processing (3 of 113): com.sec.android.app.phoneutil...
Bus error
[…]
Processing (112 of 113): com.google.android.syncadapters.contacts...
Bus error
Processing (113 of 113): com.google.android.backup...
Bus error
./fp.sh ended at 02-08-2014 22:50:57 (Runtime:0m25s)
[email protected]:/data/data/berserker.android.apps.sshdroid/home #
konsti said:
Hello alireza7991 and thank you for this script!
I tried it on my Galaxy Tab 3 running RocketTab v3.1 ROM (excellent stuff, Android 4.1.2) using SSH Droid and Terminal (on my Mac) but I get a "Bus Error" for each application.
The fp.sh permissions are correct, and running it as "su" too, but I still get this below. Any idea what's wrong, please?
I think it starts by the fact it's not mounting properly. (please note this is run live, in Terminal via SSH) Check the "applet not found" error...
Code:
[email protected]:/data/data/berserker.android.apps.sshdroid/home # ./fp.sh
mount: applet not found
./fp.sh started at 02-08-2014 22:50:32
Processing (1 of 113): com.google.android.location...
Bus error
Processing (2 of 113): com.imdb.mobile...
Bus error
Processing (3 of 113): com.sec.android.app.phoneutil...
Bus error
[…]
Processing (112 of 113): com.google.android.syncadapters.contacts...
Bus error
Processing (113 of 113): com.google.android.backup...
Bus error
./fp.sh ended at 02-08-2014 22:50:57 (Runtime:0m25s)
[email protected]:/data/data/berserker.android.apps.sshdroid/home #
Click to expand...
Click to collapse
install busybox and try :
Code:
export PATH=${PATH}:/system/xbin
before running it.
alireza7991 said:
install busybox and try :
Code:
export PATH=${PATH}:/system/xbin
before running it.
Click to expand...
Click to collapse
Thank you alireza7991, I am not an expert yet on Android (despite knowing some UNIX) so how can I first check if BusyBox is (properly) installed on this device? Is there a simple way to check, by means of e.g. a test command?
The ROM I am using is excellent RocketTab v3.1 for my Galaxy Tab 3 7" but unfortunately the thread is now locked (to ask). However, there is mention that BusyBox is installed... perhaps only the PATH environment was missing?
Many thanks again!
konsti said:
Thank you alireza7991, I am not an expert yet on Android (despite knowing some UNIX) so how can I first check if BusyBox is (properly) installed on this device? Is there a simple way to check, by means of e.g. a test command?
The ROM I am using is excellent RocketTab v3.1 for my Galaxy Tab 3 7" but unfortunately the thread is now locked (to ask). However, there is mention that BusyBox is installed... perhaps only the PATH environment was missing?
Many thanks again!
Click to expand...
Click to collapse
It's pretty similar to UNIX. type 'busybox' in terminal if busyox has not been installed shell will says the command not found or sth similar.
Hi again alireza7991, thanks for your info. Typing "busybox" on the terminal window on my Mac (via SSHDroid) I get:
Code:
BusyBox v1.21.0 (2013-07-08 16:00:47 CEST) multi-call binary.
Now, your export command although accepted, didn't work. So I figured typing it as I find it on my Mac:
Code:
export PATH="/system/xbin/":$PATH
[B]instead of[/B]
export PATH=${PATH}:/system/xbin
And now the script works, I tried it with -s option (for simulation) and get nothing as error(s) for apps. Does that mean I am OK in terns of "fixed" permissions?
However, as you can see, the last part of the script still has issues? Or is it the "simulation" flag?
Your comment is appreciated again… I think it's that last bit in your script (chmod 644 /system/app/*) which I am not sure what it serves for… or is it /system/ not properly mounted as r/w?
Many thanks:
Code:
[B][email protected]:/data/data/berserker.android.apps.sshdroid/home #[/B] [COLOR="DarkRed"]./fp.sh -s[/COLOR]
./fp.sh started at 02-15-2014 13:56:44
Processing (1 of 113): com.google.android.location...
Processing (2 of 113): com.imdb.mobile...
Processing (3 of 113): com.sec.android.app.phoneutil...
[...]
Processing (111 of 113): com.bigeyes0x0.trickstermod...
Processing (112 of 113): com.google.android.syncadapters.contacts...
Processing (113 of 113): com.google.android.backup...
./fp.sh ended at 02-15-2014 13:58:18 (Runtime:1m34s)
chmod: /system/app/AllshareService.apk: Read-only file system
chmod: /system/app/ApplicationsProvider.apk: Read-only file system
[...]
chmod: /system/app/minimode-res.apk: Read-only file system
chmod: /system/app/serviceModeApp.apk: Read-only file system
[B][email protected]:/data/data/berserker.android.apps.sshdroid/home #[/B]
alireza7991 said:
It's pretty similar to UNIX. type 'busybox' in terminal if busyox has not been installed shell will says the command not found or sth similar.
Click to expand...
Click to collapse
konsti said:
Hi again alireza7991, thanks for your info. Typing "busybox" on the terminal window on my Mac (via SSHDroid) I get:
Code:
BusyBox v1.21.0 (2013-07-08 16:00:47 CEST) multi-call binary.
Now, your export command although accepted, didn't work. So I figured typing it as I find it on my Mac:
Code:
export PATH="/system/xbin/":$PATH
[B]instead of[/B]
export PATH=${PATH}:/system/xbin
And now the script works, I tried it with -s option (for simulation) and get nothing as error(s) for apps. Does that mean I am OK in terns of "fixed" permissions?
However, as you can see, the last part of the script still has issues? Or is it the "simulation" flag?
Your comment is appreciated again… I think it's that last bit in your script (chmod 644 /system/app/*) which I am not sure what it serves for… or is it /system/ not properly mounted as r/w?
Many thanks:
Code:
[B][email protected]:/data/data/berserker.android.apps.sshdroid/home #[/B] [COLOR="DarkRed"]./fp.sh -s[/COLOR]
./fp.sh started at 02-15-2014 13:56:44
Processing (1 of 113): com.google.android.location...
Processing (2 of 113): com.imdb.mobile...
Processing (3 of 113): com.sec.android.app.phoneutil...
[...]
Processing (111 of 113): com.bigeyes0x0.trickstermod...
Processing (112 of 113): com.google.android.syncadapters.contacts...
Processing (113 of 113): com.google.android.backup...
./fp.sh ended at 02-15-2014 13:58:18 (Runtime:1m34s)
chmod: /system/app/AllshareService.apk: Read-only file system
chmod: /system/app/ApplicationsProvider.apk: Read-only file system
[...]
chmod: /system/app/minimode-res.apk: Read-only file system
chmod: /system/app/serviceModeApp.apk: Read-only file system
[B][email protected]:/data/data/berserker.android.apps.sshdroid/home #[/B]
Click to expand...
Click to collapse
I think I 've forgot to mount system rw before. this was used to fix a bug which caused bootloop in my device.
however this is an extremely old job and I do not remember what I have done, sorry .
alireza7991 said:
I think I 've forgot to mount system rw before. this was used to fix a bug which caused bootloop in my device.
however this is an extremely old job and I do not remember what I have done, sorry .
Click to expand...
Click to collapse
how to be included on my build rom?
Project thread created..
http://forum.xda-developers.com/showthread.php?t=2627255
install-or-mount-v0.8-gui.zip
Use this thread for help
Device List
Change Log
Sony Xperia P - CM11 4.4.2
Error with
Code:
handle_error mke2fs -qF -t $fs_type $IMGLOC/$IMGNAME
Needed another command.
ONDR4SH3K said:
Sony Xperia P - CM11 4.4.2
Error with
Code:
handle_error mke2fs -qF -t $fs_type $IMGLOC/$IMGNAME
Needed another command.
Click to expand...
Click to collapse
I figured that was gonna be an issue.
There are so many variants when it comes to device / busybox, I tried to get around that by including my own binary but fail on my part i guess...
Anyways.
Fix this line
Code:
LINE: 310 handle_error mke2fs -qF -t $fs_type $IMGLOC/$IMGNAME
to
Code:
handle_error mk2fs.ext2 $IMGLOC/$IMGNAME
userdelroot said:
I figured that was gonna be an issue.
There are so many variants when it comes to device / busybox, I tried to get around that by including my own binary but fail on my part i guess...
Anyways.
Fix this line
Code:
LINE: 310 handle_error mke2fs -qF -t $fs_type $IMGLOC/$IMGNAME
to
Code:
handle_error mk2fs.ext2 $IMGLOC/$IMGNAME
Click to expand...
Click to collapse
I rewrite with mke2fs -F $IMGLOC/$IMGNAME this working well.
But another problem with debootstrap. See attachment. So it's end of testing, isn't it?
ONDR4SH3K said:
I rewrite with mke2fs -F $IMGLOC/$IMGNAME this working well.
But another problem with debootstrap. See attachment. So it's end of testing, isn't it?
Click to expand...
Click to collapse
hmm...
I had that error initially also and I corrected it, probably should of documented what I fixed...
in the terminal type
uname
Is that a valid command?
change install-or-mount
Code:
LINE :333 handle_error debootstrap --no-check-gpg --extractor=ar --arch=armhf --foreign $DIST $MOUNT $MIRROR
to
Code:
handle_error debootstrap --no-check-gpg --extractor=ar --arch armhf --foreign $DIST $MOUNT $MIRROR
userdelroot said:
hmm...
I had that error initially also and I corrected it, probably should of documented what I fixed...
in the terminal type
uname
Is that a valid command?
Click to expand...
Click to collapse
Yes, it print Linux. I try another deboostrap. You use VERSION='1.0.40~ubuntu0.4'. So I find new one.
EDIT: New debootstrap with the same error.
ONDR4SH3K said:
Yes, it print Linux. I try another deboostrap. You use VERSION='1.0.40~ubuntu0.4'. So I find new one.
EDIT: New debootstrap with the same error.
Click to expand...
Click to collapse
Yea, it has to do with the line above I believe.
userdelroot said:
hmm...
I had that error initially also and I corrected it, probably should of documented what I fixed...
in the terminal type
uname
Is that a valid command?
change install-or-mount
Code:
LINE :333 handle_error debootstrap --no-check-gpg --extractor=ar --arch=armhf --foreign $DIST $MOUNT $MIRROR
to
Code:
handle_error debootstrap --no-check-gpg --extractor=ar --arch armhf --foreign $DIST $MOUNT $MIRROR
Click to expand...
Click to collapse
Sry, not working, but I deleted line with checking architecture and I got new error. See attachment.
EDIT:
I use:
sh install-or-mount -i -n linux.img -m /data/local/chroot -l /data/local -o precise -0
Rewrited mk2fs line in install-or-mount file to: mke2fs -F $IMGLOC/$IMGNAME
Deleted if [ -z "$ARCH" ] || [ -z "$HOST_OS" ]; then error 1 WHATARCH "Couldn't work out current architecture" fi line in deboostrap file
I think if I deleted this line, chroot not mounted correctly and bootstrap can't continue. So we need figure out, how fix architecture error.
I found this: http://uyirpodiru.blogspot.cz/2012/08/debootstrap-error-e-couldnt-work-out.html
ONDR4SH3K said:
Sry, not working, but I deleted line with checking architecture and I got new error. See attachment.
EDIT:
I use:
sh install-or-mount -i -n linux.img -m /data/local/chroot -l /data/local -o precise -0
Rewrited mk2fs line in install-or-mount file to: mke2fs -F $IMGLOC/$IMGNAME
Deleted if [ -z "$ARCH" ] || [ -z "$HOST_OS" ]; then error 1 WHATARCH "Couldn't work out current architecture" fi line in deboostrap file
I think if I deleted this line, chroot not mounted correctly and bootstrap can't continue. So we need figure out, how fix architecture error.
I found this: http://uyirpodiru.blogspot.cz/2012/08/debootstrap-error-e-couldnt-work-out.html
Click to expand...
Click to collapse
All the errors you are getting I did get at one point, I forgot how I fixed them, cause I was working on another project..
Ill do some testing, as I am working on the code right now.
Ill post when I find a solution to those..
Also before continuing I wanted to just let you know.
the debootstrap requires 'ar' archiver which I do not believe comes with CM.
busybox ar
That is why I included my own version.
I may have some work arounds tho so give me a few..
userdelroot said:
All the errors you are getting I did get at one point, I forgot how I fixed them, cause I was working on another project..
Ill do some testing, as I am working on the code right now.
Ill post when I find a solution to those..
Also before continuing I wanted to just let you know.
the debootstrap requires 'ar' archiver which I do not believe comes with CM.
busybox ar
That is why I included my own version.
I may have some work arounds tho so give me a few..
Click to expand...
Click to collapse
New vesion 0.2 in attachment. Is on the way.
EDIT: I put busybox from /sbin to /system/xbin and it looks like deboostrap working, but you have error with Release. Attachment no.3.
Thanks for helping.
is it normall ubuntu for desktop or Ubuntu phone version?
desktop
JFizDaWiz said:
desktop
Click to expand...
Click to collapse
I'm confused
Does touch work? Or do we need OTG cables
milestoneman said:
I'm confused
Does touch work? Or do we need OTG cables
Click to expand...
Click to collapse
You need root, and an android device.
No OTG cables..
It build's a chroot image on the device, with android running in the background.
You can run X windows (only LXDE currently because it is lightwieght) on the device and then vnc into it from anywhere, even a desktop...
There are other tools out there for this however, they require you to download the images. Which are usually between 1gig - 4gigs.
Instead of downloading the images, this creates the image and only downloads approximately 200megs for the packages.
Thanks for the explanation, sounds great
Sent from my Nexus 7 using Tapatalk
ONDR4SH3K said:
New vesion 0.2 in attachment. Is on the way.
EDIT: I put busybox from /sbin to /system/xbin and it looks like deboostrap working, but you have error with Release. Attachment no.3.
Thanks for helping.
Click to expand...
Click to collapse
Yea, crap, that was my bad, I should check where the system busybox is installed. It should default to /system/xbin
But some roms I guess put it in /system/sbin ? Possibly a typo on the rom developers part? LOL
Anyways, I will add code to correct this.
EDIT: How did you fix image 2?, as it should stop at the error in image type every time.
At any rate, image 2 error is because it can't find sh. in the install-or-mount/bin directory type this..
ls -l bin/
Make sure sh is symlinked to /system/bin/sh or /system/xbin/busybox if not that is causing the error in picture 2
it should look like this...
ls -l bin/
sh sh -> /system/xbin/busybox
If you don't see that do the following:
cd /data/local/install-or-mount
busybox touch bin-configs/sh
rm -rf .bin-configs-done
if you have something like that it should be ok, however to be safe since you moved you your busybox
from inside install-or-mount
rm -rf .bin-configs-done
Yes there is a DOT in front of bin-configs-done
I receive a permission denied error with debootstrap as well
Edit: crap I didn't see all the replies up there
Sent from my GT-N7105 using Tapatalk
Will it works on my armv7 single core tablet?
I fix it other way:
mount -o remount,rw /system
cp busybox /sbin /system/xbin
mount -o remount,ro /system
I hope that commands are fine.
I has no solution for fetch Release error, yet. I tried rewrite URL, but unsussesful.
Its in scripts folder line mirror_styles Release
Sent from my Xperia P using xda app-developers app
---------- Post added at 01:06 AM ---------- Previous post was at 01:00 AM ----------
Already testing on armv7 device dual core. OP must fix a few errors but you can try it.
Sent from my Xperia P using xda app-developers app