Modifications To The System And Structure Of A Himalaya's Part.1
Hello from the fact that my work on OS-em-and the Himalaya, have been suspended, I decided to write about cooking light kursik to our old, but the active device. All the tools and commands tyczą only that device. If you do not, although basically in that you do not know, do not start the following modifications to the memory ROM. Let's say that the tutorial is intended for advanced users, or young kuchcików. Starting kuchcenie, we must bear in mind the reasonable thinking, and before any wgramy ROM, our authorship, we must be sure that the changes made responsible. Let's start! :
Compatible:
O2 XDA II, T-Mobile MDA II, Qtek 2020, iMate Phone Edition, TSM500, and other variants PH10
1) Cookware:
To facilitate the work, the light we create an application based on the console (command line).
So, we open any text editor, which uses a record format in a text file -> *. Bat, *. cmd, *. nt (U me it's Notepad + +)
Open the editor and we enter a string of commands:
Code:
@ echo off
: Intro
cls
echo.
echo.
echo.
echo. Designed for Models:
echo. O2 XDA II, T-Mobile MDA II, Qtek 2020,
echo. iMate Phone Edition, TSM500, and other PH10 device
echo.
echo.
echo.
echo.
pause
cls
: phone
echo.
echo.
echo. [1] - This ROM dump
echo. [2] - REGISTRY. Dv To. Rgu
echo. [3] - Change Initflashfiles
echo. [4] - Dump ROM to NK.NBF
echo.
echo.
echo.
echo.
Set / P Choice = Choose:
IF '% Choice %'==' 1' GOTO: 1
IF '% Choice %'==' 2' GOTO 2
IF '% Choice %'==' 3' GOTO: 3
IF '% Choice %'==' 4' GOTO: 4
IF '% Choice %'=='' GOTO: EXIT
set choice =
GOTO: Intro
====================================================================
: 1
cls
echo.
set choice =
echo. in the course of his work ...
title Convert Image System .....
TOOLS \ xda2nbftool-x nk.nbf nk.nba 0x20040304
echo.
pause
title Preparation of system files .....
TOOLS \ prepare_imgfs.exe nk.nba
echo.
pause
title Dump System ..............
TOOLS \ viewimgfs.exe imgfs_raw_data.bin
pause
set compatible = yes
echo. Done!
GOTO: PHONE
====================================================================
: 2
cls
echo.
set choice =
echo.
echo.
set _FLATRELEASEDIR =. \ dump
TOOLS \ rgucomp.exe-nologo-o dump \ default.hv> default.rgu
TOOLS \ rgucomp.exe-nologo-o dump \ user.hv> user.rgu
echo.
echo.
echo.
echo.
echo.
echo.
echo ...
echo.
pause
copy default.rgu TOOLS \ For default.hv \ boot.rgu
TOOLS \ For default.hv \ boot_rgu__default_hv.bat
move TOOLS \ For default.hv \ default.hv dump \ default.hv
set compatible = yes
echo. Done!
GOTO: PHONE
==================================================================================
: 3
cls
echo.
set choice =
mkdir INITFLASHFILES
copy dump \ initflashfiles.dat initflashfiles.dat.txt
initflashfiles.dat.txt
echo.Change this txt.
echo. Save to ....
pause
attrib dump \ initflashfiles.dat-r-h
the dump \ initflashfiles.dat
copy initflashfiles.dat.txt dump \ initflashfiles.dat
attrib dump \ initflashfiles.dat + r
echo.
set compatible = yes
echo. Done!
GOTO: PHONE
==================================================================================
4
cls
echo.
set choice =
title Image Filing System ....
echo. in the course of his work ...
echo.
TOOLS \ BuildImgfs.exe
TOOLS \ make_imgfs.exe nk.nba
TOOLS \ xda2nbftool.exe-c-u nk.nba
TOOLS \ xda2nbftool.exe-x nk.nba nk.nbf 0x20040304
@ move nk.nbf Upgrade \ nk.nbf
@ CD. \ Upgrade \
@ HimaUpgradeUt_noID.exe
Upgrade DEL \ nk.nbf
set compatible = yes
echo. Done!
GOTO: PHONE
Save the file in a format -> *. bat - for example, something called Cook_Rom
* Remember that this process will be repeated in order to build the \ in the line ..
Info:
-> [1] - This ROM dump - spread your ROM - the file nk.nbf on parts (Files and Modules)
-> [2] - REGISTRY. dv To. rgu - default.hv extract the files and registry user.hv, compiles to. rgu, which gives us the freedom of its readability and modification
* IMPORTANT: we need to remember that each of these files:
- In the first line had entered the name "REGEDIT4"
- Between each row, you must free at least one line
- All the registry files must be encoded in Unicode - the aforementioned editor has such a function
-> [3] - Change Initflashfiles - this file is compiled with. dat to. txt, mainly used for relocation and arrangement of folders on your system
-> [4] - Dump ROM to NK.NBF - Our modified, or ported ROM together, that is, the file nk.nbf
After:
Spread shell ROM into:
• Create a directory eg Hima_Cook
• Copy to the:
- The basis of our work, namely the file -> nk.nbf
- We created above Create_Rom
• In Hima_Cook, create a subfolder:
- TOOLS
The subfolder Tools , we copy the necessary tools:
• xda2nbftool.exe
• prepare_imgfs.exe
• viewimgfs.exe
• BuildImgfs.exe
• make_imgfs.exe
• RecMod.exe
• rgucomp.exe
• cereg400.dll
• cecompr_nt.dll
• HimaUpgradeUt_noID.exe - this is one of the applications that our upgrade snapshot of the phone in Bootloader mode
Create another subfolder called "Upgrade" - Copy to him HimaUpgradeUt_noID.exe
In a further process, find out why some of the commands and the names of folders and tools are the essential, only to say that we need to carefully watch all of our lines *. bat . In this file there are commands to copy, move, modify, and run different applications and files.
Over time, understand the functionality and capabilities, which gives us this form of cooking.
Features:
The --title gives us the ability to change the information in the process of the upper beam on the console
Outro:
Everything described above gives us mainly TRADE dump folder and open all sorts. All tools and folders are arranged in an appropriate manner, so we can be sure of our small stoves that can not cause any error, when pichceniu. Another positive side, this is well and that our system consists in a single whole
In the following parts of the course, we'll include as a basis to modify, add applications, etc. I invite you to Part Two ...
Next part of the course coming soon....
just ask for sumthin,,,
this is good post(best i think)
but i wanna i ask you sumthin,, can u share what software are u use for,,coz for me learning by doing was better than just watch...thanx for your hard works...
THX, for the beginner is the science .... to better understand the whole principle of subsidies. I will finish this course, as soon as possible ....
This is a good service...
This is a good service to my friends thank you very much.
Very please
i m done with
USER.HV
DEFAULT.HV
still cant find BOOT.RGU in dump folder...
i've also checked the hidden files....
where to get TOOLS FROM?
CAN ANYONE GIVE A LINK
CANNOT FIND =
The subfolder Tools , we copy the necessary tools:
• xda2nbftool.exe
• prepare_imgfs.exe
• viewimgfs.exe
• BuildImgfs.exe
• make_imgfs.exe
• RecMod.exe
• rgucomp.exe
• cereg400.dll
• cecompr_nt.dll
all ok now found files in many himalaya kitchens...
I invite you to Part Two ...
hey nosker ...
any news or will it happen-I invite you to Part Two ...
will you do a part two ???
would be good for himalaya users!
Nokser no longer have a himalaya.
advanced15 said:
hey nosker ...
any news or will it happen-I invite you to Part Two ...
will you do a part two ???
would be good for himalaya users!
Click to expand...
Click to collapse
try and pm him.
I am using a diamond with Energy rom, very nice interface but it eat up a lot of ram.
each time i want to run my garmin i have to go to setting home and disable htc sense in order to gain enough memory.
is there any application which can automatically help me switch off sense when i launch garmin, and restart sense when i close garmin?
would appreciate if anybody can give me a idea.
thanks.
there is a script (.cab file) h**p://forum.xda-developers.com/showthread.php?t=598342
sry for ** i cant make links
this is the script (iGo-launcher.mscr), that you still have to adjust for garmin
Code:
If ( ProcExists("igo8.exe") )
Exit
EndIf
PRG=1
STR=2
# WWE
dirs[1][PRG]= "Program Files"
dirs[1][STR]= "Storage Card" [COLOR="Red"]<<<< path from you internal storage, you must edit for diamond !!![/COLOR]
# ITA
dirs[2][PRG]= "Programmi"
dirs[2][STR]= "Scheda di Memoria"
# GER
dirs[3][PRG]= "Programme"
dirs[3][STR]= "Interner Speicher"
# DUT
dirs[4][PRG]= "Programmabestanden"
dirs[4][STR]= "Opslagkaart"
# SPA
dirs[5][PRG]= "Archivos de programa"
dirs[5][STR]= "Tarjeta de almacenamiento"
lang_count= 4
lang= 0
i= 0
While ( lang=0 and i<lang_count )
i= i+1
If ( DirExists( "\" \ dirs[i][STR] \ "\" ) )
lang= i
EndIf
EndWhile
If ( lang = 0 )
Message ( "Unsupported language." )
Exit
EndIf
ShowWaitCursor
manilastate= ProcExists("manila.exe")
If (manilastate)
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",0)
RedrawToday
Close(ActiveWindow())
RedrawToday
endif
Kill("Messaging_Client.exe")
Kill("fexplore.exe")
HideWaitCursor
If ( FileExists("\Windows\htcAddicts_cleanRAM.exe") )
RunWait("\Windows\htcAddicts_cleanRAM.exe")
ElseIf ( FileExists( "\" \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
RunWait( "\" \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe" )
ElseIf ( FileExists( "\" \ dirs[lang][STR] \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
RunWait( "\" \ dirs[lang][STR] \ dirs[lang][PRG] \ "htcaddicts cleanram\htcAddicts_cleanRAM.exe") )
EndIf
RunWait( "\" \ dirs[lang][STR] \ "iGO8\igo8.exe" )
Sleep(5000)
Kill("Repllog.exe")
While ( ProcExists("igo8.exe") )
IdleTimerReset
Sleep(500)
EndWhile
If (manilastate)
ShowWaitCursor
RegWriteDword ("HKLM","Software\Microsoft\Today\Items\HTC Sense","Enabled",1)
Run("\windows\manila.exe")
HideWaitCursor
RedrawToday
endif
it works perfect for igo8.
I hope I could help you a bit and sorry for my english, am from germany
bye
Hello,
I'm a noob to Android but not so much so with Linux. I have a new Samsung Galaxy S GT-I9000M which I rooted, installed DropBrear and BusyBox, and now I have control.
I cross-compiled mplayer on Fedora 14 Linux and have a build which plays video but no sound. Moreover, I downloaded the mplayer build referred to in another thread and it doesn't work too. I also scoured these forums looking for a solution with no luck.
Apparently, I can't find a compatible device in /dev. Mplayer complains that /dev/dsp doesn't exist so I pointed it at the what I believe is the correct device /dev/snd/pcmC1D0p. This is the playback device for the Wolfson WM8994 sound device (cat /proc/asound/card1/pcm0p).
Question, has anybody got mplayer working on this particular phone? If so, what is the trick?
FYI, below is my build script. At one point I had to manually intervene when an assembler file is compiled and add "-march=armv5te" to the compile command that configure didn't do. I resumed make afterwards.
Code:
#!/bin/sh
set -x
export ROOT_DIR=/home/zippy/Android/Mplayer/MPlayer-1.0rc2
export CROSS_COMPILE=arm-gp2x-linux
cd $ROOT_DIR
./configure \
--enable-cross-compile \
--host-cc=gcc \
--target=arm \
--enable-armv5te \
--enable-fbdev \
--disable-mencoder \
--disable-libdvdcss-internal \
--disable-dvdread-internal \
--disable-dvdread \
--disable-dvdnav \
--cc=$CROSS_COMPILE-gcc \
--as=$CROSS_COMPILE-as \
--ar=$CROSS_COMPILE-ar \
--ranlib=$CROSS_COMPILE-ranlib \
--enable-static
export CFLAGS="$CFLAGS -march=armv5te"
make clean
make
anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.
novatord said:
anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.
Click to expand...
Click to collapse
Post your fastboot getvar all and a link to RUU you're trying to flash. Be sure to delete your IMEI and serial no from getvar all
dey tuuk ur juurbs
novatord said:
anyone know how I can fix that mistake , I flash my ruu but I get this error and do not know how to fix it:
C : \ Users \ Project \ Desktop \ adb > fastboot oem rebootRUU
... ( Bootloader ) Start Verify : 3
OK
Execution time is 31 (ms )
C: \ Users \ Project \ Desktop \ adb > fastboot flash zip RUU.zip
error: preprocess_file : Can not open file RUU.zip.
Click to expand...
Click to collapse
Please don't start more than 1 thread for the same problem
http://forum.xda-developers.com/htc-one/help/htc-one-m7-help-t3349507
http://forum.xda-developers.com/announcement.php?a=81
Could you give me a little hand to reduce this code and make it more bearable because they (codes) will be a series of consecutive actions, and in a single command line in Tasker.
What I want to do in short?
1. Compress a file (or folder)
2. Add a name to the final file
3. Apply compression to the generated file
4. Delete ONLY contents of the folder that ended compress
5. Move the file was created before to the empty folder
Here is the code:
Code:
cd /xxx && tar -cf xxx_%DATE.xxx "$$$" && gzip -x xxx_%DATE.xxx && cd "###" && rm -r * .* && cd /xxx && mv -f xxx_%DATE.rar.gz "€€€"
And this is the description that I will offer users who use it:
Code:
[cd /'xxx'] = path to backup folder (parent dir) ; ['xxx'_%DATE] = file name (no name spaces) ; ['$$$'] = folder with files to back up ; [gzip -'x'] = compression level (1-9) ; [%DATE.'xxx'] = files container (.zip/.rar/.tar) ; ['###'] = same as -> '$$$' ; ['€€€'] = same as -> '###' & '$$$'
Mmmm, I'm sure you have several questions, so I will try to answer all possible question you could ask:
- What is the path that you think to work on?
-> If possible, in the external memory (SD Card)
- Why did you use in all commands the '&&' concatenation?
-> Just because I don't want to run the following command if the above fails for X reason. Just for security.
- What the variable '% DATE' does in your generated files?
-> All the code you see above is part of a larger task that will be used to create backups of various things, in short: BACKING UP. Well I include that variable because I want Tasker to add to the file name the date when the backup was created.
- Why do you offer the ability of choose the container file extension?
-> At first I thought it would not be possible and that failure or something would occur, but as I tested it, nothing happened. So I offer users the ability to generate the container they want. And as the final file (.gz) after compression, you can easily open it, so...
- Why do you use the quotes in some parts of the code that refer to a directory to compress, or to dump the created contents (move)?
-> Not really would take, well at least that I've experienced. But I decided to added it because, in my case, I have folders which their names have spaces, and without adding those quotation marks ("...") I can not find the directory that want to access, I guess it can happen to other people.
- When you begun using the command to create file container, like moving file, why do you position yourself in the directory first and then do the action, rather than perform all in the same code?
-> This is what I've tried so far, but do not know why I couldn't. Every combination I tested: FAILED, then I decided to separate positioning directory commands of leading compression actions, moving files, etc.
Well, I think the rest of you get the idea of that or how it works, but if not, ask to me.