Modified Bootanimation - Intial Wallpaper ViperS 1.4 and1.3.5 - Removed moving Snake - HTC Sensation

here is an edited venom Boot animation , i just removed the moving snake from it ( i hate snakes ) , so it is for any one who feel like i do
thanks to the Developer for a nice Rom
Modified Bootanimation
Update , it will work with ViperS v1.4.0 ( md5 is the same for all 3 Bootanimations for both v1.4 and v1.3.5 )
Update , i modified the Bootanimations to play better ( the whole Sensation / Sensation XE / Sensation 4G appear in the first cycle )
Update , i added both Sensation and Sensation 4G as requested by users
just push it to system \ customize \ resource ( make sure it replaced the old one ) , change permission and ownership same as the old Bootanimation .
reboot into recovery , clear dalvik cache and cache let it boot up ( you may need to do this step for a second time if it hangs in a full reboot
or just put it in your rom.zip before flashing in :
For Sensation XE and Sensation 4G , Path is extra \ model \ ( XE or 4G ) before flashing according to your choice
For Sensation , Path is system \ customize \ resource
or just use tweaks to set it as custom bootanimation
Download links
Modified Bootanimation link Sensation XE http://d-h.st/Zaa
Modified Bootanimation link Sensation 4G http://d-h.st/SIp
Modified Bootanimation link Sensation http://d-h.st/Oif
permissions link http://d-h.st/8EI
attached Permissions is also below
Modified Initial Wallpaper
if you would like to change the Snake wallpaper that appears after the initial flash of the Rom
Method 1
open rom.zip in winrar window and navigate to system \ customize \ resource
choose any htc wallpaper ( usually is named sense_wallpaper_***.jpg ) and drag it to the desktop
rename it to Viper3.jpg and drag it back to the winrar window to replace the existing Viper3
Method 2
open rom.zip in winrar window and navigate to system , and drag build.prop to the desktop
edit the build.prop using Notepad++
Original Value : dev.defaultwallpaper , value is /system/customize/resource/viper3.jpg
New Value : dev.defaultwallpaper , value is /system/customize/resource/ sense_wallpaper_***.jpg
( *** means the name of the wall paper you choose ,example sense_wallpaper_htc_default.jpg )
Save changes , drag the edited build.prop back to the winrar window to replace the existing

thanks for this, i hate snakes too

alphaz1 said:
thanks for this, i hate snakes too
Click to expand...
Click to collapse
plz modified for sensation also..........plz.....!!! plz remove xe in last 4 pic in bootanimation.zip.........plz

Related

[GUIDE] [how to] CREATE OWN ROM [FOR ANY ANDROID DEVICE] [FOR N00B] [EASIEST METHODS]

NOTE: THIS GUIDE WILL WORK ANY ANDROID DEVICE BUT HAS FEW EXTRA PRE-SUGGESTED LINKS FOR GALAXY ACE PLUS USERS.
Click to expand...
Click to collapse
Special Thanks to -
dsixda for his awesome kitchen. Please Hit Thanks button for him.
inspired by isidromxz's thread.
Please kindly remind me if i have forgotten to write any name in thanks section, i have collected all things from many many sources and with modification.
Click to expand...
Click to collapse
Who is this tutorial for?
Absolute Beginners.
People with little or no programming skills.
people who really want to learn how to make custom rom's
people who want to learn android and don't know where to start.
Click to expand...
Click to collapse
Tools Required : (Update them manually and report me dead links please)
Java JDK FROM HERE OR JAVA.SUN.COM - FOR INSTALLING CYWIGN
(WARNING: Do not install Cygwin before the JDK!!
Click to expand...
Click to collapse
Cywign Direct Download- Linux Terminal For Windows
Android Kitchen (ROM Development Tool)- For Cooking custom ROM and many more things, Please update this Kitchen to latest version when available.
Official Link to dxda's Kitchen - Official Thread and Github source. Please refer FAQ on official thread for Kitchen related problems.
Click to expand...
Click to collapse
Demo META-INF Folder Download- For Making Flashable zip files and comparing updater script.
Custom Booting.zip - for custom boot animation
notepad++ - for editing files like build.prop, updaterscript
MOST IMPORTANT TOOL YOUR BRAIN... AND ALSO LOTS OF TIME... [DOWNLOAD LINK NOT AVAILABLE...lol]
Click to expand...
Click to collapse
Step one: Installing the JAVA JDK, Cygwin and Setting up the Kitchen.
*Before you do anything install the java jdk*
Try this Dsixda Kitchen Install Picture Tutor(recommended)
OR
watch this video tutorial by gitagaire for how to setup cygwin and kitchen(recommended)
Click to expand...
Click to collapse
INSTRUCTIONS
Download and extract the cygwin_packages.zip
Run the set up(make sure there is no previous cygwin installation)
NOTE: INSTALL CYGWIN IN ROOT DISK LIKE C:\
Follow the kitchen read me txt!!!
local package directory *must* be the path to the cygwin_packages folder that you just extracted
{
"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"
}
Click to expand...
Click to collapse
when it shows all the package names, go to the top and select "all default" until it changes to "all install" (you must click on the arrows)
Click to expand...
Click to collapse
Download the kitchen from above. Then, extract the kitchen's .zip file to a folder under your home account. Rename the dsixda-android-kitchen-*** folder to just "kitchen". In Cygwin, this folder would depend on what was set for your Cygwin install directory, e.g. C:\cygwin\home\John\kitchen
NOTE!! If your user folder contains spaces (e.g. C:\cygwin\home\John Smith\kitchen), then the kitchen will not function properly. Instead, copy it under C:\cygwin\home\kitchen.
Now your ready to run the kitchen type:
those who have their kitchen like this C:\cygwin\home\John\kitchen use these commands given below.
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
those who have their kitchen like this C:\cygwin\home\kitchen use these commands given below.
cd ../kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
Click to expand...
Click to collapse
If you did things right you should see this:
congratulations!!
Click to expand...
Click to collapse
Step Two: Setting up a working folder
THERE ARE TOW METHODS FOR THIS.
1. WHEN YOU HAVE BASE ROM AVAILABLE.
2. WHEN YOU DON'T HAVE BASE ROM.
FIRST METHOD -
First our folder structure should look like this:
Code:
cygwin folder/home/your user name/kitchen
Inside the kitchen it should look like this:
Now we need a rom to work on, for GALAXY ACE PLUS[s7500] users i will recommend this rom by blackburner but you can use any rom.
Just Place the original rom zip in the original_update folder inside the kitchen.
run the cygwin.exe again type:
Code:
cd kitchen(enter)
./menu(enter)
now enter option 1, enter again. You should see your rom listed, choose and enter
you will be asked about changing the working folders name, at this point it makes no difference so just continue.
congratulations you have a working folder!!!
SECOND METHOD - this method is by neroyoung
FIRST MAKE A WORKING FOLDER IN CYGWIN FOLDER
IT SHOULD LOOK LIKE THIS
cygwin folder/home/your user name/kitchen/WORKING_(your rom name)
Click to expand...
Click to collapse
NOTE: FOR THIS MEETHOD WE NEED 3 FILES AND FOLDERS TO BE PLACED IN WORKING FOLDER.
1. META-INF FOLDER - GET THIS FROM DOWNLOAD FILES LIST IN FIRST POST
2. SYSTEM FOLDER - TUTORIAL BELOW
3. BOOT.IMG - TUTORIAL BELOW
2. getting system folder
(NOTE - YOU MUST BE ROOTED FOR THIS MEDHOD)
This is universal method and can be done easily using terminal emulator.
For this simply download Terminal Emulator from Android Market.
we need freshly flashed device here. OTHERWISE YOU WILL HAVE LOT OF JUNK FILES.
Open it and type:
su
tar -c system/* >> sdcard/system.tar
Click to expand...
Click to collapse
This will copy all your /system folder to your SDcard with name System.tar
This will take some time to finish so be patient.
After it's done you should have a tar file in your /sdcard named system.tar
You can extract it using Winrar or 7zip software. But yes this will have huge size , as it has other useless folders so you will have to delete them. After extracting this system.tar file you will get following folders (Similar one)
/etc
/fonts
/framework
/lib
/lost-found
/media
/sd
/semc
/usr
/xbin
build.prop
And some other files and folders like ""autorooted,kernel files" etc
Click to expand...
Click to collapse
Now simply delete the folders marked in red color and its done.Don't worry if you don't have folders with red colors above,we don't need them.
And the final files that we will have in our system folders will be
/app
/bin
/etc
/fonts
/framework
/lib
/media
/semc
/usr
/xbin
build.prop
Click to expand...
Click to collapse
If it dont have semc folder no need to worry.
NOTE: YOU CAN ALSO GET THIS SYSTEM FOLDER BY USING ANY ROOT BROWSER. JUST FIND THIS FOLDER AND COPY/EXTRACT TO SDCARD
NOW COPY THIS system FOLDER TO WORKING FOLDER
3. getting boot.img
Here we have 2 options
1. stock boot.img from stock rom - simple kernel which we get in brand new mobile.
2. custom boot.img from custom kernel - kernel which are modified for overclock or other features
1. getting stock boot.img from stock rom.
extract your stock rom with winrar or 7zip. you will see boot.img there. copy it to working folder
2. getting custom boot.img from custom kernel.
download any custom kernel which is only for your device. [galaxy ace plus [s7500] users get from here or here]
extract it with winrar or 7zip and copy boot.img to working folder
NOTE: many of new devices have kernel.bin and other files instead of boot.img so skip this part if your device don't have it...
Click to expand...
Click to collapse
Step Three :change/modify/update rom
YOU CAN MODIFY YOUR ROM IN TWO STEPS:
MODIFY USING ANDROID KITCHEN - for basic modification.
MODIFY MANUALLY. - for advanced modification.
1. MODIFYING USING ANDROID KITCHEN
watch this amazing tutorial by neroyoung on how to editing rom with kitchen
NOTE: DON'T FORGET TO DEODEX YOUR ROM
Click to expand...
Click to collapse
2. MODIFYING MANUALLY.
FOR ALL ANDROID PHONES (ESPECIALLY FOR GINGERBREAD ROMS) USE THIS GUIDE FOR COOL MODS. like center clock,CRT animation, ics and jelly bean style mods etc... ANOTHER GUIDE BY ME
Adding/removing applications
1. Go to the working folder where you extracted your rom, inside you will find:
OR
2. Then go to "system/app" inside this folder you will find all the rom applications(apks) you may also find some in the data folder if your rom has this folder.
3. Copy, replace, and change any app(apk) be carefull if you dont know what the apk is do not delete!!
LIST OF APPS YOU CAN DELETE - HERE OR HERE
If you can not find some apps in this guide then try opening all those app in your phone and see app name and icon or move those apps from system/app to sdcard and see what is not working...
Adding new boot animation
android kitchen doesn't works for this in Samsung phones. So we need a different method.
1) Download and extract the bootanimation and samsungani file from Custom Booting.zip attached in first post.
2) Put them in the /system/bin folder and replace the existing files there
3) Now download any boot animation, and rename the bootanimation to “sanim.zip”.
4) Now, navigate to /system/media and replace the “ODEanim” with “sanim.zip”
You are done with the bootanimation change
customizing the theme
1. replace stock launcher with launchers like nova launcher
2. theming using uot kitchen (fonts, status bar, batery and other icons etc
watch this amazing toutorial by jdlogan151
Click to expand...
Click to collapse
Edit the gps script for your country/location
1. In the workingfolder/system/etc/ you will find a file named gps.conf, you can
edit this file with notepad++ or even word.
2. using the right gps script in this file can speed up gps lock, you can
find some from angeldeath, download extract and replace the gps.conf.
Adding ringtones :
Take your ringtone file...it should be in .ogg format..If not then convert it to .ogg..
Locate to the folder system>media>audio>ringtones>
Copy and paste your .ogg files here in ringtones folder..
You can also change notifications, alarm and UI tones like this..
Changing the Fonts :
Take your desired font.ttf file and rename it as DroidSans.ttf..
Locate to the folder system>fonts>
Now, replace the file DroidSans.ttf with your desired DoridSans.ttf...
To change the lock screen clock font...replace the Clocktopia.ttf with your desired one..(rename first)..
build.prop tweaks!!
check this or this or this post for build.prop
NOTE: EDIT BUILD.PROP WITH NOTEPAD++. SIMPLE NOTEPAD WILL CORRUPT THE FILE.
adding mods and scripts...
download mods and scripts from links below and copy past all files in same folder as your rom... like for init.d scripts add them to system/etc/init.d/here and all permissions in updater script to your updater script...(dont forget to give them credit for it...)
links:-
[TweakZV6] Init.d best tweaks[Flashable] Increase your performance by [email protected]
Collection build.prop; init.d; etc. by optik19918
init.d Tweaks collection by dsexton702
[SCRIPTS][TWEAKS][CWM]SlaidyBoost-V2.3 by slaid480
[CWM][SCRIPTS][TWEAKS] Adrenaline™ Engine by ImbaWind
V6 SuperCharger by zeppelinrox
[SCRIPTS]CronMod-A2SD/D2EXT/INT2EXT by croniccorey
Xloud and Bravia engine by aiman112
AwesomeBEATS™ v.3 by ...Awesome...
(MOD)Beats Audio(2.3+up) by RockoDev
Tuned MegaBassBeat by kurotsugi
Maximum MultiTasking Mods + V6 SuperCharger BY zeppelinrox
[AROMA] Beats Mode - Enhanced Beats sound V7.5 by MemAllocatoR
Interactive Phone Modification [GUIDE]
ICS Style 'Settings.apk' - Make it yourself by balamu96m
StatusBar Tweaks by Master&Slave™
Change lockrings on any rom by daveyannihilation
change ICS lockscreen animation to Honeycomb style by evilisto
S Voice for any devices [ICS] by PlaYOuT
Implement Swipe to Remove Notification by hansip87
Remove SMS log from Call log by wilfredcool007
Activate the rotation of the lockscreen by GalaxyUser
How to use AROMA INSTALLER in any ROM/MOD by pankaj88
All in one tweaks build.prop,init.d,Wifi,Xloud,Bravia,A-Gps,A/V Sync,Modules by XtremePeople
Add 6 lockscreens Mod + Lockscreen Gestures by pratyush.creed
How to add customizable 14 statusbar toggle buttons for samsung ROM by lidroid
Create a custom notification dropdown by jeffsanace
these are few i love, find more yourself...
MORE WILL BE ADDED SOON...
MORE ADVANCE MODIFICATION (not advised for beginners)
editing .apk files
THERE ARE TWO BEST TOOLS FOR EDITING .APK FILES
1. APKTOOLS
This video by neroyoung teaches you how to setup APKTOOL folder as well as teaches you how to edit .apk files.
2. APK Manager
this video by adgoosuc teaches you How to unpack,repack and sign an APK File with APK Manager
Click to expand...
Click to collapse
[*]Editing .JAR Files
In this video by neroyoung you will get information on how to edit .jar files like services.jar using APKTOOL.
Click to expand...
Click to collapse
[*]THEMEING .apk FILE
HERE IS A AWESOME TUTORIAL BY Andrewtst FOR THEMEING ANY .apk FILE.
for porting themes:
1. download and extract theme you want to port.
2. open both apk(base and port) in 7zip/winrar
3. drag and replace png files with same name
this works with only png files not with xml and others
FOR THEMING YOUR ROM YOU CAN EDIT framework-res.apk AND GET MANY COOL THINGS
LIKE you can change smiles, default wallpaper, default lockscreen wallpaper, add 14 toggle mod and many cool things...
for that use Framework Flasher or apktools or any other tool and do changes manually.
CHECK THIS GUIDE BY dully79 TO KNOW WHICH FILES YOU CAN MODIFY AND HOW.
HERE ARE FEW MORE COOL GUIDES -
ICS Style 'Settings.apk' BY balamu96m
Implement Swipe to Remove Notification BY hansip87
add customizable 14 statusbar toggle buttons for samsung ROM BY lidroid
FOR MORE SEARCH MORE...
Click to expand...
Click to collapse
CHANGING HARD KEY FUNCTION (REMAPPING BUTTON)
1. open /system/usr/keylayout/[phone model]-keypad.kl with notepad++
(Some phone may have different names, but it will always end with "keypad.kl)
it will look like this --
Code:
# Copyright (c) 2011, Code Aurora Forum.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# [url]http://www.apache.org/licenses/LICENSE-2.0[/url]
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#
key 2 1
key 3 2
key 4 3
key 5 4
key 6 5
key 7 6
key 8 7
key 9 8
key 10 9
key 11 0
key 158 BACK WAKE_DROPPED
key 230 HOME WAKE
key 60 SOFT_RIGHT WAKE
key 62 ENDCALL WAKE_DROPPED
key 229 MENU WAKE_DROPPED
key 59 MENU WAKE_DROPPED
key 139 MENU WAKE_DROPPED
key 228 POUND
key 227 STAR
key 231 CALL WAKE_DROPPED
key 61 CALL WAKE_DROPPED
key 232 DPAD_CENTER WAKE_DROPPED
key 108 DPAD_DOWN WAKE_DROPPED
key 103 DPAD_UP WAKE_DROPPED
key 102 ENDCALL WAKE_DROPPED
key 105 DPAD_LEFT WAKE_DROPPED
key 106 DPAD_RIGHT WAKE_DROPPED
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
key 212 SLASH
key 213 DEL WAKE_DROPPED
key 355 DEL WAKE_DROPPED
key 16 Q
key 17 W
key 18 E
key 19 R
key 20 T
key 21 Y
key 22 U
key 23 I
key 24 O
key 25 P
key 30 A
key 31 S
key 32 D
key 33 F
key 34 G
key 35 H
key 36 J
key 37 K
key 38 L
key 14 DEL
key 44 Z
key 45 X
key 46 C
key 47 V
key 48 B
key 49 N
key 50 M
key 51 COMMA
key 52 PERIOD
key 28 ENTER
key 56 ALT_LEFT
key 42 SHIFT_LEFT
key 215 AT
key 57 SPACE
key 53 SLASH
key 127 SYM
key 100 ALT_RIGHT
key 399 GRAVE
HERE YOU WILL FIND 3 ROWS...
1. As you can see, there are different attributes assigned to each key. like this
Code:
key 102 HOME
key 139 MENU
key 158 BACK
key 115 VOLUME_UP
key 114 VOLUME_DOWN
2. Specific application/action launchers:
Code:
HOME #Launches "Home"
MENU #Launches "Menu"
BACK #Takes you back to the last activity
SEARCH #Launches "Universal Search"
CALL #Launches the "Phone" activity and corresponding .apk or initiates a call
ENDCALL #Ends a call
CAMERA #Launches "Camera" activity and corresponding .apk
FOCUS #Initiates Auto-Focus while using the Camera
VOLUME_UP #Self explanatory
VOLUME_DOWN #Self explanatory
3. And attributes saying if it should wake the phone at button push to complete the action, or if it should just complete the action without waking the screen.
Code:
WAKE #Completes the action without waking the screen
WAKE_DROPPED #Wakes the phone to complete the action
Click to expand...
Click to collapse
2. NOW WE WILL EDIT SECOND AND/OR THIRD ROW
Erase the center row value for any key to completely disable it. To reassign the key, replace the center row value with another one from the same row. Change the right row value to either "WAKE" or blank to enable the wake function. Do not modify the left row.
NOTE: don't edit left row i.e. first row which contains specific key identity number.
FOR EXAMPLE I DO THESE CHANGES
DEFAULT VALUES ---
Code:
key 115 VOLUME_UP WAKE
key 114 VOLUME_DOWN WAKE
CHANGED VALUES ---
Code:
key 115 CAMERA WAKE
key 114 FOCUS WAKE
NOW VOLUME UP KEY WILL WORK AS CAMERA KEY AND VOLUME DOWN KEY WILL WORK AS FOCUS KEY....
NOTE: all words should be in BOLD letters i.e. capital letters...
Click to expand...
Click to collapse
MORE COMING SOON
FOR ADVANCE ROM DEVELOPMENT GUIDES (like porting rom) SEE THIS COLLECTION BY F3niX
Step Four: repackage the rom
AFTER YOU HAVE DONE ALL CHANGE/MODIFICATION YOU WANTED OPEN CYGWIN AGAIN AND TYPE
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
now convert update script to updater script(in option 23)
now lets edit updater script(optional)
Thanks to user langthang for a great updater-script guide.
Download it HERE
Click to expand...
Click to collapse
the updater-script basically tells CWM what steps to take during the installation(flashing rom).
If you don't have any experience please don't edit anything other than what is in this simple tutorial.
TO EDIT UPDATER SCRIPT -
1.Go to META-INF/com/google/android
2.Open the updater-scrip file with Notepad++
3.Any text that would appear during the CWM install should be in this format :
Code:
ui_print("Put your text in HERE");
Add your text start at top and save,
then replace with new updater-scrip
IF YOU GET ANY ERROR YOU CAN COMPARE YOUR UPDATER SCRIPT WITH MINE (attached in 1st post)
NOTE: DO NOT COPY WHOLE UPDATER SCRIPT JUST EDIT PART WHERE YOU GET ANY ERROR...
most common errors will be in mount, remount part in starting and end and boot.img installing part... so replace only those lines....
AND AT LAST
[*]Now that you have made some changes it's time to pack the rom and test!!
Run the cygwin and type
cd kitchen(enter)
./menu(enter)
Click to expand...
Click to collapse
enter option 99 - "biuld rom from working folder"
Choose your build option and few more enters
I recommend that you go with all default options until you get more experience with the kitchen.
When rom is packed and signed it will ask to change rom zip name (type name of your rom)
When its all done you will find a folder inside "cygwin/home/yousername/kitchen" called output_zip
Inside the folder is your new rom ready to be flashed and tested!!!
IF YOU WANT THAN YOU CAN MAKE CWM FLASH ABLE ZIP'S MANUALLY USE THIS TOOL BY I.AM.H3RO
congratulations you have build your own rom
TROUBLESHOOTING (by hell_lock)
If you are facing java related problem with cygwin than refer to this post. and Google search
If you get problems in installing a rom then compare your updater-script in META-INF folder with one attached in first post.
If you have a rom without kernel then remove these lines:
Code:
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "/dev/block/mmcblk0p8"),
delete("/tmp/boot.img"));
NOTE: mmcblk0p8 can be different with different devices... this works fine with galaxy ace plus...
If there is a package error then extract the files of the rom and repack them using any compression software.
If rom installed correctly but stuck onto logo screen?? Then remove try removing kernel and flashing rom again.
If rom installed correctly but got onto bootloop then there could be many possibilities which could lead to this. If you want accurate cause of it then do a logcat.
If there are some apk's which are not working then check if you correctly modded them.
For status errors like status error 0, status error 6, status error 7 see this guide by Tha TechnoCrat and for rest go here and type your error.
NOTE: Most of the problems occur because of updater-script problems so before trying any of the troubleshooting try the first tip.
IF YOU HAVE ANY QUESTIONS OR PROBLEMS FEEL FREE TO POST HERE OR PERSONAL MESSAGE ME.
omg all my thanks goes for you today
●๋•ηι¢є ιηƒσ●๋•
how about using dsixda, toolchain etc in linux? would u please add some tutor for that...even i guess it has the same way... i mean in ubuntu what version of dsixda that work well and what lib is needed for that? cos i have made my own kernel on my last device galaxr fit(gt-s5670) that use armv6 procie..maybe it need diferent type n bersion of tools?
thanks in advance
Sent from my GT-S7500 using xda app-developers app
Sorry i dont use lunix so i know nothing about it..... there are more threads related to this... they can help you....
Sent from my GT-S7500 using xda premium
Can i use this for micromax funbook tablet?
Yes it will work on any device... good luck
Sent from my GT-S7500 using xda premium
Had a quick read through, seems fairly easy to get started, so thanks for that!
What I want to achieve is to be able to take an existing ROM, and customise it for my organisation. I want to be able to remove the initial set up that you get when you flash a new ROM, e.g. name, Google account etc. Do you know how I would achieve this, or the files I would need to edit?
I also want to remove some APKs and preload some APKs, I think I know how to do this its just a case of replacing them in the system folder?
Also I want to preload some Wifi settings on so set it to know our SSID and PSK, is this something which is possible?
Thanks for your help!
fro5tie said:
Had a quick read through, seems fairly easy to get started, so thanks for that!
What I want to achieve is to be able to take an existing ROM, and customise it for my organisation. I want to be able to remove the initial set up that you get when you flash a new ROM, e.g. name, Google account etc. Do you know how I would achieve this, or the files I would need to edit?
I also want to remove some APKs and preload some APKs, I think I know how to do this its just a case of replacing them in the system folder?
Also I want to preload some Wifi settings on so set it to know our SSID and PSK, is this something which is possible?
Thanks for your help!
Click to expand...
Click to collapse
1st for rom you will use as base, get permission of its developers before doing it...
2nd the setup wizard you are talking about(i guess where we have to touch android) is by app in system/app named SetupWizard.apk but i think you should not delete it. it also controls few other things.
3rd replace/delete app you know about...(system/app)
4th i don't know much about preloaded settings... all i know is you will need to edit smali files of apk....
Hi
I've been playing around with this, I've extracted the ROM to a working folder and made a few changes, e.g adding and removing APKs. Then I've repackaged the ROM, but when I copy the .zip onto my SD card and try flashing it, I get an error:
Install /sdcard
Finding update package
Opening update package
Verifying Update package
E:signature verification failed
Installation aborted
I can't install CWM on this device so its just using the Android System Recovery 3e
Is there something else I have to do to get it flashable?
hiii
okay.. so first get cwm recovery as you say you dont have cwm... then while making a zip with android kitchen make sure when it ziplangs all apks then it signs your rom zip... make sure you press enter or press y and then enter...
while flashing rom with cwm you get this error again then in 'ïnstall zip from sdcard' select 'toggle signature verification' then try again if still no luck rply back....
and it seams like you used this guide and you found it helpful i guess and you dint even pressed a thanks button... i don't know why you guys enjoy all stuff and don't even press thanks button.. i am not asking you for money... it wont cost you anything...
fro5tie said:
Hi
I've been playing around with this, I've extracted the ROM to a working folder and made a few changes, e.g adding and removing APKs. Then I've repackaged the ROM, but when I copy the .zip onto my SD card and try flashing it, I get an error:
Install /sdcard
Finding update package
Opening update package
Verifying Update package
E:signature verification failed
Installation aborted
I can't install CWM on this device so its just using the Android System Recovery 3e
Is there something else I have to do to get it flashable?
Click to expand...
Click to collapse
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
fro5tie said:
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
Click to expand...
Click to collapse
Wich device you have?
use this to make your own cwm recovery.... http://builder.clockworkmod.com/
fro5tie said:
Hi
Thanks for this, I've got it sorted now.
I can't install CWM as its not compatible with my device, but it was just that the zip needed signing for my device. I found info on another forum to sign it properly, and its flashing fine now.
Thanks for your help.
Click to expand...
Click to collapse
androsamace said:
Wich device you have?
Click to expand...
Click to collapse
Its an Ainol Novo 7 Elf 2 (chinese tablet)
lokeshsaini94 said:
use this to make your own cwm recovery.... http://builder.clockworkmod.com/
Click to expand...
Click to collapse
I'll take a look.
HTC One X
- no ROM support, but de-odexing only! (Here is the guide to de-odex)
So i wanted to start building a ROM the easy way, guess I have to find the manual method..
i dont know what are you talking about... here is link for htc one x roms
http://onexroot.com/category/one-x-roms/
xSilv85 said:
HTC One X
- no ROM support, but de-odexing only! (Here is the guide to de-odex)
So i wanted to start building a ROM the easy way, guess I have to find the manual method..
Click to expand...
Click to collapse
Oh i mean the kitchen.. not suited for htc one x is stated in the op.
Sent from my HTC One X using Tapatalk 2

[29 Oct 2012]v1.09 Remove Bloatware,Lite-ROM Creator-Windows Base Script Generator

v1.09 Should be final version ,at lease I have no idea what should I add right now.
Update from old version : copy userapp.dbf and userapp.cdx inside old one to new one. That's it
Update note aviliable at the bottom of this post
-------------------------------------------
[7 Nov 2012]
Upload new database
-------------------------------------------
Why Literom Creator ?
No recovery in need ,just Root ,everything fine
Easy to restore app
Define your own db with windows GUI interface
Switch between Phone with some clicks ,right now support N7000 and N7100
You can even make a new list yourself and share to your friend .Work on EVERY phones with ICS that have root.(For GB rom ,file script-begin must change something
Total free ,of coz you can buy me a beer
Download link : See attachment
[Inside package ,there is two EXE file
literom-creator.exe : Main Program
DBEdit.exe : Use this if you want to edit entry yourself]
DBEdit Readme aviliable here
Remark since v1.03
How can I switch database ?
1. Open dbEdit.exe
2. Inside dbEdit ,click Restore ,choose database that you want
3. Done
How can I make a lite-rom script quickly with new function : Combine App List?*
1. Open dbEdit.exe
2. Copy all apk files ,inside /system/app/ ,to folder [Place_System_App_Here]
3. Inside dbEdit ,click Restore ,choose file [FULL DB include everything] **You may want to backup the db you are using right now.
4. Click [Combine App List]
5. Done . Now you have a database that match your rom.
-------------- Readme of main program --------------
Before I wrote a windows base program that can create your own lite-rom script for N7000.
Now it's aviliable at Galaxy Note2
I think it should simple enough to use it yourself
{
"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"
}
Double click on any item that you want to remove
Filter : ALL mean list all / Remove mean list all you have choose to remove / Include mean that will keep in your rom
After select all you want to remove ,click [Export Lite-ROM Script] ,then you will get a file called [fish-literom.TXT]
Place [fish-literom.TXT] in your SDCard .
Now ,move to your phone ,download Script Manager from Market .
https://play.google.com/store/apps/details?id=os.tools.scriptmanager
You MUST browse as ROOT like this.
Browse to fish-literom.TXT ,choose Su
After that ,click Run.
After delete files ,it should have some force close .Ignore it .
Then ,restart your phone .
Finished .Now you may uninstall Script manager as well .
- Remark : File backup to folder /sdcard/fishliterom .If you want to restore ,simple copy file to /system/app ,set premission rw- r-- r-- ,reboot
- I search though XDA ,all the files listed should safe to remove ,if I make any mistake ,please tell me
- Hit Thanks if you like this
Release note.
- Add a pre-define db : Full DB include everything.txt ,you can use this to generate your script quickly.
dbEdit.exe v1.03 / Oct 29 2012
- Inside [Manage DB] ,add new function : Combine App List
After you put apk into folder [Place_System_App_Here]
It will compare folder items to database ,remove non-exist apk,add new apks ,keep item with same APK name .
So you can build a new lite-rom database quickly
- Double click on grid item ,it will copy apk name to clipboard ,and use default browser search XDA
- Add button : Clear Item - info2 ,
this will remove all item description in description 2
- Add button : Generate APK List ,
this will generate apk list into a text file call 'apk.txt'
Lite-Rom creator.exe v1.09 / Oct 29 2012
- Add multi lanaugae support .
You can place a file called [lauguage.txt] to default folder .
Then literom creator will read item layout from that .
If there is no language.txt inside ,program will show default language (English)
- Add Export Restore Script
Run this and restore all deleted file to system .
DBEdit v1.02 released Oct 27 2012
Thank Crushader for the idea .
Now it's much easy to create your own app list .Even switch between phones.
v1.08 Oct 26 2012
Change icon
Layout change
applist.dbf add remote control / change minimode-res.apk details.
Now you can edit the output script by
- Using Editplus (or sth like that) - open
script-begin : Inside this ,you can mount system ,set backup path ,and etc
script-main : main script to delete bloatware .Don't change keyword : #ThisIsApkToRemove that will replace with apk name when output
This two file MUST save as UNIX format
DB Reference : Search in XDA / http://goo.gl/8QSVX
v1.07 Oct 24 2012
Change DB from N7000 to N7100
goddamnit said:
Download link : http://goo.gl/l1GsE
- Remark : File backup to folder /sdcard/fishliterom .If you want to restore ,simple copy file to /system/app ,set premission rw- r-- r-- ,reboot
- I search though XDA ,all the files listed should safe to remove ,if I make any mistake ,please tell me
- Hit Thanks if you like this
Click to expand...
Click to collapse
minimode-res.apk : I found what is it now .
It's for mini popup browser .
Will change db details next time
v1.08 Oct 26 2012
Change icon
Layout change
applist.dbf add remote control / change minimode-res.apk details.
Now you can edit the output script by
- Using Editplus (or sth like that) - open
script-begin : Inside this ,you can mount system ,set backup path ,and etc
script-main : main script to delete bloatware .Don't change keyword : #ThisIsApkToRemove that will replace with apk name when output
This two file MUST save as UNIX format
great
will test it tnt
I checked your script, doesnt do anything to the libs, maybe u can improve on your script by adding or removing un-needed libraries also.
thanks.
nishbul said:
I checked your script, doesnt do anything to the libs, maybe u can improve on your script by adding or removing un-needed libraries also.
thanks.
Click to expand...
Click to collapse
Hi nishbul.
I have think about this too .
But ,if I remove the lib also ,user will hard to restore the apps.
And ,mainly ,this script is to stop that auto-load apps .
Maybe I will add delete libraries too if I let literom creator gen. restore script .
Anyway ,thanks for comment :laugh:
Regards,
Great tool! But would it possible to have an option to load the ROM into the tool and select list of bloatware you want to remove and export the script?
Crushader said:
Great tool! But would it possible to have an option to load the ROM into the tool and select list of bloatware you want to remove and export the script?
Click to expand...
Click to collapse
Hi Crushader,
It's easy to generate file list from ROM file.
But it's not easy to let literom creator think about which is bloatware.
Hmm.. maybe I will add import function then.Seem useful
Regards
Sent from my GT-N7100 using xda app-developers app
goddamnit said:
Hi Crushader,
It's easy to generate file list from ROM file.
But it's not easy to let literom creator think about which is bloatware.
Hmm.. maybe I will add import function then.Seem useful
Regards
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Cool, looking forward to that update =]!!!
Crushader said:
Cool, looking forward to that update =]!!!
Click to expand...
Click to collapse
I doubt if I should add function that read default db from internet.
So we can switch db ,like n7000-> n7100 more easy.
Or simple create a txt file to store db ,so can import / export.from txt ?
Or ...both of them ? lol
Because this script should work on ALL android system 4.0+ (2.3 too ,but need to modify script-begin)
Maybe there is Moto db ,HTC db and etc.. later
Sent from my GT-N7100 using xda app-developers app
goddamnit said:
I doubt if I should add function that read default db from internet.
So we can switch db ,like n7000-> n7100 more easy.
Or simple create a txt file to store db ,so can import / export.from txt ?
Or ...both of them ? lol
Because this script should work on ALL android system 4.0+ (2.3 too ,but need to modify script-begin)
Maybe there is Moto db ,HTC db and etc.. later
Sent from my GT-N7100 using xda app-developers app
Click to expand...
Click to collapse
Hmm I see, either way its a great tool =]
New version of DBEdit aviliable here :
http://forum.xda-developers.com/attachment.php?attachmentid=1435054&d=1351348939
Simple unzip ,place new file to folder Lite-ROM Creator
------------------------------------------------------------------------------------
I think this main screen is simply enough to use .
If you cannot understand what it do .Please skip this post
This version of DBEdit ,added a new function Manage DB
Now you can :
Backup your DB List
Import List
Restore to default list
Clear Database
and ,create your own list
---------------------------------------------
Backup : After you click this button ,current database with backup to a textfile with timestamp ,then open the directory location .You can feel free to change the file name you want.
Import : Read a text file ,all NEW entry will add into database .Old db will remain unchange
Restore : Read a text file ,old db will be delete ! And save all item aviliable inside text file . You can use this to switch between phones ,like from N7000 -> N7100 ,and vice versa .
Clear : All db will delete !
---------------------------------------------
Follow is test function ,read a list of apk and generate a new db.
it should work fine on EVERY Android Phones with ICS .
(Note : For GB rom ,you will need to modify file [script-begin] ,line4 ,then it will work fine .Message me if you need it)
First ,you must have a system dump (or something like that)
Method 1 ,Get from your phone : Great tutor here : http://forum.xda-developers.com/showpost.php?p=7204732&postcount=1
Method 2 ,download system dump files from XDA or somewhere else .I think you can download the system dump file before you get your new phone .
Method 3 ,download a CWM flashable ROM
After that ,
open the zip (RAR maybe) file
Inside the file ,there is a folder [system] ,open it
Inside [system] ,open folder[app]
Copy all files ,to folder [Place_System_App_Here] which is aviliable @ Lite-ROM creator folder
You can go back to Lite-ROM Creator now
Now ,click button Clear (depends)
click Generate App List in Lite-ROM Creator.
You will get a list like this .
Then start to create your own db.
If you want to know if the apk safe to remove . You can double click grid item ,
A search link to XDA will be opened with your stock browser .
If you created a new db .Please tell me so I can put it into db_list
---------------------------------------------------
Remark since v1.03
How can I switch database ?
1. Open dbEdit.exe
2. Inside dbEdit ,click Restore ,choose database that you want
3. Done
How can I make a lite-rom script quickly with new function : Combine App List?
1. Open dbEdit.exe
2. Copy all apk files ,inside /system/app/ ,to folder [Place_System_App_Here]
3. Inside dbEdit ,click Restore ,choose file [FULL DB include everything] **You may want to backup the db you are using right now.
4. Click [Combine App List]
5. Done . Now you have a database that match your rom.
Remove Bloatware in Sprint Galaxy Note2
Just download Sprint Galaxy Note2 system dump from here
http://forum.xda-developers.com/showthread.php?t=1875773
and make a /system/apk list of that .
You can set db to Sprint Galaxy Note2 by dbedit.exe ,using restore function .
Database file can found in OP .
Item with no details that I cannot comfirm if it's safe to remove .
I do not own a Sprint Galaxy Note2 :laugh:
--------------------
Right now target on T889 and Veizon
Release note.
- Add a pre-define db : Full DB include everything.txt ,you can use this to generate your script quickly.
dbEdit.exe v1.03 / Oct 29 2012
- Inside [Manage DB] ,add new function : Combine App List
After you put apk into folder [Place_System_App_Here]
It will compare folder items to database ,remove non-exist apk,add new apks ,keep item with same APK name .
So you can build a new lite-rom database quickly
- Double click on grid item ,it will copy apk name to clipboard ,and use default browser search XDA
- Add button : Clear Item - info2 ,
this will remove all item description in description 2
- Add button : Generate APK List ,
this will generate apk list into a text file call 'apk.txt'
Lite-Rom creator.exe v1.09 / Oct 29 2012
- Add multi lanaugae support .
You can place a file called [lauguage.txt] to default folder .
Then literom creator will read item layout from that .
If there is no language.txt inside ,program will show default language (English)
- Add Export Restore Script
Run this and restore all deleted file to system .
-------------------------------------------
[7 Nov 2012]
Upload new database
-------------------------------------------
Hi,
Not working on my standard 7100.
BusyBox 1.202 and SManager 2.6.0.2 installed. Stock rom and kernel XXDLL4, JB 4.1.2, root with CF-autoroot from Chainfire.
The script start, mkdir command ok then go to finished, I retry twice, second time mkdir logically failed and same, other commands did not apply (see attachment).
Anyway thanks for your work.
Pax_fr said:
Hi,
Not working on my standard 7100.
BusyBox 1.202 and SManager 2.6.0.2 installed. Stock rom and kernel XXDLL4, JB 4.1.2, root with CF-autoroot from Chainfire.
The script start, mkdir command ok then go to finished, I retry twice, second time mkdir logically failed and same, other commands did not apply (see attachment).
Anyway thanks for your work.
Click to expand...
Click to collapse
Please import full db using dbedit.exe,then try again.
I doubt if you are using the.right one
Sent by N7100

Pantech Burst Rom development Discussion Thread

Since the Burst comunity is growing , It was needed . Here devs/chefs can come and discuss about the there queries and all . I'm sharing some of my resources I discovered while developing a rom for burst . I would like to see more rom in near future also
Best Base rom to make a custom rom upon : Davempers ICS
Boot animation Issue : Always put boot animation in /system/media !! Don't go for data/local .
In updater script :
1. Replace this
Code:
ui_print(" Formating system ");
unmount("/system");
with
Code:
ui_print(" Formating system ");
[COLOR="Green"]run_program("/sbin/busybox","mkfs.ext4 -L system -m 0 mmcblk0p13");[/COLOR]
unmount("/system");
Thought I feel make2fs and tune2fs does the same work but still .
To edit the default wallpaper gallery , Decompile wallpaperchooser.apk and in the res/drawable-hdpi/ And replace the wallpaper with yours . Remember keep the same name and make 2 variants of same wallpaper one in 960 x 800 and one 160 x 134 .
To replace fonts simply replace them in /system/fonts .
I can't give a perfect theming guide but always do some jiggling and all . Decompile the apk's and look into drawable-hdpi folder . keep the same name and res and replace the png with yours one . Generally all icons are found in minimap-hdpi folder .
Sounds are as usual in the folder /media/audio/ . Keep the name same and replace them .
To change the default ringtone / alarm / notification tone change the following in build.prop
Code:
ro.config.ringtone=
ro.config.notification_sound=
ro.config.alarm_alert=
To replace a recovery just simply put in inside the working folder and change the red line with the new recovery name .
Code:
package_extract_file("[COLOR="Red"]recovery.img[/COLOR]", "/dev/block/mmcblk0p18");
For atleast see AOSP contacts and phone working do this ->
Delete these files first :
-/system/app/syncmlclient.apk
-/system/app/syncmlprovider.apk
-/system/app/syncmlservice.apk
-/system/app/contacts.apk
-/system/app/contsprovider.apk
-/system/framework/com.android.syncml.shared.jar
-/system/etc/permissions/com.android.syncml.shared.xml
And paste these things :
contacts and contactsprovider.apk from some AOSP rom . I attached those for reference also .
What doesn't work here ?
sometimes we get android.phone.xxx stopped working . And call log doesn't work ( well I feel there's some storage app not here for that )
Click to expand...
Click to collapse
Key nos -
Option touch key - key:139
home touch key - key:102
Back touch key - key:158
Search Touch key- key:217
Volume down key - key:114
Volume up key - key:115
Power key - Key:116
Click to expand...
Click to collapse
A note : Attn1's Hack kit is good but the kernel in it is faulty . It makes the device lag and wifi certainly less in range .
Things we need to achieve
-A full JB notification panel .
-AOSP contacts/phone with no error working .
I would like to see many burst roms for now Clear your every of doubt and start developing the roms for burst :good:
NOTE : Only rom developers come here no spaming is allowed . This is a place for rom devs to talk and get there issues solved only . For chit-chat on burst go here .
Help required !
I copied the data/data/(a bunch of folders) from phone and pasted in the rom . This was done to retain some default settings from the rom flash itself . But after actual flash they didn't appeared why ? Also I pasted the lmt app in /data/app folder And that didn't appeared also
possible reasons i figured out why :
1. No proper permissions was set in updater script .
2. Android might be sets everything to default in first boot ?
Anyone can comment with good answer ?

[GUIDE] WiFi Country Problem Solving for AOSP, MIUI & others

WiFi COUNRTY PROBLEM solving
Hello!
We, who did buy phones from other countries using internet shopping,
instead of joy face the problem of WiFi-service functioning.
WiFi scan not works or shows network; but there is written NOT IN RANGE..
Problem resides in new WifiCountryCode, which phone recieves from our SIM-card.
But this new WifiCountryCode is not known for internal WiFi-program,
so it does not know which WiFi rules use.
During 2 mounth of tries I found following 3 ways to solve:
1. ARHD7.3 ROM has not THIS WiFi problem! Bravo!
(sorry, didn't check previous versions).
2. program WiFi Fix by Fardjad.
This program updates WiFi Country Code on boot and afterwards.
For most ICS roms it works good, for AOSP roms less good.
Requires: before SHUTDOWN or REBOOT WiFi should be turned off.
Slightly annoying.
On AOSP roms first WiFi TURN ON stucks;
needs 1-2 minutes to TURN OFF stucked WiFi and then second TURN ON works.
Greatly annoying!
Current version is WiFix Manager V1.32;
Author promised to solve this problem.
3. in AOSP CM10.1, before starting WiFi, goto
System settings > WiFi > Advanced > WiFi region code >>
and if here is nothing selected (your country not in list), press United States (or Europe?),
then get back from this Advanced menu and only now TURN ON WiFi.
Wifi scan now should work.
...Until next restart....
also before SHUTDOWN or REBOOT you should turn off WiFi to prevent stuck on start..
(this setting is not available in SuperXE 4.2.2 build_6)
********************************************
Buttt.. seems I found solve before WiFix author, YESS!
How this happened:
greatly annoyed, I learned about USB-debugging and Logcats and ApkTool.
here is lines from Logcat (XX replaces new country code):
Code:
D/MccTable( 636): updateMccMncConfiguration: mcc=..., mnc=..
D/MccTable( 636): locale set to null_XX
D/MccTable( 636): WIFI_COUNTRY_CODE set to XX
I/WifiService( 445): WifiService trying to set country code to XX with persist set to true
Where is this MccTable? not found such file..
Web search gives me this:
https://android.googlesource.com/pl.../com/android/internal/telephony/MccTable.java
this IS source, where is written updateMccMncConfiguration code from line 169 to 208.
and actually we need to disable these lines:
Code:
189 if (mcc != 0) {
190 setTimezoneFromMccIfNeeded(context, mcc);
191 setLocaleFromMccIfNeeded(context, mcc);
192 setWifiCountryCodeFromMcc(context, mcc);
193 }
Because Timezone you can setup in settings > Date& Time
and LOCAL parameters are set in most roms in file "/system/build.prop":
Code:
ro.product.locale.language=en
ro.product.locale.region=US
(if not, make it..)
Alternate "mild" edition:
you can disable only line setWifiCountryCodeFromMcc(context, mcc);
and live rest 2 updater lines.
now let me guess, this program code should be inside of some JAR file..
exactly in "/system/framework/telephony-common.jar"
I did decompile this file with ApkTool:
Code:
apktool d telephony-common.jar
it made output as folder "telephony-common.jar.out" and there is file:
"telephony-common.jar.out/smali/com/android/internal/telephony/MccTable.smali"
and inside are above mentioned lines:
Code:
.line 189
if-eqz v2, :cond_0
.line 190
invoke-static {p0, v2}, Lcom/android/internal/telephony/MccTable;->setTimezoneFromMccIfNeeded(Landroid/content/Context;I)V
.line 191
invoke-static {p0, v2}, Lcom/android/internal/telephony/MccTable;->setLocaleFromMccIfNeeded(Landroid/content/Context;I)V
.line 192
invoke-static {p0, v2}, Lcom/android/internal/telephony/MccTable;->setWifiCountryCodeFromMcc(Landroid/content/Context;I)V
.line 195
:cond_0
lets gently change line 189:
Code:
.line 189
goto :cond_0
in newer android, there is also second call to setWifiCountryCodeFromMcc, so comment out it also.
so program will jump over unwanted updates!
now recompile back "telephony-common.jar" with command:
Code:
apktool b -f -d telephony-common.jar.out
and in folder "telephony-common.jar.out/dist" you will find it out.
from original file do copy of directory "META-INF" in new file with any archive manager.
now we should put "telephony-common.jar" in phone.
for this we need:
ROOT access,
with ES_file_manager >Tools >Root Explorer >Mount R/W > mount /system RW,
replace telephony-common.jar and set proper file attributes (-rw-r--r-),
mount /system R
and afterwards do REBOOT.
on new BOOT there will be "Android updates" files ...
AND WiFi problems HAVE GONE!!
Now you even can do SHUTDOWN or REBOOT with TURNED ON WiFi
AND WiFi will connect before SIM card joins GSM network!!!
Tools used:
ADB
JDK
ApkTool
ES file manager
Notepad+ or Edit+
Credits to:
[TOOL/GUIDE GB/ICS/JB] Decompile/Recompile apk | jar | sign + Basic editing xml/smali
in attachments I put:
google_src_code,
patched_MccTable.smali
*************
For SuperXE 4.2.2 build_6 (MD5=2DBDDB534A7CA6DE627EF75FCE3E7CF0)
more steps reqiured.
SuperXE has other "telephony-common.jar" MD5=C8917C386BA7FD24A0203058BFDC17F5,
so we again perform above steps for patch;
See attached file "SUXE_patched_telephony-common.jar"
now we should replace "telephony-common.jar" in phone.
with ES_file_manager >Tools >Root Explorer >Mount R/W > mount /system RW,
replace telephony-common.jar and set proper file attributes (-rw-r--r-),
Extra step 1
click on "/system/build.prop" and open in ES Note Editor;
seek line
ro.product.locale.region=GB
and change GB to US; confirm OK for save file.
mount /system R
Extra step 2
because of first boots, in Settings database is written our country code,
which should be US.
for this: install "Sqlite Editor", run, grant ROOT access. after program finds
& lists databases, look for & open "Settings Storage" > settings.db > global:
find "wifi_country_code", select it and press menu button > Edit Record;
change value to US and press "save"
if this step is too hard for you, from "wipe data, cache, dalvik"... but many
other stuff will be erased..
Now do REBOOT.
on new BOOT there will be "Android updates" files ...
*************
for VIPERS roms you should patch framework2.jar
then
Extra step 1
click on "/system/build.prop" and open in ES Note Editor;
add line
ro.product.locale.region=US
confirm OK for save file.
Extra step 2
because of first boots, in Settings database is written our country code,
which should be US.
for this: install "Sqlite Editor", run, grant ROOT access. after program finds
& lists databases, look for & open "Settings Storage" > settings.db > global:
find "wifi_country_code", select it and press menu button > Edit Record;
change value to US and press "save"
if this step is too hard for you, from "wipe data, cache, dalvik"... but many
other stuff will be erased..
Now do REBOOT.
*************
attached file CM1012_20130806_telephony-common.jar for AOSP CM10.1.2 albinoman887,
which has original telephony-common.jar file with MD5=90521F154A0E37302496D88DA879EA75
*************
attached file CM102_20131028_telephony-common.jar for AOSP CM10.2 albinoman887
*************
attached file CM11_20131119_Albinoman887_telephony-common.jar for AOSP CM11 albinoman887
"mild" patch!
*************
in MIUIandroid framework.jar should be patched; code line is 188;
also copy from old to new archive file preloaded-classes
attached file for MIUIandroid 3.10.25
attached file for MIUIandroid 3.11.15, use this also up to MIUIandroid 3.12.27
*************
attached file Inspiration_v1.0.1_framework2.jar for Inspiration v1.0.1
which has original framework2.jar file with MD5=8f67ad19fe72513489972cbfd76f244c
*************
attached file Elegancia_Sense_4.1_v7.5.0_framework2.jar for Elegancia Sense 4.1 v7.5.0
which has original framework2.jar file with MD5=a9b34b25201d592f41677c94039b520d
*************
attached file CM10_bruce_20130914_framework.jar for CM10 bruce 20130914,
*************
attached file VIPERS1.6.3_framework2.jar for VIPERS 1.6.3,
which has original framework2.jar file with MD5=3d16f3818e0ce6b7fe201f9188408491
*************
attached file ViperS2-0-0_framework2.jar for ViperS 2.0.0,
which has original framework2.jar file with MD5=c7bd6fa8a2f0fd210f21fd223089d094
*************
attached file ViperS5-0-0_framework2.jar for ViperS 5.0.0
*************
attached pack ViperS5-1-0
*************
attached pack ViperS5-2-0
*************
android1234567 accepts this patch already
http://forum.xda-developers.com/showthread.php?t=2320657
*************
CyanogenMod12 by ivanich 20150118
attached pack CyanogenMod12_by_ivanich_20150118_telephony-common.jar
after replacement go to settings > Backup & reset > Factory data reset and RESET PHONE
*************
seems, many people done patch in their sources:
https://github.com/search?utf8=✓&q=setWifiCountryCodeFromMcc&type=Code&ref=searchresults
HTCZ715E!
some tips:
yep, good tip:
on first installation of ROM, start it without SIM-card.
in attachments some patched files per users requests.
added for [ROM][N1] Evervolv Kitkat 4.4
added for [ROM]Cyanogenmod 11 | kernel 3.4 | dominos_liberty
added for [ROM] [4.4.2] [8.Feb 2014] CyanogenMod 11.0 | KitKANG | PRE-ALPHA | v0.5 for HTC Desire
thanks for share working for me !
Sent from my HTC Sensation using xda premium
question
The explained steps are too much; so as I realized we just need to replace the attached files with the original ones; right?
mohammad0089 said:
The explained steps are too much; so as I realized we just need to replace the attached files with the original ones; right?
Click to expand...
Click to collapse
So you want replace MY ATTACHMENTS with original ones??? : : : ) ) )
HTCZ715E said:
So you want replace MY ATTACHMENTS with original ones??? : : : ) ) )
Click to expand...
Click to collapse
yes if i can; i have the same problem which you mentioned; so can i replace them in all cyanogen mod roms?:
mohammad0089 said:
so can i replace them in all cyanogen mod roms?:
Click to expand...
Click to collapse
patched_AOSP_telephony-common.jar file is for AOSP CM10.1
original file MD5=30BBC2690C8A08A4C5D977BC27D42885
SUXE_patched_telephony-common.jar file is for SuperXE 4.2.2 build 6
original file MD5=C8917C386BA7FD24A0203058BFDC17F5,
CM10-1-20130720_telephony-common.jar for AOSP CM10.1.2, which has original
telephony-common.jar file with MD5=00c7d16ae721ef64dfc1bbf2aee4bf92
one of this file you should copy on sdcard, rename as telephony-common.jar,
then with RootExplorer, replace original file in /system/framework
if original file is same, you can replace.
if not, upload it here.
patch for CM10.1.2 update
patch for CM10.1.2 update.
look in first post
what about sense 4 ROMs? I have same issues on all Sense 4 roms
Fix works perfectly for albinoman887's CM10.1 ROM ! Thanks a ton!
I'm sorry sir but i didn't understand... I've just to replace attached files or i edit first them?
Wifi solve is a flashable file for any rom?
Inviato dal mio HTC Sensation
Please forgive the noob question, but there is a lot of information in the OP, which of the attachments did you run on Albinoman's ROM?
you two,
read post 1 & 7
http://forum.xda-developers.com/showpost.php?p=43773366&postcount=7
HTCZ715E said:
you two,
read post 1 & 7
http://forum.xda-developers.com/showpost.php?p=43773366&postcount=7
Click to expand...
Click to collapse
Thanks
works great on miui 3.7.19
shayan538 said:
Thanks
works great on miui 3.7.19
Click to expand...
Click to collapse
wait, at least in MIUI 3.7.12 I did not sow telephony-common.jar.
instead, did you modified bouncycastle.jar?
mamarda said:
what about sense 4 ROMs? I have same issues on all Sense 4 roms
Click to expand...
Click to collapse
write here ROMs and I will look.
ok, for MIUI MccTable is in framework.jar, thus I creates patch for it. see 1 post
Hi. Where is MccTable for Sense 4 ROMs? I didn't find this strings in framework.jar.
P.S. Found it in framework2.jar. Fixed by the same code. Thnks. It works like a charm.
Mikhei777 said:
Hi. Where is MccTable for Sense 4 ROMs?
Click to expand...
Click to collapse
yeo, search for string updateMccMncConfiguration
HTCZ715E said:
yeo, search for string updateMccMncConfiguration
Click to expand...
Click to collapse
I've patched it already. Thanks again.

PORT ROMS FOR x1Grand -

1. Search and download the ROMs which u wanna port (Phone from which u port the rom must be running on chipset mt6582 and android 4.4.2)
2. No need of any stock rom, download the autoport ,link is given below (in autoport.zip u'll get all the the files/folders that u'll have to replace)
3. And a little patience.
It is only for stock based roms , not for roms like miui, emui, lewa os, etc..
STEPS FOR PORTING-
1. Extract the port rom and Autoport
2. Copy boot.img from autoport to port rom
3. Open system then go to bin folder, copy both pq and vold from autoport to port rom
4. Open lib folder and copy all files from lib of autoport to port rom (only files not folders)
5. Now delete hw folder that is in lib from port rom and copy it from autoport
6. Go back and delete vender folder from port rom and copy it from autoport
7. Go to etc folder and delete firmware and wifi folder from port rom then copy them from autoport , u're done
8. Now zip the port rom and flash via recovery.
9. (most important) dont forget to give credits to the developer of that rom
]
SOLUTIONS FOR MOST FOUND BUGS-
Stuck on bootlogo or black screen comes after boot logo = replacelibMali.so from any working rom for ur device.
Location - system/lib
Screen upside down = open build.prop of ur port rom with notepad++ find this line ro.sf.hwrotation=180 and change 180 to 0 , if it is already 0 then change it to 180.
If u will find more bugs then i m here to help u..
DON'T FORGET TO INFORM WHETHER IT WORKED FOR U OR NOT..
FIND ME ON FACEBOOK
OFFICIAL x1Grand FB GROUP
Solution of bugs..
--Bugs Solution --
This post is for those porters who have facing
bug after successful boot into custom rom
BUG FIXING
Here is few most encountered bugs after porting
and their solutions.
(If you get any more bugs and solutions please
let me know. I will add them here. It will be
helpful for all.)
These r
the
solutions:-
1. FOR NETWORK RELATED ISSUES (3G)
Replace from /etc folder, mddb then replace
agps_profiles_conf, apns-conf,epo_conf, spn-
conf, virtual-spn-conf-by-efpnn, virtual-spn-conf-
by-efspn, virtual-spn-conf-by-imsi
2. FOR WIFI TOGGLE PROBLEM
Replace wide-dhcpv6, wifi in /etc folder
3. FOR INTERNAL / EXTERNAL MEMORY NOT
MOUNT PROBLEM
Replace vold.fstab from /etc folder
4. FOR HIGH AUDIO VOLUME ISSUE
Replace libcustom_nvram.sofrom /lib
5. FOR CAMERA NOT CONNECTED ISSUE /
CAMERA GREEN / CAMERA FORCE CLOSE
"unfortunately camera has stopped"
Replace first libcamdrv.so (needed for 6582
devices) and check if not success then replace
libcameraservice.so from/lib. If still not success
then keep on replacing one file at a time and
check.
Camera problem is the one major bug in this type
of porting. You have to have patience. This will
take half of your energy.
6. FOR AUDIO NOT COMING IN LOUDSPEAKER
MODE
Replace libaudio.primary.default.sofrom /lib
If still sound related problem:
Replace all libaud*.so
Sometimes replacing all audio files give you a
boot loop in that case replace only
libaudio.a2dp.default.so
libaudio.primary.default.so
libaudiocompensationfilter.so
libaudiocustparam.so
libaudiosetting.so
libaudioutils.so
7. FOR FLASH LIGHT NOT COMING FROM
CAMERA
Replace libfeatureio.so from /lib
8. FOR FM PROBLEM
Replace from /lib/module folder mtk_fm_drv.ko
9. TO FIX GPS
Replace from/lib/module folder mtk_stp_gps.ko
10. TO FIX COMPASS
Replace libsensorservice.so from /lib
11. TO FIX VIDEO SHOWING PIXELS AND
GLITCHES
Replace libvcodecdrv.so from /lib
12. SHOWING WRONG RAM INFO IN TASK
MANAGER
Don't change ro.product.device value in the
build.prop.
13. FOR GREEN CAMERA/ LAG / NO WALLPAPER /
NO STATUS BAR (IMPORTANT FILE FOR MT6582)
Replace libdpframework.so from lib folder
14. PROBLEM WITH 2G/3G SWITCH
Open Dialer and type *#*#4636#*#*
If a Pop Up appears go to Phone Information and
choose your preferred network type.
15. PROBLEM DOWNLOADING EPO
Replace in framework folder
mediatek-common.jar
mediatek-framework.jar
mediatek-op.jar
mediatek-telephony-common.jar
16. ANY RESOLUTION PROBLEM
Add this line to build.prop
ro.sf.lcd_density=your phone screen dpi
ex- ro.s
17. SOME KEYS NOT WORKING
Replace keylayout folder under /usr. If still not
work then replace the whole /usr folder.
18. TOUCH SCREEN PROBLEM
(Sometimes screen behaves weird ..means for
example if you touch bottom left effect on top
right ...almost opposite response)
Replace libinput.so from /system/lib folder.
19. BOOTLOOP ON HDC CLONES
Replace libsync.so from /system/lib folder.
20. WIFI TETHERING PROBLEM
Replace dnsmasq from /bin folder.
21. SCREEN IS UPSIDE DOWN
In build.prop find this line
ro.sf.hwrotation=0
change the value 0 to 180.
ro.sf.hwrotation=180
22. Problem with Proximity Sensor
Replace nvram.so, nvram_platform.so,
nvram_daemon_callback.so
23. For inverted touch
Replace libinput.so from system/lib
24. hese are list of libs for responcible for
aoutofocus
system\lib\hw\camera.default.so
system\lib\libcamera_client.so
system\lib\libcameracustom.so
system\lib\libcameraprofile.so
system\lib\libcameraservice.so
system\lib\libmhal.so
system\lib\libmhalcontent.so
system\lib\libmhaldrv.so
system\lib\libmhalmdp.so
system\lib\libmhalpipe.so
system\lib\libmhalscenario.so
system\lib\libmhalutility.so
system\etc\permission
\android.hardware.camera.fron t.xml
system\etc\permission
\android.hardware.camera.xml
25. Sim1/2 (RIL):
\system\etc\firmware\modem.img
\system\etc\permission (RIL)
/system/bin/stmd
/system/bin/rild*
/system/etc/rril
26.For Stuck in boot logo
Replace Libmali.s

Categories

Resources