[INIT.D][SCRIPTS] My collection of init.d scripts - Optimus L3, L5, L7 Android Development

Hi all !
I'm going to share you some of my collection of init.d scripts. These mods can be combined together wiith others without breaking the other function.
It mostly works for L7 and L5, I use these script on my device everyday
1. Zipalign Script
Based on darky zipalign script. Thank him for his work. I just optimized it more and updated the zipalign binary from latest SDK.
Download : In attachment (zipalign.zip)
2. EXT4 File System Tweak
Disables journaling and optimizes I/O on EXT4 filesystem (/cache, /data, /system), Note : you need to format your filesystem to EXT4 for this mod to work.
Download : In attachment (ext4_tweak.zip)
3. System Read/Write at boot
Enable system to be read and write at boot, so you don't need to mount it manually
Download : In attachment (sysrw.zip)
4. System Read/Only at boot
Disable any read and write activity at boot for /system partition. Makes system safer at the cost of customizations
Download : In attachment (sysro.zip)
5. SQLite Vacuum & Reindex
Optimizes your .db files that located /data and /sdcard, this makes databases faster to read and faster to write.
Also, inside it contains an updated sqlite3 binary from latest Android SDK.
Download : In attachment (sqlite.zip)
More script are coming soon ! I'm discovering Android scripting more.

very nice,i going to test for sure.

Thanks ! Will add more
#F4UZAN

here is ram script combine for best muiltitask,game,free memory,.. May be some one like this .please delete .zip extention. just add and fix some value:victory:

Sir, seems like mind Blaster Tweaks.thank you so much

i really love you , sir !!!... thank you ! :good:
it's perfect for a stock rom with your own stock Kernel customised (with init.d support ) :victory:
we will don't reconize L7 Stock firmwares with all of these scripts + kernel ! it's fabulous ...

Add tweaks to kill_media_server and 92cleaner
I need to mount system before flashing???

How to make a script to rewrite some file in /system/usr/keylayout? (Lollipop 5.1.1, CM12.1)

wizzardsk said:
How to make a script to rewrite some file in /system/usr/keylayout? (Lollipop 5.1.1, CM12.1)
Click to expand...
Click to collapse
I can help, just say what you need.
Explain, and I will make u a script
Thanks
Sent from my LG-P705 using Tapatalk

Paget96 said:
I can help, just say what you need.
Explain, and I will make u a script
Click to expand...
Click to collapse
Well, let's say that I have some file on sd card (Generic.kl) and I want it to replace the file /system/usr/keylayout/Generic.kl after each cyanogenmod nightly update. I am not sure how to name the file in /system/etc/init.d and how to write it.

wizzardsk said:
Well, let's say that I have some file on sd card (Generic.kl) and I want it to replace the file /system/usr/keylayout/Generic.kl after each cyanogenmod nightly update. I am not sure how to name the file in /system/etc/init.d and how to write it.
Click to expand...
Click to collapse
Nightly for L5/L7 ?????[emoji15] [emoji15] [emoji15]
after update everything what is under /system will be removed including init.d
Read little on google about addon.d this will help you
Sent from my LG-P705 using Tapatalk

Paget96 said:
Nightly for L5/L7 ?????[emoji15] [emoji15] [emoji15]
after update everything what is under /system will be removed including init.d
Read little on google about addon.d this will help you
Sent from my LG-P705 using Tapatalk
Click to expand...
Click to collapse
No, nightly for L90. I had some version of gapps that had a file in init.d that stayed after each update and was used to remove cyanogenmod bloatware. Ok, i will google rather, thx
Sent from my LG-D410 using XDA Free mobile app

wizzardsk said:
No, nightly for L90. I had some version of gapps that had a file in init.d that stayed after each update and was used to remove cyanogenmod bloatware. Ok, i will google rather, thx
Sent from my LG-D410 using XDA Free mobile app
Click to expand...
Click to collapse
Search for addon.d on google
Sent from my LG-P705 using Tapatalk

Paget96 said:
Search for addon.d on google
Sent from my LG-P705 using Tapatalk
Click to expand...
Click to collapse
Ok, I was wrong, it was in addon.d, I found it. So I edited 50-cm.sh and it should be that.
edit: Well, it does not work. I added a line usr/keylayout/Generic.kl to the file and the file was not preserved after system update. What did I do wrong?

Related

[Script] init.d for STOCK ROM updated 25-08-2012 [v0.8 FLASHABLE ZIP]

init.d.loader Version 0.8 25 August 2012
init.d.loader script by [email protected]
REQUIREMENT : CWM RECOVERY
- using hijacked /system/bin/debuggerd instead of /system/etc/install-recovery.sh to call init.d.loader script
- Installation using flashable zip via CWM Recovery
- Stand alone script shell (/system/xbin/sh)
- Doesn't depend or affected by installed version of busybox
v0.8 update :
- log file /data/init.d.loader.log will be saved after all init.d script finished
Installation notes for link2sd user :
You need to install/reinstall after link2sd successfully create mount script
download : init.d.v07.zip
download : init.d.loader-0.8.zip
OLDER VERSION
init.d.loader Version 0.6 29 Dec 2011
init.d.loader script by [email protected]
init.d for android stock rom
Requirement :
- Rooted
- Busybox installed on /system/xbin
- Busybox with sh and lenght applet
- Running install-recovery.sh script
This script tested using BusyBox v1.17.1
Installation :
attach usb cable to you device
double click init.d.cmd
Any script in /system/etc/init.d folder will be run when booting
don't forget to change
- premission to 755
- owner and group to root
To run script in background append ".bgrun" in your script name
eg : myscript.bgrun
For Samsung Galaxy device on GingerBread platform
Patched ramdisk needed to run install-recovery.sh script
Download link
Usefull init.d script can be found at
http://forum.xda-developers.com/showthread.php?t=1227269
The file is not there :O
Black_jackss said:
The file is not there :O
Click to expand...
Click to collapse
what file do you mean? i just check the download link.it's working.
puppet13th said:
what file do you mean? i just check the download link.it's working.
Click to expand...
Click to collapse
Wah,i tho its just a bad connection,sorry
Sent from my SK17i using xda premium
gan ini untuk apa ya?
n cara ngeinstallnya gimana gan?
Does this work on Neo V?
ilpanos said:
Does this work on Neo V?
Click to expand...
Click to collapse
it should be working on any android phone.
what is the use of init.d.. sorry im just new regarding this.. thanks for the answer..
Very helpful
komiks0916 said:
what is the use of init.d.. sorry im just new regarding this.. thanks for the answer..
Click to expand...
Click to collapse
It is to run script on boot....
CMIIW....
@puppet
I'm now a fan of your work 2x over - first with the root procedure for the xperia minis et al, and now this solution.
Applied it on an xperia mini, and also more impressively, on an ICS 4.0.3 Onda Vi30 Deluxe tablet, all works with no issue. Will do it next on a Teclast P85 tablet.
Kudos.
hmmm....
tried this on my newly ICS'd mini ... the issue here is that the busybox here - from you own root kit -- is NOT compatible with the script as written -- you've made it dependent on sh (from v17.1), but most new busybox install -- lke your own root script -- including 1.20.x -- which dont have sh anymore.
can this be updated? can the script run with the builtin sh instead?
kenshinta said:
hmmm....
tried this on my newly ICS'd mini ... the issue here is that the busybox here - from you own root kit -- is NOT compatible with the script as written -- you've made it dependent on sh (from v17.1), but most new busybox install -- lke your own root script -- including 1.20.x -- which dont have sh anymore.
can this be updated? can the script run with the builtin sh instead?
Click to expand...
Click to collapse
Same issue on mini pro.
Sent from my SK17i using XDA
I have made an updated version.
It doesn't depend on installed busybox.the installation uses flashable zip via CWM recovery.
But still have problem with link2sd script.if anyone intrested to test it.please send me PM.
Sent from my ST17i using Tapatalk 2
Update 1st post
Enjoy updated init.d.loader v0.7
puppet13th said:
Update 1st post
Enjoy updated init.d.loader v0.7
Click to expand...
Click to collapse
Yes...works great...link2sd ok now...thanks...
Thanks
But can I ask where we should put the scripts to run on boot? And how to test it?
Sent from my WT19i using XDA
andro-SYR said:
Thanks
But can I ask where we should put the scripts to run on boot? And how to test it?
Sent from my WT19i using XDA
Click to expand...
Click to collapse
Where to put the script? --> read 1st post
How to test? --> read 1st post too
Additional info : log file can be found at /data/init.d.loader.log
Sent from my ST17i using Tapatalk 2
puppet13th said:
init.d.loader Version 0.7 19 June 2012
init.d.loader script by [email protected]
REQUIREMENT : CWM RECOVERY
- using hijacked /system/bin/debuggerd instead of /system/etc/install-recovery.sh to call init.d.loader script
- Installation using flashable zip via CWM Recovery
- Stand alone script shell (/system/xbin/sh)
- Doesn't depend or affected by installed version of busybox
Installation notes for link2sd user :
You need to install/reinstall after link2sd successfully create mount script
download : init.d.v07.zip
Click to expand...
Click to collapse
Here is the first post regarding the new ver.
Maybe we test it like the old one??!
Sent from my WT19i using XDA

[ROM][24/11/12]CustoEndeavour v2.0[ISSUES FIXED][DE-BLOATED][FAST][SENSE/NO SENSE]

CustoEndeavour- Everything for One X+ under one roof!
AT&T users please stay away from this!
SCREENSHOTS:
HELP ME WITH THESE
Please give me some.......
DOWNLOADS:
V2.0: http://romworld.cu.cc/roms/CustoEndeavour_V2.0.zip
Click to expand...
Click to collapse
FEATURES:
Based on 1.14.401.13 RUU system dump by morphly
Build.prop tweaks for speed, quality etc.
Smooth Scroll tweak enabled
Pre-rooted
De-Odexed
ZipAligned
Option to desense in Aroma(thanks Football)
Optional full wipe without touching sdcard
Option to de-bloat by removing apps and stuff manually
EXT4 alignment
Persistent ADB enabled
Multi-lingual
HTC checking and logging disabled
GPU UI Rendering
SQLite support
OpenVPN support
Better deep sleep
Zipaligned on boot
Init.d support
sysro/sysrw support
Better memory management
Speed Tweaks
Increased Camera picture quality mod
LOTS MORE
Click to expand...
Click to collapse
WIPE STATUS
FULL WIPE RECOMMENDED!!
Click to expand...
Click to collapse
INSTRUCTIONS
Go into recovery
Choose zip rom sdcard and choose 'CustoEndeavour' zip
Perform full wipe from aroma(recommended)
Follow instructions and choose your options
Enjoy!
Click to expand...
Click to collapse
CREDITS:
mike1986. for boot.img/modules/wipe script
nik3r for testing
Football
amarullz
Click to expand...
Click to collapse
IF YOU LIKE MY WORK:
Hit the THANKS button.
Visit my website (http://idevicetricks.com)
Consider a donation
Click to expand...
Click to collapse
CHANGELOG:​
v1.5
Wiping in aroma is fixed now--thanks mike
Fixed syntax errors
Added an option to remove skins and make the rom lighter
Fixed radio and Wifi by using mike's kernel
v1.0
INITIAL BUILD.
One more
Rom to be released soon....please test for me as I don't have this device
Sent from my HTC One V using Tapatalk 2
Thread construction done.....
33% upload done....wait please
hi sir do i need to reinstall boot.img again if coming from same base?
hasan_abeer said:
hi sir do i need to reinstall boot.img again if coming from same base?
Click to expand...
Click to collapse
Same kernel should be fine....I haven't included a kernel anyway so stock should be fine
Sent from my HTC One V using Tapatalk 2
Sleeping time...I had to restart the upload will provide you'll with a download tomorrow morning
Link up! Give me reports on how well it works and stuff
Is the videorecording work?
UPD
Did not install - SYNTAX ERROR!!! aroma-config on line 77 col 2
...
installation aborted
Hi,
same here,ERROR line 77 col 2
and at line 199 col 1
Please wait....I'll fix these issues soon
Sent from my HTC One V using Tapatalk 2
Booting...
edit:wfi sems didn't work (without fuul wipe)
with full wipe , i've got a bootloop
sry, no adb logcat .
sffmandrake said:
Booting...
Click to expand...
Click to collapse
How? There were aroma isssues right?
Sent from my HTC One V using Tapatalk 2
sffmandrake said:
Booting...
edit:wfi sems didn't work (without fuul wipe)
with full wipe , i've got a bootloop
sry, no adb logcat .
Click to expand...
Click to collapse
Can u please answer...How did it work if there were aroma issues and the installation aboorted?
just delete the desense stuff annd line 199....
---------- Post added at 02:06 PM ---------- Previous post was at 02:00 PM ----------
ouiiiin i haven't save my nandroid on my pc
Extract this rar file
Can u try replacing it with this aroma-config....if using winrar use method as store and in 7zip no need....
This should work hopefully
@shubhamchamaria
Just remove the "," @ line 77.
The Aroma Wipe will wipe the entire SD Card including the Data/media (this is the partition accessible where the Rom.zip is placed)
shubhamchamaria said:
Extract this rar file
Can u try replacing it with this aroma-config....if using winrar use method as store and in 7zip no need....
This should work hopefully
Click to expand...
Click to collapse
Steve0007 said:
@shubhamchamaria
Just remove the "," @ line 77.
The Aroma Wipe will wipe the entire SD Card including the Data/media (this is the partition accessible where the Rom.zip is placed)
Click to expand...
Click to collapse
Oh ****....I didn't realize because that the phone did not have a sdcard.....so basically I have to remove the aroma full wipe option....
About the , the new config had that changed.....so now let me upload another one
Thanks for your help
Sent from my HTC One V using Tapatalk 2
I think I got a fixed version now.....will start uploading and will post a link as soon as I have a working one
Thanks steve for reminding me about the internal mem being on /data/media
So manually do a full wipe from cwm instead

[ROM][RC1][GSM] 5 MAY | MyFirstROM v0.91

MyFirstROM (Release Candicate)
I am proudly presenting to you my first ROM I have ever made. ​
NOTE:
Firstly i want so say, I am not responsible for bricked devices, dead phone, or you are getting fired because the alarm app failed. Install it at your own risk! . If you point the finger at me for messing up your device, I will laugh at you.
This ROM is based on 982.124.14.XT910.Retail.en.EU. It will not work on Droid Razr XT912 (CDMA) . Feel free to try this ROM. Any reports / comments about this ROM will be much appreciated. ​
Features:
Click to expand...
Click to collapse
-The ROM is fully deodexed.
-Fully zipaligned on boot
-Added some build.prop tweaks
-Added init.d support
-Rooted
-You can choose neitheir 4 launchers:
Galaxy S4 TouchWiz Launcher
Razr I Launcher
Stock ROM Launcher
Apex Launcher
-Internet speed tweaks
-VM management tweaks
-Battery tweaks
-Include Android 4.2 Camera
-4.2 Keyboard with gesture typing
-Updated these apps:
Youtube (4.4.11)
Playstore (4.0.2.7) with the new interface
Gmail (4.3.1)
Google+ (3-6-0-44338848)
Twitter (4.0.1)
-Added Greenify app, which will hibernate apps when the phone in sleep. This will save more battery
-Added busybox app
-Include Galaxy S4 Wallpapers
-Added more ringtones/alarms/notification sound
-Nano Text Editor installed
Bugs / Problems
Click to expand...
Click to collapse
1. Root access
How to fix: Install root from BMM.
2.Init.d support for tweaks
How to fix: Flash the zip file i've attached below.
How to in Install?
Click to expand...
Click to collapse
Make sure you have Boot Menu recovery installed. It will not work with other recoveries.
1. Download the ROM zip file
2. Make a backup first
3. Put the ROM file in SDCard or Internal Memory
4. Boot into the recvoery
5. Wipe cache, dalvik cache, factory reset and system/ROM
6. Install the zip file
7. Reboot
Thanks to
Click to expand...
Click to collapse
-Motorola: Jelly Bean update
-Al936: The OTA Stock ROM file
-optik19918
-pitchblack5691
-lokeshsaini94
-shakti15
-artur0588
-whirleyes
-dtrail1
I think i forgot someone, tell me
Tips for saving battery
Click to expand...
Click to collapse
-Go to settings > Wi-Fi > Hit the menu button > Advanced > Keep Wi-Fi on during sleep set to 'Never'
-Use the Greenify app
-Turn off mobile data when not in use
-Install BetterBatteryStats from PlayStore, you can know what cause the battery to drain
-Do not overclock your phone
-Use other governors and scheduler like Hotplug
-Try to undervolt your phone. I don't know whether it is working or not on this phone.
-Install JuiceDefender from PlayStore. It saves lots of battery. NOTE: This is not for heavy user, whom always turn on mobile data for example
How to install root from BMM
Click to expand...
Click to collapse
1. Boot to the recovery
2. Go to system keeper
3. Select install root
4. Reboot
5. Go to the Superuser app.
6. Swipe to the left.
7. Update the 'su' binary.
If you want more governor and io scheduler for CPU tweaks, see This thread
I've attached init.d installer script below which will enable tweaks i've added to this ROM. Thanks to [MENTION] whirleyes [/MENTION].
Link are now updated! (5/5/2013)
Download ROM (mega.co.nz) HERE
Mirror Link 1 (d-h.st)HERE ​
NEW Update 5/5/2013 - v0.91 ​
Update: 28/4/2013 - v0.1 Alpha
-Initial release.
Update: 30/4/2013 - v0.2 - Alpha
-Allowed to add custom bootanimation.
-Now the ROM is fully deodexed.
-Added Nano Text Editor.
Update: 1/5/2013 - v0.21 Alpha
-Added the stock kernel, it may fix the bootloop issue (the last release i forgot to put the stock kernel during the build).
Update: 2/5/2013 - v0.8 - Beta
-Removed the kernel from the ROM to get rid of error during flash. I can't customize the stock kernel to get init.d tweaks due to a locked bootloader. i'll found a way to get the it.
Update: 5/5/2013 - v0.91 - RC1
-Changed the version to Release Candicate.
-Changed the ROM name to MyFirstROM.
-Removed several apps from the /system/app because the previous ROM file are quite large (about 490MB). I will debloat more apps in this ROM soon.
thanks, will try this rom.:good:
Don't forget to post the results!
Sent from my GT-I9300 using xda app-developers app
Looks awesome... maybe I'll give this Rom a try, and if I do, I post the results here.
Thanks dude!
Hi TheMrcool212,
I am trying to install this ROM with SS 3.11 on slot 2, but I get this error "Failed to write boot.img, aborting". Any clues?
savezia said:
Hi TheMrcool212,
I am trying to install this ROM with SS 3.11 on slot 2, but I get this error "Failed to write boot.img, aborting". Any clues?
Click to expand...
Click to collapse
try with BMM, SS cannot flash kernels (boot.img)
savezia said:
Hi TheMrcool212,
I am trying to install this ROM with SS 3.11 on slot 2, but I get this error "Failed to write boot.img, aborting". Any clues?
Click to expand...
Click to collapse
Hhhmm, i've compiled the ROM with the jelly bean EU kernel. Im very busy this week but i will looking for problems when i have time.
By the way, thank you very much for reporting.
Edit: i did'nt realize that heblu just replied. Added to the OP
Sent from my GT-I9300 using xda app-developers app
heblu said:
try with BMM, SS cannot flash kernels (boot.img)
Click to expand...
Click to collapse
Dear Heblu, dear TheMrcool212,
I imagined that was the issue, since this rom is based upon the Jelly Bean update from Motorola. Thank you so much! When and if I have time I will try with BMM and report!
Thank you again
can someone upload the rom to another link, the mega is too slow download v. with 12kb/s...
thank you in advance.
Lzto1320 said:
can someone upload the rom to another link, the mega is too slow download v. with 12kb/s...
thank you in advance.
Click to expand...
Click to collapse
I will upload it on other link soon, but not now.
Mirror link uploaded in the OP
i use bmm to install this rom, but it said abort, error, status 7.
by the way, this error not happened at the beginning installation, it shows when almost the rom flash done, then it says script error.
status 7.
Lzto1320 said:
i use bmm to install this rom, but it said abort, error, status 7.
by the way, this error not happened at the beginning installation, it shows when almost the rom flash done, then it says script error.
status 7.
Click to expand...
Click to collapse
I've checked the updater-script for errors using Android Kitchen, i got 6 errors. I am able to fix 2 of them. But can you post any shots/pictures so i can see it?
Edit: I think it is because i got no /system/usr/bin folder in the ROM.
Edit 2: i created a folder named 'bin' in /system/usr. It may fix during the flash. Now i am uploading it.
EDIT 3: The link is up at the OP
TheMrcool212 said:
I've checked the updater-script for errors using Android Kitchen, i got 6 errors. I am able to fix 2 of them. But can you post any shots/pictures so i can see it?
Edit: I think it is because i got no /system/usr/bin folder in the ROM.
Edit 2: i created a folder named 'bin' in /system/usr. It may fix during the flash. Now i am uploading it.
EDIT 3: The link is up at the OP
Click to expand...
Click to collapse
awsone man.
i will try.
Lzto1320 said:
awsone man.
i will try.
Click to expand...
Click to collapse
I think you're the only one who can help me test this ROM
Sent from my GT-I9300 using xda app-developers app
TheMrcool212 said:
I think you're the only one who can help me test this ROM
Sent from my GT-I9300 using xda app-developers app
Click to expand...
Click to collapse
do not worry
there are many roms now, but when I have some time I will try it also, as many others I'm sure
thanks for this and don't give up
I'm ready to test your ROM, descriptions sounds brilliant, BUT! I can't do it. First release was with error 7. Second - with boot loop, so I can't test it, because I didn't see it. Go ahead! Great job!
can we install it on stock rom ?
e4f said:
I'm ready to test your ROM, descriptions sounds brilliant, BUT! I can't do it. First release was with error 7. Second - with boot loop, so I can't test it, because I didn't see it. Go ahead! Great job!
Click to expand...
Click to collapse
Thanks!!! I will do my best.
fusioncoast said:
can we install it on stock rom ?
Click to expand...
Click to collapse
Yes, you can install it on top of it. But i recommend you to install on other ROM slot. Like e4f said, it got a bootloop.
EDIT 1: I'm so sorry man!!, i forgot to put the stock kernel when building the ROM. i think thats the cause of the bootloop.
EDIT 2: The new release will uploaded with the kernel. Now the link is up.

[V3.03]TURBO BOOST - Triple Swap Space in Cache, Data, System

Does any one used ? It seems petty cool.
Anyone take a shot?
http://forum.xda-developers.com/showthread.php?t=2145133
Sent from my XT910 using Tapatalk 2
I think this will be useful in phones with less than 1 Gb of RAM...
Did anyone feel free to chevk this out which the dev need to mod to support xt910. I didnot had the computer right now.
Sent from my XT910 using Tapatalk 2
This would be great if it would work in say Dtrail kernel jbx it would make our phones faster!
Sent from my XT912 using XDA Premium 4 mobile app
I TRY IT!
Hi people!
I've installed just now this mod on my RAZR running 982.124.17 en.BR stock based rom JB 4.1.2, and sent all the informations to the dev to develop a tool to install the mod on our phones!!
At first time it seems work fine but I want to wait 2 or 3 days left to test it in hard use.
If somebody want to try, the manual installation is very simply, just download and unpack the .zip put the script file in init.d set permissions and reboot! that's all!
Good mod!!
EDIT: OK i goes wrong the script dont work... the swap.IMG can not be mounted because the path is not a device block... waiting for the devs
EDIT 2 : the script works fine, but stock kernel not support swap. Tomorrow I'll try to flash a custom rom like CM and try it and I would to test with JBX kernel also. I'll post here the results ... stay tuned!! :thumbup:
vince686 said:
Hi people!
I've installed just now this mod on my RAZR running 982.124.17 en.BR stock based rom JB 4.1.2, and sent all the informations to the dev to develop a tool to install the mod on our phones!!
At first time it seems work fine but I want to wait 2 or 3 days left to test it in hard use.
If somebody want to try, the manual installation is very simply, just download and unpack the .zip put the script file in init.d set permissions and reboot! that's all!
Good mod!!
EDIT: OK i goes wrong the script dont work... the swap.IMG can not be mounted because the path is not a device block... waiting for the devs
EDIT 2 : the script works fine, but stock kernel not support swap. Tomorrow I'll try to flash a custom rom like CM and try it and I would to test with JBX kernel also. I'll post here the results ... stay tuned!! :thumbup:
Click to expand...
Click to collapse
Any news??
Still waiting the official release. I tested running pacman with JBX kernel, and it work fine. I think the next release will be support our device!
Sent from my folio100 using xda app-developers app
vince686 said:
Still waiting the official release. I tested running pacman with JBX kernel, and it work fine. I think the next release will be support our device!
Sent from my folio100 using xda app-developers app
Click to expand...
Click to collapse
I tested on my stock chinese 400 rom and use RE to del those 3 file under bin/mkswap, swapon, swapoff, after reboot, i can see my rom support swap.
Ps: must install busybox before del those 3 file and check xbin is showup.
I had one question, i got .img swap file in cache/swap.img only, data/ and system/ didnt swap.img file.... wonder why?
Sent from my XT910 using Tapatalk 2
mydoom said:
I tested on my stock chinese 400 rom and use RE to del those 3 file under bin/mkswap, swapon, swapoff, after reboot, i can see my rom support swap.
Ps: must install busybox before del those 3 file and check xbin is showup.
I had one question, i got .img swap file in cache/swap.img only, data/ and system/ didnt swap.img file.... wonder why?
Sent from my XT910 using Tapatalk 2
Click to expand...
Click to collapse
you have got just 1 swap file because have installed just 1 script. if you see into the zip package u can see three folder in it one called cache one called system and another called data. inside in each folder there are a script that create a swap file in each partition you can set the size of the swap editing this files!
Thanks!! You a my man, it works!
Sent from my XT910 using Tapatalk 2
Can I use Turbo boost and swap data partition with application Link2sd? Link2sd created folder in root/data/sdext2 and applications are mounting to SD card after reboot. I don't know if it will be working.
Thanks for your reply

[Q] Flashable zip and AOSP

Hi mates
i would like to know if are there a way to make flashable zip automatically under aosp, after making a device tree for s2vep and compiled by fixing errors too, is generated file like system.img, recovery etc..whic command or apps to use to making flashbale one
thanks for any helps
You need a META-INF Folder with an updater-script and update-binary file
Sent from my C5302 using XDA Free mobile app
Tech N You said:
You need a META-INF Folder with an updater-script and update-binary file
Sent from my C5302 using XDA Free mobile app
Click to expand...
Click to collapse
Should be edited or just use cm11 one?
haky 86 said:
Should be edited or just use cm11 one?
Click to expand...
Click to collapse
Update-binary use it of cm11 and updater-script will differ according to app or folder what you are flashing for. Updater-script needs to be altered as per convenience
Tech N You said:
Update-binary use it of cm11 and updater-script will differ according to app or folder what you are flashing for. Updater-script needs to be altered as per convenience
Click to expand...
Click to collapse
Well i port ubuntu touch based on aosp phablet-4.4.2 after fix and remove a lot of errors, so i read that generating flashable zip is not supported under aosp source and also my s2 plus doesnt support fastboot to flash, i try to follow this sti https://wiki.ubuntu.com/Touch/Porting#Building_the_image but i dont understand it at 100%.

Categories

Resources