Installing Debian on the HTC TATTOO / CLICK - Click General

i read here
http://android-dls.com/wiki/index.php?title=Installing_Debian
you can run debian on android whit installing it.
and dont loos your droid
first isseu i got. chmodding the thing
download and push debian to /sdcard/debian
Code:
cd /sdcard/debian
su
chmod 4755 *
Code:
# su
su
su: access granted, courtesy of www.magicandroidapps.com
# chmod 4755 /sdcard/debian/*
chmod 4755 /sdcard/debian/*
Unable to chmod /sdcard/debian/bootdeb: Operation not permitted
#
than whitout bootdeb is chmodded i tried the installer.sh
Code:
cd /sdcard/debian as root
sh ./installer.sh
it just say's
Code:
# sh ./installer.sh
sh ./installer.sh
su: access granted, courtesy of www.magicandroidapps.com
#
so ?
Code:
# exit
Code:
# exit
exit
modprobe: not found
clear: not found
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
mkdir failed for /data/local/mnt, File exists
clear: not found
cp: not found
cp: not found
cp: not found
cp: not found
cp: not found
Unable to chmod bootdeb: Operation not permitted
clear: not found
VERSION 2.1
Custom Debian Bootloader is now installed! Quick huh?
This process does NO damage to your Android underlying OS!
Courtesy of http://www.androidfanatic.com
Installer by Mark Walker (ghostwalker)
To enter the Debian Linux console just type 'bootdeb'
PS: Be sure to run /scripts/onetime.sh as root from the shell after your FIRST
boot'.
??
Code:
# rm
rm
rm [-rR] <target>
availible
Code:
cp: not found
not availible.. Busybox availible only cp but the debian installer does not support the busybox way.
Code:
# busybox cp
busybox cp
BusyBox v1.8.1 (2007-11-14 10:11:37 EST) multi-call binary
Usage: cp [OPTION]... SOURCE DEST
enz.
Code:
#modprobe
not found
Code:
# busybox modprobe -h
busybox modprobe -h
modprobe: invalid option -- h
BusyBox v1.8.1 (2007-11-14 10:11:37 EST) multi-call bin
Usage: modprobe [-knqrsv] MODULE [symbol=value ...]
what to do to get this running?

Troubleshooting
Troubleshooting
If chmod 4755 * gives you an error stating that you do not have permissions, close Terminal Emulator and run su again, this time when SuperUserWhitelist asks for if you should give Terminal Emulator super user permissions hit yes instead of always.
If running installer.sh tells you that installer.sh could not be found, type su, followed by sh installer.sh
what whitelist?

I'm getting the same errors as u are. I belive the whitelist sugestion is only for those who have the app installed. The problem must lie somewhere else.

Have you done my busybox install (somewhere in this forum)? Looks like if you use stock ultities you don't have requirements...

bootdev.sh
keatonreckard said:
or you can simply rename the attached bootdev.sh.txt to bootdev.sh and put it in your debian folder and its good as new
Click to expand...
Click to collapse
these posts or were is that installer??

Yah I did have busybox installed.

superuser.apk
http://androidforums.com/all-things-root-behold-2/46137-how-root-apps-working-persistent-root.html
i think this is that superuser whitlist

I have fixed the bootdeb file, but im stuck at mounting the debian image...

Did anyone make any new progress on getting debian to work?

lgstoian said:
Did anyone make any new progress on getting debian to work?
Click to expand...
Click to collapse
I haven't made much progress...
But with Fyodor's 0.4.1 ROM modprobe works but i get this error when mounting the debian image:
ioctl: LOOP_SET_FD: Device or resource busy
Click to expand...
Click to collapse
And after that the rest ****s up...

Who can write a tutorial of Debian on TATTOO?

Related

[q]install ubuntu or debian in legend

i tried different method but i couldn't install Ubuntu or Debian in legend.........could someone post a tutorial..............????? pls
FOLLOW ME http://smartsreenath.blogspot.com/
smartsreenath said:
i tried different method but i couldn't install Ubuntu or Debian in legend.........could someone post a tutorial..............????? pls
Click to expand...
Click to collapse
I have tried too without sucess... Would be really cool if this would work on Legend too.
How do you go about even starting?
check this sites.......
http://www.saurik.com/id/10
http://nexusonehacks.net/
i hope some one will do a nice tutorial for us...........
FOLLOW ME http://smartsreenath.blogspot.com/
Does the Legend kernel have support for loop devices?
EDIT:
Well, I pulled the config file from my legend and the dumfuq OC kernel looks like it might do, but I'm not sure if it's commented out... Also, we need the loop devices in order to mount the Ubuntu images, so if support isn't there someone is gonna have to compile a few kernels that do have it...
EDIT:
Argh!!! I can't even download the sodding files needed, my internet keeps dropping out.
Buddy
Follow the instructions here
http://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid/
I had made a little change to the bootubuntu script , to make it work for legend
Download it from here
http://10stones.com/ubuntu/bootubuntu
I had tried it on stock rom , 2.1 update 2 , with temporary root access using the Universal And Root .
make sure you ran the "sh ./ubuntu.sh" command each time you change the bootubuntu.
Since mine was a temporary root i pushed the busybox binary to /data/ using
adb push busybox /data/
download the busybox binary from here
http://10stones.com/ubuntu/busybox
** For custom roms the busybox will be installed.
If you are facing any problems reply with the output of commands.
smartvinu said:
I had made a little change to the bootubuntu script , to make it work for legend
Download it from here
http://10stones.com/ubuntu/bootubuntu
Click to expand...
Click to collapse
how i can change the script ?
with sdk and cmd ?
tnx
Something ain't working here. The script fails (see below) then I get a forced reboot...
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
modprobe: module 'ext2' not found
←[H←[Jmkdir failed for /data/local/mnt, File exists
←[H←[Jrm: can't remove '/system/bin/fsrw': No such file or directory
rm: can't remove '/system/bin/bootubuntu': No such file or directory
rm: can't remove '/system/bin/unionfs': No such file or directory
unknown option -- /BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) multi-ca
ll binary.
Usage: rm [OPTIONS] FILE...
Remove (unlink) FILEs
Options:
-i Always prompt before removing
-f Never prompt
-R,-r Recurse
cp: can't create '/system/bin/fsrw': Out of memory
cp: can't create '/system/bin/bootubuntu': Out of memory
cp: can't create '/system/bin/unionfs': Out of memory
cp: can't create '/system/bin/mountonly': Out of memory
chmod: bootubuntu: Operation not permitted
chmod: fsrw: Operation not permitted
chmod: mountonly: Operation not permitted
chmod: ubuntu.img: Operation not permitted
chmod: ubuntu.sh: Operation not permitted
chmod: unionfs: Operation not permitted
chmod: su: No such file or directory
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net
To enter the Debian Linux console just type 'bootubuntu'
#
Click to expand...
Click to collapse
TheGrammarFreak said:
Something ain't working here. The script fails (see below) then I get a forced reboot...
Click to expand...
Click to collapse
what is the busybox version .. ?
I tried with 1.16.1
also check if you have enough phone memory
smartvinu said:
what is the busybox version .. ?
I tried with 1.16.1
also check if you have enough phone memory
Click to expand...
Click to collapse
Busybox 1.16.2
How much phone memory is enough?
I tried some more tinkering and now I just get an error about /bin/bash not existing whenever I try and run ubuntuboot...
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
modprobe: module 'ext2' not found
←[H←[Jmkdir failed for /data/local/mnt, File exists
←[H←[Junknown option -- /BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) mu
lti-call binary.
Usage: rm [OPTIONS] FILE...
Remove (unlink) FILEs
Options:
-i Always prompt before removing
-f Never prompt
-R,-r Recurse
chmod: bootubuntu: Operation not permitted
chmod: fsrw: Operation not permitted
chmod: mountonly: Operation not permitted
chmod: ubuntu.img: Operation not permitted
chmod: ubuntu.sh: Operation not permitted
chmod: unionfs: Operation not permitted
chmod: su: No such file or directory
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net
To enter the Debian Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
mount: can't setup loop device: No such file or directory
mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or dir
ectory
mount: mounting proc on /data/local/ubuntu/proc failed: No such file or director
y
mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or director
y
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist
ent
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist
ent
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Ubuntu
umount: can't umount /data/local/ubuntu/dev/pts: No such file or directory
umount: can't umount /data/local/ubuntu/proc: No such file or directory
umount: can't umount /data/local/ubuntu/sys: No such file or directory
umount: can't umount /data/local/ubuntu: Invalid argument
#
Click to expand...
Click to collapse
Can u try with the busybox i uploaded
smartvinu said:
Can u try with the busybox i uploaded
Click to expand...
Click to collapse
Still no joy...
C:\AndroidSDK\tools>adb push busybox /data/
1042 KB/s (1120536 bytes in 1.050s)
C:\AndroidSDK\tools>adb shell
# su
su
# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
modprobe: module 'ext2' not found
←[H←[Jmkdir failed for /data/local/mnt, File exists
←[H←[Junknown option -- /BusyBox v1.16.2androidfull (2010-08-01 14:57:25 EDT) mu
lti-call binary.
Usage: rm [OPTIONS] FILE...
Remove (unlink) FILEs
Options:
-i Always prompt before removing
-f Never prompt
-R,-r Recurse
chmod: bootubuntu: Operation not permitted
chmod: fsrw: Operation not permitted
chmod: mountonly: Operation not permitted
chmod: ubuntu.img: Operation not permitted
chmod: ubuntu.sh: Operation not permitted
chmod: unionfs: Operation not permitted
chmod: su: No such file or directory
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net
To enter the Debian Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
mount: can't setup loop device: No such file or directory
mount: mounting devpts on /data/local/ubuntu/dev/pts failed: No such file or dir
ectory
mount: mounting proc on /data/local/ubuntu/proc failed: No such file or director
y
mount: mounting sysfs on /data/local/ubuntu/sys failed: No such file or director
y
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist
ent
bootubuntu: cannot create /data/local/ubuntu/etc/resolv.conf: directory nonexist
ent
Setting localhost on /etc/hosts
bootubuntu: cannot create /data/local/ubuntu/etc/hosts: directory nonexistent
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
chroot: can't execute '/bin/bash': No such file or directory
Shutting down Ubuntu
umount: can't umount /data/local/ubuntu/dev/pts: No such file or directory
umount: can't umount /data/local/ubuntu/proc: No such file or directory
umount: can't umount /data/local/ubuntu/sys: No such file or directory
umount: can't umount /data/local/ubuntu: Invalid argument
#
Click to expand...
Click to collapse
This clearly throws a large number of errors, I just don't know why. The first command I issue is "su"
smartvinu said:
Can u try with the busybox i uploaded
Click to expand...
Click to collapse
why don't you check it after rooting your mobile? you already posted that your phone is hafly rooted and using stock rom........why don't you move it to azure rom and post custom bootubuntu [sorry my opinion]
FOLLOW ME http://smartsreenath.blogspot.com/
here is my log just check it smartvinu
E:\sdk\tools>adb devices
* daemon not running. starting it now *
* daemon started successfully *
List of devices attached
xxxxxxxxxxxxx device
E:\sdk\tools>adb shell
# su
su
# su
su
# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
modprobe: chdir(/lib/modules): No such file or directory
←[H←[Jrm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
mkdir failed for /data/local/mnt, File exists
←[H←[Jrm failed for -/system/bin/mountonly, No such file or directory
Unable to chmod bootubuntu: Operation not permitted
←[H←[J
Ubuntu Chroot Bootloader v0.1
Ubuntu Bootloader is now installed!
This process does NOT damage Android OS!
Original Installer by Charan Singh
Modified for Ubuntu Chroot by Max Lee at NexusOneHacks.net
To enter the Debian Linux console just type 'bootubuntu'
# bootubuntu
bootubuntu
net.ipv4.ip_forward = 1
Setting /etc/resolv.conf to Google Open DNS 8.8.8.8 and 8.8.4.4
Setting localhost on /etc/hosts
READY TO ROCK AND ROLL BABY!
Brought to you by NexusOneHacks.net and the open source community!
[1] Illegal instruction chroot ${mnt} /b...
Shutting down Ubuntu
#
Click to expand...
Click to collapse
FOLLOW ME http://smartsreenath.blogspot.com/
HTC legend hvn't full R/W on system files ...
edit : sorry i'm french
smartsreenath said:
here is my log just check it smartvinu
FOLLOW ME http://smartsreenath.blogspot.com/
Click to expand...
Click to collapse
@smartsreenath
Can u check that after doing this steps the /data/local/ubuntu is mounted with the ubuntu.img
Umm, post missing??
I can run ubuntu with sucess and access it with vlc-viewer to localhost.
Do a "cat ubuntu.sh" and manually enter commands to see whish fail
and the same with bootubuntu.
Oops
I'll try again to make it work tomorrow
mmm my post was deleted ?!
I can't mount with indigo bean rom ...
But with anothersotckrom that work fine ^^

[Q] Root 2.2 318 without ADBshell

Hi,
a pin of my USB connector is broken so I cannot get a USB data connection to a PC (but charging still works ...).
How can I root the official 318 build of froyo ? More specifically, in the new build, there doesn't seem to be any mounted filesystem on which one can copy RATC to run it.
Any hint welcome.
Have you already tried superoneclick, androot, or z4root? If so, then maybe try the below.
I don't know if this will work but you can try fard's instructions to root manually and use "Terminal Emulator" from Market instead of ADB SHELL, but i don't know what will happen when you run rageinthecage~ You will need to change the instruction a bit for your case.
http://forum.xda-developers.com/showthread.php?t=844966&highlight=rageagainstthecage
Instructions:
1. Copy all the needed files (from fards thread) into the SDCARD.
2. run Terminal Emulator
3. cd /sdcard/
4. busybox cp rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
5. busybox cp Superuser.apk /data/local/tmp/Superuser.apk
6. busybox cp su /data/local/tmp/su
7. busybox cp busybox /data/local/tmp/busybox
8. chmod 700 /data/local/tmp/rageagainstthecage
9. chmod 700 /data/local/tmp/busybox
10. cd /data/local/tmp
11. ./rageagainstthecage
12. Reset Terminal
13. Start Terminal Emulator again
14. mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system
15. follow the rest of the instructions below "mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system "
In case you can't find it in the thread, here is the original post by fards:
GET ECLAIR/FROYO version of Superuser.apk and su
from http://forum.xda-developers.com/showthread.php?t=682828 extract the two files to the directory you're working from..
GET rageagainstthecage from
http://stealth.openwall.net/xSports/RageAgainstTheCage.tgz
extract the rageagainstthecage-arm5.bin to the same directory you're working from
open a terminal/command line
adb push rageagainstthecage-arm5.bin /data/local/tmp/rageagainstthecage
adb push Superuser.apk /data/local/tmp/Superuser.apk
adb push su /data/local/tmp/su
adb push busybox /data/local/tmp/busybox
adb shell chmod 700 /data/local/tmp/rageagainstthecage
adb shell chmod 700 /data/local/tmp/busybox
adb shell
cd /data/local/tmp
./rageagainstthecage
******this will kill adb server but manually kill it anyway and restart it ******
adb kill-server
adb start-server
* daemon not running. starting it now *
* daemon started successfully *
adb shell
mount -o remount,rw -t yaffs2 /dev/block/mtdblock6 /system
**********Follow the following steps to install Superuser.apk, busybox,su ****************
cd /data/local/tmp
./busybox cp busybox /system/bin/
chmod 4755 /system/bin/busybox
busybox cp Superuser.apk /system/app/
busybox cp su /system/bin/
chmod 4755 /system/bin/su
exit
exit
then reboot streak
************to remount filesystem as readonly,*************
adb shell
# su
su
#mount -o remount,ro -t yaffs2 /dev/block/mtdblock6 /system
# exit
exit
Click to expand...
Click to collapse
Well...
yes, I have tried all that.
The main problem with the last option (i.e. CLI) is that the directory /data/local/tmp/ is not user writable (actually /data permissions are 751). So I was in search of a another directory (in an executable partition) where I can copy rageagainstthecage-arm5.bin.
Finally found it : "find" was my friend. /firstboot/sqlite/jackpal.androidterm/ is owned by my user (ID 10123)! It's the only one I found in all the filesystems!
Note that "find" is available through /system/bin/busybox_1P8P1. Btw /firstboot/sqlite/jackpal.androidterm/ seems to be linked to the terminal process.
Ran rageagainstthecage-arm5.bin various times to no avail ! It didn't give me root!

LG GT540 with Ubuntu in chroot

Hi and THX to all Developers 4 their great Work!
Today I need your help:
i have: 2.1 Black Edition by Quarx with Kernel 0.3.1, 16GB SDCard class10 (14GB fat/1GB ext2) using Link2SD
i want: ubuntu in chroot
i used this guide: h**p://nexusonehacks.net/nexus-one-hacks/how-to-install-ubuntu-on-your-nexus-oneandroid , copy ubuntu to sdcard and execute ubuntu.sh
my problem:
# su
su
# cd /sdcard/ubuntu
cd /sdcard/ubuntu
# sh ./ubuntu.sh
sh ./ubuntu.sh
modprobe: not found
clear: not found
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
rm failed for -f, No such file or directory
mkdir failed for /data/local/mnt, File exists
clear: not found
rm failed for /system/bin/fsrw, No such file or directory
rm failed for /system/bin/bootubuntu, No such file or directory
rm failed for /system/bin/unionfs, No such file or directory
rm failed for -/system/bin/mountonly, No such file or directory
cp: not found
cp: not found
cp: not found
cp: not found
Unable to chmod bootubuntu: Operation not permitted
clear: not found
there seems to be a problem with modprobe and cp.
maybe i have to change paths in script-file, but i don't know the right.
Do you know what i have to do to get it up and running?
You probably don't have busybox. Btw, can you please post those scripts or PM me? I downloaded an image and a script(http://forum.xda-developers.com/showthread.php?t=962023) but it doesn't seem to work. Proceeds directly yo unmounting after mounting. It's hard to download another whole img just to get the scripts on my slow internet.
I've installed busybox with titanium-backup, maybe there is a problem?
I don't know and too busy to test it.
take a look to the attachment 4 the script you want
Thanks for the scripts. It's a bit late here. I will try em in the morning.
The script I tried proceeded to unmount after mount. :/
Btw, am not sure where Titanium Backup installs busybox. Some apps install busybox in their own folder. Just try Busybox installer from the market. Works fine.

[Q] Got root via adb, how do I make it permanent?

Code below works as far as getting root via adb
But after reboot I get following error:
Code:
? su
link_image[1717]: 2977 missing essential tablesCANNOT LINK EXECUTABLE
Do you know what's missing here?
Code:
./adblinux push psneuter /data/local/tmp
./adblinux push su-v3 /data/local/tmp
./adblinux push busybox /data/local/tmp
./adblinux shell chmod +x /data/local/tmp/psneuter
./adblinux shell chmod +x /data/local/tmp/su-v3
./adblinux shell
$ /data/local/tmp/psneuter
# exit
./adblinux shell
# cat /proc/mounts
# mount -o rw,remount -t yaffs2 /dev/stl5 /system
# busybox cp -vaf /data/local/tmp/su-v3 /system/xbin/su
# ls -l /system/xbin/su
# busybox chown 0.2000 /system/xbin/su
# busybox chmod 06755 /system/xbin/su
# ls -l /system/xbin/su
# rm /system/bin/su
# busybox ln -s /system/xbin/su /system/bin/su
# ls -l /system/bin/su
# busybox cp -f /data/local/tmp/busybox /system/xbin
# busybox chown 0.2000 /system/xbin/busybox
# busybox chmod 0755 /system/xbin/busybox
# ls -l /system/xbin/busybox
# exit
./adblinux install -r Superuser.apk
./adblinux reboot
Hi,
I am new here, but advanced linux user
I have already done this succesfully on my X10i - thanks 1st working howto on linux OS
Theres propably mistake with these steps:
./adblinux shell chmod +x /data/local/tmp/psneuter
./adblinux shell chmod +x /data/local/tmp/su-v3
In my case these commands left errors. They have to simply mark these binaries as executable. But chmod +x * doesnt work (dont ask why ) - so I marked them as executables (su,psneuter,busybox) in desktop linux os before transfer and it worked.
The next mistake is in the line:
busybox cp -vaf /data/local/tmp/su-v3 /system/xbin/su
Because busybox is not yet in the system path - so you have to type:
# /data/local/tmp/busybox cp -vaf /data/local/tmp/su-v3 /system/xbin/su
Until
# /data/local/busybox cp -f /data/local/tmp/busybox /system/xbin
You can use busybox directly.
chmod +x doesn't work on android, you have to use chmod 777 or 666 or the like to get it to work properly.
Semperverus said:
chmod +x doesn't work on android, you have to use chmod 777 or 666 or the like to get it to work properly.
Click to expand...
Click to collapse
Or do it on linux GUI and mark as executable before transfer to Android device

[QUESTION] About the source code of supersu/suid

Hi to all,
I would like understand the process about root on my s4 i9505.
For due this I have opened the script of CF-Supersu I have found some part that I don't understand.
Before write more about it, I have another question.
I would like also understand why, if I copy the binary SU from CWM (that has a root access thought adb) into the folder /system/xbin and I set to this binary the right permission, when I call this binary from the application terminal into the system I haven't root.
About the second question, looking the source code of supersu script, I have found some command that I don't understand.
First:
Code:
su --install
Second:
Code:
cp $BIN/su /system/bin/.ext/.su
cp $COM/install-recovery.sh /system/etc/install-recovery.sh
ln -s /system/etc/install-recovery.sh /system/bin/install-recovery.sh
cp $COM/99SuperSUDaemon /system/etc/init.d/99SuperSUDaemon
echo 1 > /system/etc/.installed_su_daemon
Third:
Code:
/system/xbin/supolicy
LD_LIBRARY_PATH=/system/lib $BIN/[B][U]chattr[/U][/B]$PIE -i /system/bin/su
Fourth:
Code:
#!/system/bin/sh
/system/xbin/daemonsu --auto-daemon &
Could someone please help me ?
Many thanks to support.

Categories

Resources