yashsingh1/xdaforums huggingface dataset:
[Optimus One, P500 Android Development] DJBhardwaj:
Got it! Thanks alot :-)
[Optimus One, P500 Android Development] DJBhardwaj:
Yes i am using cygwin ;-)
[Optimus One, P500 Android Development] DJBhardwaj:
Starting from the basics, what if i want to add root, busybox and superuser to my rom ?
[Optimus One, P500 Android Development] DJBhardwaj:
Thanks again. Thanks to all of you to make this a ease.

One thing more, before startimg everything. I have my stockrom.zip not present in kitchen. Do i need to extract it and put it in kitchen folder?
[Optimus One, P500 Android Development] onlymeipse:
I'm trying to add a custom powermenu to my self-cooked rom, but when I open the framework-res.apk I can't find any values folder...

I'm following this guide http://xdaforums.com/showthread.php?t=945218 and using the stock Froyo framework...

Can anybody help me?
[Optimus One, P500 Android Development] 4silvertooth:
Don't extract it put that zip in original update folder of kitchen then run the kitchen enter option one, which extracts the zip in a folder name working......... and that's where you make changes discussed before. The busybox root zip align all option are there in kitchen menu.
[Optimus One, P500 Android Development] DJBhardwaj:
God! I am sounding like a dumbo right now! but how to open the kitchen ?

i mean how to run it ?
[Optimus One, P500 Android Development] andy572:
there is a executable "menu" or (might be in windows) menu.exe in the kitchen root folder - start it and you see the kitchen
[Optimus One, P500 Android Development] 4silvertooth:
Open cygwin than at promt CD Enter

than at prompt type "./menu" without the quotes. ". Or "exec ./menu" I forgot try both.
[Optimus One, P500 Android Development] Bytecode:
The kitchen is quite user-friendly,no need to explain things :)
[Optimus One, P500 Android Development] Bytecode:
I can. Click on my "cook rom very easily" link in my sig :)
[Optimus One, P500 Android Development] onlymeipse:
Yeah, already deodexed and extracted framework-res.apk but can't find the "values" folder... In "res" there are just anim, color, drawable, layout, raw and xml folders...

BTW thx for the hw and the zram guide ^^
[Optimus One, P500 Android Development] r291:
you have to use apktool or apk manager to decompile frameworkres.apk and make your changes to certain xml files like string and public. Check the tutorial under LOL rom.
[Optimus One, P500 Android Development] andy572:
Modifying binary xml files is nothing for beginners!

btw:

for every change that u make: back up the files before!
[Optimus One, P500 Android Development] DJBhardwaj:
Thanks given to ciaox, andy and 4silvertooth for helping me learn. Thanks alot guys

I am in!

you will soon see a rom by me !

If any of the problems follow me, i will ask you guys.

Thanks again!
[Optimus One, P500 Android Development] Bytecode:
What are you talking about bro? I didn't mention the values folder there.
[Optimus One, P500 Android Development] janitux:
correct me if i'm wrong but, when you flash the rom/update/etc trough recovery, it executes the instructions found in update-script, it has a few lines that set the proper permissions for the files (When it copies recursively the folders, or directly using setperm), so, i think it's not a problem to cook arom under windows (btw, i prefer to build it under linux too :P)
[Optimus One, P500 Android Development] Dr.Alani:
If I want to add another language to the ROM. Is that possible? If I get a base stock ROM that does not have Arabic and add this language to it?

If possible, how?
[Optimus One, P500 Android Development] Turducken:
Great guide, thank you!!

Why select gcc instead of gcc4?
[Optimus One, P500 Android Development] janitux:
not really sure if it's a big difference, never bothered to check the versions of gcc (When you install cygwin you can check that on both packages). My guess is that it's just the same package or that it will work with any of the packages.
[Optimus One, P500 Android Development] SnegovikRZN:
Hi! I'm not running the script 05cpuclock in my ROM. Maximum and minimum frequency changes, but governor is no changes

(rename 05cpuclock and open)

Help me please
[Optimus One, P500 Android Development] ginco95:
Hey guys can you please tell me how to integrate the new kernel of franco in my custom rom?
[Optimus One, P500 Android Development] onlymeipse:
@ginco: If I don't get wrong you just have to change the zImage file in your boot.img... There's a tool for doing it with the kitchen in the advanced options: unpack your boot.img, replace stock zImage with franco's one and repack boot.img from the kitchen...
[Optimus One, P500 Android Development] terratrix:
i cant seem to compile unyaffsmbn, i followed the code but it says no file such or directory and no input files.
[Optimus One, P500 Android Development] 4silvertooth:
Google for unyaffsmbn.exe and use it.

To compile give coorect path of unyaffsmbn.c to gcc.
[Optimus One, P500 Android Development] mastershefis:
After this:

find bin -type l -exec rm {} +

I got this error:

find: Unknown argument to -type: 1 :confused:
[Optimus One, P500 Android Development] dr.notor:
Well, l =! 1 :D
[Optimus One, P500 Android Development] mastershefis:
Solved. I saw it when I copy it there :D
[Optimus One, P500 Android Development] AsherChua:
Guys I'm stuck at step 2! Can't seem to open DZDecryptor.zip! Help?
[Optimus One, P500 Android Development] terratrix:
extract it...
[Optimus One, P500 Android Development] AsherChua:
Thanks! Solved! However,my cygwin can't seem to download the requirements,it would say that the download is incomplete at the 99% mark :/
[Optimus One, P500 Android Development] samrox144:
download the cygwin package from dxida kitchen thread...and install it from that ..it will work ..you have to select all packages from that
[Optimus One, P500 Android Development] AsherChua:
Thanks for the help!
[Optimus One, P500 Android Development] AsherChua:
After setting up Cygwin,I realised its not a folder. So do I go about copying the extracted files from unyaffsmbn, system.mbn and boot.img to Cygwin then?
[Optimus One, P500 Android Development] terratrix:
follow instructions
[Optimus One, P500 Android Development] AsherChua:
I'm asking because I don't get the instructions :P
[Optimus One, P500 Android Development] terratrix:
Hopeless....copy system.img etc to C:\Cygwin\Home\[your account name]
[Optimus One, P500 Android Development] AsherChua:
Lol what's with the insult? You're just repeating the instructions if you don't know.
[Optimus One, P500 Android Development] terratrix:
OK if you dont understand then dont do
[Optimus One, P500 Android Development] AsherChua:
You're not helping anyway,I'll just try slowly.
[Optimus One, P500 Android Development] metacircle:
Hi devs,

I try to cook my own rom based on V20e (German GB), with some crap apks removed, franco kernel inserted, deodexd and zipaligned.

I also want to remove LG launcher and use zeam launcher instead? How do I do that? Just remove LGHome.apk and insert zeam.apk in system/app?

Thanks & greetings

edit: facing some issues. after i flash the zip to my phone it boots to the unlock screen, when i unlock i get fc on application.settings. same happens when i just flash unchanged stock rom (built via kitchen)

any ideas?
[Optimus One, P500 Android Development] terratrix:
FC at settings app - wrong baseband.

Stock 2.3.3 needs new baseband
[Optimus One, P500 Android Development] metacircle:
I am aware of wrong baseband I just thought that GSM won't work and I can flash new baseband after booting via LGMDP. :(

edit: It worked! :) Does anyone know which .apk is LG Update Notification app?
[Optimus One, P500 Android Development] janitux:
I remember it was just Notification.apk
[Optimus One, P500 Android Development] metacircle:
I succeeded in cooking my own rom thank you :)
[Optimus One, P500 Android Development] thedoginme87:
I managed to cook my own ROM and i want you guys to tell me if is something good or bad at my ROM :D ...you'll find my ROM HERE and you can leave a message ..Any help in developing this ROM further is very welcome :)
[Optimus One, P500 Android Development] acax456:
well, i got error in step 2

cmd report ''DZDecryptor_v1.0b'' is not recognized as an internal or external command, operable program or batch file.
[Optimus One, P500 Android Development] samrox144:
It's the folder name.. first extract it and then type the command...
[Optimus One, P500 Android Development] acax456:
Mean create a folder name like this? And extract .zip to this folder?
[Optimus One, P500 Android Development] samrox144:
Yes or just extract it and skip this command and follow the next one that is extracting the Rom
[Optimus One, P500 Android Development] acax456:
i don't really understand this step (step 5)
[Optimus One, P500 Android Development] samrox144:
Using cygwin you have to CD into the folder where you have extracted the kitchen

Mine is like this

cd C:\cygwin

CD home

CD kitchen

./menu
[Optimus One, P500 Android Development] acax456:
Well. Not cd ./menu just type ./menu :-?
[Optimus One, P500 Android Development] samrox144:
Yes after CD kitchen just type.

./menu

Then kitchen will start and its easy after that
[Optimus One, P500 Android Development] acax456:
Oh tks. You're my hero ;)
[Optimus One, P500 Android Development] samrox144:
After creating a custom rom ..try to port a rom which is the best way to learn android
[Optimus One, P500 Android Development] acax456:
How to port the rom?
[Optimus One, P500 Android Development] samrox144:
In advanced option there is a option to port roms ..use that or Google. It you will find manual methods which is better then kitchen method
[Optimus One, P500 Android Development] aayushARM:
What is that unyaffsmbn.c ??? I downloaded stock LG V20G ROM From Here --http://xdaforums.com/showthread.php?t=1140862

I didn't do that method using DZdecreptor, because the files I download already had system.mbn and boot.img files, but no "unyaffsmbn.c" file..........

What should i do now???:confused: I copied system.mbn and boot.img files to home folder in cygwin, but didn't had any such file-- unyaffsmbn.c........

when i type this-----

gcc -o unyaffsmbn unyaffsmbn.c

I get this Output----

gcc: unyaffsmbn.c: No such file or directory

gcc: no input files
[Optimus One, P500 Android Development] Raffy 97:
Hey guys i have a little problem...

in the lockscreen i have a crashed color...

how can i fix it?:D
[Optimus One, P500 Android Development] Freedomalfa:
I have a LG E730 Optimus Sol,i followed this guide to make my custom rom and after i extracted my dz file with DZDecryptor and i don`t get stem.mbn_0, system.mbn_1 and system.mbn_2 and boot.img,i get these amss.mbn,dbl.mbn,osbl.mbn,system.img.ext what to do ?
[Optimus One, P500 Android Development] shreyas.kukde:
Please Help someone

:(:(:( I dont know whats the problem, when I run the ./menu command I get this error...screenshot attached :( please help me
[Optimus One, P500 Android Development] aspee:
U didn't download all packages in cygwin install again

aspee
[Optimus One, P500 Android Development] dsixda:
Possible solution, from that kitchen_readme.txt file:

EDIT: Another solution, if the above doesn't work still:

In the file .bash_profile (located in the folder that Cygwin starts up in, e.g. c:/cygwin/home/john), add to the **end** of the file:

PATH=/bin:\${PATH}

Or simply type this from a command prompt instead:

echo "PATH=/bin:\\\${PATH}" >> ~/.bash_profile

Then, close Cygwin and restart it by clicking on the Cygwin shortcut.
[Optimus One, P500 Android Development] x-dira:
how to add tweak, scripts....?

sorry! my english so bad :((
[Optimus One, P500 Android Development] mattlgroff:
You are probably very mad at me for this, but here it goes.

chmod is not recognized as a command (tried the fix listed for this)

clean is not an installed program (tried the fix you just said for this too... I did Install from the beginning)

Also I was following the pictographic guide exactly...
[Optimus One, P500 Android Development] dsixda:
Yes, I am steaming maaaaad! !! LOL

What do you see when you type in the Cygwin prompt: echo $PATH

Is /usr/bin found in there?
[Optimus One, P500 Android Development] dsixda:
So did it eventually work it not??
[Optimus One, P500 Android Development] acax456:
Yes same question?
[Optimus One, P500 Android Development] samrox144:
In kitchen

use adavanced options no 17 to add etc/init.d support for scripts ...

then just add the scripts or any tweaks in this folder .. that's it

and for some tweaks refer the below link it has very good tweaks and also instructions on how to create a tweak script

http://xdaforums.com/showthread.php?t=1227269
[Optimus One, P500 Android Development] Ron G:
i have question can i use this tut to cook custom froyo rom for p350?:confused:
[Optimus One, P500 Android Development] Adi_Pat:
I ran into a serious obstacle when cooking for LG OB .. I unpacked the .kdz using LG utils and I ended up with a .wdb .. Could extract that though .. Any solutions ? I have worked more with Samsung devices which have the system more easily extractable.

Also as for init.d support. I don't think Kitchen will help. You will need a Kernel that supports init.d
[Optimus One, P500 Android Development] Adi_Pat:
Can you mention some stuff which are LG specefic ? Like some tweaks which will work only on LG devices or anything that works only with LG?
[Optimus One, P500 Android Development] dsixda:
Not necessarily true...

I'm not sure about this device, but the init.d option modifies the init.rc in your boot.img to trigger the init.d scripts during bootup.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Delgoth:
I'll post this in the i9000 forum since I'm using an i9000 kernel on my Captivate.

Is there a way to change the kernel bootscreen? You know, how it says

"GALAXY S

GT-I9000

SAMSUNG"

On the captivate this comes right after the AT&T Logo. Is there a specific place in the kernel file to change this? Even if you don't know for sure, if you can point me in the right direction I can do some more researching, but I've just never seen this done yet.
[Galaxy S I9000 Q&A, Help & Troubleshooting] JJEgan:
Themes and apps section

jje
[Galaxy S I9000 Q&A, Help & Troubleshooting] Delgoth:
What do you mean? Is the answer in Themes and Apps or should I have posted this there? It'd probably get moved back if I did.
[Galaxy S I9000 Q&A, Help & Troubleshooting] amtrakcn:
Wondering this path of boot screen too.

How did DG do that?
[Galaxy S I9000 Q&A, Help & Troubleshooting] JJEgan:
Thats where boot screens are and where i would look for an answer .

jje
[Galaxy S I9000 Q&A, Help & Troubleshooting] amtrakcn:
Kernel boot screens are not related to any app or theme, it's more likely to be a development topic
[Galaxy S I9000 Q&A, Help & Troubleshooting] JJEgan:
Kernel boot screens are not related to any app or theme, it's more likely to be a development topic

OK dont look then .

jje
[Galaxy S I9000 General] uppon2:
OK. So we all know about battery issues with our phones. I am still in testing to work out exactly which themes seem to EAT my battery and so far I can say that there are a few that are really draining my battery. Please post which theme you are using and if you have noticed major battery drain after installing. After I finish testing I will announce which themes have been causing this issue

This might rule out battery issues for a majority of users trying to work out why or even blaming other things at random. See for yourself

I also find that when I charge my phone all the way through laptop/desktop The charge doesn't seem to last as long
[Adam General] murrshot:
First tidbits of news coming through...:D

I can't post a link yet but it's on slashgears website. Also on the notionink wordpress blog...
[Adam General] Prema:
Let me help you out:

http://www.slashgear.com/notion-ink-adam-hands-on-at-ces-2011-05123431/

http://www.slashgear.com/notion-ink-adam-benchmarks-flash-testing-05123505/
[Adam General] murrshot:
Thanks, I believe I have too few posts to post links right now.
[Adam General] joshua.lyon:
There's also a new teaser video on the main page of NotionInk.com ... it looks like it's more promotional in nature though and doesn't actually show the device running.
[Adam General] joshua.lyon:
Engadget now has a really nice hands on video review of the unit:

http://www.engadget.com/2011/01/05/notion-ink-adam-hands-on-preview-video/

I expect we'll see more video reviews coming out over the next few days as well.
[Adam General] jmt.dev:
the videos on slashgear are great. Nice to see it running.

the video on the notion ink site is not so thrilling.
[Adam General] strboy:
seems like a winner so far, my hard earned cash is dying to be spent on it
[Adam General] bluelt1ss:
me too. i watched the interview engadget did with rohan and from the sounds of it the next batch will not be out for a while as he said he is still waiting on parts. :mad:
[Adam General] Prema:
http://liliputing.com/2011/01/hands-on-with-the-notion-ink-adam-tablet.html
[Adam General] Prema:
All in one:

http://www.notioninkfan.com/

THX@Greg
[Droid X General] chris.ana25:
Will it b possible ever to get 4g on the Droid x ...... or diz it have something to do with the system
[Droid X General] EtherBoo:
No. The Droid X does not have a 4G Radio (LTE for VZW), so it would not be able to catch the signal.

Think of it like this:

Trying to get FM Radio on an AM-Only Radio.

Trying to get HD Channels without and HD Cable Box.

Trying to play a BluRay in a DVD Player.

Old technology is rarely forward compatible.
[Droid X General] chris.ana25:
Haha alright u made it clear enough
[Desire HD Accessories] Kevlar-Source:
Dear friends,

After a very, very long time I finaly came across the solution to the BT problem on our DHD!

Especially, but not only, when trying to use the BT car kits with our DHD the BT connection drops after a very short time.

Please see the solution through this link [credits to the one who found it :)]

Cheers
[Desire HD Accessories] htchdhenk:
This is a very good tip.

Thanks
[Desire HD Accessories] CRom11:
Hi, didn't work for me, still same problem.. tried different radio versions, but still same..

Have CoreDroid V5.4 and the 'M2' radio.

Which ROM are you using..?

Thanks
[Streak 5 General] cjackxiii:
When I plug the charger cable to my streak the only thing that happens is the three led lights turn on. When I try to turn on the streak with the cable still in all that shows up is 0% battery life so I took out the battery and turned it on with the charger attached and an exclamation mark shows up which tells me that the cable isn't faulty. Anybody have any ideas?

-Thanks in advance
[Streak 5 General] maek_it_happen:
I have issues too regarding that , my usb and car charger wont charge my phone when its dead i have to use the wall outlet , i was reading a thread the other day that was from august and if u remove that batt then put it back in then plug the usb in the cp then the phone it will start up , i actualy got my phone to start by following it but who knows why though,could just be a loose phone connector
[Streak 5 General] stoney73:
Its a fault that most streaks have when the battery has been run flat,
[G Tablet Themes and Apps] raggededge:
Has anyone been able to find tank hero?
[G Tablet Themes and Apps] sixvoltsystem:
I found it on AppBrain
[G Tablet Themes and Apps] sixvoltsystem:
http://www.appbrain.com/app/tank-hero/com.clapfootgames.tankhero
[G Tablet Themes and Apps] raggededge:
Thanks. I tried that, put the appbrain app on my tablet and tried to install, but I keep getting requested item not found. It's not showing up in my market, even though I did the market fix.
[G Tablet Themes and Apps] alphafilter:
I had to download it to my phone and then transfer the apk file. Works fine though once its installed. I am running on tnt lite 3.1.4
[G Tablet Themes and Apps] manfly9884:
Click @the bottom where it says download apk. http://www.netshet.org/2011/01/03/tank-hero-android-game-download-out-of-beta-now/
[G Tablet Themes and Apps] basalt51:
It is in my Market and works- VEGAn 5.1 beta

EDIT: and now that I have done the "Full Market Fix" and have most other Apps, it is gone!! LOL. Oh Well.
[G Tablet Themes and Apps] SpinKix:
Same here

Yeah, me too.

I purchased some apps, did the market fix, and lost them in "My Apps".

Then, when I flashed to Vegan5.1, the apps listed under "My Apps" changed again.

Good thing I backed them up, but the missing ones don't update.

Anyway, Tank Hero is fun!
[G Tablet Themes and Apps] raggededge:
Thanks guys!
[G Tablet Themes and Apps] basalt51:
For the hell of it I decided to try the market fix again (after already getting 99% of the market back) to see if it made a difference. I deleted the cache and data in the app manager, and rebooted. Opened the market and voila - Tank Hero and all the other apps I was missing showed up.
[G Tablet Themes and Apps] spectre71:
start the Market and then do the market fix with the market running... restart and you should have Tank Hero
[Android Software Development] barjebus:
I'm a new android developer working on an extremely simple app and I just need a quick pointer! My app, once started, needs to call a certain phone number. This part was simple and works fine. However, I need that call to end after a specific amount of time (10 seconds is the number I'd like).

At this point I'm unsure how to proceed. I've tried spawning a thread that simply waits for 10 seconds, and then tries to call finishActivity() on the activity that I originally started. However, I'm assuming that one thread can't control another threads activities, so this clearly doesn't work. I've also tried a few other methods and none of them seem to work, or they simply crash my app.

If someone can even give me just a high level overview of what I need to do that would be great! My next thought is to spawn a timer thread and use RPC to call a function that will activate finishActivity() in the thread that is running the activity.

Any information you guys can provide me with will be fantastic!
[Android Software Development] liquidfer:
The API won't let you, however, you could try to switch ON airplane mode and the switch it OFF, the inconvenience of this is that all your active connections will be droped (3G, GRPS, Bluetooth, WiFi)
[Android Software Development] barjebus:
Are you sure its not possible? Using various callbacks I've sent finishActivity() to the action with success. The problem is that there are no callbacks that occur around the time that I want the call to end.

Since it does work with callbacks, I was tempted to have finishActivity() be called when the app is backgrounded. That way after 10 seconds I can just hit the home key and it will close the app down entirely? Not exactly what I want, but could work for now.

Due to the fact that it can be finished during a call back I think it must be possible, I'm just not sure how to go about achieving it. Does anyone have any ideas?
[Android Software Development] rwxer:
Try the following code:

TelephonyManager tm = (TelephonyManager) context.getSystemService(Context.TELEPHONY_SERVICE);

Class clazz = Class.forName(tm.getClass().getName());

Method m = clazz.getDeclaredMethod("getITelephony");

m.setAccessible(true);

ITelephony it = (ITelephony) m.invoke(tm);

it.endCall();

But you need to get ITelephony.aidl from Android sources and compile it.
[Windows Phone 7 Apps and Games] mesofly:
I created Beat Drop a month ago and was made to fill the void of not having hypem for the phone.

Beat Drop is a music blog aggregator that allows you to follow popular music blogs and stream their music straight from your phone.

It's free 99 so download it and let me know what you think!

http://social.zune.net/redirect?type=phoneApp&id=8dcb4dac-bbf7-df11-9264-00237de2db9e

and yes, I would love to add the functionality to have users add blogs. But with blogs not having a standard way of hosting music, I've opted for somewhat of the Hypem approach of having set blogs that are validated/tested to work w/ my app.
[Windows Phone 7 Apps and Games] xThe Enforcer:
Nice, I love Hypem!