[Q] CM9 & Swapper - Samsung Galaxy W I8150

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

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 ??????????

[GUIDE] Increase RAM using Swap File and Swap Partition

Increase RAM using Swap File and Swap PartitionNOTE:
I spent hours updating my guides and I don't ask you to press that THANKS button, be kind enough not to copy my guides to other forums. I know some noobs want to make a name on other forum boards... but hey, that's not an excuse! ​Thread featured on XDA Portal
POSTED MAY 29, 2012 AT 4:00 AM BY POORCOLLEGEGUY​WARNING: This mod may degrade SD card life.​What you need:
MiniTool Partition Wizard for SD Card Partitioning
A MicroSD HC 4GB or higher class 6 or class 10
MicroSD HC Card Adapter
A card reader (if your pc doesn't have card reader built in | USB Mount is not adviseable)
Swapper2 from Google Play Store [DOWNLOAD]
ADB Shell or terminal Emulator (to check if swap is activated)
Make sure you have BusyBox installed
Before we start, lets do some reading . . .
RAM
What is RAMRandom Access Memory (RAM) is temporary data storage that the CPU uses during calculations. The more RAM a device has, the more calculated results the CPU can store - which means less time the CPU has to do the same thing over and over again. In other words, the CPU can check RAM to see if it has already made a particular calculation in the recent past. If it has, it can use the pre-computed results instead of wasting processing time recomputing the same calculation. In short, more RAM means a more efficient (and faster) device. ​SWAP
What is SWAPSwap is, in short, virtual RAM. With swap, a small portion of the hard drive is set aside and used like RAM. The computer will attempt to keep as much information as possible in RAM until the RAM is full. At that point, the computer will begin moving inactive blocks of memory (called pages) to the hard disk, freeing up RAM for active processes. If one of the pages on the hard disk needs to be accessed again, it will be moved back into RAM, and a different inactive page in RAM will be moved onto the hard disk ('swapped'). The trade off is disks and SD cards are considerably slower than physical RAM, so when something needs to be swapped, there is a noticeable performance hit.
Unlike traditional swap, Android's Memory Manager kills inactive processes to free up memory. Android signals to the process, then the process will usually write out a small bit of specific information about its state (for example, Google Maps may write out the map view coordinates; Browser might write the URL of the page being viewed) and then the process exits. When you next access that application, it is restarted: the application is loaded from storage, and retrieves the state information that it saved when it last closed. In some applications, this makes it seem as if the application never closed at all. This is not much different from traditional swap, except that Android apps are specially programed to write out very specific information, making Android's Memory Manager more efficient that swap. ​Step by Step GuideHow to create Swap PartitionUsing MiniTool Partition Wizard
Plug in you MicroSD HC Card to your computer using the card adapter. (Do not use USB Mount)
Open MiniTool Partition Wizard and look for the card
Right Click on it and select Delete Partition
Click on Apply to Delete the Partition
Right Click on it again and select Create Partition
Set the partitions as follows:1st partition:
Label: Android-SD
Create as: Primary
File System: Fat32
Partition size: as much as you want! ​2nd partition:
Label: Android-EXT3 (2nd partition is for EXT which you can use for A2SD or Link2SD)
Create as: Primary
File System: EXT3 (be it a custom kernel or ROM with EXT4 support, use EXT3 still -play safe! )
Partition size: MIN: 256 MB MAX: 1024MB (1GB)​3rd partition:
Label: (do not put anything)
Create as: Primary
File System: Linux Swap
Partition size: MIN: 32MB MAX: 1024MB(1GB) RECOMMENDED: 256MB​
After creating partitions, click Apply to apply changes.
Using ClockWorkMod
Reboot to Recovery
Go to Advanced and Debugging
Select partition SD card and select the partition size that delights you
How to use Swap
For us to be able to use swap file or swap partition, we need to use Swapper2 which you can get from Google Play.
Download and Install Swapper2 (of course)
After installing, open Swapper2 and navigate to Menu > Settings
Swapper preferences: (for kernels that doesn't have swap partition support)
Run swapper at startup (put a check)
Swap place: /sd card/swapfile.swp (you can place it in a folder if you don't like a messy sd card structure )
Swap size: MIN: 10 MB MAX: 256MB RECOMMENDED: 32MB (choose any)
Swapiness: RECOMMENDED: 10MB SYSTEM DEFAULT: 60MB MAX: 100MB (choose any)
Safe unmount (put a check)
Safe remount (put a check)
Advanced preferences: (for Kernels that supports swap partition only)
Use swap partition (put a check)
Swap partition: /dev/block/mmcblk1p2​
After setting preferences, press back and tap on "ON" to turn on swap. Reboot afterwards
How can I tell if swap is running?Go to the terminal emulator - or open adb shell - and run 'free'.
If it looks like this (with zeros in the swap line), you do not have swap:
{
"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"
}
​If it looks like this (with anything other than zeros in the swap line), you do have swap:
​NOTE:
You need to turn off swap before you mount SD via USB, if you don't you will not be able to mount sd as swapfile is active and set to read only which will deny request to mount USB Storage.​Get Swapper2 here:
Thanks to kalhimeo who attached the the apk file on this POST or click this ATTACHMENT LINK to download. ​Confirmed Working:
explodeaamir : great it works on my sgy with hybrid4.0
itz awesome
junior_montain : It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks​
screens?
Is it works with stock kernel! or with creed 3.2 rom with its default kernel!
very nice.... step by step tutorial.......it wirk with stock kernel/firmware ...............
Sent from my GT-S6102 using xda premium
wow great tip i like that
By Using this can we able to run gta3
Sent from my GT-S5360 using xda premium
Swapper 2 (for Root users)
Elviss Kuštans
This app is incompatible with your TATA DOCOMO Samsung GT-S5360.
Now What??
i don't like swap,
used it before,
made my phone lag and i have a 8GB class 6 card
sheksbear said:
Swapper 2 (for Root users)
Elviss Kuštans
This app is incompatible with your TATA DOCOMO Samsung GT-S5360.
Now What??
Click to expand...
Click to collapse
Google for the apk file. I'll try to upload later.
abhijitro said:
By Using this can we able to run gta3
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
Yes.
sidsaxena0 said:
Is it works with stock kernel! or with creed 3.2 rom with its default kernel!
Click to expand...
Click to collapse
Yes it works on both stock and custom kernel. Swap file for stock and custom kernel. Swap partition only works with kernels that supports swap partition.
And since swapper handles swap file, the. It should also work for stock rom with super user access.
Sent from my GT-S5360 using xda premium
It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks
junior_montain said:
It worked perfectly on my galaxy y, together with perfect rom Creeds, swap and custom kernel, thanks
Click to expand...
Click to collapse
That's great
BTW, what kernel are you using?
CarlDeanCatabay said:
Google for the apk file. I'll try to upload later.
Yes.
Yes it works on both stock and custom kernel. Swap file for stock and custom kernel. Swap partition only works with kernels that supports swap partition.
And since swapper handles swap file, the. It should also work for stock rom with super user access.
Sent from my GT-S5360 using xda premium
Click to expand...
Click to collapse
sorry bro but i think i am not understanding because as i know creed roms kernel and stock kernel have not swap support so how it will work with that!
sidsaxena0 said:
sorry bro but i think i am not understanding because as i know creed roms kernel and stock kernel have not swap support so how it will work with that!
Click to expand...
Click to collapse
It works even with STOCK ROM and KERNEL because
Theoretically,
Swapper creates a swap file. Swapper then runs on on boot with superuser permissions. Since swapper can run on both stock and custom roms and kernels, then swapper can manage the swap file. If swap file can be managed, then sgy can use it.
The dev of swapper said swapper 2 needs root access so it can run and use swap. So as long as you can give super user permissions for swapper then it can use swap file.
great it works on my sgy with hybrid4.0
itz awesome
explodeaamir said:
great it works on my sgy with hybrid4.0
itz awesome
Click to expand...
Click to collapse
Great! Thanks for confirming.
explodeaamir said:
great it works on my sgy with hybrid4.0
itz awesome
Click to expand...
Click to collapse
Can u give screen shot?
Good work, very useful.
T3RM|NATOR said:
Good work, very useful.
Click to expand...
Click to collapse
screenshot plz
chamatht said:
Best and easy method for swap is using app called Swapper for root.
Do not need to create partions, format sd card, etc.
Only need a kernel support for swap like new merruk technology kernel.
°Download Swapper for Root app by GPlay.(its free)
°Run app.
°Tick Activate swap on boot.
°Set swap amount that you want.
°Save and wait for progress.
Goto terminal emulator and type
Code:
free
Check the Swap.
Click to expand...
Click to collapse
did that but no change and the swap feild iin emulator shows zero values
stock kernel do not support swap and there's no way to make swap work without kernel support. make your memory bigger with swap will not make your android faster, it will be slower even if you have fast sdcard. android by design is not depend on concept of swap. it have own memory manager which will not working optimal if you enable swap.

[APP][v1.8 (+US)] SGS3 Easy UMS - Mount external microSD card as USB mass storage

This app will make the external (not the internal!) microSD card of your Samsung Galaxy S3 (International, US versions, International LTE) available as USB mass storage device.
Also reported working on Galaxy Note 2, see compability list below.
Most important commands in this app:
http://forum.xda-developers.com/showpost.php?p=27282116&postcount=58
http://forum.xda-developers.com/showpost.php?p=28151372&postcount=133
http://forum.xda-developers.com/showpost.php?p=28670285&postcount=1
Thanks d4fseeker :good:
:angel: If you like the app, please consider donating by buying this app or via PayPal (see link on the left, below username etc.) :good: Some people gave 1 star reviews to the app although I think I'm extremely clear with stating that this is only a donation app - but I can't change that
Compability
Code:
MODEL / ROM / KERNEL / APP VERSION / CONFIRMED BY
WORKING:
GT-I9305 (LTE) / ? / ? / 1.8 / Jarmezrocks
SGH-I317 (AT&T Note 2) / I317UCALJ2 / ? / 1.8 / dabuck
GT-N7100 (Intl Note 2) / ? / ? / 1.8 / geovass
GT-I9300 (International) / Stock (LFB) / Stock / 1.5 beta / woaloo
GT-I9300 (International) / CM10 / ? / 1.5beta / lubluchka
SGH-I535 (VZW) / ? / ? / 1.4beta / open1your1eyes0
SGH-T999 (T-Mobile US) / ? / ? / 1.4beta / gr4p3s
?
NOT WORKING:
?
I can only test it on my own GT-I9300; please report back your success with the information needed in the table above.
If you have a custom kernel, you have to make sure there is one of the three possible lun files available (see Problems section).
Regarding US versions: Starting with 1.4beta, it also works with US versions (see here). This may not be the case for all variants, so please report back with the information needed in the compability table.
Problems? Not working?
Report the exact problem, model/ROM/kernel/etc., the exact error message and the results of the following commands (use Terminal Emulator or something similar):
Code:
mount
ls /sys/devices/platform/s3c-usbgadget/gadget/lun0/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun_ex/file
ls /sys/devices/virtual/android_usb/android0/f_mass_storage/lun/file
mount | sed 's/ on / /g' | grep extSdCard | cut -f 1 -d ' '
Note: Only ONE of the three ls commands must be successful (file exists)
You may need to replace "extSdCard" in the last command with the mount point name of your external sd card (e.g. external_sd or sdcard1 for CM10)
If the last command does fail, there is probably something wrong with your BusyBox installation. You should reinstall it - I recommend this app.
On some Win7 PCs, these steps may be needed:
Now follow these steps:
1. On your Windows 7 computer you will see it will try to install “SAMSUNG Mobile MTP Device” as one of the drivers and fail *this is normal*
2. Go into Device Manager on your computer, right click “SAMSUNG Mobile MTP Device” and select “Properties”
3. Click on the “Driver” tab and click the “Update Driver” button, a prompt will then come up
4. Select “Browse my computer for driver software”, then select “Let me pick from a list of device drivers on my computer” on the next screen
5. Select “USB Mass Storage Device” as the new driver from that list and finish up that install
6. At the end you will see something like this on your computer – Screenshot Here
7. Windows will install final drivers automatically and a new “Disk drive” will show up on your computer, this is your external SD card on your device
Keep in mind that it is not possible to get access to the internal storage as USB mass storage device.
Click to expand...
Click to collapse
Get the "extSdCard is being accessed by [...]" message? Wait until the app accessing the sd card has finished, stop it yourself or reboot.
Changelog
Code:
1.8
- added support for third lun file, should work with GT-I9305 (Intl LTE version) now
1.7
- fixed recognition failure if "mount" output contained "on" as the second column (e.g. Siyah kernels)
1.6
- fixed code so that it (hopefully!) works with recent CM10 versions again
- made some error messages clearer
- drop of "beta" name doesn't actually mean much by the way, but I think it looks a bit cleaner this way and does not make a difference
1.5beta
- added support for CM10 sd card paths (/mnt/external_sd and /mnt/sdcard1)
1.4beta
- added alternative method for users without s3c-usbgadget (may work on US versions)
v1.3beta
- rewrote the whole logic
- now opens Play Store entry of BusyBox if it is not yet installed
- notifies user if device seems to lack s3c-usbgadget module
- notifies user which apps are accessing the extSdCard
- generally better and more precise error messages
v1.2beta2
- added info about busybox requirement (maybe this will be removed later)
- added link to donation app
v1.2beta
- Automatically tries to unmount extSdCard before starting UMS mode. This will fail if some app is accessing it, so just wait or cancel that app if you know it and try again - possibly several times. This prevents the potential data loss with previous versions.
- It now checks the location of the extSdCard device. This should help with compabilty, e.g. for US versions.
- Added some log output and toasts (2s delay)
- Added link to this thread and version number in app
- It's a beta so please beware, but I think the worst probable thing that can happen is that it does not work (e.g. it does not start UMS if it cannot unmount the extSdCard).
- Dammit, the whole day is already over
v1.1
- Added option for going back to MTP
v1.0
- Initial release
{
"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"
}
Download
v1.8: http://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.8.apk
v1.7: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.7.apk
v1.6: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.6.apk
v1.5beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.5beta.apk
v1.4beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.4beta.apk
v1.3beta: https://dl.dropbox.com/u/22760184/android/sgs3-easy-ums/SGS3-Easy-UMS-v1.3beta.apk
v1.2beta2:
https://dl.dropbox.com/u/22760184/android/SGS3_Easy_UMS_v1.2beta2.apk
v1.2beta: https://dl.dropbox.com/u/22760184/android/SGS3_Easy_UMS_v1.2beta.apk
v1.1: http://dl.dropbox.com/u/22760184/SGS3_Easy_UMS_v1.1.apk
v1.0: http://dl.dropbox.com/u/22760184/SGS3 Easy UMS.apk
(also, it's attached)
Credits: d4fseeker, Sakaschi, bazald, dAKirby309 (icon), RootTools devs
Code:
Uses RootTools project, which is made available by Stephen Erickson,
Chris Ravenscroft, Dominik Schuermann, Adam Shanks under Apache
License Version 2: http://www.apache.org/licenses/LICENSE-2.0
Thanks
Sent from my GT-I9300 using xda premium
Confirmed working, thanks!
hard work, great result
nice touch buddy. thanks dude. +1
Dude, any way to reverse this? It screwed up my comp and phone...
Thx
Sent from my GT-I9300 using XDA
makimo2989 said:
Dude, any way to reverse this? It screwed up my comp and phone...
Click to expand...
Click to collapse
what happened to phone and computer ??
Working perfectly here as well
Thanks!
This sounds awesome. Does it increase transfer speeds?
unbelievable!!! It works...is it possible to see also internal storage as well? In explorer I get 2 new devices one is SD card and the second I cant access...
How about your MicroSD card, does it mount that too?
Works perfect, thank you. If this only would be possible for the internal memory, too.
nEUTRon666 said:
Works perfect, thank you. If this only would be possible for the internal memory, too.
Click to expand...
Click to collapse
+1000 %
Works perfect, thank you very much for this app.
Wow!! Finally!!
That's working GREAT using Macs, also
Thnks a lot
Yes, for MAC it's perfect
Good Job...
not working at all
i just see 2 empty drives.
tried on Windows 8 Consumer Preview with Kies
and on Windows 7 Professional without Kies but...still 2 empty removable drives...
even tried a phone reboot...
PS: Should I install some PC drivers ?
makimo2989 said:
Dude, any way to reverse this? It screwed up my comp and phone...
Click to expand...
Click to collapse
This does basically nothing to your computer, but just do a reboot to undo the changes on your phone.
Sent from my GT-I9300 using XDA
kultus said:
unbelievable!!! It works...is it possible to see also internal storage as well? In explorer I get 2 new devices one is SD card and the second I cant access...
Click to expand...
Click to collapse
Sorry, at least currently that's not possible. I don't know if that will change.
BoneMo said:
i just see 2 empty drives.
tried on Windows 8 Consumer Preview with Kies
and on Windows 7 Professional without Kies but...still 2 empty removable drives...
even tried a phone reboot...
PS: Should I install some PC drivers ?
Click to expand...
Click to collapse
On of the drives is your external card. That's the only one that can be accessed. Theoretically it should be automatically mounted by windows, somehow this does not seem to work for you... I think you should not need additional drivers, but I'm also not sure what the root of the problem is.
Sent from my GT-I9300 using XDA
Kopfgeldjaeger said:
On of the drives is your external card. That's the only one that can be accessed. Theoretically it should be automatically mounted by windows, somehow this does not seem to work for you... I think you should not need additional drivers, but I'm also not sure what the root of the problem is.
Sent from my GT-I9300 using XDA
Click to expand...
Click to collapse
it is strange when it does not work for 2 computers
also tried to write the command from http://forum.xda-developers.com/showpost.php?p=27282116&postcount=58 into shell but also not working
do not know....so because i have both removable drives empty...i will use my DropBox + DropSync, FTP and unmount sdcard put it into card reader and then after copying from PC i will mount it back to phone
PS: i am just sad ,,because it was a great hope for mass storage mode
same for me only 2 empty drives on Win7 64

[Guide] Backtrack5 port using CHROOT

{
"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.

[GUIDE] How To Make An Init.d Script (Noob Friendly)

How to make your own init.d script​
Hey fellow XDA users!​
I'm creating this thread as I've seen a countless number of times the same question asked (literally hundreds)
'How to I set (_____) on boot?'​
Finally I have come around to answering that question! This thread will allow you to control system/kernel parameters on boot
Now many of the kernel devs around the HOX forums have created some pretty epic kernels with tons of features which can be modified as much as the user wants and now I'll be showing you how to set these parameters on boot without the use of apps! :laugh:
Requirements
Rooted
Busybox
Custom Rom with Init.d Support (Most custom Rom's, check in OP of Rom thread)
A Root File Explorer (We're going to do this through the phone)
Stock ROM does not support init.d
If you're on a stock rom, you can easily add init.d support using Ryuinferno's very very helpful thread!
Enable Init.d Support
Once you've done that, come back and follow the instructions
Now to begin, let's look at a typical init.d script
Code:
#!/system/bin/sh
#CPU
echo pmc > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq
#Smart Dimmer
echo 1 > /sys/devices/tegradc.0/smartdimmer/enable
#Fast Charge
echo 1 > /sys/devices/platform/htc_battery/fast_charge
#S2W
echo 1 > /sys/android_touch/sweep2wake
OK, now to a new user this may seem quite confusing but once broken down it can be easily understood:
#!/system/bin/sh = This is required at the start of every init.d script
echo .... = Sends the command
'<insert value here>' = You can put a value after 'echo' and it will send that value to the file you have shown the path to, e.g. 'echo 1 >...'
>/.... = Specify the path and file in which to change on boot
So for example if I put this in my script:
echo '1' > /sys/devices/system/cpu/cpu0/cpufreq/gpu_voltage
I am changing the file 'gpu_voltage' to 1, allowing gpu voltage to be enabled on boot (currently only XM's & Alex-V's kernel)
Similarly with the command:
echo '0' > /sys/class/leds/button-backlight/auto_bln
I am disabling auto-bln on boot
Hopefully after you've read all of that, you've understood a little more about init.d scripts
Now let's actually create some scripts
Instructions​
We'll be using a file explorer on Android since Window's editors don't format the text correctly
1. Create a file using your choice of file explorer, I'm using Root Explorer and put it in /system/etc/init.d/
2. Open the file and write the following into it:
#!/system/bin/sh
3. Then choose which file you want to modify on boot and what value you want to change it to, and write the echo command and path into the file
For example: echo interactive > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor - (for interactive governor on boot)
echo 1200000 > /sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq - (for 1.2ghz on boot)
Now there's some things to look out for when doing this:
• You need to make sure you're pointing to the file not just folder when entering the path in '> /....'
• You need to make sure you put the spaces in the right places and don't put any spaces in random places
• When entering multiple values you need to put the values in quotation marks like this "....." - so for example if I want to set max GPU speed I would do this:
echo "416 416 416 416 304 304 247 247" > /sys/devices/system/cpu/cpu0/cpufreq/gpu_oc
• Also if you put a '#' in front of the line of text then it ignores that line, as you can see in my example I have a line that says '#CPU'. This is just to tell me I'm making modifications to the CPU and so I put a # in there so that line is ignored (the echo command below it is still carried out)
• You can do all the commands in one script and do as many as you like!
The various parameters that can be controlled are most likely on the OP's of the respective kernel threads (it would be ridiculously long if I were to put them all in this thread)​
4. Once you're done, save and exit the file
5. Then rename it with a number in front, this number will decide which init.d script will run first (lower the number the earlier it's run on boot)
So for example I named my file: 25kerneltweaks
It doesn't really matter what number you put but just make sure there's no other scripts running after which will also change kernel parameters (leave them but just give your script a higher number)
Almost done now!
6. The final thing you have to do is set permissions:
Now you won't be able to use ES File Explorer for this step as it just can't set the right permissions for init.d scripts for some odd reason, preferably use Root Explorer but others should work (except ES)
Set permissions as rwx-rwx-rwx (shown in the image)
{
"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"
}
If you don't have Root Explorer or a good substitute you could also do this through terminal emulator:
To do that enter this into emulator (press enter after every line)
Code:
su
chmod 777 /system/etc/init.d/insertfilenamehere
And permissions should be set
​
And that's pretty much it folks
You have successfully created your own init.d script!
Many people prefer this method as you don't require apps to set stuff on boot, now it'll just be done automatically for you :good:
Btw this will work on any android device, so if your a wandering googler (is that even a word ) searching for a guide like this, it should work on your phone/tablet as long as you fulfill the requirements
Hope you guys found this useful, it's the first thread I've made so sorry if it's a little rough around the edges and
Press thanks if I helped and please rate the thread, I'd greatly appreciate it!
now all who have this questions can make their own script every time they ask if somebody else can do -.- ... good guide mate i always do that with smanager but some ppl are then confused ._.
One-X-master said:
now all who have this questions can make their own script every time they ask if somebody else can do -.- ... good guide mate i always do that with smanager but some ppl are then confused ._.
Click to expand...
Click to collapse
Haha thanks man!
I actually only made it because I seen you reply to someone who was asking about scripts on Xmister's thread and I thought 'Damn I'm tired of these questions'
But yeah hopefully people find this useful :thumbup:
Sent from my :tank:
Headless_monkeyhunta96 said:
Haha thanks man!
I actually only made it because I seen you reply to someone who was asking about scripts on Xmister's thread and I thought 'Damn I'm tired of these questions'
But yeah hopefully people find this useful
Sent from my :tank:
Click to expand...
Click to collapse
then you know how i'm tired of these questions i hate those simple questions which even are mentioned and also asked in google...i searched in google and found really MANY of those question, for example for scripts etc which are really easy....why not even try in google play? i searched a long time ago...and i found smanager...one of the easiest way to make scripts
Thanks, man. This was really needed.
May I add a link to this in my thread?
csec said:
Thanks, man. This was really needed.
May I add a link to this in my thread?
Click to expand...
Click to collapse
Yeah sure man
Sent from my :tank:
Thanks for this thread man!
Was really useful since I didn't like using apps to set my stuff on boot but didn't know how to do it with scripts
Really good guide :good:
Great Guide, well written and presented.
Not for me as I don't program, but great guide non the less !
Rahman2012 said:
Thanks for this thread man!
Was really useful since I didn't like using apps to set my stuff on boot but didn't know how to do it with scripts
Click to expand...
Click to collapse
matt95 said:
Really good guide :good:
Click to expand...
Click to collapse
Wilks3y said:
Great Guide, well written and presented.
Not for me as I don't program, but great guide non the less !
Click to expand...
Click to collapse
Thanks guys!
Means a lot..
Sent from my :tank:
:good:thanks alot
I made a script yesterday but when I restarted this morning the script was deleted. Do I need to place a specific place?
Sent from my HTC One X using xda app-developers app
tandeman said:
I made a script yesterday but when I restarted this morning the script was deleted. Do I need to place a specific place?
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Well it has to be placed in system/etc/init.d
That's weird though it shouldn't randomly delete. Do you have any other mods installed?
Sent from my :tank:
Maybe because it put it in sys/
Sent from my HTC One X using xda app-developers app
tandeman said:
Maybe because it put it in sys/
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Yeah your gonna have to move it to /system/etc/init.d
Follow the instructions to the letter and you should be fine
Sent from my :tank:
Thanks! I have a question: I tried to set a different max cpu frequency by using this command for my device echo 2107680 > /sys/bus/cpu/devices/cpu0/cpuinfo_max_freq
via adb shell and Root Explorer but anytimes I save the file it back to original value.
I also put a new init.d file within that command with no success. Why that?
sev7en said:
Thanks! I have a question: I tried to set a different max cpu frequency by using this command for my device echo 2107680 > /sys/bus/cpu/devices/cpu0/cpuinfo_max_freq
via adb shell and Root Explorer but anytimes I save the file it back to original value.
I also put a new init.d file within that command with no success. Why that?
Click to expand...
Click to collapse
try
Code:
$ adb root
$ adb shell
and do it all over again
matt95 said:
try
Code:
$ adb root
$ adb shell
and do it all over again
Click to expand...
Click to collapse
matt, thanks! It says about "adbd cannot run as root in production builds" but I flashed my custom ROM. Why that?
Thanks...
sev7en said:
matt, thanks! It says about "adbd cannot run as root in production builds" but I flashed my custom ROM. Why that?
Thanks...
Click to expand...
Click to collapse
Mmmhh then try to do it into recovery mode which is already set as root
matt95 said:
Mmmhh then try to do it into recovery mode which is already set as root
Click to expand...
Click to collapse
Thanks! Doing that now... (God bless my device eheh)
---------- Post added at 07:18 PM ---------- Previous post was at 06:35 PM ----------
Hi, unfortunately it doesn't work. I also made a stand-alone script (below)...
then flashed it with a new ROM but as you can see frequencies and parameters haven't changes at all... why?

Categories

Resources