Need help with changing roms in kitchen - Nexus One Q&A, Help & Troubleshooting

I have a little kitchen experience in kitchen but don't know how to get a couple of apks from my windows machine onto my virtual machine want to add them in. and also want to know how to add a overclock kernel as far as Ive got is i have rom in zip and overclock kernel in zip. just want to post my version of cm5.0.6 with few extra apps and a few taken away with the overclock kernel in one zip. can post it as the two zips just flash rom from recovery do not reboot then flash kernel then reboots works fine but i want to add the extra apps and put it all in one easy flash zip thank you for all help.

Related

[Q]10mb ram hack

In my opinion it would be much easier to add a script to the sd then to flash a entire new rom. is it possible for the rom to boot and read a script on the sd enabling the 10mb hack so we dont have to wait for WG to release a rom.
BReK316 said:
In my opinion it would be much easier to add a script to the sd then to flash a entire new rom. is it possible for the rom to boot and read a script on the sd enabling the 10mb hack so we dont have to wait for WG to release a rom.
Click to expand...
Click to collapse
You don't need a new rom just the hacked boot image. Someone always posts one for the CM roms when they come out. Look in the development section, find the wg's thread and ask if the current 10 meg hack for the latest CM rom will work on his rom. I don't know if he used CM's boot.img file straight up or not.
Also read:http://forum.xda-developers.com/showthread.php?t=566410
^ yeap. Just download and go to Terminal and be done with it.

[Q] CM post install script?

Just wondering if there is a mechanism for running a custom post install script after flashing a rom, specifically CM.
There are things that I always do after I flash a rom and it would be nice to be able to do these as a part of the flashing process, so I don't forget. For example, symlinking /system/etc/hosts to /data/data/hosts. I also would like to remove the videos app as it serves no purpose since the 3D gallery displays my videos in it.
It would be awesome if I could have a script on the SD card that would just get executed right before reboot after the rom was flashed.
A bit less elegant than what you're suggesting, but I just made an update.zip to do that symlinking. Have to apply it with ROM Manager after flashing (so an extra reboot when flashing a new rom), but it beats booting into recovery and doing it by adb.
Link if anyone is interested: http://oysteivi.tihlde.org/adfree-symlink.zip
With this flashed, the "adfree android" app seems to work nicely when I tick "symlink from /data/data/hosts".
Didn't feel a need to remove the videos app, but it should be easy to add it in there. Just add something like this to the update-script in the zip:
delete SYSTEM:app/Videos.apk
(untested, and you'll have to replace "Videos" with the actual apk name. I'm too lazy to check what it is )
This is pretty much what I was looking for, thanks a lot!
Hi there,
Thanks a lot, due to this zipfile I finally got adfree working appropriately.
zorro

1. Kernel and 2. Rom Error Questions

I tried to word the title correctly to establish that I want to ask 2 different questions, but dont want to clutter up the board with 2 separate posts
Please help if you can
1. Kernel
Why do some kernels work with some roms and not others? I have taken a Sprint Rom, ran it through the kitchen, and tried flashing any number of kernels. The only one that works is Zenulators AnyKernel. I know at times only the stock overclocked worked, but I think at certain times I have gotten the no perf lock to work (though that may have been with an NFX Rom, and not one that I created myself). This leads me to ask why would a kernel work for a rom that is built from the same base that I am using, but not on mine? Is dsixda's kitchen not the one everyone uses? I just dont understand why I am limited to one kernel that is not undervolted and overclocked. I would like to put a 768 overclocked, undervolted kernel with this rom, but cant get any to flash. Should I just use the kitchen to "port" the kernel. How does nfinitefx45 get the kernels he posts to work with a Sprint base? Is the kernel edited in some way? Im not calling anyone out, just trying to learn how to get a good kernel to work with my rom.
2. MAJOR issue: when running df, I get an error that etc/mtab: no such file or directory. What I have done is in the paragraph below
I decided to take another cracked at a minimal Sprint 2.1 Rom. I used dsixda kitchen 0.107 to root, add busybox, remove boot sounds, deodex, add data/app, add nano + sysrw, sysro, bash, and zipalign the .7 Rom. I then removed all Sprint apps except for VVM, all google apps, all htc apps and widgets that were not explicity needed (need the contacts and ime apks among a few others), removed a ton of system apps (can provide a list of current system/app dir and a list of all that was removed if it will help). I edited the lockscreen so it wasnt in landscape mode all the time. Added an OMADM.apk file that didnt FC when I tried to update the prl (tested the update and it works). I did find an EPST.apk that adds ## codes back to the dialer (should I include that in the rom...wasnt intending on it as the only ## code that doesnt work is the prl...data works) OMADM.apk is smaller that the EPST...but EPST does exist already...and I might be able to pull OMADM meaning 0 firmware, profile, or prl updates...but you could do ##prl manual...I dont know, still thinking it through. I did end up creating a google apps zip file with the apps from the .7 rom so that market will work (removed maps as it wasnt up to date and the Streets.apk never worked, but left gmail, youtube, voice search to work with jonasl's htc keyboard, and of course gtalk). In doing this, I am thinking about creating some packs for the rom, but really need the above 2 questions answered to find out where to go from here.
evilvoice said:
1. Why do some kernels work with some roms and not others?
2. MAJOR issue: when running df, I get an error that etc/mtab: no such file or directory. What I have done is in the paragraph below
Click to expand...
Click to collapse
afaict, the 'kernels' are literally just the linux kernel that provides some basics to the os... altho linux IS a monolithic kernel, it is not a bsd-system that has all the tools completely-compiled for the system together...
thus, the answer to 2. is that you have deleted too much of the periphery, for instance the actual mount-table system that df uses to to check... (ie: some prog creates the mtab, and apparently it is not the kernel, i guess)
alternatively, the answer to 1. is that there is actually too much in the roms that are using something unique to each kernel that you are trying to install (altho that seems odd to me)... thus, the only way that the rom will work is if you give it the kernel with the tools that it (the rom) needs...
tbh - im not exactly sure - ive not gone into the depths of kernel-swapping that youre trying to explore... in full-linux-systems, the kernel is fairly easy to update without breaking all of the miscellaneous tools - however apparently the android-roms are more tied-together than a normal linux system...
gl and maybe someone with more experience will give an accurate (rather than a guessing) answer...

[Question]:zImage and modem binary swaps

I like to tweak my ROMs before a flash. i.e. make changes to /system apps; framwork tweaks... etc.
However, whenever I try to replace a kernel zImage or modem binary(using 7z, so as not open archive), I get stuck at a bootloop.
I can replace .apks and .pngs no problem using this method.
Can zImage and .bin be replaced as well? Does redbend also need to be copied? Since .bin and zImage reside in same folder in ROM... which redbend to use if needed?
Thank you?
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Br1cK'd said:
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
Click to expand...
Click to collapse
Exactly what Br1cK'd said. Use the redband that's with the kernel. If pulling the kernel from a rom and a modem from a different one same deal. Also be careful which kernels you use ie: right kernel for phone and version of Android.
d33dvb said:
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Click to expand...
Click to collapse
No sir it is not quite that simple. Proper settings have to be in the update script for everything to install properly. Replacing one file for another of the same name usually works and some files can be added but system apps and additional folders need to be in the update script.
Br1cK'd said:
Whenever I use a new kernel in Loki, or test one personally, I use the version of redbend that the dev included with their kernel initially. Modem does not seem to matter. Are you using a kernel that is meant for the version of Android that matches your rom? If you want to, specifically, what are you using?
Click to expand...
Click to collapse
Br!ck'd, fan of your work and EDT as a whole... great dev team! It happens on any kernel/ROM combo I have tried, which is interesting. Update.zips just carry signed certs and simple copy bash scripts, essentially pushing new files to correct directories, correct? I definitely check for kernel compatability before, I am noobish, not noobtacular
d33dvb said:
This is interesting to me as well, as I did not know you could flash a zip that had been added to, so can you briefly explain how this is done? I would much rather inject my apps than do the titanium backup dance.
I also noticed that SGS Kernel flasher flashes the zImage by simply copying it, and rebooting.
If you are about to tell me I can manipulate my FS to add anything i want, in an update.zip, then sir, I love you.
BTW, if its a simple explanation, whats the redbend file do?
Click to expand...
Click to collapse
1. I believe redbend is samsung tool for flashing volatile memory (NAND).
2. You can use 7zip to explore archives/apks without extracting them and breaking signings. Thus you can simple copy paste .apks/.pngs to appropriate directories without extracting
Most update zips are the actually apk and simple scripts in a flashable container. Roman form EDT has an excellent tool for creating flashable zips if interested... but yes you can manipulate file system of phone and archives. I use adb from recovery. Or android commander is a useful tool as well
EDIT: Explodingboy gives better explanation above
I use untermench's modified redbend. It's the same thing except it removes that ugly blue splash screen every time it is run. That said, I've simply copied over OS and CW into the trigger zips to override the stock kernel. And I never received any reports if it not working from anyone (and I've had releases with both).
Point being, in my experience it doesn't really matter (so long as everything matches). I've done the same for previous modems.
And as you said, all it's doing is copying them to the proper partitions.
Sent from my SGH-T959 using Tapatalk
birgertime said:
I use untermench's modified redbend. It's the same thing except it removes that ugly blue splash screen every time it is run. That said, I've simply copied over OS and CW into the trigger zips to override the stock kernel. And I never received any reports if it not working from anyone (and I've had releases with both).
Point being, in my experience it doesn't really matter (so long as everything matches). I've done the same for previous modems.
And as you said, all it's doing is copying them to the proper partitions.
Sent from my SGH-T959 using Tapatalk
Click to expand...
Click to collapse
Very cool... thanks.
Also, you are going to think I am crazy... but that ugly blue splash screen can tell me if it is a bad flash or not. When it happens on the top of screen= good flash, on bottom = gonna need to flash again, cause behavior goes wonky. Maybe just bizarre coincidence???
Poser said:
Br!ck'd, fan of your work and EDT as a whole... great dev team! It happens on any kernel/ROM combo I have tried, which is interesting. Update.zips just carry signed certs and simple copy bash scripts, essentially pushing new files to correct directories, correct? I definitely check for kernel compatability before, I am noobish, not noobtacular
Click to expand...
Click to collapse
I've seen you around, you're not noobtacular, but hell I'm still way noobish about a lot of things. Dig the avatar btw. I don't know if I can give an intelligent enough answer to your question, would probably have nobody running Loki by tomorrow, lol. Have you grabbed any logs, or tried to, while its looping?
I have no issues doing this with winrar.
Sent from my Amazing Captivate using the XDA Premium App Infused with Tiger Blood
Br1cK'd said:
I've seen you around, you're not noobtacular, but hell I'm still way noobish about a lot of things. Dig the avatar btw. I don't know if I can give an intelligent enough answer to your question, would probably have nobody running Loki by tomorrow, lol. Have you grabbed any logs, or tried to, while its looping?
Click to expand...
Click to collapse
<Palm to forehead> Probably should logcat... duh.
Just flashed with with custom kernel/modem combo... seems to be booting fine, will report any anomalies.
Only thing I did different was copy zImage and redbend from Kernel.zip
Thanks peoples!

[ROM] (OFFICIAL) [email protected]_2.3.3_v2- Power Menu +franco-kernel+New Boot+ How to Guide

First of all I must say thanks to all those people who's research helped me made my first Custom ROM Based on LG v20g and wanted to share it
ciaox
andy572
doktornotor
stormpack
janitux
tkirton
Thank you all
ROM FEATURES
_____________________________________________________________
ROM Name [email protected]_2.3.3_v2
New Changes in v2
Now Overclock your Stock ROM with franco.Kernel |.v1-PRE.RELEASE2| 2.6.35.10
Now Supports EXT4 but I would suggest using EXT2
Custom boot animation allowed and added android eats apple
Patched Lib SQLite 3 for Better IO speed
HEAP size set to 40
CM7 DSP manager added
stagefright player-disabled
added new tones
app2sd variation included (look in the download section-the first boot will take some time....so dn't be in rush )
Some apps and widget are removed(Can be installed by Flashing the zip file in the download section-This apps will be installed in data/app so that you can uninstall them later.)
Code:
AnalogClockWidget
BookmarksWidget
CalendarWidget
ClockWeatherWidget
ConnectionManagerWidget
DigitalAlarmWidget
DualClockWidget
Facebook
GenieWidget
Gmail
Maps
MemoWidget
MessageWidget
PhotoWidget
thinkdroid
Twitter
VoiceSearch
YouTube
OI File manager added
Rooted
BusyBox installed
Added /etc/init.d scripts support
No Apps2SD (Apps to EXT) To get that Try flashing Darktremor App2SD Make sure your EXT partition is EXT2,
EXT3-is not tested and EXT4 is not supported
to change the ext partition easily chk here
Bash shell support
/system/framework is deodexed
/system/app is deodexed
LG launcher
LG STOCK Keyboard
Zip Aligned apk
flashable with ClockWorkMod and amonRA....
HOW to Flash the ROM [email protected]_2.3.3_v2
_____________________________________________________________
Attention This can only be done in Windows PC
Download all of the file in the download section
Extract Romania V20G.zip to any folder
First connect your Phone through USB(Make sure you have all the USB Driver Installed)
Disable LG Virtual modem in the device manager reminded by Lawful123
Then open LGMDP THUNDER v1.5 (To download it look at the Download section and put it in a folder)
Click on Select Port
check your Phone and click on connect (If it doesn't Show your Phone then Go to Setting > application > development > and check USB Debugging )
Choose your Image Folder(Extracted Romania V20G folder) and all other file will be added automatically
Then un-check Recovery Image If you have CWM recovery (the recovery img in Romania V20G is CWM 3.1.0.0 recovery )
After That you will see a drop-down menu where the default value is None, Select Erase EFS APPS and click ok on the pop up.
Now click on start.......Wait LGMDP will backup your nv2 file(nv2-file includes e.g. you IMEI or MAC-Address..so your phone will not work without this !!! )
after that It will put your phone to emergency mode wait.....till LGMDP finds your phone and start the installing process.
Now Take a cup of Coffee and enjoy till its done
Then It will reboot your phone(if it doesn't reboot automatically then just press the power button) and restore the backed up NV2 file automatically(Do not I mean Do not Cancel this process or your phone will be bricked )
It will reboot(if it doesn't reboot automatically then just press the power button) after the NV2 file restoration is completed.
and your Done with LGMDP!!!!!
Now let the phone start up and configure if you want.
After this stage you can use the official v20G without any customization or root.
If you want Root and other posted features then Switch Off your phone and enter to the recovery and follow the below steps(hold down Home+vol dwn button and press and hold power button until you see the CWM recovery)
Flashing [email protected]_2.3.3_v2 via CWM Recovery....Process
[*]Enter into recovery
[*]and wipe all(wipe data/factory reset)
[*]wipe cache
[*]select mount-storage and format system
[*]install zip from sd card
[*]and flash [email protected]_2.3.3_v2.zip
[*]and enjoy!!!!!!
How to change ROM Easily
Answer is Mik's new-baseband-patch
In past if you wanted to install any Custom ROM after you flashed official 2.3.3, you had to use KDZ tool to go back to Official 2.2 to get the network working.
but now you can easily flash any custom ROM by recovery. and if you do not see network(as you won't) then flash new-baseband-patch and bingo now you have signal....
BTW If you face any GSM or DATA related Issue after flashing this patch then report this to mik not me........
Download Section
_____________________________________________________________
[email protected]_2.3.3_v2(MD5-3EA4E4584105D812B97F7D95A9877C7B)
[email protected]_2.3.3_v2_a2sd(MD5-4C0C208C4E3307332A6B7685A0CE397D)
Romania V20G(MD5-F6887E28209C595CFAF4C1A2B7478CA9)(Multiupload link will be added later)
LGMDP-v1.5.exe
Removed apps for [email protected]_2.3.3_v2.rar
Power Menu MOD with Circular Battery MOD (thanks to PaoloM70 and doktornotor )
Mik's new-baseband-patch
[email protected]_2.3.3_v1.2(MD5 hash-571B9C20C6B3A83634F3C0DDDF368F38
Help and Suggestion will be appreciated
Thank you
Good for you
WOW.. Someone actualy posted instructions, good on you for taking the time to do that.
I think there is something in device manager that has to be disabled before doing the above steps.
I thought is was funny to see a stock rom hit in the 900 in quadrent. Will try the rom tomorrow.
Lawful123 said:
WOW.. Someone actualy posted instructions, good on you for taking the time to do that.
I think there is something in device manager that has to be disabled before doing the above steps.
I thought is was funny to see a stock rom hit in the 900 in quadrent. Will try the rom tomorrow.
Click to expand...
Click to collapse
Thanks for your suggestion but I never disabled it. but I will include in the instruction for safe keeping.
downloading now 1 request plz can u make some themes or themes chooser for ur cfw it will be more awosome
can i use INTERACTIVE DATA2SD with this rom
So what's different from doktornotors version. And is this flashable via Sd card
Hi, what are the differences between this and the one posted in the http://forum.xda-developers.com/showthread.php?t=1140862 ?
han-shinbi said:
Hi, what are the differences between this and the one posted in the http://forum.xda-developers.com/showthread.php?t=1140862 ?
Click to expand...
Click to collapse
It is already written here? "My" ROM is a stock rooted LG v20g with a2sd, no other changes done.
This may sound stupid but why can't you just flash the ROM why all these steps also can you add any other mods after you flash the rom??? Like franco tweaks or ungazes data2sd????
Sent from my LG-P500 using XDA Premium App
This ROM is an official one that's why I won't flash it. LG will never be better than mik, andy or franco. However, I have a question : where can I find the icon's of the settings app from your ROM ? I like them and I want to modify a little mik's ROM to add these icons for myself
dislplin01 said:
This may sound stupid but why can't you just flash the ROM why all these steps
Click to expand...
Click to collapse
Because it uses new baseband. So otherwise you will have no GSM. Answered over and over again.
doktornotor said:
Because it uses new baseband. So otherwise you will have no GSM. Answered over and over again.
Click to expand...
Click to collapse
...or otherwise your phone won't start like in my case
doktornotor said:
Because it uses new baseband. So otherwise you will have no GSM. Answered over and over again.
Click to expand...
Click to collapse
I didn't see it above and have not looked at your roms thread thank you for the answer
Sent from my LG-P500 using XDA Premium App
dark-k said:
This ROM is an official one that's why I won't flash it. LG will never be better than mik, andy or franco. However, I have a question : where can I find the icon's of the settings app from your ROM ? I like them and I want to modify a little mik's ROM to add these icons for myself
Click to expand...
Click to collapse
It's theme. Use Nt-sense CM7 theme.
Sent from my LG-P500 using XDA Premium App
for me its getting restarting every 5 minute!and its very hot! the display and the battery its on fire!!!!and the icons from top bar has inverted...its white...any idea?everytime i try to install something from market its getting restarting.....
mujju85 said:
can i use INTERACTIVE DATA2SD with this rom
Click to expand...
Click to collapse
i think u can use it but i havnt tested it.try using EXT2 partition.
untitledmangxg said:
for me its getting restarting every 5 minute!and its very hot! the display and the battery its on fire!!!!and the icons from top bar has inverted...its white...any idea?everytime i try to install something from market its getting restarting.....
Click to expand...
Click to collapse
try installing this rom by following the guide given in the 1st post.
i have done all steps like in first post....it was fault of interactive data2sd...dont install.....
untitledmangxg said:
i have done all steps like in first post....it was fault of interactive data2sd...dont install.....
Click to expand...
Click to collapse
Then its better to stick to a2sd. Later I will test d2sd and let you guys know if it works.
BTW I am using EXT2 Partition.
@cyber_avijit:
Do you want a private howto on adding powermenu? I'll give you one if u want.

Categories

Resources