[Q] [Kernel]Devil2_94_i9000 - Galaxy S I9000 Q&A, Help & Troubleshooting

you can change ram setting by doing (or use command center or similar):
echo 1 > /sys/kernel/bigmem/enable (this gives you xl mem of 391 mb)
echo 2 > /sys/kernel/bigmem/enable (this gives you bm mem of 403 mb (this is breaking 720p))
echo 0 > /sys/kernel/bigmem/enable (this gives you cm9 default mem of 378 mb)
you have to reboot to make changes work
Click to expand...
Click to collapse
I do not understand this. I do?
Someone I can better explain the steps?
I want to use bigmem 403 mb.
PS: do not let me post in the original post. for being a noob.

Hi
- check if /data/local/devil folder is created, if not, make it.
- grab Command Center from Play Store.
- download "devil.json.zip" (page 480)
- remove the ".zip" from the name.
- put this file into /sdcard/Android/data/com.askven.commandcenter/files/
- open Command Center, menu, preferences, tick execute on tap.
- close it
- reboot.
- open CC. and hit "Devil"
- here you can set zRam hitting "2".
- reboot
- open Terminal Emulator and type "free", you should get values by "Swap.
Code:
http://forum.xda-developers.com/showthread.php?t=1445214&page=519

Related

How to use Android Emulator to test custom ROMs

Al Credits Goes TO Perceval from Hyrule
Perceval from Hyrule said:
** Currently writing this, please wait !
Hello there,
here is a new tutorial I'm sure you'll like. As usual it took me LOTS of work to get all info and make this to work, so now I share it with you and show how to run custom ROMs within Android SDK Emulator.
Please note it's mainly for XPERIA X10, but process is the same for other Android-powered devices. It will show you the process for Linux.
1. Download the latest Android SDK.
2. Open the archive, and copy the folder android-sdk-linux-x86 to a safe place. You can also rename it to an easier name. Example : I placed it in ~/Home and renamed it androidsdk.
3. Go to the SDK folder, then in the folder Tools/. Double-click on Android and choose Run.
4. Go to Available packages, and choose to install (choose at your will !)
Android SDK Tools, revision 8
Android SDK Platform-tools, revision 1
SDK Platform Android {VERSION(S) YOU WANT} (!) You need at least one Platform. For X10, you can download 1.6, 2.1. You can also add 2.2, 2.3.
Once it's done, close the window.
5. Download Xperia X10 add-on for SDK. (?) Read the PDF add-on guide, it is helpful !
Copy the folder (from the archive) XPERIA-X10_r1 inside the folder add-ons of your Android SDK folder ({androidsdk}/add-ons/).
6. Run terminal, go to your Android SDK folder, then in tools folder, and run
Code:
./android list target
.
Note the id number of the Android you want to develop (ie for me, Android 2.3 is
Code:
id: 3 or "android-9"
). (?) You might also want to note the name ("android-X") as it might be useful later.
7. Now, create AVD (a profile for emulator). Usual command (assuming you are INSIDE the /tools/ folder !) is
Code:
android create avd -n NAMEYOUWANT -t {ID}
So, for us, it will be
Code:
./android create avd -n myx10 -t 3
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 160 (correct if I'm wrong ?)
DPad support : no (?)
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 66 (?)
Audio playback : yes
Trackball : no (?)
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 32
RAM : 280
GSM Modem : yes
(?) I recommend you to create one profile for each Android version you want to run (so : you just have to change the ID, and create same profile). If you don't, you won't be able to run custom ROMs using other versions of Android (ie your AVD profile is 2.3 and you run a 2.1 custom ROM).
9. Done ! Take your custom ROM (downloaded, compiled... In this case, files are in {YourAndroidRepoFolder}/out/target/product/generic/. It comes with about 3 files, including a file called system.img. Copy this file into the folder (hidden) .android/myx10{In fact, the name you've chosen earlier "NAMEYOUWANT"}.avd/
10. Run terminal, go to Android SDK folder/tools/ (if you didn't close your current terminal, you're already in and run this command to run emulator WITH your custom ROM :
Code:
./emulator -avd myx10{again the "NAMEYOUWANT" you've chosen before}
Wait and enjoy !
(?) First boot is long - it's NORMAL. Just like on a real device, the OS will be cached and will work faster and faster.
Click to expand...
Click to collapse
8. To generate the AVD, you will be prompted several info. Type these for Xperia X10 :
Create custom hardware profile : yes
SD Card support : yes
Asbstracted LCD density : 240
DPad support : no
Accelerometer : yes
Max camera pixels (H) : 3264
Cache partition size : 100
Audio playback : yes
Trackball : no
Max cam pixels (V) : 2448
Camera support : yes
Battery support : yes
Touch screen : yes
Audio record : yes
GPS : yes
Cache partition : yes
Keyboard : no
heap size : 64
RAM : 403
GSM Modem : yes
works with the LG O2X roms?
sjcunha said:
works with the LG O2X roms?
Click to expand...
Click to collapse
hasn't been tried yet

[tutorial] add virtual memory through swap file on your sdcard manually

Enabling swap may add some virtual memory to your sdcard, but it may reduce the performance and speed
the objective of this how-to is to get everybody to know how they can enable swap with the help of a file on their on
swapper 2 application will do this in a much better way and it would be an automated process
this post is only for knowledge purpose
the recommendation is to use "swapper 2" available in play store
Steps:-
1. open any file manager and create a folder called "swap"
2. open that folder and create an empty file called "swap"
3. now open Terminal emulator and type
Code:
mkswap /sdcard/swap/swap [B]amount in KB[/B]
the amount in KB is the size of the swap file in the KB unit that you want to create
in other words the the amount of additional virtual memory you want to add
Click to expand...
Click to collapse
normally amount in KB should be equal or more to your current RAM
creating the swap file may take ~2 minute
4.now type in terminal
Code:
swapon /sdcard/swap/swap
the above command will activate the swap
5. now we will set the swappiness, for that purpose another command needs to be put in the terminal that is
Code:
echo 100 > /proc/sys/vm/swappiness
4th and 5th steps are needed to run after every reboot so for that purpose I have created a script just download it and set it to run on boot in script manager or put it in init.d if you have it, you can download script from here
now everything is set just put busybox free and see if you get swap working or not
any doubt please ask
not found
i enter it in terminal :
mkswap/sdcard/swap/swap 1048576
badnamess said:
i enter it in terminal :
mkswap/sdcard/swap/swap 1048576
Click to expand...
Click to collapse
use "space" after mkswap..
Swapon failed on /sdcard/swap/swap

[Q] v6 supercharger

hi frnds how to use v6 supercharger script i tried but it shows normal ram memory 60.
k explain what i do
* Open script manager
* Click on v6_Supercharger_for_android-update**.pdf, a new window will appear just click on su(icon will now be green) and press Run
* Superuser request will come, press allow
* Now a lot of stuff will be written, at first you just have to press enter
* If you are smart enough you won't choose anything wrong, so go on until you see : Please Enter Option (1-31) --> you choose(write): 10
* Few moments later this will appear: Apply SuperMinFree Calculator Settings? --> you choose no (write: n )
* Now you'll see ,,Running Cust-OOMizer..'' and slot 1 will appear. Enter these values:
- Slot 1: 6
- Slot 2: 18
- Slot 3: 5
- Slot 4: 50
- Slot 5: 60
- Slot 6: 70
after that just press enter and wait
* When you see this: ,,Because I may SNAP and call you names! ;-] ''
but it does nt increase my ram memory ...plz help me
i used
rom-GINGERDX v 031b
kernel-Alfs
vardhan21 said:
hi frnds how to use v6 supercharger script i tried but it shows normal ram memory 60.
k explain what i do
* Open script manager
* Click on v6_Supercharger_for_android-update**.pdf, a new window will appear just click on su(icon will now be green) and press Run
* Superuser request will come, press allow
* Now a lot of stuff will be written, at first you just have to press enter
* If you are smart enough you won't choose anything wrong, so go on until you see : Please Enter Option (1-31) --> you choose(write): 10
* Few moments later this will appear: Apply SuperMinFree Calculator Settings? --> you choose no (write: n )
* Now you'll see ,,Running Cust-OOMizer..'' and slot 1 will appear. Enter these values:
- Slot 1: 6
- Slot 2: 18
- Slot 3: 5
- Slot 4: 50
- Slot 5: 60
- Slot 6: 70
after that just press enter and wait
* When you see this: ,,Because I may SNAP and call you names! ;-] ''
but it does nt increase my ram memory ...plz help me
i used
rom-GINGERDX v 031b
kernel-Alfs
Click to expand...
Click to collapse
1-download latest script
2-run v6supercharger.sh as root(not pdf file!)
It'll ask 3 or 4 questions & then you're done
3-reboot
Sent from my E15i using Tapatalk 2
vardhan21 said:
hi frnds how to use v6 supercharger script i tried but it shows normal ram memory 60.
k explain what i do
* Open script manager
* Click on v6_Supercharger_for_android-update**.pdf, a new window will appear just click on su(icon will now be green) and press Run
* Superuser request will come, press allow
* Now a lot of stuff will be written, at first you just have to press enter
* If you are smart enough you won't choose anything wrong, so go on until you see : Please Enter Option (1-31) --> you choose(write): 10
* Few moments later this will appear: Apply SuperMinFree Calculator Settings? --> you choose no (write: n )
* Now you'll see ,,Running Cust-OOMizer..'' and slot 1 will appear. Enter these values:
- Slot 1: 6
- Slot 2: 18
- Slot 3: 5
- Slot 4: 50
- Slot 5: 60
- Slot 6: 70
after that just press enter and wait
* When you see this: ,,Because I may SNAP and call you names! ;-] ''
but it does nt increase my ram memory ...plz help me
i used
rom-GINGERDX v 031b
kernel-Alfs
Click to expand...
Click to collapse
Use your brain & read OP of supercharger thread:banghead:
Sent from my X8
im using miniCM 2.0.7 stock kernel, can i apply this v6 supercharger?
@ Vardhan21
V6 supercharger wont increase your RAM!!!
RAM is a physical memory and cannot be increased by some scripts.
These scripts optimize the memory so that your RAM will be better managed by Android.
@ astig_king24
You can use v6 supercharger with any rom and any phone
Sent from my X8 using xda app-developers app

[Q] stock tether mod

Created new apn....edited settings db to add tether with value set to zero but it keeps reverting to 1 ...cannot get it to stick....any help would be greatly appreciated!!!
Code:
#!/system/bin/sh
DB="/data/data/com.android.providers.settings/databases/settings.db"
/system/xbin/sqlite3 "$DB" "UPDATE global SET value='0' WHERE name='tether_dun_required';"
Paste that into a blank file and name it tether.sh
download SManager and navigate to the file you just made.
Make sure the three boxes in the image I provided are highlighted and hit "run".
Profit. The script will automatically at boot now. Allow a moment from boot for the script to run or you will end up with the reroute/upsell page.
enjoy !

[GUIDE][GB][Limited Method] Expand Internal Storage

ABOUT...​***New But Limited Method For Expanding Internal Storage***​This method uses system partition space which is left after flashing a custom OS.
After all, it is a SHELL SCRIPT Based mod.
CONTENTS...
- Credits
- Features :fingers-crossed:
- Bugs :crying:
- Installing Procedure :cyclops:
- Downloads
- How to use
- Limitations :silly:
CREDITS...
- @CheckYourScreen
- @zeppelinrox
- @CarlDeanCatabay
- @TheFixItMan
- @-CALIBAN666-
- @ImbaWind
- @whitexp
- @CyanogenMod
- @google​
FEATURES...
- New but limited method of expanding internal storage.
- Use system partition space.
BUGS...
- Application uninstall bug there, You need to move the moved application data to its original path before uninstalling any app.
- If not performed the revert process, Applications may not be uninstalled or if uninstalled in any way the above application data still present in system partition.
INSTALLING PROCEDURE...
- Just place the SHELL SCRIPT in this directory ("/system/xbin/here").
- Example: /system/xbin/expand_internal_storage.sh
- After adding it to system partition open Terminal Emulator application.
- NOTE: Type but without QUOTES.
- Type​ "su"​without quotes, Accept Prompt when dialog window appears.
- Then Type​ "chmod 0755 /system/xbin/expand_internal_storage.sh".
- After Doing this.
- Close the Terminal Emulator app.
DOWNLOADS...
https://www.dropbox.com/s/g9z6ocat3kcct3w/expand_internal_storage.sh?dl=0
HOW TO USE...
- Open SHELL SCRIPT expand_internal_storage.sh with the help of Root Explorer application or Edit this shell script in Laptop/Desktop with Notepad++.
- There in "# STEP_1_DATA/DATA" add package name of application after this "/data/app/" which you want to move.
- Now Move to "# STEP_2_DATA/SYSTEM" add package name of application after this "/system/.android_secure/app/" which you want to move.
- After adding < click on save < move this shell script to "system/xbin/here", if you edit this script with Laptop/Desktop, if done with mobile simply delete "*.sh.bak" file.
- Now open terminal emulator app.
- Type "su" (Hit Enter).
- Type "expand_internal_storage.sh" (Hit Enter).
- Wait until shell script moves desired applications to new path.
- After finishing.
- Bingo.
LIMITATIONS...
- Applications are movable until there is a required free space in SYSTEM PARTITION,
if no space no moving of applications.​

Categories

Resources