yashsingh1/xdaforums huggingface dataset:
[Galaxy S II Themes and Apps] dsixda:
As always, check the answer in the FAQ, it's in the second FAQ page. The kitchen will also instruct what to do as a basic minimum.
[Galaxy S II Themes and Apps] zscomp:
I have 2 problems with the kitchen cooking the new KP8.

1. Cant extract the cache.img

2. Cannot deodexing anything (i receive only errors)

Am i doing something wrong , or its the version (KP8) ;
[Galaxy S II Themes and Apps] firefds:
I had no problem with cache.img

About deodexing - it is a baksmali error, not the kitchen. Need to wait for a new baksmali/smali version
[Galaxy S II Themes and Apps] zscomp:
1. I have it in the original folder but after the extraction , when i mount the ext4_cache.img there is nothing in there.

And when i open the ext4_cache.img with hex editor i see only 0s

2. Found it under" issues" in the project .
[Galaxy S II Themes and Apps] gcrutchr:
There should be a recovery folder with a sec_csc.zip file.

Here it is:

View attachment 838517
[Galaxy S II Themes and Apps] zscomp:
Should be , but in my case (i am talking about the new 4.0.3 from sami ) the cache.img from the original_folder isnt extracted correctly and therefore the ext4_cache.img its a dummy file, full of zeros.
[Galaxy S II Themes and Apps] shahulvm:
There are two chache.img files, use the one which is 20+mb and you would be able to extract it the sec.zip
[Galaxy S II Themes and Apps] ambar_hitman:
Did it work on your I9100G?
[Galaxy S II Themes and Apps] gcrutchr:
The sec_csc.zip file in post #115 is from KP8

Additionally, there is a problem with baksmali / smali v1.3.0 and ICS 4.0.3 (KP8).

The dex header file version numbers have changed which is causing baksmali / smali to crash. I have posted information about this on code.google and the developers are aware of the problem and will fix it. No ETA on a fix.
[Galaxy S II Themes and Apps] zscomp:
Ι ll try and i ll come back to report if it works :)

If i dont find a solution i ll try your file.Thank you very much

Yes i saw the report about the magic value.Thanks again. :)

*i can see only 1 cache.img ~5MB and i cant extract it
[Galaxy S II Themes and Apps] dsixda:
Anyone here successfully built and flashed one of the leaked ICS ROMs with the help of the kitchen? With the LP1 leak, I keep getting error dialogs popping up every few seconds that refer to an issue with the Samsung Keypad, so I need to change my default input to Swype. In addition, even though I am using CF-ROOT the ROM is having trouble detecting root, eg. Titanium Backup won't proceed and CWM app cannot identify the kernel and thus will not perform any action.
[Galaxy S II Themes and Apps] Krendelrus:
I'm trying to deodex the latest ics leak LP2, but kitchen gives me this error:

Creating working folder WORKING_011412_234209 ...
Copying files from original_update to WORKING_011412_234209 ...

Unpacking PDA.tar.md5 ...

Error: Cannot extract factoryfs.rfs!

Press Enter to continue

How can I fix this error? (I'm running OS X Lion)
[Galaxy S II Themes and Apps] dsixda:
Read the first post, you need TAR, not TAR.MD5. Just rename it.
[Galaxy S II Themes and Apps] Krendelrus:
Renamed the files but still getting the same error:

Unpacking PDA.tar ...

Error: Cannot extract factoryfs.rfs!
[Galaxy S II Themes and Apps] dsixda:
What's in your tar file? Make sure it has the mentioned files in the first post.

Also your error message means it saw a tar.md5 file in your original_update folder so it is expecting a Galaxy S (factoryfs.RFS) ROM.
[Galaxy S II Themes and Apps] Krendelrus:
I have unpacked I9100XXLP2_I9100OXALP2_OXA archive, renamed I9100_CODE_I9100XXLP2_CL57619_REV02_user_low_ship.tar.md5, MODEM_I9100XXLP1_REV_02_CL1095381.tar.md5, GT-I9100-MULTI-CSC-OXALP2.tar.md5 to PDA.tar, PHONE.tar, CSC.tar respectively.

How it should be renamed properly?

I think I finally got it - CODE file should be unpacked, **** I was slow today :)
[Galaxy S II Themes and Apps] firefds:
Hey

I think the problem is with symlinking.

They only way I can use your kitchen successfully is by flashing the ROM with odin, then making a system dump of the system folder.

then I can use your kitchen without any problems.

When i check the difference between the files I can see 2 differences:

1- /system/bin has no folders but only files. when you use your kitchen from the start there are folders inside. with the method i mentioned above all the folders are now files.

2- no symlinking in updater-script

hope this can help you!
[Galaxy S II Themes and Apps] dsixda:
Same here. This is what I had to do:

1) Use Odin to flash CSC / MODEM (PHONE) / CODE (PDA)

2) Then use Odin to flash older BOOTLOADER (to allow jig to reset counter) / CFROOT (PDA)

3) Turn off phone and use USB jig to clear counter/triangle

4) Reboot and use the rooted firmware as you normally would

No, my /system/bin has no folders even after extracting the files from factoryfs.img with Ext2Explore.

Also my updater-script has all the symbolic links defined in the ROM created from stock.

I believe my problem has something to do with the ROM being too big in size (!), and thus not all files were flashed.. Because, when I try to copy Trebuchet launcher to /system/app it complains it has run out of space, even though I didn't add anything else to my ROM. I haven't tried again, but next time I will check the recovery log to verify this (/cache/recovery/last_log).

My question is, I wonder if flashing the stock ROM through Odin causes re-sizing of the system partition? However, I didn't use any PIT file.
[Galaxy S II Themes and Apps] dsixda:
Hmm, you shouldn't need to unpack it.. but anyways, I'm glad it worked for you!
[Galaxy S II Themes and Apps] firefds:
weird.. I got a few folders in /system/bin..

I flashed the rom with Odin + pit. It does not change the parition size :(
[Galaxy S II Themes and Apps] dsixda:
What folders? I saw someone's working custom ROM and he had no folders under /system/bin.

Try this, remove the following from your custom ROM if you'd like, to reduce space under /system/app:

- remove Email.apk

- remove Exchange.apk

- remove GameHub.apk

- remove Kobo.apk

- remove Kies.apk

- remove KiesWIfi.apk

- remove MobilePrint

- remove MusicHub

- remove SnsAccountFb/Li/Ms/Tw

- remove SnsDisclaimer

- remove SnsImageCache

- remove SyncmIDM, SyncmIDS

- remove Zinio

I'm pretty sure it is a space issue so we need to reduce the ROM size. Sorry, I'm busy right now so I can't try it at the moment (family and damn snow).
[Galaxy S II Themes and Apps] Krendelrus:
Last time when I flashed full KPA firmware via Mobile Odin (with ever-root option enabled) I didn't had root because there were no place for the superuser apk and su library, surely it must be something with the original ROM size

thanks :) I spent all day setting up new Lion installation in VM and now I finally deodexed build successfully on my primary Lion installation
[Galaxy S II Themes and Apps] dsixda:
I've updated the kitchen to 0.185 to ensure that we can disable the boot screen sound in ICS for the SGS2. Smali/baksmali have also been updated.
[Galaxy S II Themes and Apps] dsixda:
Hmm.. yeah that is weird ain't it. Funny thing is that flashing through Odin, followed by CFROOT works fine for me.

That's great, I can't wait to get a new Mac and try it on the kitchen. That will be my next computer (once my wrist stops giving me pain as it is right now).
[Galaxy S II Themes and Apps] firefds:
when you extract the original .tar there are folders inside the /system/bin.

but if you flash the .tar file directly into the phone, the folders are changed into files.
[Galaxy S II Themes and Apps] dsixda:
What are those folders then? Like I said, when I extract the factoryfs.img files with the Windows tools there are no folders (before the kitchen does anything to them). Did you use Linux or Mac?
[Galaxy S II Themes and Apps] firefds:
I'm using windows.

I'm attaching a screenshot of the bin folder I exctracted.

The folders are empty and have names of missing bin files..
[Galaxy S II Themes and Apps] dsixda:
That's wrong, how did you extract those files??
[Galaxy S II Themes and Apps] firefds:
using sgs2toext4.jar and opening the img with DiskInternals Linux Reader.

I just tested it with ext2read and it seems that with that program the folders are not there, but again, a lot of bin files are missing (the ones that show up as folders with DiskInternals).

When you flash the .tar files with odin, the missing bin files do appear (as files)
[Galaxy S II Themes and Apps] dsixda:
No no, don't use DiskInternals... that's only for the CSC. This issue of yours is not a kitchen issue..
[Galaxy S II Themes and Apps] firefds:
I'm sorry, but i beg to differ.

The problem is simple - there are missing bin files when extracting the factoryfs.

It doesn't matter if its with DI or ext2read - Those files are missing.

If you comapre the bin folder you extract with ext2read and the one that you flashed with odin, you will see there are files missing. Thats the problem.

Why did I show you the DI folder? because there you can see exactly what files are missing (as they are shown as folders).
[Galaxy S II Themes and Apps] dsixda:
OK I see what you mean but there is obviously a problem with how DiskInternals extracts the files. To make sure we have a proper rom we'd have to flash with Odin and then make a Nandroid backup, and finally make that into a rom.
[Galaxy S II Themes and Apps] DocRambone:
Check those missing bin flies again, they are empty files anyway.

The kitchen with the latest baksmali makes fully functional 4.0.3 roms :)
[Galaxy S II Themes and Apps] dsixda:
BTW, one more thing, firefds -

If the kitchen does not see any (i.e. zero) valid symbolic links in the bin folder, it will create a default set in the updater-script. I think in your case all the symbolic "folders" were ignored but flashed as actual files because the kitchen did just that to the updater-script.
[Galaxy S II Themes and Apps] dsixda:
Cool, did you remove any apks from system app folder? No space issues?
[Galaxy S II Themes and Apps] DocRambone:
I only tried a clean slim version, no problem there tho
[Galaxy S II Themes and Apps] firefds:
I checked, and this statement is wrong.

The missing bin files (when flashing with odin) are not empty at all.

There are no empty bin files at all.

I tried the new kitchen version, still doesn't work.

Like I said - I'm positive its the missing bin files that are causing this. It is the only difference between extracting the factoryfs and dumping the system folder after a flash..
[Galaxy S II Themes and Apps] DocRambone:
Check the content of the 7 byte bin files...
[Galaxy S II Themes and Apps] firefds:
don't know about you, but on my device the cat file for example is 97KB..
[Galaxy S II Themes and Apps] dsixda:
Check my earlier response again, those may be the default symlinks the kitchen creates (because it only found those folders not files in your case) rather than the actual ones that were extracted.
[Galaxy S II Themes and Apps] firefds:
these files have nothing to do with the kitchen.

I get them from flashing the rom with odin and doing a system dump. no kitchen involved..

dsixda, please don't me look stupid :)

flash the rom with odin and dump the bin folder

open the factoryfs file and extract the bin folder

compare the two folders...
[Galaxy S II Themes and Apps] dsixda:
I'm not using ICS anymore, it's not stable enough for me ;)
[Galaxy S II Themes and Apps] firefds:
Ah... :)

Well, if you want to flash it and see what I mean that can help a lot with the kitchen
[Galaxy S II Themes and Apps] dsixda:
I am too busy right now to check - plus I am avoiding the keyboard for now, my wrist was giving me problems again.

Another thing to do would be to extract the ROM in Linux with the kitchen and see how well it does it that way. Running the kitchen in Linux is actually the best way for grabbing the symlinks.

Those applications used to extract files in Windows may have issues themselves. The specific ones I included in the kitchen for specific cases have been the most effective so far but are not necessarily perfect. The DiskInternals app, for instance, has never worked well enough for factoryfs.img but works fine for cache.img. However I didn't realize the other app missed extracting those symlinks.
[Galaxy S II Themes and Apps] firefds:
You know what,

I'll try it in Linux now.. Will let you know if there is a difference!
[Galaxy S II Themes and Apps] dsixda:
Thanks. You replied too soon, I was still editing my last reply ;)
[Galaxy S II Themes and Apps] firefds:
So.. the result is - still getting FC on sam keyboard.

But the root issue seems to be resolved.
[Galaxy S II Themes and Apps] dsixda:
Yes, so I believe it has to do with the system partition being full on the ICS builds. If you try to add a file to system/app folder you will get "disk full" error. Try removing some of the extra Samsung apps in your ROM on the computer and then flash again. Likely several files could not flash due to storage limitation. Also check recovery log to verify the space issue, as I said.
[Galaxy S II Themes and Apps] firefds:
I removed a few apps, same problem.

I even deodexed the rom - there are 41mb free on the partition - still same FC problem. only with samsung keyboard :(
[Galaxy S II Themes and Apps] dsixda:
When I have time tonight or tomorrow, maybe I will compare the contents of a stock rooted ROM with a ROM made from a Nandroid backup of firmware + CF-Root flashed with Odin.
[Galaxy S II Themes and Apps] dsixda:
Ok, I'm quoting myself ;)

So... I made a Nandroid backup of the Odin-flashed version (which also had CF-Root flashed). The keypad and root works fine when you flash through Odin.

Then, I made a ROM of this Nandroid backup in Linux. After flashing, I noticed that the SAME keypad error popped up! :confused:

One way to prevent this issue is to remove the Samsung keyboard (AxT9IME.apk?) so that you just have Swype. However, I am sure you will still have the other issue which is the CWM app not recognizing the kernel. In addition I also had wi-fi connection issues to my router. All of these worked when I simply flashed through Odin and not through ClockworkMod Recovery.

I checked the recovery log for when I flashed the original custom ROM that I made from the HOME.tar, and this is what I got:

http://pastebin.com/eZXCM9zT

Nothing really looks wrong here. No filespace issues or anything. So I am completely stumped :confused:

NOTE: At line 150 it complains about mounting the system partition (device busy), but it did manage to copy the files afterwards.

Here's the updater-script (same format as my previous 2.3 ROMs):

http://pastebin.com/zb4ei8Yb
[Galaxy S II Themes and Apps] firefds:
Its a pickle...

Don't even try to deodex it and try to flash.. The phone just hangs on the S forever.

(Wipe doesn't work as well)

Edit:

Managed to deodex and flash with great success!

Thanks for your help dsixda!
[Galaxy S II Themes and Apps] dsixda:
What do you mean, it worked for you?? No issues? Also when I deodex I have PhoneSky.apk left over and I have to use the API Level for 2.3.6 for the others. Even though it is 4.0.3. Ughh...
[Galaxy S II Themes and Apps] Faryaab:
I have successfully managed to deodex Samsung ICS firmware. Choose API 15 it will deodex the system except Exchange.apk, Email.apk & MobileTracker.apk now tto deodex them we need to put the attached java.awt.jar into the framework folder but don't put it before or you will have issues deodexing other framework files. Use it when those three files are left behind.
[Galaxy S II Themes and Apps] dsixda:
When I used 15 everything gave an error... strange. Anyways I normally don't deodex.. I just want a working ROM without those keypad errors and more.

So deodexing fixes it?? That wouldn't make sense.
[Galaxy S II Themes and Apps] firefds:
I had no problem deodexing the LP2 with your new 0.185.

You need to make sure your using baksmali/smali 1.3.2.

I also did it the way Faryaab mentioned (putting in java.awt.jar at the end for those 3 apks).

Deodexing has nothing to do with those FC.

Only way I don't get FC with sam keyboard is by dumping the system and using the kitchen in windows.
[Galaxy S II Themes and Apps] dsixda:
What API level did you use??

I already dumped the system and used the kitchen in Linux last night, as I said above. This stuff is ticking me off, waste of time.
[Galaxy S II Themes and Apps] firefds:
I used API 15.

The linux kitchen gave me FC.. The windows version worked fine
[Galaxy S II Themes and Apps] dsixda:
Oh OK that must be my issue.

I also didn't see any differences in the files between the Nandroid ones and the ROM created by the kitchen (not nandroid). Did you keep the symbolic links in the bin folder or did you allow the kitchen to move them to updater-script?
[Galaxy S II Themes and Apps] firefds:
They way i dumped the system folder is by ziping it with Root Explorer.

the files that had symbolic links actually become with the content of the link, and I left it that way.

My updater-script has no symlinking
[Galaxy S II Themes and Apps] dsixda:
This is frustrating as hell. :(

So deodexing only works in Windows(!?).. and we should not move the symbolic links to the updater-script. FML.

I'll check it out later. Thanks a lot.
[Galaxy S II Themes and Apps] Faryaab:
Keypad FC is still available when deodexing in windows too.
[Galaxy S II Themes and Apps] dsixda:
I know, he said he had to dump the system folder and not touch it to get the problem resolved.
[Galaxy S II Themes and Apps] firefds:
I don't know about deodexing in linux, but because linux gives you the FC issue I did it in windows..
[Galaxy S II Themes and Apps] dsixda:
Even building rom in Windows gave me the keypad issue. OK now I am confused.
[Galaxy S II Themes and Apps] firefds:
did you they the method i mentioned? zipping the System folder with root explorer?
[Galaxy S II Themes and Apps] kedai:
Works for me in linux except for the three apks
[Galaxy S II Themes and Apps] dsixda:
Wouldn't the nandroid dump achieve the same result? I have that saved, it would save me some time to use that instead.

Actually could you post your system dump? Is it LP2?
[Galaxy S II Themes and Apps] firefds:
There is a difference between the nandroid backup and zipping the system, concerning the bin files. didn't notice anything else.

I'll upload it now, and yes, I'm using LP2.
[Galaxy S II Themes and Apps] dsixda:
There is a difference in bin files between nandroid and copying the system files into a zip? Weird, nandroid is just a tar dump, similar to what you have.
[Desire Q&A, Help & Troubleshooting] kaico:
Hello,

Since lately, my proximity sensor has been acting kinda weird...

I replaced the camera PCB (where the proximity sensor, camera, headphone, etc. are located), because I thought my proximity sensor was broken (when I recieved a call, I couldn't hang-up(screen went black)). Now I've replaced the sensor, it became one weird thing. When I get a call, I can answer it, and leave the screen on (as long as nothing is in "reach" of the proximity sensor). But as soon as something is in reach of the sensor (cheek, finger, face, whatever), the screen turns black, and won't turn off until the other person ends the call.

I tested this with a app called Z-device test, and with the proximity sensor it shows me that when there is nothing in reach, it says there's nothing (like it should), but as soon as I run my finger across the sensor, it says something is directly above the sensor, and even if I remove my finger, it still keeps telling me this... What to do about this?
[Desire Q&A, Help & Troubleshooting] face-less:
same here..almost

i'm experiencing the same problem...but with one difference...

when removing the finger, the sensor just needs some 5 to 10 seconds to detect that there's nothing in front of it anymore...

happend after flashing LeeDroid R5
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
I'm getting a green line at the bottom of my recordings using the D3 camera. Anyone know of a fix?
[Atrix 4G Q&A, Help & Troubleshooting] Bruce Lee:
Which ROM or firmware are you running?

Are you rooted and bootloader unlocked?

And what are your settings on the D3 camera?

I can think of a few things that could be an issue if some of the three questions are answered in a few ways.
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
Thanks, man. Running latest PiCrust and faux's latest OC kernel. Unlocked with boot loader bypassed of course. All settings on the D3 cam do this too.

I really don't want to revert back to the old cam. This takes great photos and fantastic video.
[Atrix 4G Q&A, Help & Troubleshooting] Bruce Lee:
My guess is the kernel. The camera shouldn't be doing that. The alien ROM I am running isn't doing that and it also has the d3 camera.

Have you tried a different ROM and app to make sure it isn't you camera screwed up? Or try it without the camera kernel? Let me know what you do. This has got me wondering.

Sent from my ATRIX 4G XDA Premium App
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
Cleared cache and it just seems like it's the 1080p setting which does it.

I'm on vacation with limited connectivity so I'll see what I can do and post my results. Thanks again.
[Atrix 4G Q&A, Help & Troubleshooting] Bruce Lee:
Your welcome. That's weird that your 1080p doesn't work. Mine does. Hmm.....

Sent from my ATRIX 4G XDA Premium App
[Atrix 4G Q&A, Help & Troubleshooting] bongd:
Wiped my device and reinstalled everything... same thing. WEIRD!!

May need to use another kernel or do a wipe through Fastboot... already setup my phone though so it's no biggy to me. I'll wait until the next time I wipe and do it through Fastboot to see what happens.
[Atrix 4G Q&A, Help & Troubleshooting] BravoMotorola:
It is for sure a hardware problem, so I wouldn't bother.
[HTC EVO 3D] jedinegotiator:
Why does almost every rom include this app? I dont see what is so great about it. To me it is just taking up RAM.

Am I missing something?
[HTC EVO 3D] blu3poptart:
You can just remove it if you don't want it. To my knowledge, it is an equalizer for your phones speaker and earpiece. You can change it to how you want..but if you don't want it, just remove it. No need to get all feisty ;p

Sent from my rockin 3D ;)
[HTC EVO 3D] ktrotter11:
If used correctly you can dramatically improve sound quality with speaker headsets and bluetooth
[HTC EVO 3D] incarceration:
Increases functionality and customization of your sound output on your phone's 4 different output methods (earpiece, speaker, BT, and headphone jack I believe as well)
[HTC EVO 3D] YoungSinema:
Every time I opened it it would force close, so I removed it.
[HTC EVO 3D] SayWhat10:
because there's a serious low volume issue on the 3D

we need everything possible to try to make the sound louder
[HTC EVO 3D] phatmanxxl:
I like the EQ, it comes in handy with apps like tune in and other apps where a little sound boost is needed.
[HTC EVO 3D] gk1984:
If you already have an equalizer or other volume increasing app, it will conflict with dsp manager and vice versa. You can only have one. If you don't have anything conflicting with it like that and want to try it, maybe someone can help you get the apk to install manually. It really does make things sound great. Though I liked Equalizer from the market better.
[HTC EVO 3D] YoungSinema:
Thanks. I'll have to look around and see what else is on my phone. I already have an apk of it, I just didn't want to install it again and have the same issues.

Sent from the great mind of Young Sinema
[LG Optimus 2x] Pfeffa-rah:
Hi there,

Is there a way to make the add the internal SD card to the main memmory? So that there would not be an internal SD card anymore?

I do not mean swapping the moutpoints around so my External_SD becomes my primary and my internal my second....

I want to get rid of the internal one alltogether (adding it to main memory).

I figure that I'll have to format the storage in a certain way... would that do it?

Can someone tell me step by step what to do?

I do have CW-mod installed.

I did search the forum, but couldnt find anything conclusive. Just hints that it should be possible...

If there already is a thread where all this is explained, please point me to it, because I couldn't find it.

Thanks,

Pfeffa-rah