How do I make all script in init.d run at startup - Huawei MediaPad, T-Mobile SpringBoard

How do I make all script in init.d run at startup.
i use sanixupdate.zip from many forum about rooting ,it can make root permission but init.d still can't start.
please suggest me for it.
thankyou.
Sent from my HUAWEI MediaPad using xda premium

chok_thewa said:
How do I make all script in init.d run at startup.
i use sanixupdate.zip from many forum about rooting ,it can make root permission but init.d still can't start.
please suggest me for it.
thankyou.
Sent from my HUAWEI MediaPad using xda premium
Click to expand...
Click to collapse
Hi,
You need to enable the running of scripts from init.d.
One way to do this is to unpack the boot.img and create a service at the end of init.rc.

Related

[How To] Implement Z-OC into stock ROM

BEFORE I START: ALL CREDITS TO Z FOR HIS AMAZING WORK AND FOR HIM CHOOSING TO STAY. THANK YOU Z
FOR ADVANCED USERS.
USE ROOT EXPLORER TO COPY AND PASTE OR MOVE THE FILES NEEDED AND SET PERMISSIONS
Hi Guys. I know some of you are probably wanting OC in your ROM and might not want to wait for someone to implement it in there ROM or maybe you don't want to flash a ROM but just want the OC.
Well i am going to tell you how to get Z-OC in your phone. There are some thing you will need to remember and that is that this can be dangerous if you don't know what you are doing.
PLEASE NOTE: I AM IN NO WAY RESPONSIBLE IF YOU TURN YOUR PHONE INTO A PAPER WEIHGT OR TURN IT INTO A BRICK FOR A REPLACEMENT FOR YOUR WALL.
Here is what to do:
You will need the files at the bottom of this post and extract them.
For permissions. O means tick, X means leave unticked.
1. Place the install-recovery.sh file in system/ect/ and set permissions to:
ooo
oxo
oxo
2. Place these 3 files: zdzihu_oc.ko/ar6000.ko/tun.ko in system/lib/modules and set the permissions to:
oox
oxx
oxx
3. Go back to the install-recovery.sh file and select it and then select execute.
4. Reboot and enjoy
PLEASE NOTE: ONLY LOOK AND CHANGE THE CPU SPEED USING CPU MASTER. DO NOT TRY CHANGIING THE CLOCK SPEED WITH OTHER CPU APPS LIKE SET CPU OR YOU WILL LOSE THE 1113MHZ SPEED AND YOU WILL NEED TO GO BACK TO INSTALL-RECOVERY.SH AND EXECUTE AGAIN.
Awesome. Thank u so much
Sent from my X10i using XDA App
awesome! thanks! any module to wifi?
erickwill said:
awesome! thanks! any module to wifi?
Click to expand...
Click to collapse
That's what the ar6000.ko is. Don't delete the original as I have not done that and my WiFi is fine. Also I need to add this to the op but everytime you reboot the phone you need to set the CPU again.
Sent from my Nexus S using XDA Premium App
sammyjc89 said:
That's what the ar6000.ko is. Don't delete the original as I have not done that and my WiFi is fine. Also I need to add this to the op but everytime you reboot the phone you need to set the CPU again.
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Should I invoke this module?
erickwill said:
Should I invoke this module?
Click to expand...
Click to collapse
What does invoke mean?
EDIT: just searched it and yes still add it just in case you need to. You can always try without it and let me know or just stay on the safe side and add it. If I have time in a bit I will try without it as I think that the ar6000.ko is actually something to do with CM find coz if I remember rightly the CM kernels or gingerbread kernels had the ar6000.ko WiFi module and the 2.2 or 2.1 kernels had a different one but don't quote me on that one
Sent from my Nexus S using XDA Premium App
sorry guys.. i am new ><
can anyone explain to me what is OC?
thanks in advance..
rshui said:
sorry guys.. i am new ><
can anyone explain to me what is OC?
thanks in advance..
Click to expand...
Click to collapse
It means OverClock
It is jot necessary to include all the modulus.
Only the oc modulus seems work fine
cheers,
L
Sent fRom mY fReeXperia X10 uSIng xda Premium App
confirmed working on MIUI (Trips rom) thanx mate ... thanx Z
Correct me if I wrong, but for OC feature you need zdzihu_oc.ko only, others does nothing with OC.
Indeed, i am using terminal and insmod zdzihu_oc.ko and everything is fine...
Sent from my X10i using XDA App
implemented in WB rom, I believe:
http://forum.xda-developers.com/showthread.php?t=1192988
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
If it is the case only the z oc module is need then I will delete others but if I remember rightly the CM roms needed the ar6000.ko file for the WiFi to work and the tun.ko is a module for the CPU speeds to run by. Eg like CPU governer ect..... Correct me if I'm wrong but there must be reason they are there also the install-recovery.sh file has a lot of coding unlike the fps uncap one as where the one I added in this thread has a hell of a lot more also to do with the CPU governer.
Sent from my Nexus S using XDA Premium App
chiefy009 said:
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
Yea it's possible ... i tried but it gives me syntax error .....(copy_dir then set_perm) .... sorry i'm a little noob
chiefy009 said:
Can't someone make a zip to flash?
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
I have tried to make an update zip also but if you try flashing this with a ROM with tweaks you will lose all the tweaks like with wolfs ROM. It is best to do it this way so you don't have the risk of something going wrong and also I get the same error with my zip and I used the update zip program to make it which set perms and signed and zips but still no go.
Sent from my Nexus S using XDA Premium App
Tried to stick this on Z rom and got wifi error
Sent from my X10 using XDA Premium App
chiefy009 said:
Tried to stick this on Z rom and got wifi error
Sent from my X10 using XDA Premium App
Click to expand...
Click to collapse
coz its already implemented. Unless you are on about his first ROM that is no longer in development. Also did you delete the original WiFi module
Sent from my Nexus S using XDA Premium App
sammyjc89 said:
coz its already implemented. Unless you are on about his first ROM that is no longer in development. Also did you delete the original WiFi module
Sent from my Nexus S using XDA Premium App
Click to expand...
Click to collapse
Its his most recent rom v3 he took oc out, I restored now, the oc worked but it broke wifi
Sent from my X10 using XDA Premium App

Please help making a kernel

I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
> You can PM kernel experts.. like TA and DJnoXD.. they are both good persons and they could help you out.
I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!
rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:
rr0yy said:
I really appreciate your work. Few weeks back.. i was trying to convince every Forum Admins to get
Explorer and similar devices.. a forum or atleast a sub-forum.. and happy to see they accepted our request..
Being a Lagacy Device.. they gave Explorer and others a complete forum!!
Click to expand...
Click to collapse
But, how is this related
Btw i also requested mikechannon to do so
Sent from my HTC EXPLORER using xda premium
williamcharles said:
if u have some prior coding experience then adding frequencies, adding governors should be a piece of cake...
if no,
then you better check the gb cm7 rom for optimus one..try to find out the commit where actual work was started by the cm team on the kernel..you will find out how they added frequencies, governors and everything...:good:
Click to expand...
Click to collapse
That's nice idea of comparing with optimus one kernel
I'll try it.
Thanks for the tip
Sent from my HTC EXPLORER using xda premium
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
u may use mDroidd's studio android....
rishabho1 said:
Now I have some ideas but I am unable to extract the kernel from boot.img
I have cygwin and saw some guides about some perl script but I am unable to use it
Please guide me how to do it
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk
sellers86 said:
Check out dsixda kitchen. Extremely easy to use
Sent from my LG-VM670 using Tapatalk
Click to expand...
Click to collapse
It's for making stock based roms
Sent from my HTC Explorer A310e using xda premium
Dude.. as Neko said why dont you talk to DJ and TA.. if you really want to learn about kernel
scripting and compiling??
rishabho1 said:
I was going to make a kernel based on cm7 kernel, so how to start.
And how to add frequencies.
Adding over clicked frequencies is the main purpose, please help me somebody.
I want to make it for HTC explorer but there are nearly no devs who can help me that's why I am asking here
Sent from my HTC EXPLORER using xda premium
Click to expand...
Click to collapse
I would suggest you to try compiling the cm kernel for your phone whitout changes. (cm wiki)
After you succeed compiling the kernel, test if it is working.
Now you have a base you could start working on.
Next step could be to change something. (frequencies for the p500 have to be changed here: arch/arm/mach-msm/acpuclock.c)

Change Device Model in Android Emulator - android.os.Build.MODEL

Is there a way to change/add the device model in Android emulator?
If I try to get device model programatically, it always return "android-sdk" or "sdk" in emulator.
I want to set the real device name in emulator for testing purpose.
You can download ROM toolbox and it'll allow to change almost everything
Sent from my Nexus 7 using xda premium
Where to download ROM toolbox?
jkuczy16 said:
You can download ROM toolbox and it'll allow to change almost everything
Sent from my Nexus 7 using xda premium
Click to expand...
Click to collapse
Thanks for the quick reply.
Can you pls tell where to download this ROM toolbox? and does it support all the SDKs?
bbsbec.2001 said:
Thanks for the quick reply.
Can you pls tell where to download this ROM toolbox? and does it support all the SDKs?
Click to expand...
Click to collapse
Search in Google play for ROM Toolbox Lite. This version is free and support the build.prop edit you want.
Caution: Prior applying any changes please make a backup of your current build.prop file
I believe you can just also navigate to the system folder and find it there. Use es file explorer and under settings check up to root, root explorer, and mount system.
Sent from my SGH-T999 using xda app-developers app
how change it?

Android Kitchen

hey guys, i'm newbie in making a rom.... so i had installed everything including the Android Kitchen and Cygwin... I type the cygwin terminal :
- cd kitchen
- ./menu
everything went well... i pressed number 1 which is make a working rom.... the terminal detects my Xperia sola .54_ftf.zip... i click that and they said extracting rom from zip file, then suddenly they say error: no system folder found... Help me please, anyone?? i promise i'll click your thanks button if anyone gets to help me.... :good:
This is the terminal :
Welcome to dsixda's Android Kitchen
Please wait ...........
============================================================
Android Kitchen 0.221 - by dsixda (xda-developers.com)
============================================================
> MAIN MENU
1 - Set up working folder from ROM
2 - Add root permissions
3 - Add BusyBox
4 - Disable boot screen sounds
5 - Zipalign all *.apk files to optimize RAM usage
6 - Change wipe status of ROM
7 - Change name of ROM
8 - Show working folder information
0 - ADVANCED OPTIONS
00 - LEGACY OPTIONS (old and rarely used)
99 - Build ROM from working folder
u - Kitchen Info/Update/Donate
x - Exit
Enter option: 1
CREATE WORKING FOLDER FOR ROM
==============================
Ensure there is at least one ROM under the 'original_update' folder!
Select an option:
s - Show supported formats
x - Abort, don't create working folder
Or press Enter to continue
?
Before you proceed:
The existing working folders under the main folder can be backed up
to the folder 'original_update' for later use; otherwise they will be
deleted.
Found the following:
WORKING_xperia
Move to original_update? (default: y): n
Removing ...
Please wait ...
Available ROMs:
(1) Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
(2) Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
Enter selection number (default=1, cancel=0, r=refresh): 1
Selected Copy_of_Xperia_Sola_Stock_Ics_6.1.1.B.1.54_[Indian-Asia]_FTF.zip
The new working folder will be named WORKING_030613_184247
Change the name (y/n)? (default: n): y
Enter a new name (using this prefix): WORKING_xperia
Creating working folder WORKING_xperia ...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Sherwinnn said:
...
Extracting ROM from ZIP file ...
Error: No system folder found!
Press Enter to continue
Click to expand...
Click to collapse
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
As far as I know you will need a Cwm flashable zip.....
I guess you have just created a zip of the ftf file......
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
How to get the cwm flashable zip??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
@[email protected] said:
Dump the system from the ftf and then create a .zip file including the meta-inf folder.....
Sent from my Xperia Sola using xda app-developers app
Click to expand...
Click to collapse
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
Whuuuuuuttttt???? Explain more??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Do some search buddy...... you will gain more if you search yourself......
Nyways heres the LINK which may be of great help.........
This was my first guide for development......
What you can do is flash stock rom and get cwm to it
Then go to backup in cwm and create firmware.zip
It will do all the stuff for u and just place this file in the input folder!
So can I create gaming ROM by using this Android Kitchen??
Sent from my Galaxy Nexus using xda app-developers app
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Min3r said:
By Gaming, you mean Fast and No Lags? You could make a rom faster than stock with the Kitchen but this was designed to work with all Devices so its just a basic tool here. For real performance, you need to do device specific tweaks and all so you ought to learn to do it manually
Click to expand...
Click to collapse
Someone is back
Nothing is like a real gaming rom unless u overclock gpu and give it more ram
Term we(not me) use as gaming Rom is that we keep more ram free and high minfree values so that good amount of ram is available for the game
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Yup Take a look at some of the roms released here to get an idea of the tweaks normally used
Sherwinnn said:
So I have to do tweaks to make a lag free ROM??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
you will have to tweak so as to reduce lag and also get more free RAM which can be used to play games.........
Take a look at OOM Groupings, Dalvik Cache and also tweaking the CFS ( Thunderbolt Script would be an ideal base to start with ) These give the most noticeable improvements
The most famous tweaks is thunderbolt right?? Do I have to do manually or what?? Step by step instruction to do a custom ROM please..... if not then nevermind!!!
Sent from my Galaxy Nexus using xda app-developers app
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Min3r said:
The best way to learn is to download any custom rom, go through the entire thing yourself And take a look at my guide for making cwm flashable zips and you'll be able to understand how things work What you do is open Thunderbolt tweaks zip and go through the files in it and try to understand the code
Click to expand...
Click to collapse
You are smart, that's why you understand the thunderbolt codes....
Sent from my Galaxy Nexus using xda app-developers app
Its not very hard mate Just go through a few simpler scripts first and then you'll quickly understand it too I started understanding what these scripts do a week into my development start, but it wasnt till later i realised its just basic Shell scripts Learn Shell Scripting for linux and you'll be able to understand these commands easily
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Sherwinnn said:
What is Meta. inf??
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
Meta.INF contains just the updater script which is run when you select the .zip file in CWM.......
any more knowledge would be more helpful......... :cheers:

[Q] Edit build.prop file

Hello people,
I have a rooted phone and i'm trying to edit build.prop file. The problem is that whenever i try to do this the file reverts back after minutes to a backuped version the phone is handling. I tried everything: App to edit the file, switch to r/w under esexplorer, rename the file. The modifications are accepted at first, but only for minutes.
Does anyone know how to deal with this? Thank you for all your contributions.
Use Rom Toolbox app
Sent from my LG-P880 using xda premium
akshay.mehta9 said:
Use Rom Toolbox app
Sent from my LG-P880 using xda premium
Click to expand...
Click to collapse
I used builprop application which is included in rom toolbox with the same unsucessfull result
If you are rooted then can use any editor like anything.
Yes my phone is rooted. Wy are my modification volatile ? In other words how can I prevent the phone from reverting back to the original version of the file ? I searched for that particular version In the whole phone and found a couple of them which i changed olso. The result Remains the same but not for \system\build.prop
please help!!!

Categories

Resources