[APP] Xinit.d init.d for Any Rooted Device running Any Android version - LG Optimus 3D

Hi.
My Rom/Kernel don't have init.d support , so I made small simple application
with Tasker App Factory. I know there a lot of apps like Androguide.fr Pimp my Rom, but my app run faster then others , because it run only one shell script . Also it don't have autorun, so you can run your init.d scripts when you want .
Its zip archive not installer, don't try to flash it.
Extract archive content , install the app.
If you don't have /system/etc/init.d folder , run mi app, it will create it.
Copy your scripts to this folder and launch my app other time and it will set correct permissions too all of your scripts before executing them .
I also added my script for O3D(P920) .
Script Features :
1) Mount LINUX SWAP PARTITION.
2)Create SWAP File and Mounting it like Virtual Ram Memory .
3)Dalvik VM and Kernel Tweaks.
4)Mounting EXT4 External SD Partition.
This init.d script optimized for Optimus 3D(P920) , but its possible to run it on any device .
To change script parameters open it in text editor, like Notepad++ or similar,and you will understand everything
My app and script will create logs on Internal SD card.
Sorry now don't have much time , but later will add more instructions and will make the thread better

Related

[ROM] Ainol Knight Paladin Custom ROM 0.5

Paladin CUSTOM ROM 0.5
Since i got my tablet i started developing some stuff for it, in the past i have been workin on some ROMS for various phones, so i decided to make one for our nice tablet.
It should be compatible with Basic but im not 80% shure
Some Feutures:
Compatible with 4.0.1 & 4.0.3 and MagicCode!!!
SuperUser
BusyBox + symlinks (No Need To run "busybox cp ..." just "cp ...")
Original DalvikVM (Game Compatibility)
DalvikVM Memory Tweaks
SWAP Support (Auto 128mb swap on /data look on swap info bellow for more info)
Init.d Support
EXT4 mount improvements (IO Boost)
File scheduler set to CFQ
DNS Set to Google DNS
APN List (for 3G)
Network Tweaks
CFQ Tweaks
Mount system with noatime (speed boost)
AdBlocker
Android [GEARS] v.2 Bootanimation thanks to Grael
IMPORTANT:
* First install ClockworkMod Recovery
* Put the zip on sdcard
* Apply the Update in ClockworkMod Recovery
SWAP:
Our device is really limited on memory, we can fake adding more memory by adding a disk swap file
If you have a class 6+ sdcard you can use a secondary SWAP partition on it and the swap script will automaticaly detect it.
The default is using 128mb of swap on the /data partition so you will have a bitt less space for the apps
THIS IS JUST A UPDATE FOR THE SYSTEM. YOU NEED TO HAVE A FULLY WORKIN SYSTEM!!!
here are some recomended apps for those that want to use them:
Nova Launcher
XDA information thread here
DOWNLOAD
Instructions: Flash aply the update in CWM recovery
Hackers Keyboard MIPS
(install language packs from market)
hackers keyboard is a full qwerty keyboard for those tha like to have their keyboard as on their pc. its compiled for mips and really fast
DOWNLOAD
TitaniumBackup MIPS
Backup/restore program
DOWNLOAD
Android Terminal Emulator MIPS
Terminal for accessing adb localy from your phone
DOWNLOAD
MobileManager
stock ingenic mobile manager
DOWNLOAD
DOWNLOAD​
Hi, I'd use your update but I'm stuck in bootloop please help
I'm downloading 0.8 now (from your post on another forum) . Can't wait to give it a whirl! Thanks for making our little tablets mighty!
Sent from my SAMSUNG-SGH-I997 using xda premium
I don´t understand, your post in other forum is 0.8 version but you post this version 0.5 after. There is a problem with 0.8 version? I need a firmware with bluetooth drivers for use with usb external.
Always was amazed by the mips platform when I first saw the paladin I was just amazed they got it running on mips
How did you got the init.d working? I never got able to understand the kernel tweaking to get it working (trying to get it working on my MTK6573 HDC A9100 phone)
Any help or tutorial for getting that to work would be very appreciated since I want to get a working app2sd (using now link2sd)

[Script] ultimateRAMscript - IMPROVE YOUR PHONES PERFORMANCE!

Here is a ram script I put together. It's sorta a combination between the V6 Supercharger on option 7, Kickasskernalizer, and Car-o-Dopes tweaks, it has little bit of all those tweaks in it. So i wanna say thanks to zeppelinrox for the V6 Supercharger and the Kickasskernalizer and also Carhauler1969 and Ropodope for the Car-o-Dopes tweaks. There's also a read ahead tweak to set the sdcard at 512kb.
This was made for the HTC Evo 4g so I can't guarantee it will work on your phone but it should. If it won't flash thru recovery, go to bottom of op and download the script by itself and place in the right folder (init.d).
This is not to be combined with the niftyconiptionstweaks or the legit zip because this is different and could interfere with each other. I'd suggest to try all three separately to find which one works best for you.
[Q] What does this do?
[A] It will make your phone faster, more responsive, frees up ram, and could also increase battery life.
Script Values:
It has auto memory manager values of 6,12,75,90,95,125 [option 7 on V6].
It has sysctl tweaks of min free kbytes - 4096, Dirty Ratio - 70, Dirty Background Ratio - 50, and vfs cache pressure - 50 (sense) and 10 (aosp) [Car - o - Dopes tweaks]. And it also has a few tweaks from the kickasskernelizer.
Install at your own risk. I am in no way responsible for anything that happens to your phone.
Zip files to be flashed thru recovery
Sense Version:
http://db.tt/K1HFIrTy
AOSP Version:
http://db.tt/5JgpAGSr
Instructions: Follow Exactly
Flashable Install (may not be flashable on other phones besides the HTC Evo 4g, but you can try and see)
1) Make a nandroid backup incase something goes wrong or you want to revert.
2) Download a file manager like Root Explorer or ES File Explorer (I use Root explorer).
3) Open up root explorer and go to /system/etc/init.d. Click on the "Mount R/W" button (that way you can delete files).
4) Delete or move to a folder on your sdcard (incase you want to revert) any ram scripts or ram tweaks you may have that is in the "init.d" folder (examples of ram scripts or tweaks are 00sysctl, 01sysctl, 06sysctl, 02sicktweaks, 06tweaks, S97ramscript, 99supercharge, and 98Kickasskernel, or any tweaks from niftyconiptionstweaks or the legit zip) .
5) Also if you are running v6 supercharger, you need to un-supercharge. If you are running Kickass Kernelizer, you need to un-kernelize and do not run those scripts while you have the niftyconiptionsscripts installed.
6) Uninstall any ram manager apps or task killers and do not use these.
7) After you uninstall all of that, reboot your phone and verify that none of the scripts you had before are still installed. (it will mess with the scripts you are about to install).
8) Boot into recovery (preferably Amon Ra).
9) Find the ultimateRAMscript.zip you downloaded and flash it.
10) Reboot phone and enjoy. Let your phone set at the lock screen for about 2 minutes, unlock and let it set for another 2 minutes to let it settle in. Your phone will become dramatically smoother after about an hour.
Manual Install
1) Download the script.
2) Remove any ram scripts or tweaks you currently have. Will be in /system/etc/init.d (its like this on the HTC Evo 4G but may be different on other phones)
3) Copy the script you downloaded and place in the init.d folder. /system/etc/init.d. (if using root explorer, you will need to hit the "Mount R/W" button at the top to be able to remove or place any scripts.
4) Once the script is placed in the init.d folder, long click on the script and click "permissions" and change it to "rwxrwxrwx" which is the same as checking all the boxes.
5) Reboot phone. Verify that the script is in the init.d folder and enjoy.
Script for manual install
Sense Version:
http://db.tt/ZjmcF4Ec
AOSP Version:
http://db.tt/dqaX5Hrb
Sent from a Nifty Tomatoe
Hit that thanks button if I managed to help

[mod][mt6573] Data2sd on stock rom

All MT6573 android phones are plagued by low internal memory issue.
This mod works on all MT6573 Stock ROM with Stock Recovery.
Credits (In Aphabetical Order): banjo0917, casacristo, puppet13th, tazzz811, ungaze & others DEV.
Without them sharing their mods/ tools, this KANG would not be here...
BIG Kudos to them...
{
"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"
}
---------------------------------------
Added on July 07, 2012 - Version 2
Added V2 that take advantage of another unused script on Stock ROM, xlog.sh... If your MT6573 phone already have a copy of install-recovery.sh at etc folder, you can use this V2... i think with V2, you can simply install it to all MT6573 android phone without having worrying if there is a copy of install-recovery.sh at /system/etc :fingers-crossed:
Having said that, it is always safe to check with any Root Explorer & make sure you don't have an existing copy of xlog.sh at /system/etc. If there is, then save a copy to your /sdcard/scriptz folder before using V2... :victory:
---------------------------------------
Confirmed MT6573 Android Phone that works with Data2SD mod
CSL Switch Dual II Mi357
Fly IQ260 Blackbird
Spice Mi-350n
Nexian Cosmo Journey A895
Wellcom A90+
Lenovo A60
Spice Mi-350
Alcatel BLAZE DUO OT-918N
i-mobile i695
Nexian Xtreme A899
B63M i can't find the original manufacturer & it seems like this phone is really clone of the clone... real shanzhai model...
Tenq S820
T9199
---------------------------------------
Detail explanation on what this mod do
It uses install-recovery.sh/ xlog.sh (V2) to start up tweaks/ scripts at your /sdcard/scriptz folder. Inside scriptz folder, there are a few tweaks/ scripts that improve your android phone performance. The beauty of this mod is that it works like init.d but it reside on your SdCard instead of /system/etc/init.d
With normal init.d mod, any wrong tweaks, your phone will not boot or goes into bootloop ! With this SdCard Tweakz, anything wrong, just remove your SdCard & your phone will reboot normally. Then you can use any card reader to remove the scripts that causes the error.
To try any other tweaks, open any init.d tweaks with Notepad ++ or equivalent & save it as XX***.sh -> XX digit, *** -> text. For detail explanation on what you can do with SD Tweakz, you can refer to the original post here...
Again, here are the original developers/ modders in alphabetical order...
banjo0917 - Ported his custom ROM to my Mi357, this has leads me to discover that install-recovery.sh can be use on all MT6573 & ungaze SD Tweakz/ Data2SD
bgcngm - his unpack/ repack script leads me to discover unused script at boot.img
casacristo - First to compile ext2.ko so everyone can use ext2 partition on MT6573 with 2.6.35.7 kernel
DooMLoRD - Use/ modded his Easy Rooting Toolkit [v4.0](zergRush Exploit) for this mod
tazzz811 - First to discover ungaze's Data2SD can be use on MT6573
puppet13th - Use/ modded his tool for this mod earlier
ungaze - Data2SD & SD Tweakz mod
xboxexpert - Use part of his interactive script
others DEV - various scripts at scriptz folder mostly ported from banjo's ROM
---------------------------------------
Added on July 11, 2012 - Final Version via ADB
a2sd-mt6573-ext2-ROOT-zergRush-busybox-su.7z
- AIO which includes rooting, auto-install busybox, su, Superuser.apk & ungaze's Data2SD & SD Tweakz
a2sd-mt6573-ext2.7z
- Install only ungaze's Data2SD & SD Tweakz for already rooted mt6573 Android phone. Make sure you have busybox prior to install this or else it will not work...
---------------------------------------
Added on July 21, 2012 - ext4 Test Version
As mention, because of work commitment, i cannot find time to fully test & release this ext4 version...Credits to Banjo0917 for compiling it...
So i'm hoping someone would take over, test it & release the stable version so that all mt6573 users can benefit from it... :laugh: It is actually a fully working version which can also be install over previous ext2 version. Problem is that it works o.k for awhile then the constant FCs...
Files are extracted from Banjo's earlier patch file, he is most active at his Pinoy forum but not here...
You can download his rom here for reference...
You can find his latest rom here...
Any taker...
---------------------------------------
Added on August 26, 2012 - Cronmod INT2EXT
Just got an update from [SCRIPTS]CronMod-A2SD/D2EXT/INT2EXT (updated 08/24)
thanks to croniccorey & mastermind1024, now you have a few more scripts that you can play with, on ur stock ROM... :victory:
INT2EXT Features
INT2EXT
- Mounts /sd-ext to /data
INT2EXT+
- Mounts /sd-ext to /data & leaves /data/data on internal for speed
INT2EXT4
-Mounts /sd-ext to /data & works with EXT 4 filesystem
INT2EXT4+
-Mounts /sd-ext to /data & leaves /data/data on internal for speed
01int2ext+deodex-mm.sh mod by mastermind1024 for deodex ROM & people facing slow system after using INT2EXT+ script. It moves /dalvik-cache back to internal so that your system response better...
Steps for Installation
1) Download AIO-mt6573-Data2sd-ext4-For Testing.7z, extract it to your desktop; scriptz_cronmod.7z , extract it to /sdcard
2) If you have already use previous mods then it is advisable to format ext2 partition first before installation. Double-click start.bat & when it is about to finish & ask Press any key to reboot . . ., just close it
3) Remove 01data2ext4.sh from /sdcard/scriptz folder
4) Copy only one of the script from /sdcard/scriptz_cronmod to /sdcard/scriptz & reboot
Enjoy & don't forget to thank the original DEV...
---------------------------------------
Added on August 30, 2012 - Amarullz Ad2sdx
i've been trying to get this mod to work on stock ROM for the longest time & now it does !
Special thanks to mastermind1024, i couldn't figure out why it doesn't work at the first place, it always shows invalid IMEI for both SIM...
You can follow Amarullz original post here
Same as Cronmod INT2EXT, only one script should be copied to /sdcard/scriptz folder...
A little explanation about the different scripts
1) Ad2sdx mod by Alex-V - moves everything to sd-ext. According to Alex, if the internal data is full with dalvik cache & you still have plenty of free memory left on sd-ext, you can't install anymore apps...With this mod, you can !
2) Ad2sdx mod by casacristo - modded to mount ext2 instead of ext4 originally. This is the original untouched mod that places the dalvik-cache and system application data to internal memory to maintain performance.
3) Ad2sdx mod by haiduongbk - reverse mount sd-ext & data
Enjoy...
---------------------------------------
Added on Sept 24, 2012 - Dark Tremor Apps2sd Version: 2.7.5.3 Beta 04
This is the last version from Dark Tremor AKA Robert Travis Kirton since Jan 2011....
i've been looking forward to his Darktremor 2.8 but sadly it never got release...
After installation, use A2SDGUI to move dalvik-cache to SD-EXT. Also included is FreeSpace to check Ext partition...
For maximum space saving, at ADB shell use command su then a2sd datasd but i must warn you it might FC later on... He did mention he was never a fan of moving the entire /data/data directory to the SD card...
Credits
Darktremor Apps2sd
A2SDGUI
Oleg Krikun FreeSpace
Enjoy... :laugh:
---------------------------------------
Added on Oct 18, 2012 Updated DT_a2sd V2 & cwmr flashable zip
With close to 300 downloads & nobody report back it doesn't work out of the box...
Attached below is V2 that should work without the need to flash dtapps2sd-2.7.5.3-beta04-signed.zip first...
For those who already got cwmr then you can download DT_a2sd cwmr flashable zip here...
---------------------------------------
Added on Oct 17, 2012 WARNING : MEDIATEK SMART PHONE FLASH TOOL
i've seen far too many times that fellow xda member make this same mistake over & over again, including myself...
So pls pls people, don't use SP Flash Tool & download ROM not meant for your phone, it will brick it & there is no way to revive it back ! After you have download wrong PRELOADER, your phone will be completely dead, cannot power on, no charging, no recovery, no USB vcom detection & you can say
to it...
Here is the WARNING again :
NEVER DOWNLOAD ROM NOT MEANT FOR YOUR PHONE. IT WILL BRICK IT !
If I would have seen this post before my phone wouldn't have been bricked
Anyway kudos to poster & developers
there are a lot of beginners would like to know how to install this into their MT6573 phone...
well...
---------- Post added at 04:18 PM ---------- Previous post was at 04:17 PM ----------
eventhough there is a How to Install in the MTZ file..
confusing..
---------- Post added at 04:37 PM ---------- Previous post was at 04:18 PM ----------
Auto Installation using ADB
1. Download & install usb driver from the above link if your phone doesn't comes with it.
2. Copy the extracted ADB folder to c:\ drive.
3. Double click Start.bat & all files will be installed.
4. Follow on-screen for instructions.
@sevensaints
First, on your android phone, enable usb debugging... Setting -> Applications -> Development -> put a check mark on "USB debugging"
Typically, when you plug-in your android phone, windows will detect it & will prompt you to install the driver...if it doesn't then follow the steps below...
Go to Device Manager -> double click on the MT65xx Android Phone -> Update Driver -> Browse my computer for driver software -> Let me pick from a list of device drivers on my computer -> Next -> Have Disk -> Browse -> to wherever you have extracted the downloaded google usb driver -> android_winusb.inf -> OK -> Next -> Install -> Close -> Close
Whew, i actually replicate the actual step, by step... There is also another auto-installer, Pdanet, you can check it out...
Then double-click SuperOneClick & it will do its job... :victory: Answer yes when ask whether to install busybox
Actually, rooting & installing google sdk usb driver is scattered everywhere on the web & also here at xda...SuperOneClick
@breaky9973
Thanks, breaky9973...It would be great if you could post the model of your MT6573 then others users will benefit from it too... :victory:
I have an i-mobile i695 and I got it succesfully restored (with one minor issue).
Your script works for me but it took me a couple of restarts to be fully initialized on my phone.
guys, thank you so much for your feedback...
@breaky9973
actually, it works right after reboot, the problem is mediatek's mt6573 is kinda of slow while booting up & yes, what you said is correct, it actually needs around 1 to 2 minutes to fully initialized... :silly:
@sevensaints
when i got my android phone, 1st week got it rooted, 2nd week brick it, 3rd week found russian forum to restore it back... :laugh: i presume most users will root their phone once they got their hands on it... Point taken, i have included DooMLoRD's Easy Rooting Toolkit with it now... :good:
As mention before, would appreciate if you guys that has this mod working on your phone to reply with the model of your mt6573 so that other users would benefit from it too...
Thanks...
Hello yuweng,
Just want to confirm this mod works on Nexian A899 based on MT6573 stockrom. because of I used Link2SD before, seem like get problem to increased the internal storage and after factory reset, it works! get it free of 1.3 GB
btw, the start.bat not works under Win7..only works under WinXP.
Thanks! :good:
Thank you so much for your feedback, para_dox77... :laugh:
Actually, best size for sd-ext is 1GB. i've install 200 over games to test & found out that after 1.2 GB of data fill up, after reboot, the launcher screen is not responding, all apps are missing & i have to wait around 3 to 4 minutes then everything show up ! After that, everything is quite responsive. So i guess thats the max. Same as our PC... On top of that, you'll save 500MB of space if you format your sd-ext 1GB instead of 1.5GB...
Both ported scripts are develop & tested on Win7 OS, so my best guest is that you didn't turn off the user account control settings...it'll block whatsoever bat/ exe/ setup file that is trying to run...
Another lesson learn, so guys please delete whatsoever link2sd, a2sd, d2sd & etc that you have or else this mod will not work... :fingers-crossed:
By the way, this mod should be call data2sd or d2sd...You can refer to this post by croniccorey. You can also try his scripts & see if it works on our mt6573...been super busy with work lately so no time for modding...
Hey, this is great! but I am having a little issue. I have a "NEOBOX NEO" phone, and since I was stuck with the stock recovery I could add init.d support but no ext2 support so I was using link2sd with a fat32 partition, but I still had problems with storage. I uninstalled links2sd and formatted the partition to ext2, ran the .bat and it worked, now I have plenty of space and no more annoying low space messages. The thing is, whenever my phone sleeps, when I turn the screen on, it hangs for a while, and then it prompts like 3 to 5 times like it has a new sim card. My guess is that it moved the sim app to the sd and when it sleeps it is not actually reading from the card hence the problem. I haven't done any further testing but I am guessing this would also cause trouble with other apps that need to be running in the background like messaging and whatsapp and basically anything that syncs. And if I am right and that is the problem, then the solution would involve having the phone not to sleep and thus drain the battery very fast. Correct me if I am wrong (and I certainly hope I am because otherwise this seems great and the solution to my problem)
EDIT: it does the "sim thing" not only when sleeping but anytime. specially anoying when listening to music. Anyone with the same/similar issue? the card is a 16gb verbatim HC card class 10. never had a problem with it b4.
Hi jinxie,
I've read alot on generic a2sd mod, data2sd & etc; many users has been reporting problem with class 10...
My suggestion to you is that you remove all scripts except 01data2ext.sh & monitor from there onward...
This is the best part of ungaze's SD Tweakz, just add or remove any old/ new tweak scripts from your SdCard scriptz folder & you phone will be back to normal or even better/ faster with the correct modded scripts... :good:
The other thing is that i change the read_ahead_kb from the original 03tweakz.sh; from 1024 to 8192... You can refer to here for more info... May be it is too high for class 10... Use Notepad ++ & change it to a lower value...
yuweng said:
Hi jinxie,
I've read alot on generic a2sd mod, data2sd & etc; many users has been reporting problem with class 10...
My suggestion to you is that you remove all scripts except 01data2ext.sh & monitor from there onward...
This is the best part of ungaze's SD Tweakz, just add or remove any old/ new tweak scripts from your SdCard scriptz folder & you phone will be back to normal or even better/ faster with the correct modded scripts... :good:
The other thing is that i change the read_ahead_kb from the original 03tweakz.sh; from 1024 to 8192... You can refer to here for more info... May be it is too high for class 10... Use Notepad ++ & change it to a lower value...
Click to expand...
Click to collapse
Thanks for the quick reply! I will try that!
So, update: After trying it yesterday all day, very unstable, rebooted like a ziliion times, and then it looked like finally everything was in place and it started to work fine, so I installed a bunch of apps. Like 5 or 6, usual stuff, facebook, twitter, etc., rebooted, and now it bootloops. removed the card and boots fine of course, but no freaking space. What now? heh
UPDATE:
I decided to do a clean install, and since there is no custom recovery for my device I cant flash zips, I erased all data and flashed the system.img partition again. I also formated both fat32 and ext2 partitions from the sd card. Then I applied your script (prior to that y reduced the read ahead kb you mentioned by half). No luck, same issues. So i deleted all scripts but the data2ext. It runs better, but I still get FCs, it hangs for a few secs, then I lose all connectivity with the "restricted access changed" message, and the new sim detected pops up constantly, so I also get a lot of dropped calls. I also noticed battery drainage, much faster than before, I think it is because of the same connectivity issue since looking for networks does drain a lot of battery.
Apparently, it has to do with data connection, since I have deactivated it and for the past hour I haven't had those problems, but I can't tell for sure, I'll test wifi when I get home.
Thanks so much for the update, jinxie...
AFAICR, some mt6573 has different mtd for system.img...
at adb shell, cat /proc/mtd & see if it is mtd11...
if it is different then i think you have to edit 01data2ext.sh, line 22, 33, 130, 138 to your system.img mtd location...
hope it works out for u... :fingers-crossed:
Added on August 03, 2012 - Earlier original ungaze [mod][mt6573] Data2sd on stock rom Test Version
Attach script is the original script format from ungaze's Data2SD... :fingers-crossed:
Steps
Option 1 - Replace file at SdCard
1) Delete 01data2ext.sh from SdCard scriptz folder
2) Format SdCard ext2 partition
3) Restart & let it settle down
4) Copy this file to your SdCard scriptz folder & restart
Option 2 - Reinstall this mod all over again
1) Format SdCard ext2 partition, factory reset, wipe data
2) Restart & let it settle down
3) Copy this file to & delete 01data2ext.sh -> files -> scriptz folder & run start.bat
I had a record of my tables but I cant find it, but if the mtd was different shouldn't it not work at all? because it does work, I have the internal memory the size of the partition, but it is unstable and slow.
I installed terminal but it FCs so I am installing ADB because I formatted my pc recently so I will tell you in a few minutes.
Btw it seems the SIM card problem only happens when the data connection is active, maybe it has to do with the network changes from E to 3G and H. I haven't been able to disable fast dormancy. The battery consumption showed almost 50% in Cell standby. But it still hangs, FCs and that kind of weir stuff that makes it really hard to use and a challenge to my patience. Thank you for all your help. Is there any other alternative you would recommend for the low storage issue for us the poor ones with stock recovery? Link2sd worked for a while but then memory got full anyways, dont know why because I had almost every app on the SD. I wish I could use a2sdx...
EDIT: yup system is mtd11 :S
my mt6573 will be monster after this
thanks
perfect on b63m..i try casacristo ext2 script..
@loris22
Thank you so much for your feedback, another phone added to the list... :laugh:
@y2yu
Wow, you post reply here & on my other thread, hope you find my KANG useful... :fingers-crossed:
hi
without a custom recovery there are some way to make a2sd work?
Yes, in fact you can ! But it will be quite tedious as you need to manually copy a2sd's files to its appropriate folders, manually set permissions & etc for it to work.... And you will also need bgcngm's MTK-Tools to unpack boot.img...You can refer to here for more info...
Why don't you use my universal cwmr Android Kitchen plugins for porting cwmr to ur MT6573 ?
I've created this thread specially for MT6573 users that are happy with their stock ROM but needed larger internal memory...
Originally, most of these data2sd scripts require some kind of modding to the boot.img or system.img while the one here doesn't require any of that...
Kudos to the original DEVs for these excellent scripts....
yuweng said:
Yes, in fact you can ! But it will be quite tedious as you need to manually copy a2sd's files to its appropriate folders, manually set permissions & etc for it to work.... And you will also need bgcngm's MTK-Tools to unpack boot.img...You can refer to here for more info...
Why don't you use my universal cwmr Android Kitchen plugins for porting cwmr to ur MT6573 ?
I've created this thread specially for MT6573 users that are happy with their stock ROM but needed larger internal memory...
Originally, most of these data2sd scripts require some kind of modding to the boot.img or system.img while the one here doesn't require any of that...
Kudos to the original DEVs for these excellent scripts....
Click to expand...
Click to collapse
THANKS!!
this night i study everything i try to make a working cwmr for alcatel 991!

[alert] for all scripts claiming they are supercharged

NOTIFICATION! FOR ALL SCRIPTS CLAIMING THEY SUPERCHARGE YOUR SYSTEM (OR INSTALL SUPERCHARGER v6)​​​​NOTE: Don't be confused in difference between Performance SuperCharge or SuperCharger v6 (Here its, SuperCharger v6)
There is no script (until now) in this world that can SuperCharge a system from recovery.
The thing is:
It seems that the problem with ICS, at least according to the dev, is that the OS no longer reads ADJ values out of build.prop but rather has them stored and hardcoded in services.jar, which makes this script only be half as useful as it was before. The dev has provided a nifty way to actually change these values in services.jar, and it can be done from the comfort of your Android device, thanks to a web app created to “patch” the services.jar so that the script can take effect in full force.
Click to expand...
Click to collapse
Here is proper installation steps:
===================================================================
Installation - Easy as 1, 2, 3!
1. Run the NEWEST V6 SuperCharger script as always.
Note: You may get Segmentation Fault errors running the V6 SuperCharger script on ICS due to a flakey su (superuser) binary.
To resolve the issue, you can:
A) Go HERE for a fixed su binary. No more fugly segfaults! - Thanks to wraithdu
OR...
B) Go HERE and get the SuperCharger Starter Kit!
2. Patch and install services.jar - by whichever method you like best. Your options are, in order of EFFECTIVENESS:
Note: Options A, B and C require Java to be installed on your computer - Click to Verify Java Installation
Option A) Use one of the -=Ultimatic Jar Patcher Tools=- (exe or zip) which DO EVERYTHING for you "Fully Ultimatically" on DEODEX & ODEX ROMS!
Goto Step 3 if you did this!
Option B below is the next preferred method - but there's manual work involved.
Option B) Follow the complete tutorial below and use -=Ultimate Jar Power Tools=- patcher script to automate Step 5 - the actual smali editing!
There are actually 56 edits performed via script... many more than what is specified in the tutorial!
Note that the script allows you to choose the level of your Launcher's Super Strength! (BulletProof, Die-Hard, or Hard To Kill)
Also be sure to have the necessary smali files in the same folder as the script!
ODEX ROMS - ALL Stock ROMS are ODEX (I think... ) So if you have a services.odex file, press the button!
All but Step 5 is automated on Windows with a batch script courtesy of rexstor .
See [Guide][Batch][Odex Rom only!] To get another 50% v6 Supercharged script for ICS!
So you'd run the batch script, and for the editing, run my Ultimate Jar Power Tools patcher script in Step 5
Goto Step 3 if you did this!
Option C) Follow the complete tutorial below without using any Patcher tool.
This is actually pointless to do - there are less edits and it's more work And the laziest people should just do D) below lol
Goto Step 3 if you did this!
Option D) Use the latest Update 9 RC* and select ICS Service Centre's Automatic Transmission! (OUT OF DATE)
Seemless webapp integration and installation to "Lock home in Memory"
Note: This is currently out of date - latest edits and Maximum MultiTasking Mods are NOT included and it does not work on Jelly Bean!
Goto Step 3 if you did this!
Option E) ICS OOM Priority Charger webapp. Same effectiveness as D) but done manually (OUT OF DATE)
Latest Update 9 RC* can install and apply permissions via ICS Service Centre's manual mode
Important: The webapp WON'T WORK for ODEX roms! So if you have a services.odex file, you have use a more effective option above
Also won't work on Jelly Bean ROMS!
More Webapp Info
Just go to http://android.mimic.ca with your devices browser and follow instructions!
In case of upload problems: If your Android browser closes while selecting file to upload, use Opera Mini web browser because it lets you select a file from within the app. Just copy services.jar to the sdcard first
CWM zip option is available!
But if you don't get the CWM zip, and instead download the modded services.jar, you can:
A) Do Steps 8 to 10 below! But first In Terminal Emulator, just type su and enter, busybox mount -o remount,rw /system and enter (Mount system as read/write).
OR...
B) Use the ICS Service Centre's manual mode in V6U9RC*
Help for webapp: Go to http://webchat.freenode.net , channel #v6_supercharger and talk to blk_jack (or me if I'm there)
* All roms (odex & deodex) - to install a patched services.jar/odex, you can use the ICS Service Centre's manual mode in V6U9RC9+ (for Steps 8 and 9 below).
* If you ever have trouble applying permissions to services.jar/odex, just run the ICS Service Centre and permissions gets applied everytime just before returning to the main menu!
3. SuperClean & ReStart! (ie. Wipe Dalvik Cache & Reboot)
Notes: For decent launcher detection use at least V6U9 RC6.9 or newer and check the bOOM Stick to see if the launcher the desired ADJ value!
.......... - Boot will take a LONG time as it "optimizes all your apps"
.......... - If it doesn't boot (unlikely if you did the edits yourself), try wiping caches (not data)
.......... - If it still doesn't boot, you can always just re-flash your current untouched rom but do have a backup nevertheless.
.......... - If you get FCs, fixing permissions will solve that. (Use the "Fix Emissions" Option in the latest V6 SuperCharger Script! )
That's It!
========================================================
​
Go here for more info!​​
Reserved
Umm why repost the thread when we can just check the page
Yes, and there is a tutorial too in the general forum
thread moved and closed

[Init.d Script] [2k16-07-05 New Scripts] Init.d Support for G FLEX 2 [All-Variant]

Init.d Script Support
CONFIRMED WORKING!! (POST YOUR FEEDBACK BELOW!)
Credits to @bountyman334
He is the reason this script is possible and also check out his G Flex 2 Flashable Mods.
I only made a shell script to bring this to you all.
check it out Flashable Mods for G flex 2
Code:
[CENTER][B][U][SIZE="4"]WARNING![/SIZE][/U][/B]
[SIZE="3"]I am not responsible for brick devices.
Shell Script at your own risk.
And have a backup of system img at your internal storage!![/SIZE][/CENTER]
Instruction :​
[*]Extact the zip and copy the .sh file to internal storage
[*]Open android terminal app / adb shell
[*]grant superuser 'su' first
[*]Navigate to SDcard
[*]Type in :
Code:
su
cd /sdcard
sh gflex2-init.sh
[*]Follow the screen instructions
[*]Reboot then check for init_test.log in internal storage
[*]Delete the init_test.log on boot and reboot again
[*]If init_test.log shows up
return "it is working"
else
Run the script again from terminal emulator and check last two steps
[*]You must have init.d support now
GUIDE TO USE INIT.D SCRIPTS
--> There is a folder named init.d in /system/etc/
--> You can create scripts that you want to run at boot.
--> Scripts need not have ' .sh ' extension.
--> Copy scripts to this folder via root explorer.
--> Set permission of file to rwx-rwx-rwx : 777 and reboot to see your script working
--> Scripts can be made in 3rd-party apps like Kernel Auditor (Recommended), 3C-ToolBox(android tuner).
--> Kernel Auditor has init.d section where you can modify existing script but don't know about creating new.
--> In 3C-Toolbox we can set init.d instead of on boot .. this app is useful if you want to limit CPU frequencies etc.
--> You can Zipalign, Optimize apps, Run temp/cache cleaners, Tweak Cpu and Governor, etc.
also check the below link for creating and using init.d scripts
Take a good read at here about init.d​
Few tweaks
View attachment powerTweaks.zip Derived from OnePlus 2 SD810 Tweaks (Reported to increase SOT and performance significantly)
KCAL can be applied to run on every boot so that COLOR tones are applied immediately
New tweaks (2016-07-05)
Giving me less heat .. 0 throttle .. more SOT (4+ on normal usage)
--> 91fixoverlays - set GPU for Screen Composition (Less CPU Loads) : credits to : titanic_fanatic
--> part_fstrim - trims the partitions (Optimization)
--> sysctlTweak - Swappiness 0 + some minor change
--> tweak_cpu - Under Clocks 0-3 at 1.4GHz & 4-7 at 1.85GHz (also remove thermal config file not the default one for better result)
--> Entropy increase
--> Refer to post 18 for changes!!
Copy paste anyone you like !! tweak_cpu and fixOverlay recommended on Stock/rooted/init.d
​
Do thank us :laugh::laugh:
Uploaded on:
2016/06/15
Updated on:
2016/07/05​_
Will do!
Thanks for your work,
Unfortunately it isn't working for me.
Edit: i did something wrong. Trying again
Edit: Nope. Still getting this:
#Init.d Support for LG G flex 2 [all Variants]
#Script by : adds08 [Thats me]
#Init.d port by @bountyman334
#
#Init.d script extracted from @bountyman334 's
gflex2-init.sh[224]: no closing quote
1|[email protected]:/storage/emulated/0 #
michele955 said:
Thanks for your work,
Unfortunately it isn't working for me.
I tried with terminal emulator, root explorer and script manager.
Getting this:
#Init.d Support for LG G flex 2 [all Variants]
#Script by : adds08 [Thats me]
#Init.d port by @bountyman334
#
#Init.d script extracted from @bountyman334 's
storage/emulated/0/gflex2-init.sh[224]: no closing quote
1|[email protected]:/ #
Click to expand...
Click to collapse
Try the new fixed script and do confirm
need su and busybox properly installed inorder to work !!
cheers :good:
Fixed script works properly.
Init.d is working !!! Hurrayy !!!
Thanks
michele955 said:
Fixed script works properly.
Init.d is working !!! Hurrayy !!!
Thanks
Click to expand...
Click to collapse
I checked with Universal init.d app init.d support and it says kernel doesn't have init.d support. What does it mean? Script works or not?
michele955 said:
I checked with Universal init.d app init.d support and it says kernel doesn't have init.d support. What does it mean? Script works or not?
Click to expand...
Click to collapse
Delete test_init.log file and reboot the device.. If you see the file again then init.d is working ... Don't worry about the universal init.d app ..
Use kernel auditor to put some init.d !!!
Deleted and rebooted. There is no new log.
adds08 said:
Delete test_init.log file and reboot the device.. If you see the file again then init.d is working ... Don't worry about the universal init.d app ..
Use kernel auditor to put some init.d !!!
Click to expand...
Click to collapse
hi, how to Use kernel auditor to put some init.d??
I ll fix it and post some tweaks and tutorial later when i get home...
But it is strange why it worked for the first time and later did not.. I'll look into it later ...
michele955 said:
Deleted and rebooted. There is no new log.
Click to expand...
Click to collapse
maybe re run the script via terminal
after reboot look at the log file
then delete that log file and reboot
UniversalInit app will show no init.d support no matter what!
But it is there and working ...
i am also posting sd810 related init.d tweaks and scripts later on along with how to use them and where to place them..
adds08 said:
maybe re run the script via terminal
after reboot look at the log file
then delete that log file and reboot
UniversalInit app will show no init.d support no matter what!
But it is there and working ...
i am also posting sd810 related init.d tweaks and scripts later on along with how to use them and where to place them..
Click to expand...
Click to collapse
Stange thing happened.
I reapplied the scrip as you said and got this:
Execution : Process - 4
Initd must have already been running!!!
Or some error has occurred!!
Let's wait and watch! Termination : Process - 4
Press enter to continue....
After reboot log file was successfully created.
I deleted log file and rebooted several times and now it appears at every boot. Guess it's working now
adds08 said:
Init.d Script Support
CONFIRMED WORKING!!
Credits to @bountyman334
He is the reason this script is possible and also check out his G Flex 2 Flashable Mods.
I only made a shell script to bring this to you all.
check it out Flashable Mods for G flex 2
Code:
[CENTER][B][U][SIZE="4"]WARNING![/SIZE][/U][/B]
[SIZE="3"]I am not responsible for brick devices.
Shell Script at your own risk.
And have a backup of system img at your internal storage!![/SIZE][/CENTER]
Instruction :​
[*]Extact the zip and copy the .sh file to internal storage
[*]Open android terminal app / adb shell
[*]grant superuser 'su' first
[*]Navigate to SDcard
[*]Type in :
Code:
sh gflex2-init.sh
[*]Follow the screen instructions
[*]Reboot then check for init_test.log in internal storage
[*]Delete the init_test.log on boot and reboot again
[*]If init_test.log shows up
return "it is working"
else
Run the script again from terminal emulator and check last two steps
[*]You must have init.d support now
GUIDE TO USE INIT.D SCRIPTS
--> There is a folder named init.d in /system/etc/
--> You can create scripts that you want to run at boot.
--> Scripts need not have ' .sh ' extension.
--> Copy scripts to this folder via root explorer.
--> Set permission of file to rwx-rwx-rwx : 777 and reboot to see your script working
--> Scripts can be made in 3rd-party apps like Kernel Auditor (Recommended), 3C-ToolBox(android tuner).
--> Kernel Auditor has init.d section where you can modify existing script but don't know about creating new.
--> In 3C-Toolbox we can set init.d instead of on boot .. this app is useful if you want to limit CPU frequencies etc.
--> You can Zipalign, Optimize apps, Run temp/cache cleaners, Tweak Cpu and Governor, etc.
also check the below link for creating and using init.d scripts
Take a good read at here about init.d​
Few tweaks
View attachment 3784960 Derived from OnePlus 2 SD810 Tweaks (Reported to increase SOT and performance significantly)
KCAL can be applied to run on every boot so that COLOR tones are applied immediately​
Do thank us :laugh::laugh:
Uploaded on:
2016/06/15
Updated on:
2016/06/16​_
Click to expand...
Click to collapse
Hi, just copy powerTweaks.sh to init.d folder and set permission, right?
edwardsiow said:
Hi, just copy powerTweaks.sh to init.d folder and set permission, right?
Click to expand...
Click to collapse
Yes.
Extract the zip and copy the file with no extension over to init.d folder and set permission..
Have you had more sot with the power tweaks?
Thanks for letting me know about it
adds08 said:
Yes.
Extract the zip and copy the file with no extension over to init.d folder and set permission..
Click to expand...
Click to collapse
The OP2 folks has 4hrs SOT to 6-7 hrs SOT increase.. For me however it did seem to give 1/2 to 1hr more in normal usage but so.etimes seem like a placebo.
It may work for some i guess.
I had 3hrs before and after this with normal usage i did manage 4+ hrs max once..
Sent from my LG-H950 using XDA-Developers mobile app
adds08 said:
The OP2 folks has 4hrs SOT to 6-7 hrs SOT increase.. For me however it did seem to give 1/2 to 1hr more in normal usage but so.etimes seem like a placebo.
It may work for some i guess.
I had 3hrs before and after this with normal usage i did manage 4+ hrs max once..
Sent from my LG-H950 using XDA-Developers mobile app
Click to expand...
Click to collapse
Thanks for the honesty.
I can't do anything to break that four hour sot
After applying new scripts
deleting thermal-engine.config (not thermal-engine-default) file.. (backup recommended).
After few reboots and benchmark and letting battery discharge and recharge full ..
Good results !!
:angel:
Can you tell me why this wouldn't load on startup?
soosoolhastam said:
Can you tell me why this wouldn't load on startup?
Click to expand...
Click to collapse
when i loaded it
it is working for me except there is a missing 'Y' .
the msm_thermal enabled parameter is missing ..
is the init.d script working in yours? check if it is working or not / rerun the my script..
did you set the permission 777 ?
also the post in your thread .. i am really sorry but i just wanted some credit to my research too (you can implement them aagain cuz they do significantly increase SOT)
if you want to , could you also implement your gov_tweaks via init.d (safer)..

Categories

Resources