[Guide] Backtrack5 port using CHROOT - Defy General

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Backtrack5 Port using CHROOT​
After I managed to get Ubuntu working on our Defy, I've finally completed a personal task of mine -> get BT5 on Defy.
Credits : anantshri, DooMLoRD for Backtrack5 image file.
This method doesn't modify/change your OS, rom or system. It can't brick or harm your current OS cause it runs like a virtual machine.​
Requirements :
Root and Busybox installed
At least 3.3GB free space on sdcard
Android Terminal Emulator
android-vnc-viewer
7-zip for PC
Click to expand...
Click to collapse
Downloads :
Backtrack5 CWM flashable zip with scripts
bt.img (splitted into 10 7-zip files) :
bt.7z.001
bt.7z.002
bt.7z.003
bt.7z.004
bt.7z.005
bt.7z.006
bt.7z.007
bt.7z.008
bt.7z.009
bt.7z.010
Dropbox folder
Click to expand...
Click to collapse
Video Installation Guide :
http://www.youtube.com/watch?v=j1pN5bEidaM
Click to expand...
Click to collapse
Installation Guide (refer to video) :
1. Download all files from Downloads section (bt.img and cwm zip file) to a temporary folder
2. Create a folder on the root of your sdcard and call it bt
3. Extract bt.7z files and copy bt.img file to the folder previously created /sdcard/bt
4. Copy Backtrack5_cwm_script-signed.zip file to the root of your sdcard and flash it using recovery
5. After your phone boots into OS, go to /sdcard/bt using your file explorer and make sure that the list of files looks like this (5 files) :
bt
bt.img
installbt.sh
startbt
stopbt
6. Now we can launch BT5. Open Terminal app and enter the following commands (each line followed by enter key, toast notification can popup, accept it if not by default) :
Code:
su
cd /sdcard/bt
sh install.sh
startbt
bt
ui
7. Now press the home key, and open android-vnc-viewer, set it up like this :
Password : 12345678
Address : 127.0.0.1
Port : 5901
Color : 24-bit
8. Press connect and VNC will now start the BT5 GUI, I recommend you now that you press menu key -> input mode -> touchpad
Now your screen will act as a laptop touchpad.
9. If you want to close BT5 now, press menu key -> disconnect and return to Terminal, type in (the shell should be [email protected]:~# ) :
Code:
killui
exit
10. Now you're back to # shell and type in :
Code:
stopbt
exit
exit
11. You have successfully closed BT5, you can now close the Terminal application and I recommend you that you reboot your phone.
NOTICE : If you already installed BT5 and you just want to start it again, you don't have to run installbt.sh anymore, just type in :
Code:
su
cd /sdcard/bt
startbt
bt
ui
And you can go to vnc-viewer.
Click to expand...
Click to collapse
Screenshot gallery :
​
Click to expand...
Click to collapse
MD5 hashes :
Code:
bt.7z.001 f19e769bf42b44867c8bb1d9bb9c5d44
bt.7z.002 a4dd26a98d2c6925d871fb108fb5fadb
bt.7z.003 ecca5a5d72c449117b1d3dbc23aeb1a2
bt.7z.004 8ad487a01e4d149f0247ad9288201f32
bt.7z.005 adab9cb3778cd8ac89ccc0e21997c3d7
bt.7z.006 ba6a28de70a1115dc316f45cea508215
bt.7z.007 f59757e891631607e1a35abadb231b3b
bt.7z.008 cdb8c28a1fbd03657bb42e8d69f0600b
bt.7z.009 426d892f872679e3d53d0ebb0376e138
bt.7z.010 c7d2957bc65340d967b9dd3646d7cb39
Click to expand...
Click to collapse

F.A.Q.
Q : Can we use Bluetooth mouse or keyboard
A : Yes if your mouse/keyboard is compatible with vnc-viewer
Q : Does this modify my system, OS or rom?
A : No it doesn't, it runs like a virtual machine, and it can't brick, harm or modify your OS.
Q : How do I crack WEP/WPA keys?
A : These questions I won't answer and I hope that anyone in this thread won't. If you don't know what is Backtrack and how to use it, don't install it. And it's against rules.

Thnx...
All the evil work start now...
Sent from my MB526 using xda premium

Yes
YT tutorials = ON!

I'm guessing we can't get monitor mode/packet injection working, right?

Kaffeekranz said:
I'm guessing we can't get monitor mode/packet injection working, right?
Click to expand...
Click to collapse
As far as I know no. I think it's related to the wifi-card driver which don't support it.

No we can't get monitor working, but there are many more options that work properly.

So, we can't use "monitor mode " then what's the purpose of this distro on our defy? Btw, I am a linux user, arch Linux specifically
Sent from my MB525 using Tapatalk 2

If you only mean to use Backtrack 5 for WPA cracking then you don't need it on Defy.
Backtrack 5 is more powerful than Ubuntu Lucid, so for daily use it's still a good distro.
Soon I'll try to port Win 95

Looks like there is a brother to the hd2 in our defy.....!!!!"
Sent from my MB526 using xda app-developers app

Anyone tried this yet except me ?
Swyped off my Defy using Jelly Bean

mihovil13 said:
Anyone tried this yet except me ?
Swyped off my Defy using Jelly Bean
Click to expand...
Click to collapse
Bump!

Wow! I've been waiting this for a very long time. Tried a lot of images and scripts before but none of them works. Finally with your effort, Backtrack 5 is booting on my Defy. Thank you!
For info, it is not working on my nandroid CM7.2 Stable but works well on virtual CM10 Quarx. It is quite laggy (maybe due to virtual system). Any possible to fire it up on CM7.2 Stable?

I've found why it doesn't boot on CM7.
Epsylon3 implemented EXT4 module which supports this and it has some different folders that can execute /bin/bash with proper busybox.
From now on, ext4 is in ICS and JB. Still haven't found it in CM7.2

I don't understand what this is can you explain me please ?
Sent from my MB525 using Tapatalk

Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels

mihovil13 said:
Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels
Click to expand...
Click to collapse
making it ext3 isnt that difficult right? make 1 for cm7...
Sent from my MB526 using xda premium

update new version .this working on ext4 file system ah?

error :/
mihovil13 said:
Ext1, ext2, ext3 and ext4 are extended file systems and they're used in Linux kernels.
In Froyo we had ext2 and 3, but recently in our roms ext4 appeared. I've done my port on ext4 and it's tested to work on JB 4.1.1 GB kernel.
Obviously Froyo and GB kernels use different file systems, and this script is for GB kernel, when I flash the Froyo rom, I'll try to modify script to work on froyo kernels
Click to expand...
Click to collapse
in the last step when I need to write 'ui' I got this error.
Backtrack shell will now be launched to start GUI (vncserver) type ui
chroot:can't execute '/bin/bash':no such file or directory

I did everything...but
I did all steps properly but when I type "ui" it isn't found.

Related

S5660 - GIOPRO v1.6 (Android 2.3.6)

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Screenshot :
Changelog:
Base on XXKTF Android 2.3.6 same feature as v1.5
Phiexz Kernel Version 2.1 with CWM 5.0.2.7 Recovery
Universal Mega Bass + Beats Audio Credit to wiendyn Geva Ardhany
Major bugs fix
All changelog - http://tinypaste.com/330a9dcd
Instructions :
SD Card Partition (optional)
If you need to use A2SD Darktremor very recomended you create ext2 partition on your
sdcard before you start flashing, if you don't want it you can skip this step.
Partition can be create using Partition Wizard, download here
Step to create partition.
1. Inset your SD Card to card reader (donot use phone)
2. Run Partition Wizard
3. Right click on SDCard select Move/Resize
4. Select your partition size
5. Click OK
6. Right click on unallocated space
7. Click Create
8. It will show a warning, click yes
9. Choose Create as Primary
10. Partition type Ext2/Ext3/Ext4
11. Cluster size 4Kb
12. Click Ok
13. Click Apply
14. Done
15. Now insert the SD Card to your phone
Flashing
1. Turn off your phone
2. PressHome + Volume [-] + Power button until it show downloading...
2. Connect your phone to PC
3. Run ODIN and insert all needed file
Code:
OPS = GIO_v1.0.ops
One package = GioPro_v1.X.tar
4. Click Start and wait until your phone reboot.
5. If you see a triangle after reboot just touch menu and select "reboot system now".
6. Enjoy
A2SD
To start a2sd run this command using ADB and wait until your phone reboot
Code:
adb shell
su
a2sd cachesdreset
If you want an extreem a2sd add this command
Code:
a2sd datasd
Download : (no other mirror please)
v1.6 - http://ul.to/tpw8z8ax mirror: http://turbobit.net/cc27f8p5prdx.html
Old build :
v1.5 - http://ul.to/n2u72auj Mirror: http://turbobit.net/86dmdtjdar9r.html (include CWM Recovery - Some user having problem with this version)
v1.5 non CWM - http://ul.to/0k9on6if Mirror: http://turbobit.net/em7o4le7gw9u.html
v1.4 - http://ul.to/wfxr8vbm mirror: http://turbobit.net/rgxdyvh1q8iv.html
All build -http://tinypaste.com/471c290a
GioPro v1.2 video review by
waqasshahzad1986
_____________________________________________
[FONT="Comic Sans
MS"]>>> SUPPORT MY WORK WITH A SMALL DONATION! <<<[/FONT]
I have some questions:
. Does this ROM support swap partition? With the GIO we'll need this feature.
. Do I need to backup my SD card as this is the first time I use darktremor and from the look of thing I need to partition my SD card right? Can you elaborate on how to use this feature?
Thanks.
bigeyes0x0 said:
I have some questions:
. Does this ROM support swap partition? With the GIO we'll need this feature.
. Do I need to backup my SD card as this is the first time I use darktremor and from the look of thing I need to partition my SD card right? Can you elaborate on how to use this feature?
Thanks.
Click to expand...
Click to collapse
it not support swap yet.
for using a2sd darktremor you need to make partition on your sdcard first before flashing, after you finish flashing just run a2sd cachesdreset from adb.
i think it's better if you included how to use it....
not all user here is an expert user...
and my question is, how about the compass sensor, is it working?
thanks, i think this is the first custom rom for gio on the internet!
is it possible to add some screenshots?
Which app?
Removed some unwanted App
Click to expand...
Click to collapse
GioPro Update v1.3
see first post...
Can i use it with Baseband S5660XXKB8 ?
May I ask what was specifically changed with "Batery life & performance tweak (Special thanks to code28h4p)", I tried to do a forum search but turned up with nothing.
Thanks, your custom rom is getting more interesting.
Thanks
Nicely done
works great only the a2sd gui settings are new to me
can you give me some instructions
nice job, its saves internal phones and ram very much, also i instal automemory , its getting battery saves also cools percentage battery (maybe next u change whole status bar)..
my question is,
1. did a2sd cachereset its get invalid command? i change it to cachesd
2. iam enable dalvik to ext. via adb
3. its not shown up in asd gui mem info? but its still work right?
any way its better 5 times than stock rom, god job dude.
I saw you have removed some apps, but I use Allshare can you give an external link for download?
thank you.
is there customrecovery for gio ????????????
I have a question. How you did this ROM? What you used?
nice
nice job my friend,
works good,
love the CRT animation on my gio.
i would love to have more updates coming.
keep it up.
greets from amsterdam
Nice custom ROM rachmat3.
i like the CRT Animation.
Can't wait for the next version.
I did flash with your given rom on my GIO but i faced two problem.
1. at the time of selecting PDA file it given me an error message "Invalid Item"
2. There is no battery percentage and CRT animation.
Hope you will help me soon.
Unwanted app removed (AllShare, Stock Clock, Dual Clock Widget, Book Store, Music Store, Hangman)
Click to expand...
Click to collapse
These are still present :-(
Rachmat3 said:
5. To start a2sd run this commang using ADB and wait until your phone reboot
Code:
[B]adb shell
su
a2sd cachesdreset[/B]
6. If you want an extreem a2sd add this command
Code:
[B]a2sd datasd[/B]
7. Done.
To start CRT Animation:
Setting > Display > Animation > Pilih "All animations"
Click to expand...
Click to collapse
i don't understand this code..use app?
terminal emulator?
help me plz..i use app2sd..it crashes @@
A2sd crashes everytime i try to open the gui
any sugesstions ??????????

[KERNEL/TUTORIAL] UPDATE 31/07 Howto mod the stock XXJVR/S/T kernel SU/Init.d Support

Well what do you do when you're bored and need some distraction .....Modify the stock kernel and include SU!
If you just search on the internet and especially on XDA than you find out that this is not so difficult.
The only purpose of this modified kernel is install SU and thus get ROOT
Why superuser and busybox are not installed by default is simple: it takes only 1 minute to download it from the market...
So here I give you the stock kernel + su/Root for XXJVQ/ XXJVR
installation:
1. Flash the tar file with Odin
2. Download superuser from the market and install it
3. Download Busybox installer from the market and install it
Credits to Supercurio, Hardcore, Liliniser for the tools and sources
Tutorial is Linux based!!!
So if i can do it than you can do it also!! All you have to do is read and follow post 2
Update 01/08/11 Added XXJVT
Update 01/08/11 Added Working XXJVR
Update 06/07/11 Howto add init.d support to the kernel (post 3)
Tutorial
1. Download and install the needed tools
2. extract de stock kernel to a temporary directory
3. modify the init.rc script to include your su install script.
4. add in the tmp folder busybox and su
5. add in the sbin directory your install script.
6. Recompile the kernel
7. Tar de kernel
8. Flash the kernel with heimdall or Odin
1. Download and install the needed tools
* Cross compiler: http://www.codesourcery.com/sgpp/li...eabi/arm-2009q3-67-arm-none-linux-gnueabi.bin and install it to /opt/toolchains/arm-2009q3/
* Kernel repacker made by Liliniser / dkcldark : Download from supercurio's github. with (if installed) git clone git://github.com/project-voodoo/kernel_repack_utils or goto the website https://github.com/project-voodoo/kernel_repack_utils and click on download.
* Download busybox,su and the install script from this post, and extract the files.
2. extract de stock kernel to a temporary directory
Copy the original zImage to de directory where you extracted the kernel repacker
Rename it to zImage.org
create a temp directory in the kernel repacker directory
Open a linux shell and go to kernel repacker directory
./extracter.sh -s zImage.org -d temp (hit enter)
3. modify the init.rc script to include your su install script.
Go to the temp directory and edit init.rc with your favourite editor and put this on a new line at the end off the file.
service install_su /sbin/install_su.sh
user root
oneshot
Save the file and exit
4. add in the tmp folder busybox and su
copy busybox and su to the tmp folder in your extracted kernel folder
make sure they are markt als executable.
5. add in the sbin directory your install script.
copy install_su.sh to the sbin folder in your extracted kernel folder
6. Recompile the kernel
Open a linux shell and go to kernel repacker directory
./repacker.sh -s zImage.org -d zImage -r temp -c gzip
congratulations you must cooked your first modified kernel
7. Tar de kernel
tar -H ustar -c zImage >code.tar
8. Flash the kernel with heimdall or Odin
Howto add init.d support to the stock kernel
Whell this is easy to implement
1. Open a linux shell and goto to the extracted kernel directory. (read post 2 howto do that)
add the following lines to the init.rc file
Code:
service initd_support /sbin/initd_support.sh
user root
oneshot
Save the file and exit
2. Create a new file in the sbin directory called initd_support.sh and add the following code
Code:
#!/tmp/busybox sh
if cd /system/etc/init.d >/dev/null 2>&1 ; then
for file in S* ; do
if ! ls "$file" >/dev/null 2>&1 ; then continue ; fi
/system/bin/sh "$file"
done
fi
Save the file and make it executable
3. repack the kernel (see post 2 for the howto)
4. on your device mount system Read/Writable and create the directory /system/etc/init.d
5. Copy your init scripts to /system/etc/init.d/
Make sure the name starts with a S, and set the permissions to 777
Example step 5/6
Code:
adb push Stweakscript /sdcard/
adb shell
su
/tmp/busybox mount -o remount,rw /system
/tmp/busybox mkdir /system/etc/init.d
/tmp/busybox cp /sdcard/Stweakscript /system/etc/init.d/Stweakscript
/tmp/busybox/chmod 777 /system/etc/init.d/Stweakscripts
7. flash the kernel
I'm sorry in advance.
But WTF?
vladoots said:
I'm sorry in advance.
But WTF?
Click to expand...
Click to collapse
If you only want to root your rom don't wait for devs to do it but do it your self
lownoise said:
If you only want to root your rom don't wait for devs to do it but do it your self
Click to expand...
Click to collapse
Yes, and for learning purposes. Thanks for the tips, I was sitting down to do this on another phone the other day actually... it's good to see your ideas, I was getting pretty frustrated with the limited Android init environment (the toolbox commands are so limited!).
Thanks for this nice tutorial.Worked great!
Great! Now we have good rooting kernel.
If I want root - I want root, not tweaks and other "shiny" things.
Cfroot breaks BT in some cases, Fuguroot breaks Kies connection.
Kernel which don't add Superuser.apk as a system application is the best choice - we don't have to delete other system files and there are updates of this app, so why should we have older version on /system and new on /data as an update?
Can I do "adb root" on this kernel ?
Sure Just install superuser and busybox from the market
Wooow! These are the sort of tutorials I miss here sooo much. It's a developer forum, but what we are getting here mainly are ready-products (roms, modded kernels). And why not to do it yourself. But sometimes googling for the information is not so easy, because applies to different conditions(devices, phone models, soft versions). There are many people who would spend their time learning how to compile a kernel or edit framework files. But there are so few tuts on this here... I miss tuts that tell how to do things step-by-step, without any specific linux/java knowledge.
sebarkh said:
Wooow! These are the sort of tutorials I miss here sooo much. It's a developer forum, but what we are getting here mainly are ready-products (roms, modded kernels). And why not to do it yourself. But sometimes googling for the information is not so easy, because applies to different conditions(devices, phone models, soft versions). There are many people who would spend their time learning how to compile a kernel or edit framework files. But there are so few tuts on this here... I miss tuts that tell how to do things step-by-step, without any specific linux/java knowledge.
Click to expand...
Click to collapse
And therefore I did it. Share the knowlegde and safe this forum
Why doesn't XDA have more stuff like this?
Thanks OP!
Yes, I must thank you too.
Now I understand... Sorry for my initial confusion!
I've problem:
after applying script:
line 47: ./out/project/original.cpio -> no such files or directory
Any idea ?
Where is original.cpio files ?
Screen of error:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
tq man...!!
man this is amazing, I was looking for something simple like this for months. It's right, should be more posts like these in xda
+1
Thank you very much for this, lownoise
We need more topics like that, since I am interested to learn myself...
Members posting tutorials like that are always appreciated, I cannot thank you enough.
Do you know how to replace the recovery 3e with 2e additionally?
It would be great to know since I want to have it CWM compatible (flash unsigned update.zip)
AFAIK recovery is a part of the kernel....
It would be great if you could point me to the right direction.
Others probably would like to know that as well.
Thanks again.
dago said:
I've problem:
after applying script:
line 47: ./out/project/original.cpio -> no such files or directory
Any idea ?
Where is original.cpio files ?
Screen of error:
Click to expand...
Click to collapse
Which kernel did you try to modify
lownoise said:
2. extract de stock kernel to a temporary directory
Copy the original zImage to de directory where you extracted the kernel repacker
Rename it to zImage.org
create a temp directory in the kernel repacker directory
Open a linux shell and go to kernel repacker directory
./extracter.sh -s zImage.org -d temp (hit enter)
Click to expand...
Click to collapse
Two noob questions:
1. from where to copy zImage file? Where can I find zImage file?
2. How to open linux shell? Should I install linux shell application on my PC and run it or?
Sorry for such questions but I want to try.
Thanks.

[Q] CM9 & Swapper

Hello
i want to expand the memory a little bit
so tried to use
Swapper - https://play.google.com/store/apps/details?id=org.azasoft.free.swapper&hl=en
Swapper 2 (for root users) - https://play.google.com/store/apps/details?id=lv.n3o.swapper2
then testing with free command on the Terminal Emulator
but it's still showing me that the swap equals to zero
so my question is "does CM9 support swap file"
and if yes "how can i create a working swap files"
__
ahmedelhofy said:
Hello
i want to expand the memory a little bit
so tried to use
Swapper - https://play.google.com/store/apps/details?id=org.azasoft.free.swapper&hl=en
Swapper 2 (for root users) - https://play.google.com/store/apps/details?id=lv.n3o.swapper2
then testing with free command on the Terminal Emulator
but it's still showing me that the swap equals to zero
so my question is "does CM9 support swap file"
and if yes "how can i create a working swap files"
__
Click to expand...
Click to collapse
If you're using Arco's CM9, then I can say: Yes, it supports swap files. See below:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
As for "how to create one" ... here's how:
1. Creating a Swap File
Determine where you will place your swapfile* . For purposes of illustration, I will use /xxx/yyy. Remember to change this to the actual directory!
Open Terminal
Enter these commands; do not type the numbers, remember to replace /xxx/yyy with an actual path, and replace zzz with the size of swapfile you want (in MiB)
Code:
su
cd /xxx/yyy
touch .SWAP
dd if=/dev/zero of=/xxx/yyy/.SWAP bs=1048576 count=zzz
mkswap .SWAP
Test the swapfile with the following code, again in Terminal:
Code:
swapon /xxx/yyy/.SWAP
free
Once you see that the swapfile is working, turn it off again.
Code:
swapoff /xxx/yyy/.SWAP
2. Activating Swap File on Boot
Download the attached 99swap.txt
EDIT the downloaded 99swap.txt !! You must replace /xxx/yyy with the actual directory.
Optionally, replace the SWAPNESS value (range between 0 ~ 100)
Make sure you have a working init.d! If your ROM does not support a working init.d, then stop; see next section
Rename the file to 99swap
Copy the file to /system/etc/init.d (remember to mount /system rw first)
Open terminal, and enter the following commands:
Code:
cd /system/etc/init.d
chown root.shell 99swap
chmod 4755 99swap
ls -l 99swap
Reboot your phone, and check the logfile, which should be /data/local/99swap.log
3. Activating Swap File on Boot using Script Manager
Download Script Manager here
From within SManager, find your edited 99swap.txt file, and tap on it
Activate "Root" and "Boot" buttons, then tap on "Save"
Reboot your phone, and check the logfile, which should be /data/local/99swap.log
Thanks dude
U R Awesome
Now am playing Gangstar Rio
It was freezing before
ahmedelhofy said:
Thanks dude
U R Awesome
Now am playing Gangstar Rio
It was freezing before
Click to expand...
Click to collapse
Cool
One tip : Change the SWAPNESS value to 40. After extensive testing, I think 40 is better than the current value of 20.
-- Galaxy W + DXKL1 + CM9 + xda --
can u give me the link to the original thread ?!
ahmedelhofy said:
can u give me the link to the original thread ?!
Click to expand...
Click to collapse
What thread?
-- Galaxy W + DXKL1 + CM9 + xda --
Original thread where you get these swap steps ?!
ahmedelhofy said:
Original thread where you get these swap steps ?!
Click to expand...
Click to collapse
Oh, I made them myself. I'm a Linux geek
-- Galaxy W + DXKL1 + CM9 + xda --
pepoluan said:
Oh, I made them myself. I'm a Linux geek
-- Galaxy W + DXKL1 + CM9 + xda --
Click to expand...
Click to collapse
thanks for your method, it works very well and I solved the problem with the ram of my I8150 and some related freezing.
I have only a problem with the activation on boot, I followall the steps but in the log file is always explained that "the directory ttt/ttt was not found. Is it mounted ? " (ttt/ttt is the correct folder of the .SWAP file).
I have this problem either on internal and external sdcard (I prefer the internal because it's too quick without lagging).
Can you help me understandig the problem ?
Thanks a lot and sorry for my English.
I run on Samsung I8150 + Cyanogenmod9 rc8 - fully working with 350 mb of swap file on internal sd (reserved for cwm backup and swap, I used the CM9 option for cross the internal and external sd.
regards
Torment0 said:
thanks for your method, it works very well and I solved the problem with the ram of my I8150 and some related freezing.
I have only a problem with the activation on boot, I followall the steps but in the log file is always explained that "the directory ttt/ttt was not found. Is it mounted ? " (ttt/ttt is the correct folder of the .SWAP file).
I have this problem either on internal and external sdcard (I prefer the internal because it's too quick without lagging).
Can you help me understandig the problem ?
Thanks a lot and sorry for my English.
I run on Samsung I8150 + Cyanogenmod9 rc8 - fully working with 350 mb of swap file on internal sd (reserved for cwm backup and swap, I used the CM9 option for cross the internal and external sd.
regards
Click to expand...
Click to collapse
Yeah, it seems some ROMs mount the directories late; when the script triggers, the SD cards (internal/external) are not there already.
I have been playing with nohup command, but I just can't get it to run reliably on such ROMs.
So, I suggest going the SManager route instead. It's much more reliable. Besides, you really *don't* want to use a Swapfile during Boot; it slows down things because when the kernel sees that swapfile is available... it starts swapping (almost) right away. You'll need Swapfile during normal usage, so activating the Swapfile after the phone finishes booting actually makes more sense...
(BTW, I'm sorry I can't maintain this anymore... I no longer have my W; it's been handed over to my little-brother-in-law, and I've moved on to a new phone...)
pepoluan said:
Yeah, it seems some ROMs mount the directories late; when the script triggers, the SD cards (internal/external) are not there already.
I have been playing with nohup command, but I just can't get it to run reliably on such ROMs.
So, I suggest going the SManager route instead. It's much more reliable. Besides, you really *don't* want to use a Swapfile during Boot; it slows down things because when the kernel sees that swapfile is available... it starts swapping (almost) right away. You'll need Swapfile during normal usage, so activating the Swapfile after the phone finishes booting actually makes more sense...
(BTW, I'm sorry I can't maintain this anymore... I no longer have my W; it's been handed over to my little-brother-in-law, and I've moved on to a new phone...)
Click to expand...
Click to collapse
thank you very much for your reply, I understand that is not mine mystake if it'sn run
I will continue to launch the swap file using the terminal emulator and swapon command but...
as the folder addre is too much long and write it anytime manually in the terminal emulator is possible to create some script or anything else to be launched manually without writing anytime all the command line (similar to an .bat file,sorry I don't known linux and on , I'm still a winzozz slave..) ?
sorry for my bad english explaination, and in any case thank you for your interesting and support.
best regards
+++updated+++ I solved in the terminal emulator - left touch for setup - initial command - I wrote
'su' - "press enter"
'swapon /xxx/yyy/.SWAP' - "press enter"
now everytine I open the terminal emulator the swap file starts automatically, so I need only to tap the app and after exit.
too easy,too quick
thanks a lot, you solved my situation. now I link2sd finally check the ext3 secondary primary partition on the sd I solved everything (but it's difficult, I create the ext3 partition resizing the existant fat 32 primary partitionand thisi is a trouble, I suppose...
bye

ActivoSpeeder | V3.5 | CM ~ Stock ~ ICS ~ JB |

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Original Mini Thread : here
------------------------------------------------------------------------
Note : This ActivoSpeeder is modded and ported to Gio, and
have alot differences than the original one from Ace, Mini & Young.
------------------------------------------------------------------------
ActiveAndroid is a evolution of SlickSleep, mixes
performance, battery saving and deep sleeping tweaks.
You can get many script in only 1 unique script.
Nothing like it's (it's only 1 form !), Yet.
--------------------------------------------------------------------------------
FEATURES OF ACTIVOSPEEDER
1. A-I-O (All in One) features. Including :
a. Slicksleep > Sleep better than ever !
b. Kernel Performer > No more slowdown on kernel !
c. TurboCharge > Say bye to heavy lags !
d. AnchorEater > No more resource eating caches !
e. Flashalign > The futurest Zipalign
d. SQCharge > Vacuuming and Reindexing all of your Databases !
e. SDBooster > Accelerate your SD-Card like a F1
d. ETC > Alot more you'll find in the script
--------------------------------------------------------------------------------
REQUIREMENTS
1. Android 2.3.x, 4.0.x, 4.1.x, 4.2.x
2. A pair of sharp eye
3. A working brain
4. Root Exploring apps
5. Small experience for moving script with Root Explorer
6. Kernel that support init.d
7. Patched services.jar for Android 4.0.x and later
8. Pre-patched Zipalign binary, here
OPTIONAL REQUIREMENTS
1. Modded INT2EXT for Working INT2EXT
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
Installing script :
1. Download latest version
2. Reboot to recovery
3. Mount system
4. Flash the script .zip file
5. Reboot
Installing pre-patched zipalign binary :
1. Download it
2. Rename it to zipalign (no .txt behind it)
3. Push it to /system/xbin (just replace any zipalign binary which already there)
4. Change the permission to :
rwx
rwx
rwx
Installing Script Manually :
1. Download the Zip file
2. UnRAR the file with WinRAR and copy to SD Card
3. Open Root Explorer, move script to /system/etc/init.d
4. Change permission to :
rwx
rwx
rwx
5. Reboot your phone
6. Enjoy...
-------------------------------------------------------------------------------
Code:
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=1890144&stc=1&d=1366191714"]Version 3.5 for Any ROM[/URL]
[URL="http://forum.xda-developers.com/attachment.php?attachmentid=1854789&d=1364973423"]Pre-patched zipalign binary (it's not a .txt file, just remove .txt line after you downloaded it !)[/URL]
-------------------------------------------------------------------------------
CREDITS
ALLAH SWT
Google -- Links, and OS
XDA -- Tutorial
Samsung -- Phone
adrian -- Helper
F4uzan -- Creator
Who Press Thanks -- Helper
My Friend -- Tester, and helper
Kwesley1020 -- Image
ImbaWind -- Adrenaline Engine
Zeppelinrox -- V6 Supercharger
MiniX Team -- For big support !
You -- Support, and user !
-------------------------------------------------------------------------------
Activo Version 3.5
-First release for Gio!
-------------------------------------------------------------------------------
LIKE THIS SCRIPT ? RATE THIS THREAD 5 STAR AND VOTE FOR NEWSWORTHY THREAD !
Where can I find the .zip file? When I download it, it's a .txt file but when I delete the .txt it's still not a .zip file.
That sounds pretty normal to me, but when I replace the .txt file extension with .zip, it gives an error when trying to open it as a zip.. :/
Am I being so stupid now, or is the file just broken? XD
Uhm, click on the "Version 3.5 for Any ROM" then you downloaded the .zip file.
StiQuezNL said:
Where can I find the .zip file? When I download it, it's a .txt file but when I delete the .txt it's still not a .zip file.
That sounds pretty normal to me, but when I replace the .txt file extension with .zip, it gives an error when trying to open it as a zip.. :/
Am I being so stupid now, or is the file just broken? XD
Click to expand...
Click to collapse
Look what he write "a working brain", it seem your brain not working just sleeping.
saldymhmd said:
REQUIREMENTS
1. Android 2.3.x, 4.0.x, 4.1.x, 4.2.x
2. A pair of sharp eye
3. A working brain
4. Root Exploring apps
5. Small experience for moving script with Root Explorer
6. Kernel that support init.d
7. Patched services.jar for Android 4.0.x and later
8. Pre-patched Zipalign binary
Click to expand...
Click to collapse
Sent from my GT-5660 using Tapatalk 2
hello, my rom is custom and rooted based on stock GB 2.3.6, its also stock kernel, and i dont have CWM at the moment, im to scared to brick this phone. do you know if it will support this script will it work, i dont know a thing about it, so any answer will help. all i know its stock based.
thanks
Msilviu said:
Look what him write "a working brain", it seem your brain not working just sleeping.
Sent from my GT-5660 using Tapatalk 2
Click to expand...
Click to collapse
Says the guy with the "AMAZING" English grammar [: Stay in school, bro.
Superb! I asked a week ago if it's possible to port to Gio and know it's here.
Verstuurd van mijn GT-S5660
How to uninstall?
Sent from my GT-5660 using Tapatalk 2
I use fly-on script. Can install this script with other scripts?
Edit: not download on phone.
GT-5660 cihazımdan Tapatalk 2 ile gönderildi
is this a usefull extension for the jellybread rom? does jellybread rom needs zipalignpatch before flash of activospeeder?
thanks

[DEPRECATED][GUIDE][ROOT] Smartwatch 3 KNX01V

I removed download link due to this method not working on lollipop.
This guide is deprecated, please use TWRP Recovery from this thread to install root
DISCLAMER and WARNING: I'm not responsible for bricked devices, dead SD cards, thermonuclear war, or the current economic crisis. Please do some research if you have any concerns about this app.
Click to expand...
Click to collapse
You have been warned!
Links:
Sony PC Companion
Download link removed while I will test for compatibility with 5.x, md5 summ: e2c34b07faa415a6cbb95943649c7eba
Step 1:
Code:
[URL="source.android.com/source/building-devices.html#unlocking-the-bootloader"]Unlocked bootloader[/URL]
1. Enable adb debug
2. adb reboot bootloader
3. fastboot oem unlock (twice if requested)
4. fastboot format cache
5. fastboot format userdata
6. fastboot getvar all (and verify that it is)
7. fastboot reboot
Step 2:
Code:
Updated to the latest KNX01V
[URL="http://www.sonymobile.com/us/tools/pc-companion/"]Install Sony PC Companion[/URL] and use Supports Zone -> Accessories software update -> Smartwatch 3
Step 3:
Code:
Have Flashboot (Sony s1 flash) drivers installed just in case (Install Sony PC Companion and do update as indicated in previous step)
Step 4:
Code:
[COLOR="red"]BOOT [/COLOR][COLOR="Red"](DO NOT EVER FLASH IT!!!)[/COLOR] rooting boot.img
1. Download rooting kernel image (SWR50-rootboot.img)
2. Reboot into bootloader (adb reboot bootloader)
3. fastboot boot SWR50-rootboot.img
4. Wait till device reboots or sits in black screen for a while (1 min+ then reboot it by holding power 10+sec)
Step 5:
Code:
Verify by:
1. adb shell
2. su
3. you should see [email protected]:/ #
Step 6:
Code:
1. Let me know!
2. Use it, dive into GPS investigation or customizations, etc.....
Special thanks:
1. Justin Case for LG G Watch rooting method using LGGW-rootboot.img
2. osm0sis for Android Image Kitchen
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
reserved
How it works:
1. Each boot.img packs zImage (real kernel) and ramdisk (special files for kernel use)
2. This one has all modifications from LGGW rootboot by Justin Case:
a. Adds su binary, superuser.sh install script, modified install-recovery.sh and additional step into init.rc file to invoke superuser.sh install script. Also modifications to mount system as rw and some disabled security.
3. So basically it mount system as rw and does following (cut from superuser.sh install script):
Code:
#!/system/bin/sh
/system/bin/mount -o remount,rw /system
/system/bin/sleep 2
/system/bin/cat /sbin/su > /system/xbin/su
/system/bin/cat /sbin/su > /system/xbin/daemonsu
/system/bin/cat /sbin/install-recovery.sh > /system/etc/install-recovery.sh
/system/bin/chown 0.0 /system/xbin/su
/system/bin/chown 0.0 /system/xbin/daemonsu
/system/bin/chown 0.0 /system/etc/install-recovery.sh
/system/bin/chmod 06755 /system/xbin/su
/system/bin/chmod 06755 /system/xbin/daemonsu
/system/bin/chmod 755 /system/etc/install-recovery.sh
/system/bin/sync
/system/bin/sleep 3
/system/bin/reboot
I have dumped the rom from my debug/test version and was wondering if you were able to give me a guide on how i could try and flash it with a retail version? I presume this root guide probably won't work for me
Well, if hardware and partitions are the same - I do not see why it will not work. However, it will not help to flash.
I might try to compile twrp, but will have to carefully read its docs first.
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
iBuzman said:
thanks @XorZone confirmed as working and a nice easy process too (I was already unlocked).
Out of curiosity, modded LGGW rootboot or just renamed?
Click to expand...
Click to collapse
Thanks for letting me know!
I reverse engineered changes in LGGW by unpacking and comparing ramdisks from both rootboot and original lg kernel and then applied the same changes to our kernel extracted from PC Companion files.
great thinking and good job ?
btw, that pic confirmed su access to watch over bluetooth debug connection ?
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Kurotsuchi said:
really great tutorial. I am planning to buy this watch, but I think currently there is NO app that requires Root. so I wonder how can we get benefit of this ?
Click to expand...
Click to collapse
how to benefit?
root apps of course!!
(sry for bad pic, unlocked bootloader z3 in low light [emoji12]
XorZone said:
There is at least Wear Control app: https://play.google.com/store/apps/details?id=octathorp.wearcontrol
I plan to code density changer that will require access to adb, so either from rooted phone or rooted wear.
Click to expand...
Click to collapse
that's awesome man! will purchase mine next week, can't wait to root it. thanks for the answer.
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
cb22 said:
Thanks for the root, XorZone. For anyone wondering, here's the dmesg of the watch
A few small observations from digging:
The main chipset seems to be the BCM23550
The CPU has 4 cores, 2 are disabled in software. Should be easy enough to reenable if you please
It definitely has WiFi hardware, but the firmware is currently missing from the image. If you mange to get a hold of compatible firmware and nvram, it should be simple enough to get WiFi up and running
The WiFi firmware message mentions a "43341". Which is odd because apparently the main chipset does have WiFi support built in. Searching for a Broadcom 43341 gives you this, but this might just be a red herring.
Click to expand...
Click to collapse
Yeah, I noticed the same about WiFi chip, it might be that they packed bcm43341 as part of the BCM23550 soc, like Invensense MPU9250 chip packs mpu6500 inside.
For the 43341 I'm finding it in the configs here: https://android.googlesource.com/kernel/tegra/+/bdde9f16131a5ac2039062d5ce22e3e153acbe68^!/
Looks like BCM43341 is BCM4334 + NFC chip, so we could try S3 I9300 files as per http://redmine.replicant.us/projects/replicant/wiki/GalaxyS3I9300Firmwares
how can i grant superuser permission to an app? i install es file explorer with sideload but i can't get superuser permission. the procedure is ok
Sorry admins for not putting in correct location....
Moved to Correct Area!
cdrshm said:
Sorry admins for not putting in correct location....
I can not get my device to show up in adb devices and its driving me crazy. Tried windows 7/8/server 2012R2 ..lol
Now I have done my fair share of custom roms and bootloaders.
OG Droid
Nexus
Nexus 10
Asus Memo Pad (came from alarm company, and could only load one app...now its a full running tablet)
I am sure its a silly thing I have done or am missing...
Thoughts....ideas?..need more info?
Click to expand...
Click to collapse
As usual, check if adb enabled in settings-about-developer options, if there are no developer options - it is as usual 7 times click on build number in about screen.
And please use Q&A thread for such questions
I've confirmed root survives the Lollipop update
Wow, I was out whole weekend, will have to catch up with the update

Categories

Resources